/* Solo "guess the intro" mode (Songless-style). Self-contained: the palette is
   copied from the player shell so the page feels native without depending on
   style.css and its app-specific layout rules. */

:root {
  --solo-bg: #08070a;
  --solo-panel: #111015;
  --solo-panel-raised: #17151d;
  --solo-line: rgba(255, 255, 255, 0.075);
  --solo-line-strong: rgba(255, 255, 255, 0.13);
  --solo-text: #f4f0e8;
  --solo-muted: #918b82;
  --solo-dim: #5f5a55;
  --solo-gold: #e8cf68;
  --solo-gold-light: #f5e59a;
  --solo-violet: #8f63ff;
  --solo-green: #65d89b;
  --solo-danger: #ff6d7a;
  --solo-radius: 20px;
  --solo-ease: cubic-bezier(.2, .78, .2, 1);
}

/* Every rule is scoped to .solo-page / .solo-*, so this file can also be loaded
   by the main page just for the entry card without touching the app layout. */

.solo-page * { box-sizing: border-box; }

.solo-page [hidden] { display: none !important; }

body.solo-page {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1100px 520px at 50% -10%, rgba(143, 99, 255, .16), transparent 70%),
    var(--solo-bg);
  color: var(--solo-text);
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Entry card shown inside the game view of the main page. */
.solo-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid var(--solo-line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(232, 207, 104, .12), rgba(232, 207, 104, .03));
  color: var(--solo-text);
  text-decoration: none;
  font-weight: 600;
}

.solo-entry span { display: block; }
.solo-entry small { display: block; margin-top: 3px; color: var(--solo-muted); font-weight: 500; font-size: 12.5px; }
.solo-entry .solo-entry-arrow { color: var(--solo-gold); font-weight: 700; }

.solo-page .solo-shell {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 22px 18px 48px;
}

.solo-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }

.solo-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--solo-line);
  border-radius: 999px;
  color: var(--solo-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color .2s var(--solo-ease), border-color .2s var(--solo-ease);
}

.solo-back:hover { color: var(--solo-text); border-color: var(--solo-line-strong); }

.solo-title { margin: 0; font-size: 21px; letter-spacing: .2px; }
.solo-subtitle { margin: 2px 0 0; color: var(--solo-muted); font-size: 13px; }

.solo-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; min-height: 28px; }

.solo-chip {
  padding: 6px 12px;
  border: 1px solid var(--solo-line);
  border-radius: 999px;
  background: var(--solo-panel);
  font-size: 12.5px;
  color: var(--solo-muted);
}

.solo-chip:empty { display: none; }

.solo-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }

.solo-mode {
  padding: 12px 14px;
  border: 1px solid var(--solo-line);
  border-radius: 14px;
  background: var(--solo-panel);
  color: var(--solo-muted);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s var(--solo-ease);
}

.solo-mode[aria-pressed="true"] {
  border-color: rgba(232, 207, 104, .55);
  background: linear-gradient(180deg, rgba(232, 207, 104, .14), rgba(232, 207, 104, .04));
  color: var(--solo-text);
}

.solo-stage {
  padding: 22px 18px 20px;
  border: 1px solid var(--solo-line);
  border-radius: var(--solo-radius);
  background: linear-gradient(180deg, var(--solo-panel-raised), var(--solo-panel));
  box-shadow: 0 22px 70px rgba(0, 0, 0, .42);
  text-align: center;
}

.solo-play {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 128px;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: 50%;
  border: 1px solid rgba(232, 207, 104, .55);
  background: #08050f;
  box-shadow: 0 0 0 6px rgba(232, 207, 104, .04), 0 8px 28px rgba(0, 0, 0, .25);
  color: var(--solo-gold-light);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s var(--solo-ease), opacity .2s var(--solo-ease), box-shadow .2s var(--solo-ease), border-color .2s var(--solo-ease);
}
.solo-play-logo { position: absolute; width: 128px; height: 128px; max-width: none; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: -1; pointer-events: none; }
@media (hover: hover) { .solo-play:not(:disabled):hover { transform: translateY(-2px); border-color: var(--solo-gold-light); box-shadow: 0 0 0 8px rgba(232, 207, 104, .08), 0 8px 30px rgba(0, 0, 0, .3); } }
.solo-play:focus-visible { outline: 2px solid var(--solo-gold-light); outline-offset: 5px; }
.solo-play:active { transform: scale(.97); }
.solo-play[disabled] { opacity: .45; cursor: default; }
@media (prefers-reduced-motion: reduce) { .solo-play { animation: none !important; transition: none; } }

