/* v8 Outside Battles: daylight worlds, kept apart from the Inside night sky. */
#ob{position:fixed;inset:0;z-index:25;overflow:hidden;color:#2b1d0e;font-family:var(--sans);--ink:#2b1d0e;--acc:#c7793a;--acc2:#e9a24f;--paper:#fbf3e3;--kitc:#c7793a;
  background:linear-gradient(180deg,#ffe3b8 0%,#ffd39b 34%,#f6c08a 60%,#e9b07e 100%);-webkit-user-select:none;user-select:none}
#ob input{-webkit-user-select:text;user-select:text}
html.ob-on #room-chip,html.ob-on #react,html.ob-on #heavy-note,html.ob-on #btn-steps,html.ob-on #steps{display:none!important}
html.ob-on .help988{background:rgba(43,29,14,.82);border-color:rgba(255,214,150,.6)}
html.ob-on .icon-btn{background:rgba(43,29,14,.7)}
#ob .ob-bg{position:absolute;inset:0;pointer-events:none;overflow:hidden}
#ob .ob-bg .sun{position:absolute;right:-60px;top:-60px;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,#fff6d6 0%,rgba(255,232,170,.75) 38%,rgba(255,214,140,0) 70%);animation:obSun 9s ease-in-out infinite alternate}
#ob .ob-bg .hill{position:absolute;left:-20%;right:-20%;border-radius:50% 50% 0 0;bottom:-38vh;height:60vh}
#ob .ob-bg .h1{background:rgba(255,255,255,.18);transform:translateX(-12%)}
#ob .ob-bg .h2{background:rgba(255,255,255,.12);bottom:-44vh;transform:translateX(18%)}
@keyframes obSun{to{transform:translate(-14px,10px) scale(1.06)}}
#ob.w-money{background:radial-gradient(120% 70% at 50% 0%,#fff4dd 0%,#f6e3bf 45%,#e9cd9a 100%);--acc:#b8692c;--acc2:#e2a547}
#ob.w-money .ob-bg{background:repeating-linear-gradient(0deg,rgba(120,80,30,.035) 0 2px,transparent 2px 5px),repeating-linear-gradient(90deg,rgba(120,80,30,.03) 0 1px,transparent 1px 7px)}
#ob.w-money .ob-bg .hill{background:linear-gradient(180deg,#b98a55,#8f6538);bottom:-46vh;border-radius:0;height:52vh;transform:none;box-shadow:0 -6px 0 #a87a46}
#ob.w-money .ob-bg .h2{display:none}
#ob.w-work{background:linear-gradient(180deg,#e9f2fb 0%,#d7e6f5 55%,#c6d9ee 100%);--acc:#2f7fc1;--acc2:#5aa9e6;color:#16324f;--ink:#16324f}
#ob.w-work .ob-bg .sun{background:radial-gradient(circle,rgba(255,255,255,.95),rgba(255,255,255,0) 70%)}
#ob.w-work .ob-bg .hill{display:none}
#ob.w-health{background:linear-gradient(180deg,#ffe2c4 0%,#ffeedd 30%,#dff4e6 70%,#bfe7cf 100%);--acc:#2f9e6b;--acc2:#4cc38a;color:#174a33;--ink:#174a33}
#ob.w-health .ob-bg .hill{background:#a9dfbf}#ob.w-health .ob-bg .h2{background:#92d4ad}
.ob-fx{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:8}
#ob .obs{position:absolute;inset:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;padding:calc(var(--hud-pill-bottom, 58px) + 8px) 16px calc(16px + var(--safe-b));display:flex;flex-direction:column;align-items:center;animation:obIn .38s cubic-bezier(.2,.9,.3,1.1) both}
@keyframes obIn{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}
#ob .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.ob-eyebrow{display:block;font-size:.72rem;letter-spacing:.24em;text-transform:uppercase;font-weight:700;color:var(--acc);text-align:center;margin:0 0 6px}
.ob-h1,.ob-h2{font-family:var(--serif);font-weight:700;text-align:center;margin:0;color:var(--ink);line-height:1.05;text-shadow:none}
.ob-h1{font-size:clamp(2rem,8vw,2.9rem)}.ob-h2{font-size:clamp(1.7rem,6.6vw,2.3rem)}
.ob-back{position:absolute;left:8px;top:calc(var(--hud-pill-bottom, 56px) + 6px);z-index:3;min-height:44px;padding:6px 12px;border:0;border-radius:999px;background:rgba(255,255,255,.55);color:var(--ink);font-weight:600;font-size:.9rem;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.ob-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:12px 22px;border-radius:999px;border:0;background:linear-gradient(180deg,var(--acc2),var(--acc));color:#fff;font-weight:700;font-size:1.02rem;text-decoration:none;box-shadow:0 6px 0 rgba(0,0,0,.14),0 10px 24px rgba(0,0,0,.12);transition:transform .08s}
.ob-btn .ic{width:20px;height:20px}
.ob-btn.alt{background:#fff;color:var(--ink);box-shadow:0 5px 0 rgba(0,0,0,.1),0 8px 20px rgba(0,0,0,.08)}
.ob-btn.sm{min-height:46px;padding:10px 18px;font-size:.95rem}
.ob-btn:disabled{opacity:.5}
.ob-ghost{background:none;border:0;color:var(--ink);font-weight:600;font-size:.92rem;min-height:44px;padding:6px 12px;text-decoration:underline;text-underline-offset:3px;opacity:.85;display:inline-flex;align-items:center;gap:6px}
.ob-ghost .ic{width:20px;height:20px}
.ob-small{font-size:.86rem;line-height:1.4;opacity:.85;margin:6px 0;text-align:center}
.ob-disc{font-size:.8rem;opacity:.8;text-align:center;margin:10px 0 2px}.ob-disc.sm{margin:12px 0 0;font-size:.78rem}
.ob-more{color:var(--acc);font-weight:600}
.ob-copy{font-size:.72rem;opacity:.7;text-align:center;margin:4px 0 0}
.ob-toggle{display:flex;align-items:center;justify-content:center;gap:10px;font-size:.92rem;min-height:44px}.ob-toggle input{width:20px;height:20px;accent-color:var(--acc)}
.ob-toggle.sm{font-size:.86rem}
/* juice: every press squashes at once, then springs back */
#ob button.down,#ob .opt.down{transform:scale(.94)!important;transition:transform .05s!important}
#ob button.pop{animation:obPop .34s cubic-bezier(.3,1.8,.5,1)}
@keyframes obPop{0%{transform:scale(.94)}55%{transform:scale(1.05)}100%{transform:scale(1)}}
.ic{width:24px;height:24px;flex:none}
/* ---------- hub ---------- */
.obh{width:100%;max-width:560px;display:flex;flex-direction:column;align-items:center;gap:10px;padding-top:44px}
.ob-today{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 16px;border-radius:999px;border:2px solid rgba(255,255,255,.8);background:rgba(255,255,255,.5);color:var(--ink);font-size:.95rem}
.ob-today .k{font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;font-weight:700;color:var(--acc)}
.obh-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%}
.ob-tile{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:14px 6px 12px;min-height:150px;border:0;border-radius:22px;color:#fff;text-align:center;box-shadow:0 7px 0 rgba(0,0,0,.16),0 14px 30px rgba(0,0,0,.14);animation:obIn .5s calc(var(--i)*.07s) both}
.ob-tile.t-money{background:linear-gradient(160deg,#f0b955,#c27a2c)}.ob-tile.t-work{background:linear-gradient(160deg,#6db7f0,#2f72b8)}.ob-tile.t-health{background:linear-gradient(160deg,#5fd39a,#25875a)}
.ob-tile .ti{width:52px;height:52px;border-radius:50%;background:rgba(255,255,255,.25);display:grid;place-items:center}.ob-tile .ti .ic{width:30px;height:30px}
.ob-tile .tn{font-family:var(--serif);font-weight:700;font-size:1.55rem;line-height:1}
.ob-tile .tt{font-size:.76rem;opacity:.95;line-height:1.2}
.ob-tile .tl{font-size:.7rem;font-weight:700;letter-spacing:.04em;margin-top:auto;display:flex;flex-direction:column;align-items:center;gap:3px}
.pips{display:inline-flex;gap:3px}.pips i{width:12px;height:5px;border-radius:3px;background:rgba(255,255,255,.35)}.pips i.on{background:#fff}
.ob-tile .td{position:absolute;top:-8px;right:-4px;background:#fff;color:var(--acc);font-size:.66rem;font-weight:800;letter-spacing:.06em;padding:3px 8px;border-radius:999px;box-shadow:0 2px 8px rgba(0,0,0,.15);text-transform:uppercase}
.ob-kitbar{display:flex;align-items:center;gap:12px;width:100%;min-height:62px;padding:10px 14px;border-radius:18px;border:0;background:rgba(255,255,255,.7);color:var(--ink);text-align:left;box-shadow:0 4px 0 rgba(0,0,0,.08)}
.kb-ic{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--kitc);color:#fff;flex:none}
.kb-t{display:flex;flex-direction:column;font-size:.82rem;flex:none}.kb-t b{font-size:1rem}
.kb-bar{flex:1;height:10px;border-radius:6px;background:rgba(0,0,0,.08);overflow:hidden}.kb-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--kitc),#f2c14e);border-radius:6px;transition:width .8s cubic-bezier(.2,.9,.3,1.2);min-width:4px}
.kb-go{font-size:1.5rem;opacity:.5}
.ob-week{width:100%;padding:12px 14px;border-radius:18px;background:rgba(255,255,255,.45);border:2px dashed rgba(255,255,255,.9);display:flex;flex-direction:column;gap:4px;font-size:.9rem}
.ob-week .wk-k{font-size:.68rem;letter-spacing:.16em;text-transform:uppercase;font-weight:700;color:var(--acc)}
.wk-p{display:flex;align-items:center;gap:8px;font-size:.84rem}.wk-bar{width:70px;height:8px;border-radius:4px;background:rgba(0,0,0,.08);overflow:hidden;flex:none}.wk-bar i{display:block;height:100%;background:var(--acc)}
.wk-t{font-size:.82rem;font-weight:600}
.ob-days{font-size:.88rem;margin:0;opacity:.9}
/* ---------- play ---------- */
#ob-play{padding:calc(var(--hud-pill-bottom, 56px) + 8px) 12px calc(10px + var(--safe-b));overflow:hidden;justify-content:flex-start}
.obp-top{position:relative;width:100%;max-width:640px;height:46px;display:flex;align-items:center;justify-content:center;flex:none}
.obp-top .ob-back{position:absolute;left:-4px;top:2px}
.obp-dots{display:flex;gap:8px}.obp-dots i{width:30px;height:8px;border-radius:5px;background:rgba(0,0,0,.12);transition:background .3s,transform .3s}
.obp-dots i.now{background:rgba(255,255,255,.95);box-shadow:0 0 0 2px var(--acc) inset}.obp-dots i.done{background:var(--acc)}.obp-dots i.pop{animation:obPop .4s}
.obp-kit{position:absolute;right:-2px;top:0;min-width:56px;height:44px;border-radius:14px;border:0;background:var(--kitc);color:#fff;display:flex;align-items:center;justify-content:center;gap:4px;padding:0 10px;box-shadow:0 4px 0 rgba(0,0,0,.16)}
.obp-kit b{font-size:.9rem}.obp-kit.got{animation:obGot .6s cubic-bezier(.3,1.8,.5,1)}
@keyframes obGot{0%{transform:scale(1)}40%{transform:scale(1.35) rotate(-6deg)}100%{transform:scale(1)}}
.obp-line{margin:4px 0 6px;font-weight:800;font-size:clamp(1.05rem,4.6vw,1.3rem);text-align:center;flex:none;padding:4px 14px;border-radius:999px;color:var(--ink)}
/* v8e: cream backing so Money's instruction and dots stay readable over the cork board */
#ob.w-money .obp-line{background:rgba(253,244,228,.92);box-shadow:0 1px 0 rgba(255,255,255,.55),0 6px 18px rgba(80,50,20,.12);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
#ob.w-money .obp-dots{background:rgba(253,244,228,.9);border-radius:999px;padding:6px 12px;box-shadow:0 1px 0 rgba(255,255,255,.5),0 6px 16px rgba(80,50,20,.1);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}

.obp-line.glow{animation:obGlow 1.6s ease 2}
@keyframes obGlow{50%{background:rgba(255,255,255,.85);box-shadow:0 0 0 3px var(--acc2)}}
.obp-grid{flex:1;min-height:0;width:100%;max-width:640px;display:flex;flex-direction:column;gap:8px}
.obp-stage{flex:none}
.obp-main{flex:1;min-height:0;display:flex;flex-direction:column;gap:10px;padding-bottom:86px}
.obp-sit{transition:transform .45s cubic-bezier(.2,1.3,.4,1),opacity .35s}.obp-sit.enter{transform:translateY(-26px) scale(.95);opacity:0;transition:none}
.sit-t{margin:0;font-size:clamp(1.08rem,4.7vw,1.32rem);line-height:1.3;font-weight:600}
.obp-opts{display:flex;flex-direction:column;gap:10px}
.opt{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:62px;padding:12px 16px;border:0;border-radius:18px;font-size:clamp(1.02rem,4.4vw,1.15rem);font-weight:700;line-height:1.22;text-align:left;color:var(--ink);background:#fff;box-shadow:0 5px 0 rgba(0,0,0,.12),0 8px 18px rgba(0,0,0,.08);touch-action:none;transition:transform .2s cubic-bezier(.3,1.6,.5,1),opacity .3s,filter .3s;animation:obOpt .42s calc(.12s + var(--j)*.07s) cubic-bezier(.2,1.3,.4,1) backwards}
@keyframes obOpt{from{opacity:0;transform:translateY(16px) scale(.96)}to{opacity:1;transform:none}}
.opt .t{flex:1}
#ob .obp-opts .opt.nope{animation:obNope .45s ease;opacity:.5;filter:grayscale(.6)}
@keyframes obNope{20%{transform:translateX(-7px) rotate(-1deg)}45%{transform:translateX(6px) rotate(1deg)}70%{transform:translateX(-3px)}100%{transform:none}}
#ob .obp-opts .opt.right{animation:obRight .55s cubic-bezier(.3,1.7,.5,1);box-shadow:0 0 0 4px #3cc48a,0 8px 26px rgba(60,196,138,.45)}
@keyframes obRight{0%{transform:scale(.95)}45%{transform:scale(1.06)}100%{transform:scale(1)}}
#ob .obp-opts .opt.fade{opacity:.3;transform:scale(.97);pointer-events:none;filter:saturate(.4)}
.opt.dragging{transition:none;z-index:5;box-shadow:0 18px 40px rgba(0,0,0,.25)}
.obp-why{position:absolute;left:10px;right:10px;bottom:calc(10px + var(--safe-b));margin:0 auto;max-width:620px;z-index:6;display:flex;flex-wrap:wrap;align-items:center;gap:2px 10px;padding:12px 14px;border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.18);animation:obWhy .38s cubic-bezier(.2,1.4,.4,1) both;min-height:64px}
@keyframes obWhy{from{opacity:0;transform:translateY(20px) scale(.96)}to{opacity:1;transform:none}}
.obp-why .wk{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;font-weight:800;width:100%}
.obp-why .wt{flex:1;font-size:1.02rem;font-weight:600;line-height:1.3;min-width:0}
.obp-why.ok{border-left:6px solid #3cc48a}.obp-why.ok .wk{color:#1f8a5b}
.obp-why.no{border-left:6px solid #f2a33a}.obp-why.no .wk{color:#b86a12}
.obp-why .wn{border:0;border-radius:999px;min-height:44px;padding:8px 16px;background:#3cc48a;color:#fff;font-weight:800;flex:none}
.obp-combo{position:absolute;left:0;right:0;margin:0 auto;width:max-content;top:calc(100px + var(--safe-t));z-index:7;padding:8px 18px;border-radius:999px;background:linear-gradient(90deg,#ff9e7a,#ffd36b);color:#3a1d00;font-weight:900;font-size:1.1rem;letter-spacing:.03em;box-shadow:0 8px 24px rgba(0,0,0,.2);animation:obCombo 1.6s cubic-bezier(.2,1.5,.4,1) forwards;pointer-events:none}
@keyframes obCombo{0%{opacity:0;transform:scale(.4) rotate(-8deg)}18%{opacity:1;transform:scale(1.15) rotate(3deg)}30%{transform:scale(1) rotate(0)}80%{opacity:1}100%{opacity:0;transform:translateY(-16px)}}
.ob-hand{position:fixed;z-index:9;width:0;height:0;pointer-events:none}
.ob-hand i{position:absolute;left:-6px;top:-4px;width:44px;height:52px;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 52'%3E%3Cpath d='M15 4a4 4 0 0 1 8 0v17l2-1a4 4 0 0 1 5 2l1 1a4 4 0 0 1 5 2l1 1a4 4 0 0 1 5 3v9c0 7-5 13-13 13h-4c-5 0-8-2-11-6L5 32a4 4 0 0 1 6-5l4 4z' fill='%23fff' stroke='%232b1d0e' stroke-width='2.4' stroke-linejoin='round'/%3E%3C/svg%3E");filter:drop-shadow(0 6px 10px rgba(0,0,0,.3));opacity:0}
.ob-hand.go i{animation:obHand 2.3s ease forwards}
.ob-hand::before{content:"";position:absolute;left:-22px;top:-22px;width:44px;height:44px;border-radius:50%;border:3px solid rgba(255,255,255,.95);opacity:0}
.ob-hand.go::before{animation:obTapRing 2.3s ease forwards}
@keyframes obHand{0%{opacity:0;transform:translate(40px,60px)}25%{opacity:1;transform:translate(0,0)}38%{transform:translate(0,0) scale(.86)}50%{transform:translate(0,0) scale(1)}62%{transform:translate(0,0) scale(.86)}74%{opacity:1;transform:scale(1)}100%{opacity:0;transform:translate(10px,20px)}}
@keyframes obTapRing{0%,34%{opacity:0;transform:scale(.4)}40%{opacity:1}60%{opacity:0;transform:scale(1.5)}62%{opacity:1;transform:scale(.4)}82%{opacity:0;transform:scale(1.5)}100%{opacity:0}}
.ob-flyic{position:fixed;z-index:9;width:56px;height:56px;margin:-28px 0 0 -28px;border-radius:50%;background:#fff;color:var(--acc);display:grid;place-items:center;box-shadow:0 8px 20px rgba(0,0,0,.2);transition:transform .45s cubic-bezier(.5,-.2,.6,1),opacity .45s;pointer-events:none}
.ob-flyic .ic{width:30px;height:30px}
#ob.slowmo .obp-grid{transform:scale(1.03);filter:saturate(1.25) brightness(1.06);transition:transform .5s ease,filter .5s}
#ob.noanim *{transition:none!important}
/* ---------- Money: warm paper and coins ---------- */
.m-stage{display:flex;align-items:center;gap:12px;padding:6px 8px;border-radius:18px;background:rgba(255,250,238,.6);box-shadow:inset 0 0 0 2px rgba(184,105,44,.15)}
.jar{position:relative;width:46px;height:62px;flex:none}
.jar-lid{position:absolute;left:6px;right:6px;top:0;height:9px;border-radius:4px;background:linear-gradient(180deg,#d9a441,#a8741f)}
.jar-glass{position:absolute;left:0;right:0;top:7px;bottom:0;border-radius:10px 10px 14px 14px;border:3px solid rgba(120,80,30,.45);background:rgba(255,255,255,.45);overflow:hidden}
.jar-fill{position:absolute;left:0;right:0;bottom:0;height:6%;background:linear-gradient(180deg,#f7d06a,#d9a441);transition:height .9s cubic-bezier(.3,1.4,.5,1)}
.jar-fill i{position:absolute;width:12px;height:12px;border-radius:50%;background:#f2c14e;box-shadow:inset 0 0 0 2px #c79225;top:2px}
.jar-fill i:nth-child(1){left:3px}.jar-fill i:nth-child(2){left:15px;top:6px}.jar-fill i:nth-child(3){left:26px;top:1px}.jar-fill i:nth-child(4){left:9px;top:12px}.jar-fill i:nth-child(5){left:22px;top:13px}
.jar-shine{position:absolute;left:5px;top:6px;width:5px;height:60%;border-radius:4px;background:rgba(255,255,255,.7)}
.m-meter{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}
.m-meter .ml,.w-meter .ml,.h-meter .ml{font-size:.68rem;letter-spacing:.16em;text-transform:uppercase;font-weight:800;color:var(--acc)}
.mbar{height:12px;border-radius:7px;background:rgba(120,80,30,.15);overflow:hidden}.mbar i{display:block;height:100%;width:4%;border-radius:7px;background:linear-gradient(90deg,#e2a547,#f7d06a);transition:width .9s cubic-bezier(.3,1.4,.5,1)}
.mv{font-size:.85rem;font-weight:700}
.cloud{--k:0;position:relative;width:72px;flex:none;text-align:center;transition:transform .9s cubic-bezier(.3,1.4,.5,1),opacity .9s;transform:scale(calc(1 - var(--k)*.55));opacity:calc(1 - var(--k)*.55)}
.cloud svg{width:72px;height:42px;display:block;animation:obCloud 2.2s ease-in-out infinite alternate}.cloud path{fill:#8f8a99;transition:fill .9s}
.cloud span{font-size:.62rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#6c6676}
#ob.w-money[style*="--prog: 1"] .cloud path,#ob.w-money[style*="--prog:1"] .cloud path{fill:#e6e2ec}
@keyframes obCloud{to{transform:translate(3px,-2px)}}
.bill{position:relative;padding:14px 16px 14px;border-radius:6px;background:#fffdf6;color:#3b2611;box-shadow:0 2px 0 #e7d7b6,0 10px 24px rgba(91,58,23,.18);border-top:6px dashed #e7d7b6;touch-action:none;cursor:grab;transition:transform .45s cubic-bezier(.5,-.3,.6,1),opacity .45s;transform-origin:50% 50%}
.bill.held{cursor:grabbing;transition:none;z-index:6;box-shadow:0 20px 40px rgba(91,58,23,.3)}
.bill.go{transition:transform .45s cubic-bezier(.5,-.25,.6,1),opacity .45s}
.bill.wig{animation:obWig .45s ease}
@keyframes obWig{25%{transform:rotate(-2.5deg)}60%{transform:rotate(2deg)}}
.bill-h{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:6px;border-bottom:1px solid #eadcc0;padding-bottom:6px}
.bill-h b{font-family:var(--serif);font-size:1.45rem;line-height:1}.bill-h span{font-size:.85rem;font-weight:800;color:#b5412c;text-align:right}
.bill .due{position:absolute;right:10px;top:-14px;font-style:normal;font-weight:900;font-size:.8rem;letter-spacing:.14em;color:#c2412b;border:2.5px solid #c2412b;border-radius:6px;padding:1px 8px;transform:rotate(8deg);background:#fffdf6}
.o-money .opt{background:linear-gradient(180deg,#e8c48d,#d9ab6c);color:#3b2611;border-radius:10px 10px 14px 14px;padding-top:18px;box-shadow:0 5px 0 #a8773d,0 10px 20px rgba(91,58,23,.18);overflow:hidden}
.o-money .opt .flap{position:absolute;left:0;right:0;top:0;height:16px;background:linear-gradient(180deg,#f0d29f,#e3bb80);clip-path:polygon(0 0,100% 0,50% 100%);transform-origin:50% 0;transition:transform .35s}
.o-money .opt.over{box-shadow:0 0 0 4px #fff,0 5px 0 #a8773d,0 12px 30px rgba(91,58,23,.3);transform:scale(1.04)}
.o-money .opt.sealed .flap{transform:scaleY(1.6)}
.o-money .opt .stamp{position:absolute;right:10px;top:50%;font-style:normal;font-weight:900;font-size:.82rem;letter-spacing:.1em;color:#1f8a5b;border:3px solid #1f8a5b;border-radius:8px;padding:2px 8px;background:rgba(255,255,255,.75);opacity:0;transform:translateY(-50%) scale(2.4) rotate(-14deg)}
.o-money .opt.sealed .stamp{animation:obStamp .4s cubic-bezier(.3,1.6,.5,1) forwards}
@keyframes obStamp{to{opacity:1;transform:translateY(-50%) scale(1) rotate(-8deg)}}
.o-money .opt.sealed .t{padding-right:92px}
/* ---------- Work: a clean phone with a pressure meter ---------- */
.w-stage{display:flex;align-items:center;justify-content:center;gap:10px}
.boss{width:52px;height:52px;flex:none}.boss svg{width:100%;height:100%}
.boss .fc{fill:#f08a6c;transition:fill .8s}.boss .eye{fill:#16324f}.boss path{fill:none;stroke:#16324f;stroke-width:3.4;stroke-linecap:round}
.boss .m1,.boss .m2{opacity:0}.boss .m0,.boss .m1,.boss .m2,.boss .brow{transition:opacity .5s}
.boss.f1 .fc{fill:#f6c27a}.boss.f1 .m0{opacity:0}.boss.f1 .m1{opacity:1}.boss.f1 .brow{opacity:.35}
.boss.f2 .fc{fill:#9fdcb9}.boss.f2 .m0{opacity:0}.boss.f2 .m2{opacity:1}.boss.f2 .brow{opacity:0}
.boss.f0{animation:obHot 1.2s ease-in-out infinite}
@keyframes obHot{50%{transform:scale(1.05) rotate(-2deg)}}
.gauge{position:relative;width:120px;height:68px;flex:none}.gauge svg{width:100%;height:100%;display:block}
.needle{--a:62deg;position:absolute;left:50%;bottom:6px;width:4px;height:52px;margin-left:-2px;transform-origin:50% 100%;transform:rotate(var(--a));transition:transform 1s cubic-bezier(.3,1.7,.4,1)}
.needle i{position:absolute;inset:0;border-radius:3px;background:#16324f}.needle::after{content:"";position:absolute;left:-6px;bottom:-6px;width:16px;height:16px;border-radius:50%;background:#16324f}
.needle.flick{animation:obFlick .5s ease}
@keyframes obFlick{30%{transform:rotate(calc(var(--a) + 10deg))}60%{transform:rotate(calc(var(--a) - 4deg))}}
.w-meter{display:flex;flex-direction:column;min-width:84px}.w-meter b{font-size:1.15rem}
.phone{border-radius:26px;background:#fff;box-shadow:0 0 0 6px #16324f,0 14px 30px rgba(22,50,79,.25);overflow:hidden;margin:6px 6px 0}
#ob.case-teal .phone{box-shadow:0 0 0 6px #1f9d93,0 14px 30px rgba(22,50,79,.25)}
.ph-bar{display:flex;justify-content:space-between;align-items:center;padding:6px 16px 2px;font-size:.75rem;font-weight:700;color:#16324f}
.ph-sig{display:inline-flex;gap:2px;align-items:flex-end}.ph-sig i{width:3px;background:#16324f;border-radius:1px}.ph-sig i:nth-child(1){height:5px}.ph-sig i:nth-child(2){height:8px}.ph-sig i:nth-child(3){height:11px}
.ph-head{display:flex;align-items:center;gap:8px;padding:4px 14px 8px;border-bottom:1px solid #e3ecf5}
.ph-ava{width:30px;height:30px;border-radius:50%;background:#16324f;color:#fff;display:grid;place-items:center;font-weight:800;font-size:.9rem}
.ph-msgs{padding:10px 12px 12px;display:flex;flex-direction:column;gap:8px;max-height:36vh;overflow:hidden}
.ph-ctx{font-size:.98rem;opacity:.9;text-align:center;font-weight:600}
.bub{max-width:86%;padding:10px 14px;border-radius:18px;font-size:1.04rem;line-height:1.3;font-weight:600;animation:obBub .35s cubic-bezier(.2,1.5,.4,1) both}
@keyframes obBub{from{opacity:0;transform:translateY(10px) scale(.9)}to{opacity:1;transform:none}}
.bub.in{align-self:flex-start;background:#e9f0f7;color:#16324f;border-bottom-left-radius:6px}
.bub.out{align-self:flex-end;background:#2f7fc1;color:#fff;border-bottom-right-radius:6px;animation:obSend .45s cubic-bezier(.2,1.4,.4,1) both}
@keyframes obSend{from{opacity:0;transform:translateY(60px) scale(.8)}to{opacity:1;transform:none}}
.bub .bt-t{display:block;font-size:.7rem;opacity:.8;text-align:right;margin-top:2px;font-weight:600}
.bub.typing .bt{display:none}.bub .dots{display:none;gap:4px}.bub.typing .dots{display:inline-flex}.bub .dots i{width:7px;height:7px;border-radius:50%;background:#7f97b0;animation:obDot 1s infinite}.bub .dots i:nth-child(2){animation-delay:.15s}.bub .dots i:nth-child(3){animation-delay:.3s}
@keyframes obDot{50%{transform:translateY(-4px);opacity:.5}}
.o-work .opt{border-radius:22px;background:#fff;border:2px solid #cfe0f0;color:#16324f;box-shadow:0 4px 0 #b9cfe4}
.o-work .opt .send{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#2f7fc1;color:#fff;font-weight:900;flex:none}
.o-work .opt.right{background:#eafaf2}
/* ---------- Health: a friend whose energy comes back ---------- */
.h-stage{display:flex;align-items:center;justify-content:center;gap:16px}
.buddy{width:112px;height:118px;flex:none;transition:filter .8s}
.buddy svg{width:100%;height:100%;overflow:visible}
.buddy .shadow{fill:rgba(23,74,51,.15)}
.buddy .body{fill:#9fb3a8;transition:fill .8s}.buddy .belly{fill:rgba(255,255,255,.35)}
.buddy .eye{fill:#174a33;transition:transform .5s;transform-box:fill-box;transform-origin:center;transform:scaleY(.25)}
.buddy .glint{fill:#fff;opacity:0;transition:opacity .5s}
.buddy .lid{stroke:#174a33;stroke-width:3;stroke-linecap:round;opacity:.9;transition:opacity .4s}
.buddy .cheek{fill:#ff9d8a;opacity:0;transition:opacity .8s}
.buddy path.m0,.buddy path.m1,.buddy path.m2{fill:none;stroke:#174a33;stroke-width:3.4;stroke-linecap:round;transition:opacity .4s}
.buddy .m1,.buddy .m2{opacity:0}
.buddy .bod{transform-origin:80px 150px;transform:translateY(10px) scaleY(.9) rotate(-4deg);transition:transform .8s cubic-bezier(.3,1.6,.5,1)}
.buddy .cap{display:none;fill:#ff9a3c}#ob.sun-cap .buddy .cap{display:block}
.buddy.e1 .body{fill:#8fc9a5}.buddy.e1 .eye{transform:scaleY(.6)}.buddy.e1 .lid{opacity:.4}.buddy.e1 .m0{opacity:0}.buddy.e1 .m1{opacity:1}.buddy.e1 .bod{transform:translateY(5px) scaleY(.95) rotate(-2deg)}
.buddy.e2 .body{fill:#6fd09b}.buddy.e2 .eye{transform:scaleY(.9)}.buddy.e2 .lid,.buddy.e2 .m0{opacity:0}.buddy.e2 .m2{opacity:1}.buddy.e2 .glint{opacity:1}.buddy.e2 .cheek{opacity:.6}.buddy.e2 .bod{transform:none}
.buddy.e3 .body{fill:#4cd18c}.buddy.e3 .eye{transform:scaleY(1)}.buddy.e3 .lid,.buddy.e3 .m0{opacity:0}.buddy.e3 .m2{opacity:1}.buddy.e3 .glint{opacity:1}.buddy.e3 .cheek{opacity:1}.buddy.e3 .bod{transform:translateY(-4px)}
.buddy.e3{animation:obHop 1.1s ease-in-out infinite;filter:drop-shadow(0 0 16px rgba(255,226,122,.85))}
.buddy.e0{animation:obSway 3s ease-in-out infinite}
@keyframes obSway{50%{transform:rotate(-2deg) translateY(2px)}}
@keyframes obHop{50%{transform:translateY(-8px)}}
.buddy.boing{animation:obBoing .6s cubic-bezier(.3,1.8,.5,1)}
@keyframes obBoing{0%{transform:scale(1)}30%{transform:scale(1.15,.85)}60%{transform:scale(.92,1.1)}100%{transform:scale(1)}}
.buddy.shrug{animation:obShrug .6s ease}
@keyframes obShrug{30%{transform:translateY(4px) rotate(-3deg)}60%{transform:translateY(0) rotate(3deg)}}
.h-side{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.batt{display:flex;align-items:center}
.batt-body{position:relative;width:118px;height:42px;border-radius:10px;border:4px solid #174a33;padding:3px;background:rgba(255,255,255,.6)}
.batt-body i{display:block;height:100%;width:10%;border-radius:5px;background:linear-gradient(90deg,#f2a33a,#f7d06a);transition:width 1s cubic-bezier(.3,1.5,.5,1),background .8s}
#ob.w-health[style*="--prog: 1"] .batt-body i,#ob.w-health[style*="--prog:1"] .batt-body i{background:linear-gradient(90deg,#3cc48a,#8ff0be)}
.batt-body .zap{position:absolute;inset:0;display:grid;place-items:center;color:#174a33}.batt-body .zap .ic{width:22px;height:22px}
.batt-cap{width:7px;height:16px;border-radius:0 4px 4px 0;background:#174a33}
.h-meter{display:flex;gap:8px;align-items:baseline}.h-meter b{font-size:1.2rem}
.h-card{padding:14px 16px;border-radius:20px;background:rgba(255,255,255,.85);box-shadow:0 6px 18px rgba(23,74,51,.12);position:relative}
.h-card::before{content:"";position:absolute;left:50%;top:-10px;width:20px;height:20px;background:inherit;transform:translateX(-50%) rotate(45deg);border-radius:4px}
.o-health .opt{border-radius:20px;background:#fff;color:#174a33;box-shadow:0 5px 0 #bfe3cf,0 8px 18px rgba(23,74,51,.08)}
.o-health .opt .oi{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:#e4f7ec;color:#2f9e6b;flex:none}.o-health .opt .oi .ic{width:26px;height:26px}
#ob.w-money.full .cloud path{fill:#ece8f2}
#ob.w-health.full .batt-body i{background:linear-gradient(90deg,#3cc48a,#8ff0be)}
/* ---------- the win ---------- */
.ob-won{position:absolute;inset:0;z-index:7;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:0 18px;pointer-events:none;opacity:0;transition:opacity .35s}
.ob-won.on{opacity:1}
.ob-burst{position:absolute;left:50%;top:42%;width:160vmax;height:160vmax;margin:-80vmax 0 0 -80vmax;background:radial-gradient(circle,rgba(255,250,220,.45) 0%,rgba(255,236,170,.22) 16%,rgba(255,220,140,0) 42%),repeating-conic-gradient(from 0deg,rgba(255,255,255,.1) 0 6deg,rgba(255,255,255,0) 6deg 20deg);transform:scale(.2) rotate(0);opacity:0;pointer-events:none}
.ob-won.on .ob-burst{animation:obBurst 3s ease-out forwards}
/* v8f: calmer rays so the evening desk stays readable */
@keyframes obBurst{0%{opacity:0;transform:scale(.15) rotate(0)}15%{opacity:.32}100%{opacity:.2;transform:scale(.8) rotate(16deg)}}
.ob-banner{position:relative;margin:0;padding:10px 26px;border-radius:999px;font:700 clamp(28px,8vw,42px)/1.1 var(--serif);color:#2b1d0e;background:linear-gradient(180deg,#ffe9a6,#f2c14e);box-shadow:0 0 0 3px #fff,0 14px 40px rgba(0,0,0,.25);transform:scale(.6);transition:transform .6s cubic-bezier(.2,1.6,.4,1)}
.ob-won.on .ob-banner{transform:scale(1)}
.ob-vline{position:relative;margin:14px 0 0;max-width:30ch;font-weight:700;font-size:clamp(1.05rem,4.6vw,1.3rem);color:var(--ink);background:rgba(255,255,255,.75);padding:8px 16px;border-radius:14px}
.ob-item{--dx:0px;--dy:0px;position:relative;margin-top:18px;width:84px;height:84px;border-radius:26px;background:#fff;color:var(--acc);display:grid;place-items:center;box-shadow:0 0 0 4px var(--kitc),0 14px 30px rgba(0,0,0,.25);animation:obItemIn .7s .25s cubic-bezier(.2,1.7,.4,1) both}
.ob-item .ic{width:48px;height:48px}
@keyframes obItemIn{from{transform:scale(0) rotate(-30deg)}to{transform:none}}
.ob-item.fly{animation:obFly .75s cubic-bezier(.5,-.25,.7,1) forwards}
@keyframes obFly{0%{transform:none}30%{transform:translate(calc(var(--dx)*-.08),-30px) scale(1.15)}100%{transform:translate(var(--dx),var(--dy)) scale(.25);opacity:.2}}
/* ---------- the solution card ---------- */
.obr{width:100%;max-width:520px;display:flex;flex-direction:column;align-items:center;gap:10px;padding-top:4px}
.obr-card{width:100%;padding:18px 16px 14px;border-radius:24px;background:var(--paper);box-shadow:0 8px 0 rgba(0,0,0,.08),0 18px 40px rgba(0,0,0,.14);position:relative;animation:obCard .55s cubic-bezier(.2,1.4,.4,1) both}
@keyframes obCard{from{opacity:0;transform:translateY(30px) rotate(-2deg) scale(.95)}to{opacity:1;transform:none}}
.r-money .obr-card{background:#fffaf0;border-top:7px dashed #e7d7b6}.r-work .obr-card{background:#fff;box-shadow:0 0 0 5px #16324f,0 18px 40px rgba(22,50,79,.2)}.r-health .obr-card{background:#f6fff9}
.obr-pick{text-align:center;margin:6px 0 10px;font-weight:600;font-size:.98rem}
.obr-fixes{display:flex;flex-direction:column;gap:8px}
.obr-fix{display:flex;align-items:center;gap:10px;min-height:56px;padding:10px 12px;border-radius:16px;border:2px solid rgba(0,0,0,.08);background:rgba(255,255,255,.7);text-align:left;color:var(--ink);font-size:.98rem;font-weight:600;line-height:1.28}
.obr-fix .fi{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:rgba(0,0,0,.05);color:var(--acc);flex:none}
.obr-fix .ft{flex:1}.obr-fix .fc{width:28px;height:28px;border-radius:50%;border:2px solid rgba(0,0,0,.15);display:grid;place-items:center;color:transparent;flex:none}.obr-fix .fc .ic{width:18px;height:18px}
.obr-fix[aria-checked=true]{border-color:var(--acc);background:#fff;box-shadow:0 0 0 3px rgba(255,255,255,.9),0 6px 16px rgba(0,0,0,.1);font-weight:800;font-size:1.06rem}
.obr-fix[aria-checked=true] .fc{background:var(--acc);border-color:var(--acc);color:#fff}
.obr-more{margin:10px 2px 0;font-size:.92rem;font-weight:600;padding:8px 12px;border-radius:12px;background:rgba(0,0,0,.04)}
.obr-unlock{margin:0;font-weight:700;font-size:.92rem;padding:8px 14px;border-radius:999px;background:#fff;color:var(--acc);box-shadow:0 4px 12px rgba(0,0,0,.08);text-align:center}
.obr-btns{display:flex;gap:10px;width:100%;justify-content:center;flex-wrap:wrap}.obr-btns .ob-btn{flex:1;min-width:140px}
.obr-links{display:flex;flex-wrap:wrap;justify-content:center;gap:0 6px}
.obr-msg{margin:0;font-weight:700;font-size:.9rem;min-height:1.2em;text-align:center}
.obr-team{margin:0;font-size:.88rem;font-weight:700}
.ob-offer{width:100%;margin-top:4px}
.of{padding:12px 14px 6px;border-radius:16px;background:rgba(255,255,255,.55);border:1px solid rgba(0,0,0,.08);text-align:center;font-size:.9rem;opacity:.95}
.of-h{margin:0;font-weight:800;font-size:.95rem}.of-p{margin:4px 0 10px;line-height:1.35}
.of-form{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.of-form input{flex:1;min-width:170px;min-height:46px;border-radius:999px;border:1.5px solid rgba(0,0,0,.2);padding:0 14px;font-size:1rem;background:#fff;color:#222}
.of-consent{font-size:.82rem;font-weight:600;color:#222;margin:8px 0 2px;line-height:1.4}
.of-fine{font-size:.76rem;opacity:.95;margin:2px 0}.of-fine a,.of-msg a{color:#6b3510;font-weight:700;text-decoration:underline;text-underline-offset:2px}.of-msg{font-weight:700;margin:4px 0 0;min-height:1em}.of-x{font-size:.85rem}
#of-go:disabled{opacity:.7;cursor:wait}
/* ---------- kit + skills ---------- */
.obk{width:100%;max-width:560px;display:flex;flex-direction:column;align-items:center;gap:8px;padding-top:44px}
.obk-h{font-family:var(--serif);font-size:1.35rem;margin:12px 0 2px;color:var(--ink);text-shadow:none}
.pack{display:flex;flex-direction:column;align-items:center}.pack p{margin:4px 0 0}
.pack-body{--fill:0;position:relative;width:118px;height:118px;border-radius:34px;background:var(--kitc);color:#fff;display:grid;place-items:center;overflow:hidden;box-shadow:0 8px 0 rgba(0,0,0,.18),0 16px 30px rgba(0,0,0,.18)}
.pack-body .ic.big{width:74px;height:74px;position:relative;z-index:1}
.pack-f{position:absolute;left:0;right:0;bottom:0;height:calc(var(--fill)*100%);background:rgba(255,255,255,.28);transition:height 1s}
.obk-skills{width:100%;display:flex;flex-direction:column;gap:8px}
.sk{display:grid;grid-template-columns:40px 1fr auto;grid-template-rows:auto auto;align-items:center;column-gap:10px;padding:10px 12px;border-radius:16px;background:rgba(255,255,255,.65)}
.sk-i{grid-row:1/3;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;color:#fff}.s-money .sk-i{background:#c27a2c}.s-work .sk-i{background:#2f72b8}.s-health .sk-i{background:#25875a}
.sk b{font-size:1rem}.sk-l{font-weight:800;font-size:.85rem;color:var(--acc);justify-self:end}
.sk-bar{grid-column:2/4;display:flex;gap:4px}.sk-bar i{flex:1;height:8px;border-radius:4px;background:rgba(0,0,0,.1)}.sk-bar i.on{background:var(--acc)}
.sk-key{margin:0}
.obk-items{width:100%;display:flex;flex-direction:column;gap:10px}
.ki-b{font-weight:800;font-size:.85rem;display:block;margin-bottom:4px}
.ki-g{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.ki{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 4px;border-radius:14px;border:2px dashed rgba(0,0,0,.15);font-size:.68rem;line-height:1.15;text-align:center;opacity:.6;min-height:84px}
.ki.got{border:2px solid var(--acc);background:#fff;opacity:1;color:var(--ink)}.ki.got .ic{color:var(--acc)}.ki .q{font-weight:900;font-size:1.2rem;opacity:.5;height:24px}
.obk-looks{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.lk{display:grid;grid-template-columns:22px 1fr;grid-template-rows:auto auto;column-gap:8px;align-items:center;text-align:left;padding:8px 10px;min-height:52px;border-radius:14px;border:2px solid rgba(0,0,0,.1);background:rgba(255,255,255,.7);color:var(--ink);font-size:.85rem;font-weight:700}
.lk i{grid-row:1/3;width:22px;height:22px;border-radius:50%}.lk small{font-weight:600;opacity:.75}
.lk[aria-pressed=true]{border-color:var(--acc);background:#fff}.lk.locked{opacity:.5}
.obk-cards{width:100%;display:flex;flex-direction:column;gap:6px}
.kc{display:flex;gap:10px;align-items:center;padding:8px 12px;border-radius:12px;background:rgba(255,255,255,.7);font-size:.88rem;font-weight:600}.kc .ic{color:var(--acc)}
/* ---------- sheets ---------- */
.ob-sheet{position:absolute;inset:0;z-index:12;background:rgba(43,29,14,.4);display:flex;align-items:flex-end;justify-content:center;padding:calc(56px + var(--safe-t)) 10px calc(10px + var(--safe-b));animation:obIn .25s both}
.obt{width:100%;max-width:440px;max-height:100%;overflow-y:auto;padding:18px 18px 10px;border-radius:24px;background:#fffaf0;color:#2b1d0e;display:flex;flex-direction:column;align-items:center;gap:8px;box-shadow:0 -10px 40px rgba(0,0,0,.25)}
.obt-state{margin:0;font-weight:700;font-size:.9rem;text-align:center}
.obt-join{display:flex;gap:8px;width:100%}.obt-join input{flex:1;min-width:0;min-height:50px;border-radius:999px;border:1.5px solid rgba(0,0,0,.2);padding:0 16px;font-size:1.05rem;letter-spacing:.12em;text-transform:uppercase;background:#fff;color:#222}
.obs-img{width:auto;max-width:100%;max-height:42vh;border-radius:16px;box-shadow:0 8px 24px rgba(0,0,0,.18)}
/* ---------- the home split: two battles, one you ---------- */
#s-split{justify-content:center;gap:12px;padding-top:calc(60px + var(--safe-t))}
.split-head{text-align:center;flex:none}
.split-head h1{font-size:clamp(2rem,8vw,3.3rem)}
.split{flex:1;min-height:0;max-height:620px;width:100%;max-width:900px;display:grid;grid-template-rows:1fr 1fr;gap:12px}
.half{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border-radius:26px;padding:16px;text-align:center;overflow:hidden;border:0;min-height:0;transition:transform .15s}
.half:active{transform:scale(.97)}
.half .h-k{font-family:var(--serif);font-weight:700;font-size:clamp(1.9rem,7.6vw,2.6rem);line-height:1;position:relative}
.half .h-s{font-size:clamp(1rem,4.2vw,1.15rem);font-weight:600;position:relative}
.half .h-go{font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;font-weight:700;position:relative;opacity:.9}
.half .h-cta{position:relative;margin-top:6px;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 20px;border-radius:999px;font-weight:800;font-size:1rem}
.half.in{background:radial-gradient(120% 90% at 30% 10%,rgba(40,60,120,.35),rgba(3,8,22,.35));color:var(--cream);box-shadow:inset 0 0 0 1.5px rgba(212,166,74,.55),0 10px 40px rgba(0,0,0,.4);backdrop-filter:blur(1px)}
.half.in .h-go{color:var(--gold-bright)}.half.in .h-cta{background:linear-gradient(180deg,#f0c46a,#d4a64a);color:#0a1226}
.half.in::before{content:"";position:absolute;inset:0;background:radial-gradient(1.5px 1.5px at 20% 30%,#fff,transparent),radial-gradient(1px 1px at 70% 20%,#fff,transparent),radial-gradient(1.5px 1.5px at 82% 62%,#fff,transparent),radial-gradient(1px 1px at 35% 75%,#fff,transparent),radial-gradient(1px 1px at 55% 45%,#fff,transparent);opacity:.8;animation:twk 3s ease-in-out infinite alternate}
@keyframes twk{to{opacity:.35}}
.half.out{background:linear-gradient(170deg,#ffe3b8 0%,#ffcf96 50%,#f2ac72 100%);color:#2b1d0e;box-shadow:0 10px 40px rgba(0,0,0,.35)}
.half.out::before{content:"";position:absolute;right:-50px;top:-50px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,#fff6d6,rgba(255,232,170,0) 70%)}
.half.out::after{content:"";position:absolute;left:-10%;right:-10%;bottom:-62%;height:90%;border-radius:50%;background:rgba(255,255,255,.22)}
.half.out .h-go{color:#a85a1c}.half.out .h-cta{background:linear-gradient(180deg,#e9a24f,#c7793a);color:#fff}
.split-foot{text-align:center;flex:none;padding:0 8px}
.split-foot .brand{margin:0;font-family:var(--serif);font-style:italic;font-size:1.15rem;color:var(--cream)}
.split-foot .disc{font-size:.68rem;line-height:1.35;color:var(--mist);max-width:520px;margin:6px auto 0;padding:0 4px}
.split-foot .copy{margin:4px 0 0}
.of-ages{font-size:.78rem;font-weight:700;margin:4px 0 0;color:#222}
#obk-legal{max-width:420px;margin:12px auto 4px;padding:0 8px}
@media (max-width:360px){.split-foot .disc{font-size:.64rem;line-height:1.3;margin:4px auto 0;padding:0 8px}}
#s-home .home-back{z-index:2}
/* ---------- sizes: landscape phones and desktops ---------- */
@media (min-aspect-ratio:5/4){
  .split{grid-template-rows:1fr;grid-template-columns:1fr 1fr;max-height:440px}
  .obp-grid{flex-direction:row;align-items:stretch;gap:16px;max-width:1000px}
  .obp-stage{width:42%;display:flex;flex-direction:column;justify-content:center}
  .obp-grid .obp-main{width:58%;padding-bottom:78px}
  #ob-play .obp-top,#ob-play .obp-line{max-width:1000px}
  .obp-why{max-width:720px}
}
@media (min-aspect-ratio:5/4) and (max-height:500px){
  #s-split{gap:6px;padding-top:calc(54px + var(--safe-t))}.split-head h1{font-size:1.8rem}.split-head .eyebrow{display:none}.half{padding:10px}.half .h-cta{min-height:40px;padding:6px 16px}
  .split-foot .brand{font-size:1rem}.split-foot .disc{font-size:.62rem;line-height:1.3;margin:3px auto 0}
  #ob-play{padding-top:calc(50px + var(--safe-t))}.obp-top{position:absolute;top:calc(8px + var(--safe-t));left:0;right:0;margin:0 auto;width:calc(100% - 520px);min-width:170px;max-width:400px}
  .obp-top .ob-back{display:none}.obp-line{margin:0 0 4px;font-size:1rem}
  .obp-grid{gap:12px}.obp-stage{width:40%}.opt{min-height:52px;padding:8px 14px;font-size:.98rem}.obp-opts{gap:7px}
  .obp-grid .obp-main{padding-bottom:70px;gap:8px}.sit-t{font-size:1rem}
  .m-stage,.w-stage,.h-stage{flex-wrap:wrap}.bill{padding:10px 12px}.bill-h b{font-size:1.2rem}
  .ph-msgs{max-height:42vh}.buddy{width:84px;height:90px}
  .obp-why{min-height:54px;padding:8px 12px;bottom:calc(6px + var(--safe-b))}.obp-why .wt{font-size:.95rem}
  .obh,.obk{padding-top:40px}.ob-tile{min-height:116px}
  .ob-banner{font-size:28px}.ob-item{width:64px;height:64px;margin-top:10px}
}
@media (max-height:700px) and (max-aspect-ratio:5/4){
  #ob-play{padding-top:calc(var(--hud-pill-bottom, 56px) + 8px)}.obp-top{height:44px}.obp-line{margin:2px 0 4px;font-size:1.02rem}
  .obp-grid{gap:6px}.obp-main{gap:8px;padding-bottom:84px}.opt{min-height:54px;padding:9px 14px;font-size:1rem}.obp-opts{gap:8px}
  .sit-t{font-size:1.02rem}.bill{padding:10px 12px}.bill-h b{font-size:1.2rem}.m-stage{padding:4px 8px}.jar{width:38px;height:50px}
  .gauge{width:96px;height:56px}.needle{height:42px}.boss{width:42px;height:42px}.ph-bar{display:none}.ph-head{padding:6px 12px}.ph-msgs{padding:8px 10px;gap:6px}.bub{padding:8px 12px;font-size:.98rem}
  .buddy{width:84px;height:88px}.batt-body{width:96px;height:36px}.h-card{padding:10px 12px}
  .obp-why{min-height:56px;padding:9px 12px}.obp-why .wt{font-size:.96rem}
  .ob-tile{min-height:132px}.obh{gap:8px}
}
@media (prefers-reduced-motion:reduce){
  #ob *,#ob *::before,#ob *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.12s!important}
  .ob-won.on .ob-burst{opacity:.2;transform:scale(.8)}
}

#ob-play .obp-grid,#ob-play .obp-top,#ob-play .obp-line{transition:opacity .4s,filter .4s}
#ob-play.won .obp-grid,#ob-play.won .obp-line{opacity:.12;filter:blur(3px)}
/* v8 fix: short landscape phones (e.g. 844x390). Left column = world + situation, right column = the 3 options with the
   "why" panel under them, so nothing is cut off; Back sits in the top bar between the 988 pill and the sound button. */
@media (min-aspect-ratio:5/4) and (max-height:500px){
  .obp-top .ob-back{display:inline-flex;align-items:center;left:0;top:1px;min-height:44px;padding:4px 10px;font-size:.85rem}
  .obp-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);column-gap:14px;row-gap:6px;align-items:start}
  .obp-grid .obp-main{display:contents}
  .obp-grid .obp-stage{grid-column:1;grid-row:1;width:auto;justify-content:flex-start}
  .obp-grid .obp-sit{grid-column:1;grid-row:2;min-height:0}
  .obp-grid .obp-opts{grid-column:2;grid-row:1 / span 2;align-self:start}
  .ph-bar{display:none}.ph-head{padding:5px 12px}.ph-msgs{padding:6px 10px;gap:5px}.bub{padding:7px 12px;font-size:.95rem}
  .gauge{width:84px;height:50px}.needle{height:38px}.boss{width:38px;height:38px}
  .obp-why{left:calc(50% + 7px);right:12px;max-width:none;margin:0}
}
@media (min-aspect-ratio:5/4) and (max-height:500px){
  .obp-top{left:calc(318px + var(--safe-l, 0px));right:66px;width:auto;min-width:0;max-width:none;margin:0}
}
/* desktop: a little bigger so the worlds don't feel lost on a large screen */
@media (min-width:1100px) and (min-height:680px){#ob .obp-grid,#ob .obh,#ob .obr,#ob .obk{zoom:1.15}}
/* ---------------- v8b: the hands-on finisher ---------------- */
.ob-hand.drag{transition:transform 1.1s cubic-bezier(.45,0,.25,1) .15s}
.ob-hand.drag i{opacity:.95}
#obp-line.fin-line{font-weight:800}
.fin{display:flex;flex-direction:column;align-items:center;width:100%}
.fin-row{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:150px}
.fin-src{position:relative;touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab;border:0;background:rgba(255,255,255,.9);border-radius:24px;min-width:118px;min-height:118px;padding:10px 12px 8px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;box-shadow:0 10px 26px rgba(0,0,0,.16),0 0 0 3px var(--acc);color:var(--ink);font:inherit;z-index:3;
  animation:finBob 1.6s ease-in-out infinite;transition:box-shadow .2s}
.fin-src svg{width:86px;height:76px;pointer-events:none}
.fin-src.held{cursor:grabbing;animation:none;box-shadow:0 18px 36px rgba(0,0,0,.24),0 0 0 4px var(--acc)}
.fin-src.go{transition:transform .45s cubic-bezier(.5,0,.3,1),opacity .45s ease .1s;animation:none}
.fin-src:focus-visible{outline:3px solid #fff;outline-offset:3px}
.fin-lab{font-weight:800;font-size:.95rem;pointer-events:none}
@keyframes finBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
.fin-arr{display:flex;gap:2px;color:var(--acc)}
.fin-arr i{width:12px;height:12px;border-right:4px solid currentColor;border-top:4px solid currentColor;transform:rotate(45deg);opacity:.25;animation:finArr 1.2s ease-in-out infinite}
.fin-arr i:nth-child(2){animation-delay:.15s}.fin-arr i:nth-child(3){animation-delay:.3s}
@keyframes finArr{0%,100%{opacity:.2}40%{opacity:1}}
.fin-dst{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border-radius:22px;min-width:118px;min-height:118px;padding:10px;transition:transform .25s,box-shadow .25s,background .3s;
  border:3px dashed var(--acc);background:rgba(255,255,255,.5)}
.fin-dst.over{transform:scale(1.08);box-shadow:0 0 0 6px rgba(255,255,255,.7),0 0 30px var(--acc2)}
.fin-dst.sealed{border-style:solid;background:#fff;animation:finPop .5s cubic-bezier(.3,1.8,.5,1)}
@keyframes finPop{0%{transform:scale(.9)}60%{transform:scale(1.1)}100%{transform:scale(1)}}
.fin-cooler svg{width:84px;height:66px}.fin-cooler b{color:#1d5f94}
.fin-cooler.sealed .lid{transform:translateY(4px);transition:transform .3s}
.fin-habit{max-width:150px;text-align:center}.fin-habit .fh-k{font-size:.78rem;font-weight:700;opacity:.75;text-transform:uppercase;letter-spacing:.06em}.fin-habit b{font-size:1.05rem;line-height:1.2}
.fh-days{display:flex;gap:4px;margin-top:4px}.fh-days i{width:10px;height:10px;border-radius:50%;background:rgba(23,74,51,.18)}
.fin-habit.sealed .fh-days i:first-child{background:#3cc48a;box-shadow:0 0 8px #7ef0b5}
.fin-work .fin-src{min-width:150px;max-width:190px;border-radius:20px 20px 20px 6px;background:#fff}
.fin-bub{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:2px;pointer-events:none}.fin-bub b{font-size:.75rem;color:#c0392b;text-transform:uppercase;letter-spacing:.06em}.fin-bub span{font-size:.95rem;line-height:1.25}
.fin-work .fin-src .fin-lab{display:none}
.fin-health .fin-src{border-radius:50%;min-width:120px;min-height:120px;background:radial-gradient(circle,#fffdf0,#fff2c4)}.fin-health .fin-src .fin-lab{font-size:.8rem}
.orb-glow{animation:orbGlow 1.4s ease-in-out infinite;transform-origin:center;transform-box:fill-box}
@keyframes orbGlow{0%,100%{opacity:.4;transform:scale(.92)}50%{opacity:1;transform:scale(1.08)}}
.jar.fin-target{animation:finJar 1.4s ease-in-out infinite}
.jar.fin-target .jar-glass{box-shadow:0 0 0 4px rgba(255,255,255,.8),0 0 26px rgba(242,193,78,.9)}
@keyframes finJar{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}
.jar-glass.over{box-shadow:0 0 0 6px #fff,0 0 36px #f2c14e!important}
.jar-glass.sealed{animation:finPop .5s cubic-bezier(.3,1.8,.5,1)}
#ob .cloud.sunny svg path{fill:#ffe27a;transition:fill .6s}.cloud.sunny span{opacity:0}
.fin-ghost{position:fixed;z-index:8;pointer-events:none;transform:translate(-50%,-50%);opacity:.55;transition:transform 1.1s cubic-bezier(.45,0,.25,1) .15s,opacity 1.1s ease .3s;display:flex;flex-direction:column;align-items:center}
.fin-ghost svg{width:70px;height:62px}.fin-ghost .fin-lab,.fin-ghost .fin-bub{display:none}
.o-fin{display:none!important}
@media (prefers-reduced-motion:reduce){.fin-src,.jar.fin-target,.orb-glow,.fin-arr i{animation:none}}
@media (max-width:360px){.fin-row{gap:8px}.fin-work .fin-arr,.fin-health .fin-arr{display:none}.fin-work .fin-src{min-width:0;max-width:150px}.fin-dst{min-width:100px;min-height:104px;padding:8px}.fin-cooler svg{width:70px;height:56px}.fin-health .fin-src{min-width:108px;min-height:108px}.fin-src svg{width:74px;height:66px}}
/* ---------------- v8b item 3: the Health world, painted ---------------- */
#ob .h-scene{display:none;position:absolute;inset:0;width:100%;height:100%}
#ob.w-health .h-scene{display:block}
#ob.w-health .ob-bg .hill,#ob.w-health .ob-bg .sun{display:none}
#ob.w-health{background:#f3eadb}
.h-scene .day{opacity:calc(var(--prog,0) * .95);transition:opacity 1.4s ease}
.h-scene .sunG{transform:translateY(calc((1 - var(--prog,0)) * 170px));transition:transform 1.6s cubic-bezier(.3,1.2,.4,1)}
.h-scene .rays{opacity:calc(var(--prog,0) * .9);transform-origin:760px 230px;animation:hsRays 40s linear infinite}
@keyframes hsRays{to{transform:rotate(360deg)}}
.h-scene .c1{animation:hsDrift 46s ease-in-out infinite alternate}.h-scene .c2{animation:hsDrift 34s ease-in-out infinite alternate-reverse}
@keyframes hsDrift{from{transform:translateX(-60px)}to{transform:translateX(80px)}}
.h-scene .birds{opacity:calc(var(--prog,0) * 1.4 - .4);animation:hsBirds 18s linear infinite}
@keyframes hsBirds{from{transform:translate(-200px,30px)}to{transform:translate(500px,-40px)}}
.h-scene .tr .cn{transform-box:fill-box;transform-origin:50% 100%;animation:hsSway 5s ease-in-out infinite alternate}
.h-scene .tr.far{opacity:.85}
@keyframes hsSway{from{transform:rotate(-1.2deg)}to{transform:rotate(1.2deg)}}
.h-scene .fl .pt{transform-box:fill-box;transform-origin:center;transform:scale(calc(.15 + var(--prog,0) * .85));transition:transform 1.1s cubic-bezier(.3,1.6,.5,1) var(--d,0s)}
.h-scene .bfly{opacity:0;transition:opacity 1s}
#ob.w-health.full .h-scene .bfly{opacity:1}
.h-scene .b1{animation:hsFly1 9s ease-in-out infinite}.h-scene .b2{animation:hsFly2 11s ease-in-out infinite}
@keyframes hsFly1{0%{transform:translate(420px,690px) scale(.9)}25%{transform:translate(520px,640px) scale(.9,.6)}50%{transform:translate(640px,700px) scale(.9)}75%{transform:translate(540px,740px) scale(.9,.6)}100%{transform:translate(420px,690px) scale(.9)}}
@keyframes hsFly2{0%{transform:translate(780px,720px)}30%{transform:translate(700px,660px) scale(1,.6)}60%{transform:translate(620px,730px)}100%{transform:translate(780px,720px) scale(1,.6)}}
@media (prefers-reduced-motion:reduce){.h-scene *{animation:none!important}}
/* richer buddy */
.buddy .foot{fill:#2f7a4b;opacity:.85}
.buddy .arm{fill:none;stroke:#2f7a4b;stroke-width:9;stroke-linecap:round;transition:transform .6s cubic-bezier(.3,1.6,.5,1);transform-box:fill-box}
.buddy .al{transform-origin:100% 0}.buddy .ar{transform-origin:0 0}
.buddy .sprout{transform-box:fill-box;transform-origin:30% 100%;transform:rotate(58deg) translateY(4px);transition:transform .9s cubic-bezier(.3,1.6,.5,1)}
.buddy.e1 .sprout{transform:rotate(30deg)}.buddy.e2 .sprout{transform:rotate(8deg)}.buddy.e3 .sprout{transform:rotate(-4deg) scale(1.12)}
.buddy.e3 .al{transform:rotate(55deg)}.buddy.e3 .ar{transform:rotate(-55deg)}
.buddy.e3 .arm{animation:bdWave .9s ease-in-out infinite alternate}
@keyframes bdWave{from{translate:0 0}to{translate:0 -4px}}
.buddy .g2{opacity:0}.buddy.e2 .g2,.buddy.e3 .g2{opacity:.9}
.buddy.e1 .eyes,.buddy.e2 .eyes,.buddy.e3 .eyes{animation:bdBlink 4.2s infinite;transform-box:fill-box;transform-origin:center}
@keyframes bdBlink{0%,93%,100%{transform:scaleY(1)}96%{transform:scaleY(.1)}}
.buddy .zz{font:800 15px system-ui,sans-serif;fill:#174a33;opacity:0;transition:opacity .5s}
.buddy.e0 .zz{opacity:.6;animation:bdZz 2.4s ease-in-out infinite}
@keyframes bdZz{0%{transform:translateY(4px);opacity:.2}50%{opacity:.7}100%{transform:translateY(-6px);opacity:.2}}
#ob.w-health .buddy{filter:drop-shadow(0 8px 10px rgba(23,74,51,.18))}
#ob.w-health .buddy.e3{filter:drop-shadow(0 0 16px rgba(255,226,122,.85)) drop-shadow(0 8px 10px rgba(23,74,51,.18))}
#ob.w-health.full .buddy{animation:obHop 1.1s ease-in-out infinite}
.fin-jar svg{width:74px;height:82px}.fin-jar b{color:#7a5320}
.fin-jar .jf{transform-box:fill-box;transform-origin:50% 100%;transform:scaleY(.35);transition:transform .8s cubic-bezier(.3,1.5,.5,1) .2s}
.fin-jar.sealed .jf{transform:scaleY(1.9)}
/* v8b: the Health helper has a name: Sunny */
.buddy-w{display:flex;flex-direction:column;align-items:center;gap:2px}
.b-name{font-weight:800;font-size:.8rem;letter-spacing:.04em;padding:2px 10px;border-radius:999px;background:rgba(255,255,255,.8);color:#174a33;box-shadow:0 2px 6px rgba(23,74,51,.15)}
#ob.w-health .h-meter{background:rgba(255,255,255,.78);border-radius:999px;padding:2px 10px;box-shadow:0 2px 8px rgba(23,74,51,.1)}

/* ---------------- v8c: Money painted room ---------------- */
#ob .m-scene{display:none;position:absolute;inset:0;width:100%;height:100%}
#ob.w-money .m-scene{display:block}
#ob.w-money .ob-bg .hill,#ob.w-money .ob-bg .sun{display:none}
#ob.w-money{background:#edd4aa}
.m-scene .ms-day{opacity:calc(var(--prog,0) * .95);transition:opacity 1.4s ease}
.m-scene .ms-sun{transform-origin:1010px 140px;transform:translateY(calc((1 - var(--prog,0)) * 40px));transition:transform 1.6s cubic-bezier(.3,1.2,.4,1)}
.m-scene .ms-shafts{opacity:calc(.15 + var(--prog,0) * .7);transition:opacity 1.2s ease}
.m-scene .ms-glow{opacity:calc(.85 - var(--prog,0) * .55);transition:opacity 1.2s ease}
.m-scene .ms-curt{transform-box:fill-box;transform-origin:top center;animation:msCurt 8s ease-in-out infinite alternate}
@keyframes msCurt{from{transform:skewX(0)}to{transform:skewX(2deg)}}
.m-scene .mc{transform-box:fill-box;transform-origin:center}
#ob.w-money.full .m-scene .mc{animation:msGleam 1.8s ease-in-out infinite alternate}
@keyframes msGleam{from{filter:brightness(1)}to{filter:brightness(1.25)}}
@media (prefers-reduced-motion:reduce){.m-scene *{animation:none!important}}
/* slightly richer in-stage jar so it matches the room */
#ob.w-money .jar-glass{background:linear-gradient(180deg,rgba(255,255,255,.55),rgba(255,248,220,.2) 40%,rgba(242,193,78,.15));box-shadow:inset 0 0 0 2px rgba(143,101,56,.45),0 8px 16px rgba(91,58,23,.18)}
#ob.w-money .m-stage{background:rgba(255,250,238,.55);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);box-shadow:inset 0 0 0 2px rgba(184,105,44,.18),0 8px 20px rgba(91,58,23,.08)}

/* ---------------- v8c: finisher variants ---------------- */
.fin-jars{min-width:148px;padding:8px 10px 6px}
.fj-pair{display:flex;align-items:flex-end;gap:8px}
.fj{display:flex;flex-direction:column;align-items:center;gap:0}
.fj svg{width:54px;height:62px}
.fj em{font-style:normal;font-weight:800;font-size:.72rem;color:#7a5320;letter-spacing:.02em}
.fin-jars b{color:#7a5320;margin-top:2px}
.fin-jars .jf{transform-box:fill-box;transform-origin:50% 100%;transform:scaleY(.3);transition:transform .8s cubic-bezier(.3,1.5,.5,1) .2s}
.fin-jars.sealed .jf{transform:scaleY(1.9)}
.fin-cal{min-width:148px}
.cal{display:flex;flex-direction:column;align-items:center;gap:6px;background:#fff;border-radius:12px;padding:8px 8px 6px;box-shadow:inset 0 0 0 2px #2f7fc1}
.cal-h{font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#1d5f94}
.cal-days{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}
.cal-days i{width:18px;height:18px;border-radius:5px;background:#e9f2fb;color:#1d5f94;font-style:normal;font-size:.62rem;font-weight:800;display:grid;place-items:center}
.cal-days i.open{background:#2f7fc1;color:#fff;box-shadow:0 0 0 2px #fff,0 0 0 4px #5aa9e6}
.fin-cal.sealed .cal-days i.open{background:#3cc48a;box-shadow:0 0 0 2px #fff,0 0 8px #7ef0b5}
.fin-cal.sealed .cal-days i.open::after{content:"✓";font-size:.7rem}
.fin-cal b{color:#1d5f94}
.fin-later .fin-src{background:#fffef2;border-radius:14px}
.fin-plot svg{width:110px;height:86px}
.fin-plot b{color:#174a33}
.fin-plot .sprout{opacity:0;transition:opacity .6s ease .15s;transform-origin:60px 68px}
.fin-plot.sealed .sprout{opacity:1;animation:finSprout .7s cubic-bezier(.3,1.7,.5,1) both}
.fin-plot.sealed .hole{opacity:.35;transition:opacity .4s}
@keyframes finSprout{from{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}
.fin-seed .fin-src{background:radial-gradient(circle,#f3fbe8,#e4f3d2)}
@media (max-width:360px){
  .fin-jars{min-width:124px;padding:6px}
  .fj svg{width:44px;height:50px}
  .fin-cal{min-width:124px}
  .cal-days i{width:15px;height:15px}
  .fin-plot svg{width:90px;height:72px}
}

/* ---------------- v8c: 24px+ slack below the last option at 320x568 ---------------- */
@media (max-width:360px) and (max-height:620px) and (max-aspect-ratio:5/4){
  #ob-play{padding-top:calc(var(--hud-pill-bottom, 56px) + 8px)}
  .obp-top{height:40px}
  .obp-line{margin:0 0 2px;font-size:.95rem}
  .obp-grid{gap:4px}
  .obp-main{gap:5px;padding-bottom:70px}
  .opt{min-height:48px;padding:7px 12px;font-size:.95rem;line-height:1.18}
  .obp-opts{gap:6px}
  .sit-t{font-size:.92rem;line-height:1.25}
  .bill{padding:8px 10px}.bill-h{margin-bottom:4px;padding-bottom:4px}.bill-h b{font-size:1.05rem}
  .m-stage{padding:2px 6px;gap:8px}.jar{width:32px;height:42px}
  .w-stage{gap:6px;padding:2px 4px}
  .gauge{width:72px;height:42px}.needle{height:32px}.boss{width:34px;height:34px}
  .w-meter{min-width:64px}.w-meter b{font-size:.95rem}
  .ph-head{padding:4px 10px}
  .ph-msgs{padding:5px 8px;gap:4px;max-height:18vh}
  .ph-ctx{font-size:.82rem;margin:0 0 2px;line-height:1.25}
  .bub{padding:6px 10px;font-size:.9rem;line-height:1.2}
  .buddy{width:72px;height:76px}.batt-body{width:84px;height:30px}.h-card{padding:8px 10px}
  .obp-why{min-height:48px;padding:7px 10px;bottom:calc(6px + var(--safe-b))}
  .obp-why .wt{font-size:.9rem}
  .fin-row{min-height:124px;gap:6px}
}

/* ---------------- v8c: desktop 1280+ feels less sparse, without clutter ---------------- */
@media (min-width:1280px){
  #ob-play .obp-grid,#ob-play .obp-top,#ob-play .obp-line{max-width:1180px}
  #ob .obh,#ob .obk{max-width:720px}
  #ob .obr{max-width:640px}
  .split{max-width:1160px;max-height:740px}
  #ob-play .obp-grid{
    background:rgba(255,255,255,.28);
    border-radius:28px;
    padding:18px 22px 16px;
    box-shadow:0 18px 50px rgba(60,40,10,.1),inset 0 0 0 1px rgba(255,255,255,.5);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
  }
  #ob.w-work .ob-bg .sun{width:520px;height:520px;right:-80px;top:-100px;opacity:.9}
  #ob.w-work{background:linear-gradient(180deg,#f3f8fd 0%,#e1eef9 45%,#cddfed 100%)}
}
/* at 1280+ the wider max-width already fills the screen; don't also zoom or it overflows */
@media (min-width:1280px) and (min-height:680px){
  #ob .obp-grid,#ob .obh,#ob .obr,#ob .obk{zoom:1}
}
@media (min-width:1600px){
  #ob-play .obp-grid,#ob-play .obp-top,#ob-play .obp-line{max-width:1360px}
  .split{max-width:1320px}
  #ob-play .obp-grid{padding:22px 28px 18px}
}

/* v8d polish */
#obp-line.fin-line{margin-top:4px}
@media (max-width:360px){#obp-line.fin-line{margin-top:8px}}
#w-needle.drop{animation:wNeedleDrop .7s cubic-bezier(.2,1.2,.4,1)}
@keyframes wNeedleDrop{0%{transform:rotate(var(--a,62deg)) scale(1)}40%{transform:rotate(calc(var(--a,62deg) - 18deg)) scale(1.04)}100%{transform:rotate(var(--a,62deg))}}
@media (prefers-reduced-motion:reduce){#w-needle.drop{animation:none}}
/* landscape: keep the lamp on the desk, below the heading, not behind "Tap the best fix." */
/* v8d: short landscape crop is set in fitMoneyScene() (window + desk in the left column).
   Do not CSS-move the window or lamp here: those transforms overrode the SVG and hid the room. */
/* win overlay: let the world's lit end scene show through */
.ob-won{background:rgba(10,12,20,.12)}
.ob-won.w-money,.ob-won.w-work,.ob-won.w-health{background:transparent}
#ob-win-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none;z-index:0;display:block}
.ob-won .ob-burst,.ob-won .ob-banner,.ob-won .ob-vline,.ob-won .ob-item{position:relative;z-index:1}
/* v8f: restore the v8d gold pill and a near-opaque cream line so both stay ≥4.5:1 on Money, Work and Health */
.ob-won .ob-banner{color:#2b1d0e;background:linear-gradient(180deg,#ffe9a6,#f2c14e);box-shadow:0 0 0 3px #fff,0 14px 40px rgba(0,0,0,.25)}
.ob-won .ob-vline{color:#2b1d0e;background:rgba(255,248,230,.96);border-radius:14px;padding:8px 16px;box-shadow:0 6px 20px rgba(0,0,0,.18)}

/* v8f: in short landscape, sit Outside Back just to the right of the 988 pill so the pill never covers it */
@media (max-height:500px) and (min-width:600px){
  html.ob-on .ob-back,html.ob-on .obp-top .ob-back{
    left:calc(var(--hud-pill-right, 328px) + 8px);
    top:calc(8px + var(--safe-t));
    display:inline-flex;align-items:center;
  }
}
