/* YouInTen logo C: teal + peach. */
:root{
 --page:#ffffff;
 --surface:#ffffff;
 --ink:#0b3034;
 --muted:#496866;
 --teal:#007f79;
 --teal-hover:#00645f;
 --teal-mid:#a9d7cf;
 --peach:#ff9f6e;
 --peach-soft:#fff0e7;
 --peach-dark:#b64e1c;
 --line:#e4e7e6;
 --control-line:#789b95;
 --track:#e9eceb;
 --disabled:#e8ebea;
 --danger:#9b352b;
}
@font-face{font-family:system;src:local('Arial')}
*{box-sizing:border-box}
html{font-size:16px;color-scheme:light}
body{margin:0;background:var(--page);color:var(--ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;line-height:1.5}
button,input{font:inherit;color:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{cursor:default}
a{color:inherit}
button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
button{touch-action:manipulation}
button:disabled{opacity:.4}
h1,h2,h3,p{margin:0}
h1{overflow-wrap:anywhere;font-size:clamp(2.5rem,5.8vw,5.7rem);line-height:1.04;letter-spacing:-.065em;font-weight:770}
h2{font-size:2rem;line-height:1.15;letter-spacing:-.045em}
h3{font-size:1.125rem}
svg{width:1.25rem;height:1.25rem;stroke:currentColor;fill:none;stroke-width:1.8}
.topbar{max-width:1320px;margin:0 auto;padding:28px 44px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}
.wordmark{display:block;position:relative;flex-shrink:0;width:232px;aspect-ratio:1508/387;overflow:hidden;text-decoration:none}
.brand-logo{position:absolute;display:block;width:117.639257%;max-width:none;height:auto;left:-9.018568%;top:-64.082687%;mix-blend-mode:multiply}
nav{display:flex;align-items:center;gap:25px}
.text-btn,footer button{background:none;border:0;padding:8px 0;font-size:.875rem;font-weight:600}
.help-btn{width:34px;height:34px;border:1px solid var(--control-line);border-radius:50%;background:none;font-weight:700}
main{max-width:1320px;margin:auto;min-height:74vh;padding:54px 44px 60px;outline:none}
.workspace{display:grid;grid-template-columns:1fr 1.1fr;gap:70px;align-items:start}
.intro{padding-top:15px}
.eyebrow{display:flex;align-items:center;gap:9px;font-size:.75rem;letter-spacing:.11em;font-weight:700;text-transform:uppercase;margin-bottom:26px}
.eyebrow .pill{border:1px solid var(--control-line);border-radius:40px;padding:5px 10px;font-size:.6875rem}
.intro h1{max-width:530px}
.intro .lede{font-size:1.125rem;line-height:1.65;color:var(--muted);max-width:350px;margin:26px 0}
.steps{list-style:none;padding:0;margin:42px 0 0;display:grid;gap:20px}
.steps li{display:flex;gap:14px;align-items:flex-start;font-size:.9375rem}
.step-num{background:var(--track);border-radius:50%;width:26px;height:26px;flex:0 0 26px;text-align:center;line-height:26px;font-size:.75rem;font-weight:700}
.steps small{display:block;color:var(--muted);font-size:.875rem}
.aside-note{margin-top:34px;color:var(--muted);font-size:.8125rem;max-width:340px}
.game-card{background:var(--surface);border:1px solid var(--line);border-radius:24px;box-shadow:0 5px 0 var(--track);overflow:hidden}
.card-top{padding:26px 28px 22px;background:var(--peach-soft);border-bottom:1px solid #f0ddd2}
.card-topline{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:12px}
.category{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em}
.tiny-button{border:1px solid var(--ink);background:transparent;border-radius:40px;padding:5px 11px;font-size:.75rem;white-space:nowrap}
.card-top h2{font-size:clamp(1.6rem,2.5vw,2.25rem);max-width:380px}
.card-top p{font-size:.9375rem;margin-top:9px;color:var(--ink)}
.allocation{padding:20px 28px 25px}
.counter-line{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.counter-text{font-size:.875rem;font-weight:600}
.dots{display:flex;gap:5px}
.dot{width:11px;height:11px;border-radius:50%;background:var(--track);border:1px solid var(--control-line)}
.dot.used{background:var(--teal);border-color:var(--teal)}
.choices{display:grid;gap:9px}
.choice{padding:13px 14px;background:transparent;border-radius:0;display:flex;align-items:center;gap:12px;min-height:69px;border:1px solid transparent;border-bottom-color:var(--line)}
.choice:focus-within{border-color:var(--teal)}
.choice-index{color:var(--muted);font-size:.75rem;font-variant-numeric:tabular-nums}
.choice-copy{flex:1;min-width:0;font-size:.9375rem;font-weight:550}
.mini-track{height:3px;max-width:118px;margin-top:7px;background:var(--track);border-radius:4px;overflow:hidden}
.mini-track i{height:100%;display:block;background:var(--teal);transition:width .15s}
.stepper{display:flex;align-items:center;gap:5px}
.stepper button{width:36px;height:38px;border-radius:10px;border:1px solid var(--control-line);background:var(--surface);font-size:1.3rem;line-height:1}
.stepper output{width:25px;text-align:center;font-weight:700;font-variant-numeric:tabular-nums}
.name-row{display:flex;align-items:center;gap:16px;margin:22px 0 18px}
.name-row label{font-size:.875rem;font-weight:600;min-width:110px}
.name-row label small{font-size:.75rem;font-weight:400;color:var(--muted);display:block}
.name-row input{width:100%;min-width:0;border:1px solid var(--control-line);border-radius:10px;padding:10px 12px;background:var(--surface);font-size:.9375rem}
.primary,.secondary{width:100%;border-radius:12px;min-height:52px;padding:13px 17px;font-weight:650;font-size:.9375rem;display:flex;align-items:center;justify-content:center;gap:10px}
.primary{background:var(--teal);border:1px solid var(--teal);color:var(--surface)}
.primary:hover:not(:disabled){background:var(--teal-hover)}
.primary:disabled{background:var(--disabled);border-color:var(--disabled);color:var(--muted);opacity:1}
.secondary{background:var(--surface);border:1px solid var(--control-line);color:var(--teal)}
.secondary:hover{background:var(--peach-soft)}
.action-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.fine-print{font-size:.75rem;color:var(--muted);text-align:center;margin:12px 0 0;line-height:1.55}
.inline-button{border:0;background:none;text-decoration:underline;color:inherit;padding:0;font:inherit}
.bottom-note{display:flex;align-items:center;justify-content:center;gap:8px;font-size:.8125rem;color:var(--muted);margin-top:19px}
.bottom-note svg{width:16px;height:16px}
.reset-line{text-align:right;margin-top:8px;min-height:20px}
.reset-line button{font-size:.75rem;padding:0;border:0;background:none;color:var(--muted);text-decoration:underline}
.share-body{padding:26px 28px}
.big-symbol{font-size:2rem;color:var(--teal);margin-bottom:18px}
.share-body>p{color:var(--muted);font-size:.9375rem;margin:12px 0 22px}
.sealed-preview{padding:18px;background:var(--surface);border-radius:13px;margin-bottom:22px}
.sealed-preview .preview-line{display:flex;height:18px;border-radius:6px;overflow:hidden;gap:3px;margin:13px 0}
.swatch-0{background:var(--teal)}
.swatch-1{background:var(--teal-mid)}
.swatch-2{background:var(--peach)}
.swatch-3{background:var(--ink)}
.swatch-4{background:var(--peach-dark)}
.share-hint{font-size:.8125rem;color:var(--muted)}
.share-link{display:none;margin:13px 0}
.share-link.visible{display:block}
.share-link input{width:100%;padding:10px;border:1px solid var(--control-line);border-radius:8px;font-size:.75rem}
.pass-screen{text-align:center;padding:40px 30px}
.pass-screen h2{margin:20px 0}
.pass-screen p{margin-bottom:28px;color:var(--muted)}
.result-card{background:var(--peach-soft);padding:26px 28px 22px}
.score{font-size:5.2rem;line-height:1;font-weight:760;letter-spacing:-.07em;margin:17px 0}
.score span{font-size:1.7rem;color:var(--ink);letter-spacing:-.03em}
.result-card h2{font-size:1.8rem}
.result-card p{margin-top:8px;font-size:.9375rem}
.result-body{padding:24px 28px}
.legend{display:flex;gap:18px;font-size:.75rem;color:var(--muted);margin:12px 0 20px}
.legend i{display:inline-block;width:9px;height:9px;border-radius:3px;margin-right:5px}
.legend .actual{background:var(--teal)}
.legend .guessed{background:var(--peach-dark)}
.comparison{margin:18px 0}
.comparison-label{display:flex;justify-content:space-between;font-size:.875rem;gap:12px;margin-bottom:7px}
.bar{height:7px;border-radius:4px;background:var(--track);margin:4px 0;overflow:hidden}
.bar i{display:block;height:100%;background:var(--teal)}
.bar.guessed i{background:var(--peach-dark)}
.score-explainer{font-size:.8125rem;color:var(--muted);padding:13px;background:var(--surface);border-radius:10px;margin:22px 0}
.result-actions{margin-top:24px}
.share-ready{font-size:.8125rem;padding:12px;border-radius:9px;background:var(--peach-soft);margin:14px 0}
.simple-view{max-width:570px;margin:35px auto;text-align:center}
.simple-view p{margin:18px 0 26px;color:var(--muted)}
.simple-view .primary{max-width:330px;margin:auto}
footer{max-width:1320px;margin:auto;padding:24px 44px 32px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;font-size:.8125rem;color:var(--muted)}
footer>div{display:flex;align-items:center;gap:20px}
footer button{font-weight:400;font-size:.8125rem}
.version{font-size:.75rem}
.notice{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:12px 20px;background:var(--ink);color:var(--surface);border-radius:12px;box-shadow:0 5px 25px #0b303422;font-size:.875rem;max-width:90vw;z-index:10;opacity:0;pointer-events:none;transition:opacity .15s}
.notice.show{opacity:1}
dialog{border:1px solid var(--control-line);border-radius:22px;padding:0;max-width:560px;width:calc(100% - 32px);max-height:85dvh;background:var(--surface);color:var(--ink);box-shadow:0 20px 100px #0b303433}
dialog::backdrop{background:#0b303470;backdrop-filter:blur(3px)}
#dialog-body{padding:28px}
.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:20px}
.dialog-head h2{font-size:1.5rem}
.close{width:36px;height:36px;border:1px solid var(--control-line);border-radius:50%;background:var(--surface);font-size:1.4rem}
.dialog-copy p{font-size:.9375rem;color:var(--muted);margin:14px 0}
.dialog-copy ol{padding-left:22px}
.dialog-copy li{margin:13px 0}
.topic-grid{display:grid;gap:9px}
.topic-option{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:14px;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:10px}
.topic-option strong{font-size:.9375rem}
.topic-option small{display:block;color:var(--muted);font-size:.75rem}
.topic-option:hover{background:var(--peach)}
.round-row{padding:15px 0;border-bottom:1px solid var(--line)}
.round-row .secondary{margin-top:10px;min-height:42px}
.round-row small{display:block;color:var(--muted)}
.danger{color:var(--danger);margin-top:20px}
.empty{padding:25px 0;color:var(--muted)}
.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}
.noscript{margin:30px auto;max-width:600px}
.disclaimer{border-top:1px solid var(--line);padding-top:15px;margin-top:22px!important;font-size:.8125rem!important}
details summary{cursor:pointer;font-size:.875rem;margin-top:18px}
.my-points{display:grid;gap:9px;margin-top:12px}
.my-points div{display:flex;justify-content:space-between;gap:10px;font-size:.8125rem}

.text-btn,.help-btn{color:var(--teal)}
.text-btn:hover,footer button:hover{color:var(--teal-hover)}
.help-btn:hover,.close:hover{background:var(--peach-soft)}
.eyebrow{color:var(--teal)}
.eyebrow .pill{background:var(--peach-soft);border-color:var(--peach);color:var(--ink)}
.step-num{background:var(--peach);color:var(--ink)}
.tiny-button{color:var(--ink)}
.tiny-button:hover{background:var(--peach-soft)}
.stepper button{color:var(--teal)}
.stepper button:hover:not(:disabled){background:var(--teal);border-color:var(--teal);color:var(--surface)}
.name-row input,.share-link input{color:var(--ink)}
.name-row input::placeholder{color:var(--muted);opacity:1}
.topic-option:hover{background:var(--peach-soft);border-color:var(--peach-dark)}
::selection{background:var(--peach);color:var(--ink)}
@media(min-width:1450px){main{padding-top:70px}
}
@media(max-width:900px){.workspace{gap:32px;grid-template-columns:1fr 1.15fr}
.topbar{padding:22px 28px}
main{padding:35px 28px 45px}
h1{overflow-wrap:anywhere;font-size:3.5rem}
.intro .lede{font-size:1rem}
.steps{margin-top:28px;gap:16px}
.allocation,.card-top,.share-body,.result-body,.result-card{padding-left:22px;padding-right:22px}
footer{padding:22px 28px;flex-direction:column;gap:5px}
}

@media(max-width:680px){.topbar{padding:18px 20px;gap:16px;flex-wrap:wrap}
.wordmark{width:clamp(136px,42vw,200px)}
nav{gap:18px}
main{padding:26px 18px 38px}
.workspace{grid-template-columns:1fr;gap:24px}
.intro{padding:0}
.eyebrow{margin-bottom:14px;font-size:.6875rem;gap:8px}
.intro h1{overflow-wrap:anywhere;font-size:clamp(2.35rem,9.2vw,3.8rem);max-width:440px;line-height:1.03}
.intro .lede{font-size:.9375rem;line-height:1.55;margin:15px 0 0;max-width:400px}
.steps,.aside-note{display:none}
.game-card{border-radius:20px}
.card-top{padding:20px}
.card-topline{margin-bottom:12px}
.card-top h2{font-size:1.8rem;max-width:330px}
.card-top p{font-size:.875rem}
.allocation{padding:18px 18px 20px}
.choice{min-height:65px;padding:12px 10px;gap:8px}
.choice-copy{font-size:.875rem}
.choice-index{font-size:.6875rem}
.stepper{gap:3px}
.stepper button{width:35px;height:39px}
.stepper output{width:23px}
.dots{gap:4px}
.dot{width:10px;height:10px}
.name-row{margin:20px 0 16px;gap:10px}
.name-row label{min-width:95px;font-size:.8125rem}
.name-row input{font-size:1rem}
.fine-print{font-size:.75rem}
.bottom-note{font-size:.75rem;margin-top:16px}
.share-body,.result-body{padding:23px 20px}
.result-card{padding:23px 20px}
.score{font-size:4.5rem}
footer{padding:18px 20px;gap:7px}
footer>div{gap:18px;flex-wrap:wrap}
#dialog-body{padding:22px}
.primary,.secondary{min-height:52px}
.action-pair{grid-template-columns:1fr}
.simple-view{margin:25px auto}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}
}
@media(min-width:681px) and (max-width:760px){.workspace{grid-template-columns:1fr}
.steps{display:none}
.intro h1{max-width:620px}
.intro .lede{max-width:600px}
.aside-note{display:none}
}
@media(forced-colors:active){.dot.used{background:Highlight}
.mini-track i,.bar i{background:Highlight}
.primary{border:2px solid ButtonText}
}


/* Clear instructions, collections and result conversations. */
.play-instructions{margin:0 0 20px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.play-instructions p{font-size:.9375rem;line-height:1.55;margin:0 0 7px}
.play-instructions .inline-button{font-size:.875rem;color:var(--teal)}
.prompt-tools{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin-top:14px;font-size:.8125rem;color:var(--muted)}
.prompt-tools .inline-button{color:var(--ink)}
.draft-status{font-size:.8125rem;color:var(--muted);text-align:center;margin-top:10px}
.return-banner{background:var(--peach-soft);padding:12px;border-radius:10px;margin:0 0 18px;font-size:.875rem}
.stepper button{width:44px;height:44px;flex-shrink:0}
.stepper output{width:26px}
.collection-filters{display:flex;gap:8px;flex-wrap:wrap}
.collection-filter{min-height:44px;padding:9px 13px;background:white;color:var(--ink);border:1px solid var(--control-line);border-radius:24px;font-size:.875rem}
.collection-filter[aria-pressed="true"]{background:var(--teal);border-color:var(--teal);color:white}
.collection-filter:hover:not([aria-pressed="true"]){background:var(--peach-soft)}
.collection-caption{font-size:.875rem;color:var(--muted);margin:16px 0}
.topic-option{min-height:68px}
.topic-option small{font-size:.8125rem}
.daily-option{background:var(--peach-soft);margin-bottom:8px}
.insight{padding-bottom:20px;border-bottom:1px solid var(--line)}
.insight .category,.conversation .category{font-size:.8125rem;color:var(--teal);letter-spacing:.06em}
.insight h3{font-size:1.3rem;line-height:1.3;margin:9px 0}
.insight p,.conversation p{font-size:1rem;line-height:1.6}
.conversation{padding:20px 0 8px}
.conversation p{margin-top:9px;font-weight:550}
.result-details summary{font-weight:650;color:var(--teal);min-height:44px;display:list-item;padding:10px 0}
.result-extras{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:18px}
.result-extras .text-btn{min-height:44px;display:flex;align-items:center;gap:6px}
.result-actions>.share-hint{margin:9px 0 16px;text-align:center;line-height:1.5}
.share-body>.text-btn{display:flex;align-items:center;gap:8px;margin-top:18px;min-height:44px}
.spaced{margin-top:12px}
.result-card-preview{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:14px;margin-bottom:16px}
.download-card{text-decoration:none}
.pass-screen .text-btn{margin-top:16px;min-height:44px}
@media(max-width:760px){
 .workspace.playing{display:flex;flex-direction:column;gap:18px}
 .workspace.playing>section{width:100%}
 .playing .intro .eyebrow{display:none}
 .playing .intro h1{font-size:1.75rem;line-height:1.15;letter-spacing:-.035em;max-width:none}
 .playing .intro h1 br{display:none}
 .playing .intro .lede{font-size:.9375rem;margin:8px 0 0;max-width:none}
 .playing .intro{padding:0}
 .stepper button{width:44px;height:44px}
 .choice{padding:12px 0;gap:8px}
 .choice-index{display:none}
 .choice-copy{font-size:.9375rem}
 .play-instructions{margin-bottom:16px;padding-bottom:14px}
 .card-topline{flex-wrap:wrap;gap:10px}
 .tiny-button{min-height:36px;font-size:.8125rem}
}
@media(max-width:360px){
 .allocation{padding-left:14px;padding-right:14px}
 .stepper{gap:2px}
 .stepper output{width:22px}
 .choice-copy{font-size:.875rem}
}

/* Focused game layout: one readable column across every stage. */
html{font-size:100%}
body{font-family:Arial,Helvetica,sans-serif}
h1,h2,h3{font-weight:700;overflow-wrap:break-word}
h1{font-size:1.75rem;line-height:1.25;letter-spacing:-.025em}
h2{font-size:2rem;line-height:1.2;letter-spacing:-.025em}
h3{font-size:1.125rem;line-height:1.4;letter-spacing:-.01em}
.topbar{max-width:1000px;padding:20px 24px;gap:16px;flex-wrap:wrap}
.wordmark{width:204px}
nav{gap:16px}
.text-btn,footer button{min-height:44px;min-width:44px;padding:10px 4px;font-size:.875rem}
.help-btn,.close{width:44px;height:44px;min-width:44px;min-height:44px;flex-shrink:0;display:grid;place-items:center}
main{max-width:736px;min-height:0;padding:28px 28px 48px}
.workspace,.workspace.playing{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;max-width:680px;margin:0 auto}
.workspace>section{min-width:0;width:100%}
.intro,.playing .intro{padding:0}
.intro h1,.playing .intro h1{max-width:none;font-size:1.625rem;line-height:1.3;letter-spacing:-.025em}
.intro .lede,.playing .intro .lede{max-width:none;font-size:1rem;line-height:1.5;margin:6px 0 0;color:var(--muted)}
.game-card{border-radius:22px;box-shadow:0 3px 0 #edf0ef}
.card-top{padding:22px 26px}
.card-topline{gap:12px;margin-bottom:12px;flex-wrap:wrap}
.card-top h2{font-size:clamp(1.625rem,4vw,2rem);max-width:none;line-height:1.22;letter-spacing:-.025em}
.card-top p{font-size:1rem;line-height:1.5;margin-top:8px}
.category{font-size:.875rem;font-weight:600;letter-spacing:0;text-transform:none}
.tiny-button{min-height:44px;min-width:44px;padding:10px 14px;font-size:.875rem;border-color:var(--control-line)}
.prompt-tools{margin-top:8px;font-size:.875rem;justify-content:flex-start;gap:12px}
.prompt-tools .inline-button{min-height:44px;padding:8px 0;display:inline-flex;align-items:center}
.allocation{padding:18px 26px 24px}
.play-instructions{padding:0;margin:0 0 12px;border:0}
.play-instructions p{font-size:1rem;line-height:1.5;margin:0}
.play-instructions .inline-button{display:inline-flex;align-items:center;min-height:44px;min-width:44px;padding:8px 0;font-size:.875rem}
.counter-line{flex-wrap:wrap;gap:8px 16px;margin:0 0 8px;padding:8px 0;min-height:44px}
.counter-text{font-size:.9375rem;font-weight:600}
.counter-line.is-complete{color:var(--teal)}
.dots{gap:5px}
.dot{width:10px;height:10px;transition:background-color .16s ease}
.choices{gap:0}
.choice{min-height:78px;padding:14px 0;gap:18px;border:0;border-bottom:1px solid var(--line);background:transparent}
.choice:focus-within{border-bottom-color:var(--teal)}
.choice-copy{font-size:1rem;font-weight:400;line-height:1.4}
.has-points .choice-copy{font-weight:600}
.mini-track{height:6px;max-width:220px;margin-top:10px;border-radius:6px}
.mini-track i{background:var(--teal);transition:width .18s ease}
.stepper{gap:6px;flex-shrink:0}
.stepper button{width:44px;height:44px;font-size:1.375rem}
.stepper output{display:inline-block;width:32px;font-size:1.375rem;line-height:1.2;font-weight:700;color:var(--muted)}
.has-points .stepper output{color:var(--teal)}
.allocation-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:44px;margin-top:6px}
.draft-status{font-size:.875rem;line-height:1.4;text-align:left;margin:0;color:var(--muted)}
.draft-status.save-error{color:var(--danger)}
.reset-points{color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.name-row{margin:14px 0 18px;gap:16px}
.name-row label{font-size:.9375rem;min-width:100px}
.name-row label small{font-size:.875rem}
.name-row input{min-height:48px;font-size:1rem}
.primary,.secondary{min-height:52px;font-size:1rem;font-weight:600;line-height:1.4}
.primary{transition:background-color .16s ease}
.fine-print{font-size:.875rem;line-height:1.5;margin-top:12px}
.fine-print .inline-button{min-height:44px;padding:8px 4px;display:inline-flex;align-items:center}
.bottom-note{font-size:.875rem;line-height:1.5;margin-top:14px;text-align:center}
.share-body,.result-body{padding:24px 26px}
.share-body h2,.result-card h2{font-size:1.5rem;line-height:1.3;letter-spacing:-.02em}
.share-body>p{font-size:1rem;line-height:1.5;margin:10px 0 20px}
.sealed-preview{padding:0;margin:0 0 22px}
.sealed-preview summary{min-height:44px;padding:10px 0;margin-top:10px}
.share-hint{font-size:.875rem;line-height:1.5}
.result-card{padding:24px 26px}
.score{font-size:clamp(3.75rem,10vw,4.5rem);line-height:1.05;letter-spacing:-.04em;font-weight:700;margin:12px 0}
.score span{font-size:1.375rem;letter-spacing:-.015em}
.result-card p{font-size:1rem;line-height:1.5}
.insight{padding-bottom:18px}
.insight .category,.conversation .category{font-size:.875rem;letter-spacing:0;text-transform:none}
.insight h3{font-size:1.25rem;margin:8px 0}
.insight p,.conversation p{font-size:1rem;line-height:1.5}
.conversation{padding:18px 0 0}
.result-details summary{margin-top:12px;font-size:.9375rem;line-height:1.5}
.legend{font-size:.875rem;flex-wrap:wrap;gap:8px 18px}
.comparison-label{font-size:.9375rem}
.score-explainer{font-size:.875rem;padding:0;margin:16px 0;color:var(--muted)}
.result-actions{margin-top:20px}
.copy-result{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 auto}
.result-extras{margin-top:10px;padding-top:8px;border-top:1px solid var(--line)}
.result-actions>.share-hint{margin:8px 0}
.simple-view{max-width:680px;margin:0 auto}
.simple-view h2{font-size:1.625rem}
.simple-view p{font-size:1rem;line-height:1.5}
.pass-screen{padding:30px 26px}
.pass-screen h2{margin:0 0 14px}
.pass-screen p{margin:0 0 22px}
.dialog-head{margin-bottom:18px;gap:14px}
.dialog-head h2{font-size:1.5rem;line-height:1.3}
.dialog-copy p,.topic-option strong{font-size:1rem}
.topic-option small,.collection-caption{font-size:.875rem}
.topic-option small{text-transform:none;letter-spacing:0}
.my-points div{font-size:.9375rem}
.share-link input{font-size:1rem;min-height:44px}
footer{max-width:1000px;flex-direction:row;flex-wrap:wrap;padding:18px 24px;gap:8px 24px;font-size:.875rem;align-items:center}
footer>div{flex-wrap:wrap;gap:12px}
footer button,.version{font-size:.875rem}
@media(max-width:600px){
 .topbar{padding:16px;gap:12px}
 .wordmark{width:clamp(136px,38vw,180px)}
 nav{gap:8px}
 main{padding:22px 16px 32px}
 .workspace,.workspace.playing{gap:16px}
 .intro h1,.playing .intro h1{font-size:1.375rem}
 .game-card{border-radius:18px}
 .card-top,.result-card{padding:20px}
 .allocation,.share-body,.result-body{padding:18px 20px 22px}
 .choice{gap:12px;min-height:78px}
 .stepper{gap:3px}
 .stepper output{width:28px}
 .dots{gap:4px}
 .action-pair{grid-template-columns:1fr}
 .name-row{gap:12px}
 .name-row label{min-width:92px}
 .result-extras{gap:4px 12px}
 .pass-screen{padding:28px 20px}
 #dialog-body{padding:20px}
 footer{padding:16px;gap:4px}
}
@media(max-width:360px){
 .card-top,.result-card{padding:18px 16px}
 .allocation,.share-body,.result-body{padding:16px}
 .choice{gap:8px}
 .stepper{gap:2px}
 .stepper output{width:26px}
 .card-topline{gap:8px}
}

/* Keep two-digit point counts readable when text is enlarged. */
.stepper output{width:2ch;min-width:2ch;flex-shrink:0}
.choice-copy{overflow-wrap:break-word}

/* One illuminated segment per matched point; final score is readable immediately. */
.result-card{text-align:center}
.match-meter{display:grid;place-items:center;width:min(100%,15rem);aspect-ratio:1;margin:6px auto 16px;isolation:isolate}
.match-meter>svg{grid-area:1/1;width:100%;height:100%;overflow:visible;fill:none;stroke-linecap:round}
.match-track{stroke:#cfb7aa;stroke-width:7}
.match-point{stroke:var(--teal);stroke-width:14;transform-origin:110px 110px;animation:match-point-in .3s ease-out both;animation-delay:calc(var(--point)*70ms + 80ms)}
.match-meter .score{grid-area:1/1;margin:0;font-size:clamp(3rem,14vw,4.25rem);line-height:1.1;letter-spacing:-.045em;color:var(--ink);z-index:1}
.match-meter .score span{display:block;font-size:1rem;line-height:1.5;font-weight:500;letter-spacing:0;margin-top:2px}
.match-meter.is-perfect .score{animation:match-perfect .4s ease-out .95s both}
@keyframes match-point-in{from{opacity:0;transform:scale(.86)}to{opacity:1;transform:scale(1)}}
@keyframes match-perfect{0%,100%{transform:scale(1)}45%{transform:scale(1.09)}}
/* Keep the next human interaction close to the reveal. */
.result-body>.result-actions{margin:0 0 22px;padding:0 0 22px;border-bottom:1px solid var(--line)}
.result-footer{margin-top:18px}
.round-section{margin:24px 0 8px;font-size:1.125rem}
.practice-intro h3{font-size:1.25rem;line-height:1.35;margin:10px 0}
.practice-intro p{font-size:1rem;line-height:1.5;margin:8px 0}
.practice-counter{margin:18px 0 2px;color:var(--teal);font-weight:600;font-size:1rem}
.practice-help{font-size:1rem;margin-top:14px}
.practice-help summary{min-height:44px;padding:10px 0;color:var(--teal);cursor:pointer}
.practice-help p{margin:6px 0 14px}
.practice-result{text-align:center;margin-bottom:20px}
.practice-result p{font-size:1rem;margin-top:8px}
.practice-again{display:block;margin:8px auto}
@media(max-width:400px){
 .practice-choice{flex-wrap:wrap;gap:8px}
 .practice-choice .stepper{margin-left:auto}
}
@media(forced-colors:active){
 .match-track{stroke:GrayText}
 .match-point{stroke:Highlight}
}

/* Optional analytics choice: equal-weight controls, no overlay over play. */
.analytics-choice{max-width:42rem;margin:1.5rem auto;padding:1.1rem;border:1px solid #cddbd9;border-radius:16px;background:#fff;font-size:.9375rem;color:#345553}
.analytics-choice[hidden]{display:none}
.analytics-choice h2{font-size:1.05rem;margin:0 0 .5rem;color:#0b3034}
.analytics-choice p{margin:0 0 .6rem;line-height:1.5}
.analytics-choice .action-pair{margin-top:1rem}
.analytics-choice .secondary{font-size:.9375rem;min-height:44px}
.analytics-settings{border-top:1px solid #dce6e4;margin-top:1.4rem;padding-top:.6rem}
.analytics-settings .action-pair{margin:.8rem 0}
@media(max-width:600px){.analytics-choice{margin:1.2rem 1rem}}