.solo-snippet { display: block; margin-top: 14px; font-size: 28px; font-weight: 700; letter-spacing: .4px; }
.solo-attempt { display: block; margin-top: 4px; color: var(--solo-muted); font-size: 13px; }

.solo-progress {
  margin: 16px 0 0;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  overflow: hidden;
}

.solo-progress > span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--solo-violet), var(--solo-gold));
  transition: width .25s var(--solo-ease);
}

.solo-form { display: flex; gap: 10px; margin-top: 18px; }

.solo-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--solo-line);
  border-radius: 14px;
  background: rgba(0, 0, 0, .35);
  color: var(--solo-text);
  font: inherit;
}

.solo-input:focus { outline: none; border-color: rgba(143, 99, 255, .6); }
.solo-input:disabled { opacity: .55; }

.solo-submit {
  padding: 13px 18px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--solo-gold-light), var(--solo-gold));
  color: #241d05;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.solo-submit[disabled] { opacity: .45; cursor: default; }

.solo-feedback { min-height: 20px; margin: 12px 0 0; color: var(--solo-danger); font-size: 13px; }

.solo-actions { margin-top: 16px; }

.solo-primary {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(232, 207, 104, .5);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(232, 207, 104, .16), rgba(232, 207, 104, .05));
  color: var(--solo-gold-light);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.solo-hint { margin: 8px 0 0; color: var(--solo-dim); font-size: 12.5px; text-align: center; }

.solo-result {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--solo-line-strong);
  border-radius: var(--solo-radius);
  background: var(--solo-panel);
  text-align: center;
}

.solo-result-title { margin: 0; font-size: 20px; }
.solo-result-text { margin: 6px 0 0; color: var(--solo-muted); font-size: 13.5px; }
.solo-answer { margin: 12px 0 0; font-size: 15px; font-weight: 600; color: var(--solo-gold-light); }

