:root {
  --bg: #050505;
  --panel: rgba(17, 17, 17, 0.92);
  --panel-strong: rgba(12, 12, 12, 0.96);
  --panel-soft: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #f5f5f0;
  --muted: rgba(245, 245, 240, 0.62);
  --accent: #ff4b4b;
  --accent-soft: rgba(255, 75, 75, 0.14);
  --button-text: #050505;
  --ui: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
  --reader: "IBM Plex Mono", "SFMono-Regular", "Menlo", monospace;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100svh;
  background:
    radial-gradient(circle at 50% 52%, rgba(255, 75, 75, 0.08), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.03), transparent 46%),
    var(--bg);
  color: var(--text);
  font-family: var(--ui);
}

body.is-splash-active {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

.splash-page {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  padding: clamp(1.2rem, 4vw, 4.5rem);
  overflow: hidden;
}

body:not(.is-splash-active) .splash-page {
  display: none;
}

body.is-splash-active .reader-app {
  display: none;
}

.splash-copy {
  max-width: 48rem;
  animation: splashRise 620ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.splash-eyebrow,
.splash-lede {
  margin: 0;
}

.splash-eyebrow {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.splash-copy h1 {
  max-width: 12ch;
  margin: 0.72rem 0 1.15rem;
  color: var(--text);
  font-size: clamp(3.2rem, 9vw, 8.8rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.splash-lede {
  max-width: 40rem;
  color: rgba(245, 245, 240, 0.72);
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.45;
}

.splash-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.7rem;
}

.splash-enter,
.splash-link {
  min-height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
}

.splash-enter {
  min-width: 12rem;
  padding: 0.92rem 1.35rem;
  border: 1px solid transparent;
  background: var(--text);
  color: var(--button-text);
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}

.splash-enter:hover,
.splash-enter:focus-visible {
  background: #ffffff;
  outline: none;
  transform: translateY(-1px);
}

.splash-link {
  padding: 0.88rem 1rem;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.splash-link:hover,
.splash-link:focus-visible {
  border-color: rgba(255, 75, 75, 0.42);
  background: var(--accent-soft);
  color: var(--text);
  outline: none;
}

.splash-visual {
  position: relative;
  min-height: min(42rem, 72svh);
  display: grid;
  align-items: center;
  justify-items: center;
  isolation: isolate;
}

.splash-visual::before {
  content: "";
  position: absolute;
  inset: 4% 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.06) 50%, transparent 100%),
    radial-gradient(circle at 50% 50%, rgba(255, 75, 75, 0.22), transparent 48%);
  filter: blur(0.4px);
  opacity: 0.9;
  z-index: -2;
}

.splash-focus-line {
  position: absolute;
  inset: 10% auto 10% 50%;
  width: 1px;
  transform: translateX(-50%);
  background:
    linear-gradient(to bottom, transparent 0%, rgba(255, 75, 75, 0.1) 12%, rgba(255, 75, 75, 0.88) 50%, rgba(255, 75, 75, 0.1) 88%, transparent 100%);
  box-shadow: 0 0 36px rgba(255, 75, 75, 0.55);
}

.splash-word-stack {
  display: grid;
  gap: clamp(0.55rem, 2vh, 1.1rem);
  font-family: var(--reader);
  font-size: clamp(2rem, 6vw, 5.6rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-2deg);
  animation: splashFloat 5s ease-in-out infinite;
}

.splash-word-stack span {
  color: rgba(245, 245, 240, 0.22);
}

.splash-word-stack .is-current {
  color: var(--text);
  text-shadow: 0 0 22px rgba(255, 75, 75, 0.28);
}

@keyframes splashRise {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes splashFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-0.75rem) rotate(-2deg);
  }
}

@media (max-width: 780px) {
  body.is-splash-active {
    overflow: auto;
  }

  .splash-page {
    min-height: 100svh;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 1.25rem;
    padding:
      max(1rem, env(safe-area-inset-top))
      max(1rem, env(safe-area-inset-right))
      max(1rem, env(safe-area-inset-bottom))
      max(1rem, env(safe-area-inset-left));
  }

  .splash-copy {
    max-width: none;
  }

  .splash-copy h1 {
    max-width: 11ch;
    margin: 0.58rem 0 0.9rem;
    font-size: clamp(2.75rem, 15vw, 5.2rem);
  }

  .splash-lede {
    font-size: 1rem;
  }

  .splash-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
    margin-top: 1.25rem;
  }

  .splash-enter,
  .splash-link {
    width: 100%;
  }

  .splash-visual {
    min-height: clamp(7.5rem, 24svh, 13rem);
    align-items: end;
    justify-items: stretch;
  }

  .splash-visual::before {
    inset: 6% 0 14%;
  }

  .splash-focus-line {
    inset: auto 0 44% 0;
    width: auto;
    height: 1px;
    transform: none;
    background:
      linear-gradient(to right, transparent 0%, rgba(255, 75, 75, 0.12) 12%, rgba(255, 75, 75, 0.88) 50%, rgba(255, 75, 75, 0.12) 88%, transparent 100%);
  }

  .splash-word-stack {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.28rem;
    font-size: clamp(0.82rem, 4vw, 1.7rem);
    letter-spacing: 0;
    transform: none;
  }

  .splash-word-stack span {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reader-app {
  min-height: 100svh;
  height: 100svh;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: clamp(1rem, 2vw, 1.5rem);
  overflow: hidden;
  padding: clamp(1rem, 2.4vw, 1.75rem);
}

.control-bar,
.action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.control-bar,
.source-bar,
.text-map,
.action-bar,
.stage-footer {
  transition: opacity 260ms ease, transform 260ms ease, border-color 260ms ease, background-color 260ms ease;
}

.brand-block {
  display: grid;
  gap: 0.15rem;
}

.eyebrow,
.panel-label,
.panel-note,
.status,
.progress,
.progress-shortcuts,
.number-wrap span,
.source-note,
.map-count,
.map-empty,
.map-chunk {
  margin: 0;
}

.eyebrow,
.panel-label,
.number-wrap span,
.url-field span {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-block h1 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.45rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.software-back-link {
  width: max-content;
  max-width: 100%;
  margin-top: 0.38rem;
  padding: 0.42rem 0.62rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.software-back-link:hover,
.software-back-link:focus-visible {
  border-color: rgba(255, 75, 75, 0.42);
  background: var(--accent-soft);
  color: var(--text);
  outline: none;
}

.wpm-panel {
  min-width: min(42rem, 100%);
  display: grid;
  grid-template-columns: auto minmax(16rem, 30rem);
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: var(--panel);
  backdrop-filter: blur(14px);
}

.panel-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.wpm-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
}

.source-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem 1rem;
}

.url-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.8rem;
}

.url-field {
  display: grid;
  gap: 0.38rem;
}

.url-field input {
  width: 100%;
  min-height: 3.12rem;
  padding: 0.78rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: var(--panel);
  color: var(--text);
  outline: none;
}

.url-field input:focus {
  border-color: rgba(255, 75, 75, 0.44);
  box-shadow: 0 0 0 3px rgba(255, 75, 75, 0.16);
}

.source-action {
  min-width: 7.6rem;
  min-height: 3.12rem;
  border-radius: 0.95rem;
}

.source-action.is-loading {
  opacity: 0.72;
  cursor: progress;
}

.source-note {
  max-width: 24rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.workspace-grid {
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
  gap: clamp(1rem, 2vw, 1.35rem);
}

.range-wrap {
  display: block;
}

input[type="range"] {
  width: 100%;
  margin: 0;
  accent-color: var(--accent);
}

.number-wrap {
  display: inline-grid;
  gap: 0.38rem;
  justify-items: start;
}

.number-wrap input {
  width: 6.6rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-align: right;
}

.number-wrap input:focus,
input[type="range"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 75, 75, 0.18);
}

.reader-stage {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  min-height: 0;
  padding: 2rem 1rem 4.75rem;
  overflow: hidden;
}

.stage-guide {
  position: absolute;
  inset: 8% auto 8% 50%;
  width: 1px;
  transform: translateX(-50%);
  background:
    linear-gradient(to bottom, transparent 0%, rgba(255, 75, 75, 0.1) 12%, rgba(255, 75, 75, 0.58) 50%, rgba(255, 75, 75, 0.1) 88%, transparent 100%);
  pointer-events: none;
}

.word-rail {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1ch minmax(0, 1fr);
  align-items: center;
  justify-content: center;
  font-family: var(--reader);
  font-size: clamp(3.8rem, 12vw, 10rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-transform: none;
  user-select: none;
  text-rendering: geometricPrecision;
}

.word-left,
.word-anchor,
.word-right {
  white-space: pre;
  overflow: hidden;
}

.word-left {
  justify-self: end;
  text-align: right;
  color: var(--text);
}

.word-anchor {
  justify-self: center;
  color: var(--accent);
  text-shadow: 0 0 18px rgba(255, 75, 75, 0.35);
}

.word-right {
  justify-self: start;
  text-align: left;
  color: var(--text);
}

.stage-footer {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 0.85rem;
  padding: 0 0.5rem 0.1rem;
}

.status,
.progress {
  padding: 0.75rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel-soft);
  backdrop-filter: blur(12px);
}

.status {
  max-width: min(44rem, 78vw);
  color: var(--muted);
  font-size: 0.96rem;
}

.status strong {
  color: var(--text);
  font-weight: 600;
}

.status.is-error {
  border-color: rgba(255, 75, 75, 0.3);
  color: #ffb1b1;
}

.progress {
  color: var(--text);
  font-family: var(--reader);
  font-size: 0.92rem;
  justify-self: start;
}

.progress-wrap {
  display: grid;
  gap: 0.45rem;
}

.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.progress-shortcuts {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.01em;
}

.progress-track {
  position: relative;
  width: 100%;
  height: 0.75rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  touch-action: none;
}

.progress-track:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 75, 75, 0.18);
}

