/* Fix & Flex design system (loaded last). One panel, one button family, one type scale.
   Panels: deep navy, thin border, 20px corners. Buttons: solid colour, soft bottom edge, no gloss or glow.
   Type: Poppins 600 for labels, 400/500 for text. Every new screen should use .pnl / .btn. */
:root{--bg0:#070c1f;--bg1:#0e1633;--bg2:#151f44;--line:#26325e;--line2:#34427a;--ink:#f3f6ff;--ink2:#a7b3d9;--ink3:#76829f;
  --gold:#f6b730;--gold-d:#a8740a;--red:#ef4343;--red-d:#9e1d1d;--blue:#3478f6;--blue-d:#1c4aa8;--green:#22b35e;--green-d:#127238}

.sheet.pnl-sheet{max-width:420px;max-height:94%;padding:0;background:none;border:0;box-shadow:none}
.pnl{display:flex;flex-direction:column;gap:12px;padding:16px 14px 16px;border-radius:20px;background:linear-gradient(180deg,var(--bg2),var(--bg1) 60%,var(--bg0));
  border:1px solid var(--line);box-shadow:0 24px 60px rgba(0,0,0,.6);color:var(--ink);animation:pnlIn .22s ease-out}
@keyframes pnlIn{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
.pnl-h{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.pnl-h b{display:block;font:600 20px/1.2 var(--display);letter-spacing:-.01em}
.pnl-h small{display:block;margin-top:2px;font:400 12.5px var(--body);color:var(--ink2)}
.pnl-x{position:relative;flex:none;width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1)}
.pnl-x::before,.pnl-x::after{content:"";position:absolute;left:9px;top:14.5px;width:13px;height:1.6px;border-radius:1px;background:var(--ink2);transform:rotate(45deg)}
.pnl-x::after{transform:rotate(-45deg)}
.pnl-note{margin:0!important;font:400 12.5px/1.45 var(--body)!important;color:var(--ink2)!important;text-align:left!important}
.pnl-note b{color:var(--ink);font-weight:600}
.pnl-big{margin:0!important;font:600 17px/1.35 var(--display)!important;color:var(--ink)!important;text-align:center!important}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 16px;border-radius:12px;font:600 14.5px/1 var(--body);color:#fff;white-space:nowrap;
  background:var(--c,var(--blue));box-shadow:inset 0 -3px 0 rgba(0,0,0,.22),0 2px 6px rgba(0,0,0,.25);transition:transform .08s,filter .15s}
.btn:active:not(:disabled){transform:translateY(1px);box-shadow:inset 0 -1px 0 rgba(0,0,0,.22)}
.btn:disabled{filter:grayscale(.8) brightness(.7);cursor:default}
.btn.big{min-height:52px;font-size:16.5px;border-radius:14px}
.btn.sm{min-height:34px;padding:0 12px;font-size:13px;border-radius:10px}
.btn.red{--c:var(--red)}.btn.blue{--c:var(--blue)}.btn.green{--c:var(--green)}
.btn.gold{--c:linear-gradient(#ffc84a,#f0a51c);color:#3b2400}
.btn.ghost{background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px var(--line2);color:var(--ink)}

/* raid */
.rv{display:flex;align-items:center;gap:12px;padding:12px;border-radius:16px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.rv>img{width:56px;height:56px;border-radius:50%;object-fit:cover;border:2px solid var(--line2)}
.rv>div:not(.rv-sh){flex:1;min-width:0}
.rv b{display:block;font:600 16px var(--display);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rv small{font:400 12px var(--body);color:var(--ink2)}
.rv-sh{display:flex;gap:2px}.rv-sh svg{width:20px;height:20px}
.rv-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.rv-stats div{padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.rv-stats small{display:block;font:500 11px var(--body);color:var(--ink3);text-transform:uppercase;letter-spacing:.08em}
.rv-stats b{font:600 17px var(--display)}
.rv-by{display:flex;gap:8px}
.rv-by input{flex:1;min-width:0;height:42px;border-radius:12px;border:1px solid var(--line2);background:var(--bg0);color:var(--ink);padding:0 12px;font:400 14px var(--body)}
.rb{display:grid;place-items:center;padding:6px}.rb svg{width:84px;height:84px;filter:drop-shadow(0 0 20px rgba(60,140,255,.5));animation:rbPop .5s cubic-bezier(.2,1.6,.4,1)}
@keyframes rbPop{from{transform:scale(.4)}}
.rs-top{display:flex;justify-content:space-between;font:500 13px var(--body);color:var(--ink2)}
.rs-top b{color:var(--ink);font-weight:600}
.rs-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.rs{position:relative;aspect-ratio:1.1;border-radius:16px;background:radial-gradient(circle at 50% 35%,#1d2a58,#0b1230);border:1px solid var(--line2);display:grid;place-items:center;overflow:hidden;transition:transform .15s}
.rs svg{width:62%;transition:transform .35s}
.rs:active{transform:scale(.97)}
.rs em{position:absolute;inset:auto 0 12px;text-align:center;font:600 17px var(--display);font-style:normal;color:#ffd35a;opacity:0;transform:translateY(8px);transition:.3s}
.rs.rs-open svg{transform:scale(.7) translateY(-14px);opacity:.55}
.rs.rs-open em{opacity:1;transform:none}
.rs.rs-full{border-color:#c9952a;background:radial-gradient(circle at 50% 35%,#4a3a12,#140f04)}
.rs.rs-empty em{color:var(--ink3)}
.rs.rs-missed{opacity:.55}.rs.rs-missed em{color:var(--ink2);font-size:14px}

/* defense */
.df-cards{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.df-card{display:flex;flex-direction:column;gap:4px;padding:12px 10px;border-radius:16px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.df-card b{font:600 14.5px var(--display)}
.df-card small{font:400 11px/1.35 var(--body);color:var(--ink2);min-height:2.7em}
.df-shields{display:flex;gap:2px;height:26px}.df-shields svg{width:22px;height:24px}
.df-vault svg{width:30px;height:28px}
.df-row{display:flex;gap:6px;margin-top:4px}
.df-row .btn{flex:1;padding:0 6px}
.df-row input{width:0;flex:1.4;height:34px;border-radius:10px;border:1px solid var(--line2);background:var(--bg0);color:var(--ink);padding:0 8px;font:400 13px var(--body)}
.df-risk{padding:10px 12px;border-radius:12px;background:rgba(239,67,67,.08);border:1px solid rgba(239,67,67,.25);font:400 12.5px var(--body);color:var(--ink2)}
.df-risk b{color:#ff8a8a;font-weight:600}
.df-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:3px;border-radius:12px;background:var(--bg0)}
.df-tabs button{position:relative;padding:8px;border-radius:9px;font:600 12.5px var(--body);color:var(--ink2)}
.df-tabs button.on{background:var(--bg2);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line2)}
.df-tabs i{position:absolute;top:7px;margin-left:4px;width:7px;height:7px;border-radius:50%;background:var(--red)}
.df-pane{display:flex;flex-direction:column;gap:6px;max-height:30dvh;overflow-y:auto;scrollbar-width:none}
.df-pane[hidden]{display:none}
.df-up{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:12px;background:rgba(255,255,255,.035);border:1px solid var(--line)}
.df-up>div{flex:1;min-width:0}
.df-up b{display:block;font:600 13.5px var(--body)}
.df-up small{display:block;font:400 11px/1.3 var(--body);color:var(--ink3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.df-ev{display:flex;align-items:center;gap:10px;padding:9px 4px;border-bottom:1px solid var(--line);font:400 12.5px/1.35 var(--body);color:var(--ink)}
.df-ev i{flex:none;width:8px;height:8px;border-radius:50%;background:var(--ink3)}
.df-ev.loss i{background:var(--red)}.df-ev.win i{background:var(--gold)}.df-ev.defended i{background:var(--blue)}
.df-ev span{flex:1;min-width:0}.df-ev small{display:block;color:var(--ink3);font-size:11px}

.rs-grid .rs{grid-column:auto!important;grid-row:auto!important;width:auto!important;height:auto!important}

/* Jackpot spins bar */
.jk-spins{display:flex;align-items:center;gap:8px;width:100%;padding:6px 6px 6px 10px;border-radius:12px;background:rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.08)}
.jk-spins i{width:18px;height:18px;background:url("../img/jp/zap.webp?v=1") center/contain no-repeat}
.jk-spins b{font:600 15px var(--display);color:#fff}
.jk-spins small{flex:1;font:400 11.5px var(--body);color:var(--ink2)}
.jk-spins button{height:28px;padding:0 10px;border-radius:8px;background:var(--blue);color:#fff;font:600 12px var(--body);display:flex;align-items:center;gap:4px}
.jk-spins button::after{content:"";width:13px;height:13px;background:url("../img/icons/gem.png") center/contain no-repeat}

/* ================= Home (v2.34): rails left and right, project in the middle, tab bar at the bottom ================= */
#home.show{display:flex;flex-direction:column}
#home .h2{flex:1;min-height:0;display:flex;gap:8px;padding:10px 8px 6px;position:relative}
#home .rail{flex:none;width:64px;display:flex;flex-direction:column;justify-content:flex-start;gap:9px}
#home .hb{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;width:64px;padding:7px 0 6px;border-radius:16px;
  background:linear-gradient(180deg,rgba(28,40,86,.92),rgba(12,20,48,.92));border:1px solid rgba(120,150,230,.22);
  box-shadow:0 4px 12px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.08);color:#e9eeff;transition:transform .1s}
#home .hb:active{transform:scale(.94)}
#home .hb svg{width:34px;height:34px;filter:drop-shadow(0 2px 2px rgba(0,0,0,.35))}
#home .hb span{font:600 10.5px/1.1 var(--body);white-space:nowrap;letter-spacing:.01em}
#home .hb.gold{background:linear-gradient(180deg,#6b4a0c,#2c1d04);border-color:rgba(255,200,80,.55);box-shadow:0 4px 14px rgba(0,0,0,.4),0 0 14px rgba(255,190,50,.25),inset 0 1px 0 rgba(255,230,160,.2)}
#home .badge{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;border:2px solid #0b1638;
  background:#ef4444;color:#fff;font:700 11px/16px var(--body);text-align:center;box-shadow:none;transform:none;animation:none}
#home .badge.blue{background:#2563eb}#home .badge.gold{background:#f2a614;color:#2d1a00}
#home .badge[hidden]{display:none}

#home .h2-c{flex:1;min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:8px}
#home .proj-card{position:relative;padding:9px 12px 10px;border-radius:16px;background:rgba(10,18,44,.82);border:1px solid rgba(120,150,230,.22);box-shadow:0 6px 18px rgba(0,0,0,.35);cursor:pointer;
  left:auto;top:auto;width:auto;height:auto;backdrop-filter:none}
#home .proj-card small{display:block;font:500 10.5px var(--body);color:#9fb0dc;text-transform:uppercase;letter-spacing:.08em}
#home .proj-card b{display:block;font:600 16px/1.25 var(--display);color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:30px}
#home .proj-card .info{position:absolute;right:10px;top:10px;width:24px;height:24px;border-radius:50%;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);font:600 13px/22px var(--body);color:#fff;text-align:center}
#home .proj-card .pbar{display:flex;align-items:center;gap:8px;margin-top:6px}
#home .proj-card .pbar>i{flex:1;height:7px;border-radius:4px;background:rgba(0,0,0,.45);overflow:hidden;display:block}
#home .proj-card .pbar>i>i{display:block;height:100%;border-radius:4px;background:linear-gradient(90deg,#ffd35a,#f29a0e);transition:width .6s}
#home .proj-card .pbar span{font:600 12px var(--body);color:#ffd35a}

#home .hm-scene{flex:1;min-height:0;width:100%;display:grid;place-items:center;padding:0}
#home .scene-item{left:0!important;top:0!important}

#home .stage-row{position:static;width:auto;height:auto;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;background:none}
#home .stg{width:auto;height:auto;border-radius:12px;border:1px solid rgba(120,150,230,.25);background:rgba(10,18,44,.85);display:flex;flex-direction:column;overflow:hidden}
#home .stg header{height:auto;min-height:26px;padding:4px 5px;font:600 9.5px/1.15 var(--body);color:#dfe6ff;display:flex;align-items:center;gap:3px;-webkit-text-stroke:0;text-shadow:none;letter-spacing:0;white-space:normal}
#home .stg header em{font:700 10px var(--body);color:#8fa3d6;margin:0}
#home .stg header span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#home .stg .im{flex:none;aspect-ratio:4/3;height:auto}
#home .stg.cur{border-color:#f2a614;box-shadow:0 0 0 1px #f2a614,0 0 14px rgba(242,166,20,.45)}
#home .stg.cur header em{color:#ffd35a}
#home .stg .st{top:auto;bottom:4px;right:4px;width:20px;height:20px;border-width:1.5px}
#home .stg .st svg{width:12px;height:12px}

#home .play{position:relative;display:flex;align-items:center;justify-content:center;gap:12px;height:58px;border-radius:18px;color:#fff;
  background:linear-gradient(180deg,#45d873,#16a34a);box-shadow:inset 0 -4px 0 rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.35),0 8px 20px rgba(22,163,74,.35);transition:transform .1s}
#home .play:active{transform:translateY(2px)}
#home .play b{font:700 26px/1 var(--display);letter-spacing:.06em;text-transform:uppercase;text-shadow:0 2px 0 rgba(0,70,20,.4)}
#home .play small{padding:4px 9px;border-radius:9px;background:rgba(0,0,0,.22);font:600 12px var(--body)}

#home .jfpromo{flex:none;max-width:none;padding:0 8px 6px}
#home .tabbar{flex:none;display:grid;grid-template-columns:repeat(5,1fr);padding:6px 4px calc(6px + var(--safeB));background:rgba(7,12,31,.96);border-top:1px solid rgba(120,150,230,.18)}
#home .tabbar button{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;padding:4px 0;color:#8391bb;font:500 10.5px var(--body)}
#home .tabbar svg{width:22px;height:22px}
#home .tabbar .on{color:#fff}
#home .tabbar .on::before{content:"";position:absolute;top:-6px;left:30%;right:30%;height:3px;border-radius:0 0 3px 3px;background:#f2a614}
#home .tabbar .badge{top:-4px;right:calc(50% - 20px)}
@media (max-height:680px){#home .stage-row{display:none}#home .play{height:50px}#home .hb{padding:5px 0 4px}#home .hb svg{width:28px;height:28px}#home .rail{gap:6px}}
#home .h2-b{flex:none;display:flex;flex-direction:column;gap:8px;padding:0 8px 8px}
#home .h2-b .stage-row{grid-template-columns:repeat(4,1fr);gap:6px}
#home .stg header{font-size:10px}
#home .h2{padding-bottom:4px}
/* JetFlux banner on home: one slim line */
#home .jfpromo .pv-in{border-radius:12px;background:rgba(10,18,44,.92)!important;border:1px solid rgba(120,150,230,.22)!important;box-shadow:none!important}
#home .jf-go{padding:5px 30px 5px 8px;gap:8px}
#home .jf-go img{height:20px}
#home .jf-go span{flex-direction:row;align-items:baseline;gap:6px;padding-left:8px}
#home .jf-go b{font:600 12px var(--body);white-space:nowrap}
#home .jf-go small{display:none}
#home .jf-go em{padding:5px 9px;font:600 11px var(--body);border-radius:8px}
#home .jf-x{right:-5px;top:-5px;width:20px;height:20px}

/* Garage Clash */
.cl3-league{display:flex;align-items:center;gap:12px;padding:12px;border-radius:16px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.cl3-tr svg{width:40px;height:40px}
.cl3-lg{flex:1;min-width:0}
.cl3-lg b{display:block;font:600 15px var(--display)}
.cl3-lg i{display:block;height:6px;margin:6px 0 4px;border-radius:3px;background:rgba(0,0,0,.45);overflow:hidden}
.cl3-lg em{display:block;height:100%;background:linear-gradient(90deg,#ffd35a,#f29a0e);border-radius:3px}
.cl3-lg small{font:400 11.5px var(--body);color:var(--ink2)}
.cl3-w{text-align:center;padding-left:12px;border-left:1px solid var(--line)}
.cl3-w b{display:block;font:600 18px var(--display)}.cl3-w small{font:400 11px var(--body);color:var(--ink2)}
.cl3-list{display:flex;flex-direction:column;gap:8px}
.cl3-r{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid var(--line);color:var(--ink);text-align:left;transition:background .15s,transform .1s}
.cl3-r:active{transform:scale(.98);background:rgba(255,255,255,.08)}
.cl3-ic svg{width:40px;height:40px;display:block}
.cl3-t{flex:1;min-width:0}.cl3-t b{display:block;font:600 15px var(--body)}.cl3-t small{display:block;font:400 12px var(--body);color:var(--ink2)}
.cl3-r>i{width:9px;height:9px;border-right:2px solid var(--ink3);border-top:2px solid var(--ink3);transform:rotate(45deg);margin-right:4px}
/* Jackpot: the machine glows while the last reel decides */
.jk-mach.tease{animation:jkTease .35s ease-in-out infinite alternate}
@keyframes jkTease{to{filter:drop-shadow(0 0 18px rgba(255,200,60,.9)) brightness(1.08)}}

/* ===== every older pop-up in the same design: dark panel, plain heading, one button family ===== */
.sheet.frame{background:linear-gradient(180deg,var(--bg2),var(--bg1) 60%,var(--bg0))!important;border:1px solid var(--line)!important;border-radius:20px!important;
  box-shadow:0 24px 60px rgba(0,0,0,.6)!important;padding:16px 14px!important;gap:10px!important}
.sheet.frame>.ribbon:first-child,.ribbon{margin:0 0 2px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;
  text-align:left!important;font:600 20px/1.25 var(--display)!important;color:var(--ink)!important;text-shadow:none!important;letter-spacing:-.01em}
.ribbon em{color:var(--gold)!important}
.sheet.frame p,.sheet.frame .gift-label,.sheet.frame .gift-rules{font:400 13px/1.5 var(--body)!important;color:var(--ink2)!important;text-align:left!important}
.sheet.frame p b{color:var(--ink)}
.sheet.frame h3{font:600 14px var(--body)!important;text-align:left!important;color:var(--ink)}
.sheet .plain-in,.sheet input.plain-in,.sheet select.plain-in{height:42px;border-radius:12px!important;border:1px solid var(--line2)!important;background:var(--bg0)!important;color:var(--ink)!important;font:400 14px var(--body)!important;padding:0 12px!important}

/* buttons inside pop-ups: solid for the main action, quiet for the rest */
.sheet .gbtn,.pnl .gbtn{min-height:42px;border-radius:12px!important;border:0!important;font:600 14px/1 var(--body)!important;text-shadow:none!important;box-shadow:inset 0 -3px 0 rgba(0,0,0,.22),0 2px 6px rgba(0,0,0,.25)!important;background:var(--blue)!important;color:#fff!important}
.sheet .gbtn.green{background:var(--green)!important}.sheet .gbtn.red{background:var(--red)!important}
.sheet .gbtn.gold{background:linear-gradient(#ffc84a,#f0a51c)!important;color:#3b2400!important}
.sheet .gbtn.violet{background:#7c3aed!important}
.sheet .gbtn.white{background:rgba(255,255,255,.06)!important;box-shadow:inset 0 0 0 1px var(--line2)!important;color:var(--ink)!important}
.sheet .gbtn.big{min-height:50px;font-size:16px!important}

/* art cards (settings, invite, tournament, pause...): same panel, plain title */
.art-card{padding-top:0!important;animation:pnlIn .22s ease-out!important}
.ac-title{position:static!important;margin:0 0 10px!important;padding:16px 16px 0;text-align:left!important;font:600 20px/1.2 var(--display)!important;filter:none!important;color:var(--ink)}
.ac-title span,.ac-title em{display:inline!important;-webkit-text-stroke:0!important;color:var(--ink)!important;font-style:normal}
.ac-title em{margin-left:.28em}
.art-card{background:linear-gradient(180deg,var(--bg2),var(--bg1) 60%,var(--bg0));border:1px solid var(--line);border-radius:20px;box-shadow:0 24px 60px rgba(0,0,0,.6);overflow:hidden}
.ac-frame{background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0 16px 16px!important;gap:10px!important}
.ac-txt,.sheet .ac-frame .ac-txt{font:400 13.5px/1.5 var(--body)!important;color:var(--ink2)!important;text-align:left!important}
.ac-txt b{color:var(--ink)}
.ac-btn{height:44px!important;border-radius:12px!important;border:0!important;font:600 14.5px var(--body)!important;text-shadow:none!important;box-shadow:inset 0 -3px 0 rgba(0,0,0,.22)!important;background:var(--blue)!important;color:#fff!important}
.ac-btn.green{background:var(--green)!important}
.ac-btn.white{background:rgba(255,255,255,.06)!important;box-shadow:inset 0 0 0 1px var(--line2)!important;color:var(--ink)!important}
.ac-pill{background:rgba(255,255,255,.05)!important;border:1px solid var(--line)!important;box-shadow:none!important;color:var(--ink)!important;font:600 4.2cqw var(--body)!important}
.art-card .tr-row,.art-card .tr-me,.art-card .tr-prizes>div,.art-card .inv-link{background:rgba(255,255,255,.04)!important;border:1px solid var(--line)!important;color:var(--ink)!important;border-radius:12px!important;box-shadow:none!important}
.art-card .tr-row b,.art-card .tr-row span,.art-card .tr-prizes b{color:var(--ink)!important}
.art-card .tr-prizes small,.art-card .tr-row em{color:var(--ink2)!important}
.art-card .inv-link{color:#9cc3ff!important;font:500 13px var(--body)!important;padding:10px 12px!important}
.st-row,.art-card .st-row{background:rgba(255,255,255,.04)!important;border:1px solid var(--line)!important;border-radius:12px!important;box-shadow:none!important}
.st-row b,.art-card .st-row b{color:var(--ink)!important;font:600 14px var(--body)!important}
.st-row small,.art-card .st-row small{color:var(--ink2)!important}

/* profiles: one strong action, the rest quiet */
.fs-acts .gbtn:not(.red){background:rgba(255,255,255,.06)!important;box-shadow:inset 0 0 0 1px var(--line2)!important;color:var(--ink)!important}
#profBody .gbtn{border-radius:12px!important;border:0!important;text-shadow:none!important;font:600 13.5px var(--body)!important}
#profBody .p-grid .gbtn,#profBody #pInstall,#profBody #vRm{background:rgba(255,255,255,.06)!important;box-shadow:inset 0 0 0 1px var(--line2)!important;color:var(--ink)!important}
#profBody #signOut{background:none!important;box-shadow:inset 0 0 0 1px rgba(239,67,67,.4)!important;color:#ff8a8a!important}
#profBody #pEdit{background:var(--blue)!important;color:#fff!important}
/* settings */
.set-row{background:rgba(255,255,255,.04)!important;border:1px solid var(--line)!important;border-radius:12px!important;box-shadow:none!important;padding:10px 12px!important}
.set-row b{color:var(--ink)!important;font:600 14px var(--body)!important}.set-row small{color:var(--ink2)!important;font:400 11.5px var(--body)!important}
/* daily reward */
.days .day{background:rgba(255,255,255,.04)!important;border:1px solid var(--line)!important;border-radius:12px!important;box-shadow:none!important;color:var(--ink)!important}
.days .day b{font:600 11.5px var(--body)!important;color:var(--ink2)!important;text-shadow:none!important}
.days .day span{color:var(--ink)!important;font:500 9.5px/1.2 var(--body)!important;text-shadow:none!important}
.days .day.today{border-color:var(--gold)!important;box-shadow:0 0 0 1px var(--gold),0 0 18px rgba(246,183,48,.3)!important;background:rgba(246,183,48,.08)!important}
.days .day.today b{color:var(--gold)!important}
.days .day.got{opacity:.5}
.days .day.d7{background:linear-gradient(180deg,rgba(246,183,48,.16),rgba(246,183,48,.04))!important;border-color:rgba(246,183,48,.45)!important}
.daily-week{background:rgba(246,183,48,.1)!important;border:1px solid rgba(246,183,48,.3)!important;color:var(--gold)!important;border-radius:10px!important;font:500 12px var(--body)!important}
/* shop */
.shop-row{background:rgba(255,255,255,.04)!important;border:1px solid var(--line)!important;box-shadow:none!important}
.shop-row .gbtn{background:rgba(255,255,255,.07)!important;border:0!important;box-shadow:inset 0 0 0 1px var(--line2)!important;color:var(--ink)!important;text-shadow:none!important}
.shop-h{color:var(--ink2)!important;text-transform:uppercase;letter-spacing:.08em;font:600 11px var(--body)!important}
/* chat box, friends header buttons */
.fs-chatbox{background:linear-gradient(180deg,var(--bg2),var(--bg0))!important;border:1px solid var(--line)!important}
.fs-m span{background:#22305e!important}.fs-m.me span{background:var(--green)!important}
.fs-quick button{background:rgba(255,255,255,.06)!important;border:1px solid var(--line2)!important}
.fs-x{background:rgba(255,255,255,.08)!important}
.sub-top .gbtn{min-height:30px!important;padding:5px 10px!important;border-radius:9px!important;font:600 12px var(--body)!important;text-shadow:none!important;box-shadow:none!important;border:0!important}
.share-me{background:rgba(255,255,255,.04)!important;border:1px solid var(--line)!important;box-shadow:none!important;border-radius:14px!important}
.share-me .gbtn{border-radius:10px!important;border:0!important;text-shadow:none!important;box-shadow:none!important;font:600 13px var(--body)!important}
.p-row{background:rgba(255,255,255,.04)!important;border:1px solid var(--line)!important}
.tabs3{background:rgba(0,0,0,.35)!important}
.tabs3 button.on{background:var(--bg2)!important;box-shadow:inset 0 0 0 1px var(--line2)}
.screen.sub{background:linear-gradient(180deg,var(--bg1),var(--bg0))!important}
.sub-top{background:rgba(7,12,31,.92)!important;border-bottom:1px solid var(--line)}

/* first-time guide */
.gd{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;padding:6px 4px 2px}
.gd-ic{width:84px;height:84px;border-radius:24px;display:grid;place-items:center;background:rgba(255,255,255,.05);border:1px solid var(--line)}
.gd-ic svg{width:52px;height:52px}
.gd>b{font:600 22px var(--display)}
.gd>p{margin:0!important;font:400 14px/1.55 var(--body)!important;color:var(--ink2)!important;text-align:center!important}
.gd-dots{display:flex;gap:6px;margin:4px 0}.gd-dots i{width:7px;height:7px;border-radius:4px;background:var(--line2);transition:width .2s}.gd-dots i.on{width:20px;background:var(--gold)}
.gd .btn{align-self:stretch}
/* crews */
.hub-sec,.gframe.crew-card{background:rgba(255,255,255,.04)!important;border:1px solid var(--line)!important;box-shadow:none!important;border-radius:16px!important}
/* small phones */
.df-card{min-width:0}.df-row{flex-wrap:wrap}.df-row input{min-width:0}
@media (max-width:360px){.pnl{padding:13px 11px;gap:9px}.df-row input{flex:1 1 100%;width:auto}.df-row .btn{flex:1 1 40%}.df-card small{min-height:0}}
@media (max-height:700px){.pnl{gap:8px;padding-top:12px;padding-bottom:12px}.pnl-h small{display:none}.cl3-r{padding:7px 10px}.cl3-ic svg{width:34px;height:34px}.cl3-league{padding:8px 10px}
  .df-cards small,.df-risk{display:none}.df-pane{max-height:24dvh}.rv-stats div{padding:7px 10px}}
/* rail icons: the game's own 3D art */
#home .hb img{width:38px;height:38px;object-fit:contain;filter:drop-shadow(0 3px 3px rgba(0,0,0,.45))}
#home .hb[data-act="chat"] img{border-radius:50%}
#home .hb[data-act="missions"] img{width:36px;height:36px}
@media (max-height:680px){#home .hb img{width:32px;height:32px}}

/* Events: Streak Rush */
.ev-card{display:flex;flex-direction:column;gap:9px;padding:12px;border-radius:16px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.ev-hd{display:flex;gap:10px;align-items:center}.ev-hd img{width:40px;height:40px;object-fit:contain}
.ev-hd b{display:block;font:600 16px var(--display)}.ev-hd small{display:block;font:400 12px/1.35 var(--body);color:var(--ink2)}
.ev-now{display:flex;justify-content:space-between;font:400 12.5px var(--body);color:var(--ink2)}.ev-now b{color:var(--gold);font-weight:600;font-size:15px}
.ev-steps{display:flex;flex-direction:column;gap:6px}
.ev-st{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:12px;background:rgba(0,0,0,.25);border:1px solid var(--line)}
.ev-n{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font:700 15px var(--display);background:var(--bg0);border:2px solid var(--line2);color:var(--ink2)}
.ev-st.ready{border-color:rgba(246,183,48,.6);background:rgba(246,183,48,.08)}.ev-st.ready .ev-n{border-color:var(--gold);color:var(--gold)}
.ev-st.got{opacity:.55}.ev-st.got .ev-n{background:var(--green);border-color:var(--green);color:#fff}
.ev-p{flex:1;min-width:0}.ev-p b{display:block;font:600 13px var(--body)}.ev-p small{display:block;font:400 11px var(--body);color:var(--ink2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ev-lk,.ev-ok{font:500 11px var(--body);color:var(--ink3);white-space:nowrap}.ev-ok{color:#5be08d}
.ev-lbh{font:600 11px var(--body);color:var(--ink3);text-transform:uppercase;letter-spacing:.08em;margin-top:2px}
.ev-lb{display:flex;align-items:center;gap:8px;font:400 12.5px var(--body)}.ev-lb em{width:16px;font-style:normal;color:var(--ink3)}
.ev-lb img{width:24px;height:24px;border-radius:50%;object-fit:cover}.ev-lb b{flex:1;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ev-lb span{color:var(--gold)}
.ev-lb.me b{color:var(--gold)}
@media (max-height:760px){.ev-card{gap:6px;padding:9px}.ev-st{padding:6px 8px}.ev-hd small,.ev-lbh,.ev-lb{display:none}}
/* top bar: quiet dark bar, money in clean pills */
.hm-top{background:rgba(7,12,31,.96)!important;border-bottom:1px solid rgba(120,150,230,.18)!important;box-shadow:none!important}
.hud{background:none!important;border:0!important;box-shadow:none!important}
.hud-av{background:linear-gradient(#f6c453,#c98a12)!important;box-shadow:none!important;padding:4px!important}
.hud-me b{font:600 34px/1 var(--display)!important}
.hud-me em{font:500 24px var(--body)!important}
.hud-cur.coin,.hud-cur.gem{padding:0 6px 0 4px;border-radius:30px;background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 2px rgba(120,150,230,.22)}
.hud-cur{font:600 28px var(--body)!important}
.hud-cur img{height:46px!important}.hud-cur .plus img{height:36px!important}
.cl-seg{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:3px;border-radius:12px;background:rgba(0,0,0,.35);margin-bottom:6px}
.cl-seg button{padding:9px 4px;border-radius:9px;font:600 12.5px var(--body);color:var(--ink2)}
.cl-seg button.on{background:var(--bg2);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line2)}
.world-row .acts{gap:5px}
.world-row .acts .gbtn{min-height:32px!important;padding:5px 10px!important;font:600 12px var(--body)!important;border-radius:9px!important;border:0!important;text-shadow:none!important;box-shadow:none!important}
.world-row .acts .gbtn.green{background:rgba(255,255,255,.07)!important;box-shadow:inset 0 0 0 1px var(--line2)!important;color:var(--ink)!important}
.world-wealth{color:#ffd35a!important}
/* profile: one screen */
#profile{overflow-y:auto}
#profBody{gap:8px!important;padding-bottom:10px}
#profile .p-hero{display:grid!important;grid-template-columns:auto 1fr;column-gap:12px;row-gap:2px;align-items:center;justify-items:start;text-align:left;padding:12px!important;min-height:0!important}
#profile .p-hero .fr{grid-row:1/span 4;width:64px!important;height:64px!important}
#profile .p-hero h3{margin:0!important;font-size:18px!important}
#profile .p-hero .lg2{margin-top:2px!important}
.p-worth{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.p-worth div{padding:10px 12px;border-radius:14px;background:linear-gradient(135deg,rgba(246,183,48,.14),rgba(246,183,48,.03));border:1px solid rgba(246,183,48,.3)}
.p-worth small{display:block;font:500 10.5px var(--body);color:#c9b48a;text-transform:uppercase;letter-spacing:.08em}
.p-worth b{font:600 19px var(--display);color:#ffd35a}
#profile .claim{padding:10px!important;gap:7px!important;border-width:1px!important;border-radius:16px!important;background:rgba(255,255,255,.04)!important;border-color:rgba(246,183,48,.45)!important}
#profile .claim p{margin:0!important;font:400 12px/1.4 var(--body)!important;color:var(--ink2)!important}
#profile .claim input,#profile .claim .at-input{height:40px!important;min-height:0!important;font-size:14px!important;border-width:1px!important;border-radius:11px!important}
#profile .claim .at-input input{height:auto!important}
#profile .claim .gbtn{min-height:42px}
#profile .stat4 div{padding:4px 2px!important}
#profBody.guest .p-grid,#profBody.guest #signOut,#profBody.guest #pInstall{display:none!important}
@media (max-height:700px){#profile .stat4 div:nth-child(n+5){display:none}#profile .claim p{display:none}#profile .p-worth div{padding:7px 10px}#profile .p-worth b{font-size:16px}
  #profile .p-hero{padding:8px!important}#profile .p-hero .fr{width:52px!important;height:52px!important}#profile .claim input,#profile .claim .at-input{height:36px!important}#profBody{gap:6px!important}}

.jk3 .jk-ctrl{justify-content:center}
.jk3 .jk-bet{min-width:150px;justify-content:center;height:44px;font-size:18px!important}

/* Rivals */
.rl-me{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.rl-me div{padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.rl-me small{display:block;font:500 10px var(--body);color:var(--ink3);text-transform:uppercase;letter-spacing:.06em}
.rl-me b{font:600 15px var(--display)}
.rl-tabs{grid-template-columns:repeat(3,1fr)}
.rl-list{display:flex;flex-direction:column;gap:6px;max-height:44dvh;overflow-y:auto;scrollbar-width:none}
.rl-list[hidden]{display:none}
.rl{display:flex;align-items:center;gap:8px;padding:8px 8px 8px 6px;border-radius:12px;background:rgba(255,255,255,.035);border:1px solid var(--line)}
.rl>em{width:18px;flex:none;text-align:center;font:600 11px var(--body);color:var(--ink3);font-style:normal}
.rl-av{position:relative;flex:none}.rl-av img{width:34px;height:34px;border-radius:50%;object-fit:cover;border:1px solid var(--line2);display:block}
.rl.on .rl-av::after{content:"";position:absolute;right:0;bottom:0;width:9px;height:9px;border-radius:50%;background:#22c55e;border:2px solid var(--bg1)}
.rl-w{flex:1;min-width:0}.rl-w b{display:block;font:600 13px var(--body);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rl-w small{display:block;font:400 10.5px var(--body);color:var(--ink2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rl-m{flex:none;text-align:right}.rl-m b{display:block;font:600 13px var(--display);color:#ffd35a}.rl-m b.muted{color:var(--ink3)}
.rl-sh{display:inline-flex;gap:1px}.rl-sh svg{width:11px;height:12px}
.rl .btn.sm{min-height:30px;padding:0 10px;font-size:12px;flex:none}
.rl-foot{display:grid;grid-template-columns:1fr 1fr;gap:8px}
@media (max-height:700px){.rl-list{max-height:36dvh}.pnl.rivals .pnl-h small{display:none}}

.cl-p{display:flex;flex-direction:column;gap:7px}.cl-p[hidden]{display:none}
#profile .claim #lName,#profile .claim #lPass{height:40px;border-radius:11px;border:1px solid var(--line2);background:var(--bg0);color:var(--ink);padding:0 12px;font:400 14px var(--body)}
.cl-err{color:#ff8a8a!important;font:500 12px var(--body)!important;margin:0!important}

.ws-cost em{display:inline-flex;align-items:center;gap:2px;margin-left:6px;padding-left:6px;border-left:1px solid rgba(0,0,0,.2);font-style:normal}
.ws-cost em img{height:16px!important;width:auto}

/* attack */
.rl-me{grid-template-columns:repeat(4,1fr)!important}
.atk-b{--c:linear-gradient(#ffb347,#e2751b);padding:0 6px!important;margin-left:4px}
.atk-b img{width:22px;height:22px;object-fit:contain}
.atk-hero{display:grid;place-items:center}.atk-hero img{width:84px;height:84px;object-fit:contain;filter:drop-shadow(0 6px 10px rgba(0,0,0,.5))}
.atk-scene{position:relative;border-radius:16px;overflow:hidden;border:1px solid var(--line);aspect-ratio:4/3;background:var(--bg0)}
.atk-pic{width:100%;height:100%;object-fit:cover;display:block;animation:atkShake .45s .55s ease-out}
.atk-ham{position:absolute;right:8%;top:6%;width:42%;transform-origin:80% 80%;animation:atkSwing .6s cubic-bezier(.5,0,.75,0) both;filter:drop-shadow(0 8px 10px rgba(0,0,0,.6))}
.atk-crack{position:absolute;inset:0;opacity:0;animation:atkCrack .3s .55s forwards;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 75'%3E%3Cg fill='none' stroke='%23fff' stroke-width='.9' stroke-linecap='round'%3E%3Cpath d='M50 36L40 22 34 8M50 36l14-10 12-12M50 36l-16 6-18 4M50 36l8 14 4 18M50 36l20 4 18 8M40 22l-12-2M64 26l2-12M34 42l-6 12M58 50l10 6'/%3E%3C/g%3E%3C/svg%3E") center/cover;filter:drop-shadow(0 0 2px rgba(0,0,0,.9))}
.atk-scene.blk .atk-crack{display:none}
.atk-scene.blk svg{position:absolute;left:50%;top:50%;width:40%;height:auto;transform:translate(-50%,-50%);filter:drop-shadow(0 0 20px rgba(60,140,255,.8));animation:rbPop .5s .5s cubic-bezier(.2,1.6,.4,1) both}
@keyframes atkSwing{0%{transform:rotate(-55deg) translate(30%,-30%);opacity:0}30%{opacity:1}85%{transform:rotate(20deg)}100%{transform:rotate(8deg)}}
@keyframes atkShake{0%,100%{transform:none}20%{transform:translate(-6px,3px)}40%{transform:translate(6px,-3px)}60%{transform:translate(-4px,2px)}80%{transform:translate(3px,-1px)}}
@keyframes atkCrack{to{opacity:1}}
/* damaged project on home */
#home .dmg-bar{display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:14px;background:linear-gradient(90deg,rgba(220,38,38,.92),rgba(150,20,20,.92));border:1px solid rgba(255,140,140,.5);color:#fff;text-align:left;box-shadow:0 6px 16px rgba(0,0,0,.35);animation:dmgPulse 1.6s ease-in-out infinite}
#home .dmg-bar img{width:30px;height:30px;object-fit:contain}
#home .dmg-bar span{flex:1;min-width:0}#home .dmg-bar b{display:block;font:600 13px var(--body)}#home .dmg-bar small{display:block;font:400 10.5px/1.25 var(--body);opacity:.85}
#home .dmg-bar em{flex:none;font:600 12px var(--body);font-style:normal;padding:6px 9px;border-radius:9px;background:#fff;color:#a51010}
@keyframes dmgPulse{50%{box-shadow:0 0 0 3px rgba(239,68,68,.35),0 6px 16px rgba(0,0,0,.35)}}
#home .scene-item.damaged{filter:grayscale(.45) brightness(.8)}
#home .scene-item.damaged::after{content:"";position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 75'%3E%3Cg fill='none' stroke='%23fff' stroke-width='.7' stroke-linecap='round' opacity='.85'%3E%3Cpath d='M50 36L40 22 34 8M50 36l14-10 12-12M50 36l-16 6-18 4M50 36l8 14 4 18M50 36l20 4 18 8'/%3E%3C/g%3E%3C/svg%3E") center/80% no-repeat;pointer-events:none}
#home .h2{overflow:hidden}
#home .rail{gap:clamp(3px,1vh,9px)}
#home .hb{padding:clamp(3px,.8vh,7px) 0 clamp(3px,.7vh,6px)}
#home .hb img{width:clamp(26px,4.6vh,38px);height:clamp(26px,4.6vh,38px)}
#home .dmg-bar{flex:none}

/* ---------- Events hub, Luxury Season, Welcome Back ---------- */
.th-card{display:grid;grid-template-columns:1fr auto;gap:2px 10px;padding:12px 14px;border-radius:16px;background:linear-gradient(135deg,rgba(246,183,48,.16),rgba(246,183,48,.04));border:1px solid rgba(246,183,48,.35)}
.th-card small{grid-column:1/-1;font:600 10.5px var(--body);letter-spacing:.06em;color:var(--gold)}
.th-card b{font:600 17px var(--display)}.th-card em{align-self:center;font:500 11.5px var(--body);font-style:normal;color:var(--ink2);white-space:nowrap}
.th-card span{grid-column:1/-1;font:400 12.5px/1.4 var(--body);color:var(--ink2)}
.ev-lux{width:42px;height:42px;border-radius:10px;object-fit:cover;display:block}
.ev-dot{flex:none;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:var(--red,#e5394a);color:#fff;font:700 12px/22px var(--body);font-style:normal;text-align:center}
.ss-bar{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.ss-tr{text-align:center;padding-right:12px;border-right:1px solid var(--line)}.ss-tr b{display:block;font:600 17px var(--display);color:var(--gold);white-space:nowrap}.ss-tr small{font:400 11px var(--body);color:var(--ink2)}
.ss-pg{flex:1;min-width:0}.ss-pg i{display:block;height:7px;border-radius:4px;background:rgba(0,0,0,.45);overflow:hidden}.ss-pg em{display:block;height:100%;border-radius:4px;background:linear-gradient(90deg,#ffd35a,#f29a0e)}
.ss-pg small{display:block;margin-top:5px;font:400 11.5px/1.35 var(--body);color:var(--ink2)}
.ss-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}
.ss-it{position:relative;border-radius:12px;overflow:hidden;background:rgba(0,0,0,.3);border:1px solid var(--line);text-align:center;padding-bottom:4px}
.ss-it img{display:block;width:100%;aspect-ratio:1;object-fit:cover;filter:grayscale(.85) brightness(.45)}
.ss-it.own img{filter:none}.ss-it.own{border-color:rgba(246,183,48,.55)}
.ss-it.rdy{border-color:var(--gold);box-shadow:0 0 0 2px rgba(246,183,48,.35)}.ss-it.rdy img{filter:brightness(.8)}
.ss-it b{display:block;margin-top:3px;font:600 10.5px var(--body);color:var(--ink)}.ss-it.own b{color:var(--gold)}
.ss-it small{display:block;padding:0 2px;font:400 9px var(--body);color:var(--ink3,#8090b8);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ss-top{display:flex;flex-direction:column;gap:4px}
.pnl.lux{align-items:stretch}
.lx-rev{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.lx-rev small{font:600 11px var(--body);letter-spacing:.06em;color:var(--gold)}
.lx-art{position:relative;width:min(66vw,250px);aspect-ratio:1;display:grid;place-items:center}
.lx-art img{position:relative;width:100%;height:100%;object-fit:cover;border-radius:22px;box-shadow:0 10px 40px rgba(246,183,48,.35);animation:lxIn .7s cubic-bezier(.2,1.4,.4,1) both}
.lx-art .rays{position:absolute;inset:-30%;background:repeating-conic-gradient(rgba(246,183,48,.22) 0 8deg,transparent 8deg 22deg);border-radius:50%;animation:spin 14s linear infinite;-webkit-mask:radial-gradient(circle,#000 30%,transparent 70%);mask:radial-gradient(circle,#000 30%,transparent 70%)}
@keyframes lxIn{from{transform:scale(.3) rotate(-8deg);opacity:0}to{transform:none;opacity:1}}
@keyframes spin{to{transform:rotate(360deg)}}
.lx-rev b{font:600 22px var(--display)}.lx-rev b em{font-style:normal;color:var(--gold)}
.lx-rev span{font:500 14px var(--body);color:var(--gold)}
.wb-news{display:flex;flex-wrap:wrap;gap:6px 12px;padding:10px 12px;border-radius:14px;background:rgba(229,57,74,.1);border:1px solid rgba(229,57,74,.35)}
.wb-news small{flex:1 1 100%;font:600 10.5px var(--body);letter-spacing:.06em;color:#ff8a94}
.wb-news span{font:400 12.5px var(--body);color:var(--ink2)}.wb-news b{color:var(--ink);font-weight:600}
.wb-kit{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.wb-kit div{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 4px;border-radius:14px;background:rgba(255,255,255,.05);border:1px solid var(--line)}
.wb-kit img{width:38px;height:38px;object-fit:contain}.wb-kit b{font:600 12.5px var(--body);text-align:center}
.lx-strip{display:block;width:100%;grid-column:1/-1;margin-bottom:10px;padding:10px 12px;border-radius:16px;background:linear-gradient(135deg,rgba(246,183,48,.14),rgba(255,255,255,.03));border:1px solid rgba(246,183,48,.35);color:var(--ink);text-align:left}
.lx-h{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:8px}.lx-h b{font:600 15px var(--display)}.lx-h small{font:400 11.5px var(--body);color:var(--ink2)}
.lx-row{display:grid;grid-template-columns:repeat(10,1fr);gap:4px}
.lx-row span{position:relative;border-radius:8px;overflow:hidden}.lx-row img{display:block;width:100%;aspect-ratio:1;object-fit:cover;filter:grayscale(.9) brightness(.35)}
.lx-row .own img{filter:none}.lx-row em{position:absolute;right:2px;bottom:1px;font:700 9px var(--body);font-style:normal;color:#fff;text-shadow:0 1px 2px #000}
@media (max-height:700px){.ss-it small{display:none}.th-card{padding:9px 12px}.wb-kit div{padding:7px 4px}.wb-kit img{width:30px;height:30px}.lx-art{width:min(56vw,200px)}}
.ev-p small{white-space:normal;overflow:visible}
@media (max-height:700px){.ss-top{display:none}.ss-grid{gap:5px}.ss-bar{padding:8px 10px}}

/* rival rows: full-width names, wallet and shields underneath */
.rl-l2{display:flex;align-items:center;gap:6px;margin-top:1px}.rl-l2 i{font:600 12.5px var(--display);font-style:normal;color:#ffd35a}
.rl>em{width:14px}
.df-up small{white-space:normal!important;overflow:visible!important}
.fx-wheel-stage{width:min(72vw,292px,37dvh)!important;height:min(72vw,292px,37dvh)!important}
@media (max-height:780px){.fx-possibles{display:none}}

/* Daily Tasks */
.tk-list{display:flex;flex-direction:column;gap:7px}
.tk{display:flex;align-items:center;gap:10px;padding:10px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.tk>img{width:36px;height:36px;object-fit:contain;flex:none}
.tk-t{flex:1;min-width:0}.tk-t b{display:block;font:600 13.5px var(--body)}
.tk-t i{display:block;height:6px;margin:5px 0 4px;border-radius:3px;background:rgba(0,0,0,.45);overflow:hidden}.tk-t em{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,#5ff09a,#16a34a)}
.tk-t small{display:block;font:400 11px var(--body);color:var(--ink2)}
.tk.rdy{border-color:rgba(246,183,48,.6);background:rgba(246,183,48,.08)}.tk.got{opacity:.55}
.tk .btn.sm{min-height:32px;padding:0 12px;font-size:12.5px;flex:none}
.tk-chest{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:linear-gradient(135deg,rgba(246,183,48,.14),rgba(255,255,255,.03));border:1px solid rgba(246,183,48,.35)}
.tk-chest img{width:44px;height:44px;object-fit:contain;flex:none}.tk-chest div{flex:1;min-width:0}
.tk-chest b{display:block;font:600 14px var(--display)}.tk-chest small{display:block;font:400 11.5px/1.35 var(--body);color:var(--ink2)}
.tk-chest.rdy img{animation:tkBob 1.2s ease-in-out infinite}
@keyframes tkBob{50%{transform:translateY(-4px) rotate(-4deg)}}
@media (max-width:360px){#home .jf-go small{display:none}}
@media (max-width:360px){#home .jf-go b{white-space:normal;line-height:1.1}.rl-me{gap:4px}.rl-me div{padding:6px 6px;min-width:0}.rl-me small{font-size:8.5px;letter-spacing:.02em}.rl-me b{font-size:13px;display:block;white-space:nowrap}}
.rl-w{padding-right:2px}
.art-pop.fp .fp-im{position:absolute;left:7.5%;right:7.5%;top:25.6%;height:33%;border-radius:12px;background:#0b1638 center/cover no-repeat;box-shadow:0 0 0 2px rgba(255,255,255,.5)}
.art-pop.fp .fp-tx{position:absolute;left:6%;right:6%;top:60.6%;height:15.4%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-align:center;background:#f3f6fd;border-radius:6px}
.art-pop.fp .fp-tx b{font:700 clamp(17px,5.6vw,24px)/1.1 var(--display);color:#13254f}.art-pop.fp .fp-tx span{font:400 clamp(11px,3.4vw,14px)/1.3 var(--body);color:#33416a;padding:0 6px}

.rc-rank{position:relative;display:grid;place-items:center;width:120px;height:120px;margin:4px 0;border-radius:50%;background:radial-gradient(circle,rgba(246,183,48,.25),transparent 70%)}
.rc-rank img{position:absolute;top:2px;width:64px;height:64px;object-fit:contain}
.rc-rank b{margin-top:44px;font:700 38px var(--display)!important;color:#fff}.rc-rank.gold b{color:var(--gold)}
.rl:nth-child(-n+3)>em{color:var(--gold);font-weight:700}
.pw-pill{white-space:nowrap}
/* the job hint sits under the picture, never on top of the spots */
#wsHint{top:calc(100% + 12px)}#wsHint .hand{display:none}
/* messages appear under the top bar, never over the Play button or tab bar */
.toast{top:calc(64px + var(--safeT,0px))!important;bottom:auto!important}
#jkSpT.ask{color:var(--gold);text-decoration:underline;cursor:pointer}

/* raid safes: the owner's gold safe; money pops out, an empty one goes grey */
.rs .sf{width:74%;filter:drop-shadow(0 8px 12px rgba(0,0,0,.55));transition:transform .35s cubic-bezier(.3,1.4,.5,1),filter .3s}
.rs .rs-coins{position:absolute;left:50%;top:44%;width:38%;translate:-50% -50%;opacity:0;transform:scale(.3);transition:transform .45s cubic-bezier(.2,1.6,.4,1) .1s,opacity .2s .1s;filter:drop-shadow(0 4px 8px rgba(0,0,0,.5))}
.rs.rs-open .sf{transform:scale(.8) translateY(-12px)}
.rs.rs-full .rs-coins{opacity:1;transform:scale(1) translateY(-22px)}
.rs.rs-empty .sf,.rs.rs-missed .sf{filter:grayscale(1) brightness(.55)}
.rs.rs-missed.rs-full .rs-coins{opacity:.6}
.rs.rs-crack .sf{animation:rsShake .45s linear}
@keyframes rsShake{0%,100%{transform:none}20%{transform:rotate(-4deg) scale(1.03)}40%{transform:rotate(4deg) scale(1.05)}60%{transform:rotate(-3deg) scale(1.04)}80%{transform:rotate(2deg)}}
.rs svg{display:none}
.df-vault .sf{width:44px;height:44px;object-fit:contain;filter:drop-shadow(0 3px 6px rgba(0,0,0,.5))}
/* reward video: flat, calm controls in the design system (the old glowing 3D button drifted off the right edge) */
.pv-collect{left:14px!important;right:14px!important;transform:none!important;animation:none!important;bottom:calc(86px + var(--safeB))!important;height:52px;padding:0!important;border-radius:14px!important;background:#1f9d4c!important;border:0!important;box-shadow:0 6px 18px rgba(0,0,0,.45)!important;text-shadow:none!important;font:600 16px/52px var(--body)!important;color:#fff!important;text-align:center}
.pv-collect:active{background:#178a41!important}
.pv-cta{background:#0f1834!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:14px!important;padding:10px 12px!important}
.pv-cta span{font:500 13.5px var(--body)!important}.pv-cta em{font:600 12.5px var(--body)!important;background:#f6b730!important;color:#1d1400!important;border-radius:10px!important;padding:8px 14px!important}
.pv-tag{font:500 11px var(--body)!important;background:rgba(255,255,255,.12)!important}.pv-cd{font:500 13px var(--body)!important}
.pv-x{border:1px solid rgba(255,255,255,.4)!important;background:rgba(0,0,0,.5)!important}

/* reward card after a video (the game shows the prize, not the video) */
.pnl.reward{align-items:stretch;gap:14px}
.rwc{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px}
.rwc small{font:600 11px var(--body);letter-spacing:.08em;text-transform:uppercase;color:var(--gold)}
.rw-art{position:relative;width:150px;height:150px;display:grid;place-items:center;margin:2px 0 4px}
.rw-art .rays{position:absolute;inset:-18%;background:repeating-conic-gradient(rgba(246,183,48,.2) 0 9deg,transparent 9deg 24deg);border-radius:50%;animation:spin 16s linear infinite;-webkit-mask:radial-gradient(circle,#000 28%,transparent 68%);mask:radial-gradient(circle,#000 28%,transparent 68%)}
.rw-art img{position:relative;width:96px;height:96px;object-fit:contain;filter:drop-shadow(0 8px 14px rgba(0,0,0,.5));animation:lxIn .55s cubic-bezier(.2,1.5,.4,1) both}
.rw-art em{position:absolute;right:8px;bottom:10px;font:700 30px var(--display);font-style:normal;color:#fff;text-shadow:0 2px 0 rgba(0,0,0,.35);animation:lxIn .55s .12s cubic-bezier(.2,1.5,.4,1) both}
.rw-mv{position:relative;display:grid;place-items:center;width:96px;height:96px;border-radius:24px;background:linear-gradient(#3f8cff,#1f5ad8);border:2px solid #8cc0ff;font:700 40px var(--display);color:#fff;animation:lxIn .55s cubic-bezier(.2,1.5,.4,1) both}
.rw-art .rw-mv+em{display:none}
.rw-t{font:600 21px var(--display)}.rwc span{font:400 13px var(--body);color:var(--ink2)}
/* Collect: a colour no other button uses, with a bevel so it reads as pressable */
.btn.rw-go{--c:linear-gradient(#ffd45c,#f29a0e);color:#2b1700;font-weight:700;box-shadow:inset 0 -4px 0 rgba(120,60,0,.35),0 6px 14px rgba(0,0,0,.35)}
.btn.rw-go.hit{transform:scale(.95)}
.rw-fly{position:fixed;z-index:2147483001;width:60px;height:60px;display:grid;place-items:center;font:700 26px var(--display);color:#fff;text-shadow:0 2px 6px rgba(0,0,0,.6);pointer-events:none}
.pv-x.ready{width:40px!important;height:40px!important;background:rgba(0,0,0,.65)!important;border:2px solid #fff!important}
/* video offers: their own colour (teal), a play icon, the exact reward and what is left today */
.gbtn.wv,.ac-btn.wv{display:flex!important;align-items:center;justify-content:center;gap:10px;background:linear-gradient(#22c3b4,#0f8f86)!important;color:#fff!important;box-shadow:inset 0 -4px 0 rgba(0,60,55,.35),0 4px 10px rgba(0,0,0,.25)!important;border:0!important}
.wv .wv-ic{width:26px;height:26px;flex:none}.wv-t{display:flex;flex-direction:column;align-items:flex-start;line-height:1.15}.wv-t b{font:700 15px var(--body)}.wv-t small{font:500 11px var(--body);opacity:.85}

/* energy sheet */
.en-hero{display:flex;align-items:center;justify-content:center;gap:14px;padding:10px;border-radius:16px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.en-hero img{width:64px;height:64px;object-fit:contain;filter:drop-shadow(0 6px 10px rgba(0,0,0,.5))}
.en-hero b{display:block;font:700 30px var(--display)}.en-hero small{font:500 12.5px var(--body);color:var(--ink2)}
.btn.violet{--c:linear-gradient(#a77bff,#7c3aed)}
.btn .bi{width:18px;height:18px;object-fit:contain;margin:0 2px 0 4px}
.btn.wv{width:100%;min-height:54px}
.btn.wv{--c:linear-gradient(#22c3b4,#0f8f86);box-shadow:inset 0 -4px 0 rgba(0,60,55,.35),0 4px 10px rgba(0,0,0,.25)}
/* ---------- game-style PLAY button: thick 3D candy button, gold level badge, a shine every few seconds ---------- */
#home .play{height:64px;border-radius:22px;overflow:hidden;border:3px solid rgba(255,255,255,.75);
  background:linear-gradient(180deg,#8dff6a 0%,#3fdc4a 38%,#1fb236 70%,#16952c 100%);
  box-shadow:inset 0 5px 0 rgba(255,255,255,.45),inset 0 -7px 0 rgba(0,90,25,.45),0 6px 0 #0d6420,0 12px 22px rgba(0,0,0,.45);transition:transform .08s,box-shadow .08s}
#home .play::before{content:"";position:absolute;left:6%;right:6%;top:4px;height:38%;border-radius:16px 16px 40px 40px;background:linear-gradient(rgba(255,255,255,.55),rgba(255,255,255,0));pointer-events:none}
#home .play::after{content:"";position:absolute;top:-20%;bottom:-20%;left:-30%;width:18%;transform:skewX(-20deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);animation:playShine 4.5s ease-in-out 4;pointer-events:none}
@keyframes playShine{0%,70%{left:-30%}100%{left:130%}}
#home .play.shn2::after{animation-name:playShine2}@keyframes playShine2{0%,70%{left:-30%}100%{left:130%}}   /* 2026-11-18 heat: 4 shines, then rest until the next touch */
#home .play:active{transform:translateY(4px);box-shadow:inset 0 5px 0 rgba(255,255,255,.45),inset 0 -5px 0 rgba(0,90,25,.45),0 2px 0 #0d6420,0 6px 12px rgba(0,0,0,.4)}
#home .play b{position:relative;font:800 32px/1 var(--display);letter-spacing:.05em;color:#fff;-webkit-text-stroke:1.5px #0b5a1c;paint-order:stroke fill;text-shadow:0 3px 0 #0b5a1c,0 5px 8px rgba(0,0,0,.35)}
#home .play small{position:relative;padding:6px 12px;border-radius:12px;background:linear-gradient(#ffe27a,#f2a20e);color:#5a3200;font:800 13px var(--body);border:2px solid #fff3c4;box-shadow:inset 0 -3px 0 rgba(140,70,0,.35),0 3px 0 rgba(0,70,20,.5)}
@media (prefers-reduced-motion:reduce){#home .play::after{display:none}}

/* ---------- game-style tab bar: coloured 3D tiles, the open tab lifts up in gold ---------- */
#home .tabbar{position:relative;padding:8px 6px calc(8px + var(--safeB));background:linear-gradient(#24388a,#0e1844 70%);border-top:2px solid #5d8bff;box-shadow:0 -6px 16px rgba(0,0,0,.45),inset 0 2px 0 rgba(255,255,255,.12)}
#home .tabbar button{gap:4px;padding:0;color:#fff;font:700 10.5px var(--body);text-shadow:0 1px 0 #0a1230,0 0 3px #0a1230}
#home .tabbar svg{box-sizing:content-box;width:20px;height:20px;padding:8px;border-radius:13px;color:#fff;filter:drop-shadow(0 1px 1px rgba(0,0,0,.4));
  background:var(--tb,linear-gradient(#3e64d8,#1d3a9e));box-shadow:inset 0 2px 0 rgba(255,255,255,.35),inset 0 -3px 0 rgba(0,0,0,.28),0 3px 0 rgba(0,0,0,.35);transition:transform .15s}
#home .tabbar button:nth-child(1){--tb:linear-gradient(#5ee36d,#1f9c3a)}
#home .tabbar button:nth-child(2){--tb:linear-gradient(#b48bff,#6d35d9)}
#home .tabbar button:nth-child(3){--tb:linear-gradient(#ffd85a,#ee9410)}
#home .tabbar button:nth-child(4){--tb:linear-gradient(#ff7f6e,#d42f3d)}
#home .tabbar button:nth-child(5){--tb:linear-gradient(#5fc0ff,#1f6fe0)}
#home .tabbar button:active svg{transform:translateY(2px)}
#home .tabbar .on::before{display:none}
#home .tabbar .on svg{width:24px;height:24px;padding:10px;border-radius:16px;transform:translateY(-12px);border:2px solid #fff3c4;box-shadow:inset 0 2px 0 rgba(255,255,255,.45),inset 0 -4px 0 rgba(120,60,0,.35),0 4px 0 rgba(0,0,0,.35),0 0 18px rgba(255,200,60,.45)}
#home .tabbar .on span{margin-top:-12px;color:#ffd75a}
#home .tabbar .badge{top:-6px;right:calc(50% - 26px);z-index:2}

/* ---------- Raid hub ---------- */
.pnl-h small b{color:var(--ink);font-weight:600}
.rd-hero{display:flex;align-items:center;gap:12px;padding:10px 14px 10px 8px;border-radius:18px;color:#fff;text-align:left;
  background:linear-gradient(180deg,#ff6a5a,#d72a3a 60%,#b81d2e);border:2px solid rgba(255,255,255,.55);box-shadow:inset 0 3px 0 rgba(255,255,255,.35),inset 0 -5px 0 rgba(90,0,10,.35),0 5px 0 #7a0f1c,0 10px 18px rgba(0,0,0,.35);transition:transform .08s}
.rd-hero:active{transform:translateY(3px)}
.rd-hero:disabled{filter:grayscale(.8) brightness(.7)}
.rd-hero img{width:58px;height:58px;object-fit:contain;filter:drop-shadow(0 4px 6px rgba(0,0,0,.45))}
.rd-hero span{flex:1;min-width:0}.rd-hero b{display:block;font:800 18px var(--display);text-shadow:0 2px 0 rgba(90,0,10,.5)}.rd-hero small{display:block;font:500 12px var(--body);opacity:.92}
.rd-hero>i{width:10px;height:10px;border-right:3px solid #fff;border-top:3px solid #fff;transform:rotate(45deg);margin-right:4px}
.rl-acts{display:flex;flex-direction:column;gap:5px;flex:none}
.rl-acts .btn.sm{min-height:30px;min-width:78px;padding:0 10px;font-size:12px}
.atk-b{--c:linear-gradient(#ffb347,#e2751b)!important;gap:3px!important;margin:0!important;padding:0 8px!important}
.atk-b img{width:16px!important;height:16px!important}
.tb-n{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:4px;padding:0 5px;border-radius:9px;background:#e5394a;color:#fff;font:700 10.5px var(--body);font-style:normal}
.rd-def{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid var(--line);color:var(--ink);text-align:left}
.rd-def svg{width:22px;height:24px;flex:none}.rd-def span{font:600 14px var(--body)}.rd-def small{flex:1;text-align:right;font:400 12px var(--body);color:var(--ink2)}
.rd-def>i{width:8px;height:8px;border-right:2px solid var(--ink3);border-top:2px solid var(--ink3);transform:rotate(45deg)}
/* ---------- the safes ---------- */
.rs-who{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.rs-who img{width:40px;height:40px;border-radius:50%;object-fit:cover;border:2px solid var(--line2)}
.rs-who span{flex:1;min-width:0}.rs-who b{display:block;font:600 14px var(--body)}.rs-who small{font:400 12px var(--body);color:var(--ink2)}
.rs-tally{text-align:right}.rs-tally small{display:block;font:500 10px var(--body);letter-spacing:.06em;text-transform:uppercase;color:var(--ink3)}
.rs-tally b{display:block;font:700 18px var(--display);color:var(--gold)}.rs-tally em{font:500 11px var(--body);font-style:normal;color:var(--ink2)}
.rs-pay{display:flex;flex-direction:column;align-items:center;gap:0;padding:4px 0;animation:lxIn .5s cubic-bezier(.2,1.5,.4,1) both}
.rs-pay b{font:800 30px var(--display);color:var(--gold)}.rs-pay span{font:400 12.5px var(--body);color:var(--ink2)}.rs-pay small{font:600 11px var(--body);color:#5ff09a}
.pnl-h small b{display:inline!important;font:600 12.5px var(--body)!important;letter-spacing:0;color:var(--ink)}

/* ---------- Clash ---------- */
.cl-hero{background:linear-gradient(180deg,#5aa2ff,#2563eb 60%,#1d4fc4)!important;box-shadow:inset 0 3px 0 rgba(255,255,255,.35),inset 0 -5px 0 rgba(0,20,90,.35),0 5px 0 #13368a,0 10px 18px rgba(0,0,0,.35)!important}
.cl-hero b{text-shadow:0 2px 0 rgba(0,20,90,.5)!important}
.fm-card{position:relative;display:flex;flex-direction:column;gap:3px;padding:14px 40px 14px 16px;border-radius:16px;color:#fff;text-align:left;border:2px solid rgba(255,255,255,.5);transition:transform .08s}
.fm-card:active{transform:translateY(3px)}
.fm-card.red{background:linear-gradient(180deg,#ff6a5a,#d72a3a);box-shadow:inset 0 -4px 0 rgba(90,0,10,.35),0 4px 0 #7a0f1c}
.fm-card.violet{background:linear-gradient(180deg,#a77bff,#6d35d9);box-shadow:inset 0 -4px 0 rgba(40,0,90,.35),0 4px 0 #42198c}
.fm-card b{font:800 18px var(--display)}.fm-card small{font:500 12.5px/1.35 var(--body);opacity:.92}
.fm-card i{position:absolute;right:16px;top:50%;width:10px;height:10px;margin-top:-5px;border-right:3px solid #fff;border-top:3px solid #fff;transform:rotate(45deg)}
.wt-vs{display:flex;align-items:center;justify-content:center;gap:14px}
.wt-vs .searching{margin:0}
.wt-vs .vs{font:800 26px var(--display);color:var(--gold)}
.wt-q{width:96px;height:96px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.05);border:2px dashed var(--line2);font:700 38px var(--display);color:var(--ink3);animation:wtPulse 1.2s ease-in-out infinite}
@keyframes wtPulse{50%{border-color:var(--ink3);color:var(--ink2)}}
.cr{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.cr>small{font:600 11px var(--body);letter-spacing:.08em;text-transform:uppercase;color:var(--ink3)}
.cr-t{font:800 34px/1.05 var(--display);color:#fff}
.cr.me .cr-t{color:var(--gold);text-shadow:0 3px 0 rgba(120,60,0,.6),0 0 24px rgba(255,200,60,.35);animation:lxIn .6s cubic-bezier(.2,1.5,.4,1) both}
.cr.opp .cr-t{color:#c9d2ee}
.cr-vs{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;margin:6px 0}
.cr-vs>span{font:800 20px var(--display);color:var(--ink3)}
.cr-p{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;padding:12px 6px 10px;border-radius:16px;background:rgba(255,255,255,.04);border:1px solid var(--line);min-width:0}
.cr-p.win{background:linear-gradient(180deg,rgba(246,183,48,.18),rgba(246,183,48,.04));border-color:rgba(246,183,48,.6)}
.cr-p>svg{position:absolute;top:-12px;width:30px;height:23px}
.cr-p img{width:58px;height:58px;border-radius:50%;object-fit:cover;border:3px solid var(--line2)}.cr-p.win img{border-color:var(--gold)}
.cr-p b{max-width:100%;font:600 13px var(--body);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cr-p em{font:700 20px var(--display);font-style:normal}
.cr-rw{display:flex;gap:8px;justify-content:center}
.cr-rw span{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:12px;background:rgba(0,0,0,.3);border:1px solid var(--line);font:700 16px var(--display)}
.cr-rw img,.cr-rw .tro{width:22px;height:22px}.cr-rw span.neg{color:#ff8a94}
.wt-vs{gap:22px}

/* hit alert: the broken defence, then revenge */
.ha{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.ha-art{position:relative;width:180px;height:150px;display:grid;place-items:center;margin:4px 0}
.ha-art img{max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 8px 14px rgba(0,0,0,.5))}
.ha-art .ha-pic{width:180px;height:140px;object-fit:cover;border-radius:16px;filter:saturate(.7) brightness(.8)}
.ha-art.held img{width:130px;height:130px;animation:haHit .5s .2s both}
.ha-art.hit{animation:haShake .55s .15s both}
.ha-crack{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.ha-crack path{fill:none;stroke:#fff;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 3px rgba(0,0,0,.9));stroke-dasharray:160;stroke-dashoffset:160;animation:haCrack .45s .35s ease-out forwards}
.ha-art.held .ha-crack path{stroke:#e8f2ff}
.ha-bolt{position:absolute;right:-6px;top:-10px;width:56px!important;height:56px!important;animation:lxIn .45s cubic-bezier(.2,1.5,.4,1) both}
.ha-safe{width:130px!important;filter:grayscale(.6) brightness(.75) drop-shadow(0 8px 14px rgba(0,0,0,.5))!important}
.ha-loss{position:absolute;bottom:-4px;padding:4px 12px;border-radius:12px;background:#e5394a;font:800 20px var(--display);color:#fff;box-shadow:0 4px 0 #8a1420;animation:lxIn .5s .5s cubic-bezier(.2,1.5,.4,1) both}
.ha-t{font:800 24px/1.15 var(--display)}.ha.bad .ha-t{color:#ff8a94}.ha.ok .ha-t{color:#8ec5ff}
.ha span{font:400 13.5px/1.4 var(--body);color:var(--ink2)}.ha small{font:500 12px var(--body);color:var(--ink3)}
@keyframes haCrack{to{stroke-dashoffset:0}}
@keyframes haShake{0%,100%{transform:none}20%{transform:translateX(-8px) rotate(-2deg)}40%{transform:translateX(7px) rotate(2deg)}60%{transform:translateX(-5px)}80%{transform:translateX(3px)}}
@keyframes haHit{0%{transform:scale(1.15)}40%{transform:scale(.92)}100%{transform:scale(1);filter:grayscale(.5) brightness(.85) drop-shadow(0 8px 14px rgba(0,0,0,.5))}}
.ha-push{display:flex;align-items:center;justify-content:center;gap:8px;padding:9px 12px;border-radius:12px;background:rgba(246,183,48,.1);border:1px dashed rgba(246,183,48,.5);color:var(--gold);font:600 12.5px var(--body)}
.ha-push::before{content:"";width:16px;height:16px;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M12 22a2.5 2.5 0 0 0 2.5-2.5h-5A2.5 2.5 0 0 0 12 22zm7-6V11a7 7 0 0 0-5-6.7V3.5a2 2 0 0 0-4 0v.8A7 7 0 0 0 5 11v5l-2 2v1h18v-1z%27/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M12 22a2.5 2.5 0 0 0 2.5-2.5h-5A2.5 2.5 0 0 0 12 22zm7-6V11a7 7 0 0 0-5-6.7V3.5a2 2 0 0 0-4 0v.8A7 7 0 0 0 5 11v5l-2 2v1h18v-1z%27/%3E%3C/svg%3E") center/contain no-repeat}

/* ---------- Flex Wallet (bank app look; game money only) ---------- */
.pnl.bank{gap:10px}
.fc-wrap{perspective:900px;cursor:pointer}
.fc{position:relative;aspect-ratio:1.586;border-radius:18px;transform-style:preserve-3d;transition:transform .6s cubic-bezier(.3,.9,.3,1);color:#fff;
  box-shadow:0 14px 28px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.35)}
.fc.flip{transform:rotateY(180deg)}
.fc-f,.fc-b{position:absolute;inset:0;border-radius:18px;padding:16px 18px;backface-visibility:hidden;-webkit-backface-visibility:hidden;overflow:hidden;background:var(--cbg)}
.fc-f::after,.fc-b::after{content:"";position:absolute;inset:0;background:radial-gradient(120% 80% at 85% -10%,rgba(255,255,255,.35),transparent 55%),repeating-linear-gradient(115deg,rgba(255,255,255,.04) 0 2px,transparent 2px 9px);pointer-events:none}
.fc-b{transform:rotateY(180deg);display:flex;flex-direction:column;justify-content:center;gap:4px}
.fc.silver{--cbg:linear-gradient(135deg,#8a95a8,#c9d1de 45%,#6b7488)}.fc.gold{--cbg:linear-gradient(135deg,#a8741a,#f2c75c 45%,#8a5a10)}
.fc.black{--cbg:linear-gradient(135deg,#0d0f16,#2a2f3d 50%,#07080c)}.fc.titanium{--cbg:linear-gradient(135deg,#3b2c6b,#7c5cd6 45%,#1c1440)}
.fc-top{display:flex;justify-content:space-between;align-items:center}.fc-top b{font:800 19px var(--display);letter-spacing:.02em;font-style:italic}.fc-top em{font:700 11px var(--body);font-style:normal;letter-spacing:.14em;text-transform:uppercase;opacity:.9}
.fc-chip{display:block;width:42px;height:32px;margin:14px 0 10px;border-radius:7px;background:linear-gradient(135deg,#f6dc8a,#c99a2e 60%,#f3d27a);box-shadow:inset 0 0 0 1px rgba(0,0,0,.25)}
.fc-chip::before{content:"";display:block;margin:6px 8px;height:20px;border:1px solid rgba(0,0,0,.25);border-radius:4px;border-left-width:0;border-right-width:0}
.fc-num{font:600 clamp(17px,5.4vw,22px) "Courier New",ui-monospace,monospace;letter-spacing:.12em;text-shadow:0 1px 1px rgba(0,0,0,.5)}
.fc-bot{position:absolute;left:18px;right:18px;bottom:14px;display:flex;justify-content:space-between}
.fc-bot small,.fc-b small{display:block;font:600 8.5px var(--body);letter-spacing:.12em;text-transform:uppercase;opacity:.8}.fc-bot b{font:600 13px var(--body);letter-spacing:.06em}
.fc-b b{font:800 28px var(--display)}.fc-b span{font:500 12px var(--body);opacity:.9}.fc-b em{font:400 10px var(--body);font-style:normal;opacity:.75;margin-top:6px}
.wb-bal{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.wb-bal>div{padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.wb-bal small{display:block;font:600 10px var(--body);letter-spacing:.06em;text-transform:uppercase;color:var(--ink3)}.wb-bal b{display:block;font:700 15px var(--display);white-space:nowrap}
.wb-bal span{font:400 10.5px var(--body);color:var(--ink3)}.wb-bal .risk b{color:#ffd35a}.wb-bal .safe b{color:#8ec5ff}
.wb-act{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.wb-h{font:600 11px var(--body);letter-spacing:.08em;text-transform:uppercase;color:var(--ink3)}
.wb-feed{max-height:30dvh;gap:0!important}
.tx{display:flex;align-items:center;gap:10px;padding:9px 2px;border-bottom:1px solid var(--line)}
.tx-ic{flex:none;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.06)}.tx-ic img{width:26px;height:26px;object-fit:contain}
.tx-w{flex:1;min-width:0}.tx-w b{display:block;font:600 13px var(--body);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx-w small{font:400 11px var(--body);color:var(--ink3)}
.tx-a{text-align:right}.tx-a b{display:block;font:700 13.5px var(--display)}.tx.in .tx-a b{color:#5ff09a}.tx.out .tx-a b{color:#ff8a94}.tx-a small{font:400 10.5px var(--body);color:var(--ink3)}
.tx.bad{background:linear-gradient(90deg,rgba(229,57,74,.1),transparent)}
.tx-rev{min-height:26px!important;padding:0 8px!important;font-size:11px!important}
@media (max-height:700px){.wb-feed{max-height:22dvh}.fc-chip{margin:8px 0 6px}}

/* ---------- Wallet screen (v2): premium card tiers ---------- */
#wallet{background:radial-gradient(120% 60% at 50% 0%,#1b2a64,#0a1128 60%,#070c1f)}
#wallet .sub-top{display:flex;align-items:center;gap:10px}
.wl-sub{margin-left:auto;padding:4px 10px;border-radius:10px;background:rgba(255,255,255,.08);font:600 11px var(--body);color:var(--ink2)}
.wl-body{flex:1;min-height:0;display:flex;flex-direction:column;gap:10px;padding:4px 16px calc(14px + var(--safeB,0px));overflow:hidden}
.wl-body .fc-wrap{flex:none;width:min(100%,360px);margin:0 auto}
.fc{box-shadow:0 18px 36px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.12) inset}
.fc-holo{position:absolute;inset:-40%;background:conic-gradient(from 200deg at 60% 40%,transparent 0deg,rgba(255,255,255,.18) 40deg,transparent 80deg,rgba(120,220,255,.12) 140deg,transparent 200deg);mix-blend-mode:overlay;animation:fcHolo 7s linear infinite;pointer-events:none}
@keyframes fcHolo{to{transform:rotate(360deg)}}
.fc-top b{display:flex;align-items:center;gap:6px}
.fc-logo{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:rgba(255,255,255,.25);font:800 15px var(--display);font-style:normal;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
.fc-mid{display:flex;align-items:center;gap:10px;margin:12px 0 8px}.fc-mid .fc-chip{margin:0}.fc-nfc{width:26px;height:26px;opacity:.85}
.fc-num{font-weight:700;letter-spacing:.14em}
/* the 7 cards */
.fc.blue{--cbg:linear-gradient(135deg,#1d4fd6,#3b82f6 45%,#1e3a8a)}
.fc.silver{--cbg:linear-gradient(135deg,#7d889c,#dfe5ef 45%,#69728a);color:#1b2333}.fc.silver .fc-num{text-shadow:0 1px 0 rgba(255,255,255,.6)}
.fc.gold{--cbg:linear-gradient(135deg,#9a6a12,#f7d06b 45%,#8a5a10);color:#2b1a00}.fc.gold .fc-num{text-shadow:0 1px 0 rgba(255,240,190,.6)}
.fc.platinum{--cbg:linear-gradient(135deg,#9fb3c8,#f4f7fb 40%,#8aa0b8 70%,#d9e2ec);color:#14202e}
.fc.black{--cbg:linear-gradient(135deg,#050608,#22252e 50%,#050608);color:#e9c46a}.fc.black .fc-top em,.fc.black .fc-num{color:#f2d27a}
.fc.diamond{--cbg:linear-gradient(135deg,#0f4c5c,#5ee6f0 35%,#c6a6ff 65%,#1d2f6b)}
.fc.infinite{--cbg:linear-gradient(135deg,#1a0b2e,#6b2bd9 35%,#f2b84b 70%,#1a0b2e)}
.fc.silver .fc-logo,.fc.gold .fc-logo,.fc.platinum .fc-logo{background:rgba(0,0,0,.12);box-shadow:inset 0 0 0 1px rgba(0,0,0,.18)}
/* next card */
.wl-next{flex:none;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.wl-next>div{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.wl-next>div>b{font:600 13px var(--body)}.wl-next>div span{font:400 11.5px var(--body);color:var(--ink2);text-align:right}
.wl-next>i{display:block;height:6px;margin:7px 0 8px;border-radius:3px;background:rgba(0,0,0,.45);overflow:hidden}.wl-next>i em{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,#ffd35a,#f29a0e)}
.wl-tiers{display:flex;gap:5px}.wl-tiers span{flex:1;height:10px;border-radius:3px;opacity:.25;background:var(--tc)}.wl-tiers .got{opacity:1}.wl-tiers .cur{box-shadow:0 0 0 2px #fff}
.t-blue{--tc:linear-gradient(90deg,#1d4fd6,#3b82f6)}.t-silver{--tc:linear-gradient(90deg,#8a95a8,#dfe5ef)}.t-gold{--tc:linear-gradient(90deg,#b07c18,#f7d06b)}.t-platinum{--tc:linear-gradient(90deg,#9fb3c8,#f4f7fb)}
.t-black{--tc:linear-gradient(90deg,#000,#3a3e4a)}.t-diamond{--tc:linear-gradient(90deg,#5ee6f0,#c6a6ff)}.t-infinite{--tc:linear-gradient(90deg,#6b2bd9,#f2b84b)}
b.t-gold{color:#f7d06b}b.t-silver{color:#dfe5ef}b.t-platinum{color:#e8eef6}b.t-black{color:#c9ced8}b.t-diamond{color:#7ff0f6}b.t-infinite{color:#f2b84b}
/* round action buttons like a banking app */
.wl-act{flex:none;display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.wl-act button{display:flex;flex-direction:column;align-items:center;gap:5px;color:var(--ink);font:600 11.5px var(--body)}
.wl-act i{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:linear-gradient(180deg,#2c4fb8,#1a3384);box-shadow:inset 0 2px 0 rgba(255,255,255,.25),0 4px 10px rgba(0,0,0,.35)}
.wl-act svg{width:22px;height:22px;color:#fff}
.wl-act button:active i{transform:translateY(2px)}
.wl-body .wb-bal{flex:none}
.wl-body .wb-feed{flex:1;min-height:60px;max-height:none;overflow-y:auto;scrollbar-width:none;padding-right:2px}
@media (max-height:700px){.wl-next{padding:8px 10px}.wl-act i{width:40px;height:40px}.wl-body .fc-wrap{width:min(100%,300px)}}

/* Send Money */
.mc{position:relative;overflow:hidden;padding:14px 16px;border-radius:16px;box-shadow:0 10px 22px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.3)}
.mc-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.mc-top b{display:flex;align-items:center;gap:6px;font:800 16px var(--display);font-style:italic}.mc-top em{font:700 10px var(--body);font-style:normal;letter-spacing:.14em;text-transform:uppercase}
.mc small{display:block;font:600 10px var(--body);letter-spacing:.1em;text-transform:uppercase;opacity:.85}.mc-amt{display:block;font:800 28px var(--display)}
.sm-h{font:600 11px var(--body);letter-spacing:.08em;text-transform:uppercase;color:var(--ink3)}
.sm-to{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.sm-p{flex:none;width:74px;display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 4px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid var(--line);color:var(--ink)}
.sm-p img{width:42px;height:42px;border-radius:50%;object-fit:cover}.sm-p b{max-width:100%;font:600 10.5px var(--body);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sm-p.on{border-color:var(--gold);background:rgba(246,183,48,.12)}
.sm-amt{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.sm-amt button{padding:10px 0;border-radius:12px;background:rgba(255,255,255,.05);border:1px solid var(--line);color:var(--ink);font:700 13px var(--display)}
.sm-amt button.on{background:rgba(246,183,48,.15);border-color:var(--gold);color:var(--gold)}
.sm-in{height:42px;border-radius:12px;border:1px solid var(--line2);background:var(--bg0);color:var(--ink);padding:0 12px;font:500 14px var(--body)}

/* ---------- Friends screen alignment ---------- */
#players .share-me{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px}
#players .share-me small{display:block;font:600 10.5px var(--body);letter-spacing:.08em;text-transform:uppercase;color:var(--ink3)}
#players .share-me b{display:block;font:700 20px var(--display)}
#players .share-me .gbtn{flex:none;min-height:40px;padding:0 18px}
#players .tabs3{display:grid!important;grid-template-columns:repeat(5,1fr);gap:4px;padding:4px}
#players .tabs3 button{min-width:0;padding:9px 0;text-align:center;white-space:nowrap;font-size:12px}
.seg2{display:grid!important;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:14px;background:rgba(255,255,255,.05);border:1px solid var(--line)}
.seg2[hidden]{display:none!important}
.seg2 button{padding:9px 0;border-radius:10px;color:var(--ink2);font:600 13px var(--body)}
.seg2 button.on{background:linear-gradient(180deg,#3e64d8,#1d3a9e);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.25)}
#players .p-note{padding:28px 16px;text-align:center;line-height:1.5}
/* ---------- Send Money: banking transfer screen ---------- */
.pnl.send{gap:12px}
.tf-from{display:flex;align-items:center;gap:12px}
.tf-from>div:last-child{flex:1;text-align:right}.tf-from small{display:block;font:600 10.5px var(--body);letter-spacing:.08em;text-transform:uppercase;color:var(--ink3)}
.tf-from b{display:block;font:700 18px var(--display)}.tf-from span{font:400 11.5px var(--body);color:var(--ink3)}
.fc.mini{flex:none;width:150px;border-radius:11px;box-shadow:0 8px 18px rgba(0,0,0,.45)}
.fc.mini .fc-f{padding:9px 10px;border-radius:11px}
.fc.mini .fc-top b{font-size:11px;gap:4px}.fc.mini .fc-top em{font-size:7px}.fc.mini .fc-logo{width:14px;height:14px;font-size:9px;border-radius:4px}
.fc.mini .fc-mid{margin:7px 0 4px}.fc.mini .fc-chip{width:20px;height:15px;border-radius:3px}.fc.mini .fc-chip::before{display:none}
.fc.mini .fc-num{font-size:9.5px;letter-spacing:.08em}
.fc.mini .fc-bot{left:10px;right:10px;bottom:7px}.fc.mini .fc-bot b{font-size:7.5px}
.tf-amt{display:flex;align-items:baseline;justify-content:center;gap:4px;padding:6px 0 0}
.tf-amt .cur{font:600 26px var(--display);color:var(--ink2)}
.tf-amt input{width:5.2ch;background:none;border:0;outline:0;color:#fff;font:800 46px/1 var(--display);text-align:left;padding:0;caret-color:var(--gold)}
.tf-chips{display:flex;justify-content:center;gap:6px}
.tf-chips button{padding:6px 14px;border-radius:20px;background:rgba(255,255,255,.06);border:1px solid var(--line);color:var(--ink2);font:600 12.5px var(--body)}
.tf-chips button.on{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.4);color:#fff}
.tf-h{display:flex;justify-content:space-between;align-items:center;margin-top:2px}.tf-h span{font:600 11px var(--body);letter-spacing:.08em;text-transform:uppercase;color:var(--ink3)}
.tf-h button{font:600 12px var(--body);color:#8ec5ff}
.tf-to{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px}
.tf-p{flex:none;width:78px;display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 4px;border-radius:14px;background:rgba(255,255,255,.04);border:1.5px solid transparent;color:var(--ink)}
.tf-p img{width:44px;height:44px;border-radius:50%;object-fit:cover;border:2px solid var(--line2)}
.tf-p b{max-width:100%;font:600 10.5px var(--body);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tf-p small{font:500 9.5px var(--body);color:var(--ink3)}
.tf-p.on{border-color:#5b8cff;background:rgba(91,140,255,.14)}.tf-p.on img{border-color:#8eb2ff}
.tf-p.no{opacity:.4}
.tf-note{margin:0;font:400 11px/1.4 var(--body);color:var(--ink3)}
.btn.tf-go{width:100%;min-height:52px;margin-top:4px;border-radius:14px;--c:linear-gradient(180deg,#f7f9ff,#dfe6f7);color:#0b1638;font:600 15px var(--body);box-shadow:0 6px 16px rgba(0,0,0,.35)}
.btn.tf-go b{font-weight:800}
.btn.tf-go:disabled{opacity:.45}
.tf-link{align-self:center;padding:2px 8px;font:600 12.5px var(--body);color:var(--ink2);text-decoration:underline;text-underline-offset:3px}
.tf-user{height:42px;border-radius:12px;border:1px solid var(--line2);background:rgba(0,0,0,.25);color:var(--ink);padding:0 12px;font:500 14px var(--body)}

/* rob a friend */
.rob-cta{display:flex;align-items:center;gap:10px;padding:8px 12px 8px 8px;border-radius:14px;background:linear-gradient(90deg,rgba(37,211,102,.16),rgba(255,255,255,.03));border:1px solid rgba(37,211,102,.45);color:var(--ink);text-align:left}
.rob-cta img{width:40px;height:40px;object-fit:contain}.rob-cta span{flex:1;min-width:0}.rob-cta b{display:block;font:700 14px var(--body)}.rob-cta small{display:block;font:400 11.5px var(--body);color:var(--ink2)}
.rob-cta>i{width:8px;height:8px;border-right:2px solid var(--ink3);border-top:2px solid var(--ink3);transform:rotate(45deg)}
.rob-prev{display:flex;gap:12px;align-items:center;padding:12px;border-radius:14px;background:#0b2a1c;border:1px solid rgba(37,211,102,.35)}
.rob-prev img{width:54px;height:54px;object-fit:contain;flex:none}.rob-prev p{margin:0;font:500 13.5px/1.45 var(--body);color:#dfffe9}
.btn.rob-wa{--c:linear-gradient(180deg,#2fe07a,#1ea952);color:#fff;width:100%}
.fx-share{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:6px 0 4px}
.btn.fp-fb,.btn.fp-wa{color:#fff;width:100%;display:flex;align-items:center;justify-content:center;gap:6px;font-size:15px}.btn.fp-fb{--c:linear-gradient(180deg,#2d7cf6,#1758c9)}.btn.fp-wa{--c:linear-gradient(180deg,#2fe07a,#1ea952)}
.btn.fp-fb svg,.btn.fp-wa svg{width:19px;height:19px;flex:none}   /* owner 2026-11-01: flex on Facebook */
.rl-foot.fp-one{display:flex;justify-content:center}.rl-foot.fp-one .btn{flex:0 1 60%}
.rob-banner{position:relative;z-index:3;display:flex;align-items:center;gap:10px;margin:10px 12px 0;padding:10px 12px;border-radius:14px;background:linear-gradient(90deg,#b81d2e,#e5394a);color:#fff;box-shadow:0 8px 20px rgba(0,0,0,.4);animation:haShake .6s .4s both}
.rob-banner img{width:44px;height:44px;object-fit:contain;filter:drop-shadow(0 3px 5px rgba(0,0,0,.4))}.rob-banner b{display:block;font:800 15px var(--display)}.rob-banner span{font:500 12.5px var(--body);opacity:.95}
.fp-url{padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.05);border:1px solid var(--line)}.fp-url small{display:block;font:600 10.5px var(--body);letter-spacing:.08em;text-transform:uppercase;color:var(--ink3)}.fp-url b{display:block;font:600 14px var(--body);word-break:break-all;color:#8ec5ff}
.pnl.rivals .rl-list{max-height:31dvh}
@media (max-height:760px){.pnl.rivals .rl-list{max-height:24dvh}.rob-cta small,.rd-hero small{display:none}.rob-cta img{width:32px;height:32px}.rd-hero img{width:46px;height:46px}.pnl.rivals{gap:8px}}
@media (max-height:660px){.pnl.rivals .rl-list{max-height:19dvh}.pnl.rivals .ha-push{display:none}}

/* ---------- goal bar (home) ---------- */
#home .goal-bar{display:flex;align-items:center;gap:9px;width:100%;margin:0 0 7px;padding:7px 10px;border-radius:14px;background:rgba(8,14,40,.82);border:1px solid rgba(255,255,255,.14);color:var(--ink);text-align:left;box-shadow:0 4px 12px rgba(0,0,0,.35)}
.cdot{flex:none;display:block;width:30px;height:20px;border-radius:5px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35),0 2px 4px rgba(0,0,0,.4)}
.gb-t{flex:none;display:flex;flex-direction:column;line-height:1.1}.gb-t b{font:700 13px var(--body);white-space:nowrap}.gb-t small{font:500 11px var(--body);color:var(--ink2);white-space:nowrap}
.gb-bar{flex:1;height:8px;border-radius:4px;background:rgba(0,0,0,.5);overflow:hidden}.gb-bar em{display:block;height:100%;border-radius:4px;background:linear-gradient(90deg,#ffd35a,#f29a0e)}
.gb-go{flex:none;padding:5px 10px;border-radius:9px;background:linear-gradient(180deg,#ffe27a,#f2a20e);color:#4a2a00;font:800 11.5px var(--body);box-shadow:inset 0 -2px 0 rgba(140,70,0,.35)}
/* goal panel */
.gl-now{text-align:center}.gl-now small{display:block;font:600 10.5px var(--body);letter-spacing:.08em;text-transform:uppercase;color:var(--ink3)}.gl-now b{display:block;font:800 30px var(--display);color:var(--gold)}.gl-now span{font:400 11.5px var(--body);color:var(--ink3)}
.gl-list{display:flex;flex-direction:column;gap:5px;max-height:44dvh;overflow-y:auto;scrollbar-width:none}
.gl{display:flex;align-items:center;gap:10px;padding:7px 10px;border-radius:12px;background:rgba(255,255,255,.03);border:1px solid var(--line);opacity:.6}
.gl.got{opacity:1}.gl.cur{border-color:var(--gold);background:rgba(246,183,48,.08)}
.gl>div{flex:1;min-width:0}.gl b{display:block;font:600 13px var(--body)}.gl small{font:400 11px var(--body);color:var(--ink3)}.gl>span{font:600 11px var(--body);color:#5ff09a;text-align:right;max-width:44%}
.gl-next{flex-direction:column}.gl-next span{display:flex;flex-direction:column;align-items:center;line-height:1.2}.gl-next b{font:800 15px var(--body)}.gl-next small{font:500 12px var(--body);opacity:.92;white-space:normal}
.cu-card{position:relative;overflow:hidden;width:220px;aspect-ratio:1.586;margin:6px auto;border-radius:16px;padding:14px;display:flex;justify-content:space-between;align-items:flex-start;box-shadow:0 14px 30px rgba(0,0,0,.55);animation:lxIn .6s cubic-bezier(.2,1.5,.4,1) both}
.cu-card b{display:flex;align-items:center;gap:6px;font:800 16px var(--display);font-style:italic}.cu-card em{font:700 10px var(--body);font-style:normal;letter-spacing:.14em;text-transform:uppercase}
@media (max-height:700px){#home .goal-bar{padding:5px 9px;margin-bottom:5px}.gl-list{max-height:34dvh}}
.ac-btn.violet{background:linear-gradient(#b48bff,#6d35d9);color:#fff;text-shadow:0 .5cqw 0 #3a1580;border:.6cqw solid #dccbff;box-shadow:0 1.2cqw 0 #42198c,inset 0 .8cqw 0 rgba(255,255,255,.35)}
/* goal bar sits in the centre column under the project card */
#home .goal-bar{margin:0;padding:6px 8px;gap:7px;flex-wrap:wrap}
#home .goal-bar .gb-bar{flex:1 1 100%;order:3;height:6px}
#home .goal-bar .gb-t{flex:1;min-width:0}#home .goal-bar .gb-t b{font-size:12.5px}#home .goal-bar .gb-go{padding:4px 9px;font-size:11px}
.gl{padding:5px 10px}.gl small{display:none}.gl.cur small,.gl:first-child small{display:block}.gl>span{max-width:58%;font-size:10.5px}
.gl-list{max-height:none;overflow:visible}
@media (max-height:660px){.gl-now span{display:none}.gl-now b{font-size:26px}.pnl.goal{gap:8px}}

/* ---------- Games hub ---------- */
.gt-h{font:600 11px var(--body);letter-spacing:.08em;text-transform:uppercase;color:var(--ink3);margin-top:2px}
.gt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.gt{display:flex;flex-direction:column;align-items:center;gap:2px;padding:9px 4px 8px;border-radius:14px;background:rgba(255,255,255,.05);border:1px solid var(--line);color:var(--ink);text-align:center;transition:transform .08s}
.gt:active{transform:scale(.96)}
.gt img{width:44px;height:44px;object-fit:contain;filter:drop-shadow(0 3px 5px rgba(0,0,0,.45))}
.gt b{font:700 12.5px/1.15 var(--body)}.gt small{font:500 10.5px var(--body);color:var(--ink2)}
.gt.blue{background:linear-gradient(180deg,#3e78ea,#1d4fc4);border-color:rgba(255,255,255,.35)}
.gt.violet{background:linear-gradient(180deg,#9b6bff,#6d35d9);border-color:rgba(255,255,255,.35)}
.gt.gold{background:linear-gradient(180deg,#f7c548,#d98a07);border-color:rgba(255,255,255,.45)}.gt.gold b,.gt.gold small{color:#3a2200}
.gt.blue small,.gt.violet small{color:rgba(255,255,255,.85)}
.fm-card.gold{background:linear-gradient(180deg,#f7c548,#d98a07);color:#3a2200;box-shadow:inset 0 -4px 0 rgba(120,60,0,.35),0 4px 0 #8a5a10}.fm-card.gold i{border-color:#3a2200}
@media (max-height:700px){.gt img{width:36px;height:36px}.gt{padding:7px 3px}}

/* ---------- Lifestyle cards: one size, one line each ---------- */
#srGrid{grid-auto-rows:auto;align-items:stretch}
.ls-card{display:flex!important;flex-direction:column;height:100%}
.ls-card .im{aspect-ratio:4/3;height:auto!important}
.ls-card .tx{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:8px 8px 10px!important;text-align:center}
.ls-card .tx b{display:block;max-width:100%;font:700 14px var(--display)!important;white-space:nowrap;overflow:hidden}
.ls-card .tx .v{display:inline-flex;align-items:center;gap:4px;font:700 14px var(--display)}.ls-card .tx .v img{width:18px;height:18px}
.stats3 small{display:block;white-space:nowrap;overflow:hidden}
.lx-h b,.lx-h small{white-space:nowrap}
.fs-bonus{display:grid;grid-template-columns:auto 1fr;gap:0 10px;align-items:center;margin:8px auto 0;padding:8px 12px;border-radius:14px;background:rgba(246,183,48,.12);border:1px solid rgba(246,183,48,.45);text-align:left;max-width:280px}
.fs-bonus img{grid-row:span 2;width:40px;height:40px}.fs-bonus b{font:800 14px var(--display);color:var(--gold)}.fs-bonus span{font:500 11.5px var(--body);color:#dfe7ff}
/* ---------- Protect: 3 clear blocks ---------- */
.pnl.defense{gap:9px}
.pr-risk{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.pr-risk>div{padding:9px 12px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.pr-risk small{display:block;font:600 10px var(--body);letter-spacing:.08em;text-transform:uppercase;color:var(--ink3)}.pr-risk b{display:block;font:800 19px var(--display)}.pr-risk b.bad{color:#ffb35a}.pr-risk b.ok{color:#8ec5ff}.pr-risk span{font:400 11px var(--body);color:var(--ink3)}
.pr{display:flex;flex-direction:column;gap:7px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.pr-h{display:flex;align-items:center;gap:10px}.pr-h img{width:38px;height:38px;object-fit:contain;flex:none}
.pr-h>div{flex:1;min-width:0}.pr-h b{display:block;font:700 15px var(--body)}.pr-h small{display:block;font:400 11.5px/1.3 var(--body);color:var(--ink2)}
.pr-h em{flex:none;font:700 13px var(--display);font-style:normal;color:var(--gold);white-space:nowrap}
.pr-a{display:flex;gap:6px}.pr-a .btn{flex:1}.pr-a input{flex:1;min-width:0;height:34px;border-radius:10px;border:1px solid var(--line2);background:var(--bg0);color:var(--ink);padding:0 10px;font:500 13px var(--body)}
.pr-u .btn{width:100%}.pr-max{display:block;text-align:center;font:600 12px var(--body);color:var(--ink3)}
@media (max-height:700px){.pr{padding:8px 10px;gap:5px}.pr-h img{width:30px;height:30px}.pr-h small{display:none}}

/* job price: tools, or coins underneath */
.ws-cost{flex-direction:column!important;gap:0!important;line-height:1.1!important;min-width:96px}
.ws-cost .wc-t{display:inline-flex;align-items:center;gap:4px}
.ws-cost em{display:block!important;margin:2px 0 0!important;padding:0!important;border:0!important;font:700 11px var(--body)!important;opacity:.9;white-space:nowrap}
.ws-cost em img{display:none}
/* every Lifestyle card: same picture box, same text block */
.ls-card .im,.ls-card .im.lookbox{position:relative;aspect-ratio:4/3!important;height:auto!important;overflow:hidden;display:block}
.ls-card .im .look{position:absolute!important;inset:0;width:100%!important;height:100%!important;margin:0!important;transform:none!important}
.ls-card .im .look>img,.ls-card .im>img{width:100%!important;height:100%!important;object-fit:cover!important;display:block}
.ls-card .tx{min-height:66px}
.ls-card.ls-lux{border-color:rgba(246,183,48,.55)!important}.ls-card.ls-lux .im{background:#120d02}
.ls-x{position:absolute;right:6px;bottom:6px;padding:2px 7px;border-radius:8px;background:rgba(0,0,0,.65);font:800 12px var(--display);font-style:normal;color:var(--gold)}

/* practice rivals */
.pf-h{margin:4px 2px 0;font:600 11px var(--body);letter-spacing:.08em;text-transform:uppercase;color:var(--ink3)}
.bot-tag{display:inline-block;margin-left:4px;padding:1px 6px;border-radius:6px;background:#475569;color:#fff;font:700 9.5px/1.5 var(--body);font-style:normal;letter-spacing:.06em;vertical-align:middle}
.lv-easy{color:#5ff09a}.lv-medium{color:#ffd35a}.lv-hard{color:#ff8a94}
.pnl.pickfriend .rl-list{max-height:52dvh}
.pnl.pickfriend .rl{padding:5px 8px 5px 6px}.pnl.pickfriend .rl-av img{width:30px;height:30px}.pnl.pickfriend .rl .btn.sm{min-height:28px}.pnl.pickfriend .rl-list{gap:5px;max-height:60dvh}

/* goal bar: name and amount on the left, a small arrow instead of a button that covered the text */
#home .goal-bar .gb-go{padding:0;width:22px;height:22px;border-radius:50%;font-size:0;position:relative;flex:none}
#home .goal-bar .gb-go::after{content:"";position:absolute;left:6px;top:7px;width:6px;height:6px;border-right:2.4px solid #4a2a00;border-top:2.4px solid #4a2a00;transform:rotate(45deg)}
#home .goal-bar .gb-t b,#home .goal-bar .gb-t small{display:block;white-space:nowrap;overflow:hidden}
#home .hb span{display:block;max-width:100%;white-space:nowrap;overflow:hidden;padding:0 3px}

/* Games tiles: every label on one line */
.gt b,.gt small{display:block;max-width:100%;white-space:nowrap;overflow:hidden}
.gt{padding:8px 4px 7px;gap:1px}

/* ---------- Flex Spin (v3.33): the owner's machine art, reels turn BEHIND the gold frame ---------- */
.fs3{display:flex;flex-direction:column;align-items:center;gap:8px}
.fs-mach{position:relative;container-type:inline-size;width:min(100%,calc((100dvh - 285px) * .842));aspect-ratio:1151/1367;margin:2px auto 0}
.fs-art{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;display:block}
.fs-reel{position:absolute;z-index:1;top:47.9cqw;height:40.8cqw;overflow:hidden;border-radius:6cqw/4cqw;background:linear-gradient(90deg,#c8cfdb,#fff 16%,#fff 84%,#c4cbd8)}
/* the middle line is the one that counts: the rows above and below are shaded */
.fs-reel::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(rgba(16,28,72,.42),rgba(16,28,72,.16) 31%,transparent 34%,transparent 66%,rgba(16,28,72,.16) 69%,rgba(16,28,72,.42))}
.fs-reel .jk-strip{will-change:transform;backface-visibility:hidden}
.fs-c{height:13.6cqw;display:flex;align-items:center;justify-content:center}
.fs-c img{width:84%;height:84%;object-fit:contain;filter:drop-shadow(0 .5cqw .4cqw rgba(0,0,0,.25))}
.fs-c.hit img{animation:fsHit .5s ease-in-out 4 alternate}
@keyframes fsHit{to{transform:scale(1.16);filter:drop-shadow(0 0 2.6cqw #ffd84a) brightness(1.12)}}
.fs-mid{position:absolute;z-index:3;top:68.3cqw;width:0;height:0;margin-top:-1.8cqw;border:1.8cqw solid transparent}
.fs-mid.l{left:10.6%;border-left:2.6cqw solid #ff3355}
.fs-mid.r{right:15.2%;border-right:2.6cqw solid #ff3355}
.fs-reward{position:absolute;z-index:3;left:14%;width:67.5%;top:87.9%;height:4.9%;display:flex;align-items:center;justify-content:center;gap:2cqw;white-space:nowrap;overflow:hidden}
.fs-reward small{font:800 3cqw/1 var(--display);color:#9a5a10;letter-spacing:.06em;text-transform:uppercase}
.fs-reward b{font:800 5cqw/1 var(--display);color:#7a1a08}
.fs-reward.big b{color:#c81e3a}
.fs-reward.lost b{color:#6b6f80}
.fs3 .jk-spins .fs-info{width:28px;height:28px;padding:0;border-radius:50%;justify-content:center;font:800 15px/1 var(--display);background:radial-gradient(circle at 35% 30%,#5aa8ff,#1450c8);border:2px solid #fff}
.fs3 .jk-spins .fs-info::after{display:none}
.fs-ctrl{width:100%;display:flex;align-items:center;justify-content:center;gap:12px}
.fs-ctrl .jk-bet{min-width:120px;justify-content:center;height:46px;font-size:18px!important;white-space:nowrap}
.fs-go{padding:0;background:none;border:0;width:150px;height:auto;transition:transform .12s;filter:drop-shadow(0 4px 6px rgba(0,0,0,.45))}
.fs-go img{display:block;width:100%;height:auto}
.fs-go:active{transform:scale(.94)}
.fs-go:disabled{filter:grayscale(.5) brightness(.75)}
.fs-go.empty{filter:grayscale(.7) brightness(.8)}
.fs3 .jk-pt{position:absolute;z-index:6;left:10px;right:10px;top:10px;bottom:10px;overflow-y:auto;margin:0;background:#0d1f52;border:2px solid #ffd84a;box-shadow:0 10px 30px rgba(0,0,0,.6)}
.fs3 .jk-pt-h{display:block;text-align:center;font:800 20px var(--display);color:#ffd84a}
.fs3 .jk-pt .ac-btn{height:48px;font-size:20px;margin-top:6px}
.fx-spin-sheet.jk-mode .fx-spin-result{display:block;min-height:20px;margin:4px 0 0;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Flex Spin: bigger symbols, lights in the frame's holes, the red button in the round hole */
.fs-c img{width:100%;height:100%;transform:scale(1.12);filter:drop-shadow(0 .4cqw .3cqw rgba(0,0,0,.22))}
.fs-c.hit img{animation:fsHit2 .5s ease-in-out 4 alternate}
@keyframes fsHit2{from{transform:scale(1.12)}to{transform:scale(1.28);filter:drop-shadow(0 0 2.6cqw #ffd84a) brightness(1.12)}}
.fs-lights{position:absolute;inset:0;z-index:3;pointer-events:none}
.fs-l{position:absolute;width:1.9%;aspect-ratio:1;margin:-.95% 0 0 -.95%;border-radius:50%;background:radial-gradient(circle,#fffbe6 0 30%,#ffd84a 58%,#ff9d00 78%,rgba(255,160,0,0) 80%);box-shadow:0 0 1.4cqw .4cqw rgba(255,214,80,.85);animation:fsLamp 1.6s steps(1) infinite}
.fs-l.b{animation-delay:.8s}
@keyframes fsLamp{0%{opacity:1}50%{opacity:.35}}
.fs-lights.run .fs-l{animation-duration:.24s}.fs-lights.run .fs-l.b{animation-delay:.12s}
.fs-lights.win .fs-l{animation:fsLampWin .3s ease-in-out 8 alternate}
@keyframes fsLampWin{from{opacity:.4;transform:scale(.9)}to{opacity:1;transform:scale(1.35);box-shadow:0 0 2.6cqw 1cqw rgba(255,230,120,.95)}}
.fs-push{position:absolute;z-index:4;width:6.1%;aspect-ratio:1;margin:-3.05% 0 0 -3.05%;padding:0;border:0;border-radius:50%;background:radial-gradient(circle,#3a1200 55%,#1a0600 72%)}
.fs-push i{position:absolute;inset:9%;border-radius:50%;background:radial-gradient(circle at 36% 30%,#ffc2b8 0,#ff3b30 30%,#c4101e 64%,#6e0010 100%);box-shadow:0 .5cqw .6cqw rgba(0,0,0,.6),inset 0 -.6cqw .8cqw rgba(0,0,0,.35);transition:transform .1s}
.fs-push::after{content:"";position:absolute;inset:-18%;border-radius:50%;box-shadow:0 0 2cqw .8cqw rgba(255,60,50,.7);animation:jkPushGlow 1.4s ease-in-out infinite;pointer-events:none}
.fs-push.press i,.fs-push:active i{animation:fsPress .35s ease}
@keyframes fsPress{40%{transform:scale(.8);filter:brightness(.8)}}
@media (prefers-reduced-motion:reduce){.fs-l,.fs-push::after{animation:none!important}}
.fs-mid.r{right:16.6%}
/* Flex Spin v3.38: Coin Master layout. x3 pill under the machine, SPIN alone in the centre, no sum line, bigger red button */
@font-face{font-family:"Lilita One";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/lilita-one-latin.woff2) format("woff2")}
.fs3{gap:6px}
.fs3 .fs-mult{min-width:0;height:34px;padding:0 14px 0 18px;margin-top:-2px;gap:4px;border-radius:17px;font:400 21px/1 "Lilita One",var(--display)!important;letter-spacing:.02em}
.fs3 .fs-mult i{width:16px;height:16px}
.fs-ctrl{justify-content:center}
.fs-go{width:190px}
.fx-spin-sheet.jk-mode .fx-spin-result{display:none}
.fs-push{width:7.4%;margin:-3.7% 0 0 -3.7%;background:radial-gradient(circle,#2a0c00 62%,#140500 74%)}
.fs-push i{inset:4%}
/* reward bar: one centred line, game font */
.fs-reward{gap:2.4cqw;align-items:center}
.fs-reward small{font:400 3.6cqw/1 "Lilita One",var(--display);letter-spacing:.08em;color:#a8650c;text-transform:uppercase;transform:translateY(.15cqw)}
.fs-reward b{font:400 6.2cqw/1 "Lilita One",var(--display);letter-spacing:.02em;color:#8a1606;text-shadow:0 .25cqw 0 rgba(255,255,255,.7)}
.fs-reward.big b{color:#c8102e}
/* v3.40: crown balls glow, both buttons press on every spin */
.fs-l.ball{width:3.1%;margin:-1.55% 0 0 -1.55%;background:radial-gradient(circle at 40% 35%,rgba(255,255,240,.95) 0 18%,rgba(255,226,120,.55) 45%,rgba(255,200,40,0) 72%);box-shadow:0 0 2cqw .6cqw rgba(255,220,100,.6)}
.fs-go:disabled{filter:drop-shadow(0 4px 6px rgba(0,0,0,.45))}
.fs-go.press{animation:fsGoPress .42s cubic-bezier(.3,.7,.4,1)}
@keyframes fsGoPress{0%{transform:none}30%{transform:translateY(7px) scale(.93);filter:brightness(.82) drop-shadow(0 1px 2px rgba(0,0,0,.5))}70%{transform:translateY(-2px) scale(1.02)}100%{transform:none}}
.fs-push.press i{animation:fsPushIn .55s cubic-bezier(.3,.7,.4,1)}
@keyframes fsPushIn{0%{transform:none}30%{transform:translateX(12%) scale(.72);filter:brightness(.7);box-shadow:inset 0 .6cqw 1cqw rgba(0,0,0,.6)}75%{transform:translateX(-3%) scale(1.06)}100%{transform:none}}
/* v3.41: one bar under the machine: spins left | x pill | +30 and info. Symbols sized to fit their cells */
.fs-c img{transform:scale(.94)}
@keyframes fsHit2{from{transform:scale(.94)}to{transform:scale(1.06);filter:drop-shadow(0 0 2.6cqw #ffd84a) brightness(1.12)}}
.fs-bar{width:100%;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;margin-top:-2px}
.fs-bar .fs-mult{margin:0}
.fs-sp{display:flex;align-items:center;gap:6px;min-width:0;justify-self:start;padding-left:4px}
.fs-sp i{flex:none;width:20px;height:20px;background:url("../img/jp/zap.webp?v=1") center/contain no-repeat}
.fs-sp span{display:flex;flex-direction:column;line-height:1.05;min-width:0}
.fs-sp b{font:400 18px/1 "Lilita One",var(--display);color:#fff;white-space:nowrap}
.fs-sp small{font:600 10.5px/1.2 var(--body);color:#b6c6ee;white-space:nowrap}
.fs-sp small.ask{color:#ffd84a}
.fs-rt{display:flex;align-items:center;gap:6px;justify-self:end;padding-right:4px}
.fs-buy{height:30px;padding:0 9px;border-radius:15px;display:flex;align-items:center;gap:4px;font:400 16px/1 "Lilita One",var(--display);color:#fff;background:linear-gradient(#4f8dff,#1d55d6);border:2px solid #9cc2ff;box-shadow:0 2px 0 #0e3290}
.fs-buy::after{content:"";width:14px;height:14px;background:url("../img/icons/gem.png") center/contain no-repeat}
.fs-rt .fs-info{width:30px;height:30px;padding:0;border-radius:50%;display:flex;align-items:center;justify-content:center;font:400 17px/1 "Lilita One",var(--display);color:#fff;background:radial-gradient(circle at 35% 30%,#5aa8ff,#1450c8);border:2px solid #fff}
.fs-bar{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:6px;margin-bottom:4px}
.fs-bar .fs-mult{height:32px;padding:0 12px 0 15px;font-size:20px!important}
.fs-sp{gap:5px;padding-left:2px}
.fs-sp b{font-size:17px}
.fs-sp small{font-size:10px}
.fs-rt{gap:5px;padding-right:2px}
.fs-buy{height:28px;padding:0 8px;font-size:15px}
.fs-rt .fs-info{width:28px;height:28px;font-size:16px}
@media (max-width:345px){.fs-sp i{width:16px;height:16px}.fs-sp b{font-size:15px}.fs-sp small{font-size:9px}.fs-bar .fs-mult{padding:0 9px 0 11px;font-size:18px!important}.fs-buy{padding:0 6px;font-size:13px;gap:2px}.fs-buy::after{width:12px;height:12px}.fs-rt .fs-info{width:24px;height:24px;font-size:14px}}
/* Out Of Spins (v3.43): game panel, sign + countdown + 3 reward tiles */
.pnl.os-sheet{padding:0;overflow:hidden;background:#0d1d4a;border:2px solid #f2b628;box-shadow:0 0 0 3px #6b3d00,0 18px 50px rgba(0,0,0,.6)}
.os2{position:relative;padding:6px 12px 14px;display:flex;flex-direction:column;align-items:center;background:linear-gradient(#173a8a,#0d1d4a 46%)}
.os-x{position:absolute;right:10px;top:10px;z-index:2;width:32px;height:32px;border-radius:50%;background:#c4122a;border:2px solid #ffd5d5;box-shadow:0 2px 0 #6e0010}
.os-x::before,.os-x::after{content:"";position:absolute;left:7px;top:13px;width:14px;height:3px;border-radius:2px;background:#fff;transform:rotate(45deg)}
.os-x::after{transform:rotate(-45deg)}
.os-sign{width:78%;max-width:300px;margin:2px 0 -2px;display:block;filter:drop-shadow(0 6px 10px rgba(0,0,0,.5))}
.os-clock{display:flex;flex-direction:column;align-items:center;margin:2px 0 12px;padding:6px 26px 7px;border-radius:14px;background:#081538;border:2px solid #2c4f9e}
.os-clock small{font:400 13px/1 "Lilita One",var(--display);letter-spacing:.08em;text-transform:uppercase;color:#9fb8ee}
.os-clock b{font:400 34px/1.05 "Lilita One",var(--display);color:#ffd84a;letter-spacing:.03em;text-shadow:0 2px 0 #7a4300}
.os-row{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.os-t{display:flex;flex-direction:column;align-items:center;padding:8px 4px 0;border-radius:14px;overflow:hidden;background:#1a2f6e;border:2px solid #3d63c4;box-shadow:0 3px 0 #08163f;transition:transform .1s}
.os-t:active{transform:translateY(2px)}
.os-art{height:50px;display:flex;align-items:center;justify-content:center}
.os-art img{width:48px;height:48px;object-fit:contain;filter:drop-shadow(0 3px 4px rgba(0,0,0,.45))}
.os-play{display:block;width:44px;height:44px;border-radius:12px;background:#e8192c;box-shadow:0 3px 0 #7a0010,inset 0 2px 0 rgba(255,255,255,.35);position:relative}
.os-play::after{content:"";position:absolute;left:17px;top:12px;border:10px solid transparent;border-left:14px solid #fff;border-right:0}
.os-t b{margin-top:4px;font:400 15px/1.1 "Lilita One",var(--display);color:#fff;white-space:nowrap}
.os-t em{font:400 22px/1.1 "Lilita One",var(--display);font-style:normal;color:#ffd84a;white-space:nowrap}
.os-foot{width:calc(100% + 8px);margin-top:6px;padding:6px 0 7px;display:flex;align-items:center;justify-content:center;gap:4px;font:400 15px/1 "Lilita One",var(--display);color:#fff;background:#25a244;white-space:nowrap}
.os-foot img{width:16px;height:16px}
.os-t.gem .os-foot{background:#7b3fe4}
.os-t.off{opacity:.55}.os-t.off .os-foot{background:#4a5577}
.os-t b{max-width:100%;overflow:hidden}
/* ---------- speed (v3.50): piece shadows are baked into the pictures, so no filter on 80 tiles ---------- */
#boardIn .tile img{filter:none!important}
/* Lite graphics: nothing that loops or redraws the whole board */
html.lite .tile .spi,html.lite .tile .spglow,html.lite .fs-push::after,html.lite #puzzle.aiming .board{animation:none!important}
html.lite .scorch,html.lite .fx-flash,html.lite .fx-ring{display:none!important}
html.lite .tile.blasted,html.lite .tile.pop{animation-duration:.14s!important}
html.lite .board{box-shadow:none!important}
html.lite .fs-c img,html.lite .fs-go,html.lite .os-sign{filter:none!important}
/* Settings: Graphics Auto / Lite / Full */
.set-gfx{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 2px}
.set-gfx b{font:700 4.2cqw var(--display);color:#fff}
.set-gfx span{display:flex;gap:4px;padding:3px;border-radius:12px;background:rgba(0,0,0,.3)}
.set-gfx button{min-width:16cqw;height:9cqw;border-radius:9px;font:700 3.6cqw var(--display);color:#b6c6ee;background:transparent}
.set-gfx button.on{color:#3a2200;background:linear-gradient(#ffe46b,#f4a900)}
/* every piece moves on its own layer: falling pieces no longer repaint the board under them */
#boardIn .tile{will-change:translate;backface-visibility:hidden}

/* live match: the opponent's progress glides between the 3 s syncs */
#cOppBar,#tugMe,#tugOpp{transition:width 1.2s ease-out}
/* ---------- game panels (v3.53, owner's Best Of 3 mockup): gold frame, centred gold title, blue round close, glossy cards ---------- */
.pnl{background:radial-gradient(ellipse 120% 60% at 50% 0%,#24489e 0%,#13286a 45%,#0b1a48 100%);border:2px solid #f4c24a;box-shadow:0 0 0 3px #6b3d00,inset 0 0 0 2px rgba(255,214,90,.25),inset 0 0 26px rgba(80,140,255,.25),0 18px 50px rgba(0,0,0,.6)}
.pnl-h{position:relative;flex-direction:column;align-items:center;text-align:center;gap:2px;padding:0 30px}
.pnl-h>div{min-width:0;max-width:100%}
.pnl-h b{font:400 25px/1.1 "Lilita One",var(--display);letter-spacing:.01em;background:linear-gradient(#fff6c0,#ffd23a 45%,#f49a00);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-stroke:1.2px #6b3300;paint-order:stroke fill;filter:drop-shadow(0 2px 0 #5a2a00)}
.pnl-h small{margin-top:5px;font:600 13px/1.35 var(--body);color:#f2f5ff}
.pnl-h.art{padding-top:2px}
.pnl-art{width:64px;height:64px;object-fit:contain;margin:-30px 0 -2px;filter:drop-shadow(0 4px 6px rgba(0,0,0,.5))}
.pnl-x{position:absolute;right:-6px;top:-6px;width:32px;height:32px;background:radial-gradient(circle at 40% 32%,#6cb6ff,#1a5ad8 60%,#103c9c);border:2px solid #fff;box-shadow:0 0 0 2px #d99b1c,0 3px 4px rgba(0,0,0,.45)}
.pnl-x::before,.pnl-x::after{left:8px;top:13.5px;width:12px;height:2.6px;background:#fff}
.fm-card{flex-direction:row;align-items:center;gap:10px;padding:10px 52px 10px 10px;border:2px solid #ffd76a;overflow:hidden}
.fm-card::before{content:"";position:absolute;left:4px;right:4px;top:3px;height:44%;border-radius:12px 12px 40% 40%/12px 12px 18px 18px;background:linear-gradient(rgba(255,255,255,.34),rgba(255,255,255,.04));pointer-events:none}
.fm-card.violet{background:linear-gradient(180deg,#b06cff,#7b2fe0 55%,#5a17b8);box-shadow:0 4px 0 #3a0d80,0 0 14px rgba(170,90,255,.45)}
.fm-card.red{background:linear-gradient(180deg,#ff7a5a,#e8322e 55%,#b81420);box-shadow:0 4px 0 #6e0a12,0 0 14px rgba(255,80,60,.4)}
.fm-card.gold{background:linear-gradient(180deg,#ffd76a,#f0a812 55%,#c97a00);box-shadow:0 4px 0 #7a4600,0 0 14px rgba(255,190,40,.4)}
.fm-ic{position:relative;flex:none;width:46px;height:46px;object-fit:contain;filter:drop-shadow(0 3px 3px rgba(0,0,0,.4))}
.fm-t{position:relative;display:flex;flex-direction:column;gap:2px;min-width:0}
.fm-card b{font:400 19px/1.1 "Lilita One",var(--display);text-shadow:0 2px 0 rgba(0,0,0,.35)}
.fm-card small{font:600 12px/1.3 var(--body);opacity:.95}
.fm-card.gold b{text-shadow:0 1px 0 rgba(255,255,255,.4)}
.fm-card i{right:10px;width:32px;height:32px;margin-top:-16px;border:2px solid #fff!important;border-radius:50%;transform:none;background:radial-gradient(circle at 40% 32%,rgba(255,255,255,.35),rgba(0,0,0,.18))}
.fm-card i::after{content:"";position:absolute;left:8px;top:9.5px;width:8px;height:8px;border-right:3px solid #fff;border-top:3px solid #fff;transform:rotate(45deg)}
.fm-card.gold i{border-color:#fff!important}
html.lite .pnl-h b{filter:none}
.pnl-h b{font-size:30px;-webkit-text-stroke:1.6px #6b3300}
.fm-card b{white-space:nowrap;overflow:hidden}
.fm-card::before{background:linear-gradient(rgba(255,255,255,.28),rgba(255,255,255,0))}
@media (max-height:760px){.pnl-h b{font-size:24px}.pnl-h small{margin-top:3px;font-size:12px}.pnl{gap:10px}}
@media (max-height:760px){.pnl{padding:11px 12px 12px;gap:8px}.pnl-h b{font-size:22px}}
.ss-it small{white-space:nowrap;overflow:hidden;text-overflow:clip;letter-spacing:-.02em;font-size:9.5px!important}
/* ---------- 3D push (v3.59): beveled gold frame, embossed title, raised cards ---------- */
.pnl{border:3px solid transparent;background:radial-gradient(ellipse 120% 60% at 50% 0%,#2a52b0 0%,#13286a 45%,#0b1a48 100%) padding-box,linear-gradient(160deg,#fff3b0,#f2b628 22%,#9a5c00 48%,#ffd95a 70%,#a86400) border-box;box-shadow:0 0 0 2px #4a2600,0 0 0 4px #c98a1a,inset 0 2px 0 rgba(255,255,255,.18),inset 0 0 30px rgba(80,140,255,.28),0 20px 50px rgba(0,0,0,.65)}
.pnl-h b{filter:drop-shadow(0 1px 0 #8a4a00) drop-shadow(0 2px 0 #6b3300) drop-shadow(0 3px 0 #4a2200) drop-shadow(0 6px 6px rgba(0,0,0,.45))}
.fm-card{border-width:2.5px;box-shadow:inset 0 2px 0 rgba(255,255,255,.45),inset 0 -5px 0 rgba(0,0,0,.22),0 5px 0 var(--lip,#3a0d80),0 8px 10px rgba(0,0,0,.4)}
.fm-card.violet{--lip:#3a0d80}.fm-card.red{--lip:#6e0a12}.fm-card.gold{--lip:#7a4600}
.fm-card:active{transform:translateY(4px);box-shadow:inset 0 2px 0 rgba(255,255,255,.45),inset 0 -3px 0 rgba(0,0,0,.22),0 1px 0 var(--lip),0 3px 6px rgba(0,0,0,.35)}
.fm-card b{text-shadow:0 1px 0 rgba(0,0,0,.25),0 2px 0 rgba(0,0,0,.25),0 3px 3px rgba(0,0,0,.3)}
.fm-card i{box-shadow:inset 0 2px 0 rgba(255,255,255,.4),0 2px 0 rgba(0,0,0,.3)}
.pnl-x{box-shadow:0 0 0 2px #d99b1c,inset 0 2px 0 rgba(255,255,255,.5),inset 0 -3px 0 rgba(0,0,0,.25),0 3px 0 #0a2a70,0 5px 6px rgba(0,0,0,.4)}
html.lite .pnl-h b{filter:drop-shadow(0 2px 0 #6b3300)}
/* ---------- owner's 3D kit (v3.60, img/ui3): the frame and buttons are the owner's art, stretched by 9-slice so any text fits ---------- */
.pnl:not(.os-sheet){border:26px solid transparent;border-image:url(../img/ui3/panel-frame.webp?v=1) 135 fill / 26px stretch;background:none;box-shadow:0 18px 40px rgba(0,0,0,.55);padding:6px 6px 10px;border-radius:0}
.pnl:not(.os-sheet) .pnl-x{right:-20px;top:-20px}
.pnl-x{width:38px;height:38px;background:url(../img/ui3/close.webp?v=1) center/contain no-repeat;border:0;box-shadow:none;filter:drop-shadow(0 3px 3px rgba(0,0,0,.45))}
.pnl-x::before,.pnl-x::after{display:none}
.pnl-x:active{transform:scale(.9)}
.pnl-art{width:76px;height:76px;margin:-40px 0 0}
.fm-card{min-height:72px;padding:6px 56px 8px 12px;background:none!important;box-shadow:none!important;overflow:visible;border-image:url(../img/ui3/btn-purple.webp?v=1) 112 200 fill / 36px 64px stretch}
.fm-card::before{display:none}
.fm-card.red{border-image-source:url(../img/ui3/btn-red.webp?v=1)}
.fm-card.gold{border-image-source:url(../img/ui3/btn-gold.webp?v=2)}
.fm-card.violet{border-image-source:url(../img/ui3/btn-purple.webp?v=1)}
.fm-card:active{transform:translateY(3px) scale(.99);box-shadow:none!important}
.fm-card b,.fm-card.gold b{color:#fff;text-shadow:0 2px 0 rgba(0,0,0,.35),0 0 2px rgba(0,0,0,.4)}
.fm-card small{color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.35)}
.fm-ic{width:50px;height:50px}
.fm-card i{right:12px;width:38px;height:38px;margin-top:-19px;border:0!important;border-radius:0;background:url(../img/ui3/arrow.webp?v=1) center/contain no-repeat!important;box-shadow:none!important;filter:drop-shadow(0 2px 2px rgba(0,0,0,.35))}
.fm-card i::after{display:none}
.fm-card.violet i{filter:hue-rotate(60deg) drop-shadow(0 2px 2px rgba(0,0,0,.35))}
.fm-card.red i{filter:hue-rotate(155deg) saturate(1.3) drop-shadow(0 2px 2px rgba(0,0,0,.35))}
.fm-card.gold i{filter:hue-rotate(200deg) saturate(1.4) drop-shadow(0 2px 2px rgba(0,0,0,.35))}
#rcJoin{background:none;box-shadow:none;border-image:url(../img/ui3/btn-green.webp?v=1) 112 200 fill / 24px 43px stretch;font:400 19px "Lilita One",var(--display);text-shadow:0 2px 0 rgba(0,0,0,.35);min-width:92px}
@media (max-height:760px){.pnl:not(.os-sheet){padding:4px 4px 8px}.pnl-art{width:60px;height:60px;margin-top:-34px}}
.fm-card{border-style:solid!important;border-width:0!important;border-color:transparent!important}
#rcJoin{border-style:solid;border-width:0;border-color:transparent}
.pnl.defense,.pnl.events{gap:7px}
.fm-card{min-height:82px;padding:13px 60px 14px 18px;border-image-width:41px 73px}
.fm-card small{font-size:11.5px;line-height:1.25}
.pnl:not(.os-sheet){padding:6px 2px 10px}
@media (max-height:820px){.pnl:not(.os-sheet){border-width:20px;border-image-width:20px}.pnl:not(.os-sheet) .pnl-x{right:-15px;top:-15px}}
.pnl.defense{gap:5px}
/* the owner's red ribbon behind pop-up titles (Day Gift, rewards, match calls) */
html .sheet .ribbon,html .sheet.frame>.ribbon:first-child{display:flex!important;justify-content:center;align-items:flex-start;width:calc(100% + 24px)!important;max-width:none!important;margin:-6px -12px 4px!important;aspect-ratio:800/213;padding:calc(8.4% - .55em) 22% 0!important;background:url(../img/ui3/ribbon.webp?v=1) center/100% 100% no-repeat!important;border:0!important;box-shadow:none!important;font:400 22px/1.1 "Lilita One",var(--display)!important;color:#fff!important;-webkit-text-stroke:1px #7a0a0a;paint-order:stroke fill;text-shadow:0 2px 0 #6e0a0a!important;white-space:nowrap;overflow:hidden;text-align:center}
html .sheet .ribbon em{color:#ffe36a!important}
/* the trophy and crown sit inside the frame, never cut off */
.pnl-art{width:70px;height:70px;margin:-4px 0 -2px}
@media (max-height:760px){.pnl-art{width:56px;height:56px;margin:-4px 0 -2px}}
/* ---------- owner's 3D kit on every pop-up button and the older framed pop-ups (v3.66) ---------- */
html .sheet.frame{border-style:solid!important;border-width:22px!important;border-color:transparent!important;border-image:url(../img/ui3/panel-frame.webp?v=1) 135 fill / 22px stretch!important;background:none!important;box-shadow:0 18px 40px rgba(0,0,0,.55)!important;border-radius:0!important;padding:0 6px 10px!important}
.sheet .btn:is(.green,.gold,.red,.violet),.sheet .gbtn:is(.green,.gold,.red,.violet){border-style:solid!important;border-width:0!important;border-color:transparent!important;background:none!important;box-shadow:none!important;border-radius:0!important;
  border-image:url(../img/ui3/btn-green.webp?v=1) 112 200 fill / 21px 38px stretch!important;min-height:42px;font:400 17px/1 "Lilita One",var(--display)!important;color:#fff!important;text-shadow:0 2px 0 rgba(0,0,0,.35),0 0 2px rgba(0,0,0,.35)!important;letter-spacing:.01em;padding:0 22px!important}
.sheet .btn.gold,.sheet .gbtn.gold{border-image-source:url(../img/ui3/btn-gold.webp?v=2)!important}
.sheet .btn.red,.sheet .gbtn.red{border-image-source:url(../img/ui3/btn-red.webp?v=1)!important}
.sheet .btn.violet,.sheet .gbtn.violet{border-image-source:url(../img/ui3/btn-purple.webp?v=1)!important}
.sheet .btn.big:is(.green,.gold,.red,.violet),.sheet .gbtn.big:is(.green,.gold,.red,.violet){min-height:54px;border-image-width:27px 48px!important;font-size:21px!important}
.sheet .btn.sm:is(.green,.gold,.red,.violet){min-height:34px;border-image-width:17px 30px!important;font-size:14px!important;padding:0 14px!important}
.sheet .btn:is(.green,.gold,.red,.violet):active:not(:disabled){transform:translateY(2px) scale(.98)}
/* Reward Collect and the art-card buttons on the same glossy art */
.sheet .btn.rw-go,.sheet .ac-btn:is(.green,.violet){border-style:solid!important;border-width:0!important;border-color:transparent!important;background:none!important;box-shadow:none!important;border-radius:0!important;border-image:url(../img/ui3/btn-gold.webp?v=2) 112 200 fill / 27px 48px stretch!important;min-height:54px;font:400 21px/1 "Lilita One",var(--display)!important;color:#fff!important;text-shadow:0 2px 0 rgba(0,0,0,.35),0 0 2px rgba(0,0,0,.35)!important}
.sheet .ac-btn.green{border-image-source:url(../img/ui3/btn-green.webp?v=1)!important}
.sheet .ac-btn.violet{border-image-source:url(../img/ui3/btn-purple.webp?v=1)!important}
/* ---------- the owner's finished pop-ups used as they are (v3.68) ---------- */
.sheet.mk-sheet{width:min(400px,94vw)!important;max-width:400px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;overflow:visible!important}
.mk{position:relative;width:100%;max-height:calc(100dvh - 40px);margin:0 auto}
.mk-bg{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 16px 30px rgba(0,0,0,.55))}
.mk-b{position:absolute;padding:0;margin:0;border:0;background:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
.mk-b img{display:block;width:100%;height:100%;transition:transform .09s ease,filter .09s ease}
.mk-b:active img,.mk-b.press img{transform:translateY(3%) scale(.955);filter:brightness(.9)}
.mk-x:active img,.mk-x.press img{transform:scale(.86)}
.mk-in{position:absolute;padding:0 0 0 5%;border:0;outline:0;background:transparent;color:#fff;font:600 clamp(15px,4.6vw,19px) var(--body);letter-spacing:.06em;text-transform:uppercase}
.mk-in::placeholder{color:#8aa0d6;text-transform:none;letter-spacing:0}
/* the owner's green button art on the home PLAY button */
#home .play{border-style:solid!important;border-width:0!important;border-color:transparent!important;background:none!important;box-shadow:none!important;border-image:url(../img/ui3/btn-green.webp?v=1) 112 200 fill / 33px 59px stretch;height:66px;border-radius:33px}
#home .play::before{display:none}
#home .play:active{transform:translateY(3px) scale(.985);box-shadow:none!important;filter:brightness(.94)}
#home .play b{font:400 34px/1 "Lilita One",var(--display);-webkit-text-stroke:1.5px #0a5216;text-shadow:0 3px 0 #0a5216,0 5px 8px rgba(0,0,0,.35)}
/* pause: Leave on the owner's red button art */
.sheet .ac-btn.red{border-style:solid!important;border-width:0!important;border-color:transparent!important;background:none!important;box-shadow:none!important;border-radius:0!important;border-image:url(../img/ui3/btn-red.webp?v=1) 112 200 fill / 27px 48px stretch!important;min-height:54px;font:400 21px/1 "Lilita One",var(--display)!important;color:#fff!important;text-shadow:0 2px 0 rgba(0,0,0,.35),0 0 2px rgba(0,0,0,.35)!important}
.sheet .ac-btn:is(.green,.red):active{transform:translateY(2px) scale(.97)}
/* Raid: the two actions as one row of compact tiles, nothing wraps */
.rd-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.rd-two .rd-hero,.rd-two .rob-cta{gap:6px;padding:7px 8px;min-height:0;border-radius:14px}
.rd-two .rd-hero img{width:38px;height:38px}.rd-two .rob-cta img{width:36px;height:36px}
.rd-two b{font:400 15px/1.1 "Lilita One",var(--display)!important;white-space:nowrap;overflow:hidden}
.rd-two small{display:block!important;font:600 10.5px/1.2 var(--body)!important;white-space:nowrap;overflow:hidden;opacity:.9}
.rd-two .rob-cta b{color:#fff}
.ha-push{white-space:nowrap;overflow:hidden}
/* big phone text = narrow layout: slimmer rails, the middle column keeps its words on one line */
@media (max-width:340px){
  #home .rail,#home .hb{width:54px}
  #home .hb img{width:30px!important;height:30px!important}
  #home .hb span{font-size:9px;padding:0 1px}
  #home .proj-card{padding:8px 9px}
  #home .proj-card small{font-size:9px;letter-spacing:.04em;white-space:nowrap;overflow:hidden}
  #home .proj-card b{font-size:13px;padding-right:24px}
  #home .proj-card .info{width:20px;height:20px;right:7px;top:7px;font-size:11px}
  #home .goal-bar .cdot{display:none}
  #home .goal-bar{padding:5px 7px;gap:5px}
  #home .goal-bar .gb-t b{font-size:11.5px}#home .goal-bar .gb-t small{font-size:10px}
}
/* Raid and every framed pop-up on narrow layouts: thinner gold frame, labels stay on one line */
@media (max-width:340px){
  .pnl:not(.os-sheet){border-width:14px!important;border-image-width:14px!important}
  .pnl:not(.os-sheet) .pnl-x{right:-10px;top:-10px;width:32px;height:32px}
  .rd-two{gap:6px}.rd-two .rd-hero img,.rd-two .rob-cta img{display:none}
  .rd-two .rd-hero,.rd-two .rob-cta{justify-content:center;text-align:center;padding:8px 6px}
  .rl-tabs button,.df-tabs button{white-space:nowrap;font-size:12.5px!important;padding:0 4px}
  .rd-def small{display:none}
  .rd-def{white-space:nowrap}
  .pnl.rivals .rl-list{max-height:none;flex:1;min-height:150px}
}
.rl-tabs button,.df-tabs button{white-space:nowrap}
.rd-def small{white-space:nowrap;overflow:hidden}
@media (max-width:340px){.pnl.rivals .rl-list{flex:none;min-height:0;max-height:calc(100dvh - 300px)}}
/* ---------- typography pass (v3.81) ---------- */
/* card number: the game font with even digits instead of the typewriter font */
.fc-num{font:600 clamp(16px,5.2vw,21px) var(--display)!important;font-variant-numeric:tabular-nums;letter-spacing:.14em}
/* wallet: every label on one line */
.wl-next b,.wl-next span,.wb-bal small,.wb-bal b,.wb-bal span{white-space:nowrap;overflow:hidden}
.wl-next>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
/* Flex Spin "What You Can Win": rows fill the panel, readable sizes */
.fs3 .jk-pt{display:flex;flex-direction:column;justify-content:space-between;gap:0;padding:12px 12px 12px}
.fs3 .jk-pt-h{font:400 24px/1.1 "Lilita One",var(--display)!important}
.fs3 .jk-pt>p{font:600 12px/1.35 var(--body)!important}
.fs3 .jk-pt>div{grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:10px;row-gap:0;align-items:center;padding:4px 0;border-bottom:1px solid rgba(255,255,255,.06)}
.fs3 .jk-pt>div>span{grid-row:1 / span 2}
.fs3 .jk-pt span img{width:26px;height:26px}
.fs3 .jk-pt>div>b{font:400 16px/1.1 "Lilita One",var(--display);color:#ffd84a;white-space:nowrap}
.fs3 .jk-pt>div>small{font:600 11.5px/1.25 var(--body);color:#c9d4f5}
/* the older art-card pop-ups (Tournament, Settings, Pause, Invite...) on the owner's gold frame with a centred gold title */
.art-card{border-style:solid!important;border-width:22px!important;border-color:transparent!important;border-image:url(../img/ui3/panel-frame.webp?v=1) 135 fill / 22px stretch!important;background:none!important;box-shadow:0 18px 40px rgba(0,0,0,.55)!important;border-radius:0!important;overflow:visible!important}
.ac-title{text-align:center!important;padding:2px 10px 0!important;margin:0 0 8px!important;font:400 26px/1.1 "Lilita One",var(--display)!important}
.ac-title span,.ac-title em{background:linear-gradient(#fff6c0,#ffd23a 45%,#f49a00);-webkit-background-clip:text;background-clip:text;color:transparent!important;-webkit-text-stroke:1.2px #6b3300!important;paint-order:stroke fill;filter:drop-shadow(0 2px 0 #5a2a00)}
.ac-frame{padding:0 4px 6px!important}
.ac-txt,.sheet .ac-frame .ac-txt{text-align:center!important;color:#e6ecff!important}
/* tournament prizes: one line each, readable */
.art-card .tr-prizes{display:flex!important;flex-direction:column;gap:4px}
.art-card .tr-prizes>div{display:flex!important;align-items:baseline;justify-content:space-between;gap:8px;padding:6px 10px!important}
.art-card .tr-prizes b{font:400 14px "Lilita One",var(--display)!important;color:#ffd84a!important;white-space:nowrap}
.art-card .tr-prizes small{font:600 11.5px var(--body)!important;white-space:nowrap;overflow:hidden;text-align:right}
/* friends list: status on one line */
.p-row small,.fr-row small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.tabs3 button{white-space:nowrap}
/* card number sized to the card's own width, never wider than its line */
.fc{container-type:inline-size}
.fc-num{font-size:6.6cqw!important;letter-spacing:.1em;white-space:nowrap}
/* framed pop-ups on narrow layouts: thin frame, short lists, so nothing has to shrink */
@media (max-width:340px){
  .art-card{border-width:14px!important;border-image-width:14px!important}
  .art-card .tr-list{max-height:30dvh}
  .ac-title{font-size:22px!important;margin-bottom:4px!important}
}
.fc-num{line-height:1!important;margin-bottom:2.4cqw!important}
.fc.mini .fc-num{font-size:9.5px!important;margin-bottom:2px!important}
/* settings rows: one line each, Graphics row readable */
.set-row small{white-space:nowrap;overflow:hidden}
.set-gfx b{font:400 17px "Lilita One",var(--display)!important}
.set-gfx button{min-width:54px;height:30px;font:700 13px var(--body)!important}
.set-gfx{gap:6px;padding:6px 0}.set-gfx span{flex:1;max-width:190px;display:grid;grid-template-columns:repeat(3,1fr)}
.set-gfx button{min-width:0;padding:0 4px}
/* every pop-up button label in the game font (one family for all buttons, the app font stays for body text) */
.sheet .btn,.sheet .gbtn,.sheet .ac-btn{font-family:"Lilita One",var(--display)!important;font-weight:400!important;letter-spacing:.01em}
.sheet .btn:not(.sm),.sheet .gbtn,.sheet .ac-btn{font-size:17px!important}
.sheet .btn.big,.sheet .ac-btn.green,.sheet .ac-btn.red,.sheet .btn.rw-go{font-size:20px!important}
#home .stg header{font-size:10.5px!important}
#home .stg header{padding:4px 4px;gap:2px;font-size:10px!important;letter-spacing:-.01em}
#home .stg header em{font-size:9.5px}
/* narrow layouts: a 10px floor for labels */
@media (max-width:340px){
  #home .rail,#home .hb{width:58px}
  #home .hb span{font-size:10px}
  #home .proj-card small{font-size:10px}
  .fs-reward small{font-size:3.8cqw}
  .fs-sp small{font-size:10px!important}
  .art-card .tr-row b,.art-card .tr-row span,.art-card .tr-me{font-size:12px!important}
}
/* 10px floor: the last small labels */
.days .day span,.tf-p small,.bot-tag,.ss-it small,.ss-it b,.rchip b,.rk-val small,.pr-grid .card .tag,.ed-grid button small,#home .stg header em{font-size:10px!important}
.fc.mini .fc-num{font-size:10px!important}
.fc.mini .fc-top b{font-size:11px!important}.fc.mini .fc-top em,.fc.mini .fc-bot small,.fc.mini .fc-bot b{font-size:10px!important}
.fc.mini .fc-logo{font-size:10px!important}
/* the card's back is not drawn while the front shows (and the front while flipped) */
.fc .fc-b{visibility:hidden;transition:visibility 0s .25s}.fc.flip .fc-b{visibility:visible}
.fc .fc-f{transition:visibility 0s .25s}.fc.flip .fc-f{visibility:hidden}
/* Flex Spin table open: the machine behind it is not drawn */
.fx-spin-sheet.ptopen .fx-spin-top,.fx-spin-sheet.ptopen .fx-casino-tabs,.fx-spin-sheet.ptopen #fxJackRoom>*:not(.jk-pt){visibility:hidden}
.fc.mini .fc-mid{margin:3px 0 1px!important}.fc.mini .fc-chip{width:18px;height:13px}
.fc.mini .fc-num{margin-bottom:0!important;line-height:1.1!important}
.fc.mini .fc-bot{bottom:5px}
.fc-bot small,.fc-b small{font-size:10px!important;letter-spacing:.08em}
.fs-reward small{font-size:max(10px,3.8cqw)!important}
@media (max-width:340px){.fc:not(.mini) .fc-mid{margin:1.5cqw 0 0!important}.fc:not(.mini) .fc-chip{height:8cqw;width:11cqw}.fc:not(.mini) .fc-bot{bottom:3cqw}}
/* Flex Spin table: one line per description, fits without scrolling */
.fs3 .jk-pt>div>small{white-space:nowrap;overflow:hidden}
.fs3 .jk-pt{overflow:hidden!important}
@media (max-width:340px){.fs3 .jk-pt span img{width:21px;height:21px}.fs3 .jk-pt>div>b{font-size:14px}.fs3 .jk-pt>div{padding:2px 0}.fs3 .jk-pt-h{font-size:20px!important}.fs3 .jk-pt .ac-btn{height:42px}}
.art-card .tr-prizes small{font-size:11px!important}
/* raid target: name gets the room, shields sit small under the name */
.rv{flex-wrap:wrap}
.rv>div:not(.rv-sh){flex:1 1 0}
.rv small{white-space:nowrap}
@media (max-width:340px){.rv>img{width:46px;height:46px}.rv-sh{width:100%;justify-content:flex-end;margin-top:-4px}.rv-sh svg{width:16px;height:16px}}
/* clash result: the name uses the whole card */
.cr-p{min-width:0;padding-left:4px!important;padding-right:4px!important}
.cr-p b{max-width:100%;white-space:nowrap;overflow:hidden;letter-spacing:-.02em}
@media (max-width:340px){#home .proj-card b{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.15;font-size:12.5px;padding-right:22px;text-overflow:clip}}
/* password eye */
.pw-wrap{position:relative;display:block;width:100%}
.pw-wrap input{width:100%;padding-right:46px!important}
.pw-eye{position:absolute;right:6px;top:50%;width:36px;height:36px;margin-top:-18px;padding:7px;border-radius:50%;background:transparent;color:#9fb4e8}
.pw-eye svg{width:100%;height:100%;display:block}
.pw-eye:active{background:rgba(255,255,255,.1)}
/* Forgot Password link */
.auth-forgot{display:block;margin:10px auto 0;padding:6px 10px;background:none;color:#ffd84a;font:600 14px var(--body);text-decoration:underline;text-underline-offset:3px}
.auth-forgot[hidden]{display:none}
/* forms inside pop-ups */
.pnl .field{display:flex;flex-direction:column;gap:5px;text-align:left}
.pnl .field span{font:600 12px var(--body);color:#cfd9f5}
.pnl .field input{height:46px;padding:0 14px;border-radius:12px;border:2px solid #2c4f9e;background:#081538;color:#fff;font:600 16px var(--body);outline:0}
.pnl .field input:focus,.rb-text:focus{border-color:#ffd84a}
.rb-text{width:100%;min-height:120px;padding:12px 14px;border-radius:12px;border:2px solid #2c4f9e;background:#081538;color:#fff;font:500 15px/1.4 var(--body);resize:none;outline:0}
/* ---------- narrow layouts (big phone text): nothing inside a pop-up may be wider than the pop-up ---------- */
@media (max-width:340px){
  .sheet *{min-width:0}
  html .sheet.frame{border-width:14px!important;border-image-width:14px!important;padding:0 2px 8px!important}
  .sheet .days{gap:5px!important}
  .days .day span{font-size:10px!important;line-height:1.15!important}
}
/* ---------- big-text fixes, round 2 ---------- */
/* Projects: card names fit the card */
.pr-grid .card .tx b{display:block;max-width:100%;white-space:nowrap;overflow:hidden}
/* Workshop: the stage name gets the room, the cost button stays compact */
.ws-job b{min-width:0;line-height:1.15}
@media (max-width:340px){.ws-job{gap:7px;padding:5px 6px}.ws-job .ji{width:32px;height:32px}.ws-job b{font-size:12.5px}.ws-cost{min-width:0!important;width:84px;flex:none;padding:4px 6px!important}.ws-cost em{font-size:10px!important;white-space:nowrap}}
/* Games tiles: labels fit their tile */
.gt b,.gt small{max-width:100%}
@media (max-width:340px){.gt-grid{gap:5px}.gt{padding:7px 2px 6px}.gt small{font-size:10px!important}}
/* ribbon titles never wider than their pop-up */
@media (max-width:340px){html .sheet .ribbon,html .sheet.frame>.ribbon:first-child{width:100%!important;margin:-4px 0 4px!important;font-size:19px!important}}
/* chat quick replies wrap into rows instead of running off the side */
.fs-quick{flex-wrap:wrap}
.fs-quick button{white-space:nowrap}
/* Home promo strip: one line */
@media (max-width:360px){#home .jf-go b{white-space:nowrap!important}#home .jf-go span{flex-direction:column;align-items:flex-start}}
@media (max-width:360px){#home .jf-go span{min-width:0;overflow:hidden}#home .jf-go b{font-size:11px!important;overflow:hidden}}
.pr-grid .card .tx b{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.15;overflow:hidden}
.jf-from{font-style:normal}
@media (max-width:360px){#home .jf-go b{display:flex;flex-direction:column;line-height:1.1}#home .jf-go .jf-from{font-size:10.5px;color:#ffd84a}#home .jf-go small{display:none}}
/* title ribbons never wider than the pop-up, at every size */
html .sheet .ribbon,html .sheet.frame>.ribbon:first-child{width:100%!important;margin:-4px 0 4px!important}
@media (max-width:340px){#home .jf-go img{width:58px!important;height:auto}#home .jf-go span{padding-left:6px}#home .jfpromo .pv-cta,#home .jfpromo .jf-btn{padding:0 8px!important;font-size:12px!important}}
/* ---------- raid fun (v4.17) ---------- */
.pnl.rsafes{position:relative;isolation:isolate}
.rs-bg{position:absolute;inset:0;z-index:-1;background:center 30%/cover no-repeat;opacity:.22;filter:saturate(1.2);pointer-events:none;-webkit-mask:linear-gradient(#000 30%,transparent 95%);mask:linear-gradient(#000 30%,transparent 95%)}
.rs.rs-crack .sf{animation:rsShake .12s linear infinite}
.rs.rs-crack::after{content:"";position:absolute;left:50%;top:44%;width:22%;aspect-ratio:1;translate:-50% -50%;border-radius:50%;border:4px dotted #ffd84a;animation:rsDial .5s linear infinite;pointer-events:none}
@keyframes rsShake{0%{transform:translate(0,0) rotate(0)}25%{transform:translate(-3px,1px) rotate(-2deg)}50%{transform:translate(3px,-1px) rotate(2deg)}75%{transform:translate(-2px,-1px) rotate(-1deg)}100%{transform:translate(0,0)}}
@keyframes rsDial{to{rotate:360deg}}
.rs.rs-gold{border-color:#ffd84a!important;background:radial-gradient(circle at 50% 35%,#7a5a10,#2a1c02)!important;box-shadow:0 0 0 2px #ffd84a,0 0 22px rgba(255,210,60,.7)}
.rs.rs-gold em{color:#fff6c0!important;text-shadow:0 0 8px #ffb300}
.rs.rs-missed{opacity:.55}
.rs-callout{position:absolute;left:50%;top:38%;z-index:5;translate:-50% -50%;padding:8px 18px;border-radius:14px;font:400 30px "Lilita One",var(--display);color:#fff6c0;background:linear-gradient(#ffb300,#c97a00);border:3px solid #fff3c4;box-shadow:0 6px 0 #6b3d00,0 0 30px rgba(255,200,40,.8);white-space:nowrap;animation:rsCall 1.5s ease-out forwards;pointer-events:none}
@keyframes rsCall{0%{transform:scale(.3)}15%{transform:scale(1.15)}25%{transform:scale(1)}80%{opacity:1}100%{opacity:0;transform:translateY(-30px)}}
.rs-end{display:flex;gap:8px}.rs-end[hidden]{display:none}.rs-end .btn.ghost{flex:none;padding:0 18px}.rs-end .btn.big{flex:1}
html.lite .rs.rs-crack .sf,html.lite .rs.rs-crack::after{animation:none}
.fs-brag{display:inline-block;margin-left:6px;padding:3px 12px;border-radius:12px;font:400 14px "Lilita One",var(--display);color:#fff;background:linear-gradient(#b06cff,#6d35d9);border:2px solid #e6d4ff;vertical-align:middle}
.fx-spin-sheet.jk-mode .fx-spin-result:has(.fs-brag){display:block!important}
.ws-done{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
/* Top Raiders */
.tp-me{display:flex;flex-direction:column;align-items:center;gap:1px;padding:8px;border-radius:12px;background:rgba(255,216,74,.1);border:1px solid rgba(255,216,74,.4);text-align:center}
.tp-me b{font:400 16px "Lilita One",var(--display);color:#ffd84a}.tp-me span{font:700 15px var(--body);color:#fff}.tp-me small{font:600 10.5px var(--body);color:#b6c6ee;white-space:nowrap}
.tp-row{display:flex;align-items:center;gap:8px;padding:6px 10px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.tp-row.me{border-color:#ffd84a}.tp-row em{width:20px;font:400 16px "Lilita One",var(--display);color:#ffd84a;font-style:normal;text-align:center}
.tp-row img{width:32px;height:32px;border-radius:50%;object-fit:cover}.tp-row b{flex:1;min-width:0;font:600 13px var(--body);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tp-row span{font:700 13px var(--body);color:#5ff09a}
.rl-tabs button{padding:0 2px}
.rl-tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));flex-wrap:nowrap}
.rl-tabs button{min-width:0;white-space:nowrap;overflow:hidden}
/* ---------- attack scenes (owner's art, v4.27) ---------- */
.sm-scene{position:relative;width:100%;aspect-ratio:4/3;border-radius:16px;overflow:hidden;background:#081538;isolation:isolate}
.sm-scene.sh{background:radial-gradient(circle,#1d3a8a,#081538 70%);overflow:visible}
.sm-pic{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;animation:smShake .5s .45s ease-out,smDim .4s .5s forwards}
.sm-crack{position:absolute;left:50%;top:50%;width:105%;translate:-50% -50%;opacity:0;transform:scale(.4);animation:smCrack .25s .48s cubic-bezier(.2,1.5,.4,1) forwards;filter:drop-shadow(0 0 4px rgba(255,255,255,.6))}
.sm-ham{position:absolute;right:-4%;top:-8%;width:56%;transform-origin:85% 90%;animation:smSwing .55s cubic-bezier(.55,0,.8,.3) both,smHamOut .4s .7s ease-in forwards;filter:drop-shadow(0 8px 10px rgba(0,0,0,.5))}
.sm-imp{position:absolute;left:50%;top:48%;width:70%;translate:-50% -50%;opacity:0;animation:smImp .55s .45s ease-out forwards}
.sm-dust{position:absolute;left:50%;top:62%;width:80%;translate:-50% -50%;opacity:0;animation:smDust 1.1s .55s ease-out forwards}
.sm-bits{position:absolute;left:50%;top:50%;width:46%;translate:-50% -50%;opacity:0;animation:smBits .9s .5s cubic-bezier(.2,.8,.4,1) forwards}
.sm-dizzy{position:absolute;left:50%;top:18%;width:38%;translate:-50% -50%;opacity:0;animation:smDizzyIn .3s 1.1s forwards,smDizzy 2.4s 1.1s linear infinite}
.sm-shield{position:absolute;left:50%;top:50%;width:62%;translate:-50% -50%;animation:smShield .6s .3s cubic-bezier(.2,1.6,.4,1) both;filter:drop-shadow(0 0 22px rgba(70,150,255,.75))}
.sm-scene.sh .sm-imp{width:60%;animation-delay:.3s}
.sm-ban{position:absolute;left:50%;bottom:4%;width:78%;translate:-50% 0;opacity:0;animation:smBan .45s 1s cubic-bezier(.2,1.6,.4,1) forwards;display:grid;place-items:center}
.sm-ban img{width:100%;display:block;filter:drop-shadow(0 4px 6px rgba(0,0,0,.5))}
.sm-ban b{position:absolute;font:400 clamp(20px,7vw,30px)/1 "Lilita One",var(--display);color:#fff;letter-spacing:.03em;-webkit-text-stroke:1.5px #6e0010;paint-order:stroke fill;text-shadow:0 3px 0 #6e0010}
@keyframes smSwing{0%{transform:rotate(-70deg) translate(30%,-40%);opacity:0}30%{opacity:1}100%{transform:rotate(25deg)}}
@keyframes smHamOut{to{transform:rotate(25deg) translate(40%,-60%);opacity:0}}
@keyframes smImp{0%{opacity:1;transform:scale(.2)}35%{opacity:1;transform:scale(1.15)}100%{opacity:0;transform:scale(1.5)}}
@keyframes smCrack{to{opacity:.95;transform:scale(1)}}
@keyframes smShake{0%,100%{transform:none}20%{transform:translate(-8px,4px) rotate(-1.5deg)}40%{transform:translate(7px,-4px) rotate(1.2deg)}60%{transform:translate(-5px,2px)}80%{transform:translate(3px,-1px)}}
@keyframes smDim{to{filter:saturate(.75) brightness(.8)}}
@keyframes smDust{0%{opacity:0;transform:scale(.4)}25%{opacity:.95}100%{opacity:0;transform:scale(1.3) translateY(-8%)}}
@keyframes smBits{0%{opacity:1;transform:scale(.3) rotate(0)}70%{opacity:1}100%{opacity:0;transform:scale(1.7) rotate(25deg)}}
@keyframes smDizzyIn{to{opacity:1}}
@keyframes smDizzy{to{rotate:360deg}}
@keyframes smShield{0%{transform:scale(.3);opacity:0}100%{transform:scale(1);opacity:1}}
@keyframes smBan{0%{opacity:0;transform:scale(.3) rotate(-6deg)}100%{opacity:1;transform:scale(1) rotate(-2deg)}}
.atk-hero img{width:120px!important;height:120px!important}
.ha .sm-scene{width:min(260px,100%)}
html.lite .sm-scene *{animation-duration:.01s!important;animation-delay:0s!important}
html.lite .sm-ham,html.lite .sm-imp,html.lite .sm-dust,html.lite .sm-bits{display:none}
html.lite .sm-dizzy{animation:none!important;opacity:1}
/* ---------- chat (v4.31): gold frame, garage behind, glossy bubbles ---------- */
.sheet.fs-chat-sheet{padding:0!important;background:none!important;border:0!important;box-shadow:none!important;overflow:visible!important}
.fs-chatbox{position:relative;isolation:isolate;border:20px solid transparent!important;border-image:url(../img/ui3/panel-frame.webp?v=1) 135 fill / 20px stretch!important;background:none!important;border-radius:0!important;box-shadow:0 18px 40px rgba(0,0,0,.55)}
.fs-chatbox::before{content:"";position:absolute;inset:0;z-index:-1;background:url(../img/puzzle/garage.webp) center/cover;opacity:.13;pointer-events:none}
.fs-chat-h{background:linear-gradient(rgba(255,216,74,.14),rgba(0,0,0,0))!important;border-bottom:1px solid rgba(255,216,74,.35);border-radius:10px 10px 0 0;padding:8px 8px 10px!important}
.fs-chat-h img{width:44px!important;height:44px!important;border:3px solid #ffd84a;box-shadow:0 0 0 2px #6b3d00}
.fs-chat-h b{font:400 21px/1.1 "Lilita One",var(--display)!important;color:#ffd84a;text-shadow:0 2px 0 #5a2a00;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fs-chat-h .fs-x{width:34px;height:34px;background:url(../img/ui3/close.webp?v=1) center/contain no-repeat!important;border:0!important;box-shadow:none!important}
.fs-chat-h .fs-x::before,.fs-chat-h .fs-x::after{display:none}
.fs-msgs{padding:12px 8px!important;gap:8px!important}
.fs-m span{padding:9px 13px!important;font:600 15px/1.35 var(--body)!important;color:#0d1d4a!important;background:linear-gradient(#ffffff,#dfe8ff)!important;border-radius:18px 18px 18px 5px!important;box-shadow:0 3px 0 rgba(0,0,0,.25),inset 0 -2px 0 rgba(0,0,0,.06)}
.fs-m.me span{color:#fff!important;background:linear-gradient(#5ce35a,#1fa83a)!important;border-radius:18px 18px 5px 18px!important;text-shadow:0 1px 0 rgba(0,60,10,.4);box-shadow:0 3px 0 #0d6a24,inset 0 2px 0 rgba(255,255,255,.35)}
.fs-m{animation:fsPop .22s cubic-bezier(.2,1.5,.4,1)}
@keyframes fsPop{from{transform:scale(.7);opacity:0}to{transform:none;opacity:1}}
.fs-m small{color:#c9d4f5!important;font-size:10px!important}
.fs-quick{padding:6px 6px!important;gap:6px!important}
.fs-quick button{height:34px!important;border-radius:17px!important;background:linear-gradient(#ffe46b,#f4a900)!important;border:2px solid #fff3b0!important;color:#4a2600!important;font:400 15px "Lilita One",var(--display)!important;box-shadow:0 3px 0 #9a5a00!important}
.fs-quick button:active{transform:translateY(2px);box-shadow:0 1px 0 #9a5a00!important}
.fs-in{padding:8px 4px 4px!important}
.fs-in input{background:#081538!important;border:2px solid #2c4f9e!important}
.fs-in input:focus{border-color:#ffd84a!important}
.fs-note{text-align:center;color:#c9d4f5;font:600 13px var(--body);margin:auto 0}
.fs-alert{margin:6px 8px 0;padding:7px 10px;border-radius:12px;background:rgba(255,216,74,.12);border:1px dashed #ffd84a;color:#ffd84a;font:700 12.5px var(--body);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* friend button badge turns green when it is a chat */
#home #bFriends.dmnew{background:#22c74a!important}
/* new message banner */
.dm-banner{position:fixed;left:50%;top:calc(10px + env(safe-area-inset-top));z-index:2147483500;width:min(92vw,420px);translate:-50% 0;display:flex;align-items:center;gap:10px;padding:8px 10px 8px 8px;border-radius:18px;background:linear-gradient(#1d3a8a,#0d1d4a);border:2px solid #ffd84a;box-shadow:0 10px 30px rgba(0,0,0,.55);color:#fff;text-align:left;animation:dmIn .35s cubic-bezier(.2,1.4,.4,1)}
.dm-banner img{width:42px;height:42px;border-radius:50%;object-fit:cover;border:2px solid #ffd84a;flex:none}
.dm-banner span{flex:1;min-width:0;display:flex;flex-direction:column}
.dm-banner b{font:400 16px "Lilita One",var(--display);color:#ffd84a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dm-banner small{font:600 13px var(--body);color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dm-banner i{flex:none;font-style:normal;padding:6px 12px;border-radius:12px;background:linear-gradient(#5ce35a,#1fa83a);font:400 15px "Lilita One",var(--display);box-shadow:0 2px 0 #0d6a24}
.dm-banner.out{animation:dmOut .35s ease-in forwards}
@keyframes dmIn{from{transform:translateY(-120%)}to{transform:none}}
@keyframes dmOut{to{transform:translateY(-140%);opacity:0}}
/* raid safes: scattered, a new layout every raid */
.rs-grid{display:block!important;position:relative;width:100%;aspect-ratio:1.15}
.rs-grid.rs-n5,.rs-grid.rs-n6{aspect-ratio:1.55}
.rs-grid .rs{position:absolute!important;left:var(--x);top:var(--y);width:38%!important;translate:-50% -50%;rotate:var(--r);scale:var(--z);transition:rotate .3s,scale .3s}
.rs-grid.rs-n5 .rs,.rs-grid.rs-n6 .rs{width:26%!important}
.rs-grid .rs.rs-open{rotate:0deg}
.rs-grid .rs:active{scale:calc(var(--z) * .94)}

/* home: notifications bell + chat bubble, top corners of the project picture */
#home .hm-scene{position:relative}
.hm-ic{position:absolute;top:2px;z-index:3;width:42px;height:42px;border-radius:50%;padding:0;display:grid;place-items:center;
  background:radial-gradient(circle at 35% 28%,#5fa8ff,#1d5fe0 58%,#123b9a);border:2.5px solid #ffd257;box-shadow:0 3px 0 #0a2466,0 6px 12px rgba(0,0,0,.45),inset 0 2px 0 rgba(255,255,255,.35)}
#bellBtn{left:4px} #chatBtn{right:4px}
.hm-ic svg{width:22px;height:22px;fill:#fff;filter:drop-shadow(0 1px 1px rgba(0,0,0,.35))}
.hm-ic svg .d{fill:#1d5fe0}
.hm-ic:active{transform:translateY(2px) scale(.96);box-shadow:0 1px 0 #0a2466,0 3px 8px rgba(0,0,0,.45)}
.hm-n{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:radial-gradient(circle at 35% 30%,#ff7a6a,#e8161c 60%,#b00010);border:2px solid #fff;
  color:#fff;font:800 11px/16px Poppins,sans-serif;font-style:normal;text-align:center;box-sizing:border-box}
.hm-ic.ring{animation:hmRing .9s ease 2}
@keyframes hmRing{0%,100%{transform:rotate(0)}15%{transform:rotate(-16deg)}30%{transform:rotate(14deg)}45%{transform:rotate(-10deg)}60%{transform:rotate(6deg)}75%{transform:rotate(-2deg)}}
html.lite .hm-ic.ring{animation:none}
/* the notifications list */
.nt-list{display:flex;flex-direction:column;gap:6px;max-height:min(58vh,430px);overflow-y:auto;margin:4px 0 2px}
.nt-row{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border-radius:14px;background:rgba(255,255,255,.07);border:1.5px solid rgba(255,255,255,.1);text-align:left;color:#fff}
.nt-row.new{background:rgba(255,210,87,.13);border-color:rgba(255,210,87,.55)}
.nt-ic{flex:none;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:rgba(0,0,0,.25)}
.nt-ic img{width:34px;height:34px;object-fit:contain}
.nt-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.nt-t b{font:600 13px/1.3 Poppins,sans-serif}
.nt-t small{font:500 11px/1.2 Poppins,sans-serif;color:#a9bbe6}
.nt-row.new .nt-t small{color:#ffd257}
.nt-go{flex:none;width:8px;height:8px;border-right:2.5px solid #9fb4e8;border-top:2.5px solid #9fb4e8;transform:rotate(45deg);margin-right:4px}

/* own photo, bio, real-life job */
.fr img[src^="img/u/"]{object-fit:cover;border-radius:50%}
.p-bio{margin:6px 14px 0;font:500 12.5px/1.35 Poppins,sans-serif;color:#dfe7ff;text-align:center}
.p-job{margin:8px 0;padding:10px 12px;border-radius:16px;background:linear-gradient(180deg,rgba(34,199,74,.16),rgba(34,199,74,.05));border:1.5px solid rgba(34,199,74,.5)}
.pj-top{display:flex;align-items:center;gap:10px}
.pj-ic{flex:none;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#16a34a}
.pj-ic svg{width:22px;height:22px;fill:#fff}
.pj-top div{flex:1;min-width:0;display:flex;flex-direction:column}
.pj-top small{font:600 10.5px Poppins,sans-serif;color:#9be8b0;letter-spacing:.02em}
.pj-top b{font:700 15px Poppins,sans-serif;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pj-top em{flex:none;font:700 10.5px Poppins,sans-serif;font-style:normal;color:#0b3d18;background:#5ff09a;border-radius:10px;padding:3px 8px}
.p-job .gbtn{width:100%;margin-top:8px}
.pj-warn,.ed-warn{margin:6px 0 0;font:500 10.5px/1.35 Poppins,sans-serif;color:#ffd257}
.p-report{display:block;margin:10px auto 2px;background:none;border:0;color:#9fb4e8;font:600 11.5px Poppins,sans-serif;text-decoration:underline}
.pr-what{display:flex;flex-direction:column;gap:8px}
.ed-bio,.ed-job{width:100%;box-sizing:border-box;border:2px solid #3a5aa8;border-radius:14px;padding:10px 12px;background:#0a1640;color:#fff;font:600 14px Poppins,sans-serif;resize:none}
.ed-photo{display:flex;gap:8px;margin:2px 0 10px}
.ed-photo .gbtn{flex:1}
.ed-lock{display:flex;align-items:center;gap:8px;margin:0;font:600 12px Poppins,sans-serif;color:#ffd257}
.ed-lock svg{flex:none;width:18px;height:18px}

/* ribbon titles follow the curve of the ribbon */
html .sheet .ribbon.rb-c,html .sheet.frame>.ribbon.rb-c:first-child,.ribbon.rb-c{padding:0!important;display:block!important;overflow:visible!important;font-size:0!important}
.ribbon.rb-c svg{display:block;width:100%;height:100%;overflow:visible}
.rb-t{font:400 58px "Lilita One",var(--display);fill:#fff;stroke:#7a0a0a;stroke-width:5px;stroke-linejoin:round;paint-order:stroke fill;filter:drop-shadow(0 4px 0 #6e0a0a)}
.rb-em{fill:#ffe36a}
/* daily reward: the tick sits on the picture, so the day name stays readable */
.days .day.got::after{top:auto!important;bottom:34%;right:6px;width:22px;height:22px}
/* reward pop-ups: the gift box on its own, no coloured panel behind it */
.box-stage,.box-stage.gold{background:radial-gradient(circle at 50% 55%,rgba(255,210,87,.38),rgba(255,210,87,0) 62%)!important;border-radius:0!important}
.box-stage .rays{display:none!important}
.pj-top div em{align-self:flex-start;margin-top:4px}
.pj-top b{white-space:normal}
/* locked picture labels: two short lines inside the tile, never spilling into the next one */
.ed-grid button{min-width:0;overflow:hidden}
.ed-grid button small{display:block;max-width:100%;white-space:normal!important;overflow-wrap:anywhere;font-size:9.5px!important;line-height:1.15!important;text-align:center}

/* ===== Chats: full-screen messenger ===== */
#modal.wc-full{padding:0!important;align-items:stretch!important;justify-content:stretch!important;background:#081230!important}
#modal.wc-full .sheet.wc-sheet{position:fixed!important;inset:0!important;width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  background:none!important;box-shadow:none!important;transform:none!important;zoom:1!important;overflow:hidden!important}
.wc{position:absolute;inset:0;display:flex;flex-direction:column;color:#fff;font-family:Poppins,sans-serif;
  background:radial-gradient(120% 70% at 50% 0%,#18306f 0%,#0b1638 55%,#070f2a 100%)}
.wc-chat::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.07;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='20' cy='22' r='9'/%3E%3Ccircle cx='20' cy='22' r='3'/%3E%3Cpath d='M70 14l12 12M76 14l6 6M64 20l6 6'/%3E%3Cpath d='M92 70l8 8-14 14-8-8z'/%3E%3Cpath d='M18 78h22l4 8H14z'/%3E%3Ccircle cx='22' cy='90' r='3'/%3E%3Ccircle cx='38' cy='90' r='3'/%3E%3Cpath d='M58 100l4-8 4 8 8 1-6 5 2 8-8-4-8 4 2-8-6-5z'/%3E%3C/g%3E%3C/svg%3E") 0 0/120px 120px}
.wc>*{position:relative;z-index:1}
.wc-h{flex:none;display:flex;align-items:center;gap:6px;padding:calc(env(safe-area-inset-top) + 8px) 8px 8px;background:linear-gradient(180deg,#1b3a86,#132a66);border-bottom:1px solid rgba(255,210,87,.35);box-shadow:0 4px 14px rgba(0,0,0,.35)}
.wc-back,.wc-ic{flex:none;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:none;border:0;color:#fff;padding:0}
.wc-back svg,.wc-ic svg{width:24px;height:24px}
.wc-back:active,.wc-ic:active{background:rgba(255,255,255,.12)}
.wc-title{flex:1;font:400 24px/1 "Lilita One",var(--display);color:#ffd84a;text-shadow:0 2px 0 #5a2a00;margin-left:2px}
.wc-who{flex:1;min-width:0;display:flex;align-items:center;gap:10px;background:none;border:0;color:#fff;padding:0;text-align:left}
.wc-av{position:relative;flex:none;width:42px;height:42px}
.wc-av img{width:100%;height:100%;border-radius:50%;object-fit:cover;border:2px solid #ffd84a;box-sizing:border-box}
.wc-av .on{position:absolute;right:0;bottom:0;width:12px;height:12px;border-radius:50%;background:#2ad65a;border:2px solid #132a66}
.wc-mid{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.wc-mid b{font:700 16px/1.2 Poppins,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wc-mid small{font:500 12px/1.2 Poppins,sans-serif;color:#a9bbe6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wc-mid small em{font-style:normal;color:#7fd99a}
/* list */
.wc-rows{flex:1;overflow-y:auto;padding:4px 0 calc(env(safe-area-inset-bottom) + 10px)}
.wc-row{display:flex;align-items:center;gap:12px;width:100%;padding:10px 14px;background:none;border:0;border-bottom:1px solid rgba(255,255,255,.06);color:#fff;text-align:left}
.wc-row:active{background:rgba(255,255,255,.06)}
.wc-row .wc-av{width:50px;height:50px}
.wc-end{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:5px}
.wc-end small{font:500 11px Poppins,sans-serif;color:#8ea2d4}
.wc-end small.new{color:#2ad65a;font-weight:700}
.wc-un{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:#22c55e;color:#04210f;font:800 11px/20px Poppins,sans-serif;font-style:normal;text-align:center;box-sizing:border-box}
.wc-empty{padding:40px 24px;text-align:center;color:#a9bbe6;font:500 14px/1.4 Poppins,sans-serif}
/* messages */
.wc-msgs{flex:1;overflow-y:auto;padding:10px 10px 6px;display:flex;flex-direction:column;gap:3px;overscroll-behavior:contain}
.wc-day{align-self:center;margin:8px 0 6px}
.wc-day span{display:block;padding:4px 12px;border-radius:10px;background:rgba(10,22,64,.85);border:1px solid rgba(255,255,255,.1);font:600 11px Poppins,sans-serif;color:#c6d3f5}
.wc-m{display:flex;max-width:82%;align-self:flex-start}
.wc-m.me{align-self:flex-end}
.wc-m p{position:relative;margin:0;padding:7px 10px 7px 11px;border-radius:4px 16px 16px 16px;background:#24366e;font:500 14.5px/1.35 Poppins,sans-serif;color:#fff;word-break:break-word;box-shadow:0 1px 1.5px rgba(0,0,0,.35)}
.wc-m.me p{border-radius:16px 4px 16px 16px;background:linear-gradient(180deg,#1fb258,#138a42)}
.wc-m p::before{content:"";position:absolute;top:0;left:-7px;border:8px solid transparent;border-top-color:#24366e;border-right-color:#24366e;border-width:0 8px 10px 0}
.wc-m.me p::before{left:auto;right:-7px;border-color:transparent;border-top-color:#1fb258;border-left-color:#1fb258;border-width:0 0 10px 8px}
.wc-m+.wc-m:not(.me) p::before,.wc-m.me+.wc-m.me p::before{display:none}
.wc-t{float:right;display:inline-flex;align-items:center;gap:3px;margin:6px 0 -3px 10px;font:500 10.5px/1 Poppins,sans-serif;color:rgba(255,255,255,.62)}
.wc-tk{display:inline-flex;width:16px;height:11px;color:rgba(255,255,255,.7)}
.wc-tk.read{color:#7fe3ff}
.wc-tk svg{width:100%;height:100%}
.wc-hello{margin:auto;max-width:280px;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding:16px;border-radius:18px;background:rgba(10,22,64,.75);border:1px solid rgba(255,210,87,.3)}
.wc-hello img{width:64px;height:64px;border-radius:50%;border:3px solid #ffd84a;object-fit:cover}
.wc-hello b{font:700 15px Poppins,sans-serif}
.wc-hello small{font:500 11.5px/1.4 Poppins,sans-serif;color:#ffd257}
.wc-alert{flex:none;margin:8px 10px 0;padding:8px 12px;border-radius:12px;background:rgba(255,210,87,.14);border:1px solid rgba(255,210,87,.5);color:#ffd257;font:600 12.5px Poppins,sans-serif}
/* quick messages + input bar */
.wc-quick{flex:none;display:flex;gap:6px;overflow-x:auto;padding:6px 10px;scrollbar-width:none}
.wc-quick::-webkit-scrollbar{display:none}
.wc-quick button{flex:none;height:34px;padding:0 14px;border-radius:17px;background:rgba(255,255,255,.08);border:1px solid rgba(255,210,87,.45);color:#fff;font:600 13px Poppins,sans-serif;white-space:nowrap}
.wc-bar{flex:none;display:flex;align-items:center;gap:6px;padding:6px 8px calc(env(safe-area-inset-bottom) + 8px);background:rgba(7,15,42,.92);border-top:1px solid rgba(255,255,255,.07)}
.wc-bar input{flex:1;min-width:0;height:44px;border-radius:22px;border:1.5px solid rgba(255,255,255,.14);background:#14224f;color:#fff;padding:0 16px;font:500 15px Poppins,sans-serif;outline:none}
.wc-bar input:focus{border-color:#ffd84a}
.wc-qt{color:#ffd84a}
.wc-send{flex:none;width:46px;height:46px;border-radius:50%;border:0;display:grid;place-items:center;color:#fff;background:radial-gradient(circle at 35% 30%,#4be38a,#16a34a 60%,#0e7a37);box-shadow:0 3px 0 #0a5a28,0 5px 12px rgba(0,0,0,.4)}
.wc-send svg{width:22px;height:22px;margin-left:3px}
.wc-send:active{transform:translateY(2px);box-shadow:0 1px 0 #0a5a28}
.wc-kid{flex:1;margin:4px;text-align:center;color:#a9bbe6;font:500 12.5px Poppins,sans-serif}
.dm-banner{z-index:2147483000!important}

/* birthday */
.dob-pick{display:grid;grid-template-columns:1fr 1.3fr 1.3fr;gap:8px;margin:6px 0}
.dob-pick select{height:46px;border-radius:14px;border:2px solid #3a5aa8;background:#0a1640;color:#fff;font:700 15px Poppins,sans-serif;padding:0 8px;min-width:0}
.art-card .dob-pick select{border-color:#c9d6f2;background:#fff;color:#14244f}
.dob-note{margin:4px 0 8px;text-align:center;font:600 12.5px Poppins,sans-serif;color:#5a6b93}
.bd-got{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:4px 0}
.bd-who{display:flex;justify-content:center;margin:6px 0 10px}
.bd-tag{font-style:normal;font-weight:700;color:#ffd84a}
.wc-m p{text-align:left}
.wc-hello{text-align:center}
/* the chat button is the owner art itself, no circle behind it */
.hm-ic.hm-chat{width:58px;height:44px;background:none!important;border:0!important;box-shadow:none!important;filter:drop-shadow(0 4px 6px rgba(0,0,0,.45))}
.hm-ic.hm-chat img{width:100%;height:100%;object-fit:contain}
.hm-ic.hm-chat .hm-n{top:-4px;right:-4px}
.box-stage img.gift{width:190px!important}

/* ===== animated loading screen (owner's poster) ===== */
#boot{display:block!important;overflow:hidden;background:#0b1638!important;transition:opacity .38s ease}
#boot:not(.show){display:none!important}
#boot.sp-done{opacity:0}
#boot .sp-stage{--sh:max(100vh,calc(100vw * 1.7764));position:absolute;left:50%;top:50%;height:var(--sh);aspect-ratio:720/1279;transform:translate(-50%,-50%);animation:spZoom 3.6s cubic-bezier(.2,.7,.3,1) both}
@supports (height:100dvh){#boot .sp-stage{--sh:max(100dvh,calc(100vw * 1.7764))}}
#boot .sp-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;animation:spIn .7s ease-out both}
@keyframes spZoom{from{transform:translate(-50%,-50%) scale(1.16)}to{transform:translate(-50%,-50%) scale(1)}}
@keyframes spIn{from{opacity:0;filter:brightness(1.6) saturate(.6)}to{opacity:1;filter:none}}
/* the hammer strike: a flash where the head lands, the picture shakes, sparks fly */
#boot .sp-flash{position:absolute;left:30%;top:74%;width:46%;aspect-ratio:1;border-radius:50%;transform:translate(-50%,-50%) scale(.2);opacity:0;
  background:radial-gradient(closest-side,#fff 0,rgba(255,236,150,.95) 30%,rgba(255,170,40,.5) 60%,rgba(255,170,40,0) 100%);mix-blend-mode:screen;animation:spFlash 2.2s ease-out 1.05s infinite}
@keyframes spFlash{0%{opacity:0;transform:translate(-50%,-50%) scale(.2)}6%{opacity:1;transform:translate(-50%,-50%) scale(1)}30%{opacity:0;transform:translate(-50%,-50%) scale(1.5)}100%{opacity:0}}
#boot .sp-stage{will-change:transform}
#boot .sp-sparks{position:absolute;left:30%;top:74%}
#boot .sp-sparks i{position:absolute;width:7px;height:7px;margin:-3px;border-radius:50%;background:#fff3b0;box-shadow:0 0 8px 3px rgba(255,200,60,.9);opacity:0;animation:spSpark 2.2s ease-out 1.05s infinite}
@keyframes spSpark{0%{opacity:0;transform:translate(0,0) scale(1)}5%{opacity:1}35%{opacity:0;transform:translate(var(--dx),var(--dy)) scale(.3)}100%{opacity:0}}
#boot.sp-shake .sp-stage,#boot .sp-stage{animation:spZoom 3.6s cubic-bezier(.2,.7,.3,1) both}
#boot .sp-bg{animation:spIn .7s ease-out both,spShake 2.2s ease-out 1.05s infinite}
@keyframes spShake{0%,12%,100%{transform:none}2%{transform:translate(-4px,3px)}4%{transform:translate(4px,-3px)}6%{transform:translate(-3px,-2px)}8%{transform:translate(2px,2px)}10%{transform:translate(-1px,1px)}}
/* Flex Spin sign glows like it is lit */
#boot .sp-spin{position:absolute;left:62%;top:41%;width:40%;height:12%;border-radius:40%;background:radial-gradient(closest-side,rgba(255,226,120,.75),rgba(255,180,40,0));mix-blend-mode:screen;opacity:.2;animation:spSpin 1.1s ease-in-out .4s infinite alternate}
@keyframes spSpin{to{opacity:.85}}
/* the logo drops in, bounces, and a shine sweeps across it */
#boot .sp-logo{--sh:max(100vh,calc(100vw * 1.7764));position:absolute;left:50%;top:max(calc(env(safe-area-inset-top) + 8px),calc(50vh - var(--sh) / 2 + var(--sh) * .035));width:min(94vw,var(--sh) * .52);transform:translateX(-50%);
  animation:spDrop .95s cubic-bezier(.2,1.5,.4,1) .25s both;filter:drop-shadow(0 10px 18px rgba(0,0,0,.45))}
@supports (height:100dvh){#boot .sp-logo{--sh:max(100dvh,calc(100vw * 1.7764));top:max(calc(env(safe-area-inset-top) + 8px),calc(50dvh - var(--sh) / 2 + var(--sh) * .035))}}
#boot .sp-logo img{display:block;width:100%;height:auto}
#boot .sp-glint{position:absolute;inset:0;-webkit-mask:url(../img/ui/logo3.webp) center/100% 100% no-repeat;mask:url(../img/ui/logo3.webp) center/100% 100% no-repeat;
  background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.85) 48%,transparent 60%) -150% 0/60% 100% no-repeat;animation:spGlint 2.4s ease-in-out 1.3s infinite}
@keyframes spDrop{0%{opacity:0;transform:translateX(-50%) translateY(-60%) scale(1.9)}55%{opacity:1}100%{opacity:1;transform:translateX(-50%) translateY(0) scale(1)}}
@keyframes spGlint{0%{background-position:-150% 0}45%,100%{background-position:250% 0}}
/* twinkles and floating coins */
#boot .sp-stars i{position:absolute;width:16px;height:16px;margin:-8px;background:radial-gradient(closest-side,#fff,rgba(255,255,255,0));clip-path:polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%);animation:spTw 1.6s ease-in-out infinite;opacity:0}
@keyframes spTw{0%,100%{opacity:0;transform:scale(.4) rotate(0)}50%{opacity:1;transform:scale(1.15) rotate(45deg)}}
#boot .sp-coins i{position:absolute;bottom:-50px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font:900 17px/1 Arial,sans-serif;font-style:normal;color:#a86a00;
  background:radial-gradient(circle at 35% 30%,#fff6b8,#ffd23f 45%,#e09a10 80%);box-shadow:inset 0 -3px 0 #b77400,0 4px 8px rgba(0,0,0,.35);opacity:0;animation:spCoin 2.6s ease-in infinite}
@keyframes spCoin{0%{opacity:0;transform:translateY(0) scale(var(--s)) rotateY(0)}10%{opacity:1}100%{opacity:0;transform:translateY(-70vh) scale(var(--s)) rotateY(720deg)}}
/* loading bar */
#boot .sp-load{position:absolute;left:50%;bottom:calc(env(safe-area-inset-bottom) + 26px);width:min(78vw,320px);transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:8px;animation:spIn .5s ease-out .5s both}
#boot .sp-bar{width:100%;height:14px;border-radius:9px;padding:2px;box-sizing:border-box;background:rgba(6,14,40,.78);border:2px solid #ffd257;box-shadow:0 4px 12px rgba(0,0,0,.5)}
#boot .sp-bar i{display:block;height:100%;width:8%;border-radius:6px;background:linear-gradient(90deg,#3fe07a,#16a34a);box-shadow:inset 0 2px 0 rgba(255,255,255,.4);animation:spFill 3s cubic-bezier(.3,.6,.4,1) .2s forwards;transition:width .25s ease}
@keyframes spFill{to{width:86%}}
#boot .sp-load b{font:400 17px/1 "Lilita One",Arial,sans-serif;color:#fff;text-shadow:0 2px 0 #0b1638,0 0 10px rgba(0,0,0,.7);letter-spacing:.02em}
html.lite #boot .sp-stars,html.lite #boot .sp-coins,html.lite #boot .sp-sparks{display:none}
@media (prefers-reduced-motion:reduce){#boot *{animation-duration:.01s!important;animation-iteration-count:1!important}}
#boot .sp-sparks i:nth-child(1){--dx:57px;--dy:14px}#boot .sp-sparks i:nth-child(2){--dx:60px;--dy:52px}#boot .sp-sparks i:nth-child(3){--dx:26px;--dy:90px}#boot .sp-sparks i:nth-child(4){--dx:-18px;--dy:46px}#boot .sp-sparks i:nth-child(5){--dx:-65px;--dy:48px}#boot .sp-sparks i:nth-child(6){--dx:-113px;--dy:21px}#boot .sp-sparks i:nth-child(7){--dx:-57px;--dy:-14px}#boot .sp-sparks i:nth-child(8){--dx:-60px;--dy:-52px}#boot .sp-sparks i:nth-child(9){--dx:-26px;--dy:-90px}#boot .sp-sparks i:nth-child(10){--dx:18px;--dy:-46px}#boot .sp-sparks i:nth-child(11){--dx:65px;--dy:-48px}#boot .sp-sparks i:nth-child(12){--dx:113px;--dy:-21px}
#boot .sp-stars i:nth-child(1){left:12%;top:8%;animation-delay:0.00s}#boot .sp-stars i:nth-child(2){left:86%;top:6%;animation-delay:0.37s}#boot .sp-stars i:nth-child(3){left:70%;top:22%;animation-delay:0.74s}#boot .sp-stars i:nth-child(4){left:18%;top:30%;animation-delay:1.11s}#boot .sp-stars i:nth-child(5){left:92%;top:34%;animation-delay:1.48s}#boot .sp-stars i:nth-child(6){left:8%;top:46%;animation-delay:1.85s}#boot .sp-stars i:nth-child(7){left:55%;top:4%;animation-delay:2.22s}#boot .sp-stars i:nth-child(8){left:40%;top:33%;animation-delay:2.59s}#boot .sp-stars i:nth-child(9){left:78%;top:58%;animation-delay:2.96s}
#boot .sp-coins i:nth-child(1){left:8%;animation-delay:0.60s;--s:0.7}#boot .sp-coins i:nth-child(2){left:22%;animation-delay:0.93s;--s:0.9}#boot .sp-coins i:nth-child(3){left:36%;animation-delay:1.26s;--s:1.1}#boot .sp-coins i:nth-child(4){left:50%;animation-delay:1.59s;--s:0.7}#boot .sp-coins i:nth-child(5){left:64%;animation-delay:1.92s;--s:0.9}#boot .sp-coins i:nth-child(6){left:78%;animation-delay:2.25s;--s:1.1}#boot .sp-coins i:nth-child(7){left:92%;animation-delay:2.58s;--s:0.7}#boot .sp-coins i:nth-child(8){left:30%;animation-delay:2.91s;--s:0.9}
#boot .sp-stars,#boot .sp-coins{display:block;position:absolute;inset:0;pointer-events:none}
#boot .sp-sparks{display:block}
/* loading screen, take 2: the whole poster across the width (nothing cut off), the real logo laid exactly over the painted one */
#boot::before{content:"";position:absolute;inset:-40px;background:url(../img/ui/splash.webp) center bottom/cover;filter:blur(22px) brightness(.55)}
#boot .sp-stage{--sw:min(100vw,calc(100vh * .5629));left:50%;top:0;width:var(--sw);height:auto;transform:translateX(-50%);animation:spZoom2 3.6s cubic-bezier(.2,.7,.3,1) both;transform-origin:50% 40%}
@supports (height:100dvh){#boot .sp-stage{--sw:min(100vw,calc(100dvh * .5629))}}
#boot .sp-bg{position:relative;display:block;height:auto}
@keyframes spZoom2{from{transform:translateX(-50%) scale(1.12)}to{transform:translateX(-50%) scale(1)}}
#boot .sp-logo{left:4.8%;top:3.9%;width:93.5%;transform:none;animation:spPop 1.1s cubic-bezier(.2,1.6,.4,1) .2s both;filter:drop-shadow(0 8px 14px rgba(0,0,0,.35))}
@supports (height:100dvh){#boot .sp-logo{top:3.9%}}
@keyframes spPop{0%{opacity:0;transform:scale(1.45)}40%{opacity:1}100%{opacity:1;transform:scale(1)}}
#boot .sp-stage{top:env(safe-area-inset-top)}
#boot .sp-bg{-webkit-mask:linear-gradient(#000 90%,transparent);mask:linear-gradient(#000 90%,transparent)}

.st-del{display:block;margin:10px auto 0;background:none;border:0;color:#ff8a8a;font:600 12px Poppins,sans-serif;text-decoration:underline}
.dl-in{width:100%;box-sizing:border-box;margin:6px 0;border:2px solid #3a5aa8;border-radius:14px;padding:11px 12px;background:#0a1640;color:#fff;font:600 15px Poppins,sans-serif}
.dob-pick{grid-template-columns:.9fr 1.25fr 1.15fr;gap:6px}
.dob-pick select{font-size:14px;padding:0 2px 0 8px;text-overflow:clip}
.dob-pick{grid-template-columns:.95fr 1.2fr 1.1fr}
#ldGoogle[hidden],#ldFacebook[hidden]{display:none!important}
#ldEmail:only-child,#ldGoogle[hidden]~#ldFacebook[hidden]~#ldEmail{grid-column:1/-1!important;flex:1 1 100%!important;width:100%!important}
.ld-auth{grid-auto-flow:column;grid-template-columns:none!important;grid-auto-columns:1fr}
#ldGoogle:not([hidden])~#ldEmail span{font-size:0}#ldGoogle:not([hidden])~#ldEmail span::before{content:"Email";font-size:14px}

/* ===== tablets and computers: the game in a phone-shaped frame ===== */
html.wrap,html.wrap body{background:#070f2a}
html.wrap #app,html.wrap #modal,html.wrap .toast{display:none!important}
#wrap{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;gap:clamp(20px,4vw,64px);overflow:hidden}
#wrap::before{content:"";position:absolute;inset:-60px;background:url(../img/ui/splash.webp) center/cover;filter:blur(28px) brightness(.45) saturate(1.2);z-index:0}
#wrap::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at center,rgba(7,15,42,0) 30%,rgba(7,15,42,.75) 100%);z-index:0}
.wr-dev{position:relative;z-index:1;flex:none;height:min(100dvh,calc(100vw / .5625));width:min(100vw,calc(100dvh * .5625));max-height:100dvh}
@media (min-width:700px) and (min-height:560px){.wr-dev{height:calc(100dvh - 32px);width:calc((100dvh - 32px) * .5625);border-radius:28px;padding:6px;
  background:linear-gradient(160deg,#ffe27a,#c98a10 40%,#ffd257 60%,#8a5a00);box-shadow:0 30px 80px rgba(0,0,0,.6),0 0 0 2px rgba(0,0,0,.4)}}
.wr-dev iframe{display:block;width:100%;height:100%;border:0;border-radius:inherit;background:#0b1638}
@media (min-width:700px) and (min-height:560px){.wr-dev iframe{border-radius:22px}}
.wr-side{position:relative;z-index:1;display:none;flex-direction:column;gap:10px;width:clamp(220px,22vw,340px);color:#fff;font-family:Poppins,Arial,sans-serif}
.wr-side img{width:100%;filter:drop-shadow(0 10px 20px rgba(0,0,0,.5))}
.wr-side b{font:400 clamp(22px,2vw,30px)/1.15 "Lilita One",Arial,sans-serif;color:#ffd84a;text-shadow:0 3px 0 #5a2a00}
.wr-side span{font-size:15px;line-height:1.45;color:#dfe7ff}
.wr-r span{font:400 26px/1.1 "Lilita One",Arial,sans-serif;color:#fff}
.wr-side small{font-size:13px;color:#a9bbe6}
.wr-l{text-align:center;align-items:center}
@media (min-width:1100px) and (min-aspect-ratio:4/3){.wr-side{display:flex}}
.wr-dev iframe{transform-origin:0 0;width:400px}
/* the hammer-strike clip over the poster */
#boot .sp-vid{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:1;transition:opacity .2s ease;pointer-events:none;-webkit-mask:linear-gradient(#000 90%,transparent);mask:linear-gradient(#000 90%,transparent)}
#boot .sp-vid.out{opacity:0}
#boot.has-vid .sp-flash,#boot.has-vid .sp-sparks{display:none}
#boot.has-vid .sp-bg{animation:spIn .7s ease-out both}
/* oil stains: a glossy dark puddle edge around the square and a drop badge, drawn above the piece so it can always be found */
.oilmark{position:absolute;z-index:4;pointer-events:none;border-radius:10px;box-shadow:inset 0 0 0 3px rgba(20,14,30,.85),inset 0 0 10px 4px rgba(20,14,30,.55),0 0 0 1px rgba(160,120,255,.6);animation:oilPulse 1.8s ease-in-out infinite}
.oilmark svg{position:absolute;right:-3px;bottom:-3px;width:44%;height:44%;filter:drop-shadow(0 1px 2px rgba(0,0,0,.6))}
.oilmark.gone{animation:fadeout .5s forwards}
@keyframes oilPulse{50%{box-shadow:inset 0 0 0 3px rgba(20,14,30,.9),inset 0 0 14px 6px rgba(40,20,70,.6),0 0 0 2px rgba(190,150,255,.85)}}
html.lite .oilmark{animation:none}
/* loading screen, take 3: the owner's clip plays once; no zoom, no extra effects on top of it */
#boot .sp-stage{animation:none!important;transform:translateX(-50%)!important}
#boot.has-vid .sp-stars,#boot.has-vid .sp-coins{display:none}
#boot .sp-bg{animation:none!important}
.on-banner img{border-color:#2ad65a}
.on-banner i{background:linear-gradient(180deg,#3fe07a,#16a34a)!important;color:#fff!important}
/* top bar: coins and gems each keep their own slot, so a long number or large phone text can never run into the next pill */
.hud-cur.coin{width:184px;box-sizing:border-box;overflow:hidden}
.hud-cur.gem{width:172px;box-sizing:border-box;overflow:hidden}
.hud-cur.coin b,.hud-cur.gem b{flex:1;min-width:0;text-align:center;white-space:nowrap}
.hud-cur.coin img,.hud-cur.gem img,.hud-cur .plus{flex:none}
.hud-cur.nrg b{white-space:nowrap}
.hud-cur.coin b,.hud-cur.gem b{overflow:hidden}
.hud-cur.nrg{width:150px!important}
.hud-cur.nrg small{white-space:nowrap}

/* big 2 x 2 obstacles */
.bigob{position:absolute;left:0;top:0;z-index:3;pointer-events:none;display:grid;place-items:center}
.bigob.hit{animation:shake .3s}
.bigob.gone{animation:popout .4s forwards}
.bo-safe{width:96%;height:96%;object-fit:contain;filter:drop-shadow(0 6px 4px rgba(0,0,0,.45))}
.bigob.safe.open .bo-safe{filter:brightness(1.6) drop-shadow(0 0 16px #ffd84a)}
.bo-crack{position:absolute;inset:16%;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M30 4l-3 12 7 6-8 10 5 9-6 12M34 22l12-5 4 9M26 32l-14-3-6 8M31 41l12 6 3 11' fill='none' stroke='%23201a10' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;transition:opacity .3s}
.bo-lights{position:absolute;left:50%;bottom:6%;translate:-50% 0;display:flex;gap:5%;width:60%;justify-content:center}
.bo-lights i{width:16%;aspect-ratio:1;border-radius:50%;background:#3a1010;box-shadow:inset 0 1px 2px rgba(0,0,0,.6),0 0 0 2px #1b0b05}
.bo-lights i.on{background:radial-gradient(circle at 35% 30%,#fff3a0,#ff5a2a 60%,#b0160a);box-shadow:0 0 8px #ff7a3a,0 0 0 2px #1b0b05}
.bigob.pot{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;padding:8%;box-sizing:border-box}
.bo-tray{position:absolute;inset:3%;border-radius:14%;background:linear-gradient(160deg,#8a5a2a,#5a3410);box-shadow:inset 0 0 0 4px #c98d4a,inset 0 0 0 7px #4a2a0c,0 6px 8px rgba(0,0,0,.45)}
.bo-bag{position:relative;width:92%;height:92%;object-fit:contain;filter:drop-shadow(0 3px 2px rgba(0,0,0,.5));transition:opacity .25s,transform .25s}
.bo-bag.gone{opacity:0;transform:scale(1.5) translateY(-20%)}
.ob-intro img{width:100%}
.bigob.pot{padding:9%;gap:2%;place-items:stretch}
.bigob.pot .bo-bag{width:100%;height:100%;transform:scale(1.32)}
.bigob.pot .bo-bag.gone{transform:scale(1.8) translateY(-20%)}
/* cash crate: the four bags placed by hand, one per square */
.bigob.pot{display:block!important;padding:0!important}
.bigob.pot .bo-bag{position:absolute!important;width:46%!important;height:46%!important;transform:none}
.bigob.pot .bo-bag:nth-of-type(1){left:4%;top:4%}.bigob.pot .bo-bag:nth-of-type(2){right:4%;top:4%}
.bigob.pot .bo-bag:nth-of-type(3){left:4%;bottom:4%}.bigob.pot .bo-bag:nth-of-type(4){right:4%;bottom:4%}
.bigob.pot .bo-bag.gone{transform:scale(1.5) translateY(-20%)}
/* the picture picker: 36 portraits, 5 a row, scrolling inside its own box so the Save button always shows */
.ed-grid.ed-pics{grid-template-columns:repeat(5,1fr);gap:6px;max-height:min(44vh,360px);overflow-y:auto;overscroll-behavior:contain;padding:2px 4px 2px 2px;align-content:start}
@supports (height:1dvh){.ed-grid.ed-pics{max-height:min(44dvh,360px)}}
.ed-grid.ed-pics button{padding:6px 2px}
.ed-grid.ed-pics .fr{width:48px!important;height:48px!important}
.ed-grid.ed-pics button small{font-size:8.5px!important}
.ed-grid.ed-pics button small{overflow-wrap:normal!important;word-break:normal!important;hyphens:none;line-height:1.1!important}
/* loading screen, take 4: the owner's poster (still) with the logo, shine, hammer strike, sparks and coins animated in code */
#boot .sp-stage{animation:spZoom2 3.6s cubic-bezier(.2,.7,.3,1) both!important}
#boot .sp-bg{animation:spIn .7s ease-out both,spShake 2.2s ease-out 1.05s infinite!important}
#boot .sp-stars,#boot .sp-coins{display:block!important}
#boot .sp-flash,#boot .sp-sparks{left:40%;top:79%}
#boot .sp-spin{left:78%;top:44%;width:42%;height:9%}
#boot .sp-logo{left:4.5%;top:3.7%;width:93.5%}

/* ===== home stage: the project stands on the backdrop's stage ===== */
#home.staged{background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important}
#home.staged::before{background:linear-gradient(rgba(6,14,40,.35),rgba(6,14,40,0) 22%,rgba(6,14,40,0) 70%,rgba(6,14,40,.45))!important}
#home.staged #sceneIsl{visibility:hidden}
#stageItem{position:absolute;z-index:1;translate:-50% -100%;width:var(--w);height:var(--h);display:flex;align-items:flex-end;justify-content:center;
  background:none;border:0;padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
#stageItem.cut img{position:relative;z-index:1;max-width:100%;max-height:100%;object-fit:contain;object-position:center bottom;
  filter:drop-shadow(0 10px 8px rgba(0,0,0,.55));animation:stFloat 4s ease-in-out infinite}
#stageItem .st-shadow{position:absolute;left:12%;right:12%;bottom:-6px;height:16px;border-radius:50%;background:radial-gradient(closest-side,rgba(0,0,0,.6),rgba(0,0,0,0));z-index:0}
#stageItem.frame .st-frame{position:relative;z-index:1;display:block;width:100%;max-height:100%;aspect-ratio:4/3;border-radius:16px;overflow:hidden;
  box-shadow:0 0 0 3px #ffd84a,0 0 0 6px rgba(0,0,0,.35),0 0 30px rgba(255,200,80,.55),0 14px 24px rgba(0,0,0,.55);animation:stFloat 4s ease-in-out infinite}
#stageItem.frame .st-frame .look,#stageItem.frame .st-frame img{width:100%;height:100%;object-fit:cover;border-radius:0;box-shadow:none}
#stageItem.frame{align-items:flex-end}
#stageItem.frame .st-frame{width:auto;height:min(100%,calc(var(--w) * .75))}
#stageItem.damaged img,#stageItem.damaged .st-frame{filter:grayscale(.45) brightness(.8)}
@keyframes stFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
html.lite #stageItem img,html.lite #stageItem .st-frame{animation:none}
#stageItem{z-index:3}
#home .hm-ic{z-index:6!important}
/* the crown for players who have gone far (Rank 30 or puzzle level 100) */
.crowned{position:relative;overflow:visible!important}
.crowned::after{content:"";position:absolute;left:50%;top:0;width:56%;aspect-ratio:1;translate:-50% -52%;rotate:-8deg;z-index:3;pointer-events:none;
  background:url(../img/jp/crown.webp?v=1) center/contain no-repeat;filter:drop-shadow(0 2px 3px rgba(0,0,0,.55))}
#meBtn.crowned::after{width:60%}
/* crown, take 2: upright, centred, sitting on the top of the ring like a real crown */
.crowned::after{width:48%!important;aspect-ratio:300/173!important;top:0!important;translate:-50% -64%!important;rotate:0deg!important;
  background-image:url(../img/ui/crown-badge.webp?v=2)!important;filter:drop-shadow(0 2px 2px rgba(0,0,0,.6))!important}
#meBtn.crowned::after{width:50%!important}
/* home stage, take 2: the project is bigger and stands behind the side buttons */
#stageItem{z-index:0!important;pointer-events:none}
#home.staged #hmScene{cursor:pointer}
#meBtn.crowned::after{width:44%!important;translate:-50% -34%!important}

/* Grease: a 2-layer stain, darker and thicker, with a second drop */
.slot.oil.grease{background:radial-gradient(circle at 40% 35%,#2a1f10,#0a0603 75%)!important}
.oilmark.grease{box-shadow:inset 0 0 0 4px rgba(10,6,2,.95),inset 0 0 16px 7px rgba(40,24,6,.75),0 0 0 2px rgba(255,170,60,.75)}
.oilmark.grease::after{content:"x2";position:absolute;left:3px;top:2px;font:800 10px/1 Poppins,sans-serif;color:#ffd257;text-shadow:0 1px 2px #000}
.oilmark.hit{animation:shake .3s}

/* pop-up cards use the ribbon title */
.art-card>.ribbon{margin:0 auto 6px!important}
.art-card .ac-btn.violet{white-space:nowrap}
.art-card .ac-cost img{height:1.25em;width:auto;vertical-align:-.25em}
.pz-moves.gain{animation:movesGain .6s ease 2}
@keyframes movesGain{50%{transform:scale(1.25);filter:brightness(1.4)}}
/* daily gift: compact reward grid */
.dg-rw{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:6px 0 10px;min-height:34px}
.dg-rw .rw{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;height:36px;padding:0 6px;font-size:13px!important;line-height:1;border-radius:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dg-rw .rw img{height:22px!important;width:auto;flex:none}
.dg-sheet.dg-many .box-stage{height:150px!important}
.dg-sheet.dg-many .box-stage img.gift{width:150px!important}
.dg-rw .rw.rare{grid-column:1/-1;font-size:12.5px!important}
/* ===== Flex Spin, take 4: the owner's full-screen machine (853 x 1843 art), on a background that can change ===== */
#modal.fs4-full{padding:0!important;align-items:stretch!important;justify-content:stretch!important;background:#081230 url(../img/fs/bg.webp?v=1) center/cover no-repeat!important}
#modal.fs4-full .sheet.fs4-sheet{position:fixed!important;inset:0!important;width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;transform:none!important;zoom:1!important;overflow:hidden!important}
.fx-casino.fs4{position:absolute!important;inset:0!important;background:none!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;container-type:normal!important;display:block!important;height:auto!important;width:auto!important}
.fx-casino.fs4::before,.fx-casino.fs4::after{display:none!important}
/* the stage keeps the art's shape and fits any screen: as big as possible, centred, the background fills the rest */
.fs4-stage{--sw:min(100vw,calc(100vh * .4628));position:absolute;left:50%;top:50%;width:var(--sw);aspect-ratio:853/1843;transform:translate(-50%,-50%);container-type:inline-size}
@supports (height:1dvh){.fs4-stage{--sw:min(100vw,calc(100dvh * .4628))}}
.fs4-stage>*,.fs4 .fs-mach>*{position:absolute}
.fs4-top{left:0;top:0;width:100%;height:16.55%;pointer-events:none}
.fs4 .fx-casino-room{position:absolute!important;left:0;top:0;width:100%;height:100%;pointer-events:none;margin:0!important;padding:0!important;background:none!important}
.fs4 .fs3 .fs-mach{position:absolute!important;inset:0!important;width:auto!important;height:auto!important;aspect-ratio:auto!important;margin:0!important;container-type:normal}
.fs4 .fs-mach>*{margin:0!important}
.fs4 .fx-casino-room>*{pointer-events:auto}
.fs4-mach{left:0;top:16.28%;width:100%;height:83.72%;pointer-events:none;z-index:1}
.fs4 .fs-reel{z-index:0;overflow:hidden;border-radius:6px;container-type:size}
.fs4 .fs-reel::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(rgba(10,15,40,.38),rgba(255,255,255,0) 22%,rgba(255,255,255,0) 78%,rgba(10,15,40,.42))}
.fs4 .jk-strip{position:absolute;left:0;top:0;width:100%}
.fs4 .fs-c{height:33.3333cqh!important;width:100%!important;display:grid;place-items:center;padding:6%;box-sizing:border-box}
.fs4 .fs-c img{width:100%;height:100%;object-fit:contain}
.fs4 .fs-lights{left:0;top:0;width:100%;height:100%;z-index:3;pointer-events:none}
.fs4 .fs-l{width:2.4%}
.fs4 .fs-reward{position:static!important;inset:auto!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important}
.fs4 .fs-reward>*{z-index:3;display:flex!important;align-items:center;justify-content:center;margin:0!important;white-space:nowrap}
#jkPoolH{font:400 4.6cqw/1 'Lilita One',var(--display)!important;color:#ffd257!important;letter-spacing:.04em;text-transform:uppercase;text-shadow:0 .3cqw 0 #3a2400}
#jkPool{font:400 7.4cqw/1 'Lilita One',var(--display)!important;color:#fff!important;text-shadow:0 .4cqw 0 #5a0d0d,0 0 2cqw rgba(255,200,80,.5)}
.fs4 .fs-reward.big #jkPool,.fs4 .fs-reward.win #jkPool{color:#ffe36a!important}
.fs4 .jk-lock{z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;background:rgba(8,14,40,.82);border-radius:3cqw;color:#fff;text-align:center;padding:4cqw}
.fs4 .jk-lock[hidden]{display:none}
.fs4-sp,.fs4-bet,.fs4-buy,.fs4-info{z-index:3;display:flex!important;align-items:center;justify-content:center;gap:1.5cqw;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;color:#fff;font:400 4.4cqw/1 'Lilita One',var(--display)!important;min-width:0;min-height:0}
.fs4-sp i{display:block;width:5.4cqw;height:7cqw;background:url(../img/jp/zap.webp?v=1) center/contain no-repeat;flex:none}
.fs4-sp span{display:flex;flex-direction:column;align-items:flex-start;line-height:1.05}
.fs4-sp b{font:400 4.6cqw/1 'Lilita One',var(--display)!important;color:#fff}
.fs4-sp small{font:600 2.6cqw/1.1 Poppins,sans-serif!important;color:#c9d6ff}
.fs4-bet{color:#ffd257!important;font-size:5.6cqw!important}
.fs4-bet i{display:none}
.fs4-buy{font-size:5cqw!important}
.fs4-buy::after{content:"";width:5cqw;height:5cqw;background:url(../img/fs/gems.webp?v=1) center/contain no-repeat}
.fs4-info{font:700 5cqw/1 Georgia,serif!important;color:#fff}
.fs4-go{z-index:4;background:none!important;border:0!important;padding:0!important;box-shadow:none!important;display:block}
.fs4-go img{width:100%;height:100%;display:block;transition:transform .12s}
.fs4-go:active img,.fs4-go.press img{transform:scale(.94) translateY(1.2%)}
.fs4-go:disabled img{filter:saturate(.8)}
.fs4-x,.fs4-snd{z-index:5;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;display:grid;place-items:center}
.fs4-x::before,.fs4-x::after{content:"";position:absolute;left:50%;top:50%;width:40%;height:7%;background:#fff;border-radius:2px;translate:-50% -50%;rotate:45deg}
.fs4-x::after{rotate:-45deg}
.fs4-snd::before{content:"";width:46%;height:46%;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z' fill='%23fff'/%3E%3Cpath d='M16 8.5a5 5 0 0 1 0 7M18.5 6a8.5 8.5 0 0 1 0 12' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat}
.fs4-snd.off::before{opacity:.4}
.fs4-money{z-index:5;display:flex!important;align-items:center;justify-content:center;gap:2cqw;background:none!important;border:0!important;padding:0 3cqw!important;color:#fff;font:400 5.4cqw/1 'Lilita One',var(--display)!important;white-space:nowrap}
.fs4-money img{width:7.4cqw!important;height:7.4cqw!important}
.fs4-tabs{position:static!important;display:block!important;background:none!important;border:0!important;padding:0!important;margin:0!important}
.fs4-tabs button{position:absolute!important;z-index:5;display:flex!important;align-items:center;gap:2.6cqw;padding:0 3cqw 0 4cqw!important;background:none!important;border:0!important;box-shadow:none!important;color:#fff;text-align:left;opacity:.62;filter:saturate(.7);transition:opacity .2s,filter .2s;margin:0!important}
.fs4-tabs button[aria-selected="true"]{opacity:1;filter:none}
.fs4-tabs button img{width:13cqw;height:11cqw;object-fit:contain;flex:none}
.fs4-tabs button span{display:flex;flex-direction:column;font:400 5.2cqw/1.05 'Lilita One',var(--display)!important;text-transform:uppercase;white-space:nowrap}
#fxJackTab span{color:#fff}
.fs4-tabs small{font:600 3cqw/1.3 Poppins,sans-serif!important;text-transform:none;color:#dfe6ff}
.fs4 #fxDailyRoom{padding-top:18%!important;display:flex;flex-direction:column;align-items:center;gap:2cqw}
.fs4 #fxDailyRoom[hidden],.fs4 #fxJackRoom[hidden]{display:none!important}
.fs4 #fxDailyRoom .fx-spin-logo{width:70%!important}
.fs4 #fxDailyRoom .fx-wheel-stage{width:86%!important;margin:0 auto!important}
.fs4-out{left:5%;width:90%;top:94.5%;z-index:5;text-align:center;color:#fff;font:600 3.4cqw/1.25 Poppins,sans-serif!important;text-shadow:0 1px 3px #000;background:none!important;margin:0!important;padding:0!important;min-height:0!important}
.fs4 .jk-pt{z-index:8}
/* fs4 fixes: symbols sit on top of the painted (white) reel window; reward text in its pills; clean close cross */
.fs4 .fs-reel{z-index:2!important;background:none!important}
.fs4 #jkPoolH,.fs4 #jkPool{position:absolute!important;transform:none!important;inset:auto;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;min-width:0!important}
.fs4-x::before,.fs4-x::after{rotate:none!important;transform:translate(-50%,-50%) rotate(45deg)!important;translate:none!important}
.fs4-x::after{transform:translate(-50%,-50%) rotate(-45deg)!important}
.fs4-x{font-size:0!important;color:transparent!important}
.fs4-x>*,.fs4-snd>*{display:none}
.fs4 .fx-free-logo{display:none!important}
.fs4 #fxDailyRoom{padding-top:21%!important}
.fs4 .fs-l{z-index:3;display:block!important}
.fs4-x{position:absolute!important}
.fs4-x::before,.fs4-x::after{width:40%!important;height:7%!important;left:50%!important;top:50%!important}
.fs4-x::before,.fs4-x::after{display:none!important}
.fs4-x>svg{display:block!important;width:46%;height:46%;margin:auto}
.fs4 #fxDailyRoom{top:18%!important;height:82%!important;padding:0!important;justify-content:flex-start}
.fs4 .fs-l{width:3.6%!important;margin:-1.8% 0 0 -1.8%!important;box-shadow:0 0 3cqw 1cqw rgba(255,210,90,.75)!important}
.fs4-x>svg{width:62%!important;height:62%!important}
.fs4-tabs button span{font-size:4.5cqw!important}
.fs4-tabs button img{width:11cqw!important}
.fs4 .jk-pt{position:absolute!important;inset:1.5% 3%!important;width:auto!important;max-width:none!important;height:auto!important;z-index:20!important;overflow-y:auto;box-sizing:border-box}
.fs4 .jk-pt[hidden]{display:none!important}
.fs4 .jk-pt span img{width:30px!important;height:30px!important;object-fit:contain}
/* Flex Spin button: the owner's two pieces, a fixed gold base and the red top that presses down into it */
.fs4-base{position:absolute;z-index:3;pointer-events:none}
.fs4-go img{transform-origin:50% 100%;transition:transform .09s ease-out,filter .09s}
.fs4-go:active img{transform:translateY(3%) scaleY(.9);filter:brightness(.88)}
.fs4-go.press{animation:none}
.fs4-go.press img{animation:fs4Press .4s cubic-bezier(.3,.7,.4,1)}
@keyframes fs4Press{0%{transform:none}35%{transform:translateY(3%) scaleY(.9);filter:brightness(.88)}75%{transform:translateY(-1%) scaleY(1.02)}100%{transform:none}}
.fs4-go:disabled img{filter:saturate(.85)}
/* close X: sits exactly on the art's round button (top left) */
.fs4 .fs4-x{left:4.1%!important;top:1.9%!important;width:10.55%!important;height:4.88%!important;right:auto!important;bottom:auto!important;margin:0!important;transform:none!important;display:grid!important;place-items:center!important}
.fs4 .fs4-x>svg{width:46%!important;height:auto!important;aspect-ratio:1;margin:0!important;position:static!important}
/* game pictures cannot be saved, shared or dragged with a long press */
img,.fs4 img{-webkit-touch-callout:none;-webkit-user-drag:none;user-select:none;-webkit-user-select:none}
/* Flex Spin: tiny twinkle lights on the machine's own dots (owner's marks), not big bulbs */
.fs4 .fs-l{width:1.5%!important;margin:-.75% 0 0 -.75%!important;background:radial-gradient(circle,#fff 0 28%,#ffe7a0 50%,rgba(255,200,80,0) 72%)!important;box-shadow:0 0 1.2cqw .25cqw rgba(255,225,140,.7)!important;animation:fs4Tw 1.8s ease-in-out infinite}
.fs4 .fs-l.b{animation-delay:.9s}
@keyframes fs4Tw{0%,100%{opacity:.35;transform:scale(.7)}50%{opacity:1;transform:scale(1)}}
.fs4 .fs-lights.run .fs-l{animation-duration:.4s}
.fs4 .fs-lights.win .fs-l{animation:fs4Tw .25s ease-in-out 12}
/* reel symbols: smaller with breathing room so neighbours never touch */
.fs4 .fs-c{padding:11% 9%!important}
.fs4 .fs-c img{transform:none!important}
/* Flex Spin backgrounds: swap any time by replacing img/fs/bg1.webp or bg2.webp (they take turns daily) */
#modal.fs4-full.fsbg1{background-image:url(../img/fs/bg1.webp?v=1)!important}
#modal.fs4-full.fsbg2{background-image:url(../img/fs/bg2.webp?v=1)!important}
/* Flex Spin tabs: both always bright and readable; the chosen one gets a gold glow ring and gold title */
.fs4-tabs button{opacity:1!important;filter:none!important;border-radius:3.4cqw!important}
.fs4-tabs button span{color:#fff;text-shadow:0 .5cqw 0 rgba(0,0,0,.55),0 0 1.5cqw rgba(0,0,0,.5)}
.fs4-tabs small{color:#fff!important;text-shadow:0 .35cqw 0 rgba(0,0,0,.6)}
.fs4-tabs button img{filter:drop-shadow(0 .5cqw .6cqw rgba(0,0,0,.5))}
.fs4-tabs button[aria-selected="true"]{box-shadow:0 0 0 .7cqw #ffe27a,0 0 4.5cqw 1cqw rgba(255,214,90,.75)!important}
.fs4-tabs button[aria-selected="true"] span,#fxJackTab[aria-selected="true"] span{color:#ffe27a}
.fs4-tabs button[aria-selected="true"] small{color:#fff!important}
/* bottom bar: Chat takes the middle (raised gold) spot where Home was */
#home .tabbar .tb-mid img{box-sizing:content-box;width:30px;height:30px;padding:8px;object-fit:contain;border-radius:16px;background:linear-gradient(#ffd85a,#ee9410);border:2px solid #fff3c4;transform:translateY(-12px);box-shadow:inset 0 2px 0 rgba(255,255,255,.45),inset 0 -4px 0 rgba(120,60,0,.35),0 4px 0 rgba(0,0,0,.35)}
#home .tabbar .tb-mid:active img{transform:translateY(-10px)}
#home .tabbar .tb-mid span{margin-top:-12px;color:#ffd75a}
#home .tabbar .tb-mid .hm-n{top:-16px;right:calc(50% - 32px);z-index:2}
/* rank: a number badge on the profile picture, no "Rank" text */
#meLvl{display:none}
.hud-av{overflow:visible}
.av-rank{position:absolute;right:-8px;bottom:-6px;min-width:46px;height:46px;padding:0 6px;border-radius:23px;display:grid;place-items:center;box-sizing:border-box;
 background:radial-gradient(circle at 40% 30%,#2b3f86,#0d1640);border:4px solid #f6c453;color:#fff;font:700 24px/1 var(--display);box-shadow:0 3px 6px rgba(0,0,0,.5)}
/* side buttons: bigger pictures inside the same boxes */
#home .hb img{transform:scale(1.22);transform-origin:50% 80%}
/* JetFlux bar never wider than the screen on narrow or large-text phones */
.jf-go{max-width:100%;box-sizing:border-box}
@media (max-width:350px){.jf-go{gap:6px;padding-right:30px}.jf-go img{height:19px}.jf-go span{padding-left:6px}.jf-go b{font-size:11px}.jf-go em{padding:6px 7px;font-size:10px}}
/* Flex Spin tab subtitles a touch bigger so they read on every phone */
.fs4-tabs small{font-size:3.5cqw!important}
.fs4-sp small{font-size:3.1cqw!important}
.fs4:has(#jkPTL:not([hidden])) .fs4-money{visibility:hidden}   /* the win table covers the screen: no balance peeking through */
/* top bar: just the name beside the picture (rank is on the picture), no bar under it: more space */
.hud-me>span{display:none!important}
.hud-me{justify-content:center;height:118px;top:14px!important}
.fs4-sp small{font-size:3.4cqw!important}
/* top bar: the name sits in a slim line on top, the money pills move left into the space it freed */
.hud-me{top:6px!important;left:150px!important;height:36px!important;width:700px!important;justify-content:flex-start!important;gap:0!important}
.hud-me b{font:600 27px/36px var(--display)!important}
.hud-cur{top:50px!important}
.hud-cur.coin{left:150px!important;width:230px!important}
.hud-cur.gem{left:396px!important;width:210px!important}
.hud-cur.nrg{left:626px!important;top:44px!important;width:170px!important}
.hud-gear{left:866px!important;top:50px!important}
/* level header: tight. Goals share the card in equal slots, a done goal shows a small tick on its icon, the moves box is slim */
#puzzle .pz-head{gap:6px!important}
#puzzle .pz-card{padding:13px 6px 5px!important}
#puzzle .pz-goals{display:grid!important;grid-auto-flow:column;grid-auto-columns:1fr;gap:2px!important}
#puzzle .goal{position:relative;min-width:0;align-items:center}
#puzzle .goal img,#puzzle .goal .gi{width:28px!important;height:28px!important;max-width:100%}
#puzzle .goal.done b{display:block!important;visibility:hidden}
#puzzle .goal.done::after{position:absolute!important;top:16px;left:50%;margin:0!important;width:17px!important;height:17px!important;border:2px solid #fff;box-sizing:border-box}
#puzzle .pz-moves{width:54px!important;border-radius:14px!important;padding:2px 0}
#puzzle .pz-moves small{font-size:10px!important}
#puzzle .pz-moves b{font-size:24px!important}
/* pause and other two-button rows: buttons share the row and their words always fit */
.ac-row{display:flex;gap:8px}
.ac-row .ac-btn{flex:1 1 0;min-width:0;padding:0 6px!important;white-space:nowrap;font-size:clamp(13px,4.2vw,17px)!important}
/* energy: bolt, 5/5 and Full on one line */
.hud-cur.nrg{flex-wrap:nowrap!important;align-items:center!important;gap:6px!important;width:230px!important;top:50px!important;height:58px!important}
.hud-cur.nrg small{position:static!important;font:600 21px var(--body)!important;color:#cfdcff}
.hud-gear{left:872px!important}
/* Thunder Hammer strike */
.thor-bolt{position:fixed;z-index:9000;pointer-events:none;filter:drop-shadow(0 0 10px #8fd8ff) drop-shadow(0 0 22px #3aa0ff);animation:thorBolt .5s ease-out forwards}
.thor-bolt svg{width:100%;height:100%;display:block}
@keyframes thorBolt{0%{opacity:0;clip-path:inset(0 0 100% 0)}25%{opacity:1;clip-path:inset(0 0 0 0)}45%{opacity:.4}60%{opacity:1}100%{opacity:0}}
.thor-flash{position:fixed;inset:0;z-index:8999;pointer-events:none;background:radial-gradient(circle,rgba(200,235,255,.55),rgba(80,160,255,.18) 60%,transparent);animation:thorFlash .45s ease-out forwards}
@keyframes thorFlash{0%{opacity:0}20%{opacity:1}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.thor-bolt,.thor-flash{display:none}}
/* paint bomb splash in rainbow colours */
.splash{background:conic-gradient(from 0deg,#ff3b3b,#ffb020,#ffe34a,#32d36a,#2fa8ff,#8a4dff,#ff4fb0,#ff3b3b)!important;border-radius:50%;mix-blend-mode:screen}
/* weapon buttons: gold rings like the owner's reference */
#puzzle .boost-hot{background:radial-gradient(circle at 50% 35%,#24407e,#0c1638 70%)!important;border:3px solid #f6c453!important;box-shadow:0 0 0 2px #7a4b00,0 4px 8px rgba(0,0,0,.5),inset 0 2px 4px rgba(255,255,255,.2)!important}
#puzzle .boost-hot img{transform:scale(1.12)}
#puzzle .boost-hot .cnt{background:#0c1638!important;border:2px solid #f6c453!important;color:#fff!important}
/* ===== clean home: the project stands alone in the middle; Play and the project card share the bottom row ===== */
#home #projPanel,#home .h2-b .stage-row{display:none!important}
#home .hb-row{display:flex;gap:8px;align-items:stretch}
#home .hb-row .play{flex:1.45 1 0;min-width:0}
.proj-mini{flex:1 1 0;min-width:0;display:flex;align-items:center;gap:7px;padding:6px 8px;border-radius:18px;color:#fff;text-align:left;
 background:linear-gradient(#ffd85a,#ee9410);border:3px solid #fff3c4;box-shadow:inset 0 -4px 0 rgba(120,60,0,.35),0 4px 0 rgba(0,0,0,.35)}
.proj-mini:active{transform:translateY(2px)}
.pm-im{flex:none;width:44px;height:44px;border-radius:10px;background:#1a2550 center/cover no-repeat;box-shadow:0 0 0 2px #fff3c4}
.pm-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.pm-tx b{font:700 13px/1.1 var(--display);color:#5a3200;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pm-bar{display:block;height:9px;border-radius:5px;background:rgba(90,50,0,.35);overflow:hidden}
.pm-bar i{display:block;height:100%;border-radius:5px;background:linear-gradient(#7ef08a,#22c55e)}
.pm-tx small{font:800 11px/1 var(--body);color:#5a3200}
/* ===== level complete: full screen, calm, tap to go home ===== */
#modal.w3-full{background:radial-gradient(circle at 50% 40%,rgba(30,50,110,.92),rgba(5,10,30,.97))!important}
#modal.w3-full .sheet{background:none!important;box-shadow:none!important;border:0!important;width:100%!important;max-width:420px}
.w3{display:flex;flex-direction:column;align-items:center;gap:10px;padding:20px 16px;color:#fff;text-align:center;cursor:pointer;outline:0}
.w3-stars{display:flex;gap:6px;align-items:flex-end}
.w3-stars img{width:62px;height:62px;filter:grayscale(1) brightness(.45);opacity:.6}
.w3-stars img:nth-child(2){width:78px;height:78px}
.w3-stars img.on{filter:drop-shadow(0 0 10px rgba(255,210,80,.7));opacity:1;animation:w3Star .45s cubic-bezier(.3,1.6,.5,1) both}
@keyframes w3Star{0%{transform:scale(0) rotate(-40deg)}100%{transform:none}}
.w3 h2{font:400 34px/1 'Lilita One',var(--display);color:#ffd75a;text-shadow:0 3px 0 #7a4b00,0 0 18px rgba(255,200,60,.4)}
.w3-streak{font:400 30px/1 'Lilita One',var(--display);color:#6fd0ff;text-shadow:0 0 14px rgba(80,180,255,.8),0 3px 0 #0b3a7a}
.w3-big{display:flex;align-items:center;gap:8px;margin:8px 0}
.w3-big img{width:84px;height:84px;filter:drop-shadow(0 0 16px rgba(255,190,60,.8));animation:w3Pop .6s .2s cubic-bezier(.3,1.6,.5,1) both}
.w3-big b{font:400 46px/1 'Lilita One',var(--display)}
.w3-big em{font:400 22px 'Lilita One',var(--display);font-style:normal;color:#ff5a4a}
@keyframes w3Pop{0%{transform:scale(0)}100%{transform:none}}
.w3-row{display:flex;gap:10px}
.w3-pill{display:flex;align-items:center;gap:6px;padding:6px 14px 6px 6px;border-radius:20px;background:rgba(255,255,255,.1);box-shadow:inset 0 0 0 2px rgba(255,255,255,.18);font:700 16px var(--body)}
.w3-pill img{width:26px;height:26px}
.w3-msg{max-width:300px;font:500 14px/1.35 var(--body);color:#cfdcff;margin:4px 0}
.w3-tap{margin-top:14px;font:700 16px var(--body);color:#fff;animation:w3Tap 1.4s ease-in-out infinite}
@keyframes w3Tap{0%,100%{opacity:.45}50%{opacity:1}}
#modal.w3-full{z-index:9990!important;background:radial-gradient(circle at 50% 40%,#1e326e,#050a1e)!important}
.pm-tx b{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12.5px;line-height:1.1}
/* Round Spin: a bigger wheel (prize amounts are painted into the wheel picture, nothing sits on top of it) */
.fs4 #fxDailyRoom .fx-wheel-stage{width:94%!important;height:auto!important;aspect-ratio:1;margin:1cqw auto 0!important}
/* ===== premium Out Of Moves and Reward ===== */
.mv-hero{position:relative;width:118px;height:104px;margin:-2px auto 2px;display:grid;place-items:center}
.mv-hero .rays,.rwc .rw-art .rays{position:absolute;inset:-30%;border-radius:50%;background:repeating-conic-gradient(rgba(255,214,90,.32) 0 9deg,transparent 9deg 22deg);animation:spin 14s linear infinite;-webkit-mask:radial-gradient(circle,#000 25%,transparent 66%);mask:radial-gradient(circle,#000 25%,transparent 66%)}
.mv-badge{position:relative;width:92px;height:92px;border-radius:26px;display:flex;flex-direction:column;align-items:center;justify-content:center;
 background:radial-gradient(circle at 35% 25%,#ffb36b,#ff6a2a 45%,#d6311a);border:4px solid #ffe27a;box-shadow:0 0 0 3px #8a4a00,0 8px 16px rgba(0,0,0,.45),inset 0 4px 0 rgba(255,255,255,.4),inset 0 -6px 0 rgba(120,20,0,.35);
 animation:lxIn .55s cubic-bezier(.2,1.5,.4,1) both}
.mv-badge b{font:400 40px/1 'Lilita One',var(--display);color:#fff;-webkit-text-stroke:2px #8a2a00;paint-order:stroke fill;text-shadow:0 3px 0 #8a2a00}
.mv-badge small{font:400 15px/1 'Lilita One',var(--display);color:#fff3c4;text-shadow:0 2px 0 #8a2a00;margin-top:1px}
.mv-badge.big{width:112px;height:112px;border-radius:30px}.mv-badge.big b{font-size:50px}.mv-badge.big small{font-size:18px}
.rwc .rw-art .mv-badge+em{display:none}
.prem .ac-txt{font:600 15px var(--body)!important;color:#fff!important;margin:2px 0 6px!important}
.prem .ac-pill{background:linear-gradient(#20387a,#14254f)!important;box-shadow:inset 0 0 0 2px rgba(255,214,90,.55),0 3px 0 rgba(0,0,0,.35)!important;font:400 18px 'Lilita One',var(--display)!important;color:#fff!important}
/* the video button: big glossy green with a gold rim */
.prem .ac-btn.wv{min-height:62px!important;border-radius:20px!important;background:linear-gradient(#5af266,#17b82c)!important;border:3px solid #ffe27a!important;box-shadow:0 0 0 2px #7a4b00,0 5px 0 #0c7a1c,inset 0 4px 0 rgba(255,255,255,.35)!important;text-shadow:0 2px 0 #0a6b17}
.prem .ac-btn.wv .wv-t b{font:400 21px/1.05 'Lilita One',var(--display)!important}
.prem .ac-btn.wv .wv-t small{font:600 12px var(--body)!important;opacity:.95}
.prem .ac-btn.wv .wv-ic{width:34px;height:34px}
/* coin and gem buttons: glossy gold and glossy blue, both gold-rimmed */
.prem .ac-row .ac-btn{min-height:52px!important;border-radius:18px!important;border:3px solid #ffe27a!important;font:400 20px 'Lilita One',var(--display)!important}
.prem .ac-btn.gold{background:linear-gradient(#ffe27a,#f2a20e)!important;color:#5a3200!important;text-shadow:0 1px 0 rgba(255,255,255,.5)!important;box-shadow:0 0 0 2px #7a4b00,0 5px 0 #a8650a,inset 0 4px 0 rgba(255,255,255,.45)!important}
.prem .ac-btn.blue{background:linear-gradient(#5fb0ff,#1f6be0)!important;box-shadow:0 0 0 2px #7a4b00,0 5px 0 #123f96,inset 0 4px 0 rgba(255,255,255,.35)!important;text-shadow:0 2px 0 #0b3a8a!important}
.prem .ac-cost{background:rgba(0,0,0,.18)!important;border-radius:12px;padding:2px 8px 2px 4px}
.ac-quit{display:block;margin:12px auto 0;padding:6px 14px;background:none;border:0;color:#b9c8f0;font:600 14px var(--body);text-decoration:underline;text-underline-offset:3px}
/* reward: gold title, bigger rays */
.prem .rw-art{width:170px!important;height:160px!important}
.prem .rw-t{font:400 28px/1 'Lilita One',var(--display)!important;color:#ffd75a;text-shadow:0 3px 0 #7a4b00}
.prem.rwc span,.prem .rwc span{font:500 14px var(--body)!important;color:#dfe7ff!important}
/* swipe page: the project's own clear backdrop (same picture as home) */
#puzzle::before{background:linear-gradient(rgba(5,12,35,.35),rgba(5,12,35,0) 22%,rgba(5,12,35,0) 78%,rgba(5,12,35,.4)),var(--pzbg,url(../img/puzzle/garage.webp)) center/cover no-repeat!important;filter:none!important}
/* side buttons: badges sit clear of the bigger pictures */
#home .hb img{transform:scale(1.16)!important;transform-origin:50% 70%!important}
#home .rail .badge{top:-9px!important;right:-9px!important;z-index:3}
/* Play and the project card: same height, same line */
#home .hb-row{height:64px;align-items:stretch}
#home .hb-row .play,#home .hb-row .proj-mini{height:100%!important;margin:0!important;box-sizing:border-box}
@media (max-height:680px){#home .hb-row{height:54px}.pm-im{width:36px;height:36px}}
/* narrow phones (Fold cover): everything keeps to one clean line */
.prem .ac-btn.wv .wv-t b{font-size:clamp(15px,5.4vw,21px)!important;white-space:nowrap}
@media (max-width:340px){
 #home .hb-row .play{gap:6px;padding:0 6px}
 #home .hb-row .play b{font-size:22px!important;letter-spacing:.02em}
 #home .hb-row .play small{padding:4px 6px!important;font-size:11px!important;white-space:nowrap}
 .proj-mini{gap:5px;padding:5px 6px}.pm-im{width:30px!important;height:30px!important}.pm-tx b{font-size:11px}
 .jf-go b{font-size:10px!important}.jf-go .jf-from{white-space:nowrap}.jf-go em{font-size:10.5px!important;padding:5px 6px!important}.jf-go img{height:16px!important}
}
/* project card: the whole name always shows, smaller, up to two lines */
.pm-tx b{font-size:10.5px!important;line-height:1.12!important;-webkit-line-clamp:2;overflow:hidden;text-overflow:clip;word-break:normal}
@media (max-width:340px){.pm-tx b{font-size:10px!important}}
/* Round Spin note: readable on any background */
#fxDailyHint{display:inline-block;margin:2cqw auto 0;padding:1.6cqw 4cqw;border-radius:6cqw;background:rgba(10,20,55,.82);box-shadow:inset 0 0 0 2px rgba(255,214,90,.5);color:#fff!important;font:600 3.6cqw/1.25 var(--body)!important;opacity:1!important;text-shadow:none!important}
/* ===== the card before a level ===== */
.lc .ac-frame{display:flex;flex-direction:column;align-items:center;gap:10px}
.lc-tag{align-self:center;margin-top:-4px;padding:3px 14px;border-radius:10px;font:400 16px/1.2 'Lilita One',var(--display);font-style:normal;color:#fff;border:2px solid #ffe27a}
.lc-tag.hard{background:linear-gradient(#ff7a6a,#d9261c)}.lc-tag.boss{background:linear-gradient(#b48bff,#6d35d9)}
.lc-goals{display:flex;gap:8px;justify-content:center;flex-wrap:nowrap;width:100%}
.lc-goal,.lc-moves{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;flex:1 1 0;max-width:72px;padding:6px 2px;border-radius:14px;background:linear-gradient(#20387a,#14254f);box-shadow:inset 0 0 0 2px rgba(255,214,90,.45)}
.lc-goal img,.lc-goal .gi{width:30px;height:30px;object-fit:contain}
.lc-goal b,.lc-moves b{font:400 18px/1 'Lilita One',var(--display);color:#fff}
.lc-moves small{font:600 10px var(--body);color:#ffd75a}
.lc-streak{display:flex;align-items:center;gap:8px;width:100%;padding:7px 10px;border-radius:14px;background:rgba(255,255,255,.07);box-shadow:inset 0 0 0 2px rgba(111,208,255,.35)}
.lc-streak svg{width:28px;height:28px;flex:none;filter:drop-shadow(0 0 6px rgba(255,170,40,.8))}
.lc-streak b{font:400 20px/1 'Lilita One',var(--display);color:#6fd0ff;white-space:nowrap}
.lc-streak span{margin-left:auto;font:600 12px/1.2 var(--body);color:#dfe7ff;text-align:right}
.lc-h{margin:2px 0 -2px;font:400 18px 'Lilita One',var(--display);color:#ffd75a;text-shadow:0 2px 0 #7a4b00}
.lc-pre{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;width:100%}
.lc-b{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 2px 10px;border-radius:18px;border:3px solid #ffe27a;
 background:linear-gradient(#4fd16b,#1f9c3a);box-shadow:0 0 0 2px #7a4b00,0 4px 0 #0c6a20,inset 0 3px 0 rgba(255,255,255,.3);transition:transform .1s}
.lc-b:active{transform:translateY(2px)}
.lc-b img{width:46px;height:46px;object-fit:contain;filter:drop-shadow(0 3px 3px rgba(0,0,0,.35))}
.lc-b small{font:400 13px/1 'Lilita One',var(--display);color:#fff;text-shadow:0 2px 0 #0a5a1c;white-space:nowrap}
.lc-n{position:absolute;top:-8px;right:-8px;min-width:22px;height:22px;padding:0 5px;border-radius:11px;background:#0c1638;border:2px solid #ffe27a;color:#fff;font:700 12px/18px var(--body);font-style:normal}
.lc-g{position:absolute;top:-9px;right:-9px;display:flex;align-items:center;gap:2px;padding:1px 6px 1px 3px;border-radius:11px;background:#0c1638;border:2px solid #ffe27a;color:#fff;font:700 11px/18px var(--body);font-style:normal}
.lc-g img{width:14px;height:14px}
.lc-ok{position:absolute;right:-6px;bottom:-6px;width:24px;height:24px;border-radius:50%;background:#19b544 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat;border:2px solid #fff;display:none}
.lc-b:not(.on){background:linear-gradient(#2c4a8f,#18295a);box-shadow:0 0 0 2px #7a4b00,0 4px 0 #0b1638,inset 0 3px 0 rgba(255,255,255,.15)}
.lc-b.on .lc-ok{display:block}
.lc #lcGo{width:100%;margin-top:4px}
/* Laser Gun beam */
.laser{position:absolute;z-index:45;pointer-events:none;border-radius:40px;background:linear-gradient(90deg,transparent,rgba(80,200,255,.7) 25%,#fff 50%,rgba(80,200,255,.7) 75%,transparent);box-shadow:0 0 22px 6px rgba(60,170,255,.75);transform-origin:50% 0;animation:laserShot .5s ease-out forwards}
@keyframes laserShot{0%{transform:scaleY(0);opacity:1}35%{transform:scaleY(1);opacity:1}100%{transform:scaleY(1) scaleX(1.6);opacity:0}}
/* Paint Bomb: drops fly out, pieces turn into glowing paint */
.paint-drop{position:absolute;z-index:46;border-radius:50% 50% 50% 50%/60% 60% 40% 40%;pointer-events:none;box-shadow:0 0 8px rgba(255,255,255,.8),inset 0 2px 3px rgba(255,255,255,.7)}
.tile.painted img{filter:drop-shadow(0 0 6px var(--pc)) drop-shadow(0 0 12px var(--pc)) brightness(1.25) saturate(1.4);animation:paintPulse .3s ease-in-out infinite alternate}
@keyframes paintPulse{to{transform:scale(1.15)}}
/* chat emojis */
.wc-emo{display:grid;grid-template-columns:repeat(8,1fr);gap:2px;padding:8px;max-height:150px;overflow-y:auto;background:rgba(8,16,44,.96);border-top:1px solid rgba(120,150,230,.25)}
.wc-emo[hidden]{display:none}
.wc-emo button{height:38px;border:0;border-radius:10px;background:none;font-size:24px;line-height:38px;padding:0}
.wc-emo button:active{background:rgba(255,255,255,.12);transform:scale(.9)}
.wc-ic svg{width:22px;height:22px}
/* shaped boards: no square panel; the outline hugs the shape */
.board.shaped{background:none!important;border-color:transparent!important;box-shadow:none!important}
.board.shaped .board-in{overflow:visible}
.sq-rim{position:absolute;border-radius:10px;background:#7cc8ff;box-shadow:0 0 14px rgba(70,170,255,.7),0 10px 20px rgba(0,10,40,.35)}
.sq-bed{position:absolute;background:rgba(222,236,255,.9)}
.board.shaped .slot{background:rgba(255,255,255,.55)!important}
/* Out Of Moves: the win streak at stake (replaces the +5 badge when there is a streak) */
.oom-streak+.mv-hero{display:none}
.oom-streak{position:relative;display:flex;flex-direction:column;align-items:center;margin:-4px auto 2px;width:120px}
.oom-streak svg{width:96px;height:96px;filter:drop-shadow(0 0 12px rgba(255,140,30,.8))}
.oom-streak b{position:absolute;top:34px;font:400 34px/1 'Lilita One',var(--display);color:#fff;-webkit-text-stroke:2px #8a2a00;paint-order:stroke fill}
.oom-streak small{position:absolute;top:70px;font:400 11px 'Lilita One',var(--display);color:#fff;text-shadow:0 1px 0 #8a2a00}
.oom-streak::after{content:"";position:absolute;right:6px;top:58px;width:30px;height:30px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 5l14 14M19 5L5 19' stroke='%23e8161c' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M5 5l14 14M19 5L5 19' stroke='%23ff6a5a' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat}
.oom-streak i{font:600 12px var(--body);font-style:normal;color:#ffb3a8;margin-top:2px}
.prem .ac-btn.gold.short{filter:saturate(.45) brightness(.85)}
.oom-streak{width:200px!important}
.oom-streak svg{width:104px!important;height:104px!important}
.oom-streak b{top:46px!important}
.oom-streak small{top:80px!important}
.oom-streak::after{right:46px!important;top:68px!important}
.oom-streak i{white-space:nowrap}
/* loading screen: the owner's still picture, nothing moves except the progress bar */
#boot{background:#0b1638}
#boot .sp-pic{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 30%}
#boot .sp-bar i{animation:none!important;transition:width .25s ease-out}
#boot.sp-done{transition:opacity .2s}
#boot,#boot *{animation:none!important}
/* tall phones: the whole picture shows (logo never cut); the bar sits in the band below it */
@media (max-aspect-ratio:941/1672){#boot .sp-pic{object-fit:contain;object-position:50% 0}#boot{background:linear-gradient(#2a1d0a,#0d0903)!important}}
.oom-streak small{position:static!important;margin-top:-4px;font-size:15px!important;color:#ffd75a!important;text-shadow:0 2px 0 #7a4b00!important}
.oom-streak::after{right:58px!important;top:62px!important;width:28px!important;height:28px!important}
.oom-streak::after{right:44px!important;top:74px!important;width:30px!important;height:30px!important}
/* ===== online match result: full screen, blue half (you) and red half (rival), big banner across ===== */
#modal.vd-full{padding:0!important;align-items:stretch!important;background:#06102e!important;z-index:9990!important}
#modal.vd-full .sheet{width:100%!important;max-width:520px!important;margin:0 auto!important;height:100dvh;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;display:flex;flex-direction:column}
#modal.vd-full .pnl{height:100%;display:flex;flex-direction:column;padding:0!important;background:none!important}
.vd{flex:1;display:flex;flex-direction:column;min-height:0}
.vd-half{flex:1;display:grid;place-items:center;position:relative;overflow:hidden}
.vd-half.me{background:radial-gradient(circle at 50% 70%,#3f8cff,#123a9c 55%,#0a1f5c);clip-path:polygon(0 0,100% 0,100% 88%,0 100%)}
.vd-half.opp{background:radial-gradient(circle at 50% 30%,#ff6a5a,#a51a24 55%,#5c0a14);clip-path:polygon(0 12%,100% 0,100% 100%,0 100%);margin-top:-6%}
.vd-p{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px}
.vd-p>img{width:96px;height:96px;border-radius:50%;object-fit:cover;border:4px solid #ffe27a;box-shadow:0 0 0 3px #7a4b00,0 8px 18px rgba(0,0,0,.5)}
.vd-p>svg{position:absolute;top:-30px;width:56px;height:40px}
.vd-p b{font:400 20px/1 'Lilita One',var(--display);color:#fff;text-shadow:0 2px 0 rgba(0,0,0,.45);max-width:80vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vd-p em{font:400 30px/1 'Lilita One',var(--display);font-style:normal;color:#ffd75a;text-shadow:0 3px 0 #7a4b00}
.vd.opp .vd-half.me{filter:saturate(.55) brightness(.8)}.vd.me .vd-half.opp{filter:saturate(.55) brightness(.8)}
.vd-ban{position:relative;z-index:2;margin:-26px 0;align-self:center;display:flex;flex-direction:column;align-items:center;padding:8px 38px 10px;border-radius:18px;border:4px solid #ffe27a;box-shadow:0 0 0 3px #7a4b00,0 10px 24px rgba(0,0,0,.55)}
.vd.me .vd-ban{background:linear-gradient(#5af266,#17b82c)}.vd.opp .vd-ban{background:linear-gradient(#5a6b8f,#2a3554)}.vd.draw .vd-ban{background:linear-gradient(#5fb0ff,#1f6be0)}
.vd-ban b{font:400 44px/1 'Lilita One',var(--display);color:#fff;letter-spacing:.03em;-webkit-text-stroke:2px rgba(0,0,0,.35);paint-order:stroke fill;text-shadow:0 4px 0 rgba(0,0,0,.35);text-transform:uppercase}
.vd-ban small{font:600 12px var(--body);color:#fff;opacity:.9}
.vd-face{position:absolute;left:-30px;top:-22px;width:58px;height:58px;filter:drop-shadow(0 4px 6px rgba(0,0,0,.5))}
#modal.vd-full .cr-rw{flex:none;justify-content:center;padding:12px 16px 4px;background:#06102e}
#modal.vd-full .lg,#modal.vd-full .pnl-note{margin:4px 16px!important}
#modal.vd-full .rl-foot{flex:none;padding:10px 16px calc(14px + env(safe-area-inset-bottom));background:#06102e}
#modal.vd-full .sheet,#modal.vd-full .pnl-sheet{border-image:none!important;outline:0!important}#modal.vd-full .sheet::before,#modal.vd-full .sheet::after{display:none!important}
#modal.vd-full .pnl{border:0!important;border-image:none!important;box-shadow:none!important}

/* ===== Car Junkyard Dig ===== */
#modal.dg-full{padding:0!important;align-items:stretch!important;z-index:9980!important;background:#2a1d0e!important}
#modal.dg-full .sheet{width:100%!important;max-width:520px!important;margin:0 auto!important;height:100dvh;background:none!important;border:0!important;border-image:none!important;box-shadow:none!important;border-radius:0!important;padding:0!important}
.dg{position:relative;height:100%;display:flex;flex-direction:column;background:linear-gradient(#6aa8e8 0,#a8d4f2 18%,#d9b77a 34%,#b88a4c 100%);overflow:hidden}
.dg::before{content:"";position:absolute;left:0;right:0;top:12%;height:20%;pointer-events:none;opacity:.55;
 background:radial-gradient(ellipse 18% 40% at 12% 90%,#5a4a3a 60%,transparent 62%),radial-gradient(ellipse 14% 50% at 30% 95%,#7a3a2a 60%,transparent 62%),radial-gradient(ellipse 20% 45% at 72% 92%,#4a5a6a 60%,transparent 62%),radial-gradient(ellipse 15% 38% at 92% 96%,#8a5a2a 60%,transparent 62%)}
.dg-h{position:relative;z-index:1;display:flex;align-items:center;gap:10px;padding:calc(10px + env(safe-area-inset-top)) 12px 8px}
.dg-x{flex:none;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(#ff7a6a,#d9261c);border:3px solid #ffe27a;box-shadow:0 0 0 2px #7a2a05}
.dg-x svg{width:55%;height:55%}
.dg-h>b{flex:1;text-align:center;font:400 24px/1 'Lilita One',var(--display);color:#fff;-webkit-text-stroke:2px #7a3a0a;paint-order:stroke fill;text-shadow:0 3px 0 #7a3a0a;white-space:nowrap}
.dg-t{flex:none;display:flex;align-items:center;gap:4px;padding:5px 9px;border-radius:14px;background:rgba(40,20,5,.7);font:700 13px var(--body);color:#fff}
.dg-t svg{width:16px;height:16px}.dg-t i{font-style:normal}
.dg-scene{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:6px;padding:4px 12px 10px}
.dg-steps{display:flex;gap:6px}
.dg-steps i{width:30px;height:8px;border-radius:4px;background:rgba(60,30,5,.45)}
.dg-steps i.on{background:#ffd23a;box-shadow:0 0 6px #ffd23a}.dg-steps i.ok{background:#22c55e}
.dg-scene small{font:400 15px 'Lilita One',var(--display);color:#fff;text-shadow:0 2px 0 #7a3a0a}
.dg-parts{display:flex;gap:6px;align-items:center;justify-content:center;padding:6px 10px;border-radius:18px;background:rgba(60,30,5,.55);box-shadow:inset 0 0 0 2px rgba(255,214,90,.5)}
.dg-pt,.dg-prize{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:rgba(255,255,255,.12)}
.dg-pt svg,.dg-prize svg{width:34px;height:34px}
.dg-pt:not(.ok) svg{filter:brightness(0) opacity(.45)}
.dg-pt.ok{background:rgba(34,197,94,.35);box-shadow:inset 0 0 0 2px #22c55e}
.dg-prize{background:rgba(255,214,90,.25);box-shadow:inset 0 0 0 2px #ffd23a}.dg-prize.grand svg{filter:drop-shadow(0 0 6px #ffd23a)}
.dg-grid{position:relative;z-index:1;flex:1;min-height:0;display:grid;gap:4px;align-content:center;padding:10px;margin:0 10px;border-radius:18px;background:#7a5226;box-shadow:inset 0 4px 10px rgba(0,0,0,.4),0 0 0 4px #ffd23a,0 0 0 7px #7a3a0a}
.dg-c{aspect-ratio:1;border-radius:10px;border:0;padding:0;position:relative;display:grid;place-items:center}
button.dg-c{background:radial-gradient(circle at 30% 28%,rgba(255,255,255,.35) 0 8%,transparent 9%),radial-gradient(circle at 70% 65%,rgba(120,70,20,.35) 0 6%,transparent 7%),linear-gradient(#f2cf8a,#d4a45c);box-shadow:inset 0 -4px 0 rgba(120,70,20,.45),inset 0 3px 0 rgba(255,255,255,.4)}
button.dg-c:active{transform:scale(.94)}
button.dg-c.digging{animation:dgShake .26s linear}
@keyframes dgShake{25%{transform:translateX(-3px) rotate(-3deg)}75%{transform:translateX(3px) rotate(3deg)}}
.dg-c.open{background:rgba(60,35,10,.55);box-shadow:inset 0 2px 6px rgba(0,0,0,.45)}
.dg-c.open svg,.dg-c.open img{width:70%;height:70%;object-fit:contain}
.dg-c.open b{position:absolute;bottom:2px;right:4px;font:700 11px var(--body);color:#fff;text-shadow:0 1px 2px #000}
.dg-c.open.part{background:radial-gradient(circle,rgba(255,214,90,.55),rgba(60,35,10,.55) 70%)}
.dg-end{grid-column:1/-1;text-align:center;font:600 15px var(--body);color:#fff;padding:30px 10px}
.dg-f{position:relative;z-index:1;display:flex;align-items:center;gap:10px;padding:10px 12px calc(12px + env(safe-area-inset-bottom))}
.dg-sh{flex:none;display:flex;align-items:center;gap:4px;padding:6px 12px 6px 6px;border-radius:18px;background:linear-gradient(#ffe27a,#f2a20e);border:3px solid #fff3c4;box-shadow:0 0 0 2px #7a4b00}
.dg-sh img{width:34px;height:34px}
.dg-sh b{font:400 24px/1 'Lilita One',var(--display);color:#5a3200}
.dg-sh small{font:700 11px var(--body);color:#5a3200}
.dg-f p{font:600 11.5px/1.3 var(--body);color:#3a2205}
.dg-found{position:absolute;inset:0;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:rgba(20,10,0,.78);cursor:pointer}
.dg-found>b{font:400 32px/1 'Lilita One',var(--display);color:#ffd75a;text-shadow:0 3px 0 #7a4b00,0 0 18px rgba(255,200,60,.5)}
.dg-fi{display:flex;flex-direction:column;align-items:center;gap:8px}
.dg-fi>svg{width:140px;height:140px;filter:drop-shadow(0 0 22px rgba(255,200,60,.8));animation:lxIn .55s cubic-bezier(.2,1.5,.4,1) both}
.dg-fi em{font:400 22px 'Lilita One',var(--display);font-style:normal;color:#fff}
.dg-rw{display:flex;gap:10px;align-items:center;font:700 18px var(--body);color:#fff}.dg-rw img{width:24px;height:24px}
.dg-found small{margin-top:16px;font:700 15px var(--body);color:#fff;animation:w3Tap 1.4s ease-in-out infinite}
@media (max-height:680px){.dg-pt,.dg-prize{width:34px;height:34px}.dg-pt svg,.dg-prize svg{width:28px;height:28px}.dg-f p{font-size:10.5px}}
/* online match: bars and the tug of war grow by scale on the graphics chip, never by width (width redid the page layout every frame) */
.cbar i,#flexFill{width:100%!important;transform-origin:0 50%;transform:scaleX(0);transition:transform .5s ease-out!important}
.cp.opp .cbar i{transform-origin:100% 50%}
.lead-strip .tug{background:linear-gradient(90deg,#ff7a5a,#e0352b)!important}
#tugOpp{display:none!important}
#tugMe{position:absolute;left:0;top:0;bottom:0;width:100%!important;transform-origin:0 50%;transform:scaleX(.5);transition:transform .8s ease-out!important;border-radius:8px!important}
/* pieces become graphics layers only while they move (80 permanent layers cost slow phones every frame) */
#boardIn .tile{will-change:auto!important}
#boardIn .tile{backface-visibility:visible!important}
/* the host's "are you a person" check, in a small panel over the game */
#hcBox{position:fixed;left:0;right:0;bottom:0;z-index:2147483600;display:flex;justify-content:center;padding:0 10px calc(10px + env(safe-area-inset-bottom));pointer-events:none}
.hc-card{pointer-events:auto;width:min(100%,420px);display:flex;flex-direction:column;gap:6px;padding:12px;border-radius:18px;background:#0f1c48;border:3px solid #ffe27a;box-shadow:0 -6px 24px rgba(0,0,0,.55)}
.hc-card b{font:400 18px 'Lilita One',var(--display);color:#ffd75a}
.hc-card small{font:500 12px/1.35 var(--body);color:#dfe7ff}
.hc-card iframe{width:100%;height:min(46vh,420px);border:0;border-radius:12px;background:#fff}
.hc-card button{align-self:center;background:none;border:0;color:#b9c8f0;font:600 13px var(--body);text-decoration:underline}

/* online matches and Lite: the pop and blast play with movement, size and fade only. The brightness filter they used
   cannot run on a phone's graphics chip, so every popping piece forced a full restyle and repaint on every frame. */
@keyframes mpopG{0%{transform:scale(1);opacity:1}25%{transform:scale(.86,1.12)}50%{transform:scale(1.32);opacity:1}100%{transform:scale(0);opacity:0}}
@keyframes blastpopG{0%{transform:scale(1);opacity:1}20%{transform:scale(1.18) rotate(-8deg)}45%{transform:scale(1.05) rotate(10deg)}100%{transform:scale(0) rotate(30deg);opacity:0}}
#puzzle.clash .tile.pop,#puzzle.rush .tile.pop,html.lite .tile.pop{animation-name:mpopG!important}
#puzzle.clash .tile.blasted,#puzzle.rush .tile.blasted,html.lite .tile.blasted{animation-name:blastpopG!important}
#puzzle.clash .tile.zapped img,#puzzle.rush .tile.zapped img{filter:none!important}
#puzzle.clash .tile.pop::after,#puzzle.rush .tile.pop::after{display:none}   /* online matches: no ring per popped piece (one restyle each) */
#puzzle.clash .tile .spglow,#puzzle.rush .tile .spglow,#puzzle.clash .tile .spi,#puzzle.rush .tile .spi,#puzzle.clash #flexGo,#puzzle.rush #flexGo{animation:none!important}   /* online matches: no endless loops (each one keeps the phone restyling every frame) */
#puzzle.clash .cbar i,#puzzle.rush .cbar i,#puzzle.clash #flexFill{transition:none!important}   /* online matches: bars jump to the new score (a slide restyled them every frame) */
#board{will-change:transform}   /* the board is one layer of its own: a piece changing repaints only the board, never the backdrop behind it */
#emoteRow button{white-space:nowrap;font-size:clamp(11px,3.4vw,15px)!important;padding-left:4px!important;padding-right:4px!important}
/* Get The App card */
.apc-ic{display:grid;place-items:center;margin:2px auto 6px}
.apc-ic img{width:84px;height:84px;border-radius:22px;box-shadow:0 0 0 3px #ffe27a,0 8px 18px rgba(0,0,0,.45)}
.apc-l{list-style:none;margin:4px 0 12px;padding:0;display:flex;flex-direction:column;gap:7px;text-align:left}
.apc-l li{position:relative;padding-left:26px;font:600 14px/1.3 var(--body);color:#fff}
.apc-l li::before{content:"";position:absolute;left:0;top:1px;width:18px;height:18px;border-radius:50%;background:#19b544 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat}
/* ===== game message card (toast) ===== */
.toast{display:flex!important;align-items:center;gap:10px;top:calc(70px + var(--safeT,0px))!important;bottom:auto!important;left:12px!important;right:12px!important;max-width:420px;margin:0 auto;padding:10px 14px 10px 10px!important;border-radius:18px!important;
 background:linear-gradient(#1d3a86,#0f1f52)!important;border:3px solid #ffe27a!important;box-shadow:0 0 0 2px #7a4b00,0 10px 24px rgba(0,0,0,.5)!important;color:#fff!important;font:600 14px/1.3 var(--body)!important;text-align:left!important;animation:tIn .28s cubic-bezier(.2,1.4,.4,1) both!important}
.toast[hidden]{display:none!important}
.toast::before{display:none!important}
.toast span{flex:1;min-width:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.t-ic{flex:none;width:30px;height:30px;border-radius:50%;background-position:center;background-size:62%;background-repeat:no-repeat;box-shadow:inset 0 -3px 0 rgba(0,0,0,.2),0 0 0 2px rgba(255,255,255,.85)}
.t-good .t-ic{background-color:#19b544;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.t-bad .t-ic{background-color:#f29a0e;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v9' stroke='%23fff' stroke-width='3.6' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='19' r='2.2' fill='%23fff'/%3E%3C/svg%3E")}
.t-info .t-ic{background-color:#2f7dff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='5.5' r='2.2' fill='%23fff'/%3E%3Cpath d='M12 10.5v8.5' stroke='%23fff' stroke-width='3.6' stroke-linecap='round'/%3E%3C/svg%3E")}
@keyframes tIn{0%{opacity:0;transform:translateY(-14px) scale(.96)}100%{opacity:1;transform:none}}
/* shop: three equal columns that always fit the screen; names stay on one line (they shrink to fit) */
.shop-list{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.shop-row{min-width:0!important}
.shop-row .t b,.shop-row .own{white-space:nowrap;overflow:hidden;display:block;max-width:100%}
.shop-note{margin-bottom:6px!important}
/* daily day cards: rewards as small chips, one line each */
.days .day .dg-ch{display:flex!important;flex-direction:column;align-items:center;gap:2px;width:100%}
.dch{display:flex;align-items:center;justify-content:center;gap:2px;font-style:normal;white-space:nowrap;max-width:100%}
.dch img{width:13px;height:13px;object-fit:contain;flex:none}
.dch b{font:700 10.5px/1.1 var(--body);color:#fff;overflow:hidden;text-overflow:clip}
.day.d7 .dg-ch{flex-direction:row!important;flex-wrap:wrap;justify-content:center;gap:2px 8px}
/* very narrow phones (Fold cover): shop cards give the name a few more pixels so it never cuts */
@media (max-width:340px){.shop-list{gap:4px!important;padding:0 6px 12px!important}.shop-row{padding-left:3px!important;padding-right:3px!important}}
.tkc-l{display:block;white-space:nowrap;overflow:hidden}
/* narrow phones: keep the spin tab notes readable, and keep the attack scene's flying pieces inside its frame */
.fs4-tabs small{font-size:max(10px,3cqw)!important}
.sm-scene{overflow:clip}
.sm-scene.sh{overflow:visible}
@media (max-width:300px){.hud-cur.nrg small{font-size:23px!important}}
.sm-crack{width:100%}
.fs4-sp small{font-size:max(10px,3.4cqw)!important}

/* calm reward levels (owner: hard levels must never look scary) */
.lc-tag{display:flex;flex-direction:column;align-items:center;line-height:1.05}
.lc-tag small{font:700 10.5px/1.2 Poppins,sans-serif;color:#fff8d6;opacity:.95}
.lc-tag.hard{background:linear-gradient(#ffd96a,#f0a21c)!important;color:#5a3200!important;border-color:#fff4c4!important}
.lc-tag.hard small{color:#6b3c00}
.lc-tag.boss{background:linear-gradient(#ffe98a,#e9b412 55%,#c98a00)!important;color:#4a2a00!important;border-color:#fff!important;box-shadow:0 0 14px rgba(255,214,80,.7)}
.lc-tag.boss small{color:#5a3400}
.lc-help{align-self:center;margin-top:4px;padding:3px 12px;border-radius:10px;font:700 11px/1.3 Poppins,sans-serif;font-style:normal;color:#0b3b1a;background:linear-gradient(#a7f5b5,#46d36a);border:2px solid #e2ffe8;white-space:nowrap}
.tier-intro.calm{background:rgba(5,8,25,.28)}
.tier-intro.calm .ti-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:16px 30px 14px;border-radius:22px;background:linear-gradient(#fff3c2,#ffd25c 60%,#f2a91f);border:3px solid #fff;box-shadow:0 10px 30px rgba(0,0,0,.35),0 0 40px rgba(255,210,80,.55);animation:tiPop .45s cubic-bezier(.2,1.5,.4,1) both}
.tier-intro.calm b{font:400 34px/1 'Lilita One',var(--display);color:#5a3200;text-shadow:0 2px 0 rgba(255,255,255,.6);letter-spacing:0}
.tier-intro.calm small{margin:0;font:700 13px Poppins,sans-serif;color:#6b3c00}
.tier-intro.calm .ti-star{position:absolute;top:-22px;width:40px;height:40px;background:radial-gradient(circle at 50% 45%,#fff 0 18%,#ffe27a 19% 45%,transparent 46%);filter:drop-shadow(0 0 10px #ffd84a)}
@keyframes tiPop{0%{transform:scale(.6);opacity:0}100%{transform:none;opacity:1}}
.mp-n.hard.lock{background:linear-gradient(#ffe07a,#f2a81e)!important;box-shadow:0 4px 0 #a86f00!important;color:#5a3200}
.mp-n.boss.lock{background:linear-gradient(#fff0a0,#e9b412)!important;box-shadow:0 4px 0 #9a6a00,0 0 14px rgba(255,214,80,.6)!important;color:#4a2a00}

.shop-row .kit-ic{position:relative}
.shop-row .kit-ic img{position:absolute;width:62%;height:62%;object-fit:contain}
.shop-row .kit-ic img:nth-child(1){left:0;top:4%}.shop-row .kit-ic img:nth-child(2){right:0;top:4%}.shop-row .kit-ic img:nth-child(3){left:19%;bottom:0}
.boost-hot .cost{left:50%!important;transform:translateX(-50%);top:auto!important;bottom:-6%;white-space:nowrap}

/* ---- My Profile: one screen, game art (owner: "the page shouldnt scroll up and down") ---- */
#profBody.mine{gap:8px!important;padding:0 12px 10px!important;overflow:hidden}
#profBody.mine>*{flex:none}
.mp-hero{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:12px;row-gap:8px;align-items:center;padding:10px 12px;border-radius:16px;overflow:hidden;border:1px solid rgba(255,207,58,.35)}
.mp-hero .bg{position:absolute;inset:0;background-size:cover;background-position:center}
.mp-hero .bg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,16,48,.88),rgba(8,16,48,.62))}
.mp-hero>*:not(.bg){position:relative}
.mp-id{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0}
.mp-name{font:400 22px/1.05 'Lilita One',var(--display);color:#fff;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mp-sub{display:flex;align-items:center;gap:5px;font:500 12px var(--body);color:#cfdcff;white-space:nowrap}
.mp-sub i{width:8px;height:8px;border-radius:50%;background:#6b7aa3}.mp-sub i.online{background:#2ad65a}.mp-sub i.busy{background:#ff6a3a}.mp-sub i.playing{background:#ffcf3a}
.mp-lg{display:inline-flex;align-items:center;gap:5px;padding:3px 10px 3px 4px;border-radius:12px;background:rgba(255,207,58,.16);border:1px solid rgba(255,207,58,.55);font:600 12px var(--body);color:#ffe08a;white-space:nowrap}
.mp-lg img{width:18px;height:18px;object-fit:contain}
.mp-job{grid-column:1/-1;display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:12px;background:rgba(10,40,30,.7);border:1px solid rgba(42,214,90,.45);min-width:0}
.mp-job i{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:#22b455}.mp-job i svg{width:16px;height:16px}
.mp-job b{flex:1;min-width:0;font:600 12.5px var(--body);color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mp-job em{flex:none;font:700 10.5px var(--body);font-style:normal;color:#0b3b1a;background:#6ef28f;padding:3px 8px;border-radius:9px;white-space:nowrap}
.mp-money{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.mp-money>div{display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:14px;background:linear-gradient(#1a2c66,#122154);border:1px solid rgba(255,207,58,.35);min-width:0}
.mp-money img{width:34px;height:34px;object-fit:contain;flex:none}
.mp-money span{display:flex;flex-direction:column;min-width:0}
.mp-money small{font:600 10px var(--body);color:#9fb4e8;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}
.mp-money b{font:400 19px/1.1 'Lilita One',var(--display);color:#ffd84a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mp-medals{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
.mp-md{display:flex;flex-direction:column;align-items:center;gap:2px;cursor:pointer;min-width:0}
.mp-md i{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:radial-gradient(circle at 50% 35%,#2e4ea8,#142a66 70%);border:2px solid #ffcf3a;box-shadow:0 2px 0 #7a5200}
.mp-md i img,.mp-md i svg{width:28px;height:28px;object-fit:contain}
.mp-md small{font:600 9.5px/1.15 var(--body);color:#dfe7ff;text-align:center;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#profBody.mine .fs-wall{padding:6px 10px}
.mp-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.mp-stats div{display:flex;flex-direction:column;align-items:center;padding:5px 2px;border-radius:10px;background:rgba(10,22,64,.85);border:1px solid #2c4a92}
.mp-stats b{font:400 17px/1.1 'Lilita One',var(--display);color:#fff}
.mp-stats small{font:500 9.5px var(--body);color:#9fb4e8;white-space:nowrap}
.mp-acts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.mp-b{display:flex;align-items:center;justify-content:center;gap:6px;height:42px;padding:0 6px;border-radius:12px;border:1px solid #2c4a92;background:linear-gradient(#1c2f6e,#132459);color:#fff;font:600 13px var(--body);cursor:pointer;min-width:0}
.mp-b img,.mp-b svg{width:22px;height:22px;object-fit:contain;flex:none}
.mp-b span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mp-b.blue{background:linear-gradient(#3b8cff,#1f6fe0);border-color:#7fb4ff}
.mp-b.gold{background:linear-gradient(#ffe066,#f2a81e);border-color:#fff1b0;color:#5a3200}
.mp-b:active{transform:translateY(1px)}
.mp-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:2px 2px 0}
.mp-foot button{display:inline-flex;align-items:center;gap:5px;background:none;border:0;color:#ff8a8a;font:600 12.5px var(--body);padding:6px 0;cursor:pointer}
.mp-foot button svg{width:16px;height:16px}
.mp-foot a{color:#8fc0ff;text-decoration:none}
.mp-foot span{font:500 10px var(--body);color:#7f92c6;text-align:right}
@media (max-height:700px){.mp-hero{padding:8px 10px;row-gap:6px}.mp-md i{width:36px;height:36px}.mp-md i img,.mp-md i svg{width:24px;height:24px}.mp-b{height:38px}.mp-money img{width:28px;height:28px}}
#profBody.mine #signOut{box-shadow:none!important;border:0!important;background:none!important;min-height:0!important;padding:6px 0!important;margin:0!important;font:600 12.5px var(--body)!important;color:#ff8a8a!important}
.mp-stats small{font-size:10px}
@media (max-width:330px){.mp-b{gap:3px;padding:0 3px;font-size:11px}.mp-b img,.mp-b svg{width:15px;height:15px}.mp-foot span{display:none}.mp-foot button{white-space:nowrap}.mp-stats small{font-size:10px;letter-spacing:-.02em}}
/* other players' profiles share My Profile's look */
#profBody:not(.mine) .p-worth{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#profBody:not(.mine) .p-worth>div{padding:7px 12px!important;border-radius:14px!important;background:linear-gradient(#1a2c66,#122154)!important;border:1px solid rgba(255,207,58,.35)!important}
#profBody:not(.mine) .p-worth small{font:600 10px var(--body)!important;color:#9fb4e8!important;letter-spacing:.04em;text-transform:uppercase}
#profBody:not(.mine) .p-worth b{font:400 19px/1.1 'Lilita One',var(--display)!important;color:#ffd84a!important}
#profBody:not(.mine) .stat4 div{background:rgba(10,22,64,.85)!important;border:1px solid #2c4a92!important}
#profBody:not(.mine) .stat4 b{font:400 17px/1.1 'Lilita One',var(--display)!important}
#profBody:not(.mine) .stat4 small{font:500 10px var(--body)!important}
#profBody:not(.mine) .p-hero{border:1px solid rgba(255,207,58,.35)!important}
#profBody:not(.mine) .p-hero h3{font:400 22px/1.05 'Lilita One',var(--display)!important}
.boost-hot .cost{font-size:10.5px!important;padding:0 5px 0 2px!important;gap:1px!important;letter-spacing:-.02em}.boost-hot .cost img{height:12px!important}
/* loading screen on tall phones: no blurred copy; the picture fades into the game's deep blue and the bar sits on it */
@media (max-aspect-ratio:941/1672){
  #boot{background:radial-gradient(120% 60% at 50% 100%,#1c3a8a,#0b1638 70%)!important}
  #boot::before{display:none!important}
  #boot .sp-pic{-webkit-mask-image:linear-gradient(#000 calc(100vw * 1.45),transparent calc(100vw * 1.776));mask-image:linear-gradient(#000 calc(100vw * 1.45),transparent calc(100vw * 1.776))}
}
/* owner: the loading picture fills the whole screen on every phone, no blue band */
#boot .sp-pic{object-fit:cover!important;object-position:50% 50%!important;-webkit-mask-image:none!important;mask-image:none!important}
#boot::before{display:none!important}
/* Out Of Energy: two clear buy cards, a compact Flex Spin row and a quiet close */
.en-buy{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.en-card{display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 6px 9px;border-radius:14px;border:2px solid #2c4a92;background:linear-gradient(#1c2f6e,#132459);color:#fff;cursor:pointer;min-width:0}
.en-card:disabled{opacity:.45}
.en-card>img{width:34px;height:34px;object-fit:contain}
.en-card b{font:400 16px/1.1 'Lilita One',var(--display);white-space:nowrap}
.en-price{display:inline-flex;align-items:center;gap:4px;padding:3px 12px 3px 5px;border-radius:12px;font:700 14px var(--body);white-space:nowrap}
.en-price img{width:18px;height:18px;object-fit:contain}
.en-price.coin{background:linear-gradient(#ffe56b,#f4a800);color:#5a3200}
.en-price.gem{background:linear-gradient(#b48bff,#6d35d9);color:#fff}
.en-spin{display:flex;align-items:center;gap:8px;width:100%;padding:8px 12px;border-radius:14px;border:2px solid #fff1b0;background:linear-gradient(#ffe066,#f2a81e);color:#5a3200;cursor:pointer;min-width:0}
.en-spin img{width:30px;height:30px;object-fit:contain;flex:none}
.en-spin b{flex:1;min-width:0;text-align:left;font:400 16px/1.1 'Lilita One',var(--display);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.en-spin i{flex:none;font:700 12px var(--body);font-style:normal;background:#5a3200;color:#ffe56b;border-radius:10px;padding:2px 8px}
.en-wait{background:none;border:0;color:#cfdcff;font:600 13.5px var(--body);text-decoration:underline;padding:6px;cursor:pointer;align-self:center}
/* ---- premium Level Complete ---- */
.w3p{position:relative;gap:0!important;padding:14px 10px!important;cursor:default!important}
.w3p .w3-rays{position:absolute;left:50%;top:70px;width:560px;height:560px;margin-left:-280px;margin-top:-280px;border-radius:50%;pointer-events:none;background:repeating-conic-gradient(rgba(255,215,90,.18) 0 9deg,transparent 9deg 22deg);-webkit-mask:radial-gradient(circle,#000 18%,transparent 62%);mask:radial-gradient(circle,#000 18%,transparent 62%);animation:w3Rays 18s linear infinite}
@keyframes w3Rays{to{transform:rotate(360deg)}}
.w3p .w3-stars{position:relative;z-index:2;margin-bottom:-22px}
.w3p .w3-stars img{width:70px;height:70px}.w3p .w3-stars img:nth-child(2){width:92px;height:92px;margin-bottom:14px}
.w3p .w3-card{position:relative;z-index:1;width:100%;padding-top:16px!important}
.w3p .w3-card .ac-frame{display:flex;flex-direction:column;align-items:stretch}
.w3p .w3-streak{align-self:center;font:400 17px/1 'Lilita One',var(--display)!important;color:#fff!important;background:linear-gradient(#ff8a3a,#e0451c);border:2px solid #ffd27a;border-radius:12px;padding:5px 14px;text-shadow:0 2px 0 #8a2414!important;margin:2px 0 8px}
.w3-tiles{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:8px;width:100%}
.w3-tile{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 4px 8px;border-radius:14px;background:linear-gradient(#1c2f6e,#132459);border:2px solid #2c4a92;min-width:0}
.w3-tile img{width:38px!important;height:38px!important;object-fit:contain;filter:drop-shadow(0 3px 4px rgba(0,0,0,.35))}
.w3-tile b{font:400 22px/1.1 'Lilita One',var(--display);color:#ffd84a;white-space:nowrap}
.w3-tile small{font:600 11px var(--body);color:#9fb4e8;letter-spacing:.04em;text-transform:uppercase}
.w3-tile.big{border-color:#ffd27a;background:radial-gradient(circle at 50% 30%,#2e4ea8,#142a66 70%);box-shadow:0 0 18px rgba(255,210,90,.35)}
.w3-tile.big img{width:52px!important;height:52px!important;animation:w3Pop .6s .2s cubic-bezier(.3,1.6,.5,1) both}
.w3-tile.big b{font-size:28px}
.w3-tile em{position:absolute;top:-9px;left:50%;transform:translateX(-50%);font:700 9.5px var(--body);font-style:normal;white-space:nowrap;background:#e0451c;color:#fff;border-radius:8px;padding:2px 7px}
.w3p .w3-msg{margin:10px auto 4px;text-align:center}
.w3p .w3-go{width:100%;margin-top:6px;font-size:17px!important}
#modal.w3-full .sheet,#modal.w3-full .sheet>*{overflow:visible!important}
/* how-to-play guide: the game's own art instead of drawn icons */
.gd{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}
.gd-art{width:120px;height:120px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 50% 40%,#2e4ea8,#142a66 70%);border:3px solid #ffd27a;box-shadow:0 0 22px rgba(255,210,90,.35)}
.gd-art img{width:84px;height:84px;object-fit:contain;filter:drop-shadow(0 4px 6px rgba(0,0,0,.4))}
.gd p{margin:0;max-width:280px;font:500 14px/1.4 var(--body);color:#dfe7ff}
/* ---- weapon aim mode (Truck Star style): the screen dims, the board stays bright, a big weapon card says what to tap ---- */
#puzzle.aiming::after{content:"";position:absolute;inset:0;z-index:4;background:rgba(3,8,26,.62);pointer-events:none;animation:aimDim .2s ease-out both}
@keyframes aimDim{from{opacity:0}to{opacity:1}}
#puzzle.aiming .board{position:relative;z-index:6}
#puzzle.aiming .pz-boost,#puzzle.aiming #boostHot{position:relative;z-index:6}
#puzzle.aiming .pz-banner{z-index:30!important;left:50%!important;right:auto!important;top:calc(env(safe-area-inset-top) + 16px)!important;bottom:auto!important;transform:translateX(-50%);width:min(92vw,380px);flex-direction:row;gap:12px;padding:10px 12px 10px 10px!important;border-radius:18px!important;background:linear-gradient(#22408a,#132459)!important;color:#fff!important;border:3px solid #ffd27a;box-shadow:0 12px 30px rgba(0,0,0,.5),0 0 24px rgba(255,210,90,.35)!important}
#puzzle.aiming .pz-banner.in{animation:aimCard .35s cubic-bezier(.2,1.5,.4,1) both!important}
@keyframes aimCard{from{transform:translate(-50%,-30px) scale(.8);opacity:0}to{transform:translate(-50%,0) scale(1);opacity:1}}
#puzzle.aiming .pz-banner>img{width:60px!important;height:60px!important;border-radius:0!important;object-fit:contain;filter:drop-shadow(0 4px 6px rgba(0,0,0,.4));animation:aimBob 1.2s ease-in-out infinite alternate}
@keyframes aimBob{to{transform:translateY(-3px) rotate(-4deg)}}
#puzzle.aiming .pz-banner b{font:400 20px/1.1 'Lilita One',var(--display)!important;color:#ffd84a}
#puzzle.aiming .pz-banner span{font:500 12.5px/1.3 var(--body)!important;color:#dfe7ff}
#puzzle.aiming .pz-banner button{background:rgba(255,255,255,.12)!important;color:#fff!important;border:1px solid rgba(255,255,255,.25)}

/* ---- Tower Climb ---- */
.tw{display:flex;flex-direction:column;align-items:stretch;gap:8px}
.tw-top{display:flex;flex-direction:column;align-items:center;gap:4px}
.tw-stats{display:flex;gap:8px;justify-content:center}
.tw-left,.tw-time{font:600 12.5px var(--body);color:#fff;background:rgba(10,22,64,.85);border:1px solid #2c4a92;border-radius:12px;padding:4px 12px;white-space:nowrap}
.tw-left b{font:400 17px 'Lilita One',var(--display);color:#ffd84a}
.tw-scene{position:relative;border-radius:16px;overflow:hidden;padding:10px 0 0;background:linear-gradient(180deg,#3d7bd6 0%,#7fb8f0 45%,#ffd9a0 100%)}
.tw-roof{position:relative;margin:0 auto -2px;width:62%;display:flex;flex-direction:column;align-items:center;gap:1px;padding:6px 8px 8px;border-radius:14px 14px 0 0;background:linear-gradient(#ffe066,#f2a81e);border:2px solid #fff1b0;z-index:2}
.tw-roof img{width:44px;height:44px;object-fit:contain;margin-top:-26px;filter:drop-shadow(0 4px 6px rgba(0,0,0,.4));animation:aimBob 1.2s ease-in-out infinite alternate}
.tw-roof b{font:400 20px/1 'Lilita One',var(--display);color:#5a3200}
.tw-roof small{font:600 10px var(--body);color:#6b3c00}
.tw-building{position:relative;width:62%;margin:0 auto;display:flex;flex-direction:column;background:linear-gradient(90deg,#2a3f7a,#3c5aa8 50%,#2a3f7a);border:2px solid #1a2a5a;border-bottom:0}
.tw-fl{position:relative;height:38px;border-bottom:2px solid #1a2a5a;display:flex;align-items:center;justify-content:flex-end;padding-right:8px;background:repeating-linear-gradient(90deg,transparent 0 10px,rgba(255,230,140,.18) 10px 22px,transparent 22px 32px)}
.tw-fl span{font:400 14px 'Lilita One',var(--display);color:rgba(255,255,255,.55)}
.tw-fl.done{background:repeating-linear-gradient(90deg,transparent 0 10px,rgba(255,215,90,.7) 10px 22px,transparent 22px 32px)}
.tw-fl.done span{color:#ffd84a}
.tw-fl.next{box-shadow:inset 0 0 0 2px #6ef28f;animation:twNext 1.2s ease-in-out infinite}
@keyframes twNext{50%{box-shadow:inset 0 0 0 2px #6ef28f,0 0 14px rgba(110,242,143,.6)}}
.tw-ground{height:30px;display:grid;place-items:center;font:700 11px var(--body);color:#fff;background:linear-gradient(#4a8a3a,#2f6a24)}
.tw-me{--f:0;position:absolute;left:10px;width:34px;height:34px;bottom:calc(30px + var(--f) * 40px - 2px);border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 2px #ffd27a,0 4px 8px rgba(0,0,0,.4);overflow:hidden;transition:bottom .7s cubic-bezier(.3,1.4,.5,1);z-index:3}
.tw-me img{width:100%;height:100%;object-fit:cover}
.tw-me.fell{filter:grayscale(.8);opacity:.75}
.tw-note{margin:2px 0 0;text-align:center;font:500 13px/1.35 var(--body);color:#dfe7ff}
.tw-go{width:100%;font-size:16px!important}
.tw-go img{width:18px;height:18px;vertical-align:-3px;margin:0 2px 0 6px}
.tw-ev{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;margin-bottom:8px;border-radius:16px;border:2px solid #fff1b0;background:linear-gradient(#ffe066,#f2a81e);color:#5a3200;cursor:pointer;text-align:left}
.tw-ev-ic img{width:46px;height:46px;object-fit:contain;animation:aimBob 1.2s ease-in-out infinite alternate}
.tw-ev-t{flex:1;min-width:0;display:flex;flex-direction:column}
.tw-ev-t b{font:400 19px/1.1 'Lilita One',var(--display)}
.tw-ev-t small{font:600 11.5px var(--body);color:#6b3c00}
.tw-ev em{font:700 11px var(--body);font-style:normal;background:#e0451c;color:#fff;border-radius:9px;padding:3px 9px}
.tw-me{bottom:max(-4px,calc(var(--f) * 40px - 6px))!important;left:8px!important}
.tw-rival{--f:0;--x:1;position:absolute;left:calc(44px + var(--x) * 30px);width:26px;height:26px;bottom:max(0px,calc(var(--f) * 40px - 2px));border-radius:50%;border:2px solid #cfdcff;overflow:hidden;opacity:.9;z-index:2;animation:twBob calc(1s + var(--x) * .2s) ease-in-out infinite alternate}
.tw-rival img{width:100%;height:100%;object-fit:cover}
@keyframes twBob{to{transform:translateY(-3px)}}
/* ---- Streak Rush road ---- */
.sr{display:flex;flex-direction:column;gap:8px}
.sr-road{position:relative;height:96px;margin:6px 14px 0;border-radius:14px;background:linear-gradient(180deg,#3d7bd6,#7fb8f0 60%,#c9a66b 61%,#a8854a)}
.sr-track{position:absolute;left:4%;right:4%;top:66px;height:10px;border-radius:6px;background:#4a3a24;box-shadow:inset 0 0 0 2px rgba(0,0,0,.25)}
.sr-track i{display:block;height:100%;border-radius:6px;background:linear-gradient(90deg,#ff8a3a,#ffd84a)}
.sr-stop{position:absolute;left:calc(4% + var(--p) * .92%);top:10px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center}
.sr-chest{position:relative;width:40px;height:40px;filter:grayscale(.7) brightness(.85)}
.sr-chest img{width:100%;height:100%;object-fit:contain}
.sr-stop.ready .sr-chest{filter:none;animation:aimBob .8s ease-in-out infinite alternate;filter:drop-shadow(0 0 10px #ffd84a)}
.sr-stop.got .sr-chest{filter:none;opacity:.7}
.sr-tick{position:absolute;right:-4px;bottom:-2px;width:18px;height:18px;border-radius:50%;background:#2ad65a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat;border:2px solid #fff}
.sr-stop b{margin-top:22px;font:400 14px 'Lilita One',var(--display);color:#fff;text-shadow:0 2px 0 #3a2a10}
.sr-me{position:absolute;left:calc(4% + var(--p) * .92%);top:52px;transform:translateX(-50%);width:34px;height:34px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 2px #ff8a3a,0 4px 8px rgba(0,0,0,.4);overflow:hidden;z-index:2}
.sr-me img{width:100%;height:100%;object-fit:cover}
.sr-list{display:flex;flex-direction:column;gap:6px}
.sr-row{display:flex;align-items:center;gap:10px;padding:7px 10px;border-radius:12px;background:linear-gradient(#1c2f6e,#132459);border:1px solid #2c4a92}
.sr-row.ready{border-color:#ffd27a;box-shadow:0 0 12px rgba(255,210,90,.35)}
.sr-row.got{opacity:.6}
.sr-n{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font:400 16px 'Lilita One',var(--display);color:#5a3200;background:linear-gradient(#ffe066,#f2a81e)}
.sr-p{flex:1;min-width:0;display:flex;flex-direction:column}
.sr-p b{font:600 13px var(--body);color:#fff}
.sr-p small{font:500 11px var(--body);color:#9fb4e8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sr-done{font:700 11px var(--body);color:#6ef28f}
.sr-need{font:600 11px var(--body);color:#cfdcff;white-space:nowrap}
.sr-tops{display:flex;align-items:center;justify-content:center;gap:8px}
.sr-tops small{font:600 11px var(--body);color:#9fb4e8}
.sr-top{position:relative;display:flex;align-items:center;gap:4px;padding:3px 8px 3px 3px;border-radius:14px;background:rgba(10,22,64,.85);border:1px solid #2c4a92}
.sr-top.me{border-color:#ffd27a}
.sr-top i{position:absolute;top:-6px;left:-4px;width:16px;height:16px;border-radius:50%;background:#ffd84a;color:#5a3200;font:700 10px/16px var(--body);font-style:normal;text-align:center}
.sr-top img{width:24px;height:24px;border-radius:50%}
.sr-top b{font:400 14px 'Lilita One',var(--display);color:#ffd84a}
/* ---- Tournament podium ---- */
.tp-podium{display:grid;grid-template-columns:1fr 1.15fr 1fr;align-items:end;gap:6px;margin:8px 0 2px}
.tp-col{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0}
.tp-av{width:48px;height:48px;border-radius:50%;overflow:hidden;border:3px solid #cfdcff;display:grid;place-items:center;background:#142a66;color:#9fb4e8;font:400 20px 'Lilita One',var(--display)}
.tp-av img{width:100%;height:100%;object-fit:cover}
.tp-col.p1 .tp-av{width:62px;height:62px;border-color:#ffd84a;box-shadow:0 0 16px rgba(255,216,74,.6)}
.tp-col.p3 .tp-av{border-color:#e0a46a}
.tp-col b{font:600 11.5px var(--body);color:#fff;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tp-col small{font:400 13px 'Lilita One',var(--display);color:#ffd84a}
.tp-col.me b{color:#6ef28f}
.tp-stand{width:100%;display:grid;place-items:center;border-radius:10px 10px 0 0;font:400 22px 'Lilita One',var(--display);color:#fff;text-shadow:0 2px 0 rgba(0,0,0,.35)}
.tp-col.p1 .tp-stand{height:58px;background:linear-gradient(#ffe066,#e0a51a)}
.tp-col.p2 .tp-stand{height:42px;background:linear-gradient(#e8eef8,#9aa8bf)}
.tp-col.p3 .tp-stand{height:32px;background:linear-gradient(#f0b07a,#b9703a)}
.tp-prizes{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.tp-pz{padding:6px 8px;border-radius:10px;background:linear-gradient(#1c2f6e,#132459);border:1px solid #2c4a92;min-width:0}
.tp-pz.z0{border-color:#ffd27a}
.tp-pz b{display:block;font:600 11.5px var(--body);color:#ffd84a}
.tp-pz small{font:500 10.5px var(--body);color:#cfdcff}

/* ---- Card Collection ---- */
.al{display:flex;flex-direction:column;gap:8px}
.tw-left img{width:16px;height:16px;vertical-align:-3px}
.al-open{display:flex;align-items:center;gap:10px;width:100%;padding:8px 12px;border-radius:14px;border:2px solid #fff1b0;background:linear-gradient(#ffe066,#f2a81e);color:#5a3200;cursor:pointer;animation:twNext 1.2s ease-in-out infinite}
.al-open img{width:40px;height:40px;object-fit:contain;animation:aimBob .8s ease-in-out infinite alternate}
.al-open b{flex:1;text-align:left;font:400 18px 'Lilita One',var(--display)}
.al-open em{font:700 12px var(--body);font-style:normal;background:#e0451c;color:#fff;border-radius:10px;padding:2px 9px}
.al-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.al-set{display:flex;flex-direction:column;gap:4px;padding:6px;border-radius:14px;border:2px solid #2c4a92;background:linear-gradient(#1c2f6e,#132459);color:#fff;cursor:pointer;text-align:left;min-width:0}
.al-set.full{border-color:#ffd27a;box-shadow:0 0 14px rgba(255,210,90,.35)}
.al-cov{display:block;aspect-ratio:4/3;border-radius:10px;overflow:hidden;background:#0b1638}
.al-cov img{width:100%;height:100%;object-fit:cover}
.al-set b{font:400 15px/1.1 'Lilita One',var(--display);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.al-bar{display:block;height:7px;border-radius:4px;background:rgba(255,255,255,.12);overflow:hidden}
.al-bar em{display:block;height:100%;background:linear-gradient(90deg,#6ef28f,#22c55e)}
.al-set small{font:600 11px var(--body);color:#9fb4e8}
.al-grand,.al-stars{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:12px;background:rgba(10,22,64,.85);border:1px solid #2c4a92}
.al-grand.ready{border-color:#ffd27a;box-shadow:0 0 12px rgba(255,210,90,.35)}
.al-grand b{font:400 15px 'Lilita One',var(--display);color:#ffd84a;white-space:nowrap}
.al-grand small,.al-stars span{flex:1;min-width:0;font:500 11px/1.3 var(--body);color:#cfdcff}
.al-shop{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.al-buy{display:flex;flex-direction:column;align-items:center;gap:2px;padding:7px 4px;border-radius:12px;border:2px solid #2c4a92;background:linear-gradient(#1c2f6e,#132459);color:#fff;cursor:pointer;min-width:0}
.al-buy.silver{border-color:#cfd8e6}.al-buy.gold{border-color:#ffd27a}
.al-buy b{font:400 13.5px 'Lilita One',var(--display);white-space:nowrap}
.al-buy small{font:500 9.5px var(--body);color:#9fb4e8;white-space:nowrap}
.al-buy span{display:flex;align-items:center;gap:3px;font:700 12px var(--body);color:#ffd84a}
.al-buy span img{width:14px;height:14px}
.cd-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.cd{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;padding:5px 5px 7px;border-radius:12px;background:linear-gradient(#fff8e0,#f2dfa8);border:3px solid #cfd8e6;min-width:0;box-shadow:0 3px 0 rgba(0,0,0,.25)}
.cd.s3{border-color:#7fd6ff}.cd.s4{border-color:#c77dff}.cd.s5{border-color:#ffd84a;box-shadow:0 0 14px rgba(255,216,74,.6),0 3px 0 rgba(0,0,0,.25)}
.cd-im{width:100%;aspect-ratio:1;border-radius:8px;overflow:hidden;background:#0b1638;display:grid;place-items:center}
.cd-im img{width:100%;height:100%;object-fit:cover}
.cd-im b{font:400 30px 'Lilita One',var(--display);color:#2c4a92}
.cd.miss{background:linear-gradient(#1c2f6e,#132459);border-color:#2c4a92;box-shadow:none}
.cd.miss small{color:#7f92c6}
.cd small{font:600 10px/1.15 var(--body);color:#3a2a10;text-align:center;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cd-st{display:flex;gap:1px}
.cd-st i{width:10px;height:10px;background:url(../img/ui/star-gold.svg) center/contain no-repeat}
.cd em{position:absolute;top:-7px;right:-6px;font:700 10px var(--body);font-style:normal;background:#2c4a92;color:#fff;border-radius:8px;padding:1px 6px}
/* pack opening */
.pk{position:relative;min-height:70vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;cursor:pointer}
.pk-rays{position:absolute;left:50%;top:40%;width:620px;height:620px;margin:-310px 0 0 -310px;border-radius:50%;background:repeating-conic-gradient(rgba(255,215,90,.16) 0 9deg,transparent 9deg 22deg);-webkit-mask:radial-gradient(circle,#000 15%,transparent 62%);mask:radial-gradient(circle,#000 15%,transparent 62%);animation:w3Rays 18s linear infinite;pointer-events:none}
.pk-pack{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;animation:aimBob 1s ease-in-out infinite alternate}
.pk-pack img{width:170px;height:170px;object-fit:contain;filter:drop-shadow(0 10px 20px rgba(0,0,0,.5))}
.pk-pack.gold img{filter:drop-shadow(0 0 22px #ffd84a) drop-shadow(0 10px 20px rgba(0,0,0,.5))}
.pk-pack.silver img{filter:drop-shadow(0 0 18px #cfe4ff) drop-shadow(0 10px 20px rgba(0,0,0,.5))}
.pk-pack b{font:400 24px 'Lilita One',var(--display);color:#ffd84a;text-shadow:0 3px 0 #5a3200}
.pk-pack.shake{animation:pkShake .12s linear infinite}
@keyframes pkShake{0%{transform:rotate(-6deg) scale(1.05)}50%{transform:rotate(6deg) scale(1.1)}100%{transform:rotate(-6deg) scale(1.05)}}
.pk-pack.burst{animation:pkBurst .26s ease-out forwards}
@keyframes pkBurst{to{transform:scale(1.8);opacity:0}}
.pk-cards{position:relative;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;max-width:360px}
.pk-c{width:100px;aspect-ratio:3/4.2;perspective:600px;opacity:0;transform:translateY(40px) scale(.6)}
.pk-c.in{animation:pkIn .35s cubic-bezier(.2,1.5,.4,1) forwards}
@keyframes pkIn{to{opacity:1;transform:none}}
.pk-back,.pk-front{position:absolute;inset:0;backface-visibility:hidden;transition:transform .45s cubic-bezier(.3,1.2,.5,1)}
.pk-back{border-radius:12px;background:radial-gradient(circle at 50% 40%,#3c5aa8,#142a66 70%);border:3px solid #ffd27a;box-shadow:0 6px 14px rgba(0,0,0,.4)}
.pk-back::after{content:"";position:absolute;inset:22%;background:url(../img/ui/star-win.webp?v=2) center/contain no-repeat;opacity:.9}
.pk-front{transform:rotateY(180deg)}
.pk-front .cd{height:100%}
.pk-c.flip .pk-back{transform:rotateY(-180deg)}
.pk-c.flip .pk-front{transform:rotateY(0)}
.pk-new{position:absolute;top:-10px;left:50%;transform:translateX(-50%);font:700 11px var(--body);background:#e0451c;color:#fff;border-radius:9px;padding:2px 9px;white-space:nowrap}
.pk-dup{position:absolute;top:-10px;left:50%;transform:translateX(-50%);font:700 11px var(--body);background:#2c4a92;color:#ffd84a;border-radius:9px;padding:2px 9px;white-space:nowrap}
.pk-tap{position:relative;min-height:20px;font:700 15px var(--body);color:#fff;text-align:center;animation:w3Tap 1.4s ease-in-out infinite}
.w3-pack{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:8px;padding:6px 10px;border-radius:12px;background:linear-gradient(#ffe066,#f2a81e);color:#5a3200}
.w3-pack img{width:30px;height:30px;object-fit:contain}
.w3-pack b{font:400 16px 'Lilita One',var(--display)}

/* close button on the side-game panels */
.pnl>div>.fl-x{position:absolute;top:10px;right:10px;z-index:5}
.tw,.al,.mg,.sr{position:relative}
/* ---- Garage Merge ---- */
.mg{display:flex;flex-direction:column;gap:7px}
.mg-en img{width:15px;height:15px;vertical-align:-2px}
.mg-plus{display:flex;align-items:center;gap:3px;padding:4px 10px;border-radius:12px;border:1px solid #b48bff;background:linear-gradient(#8a5cf0,#5a2fc0);color:#fff;font:700 12px var(--body);cursor:pointer}
.mg-plus img{width:14px;height:14px}
.mg-track{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:3px;padding:5px;border-radius:12px;background:rgba(10,22,64,.85);border:1px solid #2c4a92}
.mg-t{position:relative;aspect-ratio:1;border-radius:8px;display:grid;place-items:center;background:#0b1638}
.mg-t img{width:88%;height:88%;object-fit:contain;filter:brightness(0) opacity(.35)}
.mg-t.on img{filter:none}
.mg-t.grand{background:radial-gradient(circle,#5a3fd6,#1a1650);box-shadow:inset 0 0 0 2px #ffd27a}
.mg-gift{position:absolute;top:-4px;right:-4px;width:12px;height:12px;border-radius:50%;background:#ffd84a;box-shadow:0 0 0 2px #0b1638}
.mg-t.on .mg-gift{display:none}
.mg-board{display:grid;grid-template-columns:repeat(var(--c),minmax(0,1fr));gap:3px;padding:5px;border-radius:14px;background:linear-gradient(#e9d4a6,#d9bd83);border:2px solid #a8854a;touch-action:none;user-select:none;width:min(100%,calc(46vh * 7 / 9));align-self:center}
.mg-c{position:relative;aspect-ratio:1;border-radius:7px;background:rgba(255,255,255,.45);display:grid;place-items:center}
.mg-c img{width:90%;height:90%;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(0,0,0,.25));pointer-events:none}
.mg-c em{position:absolute;bottom:-2px;right:-2px;font:700 8.5px var(--body);font-style:normal;background:#5a3200;color:#ffd84a;border-radius:6px;padding:0 3px;pointer-events:none}
.mg-c.cov{background:repeating-linear-gradient(45deg,#b98d4f 0 6px,#a87b3f 6px 12px);box-shadow:inset 0 0 0 2px #8a6630}
.mg-c.sel{box-shadow:inset 0 0 0 3px #2ad65a;background:rgba(110,242,143,.35)}
.mg-c.born img{animation:mgBorn .35s cubic-bezier(.2,1.6,.4,1)}
.mg-c.merged img{animation:mgMerge .45s cubic-bezier(.2,1.6,.4,1)}
.mg-c.opened{animation:mgOpen .4s ease-out}
@keyframes mgBorn{from{transform:scale(.2) translateY(-30px)}}
@keyframes mgMerge{0%{transform:scale(.4)}60%{transform:scale(1.35);filter:brightness(1.6) drop-shadow(0 0 8px #ffd84a)}}
@keyframes mgOpen{0%{transform:scale(.6);opacity:.3}}
.mg-ghost{position:fixed;z-index:99999;pointer-events:none;object-fit:contain;filter:drop-shadow(0 6px 10px rgba(0,0,0,.45));transform:scale(1.1)}
.mg-gen{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:6px 12px;border-radius:14px;border:2px solid #fff1b0;background:linear-gradient(#ffe066,#f2a81e);color:#5a3200;cursor:pointer}
.mg-gen img{width:42px;height:42px;object-fit:contain;animation:aimBob .9s ease-in-out infinite alternate}
.mg-gen span{display:flex;flex-direction:column;align-items:flex-start}
.mg-gen b{font:400 18px 'Lilita One',var(--display)}
.mg-gen small{font:600 11px var(--body);color:#6b3c00}
.mg-gen.off{filter:grayscale(.8);opacity:.7}
.mg-hint{margin:0!important;font-size:11.5px!important}
.mg-found{position:fixed;inset:0;z-index:99990;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:rgba(3,8,26,.82);cursor:pointer;animation:aimDim .2s}
.mg-found>b{position:relative;font:400 30px 'Lilita One',var(--display);color:#ffd84a;text-shadow:0 3px 0 #5a3200}
.mg-found>img{position:relative;width:180px;height:180px;object-fit:contain;animation:aimCard .45s cubic-bezier(.2,1.5,.4,1) both;filter:drop-shadow(0 0 22px rgba(255,216,74,.6))}
.mg-found>span{position:relative;font:400 22px 'Lilita One',var(--display);color:#fff}
.mg-found>small{position:relative;font:600 13px var(--body);color:#cfdcff}
.mg-ev{background:linear-gradient(#7fd6ff,#2a8bff)!important;border-color:#e0f6ff!important;color:#06204f!important}
.mg-ev .tw-ev-t small{color:#0b3a7a!important}

/* ---- Flex Pass ---- */
.fp{position:relative;display:flex;flex-direction:column;gap:7px}
.fp-keys{display:flex;align-items:center;gap:8px;padding:6px 10px;border-radius:12px;background:rgba(10,22,64,.85);border:1px solid #2c4a92}
.fp-keys img{width:24px;height:24px;object-fit:contain}
.fp-keys .al-bar{flex:1;height:10px}
.fp-keys b{font:600 12px var(--body);color:#ffd84a;white-space:nowrap}
.fp-head{display:grid;grid-template-columns:1fr 34px 1fr;gap:6px;font:400 15px 'Lilita One',var(--display);color:#cfdcff;text-align:center}
.fp-head .pr{color:#ffd84a}
.fp-list{display:flex;flex-direction:column;gap:6px;max-height:min(46vh,420px);overflow-y:auto;padding:2px 2px 4px;overscroll-behavior:contain}
.fp-row{display:grid;grid-template-columns:1fr 34px 1fr;gap:6px;align-items:center}
.fp-n{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font:400 15px 'Lilita One',var(--display);color:#9fb4e8;background:#0b1638;border:2px solid #2c4a92}
.fp-row.open .fp-n{background:linear-gradient(#6ef28f,#22c55e);color:#063b1a;border-color:#e2ffe8}
.fp-row.cur .fp-n{background:linear-gradient(#ffe066,#f2a81e);color:#5a3200;border-color:#fff1b0;animation:twNext 1.2s ease-in-out infinite}
.fp-r{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;min-height:78px;padding:6px 4px;border-radius:12px;background:linear-gradient(#1c2f6e,#132459);border:2px solid #2c4a92;min-width:0}
.fp-r.p{background:linear-gradient(#5a3fd6,#2e1a8a);border-color:#b48bff}
.fp-r img{width:34px;height:34px;object-fit:contain}
.fp-r small{font:600 10px/1.2 var(--body);color:#dfe7ff;text-align:center;max-width:100%}
.fp-r.ready{border-color:#ffd27a;box-shadow:0 0 12px rgba(255,210,90,.4)}
.fp-r.got{opacity:.55}
.fp-r.lock img{filter:grayscale(.5) brightness(.7)}
.fp-r .btn{margin-top:2px;padding:2px 10px!important;min-height:0!important;font-size:11px!important}
.fp-r .sr-tick{position:absolute;top:4px;right:4px}
.fp-lock{position:absolute;top:4px;right:4px;width:16px;height:16px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='10' width='14' height='11' rx='2.5' fill='%23ffd84a'/%3E%3Cpath d='M8 10V7.5a4 4 0 0 1 8 0V10' fill='none' stroke='%23ffd84a' stroke-width='2.6'/%3E%3C/svg%3E") center/contain no-repeat}
.fp-how{font-size:11px!important;margin:0!important}
.fp-ev{background:linear-gradient(#c39bff,#6d35d9)!important;border-color:#efe2ff!important;color:#fff!important}
.fp-ev .tw-ev-t small{color:#efe2ff!important}
.w3-keys{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:8px;padding:5px 10px;border-radius:12px;background:linear-gradient(#c39bff,#6d35d9);color:#fff}
.w3-keys img{width:24px;height:24px;object-fit:contain}
.w3-keys b{font:400 15px 'Lilita One',var(--display)}
/* ---- Keep Money Safe (kid-simple Defense) ---- */
.df{position:relative;display:flex;flex-direction:column;gap:8px}
.df-card{display:flex;flex-direction:column;gap:8px;padding:10px 12px;border-radius:16px;background:linear-gradient(#1c2f6e,#132459);border:2px solid #2c4a92}
.df-top{display:flex;align-items:center;gap:10px}
.df-top img{width:52px!important;height:52px!important;object-fit:contain;flex:none}
.df-top div{display:flex;flex-direction:column;min-width:0}
.df-top b{font:400 20px/1.1 'Lilita One',var(--display);color:#ffd84a}
.df-top small{font:500 13px/1.3 var(--body);color:#dfe7ff}
.df-row{display:flex;flex-wrap:wrap;gap:4px;justify-content:center}
.df-s{width:22px;height:24px;background:url(../img/hb/r-defense.webp) center/contain no-repeat;filter:grayscale(1) brightness(.45)}
.df-s.on{filter:none}
.df-go{width:100%}
.df-go img,.df-two img{width:18px;height:18px;vertical-align:-3px;margin:0 2px 0 6px}
.df-ok{margin:0;text-align:center;font:600 13px var(--body);color:#6ef28f}
.df-safe{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.df-safe span{display:flex;flex-direction:column;align-items:center;padding:6px;border-radius:12px;background:rgba(10,22,64,.85)}
.df-safe small{font:600 11px var(--body);color:#9fb4e8;text-transform:uppercase;letter-spacing:.04em}
.df-safe b{font:400 20px 'Lilita One',var(--display)}
.df-safe b.ok{color:#6ef28f}.df-safe b.bad{color:#ffb02e}
.df-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.df-two .ac-btn{width:100%;font-size:14px!important}
.df-ups{display:flex;flex-direction:column;gap:5px}
.df-ups>small{font:600 11px var(--body);color:#9fb4e8;text-transform:uppercase;letter-spacing:.04em;padding-left:2px}
.df-up{display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:12px;background:rgba(10,22,64,.85);border:1px solid #2c4a92;color:#fff;cursor:pointer;text-align:left}
.df-up span{flex:1;min-width:0;display:flex;flex-direction:column}
.df-up b{font:600 13px var(--body)}
.df-up small{font:500 11.5px var(--body);color:#9fb4e8}
.df-up em{display:flex;align-items:center;gap:3px;font:700 13px var(--body);font-style:normal;color:#5a3200;background:linear-gradient(#ffe56b,#f4a800);border-radius:10px;padding:3px 9px}
.df-up em img{width:15px;height:15px}

/* ===== Workshop, owner's mock-up (2026-10-15): dark gold showroom, title plate with crown, BEFORE / AFTER cards,
   item on a glowing stand, dark job rows with the owner's job art, gold "Do It" buttons, green done rows ===== */
#workshop{background:radial-gradient(90% 45% at 50% 30%,rgba(255,190,80,.16),transparent 70%),radial-gradient(120% 70% at 50% 40%,#13285c,#070f2b 72%);gap:8px}
#workshop .ws-top{gap:8px;padding:0 10px}
#workshop #wsBackBtn{flex:none;border:2px solid #d9a63a;background:radial-gradient(circle at 50% 35%,#24345e,#0b1430);color:#ffd36a}
.ws-name{flex:1;min-width:0;display:flex;align-items:center;gap:8px;padding:5px 12px 5px 8px;border-radius:14px;background:linear-gradient(#162650,#0b1533);border:2px solid #d9a63a;box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 4px 12px rgba(0,0,0,.4)}
.ws-crown{width:28px;height:22px;flex:none;filter:drop-shadow(0 0 4px rgba(255,200,60,.6))}
.ws-name>div{min-width:0;display:flex;flex-direction:column}
#workshop .ws-name h2{margin:0;font:700 16px/1.15 var(--display);color:#ffe7a8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ws-name small{font:600 10.5px/1.2 var(--body);color:#e9d7a8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#workshop .ws-tools{flex:none;border-color:#d9a63a;background:linear-gradient(#162650,#0b1533);font-size:16px;padding:2px 9px 2px 2px;gap:4px}
#workshop .ws-tools img{width:28px;height:28px}

/* stage: BEFORE | item on the stand | AFTER */
#workshop .ws-stage{margin:0 6px;display:grid;grid-template-columns:22% 1fr 22%;grid-template-rows:1fr auto;align-items:center;gap:0 4px}
#workshop .ws-stage>.look{grid-column:1/-1;grid-row:1/-1;justify-self:center}   /* while a job is being rubbed, the picture alone fills the stage */
.ws-ba{margin:0;align-self:start;margin-top:4%;grid-row:1;display:flex;flex-direction:column;border-radius:12px;overflow:hidden;border:2px solid #d9a63a;background:#0b1533;box-shadow:0 6px 14px rgba(0,0,0,.5);z-index:2}
.ws-ba figcaption{text-align:center;font:800 10px/1 var(--display);letter-spacing:.06em;color:#ffe7a8;padding:5px 0;background:linear-gradient(#1d2f62,#101c40);text-transform:uppercase}
.ws-ba span{display:block;aspect-ratio:3/4;background:radial-gradient(circle at 50% 40%,#2a3a66,#0d1735)}
.ws-ba img{width:100%;height:100%;object-fit:cover;display:block}
.ws-item{grid-column:1/-1;grid-row:1;position:relative;z-index:1;padding:0 4%;display:flex;align-items:center;justify-content:center;min-height:0;height:100%}
.ws-item .look{border-radius:16px;box-shadow:0 0 0 2px rgba(217,166,58,.7),0 12px 26px rgba(0,0,0,.55);max-height:100%}
#workshop .ws-ba:first-child{grid-column:1}#workshop .ws-ba:last-child{grid-column:3}
.ws-item.cut .look{box-shadow:none;background:none;border-radius:0;filter:drop-shadow(0 10px 14px rgba(0,0,0,.6))}
.ws-stand{grid-column:1/-1;grid-row:2;justify-self:center;width:80%;height:26px;margin-top:-30px;position:relative;z-index:0;border-radius:50%;background:radial-gradient(closest-side,rgba(255,214,110,.95),rgba(255,170,40,.55) 45%,rgba(60,120,255,.35) 70%,transparent);box-shadow:0 0 30px rgba(255,190,70,.45)}

/* panel */
#workshop .ws-panel{margin:0 10px;padding:10px;gap:7px;border:2px solid #d9a63a;background:linear-gradient(#111f47,#091332);border-radius:20px;box-shadow:0 0 0 2px rgba(5,10,30,.8),0 10px 24px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.1)}
#workshop .ws-prog{display:flex;flex-direction:column;align-items:stretch;gap:5px;background:rgba(8,16,42,.9);border:1px solid rgba(217,166,58,.45);border-radius:14px;padding:8px 12px;color:#fff}
#workshop .ws-prog>b{font:700 15px var(--display);color:#fff}
#workshop .ws-prog>span{display:flex;align-items:center;gap:10px}
#workshop .ws-prog .bar{flex:1;height:14px;margin:0;border-radius:8px;background:#1b2648;border:1px solid rgba(255,255,255,.15)}
#workshop .ws-prog .bar i{background:linear-gradient(90deg,#ffcc33,#ffb000);box-shadow:0 0 10px rgba(255,190,40,.6)}
#workshop .ws-prog small{font:700 15px var(--display);color:#fff;min-width:40px;text-align:right}
#workshop .ws-job{background:linear-gradient(#1a2a58,#111d42);color:#fff;border:1px solid rgba(120,150,230,.35);border-radius:14px;padding:6px 8px;gap:10px}
#workshop .ws-job .ji{width:46px;height:46px;border-radius:11px;background:radial-gradient(circle at 50% 40%,#2d3f72,#121d40);border:1px solid rgba(255,255,255,.12)}
#workshop .ws-job .ji img{object-fit:contain;padding:3px}
.ws-job .jt{flex:1;min-width:0;display:flex;flex-direction:column}
#workshop .ws-job .jt b{font:700 14px/1.2 var(--display);color:#fff}
.ws-job .jt small{font:600 10.5px var(--body);color:#c6b98f}
#workshop .ws-job.ok{background:linear-gradient(#1f8f3a,#136b2a);border-color:#4be37a;box-shadow:0 0 12px rgba(60,230,110,.35)}
#workshop .ws-job.ok .jt b{text-decoration:none;opacity:1}
#workshop .ws-job.later{opacity:.72}
#workshop .ws-job .tick{display:inline-flex;align-items:center;gap:6px;padding:4px 6px 4px 10px;border-radius:12px;background:rgba(0,0,0,.18);font:700 17px var(--display);color:#fff}
#workshop .ws-job .tick img{width:22px;height:22px}
#workshop .ws-job .tick svg{width:26px;height:26px}
#workshop .ws-cost{flex-direction:row!important;align-items:center;gap:8px!important;min-width:0;padding:4px 12px 4px 4px;border-radius:12px;background:linear-gradient(#ffd96a,#f5a623);box-shadow:0 3px 0 #b8740a,inset 0 1px 0 rgba(255,255,255,.6);color:#3a2300;text-shadow:none}
#workshop .ws-cost .wc-t{padding:3px 9px 3px 4px;border-radius:9px;background:#132250;color:#fff;font:700 15px var(--display);gap:3px}
#workshop .ws-cost .wc-t img{width:22px;height:22px}
#workshop .ws-cost .wc-go{font:800 14px var(--display);color:#3a2300}
#workshop .ws-cost[disabled]{background:linear-gradient(#e5c77a,#c99a3c);box-shadow:0 3px 0 #8d6420;animation:none}
#workshop .ws-job.now .ws-cost{animation:wsGo 1.6s ease-in-out infinite}
@keyframes wsGo{50%{box-shadow:0 3px 0 #b8740a,0 0 16px rgba(255,200,60,.8),inset 0 1px 0 rgba(255,255,255,.6)}}
#workshop .ws-play{margin:0 10px;display:flex;align-items:center;justify-content:center;gap:12px;font-size:24px;border:2px solid #ffd96a}
.ws-tri{width:22px;height:24px;flex:none;filter:drop-shadow(0 2px 2px rgba(0,0,0,.3))}
@media (max-height:720px){.ws-ba figcaption{padding:3px 0}#workshop .ws-job .ji{width:40px;height:40px}#workshop .ws-job{padding:4px 8px}#workshop .ws-prog{padding:6px 10px}}
@media (prefers-reduced-motion:reduce){#workshop .ws-job.now .ws-cost{animation:none}}
/* room for long project names in the title plate */
#workshop .ws-top{gap:6px;padding:0 8px}
#workshop #wsBackBtn{width:40px;height:40px}
.ws-name{gap:6px;padding:4px 8px 4px 6px}
.ws-crown{width:22px;height:17px}
#workshop .ws-name h2{letter-spacing:-.2px}
#workshop .ws-tools{font-size:15px;padding:2px 8px 2px 2px}
#workshop .ws-tools img{width:24px;height:24px}
#workshop .ws-stage>.look{box-shadow:0 0 0 2px rgba(217,166,58,.75),0 12px 26px rgba(0,0,0,.55)}
/* full-picture projects (rooms, shops, houses): the picture sits on the stand, between the two cards */
#workshop .ws-stage.scene{grid-template-rows:auto 1fr auto;gap:6px 4px}
#workshop .ws-stage.scene .ws-ba{margin-top:0;flex-direction:row;align-items:stretch}
#workshop .ws-stage.scene .ws-ba figcaption{writing-mode:vertical-rl;transform:rotate(180deg);padding:0 3px;font-size:9px}
#workshop .ws-stage.scene .ws-ba span{aspect-ratio:4/3;flex:1}
#workshop .ws-stage.scene .ws-ba:first-child{grid-column:1/2}#workshop .ws-stage.scene .ws-ba:last-child{grid-column:3/4;grid-row:1}
#workshop .ws-stage.scene{grid-template-columns:36% 1fr 36%}
#workshop .ws-stage.scene .ws-item{grid-row:2;padding:0 2%;align-items:flex-end}
#workshop .ws-stage.scene .ws-stand{grid-row:3}
#workshop .ws-stage.scene .ws-item .look{width:100%}

/* ===== owner (2026-10-15): tight job list so the picture gets the room, premium buttons everywhere ===== */
#workshop .ws-panel{padding:7px;gap:5px;border-radius:16px}
#workshop .ws-prog{flex-direction:row;align-items:center;gap:8px;padding:5px 10px;border-radius:11px}
#workshop .ws-prog>b{font-size:12.5px;white-space:nowrap}
#workshop .ws-prog>span{flex:1;gap:8px}
#workshop .ws-prog .bar{height:10px}
#workshop .ws-prog small{font-size:13px;min-width:34px}
#workshop .ws-job{padding:3px 6px;gap:8px;border-radius:11px}
#workshop .ws-job .ji{width:34px;height:34px;border-radius:9px}
#workshop .ws-job .jt b{font-size:13px}
.ws-job .jt small{font-size:10px}
#workshop .ws-job .tick{font-size:14px;padding:2px 4px 2px 8px}
#workshop .ws-job .tick img{width:18px;height:18px}
#workshop .ws-job .tick svg{width:20px;height:20px}
@media (max-height:720px){#workshop .ws-job .ji{width:30px;height:30px}}

/* premium Do It: the owner's gold 3D button */
#workshop .ws-cost{border-style:solid;border-width:0;border-color:transparent;background:none!important;box-shadow:none!important;border-radius:0;
  border-image:url(../img/ui3/btn-gold.webp?v=2) 112 200 fill / 17px 30px stretch;min-height:34px;padding:0 12px 0 6px;gap:6px!important}
#workshop .ws-cost .wc-t{background:rgba(10,20,60,.82);font-size:13px;padding:2px 7px 2px 3px}
#workshop .ws-cost .wc-t img{width:18px;height:18px}
#workshop .ws-cost .wc-go{font:400 15px/1 "Lilita One",var(--display);color:#fff;text-shadow:0 2px 0 rgba(120,60,0,.6),0 0 2px rgba(80,40,0,.5)}
#workshop .ws-cost[disabled]{filter:saturate(.45) brightness(.8);background:none!important}
#workshop .ws-job.now .ws-cost{animation:wsGlow 1.6s ease-in-out infinite}
@keyframes wsGlow{50%{filter:brightness(1.12) drop-shadow(0 0 8px rgba(255,200,60,.8))}}
#workshop .ws-cost:active:not([disabled]){transform:translateY(2px) scale(.97)}

/* premium Play: same art as the home Play button */
#workshop .ws-play{border-style:solid;border-width:0!important;border-color:transparent;background:none!important;box-shadow:none!important;border-radius:0;
  border-image:url(../img/ui3/btn-green.webp?v=1) 112 200 fill / 27px 48px stretch;min-height:56px;font:400 25px/1 "Lilita One",var(--display);color:#fff;
  -webkit-text-stroke:1px #0a5216;text-shadow:0 3px 0 #0a5216,0 4px 8px rgba(0,0,0,.35)}
#workshop .ws-play .ws-tri{filter:drop-shadow(0 2px 0 #0a5216)}
#workshop .ws-play:active{transform:translateY(3px) scale(.985);filter:brightness(.95)}

/* premium art on the coloured buttons of every screen (pop-ups already have it) */
.screen .btn:is(.green,.gold,.red,.violet):not(.sm):not(.mini),.screen .gbtn:is(.green,.gold,.red,.violet):not(.ws-play):not(.mini):not(.sm){border-style:solid!important;border-width:0!important;border-color:transparent!important;background:none!important;box-shadow:none!important;border-radius:0!important;
  border-image:url(../img/ui3/btn-green.webp?v=1) 112 200 fill / 21px 38px stretch!important;min-height:42px;font-family:"Lilita One",var(--display)!important;font-weight:400!important;color:#fff!important;text-shadow:0 2px 0 rgba(0,0,0,.35),0 0 2px rgba(0,0,0,.35)!important;padding-left:20px!important;padding-right:20px!important}
.screen .btn.gold:not(.sm):not(.mini):not(.x1):not(.x2):not(.x3),.screen .gbtn.gold:not(.ws-play):not(.mini):not(.sm):not(.x1){border-image-source:url(../img/ui3/btn-gold.webp?v=2)!important}
.screen .btn.red:not(.sm):not(.mini):not(.x1):not(.x2):not(.x3),.screen .gbtn.red:not(.ws-play):not(.mini):not(.sm):not(.x1){border-image-source:url(../img/ui3/btn-red.webp?v=1)!important}
.screen .btn.violet:not(.sm):not(.mini):not(.x1):not(.x2):not(.x3),.screen .gbtn.violet:not(.ws-play):not(.mini):not(.sm):not(.x1){border-image-source:url(../img/ui3/btn-purple.webp?v=1)!important}
.screen .btn:is(.green,.gold,.red,.violet):active:not(:disabled),.screen .gbtn:is(.green,.gold,.red,.violet):active:not(:disabled){transform:translateY(2px) scale(.98)}
#workshop .ws-play{font:400 26px/1 "Lilita One",var(--display)!important;letter-spacing:.02em}
#workshop .ws-play span{font:inherit!important}
#workshop .ws-stage.scene{grid-template-rows:auto auto auto;align-content:center}
#workshop .ws-stage.scene .ws-item{height:auto}
#workshop .ws-stage.scene{grid-template-columns:44% 1fr 44%;gap:10px 4px}
/* blue premium button (the purple art turned blue) for coin prices and other blue buttons on screens */
.screen .gbtn.blue:not(.mini):not(.sm),.screen .btn.blue:not(.mini):not(.sm){border-style:solid!important;border-width:0!important;border-color:transparent!important;background:none!important;box-shadow:none!important;border-radius:0!important;
  border-image:url(../img/ui3/btn-blue.webp?v=2) 112 200 fill / 21px 38px stretch!important;min-height:42px;font-family:"Lilita One",var(--display)!important;font-weight:400!important;color:#fff!important;text-shadow:0 2px 0 rgba(0,0,0,.35)!important}
.sheet .btn.blue:not(.sm),.sheet .gbtn.blue:not(.sm){border-style:solid!important;border-width:0!important;border-color:transparent!important;background:none!important;box-shadow:none!important;border-radius:0!important;
  border-image:url(../img/ui3/btn-blue.webp?v=2) 112 200 fill / 21px 38px stretch!important;min-height:42px;font:400 17px/1 "Lilita One",var(--display)!important;color:#fff!important;text-shadow:0 2px 0 rgba(0,0,0,.35)!important;padding:0 22px!important}
.sheet .btn.blue.big{min-height:54px;border-image-width:27px 48px!important;font-size:21px!important}
/* owner: no empty space on the workshop. Full pictures fill every bit of the stage (cropped like a photo frame),
   the Before/After cards take half the width each. The rub canvas uses the same crop. */
#workshop .ws-stage.scene{grid-template-columns:48% 1fr 48%;grid-template-rows:auto minmax(0,1fr) auto;align-content:stretch;gap:8px 4px}
#workshop .ws-stage.scene .ws-item{height:100%;align-items:stretch;padding:0}
#workshop .ws-stage.scene .ws-item .look,#workshop .ws-stage.scene>.look{height:100%;max-height:none;width:100%}
#workshop .ws-stage.scene .look>img{height:100%;object-fit:cover}
#workshop .ws-stage.scene>.look{align-self:stretch}
#workshop .ws-stage.scene .ws-ba figcaption{font-size:10px;padding:0 4px}
#workshop .ws-stage{min-width:0;overflow:hidden}
#workshop .ws-stage.scene{grid-template-columns:minmax(0,48%) minmax(0,1fr) minmax(0,48%)}
#workshop .ws-stage>.look,#workshop .ws-item,#workshop .ws-item .look{min-width:0}
#workshop .ws-stage.scene>.look>img,#workshop .ws-stage.scene .ws-item .look>img{width:100%;min-width:0}
/* owner: no overlap, everything lined up. Every row ends in the same 112 x 38 control: Do It buttons and the done tick */
#workshop .ws-job{min-height:46px}
#workshop .ws-cost,#workshop .ws-job .tick{flex:none;box-sizing:border-box;width:112px;height:38px;min-height:38px!important;display:flex!important;flex-direction:row!important;align-items:center;justify-content:center;gap:8px!important;padding:0 12px!important;line-height:1!important}
#workshop .ws-cost{border-image-width:19px 34px!important}
#workshop .ws-cost .wc-t{flex:none;display:inline-flex;align-items:center;gap:3px;height:24px;padding:0 7px 0 3px;border-radius:12px;font:700 13px/1 var(--display);color:#fff}
#workshop .ws-cost .wc-t img{width:18px;height:18px}
#workshop .ws-cost .wc-go{display:inline-flex;align-items:center;height:24px;padding-top:2px;font-size:15px;line-height:1}
#workshop .ws-job .tick{border-radius:12px;background:rgba(0,0,0,.2);font:700 14px/1 var(--display)}
#workshop .ws-job .tick img{width:18px;height:18px;margin-right:-4px}
#workshop .ws-job .tick svg{width:22px;height:22px}
#workshop .ws-cost,#workshop .ws-job .tick{width:122px;gap:6px!important;padding:0 11px!important;white-space:nowrap}
#workshop .ws-cost .wc-go{white-space:nowrap}
#workshop .ws-cost .wc-t{margin:0!important;vertical-align:middle}
/* owner 2026-10-15: the top bar shows coins, energy and tools; diamonds sit inside Flex Spin */
.hud-cur.tools{padding-right:14px!important}
.hud-cur.tools b{text-align:center}
.fs-gems{position:absolute;right:3%;top:1.5%;z-index:5;display:flex;align-items:center;gap:6px;padding:4px 12px 4px 6px;border-radius:20px;background:rgba(10,16,48,.85);border:2px solid #b583ff;box-shadow:0 4px 10px rgba(0,0,0,.4);font:700 16px var(--display);color:#fff}
.fs-gems img{width:24px;height:24px}
/* shop: what each currency is for */
.shop-key{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:4px 0 10px}
.shop-key span{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 4px;border-radius:12px;background:rgba(20,32,80,.7);border:1px solid rgba(120,150,230,.3);font:600 10.5px/1.25 var(--body);color:#c9d6f5;text-align:center}
.shop-key span img{width:26px!important;height:26px!important}
.shop-key span b{font:700 13px var(--display);color:#fff}
.shop-key{grid-column:1/-1;width:100%}
.nt-need{display:flex;align-items:center;justify-content:center;gap:8px;margin:4px 0 2px;font:700 26px var(--display);color:#fff}
.nt-need img{width:40px;height:40px}

/* ===== owner (2026-10-15): premium pop-up titles everywhere. Two layers: a bright gold face on top, and behind it the
   same words with a thick dark outline and a hard 3D drop, so the outline never eats into the letters (it did before). ===== */
.pnl-h b[data-t]{position:relative;display:inline-block;font:400 28px/1.12 "Lilita One",var(--display)!important;letter-spacing:.02em;padding:0 4px;
  background:none!important;color:#3d1800!important;-webkit-text-stroke:6px #3d1800!important;filter:none!important;
  text-shadow:0 2px 0 #3d1800,0 4px 0 #2a1000,0 6px 10px rgba(0,0,0,.55)!important}
.pnl-h b[data-t]::after{content:attr(data-t);position:absolute;inset:0;padding:0 4px;-webkit-text-stroke:0;text-shadow:none;color:transparent;
  background:linear-gradient(180deg,#ffffff 0%,#fff6c4 22%,#ffe066 46%,#ffbe1a 70%,#ff9d00 100%);-webkit-background-clip:text;background-clip:text}
@media (max-height:760px){.pnl-h b[data-t]{font-size:24px!important}.pnl-h b[data-t]{-webkit-text-stroke:5px #3d1800!important}}
.fs-sp span{min-width:0;overflow:hidden}#jkSp,#jkSpT{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.df-exp{margin:2px 0 6px;text-align:center;font:600 12px var(--body);color:#c9d6f5}.df-exp b{color:#ffd36a}
/* ===== Walk For Spins (owner 2026-10-15) ===== */
.wk{display:flex;flex-direction:column;align-items:center;gap:8px;padding:4px 0 8px}
.wk-ring{position:relative;width:170px;height:170px}
.wk-ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.wk-ring circle{fill:none;stroke-width:12}
.wk-bg{stroke:rgba(255,255,255,.12)}
.wk-fg{stroke:#4be37a;stroke-linecap:round;transition:stroke-dashoffset .25s;filter:drop-shadow(0 0 6px rgba(75,227,122,.6))}
.wk-ring>div{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.wk-ring b{font:400 48px/1 "Lilita One",var(--display);color:#fff}
.wk-ring small{font:600 12px var(--body);color:#c9d6f5}
.wk-today{margin:0;font:600 13px var(--body);color:#e6ecff;text-align:center}
.wk-today b{color:#ffd36a}
.wk-tip{margin:0;font:500 12px/1.4 var(--body);color:#9fb0d8;text-align:center;max-width:300px}
#boot .sp-load b{transition:opacity .26s,transform .26s;font-size:15px}#boot .sp-load b.out{opacity:0;transform:translateY(5px)}
/* card pack: the button is always on screen, pinned to the bottom (owner: "tap to continue" was not visible) */
.pk .pk-go{position:fixed;left:50%;bottom:calc(env(safe-area-inset-bottom, 0px) + 28px);transform:translateX(-50%);z-index:120;min-width:230px;animation:none!important}
.pk .pk-stars{position:fixed;left:16px;right:16px;bottom:calc(env(safe-area-inset-bottom, 0px) + 96px);z-index:120;margin:0;text-align:center;font:700 14px var(--body);color:#ffe7a8;text-shadow:0 2px 6px rgba(0,0,0,.7)}
.pk-cards{padding-bottom:120px}

/* ===== owner 2026-10-16: every button premium, text very clear. The owner's 3D art on all pop-up and screen buttons
   (gold, green, blue, red, purple; white secondary buttons use the blue art), Lilita lettering with a dark edge. ===== */
html .sheet .ac-btn:is(.gold,.wv,.blue,.white,.green,.violet,.red):not(.sm),
html .sheet :is(.btn,.gbtn):is(.blue,.white):not(.sm):not(.mini),
html .screen :is(.btn,.gbtn,.ac-btn).white:not(.sm):not(.mini){
  border-style:solid!important;border-width:0!important;border-color:transparent!important;background:none!important;box-shadow:none!important;border-radius:0!important;
  border-image:url(../img/ui3/btn-blue.webp?v=2) 112 200 fill / 24px 43px stretch!important;min-height:50px!important;padding:0 22px!important;
  font:400 20px/1.05 "Lilita One",var(--display)!important;color:#fff!important;-webkit-text-stroke:0!important;
  text-shadow:0 2px 0 rgba(0,0,0,.45),0 0 3px rgba(0,0,0,.35)!important;letter-spacing:.01em}
html .sheet .ac-btn:is(.gold,.wv,.blue,.white,.green,.violet,.red):not(.sm) *{text-shadow:inherit}
html .sheet .ac-btn.gold:not(.sm){border-image-source:url(../img/ui3/btn-gold.webp?v=2)!important;text-shadow:0 2px 0 rgba(110,55,0,.75),0 0 3px rgba(90,40,0,.5)!important}
html .sheet .ac-btn:is(.wv,.green):not(.sm){border-image-source:url(../img/ui3/btn-green.webp?v=1)!important;text-shadow:0 2px 0 #0a5216,0 0 3px rgba(0,60,10,.5)!important}
html .sheet .ac-btn.red:not(.sm){border-image-source:url(../img/ui3/btn-red.webp?v=1)!important}
html .sheet .ac-btn.violet:not(.sm){border-image-source:url(../img/ui3/btn-purple.webp?v=1)!important}
html .sheet :is(.ac-btn,.btn,.gbtn):active:not(:disabled){transform:translateY(2px) scale(.98)}
/* the video button keeps its icon and two lines, just on the 3D art */
html .sheet .ac-btn.wv{min-height:60px!important;display:flex!important;align-items:center;justify-content:center;gap:10px}
html .sheet .ac-btn.wv .wv-t small{font:600 12px var(--body)!important;color:#eaffea!important}
html .sheet .ac-cost{background:rgba(0,0,0,.28)!important;border-radius:12px;padding:3px 9px 3px 4px;font:400 17px "Lilita One",var(--display)!important;color:#fff!important}
/* Out Of Moves: tighter on tall phones, nothing floating in empty space */
.prem .ac-frame{gap:8px!important;justify-content:flex-start!important}
.prem .ac-txt{margin:0!important}
.prem .oom-streak{margin:-6px auto 0!important}
.prem .ac-pill{margin:0 auto!important}
.prem .ac-row{gap:8px!important;margin:0!important}
.ac-quit{margin:4px auto 0!important;padding:4px 14px!important;color:#e6ecff!important;font:700 15px var(--body)!important}
/* owner 2026-10-16: small Before/After cards, the main picture whole (sized by fitLook in js), on phones and tablets */
#workshop .ws-stage.scene{grid-template-columns:1fr 1fr!important;grid-template-rows:auto minmax(0,1fr) auto!important;gap:8px 10px!important;align-content:stretch}
#workshop .ws-stage.scene .ws-ba{width:min(100%,130px);justify-self:start;grid-column:1!important}
#workshop .ws-stage.scene .ws-ba:last-child{justify-self:end;grid-column:2!important}
#workshop .ws-stage.scene .ws-item{grid-column:1/-1!important;grid-row:2;display:flex;align-items:center!important;justify-content:center;min-height:0;height:100%;padding:0!important}
#workshop .ws-stage.scene .ws-item .look,#workshop .ws-stage.scene>.look{max-width:100%;max-height:100%;flex:none}
#workshop .ws-stage.scene .look>img{width:100%!important;height:100%!important;object-fit:fill!important}
#workshop .ws-stage.scene>.look{justify-self:center;align-self:center}
@media (min-width:700px){#workshop .ws-stage.scene .ws-ba{width:min(100%,170px)}}
/* owner 2026-10-16: the win screen uses the owner's glossy gold star art, with a soft gold glow and a sparkle */
.w3p .w3-stars img{width:84px!important;height:84px!important;object-fit:contain}
.w3p .w3-stars img:nth-child(2){width:112px!important;height:112px!important}
.w3-stars img:not(.on){filter:grayscale(.9) brightness(.42)!important;opacity:.75!important}
.w3-stars img.on{filter:drop-shadow(0 0 14px rgba(255,205,70,.85)) drop-shadow(0 4px 4px rgba(90,40,0,.45))!important}
/* premium reward tiles: gold frame, inner glow, bigger icons and numbers */
.w3p .w3-tile{background:radial-gradient(120% 90% at 50% 0%,#2a4590,#132459 70%)!important;border:2px solid #e3b13e!important;box-shadow:0 0 0 2px rgba(10,20,60,.8),inset 0 1px 0 rgba(255,255,255,.18),0 6px 14px rgba(0,0,0,.4);padding:12px 4px 10px!important}
.w3p .w3-tile.big{border-color:#ffd84a!important;box-shadow:0 0 0 2px rgba(10,20,60,.8),0 0 16px rgba(255,200,60,.55),inset 0 1px 0 rgba(255,255,255,.2)}
.w3p .w3-tile img{width:48px!important;height:48px!important}
.w3p .w3-tile b{font-size:26px!important;color:#ffe066!important;text-shadow:0 2px 0 #7a4300,0 0 6px rgba(0,0,0,.4)}
.w3p .w3-tile small{color:#d6e0ff!important;font-weight:700!important}
.w3p .w3-tile em{background:linear-gradient(#ff7a4a,#d8341a)!important;border:1px solid #ffd0a0;font-weight:800!important}
.w3-keys{border:2px solid #e3b13e;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 4px 10px rgba(0,0,0,.35)}
.w3-keys img{width:30px!important;height:30px!important}
.w3-keys b{font-size:17px!important;text-shadow:0 2px 0 rgba(60,20,120,.6)}
.w3-stars img:not(.on){filter:grayscale(1) brightness(.55) contrast(1.1)!important;opacity:.9!important}
/* sweep 2026-10-16: the dig frame hugs its grid (no empty brown bands) */
.dg-grid{flex:0 0 auto;margin:auto 10px}
.df-two{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}.df-two .ac-btn{min-width:0;padding-left:6px;padding-right:6px;font-size:clamp(12px,3.6vw,15px)}
.ls-empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;margin:6px 4px;padding:12px 12px 14px;border-radius:18px;background:linear-gradient(#16275a,#0e1a40);border:2px solid #ffcf4a}
.ls-empty .ls-e-im{width:100%;aspect-ratio:16/9;border-radius:12px;background:center/cover no-repeat;filter:none;box-shadow:inset 0 0 0 2px rgba(255,255,255,.15)}
.ls-empty b{font:800 17px/1.2 Poppins,sans-serif;color:#ffd84a;margin-top:4px}
.ls-empty small{font:500 13px/1.35 Poppins,sans-serif;color:#dfe8ff;max-width:300px}
.ls-empty .gbtn{margin-top:6px;width:100%}
.wc-none{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;margin:40px 24px 0;padding:22px 16px;border-radius:18px;background:linear-gradient(#16275a,#0e1a40);border:2px solid rgba(255,207,74,.6)}
.wc-none img{width:84px;height:84px;object-fit:contain}
.wc-none b{font:800 18px/1.2 Poppins,sans-serif;color:#ffd84a}
.wc-none small{font:500 13px/1.4 Poppins,sans-serif;color:#dfe8ff;max-width:260px}
.wc-none .gbtn{margin-top:6px;min-width:200px}
.sr-p small{white-space:normal!important;text-overflow:clip!important;overflow:visible!important;line-height:1.3}   /* sweep 2026-10-16: Streak Rush prizes show in full */
.sr-track{left:8%!important;right:8%!important}.sr-stop,.sr-me{left:calc(8% + var(--p) * .84%)!important}   /* the last chest sits fully inside the road */
/* sweep 2026-10-16: Crews: all 8 colours on one row, a readable Start Crew label */
#crew .swatches{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;justify-items:center}
#crew .swatches button{width:100%;max-width:34px;aspect-ratio:1;height:auto}
#cwMake{font-size:18px!important}
.rd-def small{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;text-align:right;line-height:1.25}   /* the at-risk amount shows in full */
.fx-spin-sheet:not(.jk-mode) #fxSpinResult{display:none!important}   /* Round Spin shows its result in the pill under the wheel */
.rs-grid .rs{width:31%!important}   /* 3 x 3 field: room for the safes to move around */
html .sheet .df-two .ac-btn,html .df-two .ac-btn{font-size:clamp(13px,4.1vw,16px)!important;padding-left:4px!important;padding-right:4px!important;min-width:0!important;white-space:nowrap;overflow:hidden;letter-spacing:0}   /* owner 2026-10-16: "Safe Box Full" and "Who Robbed Me" fit inside their buttons */
html .sheet .df-two .ac-btn:is(.green,.red,.blue,.white,.gold,.violet,.wv):not(.sm){font-size:clamp(13px,4.1vw,16px)!important;padding-left:4px!important;padding-right:4px!important}
#wkN.wk-bump{animation:wkBump .22s ease-out}@keyframes wkBump{0%{transform:scale(1.25)}100%{transform:scale(1)}}
#wkN{display:inline-block}
/* sweep 2026-10-16: revealed cards are big enough to enjoy (1 to 3 cards fill the width; 4 to 6 wrap in rows of 3) */
.pk-c{width:min(31vw,128px)}.pk-cards:has(.pk-c:nth-child(2):last-child) .pk-c,.pk-cards:has(.pk-c:only-child) .pk-c{width:min(42vw,160px)}
html .sheet .df-two .ac-btn:is(.green,.red,.blue,.white,.gold,.violet,.wv):not(.sm){font-size:clamp(12px,3.7vw,14px)!important}
/* walk icon: progress ring around the walker (owner 2026-10-16) */
.wk-ic{position:relative;flex:none;width:52px;height:52px;display:grid;place-items:center}
.wk-ic>svg:first-child{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.wk-ic-bg{fill:rgba(6,40,22,.85);stroke:rgba(75,227,122,.22);stroke-width:4}
.wk-ic-fg{fill:none;stroke:#4be37a;stroke-width:4;stroke-linecap:round;transition:stroke-dashoffset .6s ease}
.wk-ic-spin{position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 0deg,transparent 0 80%,rgba(190,255,210,.55) 92%,transparent 100%);-webkit-mask:radial-gradient(circle,transparent 0 19px,#000 20px 26px,transparent 27px);mask:radial-gradient(circle,transparent 0 19px,#000 20px 26px,transparent 27px);animation:wkSpin 2.6s linear infinite;will-change:transform}
@keyframes wkSpin{to{transform:rotate(360deg)}}
.wk-ic-man{position:relative;width:26px;height:26px;color:#fff}
html.lite .wk-ic-spin{animation:none}
/* ---------- Round Spin, matched to the owner's sample (2026-10-16): one column, equal widths, upright prizes ---------- */
.fs4 #fxDailyRoom{gap:2.4cqw!important}
#fxDailyRoom .fx-possibles,#fxDailyRoom .fx-spin-logo{display:none!important}
/* the wheel */
#fxDailyRoom .rs-wheel{position:relative;flex:none;width:82cqw;aspect-ratio:1;margin:0 auto}
#fxDailyRoom .rs-disc{position:absolute;inset:0;will-change:transform}
#fxDailyRoom .rs-base{width:100%;height:100%;display:block;pointer-events:none}
#fxDailyRoom .rs-seg{position:absolute;left:50%;top:50%;width:26%;height:26%;transform:translate(-50%,-50%) rotate(var(--a)) translateY(-112%) rotate(calc(-1 * var(--a)));pointer-events:none}
#fxDailyRoom .rs-in{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;will-change:transform}
#fxDailyRoom .rs-in img{width:62%;height:50%;object-fit:contain;filter:drop-shadow(0 .5cqw .6cqw rgba(0,0,0,.45))}
#fxDailyRoom .rs-in b,#fxDailyRoom .rs-in small{display:block;font:400 3.6cqw/1 "Lilita One",var(--display);color:#fff;text-transform:uppercase;white-space:nowrap;text-align:center;
  text-shadow:0 .35cqw 0 rgba(0,0,0,.55),.2cqw .2cqw 0 rgba(0,0,0,.45),-.2cqw .2cqw 0 rgba(0,0,0,.45),0 0 1cqw rgba(0,0,0,.45)}
#fxDailyRoom .rs-in b{margin-top:.6cqw}
#fxDailyRoom .rs-in small{font-size:3cqw;margin-top:.2cqw}
#fxDailyRoom .rs-hub{position:absolute;left:50%;top:50%;width:12.5%;aspect-ratio:1;transform:translate(-50%,-50%);display:grid;place-items:center;z-index:1}
#fxDailyRoom .rs-hub img{width:100%;height:100%;object-fit:contain}
#fxDailyRoom .rs-ptr{position:absolute;left:50%;top:-4.5%;width:13%;transform:translateX(-50%);z-index:2;filter:drop-shadow(0 .6cqw .8cqw rgba(0,0,0,.45))}
/* the info pill */
#fxDailyRoom .rs-hint{flex:none;width:80cqw;display:flex;align-items:center;justify-content:center;gap:2cqw;padding:1.9cqw 3.5cqw;border-radius:99px;background:rgba(9,14,36,.86);border:.6cqw solid #c9a24a;color:#fff;font:600 3.3cqw/1.25 Poppins,sans-serif;text-align:center}
#fxDailyRoom .rs-hint svg{flex:none;width:5cqw;height:5cqw;color:#e9edf7}
#fxDailyRoom .rs-hint b{color:#ffd84a}
#fxDailyRoom .rs-hint:has(.won){border-color:#4be37a}
/* the three banners: one width, one left edge, one right edge */
#fxDailyRoom .rs-go,#fxDailyRoom .rs-back,#fxDailyRoom .fx-walk,#fxDailyRoom .rs-poss{flex:none;width:93cqw!important;max-width:none!important;margin:0 auto!important;box-sizing:border-box}
#fxDailyRoom .rs-go{min-height:15cqw;border-style:solid;border-width:0;background:none;border-image:url(../img/ui3/btn-green.webp?v=1) 112 200 fill / 6cqw 10.71cqw stretch;font:400 6.6cqw/1 "Lilita One",var(--display);color:#fff;text-shadow:0 .5cqw 0 rgba(0,0,0,.35)}
#fxDailyRoom .rs-go[hidden],#fxDailyRoom .rs-back[hidden]{display:none!important}
/* Come Back Tomorrow: a dusk sea view behind, a moon in a round window, the words centred (owner's sample) */
#fxDailyRoom .rs-back{position:relative;display:flex;align-items:center;gap:3cqw;height:19cqw;padding:0 3.5cqw;border-radius:4cqw;overflow:hidden;
  background:linear-gradient(90deg,rgba(13,28,86,.97) 0%,rgba(18,40,112,.9) 38%,rgba(22,48,128,.55) 70%,rgba(22,48,128,.2) 100%),url(../img/home/t8.webp) 70% 55%/cover;
  border:.7cqw solid #f6e6ad;box-shadow:0 0 0 .5cqw #b8913a,0 1.5cqw 3cqw rgba(0,0,0,.35),inset 0 0 4cqw rgba(255,255,255,.14)}
#fxDailyRoom .rs-moon{flex:none;position:relative;width:14cqw;height:14cqw;border-radius:50%;overflow:hidden;border:.6cqw solid rgba(255,240,200,.85);
  background:linear-gradient(rgba(16,24,70,.55),rgba(16,24,70,.75)),url(../img/home/t8.webp) 50% 60%/cover;box-shadow:0 0 3cqw rgba(255,215,106,.35)}
#fxDailyRoom .rs-moon i{position:absolute;left:27%;top:16%;width:46%;height:46%;border-radius:50%;box-shadow:inset -2.6cqw -1.2cqw 0 0 #ffd76a;filter:drop-shadow(0 0 1.2cqw rgba(255,215,106,.7))}
#fxDailyRoom .rs-bt{flex:1;display:flex;flex-direction:column;align-items:center;text-align:center;line-height:1}
#fxDailyRoom .rs-bt small{font:600 3.6cqw/1 Poppins,sans-serif;letter-spacing:.32em;color:#dbe7ff;text-transform:uppercase;margin-right:-.32em}
#fxDailyRoom .rs-bt b{font:400 8.6cqw/1.05 "Lilita One",var(--display);color:#ffd84a;text-transform:uppercase;text-shadow:0 .5cqw 0 #7a4a00,0 0 2cqw rgba(255,200,60,.35)}
#fxDailyRoom .rs-bt em{font:500 3cqw/1.2 Poppins,sans-serif;font-style:normal;color:#fff}
/* Walk For Free Spins: the emerald component (it already has the leaves), ring left, chevron right */
#fxDailyRoom .fx-walk{position:relative;display:flex;align-items:center;gap:3cqw;height:15.5cqw!important;padding:0 5cqw 0 4.5cqw!important;border:0!important;border-radius:0!important;background:url(../img/spin2/emerald.webp?v=2) center/100% 100% no-repeat!important;box-shadow:none!important}
#fxDailyRoom .fx-walk>span:not(.wk-ic){flex:1;display:flex;flex-direction:column;text-align:left;line-height:1.1}
#fxDailyRoom .fx-walk b{font:400 5.2cqw/1.1 "Lilita One",var(--display);color:#fff;white-space:nowrap;text-shadow:0 .5cqw 0 rgba(0,0,0,.35)}
#fxDailyRoom .fx-walk small{font:600 3.3cqw/1.2 Poppins,sans-serif;color:#b9ffcf}
#fxDailyRoom .fx-walk .wk-ic{flex:0 0 11.5cqw!important;width:11.5cqw;height:11.5cqw;display:grid!important}
#fxDailyRoom .rs-chev{flex:none;width:5cqw;height:5cqw;object-fit:contain}
/* Possible Rewards: title between two lines, five equal columns with thin dividers */
#fxDailyRoom .rs-poss{height:22cqw;padding:3cqw 5cqw 0;background:url(../img/spin2/navy.webp?v=2) center/100% 100% no-repeat;text-align:center}
#fxDailyRoom .rs-poss>b{display:flex;align-items:center;gap:2.5cqw;font:700 2.7cqw/1 Poppins,sans-serif;letter-spacing:.24em;color:#dbe7ff;text-transform:uppercase}
#fxDailyRoom .rs-poss>b::before,#fxDailyRoom .rs-poss>b::after{content:"";flex:1;height:.3cqw;background:linear-gradient(90deg,transparent,rgba(219,231,255,.6),transparent)}
#fxDailyRoom .rs-poss>div{display:grid;grid-template-columns:repeat(5,1fr);margin-top:1.6cqw}
#fxDailyRoom .rs-poss span{display:flex;flex-direction:column;align-items:center;gap:.6cqw;border-left:.3cqw solid rgba(219,231,255,.18)}
#fxDailyRoom .rs-poss span:first-child{border-left:0}
#fxDailyRoom .rs-poss img{width:8cqw;height:8cqw;object-fit:contain}
#fxDailyRoom .rs-poss small{font:600 2.8cqw/1 Poppins,sans-serif;color:#fff}
.wk-ic-spin{-webkit-mask:radial-gradient(closest-side,transparent 78%,#000 80% 100%)!important;mask:radial-gradient(closest-side,transparent 78%,#000 80% 100%)!important}.wk-ic-man{width:55%!important;height:55%!important}
#fxDailyRoom .rs-hint #fxDailyHint{all:unset;display:block;font:inherit;color:inherit;white-space:nowrap}
#fxDailyRoom .rs-hint{width:86cqw;font-size:3.15cqw;padding-left:3cqw;padding-right:3cqw}
#fxDailyRoom .rs-hint{font-size:2.85cqw;gap:1.6cqw}
#fxDailyRoom .rs-hint #fxDailyHint{font:600 2.95cqw/1.25 Poppins,sans-serif!important;margin:0!important;padding:0!important;background:none!important;box-shadow:none!important;border:0!important}
#fxDailyRoom .rs-back{background:linear-gradient(90deg,rgba(13,28,86,.97) 0%,rgba(18,40,112,.88) 40%,rgba(22,48,128,.5) 72%,rgba(22,48,128,.2) 100%),url(../img/home/t8.webp) 45% 30%/cover}#fxDailyRoom .rs-bt em{font-size:2.75cqw}#fxDailyRoom .rs-bt{padding-right:1cqw}
#fxDailyRoom .fx-walk .wk-ic svg{padding:0!important;background:none!important;border-radius:0!important}#fxDailyRoom .fx-walk .wk-ic>svg:first-child{width:100%!important;height:100%!important}.wk-ic-bg{fill:rgba(4,34,18,.9);stroke:rgba(255,255,255,.16);stroke-width:4.5}.wk-ic-fg{stroke:#5dff8f;stroke-width:4.5;filter:drop-shadow(0 0 2px rgba(93,255,143,.8))}#fxDailyRoom .fx-walk .wk-ic-man{width:52%!important;height:52%!important}
/* Round Spin pass 3 (owner 2026-10-16: bigger wheel, smaller text, no overlap, star centred, walk breathes, use the space) */
#fxDailyRoom .rs-wheel{width:90cqw}
/* prize box sits in the coloured band only (14% to 39% of the wheel radius): centre at 26.5%, box 21% */
#fxDailyRoom .rs-seg{width:21%;height:21%;transform:translate(-50%,-50%) rotate(var(--a)) translateY(-126%) rotate(calc(-1 * var(--a)))}
#fxDailyRoom .rs-in img{width:56%;height:48%}
#fxDailyRoom .rs-in b{font-size:3.05cqw;margin-top:.5cqw}
#fxDailyRoom .rs-in small{font-size:2.55cqw}
/* the star fills the blue hub, exactly centred (the wheel art is re-cut so the hub is at 50% / 50%) */
#fxDailyRoom .rs-hub{width:11%;left:50%;top:50%}
#fxDailyRoom .rs-ptr{top:-4%;width:12%}
/* breathing room, filling the screen without waste */
.fs4 #fxDailyRoom{gap:3.2cqw!important}
#fxDailyRoom .rs-hint{margin-top:.5cqw!important}
#fxDailyRoom .rs-back{height:21cqw}
#fxDailyRoom .fx-walk{height:19cqw!important;padding:0 6cqw 0 5.5cqw!important;gap:4cqw}
#fxDailyRoom .fx-walk .wk-ic{flex:0 0 12.5cqw!important;width:12.5cqw;height:12.5cqw}
#fxDailyRoom .fx-walk b{font-size:5.6cqw}
#fxDailyRoom .fx-walk small{font-size:3.5cqw;margin-top:.6cqw}
#fxDailyRoom .rs-poss{height:24cqw;padding-top:3.6cqw}
#fxDailyRoom .rs-poss>div{margin-top:2cqw}
.fs4-tabs button{border-radius:2.7cqw!important}   /* the glow follows the painted frame corners (frames measured in img/fs/top.webp) */
#fxDailyRoom .rs-seg{transform:translate(-50%,-50%) rotate(var(--a)) translateY(-133%) rotate(calc(-1 * var(--a)))}#fxDailyRoom .rs-in small{font-size:2.45cqw}.fs4 #fxDailyRoom{gap:2.6cqw!important}#fxDailyRoom .rs-poss{height:23cqw}#fxDailyRoom .fx-walk{height:18cqw!important}
#fxDailyRoom .rs-seg{transform:translate(-50%,-50%) rotate(var(--a)) translateY(-137%) rotate(calc(-1 * var(--a)))}#fxDailyRoom .rs-in small{font-size:2.25cqw}
#fxDailyRoom .rs-in small.rs-lg{font-size:1.95cqw;letter-spacing:-.01em}
#fxDailyRoom .rs-poss{height:25cqw;padding-top:3.4cqw}#fxDailyRoom .rs-poss img{width:7.6cqw;height:7.6cqw}#fxDailyRoom .rs-poss>div{margin-top:1.6cqw}
/* pass 4 (owner phone 2026-10-16): a safety margin of at least 4 degrees from every divider on any phone font */
#fxDailyRoom .rs-seg{transform:translate(-50%,-50%) rotate(var(--a)) translateY(-140%) rotate(calc(-1 * var(--a)))}
#fxDailyRoom .rs-in img{width:52%;height:44%}
#fxDailyRoom .rs-in b{font-size:2.75cqw;letter-spacing:0}
#fxDailyRoom .rs-in small,#fxDailyRoom .rs-in small.rs-lg{font-size:2.15cqw;letter-spacing:0}
#fxDailyRoom .rs-in b.rs-lg{font-size:2.45cqw}#fxDailyRoom .rs-in small.rs-lg{font-size:1.9cqw}
#fxDailyRoom .rs-seg{transform:translate(-50%,-50%) rotate(var(--a)) translateY(-136%) rotate(calc(-1 * var(--a)))}   /* owner: a little further inside */
/* ---------- Heist Hub (owner's design, 2026-10-16) ---------- */
.pnl.heist{container-type:inline-size;padding-top:0!important}
.hh{position:relative}
.hh .pnl-x{z-index:6}
.hh-head{position:relative;height:30cqw;margin:0 -2cqw}
.hh-plate{position:absolute;left:50%;top:9cqw;transform:translateX(-50%);z-index:3;padding:2.2cqw 6cqw 2.6cqw;border-radius:4cqw;background:linear-gradient(#1b3a9c,#0d1f5e);border:1cqw solid #ffcf4a;box-shadow:0 0 0 .6cqw #8a5a00,0 1.4cqw 3cqw rgba(0,0,0,.45),inset 0 0 3cqw rgba(110,170,255,.35)}
.hh-plate b{display:block;font:400 11cqw/1 "Lilita One",var(--display);color:#ffd84a;text-transform:uppercase;white-space:nowrap;letter-spacing:.01em;
  text-shadow:0 .7cqw 0 #8a4a00,.4cqw .4cqw 0 #5a2c00,-.4cqw .4cqw 0 #5a2c00,0 0 3cqw rgba(255,200,60,.45)}
.hh-crown{position:absolute;left:50%;top:-8.5cqw;width:15cqw;transform:translateX(-50%);filter:drop-shadow(0 .8cqw 1cqw rgba(0,0,0,.45))}
.hh-safe{position:absolute;left:0;top:2cqw;width:22cqw;z-index:2;transform:rotate(-8deg);filter:drop-shadow(0 1cqw 1.4cqw rgba(0,0,0,.45))}
.hh-coins{position:absolute;left:12cqw;top:16cqw;width:13cqw;z-index:2}
.hh-boom{position:absolute;right:3cqw;top:9cqw;width:16cqw;z-index:1;opacity:.95}
.hh-ham{position:absolute;right:0;top:0;width:24cqw;z-index:2;transform:rotate(18deg);filter:drop-shadow(0 1cqw 1.4cqw rgba(0,0,0,.45))}
.hh-sub{margin:1cqw 0 2.4cqw;text-align:center;font:600 3.6cqw/1.3 Poppins,sans-serif;color:#fff}
.hh-sub em{font-style:normal;font-weight:800}.hh-sub .r{color:#ff4d4d}.hh-sub .y{color:#ffd84a}
.hh-stats{display:flex;align-items:center;margin:0 0 3cqw;padding:2.2cqw 3cqw;border-radius:3.4cqw;background:rgba(6,16,52,.65);border:.5cqw solid rgba(120,160,255,.35)}
.hh-stats>div{flex:1;display:flex;align-items:center;justify-content:center;gap:2.4cqw}
.hh-stats>i{width:.4cqw;align-self:stretch;background:rgba(160,190,255,.3)}
.hh-stats svg{width:8.5cqw;height:8.5cqw;flex:none}
.hh-stats span{display:flex;flex-direction:column;align-items:center;line-height:1.1}
.hh-stats small{font:600 3.2cqw/1.2 Poppins,sans-serif;color:#cfe0ff}
.hh-stats b{font:800 5.6cqw/1.1 Poppins,sans-serif;color:#ffd84a}
.hh-cards{display:grid;grid-template-columns:1fr 1fr;gap:2.6cqw;margin-bottom:3cqw}
.hh-card{position:relative;display:flex;align-items:center;gap:1cqw;min-height:29cqw;padding:2cqw 2cqw 2cqw 1cqw;border-radius:3.6cqw;overflow:hidden;text-align:left;color:#fff;border:.8cqw solid #ffcf4a;box-shadow:0 0 0 .5cqw #8a5a00,0 1.2cqw 2.4cqw rgba(0,0,0,.4),inset 0 0 4cqw rgba(255,255,255,.18)}
.hh-card.raid{background:radial-gradient(circle at 30% 40%,#ff5a4a,#c8141f 55%,#7a0710)}
.hh-card.atk{background:radial-gradient(circle at 30% 40%,#ffd86a,#f0a01a 55%,#a85a00)}
.hh-card:disabled{filter:grayscale(.75) brightness(.8)}
.hh-art{position:relative;flex:0 0 40%;height:24cqw}
.hh-bag{position:absolute;left:0;top:0;width:100%;height:85%;object-fit:contain;filter:drop-shadow(0 1cqw 1cqw rgba(0,0,0,.4))}
.hh-pile{position:absolute;left:28%;bottom:0;width:62%;filter:drop-shadow(0 .6cqw .8cqw rgba(0,0,0,.4))}
.hh-house{position:absolute;left:0;bottom:2%;width:100%;filter:drop-shadow(0 1cqw 1cqw rgba(0,0,0,.4))}
.hh-hit{position:absolute;left:14%;top:4%;width:70%;opacity:.9}
.hh-ham2{position:absolute;left:-6%;top:-4%;width:76%;transform:rotate(-28deg);filter:drop-shadow(0 1cqw 1cqw rgba(0,0,0,.45))}
.hh-ct{flex:1;display:flex;flex-direction:column;min-width:0}
.hh-ct b{font:400 8.2cqw/1 "Lilita One",var(--display);text-transform:uppercase;color:#ffe56a;text-shadow:0 .6cqw 0 #6a2a00,.3cqw .3cqw 0 #5a2000,-.3cqw .3cqw 0 #5a2000}
.hh-card.atk .hh-ct b{color:#fff;text-shadow:0 .6cqw 0 #8a4a00,.3cqw .3cqw 0 #7a3a00,-.3cqw .3cqw 0 #7a3a00}
.hh-ct strong{font:400 4.6cqw/1.1 "Lilita One",var(--display);color:#fff;text-shadow:0 .4cqw 0 rgba(0,0,0,.45);margin-top:.4cqw}
.hh-ct small{font:600 3cqw/1.25 Poppins,sans-serif;color:#fff;margin-top:1cqw;text-shadow:0 .3cqw 0 rgba(0,0,0,.35)}
.hh-tabs{display:flex;gap:1cqw;margin-bottom:2.6cqw;padding:1cqw;border-radius:99px;background:rgba(6,16,52,.7);border:.4cqw solid rgba(120,160,255,.3)}
.hh-tabs button{flex:1;display:flex;align-items:center;justify-content:center;gap:1.2cqw;padding:2cqw 1cqw;border-radius:99px;border:0;background:none;color:#e6eeff;font:600 3.6cqw/1 Poppins,sans-serif;white-space:nowrap}
.hh-tabs button svg{width:4.6cqw;height:4.6cqw;flex:none}
.hh-tabs button.on{background:linear-gradient(#ffe27a,#f5b21c);color:#3a2300;box-shadow:inset 0 -.6cqw 0 rgba(150,90,0,.4),0 .6cqw 1.4cqw rgba(0,0,0,.35)}
.hh-tabs .tb-n{font-style:normal;background:#ff3b3b;color:#fff;border-radius:99px;padding:0 1.4cqw;font-size:2.8cqw}
.hh-row{display:grid;grid-template-columns:7cqw 12.5cqw minmax(0,1fr) 15cqw 27cqw;align-items:center;gap:1.8cqw;margin-bottom:2cqw;padding:2.4cqw 2.2cqw;border-radius:3.4cqw;background:linear-gradient(#1d3a8f,#132a6a);border:.4cqw solid rgba(130,170,255,.3)}
.heist .rl-list[data-p="hit"] .hh-row{grid-template-columns:12.5cqw minmax(0,1fr) 15cqw 27cqw}
.hh-rk{position:relative;display:grid;place-items:center;width:7cqw;height:7.8cqw}
.hh-rk svg{position:absolute;inset:0;width:100%;height:100%}
.hh-rk svg path{fill:#c98a14}.hh-rk svg .in{fill:#5a2c00}
.hh-rk.r1 svg path{fill:#ffcf4a}.hh-rk.r1 svg .in{fill:#a8620a}
.hh-rk.r2 svg path{fill:#dfe6f0}.hh-rk.r2 svg .in{fill:#5d6b82}
.hh-rk.r3 svg path{fill:#d98a4a}.hh-rk.r3 svg .in{fill:#7a3a10}
.hh-rk.r4 svg path{fill:#6d84c4}.hh-rk.r4 svg .in{fill:#22336a}
.hh-rk b{position:relative;font:400 4cqw/1 "Lilita One",var(--display);color:#fff;text-shadow:0 .3cqw 0 rgba(0,0,0,.5)}
.hh-rk-c{position:absolute;top:-4.6cqw;left:50%;width:6cqw;transform:translateX(-50%)}
.hh-av{width:12.5cqw;height:12.5cqw;border-radius:50%;overflow:hidden;border:.7cqw solid #7fb4ff;box-shadow:0 0 0 .4cqw #0d1f5e}
.hh-av img{width:100%;height:100%;object-fit:cover}
.hh-who{display:flex;flex-direction:column;min-width:0;line-height:1.15}
.hh-who b{font:700 3.6cqw/1.2 Poppins,sans-serif;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hh-cash{display:flex;align-items:center;gap:1cqw;margin-top:.6cqw}
.hh-cash img{width:5.6cqw;height:4cqw;object-fit:contain}
.hh-cash i{font:800 4.4cqw/1 Poppins,sans-serif;font-style:normal;color:#5dff8f}
.hh-who small{font:500 2.8cqw/1.2 Poppins,sans-serif;color:#dfe8ff;margin-top:.6cqw}
.hh-def{display:flex;flex-direction:column;align-items:flex-start;gap:.8cqw;min-width:0}
.hh-def .rl-sh{display:flex;gap:.4cqw}
.hh-def .rl-sh svg{width:4.2cqw;height:4.6cqw}
.hh-def small{font:500 2.5cqw/1.25 Poppins,sans-serif;color:#9fc0ff}
.hh-acts{display:flex;flex-direction:column;gap:1.6cqw}
.hh-b{display:flex;align-items:center;justify-content:center;gap:1.2cqw;min-height:9.4cqw;padding:0 1.6cqw;border-style:solid;border-width:0;background:none;border-image:url(../img/ui3/btn-red.webp?v=1) 112 200 fill / 3.4cqw 6.07cqw stretch;color:#fff;font:400 3.4cqw/1 "Lilita One",var(--display);text-shadow:0 .3cqw 0 rgba(0,0,0,.45);white-space:nowrap}
.hh-b.gold{border-image-source:url(../img/ui3/btn-gold.webp?v=2);color:#3a2300;text-shadow:0 .25cqw 0 rgba(255,255,255,.4)}
.hh-b img{width:4.8cqw;height:4.8cqw;object-fit:contain;flex:none}
.hh-b.off{border-image:none;background:rgba(150,165,200,.35);border-radius:2.4cqw;color:#e6ecfa;text-shadow:none}
.hh-b span{display:flex;flex-direction:column;align-items:center;line-height:1.05}
.hh-b small{font:500 2.2cqw/1.1 Poppins,sans-serif;opacity:.85}
.hh-rob{display:flex;align-items:center;gap:2.4cqw;width:100%;margin:.6cqw 0 2.4cqw;padding:1.8cqw 3cqw;border-radius:3cqw;border:.4cqw dashed rgba(120,220,160,.5);background:rgba(20,80,50,.35);color:#c9ffd9;text-align:left}
.hh-rob img{width:8cqw;height:8cqw;object-fit:contain}
.hh-rob span{font:700 3.4cqw/1.2 Poppins,sans-serif}.hh-rob small{display:block;font:500 2.8cqw Poppins,sans-serif;color:#9fd8b4}
.hh-mydef{display:flex;align-items:center;gap:3cqw;padding:3cqw 3.4cqw;border-radius:4cqw;background:linear-gradient(#2350c4,#14307e);border:.6cqw solid #6fa0ff;box-shadow:inset 0 0 4cqw rgba(140,190,255,.25)}
.hh-mydef>img{width:14cqw;height:15cqw;object-fit:contain;flex:none;filter:drop-shadow(0 .8cqw 1cqw rgba(0,0,0,.4))}
.hh-mydef>span{flex:1;display:flex;flex-direction:column;min-width:0}
.hh-mydef b{font:400 6cqw/1.05 "Lilita One",var(--display);color:#fff}
.hh-mydef small{font:500 3cqw/1.3 Poppins,sans-serif;color:#dfe8ff;margin-top:.6cqw}
.hh-manage{flex:none;min-height:11cqw;padding:0 4.4cqw 0 3.6cqw;border-style:solid;border-width:0;background:none;border-image:url(../img/ui3/btn-blue.webp?v=1) 112 200 fill / 3.6cqw 6.43cqw stretch;color:#fff;font:400 3.8cqw/1 "Lilita One",var(--display);text-shadow:0 .3cqw 0 rgba(0,0,0,.4);white-space:nowrap}
.hh-manage::after{content:"\203A";margin-left:1.4cqw;font-size:5cqw}
.hh-art{flex:0 0 34%}.hh-ct b{font-size:7.4cqw}.hh-ct strong{font-size:4.1cqw;white-space:nowrap}.hh-ct small{font-size:2.85cqw}.hh-card{padding-right:2.4cqw}
.hh-row{grid-template-columns:7cqw 12cqw minmax(0,1fr) 12.5cqw 30cqw;gap:1.5cqw}.heist .rl-list[data-p="hit"] .hh-row{grid-template-columns:12cqw minmax(0,1fr) 12.5cqw 30cqw}.hh-av{width:12cqw;height:12cqw}
.hh-b{font-size:3.15cqw;padding:0 2cqw;gap:1cqw}.hh-b img{width:4.4cqw;height:4.4cqw}.hh-cash i{font-size:4.1cqw}
/* Heist Hub with the owner's art (2026-10-16) */
.hh-head2{position:relative;margin:-1cqw -1.5cqw 2.4cqw}
.hh-head2 img{display:block;width:100%;height:auto}
.hh-sub2{position:absolute;left:6%;right:6%;top:79.5%;height:13.5%;display:flex;align-items:center;justify-content:center;margin:0;text-align:center;font:600 3.35cqw/1.1 Poppins,sans-serif;color:#fff;white-space:nowrap;text-shadow:0 .3cqw 0 rgba(0,0,0,.45)}
.hh-sub2 em{font-style:normal;font-weight:800}.hh-sub2 .r{color:#ff5a5a}.hh-sub2 .y{color:#ffd84a}
.hh-card2{position:relative;display:block;padding:0;border:0;background:none;border-radius:4cqw}
.hh-card2 img{display:block;width:100%;height:auto;pointer-events:none}
.hh-card2:disabled img{filter:grayscale(.8) brightness(.75)}
.hh-card2:not(:disabled):active{transform:scale(.97)}
.hh-tag{position:absolute;right:4%;top:6%;padding:.6cqw 2cqw;border-radius:99px;background:rgba(10,20,60,.82);border:.4cqw solid #ffd84a;color:#ffd84a;font:700 2.7cqw/1.2 Poppins,sans-serif;white-space:nowrap}
.hh-tag.off{left:50%;right:auto;top:auto;bottom:8%;transform:translateX(-50%);border-color:#c9d3ea;color:#fff;background:rgba(20,24,40,.85)}
.hh-cards{gap:2cqw}
.hh-ib{display:block;width:100%;padding:0;border:0;background:none;line-height:0}
.hh-ib img{display:block;width:100%;height:auto;pointer-events:none;filter:drop-shadow(0 .5cqw .7cqw rgba(0,0,0,.35))}
.hh-ib:active{transform:scale(.96)}
.hh-acts{gap:1cqw;align-items:stretch}
.hh-mydef2{display:block;width:calc(100% + 2cqw);margin:0 -1cqw;padding:0;border:0;background:none;line-height:0}
.hh-mydef2 img{display:block;width:100%;height:auto;pointer-events:none}
.hh-mydef2:active{transform:scale(.98)}
.hh-sub2{font-size:3.05cqw;left:9%;right:9%}.hh-tag{right:auto;left:5%;top:auto;bottom:9%}.hh-tag.off{left:50%;bottom:8%}.hh-mydef2{width:100%;margin:0}
.heist .rl-list{-webkit-mask-image:linear-gradient(#000 82%,transparent);mask-image:linear-gradient(#000 82%,transparent);padding-bottom:6cqw;scrollbar-width:none}.heist .rl-list::-webkit-scrollbar{display:none}
html .sheet .st-row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2.4cqw}html .sheet .st-row .ac-btn:is(.white,.blue,.green,.gold):not(.sm){min-width:0!important;width:100%!important;padding-left:2cqw!important;padding-right:2cqw!important;font-size:clamp(13px,4.6cqw,18px)!important;white-space:nowrap;overflow:hidden}   /* owner 2026-10-16: settings buttons fit */
/* Heist Hub clarity pass (owner 2026-10-16: "make text clear, avoid overlapping") */
.hh-cards{margin-bottom:1.2cqw}
.hh-capt{display:grid;grid-template-columns:1fr 1fr;gap:2cqw;margin-bottom:3cqw;text-align:center}
.hh-capt span{font:700 3.2cqw/1.2 Poppins,sans-serif;color:#ffd84a}
.hh-capt span.off{color:#c9d3ea;font-weight:600}
.hh-row{grid-template-columns:7cqw 12cqw minmax(0,1fr) 16.5cqw 28cqw;gap:1.6cqw}
.heist .rl-list[data-p="hit"] .hh-row{grid-template-columns:12cqw minmax(0,1fr) 16.5cqw 28cqw}
.hh-def small{font:600 2.85cqw/1.25 Poppins,sans-serif;color:#cfe0ff;white-space:nowrap}
.hh-def small+small{color:#9fc0ff;font-weight:500}
.hh-who b{font-size:3.7cqw}.hh-who small{font-size:2.9cqw}
.hh-b.off{min-height:10.4cqw;padding:0 1.4cqw}
.hh-b.off span{font:400 3.6cqw/1.05 "Lilita One",var(--display)}
.hh-b.off small{font:600 2.6cqw/1.15 Poppins,sans-serif;opacity:.95;margin-top:.4cqw;white-space:nowrap}
/* Google on the Save My Account panel (2026-10-16) */
.cl-or{display:flex;align-items:center;gap:10px;margin:2px 0;color:#9fb4e8;font:600 12px var(--body)}
.cl-or::before,.cl-or::after{content:"";flex:1;height:1px;background:rgba(159,180,232,.35)}
.claim .cl-google{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;padding:0 14px;border:0;border-radius:14px;background:#fff;color:#1d2a52;font:700 16px var(--body);box-shadow:0 3px 0 #b9c4d8;cursor:pointer}
.claim .cl-google svg{width:22px;height:22px;flex:none}
.claim .cl-google:active{transform:translateY(2px);box-shadow:0 1px 0 #b9c4d8}
/* profile: the old #profBody .gbtn{border:0!important} wiped the premium art off the coloured buttons (they showed as bare text) */
#profBody .gbtn:is(.green,.gold,.red,.violet):not(.mini):not(.sm){border-style:solid!important;border-width:0!important;border-color:transparent!important;border-radius:0!important;
  border-image:url(../img/ui3/btn-green.webp?v=1) 112 200 fill / 21px 38px stretch!important;min-height:44px;font:400 17px/1.1 "Lilita One",var(--display)!important;color:#fff!important;text-shadow:0 2px 0 rgba(0,0,0,.35),0 0 2px rgba(0,0,0,.35)!important}
#profBody .gbtn.gold:not(.mini):not(.sm){border-image-source:url(../img/ui3/btn-gold.webp?v=2)!important}
#profBody .gbtn.red:not(.mini):not(.sm){border-image-source:url(../img/ui3/btn-red.webp?v=1)!important}
#profBody .gbtn.violet:not(.mini):not(.sm){border-image-source:url(../img/ui3/btn-purple.webp?v=1)!important}
.claim .cl-fb{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;padding:0 14px;border:0;border-radius:14px;background:#1877f2;color:#fff;font:700 16px var(--body);box-shadow:0 3px 0 #0d4fa8;cursor:pointer}
.claim .cl-fb svg{width:24px;height:24px;flex:none}
.claim .cl-fb:active{transform:translateY(2px);box-shadow:0 1px 0 #0d4fa8}
.claim .cl-google span,.claim .cl-fb span{white-space:nowrap;min-width:0}
.art-pop.fp .fp-x{position:absolute;right:0;top:19.5%;width:40px;height:40px;z-index:3;border:0;padding:0;background:url(../img/ui3/close.webp?v=1) center/contain no-repeat;box-shadow:none;filter:drop-shadow(0 3px 3px rgba(0,0,0,.45))}.art-pop.fp .fp-x:active{transform:scale(.92)}
/* Settings > Connected Accounts (2026-10-16) */
.st-link{display:flex;flex-direction:column;gap:6px;margin:8px 0 4px;padding:10px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.04);text-align:left}
.st-link>b{font:600 14px var(--body);color:var(--ink)}
.st-link>small{font:500 11.5px var(--body);color:var(--ink2);margin-top:-4px}
.st-link .st-lk{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:0 10px;border:0;border-radius:10px;background:#fff;color:#1d2a52;font:700 14.5px var(--body);box-shadow:0 2px 0 #b9c4d8;cursor:pointer}
.st-link .st-lk svg{width:22px;height:22px;flex:none}
.st-link .st-lk span{flex:1;text-align:left;white-space:nowrap}
.st-link .st-lk em{font-style:normal;font:700 12px var(--body);padding:5px 10px;border-radius:99px;background:#1877f2;color:#fff;white-space:nowrap}
.st-link .st-lk em.on{background:#e6f7ec;color:#13843b}
.st-link .st-lk:disabled{cursor:default;opacity:1}
.st-link .st-lk:not(:disabled):active{transform:translateY(2px);box-shadow:none}
/* landing sign-in buttons: the owner's art (2026-10-16). Each button's width follows its art's shape (--ar = width/height),
   so all three come out exactly the same height and the row fills the width edge to edge */
html .ld-auth{display:flex!important;gap:6px;align-items:center}
html .ld-auth>button{flex:var(--ar) 1 0;height:auto!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;min-width:0}
html .ld-auth>button[hidden]{display:none!important}
html .ld-auth>button img{display:block;width:100%;height:auto;filter:drop-shadow(0 3px 4px rgba(0,0,0,.35))}
html .ld-auth>button:active{transform:translateY(2px) scale(.98)}
/* top bar alignment (owner 2026-10-16 "doesn't sit right"). The bar is a 941x142 design canvas. The name and the pill row form one
   block centred on the avatar; the three pills share one height, one width and one style (energy had no pill); the gear sits on the pill row */
html .hud-av{top:12px!important}
html .hud-me{top:22px!important;height:34px!important}
html .hud-me b{line-height:34px!important}
html .hud-cur,html .hud-cur.nrg{top:64px!important;height:58px!important;box-sizing:border-box!important;border-radius:30px!important;background:rgba(255,255,255,.06)!important;box-shadow:inset 0 0 0 2px rgba(120,150,230,.22)!important;overflow:hidden}
html .hud-cur.coin{left:150px!important;width:224px!important;padding:0 6px 0 4px!important}
html .hud-cur.gem{left:388px!important;width:224px!important;padding:0 14px 0 4px!important}
html .hud-cur.nrg{left:626px!important;width:224px!important;padding:0 12px 0 6px!important;justify-content:center!important;gap:6px!important}
html .hud-cur.nrg img{height:44px!important}
html .hud-gear{top:65px!important;left:866px!important}
/* the owner's Google / Facebook art on the profile and in Settings (same rule as the landing row) */
.soc-row{display:flex;gap:8px;align-items:center}
.soc-row .soc-b{position:relative;flex:var(--ar) 1 0;min-width:0;padding:0;border:0;background:none;box-shadow:none;cursor:pointer}
.soc-row .soc-b img{display:block;width:100%;height:auto;filter:drop-shadow(0 3px 4px rgba(0,0,0,.35))}
.soc-row .soc-b:not(:disabled):active{transform:translateY(2px) scale(.98)}
.soc-row .soc-b.on{cursor:default;opacity:1}
.soc-row .soc-b.on img{filter:saturate(.55) brightness(.8)}
.soc-row .soc-ok{position:absolute;right:-2px;top:-8px;padding:2px 8px 2px 6px;border-radius:99px;background:#1fa64a;color:#fff;font:700 10.5px/1.4 var(--body);font-style:normal;box-shadow:0 2px 0 #0d6a2c;white-space:nowrap}
.soc-row .soc-ok::before{content:"\2713 "}
.st-link .soc-row{margin-top:4px}
#profBody #pEdit.gbtn,#profBody .gbtn.blue:not(.mini):not(.sm){border-style:solid!important;border-width:0!important;border-color:transparent!important;border-radius:0!important;background:none!important;box-shadow:none!important;
  border-image:url(../img/ui3/btn-blue.webp?v=2) 112 200 fill / 21px 38px stretch!important;min-height:44px;font:400 17px/1.1 "Lilita One",var(--display)!important;color:#fff!important;text-shadow:0 2px 0 rgba(0,0,0,.35),0 0 2px rgba(0,0,0,.35)!important}
/* Out Of Moves: the page that earns money must read at a glance (owner 2026-10-16). Every label gets a dark outline in the button's
   own colour so it stays sharp on the bright green and gold art; the price sits in a dark chip; the streak warning is bright */
html .sheet.oom .ac-btn.wv .wv-t b{font:400 23px/1.05 "Lilita One",var(--display)!important;color:#fff!important;-webkit-text-stroke:3px #0b5a19;paint-order:stroke fill;text-shadow:0 3px 0 #0b5a19!important;letter-spacing:.01em}
html .sheet.oom .ac-btn.wv .wv-t small{margin-top:3px;padding:1px 10px;border-radius:99px;background:rgba(0,60,15,.55);font:700 13px/1.4 var(--body)!important;color:#fff!important;opacity:1!important;text-shadow:none!important}
html .sheet.oom .ac-btn.wv .wv-ic{width:38px;height:38px}
html .sheet.oom .ac-btn.gold{font:400 25px/1 "Lilita One",var(--display)!important;color:#fff!important;-webkit-text-stroke:3px #8a4700;paint-order:stroke fill;text-shadow:0 3px 0 #8a4700!important;gap:12px}
html .sheet.oom .ac-btn.gold .ac-cost{-webkit-text-stroke:0;background:#4a2400!important;box-shadow:inset 0 0 0 2px rgba(255,214,90,.55);padding:4px 12px 4px 5px!important;border-radius:99px!important;font:400 21px/1 "Lilita One",var(--display)!important;color:#fff!important;text-shadow:none!important}
html .sheet.oom .ac-btn.gold .ac-cost img{height:22px!important;width:auto}
html .sheet.oom .oom-streak i{font:700 14px var(--body)!important;color:#ffe2dc!important;text-shadow:0 2px 0 rgba(90,0,0,.6)}
html .sheet.oom .ac-txt{font:600 15px var(--body)!important;color:#fff!important}
html .sheet.oom .ac-quit{font:700 16px var(--body)!important;color:#fff!important;opacity:.92}
html .sheet.oom .ac-btn.wv{height:auto!important;min-height:72px!important;padding:9px 20px!important;gap:12px!important}
html .sheet.oom .ac-btn.gold{height:auto!important;min-height:62px!important;padding:8px 20px!important}
html .sheet.oom .ac-btn.wv .wv-t{gap:2px}
/* Reconnecting pill (2026-10-16): small, under the top bar, never over the board's goals */
#netPill{position:fixed;left:50%;top:calc(env(safe-area-inset-top,0px) + 64px);transform:translateX(-50%);z-index:9999;display:flex;align-items:center;gap:8px;max-width:calc(100vw - 32px);padding:7px 14px;border-radius:99px;background:rgba(10,20,55,.92);border:1.5px solid #ffcf3a;color:#fff;font:700 13px/1.25 var(--body);box-shadow:0 4px 14px rgba(0,0,0,.4);pointer-events:none;animation:npIn .25s ease-out}
#netPill.ok{border-color:#3ddc6a;background:rgba(10,70,30,.94)}
#netPill .np-spin{width:14px;height:14px;flex:none;border-radius:50%;border:2.5px solid rgba(255,255,255,.3);border-top-color:#ffcf3a;animation:npSpin .8s linear infinite}
@keyframes npSpin{to{transform:rotate(360deg)}}
@keyframes npIn{from{opacity:0;transform:translate(-50%,-6px)}}
/* the outlines must win over the older button rules (one of them reset text-stroke to 0) */
html body .sheet.oom .ac-btn.wv .wv-t b{-webkit-text-stroke:3px #0b5a19!important;paint-order:stroke fill!important}
html body .sheet.oom .ac-btn.gold{-webkit-text-stroke:3px #8a4700!important;paint-order:stroke fill!important}
html body .sheet.oom .ac-btn.gold .ac-cost{-webkit-text-stroke:0!important}
html body .sheet.oom .oom-streak i{-webkit-text-stroke:0!important}
/* the ad video plays full screen again (2026-10-16); the still covers it only until its first frame */
.pv-full video.pv-vid:not(.pv-src){position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:contain;opacity:1;z-index:0}
.pv-full .pv-pic.pv-cover{position:absolute;inset:0;z-index:1}
.pv-full .pv-top,.pv-full .pv-cta,.pv-full .pv-collect{z-index:3}
/* ===== Out Of Moves, rebuilt from the owner's sample (2026-10-16). --W is the card width; every size follows it ===== */
.sheet.oom2-sheet{background:none!important;box-shadow:none!important;border:0!important;padding:0!important;overflow:visible!important;max-height:none!important}
.oom2{--W:min(calc(100vw - 32px),380px);position:relative;width:var(--W);box-sizing:border-box;margin:calc(var(--W)*.12) auto 0;text-align:center;
  border-style:solid;border-width:calc(var(--W)*.225) calc(var(--W)*.0611) calc(var(--W)*.1736);border-image:url(../img/oom/frame.webp?v=2) 162 44 125 44 fill / calc(var(--W)*.225) calc(var(--W)*.0611) calc(var(--W)*.1736) stretch;
  padding:calc(var(--W)*.06) calc(var(--W)*.03) 0;display:flex;flex-direction:column;align-items:center;gap:calc(var(--W)*.022)}
.oom2-banner{position:absolute;left:50%;top:calc(var(--W)*-.335);width:calc(var(--W)*1.1);transform:translateX(-50%);pointer-events:none;filter:drop-shadow(0 4px 6px rgba(0,0,0,.35))}
.oom2-flame{position:relative;width:calc(var(--W)*.34);margin-top:calc(var(--W)*.0)}
.oom2-flame img{display:block;width:100%;height:auto;filter:drop-shadow(0 0 calc(var(--W)*.03) rgba(255,140,30,.75))}
.oom2-flame b{position:absolute;left:0;right:0;top:44%;font:400 calc(var(--W)*.135)/1 "Lilita One",var(--display);color:#fff;-webkit-text-stroke:calc(var(--W)*.011) #8a1c00;paint-order:stroke fill;text-shadow:0 calc(var(--W)*.008) 0 #8a1c00}
.oom2-x{position:absolute;right:-14%;bottom:4%;width:42%;aspect-ratio:1;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 5l14 14M19 5L5 19' stroke='%237a0000' stroke-width='6.5' stroke-linecap='round'/%3E%3Cpath d='M5 5l14 14M19 5L5 19' stroke='%23ff2a2a' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat}
.oom2-streak{display:block;width:calc(var(--W)*.74);height:auto;margin-top:calc(var(--W)*-.03)}
.oom2-togo{margin:calc(var(--W)*.005) 0 0;font:700 calc(var(--W)*.05)/1.2 var(--body);color:#fff;text-shadow:0 2px 0 rgba(0,20,80,.8),0 0 6px rgba(0,20,80,.6)}
.oom2-pills{display:grid;grid-template-columns:1fr 1fr;gap:calc(var(--W)*.025);width:100%}
.oom2-pills.three{grid-template-columns:repeat(3,1fr)}
.oom2-pills:has(.oom2-pill:only-child){grid-template-columns:.5fr;justify-content:center}
.oom2-pill{display:flex;align-items:center;justify-content:center;gap:calc(var(--W)*.04);aspect-ratio:420/157;background:url(../img/oom/pill.webp?v=2) center/100% 100% no-repeat}
.oom2-pill img,.oom2-pill .gi{width:calc(var(--W)*.105);height:calc(var(--W)*.105);object-fit:contain;display:grid;place-items:center}
.oom2-pill .gi svg{width:100%;height:100%}
.oom2-pill b{font:400 calc(var(--W)*.085)/1 "Lilita One",var(--display);color:#fff;-webkit-text-stroke:calc(var(--W)*.008) #0a2a7a;paint-order:stroke fill}
.oom2-watch,.oom2-coin{position:relative;display:block;width:104%;margin:0 -2%;padding:0;border:0;background:none;cursor:pointer}
.oom2-watch{aspect-ratio:820/217;background:url(../img/oom/watch.webp?v=1) center/100% 100% no-repeat}
.oom2-wt{position:absolute;left:21%;right:21%;top:0;bottom:4%;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.oom2-wt b{font:400 calc(var(--W)*.068)/1.05 "Lilita One",var(--display);color:#fff;white-space:nowrap;-webkit-text-stroke:calc(var(--W)*.011) #075c14;paint-order:stroke fill;text-shadow:0 calc(var(--W)*.007) 0 #075c14}
.oom2-wt small{margin-top:calc(var(--W)*.008);font:800 calc(var(--W)*.042)/1.1 var(--body);color:#fff;white-space:nowrap;-webkit-text-stroke:calc(var(--W)*.008) #075c14;paint-order:stroke fill}
.oom2-coin{aspect-ratio:820/185;background:url(../img/oom/coin.webp?v=2) center/100% 100% no-repeat}
.oom2-coin>b{position:absolute;left:24%;width:36%;top:0;bottom:4%;display:flex;align-items:center;justify-content:center;font:400 calc(var(--W)*.075)/1 "Lilita One",var(--display);color:#fff;white-space:nowrap;-webkit-text-stroke:calc(var(--W)*.012) #8a4700;paint-order:stroke fill;text-shadow:0 calc(var(--W)*.007) 0 #8a4700}
.oom2-price{position:absolute;left:60.5%;width:33%;top:22%;bottom:24%;display:flex;align-items:center;justify-content:center;gap:calc(var(--W)*.018);font:400 calc(var(--W)*.072)/1 "Lilita One",var(--display);color:#fff;text-shadow:0 2px 0 rgba(60,25,0,.8)}
.oom2-price img{height:calc(var(--W)*.07);width:auto}
/* short of coins: the button stays bright, it now opens the Shop (owner 2026-10-23) */
.oom2-watch:active,.oom2-coin:active,.oom2-end:active{transform:scale(.97)}
.oom2-end{display:block;width:calc(var(--W)*.42);margin:calc(var(--W)*.005) auto 0;padding:0;border:0;background:none;cursor:pointer}
.oom2-end img{display:block;width:100%;height:auto}
.oom2 .mv-hero{margin:0}
/* a phone this short: shrink the whole card so it never scrolls */
@media (max-height:700px){.oom2{--W:min(calc(100vw - 32px),330px)}}
@media (max-height:600px){.oom2{--W:min(calc(100vw - 32px),285px)}}
.oom2-wt{left:22.5%;right:22%}
.oom2-wt b{font-size:calc(var(--W)*.061)}
.oom2-togo{font-size:calc(var(--W)*.058)!important}
/* owner 2026-10-16: white text with a black outline and black shadow on every Out Of Moves label, so it pops on the bright art */
.oom2-wt b,.oom2-wt small,.oom2-coin>b,.oom2-price,.oom2-pill b,.oom2-flame b,.oom2-togo{color:#fff!important;-webkit-text-stroke:calc(var(--W)*.009) #000!important;paint-order:stroke fill!important;
  text-shadow:0 calc(var(--W)*.008) 0 #000,0 0 calc(var(--W)*.012) rgba(0,0,0,.85)!important}
.oom2-wt small,.oom2-togo{-webkit-text-stroke:calc(var(--W)*.006) #000!important}
/* owner 2026-10-16: a very clear font on Out Of Moves: Poppins ExtraBold (wide open letters) instead of the narrow display font */
html body .oom2 .oom2-wt b{font:800 calc(var(--W)*.052)/1.1 Poppins,var(--body)!important}
html body .oom2 .oom2-wt small{font:700 calc(var(--W)*.04)/1.15 Poppins,var(--body)!important}
html body .oom2 .oom2-coin>b{font:800 calc(var(--W)*.06)/1 Poppins,var(--body)!important}
html body .oom2 .oom2-price{font:800 calc(var(--W)*.058)/1 Poppins,var(--body)!important}
html body .oom2 .oom2-pill b{font:800 calc(var(--W)*.072)/1 Poppins,var(--body)!important}
html body .oom2 .oom2-flame b{font:800 calc(var(--W)*.115)/1 Poppins,var(--body)!important;top:46%}
html body .oom2 .oom2-togo{font:700 calc(var(--W)*.052)/1.2 Poppins,var(--body)!important}
html body .oom2 .oom2-wt{left:21.5%!important;right:20.5%!important}
html body .oom2 .oom2-wt b{font-size:calc(var(--W)*.047)!important}
/* owner 2026-10-16 "too bold, overlapping": lighter weight, a thin outline and a soft black shadow, and the text never leaves the plain middle */
html body .oom2 .oom2-wt{left:23%!important;right:23%!important}
html body .oom2 .oom2-wt b,html body .oom2 .oom2-coin>b,html body .oom2 .oom2-price,html body .oom2 .oom2-pill b,html body .oom2 .oom2-flame b,html body .oom2 .oom2-togo,html body .oom2 .oom2-wt small{
  font-weight:700!important;-webkit-text-stroke:0!important;text-shadow:0 1px 0 #000,0 2px 3px rgba(0,0,0,.9),0 0 1px #000!important;letter-spacing:.01em}
html body .oom2 .oom2-wt small{font-weight:600!important}
html body .oom2 .oom2-wt b,html body .oom2 .oom2-wt small,html body .oom2 .oom2-coin>b{white-space:nowrap}
.pv-wait{position:fixed;inset:0;z-index:2147483001;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#000;color:#fff;font:700 16px Poppins,var(--body)}
.pv-wait .np-spin{width:34px;height:34px;border-radius:50%;border:4px solid rgba(255,255,255,.25);border-top-color:#ffcf3a;animation:npSpin .8s linear infinite}
/* every Out Of Moves button shows it was pressed */
.oom2-watch:active,.oom2-coin:active,.oom2-end:active{transform:scale(.96)!important;filter:brightness(1.12)}
.oom2 button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
@media (max-width:359px){.oom2{--W:calc(100vw - 18px)}}
html body .oom2 .oom2-wt{left:22.5%!important;right:21.5%!important}
/* Heist Hub rows, owner 2026-10-17 "buttons too small for big fingers": each player gets a taller card. Top line: rank, a bigger
   photo, name and cash, shields and rank. Bottom line: the two action buttons side by side, big and the same height */
html .heist .hh-row,html .hh-row{grid-template-columns:7cqw 15cqw minmax(0,1fr) auto!important;grid-template-areas:"rk av who def" "acts acts acts acts";row-gap:2.6cqw!important;column-gap:2.2cqw!important;padding:3cqw 3cqw 3.2cqw!important;margin-bottom:2.6cqw}
html .heist .rl-list[data-p="hit"] .hh-row{grid-template-columns:15cqw minmax(0,1fr) auto!important;grid-template-areas:"av who def" "acts acts acts"}
.hh-row>.hh-rk{grid-area:rk}.hh-row>.hh-av{grid-area:av}.hh-row>.hh-who{grid-area:who}.hh-row>.hh-def{grid-area:def}.hh-row>.hh-acts{grid-area:acts}
html .hh-av{width:15cqw!important;height:15cqw!important}
html .hh-who b{font-size:4.2cqw!important}
html .hh-who small{font-size:3.1cqw!important}
html .hh-cash i{font-size:4.6cqw!important}
html .hh-def small{font-size:3cqw!important}
html .hh-def .rl-sh svg{width:4.8cqw;height:5.2cqw}
html .hh-acts{flex-direction:row!important;justify-content:center;align-items:center;gap:2.4cqw!important}
html .hh-acts .hh-ib{width:auto;flex:none;height:12.5cqw}
html .hh-acts .hh-ib img{height:100%;width:auto}
html .hh-acts .hh-b.off{flex:0 1 40cqw;min-height:12.5cqw!important;border-radius:3cqw}
html .hh-acts .hh-b.off span{font-size:3.9cqw!important}
html .hh-acts .hh-b.off small{font-size:2.9cqw!important}
/* a sign-in button never grows past its normal size when the others are hidden (no network, keys not set) */
html .ld-auth{justify-content:center}
html .ld-auth>button{max-width:calc(var(--ar) * 46px)}
/* ===== Shop kits (2026-10-17): big cards that sell. White Poppins with black shadow (owner's clear-text rule) ===== */
.kit-card{grid-column:1/-1;position:relative;display:flex;flex-direction:column;gap:10px;padding:14px 14px 14px;border-radius:18px;border:2px solid rgba(255,214,90,.55);
  background:linear-gradient(160deg,#1f4fc4 0%,#14327f 55%,#0e2463 100%);box-shadow:0 6px 16px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.18);color:#fff;text-shadow:0 1px 0 #000,0 2px 3px rgba(0,0,0,.7);overflow:hidden}
.kit-card.k-starter{background:linear-gradient(160deg,#1a8f7a 0%,#0f6157 55%,#0a4440 100%)}
.kit-card.k-blast{background:linear-gradient(160deg,#8c3fd6 0%,#5b2398 55%,#3d1570 100%)}
.kit-card.k-mega{background:linear-gradient(160deg,#e0901a 0%,#b0560b 55%,#7a3505 100%);border-color:#ffe27a}
.kit-card.hero{border:3px solid #ffd84a;box-shadow:0 0 0 2px rgba(255,216,74,.35),0 0 22px rgba(255,200,40,.45),0 8px 18px rgba(0,0,0,.4)}
.kit-card.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.18) 45%,transparent 60%);background-size:250% 100%;animation:kitShine 3.2s ease-in-out infinite;pointer-events:none}
@keyframes kitShine{0%{background-position:150% 0}60%,100%{background-position:-60% 0}}
.kit-dealbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:-14px -14px 0;padding:8px 14px;background:linear-gradient(90deg,#e8161c,#ff5a1f);font:700 14px/1.2 Poppins,var(--body)}
.kit-dealbar b{font-weight:800;text-transform:none;letter-spacing:.01em}
.kit-dealbar span{font-weight:600;font-size:13px;white-space:nowrap}.kit-dealbar em{font-style:normal;font-weight:800;font-variant-numeric:tabular-nums}
.kit-tag{align-self:flex-start;padding:3px 10px;border-radius:99px;background:rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.3);font:700 12px/1.3 Poppins,var(--body)}
.kit-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.kit-name{font:800 21px/1.1 Poppins,var(--body)}
.kit-card.hero .kit-name{font-size:24px}
.kit-save{flex:none;padding:5px 12px;border-radius:10px;background:#ffd84a;color:#4a2200;font:800 15px/1.1 Poppins,var(--body);text-shadow:none;transform:rotate(-3deg);box-shadow:0 2px 0 #a8650a}
.kit-items{display:flex;flex-wrap:wrap;gap:8px}
.kit-it{position:relative;display:grid;place-items:center;width:58px;height:58px;border-radius:14px;background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.18)}
.kit-card.hero .kit-it{width:64px;height:64px}
.kit-it img{width:78%;height:78%;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(0,0,0,.4))}
.kit-it i{position:absolute;right:-4px;bottom:-5px;min-width:24px;padding:1px 5px;border-radius:99px;background:#fff;color:#14327f;font:800 13px/1.3 Poppins,var(--body);font-style:normal;text-shadow:none;box-shadow:0 1px 3px rgba(0,0,0,.4)}
.kit-buy{display:flex;align-items:center;justify-content:space-between;gap:10px}
.kit-worth{display:flex;flex-direction:column;font:600 14px/1.25 Poppins,var(--body)}
.kit-worth s{font-weight:700;text-decoration-thickness:2px;text-decoration-color:#ff4a4a}
.kit-worth small{font:600 12px/1.2 Poppins,var(--body);opacity:.9}
.kit-btn{flex:none;display:flex;align-items:center;justify-content:center;gap:7px;min-width:44%;min-height:50px;padding:0 18px;border-style:solid;border-width:0;background:none;
  border-image:url(../img/ui3/btn-green.webp?v=1) 112 200 fill / 21px 38px stretch;color:#fff;font:800 20px/1 Poppins,var(--body);text-shadow:0 1px 0 #000,0 2px 3px rgba(0,0,0,.8);cursor:pointer}
.kit-btn img{width:24px;height:24px}
.kit-btn:active{transform:scale(.96)}
/* owner 2026-10-17 "make this notification smaller": a compact pill, sized to its words, over the top edge instead of a wide card */
html .toast{left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:max-content!important;max-width:calc(100vw - 40px)!important;
  gap:8px!important;padding:6px 14px 6px 6px!important;border-radius:99px!important;font:600 13px/1.3 Poppins,var(--body)!important;min-height:0!important;top:calc(58px + var(--safeT,0px))!important}
html .toast .t-ic{width:22px!important;height:22px!important;box-shadow:none!important}
html .toast span{-webkit-line-clamp:3}
/* a watch button that was tapped: it sinks and lights up for a moment before the video opens */
.pressed{transform:scale(.93)!important;filter:brightness(1.18) saturate(1.1)!important;transition:transform .1s ease-out,filter .1s ease-out!important}
/* owner 2026-10-17 "those are not clear": the price and count badges on the weapon bar. A solid dark pill with a gold rim,
   white bold numbers, sitting inside the button (never cut by the screen edge or the next button) */
html #puzzle .boost-hot{overflow:visible!important}
html #puzzle .boost-hot .cost{bottom:3%!important;z-index:2;display:flex!important;align-items:center;gap:3px!important;padding:2px 7px 2px 3px!important;border-radius:99px!important;
  background:#120c2c!important;border:1.5px solid #ffcf3a!important;box-shadow:0 2px 4px rgba(0,0,0,.6)!important;font:800 12.5px/1 Poppins,var(--body)!important;letter-spacing:0!important;color:#fff!important;text-shadow:0 1px 0 #000!important}
html #puzzle .boost-hot .cost img{height:14px!important;width:14px!important}
html #puzzle .boost-hot .cnt{min-width:22px!important;height:22px!important;padding:0 5px!important;display:grid!important;place-items:center;font:800 13px/1 Poppins,var(--body)!important;text-shadow:0 1px 0 #000!important;z-index:2}
/* ===== Car Junkyard Dig, premium pass (owner 2026-10-17 "poor background, dull, not premium") ===== */
html .dg{background:#7a4a1e url(../img/dig/yard.svg?v=2) center top/100% auto no-repeat!important}
html .dg::before{display:none!important}
html .dg-h>b{font:800 22px/1 Poppins,var(--body)!important;-webkit-text-stroke:0!important;color:#fff;text-shadow:0 2px 0 #5a2a05,0 0 10px rgba(0,0,0,.35)!important}
html .dg-scene small{font:800 15px Poppins,var(--body)!important;color:#fff;text-shadow:0 2px 0 #5a2a05,0 0 6px rgba(0,0,0,.5)!important}
html .dg-parts{background:rgba(30,14,4,.72)!important;box-shadow:inset 0 0 0 2px #ffcf3a,0 6px 14px rgba(0,0,0,.35)!important;backdrop-filter:none}
/* the board: a dark wooden crate with a gold rim, the sand tiles as soft lit mounds, dug holes deep and shadowed */
html .dg-grid{background:linear-gradient(#5a3410,#3a2008)!important;gap:6px!important;padding:10px!important;box-shadow:inset 0 4px 12px rgba(0,0,0,.55),0 0 0 4px #ffcf3a,0 0 0 7px #7a4a00,0 10px 24px rgba(0,0,0,.45)!important}
html button.dg-c{border-radius:14px!important;background:
  radial-gradient(ellipse 60% 40% at 40% 26%,rgba(255,255,255,.55),transparent 70%),
  radial-gradient(circle at 26% 70%,rgba(140,90,30,.45) 0 3px,transparent 4px),radial-gradient(circle at 70% 58%,rgba(140,90,30,.4) 0 2.5px,transparent 3.5px),radial-gradient(circle at 58% 82%,rgba(255,240,200,.6) 0 2px,transparent 3px),
  linear-gradient(160deg,#ffe2a6 0%,#f0c67c 45%,#d39a4c 100%)!important;
  box-shadow:inset 0 -5px 0 rgba(120,70,20,.45),inset 0 2px 0 rgba(255,255,255,.6),0 3px 0 #6a3a10,0 5px 8px rgba(0,0,0,.35)!important}
html button.dg-c:active{transform:translateY(2px) scale(.96)!important}
html .dg-c.open{border-radius:14px!important;background:radial-gradient(ellipse at 50% 40%,#5a3414 0%,#2e1806 75%)!important;box-shadow:inset 0 5px 10px rgba(0,0,0,.65),inset 0 -2px 0 rgba(255,200,120,.18)!important}
html .dg-c.open.part{background:radial-gradient(circle,rgba(255,214,90,.75) 0%,rgba(255,170,40,.35) 45%,#2e1806 80%)!important}
html .dg-c.open b{font:800 12px Poppins,var(--body)!important;text-shadow:0 1px 0 #000,0 0 3px #000!important}
/* footer: shovels + the three freebies */
html .dg-f{gap:8px!important;padding:10px 10px 4px!important}
.dg-free{flex:1;min-width:0;display:flex;gap:6px}
.dg-fb{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:54px;padding:4px;border:0;border-radius:14px;color:#fff;cursor:pointer;
  box-shadow:inset 0 -4px 0 rgba(0,0,0,.25),inset 0 2px 0 rgba(255,255,255,.35),0 3px 6px rgba(0,0,0,.35)}
.dg-fb b{font:800 12px/1.1 Poppins,var(--body);white-space:nowrap;text-shadow:0 1px 0 rgba(0,0,0,.6)}
.dg-fb img,.dg-fb svg{width:24px;height:24px;object-fit:contain}
.dg-fb.free{background:linear-gradient(#ff5ab4,#c2187a)}.dg-fb.free.wait{background:linear-gradient(#8a7a9a,#5a4a6a)}
.dg-fb.free:not(.wait){animation:dgGlow 1.6s ease-in-out infinite}
@keyframes dgGlow{50%{box-shadow:inset 0 -4px 0 rgba(0,0,0,.25),0 0 0 3px rgba(255,90,180,.45),0 0 14px rgba(255,90,180,.7)}}
.dg-fb.vid{background:linear-gradient(#3ddc6a,#14963a)}
.dg-fb.buy{background:linear-gradient(#ffcf3a,#d98a0a)}.dg-fb.buy b{color:#3a1e00;text-shadow:0 1px 0 rgba(255,255,255,.5)}
.dg-fb:active{transform:scale(.95)}
.dg-tip{margin:0;padding:0 12px calc(10px + env(safe-area-inset-bottom));text-align:center;font:700 11.5px/1.3 Poppins,var(--body);color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.8)}
.dg-out .dg-free.big{flex:none;width:min(320px,86%)}
.dg-out .dg-fb{min-height:64px}.dg-out .dg-fb b{font-size:13px}
.dg-later{margin-top:6px;background:none;border:0;color:#fff;font:700 14px Poppins,var(--body);text-decoration:underline;cursor:pointer}
.dg-rw{font:800 16px Poppins,var(--body)!important}
html .dg-f{background:linear-gradient(rgba(40,20,5,0),rgba(40,20,5,.55))}.dg-tip{background:rgba(40,20,5,.55)}
/* ===== Coin Store (real money, 2026-10-18) ===== */
#coinStore{grid-column:1/-1}
.cs-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cs-pack{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;padding:16px 8px 10px;border-radius:18px;cursor:pointer;color:#fff;border:2px solid rgba(255,214,90,.55);
  background:radial-gradient(ellipse at 50% 30%,#2a63e0 0%,#16388f 60%,#0e2463 100%);box-shadow:0 6px 14px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.2);text-shadow:0 1px 0 #000,0 2px 3px rgba(0,0,0,.6)}
.cs-pack.tagged{border-color:#ffd84a;box-shadow:0 0 0 2px rgba(255,216,74,.35),0 0 16px rgba(255,200,40,.35),0 6px 14px rgba(0,0,0,.35)}
.cs-pack img{width:68px;height:68px;object-fit:contain;filter:drop-shadow(0 3px 4px rgba(0,0,0,.45))}
.cs-pack b{font:800 22px/1 Poppins,var(--body)}
.cs-pack small{font:700 12px/1 Poppins,var(--body);opacity:.95;margin-bottom:6px}
.cs-price{display:block;min-width:80%;padding:9px 10px;border-radius:12px;background:linear-gradient(#3ddc6a,#14963a);box-shadow:inset 0 -3px 0 rgba(0,0,0,.25),inset 0 2px 0 rgba(255,255,255,.35);font:800 15px/1 Poppins,var(--body);white-space:nowrap}
.cs-pack em{font:600 10.5px/1.2 Poppins,var(--body);font-style:normal;opacity:.9;margin-top:4px}
.cs-tag{position:absolute;top:-10px;left:50%;transform:translateX(-50%);padding:3px 10px;border-radius:99px;background:linear-gradient(#ff5a4a,#d0201a);font:800 11px/1.3 Poppins,var(--body);white-space:nowrap;box-shadow:0 2px 4px rgba(0,0,0,.4)}
.cs-extra{position:absolute;top:8px;right:6px;padding:2px 7px;border-radius:8px;background:#ffd84a;color:#4a2200;font:800 10.5px/1.3 Poppins,var(--body);text-shadow:none;transform:rotate(6deg)}
.cs-pack:active,.cs-buy:active{transform:scale(.96)}
.cs-noads{display:flex;align-items:center;gap:12px;margin-top:10px;padding:14px;border-radius:18px;color:#fff;border:2px solid rgba(255,255,255,.25);background:linear-gradient(135deg,#3a2a6a,#1a1240);text-shadow:0 1px 0 #000}
.cs-noads>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.cs-noads b{font:800 18px/1.1 Poppins,var(--body)}.cs-noads small{font:600 12px/1.35 Poppins,var(--body);opacity:.95}
.cs-buy{flex:none;padding:12px 14px;border:0;border-radius:12px;background:linear-gradient(#ffd84a,#e0900a);color:#3a1e00;font:800 15px/1 Poppins,var(--body);cursor:pointer;box-shadow:inset 0 -3px 0 rgba(0,0,0,.2)}
.cs-own{flex:none;padding:8px 12px;border-radius:12px;background:#1fa64a;font:800 13px Poppins,var(--body)}
.cs-noads.owned{border-color:#3ddc6a}
.cs-note{margin:8px 2px 4px;font:600 11px/1.4 Poppins,var(--body);color:#c9d6f5;text-align:center}.cs-note a{color:#ffd84a}
/* Coin Store v2 (owner 2026-10-18, matched to the big match-3 shops): bundle cards + full-width coin rows, big clear prices */
#coinStore .cs-bund{position:relative;margin:14px 0 12px;border-radius:18px;border:3px solid #f5c431;background:#f5c431;box-shadow:0 0 0 2px #8a5a00,0 6px 14px rgba(0,0,0,.45);overflow:hidden}
#coinStore .cs-bund.tagged{margin-top:20px;overflow:visible}
#coinStore .cs-bund .cs-tag{top:-13px;z-index:2}
#coinStore .cs-btop{display:flex;gap:6px;padding:8px;border-radius:14px 14px 0 0;background:linear-gradient(#fff7e6,#f4e2bf)}
#coinStore .cs-pile{flex:0 0 31%;display:flex;flex-direction:column;align-items:center;justify-content:center}
#coinStore .cs-pile img{width:64px;height:56px;object-fit:contain;filter:drop-shadow(0 3px 3px rgba(0,0,0,.35))}
#coinStore .cs-pile b,#coinStore .cs-row b{font:400 26px/1 "Lilita One",var(--display);color:#fff;-webkit-text-stroke:0;text-shadow:0 2px 0 #7a4a10,0 -1px 0 #7a4a10,1px 0 0 #7a4a10,-1px 0 0 #7a4a10,0 3px 4px rgba(0,0,0,.35)}
#coinStore .cs-box{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:6px 4px;border-radius:10px;background:#e8d3ac;min-width:0}
#coinStore .cs-wps div{display:flex;flex-wrap:wrap;justify-content:center;gap:1px}
#coinStore .cs-wps img{width:30px;height:30px;object-fit:contain}
#coinStore .cs-spn{flex:0 0 26%}#coinStore .cs-spn img{width:44px;height:44px;object-fit:contain}
#coinStore .cs-box i{font:400 15px/1 "Lilita One",var(--display);font-style:normal;color:#fff;text-shadow:0 1.5px 0 #6a4a20,0 -1px 0 #6a4a20,1px 0 0 #6a4a20,-1px 0 0 #6a4a20;white-space:nowrap}
#coinStore .cs-bbar{display:flex;align-items:center;gap:10px;padding:8px 8px 8px 14px;border-radius:0 0 14px 14px;background:linear-gradient(#2a6ae0,#1a46a8)}
#coinStore .cs-bbar>b{flex:1;font:400 21px/1 "Lilita One",var(--display);color:#fff;text-shadow:0 2px 0 #0a2260}
#coinStore .cs-pbtn{flex:0 0 50%;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:48px;padding:6px 8px;border:2px solid #0e5a1e;border-radius:12px;cursor:pointer;
  background:linear-gradient(#6be05a 0%,#34b52e 50%,#1f8f22 100%);box-shadow:inset 0 2px 0 rgba(255,255,255,.45),inset 0 -3px 0 rgba(0,0,0,.25),0 3px 0 #0b4a16}
#coinStore .cs-pbtn span{font:400 24px/1 "Lilita One",var(--display);color:#fff;letter-spacing:.01em;white-space:nowrap;text-shadow:0 2px 0 #0b5a18,0 -1px 0 #0b5a18,1px 0 0 #0b5a18,-1px 0 0 #0b5a18}
#coinStore .cs-pbtn small{font:600 10px/1.2 Poppins,var(--body);color:#eaffe6;margin-top:2px}
#coinStore .cs-pbtn:active{transform:translateY(2px);box-shadow:inset 0 2px 0 rgba(255,255,255,.45),inset 0 -2px 0 rgba(0,0,0,.25),0 1px 0 #0b4a16}
#coinStore .cs-pbtn.sm{flex:0 0 auto;min-width:112px}
#coinStore .cs-row{display:flex;align-items:center;gap:10px;margin:0 0 10px;padding:8px 8px 8px 10px;border-radius:16px;background:linear-gradient(#fff7e6,#efdcb6);border:2px solid #d9b77a;box-shadow:0 4px 0 rgba(0,0,0,.3)}
#coinStore .cs-row img{width:62px;height:46px;object-fit:contain;filter:drop-shadow(0 2px 3px rgba(0,0,0,.3))}
#coinStore .cs-row b{flex:1;font-size:28px}
#coinStore .kit-card{margin-bottom:12px}#coinStore .kit-buy .cs-pbtn{flex:0 0 52%}
.spend-h{margin:22px 0 10px;padding:12px 14px;border-radius:14px;background:#0b1430;border:2px dashed rgba(255,216,74,.55);text-align:center}
.spend-h b{display:block;font:400 20px/1.1 "Lilita One",var(--display);color:#ffd84a}.spend-h span{font:600 12px/1.35 Poppins,var(--body);color:#c9d6f5}
.spend-h{grid-column:1/-1}
/* ===== Shop v3, tight (owner 2026-10-18 "make the shop page tight, more professional"): smaller type, less padding, one rhythm ===== */
#shop .shop-list{gap:8px!important}
#coinStore{grid-column:1/-1}
#coinStore .shop-h,#shopList>.shop-h{margin:14px 2px 6px!important;font:700 11px/1 Poppins,var(--body)!important;letter-spacing:.1em}
#coinStore>.kit-card:first-child{margin-top:4px}
/* bundles */
#coinStore .cs-bund{margin:0 0 10px;border-width:2px;border-radius:14px;box-shadow:0 0 0 1px #8a5a00,0 4px 10px rgba(0,0,0,.4)}
#coinStore .cs-bund.tagged{margin-top:14px}
#coinStore .cs-tag{top:-10px!important;padding:2px 9px;font-size:10px}
#coinStore .cs-btop{gap:5px;padding:6px;border-radius:12px 12px 0 0}
#coinStore .cs-pile img{width:42px;height:36px}
#coinStore .cs-pile b{font-size:19px}
#coinStore .cs-box{padding:5px 3px;border-radius:8px;gap:1px}
#coinStore .cs-wps div{flex-wrap:nowrap;gap:0}
#coinStore .cs-wps img{width:22px;height:22px}
#coinStore .cs-spn img{width:40px;height:22px}
#coinStore .cs-box i{font-size:12.5px}
#coinStore .cs-bbar{padding:6px 6px 6px 12px;border-radius:0 0 12px 12px}
#coinStore .cs-bbar>b{font-size:17px}
#coinStore .cs-pbtn{flex:0 0 46%;min-height:38px;padding:4px 6px;border-radius:10px;box-shadow:inset 0 2px 0 rgba(255,255,255,.4),inset 0 -2px 0 rgba(0,0,0,.25),0 2px 0 #0b4a16}
#coinStore .cs-pbtn span{font-size:19px}
/* kits: one compact row, price on the right */
#coinStore .kit-card{gap:0;margin:0 0 8px;padding:10px 10px 10px 12px;border-width:2px;border-radius:14px}
#coinStore .kit-card.hero{border-width:2px;box-shadow:0 0 0 1px rgba(255,216,74,.35),0 0 14px rgba(255,200,40,.35),0 4px 10px rgba(0,0,0,.4)}
#coinStore .kit-dealbar{margin:-10px -10px 8px -12px;padding:6px 12px;font-size:12.5px;border-radius:12px 12px 0 0}
#coinStore .kit-dealbar span{font-size:12px}
#coinStore .kit-row{display:flex;align-items:center;gap:10px}
#coinStore .kit-l{flex:1;min-width:0;display:flex;flex-direction:column;gap:7px}
#coinStore .kit-top{justify-content:flex-start;gap:8px}
#coinStore .kit-name,#coinStore .kit-card.hero .kit-name{font:800 16px/1.1 Poppins,var(--body)}
#coinStore .kit-tag{padding:2px 8px;font-size:10px}
#coinStore .kit-save{padding:2px 7px;font-size:12px;border-radius:7px;transform:none;box-shadow:none}
#coinStore .kit-items{gap:6px;flex-wrap:nowrap}
#coinStore .kit-it,#coinStore .kit-card.hero .kit-it{width:34px;height:34px;border-radius:9px}
#coinStore .kit-it i{right:-5px;bottom:-5px;min-width:0;padding:0 4px;font-size:10px}
#coinStore .kit-r{flex:0 0 38%;display:flex;flex-direction:column;align-items:stretch;gap:3px}
#coinStore .kit-r .cs-pbtn{flex:none}
#coinStore .kit-was{text-align:center;font:600 11px/1 Poppins,var(--body);color:#fff;opacity:.9}
#coinStore .kit-was s{text-decoration-color:#ffd84a;text-decoration-thickness:1.5px}
/* coin rows */
#coinStore .cs-row{gap:8px;margin:0 0 6px;padding:5px 5px 5px 8px;border-radius:12px;border-width:1.5px;box-shadow:0 2px 0 rgba(0,0,0,.3)}
#coinStore .cs-row img{width:40px;height:32px}
#coinStore .cs-row b{font-size:20px}
#coinStore .cs-row .cs-pbtn{flex:0 0 42%}
/* no ads + note */
#coinStore .cs-noads{margin-top:8px;padding:10px 10px 10px 12px;border-radius:14px;gap:10px}
#coinStore .cs-noads b{font-size:15px}#coinStore .cs-noads small{font-size:11px;line-height:1.3}
#coinStore .cs-own{padding:6px 10px;font-size:12px}
#coinStore .cs-note{margin:8px 4px 0;font-size:10.5px;color:#9fb0d8}
/* coin spending: a slim divider instead of the dashed box */
.spend-h{display:flex;flex-direction:column;align-items:center;gap:3px;margin:18px 0 2px;padding:12px 0 0;border:0;border-top:1px solid rgba(160,180,240,.25);border-radius:0;background:none}
.spend-h b{font:800 14px/1 Poppins,var(--body);color:#ffd84a}.spend-h span{font:600 11px/1.2 Poppins,var(--body);color:#9fb0d8}
#coinStore .kit-was,#coinStore .kit-was s{text-shadow:none!important;font-family:Poppins,var(--body)!important}
#coinStore .kit-name{white-space:nowrap}
/* coin-spend tiles: shorter */
#shopList>.shop-row{padding:8px 5px 7px!important;gap:3px!important;border-radius:12px!important}
#shopList>.shop-row .si,#shopList>.shop-row .si img{width:34px!important;height:34px!important}
#shopList>.shop-row .t b{font-size:12.5px!important;text-overflow:ellipsis}
#shopList>.shop-row .own{font-size:10.5px!important}
#shopList>.shop-row .gbtn{min-height:32px!important;height:32px!important;padding:0 8px!important;font-size:13px!important}
#shopList>.shop-row .gbtn img{width:16px!important;height:16px!important}
/* coin-spend tiles, smaller again (owner 2026-10-18) */
#shop #shopList>.shop-row{padding:6px 4px 6px!important;gap:2px!important;border-radius:10px!important}
#shop #shopList>.shop-row .si,#shop #shopList>.shop-row .si img{width:28px!important;height:28px!important}
#shop #shopList>.shop-row .t b{font-size:11.5px!important;line-height:1.2!important}
#shop #shopList>.shop-row .own{font-size:9.5px!important;line-height:1.2!important}
#shop #shopList>.shop-row .t small{display:none!important}
#shop #shopList>.shop-row .gbtn{min-height:26px!important;height:26px!important;margin-top:2px;padding:0 6px!important;font-size:12px!important;border-width:1.5px!important}
#shop #shopList>.shop-row .gbtn img{width:14px!important;height:14px!important}
/* value labels (owner 2026-10-18 "make the packages more enticing") */
#coinStore .cs-bbar>b{display:flex;flex-direction:column;gap:3px}
#coinStore .cs-bbar>b small,#coinStore .kit-was{font:600 11px/1 Poppins,var(--body);color:#dfe8ff;text-shadow:none}
#coinStore .cs-bbar>b small s,#coinStore .kit-was s{font-weight:700;text-decoration-color:#ff5a4a;text-decoration-thickness:2px}
#coinStore .cs-save{position:absolute;z-index:2;top:6px;left:6px;padding:2px 7px;border-radius:7px;background:#e8161c;color:#fff;font:800 11px/1.3 Poppins,var(--body);transform:rotate(-4deg);box-shadow:0 2px 0 #7a0a0a}
#coinStore .cs-row b{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
#coinStore .cs-row b em{font:800 10.5px/1.3 Poppins,var(--body);font-style:normal;padding:1px 6px;border-radius:6px;background:#e8161c;color:#fff;text-shadow:none;-webkit-text-stroke:0}
#coinStore .kit-save{background:#ffd84a;color:#4a2200}
#coinStore .cs-bbar>b small{display:flex;align-items:center;gap:6px;font-size:11.5px}
#coinStore .cs-bbar>b small s,#coinStore .kit-was s{text-decoration-thickness:1.5px;text-decoration-color:rgba(255,90,74,.9);color:#fff;letter-spacing:.02em}
#coinStore .cs-save{position:static;transform:none;padding:1px 6px;font-size:10.5px;border-radius:6px;font-style:normal;box-shadow:none;background:#ffd84a;color:#4a2200}
/* No Ads card (owner 2026-10-18 "no ads should look beautiful") */
#coinStore .na-card{position:relative;display:flex;align-items:center;gap:10px;margin:12px 0 0;padding:12px 10px 12px 12px;border-radius:16px;overflow:hidden;color:#fff;
  background:radial-gradient(120% 140% at 0% 0%,#7b3fe4 0%,#4a1fa8 45%,#24105e 100%);border:2px solid #ffd84a;box-shadow:0 0 0 1px #8a5a00,0 6px 16px rgba(80,30,180,.45)}
#coinStore .na-card::after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.14) 48%,transparent 60%);background-size:250% 100%;animation:naShine 4.5s ease-in-out infinite;pointer-events:none}
@keyframes naShine{0%,60%{background-position:120% 0}100%{background-position:-60% 0}}
#coinStore .na-ic{flex:none;width:54px;height:54px;filter:drop-shadow(0 3px 4px rgba(0,0,0,.4))}#coinStore .na-ic svg{width:100%;height:100%}
#coinStore .na-body{flex:1;min-width:0}
#coinStore .na-body b{display:block;font:400 19px/1 "Lilita One",var(--display);color:#ffd84a;text-shadow:0 2px 0 #3a1470;margin-bottom:5px}
#coinStore .na-body ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:2px}
#coinStore .na-body li{position:relative;padding-left:16px;font:600 11px/1.3 Poppins,var(--body);color:#efe8ff}
#coinStore .na-body li::before{content:"";position:absolute;left:0;top:2px;width:11px;height:11px;border-radius:50%;background:#3ddc6a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2L9 4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat}
#coinStore .na-card .cs-pbtn{flex:0 0 auto;min-width:100px;position:relative;z-index:1}
#coinStore .na-own{flex:none;position:relative;z-index:1;padding:7px 12px;border-radius:10px;background:linear-gradient(#ffe680,#f0a80e);color:#4a2200;font:800 13px/1 Poppins,var(--body);box-shadow:0 2px 0 #8a5200}
#coinStore .na-card.owned{border-color:#3ddc6a}
/* No Ads card, built 1:1 from the owner's art (2026-10-18): frame, icon, crown line, title, ticks, Active pill */
#coinStore .na2{position:relative;container-type:inline-size;width:100%;aspect-ratio:2.55/1;margin:12px 0 0;background:url(../img/noads/frame.webp) center/100% 100% no-repeat}
#coinStore .na2>*{position:absolute}
#coinStore .na2-ic{left:4%;top:14%;width:23%;height:auto;filter:drop-shadow(0 .6cqw .8cqw rgba(0,0,0,.35))}
#coinStore .na2-cr{left:35%;top:8%;width:28%;height:auto}
#coinStore .na2-t{left:29%;top:15%;width:46%;height:auto}
#coinStore .na2-l{left:29%;top:44%;right:23%;margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:1.5cqw}
#coinStore .na2-l li{position:relative;padding-left:5.6cqw;font:700 3cqw/1.15 Poppins,var(--body);color:#fff;white-space:nowrap;letter-spacing:-.01em;
  text-shadow:0 0 .35cqw #3a0e8a,0 0 .35cqw #3a0e8a,0 .3cqw 0 #3a0e8a}
#coinStore .na2-l li::before{content:"";position:absolute;left:0;top:50%;width:4.4cqw;height:4.4cqw;transform:translateY(-50%);background:url(../img/noads/check.webp) center/contain no-repeat}
#coinStore .na2-on{right:3.5%;top:36%;width:21%;height:auto}
#coinStore .na2 .cs-pbtn.na2-buy{right:3.5%;top:36%;width:21%;min-width:0;min-height:0;height:11cqw;padding:0;border-radius:6cqw}
#coinStore .na2 .cs-pbtn.na2-buy span{font-size:4.6cqw}
#coinStore .na2-t{left:30%;top:16%;width:45%}
#coinStore .na2-cr{left:38.5%;top:8%;width:28%}
#coinStore .na2-l{left:30%;top:46%;right:22%;gap:1.6cqw}
#coinStore .na2-l li{font-size:2.75cqw;padding-left:5.2cqw}
#coinStore .na2-l li::before{width:4.1cqw;height:4.1cqw}
#coinStore .na2-on,#coinStore .na2 .cs-pbtn.na2-buy{right:3%;top:39%;width:19%}
#coinStore .na2 .cs-pbtn.na2-buy{height:10cqw}
#coinStore .na2-on,#coinStore .na2 .cs-pbtn.na2-buy{top:52%;transform:translateY(-50%)}#coinStore .na2 .cs-pbtn.na2-buy:active{transform:translateY(calc(-50% + 2px))}
/* No Ads card, tighter (owner 2026-10-18 "more tight, clear, no overlap"): every position in cqw so nothing can collide */
#coinStore .na2{aspect-ratio:2.8/1}
#coinStore .na2-ic{left:4.5cqw;top:7cqw;width:20cqw}
#coinStore .na2-cr{left:37.5cqw;top:2.6cqw;width:27cqw}
#coinStore .na2-t{left:29.5cqw;top:5.2cqw;width:43cqw}
#coinStore .na2-l{left:29.5cqw;top:14.6cqw;right:auto;width:44cqw;gap:1.3cqw}
#coinStore .na2-l li{font-size:2.6cqw;line-height:3.3cqw;padding-left:4.8cqw}
#coinStore .na2-l li::before{width:3.7cqw;height:3.7cqw}
#coinStore .na2-on,#coinStore .na2 .cs-pbtn.na2-buy{right:4cqw;left:auto;top:20.6cqw;width:18cqw;transform:translateY(-50%)}
#coinStore .na2 .cs-pbtn.na2-buy{height:8.5cqw}#coinStore .na2 .cs-pbtn.na2-buy span{font-size:4cqw}
#coinStore .na2-l li{font-size:2.45cqw}#coinStore .na2-on,#coinStore .na2 .cs-pbtn.na2-buy{right:3.5cqw;width:17.5cqw}
/* scrolled shop labels (Best For Beginners, Save %) slid over the sticky header: keep them inside the list, header always on top */
.sub-top{z-index:30!important}#shopList,#coinStore{position:relative;z-index:0;isolation:isolate}
#shop .sub-top{background:#070c1f!important}
/* packs: Flex Spins + Round Spins stacked in the right box */
#coinStore .cs-spn{flex:0 0 30%;gap:4px;align-items:stretch}
#coinStore .cs-spn span{display:flex;align-items:center;gap:3px}
#coinStore .cs-spn span img{width:26px!important;height:18px!important;flex:none}
#coinStore .cs-spn span:nth-child(2) img{width:20px!important;height:20px!important;margin:0 3px}
#coinStore .cs-spn i{font-size:11px!important;white-space:normal;line-height:1}
#coinStore .kit-it.wh{background:rgba(255,216,74,.18)}
#coinStore .cs-spn i{white-space:nowrap!important;font-size:10.5px!important;letter-spacing:-.01em}#coinStore .cs-spn{flex:0 0 31%;padding:5px 2px}
/* spin box: two equal rows, same icon size, nothing overlaps (owner 2026-10-18) */
#coinStore .cs-spn{display:flex;flex-direction:column;justify-content:center;gap:5px;padding:5px 4px;overflow:hidden}
#coinStore .cs-spn span{display:grid;grid-template-columns:22px 1fr;align-items:center;gap:4px;min-width:0}
#coinStore .cs-spn span img,#coinStore .cs-spn span:nth-child(2) img{width:22px!important;height:22px!important;margin:0!important;object-fit:contain}
#coinStore .cs-spn i{font-size:10.5px!important;line-height:1.05;white-space:normal!important;min-width:0}
/* Battery Saver: no blur (the most expensive thing a phone's graphics chip draws), no glow shadows on moving pieces */
html.saver *,html.saver *::before,html.saver *::after{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html.saver .tile img,html.saver .tile .spi{filter:none!important}
.set-note{margin:-4px 2px 4px;font:600 2.9cqw/1.3 Poppins,var(--body);color:#9fb0d8;text-align:left}
/* merge "New Item Found": the borrowed aimCard pop shifted the picture half its width to the left; own centred pop */
@keyframes mgFoundPop{from{transform:translateY(-24px) scale(.8);opacity:0}to{transform:none;opacity:1}}
.mg-found>img{animation:mgFoundPop .45s cubic-bezier(.2,1.5,.4,1) both!important;margin:0 auto}
.tw-note .tw-rules{display:flex;align-items:center;gap:7px;margin:2px auto;width:max-content;max-width:100%;text-align:left}
.tw-note .tw-rules i{flex:none;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#ffd84a;color:#4a2200;font:800 11px/1 Poppins,var(--body);font-style:normal}
/* Unlimited Weapons */
.boost-hot .cnt.inf{background:linear-gradient(#ff5ad0,#a020c8)!important;color:#fff!important;font:900 15px/1 Poppins,var(--body)!important;min-width:22px}
.boost-hot.inf{box-shadow:0 0 0 2px rgba(255,90,208,.7),0 0 10px rgba(255,90,208,.5)}
#coinStore .cs-inf{margin-top:2px;padding:1px 6px;border-radius:6px;background:linear-gradient(#ff5ad0,#a020c8);color:#fff;font:800 10.5px/1.3 Poppins,var(--body);font-style:normal;white-space:nowrap}
#coinStore .kit-it.inf{flex-direction:column;background:linear-gradient(#ff5ad0,#a020c8);border-color:rgba(255,255,255,.4)}
#coinStore .kit-it.inf b{font:900 20px/1 Poppins,var(--body);color:#fff;margin-top:-4px}
#coinStore .kit-it.inf i{background:#fff;color:#a020c8}
#coinStore .kit-items{gap:5px}#coinStore .kit-it,#coinStore .kit-card.hero .kit-it{width:31px;height:31px;flex:none}#coinStore .kit-it.inf b{font-size:17px}
.bd-got{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}.bd-got .rw.inf{background:linear-gradient(#ff5ad0,#a020c8);color:#fff}
.bd-msg{margin:10px 6px 2px;padding:10px 12px;border-radius:12px;background:rgba(255,216,74,.12);border:1px solid rgba(255,216,74,.45);font:600 13px/1.45 Poppins,var(--body);color:#fff3c4;text-align:center;font-style:italic}
/* match result (owner 2026-10-21 "not aligned, not premium"): one centred line, gold rim, shine, fixed width */
.vd-ban{width:min(88vw,360px);box-sizing:border-box;padding:10px 18px 12px;text-align:center;overflow:hidden}
.vd-ban::after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.22) 48%,transparent 60%);background-size:250% 100%;animation:naShine 3.6s ease-in-out infinite;pointer-events:none}
.vd-ban b{display:block;width:100%;text-align:center;white-space:nowrap;font-size:clamp(30px,10vw,42px)!important}
.vd-ban small{display:inline-block;margin-top:6px;padding:2px 12px;border-radius:99px;background:rgba(0,0,0,.25);font:700 12px/1.4 Poppins,var(--body);letter-spacing:.02em}
#modal.vd-full .cr-rw span{min-width:96px;justify-content:center;padding:8px 16px;border-radius:14px;background:linear-gradient(#1b2d6b,#0f1d4d);border:1.5px solid #ffd84a;font:400 20px/1 'Lilita One',var(--display);box-shadow:0 3px 0 rgba(0,0,0,.35)}
#modal.vd-full .cr-rw .tro,#modal.vd-full .cr-rw img{width:26px;height:26px}
.btn.rp-go b{font:inherit;font-size:16px}.btn.rp-go small{display:inline-flex;align-items:center;gap:4px;font:700 13px/1 Poppins,var(--body)}.btn.rp-go small img{width:15px;height:15px}
#home .dmg-bar b{font-weight:700;text-shadow:0 1px 0 rgba(0,0,0,.35)}#home .dmg-bar small{opacity:1;color:#ffe0e0}
#home .dmg-bar em{display:flex;flex-direction:column;align-items:center;gap:1px;line-height:1.1}#home .dmg-bar em i{display:inline-flex;align-items:center;gap:3px;font-style:normal;font-weight:800}#home .dmg-bar em img{width:13px;height:13px}
/* ===== owner 2026-10-21 "too flat, blurry, text on the left": every pop-up button is a real 3D button, pop-up text is centred ===== */
.sheet .btn.ghost:not(.sm),.sheet .gbtn.white:not(.mini):not(.sm){border-style:solid!important;border-width:0!important;border-color:transparent!important;background:none!important;box-shadow:none!important;border-radius:0!important;
  border-image:url(../img/ui3/btn-blue.webp?v=1) 112 200 fill / 21px 38px stretch!important;min-height:42px;font:400 17px/1 "Lilita One",var(--display)!important;color:#fff!important;text-shadow:0 2px 0 rgba(0,0,0,.35),0 0 2px rgba(0,0,0,.35)!important;padding:0 22px!important}
.sheet .btn.ghost.big,.sheet .gbtn.white.big{min-height:54px;border-image-width:27px 48px!important;font-size:21px!important}
.sheet .btn.ghost:active,.sheet .gbtn.white:active{transform:translateY(2px) scale(.98)}
.sheet .btn.ghost.sm,.sheet .gbtn.white.mini{background:linear-gradient(#3f7ff0,#1f4fc0)!important;box-shadow:inset 0 2px 0 rgba(255,255,255,.35),inset 0 -2px 0 rgba(0,0,0,.25),0 2px 0 #0c2a70!important;color:#fff!important;border:0!important}
.pnl-note{text-align:center!important}
.rl-foot.one{grid-template-columns:1fr}
.btn.rp-go{gap:6px}.btn.rp-go img{width:20px;height:20px;vertical-align:-3px}

/* owner 2026-10-23: a weapon with none left shows a green plus (price on tap) */
html #puzzle .boost-hot .cnt.plus{background:radial-gradient(circle at 35% 30%,#8ff05a,#2f9a12)!important;border:2px solid #fff!important;font:900 19px/1 Poppins,var(--body)!important;color:#fff!important;padding:0!important;width:24px!important;min-width:24px!important;height:24px!important}
.bo-txt{text-align:center;margin:6px 4px 14px;font:600 15px/1.4 Poppins,var(--body);color:#dfe8ff}

/* owner 2026-10-23: Play For Coins (bet picker, waiting room line, result line) */
.stk-p{text-align:center;margin:4px 6px 12px;font:600 14px/1.4 Poppins,var(--body);color:#dfe8ff}
.stk-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 2px 12px}
.stk-b{display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 4px;border-radius:14px;border:2px solid #f6c453;background:linear-gradient(#1d3f94,#0f2463);color:#fff;box-shadow:0 3px 0 #091a49}
.stk-b img{width:22px;height:22px}.stk-b b{font:400 19px/1 "Lilita One",var(--display)}.stk-b small{font:700 11px/1.2 Poppins,var(--body);color:#ffd84a}
.stk-b.free{border-color:#8fb6ff}.stk-b.free small{color:#cfe0ff}
.stk-b.short{opacity:.55}
.stk-line{display:flex;align-items:center;justify-content:center;gap:6px;margin:2px auto 8px;padding:6px 12px;border-radius:99px;background:#0c1638;border:2px solid #f6c453;width:max-content;max-width:100%;font:700 13px/1 Poppins,var(--body);color:#fff}
.stk-line img{width:18px;height:18px}.stk-line b{color:#ffd84a;font-weight:800}
.stk-res{display:flex;align-items:center;justify-content:center;gap:6px;margin:8px auto 0;padding:8px 14px;border-radius:12px;font:400 18px/1 "Lilita One",var(--display);color:#fff;background:#14306f;width:max-content}
.stk-res img{width:20px;height:20px}.stk-res.won{background:linear-gradient(#2fb24a,#17802f)}.stk-res.lost{background:linear-gradient(#d6453b,#9c231b)}

/* owner 2026-10-23: Treasure Map row on the Walk screen */
.tm-row{margin:10px 0 2px;padding:10px 12px;border-radius:14px;background:#0c1638;border:2px solid #f6c453;text-align:left}
.tm-h{display:flex;justify-content:space-between;align-items:center;font:400 17px/1 "Lilita One",var(--display);color:#ffd84a}.tm-h span{color:#fff;font-size:15px}
.tm-pcs{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;margin:8px 0 6px}
.tm-pcs i{height:16px;border-radius:5px;background:#1d2d5c;border:1px solid #3b4f8a}.tm-pcs i.on{background:linear-gradient(#ffe07a,#e2a52c);border-color:#fff3c4}
.tm-row small{display:block;font:600 12px/1.35 Poppins,var(--body);color:#cfe0ff}
.bo-price{display:flex;align-items:center;justify-content:center;gap:5px;margin:-6px 0 12px;font:700 15px/1 Poppins,var(--body);color:#fff}.bo-price img{width:20px;height:20px}.bo-price b{font:400 20px/1 "Lilita One",var(--display);color:#ffd84a}.bo-price small{color:#cfe0ff;font-weight:600;margin-left:6px}

/* owner 2026-10-23: new obstacles (Tyre Stack, Car Lift, Parts Cabinet, Paint Booth Curtain) */
#boardIn .crate.tyre{background:none!important;border:0!important;box-shadow:none!important;display:grid;place-items:center}
#boardIn .crate.tyre svg{width:96%;height:96%}
.bigob.lift,.bigob.cabinet{background:none!important;border:0!important;padding:0}
.bigob.lift svg,.bigob.cabinet svg{width:100%;height:100%;display:block;filter:drop-shadow(0 3px 4px rgba(0,0,0,.35))}
.ob2-fly{position:absolute;left:0;top:0;z-index:30;pointer-events:none}.ob2-fly svg{width:100%;height:100%}
.gi.ob2g{display:inline-grid;place-items:center}.gi.ob2g svg{width:100%;height:100%}
.ob-intro svg{width:120px;height:120px}
#boardIn .curtain{position:absolute;left:0;top:0;z-index:12;pointer-events:none;border-radius:10px;overflow:hidden;
  background:linear-gradient(90deg,rgba(40,60,100,.35),rgba(20,30,60,.5));box-shadow:inset 0 0 0 2px rgba(255,255,255,.35),0 4px 10px rgba(0,0,0,.35);display:flex;padding-top:5%;transition:opacity .45s,transform .45s}
#boardIn .curtain .ct-bar{position:absolute;left:0;right:0;top:0;height:4.5%;background:repeating-linear-gradient(45deg,#1b1b1f 0 7px,#ffc21a 7px 14px);border-bottom:3px solid #0e1424}
#boardIn .curtain .ct-strip{flex:1;margin:0 1px;border-radius:0 0 6px 6px;background:linear-gradient(90deg,rgba(170,190,225,.92),rgba(236,243,255,.97) 50%,rgba(150,170,205,.92));box-shadow:inset 0 0 0 1px rgba(80,100,140,.55);transform-origin:top;transition:transform .4s}
#boardIn .curtain.torn .ct-strip:nth-child(2n){transform:scaleY(.42) rotate(4deg)}
#boardIn .curtain.torn .ct-strip:nth-child(2n+1){transform:scaleY(.9)}
#boardIn .curtain.hit{animation:ctHit .35s}
#boardIn .curtain.gone{opacity:0;transform:translateY(-30%) scaleY(.2)}
@keyframes ctHit{30%{filter:brightness(1.5)}60%{transform:translateX(-2px)}}
.fly-piece svg{width:100%;height:100%;display:block}

/* owner 2026-10-23: Car Junkyard Dig rebuilt on the owner's art */
.dg.dg2{background:#c98a4a url(../img/dig2/bg.webp?v=1) center top/cover no-repeat!important}
.dg.dg2::before,.dg.dg2::after{display:none!important}
.dg.dg2 .dg-h>b{visibility:hidden}
.dg.dg2 .dg-h{background:none!important;box-shadow:none!important}
.dg.dg2 .dg-scene{margin-top:clamp(70px,17vh,170px);padding:8px 10px;background:none!important}
.dg.dg2 .dg-scene small{font-size:16px;text-shadow:0 2px 0 #3a1d05,0 0 8px rgba(0,0,0,.6)}
.dg.dg2 .dg-parts{background:rgba(40,22,6,.72)!important;border:2px solid #f6c453;border-radius:16px;padding:6px 8px;box-shadow:0 6px 14px rgba(0,0,0,.35)}
.dg.dg2 .dg-pt,.dg.dg2 .dg-prize{width:52px;height:46px;border-radius:12px;background:rgba(255,255,255,.08)}
.dg.dg2 .dg-pt .dg-pimg{width:48px;height:42px;object-fit:contain}
.dg.dg2 .dg-pt:not(.ok) .dg-pimg{filter:brightness(0) opacity(.55)}
.dg.dg2 .dg-pt.ok{background:rgba(34,197,94,.3)}
html .dg.dg2 .dg-grid{flex:none;display:block!important;position:relative;width:min(100% - 16px,500px);margin:auto auto 8px!important;aspect-ratio:960/804;padding:0!important;gap:0!important;border-radius:0!important;
  background:url(../img/dig2/board.webp?v=1) center/100% 100% no-repeat!important;box-shadow:none!important;filter:drop-shadow(0 10px 16px rgba(0,0,0,.45))}
html .dg.dg2{min-height:100dvh}
.dg.dg2 .dg-c{position:absolute;width:16.25%;height:17.4%;aspect-ratio:auto;border-radius:12px;background:url(../img/dig2/tile.webp?v=1) center/100% 100% no-repeat!important;box-shadow:none!important;border:0}
.dg.dg2 .dg-c::before,.dg.dg2 .dg-c::after{display:none!important}
.dg.dg2 button.dg-c:active{transform:scale(.94)}
.dg.dg2 .dg-c.digging{animation:dg2Dig .3s ease-out forwards}
@keyframes dg2Dig{0%{transform:none}35%{transform:rotate(-6deg) scale(1.04)}100%{transform:translateY(-30%) rotate(14deg) scale(.6);opacity:0}}
.dg.dg2 .dg-c.open{background:none!important}
.dg.dg2 .dg-c.open img,.dg.dg2 .dg-c.open svg{width:78%;height:78%;object-fit:contain;filter:drop-shadow(0 3px 3px rgba(0,0,0,.5))}
.dg.dg2 .dg-c.open.part{background:radial-gradient(circle,rgba(255,214,90,.6),rgba(255,214,90,0) 70%)!important}
.dg.dg2 .dg-c.open b{font:400 15px/1 'Lilita One',var(--display);color:#fff;-webkit-text-stroke:3px #3a1d05;paint-order:stroke;bottom:4%;right:8%}
.dg.dg2 .dg-f{background:rgba(40,22,6,.78)!important;border-top:2px solid #f6c453}
.dg.dg2 .dg-sh{background:linear-gradient(#ffe07a,#f0b42a)!important}
.dg.dg2 .dg-sh img{width:38px;height:38px;object-fit:contain}
.dg.dg2 .dg-tip{color:#ffe9c2;text-shadow:0 1px 2px #000}
.dg-found .dg-pimg{width:150px;height:120px;object-fit:contain}
html #modal.dg-full{background:#9a6a35 url(../img/dig2/bg.webp?v=1) center bottom/cover no-repeat!important}
html .dg-found .dg-rw{display:flex!important;align-items:center;justify-content:center;gap:6px;grid-template-columns:none!important}html .dg-found .dg-rw img{width:30px!important;height:30px!important;object-fit:contain}
/* audit 2026-10-23: a kit with many items (Mega Kit: 5 weapons, Round Spins, Unlimited) wraps onto a second line instead of running under the price */
#coinStore .kit-items{flex-wrap:wrap!important;row-gap:8px!important}

/* the Dig is closed today (owner 2026-10-23: open 4 days a week) */
#home .hb.dg-off{filter:saturate(.35) brightness(.8)}#home .hb.dg-off .badge{display:none!important}

/* Room Code popup (2026-10-23) */
.rc2{display:flex;gap:8px;margin:0 0 12px}.rc2 input{flex:1;min-width:0;height:48px;border-radius:12px;border:2px solid #8fb6ff;background:#0c1638;color:#fff;font:700 18px/1 Poppins,var(--body);text-align:center;letter-spacing:.08em}.rc2 .gbtn{flex:none;padding:0 18px}

/* win streak badge on the Play button (2026-10-23) */
#playBtn{position:relative}#playStreak{position:absolute;right:16px;top:3px;display:flex;align-items:center;gap:1px;padding:2px 7px 2px 3px;border-radius:99px;background:linear-gradient(#ff8a2a,#e0410f);border:2px solid #fff;box-shadow:0 2px 6px rgba(0,0,0,.4);z-index:3;font-style:normal}#playStreak[hidden]{display:none}#playStreak img{width:18px;height:18px}#playStreak b{font:400 14px/1 'Lilita One',var(--display);color:#fff}
html #playStreak{padding:1px 7px 1px 2px!important;gap:2px}html #playStreak img{width:15px!important;height:15px!important}html #playStreak span{font:400 11px/1.2 'Lilita One',var(--display)!important;color:#fff!important;white-space:nowrap}
html #playStreak span{font-size:10px!important}

/* owner 2026-10-23 "doesn't look premium": raid safes sit in their own cells of a 3 x 3 field (a new pattern every raid), the result is a chip under the safe */
.rs-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;aspect-ratio:auto!important;max-width:330px;margin:0 auto}
.rs-grid.rs-n5,.rs-grid.rs-n6{grid-template-columns:repeat(3,minmax(0,1fr));max-width:none}
.rs-grid .rs,.rs-grid.rs-n5 .rs,.rs-grid.rs-n6 .rs{position:relative!important;left:auto;top:auto;translate:none;scale:1;width:auto!important;height:auto!important;grid-column:auto!important;grid-row:auto!important;rotate:var(--r);aspect-ratio:auto;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:10px 4px 8px;border-radius:14px;overflow:visible;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 6px 14px rgba(0,0,0,.35)}
.rs-grid .rs:active{scale:.95}
.rs-grid .rs .sf{width:80%;transform:none}
.rs-grid .rs.rs-open .sf{transform:scale(.94)}
.rs-grid .rs .rs-coins{top:40%;width:44%}
.rs-grid .rs.rs-full .rs-coins{transform:scale(1) translateY(-6px)}
.rs-grid .rs em{position:static!important;inset:auto;display:block;max-width:100%;padding:3px 9px;border-radius:999px;background:rgba(0,0,0,.5);border:1px solid rgba(255,255,255,.12);font:700 12.5px var(--display)!important;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;visibility:hidden;transform:none!important}
.rs-grid .rs.rs-open em{visibility:visible;opacity:1}
.rs-grid .rs.rs-full em{background:linear-gradient(#5a4310,#2d2005);border-color:#c9952a;color:#ffd35a}
.rs-grid .rs.rs-gold em{background:linear-gradient(#ffd84a,#c99512);border-color:#fff1a8;color:#2a1c02!important;text-shadow:none!important}
.rs-grid .rs.rs-empty em{color:var(--ink3)}
.rs-grid .rs.rs-missed{opacity:.6}
.rs-grid .rs.rs-missed em{font-size:11.5px!important}
/* owner 2026-10-23: the Revenge count sits on the tab's top-right corner, never over its label */
.hh-tabs button{position:relative;overflow:visible!important}
.hh-tabs .tb-n{position:absolute;top:-2.4cqw;right:-.8cqw;margin:0;min-width:4.4cqw;height:4.4cqw;padding:0 1.1cqw;font-size:2.7cqw;line-height:1;box-shadow:0 0 0 .5cqw rgba(6,16,52,.95)}
.rs-grid .rs em img{width:15px;height:15px;vertical-align:-3px;margin:0 2px}

/* owner 2026-10-24: the Lifestyle cards scroll (the project picture no longer swallows the swipe; rubbing only happens in the workshop) */
.sr-grid .look,.mp .look,#modal .sr-grid .look{touch-action:pan-y}
/* Card Collection: what it is, every prize on show, a full set glows */
.al-how{margin:-4px 2px 8px;font:500 12px/1.35 var(--body);color:#cfdcff;text-align:center}
.al-cov{position:relative}
.al-pz{display:flex;align-items:center;gap:3px;font:700 12px var(--body);color:#ffd84a}.al-pz img{width:14px;height:14px}
.al-set.ready{border-color:#ffd84a;box-shadow:0 0 0 2px rgba(255,216,74,.5),0 0 22px rgba(255,200,60,.55);animation:alGlow 1.2s ease-in-out infinite alternate}
@keyframes alGlow{to{box-shadow:0 0 0 3px rgba(255,216,74,.8),0 0 30px rgba(255,200,60,.85)}}
.al-claim,.al-won{position:absolute;left:50%;bottom:8px;translate:-50% 0;padding:5px 12px;border-radius:99px;font:400 14px 'Lilita One',var(--display);font-style:normal;white-space:nowrap}
.al-claim{background:linear-gradient(#ffe27a,#f5b21c);color:#3a2300;box-shadow:0 3px 0 #a86a00,0 6px 14px rgba(0,0,0,.4);animation:alPop .9s ease-in-out infinite alternate}
@keyframes alPop{to{scale:1.08}}
.al-won{background:rgba(20,120,60,.92);color:#eafff0}
.al-set.won{border-color:#2fbf6a}
html.lite .al-set.ready,html.lite .al-claim{animation:none}
#home .hb.al-ready img{animation:alBob .7s ease-in-out infinite alternate;filter:drop-shadow(0 0 8px #ffd84a)}
@keyframes alBob{to{translate:0 -4px}}
.sw{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:10px 10px 4px;overflow:hidden}
.sw-rays{position:absolute;left:50%;top:150px;width:520px;height:520px;translate:-50% -50%;background:repeating-conic-gradient(rgba(255,216,74,.2) 0 9deg,transparent 9deg 20deg);border-radius:50%;animation:spin 16s linear infinite;-webkit-mask:radial-gradient(circle,#000 25%,transparent 70%);mask:radial-gradient(circle,#000 25%,transparent 70%);pointer-events:none}
.sw-art{position:relative;height:190px;width:100%;display:grid;place-items:center}
.sw-fan{position:relative;width:120px;height:160px}
.sw-fan span{position:absolute;inset:0;border-radius:12px;overflow:hidden;border:3px solid #ffd84a;box-shadow:0 8px 20px rgba(0,0,0,.5);rotate:calc(var(--i) * 11deg);translate:calc(var(--i) * 26px) calc(var(--i) * var(--i) * 5px);transform-origin:50% 120%;animation:swIn .6s cubic-bezier(.2,1.5,.4,1) both;animation-delay:calc((var(--i) + 2) * 80ms)}
.sw-fan span img{width:100%;height:100%;object-fit:cover}
@keyframes swIn{from{scale:.2;opacity:0}}
.sw-t{font:400 26px 'Lilita One',var(--display);color:#fff;text-shadow:0 3px 0 #1a2a60}
.sw-s{font:500 13px var(--body);color:#cfdcff}
.sw-prize{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:4px 0 8px}
.sw-prize span{display:flex;align-items:center;gap:6px;padding:8px 14px;border-radius:14px;background:rgba(10,22,64,.85);border:2px solid #ffd27a}
.sw-prize img{width:28px;height:28px;object-fit:contain}.sw-prize b{font:400 22px 'Lilita One',var(--display);color:#ffd84a}.sw-prize em{font:600 11px var(--body);font-style:normal;color:#cfdcff}
.sw-go{min-width:220px}
/* owner 2026-10-24: Games (game pad art) takes the raised middle spot, Chat sits with the other tabs */
#home .tabbar .tb-mid img{padding:4px;width:38px;height:38px}
#home .tabbar .tb-chat{position:relative}
#home .tabbar .tb-chat .hm-n{position:absolute;top:2px;right:calc(50% - 24px)}

/* owner 2026-10-24: Games page = Play A Friend, explained in 3 steps */
.games .gm-hero{display:flex;align-items:center;gap:12px;padding:12px;border-radius:16px;background:linear-gradient(135deg,#1f4bc4,#2b2a8f);border:2px solid #ffd35a;box-shadow:0 6px 16px rgba(0,0,0,.35)}
.games .gm-hero img{width:64px;height:64px;object-fit:contain;flex:none;filter:drop-shadow(0 4px 6px rgba(0,0,0,.45))}
.games .gm-hero b{display:block;font:400 22px/1.1 'Lilita One',var(--display);color:#fff}
.games .gm-hero small{display:block;font:600 12px var(--body);color:#bfe0ff;margin-top:2px}
.games .gm-steps{display:flex;flex-direction:column;gap:7px;margin:10px 0}
.games .gm-step{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1)}
.games .gm-step i{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font:400 16px 'Lilita One',var(--display);font-style:normal;color:#5a3200;background:linear-gradient(#ffe27a,#f5b21c)}
.games .gm-step b{display:block;font:700 13.5px var(--body);color:#fff}
.games .gm-step small{display:block;font:500 11.5px/1.3 var(--body);color:#cfdcff}
.games .gm-go{width:100%;font-size:20px!important}
.games .gm-bot{display:flex;align-items:center;gap:10px;width:100%;margin-top:10px;padding:8px 10px;border-radius:14px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);color:#fff;text-align:left;cursor:pointer}
.games .gm-bot img{width:42px;height:42px;border-radius:50%;object-fit:cover}
.games .gm-bot span{flex:1;min-width:0}.games .gm-bot b{display:block;font:700 14px var(--body)}.games .gm-bot small{display:block;font:500 11.5px var(--body);color:#cfdcff}
.games .gm-bot em{font:400 15px 'Lilita One',var(--display);font-style:normal;padding:5px 14px;border-radius:99px;background:linear-gradient(#5aa8ff,#2f6be0);border:2px solid #bfe0ff}
/* level tiers: easy is green, hard orange, boss gold (owner 2026-10-24: say it clearly) */
.lc-tag.easy{background:linear-gradient(#7ee08a,#2fa84a)!important;color:#fff!important;border-color:#dfffe4!important}
.lc-tag.easy small{color:#eaffef}
.tier-intro.calm.easy .ti-card{background:linear-gradient(#e6ffe9,#7ee08a)!important}
.tier-intro.calm.hard .ti-card{background:linear-gradient(#ffe2c2,#ff9a3c)!important}
.tier-intro.calm.easy b{color:#0f5a22}.tier-intro.calm.easy small{color:#1d6b30}
/* Moves: a premium badge (gold ring, navy face); pops on every move from 10, a beating heart from 5 */
#puzzle .pz-moves{width:60px!important;height:60px;border-radius:50%!important;padding:0!important;background:radial-gradient(circle at 50% 35%,#2f5fd8,#0c1f63 72%)!important;border:3px solid #ffd35a!important;box-shadow:0 0 0 2px #7a4b00,inset 0 2px 0 rgba(255,255,255,.35),0 4px 10px rgba(0,0,0,.45)!important}
#puzzle .pz-moves small{font:700 9px var(--body)!important;color:#ffe9a8!important;margin-top:2px}
#puzzle .pz-moves b{font:400 24px/1 'Lilita One',var(--display)!important;color:#fff!important;text-shadow:0 2px 0 #0b1a50!important}
#puzzle .pz-moves.warn{border-color:#ffa53a!important;background:radial-gradient(circle at 50% 35%,#ff9b3a,#a33a00 75%)!important}
#puzzle .pz-moves.low{border-color:#ffd0c4!important;background:radial-gradient(circle at 50% 35%,#ff5a4a,#8a0f12 75%)!important;animation:mvHeart 1s ease-in-out infinite!important}
#puzzle .pz-moves.low b{animation:none!important}
#puzzle .pz-moves.mv-pop b{animation:mvPop .32s cubic-bezier(.2,1.8,.4,1)!important}
@keyframes mvPop{0%{transform:scale(1.7)}100%{transform:scale(1)}}
@keyframes mvHeart{0%,100%{transform:scale(1)}12%{transform:scale(1.14)}24%{transform:scale(1)}36%{transform:scale(1.09)}48%{transform:scale(1)}}
/* the Boss banner stands apart: deep red, gold border and gold title */
.tier-intro.calm.boss .ti-card{background:linear-gradient(#e0352b,#7a0d12)!important;border:3px solid #ffd35a!important;box-shadow:0 0 0 3px #7a4b00,0 0 30px rgba(255,80,60,.6)!important}
.tier-intro.calm.boss b{color:#ffd35a!important;text-shadow:0 3px 0 #5a0808!important}.tier-intro.calm.boss small{color:#fff1d6!important}

/* owner 2026-10-24: how hard the next level is, on the Play button and big on the level card */
#home .play small#playLvl{display:inline-flex;flex-direction:column;align-items:center;line-height:1.05}
#playLvl .pl-tier{display:flex;align-items:center;gap:2px;font:400 11px/1 'Lilita One',var(--display);font-style:normal;margin-top:1px}
#playLvl .pl-tier svg{width:11px;height:11px}
#home .play small#playLvl.pl-hard{background:linear-gradient(#ffb15a,#e8590c)!important;color:#fff!important;border-color:#ffe2c2!important}
#home .play small#playLvl.pl-boss{background:linear-gradient(#e0352b,#7a0d12)!important;color:#ffd35a!important;border-color:#ffd35a!important}
#home .play small#playLvl.pl-easy{background:linear-gradient(#8ee89a,#2fa84a)!important;color:#fff!important;border-color:#dfffe4!important}
.lc-tier{align-self:stretch;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;margin:-2px 0 4px;padding:8px 12px;border-radius:14px;border:2px solid #ffe27a}
.lc-tier .lt-ic{grid-row:1 / 3;display:flex;gap:1px;color:#fff}.lc-tier .lt-ic svg{width:24px;height:24px;filter:drop-shadow(0 2px 0 rgba(0,0,0,.25))}
.lc-tier b{font:400 22px/1.05 'Lilita One',var(--display);color:#fff;text-shadow:0 2px 0 rgba(0,0,0,.25)}
.lc-tier small{font:700 11.5px var(--body);color:#fff6e0}
.lc-tier.hard{background:linear-gradient(#ffb15a,#e8590c)}
.lc-tier.boss{background:linear-gradient(#e0352b,#7a0d12);border-color:#ffd35a;box-shadow:0 0 16px rgba(255,80,60,.45)}.lc-tier.boss b,.lc-tier.boss .lt-ic{color:#ffd35a}
.lc-tier.easy{background:linear-gradient(#8ee89a,#2fa84a)}
/* scan 2026-10-24: small phones cut "5,903 coi..." and long medal names; the coin picture already says coins */
.mp-md small{white-space:normal!important;text-align:center;line-height:1.1;overflow:visible!important;text-overflow:clip!important}
#jkSpT{line-height:1!important}
#home .play small#playLvl{padding:3px 10px!important}#playLvl .pl-tier{font-size:11.5px}
#playLvl .pl-tier{white-space:nowrap}#home .play small#playLvl{white-space:nowrap}
/* owner 2026-10-24: the map shows which levels are Easy, Hard and Super Hard, in the same colours as the Play button */
.mp-n.hard.lock{background:linear-gradient(#ffb15a,#e8590c)!important;box-shadow:0 4px 0 #8a3300!important;color:#fff!important}
.mp-n.boss.lock{background:linear-gradient(#e0352b,#7a0d12)!important;box-shadow:0 4px 0 #4a0508,0 0 14px rgba(255,80,60,.6)!important;color:#ffd35a!important;border-color:#ffd35a!important}
.mp-n.easy.lock{background:linear-gradient(#8ee89a,#2fa84a)!important;box-shadow:0 4px 0 #1a6a2c!important;color:#fff!important}
.mp-n small{white-space:nowrap;font-size:8.5px}
.map-key{display:flex;justify-content:center;gap:6px;padding:6px 8px 8px;flex-wrap:wrap}
.map-key .mk{padding:3px 10px;border-radius:99px;font:700 11.5px var(--body);color:#fff;border:1.5px solid rgba(255,255,255,.5)}
.map-key .easy{background:linear-gradient(#8ee89a,#2fa84a)}.map-key .norm{background:linear-gradient(#7aa6e8,#3a68c8)}.map-key .hard{background:linear-gradient(#ffb15a,#e8590c)}.map-key .boss{background:linear-gradient(#e0352b,#7a0d12);color:#ffd35a;border-color:#ffd35a}
.map-key{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:center!important}
.map-key .mk{flex:none!important;width:auto!important;display:inline-block!important}
/* finished levels: quiet grey with a tick, so green only ever means Easy */
.mp-n.done{background:linear-gradient(#a9b6d4,#66779f)!important;border-color:#dfe6f5!important;box-shadow:0 4px 0 #3d4a6b!important;color:#fff!important}
.mp-n.done::after{content:"✓";position:absolute;right:-4px;top:-4px;width:18px;height:18px;border-radius:50%;background:#2fa84a;color:#fff;font:800 11px/18px var(--body);text-align:center;border:2px solid #fff}
/* owner 2026-10-24: premium Games page, the owner's Games title art, the close button inside the frame */
.games{position:relative;padding-top:6px}
.games .gm-x{position:absolute!important;top:6px!important;right:6px!important;margin:0!important;z-index:3;width:38px!important;height:38px!important}
.games .gm-title{display:block;width:72%;max-width:300px;margin:2px auto 4px;filter:drop-shadow(0 6px 10px rgba(0,0,0,.45))}
.games .gm-stats{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin-bottom:10px}
.games .gm-stats span{display:flex;align-items:center;gap:4px;padding:4px 10px;border-radius:99px;background:rgba(6,16,52,.65);border:1px solid rgba(255,211,90,.45);font:600 11.5px var(--body);color:#cfdcff}
.games .gm-stats b{font:400 13px 'Lilita One',var(--display);color:#ffd35a}.games .gm-stats img{width:16px;height:16px}
.games .gm-hero{background:linear-gradient(135deg,#2a5bd8,#3a1f8f)!important;border:3px solid #ffd35a!important;box-shadow:0 0 0 2px #7a4b00,0 8px 20px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.3)!important}
.games .gm-step{background:linear-gradient(rgba(255,255,255,.09),rgba(255,255,255,.04))!important;border:1px solid rgba(255,211,90,.25)!important}
.games .gm-step i{box-shadow:0 2px 0 #a86a00,inset 0 1px 0 rgba(255,255,255,.6)}
.games .gm-bot{border:1px solid rgba(255,211,90,.3)!important;background:linear-gradient(rgba(255,255,255,.08),rgba(255,255,255,.03))!important}
/* win streak: a small flame badge on the level pill's top-right corner, takes no space (owner 2026-10-24) */
#home .play small#playLvl{position:relative;overflow:visible!important}
html #playStreak{position:absolute!important;top:-13px!important;right:-14px!important;left:auto!important;width:30px;height:30px;padding:0!important;gap:0!important;border-radius:50%;display:grid!important;place-items:center;background:radial-gradient(circle at 50% 35%,#ff8a2a,#d4280c)!important;border:2px solid #ffe27a;box-shadow:0 2px 6px rgba(0,0,0,.45);z-index:2}
html #playStreak img{position:absolute;width:15px!important;height:15px!important;top:-9px;left:50%;translate:-50% 0}
html #playStreak b{font:400 14px/1 'Lilita One',var(--display);color:#fff;text-shadow:0 1px 0 #7a1a00;margin-top:2px}
html #playStreak span{display:none}
html #playStreak{top:-17px!important;right:-20px!important;width:27px!important;height:27px!important}
html #home #playStreak b{font:400 13px/1 'Lilita One',var(--display)!important;color:#fff!important}
#home .play small#playLvl:has(#playStreak){padding-right:14px!important}
/* owner 2026-10-24 "the price tag is better" (Truck Star x2): the streak is a tilted hexagon tag, gold rim, red face */
html #playStreak{top:-16px!important;right:-22px!important;width:40px!important;height:36px!important;border:0!important;border-radius:0!important;background:linear-gradient(#fff3b0,#e9a90c 60%,#a86a00)!important;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);rotate:12deg;box-shadow:none!important;filter:drop-shadow(0 2px 3px rgba(0,0,0,.5))}
html #playStreak .ps-in{position:absolute;inset:3px;display:flex;align-items:center;justify-content:center;gap:0;background:radial-gradient(circle at 50% 30%,#ff5a3a,#c0120c 70%);clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)}
html #playStreak .ps-in img{position:static!important;translate:none!important;width:12px!important;height:12px!important;margin-right:1px}
html #home #playStreak b{font:400 14px/1 'Lilita One',var(--display)!important;color:#fff!important;text-shadow:0 1px 0 #6a0000;margin:0}
html #playStreak{top:-22px!important;right:-30px!important;width:42px!important;height:38px!important}html #playStreak .ps-in{inset:3.5px}
#home #playBtn,#home .hb-row{overflow:visible!important}html #playStreak{right:-16px!important;top:-24px!important;z-index:5}
#home .play small#playLvl:has(#playStreak){padding-right:26px!important}html #playStreak{top:-20px!important;right:-14px!important;width:38px!important;height:34px!important}

/* the odds screen, parent approval (audit 2026-10-24) */
.odds .od-p{font:500 12.5px/1.4 var(--body);color:#cfdcff;margin:6px 0 8px;text-align:center}
.odds .od-h{display:block;margin:10px 0 4px;font:400 16px 'Lilita One',var(--display);color:#ffd35a}
.odds .od-t{width:100%;border-collapse:collapse;font:600 13px var(--body);color:#fff}
.odds .od-t td{padding:5px 8px;border-bottom:1px solid rgba(255,255,255,.1)}.odds .od-t td:last-child{text-align:right;color:#ffd35a;font-weight:800}
.od-link{color:#ffd35a!important;text-decoration:underline;font-weight:700}
.al-odds{display:block;text-align:center;font:700 12px var(--body);margin:2px 0 6px}
.st-out{color:#cfdcff!important}

/* Level Map (owner 2026-10-24 mock-up) */
#modal.mq-full .sheet{background:none!important;box-shadow:none!important;border:0!important;padding:0!important;width:100%!important;max-width:430px}
.mq{display:flex;flex-direction:column;height:min(86vh,760px);border-radius:26px;overflow:hidden;background:linear-gradient(#2a64d8,#173a9a);border:4px solid #6fb6ff;box-shadow:0 0 0 3px #0d2a78,0 18px 40px rgba(0,0,0,.55),inset 0 2px 0 rgba(255,255,255,.35)}
.mq-head{position:relative;display:flex;justify-content:center;align-items:center;padding:12px 56px 6px}
.mq-head b{font:400 34px/1 'Lilita One',var(--display);color:#fff;text-shadow:0 3px 0 #0d2a78,0 0 14px rgba(120,200,255,.6)}
.mq-head b::before,.mq-head b::after{content:"★";font-size:22px;color:#ffd84a;margin:0 8px;vertical-align:6px;text-shadow:0 2px 0 #a86a00}
.mq-x{position:absolute;right:10px;top:8px;width:44px;height:44px;border-radius:50%;border:3px solid #fff;background:radial-gradient(circle at 50% 35%,#ff6a7a,#d4142c);box-shadow:0 3px 0 #7a0012;cursor:pointer}
.mq-x::before,.mq-x::after{content:"";position:absolute;left:50%;top:50%;width:18px;height:4px;border-radius:2px;background:#fff;translate:-50% -50%;rotate:45deg}.mq-x::after{rotate:-45deg}
.mq-key{display:flex;gap:5px;padding:6px 8px 10px;justify-content:center}
.mq-key span{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;gap:4px;padding:6px 6px;border-radius:99px;font:700 12px var(--body);color:#fff;white-space:nowrap;border:2px solid rgba(255,255,255,.55);box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 2px 0 rgba(0,0,0,.25)}
.mq-key svg{width:17px;height:17px;flex:none}
.mq-key .easy{background:linear-gradient(#5be36a,#1e9e34)}.mq-key .norm{background:linear-gradient(#5d84ff,#2c47c9)}.mq-key .hard{background:linear-gradient(#ffb04a,#ef6a0c)}.mq-key .boss{background:linear-gradient(#ff5a7a,#c4123a)}
.mq-scroll{flex:1;overflow-y:auto;margin:0 8px 8px;border-radius:18px;border:3px solid rgba(120,180,255,.6);background:#0b2a6e}
.mq-w{position:relative;width:100%;height:0;background-size:100% 100%;background-repeat:no-repeat}
.mq-path{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.mq-path path{fill:none;stroke:#fff;stroke-width:.9;stroke-dasharray:2.4 2;stroke-linecap:round;opacity:.9;filter:drop-shadow(0 0 1px #7fd0ff)}
.mq-at{position:absolute;translate:-50% -50%;z-index:1}
.mq-n{position:relative;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;border:3px solid #fff;cursor:pointer;padding:0;box-shadow:0 4px 0 rgba(0,0,0,.35),0 6px 10px rgba(0,0,0,.35),inset 0 2px 0 rgba(255,255,255,.5)}
.mq-n b{font:400 20px/1 'Lilita One',var(--display);color:#fff;text-shadow:0 2px 0 rgba(0,0,0,.35)}
.mq-n.normal{background:radial-gradient(circle at 50% 30%,#6c93ff,#2448c9)}
.mq-n.easy{background:radial-gradient(circle at 50% 30%,#6ff07c,#1e9e34)}
.mq-n.hard{background:radial-gradient(circle at 50% 30%,#ffb85a,#e85d0a)}
.mq-n.hex{border:0;border-radius:0;width:52px;height:52px;background:linear-gradient(#fff,#ffd0d8);clip-path:polygon(25% 3%,75% 3%,100% 50%,75% 97%,25% 97%,0 50%);box-shadow:none;filter:drop-shadow(0 4px 0 rgba(0,0,0,.35))}
.mq-n.hex::before{content:"";position:absolute;inset:3px;background:radial-gradient(circle at 50% 30%,#ff5a6a,#c4122a);clip-path:polygon(25% 3%,75% 3%,100% 50%,75% 97%,25% 97%,0 50%)}
.mq-n.hex b{position:relative}
.mq-crown{position:absolute;top:-22px;left:50%;translate:-50% 0;width:30px;height:22px;background:linear-gradient(#ffe27a,#f2a20e);clip-path:polygon(0 100%,0 30%,25% 60%,50% 0,75% 60%,100% 30%,100% 100%);filter:drop-shadow(0 2px 0 #a86a00);z-index:2}
.mq-n.done{filter:saturate(.75) brightness(.92)}
.mq-tick{position:absolute;right:-3px;bottom:-2px;width:18px;height:18px;border-radius:50%;background:#2fbf4a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 13l4 4 10-10' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;border:2px solid #fff;z-index:2}
.mq-n.cur{width:60px;height:60px;background:radial-gradient(circle at 50% 30%,#c06bff,#6a1fc9);border-color:#ffd84a;box-shadow:0 0 0 3px #a86a00,0 0 22px 6px rgba(255,214,90,.75),0 5px 0 rgba(0,0,0,.35);animation:mqPulse 1.4s ease-in-out infinite}
.mq-star{width:34px;height:34px;background:linear-gradient(#fff3a8,#f5b21c);clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);filter:drop-shadow(0 2px 0 #a86a00)}
.mq-n.cur em{position:absolute;bottom:-14px;left:50%;translate:-50% 0;padding:1px 8px;border-radius:99px;background:#6a1fc9;border:2px solid #ffd84a;font:400 13px/1.2 'Lilita One',var(--display);font-style:normal;color:#fff}
@keyframes mqPulse{50%{scale:1.08}}
html.lite .mq-n.cur{animation:none}
.mq-key{gap:4px;padding:6px 6px 10px}.mq-key span{font-size:11.5px;padding:6px 4px;gap:3px}.mq-key svg{width:15px;height:15px}
.mq-head b{white-space:nowrap;font-size:clamp(25px,8.2vw,34px)}.mq-head b::before,.mq-head b::after{font-size:.6em;margin:0 6px}
.mq-key span.boss{flex:1.35}.mq-key span{letter-spacing:-.1px}
@media (max-width:380px){.mq-key span{font-size:10.5px;padding:5px 3px}.mq-key svg{width:13px;height:13px}}
.mq-n{width:clamp(38px,11.5vw,48px);height:clamp(38px,11.5vw,48px)}.mq-n b{font-size:clamp(16px,4.8vw,20px)}
.mq-n.hex{width:clamp(42px,12.5vw,52px);height:clamp(42px,12.5vw,52px)}
.mq-n.cur{width:clamp(50px,15vw,60px);height:clamp(50px,15vw,60px)}.mq-star{width:56%;height:56%}

/* owner 2026-10-25: the picture stays still (background of the scroll box), only the levels move */
.mq-still{background-size:cover;background-position:center;background-repeat:no-repeat;background-attachment:scroll;position:relative}
.mq-track{position:relative;width:100%}
.mq-still .mq-path{position:absolute;left:0;top:0;width:100%}
.mq-still .mq-path path{stroke-width:3.5;stroke-dasharray:9 8;vector-effect:non-scaling-stroke}
.mq-band{position:absolute;left:50%;translate:-50% 0;padding:4px 14px;border-radius:99px;background:rgba(10,25,80,.75);border:2px solid #ffd84a;font:400 15px 'Lilita One',var(--display);color:#fff;white-space:nowrap}
.mq-chest{position:relative;display:flex;flex-direction:column;align-items:center;gap:0;background:none;border:0;padding:0;cursor:pointer}
.mq-chest svg{width:62px;height:54px;filter:drop-shadow(0 4px 4px rgba(0,0,0,.5))}
.mq-chest small{margin-top:-4px;padding:1px 8px;border-radius:99px;background:#6a1fc9;border:2px solid #ffd84a;font:400 12px/1.3 'Lilita One',var(--display);color:#fff;white-space:nowrap}
.mq-chest.shut svg{filter:grayscale(.55) brightness(.85) drop-shadow(0 4px 4px rgba(0,0,0,.5))}.mq-chest.shut small{background:#3a4a80;border-color:#9fb4e8}
.mq-chest.ready svg{animation:mqChest 1s ease-in-out infinite;filter:drop-shadow(0 0 10px #ffd84a) drop-shadow(0 4px 4px rgba(0,0,0,.5))}
.mq-chest.ready small{background:linear-gradient(#5be36a,#1e9e34);border-color:#fff}
.mq-chest.open{opacity:.7}.mq-chest.open small{background:#2a6a3a;border-color:#9fe8b0}
@keyframes mqChest{0%,100%{rotate:0deg;scale:1}25%{rotate:-6deg;scale:1.08}75%{rotate:6deg;scale:1.08}}
html.lite .mq-chest.ready svg{animation:none}
.mq-chest img{width:70px;height:auto;filter:drop-shadow(0 4px 4px rgba(0,0,0,.5))}.mq-chest.shut img{filter:grayscale(.55) brightness(.85) drop-shadow(0 4px 4px rgba(0,0,0,.5))}.mq-chest.ready img{animation:mqChest 1s ease-in-out infinite;filter:drop-shadow(0 0 10px #ffd84a) drop-shadow(0 4px 4px rgba(0,0,0,.5))}html.lite .mq-chest.ready img{animation:none}
/* the dramatic treasure chest (owner 2026-10-25) */
.cx{position:fixed;inset:0;z-index:10000;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 45%,rgba(40,20,90,.92),rgba(4,6,24,.97));animation:fade .25s}
.cx.out{animation:fadeout .28s forwards}
.cx-rays{position:absolute;left:50%;top:44%;width:900px;height:900px;translate:-50% -50%;background:repeating-conic-gradient(rgba(255,215,90,.22) 0 8deg,transparent 8deg 20deg);border-radius:50%;-webkit-mask:radial-gradient(circle,#000 18%,transparent 62%);mask:radial-gradient(circle,#000 18%,transparent 62%);opacity:0;transition:opacity .4s;animation:spin 14s linear infinite;pointer-events:none}
.cx.open .cx-rays{opacity:1}
.cx-glow{position:absolute;left:50%;top:44%;width:340px;height:340px;translate:-50% -50%;border-radius:50%;background:radial-gradient(circle,rgba(255,220,110,.75),transparent 65%);opacity:0;transition:opacity .4s;pointer-events:none}
.cx.open .cx-glow{opacity:1}
.cx-chest{position:relative;width:min(72vw,300px);margin-top:-6vh;animation:cxDrop .55s cubic-bezier(.2,1.5,.4,1) both;filter:drop-shadow(0 18px 24px rgba(0,0,0,.6))}
.cx-chest.shake{animation:cxShake .1s linear infinite}
.cx-chest.pop{animation:cxPop .5s cubic-bezier(.2,1.8,.4,1)}
@keyframes cxDrop{from{translate:0 -60vh;scale:.6}}
@keyframes cxShake{0%{rotate:-4deg;translate:-3px 0}50%{rotate:4deg;translate:3px 0}100%{rotate:-4deg;translate:-3px 0}}
@keyframes cxPop{0%{scale:.85}60%{scale:1.15}100%{scale:1}}
.cx-coins{position:absolute;left:50%;top:44%;width:0;height:0;pointer-events:none}
.cx-coins img{position:absolute;width:30px;height:30px;left:-15px;top:-15px;animation:cxCoin 1s cubic-bezier(.15,.8,.3,1) both}
@keyframes cxCoin{0%{transform:rotate(var(--a)) translateY(0) scale(.4);opacity:1}80%{opacity:1}100%{transform:rotate(var(--a)) translateY(calc(-1 * var(--d) - 60px)) scale(1);opacity:0}}
.cx-amt{display:flex;align-items:center;gap:8px;margin-top:14px;font:400 46px/1 'Lilita One',var(--display);color:#ffd84a;text-shadow:0 4px 0 #7a4b00,0 0 18px rgba(255,200,60,.7);opacity:0;transition:opacity .3s}
.cx-amt img{width:44px;height:44px}
.cx-t{margin-top:6px;font:400 22px 'Lilita One',var(--display);color:#fff;opacity:0;transition:opacity .3s}
.cx.open .cx-amt,.cx.open .cx-t{opacity:1}
.cx-go{margin-top:22px;min-width:220px;opacity:0;pointer-events:none;transition:opacity .3s .5s}
.cx.open .cx-go{opacity:1;pointer-events:auto}
html.lite .cx-rays{animation:none}
.cx .cx-go{height:60px;border-radius:30px;border:3px solid #fff3c4;background:linear-gradient(#7af06a,#22b34a 55%,#178a35);font:400 26px 'Lilita One',var(--display);color:#fff;text-shadow:0 2px 0 #0d5a20;box-shadow:0 0 0 3px #b07a10,0 6px 0 #0d5a20,0 10px 20px rgba(0,0,0,.5),inset 0 3px 0 rgba(255,255,255,.45)}
html body .cx button.cx-go{height:60px!important;border-radius:30px!important;border:3px solid #fff3c4!important;background:linear-gradient(#7af06a,#22b34a 55%,#178a35)!important;font:400 26px 'Lilita One',var(--display)!important;color:#fff!important;text-shadow:0 2px 0 #0d5a20!important;box-shadow:0 0 0 3px #b07a10,0 6px 0 #0d5a20,0 10px 20px rgba(0,0,0,.5),inset 0 3px 0 rgba(255,255,255,.45)!important}
/* owner 2026-10-25: the close button no longer sits over the Super Hard chip */
.mq-head{padding:10px 58px 4px!important;min-height:52px}
.mq-x{top:8px!important;right:8px!important;width:40px!important;height:40px!important}
.mq-key{padding:4px 8px 10px!important}
.mq-key svg{width:17px!important;height:17px!important;filter:drop-shadow(0 1px 0 rgba(0,0,0,.3))}
/* owner 2026-10-25: Moves very visible and premium; pops 10 to 6, heartbeat 5 to 1 (also in Lite mode) */
#puzzle .pz-moves{width:74px!important;height:74px!important;border-width:4px!important;box-shadow:0 0 0 3px #7a4b00,0 0 16px rgba(255,214,90,.55),inset 0 3px 0 rgba(255,255,255,.4),0 6px 12px rgba(0,0,0,.5)!important}
#puzzle .pz-moves small{font:700 10px var(--body)!important;letter-spacing:.06em;text-transform:uppercase}
#puzzle .pz-moves b{font-size:32px!important}
#puzzle .pz-moves.warn{box-shadow:0 0 0 3px #7a3000,0 0 22px rgba(255,150,40,.8),inset 0 3px 0 rgba(255,255,255,.4)!important}
#puzzle .pz-moves.low{box-shadow:0 0 0 3px #5a0000,0 0 26px 4px rgba(255,60,60,.85),inset 0 3px 0 rgba(255,255,255,.4)!important}
#puzzle .pz-moves.mv-pop{animation:mvBox .38s cubic-bezier(.2,1.8,.4,1)!important}
@keyframes mvBox{0%{transform:scale(1.35)}100%{transform:scale(1)}}
@keyframes mvHeart{0%,100%{transform:scale(1)}14%{transform:scale(1.22)}28%{transform:scale(1)}42%{transform:scale(1.14)}56%{transform:scale(1)}}
.mv-call{position:absolute;left:50%;top:38%;translate:-50% -50%;z-index:70;display:flex;flex-direction:column;align-items:center;pointer-events:none;animation:mvCall 1.5s cubic-bezier(.2,1.4,.4,1) forwards}
.mv-call b{font:400 96px/1 'Lilita One',var(--display);color:#fff;-webkit-text-stroke:4px #7a3000;text-shadow:0 6px 0 #7a3000,0 0 30px rgba(255,170,60,.9)}
.mv-call span{font:400 30px 'Lilita One',var(--display);color:#ffd84a;-webkit-text-stroke:2px #5a2a00;text-shadow:0 3px 0 #5a2a00}
.mv-call.red b{-webkit-text-stroke-color:#7a0000;text-shadow:0 6px 0 #7a0000,0 0 34px rgba(255,60,60,.95)}
@keyframes mvCall{0%{scale:.2;opacity:0}18%{scale:1.15;opacity:1}30%{scale:1}80%{scale:1;opacity:1}100%{scale:1.4;opacity:0}}
#boardIn .curtain{transition:height .35s cubic-bezier(.3,1.4,.5,1)}#boardIn .curtain .ct-strip{transform:none!important}#boardIn .curtain::after{content:"";position:absolute;left:0;right:0;bottom:0;height:8px;background:repeating-linear-gradient(90deg,transparent 0 5px,rgba(255,255,255,.95) 5px 7px);clip-path:polygon(0 0,10% 100%,20% 0,30% 100%,40% 0,50% 100%,60% 0,70% 100%,80% 0,90% 100%,100% 0)}
/* the 10 / 5 moves call-out and the badge pop never move the page (owner 2026-10-25 "looks like a bug") */
#puzzle{overflow:hidden!important}
.mv-call{position:fixed!important;top:42%!important;contain:layout}
#puzzle .pz-moves{will-change:transform;transform-origin:50% 50%}
/* owner 2026-10-25 "looks poor and cheap": each goal is its own little tile, icon on top, number in a pill */
#puzzle .pz-goals{gap:5px!important;padding:2px 2px 0}
#puzzle .pz-goals .goal{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:2px;min-width:0;padding:4px 2px 3px;border-radius:12px;background:linear-gradient(#ffffff,#dbe9ff);border:2px solid #9cc8ff;box-shadow:inset 0 -2px 0 rgba(30,80,170,.18),0 2px 3px rgba(10,40,110,.25)}
#puzzle .pz-goals .goal img,#puzzle .pz-goals .goal .gi{width:30px!important;height:30px!important;object-fit:contain;filter:drop-shadow(0 2px 1px rgba(0,0,0,.25))}
#puzzle .pz-goals .goal b{display:block;min-width:30px;padding:1px 6px;border-radius:99px;background:linear-gradient(#2f6bff,#1a46c9);color:#fff!important;text-shadow:0 1px 0 #0b2a80!important;font:400 15px/1.15 'Lilita One',var(--display)!important;text-align:center;box-shadow:inset 0 1px 0 rgba(255,255,255,.35)}
#puzzle .pz-goals .goal.done{border-color:#5be36a;background:linear-gradient(#f0fff2,#c8f5cf)}
#puzzle .pz-goals .goal.done b{background:linear-gradient(#5be36a,#1e9e34)}
#puzzle .pz-goals:has(.goal:nth-child(4)) .goal img,#puzzle .pz-goals:has(.goal:nth-child(4)) .goal .gi{width:24px!important;height:24px!important}
#puzzle .pz-goals:has(.goal:nth-child(4)) .goal b{font-size:13px!important;padding:1px 4px;min-width:24px}
/* level card difficulty strip: icon and words centred as one group (owner 2026-10-25 "make it align") */
.lc-tier{display:flex!important;align-items:center;justify-content:center;gap:12px;text-align:left}
.lc-tier .lt-ic{grid-row:auto!important}
.lc-tier > b,.lc-tier > small{display:block}
.lc-tier .lt-txt{display:flex;flex-direction:column;align-items:flex-start}

/* owner 2026-10-25 "the pop notifications are boring looking and too distracting, make them smaller":
   one quiet look for every message: a small dark pill with a thin gold edge, shown briefly, never a big card over the board */
html .toast{padding:4px 12px 4px 4px!important;gap:6px!important;font:600 12px/1.3 Poppins,var(--body)!important;border:1px solid rgba(255,216,74,.55)!important;
  background:rgba(10,18,44,.88)!important;box-shadow:0 4px 12px rgba(0,0,0,.3)!important;top:calc(54px + var(--safeT,0px))!important;max-width:min(320px,calc(100vw - 40px))!important}
html .toast .t-ic{width:18px!important;height:18px!important}
html .toast span{-webkit-line-clamp:2}
html #puzzle>.pz-tip{left:50%;right:auto;translate:-50% 0;width:max-content;max-width:min(300px,calc(100vw - 48px));padding:5px 12px;border-radius:99px;border:1px solid rgba(255,216,74,.55);
  background:rgba(10,18,44,.88);font:600 12px/1.3 Poppins,var(--body);box-shadow:0 4px 12px rgba(0,0,0,.3)}
.tier-intro.calm .ti-card{padding:8px 18px 7px!important;border-radius:14px!important;border-width:2px!important;box-shadow:0 6px 16px rgba(0,0,0,.3)!important}
.tier-intro.calm b{font-size:22px!important}
.tier-intro.calm small{font-size:11px!important}
.tier-intro.calm .ti-star{top:-14px;width:26px;height:26px}
.mv-call b{font-size:56px!important;-webkit-text-stroke-width:3px!important;text-shadow:0 4px 0 #7a3000!important}
.mv-call.red b{text-shadow:0 4px 0 #7a0000!important}
.mv-call span{font-size:18px!important;-webkit-text-stroke-width:1.5px!important}
html.in-pz .toast{top:calc(84px + var(--safeT,0px))!important}
/* Coin Rush chip: a full-width bar lined up with the Play row edges */
#home .bn-chip{left:8px;right:8px;margin-top:-56px;height:46px;padding:0 6px 0 8px;gap:10px;border-radius:16px;box-sizing:border-box;animation:none}
#home .bn-chip img{width:36px;height:36px;flex:none}
#home .bn-chip .bn-t{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center}
#home .bn-chip b{font-size:15px}
#home .bn-chip small{font-size:11px;margin-top:1px}
#home .bn-chip .bn-go{flex:none;font:800 13px/1 Poppins,sans-serif;font-style:normal;color:#fff;padding:9px 16px;border-radius:11px;background:linear-gradient(#3fd06a,#1f9a43);box-shadow:0 3px 0 #13692c;text-shadow:0 1px 0 rgba(0,0,0,.25)}
#home .bn-chip .bn-t b,#home .bn-chip .bn-t small{color:#4a2a00!important;text-shadow:none!important}
/* map legend: each chip sized to its own words (no text touching the edges) */
.mq-key{gap:4px!important;padding:4px 6px 10px!important}
.mq-key span,.mq-key span.boss{flex:1 1 auto!important;padding:5px 8px!important;gap:3px!important;font-size:11px!important;letter-spacing:0}
.mq-key svg{width:14px!important;height:14px!important}
@media (max-width:360px){.mq-key span,.mq-key span.boss{padding:5px 5px!important;font-size:10px!important}.mq-key svg{width:12px!important;height:12px!important}}
/* win streak: a price tag hanging off the Play button's top-right corner */
html #playStreak{top:-14px!important;right:-18px!important;width:auto!important;height:24px!important;rotate:14deg;transform-origin:0 50%;clip-path:polygon(11px 0,100% 0,100% 100%,11px 100%,0 50%)!important;background:#fff3c2!important;padding:0 2px 0 0!important;filter:drop-shadow(0 2px 2px rgba(0,0,0,.45))}
html #playStreak .ps-in{position:relative!important;inset:auto!important;height:20px;margin:2px 0 2px 2px;padding:0 7px 0 15px;clip-path:polygon(9px 0,100% 0,100% 100%,9px 100%,0 50%)!important;background:linear-gradient(#ff6a3a,#d0200c)!important;border-radius:0 4px 4px 0;gap:2px!important}
html #playStreak .ps-in::before{content:'';position:absolute;left:7px;top:50%;width:5px;height:5px;margin-top:-2.5px;border-radius:50%;background:#fff3c2;box-shadow:inset 0 1px 1px rgba(0,0,0,.4)}
html #playStreak{border-radius:0 6px 6px 0!important}
html #home #playStreak b{font-size:13px!important}
#home .play small#playLvl:has(#playStreak){padding-right:12px!important}
html #playStreak{top:-24px!important;right:-26px!important;height:28px!important}
html #playStreak .ps-in{height:24px;padding:0 9px 0 17px}
html #playStreak .ps-in img{width:14px!important;height:14px!important}
html #home #playStreak b{font-size:15px!important}
html #playStreak{top:-31px!important;right:-30px!important}
/* win streak: owner sample 2026-10-25, a tilted red hexagon with a gold rim reading x2 on the pill corner */
html #playStreak{top:-24px!important;right:-24px!important;width:38px!important;height:34px!important;padding:0!important;rotate:12deg;border-radius:0!important;background:linear-gradient(#fff3b0,#e9a90c 60%,#a86a00)!important;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)!important;filter:drop-shadow(0 2px 3px rgba(0,0,0,.5))}
html #playStreak .ps-in{position:absolute!important;inset:3px!important;height:auto;margin:0;padding:0;border-radius:0;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 30%,#ff5a3a,#c0120c 70%)!important;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)!important}
html #playStreak .ps-in::before{display:none}
html #home #playStreak b{font:400 15px/1 'Lilita One',var(--display)!important;color:#fff!important;text-shadow:0 1px 0 #6a0000}
html #home #playStreak b{text-transform:none!important}
/* win streak: owner sample 2026-10-25, a red hexagon price tag hanging on a gold rope from the pill's top edge */
html #playStreak{top:-10px!important;right:-30px!important;width:44px!important;height:54px!important;padding:0!important;rotate:none;background:none!important;clip-path:none!important;border:0!important;box-shadow:none!important;display:block!important;filter:drop-shadow(0 2px 3px rgba(0,0,0,.5))}
html #playStreak .ps-rope{position:absolute;left:2px;top:0;width:20px;height:24px;z-index:2}
html #playStreak .ps-hex{position:absolute;left:6px;top:17px;width:38px;height:34px;rotate:14deg;background:linear-gradient(#fff3b0,#e9a90c 60%,#a86a00);clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)}
html #playStreak .ps-in{position:absolute!important;inset:3px!important;display:flex!important;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 30%,#ff4a3a,#b8100c 75%)!important;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)!important}
html #playStreak .ps-in::before{content:'';display:block!important;position:absolute;left:50%;top:3px;width:5px;height:5px;margin-left:-6px;border-radius:50%;background:#5a0a00}
html #home #playStreak b{font:400 15px/1 'Lilita One',var(--display)!important;color:#ffe45a!important;text-shadow:0 1.5px 0 #6a0000!important;text-transform:none!important;margin-top:3px}
html #playStreak .ps-hex{display:block!important}
html #playStreak{top:-16px!important;right:-32px!important;width:46px!important;height:60px!important}
html #playStreak .ps-rope{left:0;top:0;width:22px;height:28px}
html #playStreak .ps-hex{left:7px;top:22px;width:40px;height:36px}
/* rope ends exactly in the tag's hole; the tag tilts around that hole */
html #playStreak .ps-rope{left:0!important;top:0!important;width:46px!important;height:34px!important;z-index:2}
html #playStreak .ps-hex{left:7px!important;top:22px!important;width:40px!important;height:36px!important;transform-origin:50% 9px;rotate:14deg}
html #playStreak .ps-in::before{left:50%!important;top:3px!important;width:6px!important;height:6px!important;margin:0 0 0 -3px!important;background:#3a0600!important}
/* rope pinned on the level pill's own top edge */
html #playStreak{top:-5px!important}
html #playStreak .ps-rope{left:-10px!important;width:56px!important}
html #playStreak .ps-rope{left:0!important}html #playStreak .ps-hex{left:7px!important}
#home .play small#playLvl:has(#playStreak){padding-right:20px!important}
/* owner sample 2026-10-25: short gold rope from the pill's top-right rim, same gold as the pill, tag overlapping the pill's end */
html #playStreak{top:-3px!important;right:-28px!important;width:44px!important;height:50px!important}
html #playStreak .ps-rope{left:0!important;top:0!important;width:44px!important;height:26px!important;z-index:2}
html #playStreak .ps-hex{left:13px!important;top:12px!important;width:34px!important;height:31px!important;transform-origin:50% 8px;rotate:16deg}
html #playStreak .ps-in::before{top:2px!important;width:5px!important;height:5px!important;margin-left:-2.5px!important}
html #home #playStreak b{font-size:14px!important;margin-top:4px}
/* owner sample (Level 3159): rope grows out of the pill rim, steep, tag overlaps the pill's end */
html #playStreak{top:-2px!important;right:-28px!important;width:44px!important;height:50px!important;overflow:visible}
html #playStreak .ps-rope{left:0!important;top:0!important;width:44px!important;height:26px!important;z-index:2;overflow:visible}
html #playStreak .ps-hex{left:-4px!important;top:13.5px!important;width:36px!important;height:32px!important;transform-origin:50% 7.5px;rotate:18deg}
html #home #playStreak b{font-size:16px!important;color:#ffe14a!important;text-shadow:0 1.5px 0 #6a0000,0 0 2px #6a0000!important;margin-top:4px}
html #playStreak .ps-hex{left:-5px!important;top:10.5px!important}
/* streak tag from the owner's art (strap cut to sit on the Play rim) */
html #playStreak{right:-22px!important;width:40px!important;height:56px!important;padding:0!important;background:none!important;clip-path:none!important;border:0!important;box-shadow:none!important;rotate:none!important;display:block!important;filter:drop-shadow(0 2px 2px rgba(0,0,0,.4))}
html #playStreak img{position:absolute!important;inset:0;width:40px!important;height:56px!important;translate:none!important;top:0!important;left:0!important}
html #home #playStreak b{position:absolute;left:50%;top:69%;translate:-50% -50%;rotate:9deg;margin:0!important;font:400 15px/1 'Lilita One',var(--display)!important;color:#ffe14a!important;text-shadow:0 1.5px 0 #6a0000,0 0 2px #6a0000!important;text-transform:none!important;white-space:nowrap}
/* v2 tag art (strap end already cut flat): 42x53.5, hexagon centre at 54%/67%, tilted ~20deg */
html #playStreak{right:-21px!important;width:42px!important;height:54px!important}
html #playStreak img{width:42px!important;height:54px!important}
html #home #playStreak b{left:54%;top:67%;rotate:18deg}
/* v3 (owner 2026-10-25 "a bit smaller, hook on the edge"): 36x45.8, hexagon centre 18.6px in from the tag's right, so it overlaps the pill end */
html #playStreak{right:-18.6px!important;width:36px!important;height:45.8px!important}
html #playStreak img{width:36px!important;height:45.8px!important}
html #home #playStreak b{font-size:13px!important}
/* owner 2026-10-25 "the top brown line is where the hook needs to sit, on top and not inside": the tag hangs from the Play button itself,
   not the pill. The hook's lowest edge (7.3px down the 36px tag) rests on the top of the frame's outer brown line (0.9px below the button top). */
html #home #playBtn > #playStreak{top:-6.4px!important;right:3px!important;left:auto!important;bottom:auto!important}
html #home .hb-row #playBtn.has-streak{gap:2px!important}html #home .hb-row #playBtn.has-streak #playLvl{margin-right:18px!important}   /* text clears the tag, PLAY keeps its place */
/* narrow Play buttons (small phones): a 32px tag (hook edge 6.5px down it, so top -5.6px keeps it on the brown line) and slightly smaller words, so nothing touches */
@media (max-width:410px){   /* phones up to 410px wide get a Play button under ~215px: plain media query, older phone browsers have no container queries or :has() */
  html #home #playBtn > #playStreak{width:32px!important;height:40.7px!important;top:-5.6px!important;right:5px!important}
  html #home #playBtn > #playStreak img{width:32px!important;height:40.7px!important}
  html #home #playBtn > #playStreak b{font-size:11.5px!important}
  html #home .hb-row #playBtn.has-streak > b{font-size:clamp(20px, 25vw - 64px, 26px)!important}   /* 22px at 344, 26px from 360 */
  html #home .hb-row #playBtn.has-streak #playLvl{margin-right:15px!important;font-size:clamp(10.5px, 9.4vw - 21.8px, 12px)!important}
}
/* Fold cover screens (<=340px, where the game already drops PLAY to 22px): with the tag, go a little smaller, never bigger */
@media (max-width:340px){
  html #home .hb-row #playBtn.has-streak > b{font-size:20px!important}
  html #home .hb-row #playBtn.has-streak #playLvl{margin-right:16px!important;font-size:10.5px!important;padding:4px 5px!important}
}
/* the tiniest covers (<=300px, first Galaxy Fold): 28px tag (hook edge 5.66px down it, top -4.76px keeps it on the brown line) */
@media (max-width:300px){
  html #home #playBtn > #playStreak{width:28px!important;height:35.6px!important;top:-4.76px!important;right:4px!important}
  html #home #playBtn > #playStreak img{width:28px!important;height:35.6px!important}
  html #home #playBtn > #playStreak b{font-size:10px!important}
  html #home .hb-row #playBtn.has-streak > b{font-size:17px!important}
  html #home .hb-row #playBtn.has-streak #playLvl{margin-right:13px!important;font-size:10px!important;padding:4px 4px!important}
}
/* Phase A machines (owner 2026-10-26): Turbine Fan, Chevron Roller, Bubble Blaster, Cryo Cannon, Paint Cannon */
.bigob.mach{z-index:4}
.bigob.mach .mc-img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(0,0,0,.45))}
.bigob.mach .mc-t{position:absolute;top:-6%;right:-6%;min-width:42%;height:42%;padding:0 3px;box-sizing:border-box;display:grid;place-items:center;border-radius:99px;background:#1b2a4a;border:2px solid #fff;color:#fff;font:400 calc(var(--cell,40px) * .26)/1 'Lilita One',var(--display);box-shadow:0 2px 3px rgba(0,0,0,.4)}
.bigob.mach.arm .mc-t{background:#ff3b30;animation:mcPulse .7s ease-in-out infinite}
.bigob.mach.arm .mc-img{filter:drop-shadow(0 0 6px #fff) drop-shadow(0 2px 2px rgba(0,0,0,.45))}
.bigob.mach .mc-hp{position:absolute;bottom:2%;left:50%;translate:-50% 0;display:flex;gap:2px}
.bigob.mach .mc-hp i{width:7px;height:7px;border-radius:50%;background:rgba(0,0,0,.45);border:1px solid rgba(255,255,255,.6)}
.bigob.mach .mc-hp i.on{background:#ffd84a;border-color:#fff}
.bigob.mach .mc-dir{position:absolute;inset:0;pointer-events:none}
.bigob.mach .mc-dir::after{content:'';position:absolute;top:50%;right:-14%;margin-top:-7px;border:7px solid transparent;border-left:11px solid #fff;border-right:0;filter:drop-shadow(0 1px 1px rgba(0,0,0,.7))}
.bigob.mach .mc-col{position:absolute;bottom:-4%;left:-4%;width:38%;height:38%;object-fit:contain;border-radius:50%;background:#fff;padding:2px;box-sizing:border-box;box-shadow:0 1px 3px rgba(0,0,0,.45)}
.bigob.mach.fire{animation:mcFire .35s ease-out}
@keyframes mcPulse{50%{transform:scale(1.18)}}
@keyframes mcFire{40%{transform:scale(1.18)}}
.mc-warn{position:absolute;left:0;top:0;z-index:5;pointer-events:none;box-sizing:border-box;border:3px solid var(--mc,#fff);border-radius:22%;background:rgba(255,255,255,.22);box-shadow:0 0 8px 2px var(--mc,#fff),inset 0 0 10px var(--mc,#fff);animation:mcWarn .8s ease-in-out infinite}
.tile.mc-aim::after{content:'';position:absolute;inset:0;border:3px solid var(--mc,#fff);border-radius:24%;background:rgba(255,255,255,.18);box-shadow:0 0 8px 2px var(--mc,#fff),inset 0 0 10px var(--mc,#fff);pointer-events:none;animation:mcWarn .8s ease-in-out infinite}
@keyframes mcWarn{50%{opacity:.55;transform:scale(.92)}}
.tile .bubble{position:absolute;inset:-3%;border-radius:50%;pointer-events:none;background:radial-gradient(circle at 32% 28%,rgba(255,255,255,.85) 0 8%,rgba(255,255,255,.12) 18%,rgba(143,227,255,.18) 60%,rgba(143,227,255,.5) 100%);box-shadow:inset 0 0 6px rgba(255,255,255,.7),0 0 4px rgba(143,227,255,.6);border:2px solid rgba(220,248,255,.85)}
.tile .ice{position:absolute;inset:2%;border-radius:18%;pointer-events:none;background:linear-gradient(135deg,rgba(255,255,255,.75),rgba(191,230,255,.55) 40%,rgba(120,190,240,.55));border:2px solid rgba(235,248,255,.95);box-shadow:inset 0 0 8px rgba(255,255,255,.8)}
.tile .ice::before{content:'';position:absolute;left:20%;top:16%;width:38%;height:10%;border-radius:4px;background:rgba(255,255,255,.9);rotate:-30deg}
.tile .bubble.born,.tile .ice.born{animation:mcBorn .3s ease-out}
@keyframes mcBorn{from{transform:scale(.3);opacity:0}}
.mc-shot{position:absolute;z-index:6;pointer-events:none;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff,var(--mc,#fff) 60%);box-shadow:0 0 10px var(--mc,#fff)}
/* owner 2026-10-26 "doesn't look like what a big brand would do": a game banner. Bright gradient in the message's colour, white rim,
   a chunky bottom edge, the game's display font, an icon that matches the message, a short drop-in with a little bounce.
   Still compact (owner 2026-10-25: small and not distracting). */
html body .toast{display:flex!important;align-items:center;gap:10px!important;padding:7px 18px 9px 8px!important;border-radius:18px!important;
  border:2px solid #fff!important;font:400 15px/1.2 'Lilita One',var(--display)!important;letter-spacing:.2px;color:#fff!important;text-shadow:0 2px 0 rgba(0,0,0,.28);
  background:linear-gradient(#55b4ff,#2a6fe8 55%,#1f56c9)!important;box-shadow:inset 0 2px 0 rgba(255,255,255,.45),inset 0 -4px 0 rgba(0,0,0,.18),0 4px 0 #173f97,0 10px 22px rgba(0,0,0,.35)!important;
  max-width:min(340px,calc(100vw - 32px))!important;min-height:44px!important;box-sizing:border-box;animation:toastIn .42s cubic-bezier(.3,1.5,.5,1) both!important}
html body .toast.t-good{background:linear-gradient(#7ff07d,#2fbf45 55%,#1f9a37)!important;box-shadow:inset 0 2px 0 rgba(255,255,255,.45),inset 0 -4px 0 rgba(0,0,0,.18),0 4px 0 #136b25,0 10px 22px rgba(0,0,0,.35)!important}
html body .toast.t-bad{background:linear-gradient(#ffb15a,#ff7a1f 55%,#e8560e)!important;box-shadow:inset 0 2px 0 rgba(255,255,255,.45),inset 0 -4px 0 rgba(0,0,0,.18),0 4px 0 #a33a06,0 10px 22px rgba(0,0,0,.35)!important}
html body .toast span{-webkit-line-clamp:2;text-align:left}
html body .toast .t-pic{width:34px;height:34px;object-fit:contain;flex:none;margin:-6px 0 -6px -2px;filter:drop-shadow(0 2px 2px rgba(0,0,0,.35))}
html body .toast .t-ic{width:28px!important;height:28px!important;flex:none;display:grid;place-items:center;border-radius:50%;background:#fff!important;box-shadow:0 2px 0 rgba(0,0,0,.2)!important;
  font:400 17px/1 'Lilita One',var(--display);font-style:normal;text-shadow:none;color:#2a6fe8}
html body .toast.t-good .t-ic{color:#1f9a37}
html body .toast.t-bad .t-ic{color:#e8560e}
@keyframes toastIn{from{opacity:0;translate:0 -24px;scale:.85}to{opacity:1;translate:0 0;scale:1}}
/* owner 2026-10-26 first 10 minutes: features appear as the player climbs (app.js UNLOCK), a pointer for the first steps (coach) */
html .lk-off{display:none!important}
.lk-new{animation:lkNew 1.1s ease-in-out 3!important;position:relative;z-index:5}
@keyframes lkNew{0%,100%{transform:scale(1);filter:none}50%{transform:scale(1.14);filter:drop-shadow(0 0 10px #ffe14a) brightness(1.15)}}
.coach-on{position:relative;z-index:50;animation:coachOn 1s ease-in-out infinite;border-radius:14px}
@keyframes coachOn{0%,100%{box-shadow:0 0 0 0 rgba(255,225,74,.95)}60%{box-shadow:0 0 0 10px rgba(255,225,74,0)}}
.coach{position:fixed;z-index:200;width:220px;pointer-events:none;display:flex;flex-direction:column;align-items:center;gap:4px}
.coach b{order:1;padding:8px 14px 10px;border-radius:16px;border:2px solid #fff;background:linear-gradient(#55b4ff,#1f56c9);color:#fff;font:400 15px/1.2 'Lilita One',var(--display);text-align:center;text-shadow:0 2px 0 rgba(0,0,0,.25);box-shadow:0 4px 0 #173f97,0 8px 18px rgba(0,0,0,.35)}
.coach .coach-hand{order:2;width:34px;height:34px;background:#ffe14a;border:2px solid #fff;border-radius:50% 50% 50% 8%;rotate:-45deg;box-shadow:0 3px 0 #b8860b;animation:coachHand .7s ease-in-out infinite alternate}
.coach.up b{order:2}.coach.up .coach-hand{order:1;rotate:135deg}
@keyframes coachHand{to{translate:0 8px}}
.coach.up .coach-hand{animation-name:coachHandUp}
@keyframes coachHandUp{to{translate:0 -8px}}
/* a grown out-of-moves offer (owner 2026-10-26): the coin button glows so the bigger deal is noticed */
.oom2-coin.grown{animation:oomGrow 1.2s ease-in-out infinite}
@keyframes oomGrow{50%{filter:brightness(1.18) drop-shadow(0 0 10px #ffe14a)}}
/* "Out Of Moves" band across the board before the offer (owner 2026-10-26, from a competitor screenshot) */
.oom-band{position:absolute;left:-6%;right:-6%;top:44%;z-index:30;display:grid;place-items:center;height:72px;background:linear-gradient(#3b3f52,#262938);border-top:4px solid #ffd84a;border-bottom:4px solid #ffd84a;box-shadow:0 6px 18px rgba(0,0,0,.45);animation:oomBand .32s cubic-bezier(.3,1.3,.5,1) both;pointer-events:none}
.oom-band b{font:400 32px/1 'Lilita One',var(--display);color:#fff3c2;text-shadow:0 3px 0 #6a4a10,0 0 10px rgba(255,216,74,.35);letter-spacing:.5px}
.oom-band.out{animation:oomBandOut .24s ease-in forwards}
@keyframes oomBand{from{transform:scaleY(0);opacity:0}}
@keyframes oomBandOut{to{transform:scaleY(0);opacity:0}}
/* owner 2026-10-26: level header on the owner's frame art (img/ui/hud-f = blue and gold, hud-m = steel and yellow). Each part sits in
   its slot of the art, placed in % of the frame, so it fits any phone width. Slots measured on the art (scratchpad hudcut.py). */
#puzzle .pz-head.hud{position:relative!important;display:block!important;width:min(100%,520px)!important;margin:0 auto!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;height:auto!important}
#puzzle .pz-head.hud-f{aspect-ratio:3.9262}
#puzzle .pz-head.hud-m{aspect-ratio:3.901}
#puzzle .pz-head.hud::before{content:'';position:absolute;inset:0;background:center/100% 100% no-repeat;pointer-events:none;z-index:0}
#puzzle .pz-head.hud-f::before{background-image:url(../img/ui/hud-f.webp?v=1)}
#puzzle .pz-head.hud-m::before{background-image:url(../img/ui/hud-m.webp?v=1)}
#puzzle .pz-head.hud>*{position:absolute!important;z-index:1;margin:0!important;box-sizing:border-box}
#puzzle .pz-head.hud .pz-av{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:50%!important;overflow:hidden}
#puzzle .pz-head.hud .pz-av img{width:100%!important;height:100%!important;object-fit:cover;border-radius:50%!important;border:0!important;box-shadow:none!important}
#puzzle .pz-head.hud .pz-card{display:contents!important}
#puzzle .pz-head.hud #pzLevel{position:absolute!important;z-index:2;display:grid!important;place-items:center;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;white-space:nowrap;font:400 clamp(13px,4.4vw,20px)/1 'Lilita One',var(--display)!important;color:#fff!important;text-shadow:0 2px 0 rgba(0,0,0,.45)!important}
#puzzle .pz-head.hud .pz-goals{position:absolute!important;z-index:2;display:flex!important;align-items:center;justify-content:space-evenly;gap:2px;padding:0 4%!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important}
#puzzle .pz-head.hud .pz-goals .goal{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;min-width:0!important;width:auto!important;display:flex!important;flex-direction:column;align-items:center}
#puzzle .pz-head.hud .pz-goals .goal img,#puzzle .pz-head.hud .pz-goals .goal .gi{width:clamp(22px,7vw,34px)!important;height:clamp(22px,7vw,34px)!important}
#puzzle .pz-head.hud .pz-goals .goal b{position:static!important;background:none!important;border:0!important;padding:0!important;margin-top:-4px;font:400 clamp(13px,4.2vw,19px)/1 'Lilita One',var(--display)!important;color:#fff!important;-webkit-text-stroke:3px #2a1c0c;paint-order:stroke fill}
#puzzle .pz-head.hud .pz-moves{width:auto!important;height:auto!important;border:0!important;border-radius:50%!important;background:none!important;box-shadow:none!important;padding:0!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center}
#puzzle .pz-head.hud .pz-moves small{font:700 clamp(7px,2.2vw,10px)/1 var(--body)!important;letter-spacing:.04em;text-transform:uppercase;color:#7a5a20!important;margin:0!important}
#puzzle .pz-head.hud .pz-moves b{font:400 clamp(18px,6.4vw,30px)/1 'Lilita One',var(--display)!important;color:#1b2a4a!important;text-shadow:none!important}
#puzzle .pz-head.hud-m .pz-moves small{color:#ffd23a!important}
#puzzle .pz-head.hud-m .pz-moves b{color:#fff!important;text-shadow:0 2px 0 #000!important}
#puzzle .pz-head.hud .pz-moves.low b{color:#e8261c!important}
#puzzle .pz-head.hud-m .pz-moves.low b{color:#ff6a5a!important}
#puzzle .pz-head.hud .pz-pause{width:auto!important;height:auto!important;border:0!important;border-radius:50%!important;background:none!important;box-shadow:none!important;padding:18%!important;display:grid;place-items:center}
#puzzle .pz-head.hud .pz-pause svg{width:100%;height:100%}
#puzzle .pz-head.hud-m .pz-pause svg{opacity:0}   /* the steel frame has its own pause button drawn in */
/* the slots */
#puzzle .pz-head.hud-f .pz-av{left:6.26%;top:22.54%;width:15.14%;height:59.43%}
#puzzle .pz-head.hud-f #pzLevel{left:37.06%;top:15.57%;width:25.57%;height:19.26%}
#puzzle .pz-head.hud-f .pz-goals{left:23.49%;top:36.89%;width:53.24%;height:38.93%}
#puzzle .pz-head.hud-f .pz-moves{left:79.33%;top:36.89%;width:10.65%!important;height:40.98%!important}
#puzzle .pz-head.hud-f .pz-pause{left:91.86%;top:48.36%;width:6.78%!important;height:26.23%!important}
#puzzle .pz-head.hud-m .pz-av{left:5.18%;top:15.25%;width:17.87%;height:69.31%}
#puzzle .pz-head.hud-m #pzLevel{left:35.94%;top:11.29%;width:28.93%;height:13.86%;color:#2a1c0c!important;text-shadow:0 1px 0 rgba(255,255,255,.4)!important}
#puzzle .pz-head.hud-m .pz-goals{left:26.09%;top:29.9%;width:48.43%;height:45.94%}
#puzzle .pz-head.hud-m .pz-moves{left:75.03%;top:19.21%;width:15.74%!important;height:51.49%!important;border-radius:12%!important}
#puzzle .pz-head.hud-m .pz-pause{left:92.49%;top:33.07%;width:6.9%!important;height:27.72%!important}
#puzzle .pz-head.hud #pzLevel,#puzzle .pz-head.hud>*{transform:none!important;translate:none!important}
#puzzle .pz-head.hud .pz-pause{padding:0!important}
#puzzle .pz-head.hud .pz-pause svg{width:62%!important;height:62%!important}
#puzzle .pz-head.hud-m #pzLevel{color:#fff!important;-webkit-text-stroke:3px #2a1c0c;paint-order:stroke fill;text-shadow:0 2px 0 rgba(0,0,0,.5)!important;font-size:clamp(12px,4vw,18px)!important}
/* owner 2026-10-26: new steel and yellow frame for men (the level sits in its own dark slot on the top tab) */
#puzzle .pz-head.hud-m{aspect-ratio:3.8065}
#puzzle .pz-head.hud-m::before{background-image:url(../img/ui/hud-m.webp?v=2)}
#puzzle .pz-head.hud-m .pz-av{left:5.08%;top:19.35%;width:17.11%;height:62.84%}
#puzzle .pz-head.hud-m #pzLevel{left:40.82%;top:8.62%;width:19.12%;height:15.33%}
#puzzle .pz-head.hud-m .pz-goals{left:25.92%;top:32.76%;width:49.12%;height:45.98%}
#puzzle .pz-head.hud-m .pz-moves{left:75.54%;top:23.95%;width:15.1%!important;height:47.89%!important}
#puzzle .pz-head.hud-m .pz-pause{left:92.35%;top:35.44%;width:7.05%!important;height:26.82%!important}
.lc-help{white-space:normal!important;text-align:center;font-size:13px!important;max-width:100%;box-sizing:border-box;overflow:visible!important;animation:none!important}
/* owner 2026-10-26 "the text looks like a glitch": no offset shadows on small text (they read as a doubled, blurry copy). Crisp labels:
   the title in solid gold, the booster names in white with an even dark outline, each name fits its tile */
html body .lc .lc-h{font:400 17px/1.1 'Lilita One',var(--display)!important;color:#ffd75a!important;text-shadow:none!important;-webkit-text-stroke:0!important;letter-spacing:.3px;margin:6px 0 2px!important}
html body .lc .lc-b small{font:400 12px/1.05 'Lilita One',var(--display)!important;color:#fff!important;text-shadow:none!important;-webkit-text-stroke:2.5px #123a7a;paint-order:stroke fill;letter-spacing:.2px;max-width:100%;white-space:nowrap}
html body .lc .lc-pre{grid-template-columns:repeat(4,1fr)!important;gap:6px!important}
html body .lc .lc-b small{font-size:11px!important}
/* the weapons a player would lose, pulsing for 2 seconds before the coin offer (owner 2026-10-26) */
#boardIn .tile.oom-show{z-index:20;animation:oomShow .7s ease-in-out infinite!important}
@keyframes oomShow{50%{transform:scale(1.18);filter:drop-shadow(0 0 10px #ffe14a) brightness(1.2)}}
/* owner 2026-10-26 "overlap": on the blue and gold frame everything stays inside its slot (goal numbers above the panel's bottom
   edge, MOVES below the gem on the circle) */
#puzzle .pz-head.hud .pz-goals .goal{justify-content:center;gap:0}
#puzzle .pz-head.hud .pz-goals .goal img,#puzzle .pz-head.hud .pz-goals .goal .gi{width:min(7.6cqh,26px)!important;height:min(7.6cqh,26px)!important}
#puzzle .pz-head.hud-f .pz-goals .goal img,#puzzle .pz-head.hud-f .pz-goals .goal .gi{width:clamp(18px,5.6vw,26px)!important;height:clamp(18px,5.6vw,26px)!important}
#puzzle .pz-head.hud-f .pz-goals .goal b{font-size:clamp(11px,3.6vw,16px)!important;margin-top:-3px;-webkit-text-stroke:2.5px #2a1c0c}
#puzzle .pz-head.hud-f .pz-moves small{font-size:clamp(6px,1.7vw,8px)!important;margin-top:4%!important}
#puzzle .pz-head.hud-f .pz-moves b{font-size:clamp(15px,5vw,24px)!important}
/* owner 2026-10-26: the panel is wide, so each goal sits in a row (icon, then its number) and stays well inside the panel */
#puzzle .pz-head.hud .pz-goals .goal{flex-direction:row!important;align-items:center!important;gap:3px!important}
#puzzle .pz-head.hud-f .pz-goals .goal img,#puzzle .pz-head.hud-f .pz-goals .goal .gi,#puzzle .pz-head.hud-m .pz-goals .goal img,#puzzle .pz-head.hud-m .pz-goals .goal .gi{width:clamp(20px,6.4vw,30px)!important;height:clamp(20px,6.4vw,30px)!important}
#puzzle .pz-head.hud .pz-goals .goal b{margin:0!important;font-size:clamp(13px,4.2vw,19px)!important}
/* owner 2026-10-26: back to icon on top, number under it (rows confused with 4 goals); sized so the pair sits inside the panel, centred.
   The number overlaps the bottom of its icon a little, like a badge, so the pair stays short. Moves text smaller. */
#puzzle .pz-head.hud .pz-goals .goal{flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:0!important}
#puzzle .pz-head.hud-f .pz-goals .goal img,#puzzle .pz-head.hud-f .pz-goals .goal .gi,#puzzle .pz-head.hud-m .pz-goals .goal img,#puzzle .pz-head.hud-m .pz-goals .goal .gi{width:clamp(18px,5.8vw,26px)!important;height:clamp(18px,5.8vw,26px)!important}
#puzzle .pz-head.hud .pz-goals .goal b{margin:-5px 0 0!important;font-size:clamp(11px,3.5vw,15px)!important;line-height:1!important}
#puzzle .pz-head.hud .pz-moves small{font-size:clamp(5.5px,1.5vw,7px)!important}
#puzzle .pz-head.hud .pz-moves b{font-size:clamp(13px,4.2vw,19px)!important}
#puzzle .pz-head.hud-f .pz-goals{top:39.5%!important;height:32%!important}
#puzzle .pz-head.hud-f .pz-goals .goal img,#puzzle .pz-head.hud-f .pz-goals .goal .gi{width:clamp(16px,5.2vw,24px)!important;height:clamp(16px,5.2vw,24px)!important}
#puzzle .pz-head.hud-f .pz-goals .goal b{font-size:clamp(10px,3.2vw,14px)!important;margin-top:-4px!important}
/* the cream band of the blue and gold panel is only 36% to 64% of the frame's height (measured on the art): the goals live inside it */
#puzzle .pz-head.hud-f .pz-goals{top:36.5%!important;height:27%!important}
#puzzle .pz-head.hud-f .pz-goals .goal img,#puzzle .pz-head.hud-f .pz-goals .goal .gi{width:clamp(14px,4.6vw,21px)!important;height:clamp(14px,4.6vw,21px)!important}
#puzzle .pz-head.hud-f .pz-goals .goal b{font-size:clamp(9px,2.9vw,13px)!important;margin-top:-4px!important;-webkit-text-stroke:2px #2a1c0c}
/* owner 2026-10-26 "overlap": the number sits fully under its icon, never on it */
#puzzle .pz-head.hud .pz-goals .goal b{margin-top:1px!important}
#puzzle .pz-head.hud-m .pz-goals .goal img,#puzzle .pz-head.hud-m .pz-goals .goal .gi{width:clamp(18px,5.4vw,25px)!important;height:clamp(18px,5.4vw,25px)!important}
#puzzle .pz-head.hud-m .pz-goals .goal b{font-size:clamp(11px,3.4vw,15px)!important}
#puzzle .pz-head.hud-f .pz-goals .goal img,#puzzle .pz-head.hud-f .pz-goals .goal .gi{width:clamp(13px,4vw,18px)!important;height:clamp(13px,4vw,18px)!important}
#puzzle .pz-head.hud-f .pz-goals .goal b{font-size:clamp(9px,2.7vw,12px)!important}
/* blue and gold panel, re-measured on the art: the cream runs 38.4% to 76% of the frame (70% under the centre gem). The goals sit
   centred in 40% to 69.5%, so the icons clear the top rim and the middle number clears the gem */
#puzzle .pz-head.hud-f .pz-goals{top:40%!important;height:29.5%!important;align-items:center!important}
#puzzle .pz-head.hud-f .pz-goals .goal{height:100%;justify-content:center!important}
#puzzle .pz-head.hud-f .pz-goals .goal img,#puzzle .pz-head.hud-f .pz-goals .goal .gi{width:clamp(15px,4.6vw,20px)!important;height:clamp(15px,4.6vw,20px)!important}
#puzzle .pz-head.hud-f .pz-goals .goal b{font-size:clamp(10px,3vw,13px)!important;margin-top:1px!important}

/* owner 2026-10-26 "the background line you use for your sketches": the button art was sliced 120px in from each end, where its
   gloss is still curving, so the stretched middle met the end caps with a visible line. Sliced at 200px (flat gloss) instead. */
/* the moment Play is tapped (owner 2026-10-26): a calm loading screen while the server sets the level up */
.lv-veil{position:fixed;inset:0;z-index:300;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:rgba(8,16,40,.72);animation:lvVeil .18s ease-out}
.lv-veil b{font:400 18px/1.2 'Lilita One',var(--display);color:#fff}
.lv-spin{width:44px;height:44px;border-radius:50%;border:5px solid rgba(255,255,255,.25);border-top-color:#ffd84a;animation:lvSpin .8s linear infinite}
@keyframes lvSpin{to{transform:rotate(360deg)}}
@keyframes lvVeil{from{opacity:0}}
/* owner 2026-10-26 "use the space": bigger goals filling the cream band (38.4% to 76% of the frame), number right under the icon */
#puzzle .pz-head.hud-f .pz-goals{top:39%!important;height:36%!important;align-items:center!important}
#puzzle .pz-head.hud-f .pz-goals .goal img,#puzzle .pz-head.hud-f .pz-goals .goal .gi{width:clamp(17px,5.8vw,25px)!important;height:clamp(17px,5.8vw,25px)!important}
#puzzle .pz-head.hud-f .pz-goals .goal b{font-size:clamp(11px,3.7vw,16px)!important;margin-top:0!important}
#puzzle .pz-head.hud-f .pz-goals{top:38.8%!important;height:31%!important}
#puzzle .pz-head.hud-f .pz-goals .goal img,#puzzle .pz-head.hud-f .pz-goals .goal .gi{width:clamp(16px,5.1vw,22px)!important;height:clamp(16px,5.1vw,22px)!important}
#puzzle .pz-head.hud-f .pz-goals .goal b{font-size:clamp(10px,3.4vw,14px)!important}
#puzzle .pz-head.hud-f .pz-goals{top:39.4%!important;height:30%!important}
#puzzle .pz-head.hud-f .pz-goals .goal b{line-height:.9!important}
/* owner 2026-10-26: female panel goals a little lower */
#puzzle .pz-head.hud-f .pz-goals{top:42%!important;height:30%!important}
/* booster names: two short lines when needed, always inside the tile */
html body .lc .lc-b{padding-left:3px!important;padding-right:3px!important;overflow:hidden}
html body .lc .lc-b small{white-space:normal!important;text-align:center;line-height:1.02!important;font-size:clamp(10px,2.9vw,12.5px)!important;min-height:2.04em;display:flex!important;align-items:center;justify-content:center;word-break:normal}
html body .lc .lc-b{overflow:visible!important}
html body .lc .lc-b small{word-spacing:100vw}   /* one word per line: every name on two even lines */

/* Your Net Worth (owner 2026-10-27): the owner's art with live parts on top; positions in % of the 842x1564 art, 1em = 10 art px */
.nw-sheet{background:none!important;box-shadow:none!important;padding:0!important;width:auto!important;max-width:none!important}
.nw{position:relative;width:min(94vw,440px,calc(94dvh * 842 / 1564));aspect-ratio:842/1564;margin:auto;font-size:4px;color:#fff}
.nw-bg{position:absolute;inset:0;width:100%;height:100%;display:block;border-radius:2.4em}
.nw-hit{position:absolute;background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer;border-radius:1.6em;-webkit-tap-highlight-color:transparent}
.nw-hit:active{background-color:rgba(255,255,255,.08)}
.nw-x{left:89.1%;top:1.6%;width:8.9%;height:4.8%;border-radius:50%}
.nw-t1{left:3.3%;top:31.1%;width:30.9%;height:4.9%}.nw-t2{left:34.7%;top:31.1%;width:31%;height:4.9%}.nw-t3{left:66.2%;top:31.1%;width:30.6%;height:4.9%}
.nw-r1{left:3.3%;top:37.3%;width:93.2%;height:10.7%}.nw-r2{left:3.3%;top:48.9%;width:93.2%;height:12.3%}.nw-r3{left:3.3%;top:62.1%;width:93.2%;height:12.5%}.nw-r4{left:3.3%;top:75.6%;width:93.2%;height:10%}
.nw-total{position:absolute;left:32.7%;top:23.4%;width:45.2%;height:5.4%;display:flex;align-items:center;justify-content:center;gap:1.4em;pointer-events:none}
.nw-total b{font:400 7.4em/1 'Lilita One',var(--display);letter-spacing:.01em;background:linear-gradient(#fff3b0,#ffd23f 45%,#e79a0c);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 .06em 0 rgba(90,50,0,.9))}
.nw-total img{width:6.4em;height:6.4em;flex:none}
.nw .nw-d{position:absolute;left:7%;width:34%;margin:0;text-align:left;font:400 2.3em/1.36 var(--body);color:#d3d8e2;pointer-events:none}
.nw .nw-d1{top:42.1%}.nw .nw-d2{top:53.6%}
.nw-unl{position:absolute;left:3.56%;top:87.08%;width:93.35%;height:10.49%;border-radius:2em;background:radial-gradient(120% 140% at 88% 50%,rgba(255,170,40,.22),transparent 55%),#020b1a;box-shadow:inset 0 0 1.4em rgba(255,190,60,.35);pointer-events:none}
.nw-crown{position:absolute;left:1%;top:8%;width:10.9%;height:auto}
.nw-h{position:absolute;left:11.7%;top:12%;font:700 2.5em/1 var(--body);text-transform:uppercase;letter-spacing:.01em}
.nw-bar{position:absolute;left:12.6%;top:43%;width:43%;height:1.7em;border-radius:1em;background:#232b3a;box-shadow:inset 0 0 0 .15em rgba(255,255,255,.08);overflow:hidden}
.nw-bar i{display:block;height:100%;border-radius:1em;background:linear-gradient(#ffd75a,#f2a30f)}
.nw-pc{position:absolute;left:57.5%;top:38%;font:700 2.5em/1 var(--body);font-style:normal;color:#ffc93a}
.nw .nw-line{position:absolute;left:12.6%;top:68%;width:62%;margin:0;text-align:left;font:400 1.9em/1.3 var(--body);color:#dfe5ef}
.nw-card{position:absolute;right:3.5%;top:50%;width:19.5%;aspect-ratio:1.586;transform:translateY(-50%) rotate(-6deg);border-radius:1em;overflow:hidden;padding:.9em;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 .8em 1.6em rgba(0,0,0,.6),0 0 1.6em rgba(255,190,60,.35)}
.nw-card b{font:800 1.6em/1 var(--display);font-style:italic}
.nw-card em{font:700 1.2em/1 var(--body);font-style:normal;text-transform:uppercase;letter-spacing:.1em;align-self:flex-end}

/* owner 2026-10-27: each tab and row is its own slice of the art, so it can grow on hover (mouse) and on press (phone) */
.nw .nw-tile{background-image:url(../img/ui/nw-bg.webp?v=1);background-repeat:no-repeat;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;z-index:1}
.nw .nw-t1{background-size:323.625% 2040.816%;background-position:4.776% 32.702%}
.nw .nw-t2{background-size:322.581% 2040.816%;background-position:50.29% 32.702%}
.nw .nw-t3{background-size:326.797% 2040.816%;background-position:95.389% 32.702%}
.nw .nw-r1{background-size:107.296% 934.579%;background-position:48.529% 41.769%}
.nw .nw-r2{background-size:107.296% 813.008%;background-position:48.529% 55.758%}
.nw .nw-r3{background-size:107.296% 800%;background-position:48.529% 70.971%}
.nw .nw-r4{background-size:107.296% 1000%;background-position:48.529% 84%}
.nw .nw-tile:active{transform:scale(1.05);z-index:3;box-shadow:0 0 0 .3em #ffd75a,0 1em 2.4em rgba(0,0,0,.6);filter:brightness(1.08);background-color:transparent}
@media (hover:hover){.nw .nw-tile:hover{transform:scale(1.05);z-index:3;box-shadow:0 0 0 .3em #ffd75a,0 1em 2.4em rgba(0,0,0,.6);filter:brightness(1.08)}}
.nw .nw-tile .nw-d{left:3.97%;width:36.5%}.nw .nw-r1 .nw-d{top:44.9%}.nw .nw-r2 .nw-d{top:38.2%}
.nw .nw-t1,.nw .nw-t2,.nw .nw-t3{border-radius:1.3em}.nw .nw-r1,.nw .nw-r2,.nw .nw-r3,.nw .nw-r4{border-radius:1.8em}

/* ---- Wallet, owner 2026-10-27 sample: glass tiles, round art icons, a framed card list ---- */
#wallet{background:radial-gradient(90% 40% at 0% 0%,rgba(40,90,255,.28),transparent 60%),radial-gradient(120% 60% at 50% 0%,#12286e,#081232 58%,#060b22)}
#wallet .sub-top{gap:14px}
#wallet .sub-top .round-btn{background:rgba(10,24,70,.6);border:2px solid #3a74ff;box-shadow:0 0 12px rgba(58,116,255,.45)}
#wallet .sub-top h2{text-shadow:none;font-size:26px}
#wallet .wl-sub{display:flex;align-items:center;gap:6px;padding:6px 12px 6px 6px;border-radius:999px;background:rgba(10,24,70,.55);border:1.5px solid rgba(90,140,255,.55);font:600 12.5px var(--body);color:#dfe8ff}
#wallet .wl-sub img{width:20px;height:20px}
#wallet .wl-body{overflow-y:auto;scrollbar-width:none;gap:9px}
#wallet .fc{box-shadow:0 14px 30px rgba(0,0,0,.55),0 0 0 2px rgba(255,214,106,.75),0 0 22px rgba(70,130,255,.45)}
#wallet .fc.blue{--cbg:radial-gradient(120% 120% at 20% 10%,#2f6dff,#1446c8 45%,#0a2a8a)}
#wallet .fc-art{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#wallet .fc-top b{gap:7px;font-size:21px}
#wallet .fc-hex{width:24px;height:24px;flex:none}
#wallet .fc-pay{color:#7cc2ff}
#wallet .fc.silver .fc-pay,#wallet .fc.gold .fc-pay,#wallet .fc.platinum .fc-pay{color:inherit;opacity:.75}
#wallet .fc-top em{position:relative;letter-spacing:.3em;padding-bottom:5px}
#wallet .fc-top em::after{content:"";position:absolute;left:25%;right:30%;bottom:0;height:2px;border-radius:2px;background:#7cc2ff}
#wallet .fc-f>*{position:relative}#wallet .fc-f>.fc-art,#wallet .fc-f>.fc-holo{position:absolute}#wallet .fc-bot{position:absolute}
.wl-body .wl-next{padding:10px 12px 11px;border-radius:16px;background:linear-gradient(180deg,rgba(30,60,150,.35),rgba(10,22,60,.55));border:1px solid rgba(90,140,255,.35)}
.wl-nh{display:flex;align-items:center;gap:10px}
.wl-shield svg{width:34px;height:34px;display:block;filter:drop-shadow(0 0 6px rgba(80,150,255,.6))}
.wl-nh>div{flex:1;min-width:0}.wl-nh>div b{display:block;font:600 15px var(--body);color:#fff}.wl-nh>div small{font:400 11.5px var(--body);color:#9fb3e0}
.wl-nh>span{font:400 12px var(--body);color:#c3d0f0;white-space:nowrap}.wl-nh>span b{color:#fff;font-weight:600}
.wl-body .wl-tiers{display:flex;gap:4px;margin-top:9px;padding:3px;border-radius:999px;border:1.5px solid rgba(255,214,106,.6);background:rgba(4,10,30,.6)}
.wl-body .wl-tiers span{flex:1;height:9px;border-radius:999px;opacity:1;background:#2b3550;overflow:hidden;box-shadow:none}
.wl-body .wl-tiers span:last-child{background:linear-gradient(90deg,#3b3550,#6d5a2a)}
.wl-body .wl-tiers em{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2a7bff,#5fb0ff);box-shadow:0 0 8px rgba(80,160,255,.8)}
.wl-body .wb-bal{gap:6px}
.wb-t{position:relative;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:2px 6px;padding:9px 8px 8px;border-radius:14px;text-align:left;color:#fff;background:linear-gradient(180deg,rgba(40,70,170,.35),rgba(10,20,60,.6));border:1px solid rgba(90,140,255,.4);transition:transform .15s}
.wb-t:active{transform:scale(.97)}
.wb-t.risk{background:linear-gradient(180deg,rgba(120,90,30,.35),rgba(30,22,10,.6));border-color:rgba(255,200,90,.55)}
.wb-t.life{border-color:rgba(160,120,255,.5)}
.wb-t img{width:clamp(34px,10vw,44px);height:auto}
.wb-t>div{min-width:0}
.wl-body .wb-t small{display:block;font:600 9.5px var(--body);letter-spacing:.12em;text-transform:uppercase;color:#c9d6ff;white-space:nowrap}
.wl-body .wb-t b{display:block;font:700 clamp(15px,4.6vw,19px)/1.1 var(--body);color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wl-body .wb-t.risk b,.wb-t.risk em{color:#ffc93a}.wl-body .wb-t.safe b,.wb-t.safe em{color:#6fb4ff}.wb-t.life em{color:#9aa8d6}
.wb-t em{display:block;font:500 11px/1.1 var(--body);font-style:normal}
.wl-body .wb-t>span{grid-column:1/-1;text-align:right;font:400 10.5px var(--body);color:#c3d0f0;white-space:nowrap;overflow:hidden}
.wb-chev{position:absolute;right:7px;top:9px;width:7px;height:7px;border-right:2px solid #6fa8ff;border-top:2px solid #6fa8ff;transform:rotate(45deg)}
.wl-body .wl-act{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:2px}
.wl-body .wl-act button{position:relative;gap:0;padding:0 2px 6px;border-radius:0 0 18px 18px}
.wl-body .wl-act button::before{content:"";position:absolute;left:4%;right:4%;top:34%;bottom:0;border-radius:40px 40px 16px 16px;background:linear-gradient(180deg,rgba(40,80,200,.3),rgba(10,20,60,.2));border:1px solid rgba(90,140,255,.3);border-bottom:0}
.wl-act img{position:relative;width:clamp(56px,17vw,66px);height:auto;filter:drop-shadow(0 0 10px rgba(60,130,255,.65))}
.wl-act b{position:relative;margin-top:3px;font:600 14px var(--body);color:#fff}
.wl-act small{position:relative;font:400 11px var(--body);color:#c3d0f0}
.wl-body .wl-act button:active img{transform:translateY(2px)}
.wb-tx{flex:none;padding:10px 10px 6px;border-radius:16px;background:rgba(8,18,52,.55);border:1px solid rgba(90,140,255,.35)}
.wb-th{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.wb-th i svg{width:22px;height:22px;color:#5aa2ff;display:block}
.wb-th b{flex:1;font:600 16px var(--body);color:#fff}
.wb-all{padding:5px 12px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(120,160,255,.35);font:500 12px var(--body);color:#dfe8ff}
.wl-body .wb-tx .wb-feed{max-height:none;overflow:visible;display:flex;flex-direction:column;gap:6px!important}
.wb-tx:not(.all) .tx:nth-child(n+4){display:none}
.wb-tx .tx{padding:8px 10px;border:1px solid rgba(90,140,255,.22);border-radius:12px;background:rgba(255,255,255,.03)}
.wb-tx .tx-w b{font-size:14px}
.wl-body .wl-next>.wl-nh{align-items:center;justify-content:flex-start}
.wl-body .wb-t small{letter-spacing:.05em;font-size:9px;padding-right:8px}
/* owner 2026-10-27: the Net Worth page stays still (no sideways drift when a tile zooms) */
.nw-sheet{overflow:hidden!important;overscroll-behavior:none;touch-action:manipulation}
.nw{overflow:hidden;border-radius:2.4em}
/* owner 2026-10-27: on the framed HUD the moves number turns orange at 10 and red at 5, and from 5 it beats like a heart */
#puzzle .pz-head.hud .pz-moves.warn b{color:#ff7a00!important;text-shadow:0 0 6px rgba(255,140,0,.55)!important}
#puzzle .pz-head.hud .pz-moves.low b,#puzzle .pz-head.hud-m .pz-moves.low b{color:#ff2a1c!important;text-shadow:0 0 8px rgba(255,40,30,.7)!important}
#puzzle .pz-head.hud .pz-moves.low{animation:none!important}
#puzzle .pz-head.hud .pz-moves.low b{display:inline-block;animation:mvHeartB 1s ease-in-out infinite!important;transform-origin:50% 55%}
@keyframes mvHeartB{0%,100%{transform:scale(1)}14%{transform:scale(1.4)}28%{transform:scale(1)}42%{transform:scale(1.25)}56%{transform:scale(1)}}

/* owner 2026-10-27: the moves NUMBER a bit bigger on the framed HUD (label and slot unchanged) */
#puzzle .pz-head.hud .pz-moves b{font-size:clamp(16px,5.2vw,24px)!important;line-height:1!important}
/* owner 2026-10-27: the male (steel and yellow) frame has a wider moves slot, so its number goes bigger again */
#puzzle .pz-head.hud-m .pz-moves b{font-size:clamp(20px,6.6vw,30px)!important}
/* owner 2026-10-27: the pause button must look tappable: a bright ring with a slow glow, and it presses in when touched */
#puzzle .pz-head.hud .pz-pause{overflow:visible!important;transition:transform .12s;cursor:pointer}
#puzzle .pz-head.hud .pz-pause::after{content:"";position:absolute;inset:0;border-radius:50%;pointer-events:none;box-shadow:0 0 0 2px rgba(255,255,255,.9),0 0 10px 2px rgba(90,200,255,.7);animation:pzPauseGlow 2.4s ease-in-out infinite}
#puzzle .pz-head.hud .pz-pause:active{transform:scale(.86)}
@keyframes pzPauseGlow{50%{box-shadow:0 0 0 2px #fff,0 0 16px 5px rgba(90,200,255,.95)}}

/* dramatic attack strike (owner 2026-10-28) */
.ak-cine{position:fixed;inset:0;z-index:50;display:grid;place-items:center;background:radial-gradient(circle at 50% 50%,#3c0a0a,#02040e 75%);animation:akIn .22s ease-out;overflow:hidden;cursor:pointer}
.ak-cine.blk{background:radial-gradient(circle at 50% 50%,#0a2a6e,#02040e 75%)}
.ak-cine.out{opacity:0;transition:opacity .25s}
.akc-stage{position:relative;width:min(88vw,420px);aspect-ratio:4/3;border-radius:18px;overflow:hidden;box-shadow:0 0 0 3px rgba(255,255,255,.15),0 20px 60px rgba(0,0,0,.7);animation:akZoom 2.3s cubic-bezier(.2,.7,.3,1) both}
.ak-cine:not(.blk) .akc-stage{animation:akZoom 2.3s cubic-bezier(.2,.7,.3,1) both,akShake .55s .72s ease-out}
.ak-cine.blk .akc-stage{animation:akZoom 2.3s cubic-bezier(.2,.7,.3,1) both,akShake .3s .72s ease-out}
.akc-pic{width:100%;height:100%;object-fit:cover;display:block}
.ak-cine:not(.blk) .akc-pic{animation:akDim .5s .75s forwards}
.akc-crack{position:absolute;left:50%;top:55%;width:110%;translate:-50% -50%;opacity:0;transform:scale(.3)}
.ak-cine:not(.blk) .akc-crack{animation:akCrack .22s .72s cubic-bezier(.2,1.5,.4,1) forwards}
.akc-ham{position:absolute;left:50%;top:50%;width:min(58vw,270px);transform-origin:85% 92%;translate:-10% -95%;animation:akSwing .78s cubic-bezier(.6,0,.9,.4) both;filter:drop-shadow(0 14px 18px rgba(0,0,0,.6))}
.ak-cine:not(.blk) .akc-ham{animation:akSwing .78s cubic-bezier(.6,0,.9,.4) both,akHamOut .5s 1.5s ease-in forwards}
.ak-cine.blk .akc-ham{animation:akSwing .78s cubic-bezier(.6,0,.9,.4) both,akBounce .7s .76s cubic-bezier(.2,.8,.4,1) forwards}
.akc-shield{position:absolute;left:50%;top:52%;width:min(70vw,330px);translate:-50% -50%;opacity:0;animation:akShield .5s .25s cubic-bezier(.2,1.6,.4,1) forwards,akShieldHit .4s .74s ease-out;filter:drop-shadow(0 0 30px rgba(90,180,255,.95))}
.akc-flash{position:absolute;inset:0;background:#fff;opacity:0;pointer-events:none;animation:akFlash .45s .72s ease-out}
.ak-cine.blk .akc-flash{background:#bfe6ff}
.akc-tag{position:absolute;top:calc(50% - min(33vw,158px) - 46px);left:50%;translate:-50% 0;padding:6px 16px;border-radius:20px;background:rgba(0,0,0,.55);font:700 15px/1 var(--body);color:#fff;animation:akIn .3s .1s both}
.akc-word{position:absolute;top:calc(50% + min(33vw,158px) + 18px);left:50%;translate:-50% 0;font:400 clamp(34px,11vw,52px)/1 'Lilita One',var(--display);color:#ffd23f;-webkit-text-stroke:2px #5a1a00;paint-order:stroke fill;opacity:0;animation:akWord .45s .82s cubic-bezier(.2,1.7,.4,1) forwards}
.ak-cine.blk .akc-word{color:#9fe0ff;-webkit-text-stroke-color:#06205a}
@keyframes akIn{from{opacity:0}}
@keyframes akZoom{0%{transform:scale(.86)}30%{transform:scale(1)}100%{transform:scale(1.05)}}
@keyframes akShake{0%,100%{translate:0 0}12%{translate:-14px 9px}25%{translate:12px -10px}40%{translate:-9px 6px}55%{translate:7px -4px}72%{translate:-4px 2px}}
@keyframes akDim{to{filter:brightness(.62) saturate(.7) sepia(.25)}}
@keyframes akCrack{to{opacity:1;transform:scale(1)}}
@keyframes akSwing{0%{rotate:40deg;opacity:0}15%{opacity:1}62%{rotate:62deg}100%{rotate:-38deg}}
@keyframes akHamOut{to{opacity:0;translate:-10% -140%}}
@keyframes akBounce{0%{rotate:-30deg}100%{rotate:70deg;opacity:0;translate:30% -170%}}
@keyframes akShield{from{opacity:0;transform:scale(.3)}to{opacity:1;transform:scale(1)}}
@keyframes akShieldHit{50%{transform:scale(1.12)}}
@keyframes akFlash{0%{opacity:.95}100%{opacity:0}}
@keyframes akWord{from{opacity:0;transform:scale(2.4)}to{opacity:1;transform:scale(1)}}

/* 3D projects (owner 2026-10-31): the car is a live 3D model in a frame */
/* owner 2026-11-04: the 3D workshop fills the phone behind the home screen and the project page; only the buttons take touches, the rest turns the project */
#v3bg{position:absolute;inset:0;background:#dcdad4;overflow:hidden}
body.v3drive #v3bg{z-index:9000}
.ws-3d{display:block;width:100%;height:100%;border:0}
body.v3home #home,body.v3work #workshop{background:none!important;pointer-events:none}
body.v3home #home .hud,body.v3home #home button,body.v3home #home .tabbar,body.v3home #home .stage-row,body.v3home #home .jfpromo,body.v3work #workshop .ws-top,body.v3work #workshop .ws-panel,body.v3work #workshop .ws-pick,body.v3work #workshop .ws-play{pointer-events:auto}
body.v3home #home .scene-item,body.v3home #home #stageItem{display:none}
/* owner 2026-11-04 (Truck Star comparison): slimmer side buttons, the workshop and the project are the home screen */
body.v3home #home .rail{width:46px;gap:6px}body.v3home #home .hb{width:46px;padding:4px 0 3px;border-radius:12px;gap:1px}body.v3home #home .hb img,body.v3home #home .hb svg{width:30px;height:30px}body.v3home #home .hb span{font-size:8.5px}body.v3home #home .h2{gap:4px;padding:6px 4px 4px}
#workshop .ws-stage.v3{display:block;margin:0;background:none;pointer-events:none}
.ws-3d.full{position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100%;z-index:9000;background:#000}   /* owner 2026-10-31: test drives fill the phone */
#workshop .ws-job .jt small{font:600 10.5px/1.3 var(--body);color:#c6cde6}
#workshop .ws-job.ok .jt small{color:#d7ffe0}
.flex-art .flex-3d{position:relative;z-index:1;display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:50% 62%;border-radius:14px}   /* a fixed shape: the photo can never collapse to a strip */

/* owner 2026-10-31: the attack card shows the rival's project; damage shows as cracks, soot and smoke (1 to 3) */
.atk-proj{display:grid;justify-items:center;gap:3px;margin:2px 0 4px;text-align:center}
.atk-proj .ap-pic{position:relative;width:min(270px,84%);aspect-ratio:4/3;border-radius:14px;overflow:visible;background:#081538;box-shadow:0 0 0 3px #ffc21a,0 10px 20px rgba(0,0,0,.45)}
.atk-proj .ap-pic>img.dmg-pic{display:block;width:100%;height:100%;object-fit:cover;border-radius:14px}
.atk-proj .ap-pic .dmg-l{border-radius:14px;overflow:hidden}
.atk-proj .ap-ham{position:absolute;right:-14px;bottom:-12px;width:78px;height:78px;object-fit:contain;transform:rotate(-16deg);filter:drop-shadow(0 6px 8px rgba(0,0,0,.6));animation:apHam 1.6s ease-in-out infinite}
@keyframes apHam{50%{transform:rotate(-30deg) translateY(-4px)}}
.atk-proj b{font-size:16px;color:#fff;margin-top:8px}.atk-proj small{font-size:12px;color:#b9c4e6}
.dmg-pic.d1{filter:saturate(.85) brightness(.93)}.dmg-pic.d2{filter:saturate(.65) brightness(.84) sepia(.15)}.dmg-pic.d3{filter:saturate(.45) brightness(.74) sepia(.3)}
.dmg-l{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:3}
.dmg-cr{position:absolute;opacity:.62;filter:drop-shadow(0 0 2px rgba(0,0,0,.5))}
.dmg-cr.c0{width:34%;left:30%;top:24%;transform:rotate(-12deg)}.dmg-cr.c1{width:30%;right:8%;top:46%;transform:rotate(138deg)}.dmg-cr.c2{width:28%;left:10%;bottom:10%;transform:rotate(68deg)}
.dmg-l.d3 .dmg-cr{opacity:.78}
.dmg-soot{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 55%,rgba(25,14,6,0) 25%,rgba(25,14,6,.55) 100%)}
.dmg-l.d1 .dmg-soot{opacity:.45}.dmg-l.d2 .dmg-soot{opacity:.75}.dmg-l.d3 .dmg-soot{opacity:1}
.dmg-smoke{position:absolute;left:22%;top:-6%;width:56%;opacity:.5;animation:dmgSmoke 3.2s ease-in-out infinite}
.dmg-l.d3 .dmg-smoke{opacity:.7;width:70%;left:15%}
@keyframes dmgSmoke{50%{transform:translateY(-10px) scale(1.07);opacity:.35}}
.sm-scene .dmg-l,.ak-cine .dmg-l{opacity:0;animation:dmgIn .45s .62s forwards}@keyframes dmgIn{to{opacity:1}}
.ak-cine .akc-stage{position:relative}
#workshop .ws-dmg{position:absolute;inset:0;z-index:2;pointer-events:none}
#workshop .ws-dmg .dmg-l{z-index:2}
/* the big impact crack flashes on the hit, then fades so the project's own damage (dmg-l) is what stays */
.sm-scene .sm-crack{animation:smCrack .25s .48s cubic-bezier(.2,1.5,.4,1) forwards,smCrackOut .6s 1.7s forwards}
@keyframes smCrackOut{to{opacity:0}}
.sm-scene .dmg-l{animation:dmgIn .5s 1.5s forwards}

/* owner 2026-11-01 "small always looks premium": the Restored! rewards as tight chips on one line each, centred text, smaller buttons */
.fx-rew{display:grid;justify-items:center;gap:5px;margin:6px 0 0}
.fxr-row{display:flex;flex-wrap:nowrap;justify-content:center;gap:4px;max-width:100%}
.fxr{display:inline-flex;align-items:center;gap:3px;height:26px;padding:0 8px 0 3px;border-radius:13px;background:linear-gradient(#fff,#e8eefa);color:#13204a;box-shadow:0 2px 0 #9fb0cc;animation:pop .35s both;flex:none}
.fxr img{width:20px;height:20px;object-fit:contain}.fxr b{font:800 13px/1 var(--display);letter-spacing:.2px;white-space:nowrap}
.fxr.sm{height:24px;padding:0 6px 0 2px}.fxr.sm img{width:19px;height:19px}.fxr.sm b{font-size:11.5px}
.fxr-val{font:700 11.5px/1.2 var(--body);color:var(--gold);letter-spacing:.3px}
html .sheet.frame.fx-done p.fx-note,p.fx-note{display:block;margin:8px auto 2px!important;max-width:100%;width:100%;text-align:center!important;font:500 11.5px/1.35 var(--body)!important;color:#c9d4f2!important;padding:0 6px!important;box-sizing:border-box}
.fx-btns{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;margin-top:6px!important;width:100%}
html .sheet.fx-done .fx-btns .gbtn:is(.blue,.gold,.green):not(.x),html .sheet.fx-done .gbtn.fx-vid:not(.x),.fx-btns .gbtn,.gbtn.fx-vid{min-height:0!important;height:40px!important;padding:0 8px!important;font-size:15px!important;width:100%;margin:0!important}
html .sheet.fx-done .gbtn.fx-vid:not(.x){margin-top:8px!important}
#coinStore .cs-row.tagged{position:relative;overflow:visible;margin-top:14px}   /* owner 2026-11-04: the tag sat on the scroller, cut off above the Deal Of The Day */
/* owner 2026-11-04 audit: a popup stays readable while its frame picture is still loading (slow line: words sat straight on the game pieces) */
html .sheet.frame{background:#10296e padding-box!important}
#modal.wc-full .sheet.frame,#modal.fs4-full .sheet.frame,#modal.w3-full .sheet.frame,#modal.vd-full .sheet.frame,#modal.dg-full .sheet.frame,#modal.fsbg1 .sheet.frame,#modal.fsbg2 .sheet.frame{background:none!important}
/* Out Of Moves: the goal chips stay inside the gold frame */
.oom2-pills{width:100%;box-sizing:border-box}.oom2-pills.three{grid-template-columns:repeat(3,minmax(0,1fr));gap:calc(var(--W)*.015)}.oom2-pills.three .oom2-pill{gap:calc(var(--W)*.012);min-width:0}.oom2-pills.three .oom2-pill img,.oom2-pills.three .oom2-pill .gi{width:calc(var(--W)*.075);height:calc(var(--W)*.075)}html body .oom2 .oom2-pills.three .oom2-pill b{font-size:calc(var(--W)*.06)!important}
/* PLAY: the word clear of the button edge on narrow phones */
#home .hb-row .play{padding-left:8px;padding-right:8px;gap:6px;box-sizing:border-box}#home .hb-row .play b{font-size:clamp(24px,7.4vw,34px)!important}
/* rail badges stay on their own button, off the card bar */
body.v3home #home .hb .badge{top:-3px!important;right:0!important;left:auto!important}
/* Card Collection fits a small phone without cutting the pack buttons */
@media (max-height:760px){.al-how{margin:-4px 2px 4px}}
/* owner 2026-11-04 audit: Wallet tiles at phone width: the whole amount and every word shows, label clear of the arrow */
.wl-body .wb-t{grid-template-columns:24px 1fr;gap:1px 5px;padding:8px 7px 7px}.wl-body .wb-t img{width:24px}.wl-body .wb-t>div{display:contents}.wl-body .wb-t small{grid-column:2;align-self:center;font-size:8.5px;letter-spacing:.02em;padding-right:9px;overflow:hidden}.wl-body .wb-t b{grid-column:1/-1;margin-top:3px;font-size:clamp(14px,4.4vw,18px);overflow:visible;text-overflow:clip}.wl-body .wb-t em{grid-column:1/-1}.wl-body .wb-t>span{text-align:left;white-space:normal;line-height:1.15;font-size:10px}
@media (max-height:900px){.al-cov{aspect-ratio:2/1}}@media (max-height:760px){.al-cov{aspect-ratio:5/2}}
/* owner 2026-11-04 audit: Season's Play matches every other popup; Streak Rush gifts stop touching each other */
#ssP{width:100%}.sr-chest{width:32px;height:32px}.sr-stop b{margin-top:30px}
/* owner 2026-11-04 audit: the booster row drew over every popup on the puzzle screen, undimmed and tappable */
.modal{z-index:31}
/* Out Of Moves keeps its panel and layout while its pictures are still arriving */
.oom2{background:#10296e padding-box}.oom2-flame{min-height:calc(var(--W)*.34)}.oom2-streak{min-height:calc(var(--W)*.2)}
html #modal #ssP,html #sheet #ssP{width:100%!important;align-self:stretch!important;display:block}
/* owner 2026-11-04: home bar = the project's next job */
#home .goal-bar .nj-ic{flex:none;width:30px;height:30px;object-fit:contain}#home .goal-bar .gb-t b,#home .goal-bar .gb-t small{text-overflow:ellipsis}
#home .goal-bar.nj-ready{border-color:#57e389!important;box-shadow:0 0 0 2px rgba(87,227,137,.45),0 4px 12px rgba(0,0,0,.35)!important}#home .goal-bar.nj-ready .gb-t small{color:#7dffa8}#home .goal-bar.nj-ready .gb-bar em{background:linear-gradient(90deg,#5ff09a,#16a34a)}
/* owner 2026-11-04: unlimited lives in the top bar */
#energyPill.inf-on b{font-size:1.25em}#energyPill.inf-on small{color:#ffd35a}
/* owner 2026-11-04: the 3D level map */
.mq-3d{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:3}
#mpS{position:relative}#mpS.mq-on3d{overflow:hidden!important;background-image:none!important;background-color:#7fd4ff}#mpS.mq-on3d .mq-track{display:none}
.wc-stop{flex:none;display:flex;align-items:center;gap:8px;padding:8px 12px;background:#7a1420;color:#fff;font:600 12.5px var(--body)}.wc-stop span{flex:1}.wc-stop button{flex:none;padding:5px 12px;border-radius:9px;border:0;background:#fff;color:#7a1420;font:800 12px var(--body)}
.fbp{display:grid;place-items:center;padding:4px 0}.fbp img{width:132px;height:132px;border-radius:50%;object-fit:cover;border:4px solid #ffd35a;box-shadow:0 6px 16px rgba(0,0,0,.45)}
.wc-warn{flex:none;padding:5px 10px;background:#7a4a00;color:#fff;font:600 11.5px/1.25 var(--body);text-align:center}
.mp-foot button{white-space:nowrap;flex:none}
.v3still{position:absolute;inset:0;overflow:hidden}.v3still i{position:absolute;inset:-40px;background-size:cover;background-position:center;filter:blur(20px) brightness(.8)}.v3still img{position:absolute;left:0;width:100%;top:50%;transform:translateY(-50%);box-shadow:0 0 30px 14px rgba(0,0,0,.25)}
body.v3low.v3home #v3bg iframe{visibility:hidden}
body.v3low:not(.v3home) .v3still{display:none}
.rs-odds{position:absolute;right:3%;top:2.2%;z-index:6;padding:5px 12px;border-radius:99px;background:rgba(6,14,44,.88);border:1.5px solid #ffd35a;color:#fff!important;font:700 12px var(--body);text-decoration:none}
/* owner 2026-11-05: Close on the Restored page */
.sheet.fx-done{position:relative}.sheet.fx-done .fx-x{position:absolute;right:8px;top:8px;z-index:9;width:36px;height:36px;padding:0;border-radius:50%;background:#0b1638;border:2px solid #ffd76a;cursor:pointer}.sheet.fx-done .fx-x::before,.sheet.fx-done .fx-x::after{content:"";position:absolute;left:9px;top:15px;width:14px;height:2.5px;border-radius:2px;background:#fff;transform:rotate(45deg)}.sheet.fx-done .fx-x::after{transform:rotate(-45deg)}
/* owner 2026-11-06: a loader that looks like a game: the whole logo in view, a chunky gold bar with a wrench riding on it, and the real percent */
#boot .sp-back{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:blur(22px) brightness(.62);transform:scale(1.12)}
#boot .sp-pic{object-fit:contain!important;object-position:50% 12%!important;animation:spZoom 9s ease-out both}
@keyframes spZoom{from{transform:scale(1)}to{transform:scale(1.02)}}
#boot .sp-load{width:min(84vw,360px)!important;bottom:calc(env(safe-area-inset-bottom) + 30px)!important;gap:9px!important}
#boot .sp-bar{height:26px!important;padding:3px!important;border-radius:14px!important;background:#0a1230!important;border:3px solid #ffd257!important;box-shadow:0 0 0 2px #7a4d07,0 6px 16px rgba(0,0,0,.6),inset 0 3px 6px rgba(0,0,0,.6)!important}
#boot .sp-bar i{position:relative;min-width:8%;border-radius:9px!important;background:repeating-linear-gradient(115deg,#ffe36a 0 14px,#ffb81f 14px 28px)!important;background-size:62px 100%!important;box-shadow:inset 0 3px 0 rgba(255,255,255,.55),inset 0 -3px 0 rgba(150,84,0,.45)!important;animation:spRun .7s linear infinite!important}
@keyframes spRun{to{background-position:62px 0}}
#boot .sp-wr{position:absolute;right:-16px;top:50%;width:36px;height:36px;margin-top:-18px;filter:drop-shadow(0 2px 3px rgba(0,0,0,.7));animation:spWr .6s ease-in-out infinite alternate}
@keyframes spWr{from{transform:rotate(-16deg)}to{transform:rotate(16deg)}}
#boot .sp-row{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;padding:0 3px;box-sizing:border-box}
#boot .sp-row b{font:400 16px/1.1 "Lilita One",Arial,sans-serif!important;color:#fff;text-shadow:0 2px 0 #0b1638,0 0 8px rgba(0,0,0,.8)}
#boot .sp-row em{font:400 22px/1 "Lilita One",Arial,sans-serif;font-style:normal;color:#ffd257;text-shadow:0 2px 0 #5a3603,0 0 8px rgba(0,0,0,.8)}
/* the art fills the top edge to edge and fades out; the bar sits on its own dark strip under it (cover cut the logo off, a floating card looked like a web page) */
#boot{background:#0b1638!important}
#boot .sp-back{display:none}
#boot .sp-pic{--w:min(104vw,calc(100dvh * .5629));max-width:none!important;inset:auto!important;left:50%!important;top:0!important;width:var(--w)!important;height:auto!important;margin-left:calc(var(--w) / -2);border-radius:0!important;transform-origin:50% 0;-webkit-mask-image:linear-gradient(#000 88%,transparent)!important;mask-image:linear-gradient(#000 88%,transparent)!important}
#boot .sp-load{bottom:calc(env(safe-area-inset-bottom) + max(26px,(100dvh - 104vw * 1.72) / 2 - 34px))!important}
#boot .sp-row b{font-size:17px!important}
.fx-btns .fx-home{grid-column:1 / -1}
/* owner 2026-11-06: Flex Spin has left the game, the Wheel has the whole bar (the old tab is drawn into the top picture, so this bar covers it). No more diamonds */
#fxJackTab{display:none!important}
#fxDailyTab{left:3.75%!important;width:92.5%!important;justify-content:center;background:linear-gradient(#16489f,#0a2a78)!important;border:.5cqw solid #ffcf52!important;box-sizing:border-box}
/* owner 2026-11-06: the top bar is not needed on the Wheel at all: no tabs, and the empty tab frames drawn into the top picture are cut off */
.fs4-tabs{display:none!important}
.fs4-top{clip-path:inset(0 0 50% 0)}
.fs4 #fxDailyRoom{padding-top:11%!important}
/* owner 2026-11-06: everything on the Wheel page big, nothing overlapping on any phone. All sizes are shares of the page width (cqw), and the page is never wider than 100% or taller than the screen */
.fs4-stage{--sw:min(100vw,calc(100vh * .5128));aspect-ratio:1/1.95}
@supports (height:1dvh){.fs4-stage{--sw:min(100vw,calc(100dvh * .5128))}}
.fs4-top{height:35.8cqw!important}
.fs4 .fs4-x{left:3cqw!important;top:3cqw!important;width:12cqw!important;height:12cqw!important}
.fs4 .fs4-snd{left:17cqw!important;top:3cqw!important;width:12cqw!important;height:12cqw!important}
.fs4 .fs4-money{left:31cqw!important;top:3.4cqw!important;width:41cqw!important;height:11cqw!important;font-size:6cqw!important}
.rs-odds{position:absolute!important;right:3cqw!important;top:4.6cqw!important;padding:0 3.2cqw!important;height:8.6cqw;display:flex!important;align-items:center;font:700 4cqw var(--body)!important}
.fs4 #fxDailyRoom{height:100%;padding:17cqw 0 3cqw!important;box-sizing:border-box;justify-content:space-between;gap:0!important}
#fxDailyRoom .rs-wheel{width:97cqw}
#fxDailyRoom .rs-seg{width:21%;height:21%;transform:translate(-50%,-50%) rotate(var(--a)) translateY(-143%) rotate(calc(-1 * var(--a)))}
#fxDailyRoom .rs-in img{width:62%;height:54%}
#fxDailyRoom .rs-in b{font-size:3.3cqw;margin-top:.3cqw}
#fxDailyRoom .rs-in b.rs-lg{font-size:3cqw}
#fxDailyRoom .rs-in small,#fxDailyRoom .rs-in small.rs-lg{font-size:2.7cqw}
#fxDailyRoom .rs-hint{width:93cqw;min-height:12cqw;box-sizing:border-box;padding:1.5cqw 3cqw;font-size:4.2cqw;gap:2cqw;margin:0!important}
#fxDailyRoom .rs-hint svg{width:6cqw;height:6cqw}
#fxDailyRoom .rs-hint #fxDailyHint{font:600 4.2cqw/1.2 Poppins,sans-serif!important;white-space:normal}
#fxDailyRoom .rs-go{min-height:21cqw;font-size:9.4cqw}
#fxDailyRoom .rs-back{height:21cqw}
#fxDailyRoom .rs-bt em{font-size:3.2cqw}
#fxDailyRoom .rs-poss{height:32cqw;padding:3.6cqw 4cqw 0}
#fxDailyRoom .rs-poss>b{font-size:3.4cqw}
#fxDailyRoom .rs-poss>div{margin-top:2cqw}
#fxDailyRoom .rs-poss img{width:12cqw;height:12cqw}
#fxDailyRoom .rs-poss small{font-size:3.5cqw;white-space:nowrap}
#fxDailyRoom .rs-ad{min-height:15cqw;font-size:6cqw}
.fs4 #fxDailyRoom{top:0!important;bottom:auto!important;margin:0!important}
.fs4-stage{aspect-ratio:auto;height:100vh;height:100dvh}
.fs4 .fs4-money{font-size:5cqw!important}
.fs4 #fxDailyRoom{height:100%!important;justify-content:space-between!important;align-items:center}
/* owner 2026-11-06: smaller parts, so everything reads sharp. No shadows on the moving pictures, and the wheel only gets its own moving layer while it turns, so it is crisp at rest */
#fxDailyRoom .rs-disc{will-change:auto;cursor:pointer;pointer-events:auto}
#fxDailyRoom .rs-in{will-change:auto}
.rs-turning #fxDailyRoom .rs-disc,.rs-turning #fxDailyRoom .rs-in,.rs-turning.rs-disc,.rs-turning .rs-disc,.rs-turning .rs-in{will-change:transform}
#fxDailyRoom .rs-in img{width:46%;height:42%;filter:none}
#fxDailyRoom .rs-in b{font-size:2.7cqw;margin-top:.5cqw}
#fxDailyRoom .rs-in b.rs-lg{font-size:2.4cqw}
#fxDailyRoom .rs-in small,#fxDailyRoom .rs-in small.rs-lg{font-size:2.15cqw}
#fxDailyRoom .rs-wheel{width:94cqw}
#fxDailyRoom .rs-ptr{transform-origin:50% 15%}
.fs4 .fs4-x,.fs4 .fs4-snd{width:10.5cqw!important;height:10.5cqw!important}
.fs4 .fs4-snd{left:15.5cqw!important}
.fs4 .fs4-money{left:28cqw!important;width:42cqw!important;height:10cqw!important;font-size:4.4cqw!important}
.rs-odds{height:7.6cqw;font-size:3.4cqw!important;padding:0 2.8cqw!important}
#fxDailyRoom .rs-hint{width:84cqw;min-height:9.5cqw;padding:1cqw 3cqw}
#fxDailyRoom .rs-hint svg{width:4.6cqw;height:4.6cqw}
#fxDailyRoom .rs-hint #fxDailyHint{font-size:3.4cqw!important}
#fxDailyRoom .rs-go{width:78cqw!important;min-height:16.5cqw;font-size:7.4cqw;transition:transform .09s,filter .12s}
#fxDailyRoom .rs-go.rs-live{animation:rsGo 1.05s ease-in-out infinite!important}
#fxDailyRoom .rs-go.rs-live:active{animation:none!important;transform:scale(.93) translateY(.6cqw);filter:brightness(.9)}
#fxDailyRoom .rs-go:disabled{filter:saturate(.75) brightness(.86)}
@keyframes rsGo{0%,100%{transform:scale(1);filter:brightness(1)}50%{transform:scale(1.045);filter:brightness(1.14)}}
#fxDailyRoom .rs-poss{width:86cqw!important;height:25cqw;padding:2.8cqw 4cqw 0}
#fxDailyRoom .rs-poss>b{font-size:2.7cqw}
#fxDailyRoom .rs-poss>div{margin-top:1.3cqw}
#fxDailyRoom .rs-poss img{width:9cqw;height:9cqw}
#fxDailyRoom .rs-poss small{font-size:2.8cqw}
#fxDailyRoom .rs-back{width:84cqw!important;height:18cqw}
@media (prefers-reduced-motion:reduce){#fxDailyRoom .rs-go.rs-live{animation:none!important}}
/* owner 2026-11-06: too much space on a tall phone. The parts stay together as one block in the middle, and grow a little on tall screens */
.fs4 #fxDailyRoom{justify-content:center!important;gap:3.6cqw!important;padding:15cqw 0 3cqw!important}
@media (max-aspect-ratio:10/20){#fxDailyRoom .rs-wheel{width:97cqw}#fxDailyRoom .rs-hint{min-height:11cqw}#fxDailyRoom .rs-hint #fxDailyHint{font-size:3.8cqw!important}#fxDailyRoom .rs-go{min-height:19cqw;font-size:8.2cqw}#fxDailyRoom .rs-poss{width:92cqw!important;height:29cqw;padding-top:3.4cqw}#fxDailyRoom .rs-poss img{width:11cqw;height:11cqw}#fxDailyRoom .rs-poss small{font-size:3.2cqw}.fs4 #fxDailyRoom{gap:5cqw!important}}
/* owner 2026-11-06: X, speaker and coins sit exactly on the circles and bar drawn in the top picture */
.fs4 .fs4-x{left:3.95cqw!important;top:3.95cqw!important;width:10.7cqw!important;height:10.7cqw!important}
.fs4 .fs4-snd{left:17.15cqw!important;top:3.95cqw!important;width:10.7cqw!important;height:10.7cqw!important}
.fs4 .fs4-money{left:32cqw!important;top:4.3cqw!important;width:36cqw!important;height:10cqw!important}
.fs4 .fs4-x,.fs4 .fs4-snd{display:grid!important;place-items:center!important;margin:0!important;transform:none!important}
.fs4 #fxDailyRoom{padding-top:18cqw!important}
/* the win and the loss */
.rs-pop{position:absolute;inset:0;z-index:40;overflow:hidden;display:grid;place-items:center;background:radial-gradient(circle at 50% 42%,rgba(20,40,120,.72),rgba(3,8,30,.9) 72%);animation:rsFade .18s ease-out both;cursor:pointer}
.rs-pop.lost{background:radial-gradient(circle at 50% 42%,rgba(40,40,60,.5),rgba(3,6,20,.74) 72%)}
@keyframes rsFade{from{opacity:0}to{opacity:1}}
.rs-rays{position:absolute;left:50%;top:42%;width:190cqw;height:190cqw;margin:-95cqw 0 0 -95cqw;background:repeating-conic-gradient(rgba(255,226,120,.2) 0 11deg,rgba(255,226,120,0) 11deg 22deg);-webkit-mask:radial-gradient(circle,#000 18%,transparent 62%);mask:radial-gradient(circle,#000 18%,transparent 62%);animation:rsRays 7s linear infinite}
@keyframes rsRays{to{transform:rotate(360deg)}}
.rs-fl{position:absolute;top:-8cqw;animation:rsFlow 2s linear both;filter:drop-shadow(0 .3cqw .4cqw rgba(0,0,0,.3))}
@keyframes rsFlow{0%{transform:translate(0,0) rotate(0);opacity:1}35%{transform:translate(5cqw,75cqw) rotate(140deg)}70%{transform:translate(-5cqw,145cqw) rotate(290deg);opacity:1}100%{transform:translate(4cqw,225cqw) rotate(420deg);opacity:.7}}
.rs-pc{position:relative;display:flex;flex-direction:column;align-items:center;margin-top:-18cqw;animation:rsBoom .55s cubic-bezier(.2,1.7,.4,1) both;text-align:center}
.rs-pc img{width:46cqw;height:46cqw;object-fit:contain;filter:drop-shadow(0 0 5cqw rgba(255,214,90,.95)) drop-shadow(0 1.4cqw 1.6cqw rgba(0,0,0,.5))}
.rs-pc b{margin-top:1.6cqw;font:400 12.5cqw/1 "Lilita One",var(--display);color:#ffe27a;text-shadow:0 1cqw 0 #6b3d00,0 0 4cqw rgba(255,190,50,.8)}
.rs-pc span{margin-top:1.4cqw;font:400 7.4cqw/1.1 "Lilita One",var(--display);color:#fff;text-shadow:0 .7cqw 0 rgba(0,0,0,.5)}
@keyframes rsBoom{0%{transform:scale(.15) rotate(-14deg);opacity:0}60%{transform:scale(1.12) rotate(3deg);opacity:1}100%{transform:none}}
.rs-pop.lost .rs-pc{animation:rsSad .5s ease-out both}
.rs-pop.lost .rs-pc img{width:34cqw;height:34cqw;filter:drop-shadow(0 1cqw 1.2cqw rgba(0,0,0,.5))}
.rs-pop.lost .rs-pc b{font-size:9.6cqw;color:#fff;text-shadow:0 .8cqw 0 rgba(0,0,0,.55)}
.rs-pop.lost .rs-pc span{font-size:5.4cqw;color:#dbe7ff}
@keyframes rsSad{0%{transform:scale(.6);opacity:0}45%{transform:scale(1.04);opacity:1}60%{transform:translateX(-1.6cqw)}75%{transform:translateX(1.6cqw)}100%{transform:none}}
.rs-pc span{text-transform:capitalize}
/* the faces react */
.rs-face{position:relative;width:42cqw;height:44cqw}
.rs-face svg{display:block;width:100%;height:100%;overflow:visible}
.rs-face g,.rs-face path,.rs-face ellipse{transform-box:fill-box;transform-origin:center}
.fc-head{transform-box:view-box!important;transform-origin:128px 128px!important}
/* crying: sobs, the mouth quivers, tears keep falling */
.fc-cry .fc-head{animation:fcSob .62s ease-in-out infinite}
.fc-cry .fc-mouth{animation:fcQuiver .16s linear infinite}
.fc-cry .fc-brow{animation:fcBrowUp .62s ease-in-out infinite}
.fc-cry .fc-eyes{animation:fcBlink 1.3s linear infinite}
.fc-tear{opacity:0;animation:fcTear 1.12s ease-in infinite;animation-delay:var(--dl)}
@keyframes fcSob{0%,100%{transform:translateY(0) scale(1,1)}30%{transform:translateY(5px) scale(1.05,.94)}60%{transform:translateY(-5px) scale(.97,1.03)}}
@keyframes fcQuiver{0%,100%{transform:translateX(0)}25%{transform:translateX(-3px) scaleY(1.08)}75%{transform:translateX(3px) scaleY(.92)}}
@keyframes fcBrowUp{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes fcBlink{0%,82%,100%{transform:scaleY(1)}90%{transform:scaleY(.1)}}
@keyframes fcTear{0%{opacity:0;transform:translateY(0) scale(.45)}12%{opacity:1;transform:translateY(6px) scale(.8)}100%{opacity:.25;transform:translateY(125px) scale(1)}}
/* angry: shakes with rage, goes redder, the brows slam down, steam blows out */
.fc-angry .fc-head{animation:fcRage .13s linear infinite,fcRed .55s ease-in-out infinite alternate}
.fc-angry .fc-brow{animation:fcSlam .4s ease-in-out infinite}
.fc-angry .fc-mouth{animation:fcGrit .2s linear infinite}
.fc-steam{opacity:0;animation:fcSteam .85s ease-out infinite;animation-delay:var(--dl)}
@keyframes fcRage{0%,100%{transform:translate(0,0) rotate(0)}25%{transform:translate(-5px,2px) rotate(-3deg)}75%{transform:translate(5px,-2px) rotate(3deg)}}
@keyframes fcRed{from{filter:saturate(1) brightness(1)}to{filter:saturate(1.5) brightness(.86)}}
@keyframes fcSlam{0%,100%{transform:translateY(0)}50%{transform:translateY(9px)}}
@keyframes fcGrit{0%,100%{transform:scaleX(1)}50%{transform:scaleX(1.09)}}
@keyframes fcSteam{0%{opacity:.95;transform:translateY(16px) scale(.35)}100%{opacity:0;transform:translateY(-58px) scale(1.7)}}
/* laughing: rocks and bounces, the mouth opens wide, tears fly off, it laughs at you */
.fc-laugh .fc-head{animation:fcRock .46s ease-in-out infinite}
.fc-laugh .fc-mouth{animation:fcHaha .23s ease-in-out infinite alternate}
.fc-joy{opacity:0;animation:fcJoyL .88s ease-out infinite;animation-delay:var(--dl)}
.fc-joy.r{animation-name:fcJoyR}
.fc-ha{position:absolute;z-index:2;left:-10cqw;top:0;font:400 7cqw/1 "Lilita One",var(--display);font-style:normal;color:#fff;text-shadow:0 .6cqw 0 #8a4b00;opacity:0;animation:fcHa 1s ease-out infinite}
.fc-ha.b{left:auto;right:-11cqw;top:7cqw;animation-delay:.5s}
@keyframes fcRock{0%,100%{transform:rotate(-13deg) translateY(0)}25%{transform:rotate(0) translateY(-13px)}50%{transform:rotate(13deg) translateY(0)}75%{transform:rotate(0) translateY(-13px)}}
@keyframes fcHaha{from{transform:scale(.92,.72)}to{transform:scale(1.04,1.1)}}
@keyframes fcJoyL{0%{opacity:0;transform:translate(0,0) scale(.5)}15%{opacity:1}100%{opacity:0;transform:translate(-46px,-14px) rotate(-55deg) scale(.95)}}
@keyframes fcJoyR{0%{opacity:0;transform:translate(0,0) scale(.5)}15%{opacity:1}100%{opacity:0;transform:translate(46px,-14px) rotate(55deg) scale(.95)}}
@keyframes fcHa{0%{opacity:0;transform:translateY(5cqw) scale(.6) rotate(-8deg)}30%{opacity:1;transform:translateY(0) scale(1.1) rotate(-8deg)}100%{opacity:0;transform:translateY(-7cqw) scale(1) rotate(-8deg)}}
/* owner 2026-11-06: never a blank or dark home while a project loads: its picture stands in */
.v3wait{position:absolute;inset:0;z-index:3;overflow:hidden;background:#20263a;transition:opacity .3s;pointer-events:none}
.v3wait.out{opacity:0}
.v3wait i{position:absolute;inset:-6%;background:center/cover no-repeat;filter:blur(16px) brightness(.72)}
.v3wait img{position:absolute;left:0;right:0;top:50%;width:100%;transform:translateY(-54%);display:block}
.v3wait b{position:absolute;left:50%;bottom:27%;transform:translateX(-50%);padding:6px 16px 7px;border-radius:18px;background:rgba(8,16,48,.82);border:1.5px solid #ffcf52;font:400 15px "Lilita One",var(--display);color:#ffe27a;white-space:nowrap;animation:v3Pulse 1.1s ease-in-out infinite alternate}
@keyframes v3Pulse{from{opacity:.65}to{opacity:1}}
#v3bg{isolation:isolate}
.v3wait img{-webkit-mask-image:linear-gradient(transparent,#000 9%,#000 91%,transparent);mask-image:linear-gradient(transparent,#000 9%,#000 91%,transparent)}

/* owner 2026-11-07: Flex Pass like his picture */
.fp2{gap:9px}
.fp2 .fp-top{position:relative;margin:30px -6px 0;display:flex;justify-content:center}
.fp2 .fp-top .ribbon{position:relative;z-index:2;width:86%;margin:0 auto}
.fp2 .fp-crown{position:absolute;z-index:3;left:50%;top:-32px;width:96px;transform:translateX(-50%);filter:drop-shadow(0 3px 4px rgba(0,0,0,.45))}
.fp2 .fp-wing{position:absolute;z-index:1;top:2px;left:-2px;width:30%;filter:drop-shadow(0 3px 3px rgba(0,0,0,.4))}
.fp2 .fp-wing.r{left:auto;right:-2px;transform:scaleX(-1)}
.fp2 .tw-stats{gap:10px}
.fp2 .tw-left,.fp2 .tw-time{display:inline-flex;align-items:center;gap:6px;padding:7px 18px;border-radius:999px;border:2px solid #f2b628;background:linear-gradient(#183b8f,#0c2462);box-shadow:inset 0 2px 0 rgba(255,255,255,.18),0 0 0 2px #3a2200;font:600 15px var(--body);color:#fff}
.fp2 .tw-left b{font-size:24px;line-height:1}
.fp2 .fp-clock{width:20px;height:20px;flex:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='13.5' r='8' fill='none' stroke='%23ffd84a' stroke-width='2.6'/%3E%3Cpath d='M12 9v5l3 2M9 2.5h6M12 2.5v3' fill='none' stroke='%23ffd84a' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat}
.fp2 .fp-keys{padding:8px 14px;border-radius:999px;border:2px solid #4f7fe0;background:linear-gradient(#10286b,#0a1a4c);box-shadow:inset 0 2px 0 rgba(255,255,255,.12)}
.fp2 .fp-keys img{width:26px;height:26px;filter:drop-shadow(0 0 4px rgba(255,216,74,.6))}
.fp2 .fp-keys .al-bar{height:14px;border-radius:7px;background:#07123a;box-shadow:inset 0 1px 2px rgba(0,0,0,.6)}
.fp2 .fp-keys .al-bar em{border-radius:7px;background:linear-gradient(#8dff6a,#2fd14a 55%,#14a832);box-shadow:inset 0 2px 0 rgba(255,255,255,.45)}
.fp2 .fp-keys b{display:inline-flex;align-items:center;gap:6px;font-size:14px}
.fp2 .fp-ok{width:20px;height:20px;border-radius:50%;background:#2ad65a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat;border:2px solid #e2ffe8}
.fp2 .fp-head{gap:0;align-items:end;margin-bottom:-6px}
.fp2 .fp-tab{display:flex;align-items:center;justify-content:center;gap:6px;height:42px;border-radius:14px 14px 0 0;font:italic 400 19px 'Lilita One',var(--display);color:#fff;text-shadow:0 2px 0 rgba(0,0,0,.35);background:linear-gradient(#2f6fe0,#163f9e);border:2px solid #6aa2ff;border-bottom:0;clip-path:polygon(4% 0,96% 0,100% 100%,0 100%)}
.fp2 .fp-tab.pr{color:#5a2a00;text-shadow:0 1px 0 rgba(255,255,255,.45);background:linear-gradient(#ffe48a,#f2b628 60%,#c97f05);border-color:#fff1b0}
.fp2 .fp-tab img{width:30px;height:auto;filter:drop-shadow(0 1px 1px rgba(0,0,0,.35))}
.fp2 .fp-list{position:relative;gap:10px;padding:12px 4px 8px;border-radius:0 0 14px 14px;border:2px solid #2c5bc4;background:linear-gradient(90deg,transparent calc(50% - 2px),#62b8ff calc(50% - 2px),#62b8ff calc(50% + 2px),transparent calc(50% + 2px)) center/100% 100% no-repeat,rgba(6,16,52,.55);box-shadow:inset 0 0 18px rgba(40,110,255,.25)}
.fp2 .fp-row{grid-template-columns:1fr 46px 1fr;gap:8px}
.fp2 .fp-n{width:44px;height:44px;font-size:21px;color:#fff;text-shadow:0 2px 0 rgba(0,0,0,.35);background:linear-gradient(#5b6b9a,#33416e);border:3px solid #c9d6ff;box-shadow:0 0 0 2px rgba(0,0,0,.35),0 0 12px rgba(98,184,255,.55)}
.fp2 .fp-row.open .fp-n{background:linear-gradient(#8dff6a,#2fd14a 55%,#14a832);color:#fff;border-color:#eaffe0}
.fp2 .fp-row.cur .fp-n{background:linear-gradient(#ffe066,#f2a81e);color:#fff;border-color:#fff1b0}
.fp2 .fp-r{min-height:96px;gap:4px;padding:10px 6px 8px;border-radius:16px;background:linear-gradient(#2459c4,#123a8c 60%,#0d2c6e);border:3px solid #4f8bff;box-shadow:inset 0 2px 0 rgba(255,255,255,.22),inset 0 -3px 0 rgba(0,0,0,.25),0 3px 0 rgba(0,0,0,.3)}
.fp2 .fp-r.p{background:linear-gradient(#8a5cf2,#6235d6 55%,#4a1fb0);border-color:#c9a7ff}
.fp2 .fp-r img{width:46px;height:46px;filter:drop-shadow(0 3px 2px rgba(0,0,0,.4))}
.fp2 .fp-r small{font:400 17px/1.1 'Lilita One',var(--display);color:#fff;text-shadow:0 2px 0 rgba(0,0,0,.35)}
.fp2 .fp-r.got{opacity:1}
.fp2 .fp-r.lock img{filter:drop-shadow(0 3px 2px rgba(0,0,0,.4))}
.fp2 .fp-r.ready{border-color:#ffd84a;background:linear-gradient(#24489e,#0f2a6e);box-shadow:0 0 0 2px #7a4a00,0 0 16px rgba(255,210,90,.55),inset 0 2px 0 rgba(255,255,255,.2)}
.fp2 .fp-r .btn{margin-top:4px;padding:4px 22px!important;border-radius:999px!important;font:400 15px 'Lilita One',var(--display)!important}
.fp2 .fp-r .sr-tick{top:6px;right:6px;width:24px;height:24px;border:2px solid #e2ffe8}
.fp2 .fp-lock{top:7px;right:8px;width:20px;height:20px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4.5' y='10.5' width='15' height='11' rx='2.5' fill='%23ffc21a' stroke='%237a4a00' stroke-width='1.4'/%3E%3Cpath d='M8 10.5V8a4 4 0 0 1 8 0v2.5' fill='none' stroke='%23ffc21a' stroke-width='2.6'/%3E%3C/svg%3E") center/contain no-repeat}
.fp2 .fp-go{position:relative;height:60px!important;border-radius:999px!important;border:3px solid #ffe27a!important;background:linear-gradient(#7dff5a,#22c33a 55%,#109028)!important;box-shadow:0 4px 0 #0a6b17,inset 0 3px 0 rgba(255,255,255,.45)!important;font:400 22px 'Lilita One',var(--display)!important;text-shadow:0 2px 0 #0a6b17!important;display:flex;align-items:center;justify-content:center;gap:10px}
.fp2 .fp-go img{width:36px;height:auto;margin:0!important;vertical-align:0}
.fp2 .fp-chev{width:30px;height:24px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 24'%3E%3Cpath d='M4 3l9 9-9 9M15 3l9 9-9 9' fill='none' stroke='%23ffd84a' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.fp2 .fp-how{color:#e8eeff;font-size:13px}
.fp2 .rb-t{font-size:74px}
.fp2 .fp-wing{top:-20px;left:1%;width:27%;z-index:1}
.fp2 .fp-wing.r{left:auto;right:1%}
.fp2 .fp-tab{flex-direction:row!important;white-space:nowrap}
.fp2 .fp-tab img{width:26px!important;height:auto!important;margin:0!important}
.fp2 .ribbon .rb-t{font-size:76px!important}
.fp2 .fp-crown{top:-40px;width:88px}
/* owner 2026-11-07: smaller boxes, bigger Claim button */
.fp2 .fp-r{min-height:70px;padding:6px 5px 6px;gap:2px;border-width:2px;border-radius:13px}
.fp2 .fp-r img{width:32px;height:32px}
.fp2 .fp-r small{font-size:14px}
.fp2 .fp-row{grid-template-columns:1fr 40px 1fr;gap:7px}
.fp2 .fp-n{width:36px;height:36px;font-size:17px;border-width:2px}
.fp2 .fp-list{gap:7px}
.fp2 .fp-r .btn{min-height:32px!important;padding:5px 26px!important;font-size:17px!important;margin-top:3px}
.fp2 .fp-r .sr-tick{width:20px;height:20px;top:5px;right:5px}
.fp2 .fp-lock{width:17px;height:17px;top:5px;right:6px}
.fp2 .fp-go{font-size:19px!important;height:54px!important}
.fp2 .fp-go>span{overflow:visible;text-overflow:clip}
.fp2 .fp-r{width:84%;justify-self:center;min-height:64px}
.fp2 .fp-r img{width:28px;height:28px}
/* owner 2026-11-08 "+5 Moves is not visible enough": the words sit on a dark brown pill like the price beside them, a little bigger */
html body .oom2 .oom2-coin>b{top:19%!important;bottom:23%!important;left:25.5%!important;width:37%!important;border-radius:999px;background:linear-gradient(#6b3200,#4a2200);box-shadow:inset 0 2px 0 rgba(255,255,255,.18),0 1px 0 rgba(0,0,0,.35);font-size:calc(var(--W)*.066)!important;font-weight:800!important}
/* owner 2026-11-08 "win streak is so big it overshadows the other text": smaller flame and Win Streak art, so the goals and buttons lead */
html body .oom2 .oom2-flame{width:calc(var(--W)*.22)!important;min-height:calc(var(--W)*.22)!important}
html body .oom2 .oom2-flame b{font-size:calc(var(--W)*.075)!important}
html body .oom2 .oom2-streak{width:calc(var(--W)*.48)!important;min-height:calc(var(--W)*.13)!important;margin-top:calc(var(--W)*-.02)!important}
/* owner 2026-11-08 (Truck Star level 3163): hard levels look calm and rewarding, never scary: no red anywhere.
   Bonus (hard) = warm gold, Big Bonus (super hard) = royal purple; in the level a blue weather badge sits where the avatar was */
/* owner 2026-11-08: the player's picture always shows; the Bonus badge sits small on its corner */
.pz-av.wx{background:none!important;box-shadow:none!important;padding:0!important;position:relative}
.pz-wx{position:absolute;inset:auto -14% -12% auto;width:50%;height:50%;z-index:2;display:grid;place-items:center;clip-path:polygon(25% 4%,75% 4%,100% 50%,75% 96%,25% 96%,0 50%);background:linear-gradient(#bfe2ff,#3f8cff 45%,#1d4fc4);filter:drop-shadow(0 2px 3px rgba(0,0,0,.35))}
.pz-wx::before{content:"";position:absolute;inset:4px;clip-path:inherit;background:radial-gradient(circle at 50% 30%,#6fb4ff,#2a63d8 70%,#1a3f9e)}
.pz-wx svg{position:relative;width:78%;height:78%}
.pz-wx[data-t="boss"]{background:linear-gradient(#e2d4ff,#7b4fe0 45%,#3e1f9e)}
.pz-wx[data-t="boss"]::before{background:radial-gradient(circle at 50% 30%,#8a7bff,#4a3ad8 70%,#2a1f8e)}
.lc-tier.hard{background:linear-gradient(#ffe07a,#f2a81e)!important;border-color:#fff4c4!important;box-shadow:none!important}
.lc-tier.hard b,.lc-tier.hard .lt-ic,.lc-tier.hard small{color:#5a3200!important}
.lc-tier.boss{background:linear-gradient(#b48bff,#6d35d9)!important;border-color:#ffd35a!important;box-shadow:0 0 14px rgba(160,110,255,.5)!important}
.lc-tier.boss b,.lc-tier.boss .lt-ic{color:#ffd35a!important}.lc-tier.boss small{color:#f3eaff!important}
#home .play small#playLvl.pl-hard{background:linear-gradient(#ffe07a,#f2a81e)!important;color:#5a3200!important;border-color:#fff4c4!important}
#home .play small#playLvl.pl-boss{background:linear-gradient(#b48bff,#6d35d9)!important;color:#ffd35a!important;border-color:#ffd35a!important}
.mp-n.hard.lock{background:linear-gradient(#ffe07a,#f2a81e)!important;box-shadow:0 4px 0 #a86f00!important;color:#5a3200!important}
.mp-n.boss.lock{background:linear-gradient(#b48bff,#6d35d9)!important;box-shadow:0 4px 0 #3a1a8a,0 0 14px rgba(160,110,255,.55)!important;color:#ffd35a!important;border-color:#ffd35a!important}
.map-key .hard,.mq-key .hard{background:linear-gradient(#ffe07a,#f2a81e)!important;color:#5a3200!important}
.map-key .boss,.mq-key .boss{background:linear-gradient(#b48bff,#6d35d9)!important}
.mq-n.hard{background:radial-gradient(circle at 50% 30%,#ffe07a,#f2a81e)!important;color:#5a3200}
.mq-n.hex{background:linear-gradient(#fff,#e6d8ff)!important}
.mq-n.hex::before{background:radial-gradient(circle at 50% 30%,#b48bff,#6d35d9)!important}
/* owner 2026-11-08: the Workshop Collection album (his Farm Collection sample, made our own) */
.al2{gap:10px!important}
.al2-head{position:relative;margin:-4px -4px 2px;padding:8px 10px 26px;border-radius:18px;background:linear-gradient(#ffe9a8,#f6c55a 60%,#e9a630);border:3px solid #fff3c4;box-shadow:inset 0 -4px 0 rgba(150,90,0,.35),0 4px 10px rgba(0,0,0,.25)}
.al2-title .ribbon,.al2-title svg{margin:-2px auto 4px}
.al2-show{display:flex;align-items:flex-end;justify-content:center;gap:10px;padding:8px 8px 4px;border-radius:14px;background:linear-gradient(#fff8dc,#fde7a6);border:2px solid #fff}
.al2-side{display:flex;flex-direction:column;align-items:center;gap:2px;width:22%}
.al2-side img{width:44px;height:44px;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(0,0,0,.25))}
.al2-side b{padding:1px 8px;border-radius:99px;background:linear-gradient(#7a3fd0,#4c1d9a);color:#fff;font:400 14px/1.2 'Lilita One',var(--display);border:2px solid #fff}
.al2-prize{position:relative;flex:1;display:flex;flex-direction:column;align-items:center}
.al2-prize img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;border:3px solid #fff;box-shadow:0 0 0 2px #e0a52a,0 4px 12px rgba(160,100,0,.45)}
.al2-prize i{margin-top:-10px;padding:2px 12px;border-radius:8px;background:linear-gradient(#fffbe8,#f2e3b6);border:2px solid #d8b25a;color:#6b4300;font:700 12px Poppins,var(--body);font-style:normal;position:relative}
.al2-total{display:flex;align-items:center;gap:6px;margin-top:8px}
.al2-cardic{width:30px;height:38px;flex:none;border-radius:6px;background:linear-gradient(#5d84ff,#2c47c9);border:2px solid #fff;box-shadow:3px -3px 0 -1px #8fb0ff;position:relative}
.al2-cardic::after{content:"\2605";position:absolute;inset:0;display:grid;place-items:center;color:#ffd84a;font-size:17px}
.al2-tbar{position:relative;flex:1;height:24px;border-radius:99px;background:#24305a;border:3px solid #fff;overflow:hidden}
.al2-tbar em{position:absolute;inset:0 auto 0 0;background:linear-gradient(#8ff07a,#2fae4f)}
.al2-tbar b{position:relative;display:block;text-align:center;color:#fff;font:400 15px/18px 'Lilita One',var(--display);text-shadow:0 1px 2px #000}
.al2-time{position:absolute;left:50%;bottom:-13px;translate:-50% 0;display:flex;align-items:center;gap:5px;padding:3px 12px 3px 4px;border-radius:99px;background:linear-gradient(#fff,#e6eaf2);border:2px solid #b9c3d6;color:#2a2f3a;font:800 14px Poppins,var(--body);box-shadow:0 3px 6px rgba(0,0,0,.25)}
.al2-time i{width:20px;height:20px;border-radius:50%;background:radial-gradient(circle at 50% 50%,#fff 0 30%,transparent 31%),conic-gradient(#ff7a2a 0 75%,#ffd2a8 0);border:2px solid #c95a12}
.al2-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px 8px;padding:10px 6px;border-radius:16px;background:linear-gradient(#3c4a2a,#2c3a20);background:radial-gradient(circle at 50% 0,#4d5f38,#28341c)}
.al2-set{display:flex;flex-direction:column;align-items:center;gap:0;padding:0;border:0;background:none;cursor:pointer;color:#fff}
.al2-badge{position:relative;width:86%;aspect-ratio:1;border-radius:50%;padding:5px;background:linear-gradient(#fff,#cfd6e4);box-shadow:0 4px 0 rgba(0,0,0,.35)}
.al2-pic{display:block;width:100%;height:100%;border-radius:50%;overflow:hidden;background:radial-gradient(circle at 50% 35%,var(--r1),var(--r2));border:3px solid var(--r2)}
.al2-pic img{width:100%;height:100%;object-fit:cover;transform:scale(1.25)}
.al2-dot{position:absolute;top:0;right:2px;width:24px;height:24px;border-radius:50%;background:linear-gradient(#ff6a5a,#d9261c);border:2px solid #fff;color:#fff;font:900 15px/20px Poppins,sans-serif;font-style:normal;text-align:center;animation:pulse 1s infinite}
.al2-name{margin-top:-14px;position:relative;width:100%;padding:3px 2px;border-radius:9px;background:linear-gradient(var(--r1),var(--r2));border:2px solid #fff;font:400 12.5px/1.15 'Lilita One',var(--display);text-shadow:0 1px 1px rgba(0,0,0,.5);box-shadow:0 2px 0 rgba(0,0,0,.3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.al2-bar{position:relative;margin-top:6px;width:96%;height:20px;border-radius:99px;background:#1c2a12;border:2px solid #fff;overflow:visible}
.al2-bar em{position:absolute;inset:0 auto 0 0;border-radius:99px;background:linear-gradient(#a6f06a,#3fa82e)}
.al2-bar small{position:relative;display:block;padding-right:22px;text-align:center;font:400 13px/16px 'Lilita One',var(--display);text-shadow:0 1px 2px #000}
.al2-rw{position:absolute;right:-8px;top:50%;translate:0 -50%;display:flex;flex-direction:column;align-items:center}
.al2-rw img{width:26px;height:26px;object-fit:contain;filter:drop-shadow(0 1px 1px #000)}
.al2-rw em{margin-top:-6px;padding:0 3px;border-radius:5px;background:#5a2a9a;font:700 8.5px/1.3 Poppins,sans-serif;font-style:normal}
.al2-tick{margin-top:4px;width:34px;height:28px;display:grid;place-items:center;background:linear-gradient(#8ff07a,#2fae4f);clip-path:polygon(0 45%,35% 100%,100% 10%,85% 0,35% 70%,15% 30%)}
.al2-tick svg{display:none}
.al2-set.won .al2-pic{filter:saturate(1.1)}
.al2-set:active{transform:scale(.96)}
.al2-rw em{all:unset;position:relative;z-index:1;margin-top:-7px;padding:0 4px;border-radius:5px;background:#5a2a9a;border:1px solid #fff;color:#fff;font:700 8.5px/1.35 Poppins,sans-serif}
.al2-rw img{position:relative;z-index:2}
.al2-pic img{transform:none!important;object-position:50% 62%}
.al2 .al-stars img{width:22px!important;height:22px!important;vertical-align:-5px;display:inline-block}
.al2 .al-stars{display:flex;align-items:center;justify-content:space-between;gap:8px}
.al2-rw{translate:0 -62%!important}.al2-bar{margin-bottom:6px}
/* owner 2026-11-08 walled levels: a freed square grows into the board with a flash */
#boardIn .grow{animation:sqGrow .45s cubic-bezier(.2,1.4,.4,1) both}
#boardIn .sq-rim.grow{animation:sqGrow .45s cubic-bezier(.2,1.4,.4,1) both,sqFlash .7s ease-out both}
@keyframes sqGrow{from{transform:scale(.15);opacity:0}to{transform:none;opacity:1}}
@keyframes sqFlash{0%{box-shadow:0 0 0 6px #fff,0 0 30px #9fe0ff}100%{box-shadow:0 0 14px rgba(70,170,255,.7),0 10px 20px rgba(0,10,40,.35)}}
/* owner 2026-11-08 "properly animate our obstacles": every obstacle is alive while it waits. Crates and tyre stacks sway a little
   and catch a glint of light now and then, big obstacles breathe, clamps glint. Each one starts at its own moment (--i), so the
   board never moves in step. Lite graphics and reduced motion keep them still. */
.crate>svg,.crate>.ob{animation:obSway 3.2s ease-in-out infinite;animation-delay:calc(var(--i,0) * -.31s);transform-origin:50% 90%}
.crate::after,.bigob::after{content:"";position:absolute;inset:6%;border-radius:12%;pointer-events:none;background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.55) 48%,transparent 60%) no-repeat;background-size:250% 100%;background-position:150% 0;animation:obGlint 5.5s ease-in-out infinite;animation-delay:calc(var(--i,0) * -.53s);mix-blend-mode:screen}
.bigob>*:first-child{animation:obBreathe 2.8s ease-in-out infinite;animation-delay:calc(var(--i,0) * -.4s);transform-origin:50% 80%}
.tile .lock{animation:obGlintLock 4.5s ease-in-out infinite}
.curtain{animation:obCurtain 3.6s ease-in-out infinite;transform-origin:50% 0}
@keyframes obSway{0%,100%{transform:rotate(0) translateY(0)}25%{transform:rotate(-2.2deg) translateY(-1px)}75%{transform:rotate(2.2deg) translateY(0)}}
@keyframes obGlint{0%,70%{background-position:150% 0}85%,100%{background-position:-60% 0}}
@keyframes obBreathe{0%,100%{transform:scale(1)}50%{transform:scale(1.035)}}
@keyframes obGlintLock{0%,80%,100%{filter:drop-shadow(0 2px 2px rgba(0,0,0,.55)) brightness(1)}88%{filter:drop-shadow(0 2px 2px rgba(0,0,0,.55)) brightness(1.45)}}
@keyframes obCurtain{0%,100%{transform:skewX(0)}50%{transform:skewX(-1.2deg)}}
html.lite .crate>svg,html.lite .crate>.ob,html.lite .crate::after,html.lite .bigob::after,html.lite .bigob>*:first-child,html.lite .tile .lock,html.lite .curtain{animation:none!important}
html.lite .crate::after,html.lite .bigob::after{display:none}
@media (prefers-reduced-motion:reduce){.crate>svg,.crate>.ob,.crate::after,.bigob::after,.bigob>*:first-child,.tile .lock,.curtain{animation:none!important}}
/* owner 2026-11-08 offers (his Candy Party / Team Gift samples) */
.of{display:flex;flex-direction:column;gap:10px;padding-bottom:4px}
.of-hero{position:relative;border-radius:16px;overflow:hidden;border:3px solid #fff;box-shadow:0 0 0 3px #7a3fd0,0 8px 18px rgba(0,0,0,.35)}
.of-hero>img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.of-time{position:absolute;top:8px;left:50%;translate:-50% 0;display:flex;align-items:center;gap:6px;padding:3px 12px 3px 4px;border-radius:99px;background:linear-gradient(#fff,#e6eaf2);border:2px solid #b9c3d6;font:800 14px Poppins,var(--body);color:#222;box-shadow:0 3px 6px rgba(0,0,0,.3)}
.of-time i{width:20px;height:20px;border-radius:50%;background:radial-gradient(circle,#fff 0 30%,transparent 31%),conic-gradient(#ff7a2a 0 75%,#ffd2a8 0);border:2px solid #c95a12}
.of-time em{font-style:normal}
.of-tiers>.of-time{position:relative;top:auto;left:auto;translate:none;align-self:center;margin-top:-6px}
.of-tag{position:absolute;left:8px;bottom:8px;padding:3px 10px;border-radius:8px;background:linear-gradient(#ffe07a,#f2a81e);color:#5a3200;font:800 12px Poppins,var(--body);border:2px solid #fff}
.of-save{position:absolute;right:6px;bottom:6px;width:64px;height:64px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle at 40% 35%,#ff7a5a,#d9261c);border:3px solid #fff;color:#fff;transform:rotate(-12deg);box-shadow:0 4px 8px rgba(0,0,0,.35)}
.of-save b{font:400 20px/1 'Lilita One',var(--display)}.of-save small{font:700 10px Poppins,var(--body)}
.of-box{padding:10px;border-radius:16px;background:linear-gradient(#8a4fe0,#5a25b0);border:3px solid #ffd35a;box-shadow:inset 0 2px 0 rgba(255,255,255,.25)}
.of-items{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.of-it{display:flex;flex-direction:column;align-items:center;min-width:54px;padding:4px 6px 2px;border-radius:12px;background:rgba(255,255,255,.14)}
.of-it img{width:40px;height:40px;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(0,0,0,.35))}
.of-it.big img{width:58px;height:58px}
.of-it b{margin-top:-4px;padding:0 8px;border-radius:99px;background:linear-gradient(#5fd06a,#2a9a3a);border:2px solid #fff;color:#fff;font:400 13px/1.3 'Lilita One',var(--display)}
.of-it.inf i{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 40% 35%,#ff6a6a,#c4121a);color:#fff;font:900 24px/1 Poppins,sans-serif;font-style:normal}
.of-buy{align-self:center;min-width:72%;padding:10px 22px 8px;border:3px solid #fff;border-radius:18px;background:linear-gradient(#7ef06a,#2fae3a 55%,#1f8a2a);box-shadow:0 5px 0 #146a1e,0 8px 14px rgba(0,0,0,.35);color:#fff;cursor:pointer;display:flex;flex-direction:column;align-items:center}
.of-buy span{font:400 28px/1 'Lilita One',var(--display);text-shadow:0 2px 0 #146a1e}
.of-buy small{font:700 12px Poppins,var(--body);opacity:.95}
.of-buy:active{transform:translateY(3px);box-shadow:0 2px 0 #146a1e}
.of-more{align-self:center;padding:6px 14px;border:0;border-radius:99px;background:rgba(255,255,255,.14);color:#fff;font:700 13px Poppins,var(--body);cursor:pointer}
.of-note{text-align:center;font:600 11px Poppins,var(--body);opacity:.75;margin:0}.of-note a{color:inherit}
.of-tier{border-radius:16px;overflow:hidden;border:3px solid #fff;box-shadow:0 6px 12px rgba(0,0,0,.3)}
.of-th{display:flex;align-items:center;justify-content:space-between;padding:6px 12px;color:#fff}
.of-th b{font:400 20px/1 'Lilita One',var(--display);text-shadow:0 2px 0 rgba(0,0,0,.3)}
.of-th em{font-style:normal;padding:2px 8px;border-radius:8px;background:#d9261c;border:2px solid #fff;font:800 12px Poppins,var(--body)}
.of-tb{display:flex;align-items:center;gap:8px;padding:10px}
.of-tb .of-items{flex:1;justify-content:flex-start}
.of-tb .of-buy{min-width:0;padding:8px 12px 6px}.of-tb .of-buy span{font-size:20px}
.of-tier.t0 .of-th{background:linear-gradient(#ffa25a,#d9621a)}.of-tier.t0 .of-tb{background:linear-gradient(#ffe2c2,#ffc28a)}
.of-tier.t1 .of-th{background:linear-gradient(#8fb6ff,#4a72d9)}.of-tier.t1 .of-tb{background:linear-gradient(#e2ecff,#bcd0ff)}
.of-tier.t2 .of-th{background:linear-gradient(#ffd35a,#e0a01a)}.of-tier.t2 .of-tb{background:linear-gradient(#fff3c2,#ffe08a)}
.of-tier .of-it{background:rgba(0,0,0,.08)}
.of-banner{display:flex;flex-direction:column;align-items:flex-start;width:100%;margin:0 0 10px;padding:12px 14px;border:3px solid #fff;border-radius:16px;background:linear-gradient(110deg,#8a4fe0,#5a25b0 60%,#ff7ad0);color:#fff;cursor:pointer;position:relative;box-shadow:0 6px 12px rgba(0,0,0,.3)}
.of-banner b{font:400 22px/1 'Lilita One',var(--display)}.of-banner small{font:700 12px Poppins,var(--body)}
.of-banner em{position:absolute;right:12px;top:50%;translate:0 -50%;font-style:normal;padding:3px 10px;border-radius:99px;background:#fff;color:#5a25b0;font:800 13px Poppins,var(--body)}
/* owner 2026-11-08: obstacles fly off with a sparkle trail */
.ob-fly{filter:drop-shadow(0 6px 10px rgba(0,0,0,.35)) brightness(1.15)}
.ob-fly::after,.ob-fly>*{animation:none!important}
.ob-spark{position:fixed;z-index:61;width:9px;height:9px;border-radius:2px;pointer-events:none;box-shadow:0 0 6px rgba(255,255,255,.8)}
.ob-trail{position:fixed;z-index:59;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;pointer-events:none;background:radial-gradient(circle,#fff 0 25%,rgba(255,240,170,.8) 40%,transparent 70%);animation:obTrail .5s ease-out forwards}
@keyframes obTrail{from{transform:scale(1);opacity:.9}to{transform:scale(2.4);opacity:0}}
/* owner 2026-11-08 "ugly, too masculine": oil stains become soft, glossy bubble puddles in candy colours (still clearly a thing to clean) */
.slot.oil{background:radial-gradient(ellipse at 34% 30%,rgba(255,255,255,.75) 0 10%,transparent 22%),radial-gradient(circle at 50% 55%,#c9a8ff,#8a6ae0 70%)!important;box-shadow:inset 0 0 0 2px #fff,inset 0 -4px 8px rgba(90,60,180,.35)!important}
.slot.oil.grease{background:radial-gradient(ellipse at 34% 30%,rgba(255,255,255,.75) 0 10%,transparent 22%),radial-gradient(circle at 50% 55%,#ff9ad0,#e05a9a 70%)!important}
.oilmark{box-shadow:inset 0 0 0 3px rgba(255,255,255,.9),0 0 0 2px rgba(150,110,240,.5)!important}
.oilmark.grease{box-shadow:inset 0 0 0 3px rgba(255,255,255,.9),0 0 0 2px rgba(240,90,160,.6)!important}
.oilmark svg{filter:drop-shadow(0 1px 2px rgba(80,40,160,.5))!important}
/* owner 2026-11-08: a piece freshly sprayed by a beaten Paint Cannon pops with a shine */
.tile.painted{animation:paintPop .45s cubic-bezier(.2,1.5,.4,1)}
@keyframes paintPop{0%{transform:scale(.6);filter:brightness(2.2) saturate(1.5)}60%{transform:scale(1.15)}100%{transform:none;filter:none}}
/* owner 2026-11-08: the vault opens: the door swings out on its hinge, gold light pours from inside, then its weapons fly out */
.bigob.safe{perspective:300px}
.bigob.safe.open::before{content:"";position:absolute;inset:12%;border-radius:12%;background:radial-gradient(circle at 50% 45%,#fff7c8,#ffd23a 35%,#f29a1a 70%,#a85a00);box-shadow:0 0 30px 10px rgba(255,210,80,.8);animation:vaultGlow .5s ease-out both}
.bigob.safe.open .bo-safe{transform-origin:12% 50%;animation:vaultDoor .55s cubic-bezier(.3,1.3,.5,1) forwards}
.bigob.safe.open .bo-lights,.bigob.safe.open .bo-crack{opacity:0;transition:opacity .2s}
@keyframes vaultDoor{to{transform:rotateY(-78deg)}}
@keyframes vaultGlow{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}
.gift-fly{filter:drop-shadow(0 0 10px #ffd84a) drop-shadow(0 4px 6px rgba(0,0,0,.35))}
.wrench-fly{filter:drop-shadow(0 0 8px #ffd84a) drop-shadow(0 3px 5px rgba(0,0,0,.35))}
/* owner 2026-11-08 Gift Box: it bobs gently; opened, the lid flies up and the box bursts with sparkle */
.crate.gbox svg{animation:gfBob 2.4s ease-in-out infinite;animation-delay:calc(var(--i,0) * -.2s);transform-origin:50% 90%}
@keyframes gfBob{0%,100%{transform:scale(1) rotate(0)}50%{transform:scale(1.04,.97) rotate(-2deg)}}
.crate.gbox.gopen svg{animation:gfOpen .8s ease-out forwards}
@keyframes gfOpen{0%{transform:scale(1)}25%{transform:scale(1.25,.85)}55%{transform:scale(.9,1.2) translateY(-8%);opacity:1}100%{transform:scale(1.5);opacity:0}}
/* owner 2026-11-08 friendly obstacles: every look has its own calm motion (jelly wobble, cloud float, vine sway, crystal glint, knot turn)
   and a soft twinkle; never fast, never dark */
.crate>.ob.a-wobble,.crate>svg.og-wobble{animation:obWob 2.6s ease-in-out infinite;animation-delay:calc(var(--i,0) * -.27s);transform-origin:50% 92%}
.crate>.ob.a-float,.crate>svg.og-float{animation:obFloat 3.4s ease-in-out infinite;animation-delay:calc(var(--i,0) * -.31s)}
.crate>.ob.a-sway,.crate>svg.og-sway{animation:obSway2 3.8s ease-in-out infinite;animation-delay:calc(var(--i,0) * -.35s);transform-origin:50% 95%}
.crate>.ob.a-glint,.crate>svg.og-glint{animation:obGlint 3s ease-in-out infinite;animation-delay:calc(var(--i,0) * -.29s)}
.crate>.ob.a-spin,.crate>svg.og-spin{animation:obTurn 9s ease-in-out infinite;animation-delay:calc(var(--i,0) * -.8s)}
.crate>.ob.a-bob,.crate>svg.og-bob{animation:obBob2 3s ease-in-out infinite;animation-delay:calc(var(--i,0) * -.3s);transform-origin:50% 90%}
@keyframes obWob{0%,100%{transform:scale(1,1)}25%{transform:scale(1.05,.95)}50%{transform:scale(.97,1.04)}75%{transform:scale(1.02,.98)}}
@keyframes obFloat{0%,100%{transform:translateY(2%)}50%{transform:translateY(-5%)}}
@keyframes obSway2{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}
@keyframes obGlint{0%,100%{filter:drop-shadow(0 3px 3px rgba(60,40,90,.25)) brightness(1)}50%{filter:drop-shadow(0 3px 3px rgba(60,40,90,.25)) brightness(1.15) saturate(1.12)}}
.crate .ob[src*="/f-"]{filter:drop-shadow(0 3px 3px rgba(60,40,90,.25))}
@keyframes obTurn{0%,100%{transform:rotate(-8deg) scale(1)}50%{transform:rotate(8deg) scale(1.04)}}
@keyframes obBob2{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-3%) scale(1.02,.99)}}
.crate .ob-tw2{position:absolute;right:10%;top:8%;width:22%;height:22%;pointer-events:none;background:radial-gradient(circle,#fff 0 18%,transparent 20%),conic-gradient(from 45deg,transparent 0 10%,#fff 12% 13%,transparent 15% 35%,#fff 37% 38%,transparent 40% 60%,#fff 62% 63%,transparent 65% 85%,#fff 87% 88%,transparent 90%);border-radius:50%;opacity:0;animation:obTw 3.6s ease-in-out infinite;animation-delay:calc(var(--i,0) * -.53s)}
@keyframes obTw{0%,62%,100%{opacity:0;transform:scale(.3) rotate(0)}74%{opacity:1;transform:scale(1) rotate(45deg)}86%{opacity:0;transform:scale(.4) rotate(90deg)}}
.crate svg.og .og-tw{animation:ogTw 2.4s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
.crate svg.og .og-tw:nth-of-type(2){animation-delay:-.8s}.crate svg.og .og-tw:nth-of-type(3){animation-delay:-1.6s}
@keyframes ogTw{0%,100%{opacity:.25;transform:scale(.6)}50%{opacity:1;transform:scale(1.15)}}
#boardIn .crate:has(> svg.og),#boardIn .crate:has(> .ob[src*="/f-"]){background:none!important;border:0!important;box-shadow:none!important}
.crate>svg.og{width:118%;height:118%;margin:-9%;filter:drop-shadow(0 3px 3px rgba(60,40,90,.22))}
html.lite .crate>svg.og,html.lite .crate>.ob,html.lite .crate .ob-tw2,html.lite .crate svg.og .og-tw{animation:none!important}
@media (prefers-reduced-motion:reduce){.crate>svg.og,.crate .ob-tw2,.crate svg.og .og-tw{animation:none!important}}
.crate>.ob[src*="/f-"]{width:116%;height:116%;margin:-8%;max-width:none}

#puzzle .pz-head.hud .pz-av.wx{overflow:visible!important}
/* owner 2026-11-08 "drops not visible on the white board": a stained cell gets a bold purple frame and glow, and a bigger deep drop that bobs */
.oilmark{box-shadow:inset 0 0 0 3px #e83fd0,inset 0 0 14px 5px rgba(255,80,220,.4),0 0 0 2px #fff,0 0 8px 2px rgba(255,80,220,.55)!important}
.oilmark.grease{box-shadow:inset 0 0 0 3px #e0307a,inset 0 0 14px 5px rgba(224,48,122,.42),0 0 0 2px #fff,0 0 8px 2px rgba(224,48,122,.55)!important}
.oilmark svg{width:54%!important;height:54%!important;right:-6px!important;bottom:-6px!important;filter:drop-shadow(0 0 4px rgba(255,120,230,.9)) drop-shadow(0 2px 2px rgba(150,20,120,.5))!important;animation:dropBob 1.6s ease-in-out infinite}
@keyframes dropBob{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-12%) scale(1.06)}}
html.lite .oilmark svg{animation:none}
@media (prefers-reduced-motion:reduce){.oilmark svg{animation:none}}
/* owner 2026-11-09 "use image 2 style exactly": a stained cell is a glossy blue water tile over the piece, with a wave and a blue drop */
.oilmark{border-radius:18%!important;background:linear-gradient(165deg,rgba(225,247,255,.62) 0%,rgba(140,215,255,.42) 38%,rgba(40,150,235,.45) 100%)!important;box-shadow:inset 0 0 0 2.5px rgba(255,255,255,.95),inset 0 0 0 4.5px rgba(40,150,235,.55),inset 0 -6px 10px rgba(20,110,210,.35),0 0 0 1.5px rgba(30,140,230,.7),0 2px 6px rgba(20,100,200,.35)!important;animation:none!important}
.oilmark::before{content:"";position:absolute;left:8%;right:8%;top:46%;height:22%;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M0 10c10-8 20-8 30 0s20 8 30 0 20-8 30 0 10 4 10 4' fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round' opacity='.85'/%3E%3C/svg%3E") center/100% 100% no-repeat;animation:wtWave 2.6s ease-in-out infinite}
.oilmark::after{content:""!important;position:absolute;left:10%;top:7%;width:46%;height:18%;border-radius:50%;background:linear-gradient(180deg,rgba(255,255,255,.85),rgba(255,255,255,0));pointer-events:none}
@keyframes wtWave{0%,100%{transform:translateX(-4%)}50%{transform:translateX(4%)}}
.oilmark.grease{background:linear-gradient(165deg,rgba(215,240,255,.7) 0%,rgba(110,195,255,.55) 38%,rgba(20,120,220,.6) 100%)!important;box-shadow:inset 0 0 0 2.5px rgba(255,255,255,.95),inset 0 0 0 5px rgba(20,120,220,.75),inset 0 -6px 10px rgba(10,90,190,.45),0 0 0 2px rgba(20,120,220,.85),0 2px 6px rgba(20,100,200,.4)!important}
.oilmark svg{width:46%!important;height:46%!important;right:-5px!important;bottom:-5px!important;filter:drop-shadow(0 2px 2px rgba(10,80,170,.45))!important}
html.lite .oilmark::before{animation:none}
.oilmark{background:radial-gradient(ellipse at 30% 18%,rgba(255,255,255,.55),transparent 45%),linear-gradient(170deg,rgba(170,228,255,.6) 0%,rgba(80,185,255,.55) 45%,rgba(25,130,240,.66) 100%)!important;box-shadow:inset 0 0 0 2.5px rgba(255,255,255,.95),inset 0 0 0 5px rgba(60,170,255,.6),inset 0 -8px 12px rgba(10,100,220,.45),0 0 0 2px #2fa8ff,0 3px 8px rgba(20,100,220,.45)!important}
.oilmark svg{width:52%!important;height:52%!important;right:-9px!important;bottom:-9px!important;z-index:2}
/* owner 2026-11-09 "more real and advanced": a glassy water drop (refraction, rim light, caustic, wobble) that drips a droplet with a ripple */
.oilmark svg.wdrop{width:58%!important;height:76%!important;right:-8px!important;bottom:-20px!important;z-index:3;filter:drop-shadow(0 2px 2px rgba(8,70,160,.45)) drop-shadow(0 0 3px rgba(150,220,255,.6))!important;overflow:visible;animation:none!important}
/* the water tile is drawn by SVG.wtile now: the cell itself carries no tint, only a soft blue glow */
.oilmark{background:none!important;box-shadow:0 0 6px rgba(40,150,255,.45)!important;border-radius:16%!important;overflow:visible}
.oilmark::before,.oilmark::after{display:none!important}
.oilmark svg.wtile{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;right:auto!important;bottom:auto!important;filter:none!important;animation:none!important}
.slot.oil,.slot.oil.grease{background:radial-gradient(circle at 50% 55%,#cfeeff,#8fd0ff 75%)!important;box-shadow:none!important}
/* owner 2026-11-09 Vault Door (replaces the Gift Box look): a real rendered steel door, 13 frames; sealed, unlocked (ajar), swinging open with a weapon inside */
.crate.gbox{background:none!important;box-shadow:none!important;overflow:visible}
.vlt{position:absolute;inset:-15%;background:url(../img/ob/vault.webp?v=3) 0 0/1300% 100% no-repeat;background-position-x:calc(var(--f,0) * 100% / 12);filter:drop-shadow(0 3px 4px rgba(40,50,70,.35))}
.crate.gbox:not(.gopen) .vlt{animation:vltIdle 3.2s ease-in-out infinite;animation-delay:calc(var(--i,0) * -.3s)}
@keyframes vltIdle{0%,100%{filter:drop-shadow(0 3px 4px rgba(40,50,70,.35))}50%{filter:drop-shadow(0 3px 4px rgba(40,50,70,.35)) drop-shadow(0 0 5px rgba(255,214,90,.55))}}
.crate.gbox.hit .vlt{animation:vltHit .32s ease-out}
@keyframes vltHit{30%{transform:translateX(-4%) rotate(-2deg)}60%{transform:translateX(3%) rotate(1.5deg)}}
.crate.gbox.gopen{animation:vltGone .4s 1.1s ease-in forwards}
@keyframes vltGone{to{opacity:0;transform:scale(.9)}}
.crate.gbox .vlt-in{position:absolute;left:36%;top:22%;width:48%;height:48%;opacity:0;animation:vltIn .35s .3s cubic-bezier(.3,1.5,.5,1) forwards;pointer-events:none}
.crate.gbox .vlt-in i{position:absolute;inset:-20%;border-radius:50%;background:radial-gradient(circle,rgba(255,236,150,.95),rgba(255,200,60,.45) 45%,rgba(255,200,60,0) 70%)}
.crate.gbox .vlt-in img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 3px rgba(0,0,0,.3))}
@keyframes vltIn{from{opacity:0;transform:scale(.4)}to{opacity:1;transform:none}}
.ob-intro .vlt{position:relative;inset:auto;display:block;width:100%;aspect-ratio:1}
/* owner 2026-11-09 real obstacles: real objects sit still like real things; a soft light glides over them now and then, and a hit makes them jolt */
.crate:has(>.ob.rob)::before{content:"";position:absolute;inset:5%;border-radius:18%;background:radial-gradient(circle at 50% 40%,rgba(255,255,255,.75),rgba(214,224,236,.55) 70%);box-shadow:inset 0 -3px 6px rgba(80,100,130,.25),0 1px 2px rgba(40,50,70,.15)}
.crate>.ob.rob{position:absolute;inset:-4%;width:108%;height:108%;object-fit:contain;filter:drop-shadow(0 3px 3px rgba(40,40,50,.35))}
.crate>.ob-sheen{position:absolute;inset:6%;pointer-events:none;border-radius:10%;background:linear-gradient(115deg,rgba(255,255,255,0) 35%,rgba(255,255,255,.38) 50%,rgba(255,255,255,0) 65%) 0 0/250% 100%;mix-blend-mode:soft-light;animation:obSheen 5.5s ease-in-out infinite;animation-delay:calc(var(--i,0) * -.53s)}
@keyframes obSheen{0%,70%{background-position:120% 0}100%{background-position:-60% 0}}
.crate.hit>.ob.rob{animation:robHit .3s ease-out}
@keyframes robHit{30%{transform:translateY(4%) scale(1.04,.94)}65%{transform:translateY(-2%) scale(.98,1.03)}}
/* owner 2026-11-09 real tyres and padlocks */
.rtyre{position:absolute;inset:-6% -4% 0;width:108%;height:106%;object-fit:contain;object-position:50% 100%;filter:drop-shadow(0 3px 2px rgba(30,30,40,.4))}
.ob2-fly .rtyre,.ob-intro .rtyre{position:relative;inset:auto;width:100%;height:auto;display:block}
.tile .lock .rlock{position:absolute;left:18%;top:8%;width:64%;height:auto;filter:drop-shadow(0 3px 3px rgba(0,0,0,.45));transform:rotate(-8deg)}
.ob-intro .rlock{width:100%;height:auto;display:block}
/* owner 2026-11-09 the big Safe is the real steel vault too: sealed, then it swings open when the last hit lands */
.bigob.safe .bo-vlt{position:absolute;inset:-4%;}
.bigob.safe.open::before{display:none}
.bigob.safe.hit .bo-vlt{animation:vltHit .32s ease-out}
.bigob.safe .bo-crack{display:none}
/* owner 2026-11-09 real lift, lockers and cash sacks */
.bigob .rbig{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 4px rgba(30,30,40,.4))}
.bigob.cabinet .rbig{inset:-3% 0 6%;height:97%}
.bigob .bo-lights.rl{bottom:-2%;width:70%;padding:3% 4%;border-radius:999px;background:rgba(15,20,35,.72)}
.bigob.cabinet .bo-lights.rl{width:90%}
.bigob.lift.hit .rbig,.bigob.cabinet.hit .rbig{animation:robHit .3s ease-out}
.bo-bag{filter:drop-shadow(0 3px 3px rgba(30,30,40,.4))}
.ob-intro .rbig{position:relative;width:100%;height:auto;display:block}
/* owner 2026-11-09 the paint booth curtain is a real steel roller shutter (rendered from a 3D model): slats, a roller box on top, a bottom rail */
#boardIn .curtain{background:url(../img/ob/shutter.webp?v=1) 0 0/100% auto repeat-y;border-radius:6px;box-shadow:0 0 0 2px #1d4f86,0 4px 10px rgba(0,0,0,.35);padding-top:0}
#boardIn .curtain .ct-strip{display:none}
#boardIn .curtain .ct-bar{height:auto;aspect-ratio:4/1;background:url(../img/ob/shutter-box.webp?v=1) center/100% 100% no-repeat;border:0;box-shadow:0 3px 4px rgba(0,0,0,.35)}
#boardIn .curtain::after{content:"";position:absolute;left:0;right:0;bottom:0;height:7px;background:linear-gradient(#cfd8e3,#6c7a8c);box-shadow:0 2px 3px rgba(0,0,0,.35)}
#boardIn .curtain.torn{background-position:0 6px}
/* owner 2026-11-09 daily lives gift: a real ruby heart that beats, an infinity badge, the gift popup look */
.lg-stage{position:relative;background:radial-gradient(circle at 50% 55%,rgba(255,60,90,.45),rgba(255,60,90,0) 62%)!important}
.box-stage img.lg-heart{width:170px!important;filter:drop-shadow(0 14px 18px rgba(80,0,10,.55));animation:lgBeat 1.4s ease-in-out infinite}
@keyframes lgBeat{0%,100%{transform:scale(1)}12%{transform:scale(1.08)}24%{transform:scale(.98)}36%{transform:scale(1.05)}50%{transform:scale(1)}}
.lg-inf{position:absolute;right:calc(50% - 98px);bottom:14px;min-width:46px;height:46px;border-radius:23px;display:grid;place-items:center;font:900 30px/1 var(--display);color:#5a3200;background:linear-gradient(#ffe68a,#ffb81c);box-shadow:0 4px 0 #c47a00,0 8px 16px rgba(0,0,0,.35),inset 0 2px 0 rgba(255,255,255,.7)}
.bd-got .rw.lg-time{font-size:17px!important}
.btn.ghost.lg-later{margin-top:8px;width:100%}
@media (prefers-reduced-motion:reduce){.box-stage img.lg-heart{animation:none}}
/* owner 2026-11-09 "make the left and right bigger and visible, reduce the middle": solid navy tiles with a gold edge, big icons; the task bar narrows to fit */
body.v3home #home .rail{width:62px!important;gap:8px!important}
body.v3home #home .hb{width:62px!important;padding:5px 0 4px!important;border-radius:15px!important;gap:2px!important;background:linear-gradient(180deg,#2b4a8c,#16285a)!important;box-shadow:inset 0 0 0 1.5px rgba(255,214,102,.55),0 4px 0 #0b1638,0 6px 12px rgba(0,0,0,.45)!important}
body.v3home #home .hb img,body.v3home #home .hb svg{width:44px!important;height:44px!important}
body.v3home #home .hb span{font:800 10.5px/1.1 var(--body)!important;color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.6)}
/* owner 2026-11-09 "make this area premium": the bottom bar in the new style. Glossy 3D icons on round lit tiles, a deep navy bar with a gold top edge, Games raised in the middle on a gold medallion */
#home .tabbar{background:linear-gradient(180deg,#1d3478 0%,#0f1d4d 55%,#0a1438 100%)!important;border-top:0!important;box-shadow:0 -2px 0 #ffcf4a,0 -4px 0 rgba(140,90,0,.55),0 -10px 24px rgba(0,0,0,.55)!important;padding:7px 4px calc(7px + var(--safeB))!important}
#home .tabbar button{position:relative;gap:3px!important;font:800 10.5px/1 var(--body)!important;color:#dfe8ff!important;text-shadow:0 1px 2px rgba(0,0,0,.7)!important}
#home .tabbar img.tb-ic{box-sizing:border-box;width:46px;height:46px;padding:4px;object-fit:contain;border-radius:50%;background:radial-gradient(circle at 50% 35%,#3c66c9,#1a2f72 70%);box-shadow:inset 0 0 0 1.5px rgba(255,214,102,.6),inset 0 3px 6px rgba(255,255,255,.18),0 3px 0 #08112e,0 5px 10px rgba(0,0,0,.45);filter:drop-shadow(0 0 0 transparent)}
#home .tabbar button:active img.tb-ic{transform:translateY(2px) scale(.96)}
#home .tabbar .tb-mid img{box-sizing:border-box!important;width:58px!important;height:58px!important;padding:5px!important;border-radius:50%!important;background:radial-gradient(circle at 50% 35%,#ffe27a,#f2a312 70%)!important;border:3px solid #fff3c4!important;box-shadow:0 0 0 3px #b06d00,0 6px 0 #6d4300,0 10px 18px rgba(0,0,0,.5),0 0 22px rgba(255,200,60,.55)!important;transform:translateY(-14px)!important}
#home .tabbar .tb-mid span{margin-top:-14px!important;line-height:1!important;color:#ffd75a!important;font-size:11.5px!important}
#home .tabbar .badge,#home .tabbar .hm-n{z-index:3}
/* owner 2026-11-09 "make everything our advance style": Friends, Profile, Crews and the workshop task list in the gold and royal blue look of the popups */
#players.screen.sub,#profile.screen.sub,#crew.screen.sub,#wallet.screen.sub,#showroom.screen.sub,#projects.screen{background:radial-gradient(ellipse 140% 55% at 50% 0%,#2a52b0 0%,#13286a 48%,#0a1640 100%)!important}
#players .sub-top,#profile .sub-top,#crew .sub-top,#wallet .sub-top,#showroom .sub-top{background:linear-gradient(180deg,#0f1f52,#0a1640)!important;border-bottom:0!important;box-shadow:0 2px 0 #ffcf4a,0 4px 0 rgba(140,90,0,.55),0 8px 18px rgba(0,0,0,.45)!important}
#players .sub-top h2,#profile .sub-top h2,#crew .sub-top h2,#wallet .sub-top h2,#showroom .sub-top h2{font:400 24px/1.1 "Lilita One",var(--display)!important;letter-spacing:.02em;background:linear-gradient(#fff6c0,#ffd23a 45%,#f49a00);-webkit-background-clip:text;background-clip:text;color:transparent!important;-webkit-text-stroke:1.2px #6b3300;paint-order:stroke fill;filter:drop-shadow(0 2px 0 #5a2a00)}
/* tiles */
#players .share-me,#players .p-row,#players .p-note,#players .search,#profile .p-hero,#profile .p-worth>div,#profile .stat4>div,#profile .claim,#profile .mp-hero,#profile .mp-money>div,#profile .mp-stats>div,#crew .cr-card,#crew .cr-row{background:linear-gradient(180deg,#2b4fa8,#172f72)!important;border:1.5px solid rgba(255,207,74,.55)!important;border-radius:14px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 3px 0 #08112e,0 6px 12px rgba(0,0,0,.35)!important}
#players .p-note{color:#e6edff!important}
#profile .p-worth>div b,#profile .p-worth>div strong{color:#ffd75a!important}
#profile .mp-money>div b{color:#ffd75a!important}
#profile .mp-stats>div b,#profile .stat4>div b{font:400 20px/1 "Lilita One",var(--display)!important;color:#fff!important;text-shadow:0 2px 0 #0a1640}
#profile .mp-stats>div small,#profile .mp-money>div small,#profile .stat4>div small,#profile .p-worth>div small{color:#bcd0ff!important}
/* tab strips: navy track, the chosen tab in gold */
#players .tabs3,#players .world-filter,#profile .claim .seg2,#profile .claim .tabs2{background:#0a1640!important;border:1.5px solid rgba(255,207,74,.45)!important;border-radius:14px!important;padding:4px!important;box-shadow:inset 0 2px 6px rgba(0,0,0,.5)!important}
#players .tabs3 button,#players .world-filter button{color:#cfdcff!important;font-weight:800!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important}
#players .tabs3 button.on,#players .world-filter button.on,#profile .claim .seg2 button.on,#profile .claim .tabs2 button.on{background:linear-gradient(#ffe27a,#f2a312)!important;color:#5a3200!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 2px 0 #b06d00!important;text-shadow:none!important}
#players .search input,#profile .claim input,#profile .claim .at-input{background:#0a1640!important;border:1.5px solid rgba(255,207,74,.35)!important;color:#fff!important}
/* workshop task list: each step's picture on a round lit tile, the current step glows gold */
#wsPanel .ws-job .ji{flex:none;width:42px!important;height:42px!important;border-radius:50%!important;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 50% 38%,#ffffff,#dfe9ff 55%,#a9bfee 100%);box-shadow:0 0 0 2px #ffcf4a,0 0 0 3.5px #8a5200,0 3px 0 3px #08112e}
#wsPanel .ws-job .ji img{width:36px!important;height:36px!important;object-fit:contain;filter:drop-shadow(0 1px 1px rgba(0,0,0,.35));transform:rotate(-20deg)}
#wsPanel .ws-job{background:linear-gradient(180deg,#24479c,#152c6c)!important;border:1.5px solid rgba(255,207,74,.35)!important;border-radius:14px!important}
#wsPanel .ws-job.now{border-color:#ffcf4a!important;box-shadow:0 0 0 1px rgba(255,207,74,.5),0 0 14px rgba(255,200,60,.35)!important}
#wsPanel .ws-job.later{opacity:.82}
#wsPanel .ws-job .jt b{color:#fff!important}#wsPanel .ws-job .jt small{color:#c6d6ff!important}
/* owner 2026-11-09 premium pass: the top bar and the task bar in the gold and royal blue look */
html body .hm-top{background:linear-gradient(180deg,#1d3478,#0f1d4d)!important;box-shadow:0 2px 0 #ffcf4a,0 4px 0 rgba(140,90,0,.55),0 8px 18px rgba(0,0,0,.45)!important}
html body .hm-top .hud .hud-cur,html body .hm-top .hud .hud-cur.nrg{background:linear-gradient(180deg,#0a1640,#13286a)!important;border:4px solid rgba(255,207,74,.75)!important;box-shadow:inset 0 5px 12px rgba(0,0,0,.55),0 3px 0 rgba(255,255,255,.1)!important}
html body .hm-top .hud .hud-cur b{color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.6)}
html body .hm-top .hud .hud-av{box-shadow:0 0 0 7px #ffcf4a,0 0 0 11px #8a5200,0 8px 20px rgba(0,0,0,.5)!important}
html body #home .h2-c .proj-card,html body #home .h2-c .goal-bar,html body.v3home #home .h2-c .proj-card{background:linear-gradient(180deg,#2b4fa8,#172f72)!important;border:2px solid #ffcf4a!important;box-shadow:0 0 0 1.5px #8a5200,inset 0 1px 0 rgba(255,255,255,.2),0 4px 0 #08112e,0 8px 14px rgba(0,0,0,.4)!important}
.box-stage img.lg-heart{width:136px!important}
/* owner 2026-11-09 "fully animated": the gift box hops while coins burst out, and the heart beats lub-dub with a glow and rings */
.gx-stage{position:relative;overflow:visible!important}
.gx-stage .gx-rays{position:absolute;left:50%;top:50%;width:280px;height:280px;margin:-140px 0 0 -140px;border-radius:50%;background:repeating-conic-gradient(rgba(255,226,120,.32) 0 10deg,rgba(255,226,120,0) 10deg 24deg);-webkit-mask:radial-gradient(circle,#000 25%,transparent 70%);mask:radial-gradient(circle,#000 25%,transparent 70%);animation:gxSpin 9s linear infinite;pointer-events:none}
.gx-stage .gx-glow{position:absolute;left:50%;top:50%;width:200px;height:200px;margin:-100px 0 0 -100px;border-radius:50%;background:radial-gradient(circle,rgba(255,236,150,.7),rgba(255,200,60,0) 65%);animation:gxGlow 1.1s ease-in-out infinite;pointer-events:none}
.gx-stage img.gx-box{position:relative;z-index:1;animation:gxHop 1.1s cubic-bezier(.3,.7,.4,1) infinite;transform-origin:50% 90%}
.gx-stage .gx-coin{position:absolute;left:50%;top:30%;z-index:3;height:auto;transform:translate(-50%,0) scale(.3);opacity:0;animation:gxPop 1.6s cubic-bezier(.15,.8,.35,1) forwards;filter:drop-shadow(0 3px 3px rgba(0,0,0,.4));pointer-events:none}
@keyframes gxSpin{to{transform:rotate(360deg)}}
@keyframes gxGlow{0%,100%{transform:scale(.85);opacity:.6}20%{transform:scale(1.12);opacity:1}}
@keyframes gxHop{0%{transform:scale(1,1)}10%{transform:scale(1.08,.9)}22%{transform:translateY(-14px) scale(.95,1.07)}34%{transform:translateY(0) scale(1.06,.94)}44%,100%{transform:scale(1,1)}}
@keyframes gxPop{0%{opacity:0;transform:translate(-50%,0) scale(.3) rotate(0)}8%{opacity:1}45%{opacity:1;transform:translate(calc(-50% + var(--dx)),var(--dy)) scale(1.1) rotate(calc(var(--r) * .5))}85%{opacity:1}100%{opacity:0;transform:translate(calc(-50% + var(--dx) * 1.35),calc(var(--dy) + 150px)) scale(.9) rotate(var(--r))}}
.lg-stage{overflow:visible!important}
.box-stage img.lg-heart{position:relative;z-index:1;animation:lgBeat2 1.05s ease-in-out infinite!important;transform-origin:50% 55%}
.lg-stage .lg-ring{position:absolute;left:50%;top:50%;width:130px;height:130px;margin:-65px 0 0 -65px;border-radius:50%;border:4px solid rgba(255,80,110,.75);opacity:0;animation:lgRing 1.05s ease-out infinite;pointer-events:none}
.lg-stage .lg-ring.r2{animation-delay:.2s;border-color:rgba(255,140,160,.6)}
.lg-stage{background:radial-gradient(circle at 50% 55%,rgba(255,60,90,.5),rgba(255,60,90,0) 62%)!important;animation:lgGlow 1.05s ease-in-out infinite}
@keyframes lgBeat2{0%{transform:scale(1)}10%{transform:scale(1.16)}20%{transform:scale(.97)}30%{transform:scale(1.1)}42%{transform:scale(1)}100%{transform:scale(1)}}
@keyframes lgRing{0%{transform:scale(.7);opacity:0}10%{opacity:.9}70%,100%{transform:scale(1.7);opacity:0}}
@keyframes lgGlow{0%,100%{filter:brightness(1)}10%{filter:brightness(1.35)}30%{filter:brightness(1.2)}}
.gx-stage .gx-anim{position:relative;z-index:1;width:210px;height:210px;margin:0 auto;background:url(../img/ui/giftbox-anim.webp?v=4) 0 0/800% 600% no-repeat;filter:drop-shadow(0 12px 14px rgba(0,0,0,.45))}
.gx-stage .gx-glow{animation-duration:2s}
@media (max-height:700px){.gx-stage .gx-anim{width:170px;height:170px}}
/* owner 2026-11-09 premium pass: the puzzle tip in the gold and royal blue panel look */
html body #pzTip{background:linear-gradient(180deg,#2b4fa8,#152c6c)!important;border:2px solid #ffcf4a!important;border-radius:16px!important;box-shadow:0 0 0 1.5px #8a5200,inset 0 1px 0 rgba(255,255,255,.22),0 6px 16px rgba(0,0,0,.5)!important;color:#fff!important;font-weight:700!important;text-shadow:0 1px 2px rgba(0,0,0,.6)!important}
/* owner 2026-11-09 premium pass: the rows in Events, Heist Hub and the leader lists as gold edged blue tiles */
.pnl .hh-row,.pnl .cl3-r,.pnl .th-card,.pnl .rl-list .rl-row,.pnl .rl-list>button,.pnl .rl-list>div{background:linear-gradient(180deg,#2b4fa8,#172f72)!important;border:1.5px solid rgba(255,207,74,.55)!important;border-radius:14px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 3px 0 #08112e,0 6px 12px rgba(0,0,0,.3)!important}
/* owner 2026-11-09 "the 5 moves offer is still hidden and that is the focus": the offer is the hero. A glowing gold card with a huge +5 MOVES,
   and one big green Continue button with the price, shining and pulsing. The streak and goals shrink to make room; End Level stays small */
.oom2 .oom2-flame{transform:scale(.72);margin:-6% 0 -8%!important}.oom2 .oom2-streak{width:58%!important;margin:-2% auto 0!important}
.oom2 .oom2-togo{font-size:calc(var(--W)*.045)!important;margin-top:2px!important}.oom2 .oom2-pills{transform:scale(.85);margin:-2% 0!important}
.oo-hero{position:relative;overflow:hidden;margin:calc(var(--W)*.03) calc(var(--W)*.075) calc(var(--W)*.02);padding:calc(var(--W)*.035) calc(var(--W)*.04) calc(var(--W)*.04);border-radius:22px;
  background:radial-gradient(ellipse 90% 70% at 50% 30%,#fff1a8 0%,#ffcf3a 35%,#e98f00 80%,#b86400 100%);border:3px solid #fff3c4;box-shadow:0 0 0 3px #8a4a00,0 0 26px rgba(255,200,60,.85),inset 0 3px 0 rgba(255,255,255,.6),inset 0 -6px 12px rgba(140,60,0,.35);animation:ooPulse 1.6s ease-in-out infinite}
.oo-hero .oo-rays{position:absolute;left:50%;top:38%;width:180%;aspect-ratio:1;transform:translate(-50%,-50%);background:repeating-conic-gradient(rgba(255,255,255,.28) 0 9deg,rgba(255,255,255,0) 9deg 22deg);animation:ooSpin 12s linear infinite;pointer-events:none}
.oo-big{position:relative;display:flex;align-items:baseline;justify-content:center;gap:calc(var(--W)*.025)}
.oo-big .oo-n{font:400 calc(var(--W)*.22)/1 "Lilita One",var(--display);color:#fff;-webkit-text-stroke:calc(var(--W)*.014) #7a3c00;paint-order:stroke fill;text-shadow:0 calc(var(--W)*.012) 0 #7a3c00,0 6px 14px rgba(0,0,0,.35);animation:ooPop 1.6s ease-in-out infinite;display:inline-block}
.oo-big .oo-w{font:400 calc(var(--W)*.1)/1 "Lilita One",var(--display);color:#fff;-webkit-text-stroke:calc(var(--W)*.009) #7a3c00;paint-order:stroke fill;text-shadow:0 calc(var(--W)*.008) 0 #7a3c00;letter-spacing:.02em;text-transform:uppercase}
.oo-sub{position:relative;display:block;margin:2px 0 calc(var(--W)*.03);font:800 calc(var(--W)*.04)/1.2 Poppins,var(--body);color:#6b3300}
html body .oom2 .oo-cta{position:relative;overflow:hidden;display:flex!important;align-items:center;justify-content:space-between;gap:10px;width:100%!important;height:calc(var(--W)*.19)!important;margin:0!important;padding:0 calc(var(--W)*.05)!important;border-radius:calc(var(--W)*.1)!important;
  background:linear-gradient(180deg,#8ff36a 0%,#2fc23e 48%,#169a2a 100%)!important;border:3px solid #eaffd6!important;box-shadow:0 0 0 3px #0e5a1a,0 6px 0 #0b4a14,0 10px 18px rgba(0,0,0,.4),inset 0 3px 0 rgba(255,255,255,.55)!important;animation:ooBtn 1.6s ease-in-out infinite}
html body .oom2 .oo-cta::after{content:"";position:absolute;top:0;bottom:0;width:35%;left:-40%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.55),transparent);transform:skewX(-20deg);animation:ooShine 2.4s ease-in-out infinite}
.oo-cta .oo-go{font:400 calc(var(--W)*.085)/1 "Lilita One",var(--display);color:#fff;-webkit-text-stroke:calc(var(--W)*.008) #0b4a14;paint-order:stroke fill;text-shadow:0 3px 0 #0b4a14}
.oo-cta .oo-price{display:flex;align-items:center;gap:6px;padding:calc(var(--W)*.012) calc(var(--W)*.03);border-radius:99px;background:rgba(0,60,10,.45);box-shadow:inset 0 2px 4px rgba(0,0,0,.35);font:800 calc(var(--W)*.058)/1 Poppins,var(--body);color:#fff}
.oo-cta .oo-price img{width:calc(var(--W)*.075);height:calc(var(--W)*.075)}
.oo-cta.short{filter:saturate(.7)}
.oom2 .oom2-end{transform:scale(.7);opacity:.85;margin-top:-2%!important}
@keyframes ooPulse{0%,100%{box-shadow:0 0 0 3px #8a4a00,0 0 18px rgba(255,200,60,.6),inset 0 3px 0 rgba(255,255,255,.6),inset 0 -6px 12px rgba(140,60,0,.35)}50%{box-shadow:0 0 0 3px #8a4a00,0 0 36px rgba(255,210,80,1),inset 0 3px 0 rgba(255,255,255,.6),inset 0 -6px 12px rgba(140,60,0,.35)}}
@keyframes ooSpin{to{transform:translate(-50%,-50%) rotate(360deg)}}
@keyframes ooPop{0%,100%{transform:scale(1)}12%{transform:scale(1.12)}24%{transform:scale(1)}}
@keyframes ooBtn{0%,100%{transform:scale(1)}50%{transform:scale(1.035)}}
@keyframes ooShine{0%,55%{left:-40%}85%,100%{left:120%}}
html body .oom2 .oo-hero{width:88%!important;box-sizing:border-box!important;margin-left:auto!important;margin-right:auto!important}
html body .oom2 .oo-cta .oo-go{font-size:calc(var(--W)*.072)!important}html body .oom2 .oo-cta{padding:0 calc(var(--W)*.035)!important}html body .oom2 .oo-big .oo-n{font-size:calc(var(--W)*.2)!important}html body .oom2 .oo-big .oo-w{font-size:calc(var(--W)*.09)!important}html body .oom2 .oo-cta .oo-price{flex:none;white-space:nowrap}
/* the free video option sits inside the offer card, under Continue: a blue button with a play icon */
html body .oom2 .oo-vid{position:relative;display:flex;align-items:center;gap:10px;width:100%;margin-top:calc(var(--W)*.025);padding:calc(var(--W)*.018) calc(var(--W)*.035);border-radius:calc(var(--W)*.07);border:2.5px solid #d8ecff;
  background:linear-gradient(180deg,#5fb4ff 0%,#2a78e8 50%,#1a55b8 100%);box-shadow:0 0 0 2.5px #0b2f6e,0 5px 0 #0b2f6e,inset 0 2px 0 rgba(255,255,255,.5);text-align:left;cursor:pointer}
.oo-vid .oo-play{flex:none;width:calc(var(--W)*.09);height:calc(var(--W)*.09);border-radius:50%;background:#fff;box-shadow:0 2px 0 #0b2f6e;position:relative}
.oo-vid .oo-play::after{content:"";position:absolute;left:38%;top:27%;border-left:calc(var(--W)*.035) solid #2a78e8;border-top:calc(var(--W)*.023) solid transparent;border-bottom:calc(var(--W)*.023) solid transparent}
.oo-vid .oo-vt b{display:block;font:400 calc(var(--W)*.058)/1.05 "Lilita One",var(--display);color:#fff;-webkit-text-stroke:calc(var(--W)*.006) #0b2f6e;paint-order:stroke fill;text-shadow:0 2px 0 #0b2f6e}
.oo-vid .oo-vt small{display:block;font:700 calc(var(--W)*.036)/1.2 Poppins,var(--body);color:#e6f2ff}
/* owner 2026-11-09 premium pass: Wallet and My Lifestyle panels as gold edged royal blue tiles */
html body #wallet .wl-next,html body #wallet .wb-tx,html body #showroom .lx-strip,html body #showroom .stats3>div,html body #showroom .ls-empty{background:linear-gradient(180deg,#2b4fa8,#172f72)!important;border:1.5px solid rgba(255,207,74,.6)!important;border-radius:14px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 3px 0 #08112e,0 6px 12px rgba(0,0,0,.35)!important}
html body #showroom .stats3>div b{font:400 22px/1 "Lilita One",var(--display)!important;color:#fff!important;text-shadow:0 2px 0 #0a1640}
html body #showroom .stats3>div small{color:#bcd0ff!important}
html body #wallet .wb-tx .tx{background:rgba(10,22,64,.55)!important;border-radius:12px!important}
/* the treasure chest in the gift popups (same art and moves as the Level Map chest) */
.gx-stage .gx-chest{position:relative;z-index:1;width:min(62vw,240px)!important;margin:0 auto;animation:cxDrop .55s cubic-bezier(.2,1.5,.4,1) both;filter:drop-shadow(0 14px 18px rgba(0,0,0,.55))}
.gx-stage .gx-chest.shake{animation:cxShake .1s linear infinite}
.gx-stage .gx-chest.pop{animation:cxPop .5s cubic-bezier(.2,1.8,.4,1)}
.gx-stage .gx-rays,.gx-stage .gx-glow{opacity:0;transition:opacity .4s}
.gx-stage.open .gx-rays,.gx-stage.open .gx-glow{opacity:1}
.gx-stage .gx-burst{position:absolute;left:50%;top:50%;width:30px;height:30px;margin:-15px 0 0 -15px;z-index:2;animation:cxCoin 1s cubic-bezier(.15,.8,.3,1) both;pointer-events:none}
@media (max-height:700px){.gx-stage .gx-chest{width:min(52vw,190px)!important}}
/* owner 2026-11-09 "the text 'a gift for you' should be animated": it bounces in, floats, a bright shine sweeps across the gold letters and sparkles twinkle round it */
.gx-title .pnl-h b[data-t]{animation:gxTIn .7s cubic-bezier(.2,1.6,.4,1) both,gxTFloat 2.2s ease-in-out .7s infinite}
.gx-title .pnl-h b[data-t]::after{background:linear-gradient(110deg,rgba(255,255,255,0) 38%,rgba(255,255,255,.95) 50%,rgba(255,255,255,0) 62%) no-repeat,linear-gradient(180deg,#ffffff 0%,#fff6c4 22%,#ffe066 46%,#ffbe1a 70%,#ff9d00 100%);background-size:250% 100%,100% 100%;background-position:150% 0,0 0;-webkit-background-clip:text;background-clip:text;animation:gxTShine 2.4s ease-in-out .5s infinite}
.gx-title .gx-sp{position:absolute;width:16px;height:16px;pointer-events:none;background:radial-gradient(circle,#fff 0 18%,transparent 20%),conic-gradient(from 45deg,transparent 0 20deg,#fff7c0 22deg 26deg,transparent 28deg 110deg,#fff7c0 112deg 116deg,transparent 118deg 200deg,#fff7c0 202deg 206deg,transparent 208deg 290deg,#fff7c0 292deg 296deg,transparent 298deg);border-radius:50%;filter:drop-shadow(0 0 4px #ffd84a);animation:gxTw 1.6s ease-in-out infinite;-webkit-text-stroke:0}
.gx-title .gx-sp.s1{left:-14px;top:-4px}.gx-title .gx-sp.s2{right:-12px;top:2px;animation-delay:.55s;width:12px;height:12px}.gx-title .gx-sp.s3{left:46%;top:-14px;animation-delay:1.1s;width:11px;height:11px}
@keyframes gxTIn{0%{transform:scale(.2) rotate(-8deg);opacity:0}60%{transform:scale(1.18) rotate(2deg);opacity:1}100%{transform:scale(1) rotate(0)}}
@keyframes gxTFloat{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-3px) scale(1.04)}}
@keyframes gxTShine{0%{background-position:150% 0,0 0}60%,100%{background-position:-60% 0,0 0}}
@keyframes gxTw{0%,100%{transform:scale(.3) rotate(0);opacity:0}45%{transform:scale(1.15) rotate(45deg);opacity:1}}
/* owner 2026-11-10 "not feeling the daily reward page": each day is a raised royal blue tile with a gold edge and a gold Day cap; today glows gold and bobs,
   claimed days carry a big green tick, Day 7 is a gold treasure tile with turning rays */
html body #modal .days{gap:8px!important}
html body #modal .days .day{position:relative;overflow:hidden;padding:24px 4px 8px!important;border-radius:14px!important;border:0!important;background:linear-gradient(180deg,#3363c4,#1a3482)!important;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.25),0 0 0 2px #ffcf4a,0 0 0 3.5px #8a5200,0 5px 0 #08112e,0 8px 12px rgba(0,0,0,.4)!important;opacity:1!important}
html body #modal .days .day>b{position:absolute;left:0;right:0;top:0;padding:3px 0 4px;background:linear-gradient(180deg,#ffe27a,#f2a312);color:#5a3200!important;font:400 14px/1 "Lilita One",var(--display)!important;text-shadow:0 1px 0 rgba(255,255,255,.6);box-shadow:0 2px 0 #b06d00}
html body #modal .days .day .dg img{filter:drop-shadow(0 4px 4px rgba(0,0,0,.45))}
html body #modal .days .day .dg-ch{color:#fff!important;font-weight:800!important}
html body #modal .days .day.got{background:linear-gradient(180deg,#24407e,#132656)!important}
html body #modal .days .day.got .dg img{filter:grayscale(.35) brightness(.8)}
html body #modal .days .day.got::after{content:"";position:absolute;right:6px;bottom:6px;width:30px;height:30px;border-radius:50%;background:#19b544 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat;box-shadow:0 0 0 2.5px #fff,0 3px 6px rgba(0,0,0,.45)}
html body #modal .days .day.today{background:linear-gradient(180deg,#fff0a0 0%,#ffc93a 45%,#f29a12 100%)!important;box-shadow:inset 0 3px 0 rgba(255,255,255,.7),0 0 0 2.5px #fff3c4,0 0 0 4.5px #a85f00,0 5px 0 #7a4200,0 0 22px rgba(255,210,70,.9)!important;animation:dgToday 1.4s ease-in-out infinite}
html body #modal .days .day.today>b{background:linear-gradient(180deg,#ff6a5a,#d42a2a);color:#fff!important;text-shadow:0 1px 0 #7a0000;box-shadow:0 2px 0 #8a0f0f}
html body #modal .days .day.today .dg-ch{color:#5a3200!important}
html body #modal .days .day.today .dg img{animation:dgPop 1.4s ease-in-out infinite}
html body #modal .days .day.d7{background:radial-gradient(ellipse at 50% 60%,#ffe27a 0%,#f2a312 55%,#b86400 100%)!important}
html body #modal .days .day.d7::before{content:"";position:absolute;left:50%;top:58%;width:240%;aspect-ratio:1;transform:translate(-50%,-50%);background:repeating-conic-gradient(rgba(255,255,255,.3) 0 9deg,transparent 9deg 22deg);animation:dgSpin 10s linear infinite;pointer-events:none}
html body #modal .days .day.d7>*{position:relative;z-index:1}html body #modal .days .day.d7>b{position:absolute}
html body #modal .days .day.d7 .dg-ch,html body #modal .days .day.d7 .dg-ch *{color:#4a2600!important}
@keyframes dgToday{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-3px) scale(1.04)}}
@keyframes dgPop{0%,100%{transform:scale(1) rotate(0)}20%{transform:scale(1.15) rotate(-6deg)}40%{transform:scale(1) rotate(3deg)}}
@keyframes dgSpin{to{transform:translate(-50%,-50%) rotate(360deg)}}
html body #modal .days .day.today .dg-ch,html body #modal .days .day.today .dg-ch *{color:#5a3200!important;text-shadow:none!important}
/* owner 2026-11-10: the boosters keep their clear navy look, a touch bigger, with a gentle bob and pop so players see they can tap them.
   The green + shows only on a booster the player has run out of */
html body .lc .lc-b img{width:52px!important;height:52px!important;animation:lcPop2 2.2s ease-in-out infinite;filter:drop-shadow(0 4px 4px rgba(0,0,0,.45))}
html body .lc .lc-b:nth-child(2) img{animation-delay:.3s}html body .lc .lc-b:nth-child(3) img{animation-delay:.6s}html body .lc .lc-b:nth-child(4) img{animation-delay:.9s}
html body .lc .lc-b.on img{animation:none}
html body .lc .lc-plus{position:absolute;right:-6px;bottom:-6px;z-index:3;width:22px;height:22px;border-radius:50%;background:radial-gradient(circle at 40% 30%,#7dea5a,#1a9c2c 70%);box-shadow:0 0 0 2px #fff,0 2px 4px rgba(0,0,0,.4)}
html body .lc .lc-plus::before,html body .lc .lc-plus::after{content:"";position:absolute;left:50%;top:50%;background:#fff;border-radius:2px;transform:translate(-50%,-50%)}
html body .lc .lc-plus::before{width:11px;height:3px}html body .lc .lc-plus::after{width:3px;height:11px}
html body .lc .lc-b.on .lc-plus{display:none}
@keyframes lcPop2{0%,70%,100%{transform:translateY(0) scale(1)}80%{transform:translateY(-6px) scale(1.12)}90%{transform:translateY(0) scale(.97)}}
html body .lc .lc-tap{display:block;font:700 12px/1.2 Poppins,var(--body);color:#bfe3ff}
/* owner 2026-11-10 "fix all these marked areas": the level start popup pieces in the gold and royal blue look */
/* tier banner: a glossy plaque with a gold rim, a soft shine sweeping across, the colour tells the tier */
html body .lc .lc-tier{position:relative;overflow:hidden;border:0!important;border-radius:16px!important;padding:10px 14px!important;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.4),inset 0 -4px 0 rgba(0,0,0,.25),0 0 0 2.5px #ffcf4a,0 0 0 4px #8a5200,0 5px 0 #08112e,0 8px 14px rgba(0,0,0,.4)!important}
html body .lc .lc-tier::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 35%,rgba(255,255,255,.35) 50%,transparent 65%) no-repeat;background-size:250% 100%;background-position:160% 0;animation:lcShine2 3.2s ease-in-out infinite;pointer-events:none}
html body .lc .lc-tier.hard,html body .lc .lc-tier.bonus{background:linear-gradient(180deg,#b57bff 0%,#7c3aed 55%,#5b21b6 100%)!important}
html body .lc .lc-tier.boss{background:linear-gradient(180deg,#ff7a6a 0%,#e0302a 55%,#a3161a 100%)!important}
html body .lc .lc-tier .lt-txt b{font:400 22px/1.05 "Lilita One",var(--display)!important;color:#ffe27a!important;-webkit-text-stroke:3px #4a1a80;paint-order:stroke fill;text-shadow:0 2px 0 #3a1066}
html body .lc .lc-tier.boss .lt-txt b{-webkit-text-stroke-color:#6a0a0a;text-shadow:0 2px 0 #5a0808}
html body .lc .lc-tier .lt-txt small{font:800 12.5px/1.2 Poppins,var(--body)!important;color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.5)}
html body .lc .lc-tier .lt-ic{filter:drop-shadow(0 2px 3px rgba(0,0,0,.4));animation:lcStar 2s ease-in-out infinite}
/* goals and moves: raised tiles with a gold edge, the goal art sits on a lit disc, the numbers in bold display type */
html body .lc .lc-goals{gap:8px!important}
html body .lc .lc-goal,html body .lc .lc-moves{border:0!important;border-radius:14px!important;padding:8px 4px 6px!important;background:linear-gradient(180deg,#3363c4,#1a3482)!important;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.25),0 0 0 2px #ffcf4a,0 0 0 3.5px #8a5200,0 4px 0 #08112e,0 7px 10px rgba(0,0,0,.35)!important}
html body .lc .lc-goal img,html body .lc .lc-goal .gi{filter:drop-shadow(0 3px 3px rgba(0,0,0,.45));animation:lcGoal 2.4s ease-in-out infinite}
html body .lc .lc-goal:nth-child(2) img{animation-delay:.3s}html body .lc .lc-goal:nth-child(3) img{animation-delay:.6s}
html body .lc .lc-goal b,html body .lc .lc-moves b{font:400 24px/1 "Lilita One",var(--display)!important;color:#fff!important;-webkit-text-stroke:3px #0a1640;paint-order:stroke fill;text-shadow:0 2px 0 #0a1640}
html body .lc .lc-moves{background:linear-gradient(180deg,#ffe27a 0%,#f2a312 100%)!important;box-shadow:inset 0 2px 0 rgba(255,255,255,.6),0 0 0 2px #fff3c4,0 0 0 3.5px #8a5200,0 4px 0 #6d4300,0 7px 10px rgba(0,0,0,.35)!important}
html body .lc .lc-moves small{font:800 12px/1 Poppins,var(--body)!important;color:#5a3200!important;text-transform:none}
html body .lc .lc-moves b{-webkit-text-stroke-color:#7a3c00;text-shadow:0 2px 0 #7a3c00}
/* win streak: a dark glass bar with a gold rim, a real flame that flickers */
html body .lc .lc-streak{border:0!important;border-radius:14px!important;background:linear-gradient(180deg,#0f1f52,#0a1640)!important;box-shadow:inset 0 2px 6px rgba(0,0,0,.5),0 0 0 2px rgba(255,207,74,.75),0 0 0 3.5px #5a3600,0 4px 10px rgba(0,0,0,.35)!important}
html body .lc .lc-streak svg,html body .lc .lc-streak img{animation:lcFlame 1.2s ease-in-out infinite;transform-origin:50% 90%;filter:drop-shadow(0 0 6px rgba(255,150,30,.8))}
html body .lc .lc-streak b{font:400 20px/1 "Lilita One",var(--display)!important;color:#ffcf4a!important;text-shadow:0 2px 0 #3a2000}
html body .lc .lc-streak span{color:#e6edff!important;font-weight:700!important}
/* the heading: gold display letters with a dark outline, like the panel titles */
html body .lc .lc-h{font:400 21px/1.1 "Lilita One",var(--display)!important;color:#ffd23a!important;-webkit-text-stroke:3px #3d1800;paint-order:stroke fill;text-shadow:0 2px 0 #3d1800,0 4px 8px rgba(0,0,0,.4)!important;letter-spacing:.02em}
html body .lc .lc-h .lc-tap{-webkit-text-stroke:0;text-shadow:none;font:700 12px/1.3 Poppins,var(--body)!important;color:#bfe3ff!important;letter-spacing:0}
@keyframes lcShine2{0%,60%{background-position:160% 0}90%,100%{background-position:-60% 0}}
@keyframes lcStar{0%,100%{transform:rotate(0) scale(1)}50%{transform:rotate(-8deg) scale(1.1)}}
@keyframes lcGoal{0%,75%,100%{transform:translateY(0)}85%{transform:translateY(-4px) scale(1.08)}}
@keyframes lcFlame{0%,100%{transform:scale(1,1) rotate(-2deg)}50%{transform:scale(1.08,1.15) rotate(3deg)}}
html body .lc .lc-tier.boss{background:linear-gradient(180deg,#b57bff 0%,#7c3aed 55%,#5b21b6 100%)!important}
html body .lc .lc-tier.boss .lt-txt b{-webkit-text-stroke-color:#4a1a80;text-shadow:0 2px 0 #3a1066}
html body .lc .lc-tier.hard{background:linear-gradient(180deg,#ffb35a 0%,#f2741a 55%,#c2480a 100%)!important}
html body .lc .lc-tier.hard .lt-txt b{color:#fff6c4!important;-webkit-text-stroke-color:#7a2a00;text-shadow:0 2px 0 #5a1e00}
/* owner 2026-11-10 premium pass: the win reward tiles raised like the level start tiles; the tools tile glows gold, the numbers pop in */
html body .w3 .w3-tile{border:0!important;border-radius:14px!important;background:linear-gradient(180deg,#3363c4,#1a3482)!important;box-shadow:inset 0 2px 0 rgba(255,255,255,.25),0 0 0 2px #ffcf4a,0 0 0 3.5px #8a5200,0 4px 0 #08112e,0 7px 10px rgba(0,0,0,.35)!important}
html body .w3 .w3-tile.big{box-shadow:inset 0 2px 0 rgba(255,255,255,.25),0 0 0 2.5px #fff3c4,0 0 0 4px #a85f00,0 4px 0 #08112e,0 0 20px rgba(255,210,70,.65)!important;animation:w3Glow 1.6s ease-in-out infinite}
html body .w3 .w3-tile b{font:400 26px/1 "Lilita One",var(--display)!important;color:#fff!important;-webkit-text-stroke:3px #0a1640;paint-order:stroke fill;text-shadow:0 2px 0 #0a1640;animation:w3Pop .6s cubic-bezier(.2,1.8,.4,1) .9s both}
html body .w3 .w3-tile:nth-child(2) b{animation-delay:1.05s}html body .w3 .w3-tile:nth-child(3) b{animation-delay:1.2s}
html body .w3 .w3-tile img{filter:drop-shadow(0 4px 4px rgba(0,0,0,.45))}
@keyframes w3Glow{0%,100%{filter:brightness(1)}50%{filter:brightness(1.15)}}
@keyframes w3Pop{0%{transform:scale(0)}100%{transform:scale(1)}}
/* owner 2026-11-10 premium pass: Defense cards and upgrade rows as raised gold edged royal blue tiles */
html body .df .df-card,html body .df .df-up,html body .df .df-row{border:0!important;border-radius:16px!important;background:linear-gradient(180deg,#3363c4,#1a3482)!important;box-shadow:inset 0 2px 0 rgba(255,255,255,.22),0 0 0 2px #ffcf4a,0 0 0 3.5px #8a5200,0 4px 0 #08112e,0 8px 12px rgba(0,0,0,.35)!important}
html body .df .df-up b,html body .df .df-row b{color:#fff!important}
html body .df .df-up small,html body .df .df-row small{color:#bcd0ff!important}
html body .df .df-card img{filter:drop-shadow(0 4px 5px rgba(0,0,0,.45))}
/* owner 2026-11-12 "this is not clear and doesnt look premium": every message banner in the game's advance style. Royal blue panel, gold rim,
   a raised gold edge underneath, a gold medallion for the icon. Good and warning messages keep their meaning in the icon (green, amber), never as a loud panel colour. */
html body .toast,html body .toast.t-good,html body .toast.t-bad{border:2px solid #f2c64e!important;color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.45)!important;
  background:radial-gradient(120% 140% at 50% -40%,rgba(120,170,255,.35),transparent 60%),linear-gradient(#2a5ad0,#1a3c9e 55%,#122c7c)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 -3px 0 rgba(0,0,0,.28),0 0 0 1px #7a4f0c,0 4px 0 #b8861d,0 5px 0 #6b440a,0 12px 24px rgba(4,12,40,.45)!important;
  padding:8px 18px 10px 8px!important;gap:10px!important}
html body .toast span{-webkit-line-clamp:3!important}
html body .toast .t-ic{background:radial-gradient(circle at 35% 30%,#fff3c4,#f6cf5a 45%,#c48f1f)!important;color:#173a99!important;box-shadow:0 0 0 2px #fff4cf,0 2px 0 #7a4f0c,0 0 10px rgba(255,214,90,.55)!important}
html body .toast.t-good .t-ic{color:#178a35!important;box-shadow:0 0 0 2px #fff4cf,0 2px 0 #7a4f0c,0 0 12px rgba(90,230,120,.75)!important}
html body .toast.t-bad .t-ic{color:#c4560a!important;box-shadow:0 0 0 2px #fff4cf,0 2px 0 #7a4f0c,0 0 12px rgba(255,170,60,.8)!important}
html body .toast .t-pic{filter:drop-shadow(0 2px 2px rgba(0,0,0,.45)) drop-shadow(0 0 6px rgba(255,214,90,.45))!important}
/* owner 2026-11-12 obstacle test: Break Through! in gold, bigger and held a little longer than a combo callout */
.callout.lab-bt{font-size:44px!important;color:#ffe27a!important;-webkit-text-stroke:3px #7a4f0c!important;text-shadow:0 4px 0 #7a4f0c,0 0 24px rgba(255,214,90,.95)!important;animation:labBt 1.6s cubic-bezier(.3,1.5,.5,1) both!important}
@keyframes labBt{0%{opacity:0;transform:scale(.4)}18%{opacity:1;transform:scale(1.15)}30%{transform:scale(1)}80%{opacity:1}100%{opacity:0;transform:translateY(-30px)}}
/* owner 2026-11-13 offline: the connection pill sits low, above the bottom bar, so it never covers a message banner at the top */
html body #netPill{top:auto!important;bottom:calc(150px + var(--safeB,0px))!important;left:50%!important;transform:translateX(-50%)!important;z-index:45!important}
html.in-pz body #netPill{bottom:calc(110px + var(--safeB,0px))!important}
/* owner 2026-11-14 heat fix: a calm board (no touch for 3 s, nothing moving) pauses every looping decoration; hints and the teaching hand keep going */
.screen.calm .hint-glow img{animation-iteration-count:6!important}
/* owner 2026-11-13 board frame: one SVG outline that hugs the shape (js drawFrame) */
#boardIn .bframe{position:absolute;left:0;top:0;overflow:visible;pointer-events:none;filter:drop-shadow(0 6px 10px rgba(0,12,50,.45))}
#boardIn .bframe.grow{animation:sqFlash .7s ease-out both}
.board.shaped .slot{background:rgba(255,255,255,.5)!important;border-radius:8px}
.board.shaped .slot.alt{background:rgba(190,212,250,.45)!important}
.board.shaped .slot{background:rgba(255,255,255,.62)!important}
.board.shaped .slot.alt{background:rgba(165,195,245,.42)!important}
/* owner 2026-11-14 storey floors: the slab between two floors of the same building, royal blue with gold edges */
#board .floor-slab{position:absolute;z-index:2;pointer-events:none;border-radius:10px;background:linear-gradient(180deg,#2a5ae0,#16359c 55%,#0f2672);border-top:4px solid #f3c548;border-bottom:4px solid #f3c548;box-shadow:0 8px 16px rgba(0,12,50,.45);display:grid;place-items:center}
#board .floor-slab b{font:700 13px/1 inherit;color:#ffe08a;letter-spacing:.5px;text-shadow:0 1px 2px rgba(0,0,0,.5)}
#board .floor-old{overflow:visible}

/* ===== 2026-11-14 puzzle polish (test copy only, html.polish via ?polish=1) ===== */
/* the board is the hero: a soft dim behind it so the backdrop steps back */
html.polish #puzzle .pz-mid{position:relative}
html.polish #puzzle .pz-mid::before{content:"";position:absolute;inset:-4% -8%;pointer-events:none;background:radial-gradient(ellipse 72% 58% at 50% 50%,rgba(6,16,52,.5),rgba(6,16,52,.18) 68%,transparent 92%)}
html.polish #puzzle .board{z-index:1}
/* a deep royal blue bed with a fine gold rim: bright pieces stand out clearly */
html.polish .board:not(.shaped){padding:5px!important;border-radius:16px!important;border:2px solid rgba(243,197,72,.9)!important;background:linear-gradient(180deg,rgba(24,50,132,.94),rgba(10,26,80,.95))!important;box-shadow:0 0 0 1px rgba(0,0,0,.3),0 16px 34px rgba(0,8,40,.55),inset 0 1px 0 rgba(255,255,255,.16)!important}
html.polish .board .slot{background:rgba(255,255,255,.1)!important;border-radius:9px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.1),inset 0 -2px 5px rgba(0,0,0,.2)!important}
html.polish .board .slot.alt{background:rgba(150,190,255,.17)!important}
html.polish .board.shaped .slot{background:rgba(18,40,112,.88)!important}
html.polish .board.shaped .slot.alt{background:rgba(32,62,150,.88)!important}
/* clean pop: a quick swell then a shrink, a thin ring; 4 and 5 matches get a gold ring with a glow */
html.polish #boardIn .tile.pop:not(.blasted){animation:plPop .22s cubic-bezier(.3,0,.6,1) forwards!important}
@keyframes plPop{0%{transform:scale(1)}35%{transform:scale(1.2)}100%{transform:scale(.12);opacity:0}}
html.polish #boardIn .tile.pop.p2::after{inset:-22%;border:3px solid #ffd86a;box-shadow:0 0 14px rgba(255,216,106,.9)}
html.polish #boardIn .tile.pop.p3::after{inset:-38%;border:4px solid #fff1b8;box-shadow:0 0 22px rgba(255,216,106,1)}
/* chains: a gold glow round the board that builds link by link */
html.polish #board .pl-heat{position:absolute;z-index:0;pointer-events:none;border-radius:20px;box-shadow:0 0 22px 5px rgba(255,205,90,.85),inset 0 0 14px rgba(255,220,120,.55);transition:opacity .3s ease;opacity:0}
html.polish #boardIn .pl-sweep{position:absolute;top:0;bottom:0;left:0;width:45%;z-index:30;pointer-events:none;background:linear-gradient(100deg,transparent,rgba(255,240,190,.55) 50%,transparent);animation:plSweep .8s ease-out forwards}
html.polish #boardIn .pl-sweep.slow{animation-duration:1.2s}
@keyframes plSweep{from{transform:translateX(-110%)}to{transform:translateX(260%)}}
html.polish .callout{font-size:34px;color:#fff6dc;-webkit-text-stroke:3px #12307e;text-shadow:0 3px 0 #0a1f5c,0 0 16px rgba(255,214,110,.75)}
html.polish .callout.pl-fin{top:44%;font-size:40px;color:#ffe08a;-webkit-text-stroke:3px #6b430a;text-shadow:0 4px 0 #5a3807,0 0 22px rgba(255,214,90,.95)}
/* the boosters sit on one calm tray, all the same size */
html.polish #puzzle .pz-boost{width:max-content!important;max-width:calc(100% - 20px);margin:0 auto 10px!important;padding:7px 12px!important;gap:10px!important;border-radius:24px!important;background:linear-gradient(180deg,rgba(24,52,136,.78),rgba(9,24,76,.82))!important;border:1px solid rgba(243,197,72,.5)!important;box-shadow:0 8px 18px rgba(0,10,40,.3)!important}
html.polish #puzzle .boost-hot{width:min(13.5vw,54px)!important}
/* the win card: stars drop in with weight, numbers count up */
html.polish .w3.pl-win .w3-stars img.on{animation:plStar .55s cubic-bezier(.25,1.5,.45,1) both!important}
@keyframes plStar{0%{transform:scale(2.6) rotate(-22deg);opacity:0}55%{transform:scale(.9) rotate(3deg);opacity:1}78%{transform:scale(1.06)}100%{transform:scale(1) rotate(0)}}
html.polish .w3.pl-win .w3-tile b.pl-done{animation:plNum .35s cubic-bezier(.3,1.6,.5,1)}
@keyframes plNum{0%{transform:scale(1)}40%{transform:scale(1.25);color:#ffe08a}100%{transform:scale(1)}}

/* owner 2026-11-14: the ring round the pause button sits exactly on the steel frame's drawn circle (measured from img/ui/hud-m.webp: 921-991 x 102-176 of 1000 x 263) */
#puzzle .pz-head.hud-m .pz-pause{left:92.05%!important;top:38.6%!important;width:7.05%!important;height:28.3%!important}

/* ===== 2026-11-14 puzzle polish, LIVE: the animation part (html.pfx). The board restyle of the test stays off. ===== */
html.pfx #puzzle:not(.clash):not(.rush) #boardIn .tile.pop:not(.blasted){animation:plPop .22s cubic-bezier(.3,0,.6,1) forwards!important}
@keyframes plPop{0%{transform:scale(1)}35%{transform:scale(1.2)}100%{transform:scale(.12);opacity:0}}
html.pfx #puzzle:not(.clash):not(.rush) #boardIn .tile.pop.p2::after{inset:-22%;border:3px solid #ffd86a;box-shadow:0 0 14px rgba(255,216,106,.9)}
html.pfx #puzzle:not(.clash):not(.rush) #boardIn .tile.pop.p3::after{inset:-38%;border:4px solid #fff1b8;box-shadow:0 0 22px rgba(255,216,106,1)}
html.pfx #board .pl-heat{position:absolute;z-index:0;pointer-events:none;border-radius:20px;box-shadow:0 0 22px 5px rgba(255,205,90,.85),inset 0 0 14px rgba(255,220,120,.55);transition:opacity .3s ease;opacity:0}
html.pfx .callout.pl-fin{top:44%;font-size:40px;color:#ffe08a;-webkit-text-stroke:3px #6b430a;text-shadow:0 4px 0 #5a3807,0 0 22px rgba(255,214,90,.95)}
html.pfx .w3.pl-win .w3-stars img.on{animation:plStar .55s cubic-bezier(.25,1.5,.45,1) both!important}
@keyframes plStar{0%{transform:scale(2.6) rotate(-22deg);opacity:0}55%{transform:scale(.9) rotate(3deg);opacity:1}78%{transform:scale(1.06)}100%{transform:scale(1) rotate(0)}}
html.pfx .w3.pl-win .w3-tile b.pl-done{animation:plNum .35s cubic-bezier(.3,1.6,.5,1)}
@keyframes plNum{0%{transform:scale(1)}40%{transform:scale(1.25);color:#ffe08a}100%{transform:scale(1)}}
html.lite.pfx #boardIn .tile.pop:not(.blasted){animation-duration:.14s!important}

/* ===== 2026-11-14 the darker board and the power-up tray, LIVE (owner: "make the darker board and tray live too"), html.plook ===== */
/* the board is the hero: a soft dim behind it so the backdrop steps back */
html.plook #puzzle .pz-mid{position:relative}
html.plook #puzzle .pz-mid::before{content:"";position:absolute;inset:-4% -8%;pointer-events:none;background:radial-gradient(ellipse 72% 58% at 50% 50%,rgba(6,16,52,.5),rgba(6,16,52,.18) 68%,transparent 92%)}
html.plook #puzzle .board{z-index:1}
/* a deep royal blue bed with a fine gold rim: bright pieces stand out clearly */
html.plook .board:not(.shaped){padding:5px!important;border-radius:16px!important;border:2px solid rgba(243,197,72,.9)!important;background:linear-gradient(180deg,rgba(24,50,132,.94),rgba(10,26,80,.95))!important;box-shadow:0 0 0 1px rgba(0,0,0,.3),0 16px 34px rgba(0,8,40,.55),inset 0 1px 0 rgba(255,255,255,.16)!important}
html.plook .board .slot{background:rgba(255,255,255,.1)!important;border-radius:9px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.1),inset 0 -2px 5px rgba(0,0,0,.2)!important}
html.plook .board .slot.alt{background:rgba(150,190,255,.17)!important}
/* shaped and walled boards: the same deep blue bed inside a gold rim that follows the shape */
html.plook #boardIn .sq-bed{background:rgba(14,34,104,.96)!important}
html.plook #boardIn .sq-rim{background:#f3c548!important;box-shadow:0 0 0 1px rgba(90,60,10,.6),0 10px 20px rgba(0,10,40,.45)!important}
/* the boosters sit on one calm tray, all the same size */
html.plook #puzzle .pz-boost{width:max-content!important;max-width:calc(100% - 20px);margin:0 auto 10px!important;padding:7px 12px!important;gap:10px!important;border-radius:24px!important;background:linear-gradient(180deg,rgba(24,52,136,.78),rgba(9,24,76,.82))!important;border:1px solid rgba(243,197,72,.5)!important;box-shadow:0 8px 18px rgba(0,10,40,.3)!important}
html.plook #puzzle .boost-hot{width:min(13.5vw,54px)!important}

/* owner 2026-11-14 the wrecking ball's crack: the shattered glass bursts out from the hit, holds, then fades */
.fx-crack.fx-crack2{opacity:1;filter:drop-shadow(0 2px 3px rgba(0,10,40,.5))!important;animation:crack2 2.5s ease-out forwards;rotate:var(--rot,0deg)}
.fx-crack.fx-crack2 img{width:100%;height:100%;object-fit:contain;display:block;filter:brightness(.62) contrast(1.6) saturate(1.3) drop-shadow(0 0 1.2px rgba(0,8,30,.95))}   /* owner 2026-11-15: a bit darker so it shows more */
.fx-crack.fx-crack2.heavy img{filter:brightness(.5) contrast(1.75) saturate(1.35) drop-shadow(0 0 1.6px rgba(0,8,30,1))}   /* owner 2026-11-15: the double wrecking ball crack darker too */
.fx-crack.fx-crack2.quick{animation-duration:1.2s}   /* owner 2026-11-15: the hammer's crack is quick */
@keyframes crack2{0%{transform:scale(.35);opacity:0}5%{transform:scale(1.06);opacity:1}9%{transform:scale(1)}80%{opacity:1}100%{transform:scale(1.02);opacity:0}}

/* 2026-11-15 audit: the stain square's glow no longer pulses (it repainted the board every frame) */
.slot.oil,.slot.oil.grease{animation:none!important}
/* 2026-11-15 audit: the pause button's glow fades a fixed glow in and out (it used to animate the shadow itself, repainting the header every frame) */
#puzzle .pz-head.hud .pz-pause::after{box-shadow:0 0 0 2px #fff,0 0 16px 5px rgba(90,200,255,.95)!important;animation:pzPauseFade 2.4s ease-in-out infinite!important;will-change:opacity}
@keyframes pzPauseFade{0%,100%{opacity:.5}50%{opacity:1}}

/* rescue stages (2026-11-16): a scene drawn in code (js/rescue.js) above and behind the board; the character's face shows the mood */
#puzzle.rescue .pz-mid{position:relative;place-items:end center}
#puzzle.rescue .board{position:relative;z-index:2}
.rz{position:absolute;z-index:1;pointer-events:none;border-radius:14px 14px 0 0;overflow:hidden}
.rz>svg{width:100%;height:100%;display:block}
.rz-gi{display:inline-grid;place-items:center}.rz-gi svg{width:100%;height:100%}
.rz .rzp *,.rz .rzp{transform-box:fill-box}
.rz .arm{transform-origin:50% 8%;transition:transform .5s cubic-bezier(.3,1.4,.5,1)}
.rz .leg{transform-origin:50% 0}
.rz .head{transform-origin:50% 100%}
.rz .lid{transform-origin:50% 0;transform:scaleY(0);animation:rzBlink 4.6s infinite}
@keyframes rzBlink{0%,94%,100%{transform:scaleY(0)}96.5%{transform:scaleY(1)}}
.rz .pup{transition:transform .35s ease-out}
.rz .eye{transform-origin:50% 50%;transition:transform .4s}
.rz .mo,.rz .hap,.rz .sweat{display:none}
.rz .brow{transform-origin:50% 50%;transition:transform .4s}
.rz .blush{transition:opacity .5s}
.rz .rzp{transform-origin:50% 100%}
/* 0 panicked: wide eyes, small pupils, raised brows, open mouth, sweat, hands up shaking */
.rz .m0 .mo0,.rz .m1 .mo1,.rz .m2 .mo2,.rz .m3 .mo3{display:inline}
.rz .m0 .eye{transform:scale(1.18)}.rz .m0 .pup>circle:first-child{r:2.4px}
.rz .m0 .bl{transform:translateY(-3px) rotate(-14deg)}.rz .m0 .br{transform:translateY(-3px) rotate(14deg)}
.rz .m0 .sweat,.rz .m1 .sweat{display:inline;animation:rzDrip 1.4s ease-in infinite}
.rz .m0 .al{transform:rotate(155deg)}.rz .m0 .ar{transform:rotate(-155deg)}
.rz .m0{animation:rzPanic .22s ease-in-out infinite alternate}
.rz .m0 .al{animation:rzWaveL .3s ease-in-out infinite alternate}.rz .m0 .ar{animation:rzWaveR .3s ease-in-out infinite alternate}
/* 1 worried: slanted brows, wobbly mouth, hands together, a slow sway */
.rz .m1 .bl{transform:rotate(-10deg)}.rz .m1 .br{transform:rotate(10deg)}
.rz .m1 .al{transform:rotate(-28deg)}.rz .m1 .ar{transform:rotate(28deg)}
.rz .m1{animation:rzSway 1.3s ease-in-out infinite alternate}
/* 2 hopeful: a smile, rosy cheeks, a light bob */
.rz .m2 .blush,.rz .m3 .blush{opacity:.55}
.rz .m2 .bl{transform:translateY(-1px)}.rz .m2 .br{transform:translateY(-1px)}
.rz .m2{animation:rzBob 1.6s ease-in-out infinite}
/* 3 happy: eyes closed in a smile, big grin, arms up, hops */
.rz .m3 .eye{display:none}.rz .m3 .hap{display:inline}
.rz .m3 .al{transform:rotate(150deg)}.rz .m3 .ar{transform:rotate(-150deg)}
.rz .m3{animation:rzHop .75s ease-in-out infinite}
.rz .yay .head{animation:rzNod .5s ease-out 2}
.rz .walk .ll{animation:rzStepA .4s ease-in-out infinite alternate}.rz .walk .lr{animation:rzStepB .4s ease-in-out infinite alternate}
.rz .walk{animation:rzBob .4s ease-in-out infinite}
.rz .wave .ar{animation:rzWaveR .35s ease-in-out infinite alternate}
.rz .mv{transition:transform 2.2s ease-in-out,opacity .6s 1.7s}
@keyframes rzPanic{from{transform:translateX(-1.5px) rotate(-1deg)}to{transform:translateX(1.5px) rotate(1deg)}}
@keyframes rzWaveL{from{transform:rotate(140deg)}to{transform:rotate(170deg)}}
@keyframes rzWaveR{from{transform:rotate(-140deg)}to{transform:rotate(-170deg)}}
@keyframes rzSway{from{transform:rotate(-1.5deg)}to{transform:rotate(1.5deg)}}
@keyframes rzBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes rzHop{0%,100%{transform:translateY(0) scale(1,1)}35%{transform:translateY(-14px) scale(.98,1.03)}75%{transform:translateY(0) scale(1.04,.96)}}
@keyframes rzNod{50%{transform:rotate(-6deg)}}
@keyframes rzStepA{from{transform:rotate(-16deg)}to{transform:rotate(16deg)}}
@keyframes rzStepB{from{transform:rotate(16deg)}to{transform:rotate(-16deg)}}
@keyframes rzDrip{0%{transform:translateY(0);opacity:1}80%{opacity:1}100%{transform:translateY(10px);opacity:0}}
/* the locks: a hit shakes one, open: the shackle springs up and the lock drops away */
.rz .rz-lk .lk-in{transform-box:fill-box;transform-origin:50% 0}
.rz .rz-lk.hit .lk-in{animation:rzLkHit .45s ease-out}
.rz .rz-lk .shk{transform-box:fill-box;transition:transform .3s cubic-bezier(.3,1.6,.5,1)}
.rz .rz-lk.open .shk{transform:translateY(-7px)}
.rz .rz-lk.open .lk-in{animation:rzLkDrop .9s .35s ease-in forwards}
@keyframes rzLkHit{25%{transform:rotate(-12deg)}55%{transform:rotate(9deg)}80%{transform:rotate(-4deg)}}
@keyframes rzLkDrop{to{transform:translateY(70px) rotate(24deg);opacity:0}}
.rz .rz-gate{transition:transform 1.4s cubic-bezier(.4,0,.2,1)}
/* the lift: sinks a step per charge, glides down at the end; the plugs light up */
.rz .rz-cab{transition:transform .9s cubic-bezier(.3,1.3,.5,1)}
.rz .rz-cab.down{transition:transform 1.9s cubic-bezier(.45,0,.25,1)}
.rz .rz-plug.hit rect{animation:rzPlug .5s ease-out}
.rz .rz-plug.on .bolt{fill:#ffd23a;filter:drop-shadow(0 0 4px #ffd23a)}
.rz .rz-plug.on rect{stroke:#ffd95a}
@keyframes rzPlug{50%{fill:#8fd6ff}}

.rz .rz-cv{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none}

/* Fill The Pit flooding: the water and the worker sit in front of the rubble */
.rz .rz-front{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none}
.rz .rz-water{transition:transform .9s cubic-bezier(.3,.7,.3,1)}
.rz .rz-water .wv{animation:rzWave 1.6s ease-in-out infinite alternate}
@keyframes rzWave{from{transform:translateX(-6px)}to{transform:translateX(6px)}}
.rz .rz-front .mv{transition:transform .35s ease-out}

/* TEST ONLY fast win (2026-11-16) */
.fw-skip{position:fixed;left:50%;bottom:9%;transform:translateX(-50%);z-index:210;color:#fff;font:700 15px var(--display);text-shadow:0 2px 4px rgba(0,0,0,.6);pointer-events:none;animation:fwBlink 1.2s ease-in-out infinite}
@keyframes fwBlink{50%{opacity:.45}}
.fw-ban{position:fixed;inset:0;z-index:205;display:grid;place-items:center;pointer-events:none;background:radial-gradient(circle at 50% 42%,rgba(10,30,90,.35),rgba(4,10,40,.72));animation:fwIn .3s ease-out}
.fw-ban.out{animation:fwOut .35s ease-in forwards}
@keyframes fwIn{from{opacity:0}}@keyframes fwOut{to{opacity:0}}
.fw-rays{position:absolute;left:50%;top:42%;width:760px;height:760px;margin:-380px 0 0 -380px;background:repeating-conic-gradient(rgba(255,226,122,.22) 0 9deg,transparent 9deg 22deg);border-radius:50%;-webkit-mask:radial-gradient(circle,#000 18%,transparent 66%);mask:radial-gradient(circle,#000 18%,transparent 66%);animation:fwSpin 9s linear infinite}
@keyframes fwSpin{to{transform:rotate(360deg)}}
.fw-rib{position:absolute;left:50%;top:44%;transform:translate(-50%,-50%);min-width:250px;padding:12px 34px 14px;text-align:center;background:linear-gradient(180deg,#2457d0,#0b2470);border:3px solid #e8c45a;border-radius:18px;box-shadow:0 10px 30px rgba(0,0,0,.5),inset 0 2px 0 rgba(255,255,255,.25);animation:fwRib .55s cubic-bezier(.2,1.5,.4,1) both}
.fw-rib b{display:block;color:#fff;font:700 18px var(--display)}.fw-rib span{display:block;color:#ffd95a;font:800 34px/1.05 var(--display);text-shadow:0 3px 0 #6b4a00}
@keyframes fwRib{from{transform:translate(-50%,-50%) scale(.3);opacity:0}}
.fw-stars{position:absolute;left:50%;top:31%;transform:translateX(-50%);display:flex;gap:4px;align-items:flex-end}
.fw-stars img{width:62px;height:62px;animation:fwStar .5s cubic-bezier(.2,1.6,.4,1) both}.fw-stars img:nth-child(2){width:80px;height:80px}
@keyframes fwStar{from{transform:scale(0) rotate(-40deg);opacity:0}}
.fw-horn{position:absolute;top:47%;width:120px;height:60px;animation:fwHorn .6s .2s cubic-bezier(.2,1.4,.4,1) both}
.fw-horn.l{left:calc(50% - 205px);transform:rotate(-24deg)}.fw-horn.r{right:calc(50% - 205px);transform:scaleX(-1) rotate(-24deg)}
@keyframes fwHorn{from{opacity:0;translate:0 40px}}
.fw-chip{position:fixed;z-index:215;display:flex;align-items:center;gap:4px;padding:4px 10px 4px 6px;background:linear-gradient(180deg,#2457d0,#0b2470);border:2px solid #e8c45a;border-radius:14px;color:#fff;font:700 17px var(--display);pointer-events:none;box-shadow:0 6px 14px rgba(0,0,0,.4)}
.fw-chip img{width:28px;height:28px}

/* fast win polish */
.fw-ban{background:radial-gradient(circle at 50% 42%,rgba(10,30,90,.45),rgba(4,10,40,.82))}
.fw-horn{top:28%;width:140px;height:70px;z-index:2}
.fw-horn.l{left:calc(50% - 210px);transform:rotate(-30deg)}.fw-horn.r{right:calc(50% - 210px);transform:scaleX(-1) rotate(-30deg)}
.fw-horn{animation:fwHorn .6s .2s cubic-bezier(.2,1.4,.4,1) both,fwToot .5s .8s ease-in-out 3}
@keyframes fwToot{50%{scale:1.12}}
.fw-skip{bottom:auto;top:66%}
.fw-streak{position:absolute;left:50%;top:55%;transform:translateX(-50%);padding:5px 16px;border-radius:12px;background:linear-gradient(180deg,#ff8a3a,#d9461a);border:2px solid #ffd95a;color:#fff;font:800 18px var(--display);animation:fwRib .45s cubic-bezier(.2,1.5,.4,1) both}
.fw-chip{font-size:20px;padding:6px 14px 6px 8px}.fw-chip img{width:34px;height:34px}
.dz-ic{z-index:58}

/* fast win: premium banner (2026-11-16) */
.fw-glow{position:absolute;left:50%;top:40%;width:420px;height:300px;margin:-150px 0 0 -210px;background:radial-gradient(ellipse,rgba(255,214,90,.55),rgba(255,180,60,.15) 45%,transparent 70%);animation:fwIn .5s ease-out}
.fw-plate{position:absolute;left:50%;top:44%;width:330px;transform:translate(-50%,-50%);padding:58px 18px 16px;border-radius:24px;text-align:center;
  background:linear-gradient(180deg,#2c62e0 0%,#16409e 45%,#0b2470 100%);border:3px solid #f3c548;
  box-shadow:0 0 0 2px #7a4e00,0 0 0 6px #1b44c8,0 0 0 8px #f3c548,0 18px 40px rgba(0,0,0,.6),inset 0 2px 0 rgba(255,255,255,.35),inset 0 -6px 14px rgba(0,0,0,.35);
  animation:fwRib .6s cubic-bezier(.2,1.5,.4,1) both}
.fw-rib2{position:absolute;left:-34px;right:-34px;top:-40px}
.fw-rib2 .ribbon{margin:0!important}
.fw-done{font:800 40px/1 var(--display);background:linear-gradient(180deg,#fff8d6 0%,#ffe27a 40%,#f2a51a 75%,#c97a0a 100%);-webkit-background-clip:text;background-clip:text;color:transparent;
  -webkit-text-stroke:1.2px #6b3f00;filter:drop-shadow(0 3px 0 #4a2a00) drop-shadow(0 0 12px rgba(255,214,90,.6))}
.fw-gem{position:absolute;top:50%;width:18px;height:18px;margin-top:-9px;transform:rotate(45deg);background:linear-gradient(135deg,#ff8fb0,#d4145a);border:2px solid #f3c548;box-shadow:0 0 8px rgba(255,80,140,.7)}
.fw-gem.l{left:-11px}.fw-gem.r{right:-11px}
.fw-stars{top:20%;gap:0}
.fw-stars img{width:74px;height:74px;filter:drop-shadow(0 6px 10px rgba(0,0,0,.5))}
.fw-stars img:nth-child(1){transform:rotate(-14deg) translateY(14px)}.fw-stars img:nth-child(3){transform:rotate(14deg) translateY(14px)}
.fw-stars img:nth-child(2){width:96px;height:96px}
.fw-horn{top:24%;width:170px;height:110px;filter:drop-shadow(0 6px 10px rgba(0,0,0,.45))}
.fw-horn.l{left:calc(50% - 230px);transform:rotate(-26deg)}.fw-horn.r{right:calc(50% - 230px);transform:scaleX(-1) rotate(-26deg)}
.fw-skip{top:64%}
.fw-streak{top:59%}
/* fast win: the game's red ribbon art across the plate, tighter plate */
.fw-rib2{left:-46px;right:-46px;top:-56px}
.fw-rib2 .ribbon{aspect-ratio:800/213;background:url(../img/ui3/ribbon.webp?v=1) center/100% 100% no-repeat!important;filter:drop-shadow(0 6px 8px rgba(0,0,0,.45))}
.fw-rib2 .rb-t{font:400 46px "Lilita One",var(--display);fill:#fff;stroke:#7a0a0a;stroke-width:3px;paint-order:stroke fill}
.fw-plate{padding:46px 18px 14px;top:47%}
.fw-done{font-size:44px}
.fw-rib2{top:-66px}.fw-rib2 .rb-t{font-size:60px}.fw-plate{padding:58px 18px 16px}
/* stars and trumpets in one centred row, so they line up exactly */
.fw-top{position:absolute;left:50%;top:24%;transform:translateX(-50%);display:flex;align-items:flex-end;justify-content:center;gap:2px}
.fw-top .fw-stars{position:static;transform:none;display:flex;align-items:flex-end;gap:0}
.fw-top .fw-horn{position:static;width:118px;height:53px;margin-bottom:34px;filter:drop-shadow(0 5px 8px rgba(0,0,0,.45));animation:fwHornIn .6s .25s cubic-bezier(.2,1.4,.4,1) both,fwToot .45s .9s ease-in-out 3}
.fw-top .fw-horn.l{transform:scaleX(-1) rotate(-22deg);transform-origin:100% 50%}
.fw-top .fw-horn.r{transform:rotate(-22deg);transform-origin:0 50%}
@keyframes fwHornIn{from{opacity:0;translate:0 30px}}
.fw-top .fw-horn.l,.fw-top .fw-horn.r{transform-origin:50% 50%}
.fw-top .fw-horn.l{transform:scaleX(-1) rotate(-22deg)}
.fw-top .fw-horn.r{transform:rotate(-22deg)}
.fw-top .fw-stars img{animation:fwStar .5s cubic-bezier(.2,1.6,.4,1) both}
.fw-top{width:max-content}
.fw-top>*{flex:none}
.fw-top .fw-stars img{width:66px!important;height:66px!important}
.fw-top .fw-stars img:nth-child(2){width:88px!important;height:88px!important}
.fw-top .fw-stars img:nth-child(1){transform:rotate(-12deg) translateY(10px)}.fw-top .fw-stars img:nth-child(3){transform:rotate(12deg) translateY(10px)}
.fw-top .fw-horn{width:104px;height:47px;margin-bottom:46px}
.fw-top .fw-horn{width:86px;height:39px;margin-bottom:50px}
.fw-top .fw-horn.l{margin-right:-8px}.fw-top .fw-horn.r{margin-left:-8px}

/* TEST ONLY crate damage (2026-11-16) */
.crate .cr-dmg{position:absolute;inset:6%;pointer-events:none;background:url(../img/atk/crack.webp?v=1) center/120% 120% no-repeat;mix-blend-mode:multiply;opacity:.85;filter:brightness(.55) contrast(1.6)}
.crate .cr-dmg.d1{transform:rotate(25deg)}
.crate .cr-dmg.d2{transform:rotate(-40deg) scale(1.15);opacity:1}
.crate:has(.cr-dmg) img.ob{filter:brightness(.88) saturate(.9);clip-path:polygon(0 0,82% 0,100% 16%,100% 100%,14% 100%,0 86%)}
.cr-plank{position:absolute;z-index:57;pointer-events:none;background-repeat:no-repeat;filter:drop-shadow(0 3px 3px rgba(0,0,0,.4))}
.cr-fly{position:fixed;z-index:70;pointer-events:none;filter:drop-shadow(0 4px 6px rgba(0,0,0,.45))}

/* TEST ONLY Royal Match style block (2026-11-16) */
.crate .bk{position:absolute;inset:1.5%;width:97%;height:97%;filter:drop-shadow(0 2px 2px rgba(0,0,0,.3))}
.crate:has(.bk){animation:none}
.bk-shard{position:absolute;z-index:57;pointer-events:none;border-radius:2px;clip-path:polygon(0 30%,60% 0,100% 55%,40% 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.35)}
.bk-fstrap{position:absolute;z-index:57;pointer-events:none;border-radius:3px;background:linear-gradient(180deg,#eef2f6,#a8b3c0 50%,#6b7684);border:1px solid #4a5462}
.cr-fly .bk{width:100%;height:100%}
.crate .bk{inset:0;width:100%;height:100%;filter:drop-shadow(0 3px 3px rgba(0,0,0,.4))}
/* 2026-11-17: the win banner and reward chips fit any phone width */
.fw-top{transform:translateX(-50%) scale(var(--fs,1));transform-origin:50% 100%}
.fw-plate{transform:translate(-50%,-50%) scale(var(--fs,1))}
@keyframes fwRib{from{transform:translate(-50%,-50%) scale(calc(var(--fs,1) * .3));opacity:0}}
.fw-chip.sm{font-size:16px;padding:4px 10px 4px 6px}.fw-chip.sm img{width:26px;height:26px}
.fx-crack{overflow:hidden}
.fw-streak{animation:fwStreak .45s cubic-bezier(.2,1.5,.4,1) both;transform:translateX(-50%) scale(var(--fs,1))}
@keyframes fwStreak{from{transform:translateX(-50%) scale(.3);opacity:0}}

/* TEST ONLY obstacle + drone combo test (2026-11-17) */
.fx-drone .dr-ball{position:absolute;left:50%;top:60%;width:0;height:0;animation:drWhirl .42s linear infinite}
.fx-drone .dr-ball .ch{position:absolute;left:0;top:-2px;width:calc(var(--cell,48px) * .62);height:4px;background:repeating-linear-gradient(90deg,#8a93a0 0 5px,#4a5260 5px 8px);border-radius:2px}
.fx-drone .dr-ball img{position:absolute;left:calc(var(--cell,48px) * .5);top:calc(var(--cell,48px) * -.3);width:calc(var(--cell,48px) * .6);height:calc(var(--cell,48px) * .6);animation:none;filter:drop-shadow(0 3px 4px rgba(0,0,0,.45))}
@keyframes drWhirl{to{transform:rotate(360deg)}}
.dr-whirl{position:absolute;width:0;height:0;z-index:58;pointer-events:none}
.dr-whirl .ch{position:absolute;left:0;top:-2px;height:4px;background:repeating-linear-gradient(90deg,#8a93a0 0 5px,#4a5260 5px 8px);border-radius:2px}
.dr-whirl img{position:absolute;filter:drop-shadow(0 4px 6px rgba(0,0,0,.5))}
.fx-drone[style*="--dc"] img{filter:drop-shadow(0 6px 8px rgba(0,0,0,.35)) drop-shadow(0 0 10px var(--dc))}
.ty-roll{position:absolute;z-index:57;pointer-events:none;filter:drop-shadow(0 4px 4px rgba(0,0,0,.4))}
.tp-drops{position:absolute;left:50%;bottom:-8%;transform:translateX(-50%);display:flex;gap:2px;z-index:4}
.tp-drops b{width:calc(var(--cell,48px) * .2);height:calc(var(--cell,48px) * .26);background:radial-gradient(circle at 35% 40%,#e8f8ff,#4fb6ff 55%,#1a6cc0);border-radius:50% 50% 50% 50% / 60% 60% 40% 40%;clip-path:polygon(50% 0,100% 62%,88% 92%,50% 100%,12% 92%,0 62%);opacity:.25;filter:drop-shadow(0 1px 1px rgba(0,0,0,.4))}
.tp-drops b.on{opacity:1}
.tp-drops b.pop{animation:tpPop .5s ease-out forwards}
@keyframes tpPop{0%{opacity:1;transform:scale(1)}40%{transform:scale(1.6) translateY(-4px)}100%{opacity:.25;transform:scale(1)}}
.tp-drops b.pop{animation:tpPop .6s cubic-bezier(.3,1.4,.5,1) forwards}
@keyframes tpPop{0%{opacity:1;transform:scale(1)}35%{transform:scale(1.35) translateY(-3px)}100%{opacity:.22;transform:scale(.9)}}
.tp-drops b{transition:opacity .4s}
/* 2026-11-17 smoother ending */
.fw-skip.low{top:auto;bottom:15%}
.fw-ban.out{animation:fwOut2 .3s ease-in forwards}
@keyframes fwOut2{to{opacity:0;transform:scale(1.04)}}
.fw-row{position:fixed;left:50%;transform:translateX(-50%);z-index:215;display:flex;gap:8px;pointer-events:none;white-space:nowrap}
.fw-row .fw-chip{position:static}
.fw-row .fw-chip.in{animation:fwChipIn .45s cubic-bezier(.2,1.5,.4,1) both}
@keyframes fwChipIn{from{opacity:0;transform:translateY(24px) scale(.5)}}
.fw-row.sm{gap:4px}.fw-row.sm .fw-chip{font-size:15px;padding:4px 9px 4px 5px}.fw-row.sm .fw-chip img{width:24px;height:24px}
.fw-chip.fly{position:fixed;margin:0}
/* owner 2026-11-17 "the water is not clear, players can't find the colours": the water lies UNDER the pieces like a floor,
   so every piece shows in full colour and the water frames it */
.oilmark{z-index:0!important}
.oilmark svg.wtile{opacity:1}
.oilmark{box-shadow:0 0 0 2px rgba(120,210,255,.9),0 0 8px rgba(40,150,255,.55)!important}
.oilmark{background:linear-gradient(170deg,rgba(190,236,255,.95),rgba(95,190,255,.9) 55%,rgba(40,140,240,.92))!important;box-shadow:inset 0 0 0 2px rgba(255,255,255,.9),inset 0 -6px 10px rgba(10,80,190,.35),0 0 8px rgba(40,150,255,.5)!important;border-radius:18%!important}
.oilmark.grease{background:linear-gradient(170deg,rgba(150,215,255,.95),rgba(40,140,240,.95) 55%,rgba(12,80,190,.95))!important}
.oilmark svg.wdrop{z-index:0}
.oilmark{background:radial-gradient(ellipse at 50% 30%,#e6faff 0%,#7fdcff 38%,#2fb0ff 70%,#1a86e6 100%)!important;box-shadow:inset 0 0 0 3px #ffffff,inset 0 0 0 5px rgba(30,150,255,.9),0 0 10px 2px rgba(80,200,255,.8)!important}
.oilmark.grease{background:radial-gradient(ellipse at 50% 30%,#c8eeff 0%,#4fc4ff 38%,#128ef0 70%,#0b5fc4 100%)!important}
.oilmark{background:linear-gradient(180deg,#c9f2ff 0%,#8fe0ff 45%,#5cc8ff 100%)!important;box-shadow:inset 0 0 0 2.5px #ffffff,0 0 0 2px #29a3ff,0 0 10px 2px rgba(90,200,255,.85)!important}
.oilmark.grease{background:linear-gradient(180deg,#9fdcff 0%,#4fb6ff 50%,#1f8ef0 100%)!important;box-shadow:inset 0 0 0 2.5px #ffffff,0 0 0 2px #0f6fd6,0 0 10px 2px rgba(40,140,255,.85)!important}
/* owner 2026-11-17 "smaller text looks premium and serious": tray counts, bonus tag, end screen */
html #puzzle .boost-hot .cnt{min-width:20px!important;height:18px!important;padding:0 4px!important;font:700 10.5px/1 Poppins,var(--body)!important;border-radius:9px!important;border-width:1.5px!important;left:auto!important;right:-2%!important;top:auto!important;bottom:-2%!important;width:auto!important;letter-spacing:-.2px;text-shadow:none!important}
html #puzzle .boost-hot .cnt.plus{width:18px!important;min-width:18px!important;height:18px!important;font-size:14px!important;padding:0!important}
#home .play small#playLvl.pl-hard,#home .play small#playLvl.pl-boss{background:rgba(0,0,0,.22)!important;color:#fff!important;border-color:rgba(255,255,255,.35)!important}
#playLvl{display:inline-flex!important;align-items:center;gap:4px}
#playLvl .pl-tier{display:inline-grid!important;place-items:center;margin:0!important;padding:1px 5px;border-radius:7px;background:linear-gradient(#ffe27a,#e8a614);color:#5a3200!important;font:700 9.5px/1.3 Poppins,var(--body)!important;box-shadow:0 1px 0 rgba(0,0,0,.25)}
.fw-skip{font:600 11px var(--body,Poppins)!important;letter-spacing:.3px;padding:4px 10px;border-radius:10px;background:rgba(6,14,40,.55);color:rgba(255,255,255,.85)!important;text-shadow:none!important}
.fw-skip.in{top:auto!important;bottom:12%!important}
.fw-streak{top:58%!important;font:700 12px var(--body,Poppins)!important;padding:4px 12px!important}
.fw-done{font-size:34px!important}
.fw-chip,.fw-row .fw-chip{font:700 14px var(--body,Poppins)!important;padding:4px 10px 4px 5px!important}.fw-row .fw-chip img{width:24px!important;height:24px!important}
.cmb-card b{font-size:15px}
.callout{font-size:clamp(24px,7vw,30px)!important}
/* owner 2026-11-17 "smaller text looks premium and serious" */
#home .hb-row .play b{font-size:clamp(20px,6vw,26px)!important;letter-spacing:.04em}
.float{font-size:16px!important;-webkit-text-stroke:1.5px #7a3b00!important}
.toast,.tip{font-size:12.5px!important}
/* 2026-11-17 event bar on home (Royal Match style): icon, numbers inside the bar, prize at the end, time under it. Small calm text. */
html body #home .goal-bar.ev-bar{position:relative;display:flex;flex-wrap:nowrap;align-items:center;gap:0;padding:6px 10px 12px 6px!important;margin-bottom:9px}
#home .goal-bar.ev-bar .ev-ic{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 40% 30%,#ffe9a0,#e9a51c 60%,#94570a);box-shadow:0 0 0 2px #fff3c4 inset,0 2px 0 #4a2a00;z-index:2;margin-right:-8px}
#home .goal-bar.ev-bar .ev-ic img{width:20px;height:20px;filter:drop-shadow(0 1px 0 rgba(0,0,0,.4))}
#home .goal-bar.ev-bar .ev-track{position:relative;flex:1;min-width:0;height:22px;border-radius:11px;background:linear-gradient(180deg,#0b1a46,#14295f);box-shadow:inset 0 2px 3px rgba(0,0,0,.55),0 0 0 1.5px #c99a2e;overflow:hidden}
#home .goal-bar.ev-bar .ev-track em{position:absolute;left:0;top:0;bottom:0;border-radius:11px;background:linear-gradient(180deg,#8ef06a,#3fb53a 55%,#2a8f2a);box-shadow:inset 0 2px 0 rgba(255,255,255,.35);transition:width .6s ease}
#home .goal-bar.ev-bar .ev-track b{position:relative;display:block;text-align:center;line-height:22px;font:700 11.5px var(--body);color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.8),0 0 2px rgba(0,0,0,.6);letter-spacing:.2px}
#home .goal-bar.ev-bar .ev-prize{position:relative;flex:none;width:40px;height:40px;margin:-6px -4px -6px -6px;display:grid;place-items:center;z-index:2}
#home .goal-bar.ev-bar .ev-prize img{width:38px;height:38px;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(0,0,0,.5))}
#home .goal-bar.ev-bar .ev-prize small{position:absolute;right:-2px;bottom:-1px;padding:0 4px;border-radius:6px;background:#173a8a;border:1px solid #ffcf4a;font:700 9px/13px var(--body);color:#fff}
#home .goal-bar.ev-bar .ev-dot{position:absolute;right:-3px;top:-3px;width:15px;height:15px;border-radius:50%;background:#e8402f;border:1.5px solid #fff;font:800 9px/12px var(--body);font-style:normal;color:#fff;text-align:center}
#home .goal-bar.ev-bar .ev-time{position:absolute;left:50%;bottom:-8px;transform:translateX(-50%);display:flex;align-items:center;gap:3px;padding:1px 8px 1px 4px;border-radius:9px;background:linear-gradient(180deg,#2b4fa8,#172f72);border:1px solid #ffcf4a;font:600 9.5px/14px var(--body);color:#fff;white-space:nowrap;z-index:3}
#home .goal-bar.ev-bar .ev-time .fp-clock{width:11px;height:11px;flex:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='13.5' r='8' fill='none' stroke='%23ffd84a' stroke-width='2.6'/%3E%3Cpath d='M12 9v5l3 2M9 2.5h6M12 2.5v3' fill='none' stroke='%23ffd84a' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat}
#home .goal-bar.ev-bar.ev-ready .ev-prize img{animation:evPulse 1.6s ease-in-out infinite}
@keyframes evPulse{50%{transform:scale(1.08)}}
/* TEST 2026-11-17 (Royal Match): one clear number on each big obstacle and shutter, a small gold-rimmed blue badge */
#boardIn .ob-n{position:absolute;left:50%;bottom:3px;transform:translateX(-50%);z-index:5;min-width:22px;height:22px;padding:0 5px;border-radius:11px;display:grid;place-items:center;background:radial-gradient(circle at 50% 30%,#3d6fd6,#173a8a 70%);border:2px solid #ffcf4a;box-shadow:0 2px 3px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.35);font:800 11px/1 var(--body);color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.6);font-style:normal;pointer-events:none}
#boardIn .ob-n.bump{animation:obnBump .32s ease-out}
@keyframes obnBump{40%{transform:translateX(-50%) scale(1.3)}}
#boardIn .curtain .ct-n{bottom:6px}
#boardIn .curtain.wide .ct-n::before{content:"";position:absolute;left:50%;bottom:100%;width:2px;height:26px;margin-left:-1px;background:repeating-linear-gradient(180deg,#ffd75a 0 4px,#9a6a10 4px 6px)}
#boardIn .curtain.wide{border-radius:8px}

/* owner 2026-11-17: no number or chain on the shutter, it shows its own progress as it rolls up */
#boardIn .curtain .ct-n{display:none}

/* TEST ONLY 2026-11-17 obstacle overhaul: the real 3D crate sits on the board like a piece, no tile behind it, no idle sway (calm) */
#boardIn .crate:has(> .c3d){background:none!important;border:0!important;box-shadow:none!important;overflow:visible}
#boardIn .crate>.ob.c3d{width:108%;height:108%;margin:-4%;max-width:none;animation:none}

/* TEST ONLY 2026-11-17 obstacle overhaul step 2: the real 3D safe (13 frame sprite: shut, dial, wheel, ajar, opening) */
.bigob.safe .bo-vlt.s3d{inset:-7%;background-image:url(../img/ob/safe3d.webp?v=1);filter:drop-shadow(0 3px 4px rgba(10,20,50,.35))}
.bigob.safe:has(.s3d){background:none!important;border:0!important;box-shadow:none!important}

/* owner 2026-11-17 "dont put numbers, you can use color dots": hits left as small gold dots under a big obstacle */
#boardIn .ob-dots{position:absolute;left:50%;bottom:2px;transform:translateX(-50%);z-index:5;display:flex;gap:3px;padding:2px 4px;border-radius:7px;background:rgba(8,18,48,.55);transition:opacity .3s}
#boardIn .ob-dots i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.18);box-shadow:inset 0 1px 1px rgba(0,0,0,.4)}
#boardIn .ob-dots i.on{background:radial-gradient(circle at 35% 30%,#fff6c8,#ffcf4a 45%,#b9821c);box-shadow:0 0 4px rgba(255,210,90,.7)}
#boardIn .ob-dots i.pop{animation:dotPop .35s ease-out}
@keyframes dotPop{0%{transform:scale(1.8);background:#fff3b0}100%{transform:scale(1)}}

/* TEST ONLY toy style */
#boardIn .bigob .toyshelf{position:absolute;inset:-2%;width:104%;height:104%;object-fit:contain}
#boardIn .bigob:has(.toyshelf){background:none!important;border:0!important;box-shadow:none!important}

/* owner 2026-11-17 toy style blockers (spec.look): the picture fills the cell, a blue steel cap overlay marks a second hit */
#boardIn .crate:has(> .toy){background:none!important;border:0!important;box-shadow:none!important;overflow:visible}
#boardIn .crate>.ob.toy{position:absolute;inset:-4%;width:108%;height:108%;margin:0;max-width:none;animation:none}

/* owner 2026-11-17 toy era: stains are bubble wrap zones framed by a royal blue pipe with a gold line (Royal Match glass zones) */
#boardIn .oilmark.wrap{box-shadow:none!important;border-radius:0;background:rgba(205,232,255,.38);animation:none;box-sizing:border-box;border:0 ridge #6d9bff}
#boardIn .oilmark.wrap .wrapimg{position:absolute;inset:0;width:100%;height:100%;opacity:.92;pointer-events:none}
#boardIn .oilmark.wrap.et{border-top-width:5px}#boardIn .oilmark.wrap.eb{border-bottom-width:5px}#boardIn .oilmark.wrap.el{border-left-width:5px}#boardIn .oilmark.wrap.er{border-right-width:5px}
#boardIn .oilmark.wrap.et.el{border-top-left-radius:8px}#boardIn .oilmark.wrap.et.er{border-top-right-radius:8px}#boardIn .oilmark.wrap.eb.el{border-bottom-left-radius:8px}#boardIn .oilmark.wrap.eb.er{border-bottom-right-radius:8px}
#boardIn .oilmark.wrap::after{content:"";position:absolute;inset:0;pointer-events:none;border:inherit;border-color:#ffd25a;border-style:solid;transform:scale(.97);opacity:.0}
#boardIn .bigob:has(.toyshelf){background:none!important;border:0!important;box-shadow:none!important}
#boardIn .bigob .toyshelf{position:absolute;inset:-3%;width:106%;height:106%;object-fit:contain}
#boardIn .oilmark.wrap{background:radial-gradient(circle at 32% 30%,rgba(255,255,255,.95) 0 7%,rgba(225,242,255,.55) 8% 30%,rgba(160,205,255,.25) 31% 38%,transparent 39%) 0 0/50% 50%,linear-gradient(160deg,rgba(215,236,255,.55),rgba(160,200,250,.4))!important}
#boardIn .oilmark.wrap .wrapimg{display:none}
#boardIn .oilmark.wrap.grease{background-color:rgba(160,200,250,.6)!important}
#boardIn .oilmark.wrap{z-index:6!important;border-radius:0!important}

/* Fresh Polish tiles (under the pieces) and the Polish Bucket dots */
#boardIn .polmark{position:absolute;left:0;top:0;z-index:0;pointer-events:none;border-radius:6px;background:url(../img/ob/toy-polish.webp?v=6) center/100% 100% no-repeat;box-shadow:inset 0 0 0 1px rgba(255,236,170,.55)}
#boardIn .polmark.new{animation:polIn .45s ease-out}
@keyframes polIn{0%{opacity:0;transform:scale(.6);filter:brightness(1.8)}100%{opacity:1;transform:scale(1);filter:brightness(1)}}
#boardIn .crate .ob-dots.sm{bottom:-1px;gap:2px;padding:1px 3px}
#boardIn .crate .ob-dots.sm i{width:5px;height:5px}

/* shutter tag: a small brass plate on a gold chain at the bottom of the shutter, gold dots for the hits left */
#boardIn .curtain .ct-tag{position:absolute;left:50%;bottom:4px;transform:translateX(-50%);z-index:5;pointer-events:none}
#boardIn .curtain .ct-tag::before{content:"";position:absolute;left:50%;bottom:100%;width:2px;height:18px;margin-left:-1px;background:repeating-linear-gradient(180deg,#ffd75a 0 4px,#9a6a10 4px 6px)}
#boardIn .curtain .ct-tag .ob-dots{position:static;transform:none;background:linear-gradient(#1b3f9a,#0e2766);border:1.5px solid #e8b94a}
#boardIn .polmark{background:radial-gradient(ellipse at 30% 22%,rgba(255,255,255,.75),rgba(255,255,255,0) 42%),linear-gradient(145deg,#ffe07a 0%,#f4b42a 52%,#d48a10 100%)!important;box-shadow:inset 0 0 0 1.5px rgba(255,246,200,.9),inset 0 -3px 6px rgba(150,80,0,.35)!important;border-radius:7px}

/* Bird Cage: the canary that flies out, and its feathers */
.bird-fly{position:fixed;left:0;top:0;z-index:60;pointer-events:none;background:url(../img/ob/bird-flap.webp?v=1) 0 0 no-repeat;will-change:transform;filter:drop-shadow(0 4px 4px rgba(0,0,0,.25))}
.feather{position:fixed;z-index:59;width:9px;height:16px;margin:-8px 0 0 -4px;pointer-events:none;border-radius:50% 50% 50% 50% / 70% 70% 30% 30%;background:linear-gradient(90deg,#ffd84a 0 46%,#fff3b0 47% 53%,#ffc21a 54%)}

/* owner 2026-11-17 the interactive obstacles (js/ob2.js): effects layer and the parts-left badge */
.fx{position:fixed;pointer-events:none;z-index:70}
#boardIn .bigob.x2{background:none!important;border:0!important;box-shadow:none!important}
#boardIn .bigob.x2 .toyshelf{position:absolute;inset:-3%;width:106%;height:106%;object-fit:contain;transform-origin:50% 85%}
#boardIn .bigob.x2 .x2-n{position:absolute;right:-2px;bottom:-2px;z-index:5;min-width:24px;height:24px;padding:0 4px;border-radius:12px;background:#12348f;border:2px solid #ffd25a;color:#fff;font:700 14px/20px Poppins,Arial,sans-serif;text-align:center;transition:opacity .3s}

/* the 12 (spec.ob3): number badges on blocks, shutters and the covered car */
#boardIn .crate .x2-n,#boardIn .bigob .x2-n{position:absolute;right:-3px;bottom:-3px;z-index:6;min-width:20px;height:20px;padding:0 3px;border-radius:10px;background:#12348f;border:2px solid #ffd25a;color:#fff;font:700 12px/16px Poppins,Arial,sans-serif;text-align:center;transition:opacity .3s}
#boardIn .bigob .x2-n{min-width:24px;height:24px;font-size:14px;line-height:20px}
#boardIn .curtain .ct-tag .x2-n.big{position:static;display:block;min-width:28px;height:28px;font-size:15px;line-height:24px}
#boardIn .curtain .ct-tag .x2-n.big{display:block;min-width:32px;height:32px;padding:0 4px;border-radius:16px;background:#12348f;border:2px solid #ffd25a;color:#fff;font:700 16px/28px Poppins,Arial,sans-serif;text-align:center;box-shadow:0 2px 4px rgba(0,0,0,.35)}

/* the 13 extra: chains over pieces, frosted glass zones */
#boardIn .tile .lock.chainov{position:absolute;inset:-6%;background:none!important;border:0!important;box-shadow:none!important;z-index:3}
#boardIn .tile .lock.chainov img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(0,0,0,.35))}
#boardIn .oilmark.wrap.frost{background:linear-gradient(160deg,rgba(240,248,255,.78),rgba(205,225,245,.62))!important}
#boardIn .oilmark.wrap.frost{border-color:#c9d6e8}
.bigob.bull .bullpen{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 6px rgba(0,0,0,.35))}
.bigob.bull{transition:opacity .25s}
#boardIn .bull-run{position:absolute;left:0;top:0;z-index:25;pointer-events:none;background:url(../img/ob/bull-run.webp?v=6) 0 0 no-repeat;filter:drop-shadow(0 6px 5px rgba(0,0,0,.35))}
#boardIn .bigob.x2 .x2sb{position:absolute;left:-2%;right:-2%;bottom:-1%;background:center bottom/100% 100% no-repeat;filter:drop-shadow(0 4px 5px rgba(0,0,0,.35))}
#boardIn .bigob.x2 .x2box{position:absolute;left:0;right:0;top:0}
#boardIn .bigob.x2 .x2box .toyshelf{inset:0;width:100%;height:100%;object-position:center bottom;transform-origin:50% 100%}
/* owner 2026-11-18 event panel (his sample): alone, full width, royal blue plate with gold rim and rivets, key left, prize right, timer under */
html body #home > .goal-bar.ev-bar.evp{flex:none;width:auto;margin:8px 10px 2px!important;padding:9px 12px 15px 10px!important;min-height:58px;box-sizing:border-box;border-radius:14px;background:linear-gradient(180deg,#2a55c4,#163a96 55%,#102c78)!important;border:2px solid #e8c45a!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.28),inset 0 -2px 0 rgba(0,0,0,.25),0 4px 10px rgba(0,0,0,.35)!important;overflow:visible}
html body #home .goal-bar.evp .evp-rv{position:absolute;top:6px;width:6px;height:6px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff3c4,#c9962a 70%);box-shadow:0 1px 0 rgba(0,0,0,.4)}
html body #home .goal-bar.evp .evp-rv.l{left:6px}html body #home .goal-bar.evp .evp-rv.r{right:6px}
html body #home .goal-bar.evp .ev-ic{width:38px;height:38px;margin:-4px -12px -4px 0}
html body #home .goal-bar.evp .ev-ic img{width:22px;height:22px}
html body #home .goal-bar.evp .ev-track{height:20px;border-radius:4px;background:linear-gradient(180deg,#0a1840,#13285c);box-shadow:inset 0 2px 3px rgba(0,0,0,.6),0 -2px 0 -0.5px #e8c45a,0 2px 0 -0.5px #e8c45a;margin:0 2px}
html body #home .goal-bar.evp .ev-track em{border-radius:3px}
html body #home .goal-bar.evp .ev-track b{line-height:20px;font:700 12px/20px var(--body);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 6px}
html body #home .goal-bar.evp .ev-prize{width:44px;height:44px;margin:-6px -6px -6px -10px}
html body #home .goal-bar.evp .ev-prize img{width:40px;height:40px}
html body #home .goal-bar.evp .ev-prize small{right:auto;left:50%;bottom:-4px;transform:translateX(-50%);padding:0 6px;border-radius:5px;background:linear-gradient(180deg,#5fd35a,#2b9a2e);border:1px solid #d9ffcf;font:700 9.5px/14px var(--body);white-space:nowrap}
html body #home .goal-bar.evp .evp-tick{width:30px;height:30px;border-radius:50%;background:radial-gradient(circle at 40% 30%,#8ef06a,#2f9a2e);box-shadow:0 0 0 2px #fff3c4,0 2px 0 #145214;position:relative}
html body #home .goal-bar.evp .evp-tick::after{content:"";position:absolute;left:10px;top:6px;width:7px;height:13px;border:solid #fff;border-width:0 3px 3px 0;transform:rotate(45deg)}
html body #home .goal-bar.evp .ev-time{bottom:-9px;font-size:10px}
/* Coin Rush reward row: pills keep their size, small clear numbers */
.fw-row{transform-origin:50% 100%}
.fw-row .fw-chip{flex:none;white-space:nowrap}
.fw-chip,.fw-row .fw-chip{font:700 12px var(--body,Poppins)!important;padding:3px 9px 3px 4px!important;gap:3px!important;border-radius:12px!important}.fw-row .fw-chip img,.fw-chip img{width:22px!important;height:22px!important}
.fw-row{left:0!important;right:0!important;transform:none;justify-content:center;flex-wrap:nowrap;gap:6px!important}
.mnote{position:fixed;z-index:216;pointer-events:none;color:#ffd84a;font-weight:700;line-height:1;text-shadow:0 1px 0 #8a5a00,0 0 6px rgba(255,220,120,.7)}
/* home Task panel + card (owner 2026-11-18) */
html body #home .goal-bar.htp .ht-ic{background:radial-gradient(circle at 40% 30%,#3d6fe0,#163a96 70%);box-shadow:0 0 0 2px #e8c45a,0 2px 0 #0a1f5c}
html body #home .goal-bar.htp .ht-ic img{width:30px;height:30px;object-fit:contain}
html body #home .goal-bar.htp.ev-ready .ev-track b{color:#fff}
.ht-card{display:flex;flex-direction:column;align-items:center;gap:8px;padding:4px 6px 10px}
.ht-card .ht-big img{width:64px;height:64px;object-fit:contain;filter:drop-shadow(0 3px 4px rgba(0,0,0,.4))}
.ht-card .ht-t{font:700 15px var(--body);color:#fff}
.ht-card .ht-bar{position:relative;width:86%;height:18px;border-radius:9px;background:#0a1840;box-shadow:inset 0 2px 3px rgba(0,0,0,.6),0 0 0 1.5px #e8c45a;overflow:hidden;font-style:normal}
.ht-card .ht-bar em{position:absolute;left:0;top:0;bottom:0;background:linear-gradient(180deg,#8ef06a,#2a8f2a)}
.ht-card .ht-bar b{position:relative;display:block;text-align:center;font:700 11px/18px var(--body);color:#fff;text-shadow:0 1px 1px #000}
.ht-card .ht-gift{display:flex;align-items:center;gap:10px;padding:6px 14px 6px 8px;border-radius:12px;background:rgba(10,24,64,.55);border:1px solid rgba(232,196,90,.6)}
.ht-card .ht-gift img{width:40px;height:40px;object-fit:contain}
.ht-card .ht-gift small{display:block;font:600 10px var(--body);color:#ffd96a}
.ht-card .ht-gift b{display:block;font:700 13px var(--body);color:#fff}
.ht-card .ht-how{margin:2px 0 0;padding:0 0 0 18px;font:500 12px/1.45 var(--body);color:#dfe7ff;text-align:left}
.ht-card .ht-steps{display:flex;gap:6px}.ht-card .ht-steps i{width:9px;height:9px;border-radius:50%;background:#2a3f7a;box-shadow:inset 0 1px 2px rgba(0,0,0,.5)}.ht-card .ht-steps i.on{background:#ffd23a;box-shadow:0 0 4px #ffd23a}
/* owner 2026-11-18 "make mine look the same" (Candy Crush / Royal Match / Truck Star bars): item on the left with no disc, one long rail bar, gift overlapping the right end with a ribbon, timer pill under the middle */
html body #home > .goal-bar.ev-bar.evp.htp{min-height:0;padding:12px 14px 16px 12px!important;border-radius:12px;border-width:3px!important;background:linear-gradient(180deg,#2c5bd0 0%,#1a43a8 50%,#123488 100%)!important}
html body #home .goal-bar.htp .ht-ic{background:none!important;box-shadow:none!important;width:46px;height:46px;margin:-10px -16px -10px -4px;z-index:3}
html body #home .goal-bar.htp .ht-ic img{width:46px;height:46px;filter:drop-shadow(0 3px 3px rgba(0,0,0,.45))}
html body #home .goal-bar.htp .ev-track{height:24px;border-radius:5px;background:linear-gradient(180deg,#0b1b4a,#14306e);box-shadow:inset 0 3px 4px rgba(0,0,0,.6),0 -3px 0 -1px #f0cd62,0 3px 0 -1px #f0cd62}
html body #home .goal-bar.htp .ev-track em{border-radius:4px;background:linear-gradient(180deg,#9ff26c,#46c23c 50%,#2b9a2c);box-shadow:inset 0 2px 0 rgba(255,255,255,.4)}
html body #home .goal-bar.htp .ev-track b{font:800 13px/24px var(--display,var(--body));color:#fff;letter-spacing:.3px;text-shadow:-1px -1px 0 #13265c,1px -1px 0 #13265c,-1px 1px 0 #13265c,1px 1px 0 #13265c,0 2px 1px rgba(0,0,0,.5)}
html body #home .goal-bar.htp .ev-prize{width:50px;height:50px;margin:-12px -6px -12px -16px;z-index:3}
html body #home .goal-bar.htp .ev-prize img{width:48px;height:48px}
html body #home .goal-bar.htp .ev-prize small{bottom:-6px;padding:0 7px;border-radius:4px;background:linear-gradient(180deg,#6fe060,#2f9a2a);border:1.5px solid #1d6b1a;font:800 11px/15px var(--body);text-shadow:0 1px 0 #145214;clip-path:polygon(0 0,100% 0,94% 50%,100% 100%,0 100%,6% 50%)}
html body #home .goal-bar.htp .ev-time{bottom:-11px;padding:1px 9px 1px 4px;border-width:2px;font:700 11px/16px var(--body)}
html body #home .goal-bar.htp .ht-ic{position:relative}
.ht-plus{position:absolute;left:50%;top:-6px;transform:translateX(-50%);font:800 15px var(--display,var(--body));color:#fff;text-shadow:-1px -1px 0 #13265c,1px -1px 0 #13265c,-1px 1px 0 #13265c,1px 1px 0 #13265c;animation:htPlus 1.4s ease-out forwards;pointer-events:none;z-index:5}
@keyframes htPlus{0%{opacity:0;transform:translate(-50%,8px) scale(.6)}20%{opacity:1;transform:translate(-50%,-6px) scale(1.15)}70%{opacity:1;transform:translate(-50%,-14px) scale(1)}100%{opacity:0;transform:translate(-50%,-24px)}}
.ht-wgift{position:relative;width:120px;height:120px;object-fit:contain;filter:drop-shadow(0 6px 8px rgba(0,0,0,.45));animation:htPop .6s cubic-bezier(.2,1.6,.4,1) both}
@keyframes htPop{0%{transform:scale(.3);opacity:0}100%{transform:scale(1);opacity:1}}
.ht-wtag{position:absolute;left:50%;bottom:6px;transform:translateX(-50%);padding:1px 10px;border-radius:5px;background:linear-gradient(180deg,#6fe060,#2f9a2a);border:1.5px solid #1d6b1a;font:800 13px/18px var(--body);color:#fff;text-shadow:0 1px 0 #145214}
.ht-wtxt{text-align:center;font:500 13px/1.5 var(--body);color:#dfe7ff;margin:6px 0 10px}.ht-wtxt b{color:#ffd96a;font-weight:700}
.ht-wtxt{text-align:center!important}
/* owner 2026-11-18 "that 150 should sit on a proper emblem": a green ribbon with folded tails and a gold edge (like the Truck Star x1 banner) */
html body #home .goal-bar.htp .ev-prize small{clip-path:none!important;border:0!important;border-radius:0!important;background:url(../img/ui/ribbon-green.svg?v=1) center/100% 100% no-repeat!important;min-width:52px;height:20px;padding:0 14px 2px!important;bottom:-9px!important;box-sizing:border-box;text-align:center;font:800 11px/19px var(--body)!important;color:#fff;text-shadow:-1px -1px 0 #145214,1px -1px 0 #145214,-1px 1px 0 #145214,1px 1px 0 #145214!important}
.ht-wtag{border:0!important;border-radius:0!important;background:url(../img/ui/ribbon-green.svg?v=1) center/100% 100% no-repeat!important;min-width:78px;height:28px;padding:0 20px 3px!important;font:800 14px/26px var(--body)!important;text-shadow:-1px -1px 0 #145214,1px -1px 0 #145214,-1px 1px 0 #145214,1px 1px 0 #145214!important;box-sizing:border-box;text-align:center}
/* samples: amounts on a navy plate with a gold rim (Royal Match 10000), counts on the green ribbon (x1, x2, 30m) */
html body #home .goal-bar.htp .ev-prize small.plate,.ht-wtag.plate,.ht-row .ht-rw small.plate{background:linear-gradient(180deg,#24448f,#0f2462)!important;border:2px solid #f0cd62!important;border-radius:6px!important;box-shadow:0 2px 0 #6b4a0a,inset 0 1px 0 rgba(255,255,255,.25);text-shadow:-1px -1px 0 #0a1840,1px -1px 0 #0a1840,-1px 1px 0 #0a1840,1px 1px 0 #0a1840!important;min-width:0!important;height:auto!important;padding:0 6px!important;line-height:15px!important}
html body #home .goal-bar.htp .ev-prize small.plate{bottom:-7px!important;font-size:10.5px!important}
.ht-wtag.plate{line-height:22px!important;padding:0 12px!important;font-size:14px!important}
.ht-card .ht-list{width:100%;max-height:42vh;overflow-y:auto;display:flex;flex-direction:column;gap:5px;padding:2px 2px 8px}
.ht-row{position:relative;display:flex;align-items:center;gap:10px;padding:6px 10px;border-radius:10px;background:rgba(10,24,64,.55);border:1px solid rgba(232,196,90,.35)}
.ht-row.cur{border-color:#f0cd62;box-shadow:0 0 0 1px #f0cd62,0 0 10px rgba(240,205,98,.35)}
.ht-row.got{opacity:.7}
.ht-row .ht-n{width:22px;height:22px;flex:none;border-radius:50%;display:grid;place-items:center;background:linear-gradient(180deg,#5fd35a,#2b9a2e);font:700 11px var(--body);color:#fff}
.ht-row .ht-goal{flex:1;display:flex;align-items:center;gap:6px;font:700 13px var(--body);color:#fff}.ht-row .ht-goal img{width:24px;height:24px;object-fit:contain}
.ht-row .ht-rw{position:relative;width:46px;height:40px;display:grid;place-items:center}.ht-row .ht-rw img{width:36px;height:36px;object-fit:contain}
.ht-row .ht-rw small{position:absolute;left:50%;bottom:-4px;transform:translateX(-50%);white-space:nowrap;font:800 9.5px/14px var(--body);color:#fff}
.ht-row .ht-rw small.rib{background:url(../img/ui/ribbon-green.svg?v=1) center/100% 100% no-repeat;padding:0 9px 1px;min-width:36px;text-align:center;text-shadow:0 1px 0 #145214}
.ht-row .sr-tick{position:absolute;right:56px;top:50%;transform:translateY(-50%)}
/* owner 2026-11-18 "my ribbon look childish": a rendered 3D satin ribbon (C:\ffcrate\ribbon.py) */
html body #home .goal-bar.htp .ev-prize small.rib{background:url(../img/ui/ribbon3d.webp?v=1) center/100% 100% no-repeat!important;min-width:64px;height:18px;padding:0 16px 1px!important;bottom:-8px!important;font:800 11px/17px var(--body)!important;text-shadow:-1px -1px 0 #0b3d12,1px -1px 0 #0b3d12,-1px 1px 0 #0b3d12,1px 1px 0 #0b3d12!important}
.ht-wtag.rib{background:url(../img/ui/ribbon3d.webp?v=1) center/100% 100% no-repeat!important;min-width:110px;height:26px;padding:0 26px 2px!important;font:800 14px/24px var(--body)!important}
.ht-row .ht-rw small.rib{background:url(../img/ui/ribbon3d.webp?v=1) center/100% 100% no-repeat!important;min-width:46px;padding:0 11px 1px!important}
/* owner 2026-11-18: HIS ribbons (Fix_It_And_Flex_6_Ribbons.zip -> img/ui/rib-*.webp): green for counts (x1, 30m), royal blue for amounts */
html body #home .goal-bar.htp .ev-prize small.rib,html body #home .goal-bar.htp .ev-prize small.plate{background:url(../img/ui/rib-green.webp?v=1) center/100% 100% no-repeat!important;border:0!important;border-radius:0!important;box-shadow:none!important;min-width:76px!important;height:17px!important;padding:0 0 4px!important;bottom:-8px!important;box-sizing:border-box;text-align:center;font:800 10.5px/13px var(--body)!important;color:#fff!important;text-shadow:-1px -1px 0 #0b3d12,1px -1px 0 #0b3d12,-1px 1px 0 #0b3d12,1px 1px 0 #0b3d12,0 1px 2px rgba(0,0,0,.6)!important}
html body #home .goal-bar.htp .ev-prize small.plate{background-image:url(../img/ui/rib-blue.webp?v=1)!important;text-shadow:-1px -1px 0 #0a1f5c,1px -1px 0 #0a1f5c,-1px 1px 0 #0a1f5c,1px 1px 0 #0a1f5c,0 1px 2px rgba(0,0,0,.6)!important}
.ht-wtag.rib,.ht-wtag.plate{background:url(../img/ui/rib-green.webp?v=1) center/100% 100% no-repeat!important;border:0!important;border-radius:0!important;box-shadow:none!important;min-width:140px!important;height:31px!important;padding:0 0 8px!important;font:800 15px/23px var(--body)!important;text-shadow:-1px -1px 0 #0b3d12,1px -1px 0 #0b3d12,-1px 1px 0 #0b3d12,1px 1px 0 #0b3d12!important}
.ht-wtag.plate{background-image:url(../img/ui/rib-blue.webp?v=1)!important;text-shadow:-1px -1px 0 #0a1f5c,1px -1px 0 #0a1f5c,-1px 1px 0 #0a1f5c,1px 1px 0 #0a1f5c!important}
.ht-row .ht-rw small.rib,.ht-row .ht-rw small.plate{background:url(../img/ui/rib-green.webp?v=1) center/100% 100% no-repeat!important;border:0!important;border-radius:0!important;box-shadow:none!important;min-width:58px!important;height:13px!important;padding:0 0 3px!important;font:800 8.5px/10px var(--body)!important;text-align:center;text-shadow:0 1px 1px #000!important}
.ht-row .ht-rw small.plate{background-image:url(../img/ui/rib-blue.webp?v=1)!important}

/* owner 2026-11-18 Jewellery Box: sits on the square, the open lid rises above it */
#boardIn .crate>.ob.toy.jw{inset:auto -4% 2% -4%;width:108%;height:auto}
#boardIn .crate>.ob.toy.jw.open{bottom:2%}
.ob2-fly img{width:100%;height:100%;object-fit:contain;display:block}
/* owner 2026-11-18 Coffee Machine and its cups */
#boardIn .bigob.coffee{overflow:visible}#boardIn .bigob.coffee .rbig.coffee{position:absolute;left:-3%;bottom:0;width:106%;height:auto}
#boardIn .tile .cupon{position:absolute;right:-4%;bottom:-2%;width:58%;height:auto;z-index:2;pointer-events:none;filter:drop-shadow(0 2px 2px rgba(0,0,0,.35))}
#boardIn .cupfly{position:absolute;z-index:31;pointer-events:none;height:auto}
/* owner 2026-11-18 Cuckoo Clock: open = soft gold glow, shut = a little dimmer, so the timing reads at a glance */
#boardIn .bigob.clock{overflow:visible}#boardIn .bigob.clock .rbig.cuckoo{position:absolute;inset:-2% -6%;width:112%;height:104%;object-fit:contain;filter:drop-shadow(0 0 6px rgba(255,214,90,.75)) drop-shadow(0 3px 3px rgba(0,0,0,.35));transition:filter .25s}
#boardIn .bigob.clock.shut .rbig.cuckoo{filter:brightness(.78) saturate(.75) drop-shadow(0 3px 3px rgba(0,0,0,.35))}
#boardIn .bigob.piggy{overflow:visible}#boardIn .bigob.piggy .rbig.piggy{position:absolute;left:-4%;bottom:0;width:108%;height:auto;filter:drop-shadow(0 4px 4px rgba(0,0,0,.35))}
#boardIn .bigob.rose{overflow:visible}#boardIn .bigob.rose .rbig.rose{position:absolute;left:-4%;bottom:0;width:108%;height:auto;filter:drop-shadow(0 4px 4px rgba(0,0,0,.35))}
/* owner 2026-11-18 Full Grass: real lawn squares under the pieces */
#boardIn .polmark.grass{background:url(../img/ob/grass-tile.webp?v=1) center/cover no-repeat!important;box-shadow:inset 0 0 0 1.5px rgba(150,230,110,.55),inset 0 -3px 5px rgba(0,40,0,.35)!important;border-radius:7px}
/* 2026-11-18 wheel stutter: the wheel's layer is ready as soon as it opens, not built on the first frame of the spin */
#fxDailyRoom #fxDisc{will-change:transform}#fxDailyRoom #fxDisc .rs-in{will-change:auto}   /* 2026-11-23: one layer, the labels ride on it */
/* owner 2026-11-18 Drone Madness: square of 4 -> drone explainer, +1 on the board, note on the level card */
.ht-card .dm-show{display:flex;align-items:center;justify-content:center;gap:10px;margin:2px 0 8px}
.dm-show .dm-sq{display:grid;grid-template-columns:repeat(2,28px);gap:2px;padding:4px;border-radius:9px;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1.5px rgba(255,214,90,.6)}
.dm-show .dm-sq img{width:28px;height:28px;display:block}
.dm-show .dm-arrow{width:26px;height:14px;background:linear-gradient(90deg,#ffd25a,#ffb21a);clip-path:polygon(0 35%,60% 35%,60% 0,100% 50%,60% 100%,60% 65%,0 65%)}
.dm-show .dm-drone img{width:56px;height:56px;display:block;filter:drop-shadow(0 3px 4px rgba(0,0,0,.4))}
.lc-dm{display:flex;align-items:center;gap:8px;margin:6px auto 2px;padding:5px 10px;border-radius:10px;background:linear-gradient(180deg,rgba(255,214,90,.18),rgba(255,214,90,.08));box-shadow:inset 0 0 0 1px rgba(255,214,90,.55);font-size:12px;line-height:1.25;max-width:94%}
.lc-dm img{width:30px;height:30px;flex:0 0 auto}.lc-dm b{color:#ffd84a;margin-right:4px}
/* owner 2026-11-18 lives from crew */
.ca-sec{margin:2px 0 10px;padding:8px 8px 6px;border-radius:12px;background:linear-gradient(180deg,rgba(255,214,90,.14),rgba(255,214,90,.05));box-shadow:inset 0 0 0 1px rgba(255,214,90,.45)}
.ca-sec h4{margin:0 0 6px;font:800 14px var(--display,inherit);color:#ffd84a;text-align:center}
.ca-row{display:flex;align-items:center;gap:8px;padding:6px;border-radius:10px;background:rgba(10,30,90,.55);margin-bottom:6px}
.ca-row>img{width:38px;height:38px;border-radius:50%;object-fit:cover;flex:0 0 auto}
.ca-row.mine>img{border-radius:0;object-fit:contain}
.ca-t{flex:1;min-width:0}.ca-t b{display:block;font-size:13px}.ca-t small{display:block;font-size:11px;opacity:.8}
.ca-bar{position:relative;display:block;height:14px;margin-top:4px;border-radius:7px;background:rgba(0,0,0,.35);overflow:hidden}
.ca-bar em{position:absolute;inset:0 auto 0 0;background:linear-gradient(180deg,#ff6f8f,#e0284f);border-radius:7px}
.ca-bar b{position:relative;display:block;text-align:center;font-size:10px;line-height:14px}
.ca-help{display:flex;align-items:center;gap:4px;padding:6px 12px;font-size:13px}.ca-help img{width:18px;height:18px}
.ca-done{font-size:12px;color:#7dff9a;font-weight:700;padding:0 6px}
.ca-ask{width:100%;display:flex;align-items:center;justify-content:center;gap:6px;font-size:14px;margin:2px 0 4px}.ca-ask img{width:22px;height:22px}
.ca-none{font-size:12px;opacity:.75;text-align:center;margin:2px 0 6px}.ca-note{font-size:10.5px;opacity:.7;text-align:center;margin:2px 0 0}
.en-crew{display:flex;flex-direction:column;align-items:center;gap:1px;width:100%;margin:6px 0 2px;padding:7px 10px;border-radius:12px;border:0;color:#fff;background:linear-gradient(180deg,#2f6bf0,#1a43b8);box-shadow:inset 0 0 0 1.5px #ffd25a,0 3px 0 #0d2a7a;font:inherit}
.en-crew img{width:34px;height:34px}.en-crew b{font-size:14px}.en-crew small{font-size:11px;opacity:.85}
.ht-card .dm-four{gap:6px}.dm-four .dm-w{display:flex;flex-direction:column;align-items:center;width:68px}.dm-four .dm-w img{width:46px;height:46px;filter:drop-shadow(0 3px 3px rgba(0,0,0,.4))}.dm-four .dm-w small{font-size:10px;line-height:1.1;text-align:center;opacity:.9}
/* owner 2026-11-23 audit: a button alone on its row fills the row */
html .sheet .st-row>.ac-btn:only-child{grid-column:1 / -1;flex:1 1 100%;max-width:none}
/* 2026-11-23 audit (small phones): Day 4 '3 Weapons' wraps instead of being cut; a lone wallet box fills the row */
.dch{white-space:normal}.dch b{white-space:normal;text-align:center;overflow:visible}
.mp-money>div:only-child,.p-worth>div:only-child{grid-column:1 / -1;flex:1 1 100%}
/* owner 2026-11-23 "Royal Choice" out-of-moves card: two equal cards (coins or a free video), sized from the card width (--W) so it fits every phone */
html body .oom2 .rc-keep{display:flex;align-items:center;gap:calc(var(--W)*.02);width:100%;margin:calc(var(--W)*.03) 0 calc(var(--W)*.03);font:400 calc(var(--W)*.046)/1.1 "Lilita One",var(--display);color:#ffd970;-webkit-text-stroke:calc(var(--W)*.006) #3a2600;paint-order:stroke fill;white-space:nowrap}
html body .oom2 .rc-keep::before,html body .oom2 .rc-keep::after{content:"";flex:1;min-width:8px;height:1.5px;background:linear-gradient(90deg,transparent,#f2c14e)}
html body .oom2 .rc-keep::after{background:linear-gradient(90deg,#f2c14e,transparent)}
html body .oom2 .rc-pair{display:grid;grid-template-columns:1fr 1fr;gap:calc(var(--W)*.035);width:100%;box-sizing:border-box}
html body .oom2 .rc-pair.one{grid-template-columns:minmax(0,.55fr);justify-content:center}
html body .oom2 .rc-tile{position:relative;min-width:0;border:0;margin:0;cursor:pointer;border-radius:calc(var(--W)*.05);padding:3px;background:linear-gradient(#fff4c8,#f2c14e 30%,#a8690a);box-shadow:0 calc(var(--W)*.014) 0 rgba(0,0,0,.35),0 calc(var(--W)*.025) calc(var(--W)*.05) rgba(0,0,0,.3);font:inherit;color:#fff;transition:transform .12s}
html body .oom2 .rc-tile:active{transform:translateY(2px) scale(.98)}
html body .oom2 .rc-in{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;height:100%;box-sizing:border-box;border-radius:calc(var(--W)*.042);padding:calc(var(--W)*.03) calc(var(--W)*.022) calc(var(--W)*.028)}
html body .oom2 .rc-in::before{content:"";position:absolute;left:0;right:0;top:0;height:55%;background:linear-gradient(rgba(255,255,255,.32),rgba(255,255,255,0));pointer-events:none}
html body .oom2 .rc-tile.gold .rc-in{background:linear-gradient(#ffdf6e,#f6b223 55%,#e08a0c)}
html body .oom2 .rc-tile.blue .rc-in{background:linear-gradient(#4f9dff,#1d5fd6 55%,#123f9e)}
html body .oom2 .rc-ic{position:relative;display:block;width:calc(var(--W)*.17);height:calc(var(--W)*.14);margin-bottom:calc(var(--W)*.008)}
html body .oom2 .rc-ic svg{display:block;width:100%;height:100%}
html body .oom2 .rc-coins img{position:absolute;width:calc(var(--W)*.1);height:calc(var(--W)*.1);filter:drop-shadow(0 2px 0 rgba(122,60,0,.6))}
html body .oom2 .rc-coins img:nth-child(1){left:0;bottom:0} html body .oom2 .rc-coins img:nth-child(2){right:0;bottom:calc(var(--W)*.005)} html body .oom2 .rc-coins img:nth-child(3){left:calc(var(--W)*.035);top:0}
html body .oom2 .rc-n{display:block;font:400 calc(var(--W)*.13)/1 "Lilita One",var(--display);color:#fff;-webkit-text-stroke:calc(var(--W)*.011) #7a3c00;paint-order:stroke fill;text-shadow:0 calc(var(--W)*.008) 0 #7a3c00}
html body .oom2 .rc-tile.blue .rc-n{-webkit-text-stroke-color:#0a2a6b;text-shadow:0 calc(var(--W)*.008) 0 #0a2a6b}
html body .oom2 .rc-w{display:block;font:400 calc(var(--W)*.043)/1.1 "Lilita One",var(--display);color:#fff;-webkit-text-stroke:calc(var(--W)*.007) #7a3c00;paint-order:stroke fill;margin:calc(var(--W)*.004) 0 calc(var(--W)*.03);letter-spacing:.03em}
html body .oom2 .rc-tile.blue .rc-w{-webkit-text-stroke-color:#0a2a6b}
html body .oom2 .rc-btn{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:calc(var(--W)*.015);width:100%;height:calc(var(--W)*.108);margin-top:auto;border-radius:999px;box-sizing:border-box}
html body .oom2 .rc-btn b{font:400 calc(var(--W)*.052)/1 "Lilita One",var(--display);color:#fff;white-space:nowrap}
html body .oom2 .rc-btn.gr{background:linear-gradient(#7ef07a,#22a12d);box-shadow:0 calc(var(--W)*.009) 0 #0b5a14,inset 0 2px 0 rgba(255,255,255,.55)}
html body .oom2 .rc-btn.gr b{-webkit-text-stroke:calc(var(--W)*.007) #0b4a14;paint-order:stroke fill}
html body .oom2 .rc-btn.gr img{width:calc(var(--W)*.062);height:calc(var(--W)*.062)}
html body .oom2 .rc-btn.gd{background:linear-gradient(#fff0b0,#f5bf2e 60%,#e39a12);box-shadow:0 calc(var(--W)*.009) 0 #8a5a00,inset 0 2px 0 rgba(255,255,255,.7)}
html body .oom2 .rc-btn.gd b{-webkit-text-stroke:calc(var(--W)*.007) #7a3c00;paint-order:stroke fill}
html body .oom2 .rc-btn.gd i{position:relative;flex:none;width:calc(var(--W)*.058);height:calc(var(--W)*.058);border-radius:50%;background:#123f9e}
html body .oom2 .rc-btn.gd i::after{content:"";position:absolute;left:40%;top:27%;border-left:calc(var(--W)*.021) solid #fff;border-top:calc(var(--W)*.014) solid transparent;border-bottom:calc(var(--W)*.014) solid transparent}
@keyframes rcShine{0%{left:-60%}55%,100%{left:140%}}
html body .oom2 .rc-btn::after{content:"";position:absolute;top:0;bottom:0;width:35%;left:-60%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.6),transparent);transform:skewX(-20deg);animation:rcShine 2.8s ease-in-out infinite}
html body .oom2 .rc-btn.gd::after{animation-delay:1.4s}
html.saver body .oom2 .rc-btn::after{animation:none;display:none}
html body .oom2 .rc-tile.short .rc-btn.gr{filter:saturate(.75)}
html body .oom2 .rc-free{position:absolute;top:calc(var(--W)*-.026);right:calc(var(--W)*-.016);z-index:3;background:linear-gradient(#ff5c50,#c8161a);border:2px solid #fff;border-radius:calc(var(--W)*.022);padding:1px calc(var(--W)*.022);font:800 calc(var(--W)*.029)/1.3 Poppins,var(--body);letter-spacing:.06em;color:#fff;transform:rotate(8deg);box-shadow:0 2px 0 rgba(0,0,0,.35)}
html body .oom2 .rc-left{display:inline-flex;align-items:center;gap:calc(var(--W)*.016);margin:calc(var(--W)*.035) auto 0;max-width:100%;box-sizing:border-box;background:rgba(5,18,60,.55);border:1px solid rgba(242,193,78,.45);border-radius:999px;padding:calc(var(--W)*.011) calc(var(--W)*.035);font:700 calc(var(--W)*.032)/1.2 Poppins,var(--body);color:#dce7ff;white-space:nowrap}
html body .oom2 .rc-left i{flex:none;width:calc(var(--W)*.022);height:calc(var(--W)*.022);border-radius:50%;background:#ffd257;box-shadow:0 0 6px #ffd257}
html body .oom2 .rc-end{display:block;margin:calc(var(--W)*.04) auto 0;min-width:calc(var(--W)*.42);height:calc(var(--W)*.1);padding:0 calc(var(--W)*.05);border-radius:999px;border:2px solid #f2c14e;background:linear-gradient(#d23a32,#9c1712);box-shadow:0 calc(var(--W)*.009) 0 #5e0b08,inset 0 2px 0 rgba(255,255,255,.35);font:400 calc(var(--W)*.05)/1 "Lilita One",var(--display);color:#fff;-webkit-text-stroke:calc(var(--W)*.006) #5e0b08;paint-order:stroke fill;letter-spacing:.02em;cursor:pointer}
html body .oom2 .rc-end:active{transform:translateY(2px)}
html body .oom2 .rc-off{margin:calc(var(--W)*.04) 0;font:700 calc(var(--W)*.045)/1.3 Poppins,var(--body);color:#fff}
html body .oom2 .oo-hero,html body .oom2 .mv-hero,html body .oom2 .oom2-end{display:none}
html body .oom2 .rc-btn{flex-direction:row!important;flex-wrap:nowrap!important;padding:0 calc(var(--W)*.02)!important}
html body .oom2 .rc-btn>i,html body .oom2 .rc-btn>img{display:block!important;flex:none!important;margin:0!important;position:relative!important}
html body .oom2 .rc-btn>b{display:block!important;flex:none!important;width:auto!important;margin:0!important;position:static!important}
/* the card also follows the screen HEIGHT, so it never runs off a short screen (with the win streak flame it is taller) */
html body .oom2{--W:min(calc(100vw - 24px),380px,calc((100dvh - 16px) / 1.88))}
html body .oom2.rc-st{--W:min(calc(100vw - 24px),380px,calc((100dvh - 16px) / 2.14))}
/* owner 2026-11-25 (on his own picture, same design kept): a white light runs round the Watch card, the FREE tag is
   bigger, the clapper on the video icon snaps shut once a second ("action!"), and +5, Moves, the icon and the Watch button pop
   out in 3D (stacked depth layers + a soft drop shadow). Transform-only animations; Battery Saver stops them. */
html body .oom2 .rc-tile.blue{padding:5px}
html body .oom2 .rc-tile.blue .rc-in{z-index:1}
html body .oom2 .rc-ring{position:absolute;inset:0;z-index:0;border-radius:inherit;overflow:hidden;pointer-events:none}
html body .oom2 .rc-ring::before{content:"";position:absolute;left:-60%;top:-60%;width:220%;height:220%;background:conic-gradient(from 0deg,transparent 0 58%,rgba(255,255,255,.7) 68%,#fff 74%,#fff 80%,rgba(255,236,140,.8) 86%,transparent 94%);animation:rcRing 2.2s linear infinite}
@keyframes rcRing{to{transform:rotate(360deg)}}
html body .oom2 .rc-free{top:calc(var(--W)*-.036);right:calc(var(--W)*-.022);padding:2px calc(var(--W)*.03);font-size:calc(var(--W)*.039);border-radius:calc(var(--W)*.026)}
html body .oom2 .rc-tile.blue .rc-n{-webkit-text-stroke-color:#082260;text-shadow:0 1px 0 #0d2d78,0 2px 0 #0b2870,0 3px 0 #0a2466,0 4px 0 #09205c,0 5px 0 #081c52,0 6px 0 #071848,0 9px 10px rgba(0,0,0,.55);transform:translateY(-3px)}
html body .oom2 .rc-tile.blue .rc-w{text-shadow:0 1px 0 #0a2a6b,0 2px 0 #09245e,0 3px 0 #081f52,0 5px 6px rgba(0,0,0,.5);transform:translateY(-2px)}
html body .oom2 .rc-tile.blue .rc-ic{filter:drop-shadow(0 1px 0 #6b3a00) drop-shadow(0 2px 0 #5a3000) drop-shadow(0 3px 0 #4a2800) drop-shadow(0 6px 6px rgba(0,0,0,.5));transform:translateY(-3px)}
html body .oom2 .rc-tile.blue .rc-btn{box-shadow:0 2px 0 #b97a06,0 4px 0 #9a6404,0 6px 0 #7a4e02,0 10px 10px rgba(0,0,0,.45),inset 0 2px 0 rgba(255,255,255,.75);transform:translateY(-4px)}
html body .oom2 .rc-tile.blue .rc-btn b{text-shadow:0 1px 0 #7a3c00,0 2px 0 #6a3300,0 3px 4px rgba(0,0,0,.4)}
html body .oom2 .rc-tile.blue .rc-btn i{box-shadow:0 2px 0 #071e5c,0 3px 4px rgba(0,0,0,.4)}
html body .oom2 .rc-tile.blue:active .rc-btn{transform:translateY(0);box-shadow:0 1px 0 #9a6404,inset 0 2px 0 rgba(255,255,255,.75)}
html body .oom2 .rc-tile.blue .rc-clap{transform-box:view-box;transform-origin:6px 19px;animation:rcClap 1s ease-in infinite}
@keyframes rcClap{0%,30%{transform:rotate(-26deg)}45%,70%{transform:rotate(0)}100%{transform:rotate(-26deg)}}
html.saver body .oom2 .rc-ring::before,html.saver body .oom2 .rc-tile.blue .rc-clap{animation:none}
html.saver body .oom2 .rc-tile.blue .rc-clap{transform:rotate(-12deg)}
/* owner 2026-11-25: the purchase Thank You card shows every item bought as a picture (same tiles as the shop) */
.rwc .rw-items{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 14px;max-width:290px;margin:14px auto 10px}
.rwc .rw-items .kit-it{width:62px;height:62px;animation:lxIn .5s cubic-bezier(.2,1.5,.4,1) both}
.rwc .rw-items .kit-it:nth-child(2){animation-delay:.06s}.rwc .rw-items .kit-it:nth-child(3){animation-delay:.12s}.rwc .rw-items .kit-it:nth-child(4){animation-delay:.18s}.rwc .rw-items .kit-it:nth-child(5){animation-delay:.24s}.rwc .rw-items .kit-it:nth-child(n+6){animation-delay:.3s}
.rwc .rw-items .kit-it.wh{background:rgba(255,216,74,.18)}
.rwc .rw-items .kit-it.inf{flex-direction:column;background:linear-gradient(#ff5ad0,#a020c8);border-color:rgba(255,255,255,.4)}
.rwc .rw-items .kit-it.inf b{font:900 26px/1 Poppins,var(--body);color:#fff;margin-top:-6px}
.rwc .rw-items .kit-it.inf i{background:#fff;color:#a020c8}
.rwc .rw-items .rwi-c i{right:50%;transform:translateX(50%);white-space:nowrap}
/* owner 2026-11-25 "it doesnt have the close button, players will feel trapped": on the tall offer cards the X sat above the
   top of the screen. It now sits inside the card's top right corner, always on screen, on top of the ribbon. */
html body .pnl.offer{position:relative}
html body .pnl.offer>.pnl-x{position:absolute!important;right:-20px!important;top:-20px!important;width:44px;height:44px;z-index:20}
/* owner 2026-11-26 "make the cancel 2 buttons, 1 above and 1 below": a clear No Thanks button closes the offer from the bottom too */
.of .of-close{align-self:center;min-width:170px;height:46px;margin-top:4px;padding:0 26px;border:2px solid #f2c14e;border-radius:99px;background:linear-gradient(#d23a32,#9c1712);box-shadow:0 4px 0 #5e0b08,inset 0 2px 0 rgba(255,255,255,.35),0 6px 10px rgba(0,0,0,.35);color:#fff;font:400 19px/1 "Lilita One",var(--display);letter-spacing:.02em;-webkit-text-stroke:1.2px #5e0b08;paint-order:stroke fill;cursor:pointer}
.of .of-close:active{transform:translateY(3px);box-shadow:0 1px 0 #5e0b08,inset 0 2px 0 rgba(255,255,255,.35)}
/* 2026-11-26 heat: the Out Of Moves card measured 35% CPU while open (shine moved with "left" = a layout every frame, loops never ended).
   Same look: the shine now slides with transform (graphics chip only), the light ring sits on its own layer, and every loop stops after ~20 s. */
@keyframes rcShine2{0%{transform:translateX(0) skewX(-20deg)}55%,100%{transform:translateX(572%) skewX(-20deg)}}
html body .oom2 .rc-btn::after{left:-60%;animation:rcShine2 2.8s ease-in-out 7;will-change:transform}
html body .oom2 .rc-ring::before{animation:rcRing 2.2s linear 9;will-change:transform}
html body .oom2 .rc-tile.blue .rc-clap{animation:rcClap 1s ease-in 20}
/* 2026-11-26 heat: the "You're Offline" pill spinner turned forever while offline; it now turns for ~5 s and then rests */
html body #netPill .np-spin{animation:npSpin .8s linear 6}
/* 2026-11-26 auto guest: small Log In link under the first cards (static, no animation) */
html body .ag-login{display:block;margin:12px auto 0;padding:6px 10px;background:none;border:0;color:#ffd36b;font-family:inherit;font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer;position:relative;z-index:2}
/* owner 2026-11-29 Rank Up card made premium: crown over the royal blue shield with the rank in gold; the rays turn twice then rest (heat rule) */
.rk .rk-art{width:180px!important;height:176px!important}
.rk .rk-art .rays{animation-iteration-count:2}
.rk-crown{position:absolute!important;top:-6px;left:50%;width:84px!important;height:84px!important;margin-left:-42px;z-index:2;filter:drop-shadow(0 4px 6px rgba(0,0,0,.45))!important;animation:lxIn .55s .1s cubic-bezier(.2,1.5,.4,1) both!important}
.rk-shield{position:relative;width:132px;height:132px;margin-top:40px;display:grid;place-items:center;animation:lxIn .55s cubic-bezier(.2,1.5,.4,1) both}
.rk-shield img{position:absolute;inset:0;width:100%!important;height:100%!important;animation:none!important}
.rk-shield b{position:relative;margin-top:-6px;font:400 52px/1 'Lilita One',var(--display);color:#ffe27a;text-shadow:0 3px 0 #7a4b00,0 0 14px rgba(255,214,90,.45);-webkit-text-stroke:1px #a8650a}
.rk-gifts{display:flex;justify-content:center;gap:12px;margin:10px 0 4px}
.rk-g{position:relative;display:grid;place-items:center;width:66px;height:66px;border-radius:16px;background:linear-gradient(#20387a,#14254f);box-shadow:inset 0 0 0 2px rgba(255,214,90,.6),0 4px 0 rgba(0,0,0,.35)}
.rk-g img{width:40px;height:40px;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(0,0,0,.4))}
.rk-g i{position:absolute;left:50%;bottom:-9px;transform:translateX(-50%);white-space:nowrap;padding:1px 7px;border-radius:99px;background:linear-gradient(#ffe27a,#f2a20e);color:#4a2a00;font:700 12px/1.35 Poppins,var(--body);font-style:normal;box-shadow:0 0 0 1.5px #7a4b00,0 2px 3px rgba(0,0,0,.4)}

/* owner 2026-12-03 Golden Disco streak panel (Truck Star's 10 WINS bar): flame, win count, a 10 step bar, the gold badge. Static: no endless animation added */
html body .lc .lc-gs{gap:9px;padding:8px 10px 9px!important;align-items:center}
html body .lc .lc-gs .gs-mid{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;text-align:left}
html body .lc .lc-gs .gs-bar{margin:0!important;width:100%;box-sizing:border-box;display:flex;gap:2px;height:11px;padding:2px;border-radius:6px;background:#050d29;box-shadow:inset 0 1px 3px rgba(0,0,0,.7),0 0 0 1.5px rgba(255,207,74,.6)}
html body .lc .lc-gs .gs-bar i{flex:1;border-radius:3px;background:rgba(255,255,255,.07)}
html body .lc .lc-gs .gs-bar i.f{background:linear-gradient(180deg,#9fe6ff,#2a8bff 60%,#1a56c8);box-shadow:inset 0 1px 0 rgba(255,255,255,.55)}
html body .lc .lc-gs.on .gs-bar i.f{background:linear-gradient(180deg,#fff2b8,#ffc21a 60%,#c98a00)}
html body .lc .lc-gs .gs-mid small{margin:0!important;font:700 11px/1.2 var(--body);color:#e6edff;text-align:left}
html body .lc .lc-gs .gs-mid small.gs-t{color:#ffd65a;font-weight:800}
html body .lc .lc-gs .gs-badge{flex:none;position:relative;width:52px;height:52px;margin:0 2px 6px 0;border-radius:50%;background:radial-gradient(circle at 50% 38%,#2347b8,#0a1640 72%);box-shadow:0 0 0 2.5px #ffcf4a,0 0 0 4px #5a3600,0 4px 10px rgba(0,0,0,.45);display:grid;place-items:center}
html body .lc .lc-gs .gs-badge img{width:44px;height:44px;animation:none!important;filter:brightness(.78)!important;opacity:.9}
html body .lc .lc-gs.on .gs-badge img{filter:drop-shadow(0 0 6px rgba(255,214,90,.9))!important;opacity:1}
html body .lc .lc-gs .gs-badge em{position:absolute;left:50%;bottom:-8px;transform:translateX(-50%);font:400 12px/1 'Lilita One',var(--display);font-style:normal;color:#3b2300;background:linear-gradient(#ffe27a,#ffc21a 55%,#e0a000);padding:2px 6px 3px;border-radius:8px;box-shadow:0 0 0 1.5px #5a3600;white-space:nowrap}
/* owner 2026-12-03 (Truck Star): tall board section plate, win streak chest, Storm Cloud badge. Small and clean, transforms only, no endless loops */
.board .tall-tag{position:absolute;left:50%;transform:translateX(-50%);z-index:6;display:flex;align-items:center;gap:6px;padding:3px 9px 3px 7px;border-radius:999px;background:linear-gradient(#1b3fae,#0b1d5c);box-shadow:0 0 0 1.5px #f3c548,0 3px 8px rgba(0,0,0,.45);pointer-events:none;transition:opacity .35s}
.board .tall-tag.out{opacity:0}
.board .tall-tag i{display:flex;gap:3px}
.board .tall-tag i b{width:6px;height:6px;border-radius:50%;background:#33478a}
.board .tall-tag i b.on{background:#ffd65a;box-shadow:0 0 4px #ffd65a}
.board .tall-tag span{font:400 12px/1 'Lilita One',var(--display);color:#fff;letter-spacing:.3px}
.board .st-chest{position:absolute;z-index:8;pointer-events:none}
.board .st-chest img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 6px 8px rgba(0,0,0,.5))}
.board .st-chest .c1{opacity:0}
.board .st-chest.open .c0{opacity:0}
.board .st-chest.open .c1{opacity:1}
.board .st-chest .sc-t{position:absolute;left:50%;bottom:-14px;transform:translateX(-50%);white-space:nowrap;padding:2px 8px;border-radius:999px;font:400 11px/1.2 'Lilita One',var(--display);color:#3b2300;background:linear-gradient(#ffe58a,#f0b52a);box-shadow:0 2px 5px rgba(0,0,0,.4)}
.board .sc-fly{position:absolute;z-index:9;pointer-events:none;filter:drop-shadow(0 4px 6px rgba(0,0,0,.45))}
.storm-b{position:absolute;z-index:6;width:30px;height:30px;border-radius:50%;background:radial-gradient(circle at 50% 35%,#2347b8,#0a1640 75%);box-shadow:0 0 0 1.5px #f3c548,0 3px 8px rgba(0,0,0,.5);pointer-events:none}
.storm-b .sb-r{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.storm-b .sb-tr{fill:none;stroke:#061032;stroke-width:3.4}
.storm-b .sb-f{fill:none;stroke:#ffd65a;stroke-width:3.4;stroke-linecap:round;stroke-dasharray:var(--p,0) 100;transition:stroke-dasharray .35s ease-out}
.storm-b .sb-ic{position:absolute;left:5px;top:5px;width:20px;height:20px}
.storm-b.full{box-shadow:0 0 0 1.5px #fff3b0,0 0 10px rgba(255,214,90,.8),0 3px 8px rgba(0,0,0,.5)}
.storm-b.fire{animation:sbFire .6s ease-out}
@keyframes sbFire{0%{transform:scale(1)}30%{transform:scale(1.25)}100%{transform:scale(1)}}
html body .lc .lc-gs .gs-bar i.ck{position:relative}
html body .lc .lc-gs .gs-bar i.ck::after{content:'';position:absolute;right:-3px;top:-4px;width:6px;height:6px;transform:rotate(45deg);background:linear-gradient(135deg,#fff2b8,#f0b52a);box-shadow:0 0 0 1px #6b4300;z-index:1}
/* owner 2026-12-03 Treasure Trail: small, clean, royal blue and gold */
/* owner 2026-12-03 Treasure Trail, laid out like his Winter Treasure picture (royal blue cards, gold, green buttons) */
.pnl.trail{gap:0;padding:0 4px 6px;background:none!important;border:0!important;box-shadow:none!important;width:min(370px,94vw)}
.pnl.trail .tq-top{display:flex;justify-content:space-between;align-items:center;margin:0 0 4px}
.pnl.trail .tq-time{display:flex;align-items:center;gap:6px;padding:3px 12px 3px 4px;border-radius:14px;background:linear-gradient(#f4f7ff,#cdd8f2);box-shadow:0 2px 4px rgba(0,0,0,.4);font:400 14px/1 'Lilita One',var(--display);color:#13286a}
.pnl.trail .tq-time i{width:22px;height:22px;border-radius:50%;background:radial-gradient(circle,#fff 0 42%,transparent 44%),linear-gradient(#ffd65a,#d98c00);box-shadow:0 0 0 1.5px #8a5200}
.pnl.trail .tq-x{position:relative;width:38px;height:38px;border-radius:50%;border:2.5px solid #fff;background:radial-gradient(circle at 40% 32%,#ff7a6a,#e0262a 60%,#a8101a);box-shadow:0 0 0 2px #8a1010,0 3px 5px rgba(0,0,0,.45)}
.pnl.trail .tq-x::before,.pnl.trail .tq-x::after{content:"";position:absolute;left:10px;top:15.5px;width:14px;height:3.2px;border-radius:2px;background:#fff;transform:rotate(45deg)}
.pnl.trail .tq-x::after{transform:rotate(-45deg)}
.pnl.trail .tq-hero{display:flex;flex-direction:column;align-items:center;text-align:center}
.pnl.trail .tq-hero img{width:116px;height:87px;object-fit:contain;filter:drop-shadow(0 6px 10px rgba(0,0,0,.5))}
.pnl.trail .tq-hero b{margin-top:4px;font:400 30px/1 'Lilita One',var(--display);color:#fff6d6;-webkit-text-stroke:1.5px #6b3d00;paint-order:stroke fill;text-shadow:0 3px 0 #6b3d00,0 5px 8px rgba(0,0,0,.5)}
.pnl.trail .tq-hero small{margin-top:6px;font:400 13px/1.2 'Lilita One',var(--display);color:#ffe9a8;text-shadow:0 1px 2px #000}
.pnl.trail .tq-grid{display:flex;flex-direction:column;margin-top:12px}
.pnl.trail .tq-row{display:flex;align-items:center}
.pnl.trail .tq-c{flex:1;min-width:0;display:flex;flex-direction:column;gap:7px;padding:6px 6px 8px;border-radius:16px;background:linear-gradient(#2c5fd6,#173c9c);box-shadow:inset 0 0 0 2px #6fa0ff,0 0 0 2px #0c2160,0 4px 8px rgba(0,0,0,.4)}
.pnl.trail .tq-c.cur{background:linear-gradient(#ffd76a,#e8a516);box-shadow:inset 0 0 0 2px #fff1b8,0 0 0 2px #8a5200,0 0 16px rgba(255,214,90,.55),0 4px 8px rgba(0,0,0,.4)}
.pnl.trail .tq-c.done{filter:saturate(.5) brightness(.75)}
.pnl.trail .tq-c.got{transform:scale(.96);transition:transform .2s}
.pnl.trail .tq-in{height:84px;padding:4px;display:grid;place-items:center;border-radius:11px;background:repeating-conic-gradient(from 0deg at 50% 60%,rgba(255,226,140,.38) 0 7deg,transparent 7deg 18deg),radial-gradient(circle at 50% 60%,#fffbea,#fff1c4 70%,#f6dc92);box-shadow:inset 0 1px 3px rgba(0,0,0,.18)}
.pnl.trail .tq-its{display:flex;align-items:flex-end;justify-content:center;gap:6px;flex-wrap:nowrap}
.pnl.trail .tr-it,.pnl.trail .tq-its .of-it{display:flex;flex-direction:column;align-items:center;gap:0;min-width:0;padding:0;background:none;border:0}
.pnl.trail .tr-it img,.pnl.trail .tq-its .of-it img{width:34px;height:34px;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(0,0,0,.3))}
.pnl.trail .tq-its .of-it.big img{width:38px;height:34px}
.pnl.trail .tr-it b,.pnl.trail .tq-its .of-it b{margin:3px 0 0;padding:0;border:0;background:none;font:400 13px/1 'Lilita One',var(--display);color:#fff;-webkit-text-stroke:1px #13286a;paint-order:stroke fill;text-shadow:0 1px 1px #13286a}
.pnl.trail .tq-its .of-it.inf i{width:34px;height:34px;display:grid;place-items:center;border-radius:0;background:center/contain no-repeat url(../img/ui/heart3d.webp);font:400 18px/1 'Lilita One',var(--display);font-style:normal;color:#fff;text-shadow:0 1px 2px #7a0010}
.pnl.trail .tq-c.many .tq-its{flex-wrap:wrap;align-items:flex-start;gap:2px 7px;max-width:140px}
.pnl.trail .tq-c.many .tq-its .of-it img,.pnl.trail .tq-c.many .tq-its .of-it.inf i{width:26px;height:26px}
.pnl.trail .tq-c.many .tq-its .of-it.inf i{font-size:11px}
.pnl.trail .tq-c.many .tq-its .of-it b{font-size:10.5px;margin-top:2px}
#modal.tq-dim{background:rgba(3,8,28,.94)!important;z-index:60!important}
.pnl.trail .tq-b{position:relative;display:flex;align-items:center;justify-content:center;gap:6px;height:40px;border:0;border-radius:11px;background:linear-gradient(#7ee35a,#2fae2a 55%,#1f8a1e);box-shadow:inset 0 2px 0 rgba(255,255,255,.45),inset 0 -3px 0 rgba(0,0,0,.25),0 0 0 2px #0f5c12;font:400 20px/1 'Lilita One',var(--display);color:#fff;text-shadow:0 2px 0 #145a14}
.pnl.trail .tq-b.buy{font-size:18px}
.pnl.trail .tq-b.off{filter:saturate(.85)}
.pnl.trail .tq-b.ok{background:linear-gradient(#6fa0ff,#2c5fd6);box-shadow:inset 0 2px 0 rgba(255,255,255,.35),0 0 0 2px #0c2160}
.pnl.trail .tq-lk{width:17px;height:20px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 19'%3E%3Cpath d='M4 8V5.5a4 4 0 0 1 8 0V8' fill='none' stroke='%238a5200' stroke-width='2.4'/%3E%3Crect x='1' y='8' width='14' height='10' rx='2.5' fill='%23ffd23a' stroke='%238a5200' stroke-width='1.4'/%3E%3Crect x='7' y='11' width='2' height='4' rx='1' fill='%238a5200'/%3E%3C/svg%3E")}
.pnl.trail .tq-ok{width:20px;height:20px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.5l3.5 3.5 7.5-8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.pnl.trail .tq-ar{flex:none;display:block;background:#0c2160;box-shadow:inset 0 0 0 2px #2c5fd6}
.pnl.trail .tq-ar::after{content:"";display:block;width:100%;height:100%;background:center/16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 3l4 5-4 5M9 3l4 5-4 5' fill='none' stroke='%23ffd23a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.pnl.trail .tq-ar.h{width:22px;height:30px;margin:0 -2px}
.pnl.trail .tq-ar.h.l::after{transform:scaleX(-1)}
.pnl.trail .tq-ar.v{width:30px;height:22px;margin:-2px 0;align-self:flex-end;margin-right:calc(25% - 15px)}
.pnl.trail .tq-ar.v.lft{align-self:flex-start;margin-left:calc(25% - 15px);margin-right:0}
.pnl.trail .tq-ar.v::after{transform:rotate(90deg)}
.pnl.trail .tq-note{margin:8px 0 0;text-align:center;font:400 10.5px var(--body);color:#cfe0ff}
@media (max-height:740px){.pnl.trail .tq-hero img{width:96px;height:72px}.pnl.trail .tq-hero b{font-size:26px}.pnl.trail .tq-in{height:76px}.pnl.trail .tq-b{height:34px}}
.tr-shop{display:flex;align-items:center;gap:10px;width:100%;margin:0 0 10px;padding:8px 10px;border:0;border-radius:12px;text-align:left;background:linear-gradient(#1c3c9e,#10266b);box-shadow:0 0 0 1.5px rgba(243,197,72,.7),0 2px 6px rgba(0,0,0,.3);color:#fff}
.tr-shop img{width:40px;height:30px;object-fit:contain}
.tr-shop b{flex:1;font:400 14px/1.1 'Lilita One',var(--display)}
.tr-shop b small{display:block;font:600 11px var(--body);color:#cfe0ff}
.tr-shop.ready b small{color:#9dffa8}
.tr-shop em{font:400 12px/1 'Lilita One',var(--display);font-style:normal;padding:6px 10px;border-radius:9px;background:linear-gradient(#ffd65a,#e09a10);color:#3b2300}

#puzzle .pz-head{position:relative}
/* owner 2026-12-04 Sponsor Offer, laid out like his Truck Star "Sponsorship Offer" picture (royal blue and gold instead of orange) */
.pnl.trail.sp{position:relative;padding:0 0 10px!important;border-radius:20px;background:linear-gradient(#1f47b8,#122d80)!important;box-shadow:inset 0 0 0 3px #ffd65a,0 0 0 3px #6b3d00,0 14px 40px rgba(0,0,0,.6)!important;overflow:hidden}
.pnl.sp .sp-h{position:relative;display:flex;align-items:center;justify-content:center;height:54px;background:linear-gradient(#ffe27a,#eaa71c);box-shadow:inset 0 -3px 0 rgba(0,0,0,.18),0 2px 0 #6b3d00}
.pnl.sp .sp-h b{font:400 25px/1 'Lilita One',var(--display);color:#fff;-webkit-text-stroke:1.5px #6b3d00;paint-order:stroke fill;text-shadow:0 2px 0 #6b3d00}
.pnl.sp .sp-h .tq-x{position:absolute;right:8px;top:8px}
.pnl.sp .sp-time{align-self:center;display:flex;align-items:center;gap:5px;margin:-2px auto 0;padding:3px 12px 3px 4px;border-radius:0 0 10px 10px;background:linear-gradient(#ffe27a,#eaa71c);box-shadow:0 0 0 2px #6b3d00;font:400 13px/1 'Lilita One',var(--display);color:#3b2300;position:relative;z-index:1}
.pnl.sp .sp-time i{width:16px;height:16px;border-radius:50%;background:radial-gradient(circle,#fff 0 40%,transparent 43%),linear-gradient(#5e8ef0,#2148b8);box-shadow:0 0 0 1.5px #0b1f5c}
.pnl.sp .sp-hero{position:relative;height:150px;margin:8px 10px 0;border-radius:12px;overflow:hidden;background:radial-gradient(circle at 30% 20%,#fff 0 2px,transparent 3px) 0 0/34px 30px,radial-gradient(circle at 70% 60%,#ffd65a 0 2px,transparent 3px) 0 0/40px 36px,linear-gradient(#8fd0ff,#cfeeff 60%,#9fb6d8);box-shadow:inset 0 0 0 2px rgba(255,255,255,.5)}
.pnl.sp .sp-hero img{position:absolute;left:50%;bottom:-6px;width:250px;height:150px;margin-left:-125px;object-fit:contain;filter:drop-shadow(0 6px 8px rgba(0,0,0,.4))}
.pnl.sp .sp-up{position:absolute;right:10px;top:10px;width:110px;height:55px;filter:drop-shadow(0 2px 2px rgba(0,0,0,.3))}
.pnl.sp .sp-mid{display:flex;align-items:center;gap:10px;padding:10px 12px 8px}
.pnl.sp .sp-mid p{flex:1;margin:0;font:400 14px/1.25 'Lilita One',var(--display);color:#fff;text-shadow:0 1px 2px #000}
.pnl.sp .sp-buy{flex:none;min-width:104px;height:46px;padding:0 12px;display:grid;place-items:center;border:0;border-radius:12px;background:linear-gradient(#7ee35a,#2fae2a 55%,#1f8a1e);box-shadow:inset 0 2px 0 rgba(255,255,255,.45),inset 0 -3px 0 rgba(0,0,0,.25),0 0 0 2px #0f5c12;font:400 21px/1 'Lilita One',var(--display);color:#fff;text-shadow:0 2px 0 #145a14}
.pnl.sp .sp-buy.on{font-size:15px;background:linear-gradient(#ffe58a,#e0a21c);box-shadow:0 0 0 2px #8a5200;color:#3b2300;text-shadow:none}
.pnl.sp .sp-list{display:flex;flex-direction:column;gap:6px;max-height:min(330px,38dvh);overflow-y:auto;margin:0 10px;padding:6px;border-radius:12px;background:#0b1f5c;box-shadow:inset 0 2px 4px rgba(0,0,0,.6)}
.pnl.sp .sp-r{flex:none;display:flex;height:50px;border-radius:11px;overflow:hidden;box-shadow:0 0 0 2px #0f5c12,0 2px 3px rgba(0,0,0,.4)}
.pnl.sp .sp-c{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;border:0;background:linear-gradient(#7ee35a,#2fae2a 55%,#1f8a1e);box-shadow:inset 0 2px 0 rgba(255,255,255,.45),inset 0 -3px 0 rgba(0,0,0,.2);font:400 22px/1 'Lilita One',var(--display);color:#fff;text-shadow:0 2px 0 #145a14}
.pnl.sp .sp-c.off{color:#eaffd8;font-size:18px;filter:saturate(.8)}
.pnl.sp .sp-c.done{font-size:16px;background:linear-gradient(#6fa0ff,#2c5fd6)}
.pnl.sp .sp-r.got{box-shadow:0 0 0 2px #0c2160;opacity:.75}
.pnl.sp .sp-r.rdy{box-shadow:0 0 0 2px #fff1b8,0 0 12px rgba(126,227,90,.7)}
.pnl.sp .sp-coin{position:relative;flex:none;width:96px;display:flex;align-items:center;justify-content:center;gap:2px;background:linear-gradient(#2c5fd6,#173c9c);box-shadow:inset 2px 0 0 rgba(0,0,0,.25)}
.pnl.sp .sp-coin img{width:34px;height:34px;object-fit:contain}
.pnl.sp .sp-coin b{font:400 16px/1 'Lilita One',var(--display);color:#fff;-webkit-text-stroke:1px #0b1f5c;paint-order:stroke fill}
.pnl.sp .sp-coin .tq-lk{position:absolute;right:4px;bottom:3px;width:14px;height:17px}
.pnl.sp .tq-note{margin:8px 0 0}
/* owner 2026-12-04 "too dark, make it look gamey, bright" */
.pnl.trail.sp{background:linear-gradient(#4a8cf5,#2e68dc)!important}
.pnl.sp .sp-list{background:#2459c8;box-shadow:inset 0 2px 4px rgba(0,30,90,.45)}
.pnl.sp .sp-coin{background:linear-gradient(#ffffff,#d6e3ff)}
.pnl.sp .sp-coin b{color:#1a3f9e;-webkit-text-stroke:0}
.pnl.sp .sp-hero{height:140px;background:radial-gradient(circle at 30% 20%,#fff 0 2px,transparent 3px) 0 0/34px 30px,radial-gradient(circle at 70% 60%,#ffd65a 0 2.5px,transparent 3.5px) 0 0/40px 36px,radial-gradient(circle at 50% 120%,#ffe9a8,#8fd0ff 55%,#4aa2f5)}
.pnl.sp .sp-hero img{position:absolute;object-fit:contain;filter:drop-shadow(0 6px 8px rgba(0,0,0,.35));margin:0}
.pnl.sp .sp-hero .sp-ch{left:50%;bottom:4px;width:170px;height:128px;margin-left:-85px}
.pnl.sp .sp-hero .sp-c1{left:8%;bottom:6px;width:74px;height:74px}
.pnl.sp .sp-hero .sp-c2{right:8%;bottom:6px;width:80px;height:80px}
.pnl.sp .sp-up{left:10px;right:auto;top:8px;width:96px;height:48px}
