:root {
  color-scheme: dark;
  --bg: #020611;
  --panel: rgba(9, 18, 42, 0.64);
  --line: rgba(91, 131, 255, 0.32);
  --line-strong: rgba(94, 210, 255, 0.74);
  --text: #f5f8ff;
  --muted: #91a8cf;
  --blue: #61d7ff;
  --blue-deep: #4775ff;
  --orange: #ffb16f;
  --green: #54f0a2;
  --red: #ff6875;
  --radius: 8px;
  font-family: Inter, "Arial Narrow", "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  min-height: 100%;
  max-width: 100%;
  margin: 0;
}

body {
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
}

button,
input {
  font: inherit;
}

button,
a {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.typing-app {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 100vw;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 102px minmax(0, 1fr) 176px;
  padding: 0 32px 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 38% 44%, rgba(52, 156, 255, 0.24), transparent 25%),
    radial-gradient(circle at 72% 54%, rgba(255, 143, 84, 0.20), transparent 26%),
    linear-gradient(180deg, #02112c 0%, #030716 52%, #01030a 100%);
}

.typing-app::before,
.typing-app::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.typing-app::before {
  background:
    linear-gradient(120deg, transparent 0 58%, rgba(78, 135, 255, 0.10) 58.2% 58.45%, transparent 58.8%),
    radial-gradient(ellipse at 50% 100%, rgba(49, 94, 190, 0.72), transparent 42%),
    linear-gradient(rgba(105, 164, 255, 0.030) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 164, 255, 0.030) 1px, transparent 1px);
  background-size: auto, auto, 74px 74px, 74px 74px;
  mask-image: linear-gradient(180deg, #000 0%, #000 84%, transparent 100%);
}

.typing-app::after {
  z-index: -1;
  background:
    linear-gradient(154deg, transparent 0 10%, rgba(0, 132, 255, 0.30) 10.4% 19%, transparent 19.4%) left bottom / 34% 28% no-repeat,
    linear-gradient(18deg, transparent 0 18%, rgba(0, 99, 194, 0.26) 18.4% 30%, transparent 30.4%) left bottom / 48% 24% no-repeat,
    linear-gradient(150deg, transparent 0 20%, rgba(255, 109, 44, 0.30) 20.4% 33%, transparent 33.4%) right bottom / 44% 28% no-repeat,
    linear-gradient(19deg, transparent 0 17%, rgba(255, 149, 73, 0.24) 17.4% 32%, transparent 32.4%) right bottom / 36% 22% no-repeat,
    radial-gradient(ellipse at 50% 107%, rgba(16, 58, 129, 0.95), transparent 46%),
    radial-gradient(ellipse at 78% 95%, rgba(255, 111, 48, 0.38), transparent 28%),
    radial-gradient(ellipse at 18% 95%, rgba(0, 156, 255, 0.38), transparent 30%);
}

.typing-topbar {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid rgba(124, 169, 255, 0.22);
}

.answer-toast {
  position: fixed;
  z-index: 20;
  top: 112px;
  left: 50%;
  min-width: 150px;
  transform: translateX(-50%);
  border: 1px solid rgba(111, 201, 255, 0.52);
  border-radius: 8px;
  background: rgba(8, 18, 43, 0.90);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.42), 0 0 28px rgba(92, 184, 255, 0.34);
  color: #f7fbff;
  padding: 10px 18px 12px;
  text-align: center;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 780;
  letter-spacing: 0;
  animation: toastDrop 180ms ease-out;
}

.answer-word,
.answer-meaning {
  display: block;
}

.answer-meaning {
  margin-top: 4px;
  color: rgba(218, 231, 255, 0.70);
  font-size: 0.42em;
  font-weight: 640;
}

.lesson-id {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}

