.vvs-app {
  max-width: 1040px;
  margin: auto;
  padding: 24px 0 56px;
  color: #f8fafc;
  font-family: var(--font-body, "DM Sans", sans-serif);
}
.vvs-app [hidden] { display: none !important; }
.vvs-back { color: #fdba74; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.vvs-shell {
  margin-top: 20px;
  padding: clamp(20px, 4vw, 42px);
  border: 1px solid rgba(249, 115, 22, .3);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(249, 115, 22, .14), rgba(167, 139, 250, .1), #0a0a14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
}
.vvs-eyebrow, .vvs-recap-eyebrow {
  margin: 0;
  color: #fdba74;
  font: 800 .72rem var(--font-display, Syne, sans-serif);
  letter-spacing: .14em;
}
.vvs-head h1 {
  margin: 8px 0;
  font: 800 clamp(1.75rem, 4vw, 2.25rem)/1.15 var(--font-display, Syne, sans-serif);
}
.vvs-head > p:last-child { max-width: 680px; margin: 0; color: rgba(255, 255, 255, .76); line-height: 1.55; }
.vvs-ready { max-width: 760px; margin-top: 26px; }
.vvs-rules {
  margin: 0 0 18px;
  padding: 16px 18px;
  border-left: 3px solid #fb923c;
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, .06);
  line-height: 1.55;
}
.vvs-modes { display: flex; gap: 12px; margin: 0; padding: 0; border: 0; }
.vvs-modes legend { width: 100%; margin-bottom: 10px; font: 800 .93rem var(--font-display, Syne, sans-serif); }
.vvs-mode {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  flex: 1;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  background: rgba(10, 10, 20, .5);
  cursor: pointer;
}
.vvs-mode:has(input:checked) { border-color: #fb923c; background: rgba(249, 115, 22, .13); }
.vvs-mode input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #fb923c; }
.vvs-mode strong { display: block; color: #fff; font: 800 .9rem var(--font-display, Syne, sans-serif); }
.vvs-mode small { display: block; margin-top: 4px; color: rgba(255, 255, 255, .73); line-height: 1.4; }
.vvs-hud { display: flex; flex-wrap: wrap; gap: 9px; margin: 26px 0 12px; }
.vvs-hud span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: #f8fafc;
  font: 800 .78rem var(--font-display, Syne, sans-serif);
  font-variant-numeric: tabular-nums;
}
.vvs-hud [data-pace-time] { border-color: rgba(251, 146, 60, .55); color: #fdba74; }
.vvs-hud [data-pace-time].is-urgent { background: rgba(251, 113, 133, .2); border-color: #fb7185; color: #ffe4e6; }
.vvs-instruction { margin: 0 0 18px; color: rgba(255, 255, 255, .75); line-height: 1.5; }
.vvs-songs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.vvs-song {
  min-width: 0;
  padding: 19px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  background: rgba(10, 10, 20, .5);
}
.vvs-song-number { color: #fdba74; font: 800 .65rem var(--font-display, Syne, sans-serif); letter-spacing: .13em; }
.vvs-song h2 { margin: 5px 0 0; color: #fff; font: 800 1.08rem/1.3 var(--font-display, Syne, sans-serif); overflow-wrap: anywhere; }
.vvs-artist { margin: 5px 0 15px; color: rgba(255, 255, 255, .72); font-size: .88rem; overflow-wrap: anywhere; }
.vvs-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0 0 16px; }
.vvs-stat { min-width: 0; padding: 8px 5px; border-radius: 9px; background: rgba(255, 255, 255, .07); text-align: center; }
.vvs-stat dt { color: rgba(255, 255, 255, .72); font-size: .69rem; }
.vvs-stat dd { margin: 3px 0 0; color: #fff; font: 800 .9rem var(--font-display, Syne, sans-serif); }
.vvs-slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.vvs-slot { min-width: 0; }
.vvs-slot.is-open { grid-column: 1 / -1; }
.vvs-app button.vvs-slot-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid rgba(251, 146, 60, .5);
  border-radius: 11px;
  background: #171322;
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.vvs-app button.vvs-slot-button:hover:not(:disabled), .vvs-app button.vvs-slot-button[aria-expanded="true"] { border-color: #fdba74; background: #252033; }
.vvs-slot.is-locked button.vvs-slot-button { border-color: #6ee7b7; background: rgba(16, 185, 129, .17); cursor: default; }
.vvs-slot.is-retry button.vvs-slot-button { border-color: #fbbf24; }
.vvs-slot-label { color: rgba(255, 255, 255, .7); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.vvs-slot-value { margin-top: 3px; color: #fff; font: 800 .85rem var(--font-display, Syne, sans-serif); overflow-wrap: anywhere; }
.vvs-slot-feedback { display: block; margin: 5px 2px 0; color: #fcd9af; font-size: .73rem; line-height: 1.35; }
.vvs-slot.is-locked .vvs-slot-feedback { color: #a7f3d0; }
.vvs-palette {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  grid-column: 1 / -1;
  margin-top: 7px;
  padding: 8px;
  border: 1px solid rgba(251, 146, 60, .32);
  border-radius: 11px;
  background: #201b2b;
}
.vvs-app button.vvs-choice {
  min-width: 0;
  min-height: 44px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font: 700 .76rem/1.25 var(--font-body, "DM Sans", sans-serif);
  cursor: pointer;
  overflow-wrap: anywhere;
}
.vvs-app button.vvs-choice:hover:not(:disabled) { border-color: #fdba74; background: rgba(249, 115, 22, .24); }
.vvs-app button.vvs-choice.is-selected { border-color: #fb923c; background: rgba(249, 115, 22, .28); }
.vvs-app button.vvs-choice:disabled { opacity: .42; cursor: not-allowed; }
.vvs-app button.vvs-clear { min-height: 44px; grid-column: 1 / -1; border: 0; background: transparent; color: #fdba74; text-decoration: underline; cursor: pointer; }
.vvs-status { min-height: 24px; margin: 20px 0 10px; color: rgba(255, 255, 255, .82); line-height: 1.5; }
.vvs-actions { margin-top: 10px; }
.vvs-app button.vvs-primary {
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, #ea580c, #8b5cf6);
  color: #fff;
  font: 800 .9rem var(--font-display, Syne, sans-serif);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(234, 88, 12, .22);
}
.vvs-app button.vvs-primary:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.vvs-app button:focus-visible, .vvs-back:focus-visible, .vvs-mode:focus-within { outline: 3px solid #fdba74; outline-offset: 3px; }
.vvs-recap { max-width: 790px; margin-top: 26px; }
.vvs-recap h2 { margin: 7px 0; color: #fff; font: 800 clamp(1.5rem, 4vw, 2.1rem) var(--font-display, Syne, sans-serif); }
.vvs-recap-copy { color: rgba(255, 255, 255, .75); }
.vvs-recap-round { margin-top: 17px; padding: 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; background: rgba(10, 10, 20, .5); }
.vvs-recap-round h3 { margin: 0 0 10px; color: #fdba74; font: 800 .98rem var(--font-display, Syne, sans-serif); }
.vvs-recap-song { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.vvs-recap-song strong { flex-basis: 100%; color: #fff; }
.vvs-recap-song .is-correct { color: #a7f3d0; }
.vvs-recap-song .is-missed { color: #fecdd3; }
@media (max-width: 700px) {
  .vvs-app { padding: 16px 0 40px; }
  .vvs-shell { padding: 22px 15px; border-radius: 18px; }
  .vvs-modes, .vvs-songs { display: grid; grid-template-columns: 1fr; }
  .vvs-hud [data-pace-time] { margin-left: 0; }
  .vvs-song { padding: 15px; }
  .vvs-stats { gap: 4px; }
  .vvs-app button.vvs-primary { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .vvs-app *, .vvs-app *::before, .vvs-app *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
.vvs-back, .vvs-back:hover, .vvs-back:focus { text-decoration: none !important; }