.progress-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255, 75, 75, 0.92), rgba(255, 117, 117, 1));
  box-shadow: 0 0 18px rgba(255, 75, 75, 0.32);
  transition: width 140ms linear;
}

.progress-track.is-seeking .progress-fill {
  transition: none;
}

.text-map {
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: var(--panel-strong);
  backdrop-filter: blur(14px);
}

.map-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.map-head h2 {
  margin: 0.22rem 0 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
}

.map-count {
  flex: 0 0 auto;
  padding: 0.38rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--reader);
  font-size: 0.72rem;
}

.map-window {
  min-height: 0;
  display: grid;
  grid-template-columns: 0.34rem minmax(0, 1fr);
  gap: 0.8rem;
}

.map-marker {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.map-marker-fill {
  position: absolute;
  inset: 0 0 auto;
  height: 0%;
  border-radius: inherit;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(255, 75, 75, 0.42);
  transition: height 140ms linear;
}

.map-body {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  display: grid;
  align-content: start;
  gap: 0.45rem;
  padding-right: 0.2rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 75, 75, 0.62) rgba(255, 255, 255, 0.08);
}

.map-empty,
.map-chunk {
  color: rgba(245, 245, 240, 0.48);
  font-size: 0.82rem;
  line-height: 1.35;
}