.dot {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(111, 241, 255, 0.95), rgba(0, 122, 255, 0.92)),
    linear-gradient(45deg, transparent 42%, rgba(255, 255, 255, 0.42) 43%, transparent 58%);
  box-shadow: 0 0 28px rgba(58, 177, 255, 0.88), inset 0 0 18px rgba(255, 255, 255, 0.18);
  transform: rotate(45deg);
}

.lesson-id strong,
.lesson-id small {
  display: block;
}

.lesson-id strong {
  color: #ffffff;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 820;
}

.lesson-id small {
  margin-top: 6px;
  color: #8db7ff;
  font-size: 15px;
}

.typing-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.typing-actions a,
.typing-actions button,
.complete-actions button,
.complete-actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(91, 131, 255, 0.46);
  border-radius: 7px;
  background: rgba(10, 22, 54, 0.66);
  color: #93baff;
  padding: 0 16px;
  box-shadow: inset 0 0 18px rgba(82, 134, 255, 0.08);
  font-weight: 760;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.typing-actions a:hover,
.typing-actions button:hover,
.complete-actions button:hover,
.complete-actions a:hover {
  transform: translateY(-2px);
  border-color: rgba(104, 181, 255, 0.82);
  background: rgba(17, 35, 79, 0.76);
  box-shadow: 0 0 24px rgba(69, 123, 255, 0.28), inset 0 0 22px rgba(82, 134, 255, 0.12);
}

.typing-stage {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 0 0;
}

.group-complete {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 18px;
}

