@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--lime:#caf367;--ink:#f8fafc;--muted:#b1bdcf;--line:#52617a;--app-height:100dvh}*{box-sizing:border-box}html,body{margin:0;width:100%;min-width:0}body{height:var(--app-height,100dvh);background:radial-gradient(ellipse at top left,#152340 0,transparent 65%),linear-gradient(155deg,#1b263c,#111e2c 48%,#041410);color:var(--ink);font-family:'DM Sans',sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #caf367;outline-offset:2px}header,.intro,#progress,footer>span,footer>p,.board-top,.hint,.result-brand,.result-bottom{display:none}main{height:100%;padding:max(8px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));display:flex;flex-direction:column;max-width:1100px;margin:auto;gap:5px}#game{min-height:0;flex:1;display:flex;flex-direction:column;gap:7px}.cards{min-height:0;flex:1;display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:7px}.card{min-height:0;display:flex;flex-direction:column;background:linear-gradient(145deg,#1a283d,#13212d);border:1px solid #42516a;border-radius:13px;padding:8px 10px;gap:5px}.card-top{display:flex;align-items:center;justify-content:space-between;height:16px;flex-shrink:0}.qnum{font-size:9px;font-weight:700;color:#b9c6d8;letter-spacing:1px}.pick-dot{height:19px;width:19px;border-radius:50%;background:#30415b;color:#d6e1f1;display:grid;place-items:center;font-size:11px;font-weight:700}.pick-dot.chosen{background:var(--lime);color:#172733}.card h3{font-family:Outfit,sans-serif;font-size:clamp(14px,2.1vh,18px);font-weight:500;line-height:1.15;margin:0;flex-shrink:0}.choices{flex:1;min-height:0;display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:minmax(0,1fr);gap:5px}.option{display:flex;align-items:center;gap:7px;text-align:left;border:1px solid #52617a;background:#152235;border-radius:8px;padding:4px 7px;color:#f8fafc;font-size:clamp(12px,1.8vh,14px);line-height:1.12;min-width:0;min-height:0}.option:hover{background:#263a50}.letter{border:1px solid #607089;border-radius:50%;width:21px;height:21px;flex-shrink:0;display:grid;place-items:center;font-size:10px;font-weight:700}.option-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.option.occupied{background:#2a374a;border-color:#5c6b82}.option.used-above{background:#334259;border-color:#6d7d98}.usage{font-size:9px;line-height:1.1;font-weight:500;color:#d4dff0}.option[aria-pressed=true]{background:var(--lime);border-color:var(--lime);color:#14202b}.option[aria-pressed=true] .letter{background:#172733;color:var(--lime);border-color:#172733}.card.reassigned{border-color:var(--lime);box-shadow:inset 0 0 0 1px var(--lime)}.lock-area{flex-shrink:0}.primary{border:0;border-radius:11px;min-height:44px;padding:10px 20px;background:var(--lime);color:#14202b;font-weight:700;font-size:15px}.primary:hover{background:#dcff87}.primary:disabled{background:#364457;color:#c0ccda;cursor:not-allowed}.lock-area .primary{width:100%}footer{display:none}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.welcome{height:100%;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(24px,6vh,54px)}.welcome>.primary{width:min(100%,300px)}.demo{position:relative;width:min(100%,370px);padding:20px 10px}.demo-dots{display:flex;gap:9px;justify-content:center;margin-bottom:36px}.demo-dots i{width:18px;height:18px;border-radius:50%;background:var(--lime)}.demo-dots i:nth-child(2){opacity:.6}.demo-row{display:flex;align-items:center;gap:12px;margin:12px 0}.demo-q{font-family:Outfit;font-weight:700;font-size:20px;width:22px}.demo-pills{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;flex:1}.demo-pill{display:grid;place-items:center;border-radius:18px;background:#26364a;border:1px solid #64738b;height:44px;font-size:15px}.demo-0-1{animation:firstB 7s infinite}.demo-1-1{animation:secondB 7s infinite}.demo-0-0{animation:moveA 7s infinite}.demo-2-2{background:var(--lime);color:#14202b;border-color:var(--lime)}.tap-cue{position:absolute;top:128px;left:47%;width:28px;height:28px;border:3px solid white;border-radius:50%;box-shadow:0 0 0 7px #ffffff15;animation:tap 7s infinite;pointer-events:none}.demo-link{position:absolute;left:3px;top:155px;color:var(--lime);font-size:40px;opacity:0;animation:link 7s infinite}@keyframes firstB{0%,12%,60%,100%{background:#26364a;color:white}18%,52%{background:#caf367;color:#14202b}}@keyframes secondB{0%,49%,100%{background:#26364a;color:white}55%,92%{background:#caf367;color:#14202b}}@keyframes moveA{0%,54%,100%{background:#26364a;color:white}60%,92%{background:#caf367;color:#14202b;transform:scale(1.05)}}@keyframes tap{0%,10%{opacity:0;transform:translateY(0) scale(1.3)}17%,23%{opacity:1;transform:translateY(0) scale(.8)}30%,43%{opacity:0;transform:translateY(56px) scale(1.3)}50%,56%{opacity:1;transform:translateY(56px) scale(.8)}65%,100%{opacity:0;transform:translateY(56px)}}@keyframes link{0%,54%,90%,100%{opacity:0}60%,78%{opacity:1;transform:translateY(-9px)}}
.result-screen{position:relative;isolation:isolate;min-height:0;flex:1;display:flex;align-items:center;justify-content:center;text-align:center}.result-content{position:relative;z-index:1;width:min(100%,460px);display:flex;flex-direction:column;align-items:center;gap:12px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.6px;margin:0;color:#b8c6d9}.result-content h1{margin:0;outline:none}.result-number{display:block;font-family:Outfit,sans-serif;font-size:clamp(100px,27vh,220px);line-height:.95;font-weight:700;letter-spacing:-6px}.out-of{display:block;font-size:17px;font-weight:500;margin-top:9px}.result-content h2{font-family:Outfit;font-size:clamp(23px,4vh,32px);font-weight:600;letter-spacing:-.8px;margin:0}.result-note{font-size:13px;color:#d3deec;max-width:310px;line-height:1.45;margin:0}.result-total{font-size:12px;color:#b8c6d9;margin:4px 0 0}.result-content .primary{width:min(100%,320px);min-height:48px}.celebrate .result-number{color:var(--lime);animation:pop .7s cubic-bezier(.2,.8,.3,1.2)}.confetti{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:0}.confetti:before,.confetti:after{content:'';position:absolute;left:50%;top:40%;width:130px;height:130px;border:16px solid #caf36770;border-radius:50%;animation:ring 2.3s ease-out both}.confetti:after{animation-delay:.35s;border-width:8px}.confetti i{position:absolute;left:50%;top:42%;width:16px;height:23px;border-radius:4px;background:var(--lime);transform:rotate(calc(var(--i)*137.5deg));animation:burst 2.6s cubic-bezier(.1,.7,.2,1) both;animation-delay:calc(mod(var(--i),6)*.04s)}.confetti i:nth-child(3n){background:#fff;border-radius:50%;width:21px;height:21px}.confetti i:nth-child(3n+1){background:#91b64c;clip-path:polygon(50% 0,62% 35%,100% 50%,62% 65%,50% 100%,38% 65%,0 50%,38% 35%);width:30px;height:30px}@keyframes pop{0%{transform:scale(.35) rotate(-15deg)}65%{transform:scale(1.18) rotate(5deg)}100%{transform:scale(1)}}@keyframes burst{0%{opacity:1;transform:rotate(calc(var(--i)*137.5deg)) translateY(0) scale(.2)}70%{opacity:1}100%{opacity:0;transform:rotate(calc(var(--i)*137.5deg)) translateY(-65vmax) rotate(260deg) scale(1.2)}}@keyframes ring{0%{transform:translate(-50%,-50%) scale(.1);opacity:1}100%{transform:translate(-50%,-50%) scale(8);opacity:0}}
.complete{min-height:0;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px}.complete h2{font-family:Outfit;font-size:30px;line-height:1.1;margin:0}.big-score{font-family:Outfit;font-size:clamp(75px,18vh,140px);line-height:1;font-weight:700;color:var(--lime)}.small{font-size:12px;color:var(--muted);line-height:1.4;margin:0}.round-scores{display:flex;gap:9px}.round-scores div{background:#283a44;padding:11px 19px;border-radius:12px;font-size:12px}.round-scores b{display:block;font-family:Outfit;font-size:25px;margin-top:3px}.complete .primary{min-width:230px}.share-icon{width:19px;height:19px;display:inline-block;vertical-align:-4px;margin-left:6px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}body[data-phase=complete] footer{display:block;text-align:center;height:30px;flex-shrink:0}.quiet{border:0;background:none;color:#dce7f6;font-size:12px;text-decoration:underline;padding:7px 12px}.manual-share{width:min(100%,360px);height:70px;resize:none;background:#152235;border:1px solid #52617a;color:white;border-radius:8px;font-size:11px;padding:7px}#share-fallback:empty{display:none}dialog{width:min(450px,95vw);max-height:90dvh;background:#172438;border:1px solid #52617a;border-radius:14px;color:white;padding:18px}dialog::backdrop{background:#000a}.dialog-inner{font-size:12px}dialog h2{font-size:20px;margin:10px 0}dialog ol{padding-left:18px}dialog li{margin-bottom:6px}dialog .primary{width:100%}
@media(min-width:600px) and (orientation:landscape){.cards{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:9px}.card{padding:9px;gap:8px}.card h3{font-size:16px;min-height:55px}.choices{grid-template-columns:1fr}.option{font-size:12px;padding:4px 6px}.usage{font-size:9px}.welcome{flex-direction:row;gap:35px}.welcome .demo{max-width:350px;padding:8px}.welcome>.primary{max-width:170px}.demo-dots{margin-bottom:20px}.tap-cue{top:100px}.demo-link{top:125px}.result-content{display:grid;grid-template-columns:180px minmax(0,300px);max-width:600px;width:100%;gap:9px 25px}.result-content .eyebrow{grid-column:1/-1}.result-content h1{grid-column:1;grid-row:2/6}.result-content h2,.result-note,.result-total,.result-content .primary{grid-column:2}.result-number{font-size:clamp(100px,42vh,180px)}.result-content h2{font-size:25px}.complete{display:grid;grid-template-columns:170px 1fr;grid-template-rows:auto auto auto auto auto;align-content:center;gap:9px 25px;max-width:650px;width:100%;margin:auto}.complete>.eyebrow{grid-column:1/-1}.complete h2{grid-column:2;font-size:25px}.big-score{grid-column:1;grid-row:2/6;font-size:110px}.complete>.small,.round-scores,.complete>.primary,#share-status,#share-fallback{grid-column:2}.round-scores{justify-content:center}.round-scores div{padding:7px 15px}.complete>.small{font-size:11px}.complete .primary{min-height:42px}.complete .manual-share{height:48px}}
@media(max-height:600px) and (orientation:portrait){main{padding-top:5px;padding-bottom:5px;gap:3px}#game,.cards{gap:5px}.card{padding:5px 7px;gap:3px;border-radius:10px}.card h3{font-size:13px;line-height:1.1}.card-top{height:13px}.qnum{font-size:8px}.pick-dot{height:16px;width:16px;font-size:10px}.choices{gap:3px}.option{font-size:11px;padding:3px 5px;gap:5px}.letter{width:18px;height:18px;font-size:9px}.usage{font-size:8px}.primary{min-height:40px}.result-content,.complete{gap:8px}.result-number{font-size:135px}.complete h2{font-size:25px}.big-score{font-size:85px}.round-scores div{padding:8px 14px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.confetti{display:none}.demo-0-0,.demo-1-1{background:var(--lime);color:#14202b}.demo-0-1{border-style:dashed;color:#aebed0}.tap-cue{display:none}.demo-link{opacity:1}}
.sr{top:0;left:0}
.manual-share{height:108px;font-family:'DM Sans',sans-serif;font-size:11px;line-height:1.25}.complete:has(.manual-share){gap:6px}.complete:has(.manual-share) .round-scores div{padding:6px 15px}.complete:has(.manual-share) .big-score{font-size:75px}@media(orientation:landscape){.complete:has(.manual-share){gap:4px 20px}.complete:has(.manual-share) .manual-share{height:94px}.complete:has(.manual-share) h2{font-size:21px}.complete:has(.manual-share) .round-scores div{padding:4px 15px}.complete:has(.manual-share) .round-scores b{font-size:20px}.complete:has(.manual-share) .small{line-height:1.1}.complete:has(.manual-share) .primary{min-height:36px;padding:7px 16px}}
#share-fallback{width:100%}
/* Intro: the original headline, followed by a complete wordless practice turn. */
.welcome{gap:18px;justify-content:center}.welcome-copy{text-align:center;flex-shrink:0}.welcome-copy h1{font-family:Outfit,sans-serif;font-size:clamp(27px,5vh,42px);line-height:1.05;letter-spacing:-1px;margin:0 0 10px;font-weight:600}.welcome-copy h1 em{font-style:normal;color:var(--lime)}.welcome-copy p{font-size:12px;line-height:1.4;color:#c8d4e4;margin:0}.demo{height:286px;flex-shrink:0;padding:12px 10px}.demo-dots{margin-bottom:17px}.demo-row{margin:10px 0}.demo-pill{height:40px}.demo-row,.demo-dots{animation:demo-board 10s infinite}.demo-0-1{animation:firstB-v7 10s infinite}.demo-1-1{animation:secondB-v7 10s infinite}.demo-0-0{animation:moveA-v7 10s infinite}.tap-cue{top:81px;left:47%;animation:tap-v7 10s infinite}.demo-link{top:115px;animation:link-v7 10s infinite}.demo-lock{position:absolute;bottom:5px;left:22%;right:14%;height:37px;border-radius:10px;background:var(--lime);color:#14202b;display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;font-weight:700;animation:demo-lock 10s infinite}.demo-lock svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.demo-finish{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:14px;gap:6px;opacity:0;animation:demo-finish 10s infinite}.demo-three{font-family:Outfit;font-size:135px;line-height:1;color:var(--lime);font-weight:700;animation:demo-three 10s infinite}.demo-party{position:absolute;inset:0;pointer-events:none;overflow:hidden}.demo-party i{position:absolute;left:50%;top:48%;width:10px;height:15px;border-radius:3px;background:var(--lime);opacity:0;animation:demo-party 10s infinite}.demo-party i:nth-child(3n){background:white;border-radius:50%}.demo-party i:nth-child(3n+1){background:#91b64c;clip-path:polygon(50% 0,62% 35%,100% 50%,62% 65%,50% 100%,38% 65%,0 50%,38% 35%)}@keyframes demo-board{0%,62%{opacity:1}67%,96%{opacity:0}100%{opacity:1}}@keyframes firstB-v7{0%,8%,43%,100%{background:#26364a;color:white}13%,37%{background:#caf367;color:#14202b}}@keyframes secondB-v7{0%,35%,100%{background:#26364a;color:white}40%,96%{background:#caf367;color:#14202b}}@keyframes moveA-v7{0%,39%,100%{background:#26364a;color:white;transform:scale(1)}45%,96%{background:#caf367;color:#14202b;transform:scale(1.04)}}@keyframes tap-v7{0%,7%{opacity:0;transform:translate(0,0) scale(1.2)}12%,17%{opacity:1;transform:translate(0,0) scale(.8)}23%,31%{opacity:0;transform:translate(0,50px) scale(1.2)}36%,41%{opacity:1;transform:translate(0,50px) scale(.8)}47%,53%{opacity:0;transform:translate(0,170px) scale(1.2)}58%,62%{opacity:1;transform:translate(0,170px) scale(.8)}67%,100%{opacity:0;transform:translate(0,170px)}}@keyframes link-v7{0%,39%,54%,100%{opacity:0}44%,49%{opacity:1;transform:translateY(-7px)}}@keyframes demo-lock{0%,44%{opacity:.35;transform:scale(1)}49%,56%{opacity:1;transform:scale(1)}60%,63%{opacity:1;transform:scale(.94)}68%,96%{opacity:0}100%{opacity:.35}}@keyframes demo-finish{0%,64%,100%{opacity:0}69%,94%{opacity:1}}@keyframes demo-three{0%,64%{transform:scale(.3) rotate(-12deg)}73%{transform:scale(1.1) rotate(4deg)}79%,100%{transform:scale(1)}}@keyframes demo-party{0%,66%{opacity:0;transform:rotate(calc(var(--i)*137.5deg)) translateY(0) scale(.2)}69%{opacity:1}90%{opacity:0;transform:rotate(calc(var(--i)*137.5deg)) translateY(-170px) rotate(180deg) scale(1.3)}100%{opacity:0;transform:rotate(calc(var(--i)*137.5deg)) translateY(-170px)}}
@media(max-height:600px) and (orientation:portrait){.welcome{gap:14px}.welcome-copy h1{font-size:29px}.welcome-copy p{font-size:11px}.demo{height:270px;padding-top:4px}.demo-dots{margin-bottom:12px}.tap-cue{top:68px}.demo-lock{bottom:2px}.demo-link{top:101px}}
@media(min-width:600px) and (orientation:landscape){.welcome{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,1fr);grid-template-rows:1fr auto;align-items:center;gap:10px 25px;padding:10px 14px;max-width:850px;width:100%;margin:auto}.welcome-copy{grid-column:1;grid-row:1;align-self:end}.welcome-copy h1{font-size:31px}.welcome-copy p{font-size:12px;max-width:260px;margin:auto}.welcome .demo{grid-column:2;grid-row:1/3;height:280px;padding:10px;justify-self:center;width:100%;max-width:350px}.welcome>.primary{grid-column:1;grid-row:2;justify-self:center;align-self:start;max-width:230px;width:100%;margin-bottom:45px}.demo-dots{margin-bottom:17px}.tap-cue{top:79px}.demo-link{top:113px}}
@media(prefers-reduced-motion:reduce){.demo-finish{opacity:1}.demo-row,.demo-dots,.demo-lock,.demo-link,.tap-cue,.demo-party{display:none}.demo-three{transform:none}.welcome-copy p:after{content:' Choose different letters, then lock in all three.'}}
.welcome-copy h1{line-height:1.16}
.tap-cue{z-index:3;top:54px;left:42%}@keyframes tap-v7{0%,7%{opacity:0;transform:translate(0,0) scale(1.2)}12%,17%{opacity:1;transform:translate(0,0) scale(.8)}23%,31%{opacity:0;transform:translate(0,50px) scale(1.2)}36%,41%{opacity:1;transform:translate(0,50px) scale(.8)}47%,53%{opacity:0;transform:translate(25px,195px) scale(1.2)}58%,62%{opacity:1;transform:translate(25px,195px) scale(.8)}67%,100%{opacity:0;transform:translate(25px,195px)}}@media(max-height:600px) and (orientation:portrait){.tap-cue{top:41px}}@media(min-width:600px) and (orientation:landscape){.tap-cue{top:52px}}
/* The practice animation is a framed, noninteractive preview. */
.welcome-brand{font-family:Outfit,sans-serif;font-size:22px;letter-spacing:-.6px;font-weight:700;margin-bottom:13px;color:white}.welcome-brand span{font-weight:400;color:var(--lime)}.welcome{gap:14px}.demo{border:1px solid #60718c;border-radius:22px;background:linear-gradient(145deg,#24344b,#12202f);box-shadow:inset 0 1px 0 #ffffff16,0 8px 24px #0003;padding:14px 14px 12px;width:min(100%,370px)}.demo-lock{left:19%;right:10%;bottom:13px}.demo-finish{border-radius:22px}.demo-party{border-radius:22px}.tap-cue{top:0;left:0;width:24px;height:24px;margin:-12px 0 0 -12px;border:3px solid white;z-index:5;box-shadow:0 0 0 7px #ffffff12;animation:tap-v8 10s infinite}.tap-cue:after{content:'';position:absolute;inset:-3px;border:2px solid white;border-radius:50%;animation:tap-ripple-v8 10s infinite}.demo-lock{animation:demo-lock-v8 10s infinite}@keyframes tap-v8{0%,7%{opacity:0;transform:translate(var(--tap-one-x),var(--tap-one-y)) scale(1.2)}12%,17%{opacity:1;transform:translate(var(--tap-one-x),var(--tap-one-y)) scale(.8)}23%,31%{opacity:0;transform:translate(var(--tap-two-x),var(--tap-two-y)) scale(1.2)}36%,41%{opacity:1;transform:translate(var(--tap-two-x),var(--tap-two-y)) scale(.8)}47%{opacity:0;transform:translate(var(--tap-two-x),var(--tap-two-y)) scale(1)}53%,56%{opacity:1;transform:translate(var(--tap-lock-x),var(--tap-lock-y)) scale(1.2)}60%{opacity:1;transform:translate(var(--tap-lock-x),var(--tap-lock-y)) scale(.65)}63%{opacity:1;transform:translate(var(--tap-lock-x),var(--tap-lock-y)) scale(1)}67%,100%{opacity:0;transform:translate(var(--tap-lock-x),var(--tap-lock-y)) scale(1)}}@keyframes tap-ripple-v8{0%,57%{opacity:0;transform:scale(1)}60%{opacity:1;transform:scale(1)}66%{opacity:0;transform:scale(3)}100%{opacity:0;transform:scale(3)}}@keyframes demo-lock-v8{0%,44%{opacity:.35;transform:scale(1)}49%,56%{opacity:1;transform:scale(1)}60%{opacity:1;transform:scale(.93);box-shadow:0 0 0 7px #caf36725}63%{opacity:1;transform:scale(1);box-shadow:0 0 0 0 #caf36700}68%,96%{opacity:0}100%{opacity:.35}}
@media(max-height:600px) and (orientation:portrait){.welcome{gap:10px}.welcome-brand{font-size:20px;margin-bottom:8px}.welcome-copy h1{font-size:27px;margin-bottom:7px}.demo{height:265px;padding-top:10px}.demo-dots{margin-bottom:12px}.demo-lock{bottom:10px}.tap-cue{top:0;left:0}}
@media(min-width:600px) and (orientation:landscape){.welcome-brand{font-size:21px;margin-bottom:9px}.welcome-copy h1{font-size:28px}.welcome .demo{padding:14px;height:286px}.welcome{gap:10px 22px}.tap-cue{top:0;left:0}}
@media(prefers-reduced-motion:reduce){.tap-cue,.tap-cue:after{display:none}}
#share-dialog{width:min(540px,calc(100vw - 20px));height:min(700px,calc(var(--app-height) - 20px));max-height:calc(var(--app-height) - 20px);padding:18px;border-radius:20px;background:linear-gradient(145deg,#1b263c,#041410);overflow:visible}.share-panel{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px}#card-preview{width:min(100%,390px);min-height:0;flex:1;display:flex;justify-content:center;align-items:center;white-space:pre-line;font-size:24px;text-align:center}#card-preview img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;aspect-ratio:1;border-radius:12px;border:1px solid #42516a}.share-actions{display:flex;flex-direction:column;align-items:center;gap:9px;width:100%;flex-shrink:0}.share-actions .primary{width:min(100%,300px);text-align:center;text-decoration:none;display:block}.share-actions [hidden]{display:none!important}#copy-manual{width:min(100%,300px);height:62px;resize:none;border:1px solid #52617a;background:#152235;color:white;font:13px/1.25 'DM Sans';padding:5px;border-radius:7px}.share-actions .quiet{min-height:30px}#copy-status:empty{display:none}@media(orientation:landscape){#share-dialog{width:min(800px,calc(100vw - 20px));height:calc(var(--app-height) - 20px);padding:14px}.share-panel{flex-direction:row;gap:22px}#card-preview{height:100%;width:50%;flex:1}.share-actions{width:42%}#card-preview img{max-height:100%;max-width:100%;width:auto;height:100%}.share-actions .primary{min-height:40px}}
#copy-manual{height:112px;font-size:12px;line-height:1.2;overflow-wrap:anywhere}@media(orientation:landscape){#copy-manual{height:102px}}
#card-preview img{aspect-ratio:648/672}

/* Original wordmark and optional privacy settings. */
.welcome-brand{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:10px}.welcome-brand img{display:block;width:185px;height:auto}.welcome-brand span{font-size:25px;letter-spacing:-.7px}.privacy-link{border:0;background:none;color:#b1bdcf;font-size:10px;line-height:16px;padding:2px 8px;align-self:center;flex-shrink:0;text-decoration:underline;text-underline-offset:3px}.privacy-panel{padding:22px;max-width:400px;color:#f8fafc}.privacy-panel h2{font-family:Outfit;margin:0 0 12px}.privacy-panel p{font-size:14px;line-height:1.4}.privacy-panel .small{font-size:12px}.privacy-panel .primary{width:100%}.consent-row{display:flex;align-items:center;gap:10px;font-size:14px;min-height:44px}.consent-row input{accent-color:#caf367;width:20px;height:20px;flex-shrink:0}
@media(max-height:600px) and (orientation:portrait){.welcome-brand img{width:160px}.welcome-brand span{font-size:22px}.welcome{gap:8px}.demo{height:248px}.demo-pill{height:36px}.demo-row{margin:8px 0}.demo-dots{margin-bottom:9px}.welcome-copy h1{font-size:25px}}
@media(min-width:600px) and (orientation:landscape){.welcome-brand img{width:155px}.welcome-brand span{font-size:22px}.welcome{padding:0 10px}.welcome>.primary{margin-bottom:30px}.privacy-panel{max-width:550px;padding:14px 22px}.privacy-panel h2{margin-bottom:6px}.privacy-panel p{margin:8px 0;font-size:13px}}
/* Keep the introduction one centered vertical stack at every screen width. */
.welcome{display:flex;flex-direction:column;align-items:center;justify-content:center;grid-template-columns:none;grid-template-rows:none;width:100%;max-width:560px;margin:auto;padding:0;gap:clamp(10px,2vh,20px)}
.welcome-copy{align-self:auto;width:100%}.welcome-copy h1{font-size:clamp(27px,4.8vh,44px)}.welcome-copy p{max-width:none;font-size:13px}.welcome-brand{margin-bottom:12px}.welcome-brand img{width:clamp(175px,25vh,235px)}.welcome-brand span{font-size:27px}
.welcome .demo{grid-column:auto;grid-row:auto;justify-self:auto;width:min(100%,400px);max-width:400px;height:286px;padding:14px;flex-shrink:0}.welcome>.primary{grid-column:auto;grid-row:auto;align-self:center;justify-self:auto;width:min(100%,300px);max-width:300px;margin:0;flex-shrink:0}
@media(max-height:600px){.welcome{gap:8px}.welcome-copy h1{font-size:25px;margin-bottom:7px}.welcome-copy p{font-size:11px}.welcome-brand{margin-bottom:7px}.welcome-brand img{width:160px}.welcome-brand span{font-size:22px}.welcome .demo{height:248px;padding:10px 14px}.welcome .demo-pill{height:36px}.welcome .demo-row{margin:8px 0}.welcome .demo-dots{margin-bottom:9px}.welcome .demo-lock{bottom:10px}}
@media(max-height:450px){.welcome{gap:5px}.welcome-brand{margin-bottom:3px;gap:7px}.welcome-brand img{width:112px}.welcome-brand span{font-size:18px}.welcome-copy h1{font-size:20px;line-height:1.06;margin-bottom:4px}.welcome-copy h1 br{display:none}.welcome-copy h1 em:before{content:' '}.welcome-copy p{font-size:11px;line-height:1.2}.welcome .demo{width:285px;max-width:100%;height:175px;padding:8px 12px;border-radius:16px}.welcome .demo-dots{gap:6px;margin:0 0 6px}.welcome .demo-dots i{width:10px;height:10px}.welcome .demo-row{margin:5px 0;gap:8px}.welcome .demo-q{font-size:14px;width:17px}.welcome .demo-pill{height:26px;font-size:12px}.welcome .demo-lock{height:27px;bottom:8px;font-size:11px}.welcome .demo-three{font-size:94px}.welcome .demo-finish{font-size:12px}.welcome>.primary{min-height:38px;padding:8px 16px;font-size:14px;width:250px}.privacy-link{line-height:14px}}
.welcome-copy h1{line-height:1.2}@media(max-height:450px){.welcome-copy h1 em{margin-left:4px}}
/* Comfortable reading size on roomy tablet/desktop boards; short phones keep compact type. */
@media(min-width:900px) and (min-height:650px) and (orientation:landscape){
 main{max-width:1320px;padding:14px 18px;gap:8px}.cards{gap:14px}.card{padding:16px;gap:12px;border-radius:18px}.card-top{height:28px}.qnum{font-size:12px;letter-spacing:1.2px}.pick-dot{height:28px;width:28px;font-size:16px}.card h3{font-size:clamp(24px,2.2vw,30px);line-height:1.18;min-height:108px}.choices{gap:9px}.option{font-size:clamp(20px,1.8vw,26px);line-height:1.18;padding:10px 12px;gap:12px;border-radius:12px}.letter{width:32px;height:32px;font-size:16px}.usage{font-size:13px;line-height:1.15}.option-copy{gap:5px}.lock-area .primary{font-size:20px;min-height:54px}.privacy-link{font-size:12px;line-height:18px}
}
/* Final scores stay in one centered column, including on wide screens. */
body[data-phase=complete] main{justify-content:center;gap:8px}body[data-phase=complete] #game{flex:0 1 auto}body[data-phase=complete] footer{height:auto}
.complete{display:flex;flex-direction:column;align-items:center;justify-content:center;grid-template-columns:none;grid-template-rows:none;height:auto;width:100%;max-width:620px;margin:0 auto;gap:12px}.complete>*{grid-column:auto;grid-row:auto}.complete h2{font-size:clamp(27px,4.5vh,40px)}.complete .big-score{font-size:clamp(90px,18vh,165px);line-height:1}.complete>.small{font-size:12px;max-width:100%;line-height:1.4}.complete .round-scores{gap:12px}.complete .round-scores div{padding:12px 22px;font-size:14px}.complete .round-scores b{font-size:30px;margin-top:4px}.complete>.primary{width:min(100%,340px);min-height:46px;font-size:16px}
@media(min-width:900px) and (min-height:650px){.complete{gap:16px}.complete>.eyebrow{font-size:12px}.complete>.small{font-size:14px}.complete .round-scores div{font-size:16px;padding:14px 26px}.complete .round-scores b{font-size:34px}.complete>.primary{font-size:18px;min-height:52px}}
@media(max-height:600px){.complete{gap:8px}.complete h2{font-size:26px}.complete .big-score{font-size:90px}.complete .round-scores div{padding:8px 18px;font-size:12px}.complete .round-scores b{font-size:25px}.complete>.primary{min-height:40px}.complete>.small{font-size:11px}}
@media(max-height:450px){body[data-phase=complete] main{gap:3px}.complete{gap:5px}.complete>.eyebrow{font-size:9px}.complete h2{font-size:23px}.complete .big-score{font-size:76px}.complete .round-scores{gap:9px}.complete .round-scores div{padding:5px 16px;font-size:11px}.complete .round-scores b{font-size:23px;margin-top:2px}.complete>.primary{min-height:38px;padding:8px 16px;font-size:14px}.complete>.small{font-size:10px}.complete #share-status{line-height:1.2}body[data-phase=complete] #reset{padding:5px 12px}}
.complete h2{line-height:1.2}.complete .big-score{line-height:1.18}
.complete .big-score{padding-bottom:.08em}
/* Numbered pilot collection; game state remains separate for each game. */
.utility-row{display:flex;align-items:center;justify-content:center;gap:14px;flex-shrink:0}.utility-row .privacy-link{margin:0}#back-games{display:none}body[data-phase=intro] #back-games,body[data-phase=complete] #back-games{display:inline-block}.welcome-day{font-size:9px;letter-spacing:1.8px;color:#b8c6d9;margin-bottom:7px}.game-picker{height:100%;min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;width:min(100%,650px);margin:auto;text-align:center}.picker-brand{display:flex;align-items:center;gap:10px}.picker-brand img{width:205px;height:auto}.picker-brand span{font-family:Outfit;font-size:25px;color:var(--lime)}.game-picker h1{font-family:Outfit;font-size:32px;margin:0}.game-picker p{font-size:13px;color:var(--muted);margin:0}.game-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;width:100%}.game-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:80px;border:1px solid #596a82;border-radius:14px;background:linear-gradient(145deg,#213149,#142332);color:#f8fafc;text-decoration:none;padding:7px}.game-tile:hover{border-color:var(--lime);background:#2b3a4d}.game-tile span{font-size:11px;color:#c5d1e0}.game-tile b{font-family:Outfit;font-size:27px;line-height:1.15;color:var(--lime)}.game-tile small{font-size:10px;color:#c5d1e0}.game-tile.test-game{border-style:dashed}.game-picker .picker-note{font-size:11px}.loading-note{margin:auto;text-align:center;color:#b8c6d9}
@media(max-height:600px){.game-picker{gap:8px}.picker-brand img{width:155px}.picker-brand span{font-size:22px}.game-picker h1{font-size:25px}.game-tile{min-height:74px;padding:5px}.game-tile b{font-size:25px}.game-picker p{font-size:11px}.welcome-day{font-size:8px;margin-bottom:4px}}
@media(min-width:600px) and (orientation:landscape){.game-picker{max-width:900px}.game-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.game-tile{min-height:104px}.game-picker h1{font-size:34px}}
@media(max-height:450px){.game-picker{gap:7px}.picker-brand img{width:125px}.picker-brand span{font-size:18px}.game-picker h1{font-size:23px}.game-tile{min-height:77px}.game-picker .picker-note{font-size:10px}.welcome-day{margin-bottom:2px}.welcome .demo{height:166px}}
/* Reserve room for ownership labels beside longer pilot answer text. */
@media(max-height:740px) and (orientation:portrait){.card{padding:5px 7px;gap:3px}.card-top{height:13px}.option{padding:2px 5px;gap:5px}.option-copy{gap:0}.option.occupied{padding-top:0;padding-bottom:0}.usage{line-height:1}}
@media(max-height:450px) and (orientation:landscape){.option.occupied{padding-top:1px;padding-bottom:1px}.option-copy{gap:0}.usage{line-height:1}}
/* On the shortest viewports, put the owner in the letter badge, not a third text line. */
@media(max-width:350px) and (orientation:portrait),(max-height:450px) and (orientation:landscape){.option.occupied .usage{display:none}.option.occupied .letter{width:25px;height:26px;border-radius:5px;display:flex;flex-direction:column;justify-content:center;gap:1px;font-size:10px;line-height:1}.option.occupied .letter:after{content:attr(data-owner);font-size:9px;font-weight:400;color:#d4dff0}}

/* Keep the action and score branding legible at every viewport. */
.welcome #start{font-size:26px;font-weight:600;line-height:1.1}
.score-brand{display:flex;align-items:center;justify-content:center;gap:14px;flex-shrink:0}
.score-brand .eyebrow{margin:0}.score-brand img{width:112px;height:auto;display:block}
@media(max-height:450px){.welcome #start{font-size:21px}.score-brand{gap:10px}.score-brand img{width:88px}}

#day-notice{position:fixed;z-index:100;top:0;left:0;right:0;padding:12px 16px;background:#fff0bb;color:#1b263c;text-align:center;font:500 14px/1.4 sans-serif;box-shadow:0 2px 14px #0003}
#day-notice a{color:inherit;text-decoration:underline;font-weight:700}
#day-notice[hidden]{display:none}