.solo-replay {
  margin-top: 14px;
  padding: 11px 16px;
  border: 1px solid var(--solo-line);
  border-radius: 14px;
  background: var(--solo-panel-raised);
  color: var(--solo-text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.solo-status { margin: 22px 0 0; color: var(--solo-dim); font-size: 12px; text-align: center; }

.solo-rules {
  margin: 10px 0 0;
  color: var(--solo-dim);
  font-size: 12px;
  text-align: center;
  line-height: 1.6;
}

@media (max-width: 420px) {
  .solo-play { width: 128px; height: 128px; }
  .solo-snippet { font-size: 24px; }
  .solo-modes { grid-template-columns: 1fr; }
}

/* Embedded mode uses the player's own surfaces and accent. */
.solo-embedded { --solo-bg: #08050F; --solo-panel: #100D18; --solo-panel-raised: #151220; --solo-line: #2A2535; --solo-text: #E8E4DE; --solo-muted: #8A8480; --solo-gold: #E6D15B; --solo-gold-light: #E6D15B; }
.solo-embedded .solo-shell { max-width: 640px; padding: 0 0 24px; }
.solo-embedded .solo-top { justify-content: center; text-align: center; margin-bottom: 10px; }
.solo-embedded .solo-title { font-size: clamp(28px, 5vw, 38px); letter-spacing: -1px; }
.solo-embedded .solo-subtitle { margin-top: 8px; line-height: 1.6; }
.solo-embedded .solo-chips { justify-content: center; min-height: 0; margin: 14px 0; }
.solo-embedded .solo-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.solo-embedded .solo-mode { border-radius: 12px; background: #151220; }
.solo-embedded .solo-mode[aria-pressed="true"] { color: #E6D15B; border-color: rgba(230,209,91,.35); background: rgba(230,209,91,.08); }
.solo-embedded .solo-stage { background: #100D18; box-shadow: none; border-radius: 20px; padding: 28px 24px 20px; }
.solo-embedded .solo-play { color: #E6D15B; }
.solo-embedded .solo-snippet { font-variant-numeric: tabular-nums; }
.solo-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 22px; }
.solo-steps span { padding: 8px 2px; border-radius: 8px; background: #1A1625; color: #8A8480; font-size: 12px; font-variant-numeric: tabular-nums; }
.solo-steps [data-state="current"] { color: #E6D15B; outline: 1px solid rgba(230,209,91,.5); background: rgba(230,209,91,.08); }
.solo-steps [data-state="done"] { background: #292331; color: #E8E4DE; }
.solo-embedded .solo-progress { display: none; }
.solo-embedded .solo-primary, .solo-embedded .solo-submit { background: #E6D15B; color: #08050F; border: 0; border-radius: 12px; }
.solo-skip { margin-top: 14px; min-height: 40px; padding: 8px 12px; border: 0; background: transparent; color: #8A8480; font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.solo-embedded button:disabled { opacity: .45; cursor: default; }
.solo-embedded button:focus-visible { outline: 2px solid #E6D15B; outline-offset: 4px; }
.solo-embedded .solo-input:focus { border-color: #E6D15B; box-shadow: 0 0 0 3px rgba(230,209,91,.1); }
.solo-embedded .solo-status { color: #8A8480; margin-top: 12px; }
.solo-embedded .solo-rules { color: #8A8480; }
@media (max-width: 420px) { .solo-embedded .solo-stage { padding: 22px 14px 16px; } .solo-embedded .solo-form { flex-wrap: wrap; } .solo-embedded .solo-input { flex-basis: 100%; font-size: 16px; } .solo-embedded .solo-submit { width: 100%; min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { .solo-embedded * { transition: none !important; } }

/* Keep the mode switch accessible on the quiz home screen. Matches retain their full-screen layout. */
#gameRoot.game-home-embedded { position: relative; inset: auto; height: auto; z-index: auto; overflow: visible; background: transparent; }
#gameRoot.game-home-embedded .jwq-shell { height: auto; min-height: 0; }
#gameRoot.game-home-embedded .jwq-header { border-radius: 16px; border: 1px solid #2A2535; background: #100D18; }
#gameRoot.game-home-embedded .jwq-main { overflow: visible; padding: 24px 0 40px; }
body[data-view="game"]:not(.game-match-active) .app-nav { position: relative; top: auto; bottom: auto; left: auto; transform: none; margin: 12px auto 6px; z-index: 100; }

.solo-embedded .solo-mode:disabled { opacity: .7; }

/* The Games landing page has two equal entries. No game opens until chosen. */
.game-hub[hidden], .game-hub-back[hidden] { display: none !important; }
.game-hub { max-width: 1040px; margin: 24px auto 48px; }
.game-hub-heading { margin-bottom: 32px; }
.game-hub-eyebrow { color: #E6D15B; font-size: 12px; font-weight: 800; letter-spacing: 2px; }
.game-hub-heading h1 { margin: 12px 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -1.5px; }
.game-hub-heading p { color: #A09A95; font-size: 15px; line-height: 1.6; max-width: 560px; }
.game-hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.game-hub-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: stretch; text-align: left; min-width: 0; padding: 28px; border: 1px solid #36303F; border-radius: 22px; background: linear-gradient(135deg, #252225 0%, #1A1724 70%); color: #E8E4DE; font: inherit; cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; }
.game-hub-card::after { content: ''; position: absolute; width: 170px; height: 170px; border: 1px solid rgba(230,209,91,.13); border-radius: 50%; top: -100px; right: -70px; pointer-events: none; }
.game-hub-card:hover { border-color: #B7A54C; transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.2); }
.game-hub-card:focus-visible, .game-hub-back:focus-visible { outline: 2px solid #E6D15B; outline-offset: 5px; }
.game-hub-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.game-hub-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(230,209,91,.3); border-radius: 14px; background: rgba(230,209,91,.07); color: #E6D15B; flex-shrink: 0; }
.game-hub-icon svg { width: 25px; height: 25px; }
.game-hub-label { color: #E6D15B; font-size: 12px; font-weight: 800; letter-spacing: 1.6px; }
.game-hub-slogan { display: block; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -.9px; font-weight: 800; margin-bottom: 16px; }
.game-hub-description { display: block; color: #B2ABA7; font-size: 14px; line-height: 1.65; flex: 1; }
.game-hub-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 26px; }
.game-hub-tags span { padding: 5px 9px; border: 1px solid #39343C; border-radius: 999px; color: #B2ABA7; background: rgba(0,0,0,.12); font-size: 11px; }
.game-hub-cta { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 13px 16px; border-radius: 12px; color: #08050F; background: #E6D15B; font-size: 14px; font-weight: 700; }
.game-hub-cta > span { font-size: 20px; }
.game-hub-back { display: block; margin: 0 0 20px; padding: 8px 0; min-height: 44px; border: 0; background: transparent; color: #A09A95; font: inherit; font-size: 14px; cursor: pointer; }
.game-hub-back:hover { color: #E6D15B; }
@media (max-width: 680px) { .game-hub { margin-top: 12px; } .game-hub-grid { grid-template-columns: 1fr; gap: 14px; } .game-hub-card { padding: 22px; } .game-hub-card-top { margin-bottom: 18px; } .game-hub-slogan { font-size: 28px; } .game-hub-heading { margin-bottom: 24px; } }
@media (prefers-reduced-motion: reduce) { .game-hub-card { transition: none; } .game-hub-card:hover { transform: none; } }

.solo-lobby { padding: 24px; border: 1px solid #2A2535; border-radius: 20px; background: #100D18; }
.solo-lobby-heading h2 { margin: 0 0 6px; font-size: 21px; }
.solo-lobby-heading p { margin: 0; color: #A09A95; font-size: 13px; line-height: 1.6; }
.solo-settings-row { display: grid; grid-template-columns: 1fr 110px; gap: 18px; margin: 24px 0; align-items: start; }
.solo-lobby fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.solo-lobby legend, .solo-round-setting { color: #E8E4DE; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.solo-position { display: flex; flex-wrap: wrap; gap: 8px; }
.solo-position label { position: relative; display: flex; align-items: center; gap: 8px; padding: 10px 12px; min-height: 44px; background: #151220; border: 1px solid #2A2535; border-radius: 12px; color: #A09A95; cursor: pointer; font-size: 13px; }
.solo-position label:has(input:checked) { color: #E6D15B; border-color: rgba(230,209,91,.45); background: rgba(230,209,91,.08); }
.solo-lobby input { accent-color: #E6D15B; }
.solo-round-setting { display: flex; flex-direction: column; gap: 10px; }
.solo-round-setting select { width: 100%; height: 44px; padding: 10px 12px; color: #E8E4DE; background: #151220; border: 1px solid #2A2535; border-radius: 12px; font: inherit; color-scheme: dark; }
.solo-category-choices { margin-top: 24px; }
.solo-lobby { --jwq-text: #f7f3ea; --jwq-muted: #aaa39a; --jwq-yellow: #e6d15b; --jwq-border: rgba(255,255,255,.11); }
.solo-lobby .jwq-categories legend span { display: block; margin: 5px 0 0; }
.solo-game-progress { margin: 18px 0 14px; color: #E6D15B; text-align: center; font-size: 14px; }
.solo-round-results { list-style: none; text-align: left; margin: 18px 0 10px; padding: 0; color: #B2ABA7; font-size: 13px; }
.solo-round-results li { padding: 10px 0; border-bottom: 1px solid #2A2535; overflow-wrap: anywhere; }
@media (max-width: 420px) { .solo-lobby { padding: 18px 14px; } .solo-settings-row { grid-template-columns: 1fr; } .solo-position label { flex: 1; } .solo-round-setting select { font-size: 16px; } }

.solo-suggestions { margin-top: 8px; max-height: 260px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #39313f; border-radius: 12px; background: #151220; text-align: left; }
.solo-suggestion { display: flex; flex-direction: column; gap: 5px; width: 100%; min-height: 58px; padding: 11px 14px; border: 0; border-bottom: 1px solid #2A2535; background: transparent; color: #E8E4DE; text-align: left; font: inherit; cursor: pointer; }
.solo-suggestion:last-child { border-bottom: 0; }
.solo-suggestion strong { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.solo-suggestion span { color: #A09A95; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.solo-suggestion:hover, .solo-suggestion[aria-selected="true"] { background: rgba(230,209,91,.09); color: #E6D15B; }
.solo-search-status { margin: 8px 0 0; color: #A09A95; font-size: 12px; line-height: 1.5; }

.solo-suggestion-alias { color: #E6D15B; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }

/* Keep the game frame and controls steady while feedback changes. */
.solo-embedded .solo-chips { min-height: 34px; }
.solo-arena { --solo-card-height: 480px; display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; border: 1px solid #2A2535; border-radius: 20px; background: #100D18; transition: border-color .3s, box-shadow .3s; }
.solo-embedded .solo-arena > .solo-stage, .solo-embedded .solo-arena > .solo-result { grid-area: 1 / 1; min-width: 0; min-height: var(--solo-card-height); margin: 0; border: 0; background: transparent; box-shadow: none; }
.solo-embedded .solo-arena > .solo-result { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 24px; }
.solo-arena[data-result="correct"] { border-color: rgba(101,216,155,.45); box-shadow: 0 0 38px rgba(101,216,155,.07); }
.solo-arena[data-result="wrong"] { border-color: rgba(232,207,104,.3); }
.solo-arena:has(.solo-stage:not([hidden])[data-feedback="wrong"]) { border-color: rgba(255,109,122,.45); }
.solo-stage[data-feedback="wrong"] .solo-input { border-color: rgba(255,109,122,.65); box-shadow: 0 0 0 3px rgba(255,109,122,.07); }
.solo-stage[data-feedback="hint"] .solo-feedback { color: var(--solo-gold-light); }
.solo-feedback { min-height: 38px; line-height: 1.45; }
.solo-input, .solo-steps span { transition: border-color .2s, background-color .25s, color .25s, box-shadow .2s; }
.solo-result-mark { width: 72px; height: 72px; margin-bottom: 22px; display: grid; place-items: center; border: 1px solid rgba(232,207,104,.3); border-radius: 50%; background: rgba(232,207,104,.06); color: var(--solo-gold-light); }
.solo-result-mark svg { width: 48px; height: 48px; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.solo-result[data-result="correct"] .solo-result-mark { color: var(--solo-green); border-color: rgba(101,216,155,.35); background: rgba(101,216,155,.07); }
.solo-result[data-result="correct"] .solo-result-title { color: var(--solo-green); }
.solo-result-title:focus { outline: none; }
.solo-result:not([data-result="correct"]) .solo-result-check, .solo-result[data-result="correct"] .solo-result-miss { display: none; }
.solo-result:not([hidden]) .solo-result-mark { animation: solo-mark-in .45s var(--solo-ease) both; }
.solo-result:not([hidden])[data-result="correct"] .solo-result-check { stroke-dasharray: 40; animation: solo-check-in .4s .12s var(--solo-ease) both; }
.solo-result .solo-answer { max-width: 100%; overflow-wrap: anywhere; line-height: 1.5; }
.solo-replay { min-width: 200px; min-height: 46px; }
.solo-result .solo-round-results { width: 100%; }
.solo-round-results li { animation: solo-row-in .3s var(--solo-ease) both; animation-delay: var(--row-delay, 0ms); }
.solo-submit { width: 132px; min-width: 132px; min-height: 50px; flex-shrink: 0; padding-left: 10px; padding-right: 10px; }
.solo-form { position: relative; flex-wrap: wrap; }
.solo-form .solo-input { min-height: 50px; }
.solo-search-popover { position: absolute; top: 58px; left: 0; right: 0; z-index: 10; border: 1px solid #39313f; border-radius: 12px; background: #151220; box-shadow: 0 14px 38px rgba(0,0,0,.4); animation: solo-row-in .16s var(--solo-ease); }
.solo-search-popover .solo-suggestions { margin: 0; border: 0; max-height: min(260px, 35dvh); }
.solo-search-popover .solo-search-status { margin: 0; padding: 10px 13px; font-size: 11px; }
.solo-search-popover .solo-suggestions:not([hidden]) + .solo-search-status { border-top: 1px solid #2A2535; }
.solo-embedded button[data-loading="true"] { opacity: .8; }
.solo-submit[data-loading="true"]::before, .solo-primary[data-loading="true"]::before, .solo-replay[data-loading="true"]::before { content: ''; display: inline-block; width: 11px; height: 11px; margin-right: 7px; vertical-align: -1px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: solo-spin .7s linear infinite; }
.solo-play[data-state="loading"]::after { content: ''; position: absolute; inset: 0; border: 2px solid transparent; border-top-color: var(--solo-gold-light); border-radius: 50%; animation: solo-spin .8s linear infinite; }
.solo-play[data-state="playing"] { border-color: var(--solo-gold-light); animation: solo-audio-glow .7s ease-in-out infinite alternate; }
@keyframes solo-mark-in { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: scale(1); } }
@keyframes solo-check-in { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }
@keyframes solo-row-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes solo-spin { to { transform: rotate(360deg); } }
@keyframes solo-audio-glow { from { box-shadow: 0 0 0 6px rgba(232,207,104,.04); } to { box-shadow: 0 0 0 9px rgba(232,207,104,.1); } }
@media (max-width: 420px) {
  .solo-embedded .solo-form { flex-wrap: nowrap; }
  .solo-embedded .solo-form .solo-input { flex-basis: 0; }
  .solo-embedded .solo-form .solo-submit { width: 132px; min-width: 132px; flex-shrink: 0; }
  .solo-embedded .solo-arena > .solo-result { padding: 28px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .solo-page *, .solo-page *::before, .solo-page *::after { animation: none !important; transition: none !important; }
}
