:root{
  color-scheme:dark;
  --bg:#141316;--surface:#211f24;--raised:#2e2b31;--ink:#f5f1f3;--muted:#b3aab1;
  --rose:#ed9dad;--primary:#a94059;--pinkwash:#422932;--gold:#efc188;
}
*{box-sizing:border-box}
html,body{min-height:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:500 16px/1.4 Geist,Arial,sans-serif}
h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.18;letter-spacing:-.7px}
h1,h2{font-size:24px;font-weight:750}h3{font-size:18px;font-weight:700}
button,input{font:inherit;color:inherit}
button{border:0;background:none;font-weight:650;padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
button:active:not(:disabled){translate:0 1px}button:disabled{opacity:.5;cursor:default}
button:focus-visible,input:focus-visible{outline:2px solid #fbb8c8;outline-offset:3px}
svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.wine,.error,.textbtn{color:var(--rose)}.muted,.date,.back{color:var(--muted)}
header{position:sticky;top:0;z-index:5;background:#19181c}
.bar,main{max-width:1184px;margin:auto;padding-inline:34px}
.bar,.brand,.account,.wallet,.title,.inline,.date,.buttons,.primary,.ghost,.back,.navbtn,.banner-cta,.textbtn,.chip,.amount{display:flex;align-items:center}
.bar,.top,.subhead,.row,.spread,.reward,.listrow{display:flex;align-items:center;justify-content:space-between;gap:12px}
.bar{height:70px}.brand{font-size:24px;letter-spacing:-1.3px;font-weight:800}.brand .wine{color:#e78ba2}
.mark{display:grid;grid-template-columns:repeat(2,11px);gap:2px;transform:skew(-10deg);margin-right:11px}
.mark i{height:11px;background:#d16d86}.mark i:last-child{border-radius:0 0 6px 0}
.account{gap:12px}.wallet{gap:9px;background:#30292e;border-radius:14px;min-height:44px;padding:3px 4px 3px 13px;font-variant-numeric:tabular-nums}
.wallet-plus{width:39px;height:38px;display:grid;place-items:center;background:#51323d;color:#ffb8c8;border-radius:10px}
.wallet-plus:hover{background:#6b394a}.avatar,.bigava{display:grid;place-items:center;border-radius:50%;overflow:hidden;background:#3b3039;color:#e4b4c2;font-weight:750}
.avatar{width:42px;height:42px}.avatar img,.bigava img{width:100%;height:100%;object-fit:cover}
.coin{width:19px;height:19px;display:inline-grid;place-items:center;background:var(--gold);border-radius:50%;vertical-align:-3px;flex:none}
.coin:after{content:'';width:5px;height:9px;transform:skew(-16deg);background:#855c37;border-radius:1px}
.coin.small{width:15px;height:15px}.coin.small:after{width:4px;height:7px}
.amount{display:inline-flex;gap:5px;white-space:nowrap;vertical-align:baseline}
main{padding-top:23px;padding-bottom:110px}.top{margin-bottom:17px}.date,.title,.inline,.buttons,.back,.textbtn{gap:8px}
.date svg{width:17px}.dashboard{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(310px,1fr);grid-template-areas:'hero hero' 'streak streak' 'duel task';gap:16px}
.hero{grid-area:hero;position:relative;isolation:isolate;overflow:hidden;border-radius:19px;background:#712b41;touch-action:pan-y}
.banner-stage,.banner-slide{height:100%}.banner-slide{min-height:204px;position:relative;overflow:hidden;background:#753045;animation:slide .38s ease-out}
.tone-1{background:#4a3154}.tone-2{background:#303c4f}
.herocopy{position:relative;z-index:2;padding:22px 30px;display:flex;flex-direction:column;align-items:flex-start}
.feature{background:#0003;color:#ffdfE6;letter-spacing:1px}.feature svg{width:15px;height:15px}
.herocopy h2{margin:12px 0 3px}.herocopy p{color:#f0cbd6}.herocopy button{margin-top:15px}
.art{position:absolute;inset:0 0 0 40%;overflow:hidden;pointer-events:none}
.art:before,.art:after{content:'';position:absolute;background:#0002;transform:skewX(-27deg);width:60px;height:180%;top:-20%;left:30%;box-shadow:72px 0 #0002,144px 0 #0002,216px 0 #0002,288px 0 #0002}
.art:after{width:3px;left:11%;background:#ffffff0b;box-shadow:8px 0 #ffffff0b,16px 0 #ffffff0b,24px 0 #ffffff0b}
.edition{position:absolute;z-index:1;left:44%;top:50%;width:210px;height:148px;transform:translate(-50%,-50%) rotate(-11deg);background:#d4879a;color:#421c29;border-radius:9px;padding:12px 19px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:5px 6px 0 #8d4257,10px 12px 0 #512c3a}
.edition:before,.edition:after{content:'';position:absolute;top:55%;width:15px;height:15px;background:#6a2c40;border-radius:50%;left:-8px}
.edition:after{left:auto;right:-8px}.tone-1 .edition{background:#b097c8;color:#352840;box-shadow:5px 6px 0 #6c5279,10px 12px 0 #3a2a40}
.tone-2 .edition{background:#9aaecb;color:#26354a;box-shadow:5px 6px 0 #5f7391,10px 12px 0 #283142}
.tone-1 .edition:before,.tone-1 .edition:after{background:#49304e}.tone-2 .edition:before,.tone-2 .edition:after{background:#303c4f}
.edition>span,.edition>div{font:750 14px/1 Geist,Arial,sans-serif;letter-spacing:1px}.edition b{font:900 italic clamp(34px,5vw,54px)/.95 Geist,Arial,sans-serif;letter-spacing:-4px}
.edition>div,.barcode{display:flex;align-items:center;justify-content:space-between}.barcode{height:13px;gap:2px;align-items:stretch}.barcode i{background:currentColor}
.pager{position:absolute;right:18px;bottom:5px;z-index:3;display:flex}.page-dot{height:36px;width:27px;display:grid;place-items:center}
.page-dot i{width:6px;height:6px;border-radius:8px;background:#fff6;transition:width .2s}.page-dot.selected i{width:20px;background:#f7d6df}
.card,.duel{border-radius:18px;padding:21px;background:var(--surface);min-width:0}
.streak{grid-area:streak}.duel{grid-area:duel}.taskhome{grid-area:task}.subhead{margin-bottom:16px}.title svg{color:var(--rose)}
.chip{display:inline-flex;gap:6px;padding:4px 9px;border-radius:10px;font-size:14px;font-weight:650;white-space:nowrap}
.chip{background:var(--pinkwash);color:var(--rose)}.chip.feature{background:#0003;color:#ffe4eb}.chip.neutral{background:#333035;color:#c4bbc2}
.days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.day{border-radius:9px;text-align:center;padding:8px 0;background:#2b292e;color:var(--muted);display:grid;gap:4px}
.day strong{display:flex;justify-content:center;align-items:center;gap:5px;color:#ded8dc}.day.today{background:#653446;color:#ffe0e9}.day.today strong{color:#fff}.day.done{background:#2f3932}
.reward{margin-top:15px}.reward .inline{gap:6px}.reward strong{white-space:nowrap}
.duel{position:relative;isolation:isolate;overflow:hidden;background:#30242d;display:flex;align-items:flex-start;flex-direction:column}
.duel p{margin-top:7px;color:#d0b7c1}.duel button{margin-top:auto}.duel .title svg{color:#dc92a3}
.versus{position:absolute;z-index:-1;right:9px;bottom:-12px;font:900 italic 98px/1 Arial,sans-serif;letter-spacing:-10px;color:#48323f;user-select:none}
.primary,.ghost,.banner-cta{border-radius:11px;min-height:49px;padding:11px 18px;gap:9px;justify-content:center;position:relative;isolation:isolate;overflow:hidden}
.primary{background:#a33e58;color:white}.ghost{background:#363038;color:#f6e9ef}.banner-cta{background:#40212c;color:#fff0f5}
.primary:hover,.ghost:hover,.banner-cta:hover{filter:brightness(1.12)}
.primary:after,.ghost:after,.banner-cta:after{content:'';position:absolute;z-index:-1;right:7px;top:-25%;width:4px;height:160%;background:#ffffff0d;transform:rotate(23deg);box-shadow:-8px 0 #ffffff0b,-16px 0 #ffffff09,-24px 0 #ffffff08}
.primary svg,.ghost svg,.banner-cta svg{width:17px;height:17px}.textbtn,.back{min-height:44px}.textbtn svg{width:16px}.back{margin-bottom:6px}
.taskline{display:flex;gap:12px;align-items:center}
.swatch,.iconbox{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;flex:none}
.swatch{background:#392d3a;color:#c49bbd}.swatch b{width:16px;height:18px;background:currentColor;clip-path:polygon(50% 0,100% 36%,50% 100%,0 36%)}
.swatch.s1{background:#2d3938;color:#8fb0a7}.swatch.s2{background:#303641;color:#91a6c2}
.taskhome{display:flex;flex-direction:column}.taskhome .subhead{flex-wrap:wrap;gap:4px}.taskhome .textbtn{font-size:16px}.iconbox{background:var(--pinkwash);color:var(--rose)}
.taskbody{flex:1;min-width:0}.taskbody .muted{margin-top:2px}.progress{height:5px;margin-top:8px;background:#3b363c;border-radius:8px;overflow:hidden}.progress i{height:100%;display:block;background:#cb6d88}
.taskhome .taskline{margin:auto 0;flex-wrap:wrap}.taskhome .taskbody{min-width:130px}
nav{position:fixed;bottom:0;inset-inline:0;background:#1b191e;z-index:6;padding:8px 14px max(8px,env(safe-area-inset-bottom))}
#nav{max-width:780px;margin:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.navbtn{justify-content:center;gap:9px;min-height:48px;padding:8px;border-radius:11px;color:#bbb2ba}.navbtn.sel{background:#3e2933;color:#f3aec0}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.stack{display:grid;gap:15px}.panel{max-width:760px;margin:auto}.panel>.top{margin:0}
.cover{height:132px;display:grid;place-items:center;color:#f3b9c8;background:#623042}.cover.alt{background:#3c3347;color:#d2b9e2}
.covermark{padding:8px 15px;transform:rotate(-7deg);font-size:24px;font-weight:800;font-style:italic;background:#ffffff0c;border-radius:4px}
.mode{padding:0;overflow:hidden;text-align:left}.mode .spread{padding:16px}.panel .cover{border-radius:12px}
.listrow{padding:11px 0}.chips,.tabs,.buttons{display:flex;gap:7px;flex-wrap:wrap}.tabs,.chips{align-items:center}
.tabs{display:inline-flex;background:#211e24;border-radius:12px;padding:4px}.tabs button,.preset{min-height:45px;padding:8px 12px;border-radius:9px;color:#c4bac2}
.tabs .on,.preset.on{background:#47303c;color:#ffc0d0}.preset{background:#2f2b31}
.slot{padding:18px;background:#302a32;min-height:85px;display:grid;gap:5px;border-radius:12px;text-align:left}
.notice{background:var(--pinkwash);border-radius:10px;padding:14px}.pick{width:100%;text-align:left;min-height:49px}
.bigava{width:56px;height:56px}.profilehead{justify-content:flex-start}.profilehead .wallet{margin-left:auto}.txplus{color:#9bd2ae}.own{margin-top:10px}.empty{color:var(--muted);padding:12px}
dialog{background:var(--surface);color:var(--ink);padding:0;border:0;border-radius:18px;max-width:480px;width:calc(100% - 30px);max-height:82dvh}
dialog::backdrop{background:#09070abd}#sheet{display:grid;gap:16px;padding:22px}.close{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--raised)}
label{display:grid;gap:7px}input{width:100%;min-width:0;border:0;border-radius:9px;padding:14px;background:#302b32}
#toast{position:fixed;z-index:20;bottom:85px;left:50%;translate:-50% 10px;background:#4d3742;color:white;border-radius:16px;padding:9px 15px;text-align:center;opacity:0;pointer-events:none;transition:.2s}
#toast.show{opacity:1;translate:-50% 0}.particle{position:fixed;z-index:100;pointer-events:none}.enter{animation:slide .23s ease-out}
@keyframes slide{from{opacity:.5;transform:translateX(10px)}to{opacity:1;transform:none}}
.reel{--tile:130px;--gap:8px;height:160px;position:relative;background:#201c22;border-radius:16px;overflow:hidden}
.reel-track{position:absolute;left:50%;top:21px;display:flex;gap:var(--gap);transform:translateX(calc(0px - var(--stop) * (var(--tile) + var(--gap)) - var(--tile) / 2));width:max-content}
.reel-item{width:var(--tile);height:118px;padding:13px 10px;display:flex;flex-direction:column;justify-content:space-between;border-radius:10px;background:#49313d}
.reel-item small{font-size:16px;color:#eeb4c4}.reel-item strong{line-height:1.2}.rarity-1{background:#383043}.rarity-1 small{color:#cdb3e0}.rarity-2{background:#2c3841}.rarity-2 small{color:#b0c7da}
.locator{position:absolute;inset:0 auto 0 50%;width:2px;transform:translateX(-50%);background:#ffccd94d}
.locator:before,.locator:after{content:'';position:absolute;left:-7px;top:0;width:16px;height:14px;clip-path:polygon(0 0,100% 0,50% 100%);background:#ffd4de}
.locator:after{top:auto;bottom:0;rotate:180deg}
.dial-wrap{display:grid;justify-items:center;gap:12px;background:var(--surface);padding:22px;border-radius:18px}
.dial{width:186px;aspect-ratio:1;position:relative;border-radius:50%;background:#353038}
.sector{position:absolute;inset:0;border-radius:50%;background:#c25977}
.dial-core{position:absolute;inset:25%;border-radius:50%;background:#241f26;display:flex;align-items:center;justify-content:center;flex-direction:column}
.dial-core strong{font-size:24px}.dial-core span{color:var(--muted)}
.needle{position:absolute;inset:0;pointer-events:none}.needle i{position:absolute;top:0;left:calc(50% - 7px);width:14px;height:28px;background:#fff0d5;clip-path:polygon(50% 0,100% 40%,62% 100%,38% 100%,0 40%)}
.legend{display:flex;align-items:center;gap:18px;color:var(--muted)}.legend span:before{content:'';display:inline-block;width:10px;height:10px;background:#c25977;border-radius:3px;margin-right:6px}.legend span:last-child:before{background:#514953}
@media(max-width:900px){
 .bar,main{padding-inline:20px}.dashboard{grid-template-columns:minmax(0,1.5fr) minmax(265px,1fr);gap:12px}
 .card,.duel{padding:16px}.title{gap:5px}.days{gap:4px}.day strong{gap:2px}.taskhome .taskbody{min-width:100px}
}
@media(max-width:710px){
 .bar,main{padding-inline:16px}.bar{height:62px}.account{gap:7px}.avatar{width:35px;height:35px}.brand{font-size:22px}
 .wallet{gap:7px;padding-left:10px}.wallet-plus{min-width:40px}.top{margin-bottom:14px}main{padding-top:18px;margin-bottom:10px}
 .dashboard{grid-template-columns:1fr;grid-template-areas:'hero' 'streak' 'duel' 'task'}.herocopy{padding:16px}.banner-slide{min-height:202px}
 .herocopy p{max-width:55%}.herocopy h2{margin-top:12px}.herocopy button{margin-top:14px}.art{left:52%}.edition{left:53%;width:124px;height:100px;padding:8px 10px}
 .edition b{font-size:35px}.edition>span,.edition>div{letter-spacing:0}.edition .barcode{gap:1px;height:9px}.pager{right:10px;bottom:1px}
 .art:before{width:28px;box-shadow:36px 0 #0002,72px 0 #0002,108px 0 #0002}.card,.duel{padding:16px}
 .streak h2,.taskhome h2,.duel h2{font-size:21px}.days{gap:4px}.day strong .coin,.day.done svg{display:none}
 .day{padding:7px 0}.duel{min-height:170px}.duel button{margin-top:17px}.grid{grid-template-columns:1fr}.modes{grid-template-columns:repeat(2,minmax(0,1fr))}
 .cover{height:114px}.mode .spread{padding:11px}.tabs{gap:2px}.tabs button{padding:8px}.listrow,.row{flex-wrap:wrap}
 .tasklist .top,.profilehead,.reward,.taskline{flex-wrap:wrap}.reward .inline{gap:3px}.taskline .taskbody{min-width:85px}
 .taskhome .subhead{margin-bottom:8px}.navbtn{flex-direction:column;gap:2px;line-height:1.2;padding:6px 1px}.navbtn svg{height:19px}
 #nav{gap:3px}nav{padding:5px 6px max(5px,env(safe-area-inset-bottom))}.panel .grid{gap:10px}.slot{min-height:65px;padding:12px}
 dialog{margin:auto 0 0;width:100%;max-width:100%;border-radius:18px 18px 0 0}#sheet{padding-bottom:max(22px,env(safe-area-inset-bottom))}
 .reel{--tile:106px;height:143px}.reel-item{height:105px}.reel-track{top:19px}
}
@media(max-width:370px){.bar,main{padding-inline:12px}.mark{margin-right:6px}.card,.duel{padding:12px}.streak .title svg{display:none}.banner-slide{min-height:205px}.edition{left:63%}.days{gap:3px}.days .day{font-size:16px}.reward{gap:5px}.primary,.ghost,.banner-cta{padding-inline:13px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* The bundled Material Design Icons sprite uses filled paths in the native font coordinates. */
svg.mdi{fill:currentColor;stroke:none}
.coin,.coin.small{background:none;color:var(--gold);border-radius:0}
.coin:after{display:none}.coin .mdi{height:100%;width:100%}
.swatch .mdi{width:22px;height:22px}.banner-cta{background:#fff0d9;color:#251e1d}
.banner-cta:after{background:#38272212;box-shadow:-8px 0 #3827220d,-16px 0 #38272208}
.sound-toggle{min-height:44px;font-size:16px;padding:8px 12px}
.metrics,.milestones{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.metric{display:flex;align-items:center;gap:18px;padding:24px;min-width:0}
.metric-copy{display:grid;align-content:center;gap:5px;min-width:0;overflow-wrap:break-word}
.metric-copy>span,.metric small{color:var(--muted);font-size:16px}
.metric strong{font-size:22px;line-height:1.22}.metric-icon{display:grid;place-items:center;flex:none;width:46px;height:46px;border-radius:14px;background:#3e2934;color:var(--rose)}
.metric-icon svg{width:25px;height:25px}.metric strong .coin{width:19px;height:19px}
.referral{padding:26px;gap:18px}.referral .spread{flex-wrap:wrap;gap:12px}.referral .title{gap:12px}.referral .buttons{gap:12px}
.milestone{padding:18px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:9px 14px;background:#302b32;border-radius:12px}
.milestone>strong{grid-area:1 / 1}.milestone>span{grid-area:2 / 1}.milestone>svg,.milestone-claim{grid-area:1 / 2 / span 2}
.milestone>svg{width:18px;height:18px;color:#ada1aa}.milestone.ready{background:#57303e}.milestone.claimed{background:#293c32}
.milestone-claim{min-height:44px;padding:8px 12px;background:#92506a;border-radius:8px}
.referral .signin{text-decoration:none;justify-self:start}
.tabs.profile-tabs{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:5px}
.profile-tabs button{min-height:47px;min-width:0;padding-inline:3px}
.navbtn svg.mdi{width:28px;height:28px}
.rule-heading{display:flex;align-items:center;gap:2px}
.info-button{width:40px;height:42px;display:grid;place-items:center;color:var(--muted);flex:none}
.info-button svg{width:18px;height:18px}.info-button:hover{color:var(--rose)}
dialog.rules-sheet{margin:auto auto max(10px,env(safe-area-inset-bottom));width:min(460px,calc(100% - 20px));max-width:none;border-radius:24px;overflow:auto}
dialog.rules-sheet[open]{animation:sheet-rise .26s cubic-bezier(.2,.75,.26,1)}
.rules-sheet #sheet{padding:10px 24px 22px;gap:16px}
.sheet-grip{width:38px;height:5px;border-radius:6px;background:#635c65;justify-self:center;margin-bottom:6px}
.rules-sheet p{color:#d8cfd6;line-height:1.55}.rules-sheet .ghost{margin-top:4px}
@keyframes sheet-rise{from{transform:translateY(100%);opacity:.2}to{transform:none;opacity:1}}
.reel,.dial-wrap{position:relative;scroll-margin-block:82px}
.reel-track,.needle{will-change:transform}
@media(max-width:900px){
 .metric{padding:18px;gap:12px}.metric-icon{width:40px;height:40px}
}
@media(max-width:710px){
 .metrics{grid-template-columns:1fr;gap:10px}.metric{padding:17px 20px;gap:18px;min-height:82px}
 .metric-copy{grid-template-columns:1fr auto;align-items:center;flex:1;gap:4px 14px}
 .metric-copy strong{text-align:right;font-size:18px}.metric-copy small{grid-column:1/-1;text-align:right}
 .metric:nth-child(2) .metric-copy{grid-template-columns:1fr}.metric:nth-child(2) .metric-copy :is(strong,small){text-align:left}
 .referral{padding:20px;gap:16px}.milestones{grid-template-columns:1fr;gap:8px}
 .milestone{grid-template-columns:minmax(0,1fr) auto auto;gap:12px;padding:14px 16px;min-height:54px}
 .milestone>span{grid-area:1 / 2}.milestone>svg,.milestone-claim{grid-area:1 / 3}
 .referral .buttons{display:grid;grid-template-columns:1fr;gap:8px}
 .referral .signin{justify-self:stretch}.profile-tabs button{padding-inline:2px}
 .streak .subhead{flex-wrap:wrap;gap:4px}.rule-heading{min-width:0}.streak .title{gap:5px}
 .navbtn{min-height:58px;gap:3px}
}
@media(max-width:370px){
 .metric-copy{grid-template-columns:1fr}.metric-copy strong{text-align:left}
 .milestone{padding:12px;gap:8px}.referral{padding:16px}.milestone-claim{padding:6px 8px}
}
.bar{height:80px;max-width:1240px}
.home-actions{display:flex;align-items:center;gap:18px}
.rank-link{min-height:44px;background:#392a33;color:#f7c5d2}.rank-link svg{color:#edb980}
.streak-claim{width:100%;font-variant-numeric:tabular-nums}.streak-claim:disabled{opacity:1;background:#302c32;color:#c2b9c0}
.sound-toggle{display:grid;place-items:center;width:46px;height:46px;padding:0}.sound-toggle svg{width:22px;height:22px}
.profile-identity{min-width:0;overflow-wrap:anywhere}.profile-identity p{margin-top:3px;font-variant-numeric:tabular-nums}
.tasklist>.top{display:grid;grid-template-columns:minmax(0,1fr);justify-content:stretch;align-items:stretch;gap:12px}.tasklist .tabs{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:5px}
.tasklist .tabs button{min-width:0;min-height:56px}.tasklist .date{justify-self:end}
.rank-caption{color:var(--muted)}.podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:8px;background:#241e25;border-radius:20px;padding:28px 22px 0;overflow:hidden}
.podium-place{--top:#77606f;--front:#584450;--height:76px;min-width:0;display:flex;align-items:center;flex-direction:column;gap:8px;color:#ede4ea}
.podium-place.place-1{--top:#c7758b;--front:#9b4862;--height:112px}.podium-place.place-3{--top:#7e6260;--front:#574143;--height:50px}
.rank-avatar{position:relative;display:grid;place-items:center;flex:none;border-radius:50%;width:52px;height:52px;background:#493440;color:#f5c4d0;font-weight:750;overflow:hidden}
.rank-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.rank-avatar.vacant{background:#322c34;color:#827584}.rank-avatar.vacant svg{width:28px;height:28px}
.place-1 .rank-avatar{width:66px;height:66px;background:#663749;color:#f8ceda}.place-1 .rank-avatar.vacant{background:#382c33;color:#aa8190}
.podium-name{width:100%;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.podium-score{color:var(--gold);height:24px;font-variant-numeric:tabular-nums}.plinth{position:relative;width:100%;height:var(--height);margin-top:4px;display:grid;place-items:center}
.plinth>svg{position:absolute;inset:0;width:100%;height:100%;stroke:none}.plinth-top{fill:var(--top)}.plinth-front{fill:var(--front)}
.plinth b{position:relative;color:#fff0eb;font-size:24px}
.rank-list{display:grid;gap:8px}.rank-row{display:flex;gap:14px;align-items:center;padding:14px 18px;border-radius:14px;background:var(--surface)}
.rank-row>b{color:var(--muted);min-width:22px}.rank-row .rank-avatar{width:42px;height:42px}
.rank-identity{min-width:0;display:grid;gap:2px;flex:1}.rank-identity strong,.rank-identity span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rank-row>.amount{flex:none;font-weight:750}.needle i{height:34px;width:16px;left:calc(50% - 8px)}
@media(max-width:710px){
 .bar{height:72px}.home-actions{gap:8px}.home-actions .date{display:none}
 .tasklist .tabs button{padding-inline:5px}.podium{padding:21px 10px 0;gap:5px}
 .podium-place{gap:6px}.rank-row{padding:12px;gap:9px}
 .profilehead .wallet{margin-left:auto}.profile-identity{flex:1}
}

#nav{grid-template-columns:repeat(5,minmax(0,1fr))}
.navbtn.rooster-tab{position:relative;flex-direction:column;justify-content:flex-end;gap:0;background:transparent;color:#f4bac7;padding-bottom:2px}
.rooster-puck{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;position:absolute;bottom:25px;background:#a9415e;color:#fff0f4;box-shadow:0 0 0 5px #1b191e;transition:transform .2s,background .2s}
.rooster-tab.sel .rooster-puck{background:#d3738c;color:#24151b;transform:translateY(-2px)}
.rooster-tab .rooster-puck .mdi{width:29px;height:29px}

/* On the pet tab the header and safe-area-aware nav size themselves.
   The scene gets the remaining viewport, including on short phones. */
body:has(#roosterRoot){height:100vh;height:100dvh;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto}
body:has(#roosterRoot) nav{position:relative;inset:auto}
main:has(#roosterRoot){margin:0 auto;width:100%;min-height:0;padding:8px clamp(8px,2vw,22px) 22px}
.rooster-panel{height:100%;min-height:0;position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;padding:clamp(12px,3vw,22px);border-radius:20px;background:#211d22}
.rooster-stage{position:absolute;inset:0;z-index:-1;overflow:hidden;border-radius:inherit}
.rooster-stage [data-layer]{position:absolute;inset:0;pointer-events:none}
.rooster-stage [data-layer=character]{z-index:1}
.rooster-stage :is(video,img,canvas){display:block;width:100%;height:100%;object-fit:cover}
.rooster-stage [data-layer=character] :is(video,img){object-fit:contain}
.pet-hud{display:flex;align-items:center;gap:8px}
.pet-hud h1{font-size:20px;margin-right:auto;padding:6px 10px;border-radius:10px;background:#211d22}
.pet-collect,.pet-level{display:flex;align-items:center;justify-content:center;line-height:1.05;font-variant-numeric:tabular-nums}
.pet-collect{min-height:48px;border-radius:24px;padding:7px 15px;gap:9px;background:#49333a;color:#ffdae3}
.pet-collect:disabled{background:#302c31;opacity:1;color:var(--ink)}
.pet-collect>span:last-child{display:grid;gap:3px;text-align:left}
.pet-collect strong,.pet-level strong{font-size:20px}
#petClaimLabel,.pet-level>span{font-size:14px}
.pet-collect:disabled #petClaimLabel{color:var(--muted)}
.pet-level{flex-direction:column;gap:1px;width:52px;height:52px;flex:none;border-radius:50%;background:#843b50;color:#fff0f3}
.pet-dock{display:grid;gap:8px}
.pet-feed{width:100%;min-height:52px;justify-content:center;font-variant-numeric:tabular-nums}
.pet-feed:disabled{background:#352d34;color:#e0cdd4;opacity:1}
.rooster-error{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;border-radius:10px;background:#30252b;color:var(--rose)}
.rooster-error[hidden]{display:none}
@media(max-width:380px){#nav{gap:0}.navbtn{letter-spacing:-.65px}.pet-hud{gap:6px}.pet-hud h1{padding-inline:3px}}
@media(prefers-reduced-motion:reduce){.rooster-puck{transition:none}}

.game-banners{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.game-banner{position:relative;overflow:hidden;min-height:270px;border-radius:20px;background:#693146;text-align:left;padding:24px;color:#fff3f6}
.game-banner.tone-1{background:#403448}.game-banner.tone-2{background:#6d423d}
.game-banner-copy{position:relative;z-index:2;display:grid;justify-items:start;gap:10px;max-width:66%}
.game-banner-copy>strong{font-size:24px}.game-banner-copy>span{line-height:1.4}
.game-banner-cta{display:flex;align-items:center;gap:12px;background:#f6e6d2;color:#281d22;padding:12px 18px;border-radius:12px;margin-top:12px}
.game-banner .edition{left:70%;top:54%;width:172px;height:170px;opacity:.45;pointer-events:none}
.skin-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px}
.skin-card{--rarity-bg:#303139;--rarity:#a7b0bf;min-width:0;overflow:hidden;border-radius:14px;background:#252228}
.skin-card.rarity-industrial{--rarity-bg:#253744;--rarity:#9ac7df}
.skin-card.rarity-milspec{--rarity-bg:#2b304a;--rarity:#9faeeb}
.skin-card.rarity-restricted{--rarity-bg:#382e49;--rarity:#c2a1e3}
.skin-card.rarity-classified{--rarity-bg:#442e42;--rarity:#e3a5cb}
.skin-card.rarity-covert{--rarity-bg:#492c34;--rarity:#ed9fad}
.skin-image{aspect-ratio:1.25;background:var(--rarity-bg);display:grid;place-items:center}
.skin-image img{width:100%;height:100%;max-height:180px;object-fit:contain}
.skin-copy{display:grid;align-content:start;gap:6px;padding:12px;overflow-wrap:anywhere}
.skin-copy>span:first-child{color:var(--rarity)}
.skin-copy>strong{font-size:16px;line-height:1.25;min-height:2.5em}
.skin-copy>.amount{margin-top:2px;color:#f0d3a7}
.skin-odds{color:var(--muted)}
.skin-actions{display:grid;gap:5px;margin-top:5px}
.skin-actions button{padding:8px 4px;min-height:40px;justify-content:center;border-radius:8px}
.skin-status{color:var(--rose);line-height:1.25}
.skin-choice{text-align:left;width:100%;min-width:0}
.case-result{display:grid;justify-items:center;gap:14px;padding:8px 0}
.skin-winner{width:min(260px,75%)}
.case-result-actions{display:grid;gap:10px;width:min(360px,100%)}
.case-result-actions>button{justify-content:center;min-height:50px}
.admin-total{display:flex;align-items:center;justify-content:space-between;gap:20px}
.admin-total strong{font-size:24px}
.admin-field{display:flex;align-items:center;justify-content:space-between;gap:12px}
.admin-field input{width:100px;margin:0;padding:10px;background:#383039;border:0;border-radius:10px;text-align:right}
.admin-link{align-self:start;justify-content:center;gap:8px}
.pet-level{position:relative}
.pet-xp{position:absolute;inset:-6px;width:calc(100% + 12px);height:calc(100% + 12px);fill:none;stroke-width:3;pointer-events:none}
.pet-xp-track{stroke:#4d3740}.pet-xp-fill{stroke:#f0bac6;stroke-linecap:round;transform:rotate(-90deg);transform-origin:center;transition:stroke-dashoffset .6s ease}
.pet-hud{padding-right:6px;padding-top:5px}
@media(max-width:900px){.game-banners{grid-template-columns:1fr}.game-banner{min-height:205px}.game-banner-copy{max-width:65%}.game-banner .edition{left:78%;opacity:.7}}
@media(max-width:560px){.skin-grid{gap:7px}.skin-copy{padding:9px;gap:5px}.game-banner{padding:20px}}
@media(prefers-reduced-motion:reduce){.pet-xp-fill{transition:none}}

html.tg-app,html.tg-app body{
  overscroll-behavior:none;
  min-height:var(--tg-viewport-stable-height,100dvh);
}
html.tg-app header{
  padding-top:var(--tg-content-safe-area-inset-top,var(--tg-safe-area-inset-top,0px));
}
html.tg-app nav{
  padding-bottom:max(8px,env(safe-area-inset-bottom),var(--tg-safe-area-inset-bottom,0px));
}
html.tg-app #toast{
  bottom:calc(85px + var(--tg-safe-area-inset-bottom,0px));
}
html.tg-app body:has(#roosterRoot){
  height:var(--tg-viewport-stable-height,100dvh);
}
