/* ref: mozer_classroom/mozer_components/lib/styles/global.css */

/*
ブラウザのコンソールで以下実行。

1. Color Hex から RGB に一括変換関数宣言

hexToRgb = (css) => {
  return css.split("\n").map(line => {
    var result = /#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})/i.exec(line);
    result = result ? `${parseInt(result[1], 16)}, ${parseInt(result[2], 16)}, ${parseInt(result[3], 16)}`:"";
    return line.replace(/#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})/i, result);
  }).join("");
}

2. 出力結果を貼り付け保存

hexToRgb(`
  --mc-color-primary-100: #004799;
  --mc-color-primary-90: #004fa8;
  --mc-color-primary-80: #0058bd;
  --mc-color-primary-50: #005fcc;
  --mc-color-primary-35: #0070f0;
  --mc-color-primary-20: #1f87ff;
  --mc-color-primary-10: #94c6ff;
  --mc-color-primary-5: #cce4ff;
  --mc-color-primary-3: #ebf4ff;
  --mc-color-primary-0: #f5faff;
`)
*/

:root {
  /* Opacity */
  --mc-text-opacity: 1;
  --mc-border-opacity: 1;

  /* White */
  --mc-color-white-100: 255, 255, 255;

  /* Black */
  --mc-color-black-100: 0, 0, 0;

  /* Gray */
  --mc-color-gray-100: 2, 3, 3;
  --mc-color-gray-90: 49, 53, 58;
  --mc-color-gray-80: 73, 79, 85;
  --mc-color-gray-50: 98, 104, 111;
  --mc-color-gray-35: 150, 156, 161;
  --mc-color-gray-20: 204, 206, 209;
  --mc-color-gray-10: 231, 232, 233;
  --mc-color-gray-5: 242, 242, 243;
  --mc-color-gray-3: 247, 247, 248;
  --mc-color-gray-0: 252, 252, 253;

  /* Primary */
  --mc-color-primary-100: 0, 71, 153;
  --mc-color-primary-90: 0, 79, 168;
  --mc-color-primary-80: 0, 88, 189;
  --mc-color-primary-50: 0, 95, 204;
  --mc-color-primary-35: 0, 112, 240;
  --mc-color-primary-20: 31, 135, 255;
  --mc-color-primary-10: 148, 198, 255;
  --mc-color-primary-5: 204, 228, 255;
  --mc-color-primary-3: 235, 244, 255;
  --mc-color-primary-0: 245, 250, 255;

  /* Alert */
  --mc-color-alert-100: 163, 21, 25;
  --mc-color-alert-90: 181, 23, 28;
  --mc-color-alert-80: 199, 25, 31;
  --mc-color-alert-50: 222, 28, 34;
  --mc-color-alert-35: 229, 47, 52;
  --mc-color-alert-20: 232, 74, 79;
  --mc-color-alert-10: 244, 164, 167;
  --mc-color-alert-5: 249, 210, 211;
  --mc-color-alert-3: 252, 232, 233;
  --mc-color-alert-0: 254, 246, 246;

  /* Warning */
  --mc-color-warning-100: 180, 75, 19;
  --mc-color-warning-90: 194, 80, 20;
  --mc-color-warning-80: 208, 86, 22;
  --mc-color-warning-50: 232, 104, 37;
  --mc-color-warning-35: 240, 119, 56;
  --mc-color-warning-20: 246, 134, 76;
  --mc-color-warning-10: 252, 166, 121;
  --mc-color-warning-5: 255, 231, 204;
  --mc-color-warning-3: 255, 243, 229;
  --mc-color-warning-0: 255, 250, 245;

  /* Info */
  --mc-color-info-100: 107, 0, 153;
  --mc-color-info-90: 118, 0, 168;
  --mc-color-info-80: 132, 0, 189;
  --mc-color-info-50: 139, 10, 194;
  --mc-color-info-35: 163, 38, 217;
  --mc-color-info-20: 194, 94, 237;
  --mc-color-info-10: 194, 94, 237;
  --mc-color-info-5: 246, 232, 252;
  --mc-color-info-3: 250, 241, 253;
  --mc-color-info-0: 252, 246, 254;

  --mc-color-html: 234, 151, 62;
  --mc-color-css: 234, 151, 62;
  --mc-color-js: 142, 194, 59;

  --footer-height: 44px;
  --breadcrumb-height: 44px;
  --header-height: 52px;
  --safe-area-height: calc( 100vh - var(--footer-height) - var(--breadcrumb-height) - var(--header-height) );
  --safe-area-width: 80rem/** 1280px */;
}

/* tailwindのlgに合わせて1024 */
@media (max-width: 1024px) {
	:root {
		--footer-height: 44px;
    --breadcrumb-height: 36px;
    --header-height: 44px;
	}
}

