/* TypeRacer-style race UI — dark, minimal, overlay on passage */
:root {
  --bg: #07080c;
  --card: #0e1016;
  --card-inner: #12151c;
  --border: rgba(255, 255, 255, 0.06);
  --text: #f1f5f9;
  --muted: #64748b;
  --dim: #475569;
  --accent: #a78bfa;
  --accent-muted: rgba(139, 92, 246, 0.14);
  --current: #f8fafc;
  --rest: #475569;
  --ok: #4ade80;
  --err: #f87171;
  --warn: #fbbf24;
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
}

/* Vanta NET canvas — behind UI, no pointer capture */
.vanta-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

#app {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.page {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.shell {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

/* Typing phase: stats + race card need clear separation */
#phaseTyping {
  display: flex;
  flex-direction: column;
  gap: 1.65rem;
}

/* Hero — compact */
.hero {
  margin: 0;
}

.hero__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero .logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: contain;
  background: var(--card-inner);
  box-shadow: 0 0 0 1px var(--border);
}

.hero__eyebrow {
  margin: 0 0 0.15rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-text h1 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.35rem, 3.5vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-accent {
  color: var(--accent);
}

.brand-rest {
  color: var(--text);
  font-weight: 700;
}

.badge {
  margin: 0;
  font-size: 0.82rem;
  color: var(--dim);
}

.badge strong {
  color: var(--ok);
  font-weight: 600;
}

/* Stats */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

@media (max-width: 640px) {
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 0.85rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.stat-val {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.stat-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.stat-body {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

/* Race card — TypeRacer layout */
.race-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.race-card__inner {
  display: flex;
  flex-direction: column;
  min-height: 14rem;
}

.race-passage-block {
  position: relative;
  min-height: 10.5rem;
}

/* Overlay only on passage, not the input */
.race-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem;
  background: rgba(7, 8, 12, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.race-overlay[hidden] {
  display: none !important;
}

.race-overlay__inner {
  max-width: 26rem;
  text-align: center;
}

.race-overlay__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.race-overlay__title {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.race-overlay__body {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.55;
}

.race-overlay__body kbd {
  display: inline-block;
  padding: 0.1em 0.45em;
  font-family: var(--mono);
  font-size: 0.8em;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.race-overlay__fine {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Passage — fixed px metrics so committed vs current words don’t shift lines */
.race-passage {
  --race-fs: 16.32px;
  --race-lh: 32px;
  flex: 1;
  padding: 1.35rem 1.35rem 1.15rem;
  min-height: 10.5rem;
  font-family: var(--mono);
  font-size: var(--race-fs);
  font-weight: 400;
  line-height: var(--race-lh);
  color: var(--text);
}

.race-flow {
  display: block;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Locked text — no vertical padding (avoids line-height jump vs current word) */
.race-done-run {
  display: inline;
  font-size: inherit;
  font-weight: 400;
  padding: 0 3px;
  margin: 0;
  vertical-align: baseline;
  border-radius: 4px;
  color: #b4f5ce;
  background: rgba(34, 197, 94, 0.18);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.38);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Current word — no box; underline only */
.race-current {
  display: inline;
  position: relative;
  font-size: inherit;
  font-weight: 400;
  white-space: nowrap;
}

.race-word__inner {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
}

.race-current .race-word__inner::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.06em;
  height: 2px;
  width: calc(var(--u, 0) * 1%);
  max-width: 100%;
  background: linear-gradient(90deg, #a78bfa, #c4b5fd);
  border-radius: 2px;
  transition: width 0.06s ease-out;
  pointer-events: none;
}

/* Remaining passage — plain muted text, no chips */
.race-future-plain {
  color: #64748b;
  opacity: 0.88;
  font-weight: 400;
}

.rw-ch {
  display: inline;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  border-radius: 2px;
}

.rw-ch--ok {
  color: #86efac;
}

.rw-ch--todo {
  color: #94a3b8;
  opacity: 0.55;
}

.rw-ch--bad {
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.15);
}

.rw-ch--extra {
  color: #f87171;
  text-decoration: underline;
  text-decoration-style: wavy;
  text-underline-offset: 2px;
}

.race-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Input row — single line, visible */
.race-input-shell {
  padding: 0 1.25rem 1.35rem;
}

.word-input {
  width: 100%;
  padding: 0.9rem 1.1rem;
  font-family: var(--mono);
  font-size: 16.32px;
  font-weight: 400;
  color: var(--text);
  background: var(--card-inner);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.word-input::placeholder {
  color: var(--muted);
  font-size: 0.95rem;
}

.word-input:focus {
  border-color: rgba(167, 139, 250, 0.5);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.14);
}

.word-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.word-input--shake {
  animation: shake 0.35s ease;
  border-color: rgba(248, 113, 113, 0.6) !important;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-6px);
  }
  40% {
    transform: translateX(6px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(4px);
  }
}

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

/* Complete — default sheet content; overlay variant covers passage */
.complete-panel__sheet {
  width: 100%;
  max-width: 24rem;
  padding: 1.15rem 1.2rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
  animation: panelIn 0.28s ease;
}

.complete-panel--overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.35rem 1.25rem;
  margin: 0;
  background: rgba(5, 6, 10, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: none;
  border-radius: 0;
}

.complete-panel--overlay .complete-panel__sheet {
  max-width: 26.5rem;
  padding: 1.5rem 1.45rem 1.4rem;
  background: linear-gradient(165deg, #15171f 0%, #0c0d12 55%, #0a0b10 100%);
  border: 1px solid rgba(167, 139, 250, 0.22);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 28px 56px rgba(0, 0, 0, 0.65),
    0 0 80px rgba(124, 58, 237, 0.08);
}

.complete-panel--overlay .complete-panel__msg {
  margin: 0 0 1.35rem;
  padding: 1rem 1.05rem;
  text-align: center;
  font-size: 0.98rem;
  line-height: 1.5;
  border-radius: var(--radius-sm);
}

.complete-panel--overlay .action-row {
  gap: 0.8rem;
}

.complete-panel--overlay .panel-footer-hint {
  margin: 1rem 0 0;
  line-height: 1.45;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

.submit-btn--next {
  font-size: 0.82rem;
  line-height: 1.3;
  padding: 0.92rem 0.75rem;
  letter-spacing: -0.01em;
}

.complete-panel--overlay[hidden] {
  display: none !important;
}

/* After successful API submit — full card, no retake */
.session-submitted {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.1rem;
  background: rgba(4, 5, 10, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: panelIn 0.32s ease;
}

.session-submitted[hidden] {
  display: none !important;
}

.session-submitted__sheet {
  max-width: 22rem;
  width: 100%;
  text-align: center;
  padding: 1.35rem 1.35rem 1.4rem;
  background: var(--card-inner);
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: var(--radius);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55);
}

.session-submitted--warn .session-submitted__sheet {
  border-color: rgba(251, 191, 36, 0.35);
}

.session-submitted__kicker {
  margin: 0 0 0.45rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #86efac;
}

.session-submitted--warn .session-submitted__kicker {
  color: #fde68a;
}

.session-submitted__title {
  margin: 0 0 0.65rem;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.session-submitted__detail {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.session-submitted__fine {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--muted);
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.complete-panel__msg {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #e9d5ff;
  padding: 0.7rem 0.8rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: var(--radius-sm);
}

.complete-panel__msg--warn {
  color: #fde68a;
  background: rgba(251, 191, 36, 0.08);
  border-color: rgba(251, 191, 36, 0.25);
}

.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

@media (max-width: 480px) {
  .action-row {
    grid-template-columns: 1fr;
  }
}

.submit-btn {
  width: 100%;
  padding: 0.88rem 1rem;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f0718;
  background: linear-gradient(180deg, #c4b5fd 0%, #8b5cf6 55%, #7c3aed 100%);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 22px rgba(124, 58, 237, 0.35);
}

.submit-btn:hover:not(:disabled) {
  filter: brightness(1.05);
}

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

.btn-secondary {
  width: 100%;
  padding: 0.88rem 1rem;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  background: var(--card-inner);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn-secondary:hover:not(:disabled) {
  border-color: rgba(167, 139, 250, 0.35);
}

.panel-footer-hint {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.7rem;
  color: var(--muted);
}

.msg {
  margin-top: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}

.msg--err {
  color: #fecaca;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.2);
}

.msg--ok {
  color: #a7f3d0;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.18);
}

.loading-screen,
.err-screen {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.err-screen {
  color: #fecaca;
  max-width: 26rem;
}

.err-screen code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: var(--card);
  padding: 0.15em 0.35em;
  border-radius: 4px;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-bottom: 0.85rem;
  animation: pulse 1.1s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

/* Speed Q&A intro */
.speed-qa-intro {
  padding: 1.25rem 1.15rem 1.35rem;
  background: var(--card-inner);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.speed-qa-intro__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.speed-qa-intro__title {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.speed-qa-intro__body {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #94a3b8;
}

.speed-qa-intro__body strong {
  color: #e2e8f0;
}

.speed-qa-intro__start {
  max-width: 20rem;
}

/* Speed Q&A — section stays page width; intro matches typing column */
.of-chat-phase {
  margin: 0 auto 2rem;
}

/* Fake chat only: a bit wider than the typing column, but not full-viewport */
#speedQaChatWrap {
  width: min(46rem, calc(100vw - 2.5rem));
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
}

.of-chat-outer {
  width: 100%;
}

.of-chat {
  display: flex;
  flex-direction: column;
  background: #101010;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5);
  min-height: 0;
}

.of-chat__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1rem;
  background: linear-gradient(180deg, #1c1c1c 0%, #141414 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.of-chat__brand {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.of-chat__hint {
  font-size: 0.7rem;
  color: #8b8b8b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.of-chat__stream {
  /* Fixed height: messages scroll inside; outer box does not grow */
  height: min(34rem, 65vh);
  flex-shrink: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1.15rem 1rem 0.9rem;
  background: #0a0a0a;
  font-family: var(--font);
  font-size: 1rem;
}

.of-msg {
  display: flex;
  margin-bottom: 0.75rem;
}

.of-msg--fan {
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.55rem;
}

.of-msg__avatar {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0c0c0c;
  background: linear-gradient(145deg, #fde047 0%, #ca8a04 45%, #854d0e 100%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.of-msg__fanCol {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  flex: 1;
}

.of-msg__name {
  font-size: 0.72rem;
  font-weight: 600;
  color: #9ca3af;
  margin-bottom: 0.2rem;
  line-height: 1.2;
}

.of-msg--user {
  justify-content: flex-end;
}

.of-msg__bubble {
  max-width: 90%;
  padding: 0.55rem 0.8rem;
  border-radius: 16px;
  line-height: 1.45;
  word-wrap: break-word;
}

.of-msg--fan .of-msg__bubble {
  background: #252525;
  color: #ececec;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.of-msg--user .of-msg__bubble {
  background: linear-gradient(145deg, #0084ff 0%, #0066cc 100%);
  color: #fff;
}

.of-typing-wrap {
  margin-bottom: 0.65rem;
}

.of-typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.65rem 0.9rem;
  background: #252525;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.of-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #aaa;
  animation: ofDot 1.15s ease-in-out infinite;
}

.of-typing span:nth-child(2) {
  animation-delay: 0.18s;
}

.of-typing span:nth-child(3) {
  animation-delay: 0.36s;
}

@keyframes ofDot {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.45;
  }
  35% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

.of-chat__composer {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  background: #121212;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.of-chat__input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1a1a1a;
  color: #f1f5f9;
  font-size: 0.9rem;
  outline: none;
}

.of-chat__input:focus {
  border-color: rgba(0, 132, 255, 0.55);
}

.of-chat__input:disabled {
  opacity: 0.45;
}

.of-chat__send {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: none;
  background: #0084ff;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

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

.phase-all-done {
  max-width: 28rem;
  margin: 0 auto 2.5rem;
}

.phase-all-done__card {
  position: relative;
  padding: 2rem 1.75rem 1.85rem;
  text-align: center;
  background: linear-gradient(165deg, #13151d 0%, #0a0c11 55%, #08090e 100%);
  border: 1px solid rgba(74, 222, 128, 0.32);
  border-radius: var(--radius);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45),
    0 28px 64px rgba(0, 0, 0, 0.55),
    0 0 120px rgba(74, 222, 128, 0.07);
  overflow: hidden;
}

.phase-all-done__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    rgba(34, 197, 94, 0.15),
    rgba(74, 222, 128, 0.95),
    rgba(34, 197, 94, 0.15)
  );
}

.phase-all-done__icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: #bbf7d0;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.38);
  border-radius: 50%;
  line-height: 1;
}

.phase-all-done__title {
  margin: 0 0 0.85rem;
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #86efac;
}

.phase-all-done__body {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  font-size: 0.96rem;
  line-height: 1.6;
  color: #94a3b8;
}

.phase-all-done__btn {
  padding: 0.78rem 1.85rem;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 700;
  color: #052e16;
  background: linear-gradient(180deg, #86efac 0%, #4ade80 50%, #22c55e 100%);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 22px rgba(34, 197, 94, 0.28);
  transition: filter 0.15s ease;
}

.phase-all-done__btn:hover:not(:disabled) {
  filter: brightness(1.06);
}

.phase-all-done__btn:disabled {
  opacity: 0.85;
  cursor: default;
}

.phase-all-done__fine {
  margin: 1rem 0 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--muted);
}
