:root {
  color-scheme: dark;
  --ink: #ded4e7;
  --muted: #a9aaa2;
  --faint: #747a74;
  --line: rgba(222, 227, 213, .16);
  --line-bright: rgba(226, 192, 125, .42);
  --paper: #101514;
  --paper-raised: #18201e;
  --paper-deep: #0c100f;
  --gold: #c084fc;
  --mint: #b478ff;
  --danger: #e18c79;
  --serif: 'Songti SC', STSong, 'Noto Serif CJK SC', serif;
  --mono: 'SFMono-Regular', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper-deep); }
body { min-height: 100vh; margin: 0; color: var(--ink); background: radial-gradient(circle at 78% 14%, rgba(178, 201, 150, .11), transparent 31rem), radial-gradient(circle at 9% 77%, rgba(215, 162, 90, .09), transparent 26rem), var(--paper); font-family: var(--serif); }
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.paper-noise { position: fixed; z-index: -1; inset: 0; opacity: .19; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E"); }
.app-shell { width: min(1180px, calc(100% - 40px)); min-height: 100vh; margin: 0 auto; display: flex; flex-direction: column; }
.site-header { min-height: 100px; padding: 24px 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 13px; }
.brand-sigil { width: 38px; height: 38px; border: 1px solid var(--line-bright); display: grid; place-items: center; color: var(--gold); font-family: var(--mono); font-size: 23px; transform: rotate(45deg); }
.brand-sigil::first-letter { transform: rotate(-45deg); }
.brand b { display: block; font-size: 18px; letter-spacing: .12em; line-height: 1; }
.brand small { display: block; margin-top: 7px; color: var(--faint); font: 10px/1 var(--mono); letter-spacing: .14em; }
.session-meta { color: var(--muted); font: 11px/1 var(--mono); letter-spacing: .08em; display: flex; align-items: center; gap: 8px; }
.session-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(166, 209, 186, .1); animation: breathe 2.4s ease-in-out infinite; }.session-dot.muted { background: #7f8177; box-shadow: none; }
.stage { flex: 1; display: grid; align-items: center; padding: 58px 0 45px; }
.hero-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(350px, .85fr); align-items: center; gap: clamp(42px, 8vw, 110px); }
.eyebrow { margin: 0 0 18px; color: var(--gold); font: 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }.eyebrow span { width: 18px; height: 1px; display: inline-block; vertical-align: middle; margin-right: 8px; background: currentColor; }
h1 { margin: 0; max-width: 760px; color: #e8dff0; font: 700 clamp(42px, 6.2vw, 76px)/1.15 var(--serif); letter-spacing: -.07em; }.hero-copy h1 span, .turn-banner h1 span, .handoff-stage h1 span { position: relative; color: var(--gold); }.hero-copy h1 span::after { content: ''; position: absolute; left: 0; right: -5px; bottom: 2px; height: 8px; opacity: .4; background: repeating-linear-gradient(90deg, var(--gold) 0 5px, transparent 5px 8px); }
.hero-summary { max-width: 510px; margin: 27px 0 0; color: var(--muted); font-size: 15px; line-height: 2; }
.formula-card { width: min(100%, 520px); min-height: 105px; padding: 16px 18px; margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: linear-gradient(115deg, rgba(232, 226, 211, .08), rgba(232, 226, 211, .015)); border: 1px solid var(--line); position: relative; }.formula-card::before { content: 'SIMILARITY INDEX'; position: absolute; top: -10px; left: 16px; padding: 0 7px; color: var(--faint); background: var(--paper); font: 9px/1 var(--mono); letter-spacing: .12em; }.formula-card div { flex: 1; text-align: center; }.formula-card div span { display: block; color: var(--gold); font: 500 26px/1 var(--mono); }.formula-card div small { display: block; margin-top: 8px; color: var(--faint); font-size: 11px; }.formula-card i { color: var(--faint); font: 300 18px/1 var(--mono); }.formula-card b { width: 43px; height: 43px; margin-left: 2px; border: 1px solid rgba(192,132,252,.5); display: grid; place-items: center; color: var(--gold); font: 500 13px/1 var(--mono); transform: rotate(45deg); }.formula-card b::first-letter { transform: rotate(-45deg); }
.brief-card { padding: clamp(22px, 3.1vw, 36px); position: relative; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(35, 47, 43, .9), rgba(16, 21, 20, .92)); box-shadow: 24px 26px 0 rgba(6, 8, 8, .14); }.brief-card::before { content: ''; position: absolute; width: 200px; height: 200px; right: -80px; top: -80px; border: 1px solid rgba(166, 209, 186, .16); border-radius: 50%; box-shadow: 0 0 0 25px rgba(166, 209, 186, .035), 0 0 0 53px rgba(166, 209, 186, .022); }
.brief-top, .setting-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.brief-top span { color: var(--ink); font: 600 14px/1 var(--serif); }.brief-top em { color: var(--mint); font: 10px/1 var(--mono); letter-spacing: .12em; font-style: normal; }.setting-block { position: relative; margin-top: 31px; }.setting-label { margin: 0 0 11px; color: var(--muted); font-size: 12px; }.setting-row output { color: var(--gold); font: 13px/1 var(--mono); }
.mode-switch { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }.mode-option { min-height: 73px; padding: 12px 13px; border: 0; background: transparent; text-align: left; cursor: pointer; transition: background .2s ease, color .2s ease; }.mode-option + .mode-option { border-left: 1px solid var(--line); }.mode-option b { display: block; font-size: 14px; font-weight: 600; }.mode-option small { display: block; margin-top: 5px; color: var(--faint); font-size: 10px; line-height: 1.45; }.mode-option.selected { color: var(--paper-deep); background: var(--gold); }.mode-option.selected small { color: rgba(16,21,20,.66); }
.range-input { width: 100%; height: 5px; margin: 8px 0 2px; appearance: none; border-radius: 10px; background: linear-gradient(90deg, var(--gold) 0 50%, rgba(232,226,211,.14) 50%); cursor: pointer; }.range-input::-webkit-slider-thumb { width: 17px; height: 17px; appearance: none; border: 3px solid var(--paper-raised); border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 1px rgba(192,132,252,.75); }.range-labels { display: flex; justify-content: space-between; color: var(--faint); font: 10px/1 var(--mono); }
.primary-button { width: 100%; min-height: 57px; margin-top: 34px; padding: 0 17px 0 21px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--gold); color: #151915; background: var(--gold); cursor: pointer; font: 600 15px/1 var(--serif); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }.primary-button i { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid rgba(16,21,20,.35); font: 16px/1 var(--mono); font-style: normal; }.primary-button:hover:not(:disabled) { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 rgba(192,132,252,.2); }.primary-button:disabled { cursor: not-allowed; opacity: .42; }.local-note { margin: 15px 0 0; color: var(--faint); font-size: 10px; line-height: 1.7; }
.protocol-strip { width: 100%; margin-top: 80px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.protocol-strip div { min-height: 86px; padding: 18px 24px 16px 0; display: flex; gap: 12px; align-items: flex-start; }.protocol-strip div + div { padding-left: 25px; border-left: 1px solid var(--line); }.protocol-strip span { color: var(--gold); font: 11px/1.4 var(--mono); }.protocol-strip p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }.protocol-strip b { display: block; color: var(--ink); font-weight: 600; }
.handoff-stage, .settlement { width: min(100%, 650px); margin: 0 auto; text-align: center; }.handoff-stage h1, .settlement h1 { font-size: clamp(42px, 6vw, 66px); }.handoff-stage > p:not(.eyebrow) { max-width: 400px; margin: 17px auto 0; color: var(--muted); font-size: 14px; line-height: 1.85; }.handoff-orb { width: 134px; height: 134px; margin: 22px auto 29px; border: 1px solid rgba(192,132,252,.48); border-radius: 50%; display: grid; place-items: center; position: relative; color: var(--gold); font: 47px/1 var(--mono); animation: rotateSlow 12s linear infinite; }.handoff-orb::after, .handoff-orb::before { content: ''; position: absolute; inset: 10px; border: 1px dashed rgba(166, 209, 186, .26); border-radius: 50%; }.handoff-orb::before { inset: -12px; border-color: rgba(192,132,252,.18); }.handoff-orb span { animation: rotateCounter 12s linear infinite; }.handoff-stats { margin: 39px auto 0; display: grid; grid-template-columns: 1fr 1fr; max-width: 425px; border: 1px solid var(--line); }.handoff-stat { min-height: 67px; padding: 14px; text-align: left; }.handoff-stat + .handoff-stat { border-left: 1px solid var(--line); }.handoff-stat small { display: block; color: var(--faint); font-size: 10px; }.handoff-stat b { display: block; margin-top: 6px; color: var(--muted); font: 500 12px/1 var(--mono); }.handoff-stat.current { background: rgba(192,132,252,.11); }.handoff-stat.current b { color: var(--gold); }.handoff-button { width: min(100%, 425px); margin: 20px auto 0; }.privacy-hint { display: block; margin-top: 14px; color: var(--faint); font-size: 10px; }
.play-layout { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, 355px); align-items: start; gap: clamp(26px, 5vw, 70px); }.turn-banner { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }.turn-banner h1 { font-size: clamp(37px, 4.8vw, 58px); }.attempt-meter { flex: none; padding: 11px 0 2px 21px; border-left: 1px solid var(--line); text-align: right; }.attempt-meter small { display: block; color: var(--faint); font-size: 10px; }.attempt-meter b { display: block; margin-top: 4px; color: var(--gold); font: 500 30px/1 var(--mono); }.attempt-meter em { color: var(--faint); font: 11px/1 var(--mono); font-style: normal; }.rule-line { margin-top: 28px; padding: 11px 0; display: flex; gap: 16px; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 10px; }.rule-line span { color: var(--gold); font-family: var(--mono); }.rule-line p { margin: 0; flex: 1; color: var(--muted); }.rule-line b { color: var(--mint); font: 10px/1 var(--mono); font-weight: 400; }
.search-panel { margin-top: 31px; }.search-panel > label { display: block; color: var(--muted); font-size: 12px; }.search-input-wrap { height: 57px; margin-top: 10px; display: flex; align-items: center; position: relative; border: 1px solid rgba(232,226,211,.29); background: rgba(7,10,9,.33); transition: border .2s ease; }.search-input-wrap:focus-within { border-color: var(--gold); }.search-input-wrap > span { padding: 0 13px 0 18px; color: var(--gold); font: 24px/1 var(--serif); }.search-input-wrap input { width: 100%; min-width: 0; height: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font: 500 15px/1 var(--serif); }.search-input-wrap input::placeholder { color: #737971; }.clear-query { width: 38px; height: 100%; flex: none; border: 0; color: var(--muted); background: transparent; cursor: pointer; font: 25px/1 var(--mono); }.search-panel > small { display: block; margin-top: 8px; color: var(--faint); font-size: 10px; }.suggestion-list { margin-top: 10px; border: 1px solid var(--line); background: rgba(12,16,15,.9); }.suggestion { width: 100%; min-height: 58px; padding: 7px 12px; border: 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 11px; text-align: left; background: transparent; cursor: pointer; transition: background .15s ease; }.suggestion:last-child { border-bottom: 0; }.suggestion:hover, .suggestion.picked { background: rgba(192,132,252,.1); }.suggestion > span:not(.item-mark) { flex: 1; min-width: 0; }.suggestion b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; }.suggestion small { display: block; margin-top: 3px; color: var(--faint); font-size: 10px; }.suggestion em { color: var(--muted); font: 10px/1 var(--mono); font-style: normal; }.no-result { padding: 16px; margin: 0; color: var(--faint); text-align: center; font-size: 11px; }
.item-mark { width: 64px; height: 64px; flex: none; border: 1px solid color-mix(in srgb, var(--item-accent) 62%, transparent); display: grid; place-items: center; color: var(--item-accent); background: linear-gradient(135deg, color-mix(in srgb, var(--item-accent) 16%, transparent), transparent 62%); font: 31px/1 var(--mono); position: relative; }.item-mark::after { content: ''; position: absolute; width: 4px; height: 4px; right: 4px; top: 4px; background: var(--item-accent); }.item-mark.compact { width: 35px; height: 35px; font-size: 19px; }.item-mark.compact::after { width: 3px; height: 3px; right: 3px; top: 3px; }
.selected-card { min-height: 93px; padding: 14px; margin-top: 16px; display: flex; align-items: center; gap: 13px; border: 1px solid rgba(192,132,252,.35); background: linear-gradient(90deg, rgba(192,132,252,.12), rgba(192,132,252,.015)); }.selected-card > div { flex: 1; min-width: 0; text-align: left; }.selected-card small { display: block; color: var(--gold); font: 10px/1 var(--mono); }.selected-card b { display: block; margin-top: 5px; font-size: 15px; }.selected-card p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }.text-button { border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 10px; text-decoration: underline; text-underline-offset: 4px; }.notice { padding: 10px 12px; margin: 14px 0 -10px; font-size: 12px; }.notice.error { color: var(--danger); border-left: 2px solid var(--danger); background: rgba(225,140,121,.08); }.notice.success { color: var(--mint); border-left: 2px solid var(--mint); background: rgba(166,209,186,.08); }.submit-button { margin-top: 27px; }.record-panel { min-height: 470px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(27,35,33,.65), rgba(16,21,20,.65)); }.record-heading { padding: 17px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }.record-heading span { color: var(--muted); font-size: 12px; }.record-heading b { color: var(--gold); font: 11px/1 var(--mono); }.empty-record { min-height: 260px; display: grid; place-content: center; text-align: center; color: var(--faint); }.empty-record span { color: rgba(192,132,252,.5); font: 39px/1 var(--serif); }.empty-record p { margin: 13px 0 0; font-size: 11px; line-height: 1.8; }.record-list { max-height: 440px; overflow-y: auto; }.guess-record { min-height: 75px; padding: 10px; display: grid; grid-template-columns: 21px 35px minmax(0, 1fr); gap: 9px; align-items: center; border-bottom: 1px solid var(--line); }.guess-record.exact { background: rgba(166,209,186,.11); }.record-index { color: var(--faint); font: 10px/1 var(--mono); }.record-name { min-width: 0; }.record-name b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }.record-name small { display: block; margin-top: 4px; color: var(--gold); font: 10px/1 var(--mono); }.feedback-tags { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 4px; }.feedback-tags span, .challenge-tag { padding: 3px 5px; color: var(--faint); border: 1px solid var(--line); font: 9px/1 var(--mono); }.feedback-tags .yes { color: var(--mint); border-color: rgba(166,209,186,.3); }.feedback-tags .no { color: var(--danger); border-color: rgba(225,140,121,.25); }.challenge-tag { grid-column: 2 / -1; justify-self: start; color: var(--muted); }.record-foot { padding: 15px 17px; border-top: 1px solid var(--line); }.record-foot span { color: var(--gold); font: 10px/1 var(--mono); }.record-foot p { margin: 5px 0 0; color: var(--faint); font-size: 10px; line-height: 1.7; }
.settlement { width: min(100%, 640px); }.settlement h1 { margin-top: 10px; }.settlement-reason { margin: 15px 0 30px; color: var(--muted); font-size: 14px; }.target-reveal { min-height: 145px; padding: 23px; position: relative; display: flex; align-items: center; gap: 18px; overflow: hidden; text-align: left; border: 1px solid rgba(192,132,252,.45); background: linear-gradient(120deg, rgba(192,132,252,.14), rgba(166,209,186,.06)); }.target-grid { position: absolute; inset: 0; opacity: .4; background-image: linear-gradient(rgba(192,132,252,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(192,132,252,.12) 1px, transparent 1px); background-size: 18px 18px; }.target-reveal > *:not(.target-grid) { position: relative; }.target-reveal small { display: block; color: var(--gold); font: 10px/1 var(--mono); }.target-reveal b { display: block; margin-top: 8px; font-size: 25px; }.target-reveal p { margin: 7px 0 0; color: var(--muted); font-size: 11px; }.result-table { margin-top: 14px; border: 1px solid var(--line); text-align: left; }.result-row { min-height: 57px; padding: 0 16px; display: grid; grid-template-columns: 1fr 70px 90px; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }.result-row:last-child { border: 0; }.result-row span { font-size: 13px; }.result-row b { color: var(--muted); font: 10px/1 var(--mono); }.result-row em { color: var(--faint); text-align: right; font: 10px/1 var(--mono); font-style: normal; }.result-row.winner { background: rgba(192,132,252,.1); }.result-row.winner b { color: var(--gold); }.replay-button { width: min(100%, 320px); margin: 24px auto 0; }
footer { padding: 18px 0 24px; color: var(--faint); border-top: 1px solid var(--line); font: 9px/1.6 var(--mono); letter-spacing: .05em; } footer span { color: var(--mint); }
.enter-up { animation: enterUp .55s cubic-bezier(.16,.8,.28,1) both; }.delay-1 { animation-delay: .09s; }.delay-2 { animation-delay: .16s; }
@keyframes enterUp { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: translateY(0); } } @keyframes breathe { 50% { opacity: .48; transform: scale(.82); } } @keyframes rotateSlow { to { transform: rotate(360deg); } } @keyframes rotateCounter { to { transform: rotate(-360deg); } }
@media (max-width: 760px) { .app-shell { width: min(100% - 28px, 520px); }.site-header { min-height: 83px; padding: 17px 0 14px; }.brand-sigil { width: 31px; height: 31px; font-size: 18px; }.brand b { font-size: 15px; }.brand small { font-size: 8px; }.session-meta { font-size: 9px; }.stage { padding: 38px 0 28px; }.hero-grid, .play-layout { grid-template-columns: 1fr; gap: 36px; }.hero-copy h1 { font-size: clamp(43px, 13vw, 62px); }.hero-summary { margin-top: 20px; font-size: 13px; line-height: 1.9; }.formula-card { margin-top: 28px; }.formula-card div span { font-size: 21px; }.formula-card div small { font-size: 9px; }.formula-card b { width: 35px; height: 35px; font-size: 10px; }.brief-card { padding: 23px; }.protocol-strip { margin-top: 50px; grid-template-columns: 1fr; }.protocol-strip div { min-height: 61px; padding: 13px 0; }.protocol-strip div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }.handoff-stage h1, .settlement h1 { font-size: clamp(42px, 12vw, 57px); }.handoff-orb { width: 112px; height: 112px; margin: 20px auto 25px; }.play-layout { gap: 17px; }.turn-banner h1 { font-size: 39px; }.turn-banner { align-items: flex-end; }.rule-line { align-items: flex-start; flex-wrap: wrap; gap: 6px 12px; }.rule-line p { width: calc(100% - 74px); flex: none; }.rule-line b { margin-left: auto; }.record-panel { min-height: auto; }.record-list { max-height: 300px; }.settlement-reason { font-size: 13px; }.target-reveal { padding: 17px; min-height: 124px; }.target-reveal b { font-size: 21px; }.result-row { grid-template-columns: 1fr 65px 80px; padding: 0 12px; }.result-row span { font-size: 12px; } }
@media (max-width: 380px) { .formula-card { gap: 7px; padding: 14px 9px; }.formula-card i { display: none; }.mode-option { padding: 10px; }.target-reveal { gap: 12px; }.target-reveal .item-mark { width: 50px; height: 50px; font-size: 25px; } }