.auth-oidc{background-color:hsla(0,0%,100%,.7);border-radius:8px;box-shadow:0 0 22px 0 rgba(0,0,0,.2);margin:auto;margin-top:50px;padding:20px 0 32px;width:500px}.auth-oidc-title-block{margin-top:15px}h2.auth-oidc-title-text{color:#333;text-align:center}h3.auth-oidc-title-text-sub{margin-bottom:15px;margin-top:15px;text-align:center}h3.auth-oidc-title-text-caution{color:#0f144b;font-size:14px;margin-left:50px;text-align:left}
.login{background-color:hsla(0,0%,100%,.7);border-radius:8px;box-shadow:0 0 22px 0 rgba(0,0,0,.2);margin:auto;margin-top:50px;padding:20px 0 32px;width:500px}.login-title-block{margin-top:15px}.login-title-text{color:#333;text-align:center}.login-title-text-sub{color:#0f144b;font-size:14px;text-align:center}.login-input-block{margin-left:auto;margin-right:auto;margin-top:24px;width:460px}.login-input-element{align-items:center;display:flex}div.login-input-text-field{margin:16px auto}div.login-input-text-field input{align-items:center;width:200px}.login-input-label{color:#333;flex-basis:170px;font-size:16px;font-weight:500;line-height:24px;padding-right:15px;text-align:left}button.login-button-block{height:50px;margin:40px auto}.login-timeout-notice{text-align:center}.login-timeout-notice .login-timeout-notice-text{color:#333;margin-top:24px;white-space:pre-line}.login-link-block{color:#1f51f7;margin:16px auto;text-align:center}.login-link-content{font-size:16px}
/*
  chaos(ace-builds/src-noconflict/theme-chaos.js)というテーマのコピペ。
  指定された部分のみ背景色や文字色を変えている。

  supervisor/src/components/codeEditor/theme.css と同じ内容を元にしている。
  frontend と supervisor は別々にビルドするため、ファイルは共有していない。
  片方を変えるときは、もう片方にも反映するか検討すること。
  値が違う箇所:
  - .ace_marker-layer .ace_selection の背景色（frontend は #3C7CBF、supervisor は #182a52）
  - .ace-tm .ace_marker-layer .ace_selected-word は frontend だけにある
  - .ace_scroller の背景色は supervisor だけにある
*/

.custom_theme .ace_gutter {
  background: #141414;
  color: white;
  border-right: 1px solid #282828;
}

.custom_theme .ace_gutter_annotation {
  cursor: inherit !important;
}

.custom_theme .ace_tooltip {
  display: none !important;
}

.custom_theme .ace_gutter-cell {
  padding-left: 0;
}

.custom_theme .ace_gutter-cell.ace_warning {
  background-image: none;
  background: #FC0;
  border-left: none;
  padding-left: 0;
  color: #000;
}

.custom_theme .ace_gutter-cell.ace_error {
  background-position: -6px center;
  background-image: none;
  background: #F10;
  border-left: none;
  padding-left: 0;
  color: #000;
}

.custom_theme .ace_gutter-cell.ace_info {
  background-image: none !important;
  cursor: inherit;
}

.custom_theme .ace_print-margin {
  border-left: 1px solid #555;
  right: 0;
  background: #1D1D1D;
}

.custom_theme {
  background-color: #161616;
  color: #E6E1DC;
}

.custom_theme .ace_cursor {
  border-left: 2px solid #FFFFFF;
}

.custom_theme .ace_cursor.ace_overwrite {
  border-left: 0px;
  border-bottom: 1px solid #FFFFFF;
}

.custom_theme .ace_marker-layer .ace_selection {
  background: #3C7CBF;
}

.custom_theme .ace_marker-layer .ace_step {
  background: rgb(198, 219, 174);
}

.custom_theme .ace_marker-layer .ace_bracket {
  margin: -1px 0 0 -1px;
  border: 1px solid #FCE94F;
}

.custom_theme .ace_marker-layer .ace_active-line {
  background: #182A52;
}

.custom_theme .ace_gutter-active-line {
  background-color: #3C7CBF;
}

.custom_theme .ace_invisible {
  color: #404040;
}

.custom_theme .ace_support.ace_type {
  color: #FFCC33;
}

.custom_theme .ace_keyword {
  color: #00BBFF;
}

.custom_theme .ace_keyword.ace_operator {
  color: #FF308F;
}

.custom_theme .ace_constant {
  color: #15D0FF;
}

.custom_theme .ace_constant.ace_language {
  color: #FDC251;
}

.custom_theme .ace_constant.ace_library {
  color: #8DFF0A;
}

.custom_theme .ace_constant.ace_numeric {
  color: #58C554;
}

.custom_theme .ace_invalid {
  color: #FFFFFF;
  background-color: #990000;
}

.custom_theme .ace_invalid.ace_deprecated {
  color: #FFFFFF;
  background-color: #990000;
}

.custom_theme .ace_support {
  color: #999;
}

.custom_theme .ace_support.ace_function {
  color: #00AEEF;
}

.custom_theme .ace_function {
  color: #00AEEF;
}

.custom_theme .ace_string {
  color: #58C554;
}

.custom_theme .ace_comment {
  color: #555;
  font-style: italic;
  padding-bottom: 0px;
}

.custom_theme .ace_variable {
  color: #FFFF89;
}

.custom_theme .ace_meta.ace_tag {
  color: #BE53E6;
}

.custom_theme .ace_entity.ace_other.ace_attribute-name {
  color: #FFFF89;
}

.custom_theme .ace_markup.ace_underline {
  text-decoration: underline;
}

.custom_theme .ace_fold-widget {
  text-align: center;
}

.custom_theme .ace_fold-widget:hover {
  color: #777;
}

.custom_theme .ace_fold-widget.ace_start,
.custom_theme .ace_fold-widget.ace_end,
.custom_theme .ace_fold-widget.ace_closed {
  background: none !important;
  border: none;
  box-shadow: none;
}

.custom_theme .ace_fold-widget.ace_start:after {
  content: '▼'
}

.custom_theme .ace_fold-widget.ace_end:after {
  content: '\u25B4'
}

.custom_theme .ace_fold-widget.ace_closed:after {
  content: '▶︎'
}

.custom_theme .ace_indent-guide {
  border-right: 1px dotted #333333;
  margin-right: -1px;
}

.custom_theme .ace_indent-guide-active {
  border-right: 1px dotted #afafaf;
  margin-right: -1px;
}

.custom_theme .ace_fold {
  background: #222;
  border-radius: 3px;
  color: #7AF;
  border: none;
}

.custom_theme .ace_fold:hover {
  background: #CCC;
  color: #000;
}

/* 関数定義名のスタイル */
.custom_theme .ace_entity.ace_name.ace_function {
  color: #fff;
}

.ace-tm .ace_marker-layer .ace_selected-word {
  background-color: #62686f;
  border: none;
}
/**
 * prism.js tomorrow night eighties for JavaScript, CoffeeScript, CSS and HTML
 * Based on https://github.com/chriskempson/tomorrow-theme
 * @author Rose Pritchard
 */

code[class*="language-"],
pre[class*="language-"] {
	color: #ccc;
	background: none;
	font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
	font-size: 1em;
	text-align: left;
	white-space: pre;
	word-spacing: normal;
	word-break: normal;
	word-wrap: normal;
	line-height: 1.5;

	-moz-tab-size: 4;
	-o-tab-size: 4;
	tab-size: 4;

	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;

}

/* Code blocks */
pre[class*="language-"] {
	padding: 1em;
	margin: .5em 0;
	overflow: auto;
}

:not(pre) > code[class*="language-"],
pre[class*="language-"] {
	background: #2d2d2d;
}

/* Inline code */
:not(pre) > code[class*="language-"] {
	padding: .1em;
	border-radius: .3em;
	white-space: normal;
}

.token.comment,
.token.block-comment,
.token.prolog,
.token.doctype,
.token.cdata {
	color: #999;
}

.token.punctuation {
	color: #ccc;
}

.token.tag,
.token.attr-name,
.token.namespace,
.token.deleted {
	color: #e2777a;
}

.token.function-name {
	color: #6196cc;
}

.token.boolean,
.token.number,
.token.function {
	color: #f08d49;
}

.token.property,
.token.class-name,
.token.constant,
.token.symbol {
	color: #f8c555;
}

.token.selector,
.token.important,
.token.atrule,
.token.keyword,
.token.builtin {
	color: #cc99cd;
}

.token.string,
.token.char,
.token.attr-value,
.token.regex,
.token.variable {
	color: #7ec699;
}

.token.operator,
.token.entity,
.token.url {
	color: #67cdcc;
}

.token.important,
.token.bold {
	font-weight: bold;
}
.token.italic {
	font-style: italic;
}

.token.entity {
	cursor: help;
}

.token.inserted {
	color: green;
}

/* Customizing syntax highlighting colors */
code[class*="language-"], pre[class*="language-"] {
  color: #E6E1DC; /* Default text color */
  background: rgb(var(--mc-color-gray-100)); /* Background color */
  font-family: Menlo,Monaco,"Courier New",monospace!important;
  /* font-size: 14px; */
  padding: 0;
  white-space: pre-wrap;
  text-indent: 0;
}

:not(pre) > code[class*="language-"], pre[class*="language-"] {
  background: rgb(var(--mc-color-gray-100)); /* Background color */
}

div[class*="language-"] {
  font-family: Menlo,Monaco,"Courier New",monospace!important;
}

:not(pre) > code[class*="language-"] {
  padding: .2em .5em;
  margin-left: .2em;
  margin-right: .2em;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  /* Comment color */
  color: #555;
  font-style: italic;
  padding-bottom: 0px;
}

.token.punctuation {
  /* Punctuation color */
  margin: -1px 0 0 -1px;
}

.token.property,
.token.tag,
.token.constant,
.token.symbol,
.token.deleted {
  /* Property and tag color */
  color: #BE53E6;
}

.token.boolean,
.token.number {
  /* Number color */
  color: #58C554
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
  /* String and selector color */
  color: #58C554;
}

.token.operator,
.token.entity,
.token.url,
.token.variable {
 /* Operator and variable color */
 /* color: #FFFF89; */
 color: #FF347E;
}

.token.atrule,
.token.attr-value,
.token.function,
.token.class-name {
  /* Function and class color */
  color: #00AEEF;
}

.token.keyword {
  /* Keyword color */
  color: #00AEEF;
}

.token.regex,
.token.important {
  color: #ffb86c;
}

.token.important,
.token.bold {
  font-weight: bold;
}

.token.italic {
  font-style: italic;
}

.token.function {
  color: #fff;
}
/* リセットスタイル */
.mockResetAlgorithmExercise {
  --font-family-en: inter, helvetica, arial, sans-serif;
}

/* グローバルリセット */
.mockResetAlgorithmExercise html,
.mockResetAlgorithmExercise body,
.mockResetAlgorithmExercise div,
.mockResetAlgorithmExercise span,
.mockResetAlgorithmExercise applet,
.mockResetAlgorithmExercise object,
.mockResetAlgorithmExercise iframe,
.mockResetAlgorithmExercise h1,
.mockResetAlgorithmExercise h2,
.mockResetAlgorithmExercise h3,
.mockResetAlgorithmExercise h4,
.mockResetAlgorithmExercise h5,
.mockResetAlgorithmExercise h6,
.mockResetAlgorithmExercise p,
.mockResetAlgorithmExercise blockquote,
.mockResetAlgorithmExercise pre,
.mockResetAlgorithmExercise a,
.mockResetAlgorithmExercise abbr,
.mockResetAlgorithmExercise acronym,
.mockResetAlgorithmExercise address,
.mockResetAlgorithmExercise big,
.mockResetAlgorithmExercise cite,
.mockResetAlgorithmExercise code,
.mockResetAlgorithmExercise del,
.mockResetAlgorithmExercise dfn,
.mockResetAlgorithmExercise em,
.mockResetAlgorithmExercise img,
.mockResetAlgorithmExercise ins,
.mockResetAlgorithmExercise kbd,
.mockResetAlgorithmExercise q,
.mockResetAlgorithmExercise s,
.mockResetAlgorithmExercise samp,
.mockResetAlgorithmExercise small,
.mockResetAlgorithmExercise strike,
.mockResetAlgorithmExercise strong,
.mockResetAlgorithmExercise sub,
.mockResetAlgorithmExercise sup,
.mockResetAlgorithmExercise tt,
.mockResetAlgorithmExercise var,
.mockResetAlgorithmExercise b,
.mockResetAlgorithmExercise u,
.mockResetAlgorithmExercise i,
.mockResetAlgorithmExercise center,
.mockResetAlgorithmExercise dl,
.mockResetAlgorithmExercise dt,
.mockResetAlgorithmExercise dd,
.mockResetAlgorithmExercise ol,
.mockResetAlgorithmExercise ul,
.mockResetAlgorithmExercise li,
.mockResetAlgorithmExercise fieldset,
.mockResetAlgorithmExercise form,
.mockResetAlgorithmExercise label,
.mockResetAlgorithmExercise legend,
.mockResetAlgorithmExercise table,
.mockResetAlgorithmExercise caption,
.mockResetAlgorithmExercise tbody,
.mockResetAlgorithmExercise tfoot,
.mockResetAlgorithmExercise thead,
.mockResetAlgorithmExercise tr,
.mockResetAlgorithmExercise th,
.mockResetAlgorithmExercise td,
.mockResetAlgorithmExercise article,
.mockResetAlgorithmExercise aside,
.mockResetAlgorithmExercise canvas,
.mockResetAlgorithmExercise details,
.mockResetAlgorithmExercise embed,
.mockResetAlgorithmExercise figure,
.mockResetAlgorithmExercise figcaption,
.mockResetAlgorithmExercise footer,
.mockResetAlgorithmExercise header,
.mockResetAlgorithmExercise hgroup,
.mockResetAlgorithmExercise menu,
.mockResetAlgorithmExercise nav,
.mockResetAlgorithmExercise output,
.mockResetAlgorithmExercise ruby,
.mockResetAlgorithmExercise section,
.mockResetAlgorithmExercise summary,
.mockResetAlgorithmExercise time,
.mockResetAlgorithmExercise mark,
.mockResetAlgorithmExercise audio,
.mockResetAlgorithmExercise video {
  padding: 0;
  margin: 0;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  vertical-align: baseline;
  border: 0;
  outline: 0;
}

.mockResetAlgorithmExercise article,
.mockResetAlgorithmExercise aside,
.mockResetAlgorithmExercise details,
.mockResetAlgorithmExercise figcaption,
.mockResetAlgorithmExercise figure,
.mockResetAlgorithmExercise footer,
.mockResetAlgorithmExercise header,
.mockResetAlgorithmExercise hgroup,
.mockResetAlgorithmExercise menu,
.mockResetAlgorithmExercise nav,
.mockResetAlgorithmExercise section,
.mockResetAlgorithmExercise textarea,
.mockResetAlgorithmExercise summary {
  display: block;
}

.mockResetAlgorithmExercise ol[role="list"],
.mockResetAlgorithmExercise ul[role="list"],
.mockResetAlgorithmExercise summary {
  list-style: none;
}

.mockResetAlgorithmExercise summary::-webkit-details-marker {
  display: none;
}

.mockResetAlgorithmExercise blockquote::before,
.mockResetAlgorithmExercise blockquote::after,
.mockResetAlgorithmExercise q::before,
.mockResetAlgorithmExercise q::after {
  content: "";
}

.mockResetAlgorithmExercise blockquote,
.mockResetAlgorithmExercise q {
  quotes: "" "";
}

.mockResetAlgorithmExercise table {
  border-spacing: 0;
  border-collapse: collapse;
}

.mockResetAlgorithmExercise html {
  scroll-behavior: smooth;
  scroll-padding-top: 4rem;
}

.mockResetAlgorithmExercise h1,
.mockResetAlgorithmExercise h2,
.mockResetAlgorithmExercise h3,
.mockResetAlgorithmExercise h4,
.mockResetAlgorithmExercise h5,
.mockResetAlgorithmExercise h6 {
  font-weight: bold;
  text-wrap: balance;
}

.mockResetAlgorithmExercise caption,
.mockResetAlgorithmExercise th,
.mockResetAlgorithmExercise td {
  font-weight: normal;
  text-align: left;
}

.mockResetAlgorithmExercise a,
.mockResetAlgorithmExercise input,
.mockResetAlgorithmExercise button,
.mockResetAlgorithmExercise summary {
  cursor: pointer;
}

.mockResetAlgorithmExercise a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentcolor;
}

.mockResetAlgorithmExercise textarea:not([rows]) {
  min-height: 4lh;
}

.mockResetAlgorithmExercise :focus {
  outline: 0;
}

.mockResetAlgorithmExercise a,
.mockResetAlgorithmExercise button,
.mockResetAlgorithmExercise label {
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

.mockResetAlgorithmExercise img,
.mockResetAlgorithmExercise picture {
  display: block;
  max-width: 100%;
  height: auto;
  aspect-ratio: attr(width) / attr(height);
}

.mockResetAlgorithmExercise dialog {
  width: 80%;
  color: #333;
  background: #fff;
  border: #333 1px solid;
  border-radius: 10px;
  box-shadow: 0 0 10px #666;
}

.mockResetAlgorithmExercise dialog::backdrop {
  background: rgb(0 0 0 / 50%);
}

/* グローバルな変数とスタイル */
.mockAlgorithmExercise {
  --font-family-en: inter, helvetica, arial, sans-serif;
  line-height: 1.7;
}

.mockAlgorithmExercise mark,
.mockAlgorithmExercise a.mark {
  padding: 0.1em 0.7em;
  margin: 0 0.5em;
  font-weight: bold;
  color: rgb(var(--mc-color-gray-90));
  text-decoration: none;
  background: rgb(var(--mc-color-gray-0));
  border: 1px solid rgb(var(--mc-color-gray-90));
  border-radius: 2px;
}

.mockAlgorithmExercise mark.normal,
.mockAlgorithmExercise a.mark.normal {
  font-weight: normal;
}

.mockAlgorithmExercise blockquote {
  padding: 1em;
  margin: 1em 0;
  border: 1px solid rgb(var(--mc-color-gray-20));
}

.mockAlgorithmExercise img {
  max-height: 70dvh;
}

@media (min-width: 765px) {
  .mockAlgorithmExercise .mockExam img {
    max-height: auto;
  }
}

.mockAlgorithmExercise a {
  color: rgb(var(--mc-color-primary-80));
}

.mockAlgorithmExercise b {
  font-weight: bold;
}

.mockAlgorithmExercise code:not(.language-python) {
  padding: 0 0.4em;
  font-family: "Migu 1M", monospace;
}

.mockAlgorithmExercise samp {
  padding: 0 0.4em;
  font-family: "Migu 1M", monospace;
}

.mockAlgorithmExercise dl {
  display: grid;
  grid-template-columns: 4em 1fr;
}

.mockAlgorithmExercise dt {
  text-align: right;
}

.mockAlgorithmExercise ol {
  /* margin-left: 2em; */
  list-style-type: none;
  counter-reset: listnum;
}

.mockAlgorithmExercise ol li {
  position: relative;
  padding-left: 1em;
  margin-bottom: 0.5em;
  text-indent: -1.5em;
}

.mockAlgorithmExercise ol li::before {
  position: relative;
  left: 0;
  display: inline-block;
  width: 1.4em;
  padding-right: 0.4em;
  font-family: var(--font-family-en);
  font-weight: bold;
  text-align: right;
  content: counter(listnum);
  counter-increment: listnum; /* ol_li カウンタの値に1加える */
}

.mockAlgorithmExercise ol.upper-alpha li::before {
  content: counter(listnum, upper-alpha) ".";
}

.mockAlgorithmExercise ol.lower-alpha li::before {
  content: counter(listnum, lower-alpha) ".";
}

.mockAlgorithmExercise ol.hiragana li::before {
  content: "（" counter(listnum, hiragana) "）";
}

.mockAlgorithmExercise ol.katakana li::before {
  content: "（" counter(listnum, katakana) "）";
}

.mockAlgorithmExercise ul {
  list-style-type: disc;
  list-style-position: inside;
  padding-left: 1.25em;
}

.mockAlgorithmExercise ul ul {
  list-style-type: circle;
}

.mockAlgorithmExercise ul ul ul {
  list-style-type: disc;
}

.mockAlgorithmExercise pre[class*="language-"] {
  padding: 0.625em 1.25em !important;
}

.mockAlgorithmExercise h2 {
  font-size: 18px;
  font-weight: bold;
  text-wrap: balance;
}

/* description クラスのスタイル */
.description h2 {
  margin-bottom: 8px !important;
  font-weight: bold !important;
  text-wrap: balance !important;
}

.description p {
  margin-bottom: 0.8em !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}



.typing-app {
  --typing-action-blue: #0055b6;
  background: #f0f0f0;
  min-height: 100%;
}

:where(.typing-app) .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--typing-action-blue);
  border-radius: 4px;
  background: #fff;
  color: var(--typing-action-blue);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

:where(.typing-app) .button:hover {
  background: #eaf3ff;
}

/* 画面遷移のリンクなど <button> にできない要素を、共通の SecondaryButton / PrimaryButton（size="m"）と同じ見た目にする */
:where(.typing-app) .typing-button-m {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid #0058bd;
  border-radius: 6px;
  background: #fff;
  color: #0058bd;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
}

:where(.typing-app) .typing-button-m:hover {
  background: #f5faff;
}

:where(.typing-app) .typing-button-m.typing-button-primary {
  border: 0;
  background: #005fcc;
  color: #fff;
}

:where(.typing-app) .typing-button-m.typing-button-primary:hover {
  background: #1f87ff;
}

@media (min-width: 1024px) {
  :where(.typing-app) .typing-button-m {
    padding: 12px 24px;
    font-size: 18px;
    line-height: 26px;
  }
}

.typing-app :focus-visible,
.typing-tutorial-dialog :focus-visible {
  outline: 3px solid #005ec4;
  outline-offset: 3px;
}

.typing-app h1[tabindex="-1"]:focus-visible {
  outline: none;
}

.typing-unavailable {
  padding: 24px 20px;
  color: #31353a;
}

.typing-top {
  --typing-ink: #31353a;
  --typing-muted: #62686f;
  --typing-paper: #fcfcfd;
  --typing-border: #e7e8e9;
  --typing-blue: #005fcc;
  --typing-dark-blue: #004caa;
  --typing-number-font: Inter, Arial, sans-serif;
  flex: 1;
  min-width: 0;
  background: linear-gradient(#f2f2f3f7, #f2f2f3f7),
    url(https://dev-member.lifeistech-lesson.jp/8da9c2857023a5e4e944.png) repeat;
  background-size: auto, 64px 64px;
  color: var(--typing-ink);
  font-family: inherit;
}

.typing-title {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  overflow: hidden;
  border-bottom: 1px solid #f2f2f3;
  padding: 10px max(20px, calc((100% - 984px) / 2)) 12px;
  background: linear-gradient(to bottom, #a9cffa -34%, #ebf4ff 63.748%);
}

.typing-title::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: url(https://dev-member.lifeistech-lesson.jp/9d8cd3aedd18c867fbb8.png) repeat;
  background-size: 33.6px 19.2px;
  opacity: .30;
  mix-blend-mode: overlay;
}

.typing-title::after {
  position: absolute;
  inset: auto 0 100%;
  height: 44px;
  content: "";
  box-shadow: 0 2px 12px #1a1a1a1a, 0 16px 24px -2px #1a1a1a1f;
  pointer-events: none;
}

.typing-title-icon {
  display: grid;
  width: 100px;
  height: 100px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--typing-blue);
}

.typing-title-icon img { display: block; width: 72px; height: 72px; }
.typing-title > div { width: 100%; min-width: 0; max-width: 432px; padding-top: 6px; }
.typing-title h1 { font-weight: 700; padding-bottom: 4px; border-bottom: 2px solid var(--typing-blue); font-size: 28px; line-height: 38px; }
.typing-title p { padding-top: 8px; font-size: 14px; line-height: 20px; font-weight: 600; }
.typing-tutorial-read-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 20px;
  background: var(--typing-paper);
  color: var(--typing-muted);
  font-size: 14px;
}
.typing-tutorial-read-notice button[aria-disabled="true"] { cursor: wait; }
.typing-records { background: var(--typing-paper); }
.typing-record-columns {
  display: grid;
  grid-template-columns: minmax(264px, max-content) minmax(0, 1fr);
  gap: 24px;
  max-width: 1024px;
  margin-inline: auto;
  padding: 16px 20px 20px;
}
.typing-record-summary {
  display: grid;
  grid-template-columns: 0 max-content repeat(2, max-content) minmax(0, 1fr);
  row-gap: 16px;
}
.typing-record-summary > section,
.typing-best-body, .typing-best-stats, .typing-recent-body, .typing-attempt-stats {
  display: grid;
  grid-template-columns: subgrid;
}
.typing-record-summary > section, .typing-attempt-heading { grid-column: 1 / -1; }
.typing-record-summary > section { align-content: start; }
.typing-record-history { min-width: 0; }
.typing-record-date { color: var(--typing-muted); font-size: 11px; }
.typing-record-columns :is(h2, h3) { font-weight: 600; font-size: 13px; line-height: 18px; color: var(--typing-muted); }

.typing-attempt-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}
.typing-best-body, .typing-recent-body { grid-column: 2 / -2; align-items: end; }
.typing-best-body { margin-top: 20px; }
.typing-best-body .typing-daisy { margin-inline: 10px 16px; }
.typing-daisy { display: grid; justify-items: center; gap: 10px; flex: none; }
.typing-daisy p {
  position: relative;
  width: 114px;
  padding: 4px 6px;
  border: 1px solid #ccced1;
  border-radius: 12px;
  background: white;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
}
.typing-daisy p img { position: absolute; left: 33px; bottom: -7px; width: 13px; height: 8px; }
.typing-daisy > img { display: block; width: 104px; height: 97px; object-fit: cover; object-position: center top; }
.typing-best-stats { grid-column: 2 / -1; justify-items: start; row-gap: 8px; }
.typing-best-stats .typing-level { grid-column: 1 / -1; }
.typing-recent-body { margin-top: 8px; }
.typing-recent-body .typing-level-label { grid-column: 1; justify-self: start; }
.typing-recent-body .typing-attempt-stats { grid-column: 2 / -1; }
.typing-level-label {
  display: flex;
  align-items: baseline;
  gap: 4px;
  min-width: max-content;
  padding-inline-start: 8px;
  border-inline-start: 4px solid #3380d1;
  color: var(--typing-blue);
  font: 700 14px/27px var(--typing-number-font);
}
.typing-level-label strong { font-size: 24px; }
.typing-level-label[data-level="11"] strong { font-size: 20px; }
.typing-level-label[data-color="advanced"] { border-color: #d1a000; color: #833100; }
.typing-level-label[data-color="empty"] { border-color: #969ca1; color: var(--typing-muted); }
.typing-level-label[data-level="22"] { border-color: #fa9a5e; }
.typing-best-stats .typing-level { min-height: 100px; }
.typing-level {
  display: grid;
  width: 116px;
  min-height: 70px;
  place-content: center;
  border: 4px solid #bfe4fc;
  border-radius: 8px;
  background: linear-gradient(141.55deg, #ffffff80 13px, transparent 13px 17px, #ffffff80 17px 32px, transparent 32px), #dbedf8;
  color: var(--typing-blue);
  font: 700 14px/17px var(--typing-number-font);
  text-align: center;
}
.typing-level strong { font-size: 32px; line-height: 32px; }
.typing-level[data-level="11"] strong { font-size: 22px; }
.typing-level-empty { border-color: #e7e9eb; background-color: #f5f5f6; color: var(--typing-muted); }
.typing-level-advanced { border-color: #d1a000; background-color: #faeab0; color: #833100; }
:is(.typing-best-stats, .typing-result-summary) .typing-level[data-level="11"] {
  border-color: #c3e6fe;
  background: linear-gradient(141.55deg, #eef8ff 13px, transparent 13px 17px, #eef8ff 17px 32px, transparent 32px), #deeffb;
  color: #005fcc;
}
:is(.typing-best-stats, .typing-result-summary) .typing-level[data-level="22"] {
  border-color: #fa9a5e;
  background: linear-gradient(141.55deg, #fff5d1 13px, transparent 13px 17px, #fff5d1 17px 32px, transparent 32px),
    linear-gradient(to right, #ffe580, #ffd1d9);
  color: #7f2c00;
}

@media (prefers-reduced-motion: no-preference) {
  .typing-level-sheen {
    position: relative;
    overflow: hidden;
  }
  .typing-level-sheen::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      135deg,
      transparent 36%,
      rgb(255 255 255 / 20%) 44%,
      rgb(255 255 255 / 78%) 49% 51%,
      rgb(255 255 255 / 22%) 56%,
      transparent 64%
    );
    pointer-events: none;
    content: "";
    animation: typing-level-sheen 4s 350ms ease-in-out infinite both;
  }
  .typing-level-sheen > :is(span, strong) { position: relative; z-index: 1; }
}
@keyframes typing-level-sheen {
  from { transform: translate(-75%, -80%); }
  24%, 100% { transform: translate(75%, 80%); }
}

.typing-attempt-stats {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--typing-muted);
  font-size: 12px;
  line-height: 16px;
}
.typing-attempt-stats > :first-child { margin-inline-end: 16px; }
.typing-record-columns dd { display: flex; align-items: baseline; gap: 5px; margin: 0; }
.typing-record-columns dd strong, .typing-no-value { font: 700 24px/27px var(--typing-number-font); color: var(--typing-ink); }
.typing-record-columns .typing-no-value { color: #969ca1; }
.typing-history-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin: 0;
  color: var(--typing-muted);
  font-size: 12px;
  line-height: 16px;
}
.typing-history-stats > div { display: flex; align-items: baseline; gap: 6px; }
.typing-history-stats dd strong, .typing-history-stats .typing-no-value { font-size: 22px; }
.typing-record-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-bottom: 12px;
}
.typing-record-heading :is(dt, dd) { white-space: nowrap; }

.typing-chart { margin: 0; }
.typing-chart-viewport { overflow-x: auto; }
.typing-chart-plot { position: relative; display: grid; }
.typing-chart-plot svg { display: block; grid-area: 1 / 1; font: 11px/1 var(--typing-number-font); }
.typing-chart-plot svg:not(.typing-chart-axis) { pointer-events: none; }
.typing-chart-plot svg.typing-chart-axis { position: sticky; left: 0; z-index: 1; justify-self: start; font-size: 12px; }
.typing-chart text { fill: var(--typing-muted); }
.typing-chart .typing-chart-level, .typing-chart .typing-chart-upper { fill: #1f5fa8; font-weight: 700; }
.typing-chart .typing-chart-upper { fill: #973e05; }
.typing-chart-grid { stroke: #d3e3f3; stroke-width: .75; }
.typing-chart-limit { stroke: #3380d1; stroke-width: 1.2; }
.typing-chart-gold { stroke: #eee0a4; stroke-width: .75; }
.typing-chart polyline { fill: none; stroke: #62686f; stroke-width: 1; }
.typing-chart-plot button {
  position: absolute;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: pointer;
}
.typing-chart-plot button::after {
  width: 8px;
  height: 8px;
  border: 1px solid white;
  border-radius: 50%;
  background: #2080d6;
  opacity: var(--typing-point-opacity);
  content: "";
}
.typing-chart-plot button.typing-point-advanced::after { background: #976500; }
.typing-chart-plot button:is(:hover, [aria-pressed="true"])::after { outline: 2px solid currentColor; }
.typing-chart-plot button:focus-visible::after { opacity: 1; }
.typing-chart-selection { margin: 4px 0; font-size: 12px; }
.typing-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.typing-record-message {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 100px;
  padding: 20px;
  font-size: 14px;
  color: var(--typing-muted);
}
.typing-record-message button[aria-disabled="true"] { cursor: wait; }
.typing-challenge-action { display: flex; justify-content: center; padding: 24px 20px 32px; border-top: 1px solid var(--typing-border); }
.typing-top .typing-action { gap: 10px; max-width: 100%; white-space: normal; text-align: center; }
.typing-action > [aria-hidden] { display: flex; flex: none; }
.typing-top .typing-action { font-weight: 600; }
.typing-challenge-label { word-break: keep-all; }
.typing-challenge-action .typing-action {
  width: 281px;
  min-height: 50px;
  border-color: var(--typing-blue);
  border-radius: 6px;
  background: var(--typing-blue);
  color: white;
  font-size: 18px;
  line-height: 26px;
}
.typing-challenge-action .typing-action:hover { background: var(--typing-dark-blue); }
.typing-practice { display: grid; gap: 24px; max-width: 1024px; margin: auto; padding: 24px 20px 40px; }
.typing-practice h2 { font-weight: 600; font-size: 20px; line-height: 29px; }
.typing-practice header p { padding-top: 4px; color: var(--typing-muted); font-size: 14px; line-height: 20px; }
.typing-practice-card { min-width: 0; border-radius: 8px; background: white; }
.typing-practice-heading {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 20px 20px 16px;
  color: var(--typing-dark-blue);
}
.typing-practice-heading > span[aria-hidden] { width: 26px; height: 26px; flex: none; }
.typing-practice-heading svg { display: block; width: 100%; height: 100%; }
.typing-short-practice { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 20px 20px; }
.typing-short-practice p { font-size: 14px; line-height: 22px; }
.typing-short-practice .typing-action {
  flex: none;
  border-color: var(--typing-blue);
  border-radius: 5px;
  padding: 9px 16px 9px 23px;
  font-size: 16px;
  line-height: 24px;
}
.typing-group-list { list-style: none; margin: 0; padding: 0; }
.typing-group-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  color: inherit;
  line-height: 24px;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.typing-group-list a:hover, .typing-group-list a:focus-visible { background: #f2f8fc; color: var(--typing-blue); }
.typing-group-list a:focus-visible { outline-offset: -3px; }
.typing-group-list small { margin-right: 8px; font-size: 10px; }
.typing-group-list .typing-group-description { margin-top: 4px; color: var(--typing-ink); font-size: 12px; line-height: 16px; font-weight: 400; }
.typing-group-chevron { display: flex; grid-column: 3; font-size: 24px; color: var(--typing-muted); }
.typing-recommendation { display: flex; }
.typing-group-toggle {
  display: flex;
  width: 100%;
  min-height: 100px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 0 0 8px 8px;
  padding: 16px;
  background: white;
  color: var(--typing-dark-blue);
}
.typing-group-toggle-label { font-size: 16px; font-weight: 400; line-height: 24px; text-decoration: underline; }
.typing-group-toggle:focus-visible { outline-offset: -3px; }
.typing-group-toggle-icon { display: flex; font-size: 20px; color: var(--typing-muted); transform: rotate(90deg); }
.typing-group-toggle[aria-expanded="true"] .typing-group-toggle-icon { transform: rotate(-90deg); }

@media (max-width: 620px) {
  .typing-title { gap: 16px; }
  .typing-title-icon { width: 64px; height: 64px; }
  .typing-title-icon img { width: 48px; height: 48px; }
  .typing-title h1 { font-size: 22px; line-height: 32px; }
  .typing-record-columns { grid-template-columns: minmax(0, 1fr); }
  .typing-record-summary { grid-template-columns: minmax(0, 1fr) max-content repeat(2, max-content) minmax(0, 1fr); }
  .typing-best-body .typing-daisy { margin-inline-start: 0; }
  .typing-short-practice { flex-direction: column; align-items: start; }
}
@media (max-width: 540px) {
  .typing-top-nav :is(a, button) { width: 48px; padding-inline: 8px; }
  .typing-top-nav :is(a, button) span:not(.typing-nav-icon) { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .typing-title, .typing-record-columns, .typing-practice { padding-inline: 12px; }
  .typing-practice-heading, .typing-short-practice, .typing-group-list a { padding-inline: 14px; }
}

@media (max-width: 340px) {
  .typing-best-body .typing-daisy, .typing-attempt-stats > :first-child { margin-inline-end: 8px; }
  .typing-challenge-action { padding-inline: 12px; }
  .typing-challenge-action .typing-action { font-size: 16px; }
  .typing-group-list a:has(.typing-recommendation) { row-gap: 5px; }
  .typing-recommendation { grid-row: 2; grid-column: 1; justify-self: start; }
  .typing-group-list a:has(.typing-recommendation) .typing-group-chevron { grid-row: 1 / 3; }
}

.typing-tutorial-dialog {
  position: fixed;
  inset: 24px 0 auto;
  margin: 0 auto;
  box-sizing: border-box;
  width: min(calc(100% - 40px), 728px);
  max-height: calc(100dvh - 29px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 20px;
  border: 4px solid #005fcc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 12px #1a1a1a1a, 0 16px 24px -2px #1a1a1a1f;
  color: #31353a;
  font-family: "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
}


.typing-tutorial-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 8px;
  margin-bottom: 16px;
  min-height: 108px;
}

.typing-tutorial-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  line-height: 30px;
  color: #62686f;
}

.typing-tutorial-label img {
  flex: none;
  width: 28px;
  height: 28px;
  filter: brightness(0) saturate(100%) invert(27%) sepia(83%) saturate(2130%) hue-rotate(195deg) brightness(94%) contrast(106%);
}

.typing-tutorial-header h2,
.typing-tutorial-options h3 {
  margin: 0;
  font-weight: 600;
}

.typing-tutorial-header h2 { font-size: 24px; line-height: 34px; }
.typing-tutorial-header h2 > span { display: block; }
.typing-tutorial-header h2:focus { outline: none; }

.typing-tutorial-daisy {
  display: flex;
  flex: 0 0 120px;
  justify-content: center;
  height: 105px;
  margin-right: 12px;
  overflow: hidden;
}

.typing-tutorial-daisy img { display: block; height: 151px; max-width: 100%; object-fit: fill; }

.typing-tutorial-dialog .typing-keyboard-diagram { width: min(80%, 433.6px); }

.typing-tutorial-sequence {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e0e3e6;
  height: 61px;
  padding: 12px min(14vw, 109px) 0;
  margin-bottom: 16px;
  font: 700 32px/1 "Typing Migu 1M", monospace;
  color: #727980;
}

.typing-tutorial-sequence[data-bumps] { justify-content: center; gap: 24px; }
.typing-tutorial-sequence span { text-align: center; width: 40px; }
.typing-tutorial-sequence [data-position="next"] { color: #31353a; background: #dcecff; border-radius: 8px; box-shadow: 0 0 8px 4px #dcecff; }
.typing-tutorial-sequence [data-position="done"] { color: #505760; }
.typing-tutorial-sequence:not([data-bumps]) span:not([data-position]) { color: #ccced1; }
.typing-tutorial-sequence:not([data-bumps]) [data-position="done"] { color: #e7e8e9; }

.typing-tutorial-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.typing-tutorial-options section { background: #f5f5f5; border-radius: 12px; padding: 20px 20px 12px; }
.typing-tutorial-options section > * + * { margin-top: 8px; }
.typing-tutorial-options img { width: 100%; height: auto; display: block; border: 1px solid #e0e3e6; }
.typing-tutorial-options h3 { margin-top: 8px; font-size: 22px; line-height: 30px; }
.typing-tutorial-options p { margin-bottom: 0; font-size: 14px; line-height: 23px; }
.typing-tutorial-options img + p { color: #005fcc; font-weight: 600; line-height: 17px; }

.typing-tutorial-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 20px;
}

.typing-tutorial-dialog .typing-tutorial-link {
  grid-area: 1 / 1;
  justify-self: start;
  padding: 8px 0;
  cursor: pointer;
  color: #005fcc;
  background: transparent;
  font-size: 16px;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.typing-tutorial-dialog .typing-tutorial-primary {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  white-space: nowrap;
}

.typing-tutorial-primary { grid-area: 1 / 3; justify-self: end; min-width: 112px; }
.typing-tutorial-primary[data-last] { min-width: 130px; }
.typing-tutorial-dialog .typing-tutorial-primary:disabled {
  opacity: 1;
  color: #eaf4ff;
  background: #99bfe8;
}
.typing-tutorial-footer .typing-tutorial-primary svg { display: block; width: 16px; height: 16px; }
.typing-tutorial-primary[aria-disabled="true"] { opacity: 0.8; }
.typing-tutorial-dialog .typing-tutorial-link[aria-disabled="true"] { color: #62686f; }
.typing-tutorial-footer button:is(:disabled, [aria-disabled="true"]) { cursor: default; }

.typing-tutorial-dots { grid-area: 1 / 2; display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.typing-tutorial-dots li { position: relative; display: grid; place-items: center; width: 24px; height: 24px; }
.typing-tutorial-dots li::before { width: 16px; height: 16px; border-radius: 50%; background: #c8c9cb; content: ""; }
.typing-tutorial-dots [aria-current]::before { background: #005fcc; }
.typing-tutorial-dots button { position: absolute; inset: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.typing-tutorial-dots li:has(button:not(:disabled):hover)::before { background: #94c6ff; }
.typing-tutorial-save { margin-top: 20px; }
.typing-tutorial-save p { font-weight: 600; color: #9b2626; }
.typing-tutorial-save > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }

.typing-tutorial-sr,
.typing-tutorial-typing-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 620px) {
  .typing-tutorial-dialog { inset-block-start: 12px; width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 14px; }
  .typing-tutorial-label { font-size: 16px; line-height: 22px; gap: 4px; }
  .typing-tutorial-label img { width: 20px; height: 20px; }
  .typing-tutorial-header h2 { font-size: 18px; line-height: 26px; }
  .typing-tutorial-daisy { flex-basis: min(16vw, 80px); height: 75px; margin-right: 0; }
  .typing-tutorial-daisy img { height: auto; max-height: 100px; align-self: start; }
  .typing-tutorial-sequence { padding-inline: 12px; font-size: 24px; }
  .typing-tutorial-primary,
  .typing-tutorial-primary[data-last] { min-width: 0; }
  .typing-tutorial-dots { gap: 0; }
  .typing-tutorial-dots li::before { width: 10px; height: 10px; }
  .typing-tutorial-sequence ~ .typing-tutorial-footer { position: sticky; bottom: 0; background: #fff; }
}

@media (max-width: 440px) {
  .typing-tutorial-options { grid-template-columns: minmax(0, 1fr); }
  .typing-tutorial-footer { grid-template-columns: minmax(0, 1fr) auto; row-gap: 8px; }
  .typing-tutorial-dots { grid-area: 1 / 1 / 2 / -1; justify-self: center; }
  .typing-tutorial-dialog .typing-tutorial-link { grid-area: 2 / 1; }
  .typing-tutorial-primary { grid-area: 2 / 2; }
  .typing-tutorial-typing-status {
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 8px;
    clip-path: none;
    white-space: normal;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
  }
  .typing-tutorial-typing-status:empty { margin: 0; }
  .typing-tutorial-link { white-space: nowrap; }
}

@font-face {
  font-family: "Typing Migu 1M";
  src: url(https://dev-member.lifeistech-lesson.jp/fonts/typing/migu-1m-bold.ttf) format("truetype");
  font-weight: 700;
  font-display: swap;
}

.typing-challenge,
.typing-practice-session,
.typing-result {
  width: 100%;
  max-width: 1032px;
  margin-inline: auto;
  color: #31353a;
  --session-blue: #005ec4;
  --session-muted: #62686f;
  --typing-blue: var(--session-blue);
  --typing-number-font: system-ui, sans-serif;
  --typing-japanese-font: "Noto Sans JP", "Hiragino Sans", Meiryo, sans-serif;
  --typing-prompt-font: "Typing Migu 1M", monospace;
}
.typing-challenge { position: relative; isolation: isolate; max-width: none; }
.typing-challenge > .typing-session { max-width: 1032px; margin-inline: auto; }
.typing-challenge[data-phase="finished"] {
  min-height: max(488px, calc(100dvh - var(--header-height) - var(--footer-height)));
}
.typing-challenge:focus, .typing-practice-session:focus { outline: none; }
.typing-session { padding: 24px 20px 40px; --streak-color: #949ba1; }
.typing-session[data-streak-tier="10"] { --streak-color: #005ec4; --streak-fill: #dceefa; --streak-ring: #bfe4fc; }
.typing-session[data-streak-tier="50"] { --streak-color: #833100; --streak-fill: #fbeab4; --streak-ring: #d6a30a; }
.typing-session[data-streak-tier="25"] {
  --streak-color: #fff;
  --streak-fill: #c8e0fb;
  --streak-ring: #79b2f4;
  --counter-fill: #3380d1;
  --counter-ring: #1f5fa8;
  --card-ring: #3380d1;
}
.typing-session[data-streak-tier="100"] {
  --streak-color: #7f2c00;
  --streak-ring: #fa9a5e;
  --streak-fill: #ffd9e3;
  --counter-fill: linear-gradient(to right, #ffe580, #ffd1d9);
  --streak-glow: 0 0 24px rgb(250 154 94 / 55%);
  --typed-color: #e0466e;
}
.typing-session-hud {
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) minmax(0, 393px) 10.5rem;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  margin-bottom: 16px;
}
.typing-session-timer { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.typing-session-timer > span, .typing-streak { color: var(--session-muted); font-size: 12px; font-weight: 700; }
.typing-session-timer output { min-width: 2.15em; color: var(--session-blue); font-size: 32px; font-weight: 800; font-variant-numeric: tabular-nums; }
.typing-session-timer output[data-final="true"] { animation: challenge-final-tick 175ms both; }
@keyframes challenge-final-tick { from { transform: scale(1.06); } }
.typing-session-timer output[data-zero="true"] { color: #974200; }
.typing-session-timer progress {
  appearance: none;
  width: 100%;
  height: 14px;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #ccced1;
  accent-color: var(--session-blue);
}
.typing-session-timer progress::-webkit-progress-bar { background: #ccced1; }
.typing-session-timer progress::-webkit-progress-value { background: var(--session-blue); }
.typing-streak {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
  min-width: 105px;
  min-height: 42px;
  padding: 4px 12px;
  padding-inline-end: 25px;
  border: 2px solid var(--counter-ring, var(--streak-ring, transparent));
  border-radius: 32px;
  background: var(--counter-fill, var(--streak-fill, #fff));
}
.typing-streak strong { color: var(--streak-color); font-size: 24px; line-height: 1; }
.typing-session:not([data-streak-tier="0"]) .typing-streak {
  color: var(--streak-color);
  animation: typing-pop 400ms both;
}
.typing-session[data-streak-tier="100"] .typing-streak {
  animation: typing-pop 400ms both, typing-milestone-glow 450ms ease-out;
}
@keyframes typing-milestone-glow { from { box-shadow: var(--streak-glow); } }
.typing-streak-sparkles {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 4px;
  width: 14px;
  height: 21px;
  margin-block: auto;
  fill: #447cc0;
  pointer-events: none;
  animation: typing-streak-sparkles 520ms ease-out both;
}
.typing-streak-sparkles[data-strong="true"] {
  width: 18px;
  height: 27px;
  fill: #996b00;
  animation-duration: 650ms;
}
.typing-streak-sparkles[data-strong="true"] path:nth-child(2) { fill: #9255b5; }
@keyframes typing-streak-sparkles {
  0% { opacity: 0; transform: scale(.6); }
  25% { opacity: 1; transform: scale(1); }
  65% { opacity: 1; }
  100% { opacity: 0; }
}
.typing-session-card {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 198px;
  padding: 24px 20px;
  border: 3px solid transparent;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}
.typing-session-ready, .typing-session-countdown { padding-bottom: 36px; }
.typing-session-ready h2 { font-size: 20px; }
.typing-session-ready p { margin-top: 8px; color: var(--session-muted); font-size: 14px; }
.typing-session-ready :is(h2, p) { font-weight: 700; }
.typing-session-start {
  margin-top: 16px;
  padding: 2px 4px;
  border: 0;
  border-radius: 4px;
  background: #fff;
  color: var(--session-blue);
}
.typing-session-start :is(kbd, span) { font-size: 16px; font-weight: 700; }
.typing-session-start kbd {
  display: inline-block;
  min-width: 96px;
  margin-right: 6px;
  padding: 4px 12px;
  border: 1px solid currentColor;
  border-bottom-width: 3px;
  border-radius: 6px;
  font-family: inherit;
}
.typing-session-countdown output {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  --countdown-step: 100%;
  --countdown-progress: var(--countdown-step);
  border: 6px solid transparent;
  background: linear-gradient(white, white) padding-box,
    conic-gradient(#93c5ff var(--countdown-progress), #f2f4f6 0) border-box;
  border-radius: 50%;
  color: var(--session-blue);
  font-size: 48px;
  font-weight: 800;
}
.typing-session-countdown output[data-countdown="2"] { --countdown-step: 66.6667%; }
.typing-session-countdown output[data-countdown="1"] { --countdown-step: 33.3333%; }
.typing-session-start-cue {
  display: grid;
  place-items: center;
  min-height: 64px;
  margin: 0;
  padding: 4px 22px;
  color: var(--session-blue);
  font-size: clamp(28px, 6vw, 38px);
  font-weight: 800;
  white-space: nowrap;
}
@media (prefers-reduced-motion: no-preference) {
  .typing-session-countdown output {
    --countdown-progress: var(--countdown-motion-progress, var(--countdown-step));
  }
  .typing-session-start-cue {
    animation-name: typing-start-cue;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
  }
}
@keyframes typing-start-cue {
  0% { opacity: .8; transform: scale(.42); }
  15% { opacity: 1; transform: scale(1); animation-timing-function: ease-in; }
  100% { opacity: 0; transform: scale(1); }
}
.typing-session-exit, .typing-result-links { display: flex; justify-content: center; margin-top: 28px; }
.typing-prompt {
  --milestone-gap: 32px;
  position: relative;
  min-height: 282px;
  padding-block: 40px 59px;
}
.typing-prompt-border {
  position: absolute;
  inset: -3px;
  border: 3px solid var(--card-ring, var(--streak-ring));
  border-radius: inherit;
  box-shadow: 0 0 12px var(--streak-ring);
  pointer-events: none;
}
.typing-session[data-streak-tier="100"] .typing-prompt-border { box-shadow: var(--streak-glow); }
.typing-challenge[data-phase="finished"] :is(.typing-prompt-border, .typing-prompt-effects, .typing-prompt-milestone) { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .typing-prompt-border { animation: typing-prompt-border-pop 320ms ease-out; }
}
@keyframes typing-prompt-border-pop {
  42% { inset: -10px; animation-timing-function: ease-in-out; }
}
.typing-prompt h2 {
  max-width: 100%;
  margin-bottom: 44px;
  font-size: clamp(25px, 5.7vw, 44px);
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.typing-prompt h2:is([data-phrases], [data-japanese]) { width: 100%; font-size: 44px; }
.typing-prompt h2[data-japanese] { font-family: var(--typing-prompt-font); font-weight: 700; }
.typing-prompt h2[data-compact="true"] { font-size: 36px; }
.typing-prompt-phrase { display: inline-block; max-width: 100%; }
.typing-prompt-label-measure { position: absolute; width: 0; height: 0; overflow: hidden; visibility: hidden; }
.typing-prompt-label-measure > span { display: block; width: max-content; font-size: 44px; }
.typing-prompt-keys { position: relative; display: grid; row-gap: 8px; width: 100%; container-type: inline-size; }
.typing-prompt-key-row { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 3px; }
.typing-prompt-key-row > span {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  height: 36px;
  border-radius: 4px;
  background: #f0f0f0;
  font: 700 22px/1 var(--typing-prompt-font);
}
.typing-prompt-keys [data-status="typed"] { color: var(--typed-color, #62686f); background: var(--streak-fill, #f0f0f0); }
.typing-practice-session .typing-session[data-streak-tier="0"] { --typed-color: #949ba1; }
.typing-prompt[data-counter-only] .typing-prompt-keys [data-status="typed"] { background: #f0f0f0; }
.typing-prompt-keys [data-status="next"] { box-shadow: inset 0 -2px var(--session-blue); }
.typing-prompt:not([data-counter-only]) .typing-prompt-keys [data-feedback="correct"] { animation: typing-pop 220ms both; }
.typing-prompt-keys [data-feedback="miss"] { animation: typing-miss 350ms both; }
.typing-prompt-effects {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.typing-key-sparkles {
  --key-sparkle-size: 40px;
  --key-sparkle-duration: 390ms;
  --key-sparkle-burst-extension: 0ms;
  --key-sparkle-stagger: 0ms;
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--key-sparkle-size);
  aspect-ratio: 52 / 56;
  overflow: visible;
  fill: #2083ca;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.typing-key-sparkles[data-tier="10"] {
  --key-sparkle-size: 46px;
  --key-sparkle-duration: 405ms;
  --key-sparkle-stagger: 8ms;
}
.typing-key-sparkles[data-tier="25"] {
  --key-sparkle-size: 54px;
  --key-sparkle-duration: 420ms;
  --key-sparkle-stagger: 12ms;
  fill: #e6aa12;
}
.typing-key-sparkles[data-tier="50"] {
  --key-sparkle-size: 62px;
  --key-sparkle-duration: 435ms;
  --key-sparkle-stagger: 16ms;
  fill: #e6aa12;
}
.typing-key-sparkles[data-tier="100"] {
  --key-sparkle-size: 72px;
  --key-sparkle-duration: 450ms;
  --key-sparkle-stagger: 22ms;
  fill: #e6aa12;
}
.typing-key-sparkles[data-tier="50"] g:nth-child(even),
.typing-key-sparkles[data-tier="100"] g:nth-child(even) { fill: #ec7299; }
.typing-key-sparkles[data-tier="100"][data-burst] { filter: drop-shadow(var(--streak-glow)); }
@media (prefers-reduced-motion: no-preference) {
  .typing-key-sparkles {
    animation: typing-key-sparkles calc(var(--key-sparkle-duration) + var(--key-sparkle-burst-extension) + 2 * var(--key-sparkle-stagger)) cubic-bezier(.12, .72, .28, 1) both;
  }
  .typing-key-sparkles[data-burst] {
    --key-sparkle-burst-extension: 45ms;
    width: calc(var(--key-sparkle-size) + 14px);
  }
  .typing-key-sparkles path {
    transform-box: fill-box;
    transform-origin: center;
    animation: typing-key-star calc(var(--key-sparkle-duration) + var(--key-sparkle-burst-extension)) cubic-bezier(.12, .72, .28, 1) both;
  }
  .typing-key-sparkles g:nth-child(3n + 2) path { animation-delay: var(--key-sparkle-stagger); }
  .typing-key-sparkles g:nth-child(3n) path { animation-delay: calc(2 * var(--key-sparkle-stagger)); }
}
@keyframes typing-key-sparkles {
  0% { transform: translate(-50%, -50%) scale(.6); }
  20% { transform: translate(-50%, -53%) scale(.98); }
  64% { transform: translate(-50%, -57%) scale(1.15); }
  100% { transform: translate(-50%, -58%) scale(1.22); }
}
@keyframes typing-key-star {
  0% { opacity: .85; transform: scale(.8); }
  20% {
    opacity: 1;
    transform: translate(calc(var(--star-flight-x) * .58), calc(var(--star-flight-y) * .58)) scale(1.12);
  }
  57% {
    opacity: .66;
    transform: translate(calc(var(--star-flight-x) * .86), calc(var(--star-flight-y) * .86)) scale(.72);
  }
  100% { opacity: 0; transform: translate(var(--star-flight-x), var(--star-flight-y)) scale(.22); }
}
.typing-prompt-milestone {
  --milestone-fill: var(--streak-fill, #dceefa);
  --milestone-inset: 8px;
  position: absolute;
  inset-inline: 0;
  top: calc(100% + var(--milestone-gap));
  z-index: 2;
  margin: 0;
  pointer-events: none;
  animation: typing-milestone 1650ms both;
}
.typing-challenge[data-phase="playing"] .typing-prompt-key-row[data-milestone-gap] {
  --milestone-gap: 8px;
  margin-bottom: 40px;
}
.typing-prompt-milestone[data-tier="25"] {
  --milestone-fill: #3380d1;
  --milestone-color: #fff;
}
.typing-prompt-milestone span {
  position: relative;
  display: block;
  width: max-content;
  left: var(--milestone-x);
  translate: clamp(
    calc(var(--milestone-inset) - var(--milestone-x)),
    -50%,
    calc(100cqw - var(--milestone-inset) - var(--milestone-x) - 100%)
  );
  padding: 5px 15px;
  border-radius: 20px;
  background: var(--milestone-fill);
  color: var(--milestone-color, var(--streak-color));
  box-shadow: 0 2px 5px #31353a22;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.typing-prompt-milestone::after {
  position: absolute;
  top: -6px;
  left: var(--milestone-x);
  width: 14px;
  height: 7px;
  background: var(--milestone-fill);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform: translateX(-50%);
  content: "";
}
@keyframes typing-pop { 0% { transform: scale(1.13); } 100% { transform: scale(1); } }
@keyframes typing-miss { 0%, 35% { color: #9c1717; background: #ffdfdf; } }
@keyframes typing-milestone { 0% { opacity: 0; transform: translateY(5px); } 10%, 85% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }

.challenge-finish {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 16px;
  background: rgb(0 0 0 / 62%);
  text-align: center;
  color: #fff;
  animation: typing-reveal 450ms both;
}
.challenge-finish[data-finish-cue="fade"] {
  animation: challenge-dismiss 600ms both;
}
@keyframes challenge-dismiss {
  0% { background: rgb(0 0 0 / 62%); }
  100% { background: transparent; }
}
.challenge-result-transition {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #f0f0f0;
  pointer-events: none;
  animation: typing-reveal 600ms both;
}
.challenge-finish[data-finish-cue="fade"] > :not(.typing-sr-only) {
  animation: challenge-content-fade 600ms both;
}
@keyframes challenge-content-fade { to { opacity: 0; } }
.challenge-finish > h2 {
  position: relative;
  z-index: 1;
  font-family: var(--typing-japanese-font);
  font-size: clamp(28px, 7vw, 52px);
  font-weight: 700;
  text-shadow: 0 2px 5px #31353a88;
  animation: challenge-greeting-enter 400ms 120ms both;
}
@keyframes challenge-greeting-enter { from { opacity: 0; transform: scale(.6); } }
.challenge-greeting-sparkles {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(68%, 410px);
  height: min(36%, 156px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.challenge-greeting-sparkles span {
  position: absolute;
  inset: var(--top, 50%) auto auto var(--left, 50%);
  width: 13px;
  aspect-ratio: 1;
  background: var(--sparkle-color, #ffcf35);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation: challenge-twinkle 950ms ease-in-out var(--delay, 200ms) 2 both;
}
@keyframes challenge-twinkle {
  0%, 100% { opacity: 0; transform: translateY(3px) scale(.35) rotate(-12deg); }
  35% { opacity: 1; transform: translateY(-2px) scale(1.2) rotate(8deg); }
  65% { opacity: .65; transform: translateY(-5px) scale(.85) rotate(16deg); }
}
.challenge-greeting-sparkles span:nth-child(1) { --top: 28%; --left: 2%; }
.challenge-greeting-sparkles span:nth-child(2) { --top: 7%; --left: 19%; --delay: 250ms; }
.challenge-greeting-sparkles span:nth-child(3) { --top: 3%; --left: 38%; --delay: 300ms; }
.challenge-greeting-sparkles span:nth-child(4) { --top: 1%; --left: 61%; --delay: 350ms; --sparkle-color: white; }
.challenge-greeting-sparkles span:nth-child(5) { --top: 20%; --left: 89%; --delay: 400ms; }
.challenge-greeting-sparkles span:nth-child(6) { --top: 67%; --left: 12%; --delay: 450ms; }
.challenge-greeting-sparkles span:nth-child(7) { --top: 86%; --left: 31%; --delay: 500ms; }
.challenge-greeting-sparkles span:nth-child(8) { --top: 95%; --left: 52%; --delay: 550ms; }
.challenge-greeting-sparkles span:nth-child(9) { --top: 85%; --left: 79%; --delay: 600ms; }
.challenge-greeting-sparkles span:nth-child(10) { --top: 55%; --left: 95%; --delay: 650ms; --sparkle-color: white; }
.challenge-finish a:focus-visible,
.challenge-finish button:focus-visible { outline-color: #fff; }
.challenge-finish > h2:focus { outline: none; }
.challenge-reveal {
  display: grid;
  grid-template-columns: minmax(0, 158px) minmax(0, 326px);
  align-items: end;
  gap: 16px;
  width: 100%;
  max-width: 628px;
  margin-bottom: 56px;
  animation: typing-reveal 450ms both;
}
.challenge-finish:is([data-finish-cue="daisy"], [data-finish-cue="fade"]) .challenge-reveal {
  margin-bottom: 58px;
}
@media (min-width: 1024px) {
  .challenge-finish:is([data-finish-cue="daisy"], [data-finish-cue="fade"]) .challenge-reveal {
    margin-bottom: 64px;
  }
}
.challenge-daisy { color: #31353a; font-weight: 700; }
.challenge-reveal .challenge-daisy { display: grid; justify-items: center; gap: 8px; animation: challenge-daisy-enter 450ms both; }
@keyframes challenge-daisy-enter { from { opacity: 0; transform: translateY(10px); } }
.challenge-reveal-level[data-level-visible="false"] .typing-level { visibility: hidden; }
.challenge-reveal-level[data-level-visible="true"] .typing-level span { animation: challenge-label-enter 450ms ease-out both; }
.challenge-reveal-level[data-level-visible="true"] .typing-level:not([data-level="11"]) strong {
  animation: challenge-level-stamp 520ms ease-out both;
}
.challenge-reveal-level[data-level-visible="true"] .typing-level-advanced strong {
  animation-name: challenge-master-stamp;
  animation-timing-function: cubic-bezier(.3, .05, .25, 1);
}
@keyframes challenge-master-stamp {
  0% { opacity: .55; transform: translateY(-64px) scale(3); }
  45% { opacity: 1; transform: translateY(0) scale(.88); }
  68% { transform: scale(1.1); }
  85% { transform: scale(.98); }
  100% { opacity: 1; transform: scale(1); }
}
.challenge-reveal-level[data-level-visible="true"] .typing-level[data-level="11"] strong { animation: challenge-label-enter 450ms ease-out both; }
@keyframes challenge-label-enter { from { opacity: 0; } }
@keyframes challenge-level-stamp {
  0% { opacity: .55; transform: translateY(-56px) scale(3); }
  50% { opacity: 1; transform: translateY(0) scale(.94); }
  72% { transform: scale(1.045); }
  100% { opacity: 1; transform: scale(1); }
}
.challenge-max-flash {
  position: absolute;
  inset: 0;
  background: #fff;
  pointer-events: none;
  animation: challenge-max-flash 800ms both;
}
@keyframes challenge-max-flash { 0%, 100% { opacity: 0; } 20% { opacity: .65; } }
.challenge-daisy img { display: block; max-width: 100%; object-fit: contain; }
.challenge-daisy-quote {
  position: relative;
  padding: 8px;
  border: 2px solid #ccced1;
  border-radius: 14px;
  background: #fff;
  line-height: 1.2;
}
.challenge-daisy-quote::after {
  position: absolute;
  width: 11px;
  height: 11px;
  right: calc(50% - 5px);
  bottom: -7px;
  border-right: 2px solid #ccced1;
  border-bottom: 2px solid #ccced1;
  background: #fff;
  content: "";
  transform: rotate(45deg);
}
.challenge-reveal-level {
  position: relative;
  min-width: 0;
  min-height: 280px;
  display: grid;
  justify-items: center;
  align-content: center;
  padding: 15px;
  border: 8px solid white;
  border-radius: 28px;
  background: linear-gradient(140deg, #ffffff88 35px, transparent 35px 44px, #ffffff88 44px 81px, transparent 81px), #dbedf8;
  box-shadow: inset 0 0 0 10px #bfe4fc;
  color: var(--session-blue);
}
.challenge-reveal[data-style="expert"] .challenge-reveal-level {
  background: linear-gradient(140deg, #eef8ff 35px, transparent 35px 44px, #eef8ff 44px 81px, transparent 81px), #deeffb;
  box-shadow: inset 0 0 0 10px #c3e6fe;
  color: #005fcc;
}
.challenge-reveal[data-style="master"] .challenge-reveal-level {
  background: linear-gradient(140deg, #ffffff75 35px, transparent 35px 44px, #ffffff75 44px 81px, transparent 81px), #faeab0;
  box-shadow: inset 0 0 0 10px #d1a000;
  color: #833100;
}
.challenge-reveal[data-style="max"] .challenge-reveal-level {
  background: linear-gradient(140deg, #fff5d1 35px, transparent 35px 44px, #fff5d1 44px 81px, transparent 81px),
    linear-gradient(to right, #ffe580, #ffd1d9);
  box-shadow: inset 0 0 0 10px #fa9a5e;
  color: #7f2c00;
}
.challenge-reveal-level .typing-level {
  width: auto;
  min-height: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: clamp(22px, 5vw, 40px);
  line-height: 1.15;
}
.challenge-reveal-level .typing-level strong { font-size: clamp(48px, 11vw, 88px); line-height: 1; }
.challenge-reveal-level .typing-level[data-level="11"] strong { font-size: clamp(24px, 7vw, 60px); }
.challenge-reveal-level .typing-result-metrics { border-top: 2px solid; margin-top: 12px; padding-top: 16px; color: inherit; }
.challenge-reveal-metrics { font-variant-numeric: tabular-nums; }
.challenge-sparkles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.challenge-sparkles span {
  position: absolute;
  width: clamp(12px, 4vw, 32px);
  aspect-ratio: 1;
  background: var(--sparkle-color, #cc8900);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation: challenge-level-twinkle var(--period, 1s) ease-in-out var(--delay, 0ms) infinite alternate;
}
@keyframes challenge-level-twinkle {
  from { opacity: 1; transform: scale(1); }
  to { opacity: .55; transform: scale(.72) rotate(12deg); }
}
.challenge-sparkles span:first-child { top: 19%; left: 12%; }
.challenge-sparkles span:nth-child(2) { top: 19%; right: 14%; --delay: 330ms; --sparkle-color: #fff; }
.challenge-sparkles span:nth-child(3) { top: 42%; left: 8%; --delay: 450ms; --sparkle-color: #e99e00; }
.challenge-sparkles span:nth-child(4) { top: 43%; right: 10%; --delay: 240ms; }
.challenge-sparkles span:nth-child(5) { top: 68%; left: 14%; --delay: 340ms; --sparkle-color: #fff; }
.challenge-sparkles span:nth-child(6) { top: 71%; right: 12%; --delay: 510ms; --sparkle-color: #e99e00; }
.challenge-sparkles span:nth-child(7) { top: 8%; left: 29%; --delay: 430ms; --sparkle-color: #e99e00; }
.challenge-sparkles span:nth-child(8) { top: 8%; right: 26%; --delay: 560ms; }
.challenge-sparkles[data-subtle="true"] span {
  --sparkle-color: #ffcf35;
  width: clamp(12px, var(--size), 32px);
}
.challenge-sparkles[data-subtle="true"] span:nth-child(1) { top: 26%; left: 22%; --size: 4vw; --period: .72s; }
.challenge-sparkles[data-subtle="true"] span:nth-child(2) { top: 25%; right: 23%; --size: 4.2vw; --period: .93s; }
.challenge-sparkles[data-subtle="true"] span:nth-child(3) { top: 35%; left: 63%; --size: 2.1vw; --period: 1.15s; }
.challenge-sparkles[data-subtle="true"] span:nth-child(4) { top: 51%; right: 62%; --size: 2.2vw; --period: .64s; }
.challenge-sparkles[data-subtle="true"] span:nth-child(5) { top: 54%; left: 55%; --size: 3.8vw; --period: 1.23s; }
.typing-session-exit [data-saving] { visibility: hidden; }
.challenge-save-error { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.challenge-save-error p { width: 100%; font-weight: bold; }
@keyframes typing-reveal { from { opacity: 0; } to { opacity: 1; } }

.typing-result { padding: 24px 20px 40px; }
.typing-result article { border-radius: 8px; background: #fff; }
.typing-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 100px;
  padding: 10px 20px;
}
.typing-result-date { display: block; margin-top: 8px; color: var(--session-muted); font-size: 11px; }
.typing-result-header .challenge-daisy { display: flex; align-items: center; gap: 14px; }
.typing-result-unavailable { display: grid; align-content: start; justify-items: start; gap: 16px; padding: 20px; }
.challenge-daisy-crop { display: block; width: 86px; height: 80px; overflow: hidden; }
.challenge-daisy-crop img { width: 100%; transform: scaleX(-1); }
.typing-result-header .challenge-daisy-quote { font-size: 14px; border-radius: 6px; }
.typing-result-header .challenge-daisy-quote::after { right: -7px; bottom: calc(50% - 5px); transform: rotate(-45deg); }
.typing-result-body {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  padding: 20px;
}
.typing-result-summary { display: grid; align-content: start; justify-items: center; gap: 18px; }
.typing-result-summary .typing-level { width: 160px; height: 138px; border-width: 5px; border-radius: 12px; font-size: 20px; line-height: 1.3; }
.typing-result-summary .typing-level strong { font-size: 56px; line-height: 1; }
.typing-result-summary .typing-level[data-level="11"] strong { font-size: 36px; }
.typing-result-metrics { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; margin: 0; color: var(--session-muted); text-align: center; }
.typing-result-metrics dt { font-weight: 700; }
.typing-result-metrics dd { margin: 0; }
.typing-result-metrics dd strong { font-size: 24px; color: #31353a; }
.challenge-reveal .typing-result-metrics dd strong { color: inherit; }
.typing-result-detail h2 { font-size: 16px; font-weight: 700; }
.typing-result-description { margin: 12px 0; color: var(--session-muted); font-size: 12px; line-height: 1.4; }
.typing-review-keys { width: 100%; border-collapse: collapse; table-layout: fixed; }
.typing-review-keys th { padding: 8px; background: #f4f4f4; text-align: left; color: var(--session-muted); font-size: 12px; }
.typing-review-keys th:first-child { width: 64px; }
.typing-review-keys th:nth-last-child(2):nth-child(2) { width: 120px; }
.typing-review-keys td { padding: 10px 8px; border-bottom: 1px solid #e0e3e5; line-height: 1.3; }
.typing-review-keys :is(th, td):first-child { padding-left: 16px; }
.typing-review-keys kbd { display: inline-block; min-width: 26px; border: 1px solid #949ba1; border-radius: 5px; font: 700 14px/20px monospace; text-align: center; }
.typing-review-keys td:nth-last-child(2):nth-child(2) { color: var(--session-muted); font-size: 13px; }
.typing-review-keys td:nth-last-child(2):nth-child(2) strong { color: #31353a; font-size: 20px; }
.typing-review-keys td a { color: var(--session-blue); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.typing-result-links { flex-wrap: wrap; gap: 12px 16px; margin-top: 24px; }

@media (max-width: 570px) {
  .typing-session, .typing-result { padding-inline: 12px; }
  .typing-session-hud { grid-template-columns: minmax(0, 1fr) 8rem; gap: 4px 8px; }
  .typing-session-hud h1 { grid-column: span 2; }
  .typing-session-timer { gap: 8px; }
  .typing-session-timer output { font-size: 26px; }
  .typing-streak { min-width: 90px; padding-inline-start: 8px; }
  .typing-session-card { padding-inline: 10px; }
  .typing-prompt h2 { margin-bottom: 24px; }
  .typing-result-header { flex-wrap: wrap; }
  .typing-result-body { grid-template-columns: minmax(0, 1fr); padding: 16px 12px; }
  .typing-review-keys th:first-child { width: 40px; }
  .typing-review-keys th:nth-last-child(2):nth-child(2) { width: 76px; }
  .typing-review-keys :is(th, td):first-child { padding-left: 5px; }
  .challenge-reveal { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 8px; }
  .challenge-reveal-level { min-height: 210px; padding: 12px; }
  .challenge-reveal .challenge-daisy-quote { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .typing-prompt-milestone { animation: typing-milestone-static 1650ms steps(1, end) both; }
  .typing-key-sparkles { animation: typing-milestone-static var(--key-sparkle-duration) steps(1, end) both; }
  @keyframes typing-milestone-static { to { visibility: hidden; } }
  .typing-streak-sparkles {
    animation-name: typing-milestone-static;
    animation-timing-function: steps(1, end);
  }
  .typing-session .typing-streak,
  .typing-session-timer output,
  .challenge-finish > h2,
  .challenge-greeting-sparkles span,
  .typing-prompt-keys span,
  .challenge-finish,
  .challenge-result-transition,
  .challenge-sparkles span,
  .challenge-finish[data-finish-cue="fade"] > :not(.typing-sr-only),
  .challenge-reveal .challenge-daisy,
  .challenge-reveal-level[data-level-visible="true"] .typing-level :is(span, strong),
  .challenge-reveal { animation: none !important; }
  .challenge-max-flash { display: none; }
}

@media (min-width: 571px) {
  .typing-practice-session .typing-session { padding-top: 27px; }
  .typing-practice-session .typing-session-hud {
    grid-template-columns: minmax(max-content, 1fr) minmax(0, 347px) max-content;
  }
  .typing-practice-session:not([data-phase="playing"]) .typing-session-hud {
    grid-template-columns: minmax(max-content, 1fr) minmax(0, 398px) max-content;
    margin-right: 20px;
  }
}
.typing-practice-session .typing-session-card {
  align-content: stretch;
  width: 100%;
  padding: 20px 17px 21px;
}
.typing-practice-session .typing-session-stage-content {
  display: grid;
  align-content: start;
  justify-items: center;
  width: 100%;
  min-height: 212px;
  padding-top: 30px;
}
.typing-practice-session .typing-session-countdown .typing-session-stage-content { padding-top: 39px; }
.typing-practice-session .typing-session-ready p { margin-top: 14px; font-weight: 700; }
.typing-practice-session .typing-session-start { margin-top: 12px; }
.typing-practice-session .typing-session-start:disabled { opacity: .55; }
.typing-practice-session .typing-keyboard, .typing-practice-key-guide { width: 100%; }
.typing-practice-session .typing-prompt {
  --milestone-gap: 14px;
  align-content: start;
  min-height: 520px;
  padding-top: 56px;
}
.typing-practice-session .typing-prompt h2 { margin-bottom: 23px; }
.typing-practice-session .typing-prompt-keys { margin-bottom: 76px; }
.typing-practice-key-guide { position: relative; }
.typing-practice-session .typing-keyboard-key[data-key="f"]:empty,
.typing-practice-session .typing-keyboard-key[data-key="j"]:empty { color: #949ba1; }

.typing-practice-result .typing-result-header { align-items: end; padding-block: 10px 0; }
.typing-practice-result .typing-result-header > div { align-self: center; }
.typing-practice-daisy { display: block; width: 86px; height: 80px; overflow: hidden; }
.typing-practice-daisy img { display: block; width: 100%; }
.typing-practice-result:not(.typing-group-result) .typing-practice-daisy img { transform: scaleX(-1); }
.typing-practice-result .typing-result-body { grid-template-columns: 208px minmax(0, 1fr); }
.typing-practice-result .typing-result-summary { align-content: start; padding-top: 20px; }
.typing-practice-result .typing-result-metrics { display: grid; justify-content: stretch; gap: 18px; width: min(100%, 184px); }
.typing-practice-result .typing-result-metrics > :first-child {
  display: grid;
  align-content: center;
  min-height: 133px;
  border: 4px solid #bfe4fc;
  border-radius: 8px;
  background: linear-gradient(140deg, #ffffff88 0 28px, transparent 28px 37px, #ffffff88 37px 59px, transparent 59px), #dceefa;
  color: var(--session-blue);
}
.typing-practice-result .typing-result-metrics > :first-child dd { font-weight: 700; }
.typing-practice-result .typing-result-metrics > :first-child strong { color: inherit; font-size: 48px; line-height: 1.25; }
.typing-practice-result .typing-keyboard { margin-top: 10px; }
.typing-key-legend { margin-top: 10px; font-size: 11px; }
.typing-key-legend, .typing-key-legend ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}
.typing-key-legend ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.typing-key-legend [data-legend] { display: flex; align-items: center; gap: 4px; }
.typing-key-legend [data-legend]::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border: 1px solid #949ba1;
  border-radius: 3px;
}
.typing-key-legend [data-legend="mid"]::before { background: #fbd7da; border-color: #ee9aa3; }
.typing-key-legend [data-legend="low"]::before { background: #d62736; border-color: #bc1725; }
.typing-key-legend [data-legend="few"]::before { background: #f0f0f0; border-color: #d9dcdf; }
.typing-practice-weak, .typing-practice-mastered { margin-top: 8px; font-size: 13px; font-weight: 700; }
.typing-practice-save-error { margin-top: 8px; }
.typing-practice-save-error p { color: #9c1717; }
.typing-practice-save-error button { margin-top: 4px; }

@media (max-width: 570px) {
  .typing-practice-session .typing-session-card { padding-inline: 8px; }
  .typing-practice-session .typing-session-stage-content { min-height: 185px; padding-top: 18px; }
  .typing-practice-session .typing-prompt { min-height: 0; padding-top: 27px; }
  .typing-practice-session .typing-prompt-keys { margin-bottom: 70px; }
  .typing-practice-result .typing-result-body { grid-template-columns: minmax(0, 1fr); }
  .typing-practice-result .typing-result-summary { padding-top: 0; }
  .typing-practice-result .typing-result-metrics { grid-template-columns: auto 1fr; align-items: center; }
  .typing-practice-result .typing-result-metrics > :first-child { min-height: 84px; padding-inline: 8px; }
  .typing-practice-result .typing-result-metrics > :first-child strong { font-size: 32px; }
}

@media (min-width: 571px) {
  .typing-practice-session[data-group-id] .typing-prompt[data-wraps="true"]:has(h2[data-phrases]) {
    padding-top: 34px;
  }
}

.typing-keyboard {
  --key-fill: #fcfcfc;
  --key-border: #ccced1;
  --key-ink: #62686f;
  --key-nail: #eceeef;
  padding: 20px min(4vw, 28px) 0;
  border-radius: 8px;
  background: #f7f7f8;
}

.typing-keyboard-diagram {
  container-type: inline-size;
  width: min(100%, 542px);
  margin-inline: auto;
}

.typing-keyboard-rows {
  display: grid;
  gap: .92cqw;
}

.typing-keyboard-row {
  display: flex;
  justify-content: center;
  gap: .92cqw;
}

.typing-keyboard-key,
.typing-keyboard-finger,
.typing-keyboard-thumb {
  box-sizing: border-box;
  position: relative;
  border: 1px solid var(--key-border);
  background: var(--key-fill);
  color: var(--key-ink);
  font-size: max(8px, 2.4cqw);
  line-height: 1;
  font-weight: 600;
}

.typing-keyboard-key {
  display: grid;
  place-items: center;
  width: 6.46cqw;
  height: 5.17cqw;
  border-radius: .93cqw;
}

.typing-keyboard-key[data-key=" "] { width: 28cqw; }

.typing-keyboard-key[data-bump]::after {
  content: "";
  position: absolute;
  bottom: 12%;
  width: 34%;
  height: max(1px, .37cqw);
  border-radius: 8px;
  background: currentColor;
}

.typing-keyboard [data-state="resting"] {
  --key-fill: #ebf4ff;
  --key-border: #94c6ff;
  --key-ink: #005fcc;
  --key-nail: #dcecff;
}

.typing-keyboard [data-state="target"] {
  --key-fill: #005fcc;
  --key-border: #005fcc;
  --key-ink: #fff;
  --key-nail: #56a8ff;
  box-shadow: 0 0 6px #1986ff55;
}

.typing-keyboard-hands {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  width: min(96cqw, 416px);
  height: clamp(32px, 12.7cqw, 55px);
  margin: min(3.2cqw, 14px) auto 0;
  padding-inline: 1cqw;
  container-type: inline-size;
}

.typing-keyboard-hand {
  display: flex;
  align-items: start;
  gap: .85cqw;
}

.typing-keyboard-finger,
.typing-keyboard-thumb {
  --nail-top: .55cqw;
  --nail-height: 4.75cqw;
  display: flex;
  align-items: start;
  justify-content: center;
  width: 7.15cqw;
  height: 17cqw;
  border-width: max(1px, .27cqw);
  border-radius: 3.6cqw 3.6cqw 1cqw 1cqw;
}

.typing-keyboard-finger {
  --finger-offset: 0cqw;
  margin-top: var(--finger-offset);
}

.typing-keyboard-finger::before,
.typing-keyboard-thumb::before {
  content: "";
  position: absolute;
  top: var(--nail-top);
  width: 62%;
  height: var(--nail-height);
  border-radius: 2cqw 2cqw 1cqw 1cqw;
  background: var(--key-nail);
}

.typing-keyboard-finger-label {
  position: absolute;
  top: max(calc(var(--nail-top) + var(--nail-height) + 1.2cqw), calc(8.4cqw - var(--finger-offset)));
  z-index: 1;
}

.typing-keyboard-hand[data-side="left"] .typing-keyboard-finger:first-child,
.typing-keyboard-hand[data-side="right"] .typing-keyboard-finger:nth-child(4) {
  --finger-offset: 4.4cqw;
  --nail-height: 3.3cqw;
  width: 6.4cqw;
}
.typing-keyboard-hand[data-side="left"] .typing-keyboard-finger:first-child {
  transform: rotate(-4deg);
}
.typing-keyboard-hand[data-side="right"] .typing-keyboard-finger:nth-child(4) {
  transform: rotate(4deg);
}

.typing-keyboard-hand[data-side="left"] .typing-keyboard-finger:nth-child(even),
.typing-keyboard-hand[data-side="right"] .typing-keyboard-finger:nth-child(odd) { --finger-offset: 1cqw; }

.typing-keyboard-thumb {
  width: 8cqw;
  margin: 6.8cqw 1.7cqw 0;
  transform: rotate(17deg);
}

.typing-keyboard-hand[data-side="right"] .typing-keyboard-thumb {
  order: -1;
  transform: rotate(-17deg);
}

.typing-keyboard[data-result] {
  padding: 0;
  background: transparent;
}
.typing-keyboard[data-result] .typing-keyboard-diagram { width: min(100%, 456px); }
.typing-keyboard[data-result] .typing-keyboard-key {
  height: 6.46cqw;
  font-size: max(9px, 2.2cqw);
}
.typing-keyboard-key[data-sample="unseen"],
.typing-keyboard-key[data-sample="few"] {
  --key-fill: #f0f0f0;
  --key-border: #d9dcdf;
  --key-ink: #62686f;
}
.typing-keyboard-key[data-band="low"] {
  --key-fill: #d62736;
  --key-border: #bc1725;
  --key-ink: #fff;
}
.typing-keyboard-key[data-band="mid"] {
  --key-fill: #fbd7da;
  --key-border: #ee9aa3;
  --key-ink: #31353a;
}
.typing-keyboard-key[data-band="high"] {
  --key-fill: #fff;
  --key-border: #949ba1;
  --key-ink: #31353a;
}

.profile{background-color:hsla(0,0%,100%,.7);border-radius:8px;box-shadow:0 0 22px 0 rgba(0,0,0,.2);margin:auto;margin-top:50px;padding:20px 0 32px;width:700px}.profile-title-block{margin-top:15px}.profile-title-text{color:#333;text-align:center}.profile-title-text-sub{color:#0f144b;font-size:14px;text-align:center}.profile-input-block{margin-left:auto;margin-right:auto;margin-top:24px;width:660px}.profile-input-element{align-items:center;display:flex}div.profile-input-text-field{margin:16px auto}div.profile-input-text-field input{align-items:center;width:200px}.profile-input-label{color:#333;flex-basis:170px;font-size:16px;font-weight:500;line-height:24px;padding-right:15px;text-align:left}p.profile-input-message{color:red;font-size:10px;text-align:center}button.profile-button-block{height:50px;margin:40px auto}.profile-link-block{color:#1f51f7;margin:16px auto;text-align:center}.profile-link-content{font-size:16px}div.avatar-select{margin-top:40px}div.avatar-select img{max-width:150px}div.avatar-select label.avatar{position:relative}div.avatar-select label.avatar img{z-index:1}div.avatar-select label.avatar span{display:block;height:100%;position:absolute;width:100%;z-index:2}.avator_change{background:#24b8a1;border:none;border-radius:5px;color:#fff;padding:5px;padding:3px 16px;text-align:center}.avatar-select{margin-bottom:20px}.avatar-select .avatar_box{padding:4px}.avatar-select input{display:none}.avatar-select label{background:#fff;border:solid 1px #a3a3a3;border-radius:5px;display:inline-block;margin:0;transition:.2s}.avatar-select input[type=radio]:checked+label{background-color:#8fbfff;border:solid 4px #ffd600}.avatar-select img{width:100%}
.password{background-color:hsla(0,0%,100%,.7);border-radius:8px;box-shadow:0 0 22px 0 rgba(0,0,0,.2);margin:auto;margin-top:50px;padding:20px 0 32px;width:500px}.password-title-block{margin-top:15px}h2.password-title-text{color:#333;text-align:center}h3.password-title-text-sub{margin-bottom:15px;margin-top:15px;text-align:center}h3.password-title-text-caution{color:#0f144b;font-size:14px;margin-left:50px;text-align:left}div.password-input-block{margin-left:auto;margin-right:auto;margin-top:24px;width:460px}div.password-input-element{align-items:center;display:flex}div.password-input-text-field{margin:16px auto}div.password-input-text-field input{align-items:center;width:200px}.password-input-label{color:#333;flex-basis:170px;font-size:16px;font-weight:500;line-height:24px;padding-right:15px;text-align:left}p.password-input-message{color:red;font-size:10px;text-align:center}button.password-button-block{height:50px;margin:40px auto}.password-link-block{color:#1f51f7;margin:16px auto;text-align:center}.password-link-content{font-size:16px}
.demo-account{background-color:hsla(0,0%,100%,.7);border-radius:8px;box-shadow:0 0 22px 0 rgba(0,0,0,.2);margin:auto;margin-top:50px;padding:20px 0 32px;width:500px}.demo-account-title-block{margin-top:15px}h2.demo-account-title-text{color:#333;text-align:center}h3.demo-account-title-text-sub{margin-bottom:15px;margin-top:15px;text-align:center}h3.demo-account-title-text-caution{color:#0f144b;font-size:14px;margin-left:50px;text-align:left}div.demo-account-input-block{margin-left:auto;margin-right:auto;margin-top:24px;width:460px}div.demo-account-input-element{align-items:center;display:flex}div.demo-account-input-text-field{margin:16px auto}div.demo-account-input-text-field input{align-items:center;width:200px}.demo-account-input-label{color:#333;flex-basis:170px;font-size:16px;font-weight:500;line-height:24px;padding-right:15px;text-align:left}p.demo-account-input-message{color:red;font-size:10px;text-align:center}button.demo-account-button-block{height:50px;margin:40px auto}.demo-account-link-block{color:#1f51f7;margin:16px auto;text-align:center}.demo-account-link-content{font-size:16px}
.evaluationModal{background:#fefefe;border:6px solid #0c497a;box-sizing:border-box;height:541px;margin-left:auto;margin-right:auto;margin-top:100px;text-align:center;width:938px}.evaluationModal h2{color:#000;font-family:Roboto,sans-serif;font-size:24px;font-style:normal;font-weight:bold;letter-spacing:.03em;line-height:28px;margin-top:80px}.evaluationModal .starRating{margin-top:70px;text-align:center}.evaluationModal .starRating .MuiSvgIcon-root{font-size:7rem}.evaluationModal p{color:#000;font-family:Roboto,sans-serif;font-size:18px;font-style:normal;font-weight:normal;letter-spacing:.03em;line-height:21px}.evaluationModal .action{margin-top:40px}.evaluationModal .action .completeButton{background:#0c497a;color:#fff;font-family:Roboto,sans-serif;font-size:24px;font-style:normal;font-weight:normal;height:72px;letter-spacing:.03em;line-height:28px;margin-left:auto;margin-right:auto;width:160px}.evaluationModal .action .completeButton.Mui-disabled{background:#f1f1f1}