.group-complete h1 {
  margin: 0;
  color: transparent;
  background: linear-gradient(180deg, #ffffff 0%, #99dfff 30%, #6c8aff 58%, #ffb16f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
  filter: drop-shadow(0 12px 0 rgba(12, 26, 84, 0.56)) drop-shadow(0 0 28px rgba(89, 147, 255, 0.48));
}

.group-complete p:not(.mode-label) {
  max-width: 700px;
  margin: 22px 0 0;
  color: rgba(222, 235, 255, 0.78);
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 1.55;
}

.complete-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.complete-actions button:first-child {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
}

.timer-pill {
  position: absolute;
  left: 34px;
  top: 132px;
  border: 1px solid rgba(95, 139, 255, 0.72);
  border-radius: 8px;
  background: rgba(8, 20, 52, 0.68);
  box-shadow: 0 0 28px rgba(71, 117, 255, 0.28), inset 0 0 16px rgba(88, 132, 255, 0.12);
  color: #8fdfff;
  padding: 10px 16px;
  font-size: clamp(24px, 2.1vw, 34px);
  font-weight: 820;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.mode-label {
  margin: 0 0 30px;
  color: #8fdfff;
  font-size: 18px;
  font-weight: 820;
  text-shadow: 0 0 18px rgba(82, 181, 255, 0.52);
}

.word-card {
  display: grid;
  gap: 7px;
  margin-bottom: 26px;
  min-width: 180px;
}

.word-card::before {
  content: "";
  width: 116px;
  height: 3px;
  justify-self: center;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.word-card span {
  color: #f4f7fb;
  font-size: 20px;
}

.word-card small {
  color: var(--muted);
  font-size: 14px;
}

.word-mode-card {
  min-width: min(420px, 86vw);
  margin-bottom: 22px;
  padding: 16px 22px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(17, 20, 27, 0.72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32), 0 0 34px rgba(71, 117, 255, 0.22);
}

.word-mode-card::before {
  width: 180px;
  margin-bottom: 6px;
}

.word-mode-card span {
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 1.05;
  font-weight: 780;
}

.word-mode-card small {
  margin-top: 8px;
  font-size: clamp(16px, 1.55vw, 24px);
}

.result-word,
.result-meaning {
  display: block;
}

.result-word {
  color: #f4f7fb;
  text-shadow: 0 0 26px rgba(71, 117, 255, 0.36);
}

.result-meaning {
  margin-top: 8px;
  color: rgba(213, 220, 235, 0.68);
  font-size: 0.36em;
  font-weight: 650;
}

.sentence-line {
  width: min(1480px, 100%);
  min-height: 270px;
  margin: 0;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(14px, 1.2vw, 24px) clamp(18px, 1.8vw, 36px);
  overflow-wrap: anywhere;
  color: transparent;
  font-family: "Avenir Next Condensed", "DIN Condensed", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(54px, 7vw, 126px);
  line-height: 1.05;
  font-stretch: condensed;
  font-weight: 900;
  letter-spacing: 0;
  filter: drop-shadow(0 12px 0 rgba(12, 26, 84, 0.52)) drop-shadow(0 0 28px rgba(89, 147, 255, 0.48));
}

.word-token {
  --token-accent: var(--blue);
  min-height: 1.18em;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.08em;
  color: rgba(244, 248, 255, 0.38);
  white-space: nowrap;
  transition: color 160ms ease, opacity 160ms ease, transform 160ms ease, filter 160ms ease;
}

.word-token:nth-child(4n + 1),
.word-token:nth-child(4n + 2) {
  --token-accent: var(--blue);
}

.word-token:nth-child(4n + 3),
.word-token:nth-child(4n + 4) {
  --token-accent: var(--orange);
}

.word-token.is-done {
  color: transparent;
  background: linear-gradient(180deg, #ffffff 0%, #9ee5ff 28%, #7aa4ff 60%, #ffbc86 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.word-token.is-revealed,
.word-token.is-auto {
  color: rgba(245, 248, 255, 0.92);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  filter: drop-shadow(0 0 18px rgba(130, 197, 255, 0.24));
}

.word-token.is-current {
  color: transparent;
  background: linear-gradient(180deg, #ffffff 0%, #d5eaff 30%, #ffbea0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  transform: translateY(-4px);
}

.word-token.is-wrong {
  animation: wordShake 180ms ease;
}

.word-token.is-hidden {
  opacity: 1;
}

.typed-letter,
.blank-letter {
  min-width: clamp(56px, 5.5vw, 112px);
  height: clamp(68px, 6.4vw, 124px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--token-accent);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    rgba(8, 20, 52, 0.52);
  color: #f9fcff;
  font-size: clamp(38px, 5vw, 86px);
  line-height: 1;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 880;
  text-shadow: 0 0 18px color-mix(in srgb, var(--token-accent) 60%, transparent);
  box-shadow:
    0 0 18px color-mix(in srgb, var(--token-accent) 56%, transparent),
    0 0 42px color-mix(in srgb, var(--token-accent) 28%, transparent),
    inset 0 0 24px color-mix(in srgb, var(--token-accent) 15%, transparent);
}

.typed-letter {
  animation: popLetter 160ms ease-out;
}

.blank-letter {
  color: transparent;
}

.word-token.is-current .blank-letter {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.02)),
    rgba(12, 25, 60, 0.68);
}

.word-token.is-wrong .typed-letter,
.word-token.is-wrong .blank-letter {
  --token-accent: var(--red);
}

.word-cloze-line {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(1180px, 100%);
  min-height: 156px;
}

.cloze-target {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.12em;
  min-width: 3.2em;
  min-height: 1.18em;
  margin: 0 0.14em;
  color: #f4f7fb;
  vertical-align: baseline;
}

.cloze-target.is-done {
  color: var(--blue);
  text-shadow: 0 0 18px rgba(71, 117, 255, 0.45);
}

.cloze-target.is-wrong {
  animation: wordShake 180ms ease;
}

.cloze-target.is-wrong .typed-letter {
  color: #ff9b9b;
  text-shadow: 0 0 22px rgba(255, 93, 93, 0.72);
}

.cloze-target.is-wrong .typed-letter,
.cloze-target.is-wrong .blank-letter {
  border-color: var(--red);
  box-shadow: 0 8px 20px -14px rgba(255, 93, 93, 0.95);
}

.sentence-line.is-review {
  width: min(1280px, 100%);
  min-height: 250px;
  gap: 18px 16px;
  align-items: flex-end;
  align-content: center;
  filter: none;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.25;
}

.review-token {
  --role-color: #7c879e;
  min-height: 2.25em;
  display: inline-grid;
  grid-template-rows: auto auto 4px auto;
  justify-items: center;
  gap: 3px;
  color: var(--role-color);
  transform: none;
  max-width: min(34vw, 360px);
}

.review-phonetic {
  min-height: 1.1em;
  color: rgba(207, 226, 255, 0.62);
  font-size: 0.34em;
  font-weight: 560;
  line-height: 1.1;
}

.review-word {
  color: var(--role-color);
  font-size: 0.9em;
  font-weight: 780;
  line-height: 1.05;
  overflow-wrap: anywhere;
  text-shadow: 0 0 18px color-mix(in srgb, var(--role-color) 36%, transparent);
}

.role-line {
  width: 100%;
  min-width: 1.2em;
  height: 4px;
  border-radius: 999px;
  background: var(--role-color);
  box-shadow: 0 0 18px color-mix(in srgb, var(--role-color) 38%, transparent);
}

.role-label {
  color: rgba(205, 220, 245, 0.66);
  font-size: 0.34em;
  font-weight: 650;
  line-height: 1.15;
}

.role-subject {
  --role-color: #4f9cff;
}

.role-predicate {
  --role-color: #ff6a6a;
}

.role-object {
  --role-color: #54f0a2;
}

.role-predicative {
  --role-color: #a889ff;
}

.role-adverbial {
  --role-color: #ffbd61;
}

.role-connector,
.role-modal,
.role-auxiliary,
.role-infinitive {
  --role-color: #f26cff;
}

.role-negation {
  --role-color: #ff8f56;
}

.word-help-row {
  min-height: clamp(58px, 7vw, 118px);
  max-width: min(1260px, 96vw);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.8vw, 24px);
  flex-wrap: wrap;
  margin: 16px 0 18px;
}

.chinese-line {
  min-height: 1.18em;
  max-width: min(1260px, 96vw);
  margin: 0;
  color: transparent;
  background: linear-gradient(90deg, #76e5ff 0%, #eef7ff 46%, #ffbd8a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(48px, 6.4vw, 112px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
  filter: drop-shadow(0 10px 0 rgba(8, 25, 69, 0.56)) drop-shadow(0 0 30px rgba(84, 185, 255, 0.46));
}

.word-card-button {
  min-height: 48px;
  border: 1px solid rgba(118, 229, 255, 0.38);
  border-radius: 999px;
  background: rgba(8, 20, 52, 0.68);
  color: #a7eaff;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 0 22px rgba(82, 181, 255, 0.22), inset 0 0 18px rgba(82, 181, 255, 0.08);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, opacity 160ms ease;
}

.word-card-button:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(118, 229, 255, 0.72);
  background: rgba(15, 37, 84, 0.82);
}

.word-card-button:disabled {
  opacity: 0.46;
  cursor: default;
}

.typing-input-wrap {
  position: fixed;
  left: -100vw;
  bottom: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.typing-input-wrap span {
  font-size: 12px;
  color: var(--muted);
}

.typing-input-wrap input {
  height: 54px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 0 14px;
}

.typing-feedback {
  min-height: 30px;
  margin-top: 10px;
  color: #9fb7e0;
  font-size: 15px;
}

.typing-feedback.is-good {
  color: var(--green);
}

.typing-feedback.is-bad {
  color: var(--red);
}

.typing-footer {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 14px;
  padding-bottom: 0;
}

.sentence-progress {
  width: min(900px, 74vw);
  height: 7px;
  overflow: hidden;
  border: 1px solid rgba(97, 138, 255, 0.32);
  border-radius: 999px;
  background: rgba(15, 26, 60, 0.66);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.28);
}

.sentence-progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4775ff, #61d7ff, #9affef);
  box-shadow: 0 0 18px rgba(97, 215, 255, 0.64);
  transition: width 180ms ease;
}

.key-hints {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #83a7df;
  font-size: 15px;
}

kbd {
  min-width: 34px;
  min-height: 30px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(91, 131, 255, 0.42);
  border-radius: 6px;
  background: rgba(10, 22, 54, 0.64);
  color: #9fd7ff;
  padding: 0 10px;
  font-family: inherit;
  font-size: 14px;
  box-shadow: inset 0 0 12px rgba(91, 131, 255, 0.10);
}

.stats-strip {
  width: min(860px, 86vw);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(91, 131, 255, 0.42);
  border-radius: 8px;
  background: rgba(9, 20, 52, 0.62);
  overflow: hidden;
  box-shadow: 0 0 30px rgba(59, 116, 255, 0.16), inset 0 0 18px rgba(82, 134, 255, 0.08);
}

.stats-strip div {
  padding: 13px 18px;
}

.stats-strip div + div {
  border-left: 1px solid rgba(91, 131, 255, 0.28);
}

.stats-strip strong,
.stats-strip small {
  display: block;
}

.stats-strip strong {
  color: #86e3ff;
  font-size: 27px;
  line-height: 1;
  font-weight: 860;
  font-variant-numeric: tabular-nums;
}

.stats-strip div:nth-child(3) strong {
  color: var(--orange);
}

.stats-strip small {
  margin-top: 6px;
  color: #83a7df;
  font-size: 13px;
}

@keyframes wordShake {
  0%,
  100% {
    transform: translateX(0) translateY(-4px);
  }

  35% {
    transform: translateX(-10px) translateY(-4px);
  }

  70% {
    transform: translateX(10px) translateY(-4px);
  }
}

@keyframes toastDrop {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes popLetter {
  from {
    opacity: 0.52;
    transform: translateY(8px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1040px) {
  .typing-app {
    grid-template-rows: auto minmax(520px, 1fr) auto;
    overflow-y: auto;
    padding: 0 20px 22px;
  }

  .typing-topbar {
    min-height: 96px;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .typing-actions {
    justify-content: flex-start;
  }

  .timer-pill {
    position: static;
    align-self: flex-start;
    margin-top: 18px;
  }

  .typing-stage {
    padding-top: 26px;
  }

  .sentence-line {
    min-height: 210px;
    font-size: clamp(42px, 9vw, 88px);
  }

  .chinese-line {
    font-size: clamp(40px, 9vw, 82px);
  }
}

@media (max-width: 760px) {
  .typing-app {
    min-height: 100dvh;
    grid-template-rows: auto minmax(420px, 1fr) auto;
    padding: 0 14px 18px;
  }

  .typing-actions {
    width: 100%;
  }

  .typing-actions a,
  .typing-actions button {
    min-height: 40px;
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    padding: 0 8px;
  }

  .answer-toast {
    top: 128px;
  }

  .sentence-line {
    min-height: 150px;
    max-width: calc(100vw - 28px);
    gap: 10px 12px;
    font-size: clamp(30px, 11vw, 58px);
  }

  .typed-letter,
  .blank-letter {
    min-width: clamp(42px, 13vw, 64px);
    height: clamp(50px, 15vw, 72px);
    border-width: 3px;
    border-radius: 10px;
    font-size: clamp(28px, 10vw, 46px);
  }

  .sentence-line.is-review {
    min-height: 240px;
    gap: 14px 10px;
  }

  .review-token {
    min-height: 2.55em;
    max-width: calc(100vw - 34px);
  }

  .chinese-line {
    margin-bottom: 16px;
    font-size: clamp(32px, 13vw, 60px);
  }

  .word-help-row {
    margin-bottom: 16px;
  }

  .typing-footer {
    padding-top: 10px;
  }

  .sentence-progress,
  .stats-strip {
    width: 100%;
  }

  .stats-strip {
    grid-template-columns: 1fr;
  }

  .stats-strip div + div {
    border-top: 1px solid rgba(91, 131, 255, 0.28);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