/* Use the local item artwork; keep the old glyph as a missing-asset fallback. */
.item-mark { overflow: hidden; }
.item-mark img { width: 100%; height: 100%; display: block; object-fit: contain; position: relative; z-index: 1; }
.item-mark::after { z-index: 2; }
.item-mark .item-symbol { display: none; }
.item-mark.image-failed img { display: none; }
.item-mark.image-failed .item-symbol { display: block; }

/* Three players stay visible on the same screen; the amber card marks whose turn it is. */
.player-roster { margin-top: 15px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.player-card { min-width: 0; padding: 9px 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: rgba(0,0,0,.2); }
.player-card.active { border-color: rgba(192,132,252,.55); background: rgba(192,132,252,.1); }
.player-card.done { opacity: .7; }
.player-card-top, .player-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.player-card-top b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e4e4e7; font-size: 11px; }
.player-card-top span, .player-card-bottom small { color: #71717a; font: 9px/1.2 var(--mono); white-space: nowrap; }
.player-card.active .player-card-top span, .player-card.active .player-card-bottom small { color: #c084fc; }
.player-card-bottom { margin-top: 7px; }
.player-card-bottom em { color: #b478ff; font: 9px/1.2 var(--mono); font-style: normal; white-space: nowrap; }

/* Reference-inspired visual pass: compact mobile card, black glass, amber focus. */
body { background: radial-gradient(ellipse at 50% -10%, rgba(237, 180, 93, .1), transparent 38%), #050505; color: #e4e4e7; font-family: 'SF Pro Display', 'PingFang SC', 'Noto Sans CJK SC', sans-serif; }
.paper-noise { opacity: .08; }
.app-shell { width: min(100%, 720px); padding: 0 14px; }
.site-header { min-height: 78px; padding: 16px 0 13px; border-bottom: 1px solid rgba(255,255,255,.09); }
.brand { gap: 10px; }.brand-sigil { width: 33px; height: 33px; border-color: rgba(192,132,252,.65); color: #c084fc; font-size: 19px; }.brand b { font-size: 16px; letter-spacing: .03em; }.brand small { margin-top: 5px; color: #71717a; font-size: 8px; letter-spacing: .12em; }.session-meta { color: #a1a1aa; font-size: 9px; }.session-dot { width: 6px; height: 6px; background: #c084fc; box-shadow: 0 0 0 3px rgba(192,132,252,.1); }
.stage { display: block; padding: 32px 0 38px; }.enter-up { animation-duration: .35s; }
.setup-page { width: min(100%, 440px); margin: 0 auto; }.setup-heading { padding: 8px 4px 21px; text-align: left; }.setup-heading .eyebrow { margin-bottom: 13px; }.setup-heading h1 { max-width: none; color: #f4f4f5; font-size: clamp(28px, 8vw, 42px); line-height: 1.12; letter-spacing: -.04em; }.setup-heading > p:last-child { margin: 8px 0 0; color: #a1a1aa; font-size: 12px; }
.glass-card { border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: linear-gradient(145deg, rgba(16,9,28,.92), rgba(8,4,14,.96)); box-shadow: 0 16px 40px rgba(0,0,0,.3); }.setup-card { padding: 18px; }.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,.08); }.card-heading span { color: #e4e4e7; font-size: 14px; font-weight: 600; }.card-heading em { color: #71717a; font: 9px var(--mono); font-style: normal; }.setup-card .setting-block { margin-top: 18px; }.setting-label { color: #a1a1aa; font-size: 11px; }.mode-switch { border-color: rgba(255,255,255,.13); border-radius: 8px; overflow: hidden; background: rgba(0,0,0,.25); }.mode-option { min-height: 66px; padding: 10px 12px; }.mode-option + .mode-option { border-left-color: rgba(255,255,255,.1); }.mode-option b { font-size: 13px; }.mode-option small { color: #71717a; font-size: 9px; }.mode-option.selected { color: #121212; background: #c084fc; }.mode-option.selected small { color: rgba(18,18,18,.62); }.range-input { margin-top: 12px; background: linear-gradient(90deg, #c084fc 0 50%, rgba(255,255,255,.13) 50%); }.range-input::-webkit-slider-thumb { background: #c084fc; }.primary-button { min-height: 47px; margin-top: 21px; border: 1px solid #c084fc; border-radius: 8px; background: #c084fc; font-size: 13px; }.primary-button:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(192,132,252,.18); }.primary-button i { width: 22px; height: 22px; font-size: 14px; }.rules-details { margin-top: 15px; padding: 10px 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: rgba(0,0,0,.22); color: #a1a1aa; font-size: 10px; }.rules-details summary { color: #d4d4d8; cursor: pointer; font-weight: 500; }.rules-copy { margin-top: 8px; line-height: 1.7; }.rules-copy p { margin: 2px 0; }.setup-card .local-note { margin-top: 13px; }.setup-footnote { margin: 13px 0 0; color: #52525b; text-align: center; font: 9px var(--mono); }
.handoff-stage, .settlement { width: min(100%, 440px); padding: 25px 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: linear-gradient(145deg, rgba(16,9,28,.92), rgba(8,4,14,.96)); box-shadow: 0 16px 40px rgba(0,0,0,.3); }.handoff-stage .eyebrow, .settlement .eyebrow { text-align: left; }.handoff-stage h1, .settlement h1 { color: #f4f4f5; font-size: clamp(30px, 8vw, 42px); letter-spacing: -.04em; }.handoff-stage > p:not(.eyebrow) { color: #a1a1aa; font-size: 12px; }.handoff-orb { width: 96px; height: 96px; margin: 25px auto; border-color: rgba(192,132,252,.46); }.handoff-orb span { font-size: 34px; }.handoff-stats { margin-top: 28px; border-color: rgba(255,255,255,.1); border-radius: 8px; overflow: hidden; }.handoff-stat { min-height: 58px; padding: 12px; background: rgba(255,255,255,.02); }.handoff-stat.current { background: rgba(192,132,252,.1); }.handoff-stat b { font-size: 10px; }.handoff-button { width: 100%; margin-top: 16px; }.privacy-hint { color: #52525b; }
.play-layout { width: min(100%, 440px); margin: 0 auto; grid-template-columns: 1fr; gap: 13px; }.play-main { padding: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: linear-gradient(145deg, rgba(16,9,28,.92), rgba(8,4,14,.96)); box-shadow: 0 16px 40px rgba(0,0,0,.3); }.turn-banner h1 { color: #f4f4f5; font-size: clamp(29px, 8vw, 38px); letter-spacing: -.04em; }.attempt-meter { padding-left: 14px; border-left-color: rgba(255,255,255,.12); }.attempt-meter b { font-size: 24px; }.rule-line { margin-top: 20px; border-top-color: rgba(255,255,255,.1); border-bottom-color: rgba(255,255,255,.1); }.rule-line span { color: #c084fc; }.rule-line p { color: #a1a1aa; }.rule-line b { color: #b478ff; }.search-panel { margin-top: 21px; }.search-panel > label { color: #d4d4d8; font-size: 11px; }.search-input-wrap { height: 48px; margin-top: 8px; border-color: rgba(255,255,255,.17); border-radius: 8px; background: rgba(0,0,0,.35); }.search-input-wrap input { font-size: 13px; }.search-input-wrap > span { padding-left: 14px; color: #c084fc; font-size: 20px; }.search-panel > small { color: #71717a; font-size: 9px; }.suggestion-list { margin-top: 8px; border-color: rgba(255,255,255,.12); border-radius: 8px; overflow: hidden; }.suggestion { min-height: 52px; padding: 7px 10px; }.suggestion b { font-size: 12px; }.suggestion small { font-size: 9px; }.selected-card { min-height: 76px; margin-top: 12px; padding: 10px; border-color: rgba(192,132,252,.33); border-radius: 8px; }.selected-card b { font-size: 13px; }.selected-card p { font-size: 9px; }.submit-button { margin-top: 18px; }.record-panel { min-height: 0; border-color: rgba(255,255,255,.1); border-radius: 16px; background: linear-gradient(145deg, rgba(30,30,30,.76), rgba(10,10,10,.92)); }.record-heading { padding: 14px 16px; border-bottom-color: rgba(255,255,255,.1); }.record-heading span { font-size: 11px; }.record-heading b { font-size: 9px; }.empty-record { min-height: 170px; }.empty-record span { font-size: 28px; }.empty-record p { font-size: 10px; }.guess-record { min-height: 66px; border-bottom-color: rgba(255,255,255,.08); }.record-name b { font-size: 10px; }.record-name small { font-size: 9px; }.record-foot { padding: 12px 16px; border-top-color: rgba(255,255,255,.08); }.record-foot p { font-size: 9px; }
.settlement { text-align: left; }.settlement .eyebrow { margin-bottom: 12px; }.settlement-reason { margin: 10px 0 21px; color: #a1a1aa; font-size: 12px; }.target-reveal { min-height: 106px; padding: 15px; border-color: rgba(192,132,252,.38); border-radius: 10px; }.target-reveal b { font-size: 18px; }.target-reveal p { font-size: 10px; }.result-table { border-color: rgba(255,255,255,.1); border-radius: 8px; overflow: hidden; }.result-row { min-height: 48px; border-bottom-color: rgba(255,255,255,.08); }.result-row span { font-size: 11px; }.replay-button { width: 100%; }.settlement .local-note { color: #52525b; }
footer { padding: 14px 0 20px; border-top-color: rgba(255,255,255,.09); color: #52525b; text-align: center; font-size: 8px; }
