:root{--paper:#faf5ea;--ink:#30231c;--muted:#746356;--orange:#cc430e;--coral:#f16b2f;--line:#e7ded1;--shadow:0 7px 0 #39220c09,0 16px 35px #593c1510;font-family:ui-rounded,'SF Pro Rounded',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;color:inherit;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #63379d;outline-offset:4px}button{border:0}h1,h2,h3,p{margin:0}h1{font-size:clamp(2rem,8vw,2.6rem);line-height:1.07;letter-spacing:-1.5px;font-weight:850}h2{font-size:1.5rem;letter-spacing:-.5px}h3{font-size:1.13rem}p{line-height:1.5}.muted{color:var(--muted)}.eyebrow{font-size:.72rem;letter-spacing:1.5px;font-weight:800;text-transform:uppercase;color:var(--orange)}.shell{max-width:560px;margin:auto;min-height:100vh;min-height:100dvh;padding:calc(env(safe-area-inset-top) + 18px) 22px calc(env(safe-area-inset-bottom) + 115px)}.topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:23px;min-height:44px}.brand{display:flex;align-items:center;gap:9px;font-size:1.1rem;font-weight:850;letter-spacing:-.5px}.brand img{width:33px;height:33px;border-radius:10px}.iconbtn{background:#fff9;border:1px solid var(--line);width:46px;min-height:46px;border-radius:17px;display:grid;place-items:center;flex-shrink:0}.icon{height:22px;width:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.hero{position:relative;isolation:isolate;margin:0 0 22px;padding:5px 0 0}.hero h1{max-width:320px}.hero p{margin-top:12px;font-size:1rem}.hero .spark{position:absolute;right:2px;top:5px;font-size:2.4rem;color:#d95012;transform:rotate(-12deg)}.cards{display:grid;grid-template-columns:1fr 1fr;gap:13px}.mode{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;text-align:left;border:1px solid #fff9;border-radius:28px;padding:12px 16px 18px;background:#f7debd;min-height:226px;box-shadow:var(--shadow);transition:transform .18s}.mode:active{transform:scale(.97)}.mode img{width:100%;height:134px;object-fit:contain;filter:drop-shadow(0 6px 3px #75502212);margin-bottom:3px}.mode strong{font-size:1.2rem;line-height:1.2;letter-spacing:-.45px}.mode span{font-size:.78rem;line-height:1.3;margin-top:5px;max-width:120px;color:#5c4433}.mode.teams{background:#deebdc}.mode.roles{background:#e9def4}.mode.cup{background:#fbe7b5}.tiny-arrow{position:absolute;right:12px;bottom:14px;width:25px;height:25px;border-radius:50%;background:#fff8;display:grid;place-items:center}.tiny-arrow .icon{width:16px}.home-foot{display:flex;align-items:center;justify-content:center;gap:7px;margin:24px 0;color:var(--muted);font-size:.8rem}.nav{position:fixed;bottom:0;left:0;right:0;z-index:10;padding:12px 22px calc(env(safe-area-inset-bottom) + 13px);background:#faf5eaf2;border-top:1px solid var(--line);backdrop-filter:blur(15px)}.nav-inner{max-width:516px;margin:auto;display:flex;gap:12px}.nav button{flex:1;min-height:48px;border-radius:18px;background:transparent;color:var(--muted);display:flex;align-items:center;justify-content:center;gap:9px;font-weight:700;font-size:.9rem}.nav button.active{background:#f5dfca;color:#97330e}.steps{display:flex;gap:5px;margin-bottom:23px}.steps i{height:4px;flex:1;background:#e8ddce;border-radius:4px}.steps i.done{background:var(--coral)}.lead{margin:12px 0 24px;color:var(--muted)}.inputrow{display:flex;gap:8px;margin:18px 0}.inputrow input{min-width:0;flex:1}.input,.inputrow input,select{width:100%;border:1.5px solid #cbbbab;border-radius:17px;background:white;padding:15px;font-size:1rem;color:var(--ink);min-height:52px}.inputrow button{width:54px;min-height:54px;border-radius:17px;background:var(--orange);color:white}.panel{padding:20px;border-radius:25px;background:#fffc;border:1px solid var(--line);box-shadow:0 4px 0 #35210903;margin:15px 0}.panel.soft{background:#f4ebde}.row{display:flex;align-items:center;gap:12px;min-height:60px;padding:8px 0}.row+.row{border-top:1px solid var(--line)}.grow{flex:1;min-width:0;overflow-wrap:anywhere}.avatar{width:38px;height:38px;display:grid;place-items:center;background:#f8dfc3;border-radius:14px;color:#943713;font-weight:800;flex-shrink:0}.row:nth-child(3n) .avatar{background:#e5d9ee;color:#643b85}.row:nth-child(3n + 1) .avatar{background:#d8e6d8;color:#375840}.plain{background:transparent;min-height:44px;padding:8px;font-weight:650;color:var(--orange);border-radius:12px}.subtle{font-size:.82rem;color:var(--muted)}.primary,.secondary,.danger{width:100%;min-height:56px;border-radius:20px;padding:14px 20px;font-weight:800;font-size:1rem;display:flex;align-items:center;justify-content:center;gap:10px}.primary{background:var(--orange);color:white;box-shadow:0 4px 0 #933307}.primary:active{transform:translateY(2px);box-shadow:0 2px 0 #933307}.secondary{background:#fff9;border:1px solid #cdbfad;margin:10px 0}.danger{color:#a2251b;background:#fbe6dd}.dock{position:fixed;bottom:0;left:0;right:0;background:linear-gradient(#faf5ea00,#faf5ea 18%);padding:25px 22px calc(env(safe-area-inset-bottom) + 18px);z-index:9}.dock>div{max-width:516px;margin:auto}.dock p{text-align:center;font-size:.76rem;color:var(--muted);margin-bottom:9px}.empty{text-align:center;padding:25px 15px}.empty img{width:160px;height:140px;object-fit:contain;display:block;margin:0 auto 15px}.empty p{color:var(--muted);margin:10px 0}.between{display:flex;align-items:center;justify-content:space-between;gap:12px}.counter{display:flex;align-items:center;gap:15px}.counter button{width:48px;min-height:48px;border-radius:16px;background:#f2e7d9;font-size:1.4rem}.counter output{font-size:1.6rem;font-weight:800;min-width:25px;text-align:center}.toggle{min-width:52px;width:52px;min-height:44px;border-radius:30px;background:transparent;padding:8px 0}.toggle:before{content:'';display:block;background:#b0a393;border-radius:20px;height:28px;width:50px}.toggle:after{content:'';display:block;background:#fff;width:22px;height:22px;border-radius:50%;margin:-25px 0 0 3px;box-shadow:0 1px 3px #0002;transition:transform .2s}.toggle[aria-checked=true]:before{background:var(--orange)}.toggle[aria-checked=true]:after{transform:translateX(22px)}.hero-art{height:180px;width:100%;object-fit:contain;margin:4px auto 0;display:block}.result-title{text-align:center;overflow-wrap:anywhere}.result-title .eyebrow{margin-bottom:10px}.result-title p{color:var(--muted);margin-top:12px}.winner{background:#ffe2bb;border:1px solid #f5c791;border-radius:32px;text-align:center;padding:20px;margin:20px 0}.winner h2{font-size:2.4rem;overflow-wrap:anywhere}.winner img{height:170px;width:100%;object-fit:contain}.badge{background:#ece2d5;border-radius:20px;padding:6px 11px;font-size:.75rem;font-weight:700;display:inline-flex}.teams-result .panel:nth-child(3n + 1){background:#e1ecdf}.teams-result .panel:nth-child(3n + 2){background:#fbe1cd}.teams-result .panel:nth-child(3n){background:#e9dff0}.names{font-weight:600;font-size:1.05rem;line-height:1.85;margin-top:12px;overflow-wrap:anywhere}.secret{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:340px;background:#e8dff2;border:1px solid #d3bde3;border-radius:35px;padding:28px;text-align:center;margin:24px 0}.secret img{width:180px;height:170px;object-fit:contain}.secret h2{margin:16px 0 9px;overflow-wrap:anywhere;font-size:2rem}.secret.open{background:#633b86;color:white}.secret.open p{color:#eee2f8}.match button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:54px;text-align:left;border-radius:14px;padding:12px 14px;margin:6px 0;background:#f1e7d9;overflow-wrap:anywhere;gap:10px}.match button.selected{background:#d9e9d6;color:#284f30;box-shadow:inset 0 0 0 2px #4e7652}.round-title{margin:25px 0 10px}.veil{position:fixed;inset:0;background:#281b1480;backdrop-filter:blur(5px);z-index:30;display:flex;align-items:flex-end;justify-content:center;padding-top:env(safe-area-inset-top)}.sheet{background:var(--paper);width:100%;max-width:560px;max-height:90vh;max-height:90dvh;overflow:auto;border-radius:32px 32px 0 0;padding:24px 24px calc(env(safe-area-inset-bottom) + 24px);box-shadow:0 -5px 40px #0002}.sheet h2{margin:12px 0}.sheet .lead{margin-bottom:18px}.sheet label{display:block;font-size:.86rem;font-weight:700;margin:15px 0 8px}.sheet .primary{margin-top:18px}.sheet-header{display:flex;align-items:center;justify-content:space-between}#notice{position:fixed;top:calc(env(safe-area-inset-top) + 12px);left:22px;right:22px;max-width:516px;margin:auto;padding:15px 18px;border-radius:18px;color:#fff;background:#30231c;z-index:50;box-shadow:0 8px 25px #0002;pointer-events:none;opacity:0;transition:opacity .2s}#notice.show{opacity:1}.switch-row{display:flex;justify-content:space-between;align-items:center;gap:18px}.level{width:68px;padding:9px;min-height:46px}.flow-enter{animation:enter .22s ease-out}.spinning{animation:wiggle .22s alternate infinite}.help{font-size:.86rem;color:var(--muted);margin:12px 0;line-height:1.5}.resume{border:1px solid #ddbfa5;background:#fff9;border-radius:20px;padding:14px 16px;margin:18px 0 0;display:flex;gap:12px;align-items:center;text-align:left;width:100%;min-height:58px}.section-label{margin:24px 0 12px}.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}.inline-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:space-between}.pill{background:#f0e5d6;min-height:44px;border-radius:16px;padding:10px 14px;color:#624631;font-weight:650}.progress-note{margin-top:20px;text-align:center;font-size:.8rem;color:var(--muted)}@keyframes enter{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}@keyframes wiggle{to{transform:rotate(4deg) scale(1.03)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(max-width:360px){.shell{padding-left:16px;padding-right:16px}.cards{gap:10px}.mode{padding:10px 12px 16px;min-height:206px;border-radius:24px}.mode img{height:117px}.mode strong{font-size:1.05rem}.hero .spark{display:none}.brand{font-size:1rem}}@media(min-width:700px){.shell{padding-top:35px}.mode{min-height:248px}.mode img{height:155px}}@media(max-height:650px) and (orientation:landscape){.dock{position:static;padding:15px 0}.shell{padding-bottom:30px}.hero-art{height:120px}.secret{min-height:220px}.nav{position:static}}

.hero .spark .icon{width:34px;height:34px}.mode img{height:112px}.mode{min-height:208px}.hero{margin-bottom:18px}.topbar{margin-bottom:18px}@media(min-width:700px){.mode img{height:145px}}

.arc-footer{text-align:center;padding:18px 0 8px;font-size:10px;letter-spacing:.3px;color:var(--muted)}.arc-footer strong{font-weight:750;color:var(--ink)}

/* Village de nuit — action-first game screens */
.v-feature{position:relative;width:100%;display:flex;align-items:center;isolation:isolate;text-align:left;padding:26px 22px;border-radius:32px;margin:22px 0 30px;background:#eadcf4;border:1px solid #d8c3e4;box-shadow:var(--shadow);overflow:hidden;min-height:274px}.v-feature-copy{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;gap:11px;width:70%}.v-feature-copy>strong{font-size:2.05rem;letter-spacing:-1px;line-height:1.1}.v-feature-copy>span:not(.eyebrow){font-size:.9rem;line-height:1.45}.v-feature .eyebrow{color:#654172}.v-feature img{position:absolute;right:-35px;bottom:33px;width:210px;height:210px;object-fit:contain;z-index:0;opacity:.95}.v-feature-meta{background:#fff9;padding:5px 10px;border-radius:12px}.v-feature-cta{display:flex;align-items:center;gap:10px;background:#4e305f;color:white;border-radius:15px;padding:12px 15px;font-weight:750}.v-kicker{font-weight:750;color:var(--orange);font-size:.82rem;margin:8px 0 14px}.v-composition{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:22px 0}.v-composition>div{display:flex;flex-direction:column;align-items:center;padding:18px 7px;background:#ece1f2;border:1px solid #ddcde6;border-radius:20px}.v-composition strong{font-size:1.8rem}.v-composition span{font-size:.76rem;margin-top:5px}.v-check{display:flex;align-items:flex-start;gap:12px;line-height:1.45;font-size:.93rem;padding:10px 0;cursor:pointer}.v-check input{width:23px;height:23px;flex-shrink:0;accent-color:var(--orange);margin:0}.v-rules{padding-left:23px;display:grid;gap:17px}.v-rules li{padding-left:4px}.v-rules p{font-size:.9rem;color:var(--muted);margin-top:5px}.v-details{padding:18px 0;border-top:1px solid var(--line);margin:15px 0}.v-details summary{cursor:pointer;font-size:.94rem;font-weight:750;min-height:32px;line-height:1.5}.v-details>p{margin:12px 0;font-size:.9rem;color:var(--muted)}.v-progress{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:8px 0 23px}.v-role-card{background:#ece1f3;border:1px solid #d5c0e2;border-radius:32px;padding:26px 23px;text-align:center;min-height:295px;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:23px 0}.v-role-card>img{height:150px;width:190px;object-fit:contain}.v-role-card .row{justify-content:center;text-align:left;width:100%}.v-role-card .row strong{font-size:1.5rem}.v-role-card.revealed{background:#603b7e;color:#fff7ee;border-color:#916ead}.v-role-card.revealed h2{font-size:2.15rem;overflow-wrap:anywhere;margin:8px 0 18px}.v-role-card.revealed>p:last-child{line-height:1.65;max-width:365px}.v-role-camp{text-transform:uppercase;letter-spacing:2px;font-size:.75rem}.v-role-symbol{font-size:3.4rem;line-height:1.2;display:block;margin:10px 0}.v-person-number{display:block;margin-top:3px;font-size:.73rem}.v-privacy{background:#e9def1;border:1px solid #d5bee4;border-radius:28px;padding:32px 25px;text-align:center;margin:25px 0}.v-privacy>span{display:block;font-size:60px;line-height:1.3;margin-bottom:15px}.v-choices{display:grid;gap:9px;margin:20px 0}.v-choice{display:flex;align-items:center;gap:12px;padding:12px 14px;min-height:72px;width:100%;border-radius:20px;border:1.5px solid var(--line);background:#fff9;text-align:left}.v-choice strong{font-size:1rem;overflow-wrap:anywhere}.v-choice.chosen{border-color:#648463;background:#e7efdf;box-shadow:inset 0 0 0 1px #648463}.v-vote-label{max-width:40%;overflow-wrap:anywhere;font-size:.78rem;color:var(--muted);text-align:right}.v-script{border-left:3px solid #b894ca;padding:15px 17px;background:#eee2f3;border-radius:0 18px 18px 0;margin:20px 0}.v-script>span{display:block;text-transform:uppercase;letter-spacing:1px;font-size:.66rem;font-weight:800;color:var(--muted);margin-bottom:10px}.v-script p{font-size:1.05rem;line-height:1.6}.v-night-art{position:relative;text-align:center;height:195px;margin:10px 0}.v-night-art img{width:190px;height:180px;object-fit:contain}.v-night-art span{position:absolute;right:10%;top:-12px;color:#f3d799;font-size:70px}.v-announcement{padding:25px;border-radius:28px;border:1px solid #e5ceb3;background:#f9e5c9;text-align:center;margin:25px 0}.v-announcement .row{text-align:left}.v-announcement h2{margin:12px 0}.v-out{opacity:.75}.v-timer{background:#f0e9dc;border:1px solid var(--line);border-radius:28px;padding:24px;margin:23px 0;text-align:center}.v-timer output{display:block;font-size:3.8rem;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.25;margin:12px}.v-timer-actions{display:grid;grid-template-columns:1.2fr 1fr;gap:10px;align-items:center}.v-timer-actions .secondary{margin:0;padding:12px 8px}.v-timer-actions select{padding:12px 8px}.v-celebration{text-align:center;margin:20px 0 30px}.v-celebration img{display:block;width:100%;height:205px;object-fit:contain}
@media(max-width:360px){.v-feature{padding:22px 16px;min-height:265px}.v-feature img{width:155px;right:-28px;bottom:65px}.v-feature-copy{width:90%}.v-feature-copy>strong{font-size:1.8rem}.v-feature-cta{padding:11px}.v-choice{padding:11px}.v-composition span{font-size:.7rem}.v-role-card{padding:23px 18px}.v-timer-actions{grid-template-columns:1fr}.v-progress{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.v-feature:active{transform:none}}
/* Lab 2.2 — expressive headlines and tactile game pieces. */
@font-face{font-family:Anton;src:url('fonts/Anton-Regular.ttf') format('truetype');font-display:swap;font-weight:400}
:root{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}h1,.brand,.v-feature-copy>strong,.secret h2,.v-role-card h2,.winner h2,.victory-screen h1{font-family:Anton,sans-serif;font-weight:400;text-transform:uppercase;letter-spacing:0;line-height:1.08}h1{font-size:clamp(2.8rem,11vw,4rem);overflow-wrap:anywhere}.brand{font-size:1.9rem;letter-spacing:-.5px}.hero{padding:7px 0 27px}.hero h1{font-size:clamp(3.8rem,16vw,5.65rem);line-height:.99;letter-spacing:-1px}.hero:before,.hero:after{display:none}.topbar{margin-bottom:14px}.v-feature{display:flex;flex-direction:column;align-items:stretch;overflow:hidden;position:relative;background:var(--paper);border:1px solid #d9c8b5;border-radius:27px;padding:0;box-shadow:var(--shadow);text-align:left}.v-feature>img{position:static;width:100%;height:auto;max-height:300px;object-fit:contain;transform:none;margin:0}.v-feature-copy{padding:8px 24px 24px;position:static;max-width:none}.v-feature-copy>strong{font-size:2.85rem;color:var(--ink)}.v-feature-copy>span{max-width:none}.v-feature-meta{margin-top:10px}.v-feature-cta{margin-top:18px;color:var(--orange)}.week-label{align-self:flex-start;display:inline-block;padding:9px 15px;background:#63379d;color:#fff;border-radius:0 0 16px 0;font-size:.67rem;font-weight:800;letter-spacing:1.1px}.home-foot{font-family:Anton;text-transform:uppercase;font-size:1.4rem;color:var(--ink);text-align:center}.game-art{display:block;width:min(100%,360px);height:auto;aspect-ratio:1;object-fit:contain;margin:14px auto;border-radius:26px}.handoff .game-art{width:250px;margin:0 auto}.handoff-name{display:flex;justify-content:center;align-items:center;gap:12px;margin:12px 0 25px}.handoff-name strong{font-family:Anton;text-transform:uppercase;font-weight:400;font-size:2.5rem;overflow-wrap:anywhere}.clay-number{display:inline-block;flex:0 0 54px;width:54px;height:54px;background:url('art/numbers-clay.png') var(--nx) var(--ny)/400% 300% no-repeat;border-radius:12px}.handoff-name .clay-number{width:76px;height:76px;flex-basis:76px}.v-choice{display:flex;align-items:center;gap:8px;padding:9px 13px;min-height:68px;background:#fffc;border:1px solid var(--line);border-radius:18px;text-align:left;width:100%}.v-choice strong{overflow-wrap:anywhere;flex:1;font-size:1.05rem}.v-choices{display:grid;grid-template-columns:1fr;gap:9px}.row>strong{flex:1}.row .badge{margin-left:auto}.v-role-card{margin:28px 0;padding:40px 26px;text-align:center;min-height:270px;display:flex;flex-direction:column;justify-content:center;gap:20px}.v-role-card h2{font-size:3.5rem;overflow-wrap:anywhere}.role-setting{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:15px 0;border-bottom:1px solid var(--line)}.role-setting:last-child{border-bottom:0}.role-setting .help{font-size:.8rem;margin-top:5px}.role-setting>div:first-child{flex:1}.counter{flex-shrink:0}.segmented,.role-tabs{display:flex;gap:6px;padding:5px;background:#ede4d8;border-radius:18px;margin:15px 0}.segmented button,.role-tabs button{flex:1;min-height:52px;border-radius:13px;background:transparent;font-size:.9rem;font-weight:700;padding:10px 6px}.segmented .selected,.role-tabs .selected{background:var(--ink);color:white}.read-card{background:#fff9;border-radius:24px;border:1px solid #ccb7df;padding:25px;margin:20px 0}.read-card h2{font-family:Anton;font-weight:400;text-transform:uppercase;font-size:2rem;margin:13px 0}.read-card blockquote{font-size:1.15rem;line-height:1.55;margin:0}.host-note{margin-top:25px;border-top:1px dashed #ccb7df;padding-top:20px}.host-note p{margin-top:18px;color:var(--muted)}.rule-list p{margin-top:16px}.selection-note{background:#ede3f9;padding:14px;border-radius:13px;margin:15px 0}.elimination{border:1px solid var(--line);border-radius:26px;text-align:center;padding:12px 20px 26px;margin:20px 0}.elimination .game-art{width:220px;margin:0 auto}.elimination h2{font-family:Anton;text-transform:uppercase;font-weight:400;font-size:2.5rem;margin:10px 0}.roster .row{gap:8px}.roster .badge{font-size:.7rem}.debate{display:grid;gap:18px;text-align:center}.debate output{font-family:Anton;font-size:5rem}.level-tag{font-weight:800;background:#def0e6;padding:8px 12px;border-radius:12px}.level-tag small{font-weight:400;font-size:.65rem}.catalog-row{display:flex;flex-direction:column;gap:10px;align-items:flex-start;width:100%;padding:22px;border-radius:18px;background:#f0e9df;margin:10px 0;text-align:left}.catalog-row strong{font-size:1.3rem}.catalog-row span{font-size:.8rem;color:var(--muted)}.purchase-unavailable{font-size:.9rem;background:#f1e7da;padding:18px;border-radius:15px;margin:18px 0}.victory-screen{text-align:center}.victory-screen>.primary{margin-top:22px}.share-preview{display:block;width:100%;border-radius:20px;margin:18px 0}.spinning .hero-art{animation:none;transform:rotate(var(--sway,0deg));transition:transform .17s ease-in-out}.winner.spinning{animation:none}.forehead-stage{background:#63379d;color:#fff;border-radius:25px;padding:24px;display:flex;flex-direction:column;gap:30px;min-height:65vh}.forehead-stage h1{text-align:center;margin:auto;font-size:clamp(3rem,12vw,5rem)}.front-actions{display:flex;gap:12px}.front-actions button{flex:1}.front-actions .secondary{background:#fff;color:var(--ink)}.forehead-stage output{font-size:1.4rem}.role-tabs{flex-wrap:wrap}.sheet details{margin:18px 0}.sheet summary{padding:15px 0;font-weight:700}details>summary{cursor:pointer;min-height:44px}.panel>.primary,.panel>.secondary{margin-top:14px}.sheet .v-choice{margin:8px 0}
@media(orientation:landscape) and (max-height:600px){body.forehead-playing .topbar,body.forehead-playing .arc-footer{display:none}body.forehead-playing .shell{max-width:none;padding:12px env(safe-area-inset-right) 12px env(safe-area-inset-left)}.forehead-stage{min-height:calc(100dvh - 24px);padding:18px 32px;gap:12px}.forehead-stage h1{font-size:clamp(2.5rem,8vw,4.5rem)}.front-actions{max-width:700px;width:100%;margin:auto}.forehead-stage .between{gap:15px}}
@media(prefers-reduced-motion:reduce){.spinning .hero-art{transition:none;transform:none}}
.v-feature-copy{width:100%;gap:7px;padding:8px 22px 20px}.v-feature>img{max-height:230px;opacity:1}.v-feature-cta{color:#fff;background:var(--orange);margin-top:10px;min-height:46px}.v-feature-meta{margin-top:5px}.v-feature-copy>strong{font-size:clamp(2.3rem,10vw,2.85rem)}
.startup-cover{position:fixed;inset:0;z-index:10000;background:#faf5ea;display:flex;align-items:center;justify-content:center;color:#30231c}.startup-brand{display:flex;flex-direction:column;align-items:center;gap:24px;transform:translateY(-12px)}.startup-brand img{width:172px;height:172px;border-radius:34px}.startup-brand strong{font:400 43px/1.31 Anton,sans-serif;letter-spacing:0;white-space:nowrap}.startup-footer{position:absolute;bottom:calc(env(safe-area-inset-bottom) + 20px);left:20px;right:20px;text-align:center;font:14px/1.2 -apple-system,BlinkMacSystemFont,sans-serif}.startup-footer b{font-weight:700}.startup-sound{margin-top:18px}

/* A saved game can be resumed or explicitly left without removing the roster. */
.saved-game{margin:18px 0 0;border:1px solid #ddbfa5;border-radius:20px;background:#fff9;overflow:hidden}
.saved-game .resume{margin:0;border:0;border-radius:0;background:transparent}
.saved-game-quit{width:100%;text-align:left;border-top:1px solid #e8d8c7;border-radius:0;padding:12px 16px;color:#894022}
.game-header-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}
.topbar>.eyebrow{min-width:0;overflow-wrap:anywhere}
.quit-button{min-height:46px;padding:10px 12px;border:1px solid var(--line);border-radius:17px;background:#fff9;color:var(--ink);font-weight:650;flex-shrink:0}
.front-quit{display:none}
@media(orientation:landscape) and (max-height:600px){.front-quit{display:block;min-height:44px;padding:8px 14px;border:1px solid #fff7;border-radius:14px;background:#fff2;color:#fff;font-weight:650}}

/* One cream surface in every phase; the sky illustration carries the day/night color. */
body.night-mode{background:var(--paper);color:var(--ink)}
.clay-number{display:block;flex:0 0 46px;width:46px;height:52px;background:none;border:0;border-radius:0;overflow:hidden}
.person-label{display:inline-flex;align-items:center;gap:12px;min-width:0;max-width:100%;flex:1;line-height:1.1}
.person-label>strong{min-width:0;overflow-wrap:anywhere;margin:0;line-height:1.1}
.handoff-name{display:flex;justify-content:center;align-items:center;min-height:88px;margin:24px 0}
.handoff-name .person-label{flex:0 1 auto;justify-content:center;gap:16px}
.handoff-name .clay-number{width:66px;height:76px;flex:0 0 66px}
.v-choice .person-label,.roster .person-label{flex:1}
.phase-art{position:relative;isolation:isolate;overflow:hidden;display:block;width:100%;height:170px;max-width:360px;margin:18px auto 24px;border-radius:30px;background:#fce2b8}
.phase-night{background:#ece1f8}
.phase-orb{position:absolute;left:calc(50% - 34px);top:22px;width:68px;height:68px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff7a0,#f6a428 65%,#e87522);box-shadow:inset -5px -5px 9px #b55a2533,0 6px 12px #d8932522;animation:sunrise 1.5s ease-out both}
.phase-night .phase-orb{background:#aa79ce;box-shadow:inset 12px -8px 10px #73499b44;animation:moonrise 1.5s ease-out both}
.phase-night .phase-orb:after{content:'';position:absolute;width:57px;height:57px;border-radius:50%;background:#ece1f8;top:-8px;left:23px}
.phase-hill{position:absolute;width:85%;height:90px;bottom:-35px;border-radius:50%;background:#b4cdb7;left:-10%;box-shadow:inset 0 5px 12px #ffffff55}
.phase-hill.front{left:30%;bottom:-45px;background:#84ab92}
.phase-night .phase-hill{background:#c6b0da}.phase-night .phase-hill.front{background:#a189bd}
.phase-spark{position:absolute;right:20%;top:36px;color:#fffaf0;font-size:20px;animation:skyglow 1.5s ease-out both}
.phase-day .phase-spark{display:none}
.quiet-night{margin-top:28px;padding:28px}.game-rules{margin:0 0 10px}
@keyframes sunrise{from{transform:translateY(90px) scale(.75);opacity:.25}to{transform:none;opacity:1}}
@keyframes moonrise{from{transform:translateY(80px) rotate(-30deg);opacity:.25}to{transform:none;opacity:1}}
@keyframes skyglow{from{opacity:0;transform:scale(.5)}to{opacity:1;transform:none}}

.paywall-art{width:170px;margin:0 auto 16px}.price-tag{display:flex;flex-direction:column;gap:6px;margin:20px 0}.price-tag strong{font-family:Anton,sans-serif;font-weight:400;font-size:2.7rem;line-height:1.1}.price-tag span{font-size:.85rem;color:var(--muted)}.ownership{padding:14px;border-radius:16px;background:#dfeddd}.noads-offer .plain{display:block}

/* Native banner has its own reserved space, away from navigation and play buttons. */
:root{--ad-space:0px}.shell{padding-bottom:calc(env(safe-area-inset-bottom) + 115px + var(--ad-space))}.nav,.dock{bottom:var(--ad-space)}.noads-pill{border:1px solid #d5b99c;border-radius:16px;background:#ffecd5;padding:8px 11px;min-height:44px;display:flex;flex-direction:column;gap:2px;font-size:11px;line-height:1.2;white-space:nowrap}.noads-pill b{font-size:15px;color:var(--orange)}.noads-art{width:100%;height:140px;object-fit:contain;margin:0 0 12px}.noads-offer h2{font:400 clamp(2rem,8vw,2.8rem)/1.1 Anton,sans-serif;letter-spacing:0}.noads-offer .price-tag strong{font-size:2.8rem}.noads-offer{overflow:hidden}.topbar .brand{flex-shrink:1}@media(orientation:landscape) and (max-height:650px){.shell{padding-bottom:calc(30px + var(--ad-space))}}
/* Language direction and scripts use the platform's complete glyph coverage. */
.language-panel select { width:100%; margin-top:10px; min-height:48px; }
html[dir="rtl"] .topbar [data-action="back"] .icon { transform:scaleX(-1); }
html[dir="rtl"] .tiny-arrow .icon { transform:scaleX(-1); }
html[dir="rtl"] .counter { direction:ltr; }
.person-label strong,.handoff-name strong,.team-members strong { unicode-bidi:plaintext; }
html:lang(ar) h1,html:lang(ar) h2,html:lang(ar) .v-feature-copy strong,html:lang(ar) .week-label,
html:lang(hi) h1,html:lang(hi) h2,html:lang(hi) .v-feature-copy strong,
html:lang(zh) h1,html:lang(zh) h2,html:lang(ja) h1,html:lang(ja) h2,
html:lang(ko) h1,html:lang(ko) h2,html:lang(ru) h1,html:lang(bg) h1,html:lang(el) h1 {
 font-family:-apple-system,BlinkMacSystemFont,sans-serif;font-weight:900;letter-spacing:-.025em;line-height:1.18;text-transform:none;
}
html:lang(ar) h1,html:lang(hi) h1 { line-height:1.3; }
.primary,.secondary,.v-feature-copy strong,.catalog-row strong { overflow-wrap:anywhere; }

/* Keep screen-reader focus on tournament titles without a native blue ring. */
.tournament-flow h1[tabindex="-1"]:focus { outline:none; }

/* Keep scrolling content clear of the native status bar. */
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);background:var(--paper);z-index:9000;pointer-events:none}
.v-role-card.revealed .help,.v-role-card.revealed .muted{color:#fff7ee}
@media(min-width:700px){.hero h1{max-width:none}}
