/* Isolated App Designer experiment. Canonical game/card/Journey internals unchanged. */
:root{--ground:#edf4f1;--ink:#123c32;--muted:#48645c;--accent:#176b51;--line:#b5ccc1;--display:ui-rounded,"SF Pro Rounded",system-ui,sans-serif}
html,body{background:var(--ground);color:var(--ink);font-family:var(--display)}
body{max-width:740px;margin:auto}
header{grid-template-columns:68px 1fr 68px;padding:calc(14px + env(safe-area-inset-top)) 24px 12px;min-height:76px}
.brand{font-size:23px;letter-spacing:-1px;color:var(--ink)}
.back,#skip{min-height:44px;font-size:14px;padding:8px 0;background:transparent;color:var(--ink)}
.back{font-weight:650;display:flex;align-items:center;gap:4px}.back::before{content:'‹';font-size:26px;line-height:1}
#skip{text-align:right;border-radius:0}
.progress{padding:0 24px 14px;gap:16px}#step{font-size:12px;color:var(--muted);letter-spacing:0}.track{height:2px;background:var(--line)}.track i{background:var(--accent)}
main{padding:12px 24px 20px}section{align-items:stretch;text-align:left;max-width:480px;margin:0 auto}
h1{font-family:var(--display);font-size:40px;font-weight:800;letter-spacing:-1.4px;line-height:1.06;margin:8px 0 16px;text-wrap:balance}
p{font-size:16px;line-height:1.45;color:var(--muted)}
footer{padding:12px 24px calc(22px + env(safe-area-inset-bottom));gap:8px;max-width:528px;width:100%;margin:auto}
.primary{background:var(--accent);color:#fff;border-radius:100px;box-shadow:none;font-size:18px;font-weight:700;min-height:54px;padding:0 22px}
.primary:active{transform:scale(.98)}.secondary{min-height:44px;font-size:14px;color:var(--ink)}.micro{font-size:12px;color:var(--muted)}
.is-welcome{background:#d9ede3}.is-welcome header{min-height:60px}.is-welcome .progress{display:none}.is-welcome main{padding-top:0}
.welcome{position:relative;justify-content:flex-start;padding:0;gap:0;height:100%;max-width:480px}
.welcome-wordmark{position:static;text-align:left;font-size:28px;padding:0;letter-spacing:-1px;margin:0;line-height:1.1}
.welcome-art{flex:1;min-height:80px;position:relative;display:grid;place-items:center;padding:8px 0 16px}
.welcome-art img{width:clamp(120px,38vh,292px);max-width:85%;max-height:100%;object-fit:contain;transform:rotate(-9deg)}
.welcome-art span{position:absolute;bottom:12px;right:8px;background:var(--ink);color:#fff;padding:9px 18px;border-radius:100px;font-size:16px;font-weight:650;transform:rotate(-7deg)}
.welcome-copy{padding:12px 0 10px}.welcome h1{font-size:clamp(38px,6.8vh,60px);line-height:1;letter-spacing:-2.5px;margin:0 0 16px;font-weight:850}.welcome p{font-size:17px;margin:0}
.experience{justify-content:flex-start;padding-top:24px}.experience h1{font-size:42px;max-width:360px}.experience>p{margin-bottom:32px}
.experience-options{display:grid;border-top:1px solid var(--line);width:100%}.experience-option{display:grid;grid-template-columns:28px 1fr 20px;gap:10px;align-items:center;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:22px 0;text-align:left;min-height:88px}.option-num{font-size:12px;color:var(--muted);align-self:start;padding-top:3px}.experience-option b{display:block;font-size:19px;font-weight:750;line-height:1.2}.experience-option small{display:block;font-size:13px;line-height:1.4;color:var(--muted);margin-top:7px}.option-arrow{font-size:21px}.experience-option:active{background:#d9e9e0}
.teach{align-items:center;text-align:center}.teach h1{font-size:42px;font-weight:800}.teaching-copy{color:var(--muted);font-size:16px}.gesture-copy{font-size:13px;color:var(--muted)}.feedback{font-size:14px;color:var(--accent)}.arena{flex:1;max-height:300px;min-height:160px}.orb{width:154px;height:154px}
.lookalikes{justify-content:center;align-items:stretch;gap:12px}.lookalikes h1{font-size:42px;text-align:left;line-height:1.04;font-weight:800;max-width:290px;margin-bottom:30px}.lookalike-pair{gap:14px;padding-bottom:8px}.reading-button{font-size:24px;color:var(--ink)}.pitch-copy{font-size:19px;color:var(--ink);font-weight:650;margin:12px 0 4px}.challenge-hint{font-size:14px;color:var(--muted);line-height:1.5}
.more-lookalikes{align-items:center;text-align:center}.more-lookalikes h1{font-size:38px;font-weight:800;letter-spacing:-1.4px}.more-lookalikes>p:first-of-type{font-size:15px;color:var(--muted)}.confusable-item>span{color:var(--muted);font-size:12px}.value-bottomline{font-size:16px;color:var(--ink)}
.is-feature main{padding:8px 24px 0}.feature-tour{align-items:center;text-align:center}.feature-tour h1{font-size:35px;font-weight:800;color:var(--ink);letter-spacing:-1.2px}.feature-intro{font-size:16px;color:var(--muted);margin-bottom:12px}.feature-caption{font-size:15px;color:var(--ink);font-weight:600;min-height:2.7em;margin-top:12px}.feature-device{background:#183d34;border-radius:30px;box-shadow:none;animation:none}.feature-screen{border-radius:25px}.phone-speaker{background:#183d34}.phone-home{background:#183d3480}.demo-navigation>span{font-size:11px;letter-spacing:0;color:var(--muted)}.demo-toggle{font-size:12px;min-height:44px;color:var(--accent);padding:8px}.brain-tour .demo-navigation{min-height:26px}
.is-study main{padding:12px 24px 20px}.study-preview{align-items:stretch;text-align:left}.study-preview h1{font-size:37px;line-height:1.08;margin:8px 0 20px}.study-intro{font-size:16px;color:var(--muted);margin-bottom:24px}.study-window{background:#fff;border-radius:18px;padding:18px 8px}.study-disclosure{font-size:12px;color:var(--muted);line-height:1.5}.study-legend{font-size:12px}
.is-game{max-width:none}.is-game header{max-width:740px;width:100%;margin:auto}.is-game #play-region{max-width:740px;width:100%;margin:auto}.is-game main{max-width:none;width:100%}.is-native{max-width:none}.is-native #play-region{max-width:740px;width:100%;margin:auto}
@media(min-width:850px){body:not(.is-game):not(.is-native){max-width:620px}.welcome-art img{width:280px}.is-welcome .welcome-art{padding:16px 0}.experience{padding-top:36px}}
@media(max-height:720px){header{min-height:60px;padding-top:calc(8px + env(safe-area-inset-top));padding-bottom:6px}.progress{padding-bottom:8px}main{padding-top:4px}footer{padding-top:8px;padding-bottom:calc(16px + env(safe-area-inset-bottom))}.welcome h1{font-size:40px;letter-spacing:-1.6px}.welcome-copy{padding-top:8px}.welcome-art img{width:190px}.welcome-art span{font-size:13px;bottom:0}.welcome p{font-size:15px}.experience{padding-top:10px}.experience h1{font-size:34px}.experience>p{margin-bottom:18px;font-size:15px}.experience-option{padding:17px 0;min-height:76px}.experience-option b{font-size:17px}.experience-option small{font-size:12px}.teach h1{font-size:34px}.orb{width:126px;height:126px}.lookalikes h1{font-size:34px;margin-bottom:14px}.lookalikes{gap:8px}.lookalike-orb{width:116px;height:116px}.pitch-copy{font-size:17px}.challenge-hint{font-size:13px}.more-lookalikes h1{font-size:30px}.feature-tour h1{font-size:28px}.feature-caption{font-size:13px;margin-top:8px}.feature-intro{font-size:14px;margin-bottom:8px}.demo-navigation>span{font-size:11px}.study-preview h1{font-size:31px}.study-intro{font-size:15px;margin-bottom:16px}.study-disclosure{margin-top:14px}}
@media(prefers-reduced-motion:reduce){.primary:active{transform:none}.welcome-art img{transform:none}}
/* Round 2: align the hero label and keep the familiarity decision in one group. */
.welcome-art span{right:0;bottom:4px;transform:none}
.experience-options{border-top:0;gap:12px}
.experience-option{grid-template-columns:1fr 22px;padding:18px 20px;border:1px solid #bfd5c9;border-radius:18px;background:#dfece5;min-height:88px}
.option-num{display:none}.experience-option b{font-size:18px}.experience-option small{margin-top:6px}
.experience .choice-note{font-size:12px;margin:24px 0 0;color:var(--muted)}
.experience-option:active{background:#ccdfd3}
.evil-twins-intro{padding-bottom:0}.lookalikes{gap:8px}.lookalikes h1{margin-bottom:18px}.lookalike-pair{padding-bottom:0}.pitch-copy{margin-top:16px}
@media(max-height:720px){.experience>p{margin-bottom:16px}.experience-option{min-height:74px;padding:14px 16px}.experience-options{gap:10px}.experience-option b{font-size:16px}.experience .choice-note{margin-top:18px}.lookalikes h1{margin-bottom:12px}}