.map-chunk {
  padding: 0.58rem 0.65rem;
  border-left: 2px solid transparent;
  border-radius: 0.65rem;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.map-chunk:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.map-chunk.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text);
}

.action-bar {
  justify-content: center;
}

.action {
  min-width: 8rem;
  padding: 0.95rem 1.2rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.action:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.34);
}

.action:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.action-primary {
  border-color: transparent;
  background: var(--text);
  color: var(--button-text);
}

.action-primary:hover:not(:disabled) {
  border-color: transparent;
  background: #ffffff;
}

@media (max-width: 920px) {
  .control-bar,
  .action-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .wpm-panel {
    min-width: 0;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .wpm-controls,
  .source-bar,
  .url-form,
  .workspace-grid {
    grid-template-columns: 1fr;
  }

  .reader-app {
    height: auto;
    min-height: 100svh;
    overflow: visible;
  }

  .workspace-grid {
    overflow: visible;
  }

  .source-note {
    max-width: none;
  }

  .software-back-link {
    width: 100%;
    text-align: center;
  }

  .text-map {
    height: min(34rem, 44svh);
    min-height: 18rem;
  }

  .number-wrap {
    justify-items: stretch;
  }

  .number-wrap input {
    width: 100%;
    text-align: left;
  }

  .reader-stage {
    padding: 1.25rem 0.2rem 3.5rem;
    min-height: 22rem;
  }

  .stage-footer {
    padding: 0;
  }

  .status {
    max-width: none;
  }

  .progress-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .action {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .reader-app {
    padding: 0.85rem;
  }

  .word-rail {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) 1ch minmax(0, 1fr);
    font-size: clamp(2.9rem, 16vw, 6.2rem);
  }

  .stage-guide {
    inset: 12% auto 16% 50%;
    transform: translateX(-50%);
  }

  .status,
  .progress {
    border-radius: 1rem;
  }

  .progress-shortcuts {
    font-size: 0.8rem;
  }

  .source-action {
    width: 100%;
  }

  .map-head {
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .reader-app {
    gap: 0.78rem;
    padding:
      max(0.75rem, env(safe-area-inset-top))
      max(0.75rem, env(safe-area-inset-right))
      max(0.75rem, env(safe-area-inset-bottom))
      max(0.75rem, env(safe-area-inset-left));
  }

  .control-bar {
    gap: 0.72rem;
  }

  .brand-block h1 {
    font-size: 2rem;
  }

  .eyebrow,
  .panel-label,
  .number-wrap span,
  .url-field span {
    font-size: 0.66rem;
  }

  .wpm-panel {
    gap: 0.68rem;
    padding: 0.72rem;
    border-radius: 0.95rem;
  }

  .panel-note,
  .source-note,
  .progress-shortcuts {
    display: none;
  }

  .wpm-controls {
    grid-template-columns: minmax(0, 1fr) 5.2rem;
    gap: 0.62rem;
  }

  .number-wrap input {
    padding: 0.58rem 0.62rem;
  }

  .url-form {
    gap: 0.55rem;
  }

  .url-field input,
  .source-action {
    min-height: 2.82rem;
  }

  .workspace-grid {
    gap: 0.72rem;
  }

  .reader-stage {
    min-height: clamp(18rem, 42svh, 28rem);
    padding: 0.8rem 0 3rem;
  }

  .stage-footer {
    gap: 0.55rem;
  }

  .status,
  .progress {
    padding: 0.62rem 0.76rem;
    font-size: 0.82rem;
  }

  .progress-meta {
    gap: 0.4rem;
  }

  .progress-track {
    height: 0.9rem;
  }

  .text-map {
    height: min(18rem, 30svh);
    min-height: 10.5rem;
    padding: 0.75rem;
    border-radius: 0.95rem;
  }

  .map-window {
    gap: 0.62rem;
  }

  .map-chunk {
    padding: 0.5rem 0.58rem;
    font-size: 0.78rem;
  }

  .action-bar {
    position: sticky;
    z-index: 5;
    bottom: max(0.65rem, env(safe-area-inset-bottom));
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.45rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(5, 5, 5, 0.82);
    backdrop-filter: blur(16px);
  }

  .action {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding: 0.78rem 0.45rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 760px), (pointer: coarse) {
  body.is-reader-active.is-ui-hidden {
    overflow: hidden;
  }

  body.is-reader-active.is-ui-hidden .reader-app {
    height: 100svh;
    min-height: 100svh;
    grid-template-rows: 0 0 minmax(0, 1fr) 0;
    gap: 0;
    overflow: hidden;
    padding:
      max(0.85rem, env(safe-area-inset-top))
      max(0.85rem, env(safe-area-inset-right))
      max(0.85rem, env(safe-area-inset-bottom))
      max(0.85rem, env(safe-area-inset-left));
  }

  body.is-reader-active.is-ui-hidden .control-bar,
  body.is-reader-active.is-ui-hidden .source-bar,
  body.is-reader-active.is-ui-hidden .action-bar {
    max-height: 0;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-color: transparent;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-0.75rem);
  }

  body.is-reader-active.is-ui-hidden .action-bar {
    position: static;
    background: transparent;
  }

  body.is-reader-active.is-ui-hidden .workspace-grid {
    height: 100%;
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) 0;
    gap: 0;
    overflow: hidden;
  }

  body.is-reader-active.is-ui-hidden .text-map {
    height: 0;
    min-height: 0;
    max-height: 0;
    padding: 0;
    border-color: transparent;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(0.75rem);
  }

  body.is-reader-active.is-ui-hidden .reader-stage {
    height: 100%;
    min-height: 0;
    padding: 0;
  }

  body.is-reader-active.is-ui-hidden .stage-footer {
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.9rem);
  }

  body.is-reader-active.is-ui-hidden .word-rail {
    font-size: clamp(4.2rem, 23vw, 9rem);
  }

  body.is-reader-active.is-ui-hidden .stage-guide {
    inset: 16% auto 16% 50%;
    opacity: 0.72;
  }
}

@media (prefers-reduced-motion: reduce) {
  .control-bar,
  .source-bar,
  .text-map,
  .action-bar,
  .stage-footer,
  .progress-fill,
  .map-marker-fill,
  .action {
    transition-duration: 0.01ms;
  }

  .splash-copy,
  .splash-word-stack {
    animation: none;
  }
}
