.gift-case-image{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 10px 14px #0005)}
.crash-demo-card{background:#142033;border-color:#29384c}
.crash-demo-card>img{object-fit:fill}
.crash-demo-card:hover>img{transform:none}
.crash-demo-card:after{background:linear-gradient(0deg,#06101c35,transparent 40%)}
.crash-demo-card .card-label{bottom:19px}
.crash-demo-card .card-label h2{font-weight:800;font-size:29px;letter-spacing:-.8px}
.crash-demo-card .card-tags{background:#222e40e8;border:1px solid #ffffff0e;gap:8px}
.top-action{padding:0;background:transparent;box-shadow:none;gap:8px}
.brand-mark{display:grid;place-items:center;width:30px;height:32px;background:linear-gradient(145deg,#318dff,#0f365e);border:1px solid #4da4ef60;border-radius:10px 4px 10px 4px;font-size:21px;font-weight:800;color:#e0f5ff;transform:skew(-5deg)}
.brand-name{font-size:22px;font-weight:800;letter-spacing:-1.1px;color:#f0f7ff}
.depyn-banner{height:170px;border-radius:22px;border:1px solid #223958;background:radial-gradient(ellipse at 25% 100%,#112b50,transparent 70%),#091526}
.depyn-banner:before{background-image:linear-gradient(120deg,transparent 45%,#448bce0c 45%,#448bce0c 47%,transparent 47%);background-size:60px 100%;opacity:1}
.depyn-banner .banner-draft{opacity:.62;right:-20px;top:-23px;mask-image:linear-gradient(90deg,transparent,#000 45%)}
.depyn-banner .banner-art{inset:0;width:100%;height:100%;object-fit:cover;object-position:center;mask-image:none;opacity:1}
.game-card.inventory-card>img{object-position:60% center}
.depyn-banner .season-copy{padding:20px 17px}
.depyn-banner .season-copy small{font-size:8px;letter-spacing:1.7px;color:#829fbe}
.depyn-banner h1{font-size:24px;line-height:1.14;margin:10px 0 13px;letter-spacing:-.9px}
.banner-cta{display:inline-flex;gap:17px;align-items:center;background:#d6e9ff;border-radius:10px;padding:8px 11px;color:#0b1f39;font-size:10px;font-weight:800;box-shadow:0 3px 15px #05102055}
.case-art .gift-case-image{width:109%;height:109%;max-width:none}
.case-detail-art .gift-case-image{width:275px;max-width:95%;height:240px}
.feature-art .gift-case-image{transform:rotate(-9deg)}
.inventory-art{top:-5px;width:177px;height:177px;right:-10px}
.rising-road{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
#road-line{filter:drop-shadow(0 2px 6px #37c8ff65)}
.runner-wrap{left:calc(75.714% - 44px);width:88px;height:88px;transition:opacity .2s;transform:rotate(var(--road-angle,0deg));transform-origin:50% 100%;margin-bottom:-8px}
.redo-runner{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 3px #0007)}
.running .redo-runner{animation:redo-stride .34s infinite ease-in-out}
.crash-board.crashed .runner-wrap{opacity:1;animation:redo-fall .55s forwards;transform:rotate(var(--road-angle,0deg))}
.crash-board.waiting .runner-wrap{opacity:1}
.crash-number strong{font-variant-numeric:tabular-nums;min-width:170px}
@keyframes redo-stride{0%,100%{transform:translateY(0) rotate(-2deg)}25%{transform:translateY(-3px) rotate(1deg)}50%{transform:translateY(0) rotate(2deg)}75%{transform:translateY(-2px) rotate(-1deg)}}
@keyframes redo-fall{to{transform:translate(60px,100px) rotate(65deg);opacity:0}}
@media(prefers-reduced-motion:reduce){.running .redo-runner,.crash-board.crashed .runner-wrap{animation:none}.crash-board.crashed .runner-wrap{opacity:0}}

/* Gift cases and server-result reel */
.cases-intro{padding:18px 8px 24px}.cases-intro small{color:#72bbf5;letter-spacing:3px;font-size:10px}.cases-intro h2{font-size:27px;margin:9px 0}.cases-intro p,.case-summary p{font-size:12px;color:#8c9db5}
.new-case-cover{height:150px;position:relative;display:flex;align-items:center;justify-content:center;isolation:isolate;--accent:#74d5cf;background:radial-gradient(ellipse at 50% 55%,color-mix(in srgb,var(--accent) 18%,transparent),transparent 68%)}
.new-case-cover.pink{--accent:#e899cc}.new-case-cover.blue{--accent:#75adf2}.new-case-cover.gold{--accent:#e9bf74}
.case-orbit{position:absolute;width:104px;height:104px;border:1px solid var(--accent);border-radius:50%;opacity:.15}.new-case-cover>.tg-gift-art{font-size:63px;z-index:1;transform:translateY(-7px);filter:drop-shadow(0 9px 13px #0007)}
.cover-box{position:absolute;bottom:8px;left:calc(50% - 39px);width:78px;height:44px;border-radius:7px;background:#17283d;border:1px solid var(--accent);display:grid;place-items:center;color:var(--accent);box-shadow:0 8px 20px #0005}.cover-box .icon{width:30px;height:30px}
.case-art>.new-case-cover{width:100%}.case-range{display:block;color:#8b9db3;font-size:11px;margin-top:5px}.case-summary .new-case-cover{height:158px}.case-summary{text-align:center}.tg-gift-art{font-size:46px;display:inline-flex;justify-content:center;align-items:center;line-height:1.3;flex-shrink:0}.list-row>.tg-gift-art{font-size:32px;width:46px}.gift-drop{display:flex;flex-direction:column;align-items:center;gap:6px}.gift-drop>.tg-gift-art{font-size:48px;margin:10px 0}.gift-drop .chance{align-self:flex-end}.result-reveal{display:flex;align-items:center;flex-direction:column;gap:10px}
.case-roll{height:154px;position:relative;overflow:hidden;border:1px solid #2a3c55;border-radius:18px;background:#091321;margin:16px 0}.roll-idle{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:#86a0bf}.roll-idle small{font-size:11px}.roll-idle>.icon{width:35px;height:35px}.roll-track{display:flex;gap:8px;position:absolute;left:0;top:9px;will-change:transform}.roll-item{flex:0 0 116px;width:116px;height:134px;box-sizing:border-box;background:#142238;border:1px solid #263b56;border-radius:12px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:5px}.roll-item strong{font-size:10px;max-width:108px;text-align:center}.roll-item small{font-size:11px;color:#91aecf}.roll-pointer{position:absolute;left:50%;top:0;bottom:0;width:2px;background:#80d5f7;z-index:2;box-shadow:0 0 10px #66cfff88}.roll-pointer:before{content:'';position:absolute;top:0;left:-5px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:9px solid #80d5f7}

/* Case detail: large showcase over a three-column loot panel. */
.gift-case-page{padding-bottom:88px}.gift-case-page>.page-head{margin-bottom:0}.case-stage{height:235px;position:relative;overflow:hidden;margin:0 -8px;background:radial-gradient(ellipse at 50% 90%,#103a58 0,#071727 58%,#030710 92%)}.stage-halo{position:absolute;width:180px;height:100px;left:calc(50% - 90px);bottom:10px;background:#4b9fdb;filter:blur(55px);opacity:.15}
.case-stage .case-roll{height:210px;margin:0;border:0;border-radius:0;background:none;overflow:hidden}.case-stage .roll-track{top:42px}.case-stage .roll-item{height:150px}.case-stage .roll-item>.tg-gift-art{font-size:63px}.case-stage .roll-pointer{background:transparent;box-shadow:none;width:2px;top:18px;bottom:12px}.case-stage .roll-pointer:before{border-top-color:#79cafa;filter:drop-shadow(0 0 6px #6bc7ff)}.case-stage .roll-pointer:after{content:'';position:absolute;bottom:0;left:-5px;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:9px solid #79cafa}
.idle-preview{display:flex;align-items:center;justify-content:center;gap:12px;height:100%;padding:0 8px}.preview-gift{flex:0 0 116px;height:145px;border:1px solid #29445a;background:linear-gradient(145deg,#1d364a,#102235);border-radius:15px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.preview-gift:first-child{transform:rotate(-10deg) translateY(15px);opacity:.65}.preview-gift:last-child{transform:rotate(10deg) translateY(15px);opacity:.65}.preview-gift>.tg-gift-art{font-size:60px}.preview-gift strong{font-size:10px}.preview-gift small{font-size:12px;color:#afd3ed}
.case-detail-panel{position:relative;border:1px solid #28364b;border-radius:26px 26px 16px 16px;padding:10px 12px 22px;background:#0e1827;margin-top:-15px}.panel-grip{width:42px;height:4px;border-radius:4px;background:#344255;margin:0 auto 15px}.case-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:105px}.case-panel-heading h1{font-size:23px;margin:0 0 9px}.case-panel-heading>div>strong{font-size:20px}.case-panel-heading>div>small{display:block;font-size:10px;color:#8fa3bd;margin-top:10px}.case-mini-cover{width:95px;flex-shrink:0}.case-mini-cover .new-case-cover{height:100px}.case-mini-cover .tg-gift-art{font-size:40px}.case-mini-cover .case-orbit{width:75px;height:75px}.case-mini-cover .cover-box{width:54px;left:calc(50% - 27px);height:29px;bottom:5px}.case-mini-cover .cover-box .icon{width:21px;height:21px}
.case-loot-heading{display:flex;justify-content:space-between;align-items:center;margin:20px 0 12px}.case-loot-heading h2{font-size:15px;margin:0}.case-loot-heading small{font-size:9px;color:#8195af}.case-loot-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.case-loot-grid .gift-drop{min-width:0;padding:8px 5px 10px;background:#172435;border:1px solid #26364c;border-radius:13px;position:relative;gap:5px}.case-loot-grid .chance{position:absolute;right:6px;top:6px;font-size:9px;color:#b5cce2;padding:2px 4px;background:#0a1525aa;border-radius:5px}.loot-image{height:85px;display:flex;align-items:center;justify-content:center;width:100%}.loot-image .tg-gift-art{font-size:49px}.case-loot-grid strong{font-size:9px;text-align:center;line-height:1.3;min-height:23px}.case-loot-grid small{font-size:12px;color:#c8e1f4}.case-open-dock{position:fixed;bottom:77px;width:calc(100% - 28px);max-width:412px;left:50%;transform:translateX(-50%);padding:10px;background:#0c1828ed;border:1px solid #2c4159;border-radius:18px;z-index:15;box-sizing:border-box;backdrop-filter:blur(10px)}.case-open-dock .primary{width:100%;margin:0;min-height:48px}.case-win{display:flex;gap:10px;align-items:center;background:#173346;border:1px solid #31576a;padding:10px;border-radius:13px;margin:12px 0}.case-win .tg-gift-art{font-size:36px}.case-win>div{flex:1;display:flex;flex-direction:column;gap:3px}.case-win small,.case-win span{font-size:10px;color:#9ebbd1}.case-win strong{font-size:14px}

.tg-gift-art img{width:1.45em;height:1.45em;object-fit:contain;display:block;filter:drop-shadow(0 4px 5px #0003)}.tg-gift-art{font-size:44px}.new-case-cover>.tg-gift-art img{width:1.4em;height:1.4em}.preview-gift>.tg-gift-art img{width:1.45em;height:1.45em}.roll-item>.tg-gift-art img{width:1.3em;height:1.3em}.loot-image .tg-gift-art img{width:1.65em;height:1.65em}.list-row>.tg-gift-art img{width:42px;height:42px}.case-win>.tg-gift-art img{width:48px;height:48px}.nft-catalog{margin-top:30px}.nft-catalog .gift-drop>.tg-gift-art{font-size:47px;margin-top:12px}.nft-price-note{color:#8095af;font-size:11px;line-height:1.6}.nft-price-note a{color:#86b8dd}

.new-case-cover.violet{--accent:#b09aee}.case-range{line-height:1.6}

/* Currency uses the official Gram mark; crash runner has an articulated local rig. */
.coin{width:15px;height:15px;clip-path:none;background:transparent url('assets/gram.svg') center/contain no-repeat;vertical-align:-2px}
.crash-sky .runner-wrap{left:calc(75.714% - 36px);width:72px;height:109px;margin-bottom:0;transform-origin:50% 100%}
.running .redo-runner{animation:none}.redo-runner{display:block;object-fit:fill}

.tasks-intro{padding:20px 7px}.tasks-intro small{font-size:10px;letter-spacing:2px;color:#6eaadc}.tasks-intro h2{font-size:25px;margin:12px 0}.tasks-intro p,.task-footnote{font-size:12px;line-height:1.6;color:#8ca3be}.task-card{padding:17px 13px;margin:10px 0;border:1px solid #293c54;background:#101d2e;border-radius:18px;display:flex;align-items:center;gap:12px}.task-card>.icon{color:#8fc9ed;width:25px;height:25px}.task-card>div{flex:1}.task-card strong{font-size:12px}.task-card p{font-size:10px;color:#90a6c0;margin:6px 0 0;line-height:1.5}.task-card .secondary{padding:9px 10px;font-size:10px;white-space:nowrap}.task-done{border-color:#2c5b55}.task-check{color:#75d6b6;font-size:22px}.task-footnote{padding:10px 6px;font-size:10px}

.task-reward{display:inline-flex;align-items:center;gap:5px;color:#95d5ef;font-weight:800;font-size:12px;margin-top:9px}

/* Gameplay only: keep the runner to the right of the multiplier. */
.crash-sky .runner-wrap{left:calc(75.714% - 26px);width:52px;height:79px}
.crash-sky .crash-number{max-width:58%;z-index:4;pointer-events:none}
.crash-sky .crash-number strong{min-width:0;white-space:nowrap;line-height:1.05}

/* Monthly leaderboard and collection profile. */
.person-avatar{--avatar-hue:210;display:inline-flex;align-items:center;justify-content:center;width:43px;height:43px;flex:0 0 auto;border-radius:50%;overflow:hidden;background:linear-gradient(140deg,hsl(var(--avatar-hue) 42% 31%),hsl(var(--avatar-hue) 50% 13%));border:1px solid #91bdd845;color:#e4f4ff;font-size:20px;font-weight:700}.person-avatar img{width:100%;height:100%;object-fit:cover}.person-avatar.person-large{width:76px;height:76px;font-size:33px}
.leaders-page{text-align:center;padding:4px 0 20px}.season-rules{display:inline-block;max-width:95%;background:#151517;border-radius:24px;border:1px solid #2b2b30;text-align:left;margin-top:5px}.season-rules summary{padding:11px 18px;text-align:center;font-size:12px;color:#9eb9d1;cursor:pointer;list-style:none}.season-rules p{font-size:11px;line-height:1.6;padding:0 16px 12px;max-width:360px;color:#a9bcd0}.season-timer{font-size:11px;color:#8099b4;margin:10px 0}.season-timer strong{color:#deedfa;margin-left:5px}.leaders-page>h1{font-size:28px;letter-spacing:-1px;margin:15px 0 12px;font-weight:700}.leaders-description{font-size:12px;color:#95abc3;line-height:1.6;max-width:340px;margin:0 auto}.season-label-new{letter-spacing:2px;font-size:9px;color:#6e8da9;margin-top:15px}
.podium-scene{height:260px;display:grid;grid-template-columns:1fr 1.12fr 1fr;align-items:end;position:relative;margin:0 -2px 18px;isolation:isolate}.podium-glow{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 60%,#bd944c30,transparent 65%);z-index:-1}.podium-position{display:flex;align-items:center;flex-direction:column;position:relative;min-width:0}.podium-medal{position:absolute;top:-21px;left:calc(50% - 9px);border-radius:50%;width:18px;height:18px;display:grid;place-items:center;background:#7e8c9c;color:#0b1421;font-size:11px;font-weight:800;border:1px solid #b8ccdc}.podium-1 .podium-medal{background:#dfba67;border-color:#f6dc9e}.podium-3 .podium-medal{background:#bc8666;border-color:#e2b18f}.podium-name{font-size:11px;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 2px 8px;color:#bdd9ed}.podium-1 .podium-name{color:#e8c77e}.podium-position .person-large{width:68px;height:68px;box-shadow:0 9px 20px #0006}.podium-1 .person-large{width:83px;height:83px;border:2px solid #b48a46;box-shadow:0 0 32px #b9925730}.podium-block{width:100%;height:91px;margin-top:11px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:6px;background:linear-gradient(135deg,#28282e,#09090c 70%);clip-path:polygon(12% 0,88% 0,100% 13%,100% 100%,0 100%,0 13%);border-bottom:1px solid #303035}.podium-1 .podium-block{height:120px;background:linear-gradient(135deg,#493f30,#101014 70%)}.podium-3 .podium-block{height:78px}.podium-block>.icon{color:#b6cbdc;width:25px;height:25px}.podium-1 .podium-block>.icon{color:#e0bd70;width:33px;height:33px}.podium-block b{font-size:13px}.podium-block small{font-size:8px;color:#8598ad}.podium-empty-avatar{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;border:1px dashed #3f3f4b;background:#121216;color:#49627d;font-size:26px}.podium-vacant>small{font-size:9px;color:#6b819b;margin-top:8px}.podium-vacant .podium-block{opacity:1}.leaders-empty{font-size:12px;color:#8ca3bb;line-height:1.7;padding:8px 0 20px}.leader-list{display:flex;flex-direction:column;gap:8px}.leader-row{display:flex;align-items:center;gap:9px;padding:9px;background:#121214;border:1px solid #28282e;border-radius:19px;text-align:left}.leader-place{width:17px;font-size:12px;color:#8da7c0}.leader-row>div{flex:1;min-width:0}.leader-row strong{font-size:12px;display:block;overflow:hidden;text-overflow:ellipsis}.leader-row small{display:block;margin-top:4px;color:#8ba8c2;font-size:11px}.leader-row .coin{width:11px;height:11px}.leader-row>.icon{color:#7c9fbe}.leader-row em{font-size:9px;font-style:normal;color:#79c7e7}.leader-row.is-self{border-color:#525267;background:#1c1c26}.my-rank{display:flex;align-items:center;text-align:left;gap:10px;background:#17171d;border:1px solid #3d3d49;border-radius:18px;margin:18px 0 0;padding:12px}.my-rank>div{flex:1}.my-rank small{display:block;font-size:10px;color:#8baec9;margin-bottom:4px}.my-rank strong{font-size:13px}.my-rank button{padding:9px 12px;font-size:11px}
.profile-redesign{margin:0 -2px}.profile-hero{min-height:150px;position:relative;border-radius:22px;padding:22px 15px 18px;margin-bottom:14px;border:1px solid #303039;background:radial-gradient(ellipse at 12% 0%,#30304466,transparent 68%),linear-gradient(135deg,#19191f,#09090c 85%);isolation:isolate}.profile-rays{position:absolute;inset:0;border-radius:inherit;background:radial-gradient(ellipse at 85% 0%,#65558a20,transparent 65%);pointer-events:none;z-index:-1}.profile-identity{display:flex;align-items:center;gap:12px}.profile-avatar-wrap{position:relative}.profile-avatar-wrap .person-large{border:2px solid #9ac4f466;width:75px;height:75px}.level-badge{position:absolute;bottom:-1px;right:-1px;background:#3b9ee8;border:2px solid #152843;border-radius:9px;width:24px;height:24px;display:grid;place-items:center;font-size:12px}.profile-title{flex:1;min-width:0}.profile-title h1{margin:0 0 7px;font-size:23px;letter-spacing:-.8px;overflow:hidden;text-overflow:ellipsis}.profile-title>span{font-size:10px;color:#92a9cb}.profile-member{display:inline-flex;margin:11px 0 0 87px;border:1px solid #ffffff12;background:#ffffff06;padding:6px 11px;border-radius:18px;font-size:10px;color:#c5d8ed}.profile-settings{align-self:flex-start;position:relative}.profile-settings summary{display:grid;place-items:center;background:#ffffff08;border:1px solid #ffffff15;width:35px;height:35px;border-radius:50%;list-style:none;cursor:pointer}.profile-settings[open]>div{position:absolute;top:43px;right:0;width:215px;z-index:20;background:#19191f;border:1px solid #393941;border-radius:15px;padding:15px;box-shadow:0 10px 30px #0008;font-size:12px}.profile-settings p{font-size:10px;color:#97acc8}.profile-settings .secondary{font-size:10px;padding:8px}.profile-wallets{display:grid;grid-template-columns:1fr 1fr;gap:8px;position:relative;margin-top:0}.wallet-card{position:relative;min-height:90px;background:linear-gradient(145deg,#202024,#101012);border:1px solid #2c2c32;border-radius:20px;padding:15px;text-align:left;overflow:hidden;color:#f1f7ff}.wallet-card>b{font-size:20px;position:relative;z-index:1}.wallet-card>span{display:block;margin-top:6px;color:#8ca9c7;font-size:12px}.wallet-card>i{position:absolute;right:9px;bottom:9px;width:37px;height:37px;border-radius:50%;background:linear-gradient(140deg,#1e455d,#172731);display:grid;place-items:center;font-style:normal}.wallet-card>i .coin{width:24px;height:24px}.wallet-card>i .icon{width:23px;height:23px;color:#e1b4ef}.gifts-wallet{background:radial-gradient(ellipse at 100% 100%,#6b477327,transparent 75%),linear-gradient(145deg,#201d25,#100e13);border-color:#302b39}.gifts-wallet>i{background:linear-gradient(140deg,#493451,#291f30)}.profile-actions{display:flex;justify-content:space-around;background:linear-gradient(140deg,#1c1c20,#0c0c0f);border:1px solid #29292e;border-radius:20px;margin:14px 0;padding:13px 5px}.profile-actions button{background:none;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:11px;min-width:80px}.profile-actions button>span{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#26262d;font-size:26px;color:#dfefff}.profile-actions .icon{width:21px;height:21px}.profile-stat-panel{background:linear-gradient(155deg,#18181b,#0c0c0e);border:1px solid #29292e;border-radius:21px;padding:14px 10px;margin-bottom:17px}.profile-section-head{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px;gap:10px}.profile-section-head h2{font-size:19px;margin:0;font-weight:700}.profile-section-head>span{color:#8ea5c1;font-size:10px}.profile-section-head button{padding:0;background:none;color:#adc7df;font-size:11px}.profile-stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.profile-stat{background:linear-gradient(145deg,#242428,#17171a);border:1px solid #303036;border-radius:17px;padding:12px 10px;min-width:0}.profile-stat>small{color:#91acc8;font-size:11px}.profile-stat>strong{display:block;font-size:20px;margin-top:10px}.profile-stat>p{font-size:10px;color:#8ba5c0;margin:10px 0 0}.level-track{display:flex;align-items:center;gap:5px;margin-top:11px}.level-track>b{width:20px;height:20px;background:#388de1;display:grid;place-items:center;border-radius:7px;font-size:10px;flex-shrink:0}.level-track>span{flex:1;height:6px;background:#35353e;border-radius:5px;overflow:hidden}.level-track i{height:100%;display:block;border-radius:5px;background:#6ab7ed}.profile-stat-details{margin-top:9px;background:#1c1c20;border-radius:14px}.profile-stat-details summary{display:flex;gap:8px;align-items:center;list-style:none;padding:12px;font-size:12px;cursor:pointer}.profile-stat-details summary>.icon{width:16px;height:16px}.profile-stat-details summary>span{margin-left:auto;color:#829ab6}.profile-stat-details>div{padding:0 12px 13px;font-size:11px;color:#9cb5cf}.profile-stat-details p{display:flex;justify-content:space-between}.profile-stat-details small{font-size:9px;line-height:1.6;display:block;color:#7f98b4}.profile-gifts{padding:3px 3px 16px}.profile-gifts-empty{min-height:270px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:25px 10px;text-align:center}.empty-gift-box{width:72px;height:72px;border-radius:23px;background:linear-gradient(145deg,#363345,#16151d);display:grid;place-items:center;color:#a2d5ef;transform:rotate(-6deg);margin-bottom:20px;box-shadow:0 10px 25px #0003}.empty-gift-box .icon{width:43px;height:43px}.profile-gifts-empty strong{font-size:14px}.profile-gifts-empty p{font-size:12px;line-height:1.6;color:#91aac4}.profile-gifts-empty button{background:#dcecff;color:#14283f;margin-top:8px}.profile-gift-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.profile-gift-grid button{display:flex;flex-direction:column;align-items:center;gap:6px;background:#161619;border:1px solid #303037;border-radius:15px;padding:12px 4px}.profile-gift-grid .tg-gift-art{font-size:37px}.profile-gift-grid small{font-size:9px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-gift-grid b{font-size:10px;color:#9fbed7}.profile-gift-grid .coin{width:11px;height:11px}
@media(max-width:350px){.person-avatar.person-large{width:64px;height:64px}.podium-1 .person-large{width:73px;height:73px}.podium-name{max-width:85px}.profile-title h1{font-size:20px}.wallet-card>b{font-size:18px}.profile-member{margin-left:72px;font-size:9px}.profile-stat{padding:10px 8px}.profile-stat>strong{font-size:18px}}

/* Two virtual currency wallets and game denomination controls. */
.star-coin{display:inline-block;width:1em;height:1em;background:url("assets/telegram-stars.svg?v=1") center/contain no-repeat;font-size:1.15em;line-height:1;vertical-align:middle;flex-shrink:0}.counter-divider{height:16px;width:1px;background:#ffffff20;margin:0 2px}.balance-pill #balance{display:flex;align-items:center;gap:5px;font-size:11px}.balance-pill>.coin[hidden]{display:none}.currency-picker{display:flex;gap:5px;background:linear-gradient(140deg,#1b1b20,#0e0e11);border:1px solid #2d2d34;padding:5px;border-radius:17px;margin:0 0 14px}.currency-picker button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;background:transparent;border-radius:12px;font-size:12px;padding:9px;color:#8f929f}.currency-picker button.selected{background:linear-gradient(135deg,#33333f,#222229);box-shadow:inset 0 1px #ffffff12;color:#fff}.currency-picker .exchange-shortcut{flex:0 0 40px;font-size:22px;padding:3px}.stars-wallet{background:radial-gradient(ellipse at 100% 100%,#c99a2420,transparent 75%),linear-gradient(145deg,#242018,#100f0c)}.stars-wallet>i{background:linear-gradient(140deg,#514323,#282114)}.stars-wallet>i .star-coin{font-size:25px}.exchange-panel{border:1px solid #2d2d35;border-radius:22px;padding:22px 18px;background:radial-gradient(ellipse at 100% 0%,#35436a30,transparent 60%),linear-gradient(145deg,#19191e,#0b0b0e)}.exchange-kicker{font-size:10px;letter-spacing:2px;color:#a6aabd}.exchange-panel h2{font-size:22px;margin:14px 0}.exchange-panel>p{font-size:13px;color:#b2b4c2;line-height:1.7}.exchange-panel label{display:block;font-size:12px;color:#a6a8b6;margin:22px 0 8px}.exchange-panel input{display:block;width:100%;border:1px solid #393942;border-radius:13px;background:#0c0c10;color:white;font-size:25px;padding:14px;margin-top:10px}.exchange-panel>small{font-size:11px;color:#8d909f}.exchange-receive{padding:20px 0;font-size:12px;color:#9699aa}.exchange-receive strong{display:block;font-size:27px;color:#f3f3fa;margin-top:10px}.exchange-panel .exchange-note{font-size:10px;line-height:1.8;color:#858896;margin-top:19px}

/* Gift market: base collection artwork, two-column cards. */
.market-page{padding:3px 0 15px}.market-heading{display:flex;align-items:center;justify-content:space-between;padding:4px 2px 15px}.market-heading h1{font-size:25px;letter-spacing:-.8px;margin:0}.market-heading>span{font-size:11px;color:#83838e}.market-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.market-toolbar .currency-picker{margin:0;padding:4px;gap:2px;border:0;background:#17171b;border-radius:22px;flex:0 0 130px}.market-toolbar .currency-picker button{font-size:0;padding:9px 7px;border-radius:50%;gap:0}.market-toolbar .currency-picker button .coin{width:21px;height:21px}.market-toolbar .currency-picker button .star-coin{font-size:25px}.market-toolbar .currency-picker button.selected{background:linear-gradient(140deg,#3597ff,#2053d8)}.market-toolbar .currency-picker button[data-currency="stars"].selected{background:linear-gradient(140deg,#685529,#383021)}.market-toolbar .currency-picker .exchange-shortcut{font-size:22px;flex:0 0 30px}.market-sort{display:flex;align-items:center;gap:4px;color:#9d9da7;min-width:0}.market-sort>span{font-size:20px;flex-shrink:0}.market-sort select{font-size:11px;font-weight:700;background:transparent;border:0;color:#a9a9b4;max-width:145px;min-width:0;padding:9px 0;outline-offset:3px}.market-sort option{background:#17171b;color:#fff}.market-search{display:flex;align-items:center;gap:8px;background:#141417;border:1px solid #28282e;border-radius:14px;padding:0 12px;margin-bottom:15px;color:#93939f}.market-search>span{font-size:25px}.market-search input{width:100%;min-width:0;background:transparent;border:0;color:#f0f0f6;padding:12px 0;font-size:12px;outline:none}.market-search:focus-within{border-color:#4274c7}.market-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}.market-card{position:relative;min-width:0;border-radius:26px;background:linear-gradient(155deg,#202022,#18181a 72%,#141416);overflow:hidden;box-shadow:inset 0 1px #ffffff05;display:flex;flex-direction:column}.market-card-art{display:grid;place-items:center;padding:18px 12px 7px;aspect-ratio:1.1;position:relative}.market-card-art img{width:100%;height:100%;max-height:155px;object-fit:contain;filter:drop-shadow(0 8px 9px #0004)}.market-card-copy{padding:10px 12px 13px;flex:1;display:flex;flex-direction:column}.market-card h2{font-size:14px;line-height:1.25;letter-spacing:-.4px;margin:0 0 6px;font-weight:800;min-height:35px;overflow-wrap:anywhere}.market-card-copy>span{font-size:10px;color:#85858e;margin-bottom:12px}.market-price{display:flex;align-items:center;justify-content:center;gap:5px;min-height:38px;margin-top:auto;padding:9px 4px;background:linear-gradient(180deg,#358dff,#1b48cf);border-radius:22px;box-shadow:inset 0 1px 2px #a9d4ff80,0 7px 16px #1448d228;color:#fff;font-size:13px;font-weight:800;white-space:nowrap}.market-price .coin{width:15px;height:15px}.market-price .star-coin{font-size:17px}.market-card-footer{position:relative;background:linear-gradient(120deg,#237bff,#328bff);color:#f0f7ff;text-align:center;padding:9px 4px;font-size:10px;font-weight:800;border-top:1px dashed #8ec1ff99}.market-card-footer:before,.market-card-footer:after{content:'';position:absolute;top:-6px;width:11px;height:11px;border-radius:50%;background:#030710}.market-card-footer:before{left:-5px}.market-card-footer:after{right:-5px}.market-unpriced{font-size:10px;background:linear-gradient(140deg,#33333b,#25252c);box-shadow:inset 0 1px #ffffff12;color:#a1a1ae}.market-price-note{padding:17px 5px 0;font-size:10px;line-height:1.8;color:#777986}.market-price-note a{color:#8d9ebb}.market-empty{grid-column:1/-1;text-align:center;padding:30px 12px;color:#90909c;font-size:12px}@media(max-width:350px){.market-grid{gap:10px 8px}.market-card{border-radius:22px}.market-card-copy{padding:8px 9px 12px}.market-card h2{font-size:13px}.market-price{font-size:12px}.market-sort select{font-size:10px;max-width:130px}.market-toolbar .currency-picker{flex-basis:118px}.market-card-art{padding:14px 9px 4px}}

/* Mixed case covers show several actual rewards rather than one repeated trophy. */
.case-mix-cover .cover-gift{position:absolute;display:block;width:52%;height:70%;top:10%;z-index:2;filter:drop-shadow(0 8px 7px #0006)}.case-mix-cover .cover-gift .tg-gift-art{width:100%;height:100%;display:block}.case-mix-cover .cover-gift img{width:100%;height:100%;object-fit:contain}.case-mix-cover .cover-gift-0{left:24%;width:59%;height:80%;top:2%;z-index:3;transform:rotate(7deg)}.case-mix-cover .cover-gift-1{left:1%;top:20%;transform:rotate(-17deg)}.case-mix-cover .cover-gift-2{right:-2%;top:29%;width:43%;height:57%;transform:rotate(19deg);z-index:4}.case-mix-cover .cover-box{z-index:5;bottom:1%;opacity:.9}.case-theme{font-size:10px;line-height:1.5;color:#9a9aa9;margin:0 0 10px;min-height:30px}.case-drop-count{display:block;font-size:10px;color:#b5bed2;margin:7px 0 3px}.case-tile .case-range{font-size:9px;line-height:1.5}.case-tile{background:linear-gradient(150deg,#1d1d25,#0c0e15);border-color:#2b2b37}.case-tile h3{font-size:14px;margin-bottom:6px}

/* Compact market previews and working lucky tickets. */
.market-card-art{aspect-ratio:1.35;padding:20px 23px 5px}.market-card-art img{max-width:110px;max-height:110px;object-fit:contain}.market-card h2{min-height:34px}.market-card-copy>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:10px}.market-card-footer{width:100%;cursor:pointer}.market-card-footer:hover{filter:brightness(1.12)}.ticket-page{padding-bottom:130px}.ticket-stage{height:220px;margin:0 -10px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 100%,#05567b88,transparent 70%),linear-gradient(#030710,#031322)}.ticket-roll{position:relative;height:210px;overflow:hidden;padding-top:25px}.ticket-preview{display:flex;justify-content:center;gap:14px;align-items:center;height:160px}.ticket-cell{width:130px;height:150px;flex:0 0 130px;display:grid;place-items:center;background:linear-gradient(155deg,#252b32,#193246);border-radius:17px;padding:16px;overflow:hidden}.ticket-cell img{width:100%;height:100%;object-fit:contain}.ticket-preview .ticket-cell:first-child{transform:rotate(-12deg) translateY(12px)}.ticket-preview .ticket-cell:last-child{transform:rotate(12deg) translateY(12px)}.ticket-blank{color:#71818b;background:linear-gradient(145deg,#202328,#182c3b)}.ticket-blank>.icon{width:35px;height:35px;opacity:.22}.ticket-blank>span{font-size:12px;color:#788692;text-align:center}.ticket-roll .roll-pointer{top:5px;z-index:3}.ticket-roll-track{display:flex;gap:10px;position:absolute;top:28px;left:0}.ticket-panel{position:relative;margin:-9px -3px 0;padding:10px 16px 20px;border-radius:24px 24px 18px 18px;border:1px solid #303035;background:linear-gradient(150deg,#1d1d20,#151518)}.ticket-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:23px}.ticket-heading h1{font-size:21px;letter-spacing:-.6px;margin:0;font-weight:600;overflow-wrap:anywhere}.demo-toggle{display:flex;align-items:center;gap:6px;flex-shrink:0;font-size:11px;color:#b0b0ba;background:none;padding:3px}.demo-toggle i{display:block;width:38px;height:23px;background:#333338;border-radius:20px;padding:2px}.demo-toggle i:before{content:'';display:block;width:19px;height:19px;background:#a3a3aa;border-radius:50%;box-shadow:0 0 0 1px #ffffff20}.demo-toggle.on i{background:#2488ed}.demo-toggle.on i:before{transform:translateX(15px);background:white}.ticket-chance-label{display:block;text-align:center;font-size:18px;margin-bottom:18px}.ticket-chance-label strong{color:#75baff;font-weight:600}.ticket-chance-slider{width:100%;accent-color:#168dff;height:30px;margin:0;cursor:pointer}.ticket-range-labels{display:flex;justify-content:space-between;color:#70707d;font-size:10px;margin:6px 0 20px}.ticket-calculation{border:1px solid #333338;border-radius:17px;overflow:hidden}.ticket-calculation>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 12px;background:linear-gradient(125deg,#242426,#1e1e20);font-size:13px}.ticket-calculation>div+div{border-top:1px solid #333338}.ticket-calculation small{display:block;font-size:10px;color:#8c8c97;line-height:1.5;margin-top:4px}.ticket-calculation strong{white-space:nowrap;font-size:13px;font-weight:600}.ticket-dock{position:sticky;bottom:77px;margin:15px 0 -125px;padding:9px;border:1px solid #36313a;border-radius:22px;background:#17171bef;backdrop-filter:blur(12px);z-index:8}.ticket-dock .currency-picker{margin:0 0 6px;background:#222228}.ticket-dock .currency-picker button{padding:6px}.ticket-dock>p{font-size:10px;text-align:center;color:#f2919f;margin:5px 0 8px;min-height:0}.ticket-dock>p:empty{display:none}.ticket-dock .primary{font-size:15px;min-height:50px;border-radius:16px}.ticket-result:not(:empty){margin-top:14px;padding:15px 12px;border:1px solid #4f6476;background:#18222c;border-radius:14px;text-align:center}.ticket-result strong{display:block;font-size:15px;color:#d8edff}.ticket-result span{font-size:11px;line-height:1.6;color:#96acbe;display:block;margin-top:7px}
/* Profile layout follows the reference with the user's own mascot. */
.profile-reference{margin:0 -10px;background:#000;padding-bottom:12px}.profile-reference .profile-hero{min-height:154px;padding:31px 18px 22px;margin:0 0 9px;border:0;border-radius:0;background:linear-gradient(180deg,#252976 0%,#141638 44%,#05050b 85%,#000);overflow:hidden}.profile-reference .profile-rays{z-index:-1;background:repeating-conic-gradient(from 190deg at 30% 130%,#8395ff15 0deg 8deg,transparent 8deg 18deg);mask-image:linear-gradient(#000,transparent 95%)}.profile-reference .profile-identity{gap:13px}.profile-reference .profile-avatar-wrap .person-large{width:80px;height:80px;border:0;box-shadow:0 0 0 1px #ffffff12}.profile-reference .profile-title h1{font-size:22px;margin-bottom:14px;white-space:nowrap}.profile-reference .level-badge{background:linear-gradient(140deg,#64c5ff,#258ee3);border:0;width:23px;height:23px;right:0;bottom:0;border-radius:8px;color:white}.profile-collection-link{display:inline-flex;align-items:center;gap:6px;border-radius:20px;background:#ffffff0c;font-size:11px;padding:8px 12px;color:#e9e9f3}.profile-collection-link .icon{width:15px;height:15px}.profile-reference .profile-wallets{margin:0 12px 14px;gap:9px}.profile-reference .wallet-card{min-height:82px;padding:14px 12px;border:0;border-radius:20px;background:#1a1a1c}.profile-reference .wallet-card>b{font-size:20px;font-weight:600}.profile-reference .wallet-card>span{color:#b7b7c0;font-size:12px;margin-top:6px}.profile-reference .wallet-card>i{right:0;bottom:0;width:42px;height:42px;border-radius:50%}.profile-reference .stars-wallet>i{background:#33321a}.profile-reference .profile-actions{margin:0 12px 14px;background:#1b1b1d;border:0;border-radius:22px;padding:14px 5px 16px}.profile-reference .profile-actions button{font-size:12px;gap:10px}.profile-reference .profile-actions button>span{background:#2d2d30;color:white;width:45px;height:45px;font-size:30px}.profile-reference .profile-stat-panel{background:#1b1b1d;border:0;border-radius:24px 24px 0 0;padding:18px 12px 10px;margin:0}.profile-reference .profile-section-head h2{font-size:20px;font-weight:500}.profile-reference .profile-section-head button{font-size:12px;color:#f2f2f6}.profile-reference .profile-stat{background:#242426;border:0;border-radius:18px;padding:14px 12px}.profile-reference .profile-stat>small{font-size:12px;color:#a5a5ae}.profile-reference .profile-stat>strong{font-size:21px;font-weight:500;margin-top:9px}.profile-reference .profile-stat>p{font-size:11px;color:#a5a5b0;margin-top:10px}.profile-reference .level-track{margin-top:14px}.profile-reference .level-track>b{background:linear-gradient(150deg,#8dd9ff,#2b86e0);border-radius:8px}.profile-reference .level-track>span{background:#454547}.profile-reference .level-track i{background:linear-gradient(90deg,#175eaf,#54bcff)}.profile-reference .profile-stat-details{background:#252527;border-radius:17px;margin-top:9px}.profile-reference .profile-stat-details summary{font-size:14px;padding:14px 12px}.profile-reference .profile-gifts{background:#1b1b1d;padding:20px 12px 25px;min-height:305px}.profile-reference .profile-gifts-empty{min-height:245px;padding:22px 10px 10px}.profile-empty-dog{width:122px;height:122px;object-fit:contain;margin:12px 0 18px}.profile-reference .profile-gifts-empty strong{font-size:15px;font-weight:500}.profile-reference .profile-gifts-empty p{color:#a2a2ac;font-size:12px;margin:10px 0 15px}.profile-reference .profile-gifts-empty button{background:#fff;color:#111;border-radius:13px;font-size:12px;padding:11px 16px}.profile-reference .profile-gift-grid button{background:#252527;border-color:#323237}.levels-note{font-size:12px;color:#a0a0af;line-height:1.7;margin-bottom:18px}.levels-list{display:flex;flex-direction:column;gap:8px}.level-row{display:flex;align-items:center;gap:10px;background:#1b1b20;border:1px solid #30303a;border-radius:15px;padding:13px 12px;font-size:12px}.level-row>b{width:28px;height:28px;border-radius:9px;background:linear-gradient(145deg,#60c5ff,#276fc2);display:grid;place-items:center}.level-row>span{flex:1}.level-row>strong{font-size:12px}.level-row.current-level{border-color:#558ac8;background:#192637}

/* Private contest prize marking. */
.collection-prize-note{font-size:11px;line-height:1.7;color:#a3a7b4;margin:0 0 14px}.inventory-prize-item{background:linear-gradient(145deg,#1b1b21,#111218);border:1px solid #2c2d38;border-radius:18px;padding:0 12px 12px;margin-bottom:11px}.inventory-prize-item .list-row{border-bottom:0;padding:14px 0 10px}.inventory-prize-actions{display:flex;gap:8px}.inventory-prize-actions button{flex:1;font-size:11px;padding:10px 6px;border-radius:12px}.prize-claim-button{background:linear-gradient(135deg,#218cff,#2260d9);font-weight:700;box-shadow:inset 0 1px #ffffff25}.prize-claimed-badge{display:inline-block!important;background:#244135;color:#a6e3bd!important;font-size:9px!important;border-radius:7px;padding:4px 6px;margin-top:7px}.prize-recorded{font-size:10px;line-height:1.6;color:#93a89a;padding:6px 0 0}.prize-explanation{font-size:12px;color:#aeb9cc;line-height:1.8}#prize-body{display:flex;flex-direction:column;align-items:center;gap:10px;padding:18px 0 5px}#prize-body>.tg-gift-art img{width:88px;height:88px}#prize-body>strong{font-size:18px}#prize-body>span:last-child{font-size:12px;color:#a1b4ce}.ticket-result .secondary{margin-top:12px;font-size:12px}

.case-win-actions{display:flex;flex-direction:column;gap:5px;flex-shrink:0}.case-win-actions .secondary{font-size:9px;padding:8px}.case-win-actions .prize-claimed-badge{margin:0;text-align:center}

/* Depyn dog wordmark and a continuous Telegram/profile header. */
.top-action{background:transparent;box-shadow:none;padding:3px 0;gap:4px}.brand-dog{display:block;width:35px;height:34px;object-fit:contain;flex-shrink:0}.brand-name{font-size:23px;line-height:1;font-weight:800;letter-spacing:-1.1px;color:#fff;text-shadow:0 1px 3px #0008}.brand-name>span{color:#3aa6ff;text-shadow:0 1px 4px #0871e755}.app-shell.profile-view{background:#000;isolation:isolate}.app-shell.profile-view:before{content:'';position:absolute;top:0;left:0;right:0;height:245px;background:repeating-conic-gradient(from 192deg at 33% 115%,#768fff12 0deg 8deg,transparent 8deg 19deg),linear-gradient(180deg,#282a77,#191b4b 44%,#080915 80%,#000);z-index:-1;pointer-events:none}.profile-view .topbar{height:47px;background:transparent;justify-content:center;padding:4px 13px}.profile-view .top-counters{display:none}.profile-view .brand-dog{width:34px;height:31px}.profile-view .brand-name{font-size:24px}.profile-view .profile-reference{background:transparent}.profile-view .profile-reference .profile-hero{background:transparent;min-height:122px;padding:15px 17px 23px;margin:0 0 8px}.profile-view .profile-reference .profile-rays{display:none}.profile-view .profile-reference .profile-avatar-wrap .person-large{width:77px;height:77px}.profile-view .profile-reference .profile-title h1{font-size:20px;margin-bottom:11px}.profile-view .profile-reference .profile-collection-link{background:#ffffff0d;padding:8px 12px}.profile-view .profile-reference .profile-wallets{margin-top:0}
/* Smaller three-way currency capsule in the market. */
.market-toolbar .currency-picker{flex:0 0 106px;padding:3px;gap:1px;border-radius:19px}.market-toolbar .currency-picker button{height:31px;min-width:0;padding:5px 6px}.market-toolbar .currency-picker button .coin{width:17px;height:17px}.market-toolbar .currency-picker button .star-coin{font-size:19px}.market-toolbar .currency-picker .exchange-shortcut{flex:0 0 25px;font-size:18px;padding:3px}.market-toolbar{gap:7px}.market-sort select{max-width:148px}
/* Owned gifts: reference-style two-column cards, actions open on tap. */
.owned-inventory{position:relative}.owned-inventory>.page-head{padding-right:55px}.owned-inventory-count{position:absolute;right:2px;top:12px;display:flex;align-items:center;gap:5px;font-size:17px;color:#ddd}.owned-inventory-count .icon{width:19px;height:19px}.owned-sort{display:flex;align-items:center;gap:5px;color:#9999a3;margin:0 0 20px;font-size:18px}.owned-sort select{background:none;color:#a7a7af;border:0;font-size:13px;padding:6px 0}.owned-sort option{background:#202024}.owned-gift-grid,.profile-reference .profile-gift-grid.owned-gift-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.owned-gift-card,.profile-reference .profile-gift-grid.owned-gift-grid>.owned-gift-card{position:relative;display:flex;flex-direction:column;align-items:stretch;min-width:0;padding:9px 9px 13px;border:1px solid #2c2c2f;border-radius:21px;background:#202022;text-align:left;color:#f3f3f6;gap:0;overflow:hidden}.owned-gift-art{display:grid;place-items:center;aspect-ratio:1;background:#303032;border-radius:16px;margin-bottom:11px;overflow:hidden}.owned-gift-art .tg-gift-art{display:grid;place-items:center;width:100%;height:100%;font-size:40px}.owned-gift-art .tg-gift-art img{width:75%;height:75%;max-width:115px;max-height:115px;object-fit:contain;filter:drop-shadow(0 6px 6px #0002)}.owned-gift-card>strong{font-size:14px;font-weight:500;line-height:1.4;min-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0 0 5px}.owned-gift-card>small,.profile-reference .profile-gift-grid.owned-gift-grid>.owned-gift-card>small{font-size:11px;color:#87878e;display:block;max-width:100%;margin:0 0 16px}.owned-gift-card>b,.profile-reference .profile-gift-grid.owned-gift-grid>.owned-gift-card>b{font-size:13px;color:#eee;font-weight:600}.owned-gift-card .coin{width:13px;height:13px}.owned-gift-card .star-coin{font-size:16px}.owned-gift-card>.prize-claimed-badge{position:absolute;left:14px;top:12px;margin:0!important;font-size:8px!important;padding:4px 5px;background:#1c4438ec;max-width:calc(100% - 28px)}.profile-reference .profile-gifts:has(.owned-gift-grid){background:#000;padding:19px 12px 25px}.owned-inventory .collection-prize-note{font-size:10px;line-height:1.8;padding:5px 3px;color:#777b8b}.owned-detail-art{display:grid;place-items:center;background:#28282e;border-radius:18px;padding:22px;margin:18px 0}.owned-detail-art .tg-gift-art img{width:145px;height:145px;object-fit:contain}#owned-gift-body h2{font-size:22px;margin:10px 0}#owned-gift-body>p{font-size:12px;color:#a6a6b4}#owned-gift-body .inventory-prize-actions{margin-top:20px}#owned-gift-body .inventory-prize-actions button{font-size:12px;padding:12px 8px}@media(max-width:350px){.brand-dog{width:29px;height:29px}.brand-name{font-size:21px}.balance-pill #balance{font-size:10px}.balance-pill{gap:5px;padding:7px}.owned-gift-grid,.profile-reference .profile-gift-grid.owned-gift-grid{gap:9px}.owned-gift-card>strong{font-size:12px}.market-toolbar .currency-picker{flex-basis:102px}}

.market-price{width:100%;cursor:pointer}.market-price:hover{filter:brightness(1.12)}#market-buy-body .owned-detail-art img{width:135px;height:135px;object-fit:contain}#market-buy-body h2{font-size:21px}#market-buy-body>small{display:block;color:#919cae;line-height:1.7;font-size:11px}#market-buy-body>p{font-size:14px}#market-buy-confirm{margin-top:12px}

/* Perforated blue lucky ticket, inset into each gift card. */
.market-card>.market-card-footer{position:relative;align-self:stretch;width:auto;flex:0 0 auto;margin:0 10px 13px;padding:12px 8px;border:0;border-radius:0;background-color:#208cff;background-image:repeating-linear-gradient(0deg,#ffffff04 0px,#ffffff04 9px,transparent 9px,transparent 18px),repeating-linear-gradient(90deg,#0071df20 0px,#0071df20 14px,transparent 14px,transparent 28px),linear-gradient(110deg,#1683fc,#3b9eff);font-size:12px;font-weight:800;line-height:1.25;color:#fff;box-shadow:inset 0 1px #8ac7ff66,inset 0 -1px #126cbe88;clip-path:polygon(0 12px,5px 11px,9px 8px,12px 4px,13px 0,calc(100% - 13px) 0,calc(100% - 12px) 4px,calc(100% - 9px) 8px,calc(100% - 5px) 11px,100% 12px,100% calc(100% - 12px),calc(100% - 5px) calc(100% - 11px),calc(100% - 9px) calc(100% - 8px),calc(100% - 12px) calc(100% - 4px),calc(100% - 13px) 100%,13px 100%,12px calc(100% - 4px),9px calc(100% - 8px),5px calc(100% - 11px),0 calc(100% - 12px))}.market-card>.market-card-footer:before,.market-card>.market-card-footer:after{content:'';position:absolute;top:0;bottom:0;width:1px;height:auto;background:none;border-radius:0;border-left:1px dashed #14416eaa}.market-card>.market-card-footer:before{left:17%}.market-card>.market-card-footer:after{left:auto;right:17%}.market-card>.market-card-footer:hover{filter:brightness(1.08)}

/* Compact market actions and tighter title/subtitle spacing. */
.market-card .market-card-art{aspect-ratio:1.45;padding:13px 20px 4px}.market-card .market-card-copy{padding:6px 11px 10px}.market-card .market-card-copy h2{min-height:0;margin-bottom:4px;line-height:1.3}.market-card .market-card-copy>span{margin-bottom:10px;line-height:1.3}.market-card .market-price{min-height:31px;padding:6px 4px;font-size:12px;border-radius:18px}.market-card>.market-card-footer{margin:0 11px 11px;padding:9px 8px;font-size:11px;line-height:1.2}.market-card .market-price .coin{width:13px;height:13px}.market-card .market-price .star-coin{font-size:15px}.inventory-status-tabs{display:flex;gap:6px;padding:4px;background:#18181e;border:1px solid #2c2d37;border-radius:15px;margin:0 0 12px}.inventory-status-tabs button{flex:1;border-radius:11px;background:none;padding:9px 8px;color:#9093a1;font-size:12px}.inventory-status-tabs button.selected{background:linear-gradient(130deg,#333541,#242630);color:#fff;box-shadow:inset 0 1px #ffffff0c}

/* Rewards hub: saturated campaign cards, honest rewards, private review forms. */
.quests-page{padding:8px 0 20px}.quests-heading{padding:5px 3px 16px}.quests-heading>small{font-size:9px;letter-spacing:2px;color:#9693ba}.quests-heading h1{font-size:27px;letter-spacing:-.8px;margin:8px 0}.quests-heading p{font-size:11px;color:#9393a7;line-height:1.7;margin:0}.quest-card{position:relative;display:block;width:100%;border:1px solid #414559;border-radius:23px;margin-bottom:14px;padding:16px 13px;background:#1a1e31;overflow:hidden;text-align:left;box-shadow:inset 0 1px #ffffff07,0 8px 22px #0002}.quest-card-main{display:flex;align-items:center;gap:10px;min-width:0}.quest-art{display:grid;place-items:center;width:45px;height:45px;flex:0 0 45px;border-radius:15px;background:linear-gradient(140deg,#49d6ff,#2479de);box-shadow:0 0 25px #2eb7ee25;color:#fff}.quest-art>.icon{width:27px;height:27px;stroke-width:1.7}.quest-card-main>div:nth-child(2),.quest-card-main>span:nth-child(2){min-width:0;flex:1}.quest-card h2{font-size:16px;font-weight:800;line-height:1.25;letter-spacing:-.4px;margin:0 0 6px;color:#f2f4ff}.quest-card p{font-size:10px;color:#a2a5b9;line-height:1.6;margin:0}.quest-reward{flex:0 0 auto;white-space:nowrap;font-size:11px;line-height:1.6;padding:9px 8px;border-radius:12px;background:#3d5f8040;border:1px solid #7fd5ff25;color:#d9efff}.quest-subscribe{border-color:#346877;background:radial-gradient(ellipse at 5% 50%,#1f9bbf25,transparent 70%),linear-gradient(120deg,#17283a,#1c2132)}.quest-card-actions{display:flex;gap:7px;margin:14px 0 0 55px}.quest-card-actions button{flex:1;border:1px solid #727e9e29;border-radius:10px;padding:8px 4px;background:#ffffff08;color:#c1c6dc;font-size:10px}.quest-card-actions button:last-child{background:#3e8af327;border-color:#6898f34a;color:#d9eaff}.quest-tiktok{border-color:#48767d;background:radial-gradient(ellipse at 95% 65%,#e3447820,transparent 65%),linear-gradient(120deg,#17323b,#282039)}.tiktok-art{background:#08090d;border-radius:14px;box-shadow:0 0 25px #4efcf72b}.tiktok-art svg{display:block;width:33px;height:33px;flex:none;overflow:visible;filter:none}.tiktok-art svg path{stroke:none}.quest-tiktok .quest-reward{background:linear-gradient(140deg,#234c5d,#583048);border-color:#dc789344;color:#fff;font-size:10px}.quest-card-caption{display:flex;align-items:center;justify-content:space-between;padding:13px 3px 0 55px;color:#aad2da;font-size:10px}.quest-card-caption>span{font-size:21px;line-height:1}.quest-boost{border-color:#654c8e;background:radial-gradient(ellipse at 8% 50%,#8d55ff30,transparent 70%),linear-gradient(120deg,#262241,#1c2033)}.quest-boost .quest-art{background:linear-gradient(130deg,#a89bff,#b643bb);border-radius:17px 17px 17px 6px;box-shadow:0 0 24px #b361e72b}.quest-boost .quest-art .icon{fill:#fff;stroke:none;width:25px;height:25px}.quest-boost .quest-reward{background:#6c43a340;border-color:#a281d94f;color:#e2cbff}.quests-section-title{font-size:19px;letter-spacing:-.5px;margin:22px 3px 15px}.referral-panel{background:radial-gradient(ellipse at 0% 0%,#3b3c7940,transparent 70%),linear-gradient(145deg,#23273f,#1b1e30);border:1px solid #3c415d;border-radius:23px;padding:17px 14px}.referral-heading{display:flex;align-items:center;gap:9px}.referral-heading img{width:40px;height:40px;object-fit:contain;filter:drop-shadow(0 0 10px #8175ff44)}.referral-heading h2{font-size:17px;line-height:1.3;letter-spacing:-.5px;margin:0;flex:1}.referral-heading>strong{font-size:12px;color:#cce7ff;white-space:nowrap}.referral-panel>p{font-size:11px;line-height:1.8;color:#a3a7bf;margin:15px 0}.referral-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;border-top:1px solid #8188bb20;border-bottom:1px solid #8188bb20;padding:14px 0;margin-bottom:16px;text-align:center}.referral-stats>span{font-size:9px;color:#8f96b4}.referral-stats b{display:block;font-size:17px;color:#e6ecff;font-weight:700;margin-bottom:5px}.referral-stats b .coin{width:12px;height:12px}.referral-link-label{display:block;color:#959dbb;font-size:10px}.referral-link-label input{display:block;width:100%;min-width:0;margin-top:8px;padding:12px 10px;border:1px solid #50587965;border-radius:12px;background:#11172a;color:#b8c3e5;font-size:10px;outline-offset:3px}.referral-actions{display:flex;gap:7px;margin-top:11px}.referral-actions button{flex:1;padding:10px 7px;font-size:11px;border:1px solid #777ed24d;border-radius:12px;background:#4147843b}.referral-actions button:last-child{background:linear-gradient(125deg,#4e74ec,#7a51d9);border-color:#a09af85c;color:#fff}.quest-promo{display:flex;align-items:center;gap:9px;background:#1c2030;border:1px solid #353b53;border-radius:17px;padding:15px;width:100%;margin-top:15px;font-size:12px;text-align:left;color:#b8c3df}.quest-promo>.icon{color:#979ae7}.quest-promo>span{margin-left:auto;font-size:19px}.creator-page{padding-bottom:20px}.creator-hero{background:radial-gradient(ellipse at 95% 30%,#f7458940,transparent 70%),linear-gradient(135deg,#174b59,#34315c 80%);border:1px solid #596082;border-radius:24px;padding:23px 18px;margin:0 0 14px}.creator-kicker{font-size:9px;letter-spacing:1.5px;color:#a5e7f2}.creator-hero h1{font-size:29px;letter-spacing:-1px;line-height:1.15;margin:14px 0}.creator-hero p{font-size:12px;line-height:1.7;color:#bac6de;margin:0}.creator-panel{border:1px solid #393e56;background:linear-gradient(145deg,#252a41,#1c2134);border-radius:21px;padding:17px 13px;margin-bottom:13px}.creator-panel h2{font-size:18px;font-weight:800;letter-spacing:-.5px;margin:0 0 17px}.creator-panel>p{font-size:10px;color:#a0a5bf;line-height:1.8;margin:13px 0 0}.video-rate-table{display:grid;grid-template-columns:1.3fr repeat(3,1fr);gap:14px 5px;align-items:center;text-align:center}.video-rate-table>span{font-size:8px;color:#9da3bd;line-height:1.5}.video-rate-table>span:first-child{text-align:left}.video-rate-table>strong{font-size:10px;text-align:left;line-height:1.5}.video-rate-table>b{font-size:13px;color:#f4cd58;white-space:nowrap}.video-rate-table .coin{width:10px;height:10px}.creator-steps{list-style:none;counter-reset:step;margin:0;padding:0;display:flex;flex-direction:column;gap:15px}.creator-steps li{counter-increment:step;position:relative;padding-left:36px;font-size:12px;line-height:1.65;color:#e0e5f5}.creator-steps li:before{content:counter(step);position:absolute;top:1px;left:0;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(140deg,#74fff0,#24cadf);color:#112538;font-weight:800;font-size:12px}.creator-banner-link{display:block;text-align:center;padding:12px;border:1px solid #5397bf77;border-radius:12px;background:#2c6b8d26;color:#89dfeb;font-size:11px;text-decoration:none;margin-top:18px}.creator-rules{margin:0;padding:0 0 0 14px;display:flex;flex-direction:column;gap:10px}.creator-rules li{font-size:11px;line-height:1.7;color:#c5cbe0;padding-left:3px}.creator-rules li::marker{color:#5ef5e5}.video-application label{display:block;font-size:11px;color:#b9c2db;margin-bottom:14px}.video-application input{display:block;width:100%;min-width:0;margin-top:7px;padding:12px 10px;border-radius:11px;border:1px solid #4a5475;background:#151c30;color:#e8eeff;font-size:11px;color-scheme:dark}.video-application small{font-size:10px;color:#8e9bbd;line-height:1.8;display:block}.video-estimate{font-size:13px;color:#8de2de;margin:17px 0}.video-application .primary{font-size:14px;border-radius:13px;min-height:46px;background:linear-gradient(120deg,#2bc8e0,#297bdf)}.creator-applications h2{font-size:18px;margin:20px 0 13px}.creator-applications>p{font-size:11px;color:#8e9ab3}.video-request{display:grid;grid-template-columns:1fr auto;gap:8px;border:1px solid #343b53;border-radius:13px;background:#1b2235;padding:13px;margin-bottom:9px;font-size:10px}.video-request>span{color:#99a4bf}.video-request>b{color:#c1d5f5}.video-status{font-size:9px;color:#e2c179}.video-status.approved{color:#87ddbc}.video-status.rejected{color:#ea9baf}@media(max-width:350px){.quest-card{padding:14px 10px}.quest-card-main{gap:8px}.quest-art{width:38px;height:38px;flex-basis:38px}.quest-card h2{font-size:14px}.quest-card p{font-size:9px}.quest-reward{font-size:10px;padding:8px 6px}.quest-card-actions{margin-left:46px}.quest-card-caption{padding-left:46px}.referral-heading h2{font-size:15px}.video-rate-table{grid-template-columns:1.1fr repeat(3,1fr)}.video-rate-table>b{font-size:11px}}

#admin-grant-form{display:grid;gap:16px}#admin-grant-form label{display:grid;gap:8px;color:#aaa}#admin-grant-form input,#admin-grant-form select{width:100%;padding:13px;border:1px solid #343744;border-radius:12px;background:#13151d;color:white;font:inherit}.grant-presets{display:flex;gap:8px;flex-wrap:wrap}.grant-presets button{padding:10px 17px;border-radius:12px;background:#203d68;color:#fff}.video-application a{color:#5cb4ff}

.video-contact-button{display:flex;align-items:center;justify-content:center;text-decoration:none;margin-top:18px}

.creator-reference{background:#1b1d30;border-radius:24px;padding:12px 10px 26px}.creator-reference .creator-hero{text-align:center;padding:26px 12px;border-color:#478b93;background:radial-gradient(ellipse at 30% 0%,#145c67aa,transparent 65%),radial-gradient(ellipse at 100% 100%,#61234760,transparent 70%),#22283d}.program-tiktok-icon{display:grid;place-items:center;width:65px;height:65px;border-radius:19px;flex:none;margin:auto}.program-tiktok-icon svg{width:47px;height:47px}.creator-reference .creator-hero h1{font-weight:900;font-size:25px;line-height:1.12;margin:16px 0 18px}.creator-headline{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.creator-headline strong{color:#ffce3e;font-size:35px;font-weight:900;letter-spacing:-1px;text-shadow:0 0 23px #ffc52e33}.creator-headline span{color:#cbcbd7;font-size:12px;font-weight:700}.creator-details{display:grid;grid-template-columns:48px minmax(0,1fr) 18px;align-items:center;gap:12px;padding:14px 12px;margin:18px 0;color:white;text-decoration:none;border:1px solid #3fc5c0;border-radius:20px;background:linear-gradient(115deg,#144c55,#29253e 80%);box-shadow:0 0 15px #2be7d01a}.creator-details .program-tiktok-icon{display:grid;place-items:center;width:48px;height:48px;min-width:48px;max-width:48px;flex:none;border-radius:14px;margin:0;box-shadow:0 3px 12px #0003}.creator-details svg{width:31px;height:31px}.creator-details>span:not(.program-tiktok-icon){min-width:0}.creator-details b{display:block;font-size:18px;font-weight:900}.creator-details small{display:block;color:#b2becb;font-size:11px;line-height:1.5;margin-top:4px}.creator-details i{justify-self:end;font-size:30px;color:#36e9cc;font-style:normal}.creator-reference .creator-panel{background:#23283e;border:1px solid #353b53;border-radius:22px;padding:19px 13px;margin-bottom:18px}.creator-reference .creator-panel h2{font-size:21px;font-weight:900;letter-spacing:-.4px;margin-bottom:20px}.program-table-head,.program-table-row>div{display:grid;grid-template-columns:repeat(3,1fr);text-align:center;gap:8px}.program-table-head{color:#9399ad;font-size:11px;font-weight:700;padding-bottom:12px}.program-table-row{padding:13px 0;border-top:1px solid #ffffff0c}.program-table-row h3{font-size:13px;line-height:1.5;margin:0 0 11px;font-weight:800}.program-table-row b{color:#ffcf43;font-size:19px;font-weight:900;white-space:nowrap}.creator-reference .creator-panel>p{font-size:11px;line-height:1.65;color:#a8adbf}.creator-reference .creator-steps li,.creator-reference .creator-rules li{font-size:12px;font-weight:600;line-height:1.55}.creator-reference .creator-steps li{padding-left:36px}.creator-reference .creator-steps li:before{width:27px;height:27px}.creator-apply>p{text-align:center;font-size:12px;line-height:1.6;color:#bfc2d0;font-weight:700}.creator-apply .video-contact-button{gap:10px;background:linear-gradient(100deg,#30b9ef,#1fa0cf);min-height:51px;font-size:17px;border-radius:17px;box-shadow:0 9px 25px #14b2d322;color:white}.creator-apply .icon{width:22px;height:22px}.quest-tiktok .quest-reward{font-size:11px;text-shadow:-1px -1px #37dfe5,1px 1px #d7316d}.quest-tiktok .quest-reward b{font-size:17px}.referral-video-bonus{display:grid;grid-template-columns:1fr auto;gap:7px;font-size:12px;color:#c8cee1;border-top:1px solid #ffffff10;padding:14px 0}.referral-video-bonus>b{font-size:19px;color:white}.referral-video-bonus>small{grid-column:1/-1;color:#919bb7;font-size:10px}@media(max-width:350px){.creator-reference .creator-hero h1{font-size:22px}.program-table-row b{font-size:16px}.quest-tiktok .quest-reward b{font-size:14px}}

.profile-cover-change{display:block;margin-top:6px}.profile-view .profile-reference .profile-hero.has-custom-cover{position:relative;isolation:isolate;overflow:hidden;border-radius:20px;min-height:160px}.profile-cover-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.has-custom-cover:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#080a1455,#080a1420),linear-gradient(0deg,#050710b3,transparent 75%)}.has-custom-cover .profile-identity{position:relative;z-index:1}.has-custom-cover .profile-title h1{text-shadow:0 2px 8px #000}.has-custom-cover .profile-collection-link{backdrop-filter:blur(8px)}#cover-dialog{width:min(94vw,460px);padding:20px;background:#111217;color:#f4f4f7;border:1px solid #30323d;border-radius:22px}#cover-dialog::backdrop{background:#000a;backdrop-filter:blur(4px)}.cover-preview{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:2/1;overflow:hidden;border:1px solid #343745;border-radius:17px;background:radial-gradient(ellipse at 80% 10%,#304572,#11151f 70%);margin-top:18px}.cover-preview canvas{width:100%;height:100%;object-fit:contain;display:block}.cover-preview [hidden]{display:none}.cover-preview span{font-size:12px;color:#acb5ca}.cover-help{font-size:11px;line-height:1.6;color:#999eaf;margin:13px 0}#cover-position-label{font-size:11px;color:#bbc0d0}#cover-position{width:100%;margin:12px 0;accent-color:#40a5ff}.cover-file-button{display:block;text-align:center;padding:14px;border:1px solid #393c48;border-radius:13px;font-weight:700;font-size:13px;cursor:pointer}#cover-dialog .primary,#cover-dialog .secondary{width:100%;margin-top:10px;border-radius:14px}#cover-dialog .secondary{background:transparent;color:#aeb7ca}#cover-error{font-size:12px;color:#ffafb5;line-height:1.5;margin:8px 0}#cover-dialog button:disabled{opacity:.45}

.app-shell.profile-custom-cover{container-type:inline-size}.app-shell.profile-custom-cover:before{height:auto;aspect-ratio:2/1;background:linear-gradient(180deg,#07091244 0%,#00000000 30%,#00000022 52%,#00000099 76%,#000000ed 92%,#000 100%),var(--profile-cover) center/100% 100% no-repeat}.profile-custom-cover .profile-reference .profile-hero.has-custom-cover{height:calc(50cqw - 47px);min-height:0;padding:8px 17px 12px;margin:0 0 14px;overflow:visible;border-radius:0;background:transparent;isolation:auto}.profile-custom-cover .profile-cover-image,.profile-custom-cover .has-custom-cover:after{display:none}.profile-custom-cover .profile-reference .profile-identity{height:100%;align-items:center}.profile-custom-cover .profile-title h1{margin-bottom:7px}.profile-custom-cover .profile-collection-link{padding:6px 10px;font-size:10px;background:#11182799!important;border:1px solid #ffffff22}.profile-custom-cover .profile-cover-change{margin-top:5px}.cover-preview-overlay{position:absolute;inset:0;background:linear-gradient(180deg,#07091244 0%,#00000000 30%,#00000022 52%,#00000099 76%,#000000ed 92%,#000 100%);color:white;pointer-events:none;text-shadow:0 2px 5px #000}.cover-preview-overlay>b{display:block;text-align:center;height:25%;padding-top:8px;font-size:17px}.cover-preview-overlay>div{display:flex;align-items:center;gap:12px;height:70%;padding:10px 15px}.cover-preview .cover-preview-avatar{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#ffffffaa;color:#b5bdca;font-size:35px}.cover-preview-overlay strong{font-size:17px}.referral-reference{padding:22px 17px;border-radius:24px;background:#23283e;border:1px solid #393e56;box-shadow:0 8px 28px #0002}.referral-reference .referral-heading{gap:13px;margin-bottom:22px}.referral-reference .referral-heading img{width:43px;height:43px}.referral-reference .referral-heading h2{font-size:20px;font-weight:800}.referral-reward-rows{display:grid;gap:21px;margin-bottom:23px}.referral-reward-rows>div{display:flex;align-items:center;justify-content:space-between;gap:15px}.referral-reward-rows span{font-size:12px;line-height:1.65;color:#b6bdd3}.referral-reward-rows b{white-space:nowrap;font-size:16px;color:#f9f9ff}.referral-reward-rows .coin{width:14px;height:14px}.referral-invite-primary{width:100%;min-height:43px;border-radius:12px;color:#fff;font-size:12px;font-weight:800;background:linear-gradient(105deg,#596eff,#8250ee);border:1px solid #9a8df4;box-shadow:0 0 20px #7260ff33}.referral-earned-card{display:flex;align-items:center;gap:12px;margin:18px 0 25px;padding:17px;background:#23283e;border:1px solid #3a4058;border-radius:20px}.referral-earned-icon>svg{width:32px;height:32px}.referral-earned-card>div{flex:1}.referral-earned-card b{display:block;font-size:22px;color:#fff}.referral-earned-card b .coin{width:17px;height:17px}.referral-earned-card small{display:block;color:#a7adc2;font-size:11px;margin-top:3px}.referral-earned-card>button{border:1px solid #50576f;border-radius:25px;padding:9px 13px;font-size:11px;color:#d3d8e8;background:transparent}.referral-link-details{margin-top:16px;color:#aeb7d4;font-size:11px}.referral-link-details summary{cursor:pointer;padding:5px 0}.referral-link-details label{margin-top:10px}.referral-link-details>button{margin:10px 0;background:#3b4567;color:#fff;border-radius:9px;padding:8px 13px;font-size:11px}.referral-reference .referral-stats{grid-template-columns:1fr 1fr;margin:10px 0 0}.referral-faq{border:1px solid #3b4057;border-radius:21px;background:#23283e;overflow:hidden}.referral-faq details{padding:17px 15px;border-bottom:1px solid #ffffff0b}.referral-faq details:last-child{border:0}.referral-faq summary{font-size:12px;font-weight:700;color:#e5e8f3;cursor:pointer}.referral-faq p{font-size:11px;color:#aeb7d0;line-height:1.8;margin:14px 0 0}

.quests-page{padding-top:4px}.quest-comments{border-color:#85405f;background:radial-gradient(ellipse at 8% 50%,#b72c5b40,transparent 65%),linear-gradient(110deg,#2f243e,#1b3041);padding:17px 13px}.comment-mark{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;filter:drop-shadow(0 0 14px #ef285b44)}.comment-mark svg{display:block;width:100%;height:100%}.quest-comments .quest-reward{background:linear-gradient(110deg,#92214c44,#63365044);border-color:#b9406655;color:#ff7094;font-size:10px;white-space:normal;text-align:center}.quest-comments .quest-reward b{font-size:15px;white-space:nowrap}.quest-comments h2{font-size:19px;font-weight:900;line-height:1.1;margin:0}.quest-comments .quest-card-main{gap:11px}.comments-page .comment-hero{padding:28px 14px;background:radial-gradient(ellipse at 45% 15%,#7f1c4c88,transparent 60%),radial-gradient(ellipse at 100% 100%,#17697666,transparent 70%),#23283e;border-color:#603d59}.comment-hero>.comment-mark{width:78px;height:78px;margin:0 auto}.comments-page .comment-hero h1{font-size:25px;margin:23px 0}.comment-hero>p{font-size:13px;line-height:1.5;color:#d8dbea;margin:20px 0 2px}.comments-page .creator-headline strong{font-size:35px}.comment-tariffs>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 0;border-bottom:1px solid #ffffff0a}.comment-tariffs>div:first-child{padding-top:4px}.comment-tariffs b{font-size:14px}.comment-tariffs strong{font-size:24px;color:#ffcf43;font-weight:900;white-space:nowrap}.comment-tariffs>small{display:block;color:#8e98b0;line-height:1.7;font-size:10px;margin-top:8px}.comment-apply{border-color:#454b68;background:#23283e;grid-template-columns:28px minmax(0,1fr) 18px}.comment-step{display:grid;place-items:center;background:linear-gradient(130deg,#ff395a,#ed186d);border-radius:50%;width:28px;height:28px;color:#fff;font-size:16px}.comment-apply>span>b{font-size:15px}.comment-apply>span>small{font-size:12px;color:#d5dbed}.referral-faq summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:15px}.referral-faq summary::-webkit-details-marker{display:none}.referral-faq summary:after{content:'⌄';font-size:20px;line-height:1;color:#9ca6c1;font-weight:400}.referral-faq details[open]>summary:after{content:'⌃'}.referral-faq details{padding:19px 15px}

.quest-comments .quest-reward .coin,.quest-tiktok .quest-reward .coin{width:12px;height:12px}.creator-headline strong>.coin{width:25px;height:25px}.program-table-row b{font-size:16px}.program-table-row b .coin{width:12px;height:12px}.comment-tariffs strong{font-size:20px}.comment-tariffs strong .coin{width:16px;height:16px}.quest-tiktok .quest-reward b{font-size:14px}.referral-reward-rows b .coin{width:14px;height:14px}

.comment-report-steps{display:grid;gap:13px;margin:18px 0 28px}.comment-report-steps>div{display:flex;align-items:center;gap:13px;padding:16px 13px;background:#23283e;border:1px solid #363d55;border-radius:18px}.comment-report-steps b{flex:0 0 28px;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(140deg,#ff3b5e,#df236e);color:white;font-size:16px}.comment-report-steps p{font-size:13px;font-weight:700;line-height:1.5;color:#edf0fa;margin:0}

.currency-picker.reference-currency-picker,.market-toolbar .currency-picker.reference-currency-picker{display:flex;align-items:center;gap:5px;width:174px;max-width:100%;flex:0 0 auto;padding:5px 8px;border:1px solid #353a50;border-radius:999px;background:linear-gradient(145deg,#23283b,#1a1d2c);box-shadow:inset 0 0 0 1px #ffffff05,0 1px 5px #0003}.currency-picker.reference-currency-picker>button,.market-toolbar .currency-picker.reference-currency-picker>button{display:grid;place-items:center;flex:1;min-width:0;height:36px;padding:7px;border-radius:50%;gap:0;background:transparent;font-size:0;color:#fff;transition:background .18s,box-shadow .18s}.currency-picker.reference-currency-picker>button.selected,.market-toolbar .currency-picker.reference-currency-picker>button.selected{background:#ffffff0c;box-shadow:inset 0 0 0 1px #ffffff10}.reference-currency-picker .currency-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.currency-picker.reference-currency-picker .coin,.currency-picker.reference-currency-picker .star-coin,.market-toolbar .currency-picker.reference-currency-picker .coin,.market-toolbar .currency-picker.reference-currency-picker .star-coin{width:24px;height:24px;font-size:24px;filter:grayscale(1) brightness(0) invert(1)}.reference-currency-picker .picker-gifts .icon{width:24px;height:24px;stroke-width:2.5}.reference-currency-picker button:focus-visible{outline:2px solid #8fc7ff;outline-offset:2px}@media(max-width:350px){.market-toolbar .currency-picker.reference-currency-picker{width:144px;padding:4px 5px;gap:2px}.market-toolbar .currency-picker.reference-currency-picker>button{height:33px}.market-toolbar .currency-picker.reference-currency-picker .coin,.market-toolbar .currency-picker.reference-currency-picker .star-coin{width:21px;height:21px}}

.topbar{flex-wrap:nowrap}.topbar>.top-action{flex:0 0 auto;white-space:nowrap}.top-counters{min-width:0;justify-content:flex-end;flex-wrap:nowrap}.top-counters .balance-pill{min-width:0;flex:0 1 auto;align-items:center;white-space:nowrap;line-height:1;min-height:33px}.top-counters #balance{min-width:0;white-space:nowrap;line-height:1;font-variant-numeric:tabular-nums;align-items:center}.top-counters #balance .coin,.top-counters #balance .star-coin,.top-counters .counter-divider{flex-shrink:0}.top-counters .plus{display:flex;align-items:center;justify-content:center;flex:0 0 13px;width:13px;height:13px;min-width:13px;line-height:13px;padding:0;margin:0 0 0 2px;align-self:center;font-family:Arial,sans-serif;font-size:12px;font-weight:700}.top-counters #inventory-open{flex:0 0 auto;white-space:nowrap;align-items:center;min-height:33px;line-height:1}.top-counters #inventory-open .icon{flex-shrink:0}@media(max-width:350px){.topbar{gap:6px;padding-left:10px;padding-right:10px}.top-counters{gap:4px}.top-counters #balance{font-size:9px;gap:3px}.top-counters .balance-pill{padding:7px 6px;gap:3px}.top-counters #inventory-open{padding:8px}.topbar .brand-name{font-size:20px}.topbar .brand-dog{width:29px}}

/* Reference interface proportions: catalog, rankings, navigation and profile. */
body{background:#000}.app-shell{background:#000}.bottom-nav{background:#000;border-top:1px solid #171717;box-shadow:none;backdrop-filter:none}.bottom-nav .nav-item{color:#858589;font-weight:600;font-size:11px;gap:4px}.bottom-nav .nav-item>.icon{width:21px;height:21px;stroke-width:1.8}.bottom-nav .nav-item.active{color:#fff;background:transparent;text-shadow:none}.bottom-nav .nav-item:before,.bottom-nav .nav-item:after{display:none}.market-page{padding-top:0}.reference-market-heading{padding:0 0 10px;gap:8px}.reference-market-heading>div{display:flex;align-items:baseline;gap:5px;min-width:0}.reference-market-heading>div>button{border:0;background:transparent;color:#85858a;padding:0;font-size:26px;line-height:1.25;font-weight:400;letter-spacing:-1px}.reference-market-heading>div>button.active{color:#fff}.market-filter-button{flex:0 0 36px;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#202020;color:#eee}.market-filter-button .icon{width:20px;height:20px;stroke-width:1.8}.market-page .market-search{display:none}.market-page .market-search.is-open{display:flex}.market-toolbar{margin-bottom:13px;align-items:center}.market-toolbar .currency-picker.reference-currency-picker{width:71px;gap:0;padding:3px;border:0;background:#1d1d1d;box-shadow:none;height:32px}.market-toolbar .reference-currency-picker .picker-gifts{display:none}.market-toolbar .currency-picker.reference-currency-picker>button{height:26px;padding:5px;flex:1;aspect-ratio:1}.market-toolbar .currency-picker.reference-currency-picker>button.selected{background:#168bff;box-shadow:0 0 0 1px #358fff}.market-toolbar .currency-picker.reference-currency-picker .coin,.market-toolbar .currency-picker.reference-currency-picker .star-coin{width:15px;height:15px;filter:grayscale(1) brightness(0) invert(1)}.market-toolbar .currency-picker.reference-currency-picker>button:not(.selected) .coin,.market-toolbar .currency-picker.reference-currency-picker>button:not(.selected) .star-coin{opacity:.5}.market-sort{color:#aaa;gap:3px}.market-sort select{color:#aaa;font-size:12px;font-weight:400;max-width:163px}.market-sort>span{font-size:17px}.market-grid{gap:9px}.market-card{padding:7px;background:#222;border:1px solid #2d2d2d;border-radius:23px;overflow:hidden;box-shadow:none}.market-card .market-card-art{aspect-ratio:1;margin:0;padding:25%;border-radius:17px;background:#333;overflow:hidden}.market-card .market-card-art img{width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;filter:none}.market-card .market-card-copy{padding:10px 1px 8px;display:flex;flex-direction:column;gap:0}.market-card .market-card-copy h2{font-size:14px;line-height:1.2;font-weight:500;letter-spacing:-.2px;margin:0 0 7px;min-height:0}.market-card .market-card-copy>span{font-size:12px;line-height:1.2;color:#909092;margin:0 0 10px}.market-card .market-price{height:29px;min-height:29px;border:0;border-radius:99px;padding:5px;background:#168bff;box-shadow:none;font-size:12px;line-height:1;font-weight:600;display:flex;align-items:center;justify-content:center;gap:4px}.market-card .market-price .coin,.market-card .market-price .star-coin{width:13px;height:13px;filter:grayscale(1) brightness(0) invert(1)}.market-card>.market-card-footer{width:100%;margin:0 0 1px;padding:7px 4px;height:29px;font-size:11px;font-weight:600;line-height:1.2;border-radius:0;flex:none}.market-card>.market-card-footer:before{left:16%}.market-card>.market-card-footer:after{right:16%}.leaders-page{background:#000;padding-top:0}.leaders-page>h1{font-size:27px;font-weight:400;letter-spacing:-.8px;margin:13px 0 16px}.leaders-description{font-size:12px;line-height:1.5;color:#b7b7bb;max-width:335px;margin:0 auto 12px}.season-rules{border:0;background:#151515;border-radius:26px;margin-top:0}.season-rules summary{padding:11px 18px 7px;color:#aaa;font-weight:500;font-size:12px}.season-timer{font-size:12px;margin-top:0;color:#fff}.season-timer strong{font-weight:600}.season-label-new{font-size:9px;letter-spacing:1.2px;color:#b79b61}.podium-position .person-large{width:74px;height:74px}.podium-1 .person-large{width:90px;height:90px}.podium-name{font-size:11px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;margin-bottom:8px}.podium-medal{font-size:12px}.podium-block{border:0;background:linear-gradient(125deg,#282828,#0b0b0b 75%);gap:7px}.podium-block b{font-size:11px;color:#b7bac5;font-weight:500}.podium-block small{color:#777;font-size:8px}.leader-list{gap:5px}.leader-row{position:relative;background:#1b1b1b;border:0;border-radius:28px;padding:6px 10px 6px 7px;gap:8px;min-height:46px}.leader-row .person-avatar{width:34px;height:34px;flex:0 0 34px;border:0}.leader-row strong{font-size:12px;line-height:1.2;font-weight:600}.leader-row small{font-size:10px;line-height:1;margin-top:3px;color:#929297}.leader-place{font-size:11px;color:#b1b1b6;min-width:12px}.leader-row>.icon{width:22px;height:22px;color:#b9b9be}.leader-row.is-self{background:#24242b;box-shadow:inset 0 0 0 1px #50505b}.profile-reference .wallet-card{border-radius:19px;border:0;background:#1b1b1b}.profile-reference .wallet-card>b{font-size:22px;font-weight:500}.profile-reference .wallet-card>span{color:#b1b1b8;font-size:12px}.profile-reference .profile-actions{border-radius:20px;background:#1b1b1b}.profile-reference .profile-stat-panel{border-radius:22px;background:#1b1b1b}.profile-reference .profile-stat{border-radius:17px;background:#242424}.profile-reference .profile-stat-details{border-radius:17px;background:#242424}.profile-reference .profile-gifts{background:#1b1b1b}.profile-reference .profile-gifts-empty button{border-radius:13px;padding:12px 17px;font-weight:500}@media(max-width:350px){.reference-market-heading>div>button{font-size:23px}.market-card .market-card-copy h2{font-size:12px}.market-card .market-card-copy>span{font-size:11px}.market-sort select{max-width:151px;font-size:11px}}

/* Crash controls matched to the supplied recording; scene and dog stay intact. */
.rocket-reference .game-controls{margin:12px 4px 0}.rocket-reference .mode-tabs{width:130px;padding:4px 4px 7px;border:1px solid #383838;border-radius:22px 22px 0 0;background:#242424;position:relative;z-index:-1}.rocket-reference .mode-tabs button{padding:6px 12px;border-radius:20px;font-size:11px;color:#aaa;background:transparent}.rocket-reference .mode-tabs button.active{background:#424242;color:#fff;box-shadow:inset 0 1px #ffffff0e}.rocket-reference .bet-panel{border-radius:22px;border:1px solid #363636;background:#222;padding:8px;box-shadow:none}.rocket-reference .bet-row{display:flex;gap:5px;align-items:center;margin:0 0 10px}.bet-currency-picker{display:flex;align-items:center;gap:1px;flex:0 0 auto;background:#1d1d1d;border-radius:99px;padding:2px}.bet-currency-picker>button{display:grid;place-items:center;width:25px;height:25px;padding:5px;border:0;border-radius:50%;background:transparent;color:#8d8d92}.bet-currency-picker .coin,.bet-currency-picker .star-coin{width:15px;height:15px;filter:grayscale(1);opacity:.55}.bet-currency-picker .icon{width:15px;height:15px;stroke-width:2.3}.bet-currency-picker button.selected{background:#168bff;color:#fff}.bet-currency-picker button.selected .coin,.bet-currency-picker button.selected .star-coin{filter:brightness(0) invert(1);opacity:1}.pay-stars .bet-currency-picker button.selected{background:#f9df20}.pay-stars .bet-currency-picker button.selected .star-coin{filter:brightness(0);opacity:1}.pay-gifts .bet-currency-picker button.selected{background:#fff;color:#111}.rocket-reference .bet-input-wrap{display:flex;align-items:center;gap:5px;background:#303030;border:0;border-radius:99px;padding:6px 7px;flex:1;min-width:0;height:29px}.rocket-reference .bet-input-wrap .coin,.rocket-reference .bet-input-wrap .star-coin{width:12px;height:12px;opacity:.55;flex-shrink:0}.rocket-reference .bet-input-wrap input{width:100%;min-width:0;background:transparent;border:0;padding:0;margin:0;color:#eee;font-size:12px;line-height:1;outline:none}.rocket-reference .amount-step{width:31px;height:29px;min-width:0;border:1px solid #454545;background:#353535;color:#d0d0d3;font-size:9px;border-radius:50%;padding:0}.rocket-reference #rocket-primary{min-height:43px;font-size:17px;font-weight:600;border-radius:13px;background:#168bff;box-shadow:none;border:1px solid #318efb;color:#fff;padding:10px 8px}.rocket-reference.pay-stars #rocket-primary{background:#f4e926;border-color:#ffef40;color:#171717}.rocket-reference #rocket-primary.cashout{background:#20ac7a;border-color:#37bc89;color:#fff}.rocket-reference #rocket-primary:disabled{opacity:.45}.bet-gift-selection{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:4px 8px 13px;width:100%;background:transparent;border:0;color:#fff;text-align:left}.bet-gift-preview{display:grid;place-items:center;background:#032b50;border-radius:50%;width:83px;height:83px}.bet-gift-preview>.icon{width:30px;height:30px}.bet-gift-preview .tg-gift-art,.bet-gift-preview .tg-gift-art img{width:66px;height:66px;object-fit:contain}.bet-gift-selection strong{font-size:11px;font-weight:600}.bet-gift-selection small{color:#aab7ca;font-size:12px}.rocket-reference .auto-setting{font-size:11px;background:#2b2b2b;border-radius:12px;padding:8px;margin:0 0 8px}.rocket-reference .auto-setting input{width:75px;background:#373737;border:1px solid #4b4b4b;color:#fff;border-radius:8px;padding:5px}.rocket-reference .bet-state{text-align:left;font-size:11px}.rocket-player-list{display:grid;gap:6px;padding-top:14px}.rocket-player-row{display:flex;align-items:center;gap:8px;min-height:48px;background:#1d1d1d;border-radius:19px;padding:7px 10px}.rocket-player-row>.person-avatar{width:30px;height:30px;flex:0 0 30px}.rocket-player-row>div{flex:1;min-width:0}.rocket-player-row strong{display:block;font-size:11px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rocket-player-row small{display:block;margin-top:6px;color:#eee;font-size:11px}.rocket-player-row .coin,.rocket-player-row .star-coin{width:11px;height:11px}.rocket-player-row>span:last-child{font-size:10px;color:#aaa;align-self:flex-start;padding-top:3px}.rocket-player-row>span.cashed{color:#44d59a}.rocket-player-row>span.lost{color:#db7e8e}#bet-gifts-dialog{background:#191919;border-color:#373737;width:min(430px,94vw);max-height:80dvh}#bet-gifts-body>p{font-size:12px;color:#aaa;line-height:1.6}.bet-gifts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:15px 0}.bet-gifts-grid>button{min-width:0;padding:9px 5px;background:#272727;border:1px solid #393939;border-radius:14px;color:#eee}.bet-gifts-grid>button.selected{background:#173854;border-color:#269cff;box-shadow:inset 0 0 0 1px #269cff}.bet-gifts-grid .tg-gift-art,.bet-gifts-grid img{width:58px;height:58px;object-fit:contain;margin:auto}.bet-gifts-grid b{display:block;font-size:9px;line-height:1.3;margin:7px 0 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bet-gifts-grid small{font-size:10px}.bet-gifts-grid .coin{width:10px;height:10px}

.reference-case-dock{display:flex;align-items:center;gap:9px;border:1px solid #313131;background:#202020;padding:7px;border-radius:21px;box-shadow:0 -8px 22px #0005}.reference-case-dock .currency-picker.reference-currency-picker{width:104px;margin:0;flex:0 0 104px;padding:3px;gap:1px;border:0;background:#151515;box-shadow:none}.reference-case-dock .reference-currency-picker>button{height:28px;padding:5px}.reference-case-dock .reference-currency-picker .coin,.reference-case-dock .reference-currency-picker .star-coin,.reference-case-dock .reference-currency-picker .icon{width:17px;height:17px}.reference-case-dock>.primary{flex:1;min-width:0;border-radius:14px;background:#168bff;font-size:13px;padding:12px 5px;box-shadow:none}.gift-case-page .case-detail-panel{background:#1b1b1b;border-color:#333;border-radius:24px}.gift-case-page .panel-grip{background:#414141;height:4px;width:62px}.gift-case-page .case-panel-heading h1{font-weight:500;letter-spacing:-.4px}.gift-case-page .drop-grid{gap:8px}.gift-case-page .gift-drop{background:#303030;border:0;border-radius:13px}.gift-case-page .gift-drop strong{font-size:11px}.gift-case-page .gift-drop small{font-size:12px;color:#eee}.gift-case-page .case-loot-heading h2{font-weight:500}.case-grid{gap:10px}.case-tile{background:#202020;border:1px solid #303030;border-radius:17px}.case-tile>h3{font-size:13px;font-weight:600;letter-spacing:-.2px}.case-tile .case-price{font-size:13px}

/* Interface motion: selection travels between tabs even after DOM redraw. */
.switch-motion-ready{position:relative;isolation:isolate}.switch-motion-ready>button{position:relative;z-index:1}.switch-motion-highlight{position:absolute;z-index:0;pointer-events:none;transform-origin:top left;will-change:transform;border-radius:inherit}.switch-motion-ready>button{transition:color .2s ease,opacity .2s ease,transform .16s ease}.bet-currency-picker .coin,.bet-currency-picker .star-coin,.bet-currency-picker .icon{transition:filter .22s ease,opacity .22s ease,transform .2s ease}.rocket-reference .bet-panel{box-sizing:border-box;overflow:hidden}.primary,.secondary,.amount-step,.market-price,.market-card-footer,.quest-card-actions button,.profile-actions button,.profile-collection-link,.referral-invite-primary,.market-filter-button,.nav-item{transition:background-color .24s ease,color .22s ease,border-color .22s ease,box-shadow .22s ease,opacity .18s ease,transform .16s cubic-bezier(.2,.7,.3,1)}button:not(.game-card):not(.case-tile):not(:disabled):active{transform:scale(.965)}.nav-item.active>.icon{transition:transform .22s ease,color .22s ease}.market-filter-button[aria-expanded="true"]{background:#343a50}.bet-gifts-grid>button{transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .16s ease}dialog[open]{animation:dialog-soft-in .23s cubic-bezier(.2,.75,.25,1)}dialog[open]::backdrop{animation:backdrop-soft-in .2s ease}@keyframes dialog-soft-in{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes backdrop-soft-in{from{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.switch-motion-highlight{will-change:auto}dialog[open],dialog[open]::backdrop{animation:none}button:active{transform:none!important}}

.tg-gift-art>img+.icon{display:none}.tg-gift-art.gift-image-fallback>img{display:none!important}.tg-gift-art.gift-image-fallback>.icon{display:block;width:35%;height:35%;color:#a6c9ed;margin:auto}.case-mix-cover .case-composite-art{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:hidden}.case-composite-art>img{display:block;width:100%;height:100%;object-fit:contain;font-size:0;color:transparent}.case-composite-art.gift-image-fallback{display:grid;place-items:center}.case-composite-art.gift-image-fallback>.icon{width:48px;height:48px}.case-tile .tg-gift-art{font-size:0;color:transparent}

/* Keep the mobile viewport stable: no double-tap zoom or small-field focus zoom. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;touch-action:manipulation}body,.app-shell,button,a,summary,label{touch-action:manipulation}.app-shell,#screen{min-width:0}.leaders-page,.podium-scene,.podium-position{min-width:0}.podium-position .person-avatar{flex-shrink:0}.person-avatar img{max-width:100%;max-height:100%;object-fit:cover}@media(hover:none),(pointer:coarse){input:not([type="range"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),textarea,select,.rocket-reference .bet-input-wrap input,.video-application input,.market-search input,.market-sort select,.owned-sort select,#cover-dialog input:not([type="range"]):not([type="file"]){font-size:16px!important}}

/* Fixed square targets keep currency selection circular at every viewport size. */
.currency-picker.reference-currency-picker{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:94px;height:46px;padding:4px;gap:4px;box-sizing:border-box;border:0;border-radius:99px;background:#202020;box-shadow:none;overflow:hidden}.currency-picker.reference-currency-picker>button{flex:0 0 38px;width:38px;height:38px;min-width:38px;max-width:38px;min-height:38px;padding:8px;box-sizing:border-box;border:0;border-radius:50%;line-height:0;display:grid;place-items:center}.currency-picker.reference-currency-picker>button.selected{background:#168bff;box-shadow:none}.currency-picker.reference-currency-picker>button .coin,.currency-picker.reference-currency-picker>button .star-coin{display:block;width:22px;height:22px;font-size:22px;line-height:0;margin:0;filter:brightness(0) invert(1);opacity:.45}.currency-picker.reference-currency-picker>button.selected .coin,.currency-picker.reference-currency-picker>button.selected .star-coin{opacity:1}.market-toolbar .currency-picker.reference-currency-picker{width:72px;height:36px;padding:3px;gap:4px}.market-toolbar .currency-picker.reference-currency-picker>button{flex:0 0 30px;width:30px;max-width:30px;min-width:30px;height:30px;min-height:30px;padding:7px}.market-toolbar .currency-picker.reference-currency-picker>button .coin,.market-toolbar .currency-picker.reference-currency-picker>button .star-coin{width:16px;height:16px;font-size:16px}.reference-case-dock .currency-picker.reference-currency-picker{width:76px;flex:0 0 76px;height:38px;padding:3px;gap:4px}.reference-case-dock .currency-picker.reference-currency-picker>button{flex:0 0 32px;width:32px;min-width:32px;max-width:32px;height:32px;min-height:32px;padding:7px}.reference-case-dock .currency-picker.reference-currency-picker .coin,.reference-case-dock .currency-picker.reference-currency-picker .star-coin{width:18px;height:18px}.bet-currency-picker{box-sizing:border-box;gap:2px;padding:3px;height:32px;overflow:hidden}.bet-currency-picker>button{display:grid;place-items:center;box-sizing:border-box;flex:0 0 26px;width:26px;min-width:26px;max-width:26px;height:26px;min-height:26px;padding:6px;line-height:0}.bet-currency-picker>button .coin,.bet-currency-picker>button .star-coin,.bet-currency-picker>button .icon{display:block;width:14px;height:14px;min-width:14px;max-width:14px;margin:0;font-size:14px;line-height:0}.bet-currency-picker>button .icon{stroke-width:2}

/* Compact auto-cashout controls share the Click/Auto header. */
.rocket-reference .rocket-mode-bar{display:flex;align-items:center;justify-content:center;width:max-content;max-width:100%;gap:3px;margin:0 auto -1px;padding:3px 4px 5px;border:1px solid #3a3a3a;border-bottom:0;border-radius:19px 19px 0 0;background:#252525;position:relative;z-index:1;box-sizing:border-box}.rocket-reference .rocket-mode-bar .mode-tabs{width:105px;flex:0 0 105px;display:flex;gap:0;margin:0;padding:0;border:0;border-radius:99px;background:transparent;z-index:auto;box-shadow:none}.rocket-reference .rocket-mode-bar .mode-tabs button{flex:1;height:29px;min-width:0;padding:5px 8px;font-size:11px;line-height:1.1}.rocket-mode-bar .auto-inline{display:flex;align-items:center;gap:3px;flex:1;min-width:48px;height:29px;margin:0 2px;padding:3px 4px;border-radius:9px;color:#ddd;background:#202020;box-sizing:border-box}.auto-inline>span{font-size:14px;color:#8d8d96}.rocket-reference .auto-inline input{width:44px;min-width:0;height:24px;border:0;border-radius:4px;background:transparent;color:#fff;font-size:16px;padding:0;line-height:1.1;margin:0;outline-offset:3px;appearance:textfield;-moz-appearance:textfield}.auto-inline input::-webkit-inner-spin-button,.auto-inline input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.rocket-mode-bar .auto-increment{display:grid;place-items:center;flex:0 0 35px;width:35px;height:29px;padding:0;border:1px solid #555;border-radius:99px;background:#454545;color:#fff;font-size:11px;font-weight:600;line-height:1;transition:background-color .18s,transform .16s}.rocket-mode-bar .auto-increment:active{background:#606060}.rocket-reference .rocket-mode-bar.with-auto{max-width:calc(100% - 14px)}@media(max-width:350px){.rocket-reference .rocket-mode-bar{gap:2px}.rocket-reference .rocket-mode-bar .mode-tabs{width:96px;flex-basis:96px}.rocket-mode-bar .auto-increment{width:32px;flex-basis:32px;font-size:10px}.rocket-reference .auto-inline input{width:40px}}

.rocket-pool[hidden]{display:none}.rocket-view .topbar>.top-action{display:none}.rocket-pool{display:flex;align-items:center;gap:7px;min-width:0;color:#8f929e;font-size:13px;line-height:1;white-space:nowrap}.rocket-pool strong{font-weight:700;color:#a7a9b4;font-variant-numeric:tabular-nums}.rocket-pool>.coin{width:13px;height:13px;filter:grayscale(1);opacity:.8}.pool-shield{display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;color:#26d77a;border:1px solid #1b6c46;border-radius:50%;background:#062a18;box-shadow:0 0 11px #1ed57518}.pool-shield svg{width:16px;height:16px}.rocket-reference .rocket-player-list{display:grid;gap:6px;padding:13px 0 0}.rocket-reference .rocket-player-row{display:flex;align-items:center;gap:10px;min-height:58px;background:linear-gradient(125deg,#191a21,#111218);border:1px solid #242630;border-radius:22px;padding:9px 11px;color:#a6acb9}.rocket-reference .rocket-player-row>.person-avatar{display:flex;flex:0 0 38px;width:38px;height:38px;border:1px solid #4c9bbf;box-shadow:0 0 0 1px #32688044}.rocket-reference .rocket-player-row>div{flex:1;min-width:0}.rocket-reference .rocket-player-row strong{font-size:12px;line-height:1.25;font-weight:600;color:#82a9d1}.rocket-reference .rocket-player-row small{display:flex;align-items:center;gap:4px;margin-top:5px;font-size:12px;line-height:1;color:#f3f3f5;font-weight:600;white-space:nowrap}.rocket-reference .rocket-player-row small .coin,.rocket-reference .rocket-player-row small .star-coin{width:12px;height:12px;flex-shrink:0;filter:brightness(0) invert(1)}.rocket-reference .rocket-player-row>.rocket-player-status{display:flex;align-items:center;gap:5px;flex-shrink:0;align-self:center;padding:0;color:#93939d;font-size:11px;font-weight:600;line-height:1;white-space:nowrap}.rocket-player-status .icon{width:13px;height:13px;stroke-width:2}.rocket-reference .rocket-player-row>.rocket-player-status.cashed{color:#4dd497}.rocket-reference .rocket-player-row>.rocket-player-status.lost{color:#e06b86}

/* Waiting countdown and stationary crash impact, gameplay only. */
.crash-sky .runner-wrap{left:calc(75.714% - 23px);width:46px;height:70px}.crash-board .crash-sky:after{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 76% 60%,#ed274d77,transparent 60%),linear-gradient(180deg,#73142bd9,#320915e8);opacity:0;transition:opacity .22s ease;z-index:0}.crash-board.crashed .crash-sky:after{opacity:1}.crash-board .rising-road{z-index:1}.crash-board .runner-wrap{z-index:2}.crash-board.crashed .runner-wrap{opacity:1;animation:none;transform:rotate(var(--road-angle,0deg))}.crash-board.waiting .crash-number strong{font-weight:500;letter-spacing:-.7px}.crash-board.crashed .crash-number strong{color:#ff718b;text-shadow:0 0 18px #f52d4d44}.crash-impact{position:absolute;left:50%;top:46%;width:76px;height:76px;margin:-38px 0 0 -38px;pointer-events:none;opacity:0;background:radial-gradient(circle,#fff2b9 0 8%,#ffb743 10% 22%,#ff503388 27% 40%,transparent 65%);border-radius:50%}.crash-impact:before{content:'';position:absolute;inset:8px;border:2px solid #ffcf80;border-radius:50%}.crash-impact i{position:absolute;left:50%;top:50%;width:4px;height:13px;margin:-6px 0 0 -2px;border-radius:4px;background:#ffcc69;transform:rotate(calc(var(--spark)*45deg)) translateY(-29px)}.crash-impact i:nth-child(1){--spark:0}.crash-impact i:nth-child(2){--spark:1}.crash-impact i:nth-child(3){--spark:2}.crash-impact i:nth-child(4){--spark:3}.crash-impact i:nth-child(5){--spark:4}.crash-impact i:nth-child(6){--spark:5}.crash-impact i:nth-child(7){--spark:6}.crash-impact i:nth-child(8){--spark:7}.crash-impact-on .crash-impact{animation:stationary-crash-burst .65s ease-out both}.crash-impact-on .redo-runner{animation:crash-runner-flash .55s ease-out both}@keyframes stationary-crash-burst{0%{opacity:0;transform:scale(.2)}15%{opacity:1;transform:scale(.65)}48%{opacity:.9}100%{opacity:0;transform:scale(1.5)}}@keyframes crash-runner-flash{0%,100%{filter:drop-shadow(0 3px 3px #0007)}20%{filter:brightness(2.1) drop-shadow(0 0 8px #ffcf75)}60%{filter:brightness(1.2) drop-shadow(0 0 5px #f65562)}}@media(prefers-reduced-motion:reduce){.crash-board .crash-sky:after{transition:none}.crash-impact-on .crash-impact{animation:none;opacity:0}.crash-impact-on .redo-runner{animation:none}}

/* Arena: server-backed weighted fields and compact stake dock. */
.arena-reference{padding-bottom:14px}.arena-bank-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:2px 0 12px;font-size:13px;color:#eee}.arena-bank-bar strong{font-size:17px;font-weight:700}.arena-bank-bar>span{font-size:10px;color:#a6a0c2}.arena-bank-bar .coin,.arena-bank-bar .star-coin{width:16px;height:16px}.arena-live-table{position:relative;aspect-ratio:1.12;overflow:hidden;border:7px solid #30343b;border-radius:24px;box-shadow:inset 0 0 0 3px #070a10,0 2px 0 2px #62676e,0 10px 25px #000a;background:#102d5e;margin:0 3px 18px}.arena-idle-art{width:100%;height:100%;object-fit:cover;opacity:.9}.arena-sectors{display:flex;position:absolute;inset:0;gap:3px;background:#080a0f}.arena-sector{position:relative;min-width:0;background:repeating-linear-gradient(120deg,#ffffff08 0 1px,transparent 1px 11px),var(--sector);display:flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 1px #ffffff30;overflow:hidden}.arena-sector>div{display:flex;align-items:center;flex-direction:column;gap:5px;min-width:0;padding:8px 2px;width:100%}.arena-sector .person-large{width:45px;height:45px;font-size:20px;border:2px solid #dce9ffa0}.arena-sector strong{color:#fff;font-size:10px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.arena-sector small{font-size:9px;white-space:nowrap;color:#fff;background:#0008;border-radius:6px;padding:4px}.arena-sector .coin,.arena-sector .star-coin{width:10px;height:10px}.arena-sector.winner{box-shadow:inset 0 0 25px #fff6,inset 0 0 0 3px #f4e7b3}.arena-countdown{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:64px;height:64px;border:4px solid #8f5bff;border-radius:50%;background:#181c2d;font-size:30px;font-weight:800;color:white;box-shadow:0 4px 13px #0008}.arena-puck{position:absolute;left:15%;top:70%;width:17px;height:17px;border:4px solid white;background:#ffd960;border-radius:50%;box-shadow:0 0 0 10px #ffffff20,0 0 24px #fff;animation:arena-puck-throw 2.8s cubic-bezier(.25,.6,.4,1) both}.arena-result{position:absolute;left:8px;right:8px;bottom:12px;padding:10px;border-radius:12px;background:#090b17db;text-align:center;color:#fff2ad;font-size:12px;font-weight:700}.arena-players-heading{display:flex;justify-content:space-between;align-items:center;margin:10px 2px;font-size:12px;color:#aaa}.arena-players-heading small{font-size:9px;color:#656b7b}.arena-player-list{display:grid;gap:6px;margin-bottom:20px}.arena-participant{display:flex;align-items:center;gap:8px;padding:8px 10px;background:#1d1d1f;border-radius:15px;font-size:11px}.arena-participant .person-avatar{width:28px;height:28px;font-size:13px}.arena-participant strong{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}.arena-participant small{color:#b6bfd3;font-size:10px}.arena-participant .coin,.arena-participant .star-coin{width:11px;height:11px}.arena-controls{position:sticky;bottom:80px;z-index:6;padding-top:6px;background:linear-gradient(transparent,#000 15%);margin-top:12px}.arena-mode-toggle,.arena-payment-tabs,.arena-team-picker{display:flex;align-items:center;justify-content:center;gap:4px;padding:4px;border:1px solid #33333a;border-radius:20px;background:#1d1d20}.arena-mode-toggle{width:max-content;margin:0 auto 8px;padding:3px}.arena-mode-toggle button,.arena-payment-tabs button,.arena-team-picker button{flex:1;padding:7px 12px;border-radius:16px;font-size:11px;background:transparent;color:#90909d}.arena-mode-toggle button.active,.arena-payment-tabs button.active{background:#383b49;color:#fff}.arena-team-picker{margin-bottom:9px}.arena-team-picker button[data-arena-team="blue"].active{background:#1753a3;color:#fff}.arena-team-picker button[data-arena-team="red"].active{background:#913451;color:#fff}.arena-limit{display:flex;justify-content:space-between;gap:8px;font-size:9px;color:#9393a0;margin:9px 1px}.arena-stake-panel{padding:8px;border:1px solid #33343b;background:#212124;border-radius:18px}.arena-stake-row{display:flex;align-items:center;gap:7px;margin-bottom:8px}.arena-currencies{display:flex;background:#171719;border-radius:99px;padding:3px;gap:2px}.arena-currencies button{display:grid;place-items:center;width:25px;height:25px;padding:5px;border-radius:50%;background:none}.arena-currencies button.active{background:#168bff}.arena-currencies .coin,.arena-currencies .star-coin{width:15px;height:15px;filter:grayscale(1);opacity:.6}.arena-currencies .active .coin,.arena-currencies .active .star-coin{filter:brightness(0) invert(1);opacity:1}.arena-stake-row input{height:32px;width:100%;min-width:0;flex:1;border:0;border-radius:99px;background:#2d2d30;color:#fff;font-size:16px;padding:4px 10px}.arena-stake-row>button{background:#36363b;padding:7px 9px;color:#ccc;border-radius:99px;font-size:10px}.arena-stake-panel>.primary{width:100%;min-height:42px;background:#168bff;box-shadow:none;border-radius:13px;font-size:15px}.arena-stake-panel>.primary:disabled{opacity:.5}.arena-gift-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));max-height:185px;overflow:auto;gap:6px;margin-bottom:9px}.arena-gift-grid button{padding:5px;background:#303035;border:1px solid #40404b;border-radius:11px;color:#ddd}.arena-gift-grid button.active{border-color:#45adff;background:#1c3d5a}.arena-gift-grid .tg-gift-art,.arena-gift-grid img{width:42px;height:42px;object-fit:contain;margin:auto}.arena-gift-grid small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px;margin-top:4px}.arena-empty-gifts{text-align:center;padding:18px 8px;color:#a6a7b7}.arena-empty-gifts>.icon{width:35px;height:35px;color:#21b2e7}.arena-empty-gifts h3{font-size:16px;color:#fff}.arena-empty-gifts p{font-size:12px}.arena-empty-gifts button{padding:10px 15px;background:#7252e6;color:#fff;border-radius:15px}@keyframes arena-puck-throw{0%{left:15%;top:70%}25%{left:76%;top:20%}50%{left:27%;top:48%}72%{left:64%;top:79%}100%{left:49%;top:46%}}
/* Compact case catalog without explanatory copy. */
.reference-case-grid{gap:9px}.reference-case-grid .case-tile{padding:8px;border-radius:17px;background:#202020;border:1px solid #303030;text-align:left}.reference-case-grid .case-art{aspect-ratio:1;border-radius:12px;background:#303030;overflow:hidden;margin-bottom:9px}.case-showpiece{position:relative;isolation:isolate;width:100%;height:100%;background:radial-gradient(ellipse at 50% 70%,#43508488,transparent 70%),linear-gradient(135deg,#252f45,#131724);overflow:hidden}.case-showpiece-halo{position:absolute;left:12%;right:12%;bottom:10%;height:25%;border-radius:50%;background:#5d8ef455;filter:blur(12px)}.case-showpiece-main{position:absolute;inset:8% 5% 7%;display:grid;place-items:center;transform:rotate(-5deg)}.case-showpiece-main .tg-gift-art,.case-showpiece-main img{display:block;width:100%;height:100%;object-fit:contain}.case-showpiece-side{position:absolute;right:-3%;bottom:-2%;width:43%;height:48%;transform:rotate(14deg)}.case-showpiece-side .tg-gift-art,.case-showpiece-side img{width:100%;height:100%;object-fit:contain}.reference-case-grid .case-tile h3{font-size:12px;line-height:1.3;font-weight:500;margin:0 0 5px}.case-dual-price{font-size:12px;color:#fff;font-weight:600}.case-dual-price>small{font-size:10px;color:#96969e;font-weight:400}.case-dual-price .coin,.case-dual-price .star-coin{width:11px;height:11px}.case-tile .case-showpiece.gift-image-fallback .icon{font-size:0}.leader-row,.leader-row.is-self{border-radius:8px}.leader-row .person-avatar{border-radius:50%}
/* Referral statistics with a green header, no wagering volume. */
.referrals-page{position:relative;isolation:isolate;padding:0 5px 30px}.referral-hero{padding:32px 10px 24px;text-align:center;background:radial-gradient(ellipse at 50% 5%,#36a61677,transparent 70%)}.referral-hero>span{font-size:9px;letter-spacing:2px;color:#b2d8a2}.referral-hero h1{font-size:24px;font-weight:500;line-height:1.3;margin:12px 0;color:#e4eee0}.referral-hero h1 b{color:#9dfb77}.ref-income-card{margin-bottom:11px;padding:15px;background:#1b1b1d;border:1px solid #303033;border-radius:16px}.ref-card-heading{display:flex;justify-content:space-between;font-size:11px;color:#aaa;margin-bottom:18px}.ref-card-heading button{background:none;font-size:10px;padding:0;color:#eee}.ref-income-card>strong{font-size:22px;color:#fff}.ref-income-card>p{font-size:10px;color:#96969b;line-height:1.6}.ref-white-button{display:block;width:100%;text-align:center;padding:12px 10px;background:#fff;color:#111;border-radius:12px;font-size:12px;font-weight:600}.ref-income-card>.ref-white-button{width:auto;display:inline-block;padding:8px 15px;font-size:10px;margin-top:3px}.ref-income-card h2{font-size:14px;font-weight:500;margin:0 0 16px}.ref-stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px 10px}.ref-stats-grid small{display:block;font-size:10px;color:#999;margin-bottom:7px}.ref-stats-grid b{font-size:13px;color:#eee}.ref-stats-grid .coin{width:12px;height:12px}.ref-income-card details{font-size:10px;color:#bbb;line-height:1.8;margin-top:16px}.ref-income-card summary{cursor:pointer;color:#ddd}.referral-link-row{display:flex;align-items:center;gap:8px;background:#252527;border-radius:99px;margin:20px 0 12px;padding:6px 9px}.referral-link-row input{border:0;background:transparent;width:100%;min-width:0;color:#aaa;font-size:11px}.referral-link-row button{background:none;padding:0;color:#ccc}.referral-link-row .icon{width:16px;height:16px}.referral-program-entry{display:flex;align-items:center;gap:13px;padding:22px 17px;width:100%;border:1px solid #3e6241;border-radius:20px;background:linear-gradient(130deg,#173b24,#182d24);text-align:left;color:#eee}.referral-program-entry>.icon{width:32px;height:32px;color:#8eef8a}.referral-program-entry>span{flex:1}.referral-program-entry b{display:block;font-size:18px}.referral-program-entry small{display:block;font-size:11px;color:#a7c6aa;margin-top:7px}.referral-program-entry>strong{font-size:25px}.rewards-view:before{content:'';position:fixed;inset:0;pointer-events:none;z-index:-1;background:linear-gradient(#020604aa,#000b),url('assets/rewards-neon.svg') center top/cover no-repeat}.app-shell.rewards-view{position:relative;isolation:isolate;background:transparent}.rewards-view #screen{background:transparent}.rewards-view .quest-card,.rewards-view .creator-panel{backdrop-filter:blur(6px)}
/* Profile settings. */
.profile-hero{position:relative}.profile-settings-button{position:absolute;top:12px;right:13px;z-index:5;display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:#ffffff0d;border:1px solid #ffffff10;color:#eee}.profile-settings-button .icon{width:21px;height:21px;stroke-width:1.7}.profile-title{padding-right:25px}.settings-page{padding:5px 0 25px}.settings-card{border-radius:22px;background:#1b1b1d;padding:0 16px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:65px;border-bottom:1px solid #ffffff10;color:#ddd;font-size:15px}.settings-row:last-child{border:0}.settings-language{display:flex;padding:3px;border-radius:99px;background:#242426}.settings-language button{padding:5px 8px;border-radius:99px;background:transparent;font-size:12px;color:#999}.settings-language button.active{background:#39393c;color:#eee}.settings-toggle{position:relative;flex:0 0 44px;width:44px;height:26px;border:0;border-radius:99px;background:#454547;padding:3px;transition:background-color .2s}.settings-toggle i{position:absolute;left:3px;top:3px;width:20px;height:20px;background:#ccc;border-radius:50%;transition:transform .2s,background-color .2s;box-shadow:0 1px 3px #0004}.settings-toggle.on{background:#168bff}.settings-toggle.on i{transform:translateX(18px);background:#e4f4ff}.settings-note{font-size:11px;color:#888;line-height:1.8;padding:8px 12px}@media(prefers-reduced-motion:reduce){.arena-puck{animation:none}}

.leader-row,.leader-row.is-self{border-radius:4px}.arena-mode-toggle,.arena-payment-tabs,.arena-team-picker,.arena-currencies,.settings-language{isolation:isolate}

.arena-live-table.finished .arena-puck{left:var(--landing);top:50%;animation:arena-final-landing .45s ease-out both;transform:translateX(-50%)}@keyframes arena-final-landing{from{left:49%;top:46%}to{left:var(--landing);top:50%}}@media(prefers-reduced-motion:reduce){.arena-live-table.finished .arena-puck{animation:none}}

.arena-cancel-stake{display:block;width:100%;padding:11px;margin-top:8px;background:#35252b;color:#ffb6c3;border:1px solid #76404e;border-radius:12px;font-size:12px;font-weight:600}.arena-cancel-stake:disabled{opacity:.45}

.arena-live-table .arena-puck,.arena-live-table.finished .arena-puck{left:0;top:0;margin:0;animation:none!important;will-change:transform;transition:none;pointer-events:none}@media(prefers-reduced-motion:reduce){.arena-live-table .arena-puck{will-change:auto}}

/* Scrollable round history; show the runner only during a live flight. */
.history-strip{overflow-x:auto;overflow-y:hidden;max-width:100%;overscroll-behavior-x:contain;touch-action:pan-x pinch-zoom;-webkit-overflow-scrolling:touch;scrollbar-width:none;cursor:grab;user-select:none;-webkit-user-select:none}.history-strip::-webkit-scrollbar{display:none}.history-strip.is-dragging{cursor:grabbing}.history-strip:focus-visible{outline:1px solid #7eafe8;outline-offset:-1px;border-radius:10px}.history-strip .history-chip{flex:0 0 auto}.crash-board.waiting .runner-wrap{opacity:0;visibility:hidden;pointer-events:none}.crash-board.crashed .runner-wrap{opacity:1;visibility:visible;pointer-events:none}.crash-board.crashed .redo-runner{opacity:0;visibility:hidden}.crash-board.running .runner-wrap{opacity:1;visibility:visible}

/* Arena payment selector and empty inventory match the supplied reference. */
.arena-asset-tabs{padding:4px;border-radius:18px;background:#121420;border:1px solid #2b2e3b;gap:2px;box-shadow:inset 0 0 0 1px #ffffff04}
.arena-asset-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 7px;font-size:15px;font-weight:750;border-radius:15px;color:#7f8392}
.arena-asset-tabs button.active{background:#262a3f;color:#fff;box-shadow:0 2px 8px #0004}
.arena-asset-tabs .coin,.arena-asset-tabs .star-coin,.arena-asset-tabs .icon{width:19px;height:19px;flex:none}
.arena-asset-tabs [data-arena-pay="gift"] .icon{color:#00ba89}
.arena-limit{font-size:11px;margin:10px 4px;align-items:center}.arena-limit b{color:#c4c6d2}
.arena-stake-panel.gift-mode{background:#151724;border-color:#303341;border-radius:22px;padding:14px;box-shadow:inset 0 0 0 1px #ffffff03}
.gift-mode .arena-stake-row{display:none}
.arena-empty-gifts{padding:10px 0 0;color:#898d9e}
.arena-empty-mascot{display:block;width:112px;height:112px;object-fit:contain;margin:0 auto 10px;filter:drop-shadow(0 7px 8px #0005)}
.arena-empty-gifts h3{font-size:21px;font-weight:800;line-height:1.2;margin:8px 0}
.arena-empty-gifts p{font-size:15px;line-height:1.4;margin:8px auto 18px;max-width:340px}
.arena-empty-gifts button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;padding:12px;background:linear-gradient(110deg,#00bd92,#00a67d);border:1px solid #00a881;border-radius:17px;color:white;font-size:19px;font-weight:800;box-shadow:0 7px 24px #00b28a30}
.arena-empty-gifts button .icon{width:23px;height:23px}

/* Keep the tasks backdrop continuous through the full page and navigation. */
.app-shell.rewards-view{min-height:100vh;min-height:100dvh;background:#020604}
.app-shell.rewards-view:before{position:absolute;inset:0;min-height:100vh;min-height:100dvh;background:linear-gradient(#02060499,#0009),url('assets/rewards-neon.svg') center top/cover no-repeat}
.rewards-view .topbar{background:transparent}
.rewards-view .bottom-nav{background:#020604b3;backdrop-filter:blur(10px);border-top-color:#1e382a}

/* Stable switch geometry and centered balance plus across mobile WebViews. */
.settings-row>span{flex:1;min-width:0}
.settings-row .settings-toggle{box-sizing:border-box;display:block;flex:0 0 44px;width:44px;min-width:44px;max-width:44px;height:26px;min-height:26px;max-height:26px;padding:0;margin:0;line-height:1;overflow:hidden;align-self:center;appearance:none}
.settings-row .settings-toggle i{display:block;box-sizing:border-box;position:absolute;inset:3px auto auto 3px;width:20px;height:20px;margin:0;padding:0;transform:translateX(0);font-style:normal}
.settings-row .settings-toggle.on i{transform:translateX(18px)}
.top-counters .plus{position:relative;font-size:0;line-height:0;overflow:hidden}
.top-counters .plus:before,.top-counters .plus:after{content:'';position:absolute;left:50%;top:50%;background:#1c2a40;border-radius:1px;transform:translate(-50%,-50%)}
.top-counters .plus:before{width:7px;height:1.5px}.top-counters .plus:after{width:1.5px;height:7px}
.profile-actions button>span{line-height:1;font-family:Arial,sans-serif;flex-shrink:0}

/* Reserve space above the podium for its raised rank medals. */
.leaders-page .season-label-new{position:relative;margin:16px 0 0;min-height:16px;line-height:16px;display:flex;justify-content:center;gap:5px;white-space:nowrap}
.leaders-page .podium-scene{margin-top:0;padding-top:30px;height:290px}

/* Reference case catalog: square charcoal art and compact inline prices. */
.case-catalog-reference{margin:0 -2px;padding:12px 9px 20px;background:#191919;min-height:calc(100dvh - 150px)}
.case-catalog-reference .reference-case-grid{gap:10px}
.case-catalog-reference .case-tile{padding:8px 8px 11px;border:0;border-radius:23px;background:#212121;overflow:hidden;min-width:0}
.case-catalog-reference .case-art{display:block;aspect-ratio:1;border-radius:17px;background:#303030;margin:0 0 10px;overflow:hidden}
.case-catalog-reference .case-tile h3{font-size:15px;line-height:1.25;font-weight:550;letter-spacing:-.4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 0 8px}
.case-catalog-reference .case-dual-price{display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:20px;font-weight:650;letter-spacing:-.6px;line-height:1.1}
.case-catalog-reference .case-dual-price>small{display:inline-flex;align-items:center;gap:4px;font-size:13px;color:#a5a5a5;font-weight:500;letter-spacing:-.3px}
.case-catalog-reference .case-dual-price .coin{width:17px;height:17px;filter:brightness(0) invert(1)}
.case-catalog-reference .case-dual-price .star-coin{width:15px;height:15px;filter:grayscale(1);opacity:.7}
.case-atlas-art{display:block;width:100%;height:100%;background-image:url('assets/case-atlas-v4.png');background-repeat:no-repeat;background-size:400% 500%;background-position:var(--atlas-x) var(--atlas-y)}
@media(max-width:350px){.case-catalog-reference{padding:8px 4px}.case-catalog-reference .case-tile h3{font-size:12px}.case-catalog-reference .case-dual-price{font-size:17px}.case-catalog-reference .case-dual-price>small{font-size:11px}}

/* Explicit square viewport prevents adjacent atlas rows leaking into cards. */
.case-catalog-reference .case-art{position:relative;width:100%;height:auto;aspect-ratio:1;flex-shrink:0}
.case-catalog-reference .case-art>.case-atlas-art{position:absolute;inset:0;display:block;width:100%;height:100%;margin:0}

/* One backdrop for the case menu, with transparent individual illustrations. */
.app-shell.cases-view{isolation:isolate;background:#090716}
.app-shell.cases-view:before{content:'';position:absolute;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(ellipse 95% 420px at 0% 5%,#65298b55,transparent 75%),radial-gradient(ellipse 100% 600px at 100% 28%,#123f7855,transparent 75%),repeating-linear-gradient(135deg,#a580ff05 0 1px,transparent 1px 32px),linear-gradient(#100b23,#070b17 70%,#0c0719)}
.cases-view .topbar{background:transparent}.cases-view .bottom-nav{background:#080715ed}
.case-catalog-reference{background:transparent}
.case-catalog-reference .case-tile{background:#15132088;box-shadow:inset 0 0 0 1px #baa8f013}
.case-catalog-reference .case-art{background:transparent;border-radius:0}
.case-catalog-reference .case-art>.case-cutout{position:absolute;inset:0;width:100%;height:100%;display:block;overflow:hidden;filter:drop-shadow(0 7px 6px #0005)}

.case-sort-toolbar{display:flex;justify-content:flex-end;align-items:center;margin:0 2px 14px;min-height:32px}.case-sort-toolbar .market-sort{display:flex;align-items:center;gap:7px;color:#c8bfdc}.case-sort-toolbar select{background:#1a1429;border:1px solid #a287c333;border-radius:11px;color:#ddd3ed;padding:8px 10px;font-size:12px;max-width:210px}

/* Bright lime backdrop requested for the case menu. */
.app-shell.cases-view{background:#a9f52b}
.app-shell.cases-view:before{background:radial-gradient(ellipse at 15% 8%,#e0ff83,transparent 52%),radial-gradient(ellipse at 90% 45%,#73d51e,transparent 60%),linear-gradient(155deg,#baff35,#92e326 65%,#b5fa39)}
.cases-view .topbar{background:#080d07e8}.cases-view .bottom-nav{background:#080d07f5}
.case-catalog-reference .case-tile{background:#10180ee8;box-shadow:inset 0 0 0 1px #d5ff8b35}
.case-sort-toolbar .market-sort{color:#23320b}.case-sort-toolbar select{background:#16220ef2;border-color:#41651a;color:#f0ffd9}

/* Crash participant rows, including the list outside the scene wrapper. */
#bet-state .rocket-player-list{display:grid;gap:8px;padding-top:14px}
#bet-state .rocket-player-row{display:flex;align-items:center;gap:12px;min-height:76px;padding:12px 15px;border:1px solid #292c37;border-radius:24px;background:linear-gradient(115deg,#15161e,#101117);box-shadow:inset 0 1px 2px #ffffff04;color:#f4f4f5}
#bet-state .rocket-player-row>.person-avatar{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border:2px solid #4ab3db;border-radius:50%;box-shadow:0 0 5px #4fb8ee44;background:#0b111b;overflow:hidden}
#bet-state .rocket-player-info{flex:1;min-width:0}
#bet-state .rocket-player-info strong{display:block;font-size:15px;line-height:1.25;font-weight:700;color:#66a9df;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#bet-state .rocket-player-info small{display:flex;align-items:center;gap:6px;margin-top:7px;font-size:15px;line-height:1;font-weight:700;color:#f7f7f8;white-space:nowrap}
#bet-state .rocket-player-info .coin,#bet-state .rocket-player-info .star-coin{width:14px;height:14px;filter:brightness(0) invert(1);flex-shrink:0}
#bet-state .rocket-player-row>.rocket-player-status{display:flex;align-items:center;gap:6px;align-self:center;flex:0 0 auto;padding:0;font-size:13px;line-height:1;font-weight:650;color:#9296a2;white-space:nowrap}
#bet-state .rocket-player-status .icon{width:17px;height:17px;stroke-width:2.5}
#bet-state .rocket-player-row>.cashed{color:#4dd497}#bet-state .rocket-player-row>.lost{color:#df768b}
@media(max-width:350px){#bet-state .rocket-player-row{gap:9px;padding:11px;min-height:70px}#bet-state .rocket-player-info strong,#bet-state .rocket-player-info small{font-size:13px}#bet-state .rocket-player-row>.rocket-player-status{font-size:11px}}

/* Match the selected payment currency throughout market and games. */
.currency-picker.reference-currency-picker>button[data-currency="stars"].selected,
.app-shell .bet-currency-picker>button[data-bet-currency="stars"].selected,
.app-shell .arena-asset-tabs>button[data-arena-currency="stars"].active{background:#f4df24;color:#171717}
.currency-picker.reference-currency-picker>button[data-currency="gram"].selected,
.app-shell .arena-asset-tabs>button[data-arena-currency="gram"].active{background:#168bff;color:#fff}
.currency-picker.reference-currency-picker>button[data-currency="stars"].selected .star-coin{filter:brightness(0)!important;opacity:1}
.currency-picker.reference-currency-picker>button[data-currency="gram"].selected .coin{filter:brightness(0) invert(1)!important;opacity:1}
.app-shell.case-detail-view{isolation:isolate;background:#071a32}
.app-shell.case-detail-view:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 50% 15%,#154e7c88,transparent 55%),linear-gradient(#0a2444,#071321 75%,#030a13)}
.case-detail-view .topbar{background:#061323ed}.case-detail-view .bottom-nav{background:#040c17f5}
.case-detail-view #screen{overflow-x:clip}
.case-detail-view .gift-case-page{min-width:0;width:100%;margin:0;padding-bottom:95px}
.case-detail-view .case-stage{margin-left:0;margin-right:0;width:100%}
.case-detail-view .case-detail-panel{width:100%;max-width:100%;box-sizing:border-box;margin-left:0;margin-right:0}
.case-detail-view .case-open-dock{width:calc(100% - 24px);max-width:416px;left:50%;right:auto;transform:translateX(-50%);margin:0;box-sizing:border-box}

/* Blend the case reel into the detail-page backdrop. */
.case-detail-view .case-stage,.case-detail-view .case-stage .case-roll{background:transparent;box-shadow:none;border:0}

.case-top-currency{display:flex;justify-content:center;align-items:center;padding:4px 0 12px}.case-top-currency .currency-picker{margin:0}.case-detail-view .reference-case-dock{display:flex;align-items:center;justify-content:center}.case-detail-view .reference-case-dock>.primary{flex:1;width:100%;min-width:0}

.case-inline-open{position:relative;display:flex;align-items:center;gap:9px;width:100%;padding:10px 0;margin:8px 0 15px;box-sizing:border-box}.case-inline-open>.primary{flex:1;min-width:0;margin:0;min-height:44px;border-radius:14px;font-size:14px}.case-inline-open .currency-picker{margin:0}.case-detail-view .gift-case-page{padding-bottom:20px}

/* Shared action color follows the selected currency, including dialogs. */
.currency-stars .primary,
.currency-stars .market-price,
.currency-stars .market-buy-button,
.currency-stars .case-inline-open>.primary,
.currency-stars .arena-stake-panel>.primary,
.currency-stars .rocket-reference #rocket-primary,
.currency-stars .rocket-reference #rocket-primary.cashout{background:#f4df24!important;border-color:#ffec56!important;color:#171717!important;box-shadow:none}
.currency-stars .primary .coin,.currency-stars .primary .star-coin{filter:brightness(0);opacity:1}
.currency-stars .primary:hover,.currency-stars .market-price:hover{background:#ffe94a!important}

.currency-stars .market-card>.market-card-footer{background-color:#f4df24;background-image:repeating-linear-gradient(0deg,#ffffff09 0 9px,transparent 9px 18px),repeating-linear-gradient(90deg,#ad850018 0 14px,transparent 14px 28px),linear-gradient(110deg,#f2d51f,#ffec54);color:#171717;box-shadow:inset 0 1px #fff29a88,inset 0 -1px #ac8e2688}
.currency-stars .market-card>.market-card-footer:before,.currency-stars .market-card>.market-card-footer:after{border-left-color:#806715aa}

/* Purchase and lucky-ticket sheets follow the supplied compact reference. */
#market-buy-dialog{background:#191919;border:1px solid #343434;border-radius:28px;padding:14px 16px 18px;width:min(420px,94vw);max-height:90dvh;overflow:auto}
#market-buy-dialog>.dialog-head{position:absolute;right:12px;top:12px;z-index:2}#market-buy-dialog>.dialog-head h2{display:none}
#market-buy-body>.panel-grip{margin:0 auto 22px;width:72px;height:4px;background:#424242;border-radius:9px}
#market-buy-body>h2{text-align:center;font-size:27px;font-weight:500;margin:12px 0}
#market-buy-body>.buy-model{text-align:center;color:#aaa;font-size:17px;margin:0 0 20px}
#market-buy-body .owned-detail-art{width:70%;aspect-ratio:1;margin:0 auto 24px;padding:20px;border-radius:24px;background:#303030}
#market-buy-body .owned-detail-art img{width:100%;height:100%;max-height:150px;object-fit:contain}
.buy-gift-note{display:flex;gap:12px;align-items:center;padding:15px;border:1px solid #343434;border-radius:18px;font-size:15px;line-height:1.4;margin-bottom:18px}.buy-gift-note>.icon{width:35px;height:35px;color:#5ab6ee;flex:none}
.buy-insufficient,.ticket-dock>p:not(:empty){padding:12px 8px;margin:0;background:#3b2024;border:1px solid #87424a;border-radius:18px 18px 0 0;color:#eee;text-align:center;font-size:13px}
.buy-action-row,.ticket-action-row{display:flex;align-items:center;gap:10px;background:#168bff;border-radius:20px;padding:8px;width:100%;box-sizing:border-box}
.buy-action-row .currency-picker,.ticket-action-row .currency-picker{flex:0 0 78px;width:78px;margin:0;background:#151515}
.buy-action-row>.primary,.ticket-action-row>.primary{flex:1;min-width:0;padding:8px 5px;margin:0;font-size:16px;border-left:1px solid #0002;border-radius:0;min-height:44px;box-shadow:none}
.ticket-dock{padding:0;border:0;background:transparent;backdrop-filter:none}
.currency-stars .buy-action-row,.currency-stars .ticket-action-row{background:#f4df24}
.ticket-chance-slider{appearance:none;-webkit-appearance:none;width:100%;height:16px;border:1px solid #343434;border-radius:99px;background:#222;outline:none;margin:24px 0}
.ticket-chance-slider::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:36px;height:36px;border:7px solid white;border-radius:50%;background:#168bff;box-shadow:0 3px 8px #0005}
.ticket-chance-slider::-moz-range-thumb{width:23px;height:23px;border:7px solid white;border-radius:50%;background:#168bff}
.currency-stars .ticket-chance-slider::-webkit-slider-thumb{background:#f4df24}.currency-stars .ticket-chance-slider::-moz-range-thumb{background:#f4df24}

#market-buy-dialog .buy-action-row{padding:6px;gap:8px;border-radius:17px}
#market-buy-dialog .buy-action-row>.primary{min-height:36px;padding:6px 4px;font-size:14px;line-height:1.2}
#market-buy-dialog .buy-action-row .currency-picker.reference-currency-picker{width:68px;flex-basis:68px;height:34px;padding:3px;gap:2px}
#market-buy-dialog .buy-action-row .currency-picker.reference-currency-picker>button{width:28px;min-width:28px;max-width:28px;height:28px;min-height:28px;flex:0 0 28px;padding:6px}
#market-buy-dialog .buy-action-row .currency-picker.reference-currency-picker .coin,#market-buy-dialog .buy-action-row .currency-picker.reference-currency-picker .star-coin{width:16px;height:16px}

/* Keep purchase action and currency picker within the sheet outline. */
#market-buy-dialog{box-sizing:border-box;overflow-x:hidden}
#market-buy-dialog .buy-action-row{width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow:hidden;isolation:isolate}
#market-buy-currency{flex:0 0 68px;width:68px;min-width:0;max-width:68px}
#market-buy-dialog #market-buy-confirm{box-sizing:border-box;flex:1 1 0;width:auto;max-width:100%;min-width:0;margin:0;white-space:normal;overflow-wrap:anywhere;transform:none}
#market-buy-dialog .buy-insufficient{box-sizing:border-box;max-width:100%;overflow-wrap:anywhere}

.rocket-view .game-space{display:block;width:100%;min-width:0;padding:16px 0;box-sizing:border-box}.rocket-view #bet-state{display:block;width:100%;min-width:0;text-align:left}.rocket-view #bet-state .rocket-player-list{width:100%;min-width:0}.rocket-view #bet-state .rocket-player-row{width:100%;box-sizing:border-box}.rocket-view #bet-state .rocket-player-info{text-align:left}.rocket-view #bet-state .rocket-player-status{margin-left:auto}

/* Case catalog uses the same neon tunnel atmosphere as tasks. */
.app-shell.cases-view{background:#020604}
.app-shell.cases-view:before{background:linear-gradient(#02060499,#0009),url('assets/rewards-neon.svg') center top/cover no-repeat}
.cases-view .case-sort-toolbar .market-sort{color:#a7c6aa}.cases-view .case-sort-toolbar select{background:#10221eea;border-color:#365945;color:#e4f5e8}
.cases-view .case-catalog-reference .case-tile{background:#101916dd;box-shadow:inset 0 0 0 1px #83bb9426}

.profile-reference .profile-hero>.profile-settings-button{position:absolute;inset:12px 13px auto auto;display:grid;place-items:center;box-sizing:border-box;width:36px;min-width:36px;max-width:36px;height:36px;min-height:36px;padding:7px;margin:0;border-radius:50%;line-height:0;flex:none;transform:none}.profile-reference .profile-settings-button>.icon{display:block;width:22px;height:22px;margin:0;fill:none;stroke:currentColor;stroke-width:1.7;transform:none}

/* Complete, scalable currency silhouettes on all controls. */
.coin{background-image:url("assets/gram.svg?v=2")}
.star-coin{background-image:url("assets/currency-star-solid.svg");background-size:contain;background-position:center;background-repeat:no-repeat}

.coin{background-image:url('assets/gram.svg?v=3')}
.history-reference{padding-bottom:20px}.history-sort{background:none;color:#aaa;font-size:12px;padding:0 0 14px}.history-filters{display:flex;gap:6px;overflow:auto;scrollbar-width:none;margin:0 0 16px;padding-bottom:4px}.history-filters button{flex:none;background:#242424;color:#aaa;border-radius:99px;padding:7px 11px;font-size:11px}.history-filters button.active{background:#414141;color:white}.history-operation-list{display:grid;gap:8px}.history-operation{background:#1c1c1e;border-radius:17px;padding:12px}.history-operation-main{display:flex;gap:8px;align-items:center}.history-operation-icon{width:29px;height:29px;display:grid;place-items:center;background:#2a2a2e;border-radius:50%;color:#777;flex:none}.history-operation-icon .icon{width:16px;height:16px}.history-operation-main>div{flex:1;min-width:0}.history-operation strong{display:block;font-size:11px;font-weight:500;overflow-wrap:anywhere}.history-operation small{display:block;color:#777;font-size:9px;margin-top:4px}.history-operation b{font-size:12px;white-space:nowrap}.history-operation-detail{display:flex;align-items:center;justify-content:space-between;margin:10px 0 0 37px;font-size:10px;color:#aaa}.history-operation-detail>span{display:flex;align-items:center;gap:5px}.history-operation .coin,.history-operation .star-coin{width:11px;height:11px}

/* Refined transaction list with distinct operation types and date groups. */
.history-reference>.page-head{margin-bottom:9px}.history-sort{display:flex;align-items:center;gap:5px;color:#9a9da7;font-size:11px;margin:0 0 4px}.history-filters{gap:7px;margin-bottom:10px;scroll-padding:8px}.history-filters button{border:1px solid #33343a;background:#202125;padding:7px 11px;font-weight:500}.history-filters button.active{background:#313c4b;border-color:#4a6b92;color:#eaf4ff}
.history-operation-list{gap:8px}.history-day{font-size:11px;font-weight:500;color:#808691;margin:15px 3px 3px;text-transform:capitalize}.history-operation{padding:12px;border:1px solid #2c2e34;border-radius:17px;background:linear-gradient(125deg,#202125,#18191d);box-shadow:0 3px 9px #0002}.history-operation-main{align-items:center;gap:10px}.history-operation-icon{width:34px;height:34px;background:#263344;color:#81b7f5;font-size:24px;font-weight:500}.history-deposit .history-operation-icon{background:#183a2d;color:#66dba6}.history-withdraw .history-operation-icon{background:#3a2b1b;color:#e5b975}.history-sale .history-operation-icon{background:#30253f;color:#c4a0f1}.history-operation strong{font-size:12px;line-height:1.4;color:#e4e6eb;font-weight:550}.history-operation small{font-size:10px;color:#858a95;margin-top:3px}.history-operation-main>b{font-size:13px;font-weight:650;color:#f0f0f3}.history-operation-main>b.positive{color:#66dba6}.history-operation-detail{border-top:1px solid #ffffff09;margin:10px 0 0 44px;padding-top:9px;font-size:10px;color:#9299a6}.history-operation-detail>span:first-child .coin{width:13px;height:13px}.history-operation-detail>span:last-child{color:#b4b9c4}

/* Owned gift sheet matches the purchase sheet. */
#owned-gift-dialog{box-sizing:border-box;width:min(420px,94vw);max-height:90dvh;padding:14px 16px 18px;border:1px solid #343434;border-radius:28px;background:#191919;overflow:auto}
#owned-gift-dialog>.dialog-head{position:absolute;top:12px;right:12px;z-index:2}#owned-gift-dialog>.dialog-head>span{display:none}
#owned-gift-body>.panel-grip{width:72px;height:4px;background:#424242;border-radius:9px;margin:0 auto 22px}
#owned-gift-body>h2{text-align:center;font-size:27px;line-height:1.25;font-weight:500;margin:12px 26px;overflow-wrap:anywhere}
#owned-gift-body>.owned-model{text-align:center;color:#aaa;font-size:17px;margin:0 0 20px}
#owned-gift-body .owned-detail-art{display:grid;place-items:center;box-sizing:border-box;width:70%;aspect-ratio:1;background:#303030;border-radius:24px;margin:0 auto 18px;padding:20px}
#owned-gift-body .owned-detail-art .tg-gift-art{width:100%;height:100%;display:grid;place-items:center}#owned-gift-body .owned-detail-art img{width:100%;height:100%;max-height:150px;object-fit:contain}
#owned-gift-body>.owned-gift-value{text-align:center;color:#aaa;font-size:14px;margin:0 0 22px}
#owned-gift-body .inventory-prize-actions{display:flex;gap:9px;width:100%;margin:0;box-sizing:border-box}#owned-gift-body .inventory-prize-actions>button{flex:1;min-width:0;box-sizing:border-box;min-height:44px;padding:10px 5px;border-radius:14px;font-size:15px;margin:0}#owned-gift-body .inventory-prize-actions>.secondary{background:#2a2a2d;border:1px solid #414147;color:#eee}#owned-gift-body .prize-claim-button{background:#168bff;color:white}.currency-stars #owned-gift-body .prize-claim-button{background:#f4df24;color:#171717}
.owned-inventory-link{display:block;margin:12px auto 0;background:transparent;color:#aaa;font-size:12px}

/* Compact crash rows and settled-bet payout treatment. */
.rocket-view #bet-state .rocket-player-row{min-height:60px;padding:9px 11px;gap:9px;border-radius:17px;background:#1b1b1d;border:1px solid #27272c}
.rocket-view #bet-state .rocket-player-row>.person-avatar{width:36px;height:36px;flex-basis:36px;border-width:1.5px;box-shadow:none}
.rocket-player-name{display:flex;align-items:center;gap:7px;min-width:0}.rocket-view #bet-state .rocket-player-info strong{font-size:13px;min-width:0}.rocket-view #bet-state .rocket-player-info small{font-size:12px;margin-top:5px}.rocket-view #bet-state .rocket-player-row>.rocket-player-status{font-size:13px;gap:5px}
.rocket-cashout-multiplier{display:inline-block;flex:none;font-size:10px;color:#c6c6ca;padding:3px 5px;border:1px solid #3a3a3f;border-radius:6px;background:#242426;line-height:1}
.rocket-view #bet-state .rocket-player-status.cashed{color:#25cc71;font-weight:700}.rocket-player-status.cashed .coin,.rocket-player-status.cashed .star-coin{width:12px;height:12px;filter:none;background:#25cc71;mask:url('assets/gram.svg?v=3') center/contain no-repeat;-webkit-mask:url('assets/gram.svg?v=3') center/contain no-repeat}
.rocket-paid-icon{display:grid;place-items:center;width:13px;height:13px;border-radius:50%;background:#25cc71;color:#153623;font-size:11px;font-weight:800;line-height:1}
.rocket-view #bet-state .rocket-player-status.cashed .star-coin{mask-image:url("assets/currency-star-solid.svg");-webkit-mask-image:url("assets/currency-star-solid.svg")}

/* Equal player lanes and result reveal only after the puck has stopped. */
.arena-sectors{flex-direction:row}.arena-live-table.finished:not(.settled) .arena-result{display:none}.arena-live-table.finished:not(.settled) .arena-sector.winner{box-shadow:inset 0 0 0 1px #ffffff30}.arena-live-table .arena-puck{box-shadow:0 0 0 5px #ffffff18,0 0 12px #fff8}

/* Weighted two-dimensional player regions with a minimum visible area. */
.arena-sectors{display:block;gap:0}.arena-sector{position:absolute;box-sizing:border-box;border:2px solid #0b101a;border-radius:14px;min-width:0;min-height:0;overflow:hidden}.arena-sector>div{padding:5px;gap:3px}.arena-sector .person-large{width:clamp(24px,7vw,42px);height:clamp(24px,7vw,42px);font-size:14px}.arena-sector small{font-size:8px;padding:3px}.arena-sector strong{font-size:9px}

/* Convex polygon fields tile the complete arena without rectangular corners. */
.arena-sector{border:0;border-radius:0;box-shadow:inset 0 0 15px #ffffff12}.arena-sector>div{width:max-content;max-width:100%;min-width:0}.arena-sector.winner{background-color:var(--sector);filter:brightness(1.2)}.arena-live-table.finished:not(.settled) .arena-sector.winner{filter:none}

.arena-player-list{gap:8px}.arena-participant{min-height:61px;padding:10px 12px;gap:10px;border-radius:17px;border:1px solid #292c34;background:#1b1b1d;box-sizing:border-box}.arena-participant>.person-avatar{width:36px;height:36px;flex:0 0 36px;border:1.5px solid #4ab3db;border-radius:50%}.arena-participant>strong{font-size:13px;font-weight:600}.arena-participant>span:not(.person-avatar){font-size:12px;white-space:nowrap}.arena-participant>small{font-size:11px;white-space:nowrap}.arena-participant .coin,.arena-participant .star-coin{width:12px;height:12px}

.free-case-subscribe{display:block;text-align:center;padding:12px;margin:0 0 8px;border:1px solid #388fd4;border-radius:13px;background:#153e5f;color:#d7edff;font-size:14px;font-weight:600;text-decoration:none}.free-case-note{font-size:11px;color:#aaa;line-height:1.5;margin:0 0 18px}
.gift-case-page .case-loot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.gift-case-page .case-loot-grid .gift-drop{position:relative;display:flex;flex-direction:column;align-items:center;min-width:0;padding:9px 5px;background:#242426;border-radius:13px}.case-loot-grid .loot-price{font-size:11px;color:#eee;white-space:nowrap}.case-loot-grid .loot-model{font-size:8px!important;color:#888!important;margin:3px 0 6px}.gift-case-page .case-loot-grid .loot-image{display:grid;place-items:center;width:100%;height:68px;background:#303032;border-radius:10px}.case-loot-grid .loot-image .tg-gift-art,.case-loot-grid .loot-image img{width:49px;height:49px;object-fit:contain}.gift-case-page .case-loot-grid .gift-drop strong{font-size:8px;line-height:1.3;text-align:center;max-width:100%;margin:6px 0 3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gift-case-page .case-loot-grid .chance{position:static;font-size:8px;padding:2px 5px;color:#aeb4bf;background:#33343b;border-radius:5px}.case-loot-grid .loot-price .coin,.case-loot-grid .loot-price .star-coin{width:10px;height:10px}
.idle-preview .preview-gift .tg-gift-art,.idle-preview .preview-gift .tg-gift-art img{width:57px;height:57px;object-fit:contain}.case-stage .roll-item>.tg-gift-art,.case-stage .roll-item .tg-gift-art img{width:57px;height:57px;object-fit:contain}.ticket-cell .tg-gift-art,.ticket-cell .tg-gift-art img,.ticket-cell>img{width:62px;height:62px;object-fit:contain}

.free-case-subscribe{display:flex;align-items:center;gap:10px;background:#232323;border:1px solid #303030;color:#f2f2f2;border-radius:13px;padding:14px 12px;text-align:left;font-size:13px}.free-case-subscribe>.icon{width:21px;height:21px;flex:none}.free-case-subscribe>span{flex:1;min-width:0}.free-case-subscribe>b{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#168bff;color:#10263c;font-size:17px;line-height:1;flex:none}
.gift-case-page .case-loot-grid .gift-drop{background:transparent;border:0;padding:5px 2px;box-shadow:none}.gift-case-page .case-loot-grid .loot-image{height:72px;border-radius:12px;background:#303030}.gift-case-page .case-loot-grid .loot-price{font-size:10px}.gift-case-page .case-loot-grid .loot-image .tg-gift-art,.gift-case-page .case-loot-grid .loot-image img{width:44px!important;height:44px!important;max-width:44px;max-height:44px;object-fit:contain}.gift-case-page .case-loot-grid{gap:9px}
.case-stage .preview-gift .tg-gift-art,.case-stage .preview-gift .tg-gift-art img,.case-stage .roll-item .tg-gift-art,.case-stage .roll-item .tg-gift-art img{width:48px!important;height:48px!important;max-width:48px;max-height:48px;object-fit:contain}.ticket-page .ticket-cell .tg-gift-art,.ticket-page .ticket-cell .tg-gift-art img,.ticket-page .ticket-cell>img{width:52px!important;height:52px!important;max-width:52px;max-height:52px;object-fit:contain}

.case-live-feed{display:flex;align-items:center;gap:18px;overflow-x:auto;scrollbar-width:none;min-height:79px;padding:4px 1px 12px;margin:0 -3px 12px;border-bottom:1px solid #72b28b25}.case-feed-item{display:flex;align-items:center;gap:7px;flex:0 0 160px;min-width:0}.case-feed-gift{display:grid;place-items:center;flex:none;width:58px;height:58px}.case-feed-gift .tg-gift-art,.case-feed-gift img{width:58px;height:58px;object-fit:contain}.case-feed-item>div{min-width:0}.case-feed-item strong{display:block;color:#3fe887;font-size:12px;max-width:95px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:7px}.case-feed-origin{display:flex;align-items:center;gap:5px}.case-feed-origin .person-avatar{width:20px;height:20px;flex:none;font-size:9px}.case-feed-origin small{color:#a3a9a5;font-size:9px;max-width:70px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.case-feed-empty{font-size:11px;color:#9caea2;padding:12px 5px}

.case-live-feed{gap:9px;padding:5px 2px 13px}.case-feed-item{box-sizing:border-box;flex:0 0 184px;min-height:77px;padding:8px 10px;border:1px solid #3f785955;border-radius:16px;background:linear-gradient(120deg,#13291feb,#0d1715ed);box-shadow:inset 0 1px #a6edbd0a,0 3px 9px #0003}.case-feed-gift,.case-feed-gift .tg-gift-art,.case-feed-gift img{width:53px;height:53px}.case-feed-item strong{max-width:100px}.case-feed-origin small{max-width:76px}

/* Compact frameless live drops. */
.case-live-feed{gap:12px;min-height:65px;padding:3px 1px 9px}.case-feed-item{flex:0 0 151px;min-height:56px;padding:3px 1px;gap:7px;border:0;border-radius:0;background:transparent;box-shadow:none}.case-feed-gift,.case-feed-gift .tg-gift-art,.case-feed-gift img{width:43px;height:43px}.case-feed-item strong{font-size:11px;margin-bottom:5px;max-width:93px}.case-feed-origin .person-avatar{width:17px;height:17px;font-size:8px}.case-feed-origin small{font-size:8px;max-width:71px}

/* Game-card finish: static light and material detail; original art animations untouched. */
.game-grid .game-card{--card-glow:77,159,255;border-color:rgba(var(--card-glow),.42);box-shadow:inset 0 1px 0 #ffffff1c,inset 0 0 0 1px #ffffff04,0 5px 15px #0004}
.game-grid .game-card[data-go="arena"]{--card-glow:96,149,255}.game-grid .crash-demo-card{--card-glow:36,195,229}.game-grid .case-card{--card-glow:234,159,75}.game-grid .inventory-card{--card-glow:165,116,255}
.game-card-finish{position:absolute;inset:0;z-index:0;pointer-events:none;border-radius:inherit;background:radial-gradient(ellipse at 85% 8%,rgba(var(--card-glow),.27),transparent 45%),radial-gradient(ellipse at 10% 65%,rgba(var(--card-glow),.12),transparent 48%),linear-gradient(125deg,#ffffff0c,transparent 30%,transparent 75%,rgba(var(--card-glow),.1));box-shadow:inset 0 0 18px rgba(var(--card-glow),.08)}
.game-card-finish:before{content:'';position:absolute;left:9%;right:16%;top:6px;height:1px;background:linear-gradient(90deg,transparent,rgba(var(--card-glow),.7),transparent);opacity:.75}
.game-grid .game-card .card-label{z-index:2}.game-grid .game-card .card-label h2{text-shadow:0 2px 8px #000b,0 0 17px rgba(var(--card-glow),.25);font-weight:750}.game-grid .game-card .card-tags{background:#142033c9;border:1px solid rgba(var(--card-glow),.22);box-shadow:inset 0 1px #ffffff09;color:#edf4ff;gap:7px}

.upgrade-home-entry{display:flex;align-items:center;gap:13px;width:100%;padding:17px;margin:12px 0;border:1px solid #6d5a9966;border-radius:21px;background:radial-gradient(ellipse at 90% 10%,#6947b755,transparent 70%),#151326;text-align:left}.upgrade-home-entry>span{font-size:36px;color:#b69aff}.upgrade-home-entry>div{flex:1}.upgrade-home-entry b{font-size:21px}.upgrade-home-entry small{display:block;color:#a8a0bd;font-size:11px;margin-top:5px}.upgrade-home-entry>strong{font-size:27px;color:#b69aff}
.upgrade-page{padding-bottom:25px}.upgrade-wheel{position:relative;width:min(270px,85%);aspect-ratio:1;margin:22px auto;border-radius:50%;background:conic-gradient(from 0deg,#49dbab 0deg var(--chance),#222533 var(--chance) 360deg);border:8px solid #151823;box-shadow:0 0 0 1px #4b526b,0 0 35px #61d9ba15}.upgrade-wheel-center{position:absolute;inset:19px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;border-radius:50%;background:radial-gradient(#252a42,#11131d);border:1px solid #ffffff1c}.upgrade-wheel-center img{width:110px;height:110px;object-fit:contain}.upgrade-wheel-center strong{font-size:26px;color:#a5f5d8}.upgrade-pointer{position:absolute;inset:-6px;border-radius:50%;pointer-events:none;will-change:transform}.upgrade-pointer i{position:absolute;top:-11px;left:calc(50% - 10px);width:20px;height:27px;background:white;clip-path:polygon(0 0,100% 0,50% 100%);filter:drop-shadow(0 0 4px white)}.upgrade-result{text-align:center;min-height:36px;color:#9da6bd;font-size:12px;line-height:1.5}.upgrade-result.won{color:#58dfaa}.upgrade-result.lost{color:#ed97a8}.upgrade-card{background:#1b1d25;border:1px solid #353847;padding:16px;border-radius:22px}.upgrade-card label{display:block;font-size:12px;color:#aeb4c5;margin-bottom:14px}.upgrade-card select{display:block;width:100%;box-sizing:border-box;padding:11px;background:#282b36;border:1px solid #414658;border-radius:12px;color:white;font-size:14px;margin-top:7px}.upgrade-card input[type=range]{display:block;width:100%;margin:15px 0;accent-color:#56d8b2}.upgrade-chances{display:flex;gap:6px;margin:15px 0}.upgrade-chances button{flex:1;padding:10px 0;border-radius:12px;background:#2b2e3b;color:#aeb5c8}.upgrade-chances button.active{background:#377f6c;color:white}.upgrade-quote{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #ffffff12;padding:15px 0;font-size:13px}.upgrade-help{font-size:11px;color:#a1aec3;line-height:1.6}.upgrade-card>.primary{width:100%;padding:14px;font-size:17px;border-radius:14px}.upgrade-market-link{background:none;color:#83b8f4;padding:8px 0;font-size:11px}.upgrade-source-art{display:flex;align-items:center;gap:10px;font-size:12px}.upgrade-source-art .tg-gift-art,.upgrade-source-art img{width:45px;height:45px;object-fit:contain}

.upgrade-setup{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) minmax(0,1fr);gap:9px;align-items:center;margin:24px 0 12px}.upgrade-setup .upgrade-wheel{width:100%;margin:0;border-width:5px}.upgrade-setup .upgrade-wheel-center{inset:11px}.upgrade-setup .upgrade-wheel-center strong{font-size:22px}.upgrade-setup .upgrade-pointer{inset:-4px}.upgrade-setup .upgrade-pointer i{width:14px;height:18px;left:calc(50% - 7px);top:-8px}.upgrade-item-slot{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;min-width:0;min-height:122px;padding:10px 5px;border:1px dashed #4d5367;border-radius:17px;background:#191c28;color:#ccd4e5}.upgrade-item-slot .tg-gift-art,.upgrade-item-slot img{width:65px;height:65px;object-fit:contain;max-width:100%}.upgrade-item-slot strong{font-size:10px;line-height:1.3;max-width:100%;overflow-wrap:anywhere}.upgrade-slot-empty{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#252a3a;color:#9ca9c4;font-size:32px}.upgrade-slot-empty .coin,.upgrade-slot-empty .star-coin{width:29px;height:29px}.upgrade-card select:disabled{opacity:.45}

/* Upgrader layout based on the supplied reference. */
.upgrade-reference{background:#1b1d31;padding:0 8px 20px;margin:0 -8px;border-radius:19px;min-height:calc(100dvh - 155px)}.upgrade-reference>.page-head{padding:12px 4px 0}.upgrade-category{text-align:center;margin:5px 0 9px;padding:9px;background:#292c47;border:1px solid #444966;border-radius:99px;color:#deddf4;font-size:12px}.upgrade-category .icon{width:15px;height:15px;vertical-align:middle;margin-right:5px}.upgrade-reference-stage{padding:23px 0 9px}.upgrade-reference .upgrade-wheel{width:175px;margin:0 auto;border:7px solid #292e46;outline:1px dashed #535c7b;outline-offset:6px;box-shadow:0 0 0 12px #22263a,0 0 28px #2d355d33;background:conic-gradient(#efce66 0deg var(--chance),#30354e var(--chance) 360deg)}.upgrade-reference .upgrade-wheel-center{inset:13px;padding:10px;color:#ced2e7;border:1px solid #4b5275;box-shadow:inset 0 0 15px #6379b320;background:radial-gradient(#303751,#23283e);cursor:pointer}.upgrade-reference .upgrade-wheel-center img{width:78px;height:78px;object-fit:contain}.upgrade-reference .upgrade-wheel-center strong{font-size:11px;line-height:1.3;color:#d4d9ec;font-weight:600}.upgrade-target-plus{display:grid;place-items:center;width:49px;height:49px;border:1px solid #576080;border-radius:50%;font-size:30px;color:#b9c3e3}.upgrade-reference .upgrade-pointer i{background:linear-gradient(#fff5bb,#e9be50);width:17px;height:25px;left:calc(50% - 8.5px);top:-15px}.upgrade-reference-chance{text-align:center;font-size:13px;color:#b5bddc;margin:15px 0}.upgrade-reference-chance strong{color:#e6eaff;margin-left:5px}.upgrade-select-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;position:relative}.upgrade-select-pair>button{min-width:0;min-height:76px;padding:9px;border:1px solid #454a69;border-radius:14px;background:linear-gradient(#2c304c,#252a43);text-align:left}.upgrade-select-pair small{display:block;color:#a5afcf;font-size:10px;margin-bottom:7px}.upgrade-select-pair button>span{display:flex;align-items:center;gap:7px;min-width:0}.upgrade-select-pair button b{display:grid;place-items:center;width:29px;height:29px;flex:none;border:1px solid #4e587b;border-radius:50%;font-size:21px;color:#a7b5dc}.upgrade-select-pair .tg-gift-art,.upgrade-select-pair img{width:32px;height:32px;object-fit:contain;flex:none}.upgrade-select-pair strong{font-size:11px;color:#dfe4f8;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upgrade-select-pair em{display:block;font-size:8px;font-weight:400;font-style:normal;color:#9da8ca;margin-top:4px}.upgrade-select-pair>i{position:absolute;left:calc(50% - 11px);top:calc(50% - 11px);width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#1e2236;border:1px solid #4c5575;color:#cbd4f5;font-size:12px;font-style:normal;pointer-events:none}.upgrade-multipliers{display:flex;align-items:center;gap:6px;margin:8px 0}.upgrade-multipliers button{padding:7px 12px;border-radius:9px;background:#2b304b;color:#dce2f9;font-size:11px}.upgrade-multipliers button:last-child{margin-left:auto;background:none;color:#efce66;padding-right:1px}.upgrade-reference .upgrade-card{background:transparent;border:0;padding:0}.upgrade-reference .upgrade-chances{margin:9px 0}.upgrade-reference .upgrade-chances button{padding:7px;font-size:11px;background:#292e48}.upgrade-reference .upgrade-chances button.active{background:#edce66;color:#252538}.upgrade-reference .upgrade-card input[type=range]{margin:8px 0 14px;accent-color:#edce66}.upgrade-reference .upgrade-quote{padding:10px;font-size:11px;border:1px solid #3d4464;border-radius:12px;background:#272c45;margin-bottom:9px}.upgrade-reference .upgrade-card>.primary{background:#333a5a;border:1px solid #4b557d;min-height:44px;font-size:15px;color:#e7eaf8;padding:11px}.upgrade-reference .upgrade-card>.primary:disabled{opacity:.45}.upgrade-reference .upgrade-result{min-height:16px;margin:8px 0;font-size:11px}
#upgrade-picker-dialog{background:#1b1e30;border:1px solid #454c6a;border-radius:24px;width:min(430px,94vw);max-height:83dvh;padding:14px;overflow:auto}#upgrade-picker-body h2{font-size:20px;font-weight:600;margin:0 0 18px}.upgrade-picker-tabs{display:flex;gap:5px;padding:4px;background:#24283e;border-radius:12px;margin-bottom:9px}.upgrade-picker-tabs button{flex:1;padding:10px 5px;border-radius:9px;background:transparent;color:#aab3d0;font-size:12px}.upgrade-picker-tabs button.active{background:#41496e;color:white}.upgrade-balance-choice{width:100%;padding:9px;background:#28334b;border:1px solid #455b80;border-radius:10px;margin-bottom:12px;font-size:12px}.upgrade-picker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.upgrade-picker-grid>button{min-width:0;background:#292e46;padding:9px 5px;border:1px solid #3c4465;border-radius:12px}.upgrade-picker-grid .tg-gift-art,.upgrade-picker-grid img{width:64px;height:64px;max-width:100%;object-fit:contain;margin:auto}.upgrade-picker-grid strong{display:block;font-size:9px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:6px 0;color:#e5eafb}.upgrade-picker-grid small{font-size:9px;color:#a4b7da}.upgrade-picker-grid .empty{grid-column:1/-1}

/* Horizontal gift reel matching the supplied motion reference. */
.upgrade-reference-stage{padding:20px 0 8px}.upgrade-reel-window{position:relative;overflow:hidden;height:190px;border:1px solid #3a405c;border-radius:20px;background:radial-gradient(ellipse at 50% 100%,#33335444,transparent 70%),#101322;box-shadow:inset 0 1px #ffffff0b}.upgrade-reel-track{position:absolute;top:25px;left:0;display:flex;gap:12px;width:max-content;will-change:transform;transform:translateX(-105px)}.upgrade-reel-card{position:relative;display:grid;place-items:center;flex:0 0 112px;width:112px;height:139px;overflow:hidden;border-radius:16px;border:1px solid #555e7926;background:linear-gradient(#242e49,#141b30);isolation:isolate}.upgrade-reel-card img{position:relative;z-index:1;width:86px;height:86px;object-fit:contain;filter:drop-shadow(0 9px 5px #0005)}.upgrade-reel-beam{position:absolute;inset:0;background:linear-gradient(110deg,transparent 20%,#91b1ff20 45%,transparent 70%);clip-path:polygon(36% 0,65% 0,100% 100%,0 100%)}.upgrade-reel-marker{position:absolute;left:calc(50% - 6px);top:0;bottom:0;width:12px;z-index:3;pointer-events:none}.upgrade-reel-marker:before,.upgrade-reel-marker:after{content:'';position:absolute;left:0;border-left:6px solid transparent;border-right:6px solid transparent}.upgrade-reel-marker:before{top:0;border-top:8px solid #f1cc61}.upgrade-reel-marker:after{bottom:0;border-bottom:8px solid #f1cc61}.upgrade-reel-empty{font-size:45px;color:#8592b6}.upgrade-reel-window.reel-won{border-color:#edc760;box-shadow:0 0 18px #d9af482f}.reel-won .result-card{border-color:#f4d369;background:radial-gradient(ellipse at 50% 0%,#b08131aa,transparent 80%),#252434;box-shadow:0 0 18px #edc76044}.reel-lost .result-card{border-color:#bf6879}.upgrade-reel-final{display:grid;place-items:center;height:190px;border:1px solid #4a516a;border-radius:20px;background:radial-gradient(ellipse at 50% 20%,#56506a55,transparent 75%),#111522}.upgrade-reel-final img{width:123px;height:123px;object-fit:contain;filter:drop-shadow(0 10px 8px #0005)}.upgrade-reel-final.reel-won{border-color:#edc760;box-shadow:0 0 18px #edc76025;background:radial-gradient(ellipse at 50% 0%,#9c793b66,transparent 75%),#111522}.upgrade-reel-final>span{font-size:65px;color:#d68b9d}

/* Reference upgrade wheel: side gifts, graduated dial, gold arc and orbiting pointer. */
.upgrade-film-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.7fr) minmax(0,1fr);align-items:center;gap:8px;padding:19px 0 15px;min-height:185px;border:1px solid #4a48604d;border-radius:19px;background:radial-gradient(ellipse at 50% 90%,#282c4c66,transparent 75%),linear-gradient(#101221,#151b30);box-shadow:inset 0 1px #ffffff09,0 8px 18px #0002}.upgrade-film-item{display:grid;place-items:center;min-width:0;height:126px;padding:6px;background:linear-gradient(140deg,#31385655,#151a2d);border-radius:13px;overflow:hidden}.upgrade-film-item .tg-gift-art,.upgrade-film-item img{width:100%;height:auto;max-height:91px;object-fit:contain;filter:drop-shadow(0 7px 7px #0004)}.upgrade-film-item>.coin,.upgrade-film-item>.star-coin{width:42px;height:42px}.upgrade-film-item>span:not(.tg-gift-art):not(.coin):not(.star-coin){font-size:30px;color:#8a95b8}.upgrade-film-wheel{position:relative;aspect-ratio:1;width:100%;min-width:0}.upgrade-ring-art{display:block;width:100%;height:100%;overflow:visible}.upgrade-ring-ticks{stroke:#64718e;stroke-width:1;opacity:.45}.upgrade-ring-track{fill:none;stroke:#232d45;stroke-width:11}.upgrade-ring-chance{fill:none;stroke-width:10;stroke-linecap:round;filter:drop-shadow(0 0 3px #efca5d88)}.upgrade-film-center{position:absolute;inset:30%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.upgrade-film-center>svg{width:36px;height:36px;fill:none;stroke:#edc557;stroke-width:7;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 2px #745c28)}.upgrade-film-center strong{color:#efdb80;font-size:17px;line-height:1}.upgrade-orbit-pointer{position:absolute;inset:0;border-radius:50%;pointer-events:none;will-change:transform}.upgrade-orbit-pointer i{position:absolute;left:calc(50% - 5px);top:4%;width:10px;height:13px;background:#fff;clip-path:polygon(0 0,100% 0,50% 100%);filter:drop-shadow(0 0 4px #fff)}.wheel-win .upgrade-ring-chance{filter:drop-shadow(0 0 7px #ffe790)}.wheel-loss .upgrade-film-center strong{color:#d69aa8}.upgrade-reference .upgrade-reference-stage{padding-top:14px}.upgrade-reference .upgrade-card>.primary{background:linear-gradient(#ffe784,#e7b32f);color:#32230a;border-color:#f9d875;box-shadow:inset 0 1px #fff8}

.upgrade-add-label{display:block;font-size:11px;color:#abb5d1;margin:12px 0}.upgrade-add-label input{display:block;box-sizing:border-box;width:100%;padding:10px;margin-top:7px;border:1px solid #4b557a;border-radius:11px;background:#252c45;color:#fff;font-size:16px}.upgrade-picker-sort{display:flex;align-items:center;justify-content:flex-end;color:#a8b4d0;font-size:12px;margin:10px 0}.upgrade-picker-sort select{background:#29314a;color:#d9e0f4;border:1px solid #465272;border-radius:9px;padding:8px;font-size:12px}.upgrade-ring-chance{stroke-linecap:butt}

#upgrade-picker-dialog{box-sizing:border-box;overflow-x:hidden;overflow-y:auto;scrollbar-width:none;overscroll-behavior:contain}#upgrade-picker-dialog::-webkit-scrollbar{display:none;width:0;height:0}#upgrade-picker-body{min-width:0;max-width:100%;box-sizing:border-box}.upgrade-picker-grid{min-width:0;width:100%;box-sizing:border-box}.upgrade-picker-grid>button{box-sizing:border-box;max-width:100%}

/* Keep gift cutouts isolated and centered inside their card bounds. */
.upgrade-film-item{position:relative;isolation:isolate;box-sizing:border-box;overflow:hidden;align-content:center}.upgrade-film-item>.tg-gift-art{display:grid;place-items:center;width:100%;height:86px;margin:0;padding:0;background:none;border:0;line-height:0}.upgrade-film-item img,.upgrade-film-item>.tg-gift-art>img{display:block;width:68px;height:78px;max-width:100%;max-height:86px;object-fit:contain;margin:auto;position:static;transform:none;filter:drop-shadow(0 5px 5px #0003)}.upgrade-select-pair button>span{overflow:hidden;box-sizing:border-box}.upgrade-select-pair .tg-gift-art{display:grid;place-items:center;width:30px;height:34px;flex:0 0 30px;overflow:hidden;line-height:0;background:transparent}.upgrade-select-pair .tg-gift-art img{width:30px;height:32px;max-width:30px;max-height:32px;object-fit:contain;transform:none;margin:0}.upgrade-picker-grid>button:disabled{opacity:.3;filter:grayscale(.6)}

.daily-case-banner{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;min-height:157px;padding:18px 14px;margin:0 0 14px;overflow:hidden;text-align:left;border:1px solid #e469b53b;border-radius:21px;background:radial-gradient(ellipse at 85% 50%,#f329b16b,transparent 65%),linear-gradient(120deg,#301026,#731248 75%,#420c35);box-shadow:inset 0 1px #ffffff0a}.daily-case-copy{position:relative;z-index:1;display:flex;align-items:flex-start;flex-direction:column;gap:10px}.daily-case-copy>small{font-size:11px;color:#ff9bda}.daily-case-copy>strong{font-size:22px;font-weight:550;letter-spacing:-.6px;color:#fff}.daily-case-rewards{display:flex;align-items:center;gap:5px;font-size:9px;color:#f3b9dc;padding:5px 7px;background:#2b0e2b88;border-radius:99px}.daily-case-rewards .icon{width:12px;height:12px}.daily-case-copy>b{background:#d54e9f;border-radius:99px;padding:6px 10px;font-size:11px;font-weight:500;color:white}.daily-case-calendar{position:absolute;right:5px;top:24px;width:116px;height:116px;transform:rotate(14deg);border:7px solid #ffcb37;border-radius:25px;background:linear-gradient(145deg,#fff8fc,#ff75ca);box-shadow:0 0 25px #ff83d555,0 10px 16px #23082066;opacity:.95}.daily-case-calendar svg{display:block;width:100%;height:100%}.daily-case-calendar i{position:absolute;top:-13px;width:15px;height:30px;border-radius:99px;background:#fff1b0;border:3px solid #ffe55b}.daily-case-calendar i:first-child{left:20px}.daily-case-calendar i:nth-child(2){right:20px}.case-category-tabs{display:flex;padding:4px;gap:5px;border:1px solid #45434a;background:#1c1c20;border-radius:99px;margin:3px 0 12px}.case-category-tabs button{flex:1;padding:9px;color:#aaa;background:transparent;border-radius:99px;font-size:12px}.case-category-tabs button.active{background:#3a3a3e;color:white;box-shadow:inset 0 1px #ffffff0b}@media(max-width:350px){.daily-case-copy>strong{font-size:19px}.daily-case-calendar{width:95px;height:95px;right:3px;top:33px}.daily-case-rewards{font-size:8px}}

.case-live-feed{border-bottom:0}

.daily-case-calendar{right:0;top:12px;width:137px;height:137px;border:0;border-radius:0;background:none;box-shadow:none;transform:rotate(11deg);opacity:1;filter:drop-shadow(0 9px 9px #320d3866)}.daily-case-calendar svg{width:100%;height:100%;overflow:visible}@media(max-width:350px){.daily-case-calendar{width:112px;height:112px;top:25px;right:-2px}}

.leaders-page>h1{font-weight:600}.leaders-description{font-weight:500}.leaders-page .season-rules summary,.leaders-page .season-timer{font-weight:550}.leaders-page .podium-name{font-weight:650}.leaders-page .podium-block b{font-weight:650}.leaders-page .podium-block small{font-weight:500}.leaders-page .leader-row strong{font-weight:700}.leaders-page .leader-row small,.leaders-page .leader-place{font-weight:600}

.crash-board #round-history{z-index:5;pointer-events:auto;right:10px;left:10px;width:auto;min-width:0;display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;touch-action:pan-x;isolation:isolate}.crash-board #round-history .history-chip{pointer-events:none;flex:0 0 auto}

.case-daily-region{margin:0 -9px 13px;padding:11px 9px 12px;background:radial-gradient(ellipse at 20% 15%,#e2ff8a,transparent 60%),linear-gradient(140deg,#c2ff46,#8fe32b);border-radius:20px 20px 4px 4px}.case-daily-region .daily-case-banner{background:radial-gradient(ellipse at 85% 45%,#e5ff8b99,transparent 65%),linear-gradient(120deg,#a6ec32,#91db25);border-color:#efffb255;box-shadow:inset 0 1px #ffffff45;margin-bottom:10px}.case-daily-region .daily-case-copy>small{color:#345811}.case-daily-region .daily-case-copy>strong{color:#17380c;font-weight:650}.case-daily-region .daily-case-copy>b{background:#365e19;color:#f1ffd9}.case-daily-region .daily-case-rewards{background:#51832826;color:#365b18}.case-daily-region .case-sort-toolbar .market-sort{color:#35551c}.case-daily-region .case-sort-toolbar select{background:#45652c22;color:#264615;border-color:#52733166}.case-daily-region .case-category-tabs{margin-bottom:0;background:#243c18;border-color:#c4ef9c66}.case-daily-region .case-category-tabs button.active{background:#516e35;color:#fff}.case-daily-region .case-category-tabs button{color:#bbd7a8}
.crash-board #round-history{-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scroll-behavior:auto;touch-action:pan-x;scroll-snap-type:none}

/* Blend the daily promotion into the green catalog atmosphere. */
.case-daily-region{position:relative;isolation:isolate;background:radial-gradient(ellipse at 80% 25%,#8bdc325c,transparent 66%),linear-gradient(180deg,#142b12ed 0%,#244714d9 44%,#10251899 78%,transparent 100%);border-radius:0;margin-top:-2px;padding-bottom:17px}.case-daily-region .daily-case-banner{background:radial-gradient(ellipse at 83% 50%,#b7f35750,transparent 62%);border:0;box-shadow:none;border-radius:0;overflow:visible}.case-daily-region .daily-case-copy>small{color:#b0d78c}.case-daily-region .daily-case-copy>strong{color:#eff7e7;font-weight:550}.case-daily-region .daily-case-copy>b{background:#699c3c;color:#f5ffe9}.case-daily-region .daily-case-rewards{background:#17331999;color:#b5d59e}.case-daily-region .daily-case-calendar{filter:hue-rotate(65deg) saturate(.65) drop-shadow(0 9px 14px #15371377)}.case-daily-region .case-sort-toolbar .market-sort{color:#acc59a}.case-daily-region .case-sort-toolbar select{background:#142519aa;color:#c6ddb8;border-color:#45634088}.case-daily-region .case-category-tabs{background:#191f1b;border-color:#53634a66}.case-daily-region .case-category-tabs button.active{background:#3c4938;color:#f0f7eb}.case-daily-region .case-category-tabs button{color:#93a38c}

.gift-case-page .case-loot-grid{gap:15px 10px}.gift-case-page .case-loot-grid .gift-drop{padding:0 0 3px;position:relative;background:transparent;display:flex;flex-direction:column;align-items:center}.gift-case-page .case-loot-grid .loot-image{width:100%;height:auto;aspect-ratio:1;display:grid;place-items:center;border-radius:15px;background:#303030;margin:0 0 8px;overflow:hidden}.gift-case-page .case-loot-grid .loot-image .tg-gift-art,.gift-case-page .case-loot-grid .loot-image img{width:62px!important;height:62px!important;max-width:78%;max-height:78%;object-fit:contain}.gift-case-page .case-loot-grid .loot-price{display:flex;justify-content:center;align-items:center;gap:4px;font-size:14px;line-height:1.2;color:#f7f7f7;font-weight:650;white-space:nowrap}.gift-case-page .case-loot-grid .loot-price .coin,.gift-case-page .case-loot-grid .loot-price .star-coin{width:12px;height:12px;filter:brightness(0) invert(1)}.gift-case-page .case-loot-grid .loot-model{font-size:11px!important;color:#939393!important;line-height:1.2;margin:5px 0 0}.gift-case-page .case-loot-grid .chance{position:absolute;right:5px;top:5px;font-size:8px;background:#171719ad;color:#c3c5cc;padding:3px 4px;border-radius:5px}

.case-daily-region{border-radius:23px;overflow:hidden;margin-left:-5px;margin-right:-5px;background:radial-gradient(ellipse at 83% 23%,#c8ff5a8c,transparent 58%),radial-gradient(ellipse at 25% 45%,#73cb384d,transparent 70%),linear-gradient(180deg,#244313e8,#1a3519b8 75%,#10211766);box-shadow:inset 0 1px #dfff9e1a}.case-daily-region .daily-case-banner{border-radius:18px;background:radial-gradient(ellipse at 83% 47%,#d2ff6840,transparent 65%)}.case-daily-region .daily-case-calendar{filter:hue-rotate(65deg) saturate(.65) drop-shadow(0 0 13px #ceff6377) drop-shadow(0 8px 11px #16301766)}

/* Fixed reference currency badge on game cards, independent of wallet selection. */
.game-grid .game-card:not(.upgrade-game-card) .card-tags{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:#30364ce8;border:0;border-radius:99px;padding:7px 11px;color:#fff;box-shadow:inset 0 1px #ffffff06;backdrop-filter:none;min-height:29px;box-sizing:border-box}.game-grid .game-card:not(.upgrade-game-card) .card-tags>.icon{display:block;width:17px;height:17px;stroke:#fff;stroke-width:2.5}.game-grid .game-card:not(.upgrade-game-card) .card-tags>.coin{display:block;width:18px;height:18px;filter:brightness(0) invert(1);opacity:1}.game-grid .game-card:not(.upgrade-game-card) .card-tags>.star-coin{display:block;width:18px;height:18px;background-image:url('assets/telegram-stars.svg?v=1');filter:brightness(0) invert(1);opacity:1}

.game-grid .game-card:not(.upgrade-game-card) .card-tags{gap:8px;padding:6px 9px;min-height:25px}.game-grid .game-card:not(.upgrade-game-card) .card-tags>.icon{width:14px;height:14px}.game-grid .game-card:not(.upgrade-game-card) .card-tags>.coin,.game-grid .game-card:not(.upgrade-game-card) .card-tags>.star-coin{width:15px;height:15px}.case-currency-badge{display:inline-flex;align-items:center;gap:8px;padding:5px 8px;background:#30364ce8;border-radius:99px;margin:0 0 7px;vertical-align:middle}.case-currency-badge>.coin,.case-currency-badge>.star-coin{display:block;width:13px;height:13px;filter:brightness(0) invert(1);opacity:1}.case-currency-badge>.star-coin{background-image:url('assets/telegram-stars.svg?v=1')}

.gift-withdraw-cooldown{text-align:center;font-size:11px;color:#c2ab80;line-height:1.6;padding:8px;margin:8px 0 0}

.case-demo-toggle{display:flex;margin:0 2px 10px auto;align-items:center;gap:7px}.case-demo-toggle span{font-size:12px}.case-demo-toggle.on{color:#9bceff}

/* Launch screen, independent from game outcome animations. */
.app-loader{position:fixed;inset:0;z-index:9999;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 36%,#18274c,transparent 55%),linear-gradient(#060b25,#030710 80%);color:#eaf1ff}.app-loader[hidden]{display:none}.app-loader-art{position:relative;display:grid;place-items:center;width:170px;height:170px;margin-bottom:18px}.app-loader-art>img{width:95px;height:95px;object-fit:contain;animation:loader-bob 2.4s ease-in-out infinite;filter:drop-shadow(0 8px 18px #55acff25)}.loader-orbit{position:absolute;inset:8px;border:1px solid #749fff26;border-radius:50%;border-top:2px solid #71b7ff;border-bottom:2px solid #816aff;animation:loader-turn 3s linear infinite}.loader-spark{position:absolute;right:12px;top:20px;color:#9bd4ff;font-size:24px}.app-loader>strong{font-size:30px;font-weight:800;letter-spacing:-1px}.app-loader>p{color:#8998b6;font-size:12px;margin:35px 0 12px}.app-loader-progress{width:125px;height:4px;border-radius:99px;background:#293145;overflow:hidden}.app-loader-progress>i{display:block;width:40%;height:100%;border-radius:99px;background:linear-gradient(90deg,#4ea7ff,#a192ff);animation:loader-sweep 1.3s ease-in-out infinite}@keyframes loader-turn{to{transform:rotate(360deg)}}@keyframes loader-bob{50%{transform:translateY(-5px)}}@keyframes loader-sweep{from{transform:translateX(-100%)}to{transform:translateX(350%)}}@media(prefers-reduced-motion:reduce){.app-loader *{animation:none!important}}
/* Use geometry instead of font glyphs for centered selection pluses. */
.upgrade-select-pair button b{position:relative;display:block;box-sizing:border-box;width:29px;height:29px;flex:0 0 29px;padding:0;margin:0;font-size:0;line-height:0;overflow:hidden}.upgrade-select-pair button b:before,.upgrade-select-pair button b:after{content:'';position:absolute;left:50%;top:50%;background:#a7b5dc;border-radius:1px;transform:translate(-50%,-50%)}.upgrade-select-pair button b:before{width:11px;height:2px}.upgrade-select-pair button b:after{width:2px;height:11px}.upgrade-select-pair button>span{align-items:center}.profile-reference .profile-hero>.profile-settings-button{inset:12px 13px auto auto;display:flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;max-width:36px;min-height:36px;max-height:36px;padding:0;box-sizing:border-box;line-height:0;overflow:hidden}.profile-reference .profile-settings-button>.icon{flex:0 0 21px;width:21px;height:21px;max-width:21px;max-height:21px;display:block;stroke-width:1.6;margin:0}

.app-loader{background:linear-gradient(180deg,#050925 0%,#030617 45%,#010204 80%)}.app-loader .app-loader-art{width:min(310px,85vw);height:290px;margin:0 0 18px}.app-loader-art>.redo-loader-scene{width:100%;height:100%;animation:none;filter:none;object-fit:contain}.app-loader>p{margin:10px 0 14px;color:#e3e3e8;font-size:11px}.app-loader-progress{width:112px;height:4px;background:#24252e}.app-loader-progress>i{background:#898a9d}

.game-grid .game-card.case-card{--card-glow:95,155,194;border-color:#4b667f;box-shadow:inset 0 1px #ffffff12,0 5px 15px #0004}.game-grid .case-card .game-card-finish{background:radial-gradient(ellipse at 85% 8%,#8bd1ff16,transparent 55%);box-shadow:none}

/* Stronger room contrast without changing the daylight crash card. */
.game-grid .game-card[data-go="arena"]>img,.game-grid .game-card.case-card>img,.game-grid .game-card.upgrade-game-card>img{filter:brightness(1.22) contrast(1.17) saturate(1.23)}.game-grid .game-card[data-go="arena"]:after,.game-grid .game-card.case-card:after,.game-grid .game-card.upgrade-game-card:after{background:linear-gradient(180deg,transparent 35%,#0209181a 58%,#020918a6 100%)}

.depyn-banner>.banner-art{filter:brightness(1.12) contrast(1.16) saturate(1.16)}.depyn-banner .season-copy{z-index:2}.depyn-banner .season-copy h1{text-shadow:0 2px 7px #03081588}

.arena-live-table>.arena-idle-art{opacity:1;filter:brightness(1.13) contrast(1.18) saturate(1.2)}

/* Slightly fuller interface typography, matching the promotional heading. */
body{font-weight:500}button,input,select{font-weight:600}#screen h1,#screen h2,#screen h3{font-weight:700}#screen .market-card h2,#screen .case-tile h3,#screen .profile-title h1,#screen .card-label h2{font-weight:700}.nav-item span,.settings-row,.quest-card p,.profile-reference .wallet-card>span,.profile-reference .profile-actions button,.history-operation strong{font-weight:600}.crash-board .crash-sky{background:url('assets/crash-day-scene.svg') center/100% 100% no-repeat}.crash-board:not(.crashed) .crash-number strong{color:#16364d;font-weight:650;text-shadow:0 1px #ffffff44}.crash-board:not(.crashed) .crash-number>span{color:#31576b;font-weight:600}.crash-board.crashed .crash-number>span{color:#f4c3cc}

.case-balance-art .coin{display:block;width:64px;height:64px;margin:auto;filter:none}

/* Blue reward tunnel and stable, isolated game-card currency glyphs. */
.app-shell.rewards-view,.app-shell.cases-view{background:#020916}
.app-shell.rewards-view:before,.app-shell.cases-view:before{background:linear-gradient(#02091633,#0005),url('assets/rewards-neon-blue.svg?v=1') center top/cover no-repeat}
.rewards-view .bottom-nav,.cases-view .bottom-nav{background:#020916b3;border-top-color:#163e68}
.case-daily-region{background:transparent}
.case-daily-region .daily-case-banner{background:radial-gradient(ellipse at 83% 47%,#8beaff88,transparent 65%),linear-gradient(120deg,#103b65,#15649a);border:1px solid #65cbff55;border-radius:18px;box-shadow:inset 0 1px #c4f4ff25;overflow:hidden}
.case-daily-region .daily-case-copy small,.case-daily-region .daily-case-copy strong{color:#effaff}
.case-daily-region .daily-case-copy b{background:#51b8ed33;color:#e7faff}
.game-grid .game-card .card-tags{flex-wrap:nowrap;white-space:nowrap;width:max-content;max-width:100%;line-height:1}
.game-grid .game-card .card-tags>svg.card-currency-glyph{position:static;display:block;flex:0 0 15px;width:15px;height:15px;min-width:15px;max-width:15px;margin:0;padding:0;transform:none;fill:#fff;stroke:none;filter:none;opacity:1}

.case-daily-region{background:radial-gradient(ellipse at 83% 23%,#60cfff55,transparent 58%),linear-gradient(180deg,#102d50d9,#0a203bb8 75%,#07162a66);box-shadow:inset 0 1px #92dfff22}
.case-daily-region .daily-case-copy>small{color:#b3e7ff}
.case-daily-region .daily-case-copy>strong{color:#effaff}
.case-daily-region .daily-case-copy>b{background:#2983b8;color:#f0fbff}
.case-daily-region .daily-case-rewards{background:#0e345899;color:#c1edff}
.case-daily-region .daily-case-calendar{filter:hue-rotate(175deg) saturate(.65) drop-shadow(0 0 13px #6bd5ff66) drop-shadow(0 8px 11px #07182b66)}
.case-daily-region .case-sort-toolbar .market-sort{color:#b1d8f5}
.case-daily-region .case-sort-toolbar select{background:#102941cc;color:#d5efff;border-color:#447aa388}
.case-daily-region .case-category-tabs{background:#101f31;border-color:#45688a88}
.case-daily-region .case-category-tabs button.active{background:#315c81;color:#f0faff}
.case-daily-region .case-category-tabs button{color:#a6c3df}

/* Homepage promotion is a full-width hero banner, distinct from game tiles. */
.season-banner.depyn-banner{height:215px;margin:0 -10px 16px;border:0;border-radius:0;background:radial-gradient(ellipse at 62% 52%,#11598a88,transparent 70%),#020a17;box-shadow:none;isolation:isolate}
.season-banner.depyn-banner:before{z-index:1;opacity:1;background:linear-gradient(90deg,#020a17cc,transparent 72%),linear-gradient(0deg,#020711,transparent 22%,transparent 88%,#02071188);background-size:auto;pointer-events:none}
.season-banner.depyn-banner .banner-art{object-position:62% center;filter:brightness(1.08) contrast(1.12) saturate(1.1)}
.season-banner.depyn-banner .season-copy{height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:20px 19px}
.season-banner.depyn-banner .season-copy small{color:#99c9ec;letter-spacing:1.8px;font-size:8px}
.season-banner.depyn-banner .season-copy h1{font-size:25px;line-height:1.12;max-width:65%;margin:11px 0 18px;font-weight:800}
.season-banner.depyn-banner .banner-cta{min-height:36px;padding:9px 15px;gap:22px;border-radius:11px;background:#168bff;color:#fff;font-size:12px;box-shadow:0 3px 23px #168bff66,inset 0 1px #bce8ff44}
.rewards-view .referral-program-entry{border-color:#336b9b;background:linear-gradient(130deg,#123b61,#10273e);box-shadow:inset 0 1px #91d4ff14}
.rewards-view .referral-program-entry>.icon{color:#75ceff}
.rewards-view .referral-program-entry small{color:#b0cee5}
.rewards-view .referral-program-entry>strong{color:#d6efff}
@media(max-width:350px){.season-banner.depyn-banner{height:195px}.season-banner.depyn-banner .season-copy h1{font-size:22px;max-width:68%}}

/* Daily-case region reaches the mini-app edges. */
.case-catalog-reference .case-daily-region{width:calc(100% + 20px);max-width:none;margin-left:-10px;margin-right:-10px;padding-left:10px;padding-right:10px;border-radius:0;box-sizing:border-box}
.case-catalog-reference .case-daily-region .daily-case-banner{width:calc(100% + 20px);max-width:none;margin-left:-10px;margin-right:-10px;border-left:0;border-right:0;border-radius:0;padding-left:20px;padding-right:20px;box-sizing:border-box}

/* Reference daily banner: one rounded panel with integrated category tabs. */
.case-catalog-reference .case-daily-region{width:100%;max-width:100%;margin:0 0 13px;padding:10px 7px 9px;border-radius:20px;overflow:hidden;background:radial-gradient(ellipse at 84% 17%,#82dfff88,transparent 62%),linear-gradient(155deg,#1d6593,#102e4b 72%,#0b2035);box-shadow:inset 0 1px #b6eaff22}
.case-catalog-reference .case-daily-region .daily-case-banner{width:100%;max-width:100%;min-height:157px;margin:0 0 8px;padding:12px 9px;background:transparent;border:0;border-radius:15px;box-shadow:none;overflow:hidden}
.case-catalog-reference .case-daily-region .daily-case-calendar{right:0;width:112px;flex:0 0 112px}
.case-catalog-reference .case-daily-region .case-category-tabs{margin:0;border-radius:99px;background:#10253be8;border:1px solid #568abf66;padding:4px}
.case-catalog-reference .case-daily-region .case-category-tabs button{border-radius:99px}
.case-catalog-reference .case-daily-region .case-category-tabs button.active{background:#386789;color:#fff}

.referral-hero{background:radial-gradient(ellipse at 50% 5%,#168bff77,transparent 70%)}
.referral-hero>span{color:#a9d9ff}
.referral-hero h1{color:#edf7ff}
.referral-hero h1 b{color:#65ceff}

/* Larger full-width promotional banner matching the reference proportions. */
.season-banner.depyn-banner{width:calc(100% + 20px);max-width:none;height:clamp(235px,65vw,286px);margin-left:-10px;margin-right:-10px;margin-bottom:15px;border-radius:0;overflow:hidden}
.season-banner.depyn-banner .banner-art{inset:0;width:100%;height:100%;object-fit:cover;object-position:65% center}
.season-banner.depyn-banner .season-copy{padding:27px 20px 65px;justify-content:center}
.season-banner.depyn-banner .season-copy h1{font-size:clamp(24px,6.5vw,29px);max-width:63%;margin:12px 0 10px}
.season-banner.depyn-banner .banner-cta{position:absolute;left:50%;bottom:20px;transform:translateX(-50%);min-height:40px;padding:10px 22px;white-space:nowrap;font-size:13px;box-shadow:0 4px 25px #168bff88,inset 0 1px #bce8ff55}
.season-banner.depyn-banner .banner-cta:active{transform:translateX(-50%) scale(.965)}

/* Cyan neon identity: preserve crisp lettering and the mascot silhouette. */
#promo-open{overflow:visible}
#promo-open .brand-name{color:#effaff;text-shadow:0 0 3px #dff9ff99,0 0 9px #53c5ff88,0 0 18px #168bff66}
#promo-open .brand-name>span{color:#4ac1ff;text-shadow:0 0 3px #91e4ffbb,0 0 9px #25aaffbb,0 0 19px #087fff88}
#promo-open .brand-dog{filter:drop-shadow(0 0 2px #bdefffaa) drop-shadow(0 0 6px #39bdff99) drop-shadow(0 0 12px #087fff77)}

/* Softer task background: keep blue lines behind readable cards. */
.app-shell.rewards-view:before{background:linear-gradient(#02091699,#020711bb),url('assets/rewards-neon-blue.svg?v=1') center top/cover no-repeat}

/* Let the banner continue behind the top game row. */
.season-banner.depyn-banner{margin-bottom:-31px}
.season-banner.depyn-banner .season-copy{padding-bottom:96px}
.season-banner.depyn-banner .banner-cta{bottom:54px}
.season-banner.depyn-banner~.game-grid{position:relative;z-index:2;padding-top:0}

/* Compact hero, retaining the slight overlap behind games. */
.season-banner.depyn-banner{height:clamp(200px,53vw,235px);margin-bottom:-24px}
.season-banner.depyn-banner .season-copy{padding:18px 19px 78px}
.season-banner.depyn-banner .season-copy h1{font-size:clamp(22px,5.8vw,26px);margin:9px 0 8px}
.season-banner.depyn-banner .banner-cta{bottom:42px;min-height:35px;padding:8px 20px;font-size:12px}

/* Prices must not inherit the large gift artwork dimensions. */
.case-stage .preview-gift small,.case-stage .roll-item small{display:inline-flex;align-items:center;justify-content:center;gap:4px;line-height:1.2}
.case-stage .preview-gift small .gram-icon-img,.case-stage .roll-item small .gram-icon-img{display:inline-block!important;width:12px!important;height:12px!important;min-width:12px;max-width:12px!important;max-height:12px!important;margin:0;vertical-align:middle!important;object-fit:contain;flex:0 0 12px}
.case-stage .preview-gift small .coin,.case-stage .preview-gift small .star-coin,.case-stage .roll-item small .coin,.case-stage .roll-item small .star-coin{width:12px;height:12px;flex:0 0 12px;margin:0}
/* Match the detail-page title background to its header. */
.app-shell.case-detail-view{background:#061323}
.app-shell.case-detail-view:before{background:none}
.case-detail-view .topbar{background:#061323}
.case-detail-view #screen,.case-detail-view .gift-case-page,.case-detail-view .gift-case-page>.page-head{background:transparent}

.season-banner.depyn-banner .banner-cta{left:20px;transform:none}
.season-banner.depyn-banner .banner-cta:active{transform:scale(.965)}

/* Keep the case catalog header in the same blue palette as case details. */
.app-shell.cases-view{background:#061323}
.cases-view .topbar{background:#061323}

/* Match the case catalog's neon intensity to the tasks background. */
.app-shell.cases-view:before{background:linear-gradient(#02091699,#020711bb),url('assets/rewards-neon-blue.svg?v=1') center top/cover no-repeat}

/* The catalog background continues visibly behind the logo and wallet. */
.cases-view .topbar{background:transparent;box-shadow:none;backdrop-filter:none}

/* Currency image sizes must remain independent of zero-size icon-only labels. */
.currency-picker.reference-currency-picker>button>img.gram-icon-img,.currency-picker.reference-currency-picker>button>img.star-icon-img{display:block!important;width:22px!important;height:22px!important;min-width:0;max-width:100%;margin:0;object-fit:contain;vertical-align:middle!important;filter:brightness(0) invert(1);opacity:.5}
.currency-picker.reference-currency-picker>button.selected>img{opacity:1}
.currency-picker.reference-currency-picker>button[data-currency="stars"].selected>img.star-icon-img{filter:brightness(0)}
.market-toolbar .currency-picker.reference-currency-picker>button>img{width:16px!important;height:16px!important}
.reference-case-dock .currency-picker.reference-currency-picker>button>img{width:18px!important;height:18px!important}
#market-buy-dialog .currency-picker.reference-currency-picker>button>img{width:16px!important;height:16px!important}
.bet-currency-picker>button>img.gram-icon-img,.bet-currency-picker>button>img.star-icon-img{display:block!important;width:14px!important;height:14px!important;min-width:14px;max-width:14px;margin:0;vertical-align:middle!important;object-fit:contain;filter:brightness(0) invert(1);opacity:.5}
.bet-currency-picker>button.selected>img{opacity:1}
.bet-currency-picker>button[data-bet-currency="stars"].selected>img.star-icon-img{filter:brightness(0)}
.rocket-reference .bet-row{flex-wrap:nowrap;align-items:center}
.rocket-reference .bet-input-wrap>img.gram-icon-img,.rocket-reference .bet-input-wrap>img.star-icon-img{width:12px!important;height:12px!important;flex:0 0 12px}

.owned-gift-art>.exact-gift-art,.owned-detail-art>.exact-gift-art{display:block;width:100%;height:100%;overflow:hidden;border-radius:inherit}
.owned-gift-art>.exact-gift-art>img,.owned-detail-art>.exact-gift-art>img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover}
.unique-gift-traits{margin:8px 0 15px;padding:10px 12px;background:#ffffff07;border:1px solid #ffffff10;border-radius:12px;font-size:12px}
.unique-gift-traits>div{display:flex;justify-content:space-between;gap:12px;padding:5px 0}
.unique-gift-traits dt{color:#9bacbf}.unique-gift-traits dd{margin:0;text-align:right;color:#eef6ff}

.quest-nickname{background:linear-gradient(135deg,#143458,#1c2340);border-color:#385d8a}
.quest-nickname .quest-art{background:#168bff;border-radius:12px;padding:7px}
.nickname-task-help{margin:0 12px 8px;color:#a8bad0;font-size:11px;line-height:1.5}
.free-gift-lock-note{display:block;padding:10px 12px;background:#173553;border:1px solid #35628b;border-radius:12px;color:#c0e2ff;font-size:12px;line-height:1.5}

/* Clip the exact collectible preview itself, including on mobile WebKit. */
.owned-gift-art>.exact-gift-art{border-radius:16px;overflow:hidden;isolation:isolate}
.owned-gift-art>.exact-gift-art>img{border-radius:16px;clip-path:inset(0 round 16px);filter:none}
.owned-detail-art>.exact-gift-art{border-radius:18px;overflow:hidden;isolation:isolate}
.owned-detail-art>.exact-gift-art>img{border-radius:18px;clip-path:inset(0 round 18px);filter:none}

#owned-gift-dialog .gift-telegram-link{display:block;width:100%;padding:11px 14px;margin:0 0 12px;border:1px solid #336695;border-radius:12px;background:#12304c;color:#99d9ff;font-size:13px;text-align:center}

/* Exact gift artwork fills its frame; Telegram viewing is an overlay eye. */
#owned-gift-body .owned-detail-art{position:relative}
#owned-gift-body .owned-detail-art.exact-owned-art{padding:0;border:0;overflow:hidden}
#owned-gift-body .owned-detail-art.exact-owned-art>.exact-gift-art{display:block;width:100%;height:100%;border-radius:18px}
#owned-gift-body .owned-detail-art.exact-owned-art>.exact-gift-art>img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;border-radius:18px}
#owned-gift-body .owned-gift-eye{position:absolute;right:9px;top:9px;z-index:2;display:grid;place-items:center;width:32px;height:32px;padding:7px;margin:0;border:1px solid #ffffff35;border-radius:50%;background:#06132370;backdrop-filter:blur(6px);color:#fff;box-shadow:0 2px 8px #0002}
#owned-gift-body .owned-gift-eye>svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

.season-banner.depyn-banner .banner-cta{bottom:52px;background:#fff;color:#102b45;box-shadow:0 3px 16px #0003,inset 0 1px #ffffff88}

.free-gift-lock-note{background:#303032;border-color:#454549;color:#d4d5db}
#owned-gift-body .free-gift-referral-button{display:block;width:100%;padding:11px 14px;margin:0 0 10px;border:1px solid #48484d;border-radius:12px;background:#343438;color:#fff;font-size:13px;font-weight:600}
.free-gift-referral-link{box-sizing:border-box;width:100%;padding:10px;margin:0 0 10px;border:1px solid #48484d;border-radius:10px;background:#242428;color:#c8dff5;font-size:12px}

/* Solid case surfaces keep the neon page background behind the cards. */
.cases-view .case-catalog-reference .case-tile{background:#1d2229;opacity:1;box-shadow:inset 0 0 0 1px #38424e}
#owned-gift-body .free-gift-lock-note{background:#303032;border-color:#454549;color:#d4d5db;opacity:1}

#owned-gift-body .exact-gift-art{position:relative;overflow:hidden}
.exact-vector-layer{position:absolute;inset:0;background-size:100% 100%;opacity:0;border-radius:18px;overflow:hidden;pointer-events:none}
.exact-vector-layer.ready{opacity:1}
.exact-vector-model{position:absolute;inset:10%;display:block}
.exact-vector-model>svg{width:100%!important;height:100%!important;display:block}

/* Larger loot artwork without scaling price icons or clipping the gifts. */
.gift-case-page .case-loot-grid .loot-image .tg-gift-art{width:74%!important;height:74%!important;max-width:none;max-height:none;display:grid;place-items:center}
.gift-case-page .case-loot-grid .loot-image .tg-gift-art img{width:100%!important;height:100%!important;max-width:100%;max-height:100%;object-fit:contain}
html,body{touch-action:pan-x pan-y}

.arena-fee-note{font-size:11px;line-height:1.5;color:#94a3b8;margin:10px 2px}

/* The games sit on a solid rounded panel overlapping the banner. */
.season-banner.depyn-banner{margin-bottom:-32px}
.season-banner.depyn-banner~.game-grid{position:relative;z-index:2;width:calc(100% + 20px);margin-left:-10px;margin-right:-10px;padding:14px 10px 18px;box-sizing:border-box;background:#000;border-radius:32px 32px 0 0;box-shadow:0 -5px 16px #0003;isolation:isolate}

.season-banner.depyn-banner{transition:height .7s cubic-bezier(.22,.61,.36,1),margin-bottom .7s cubic-bezier(.22,.61,.36,1),opacity .55s ease;transform-origin:top;min-height:0;will-change:height,margin-bottom,opacity}
.app-shell.home-banner-collapsed .season-banner.depyn-banner{height:0;margin-bottom:0;opacity:0;pointer-events:none}
.app-shell.home-banner-collapsed .season-banner.depyn-banner~.game-grid{border-radius:26px 26px 0 0}

/* Follow the finger continuously; animate only the release to an endpoint. */
.app-shell{--home-banner-height:clamp(200px,53vw,235px);--home-banner-progress:0}
.season-banner.depyn-banner{height:calc(var(--home-banner-height) * (1 - var(--home-banner-progress)));margin-bottom:calc(-32px * (1 - var(--home-banner-progress)));opacity:1;transition:height .38s cubic-bezier(.22,.75,.3,1),margin-bottom .38s cubic-bezier(.22,.75,.3,1);overflow:hidden;overflow-anchor:none}
.season-banner.depyn-banner .banner-art{height:var(--home-banner-height)}
.season-banner.depyn-banner .season-copy{height:var(--home-banner-height);box-sizing:border-box}
.season-banner.depyn-banner .banner-cta{top:calc(var(--home-banner-height) - 87px);bottom:auto}
.home-banner-dragging .season-banner.depyn-banner{transition:none}

/* Keep browser scroll anchoring from competing with the collapsing home panel. */
.app-shell:has(.season-banner.depyn-banner){overflow-anchor:none}

.free-case-subscribe>b{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;color:#168bff;font-size:14px;width:20px;height:20px;display:grid;place-items:center}

.withdraw-fee-choice{display:grid;gap:8px;width:100%;margin:15px 0 8px;font-size:13px}.withdraw-fee-choice select{width:100%;padding:12px;border:1px solid #41516b;border-radius:10px;background:#202a3b;color:#fff}#prize-body>small{font-size:11px;color:#a2acbd}

.case-detail-view .case-inline-open.reference-case-dock{border:0;background:transparent;box-shadow:none;padding:0;margin:8px 0 15px}
.free-case-subscribe>b{width:20px;height:20px;background:#168bff!important;border-radius:50%!important;color:#10263c;font-size:13px;box-shadow:none!important}

/* Outline actual sector polygons instead of clipped rectangular box shadows. */
.arena-live-table{box-shadow:0 0 0 2px #62676e,0 10px 25px #000a}
.arena-sector.winner,.arena-live-table.finished:not(.settled) .arena-sector.winner{box-shadow:inset 0 0 15px #ffffff12}
.arena-winner-outline{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:hidden}
.arena-winner-outline polygon{fill:none;stroke:#f4e7b3;stroke-width:2;vector-effect:non-scaling-stroke;stroke-linejoin:round}
.arena-live-table:not(.settled) .arena-winner-outline{visibility:hidden}

/* Fit the full avatar, name and stake into the actual polygon, including narrow corners. */
.arena-sector>.arena-sector-label{width:96px;max-width:none;height:90px;box-sizing:border-box;padding:5px;gap:3px;justify-content:center;transform-origin:center;overflow:hidden}
.arena-sector-label .person-avatar.person-large{width:42px;height:42px;min-width:42px;flex:0 0 42px;font-size:14px}
.arena-sector-label strong{font-size:9px;line-height:12px;width:86px;max-width:86px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.arena-sector-label small{font-size:8px;line-height:11px;padding:2px 3px;max-width:86px;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis}

/* Withdrawal sheet uses the same neutral gift presentation as the market. */
#prize-dialog{box-sizing:border-box;width:min(375px,94vw);max-height:90dvh;overflow:auto;padding:14px 16px 18px;background:#191919;border:1px solid #343434;border-radius:28px;color:#f4f4f5}
#prize-dialog>.dialog-head{position:absolute;top:10px;right:10px;z-index:2}
#prize-dialog>.dialog-head h2{display:none}
#prize-dialog #prize-close{width:32px;height:32px;border:1px solid #79d9ff;border-radius:11px;background:#101b25;color:#bfeaff}
#prize-body{display:flex;flex-direction:column;align-items:center;text-align:center}
#prize-body>h2{font-size:22px;font-weight:500;line-height:1.3;margin:18px 24px 8px;overflow-wrap:anywhere}
#prize-body .withdraw-edition{font-size:13px;color:#98989e;margin:0 0 18px}
#prize-body .withdraw-preview{display:grid;place-items:center;width:min(200px,70vw);aspect-ratio:1;border-radius:21px;background:#303030;overflow:hidden;margin:0 auto 12px}
#prize-body .withdraw-preview>.tg-gift-art{display:grid;place-items:center;width:80%;height:80%}
#prize-body .withdraw-preview>.tg-gift-art>img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
#prize-body .withdraw-preview>.exact-gift-art{width:100%;height:100%}
#prize-body .withdraw-value{font-size:14px;margin:0 0 10px;color:#c9cbd2}
#prize-body .withdraw-fee-choice{text-align:left;background:#202020;border:1px solid #343434;border-radius:13px;padding:12px;box-sizing:border-box}
#prize-body .withdraw-fee-choice select{background:#303030;border-color:#444;color:#f4f4f5}
#prize-dialog #prize-confirm{margin-top:12px;width:100%;min-height:42px;border-radius:13px;background:#168bff;color:#fff;box-shadow:none;font-size:14px}

.crash-board .history-chip{background:#237de1;color:#fff;border:1px solid #6bb7ff55;box-shadow:inset 0 1px #ffffff22}
.crash-board .history-chip.pink{background:#8c48d9;color:#fff;border-color:#c69bff66}
.crash-board .history-chip.gold{background:#efb52a;color:#241b08;border-color:#ffe29799;box-shadow:inset 0 1px #fff8}

/* Cold blue and white profile cover. Custom uploaded covers retain their own art. */
.app-shell.profile-view:not(.profile-custom-cover):before{background:repeating-conic-gradient(from 192deg at 33% 115%,#e5f6ff30 0deg 8deg,transparent 8deg 19deg),linear-gradient(180deg,#378fc8 0%,#226799 40%,#0b233b 76%,#000 100%)}
.profile-view:not(.profile-custom-cover) .profile-reference .profile-hero{background:transparent}
.profile-view:not(.profile-custom-cover) .profile-rays{background:repeating-conic-gradient(from 190deg at 30% 130%,#e8f8ff22 0deg 8deg,transparent 8deg 18deg)}

/* Individual medal-colored light behind each podium place. */
.leaders-page .podium-glow{display:none}
.leaders-page .podium-position{isolation:isolate}
.leaders-page .podium-position:before{content:'';position:absolute;z-index:-1;pointer-events:none;left:-25%;right:-25%;top:8%;bottom:0;border-radius:50%;background:radial-gradient(ellipse at center,var(--podium-light) 0%,transparent 70%);filter:blur(10px)}
.leaders-page .podium-1{--podium-light:#efba4870}
.leaders-page .podium-2{--podium-light:#d8e6fa50}
.leaders-page .podium-3{--podium-light:#bd754d60}
.leaders-page .podium-vacant:before{opacity:.35}
.leaders-page .podium-name{font-size:13px;max-width:100%;line-height:1.3}
.leaders-page .podium-block b{font-size:15px;line-height:1.3}
.leaders-page .podium-block small{font-size:10px;color:#b9bec8;line-height:1.3}
.leaders-page .podium-medal{width:21px;height:21px;font-size:12px}
.leaders-page .leaders-description{font-size:14px;line-height:1.5;color:#c0c5cf}
.leaders-page .season-label-new{font-size:11px;color:#b9bbc7}
.leaders-page .season-timer{font-size:13px;line-height:1.5}
.leaders-page .season-rules summary{font-size:13px}
.leaders-page .leader-row strong{font-size:14px;line-height:1.35}
.leaders-page .leader-row small{font-size:12px;line-height:1.3;color:#bdc5d2}
.leaders-page .leader-place{font-size:13px}
.leaders-page .my-rank small{font-size:12px}

#rocket-pool>.gram-icon-img{filter:brightness(0) invert(1)!important;opacity:1}

.arena-bank-bar{display:flex;align-items:center;justify-content:flex-start;gap:7px}
.arena-bank-bar>.gram-icon-img{filter:brightness(0) invert(1)!important;opacity:1}
.arena-bank-bar>.pool-shield{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;color:#22d67a;border:1px solid #15834d;background:#062c1c;box-shadow:0 0 13px #0dd87522}
.arena-bank-bar>.pool-shield>svg{display:block;width:17px;height:17px}

.leaders-page>h1{font-size:30px;line-height:1.25}
.leaders-page .leaders-description{font-size:16px;line-height:1.5}
.leaders-page .season-rules summary{font-size:15px}
.leaders-page .season-timer{font-size:15px}
.leaders-page .season-label-new{font-size:13px}
.leaders-page .podium-name{font-size:16px;line-height:1.3}
.leaders-page .podium-medal{font-size:14px;width:24px;height:24px;top:-26px;left:calc(50% - 12px)}
.leaders-page .podium-block b{font-size:17px}
.leaders-page .podium-block small{font-size:12px}
.leaders-page .leader-row strong{font-size:16px}
.leaders-page .leader-row small{font-size:14px}
.leaders-page .leader-place{font-size:15px}
.leaders-page .my-rank small{font-size:14px}
.leaders-page .my-rank strong{font-size:16px}

.leaders-page .podium-3 .podium-block>.icon{color:#cd8a58;filter:drop-shadow(0 0 5px #b8733333)}
.inventory-sell-all{width:100%;margin:12px 0 16px;min-height:42px;border-radius:13px}

.season-banner.depyn-banner .banner-art{filter:brightness(1.1) saturate(1.2) contrast(1.04)}
.game-grid .game-card[data-go="arena"]>img,.game-grid .game-card.case-card>img,.game-grid .game-card.upgrade-game-card>img{filter:brightness(1.28) contrast(1.17) saturate(1.38)}
.game-grid .crash-demo-card>img{filter:brightness(1.04) saturate(1.22) contrast(1.05)}

.leaders-page .leader-row>.person-avatar{width:28px;height:28px;min-width:28px;flex:0 0 28px;font-size:12px}
.app-shell.profile-view:not(.profile-custom-cover):before{background:repeating-conic-gradient(from 192deg at 33% 115%,#dcecff24 0deg 8deg,transparent 8deg 19deg),linear-gradient(180deg,#1254ad 0%,#103e83 40%,#071a39 76%,#000 100%)}
.profile-view:not(.profile-custom-cover) .profile-rays{background:repeating-conic-gradient(from 190deg at 30% 130%,#c9dcff1c 0deg 8deg,transparent 8deg 18deg)}

.game-grid .upgrade-game-card .card-tags{display:inline-flex;align-items:center;gap:8px;padding:6px 9px;min-height:25px;border-radius:99px;background:#30364ce8;border:0;line-height:1}
.game-grid .upgrade-game-card .card-tags>.icon{width:14px;height:14px;stroke:#fff}
.game-grid .upgrade-game-card{border-color:#54baff;box-shadow:inset 0 1px #d5efff55,0 0 14px #168bff28}
.game-grid .upgrade-game-card .game-card-finish{background:radial-gradient(ellipse at 82% 28%,#46c9ff30,transparent 60%);box-shadow:inset 0 0 16px #299dff16}

/* Collectible gift covers with a luminous cyan presentation box. */
.nft-case-cover{position:relative;display:block;width:100%;height:100%;isolation:isolate;overflow:visible}
.nft-case-aura{position:absolute;inset:3%;border-radius:50%;background:radial-gradient(ellipse,#63e5ff66,transparent 68%);filter:blur(5px);z-index:-1}
.nft-case-box{position:absolute;left:17%;right:17%;bottom:9%;height:30%;border-radius:7px 7px 13px 13px;background:linear-gradient(145deg,#38d9ff,#1674df 64%,#124e9e);border:1px solid #92eeff;box-shadow:0 8px 13px #0005,inset 0 2px #b5f9ff}
.nft-case-box:before{content:'';position:absolute;left:-5%;right:-5%;top:-10%;height:26%;border-radius:5px;background:linear-gradient(#97f6ff,#2bacef);border:1px solid #bffaff;transform:rotate(-4deg)}
.nft-case-box i{position:absolute;left:43%;top:0;bottom:0;width:14%;background:linear-gradient(90deg,#ffc949,#fff0a2,#e5a52d)}
.nft-case-prize{position:absolute;display:grid;place-items:center;width:46%;height:58%;top:5%;filter:drop-shadow(0 4px 3px #0005)}
.nft-case-prize-0{left:27%;top:0;z-index:2;transform:rotate(-5deg)}
.nft-case-prize-1{left:3%;top:17%;transform:rotate(-19deg);z-index:1}
.nft-case-prize-2{right:1%;top:16%;transform:rotate(17deg);z-index:1}
.nft-case-prize>.tg-gift-art,.nft-case-prize>.tg-gift-art>img{display:block;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain}
.nft-case-spark{position:absolute;color:#fff2a0;font-size:22px;text-shadow:0 0 8px #ffd445}
.nft-case-cover .spark-one{right:10%;top:0}.nft-case-cover .spark-two{left:10%;top:6%;font-size:13px}
.case-catalog-reference .case-daily-region{background:radial-gradient(ellipse at 84% 14%,#c3f7ff99,transparent 60%),linear-gradient(145deg,#38c9e8,#168ede 57%,#1260ab);border:1px solid #80e9ff55;box-shadow:inset 0 1px #dcfbff66,0 5px 20px #129de822}
.case-catalog-reference .case-daily-region .daily-case-calendar{filter:brightness(1.08) saturate(1.3)}
.case-catalog-reference .case-daily-region .case-category-tabs{background:#0b4266;border-color:#69d9f788}
.case-catalog-reference .case-daily-region .case-category-tabs button.active{background:#2ba9dc;color:#fff}

.game-grid .game-card[data-go="arena"]>img,.game-grid .game-card.upgrade-game-card>img{filter:brightness(1.38) contrast(1.14) saturate(1.4)}

/* Matching currency and gift glyph dimensions on every game card. */
.game-grid .game-card .card-tags,.game-grid .game-card:not(.upgrade-game-card) .card-tags{display:inline-flex;align-items:center;gap:8px;min-height:25px;padding:6px 9px;box-sizing:border-box}
.game-grid .game-card .card-tags>.icon,.game-grid .game-card .card-tags>svg.card-currency-glyph{width:15px!important;height:15px!important;min-width:15px!important;max-width:15px!important;flex:0 0 15px!important;display:block;margin:0;transform:none}
.game-grid .case-card{background:#12335b;border-color:#4b8ec8;--card-glow:66,161,235}
.game-grid .case-card .game-card-finish{background:linear-gradient(135deg,#1c8de41c,transparent 70%);box-shadow:inset 0 1px #91ceff33}

/* Solid catalog panel, with the existing blue background visible around its edges. */
.cases-view .case-catalog-reference .reference-case-grid{box-sizing:border-box;background:#050505;border:1px solid #22252b;border-radius:22px;padding:9px;margin:0 5px 18px;gap:10px;box-shadow:0 8px 22px #0005}
.cases-view .case-catalog-reference .reference-case-grid .case-tile{background:#202022;border:1px solid #343438;border-radius:18px;box-shadow:inset 0 1px #ffffff08;padding:8px}
.cases-view .case-catalog-reference .reference-case-grid .case-art{background:#303032;border-radius:13px;overflow:hidden}

.daily-case-calendar>.case-cutout{display:block;width:100%;height:100%;overflow:hidden}

.cases-view .case-catalog-reference .reference-case-grid{background:#18181a;border-color:#29292d;box-shadow:0 8px 22px #0003}

.cases-view .case-catalog-reference .reference-case-grid{margin-left:0;margin-right:0;padding:8px 6px;border-radius:24px}

.case-catalog-reference .case-art>.clean-collectible-case{object-fit:contain;filter:none}

.cases-view .case-catalog-reference .reference-case-grid{width:calc(100% + 14px);max-width:none;margin-left:-7px;margin-right:-7px;padding:10px 8px;background:#18181a;border:1px solid #303034;border-radius:23px;gap:10px;box-sizing:border-box}

.cases-view .case-catalog-reference .reference-case-grid .case-art>.case-cutout{inset:9%;width:82%;height:82%;margin:0}

/* Full-bleed daily promotion fading behind the raised catalog panel. */
.case-catalog-reference .case-daily-region{position:relative;isolation:isolate;width:calc(100% + 20px);max-width:none;margin:0 -10px -32px;padding:10px 14px 50px;border:0;border-radius:0;overflow:visible;box-shadow:none;background:radial-gradient(ellipse at 83% 38%,#2dc4ef88,transparent 65%),linear-gradient(180deg,#071624 0%,#124e7b 52%,#116898b3 77%,#12557a22 100%)}
.case-catalog-reference .case-daily-region:after{content:'';position:absolute;z-index:-1;left:0;right:0;bottom:-130px;height:180px;background:linear-gradient(#156d9a77,#124a6b22,transparent);pointer-events:none}
.case-catalog-reference .case-daily-region .daily-case-banner{width:100%;min-height:185px;margin:0;padding:15px 9px 20px;background:transparent;border:0;border-radius:0;overflow:visible}
.case-catalog-reference .case-daily-region .daily-case-calendar{width:138px;height:138px;right:-2px;top:18px;transform:rotate(5deg);filter:drop-shadow(0 6px 12px #1da9de44)}
.case-catalog-panel{position:relative;z-index:1;width:calc(100% + 14px);margin:0 -7px 18px;padding:16px 9px 11px;box-sizing:border-box;border:1px solid #30363d;border-radius:32px 32px 23px 23px;background:linear-gradient(180deg,#14232de8,#18181a 170px);box-shadow:0 -4px 15px #0002}
.case-catalog-panel>.case-category-tabs{margin:0 2px 13px;background:#242426;border:1px solid #3a3a3d;border-radius:99px}
.case-catalog-panel>.case-category-tabs button{font-size:13px;padding:11px 8px;color:#b9bdc5}
.case-catalog-panel>.case-category-tabs button.active{background:#414145;color:#fff}
.cases-view .case-catalog-reference .case-catalog-panel .reference-case-grid{width:100%;max-width:100%;margin:0;padding:0;background:transparent;border:0;box-shadow:none;border-radius:0}
@media(max-width:350px){.case-catalog-reference .case-daily-region .daily-case-calendar{width:118px;height:118px;right:-4px;top:25px}}

/* One continuous full-width backdrop behind the drop feed and daily banner. */
.cases-view #screen{padding-left:0;padding-right:0}
.cases-view .case-catalog-reference{position:relative;isolation:isolate;width:100%;box-sizing:border-box;margin:0;padding:0 0 20px;background:transparent}
.cases-view .case-catalog-reference:before{content:'';position:absolute;inset:0 0 auto;height:390px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 80% 42%,#2cbee57a,transparent 67%),linear-gradient(180deg,#092335b8,#105d88b0 54%,#126d9855 82%,transparent)}
.cases-view .case-catalog-reference .case-live-feed{margin-left:0;margin-right:0;width:100%;box-sizing:border-box;background:transparent}
.cases-view .case-catalog-reference .case-daily-region{width:100%;margin:0 0 -32px;padding:7px 14px 50px;background:transparent}
.cases-view .case-catalog-reference .case-catalog-panel{width:100%;margin-left:0;margin-right:0;border-left:0;border-right:0}
.cases-view .case-catalog-reference .case-dual-price{font-size:11px;line-height:1.35;gap:5px}
.cases-view .case-catalog-reference .case-dual-price>small{font-size:9px;line-height:1.35;color:#a0a3ac}

.cases-view .case-catalog-reference:before{height:420px;background:radial-gradient(ellipse at 80% 38%,#2baddd66,transparent 65%),linear-gradient(180deg,#0b2b3e 0%,#165a7c 47%,#15435a 76%,#18181a 100%)}
.cases-view .case-catalog-reference .case-daily-region:after{display:none}
.cases-view .case-catalog-reference{background:#18181a}

/* Daily banner fades upward into the header while retaining a dense blue fill. */
.cases-view .case-catalog-reference{background:#18181a}
.cases-view .case-catalog-reference:before{top:-70px;left:0;right:0;height:490px;background:radial-gradient(ellipse at 80% 66%,#1686b326,transparent 58%),linear-gradient(180deg,#000 0%,#000 32%,#020609 46%,#071a26 59%,#0d3448 73%,#102d3a 87%,#18181a 100%)}
.cases-view .case-catalog-reference .case-catalog-panel{background:#18181a;box-shadow:0 -5px 18px #0a192366}

.cases-view .case-catalog-reference .case-dual-price{display:flex;align-items:center;flex-wrap:wrap;gap:5px;font-size:14px;font-weight:650;line-height:1.35;color:#f7f7f8}
.cases-view .case-catalog-reference .case-dual-price>small{display:inline-flex;align-items:center;gap:3px;font-size:11px;font-weight:500;line-height:1.35;color:#96969e}
.cases-view .case-catalog-reference .case-dual-price .gram-icon-img{width:13px!important;height:13px!important;filter:brightness(0) invert(1);vertical-align:middle}
.cases-view .case-catalog-reference .case-dual-price>small .star-icon-img{width:12px!important;height:12px!important;filter:grayscale(1);opacity:.65;vertical-align:middle}

#arena-victory-dialog{position:fixed;width:min(350px,92vw);padding:28px 22px 22px;border:0;border-radius:26px;background:#10150ce8;color:#fff;text-align:center;overflow:hidden;box-shadow:0 0 70px #a6ce181a}
#arena-victory-dialog::backdrop{background:#020504b8;backdrop-filter:blur(10px)}
#arena-victory-body{position:relative;isolation:isolate}
.arena-victory-aura{position:absolute;inset:-40px -80px;z-index:-1;background:radial-gradient(ellipse at 50% 35%,#b5e21a38,transparent 65%);pointer-events:none}
.arena-victory-avatar{display:flex;justify-content:center;margin:10px auto 20px}
.arena-victory-avatar .person-avatar{width:76px;height:76px;border:2px solid #d3f733;box-shadow:0 0 28px #bfff0044;background:#233009;color:#d3f733;font-size:24px}
.arena-victory-label{margin:13px 0 5px;font-size:12px;color:#a0a890}
#arena-victory-body h2{font-size:19px;color:#d3f733;margin:5px 0 14px;overflow-wrap:anywhere}
.arena-victory-value{display:block;font-size:30px;line-height:1.4;margin:5px 0 22px}.arena-victory-value small{font-size:13px;font-weight:500;color:#a3ab97}
.arena-victory-gifts{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:10px 0 25px}.arena-victory-gifts>span{display:grid;place-items:center;width:48px;height:48px;background:#283325;border-radius:10px}.arena-victory-gifts .tg-gift-art,.arena-victory-gifts img{width:40px;height:40px;object-fit:contain}
#arena-victory-dialog>.primary{width:100%;margin-top:14px;border-radius:13px;background:#d3f733;color:#172000;box-shadow:none;min-height:43px}

/* Reveal the original blue scene beside the inset case panel. */
.cases-view .case-catalog-reference{background:transparent}
.cases-view .case-catalog-reference .case-catalog-panel{width:calc(100% - 20px);margin-left:10px;margin-right:10px;border-left:1px solid #30363d;border-right:1px solid #30363d}
.cases-view .case-catalog-reference:before{background:radial-gradient(ellipse at 80% 66%,#1686b326,transparent 58%),linear-gradient(180deg,#000 0%,#000 32%,#020609 46%,#071a26 59%,#0d3448 73%,#102d3a 87%,transparent 100%)}

#arena-victory-body .upgrade-victory-gift{display:grid;place-items:center;width:150px;height:150px;margin:12px auto;filter:drop-shadow(0 0 20px #b5e21a22)}
.upgrade-victory-gift .tg-gift-art,.upgrade-victory-gift img{width:100%;height:100%;object-fit:contain}
.upgrade-victory-name{display:block;font-size:18px;margin:12px 0 4px}

.game-grid .game-card[data-go="arena"]>img{filter:brightness(1.5) contrast(1.1) saturate(1.4)}
.game-grid .game-card.case-card>img{filter:brightness(1.42) contrast(1.1) saturate(1.35)}

.game-grid .game-card[data-go="arena"]>img{filter:brightness(1.5) contrast(1.1) saturate(1.4)}
.game-grid .game-card.case-card>img{filter:brightness(1.42) contrast(1.1) saturate(1.35)}

/* Shared victory overlay: transparent blue celebration over the blurred game. */
#arena-victory-dialog{width:min(310px,86vw);padding:20px 18px 18px;background:transparent;box-shadow:none;overflow:visible;border:0}
#arena-victory-dialog::backdrop{background:#0207118c;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.arena-victory-aura{inset:-35px -35px;background:radial-gradient(ellipse at 50% 44%,#1689ee24,transparent 68%)}
.arena-victory-avatar{margin:8px auto 15px}
.arena-victory-avatar .person-avatar{width:64px;height:64px;border-color:#60c6ff;box-shadow:0 0 22px #248fff44;background:#102c49;color:#8fd8ff}
#arena-victory-body h2{color:#70cbff;font-size:18px;margin-bottom:11px}
.arena-victory-label{color:#a5b4c8;font-size:11px}
.arena-victory-value{font-size:28px;margin:5px 0 17px}.arena-victory-value small{color:#9aaec4}
.arena-victory-gifts{margin:9px 0 18px}.arena-victory-gifts>span{background:#24496780}
#arena-victory-dialog>.primary{background:#279eff;color:#fff;min-height:42px;margin-top:12px;border:0;outline:0;box-shadow:0 5px 22px #1175da22}
#arena-victory-body:before,#arena-victory-body:after{content:'';position:absolute;top:51%;width:8px;height:4px;background:#51c9ff;pointer-events:none;box-shadow:12px -35px #a38aff,-9px -65px #54dbd0,15px 26px #438fff,-3px 63px #bb8dff;animation:victory-confetti-left 1.8s ease-out both}
#arena-victory-body:before{left:-10px;transform:rotate(28deg)}
#arena-victory-body:after{right:-10px;transform:rotate(-32deg);animation-name:victory-confetti-right;box-shadow:-12px -44px #70caff,8px -72px #9a7aff,-15px 21px #65e2d2,3px 56px #458eff}
@keyframes victory-confetti-left{from{opacity:0;translate:25px -22px}20%{opacity:1}to{opacity:.8;translate:-9px 24px}}
@keyframes victory-confetti-right{from{opacity:0;translate:-25px -22px}20%{opacity:1}to{opacity:.8;translate:9px 24px}}
@media(prefers-reduced-motion:reduce){#arena-victory-body:before,#arena-victory-body:after{animation:none}}

.owned-inventory>.currency-picker{width:max-content;gap:3px;padding:3px;border-radius:99px;margin-bottom:12px}
.owned-inventory>.currency-picker button{flex:0 0 auto;width:29px;height:29px;min-height:0;padding:5px;border-radius:50%}
.owned-inventory>.currency-picker .coin,.owned-inventory>.currency-picker .star-coin{width:17px;height:17px}
.owned-inventory .inventory-sell-all{display:block;width:auto;min-height:27px;margin:10px 0 12px auto;padding:5px 10px;border:1px solid #3a3a40;border-radius:8px;background:#29292e;color:#b5b5bd;font-size:10px;font-weight:500;line-height:1.4;box-shadow:none}
.owned-inventory .inventory-sell-all:disabled{opacity:.45}

.inventory-prize-actions button[data-action="sell"]{position:relative}
.gift-sale-lock-icon{display:flex;justify-content:center;margin-top:4px;color:#92959e}
.gift-sale-lock-icon .icon{width:12px;height:12px}

.inventory-prize-actions .prize-claim-button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:39px;padding:9px 13px;font-size:13px;border-radius:12px}
.withdraw-button-lock{display:inline-flex;align-items:center}.withdraw-button-lock .icon{width:13px;height:13px}

.game-grid .game-card .card-label .card-tags{height:27px;min-height:27px;padding:6px 9px;gap:8px;align-items:center;justify-content:center;box-sizing:border-box}
.game-grid .game-card .card-label .card-tags>.icon,.game-grid .game-card .card-label .card-tags>svg.card-currency-glyph{width:15px!important;height:15px!important;min-width:15px!important;max-width:15px!important;flex:0 0 15px!important}
.game-grid .game-card .card-label .card-tags>.icon{stroke-width:2.3}

.inventory-top-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px}
.inventory-top-tools>.currency-picker{width:max-content;padding:3px;gap:3px;margin:0;border-radius:99px}
.inventory-top-tools>.currency-picker button{flex:0 0 auto;width:29px;height:29px;min-height:0;padding:5px;border-radius:50%}
.inventory-top-tools>.currency-picker .coin,.inventory-top-tools>.currency-picker .star-coin{width:17px;height:17px}
.owned-inventory .inventory-top-tools .inventory-sell-all{margin:0 0 0 auto}
#status{position:fixed;top:calc(env(safe-area-inset-top,0px) + 14px);bottom:auto!important;left:50%;right:auto;transform:translateX(-50%);width:max-content;max-width:min(410px,calc(100vw - 24px));box-sizing:border-box;padding:12px 16px;background:#147bd8;color:#fff;border:1px solid #58b8ff;border-radius:13px;box-shadow:0 6px 24px #0055ac44;z-index:10000;font-size:12px}

.case-catalog-reference .daily-case-copy>strong{font-weight:800;letter-spacing:-.55px}
.case-catalog-reference .case-daily-region .daily-case-calendar{isolation:isolate}
.case-catalog-reference .daily-case-calendar:before{content:'';position:absolute;inset:-20%;z-index:-1;border-radius:50%;pointer-events:none;background:radial-gradient(ellipse at 50% 55%,#5ce5ff70 0%,#21b9f438 36%,#1686df14 56%,transparent 73%);filter:blur(9px)}
.case-catalog-reference .daily-case-calendar:after{content:'';position:absolute;left:2%;top:16%;width:10px;height:10px;border-radius:50%;pointer-events:none;background:#d0fbff;filter:blur(3px);opacity:.65;box-shadow:104px 62px 13px 4px #62dfff77,-3px 86px 15px 3px #29bde944}

.case-catalog-reference .daily-case-calendar:after{display:none}

.cases-view .case-catalog-reference:before{background:radial-gradient(ellipse at 80% 66%,#269ed43a,transparent 60%),linear-gradient(180deg,#000 0%,#000 32%,#030a0f 46%,#0a2433 59%,#12475e 73%,#153b4c 87%,transparent 100%)}
.case-catalog-reference .daily-case-calendar:before{background:radial-gradient(ellipse at 50% 55%,#73ecff88 0%,#28c8f84d 36%,#1686df20 56%,transparent 73%)}

.owned-inventory .inventory-top-tools>.currency-picker{display:inline-flex;align-items:center;flex:0 0 auto;height:39px;width:auto;padding:4px;gap:5px;box-sizing:border-box}
.owned-inventory .inventory-top-tools>.currency-picker button{display:grid;place-items:center;flex:0 0 31px;width:31px!important;min-width:31px;max-width:31px;height:31px!important;min-height:31px;max-height:31px;aspect-ratio:1;padding:0!important;box-sizing:border-box;border-radius:50%;line-height:1;transform:none}
.owned-inventory .inventory-top-tools>.currency-picker button>.coin,.owned-inventory .inventory-top-tools>.currency-picker button>.star-coin{display:block;width:19px!important;height:19px!important;min-width:19px;aspect-ratio:1;margin:0;flex:none}

.exchange-panel{background:#252527;border-color:#3a3a3e;box-shadow:none}

.owned-gift-card .exact-gift-art{position:relative;overflow:hidden}.owned-gift-card .exact-vector-layer{border-radius:inherit}

.exact-gift-art[data-exact-collection="stellarrocket"] .exact-vector-model{inset:16%}

.game-grid{grid-auto-rows:auto;align-items:stretch}
.game-grid .game-card{height:auto;min-height:0;aspect-ratio:240/260;grid-row:auto;grid-column:auto}
.game-coming-soon{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;height:116px;margin-top:2px;border-radius:28px;border:1px solid #929292;background:linear-gradient(135deg,#646464,#575757);box-shadow:inset 0 1px 3px #ffffff55;color:#f5f5f5}
.game-coming-soon>span{font-size:43px;line-height:1;font-weight:800}
.game-coming-soon>strong{font-size:18px;letter-spacing:5px;line-height:1.4;font-weight:800;padding-left:5px}

.free-case-subscribe{display:grid;grid-template-columns:21px auto minmax(22px,1fr);gap:9px}
.free-case-subscribe>span{flex:none}
.free-case-subscribe>b{justify-self:center;width:18px;height:20px;font-size:12px}
.game-coming-soon{background:linear-gradient(135deg,#4c4c4e,#414143);border-color:#717174;box-shadow:inset 0 1px 3px #ffffff30}

.game-coming-soon{background:linear-gradient(135deg,#3e3e40,#343436);border-color:#606064;box-shadow:inset 0 1px 3px #ffffff24}

.arena-controls>.arena-limit{font-size:9px;color:#85858e;margin:7px 3px 0;line-height:1.4}
.arena-asset-tabs button{font-size:12px;min-height:36px;padding:8px 10px}

.app-shell.games-theme{background:#1b1b2d}.games-theme .topbar{background:#1b1b2d}.games-theme .game-grid{background:#1b1b2d!important}
.app-shell .bottom-nav{background:#181820!important;opacity:1;backdrop-filter:none;-webkit-backdrop-filter:none}
.season-banner.depyn-banner[data-slide="1"]>.banner-art,.season-banner.depyn-banner[data-slide="2"]>.banner-art,.season-banner.depyn-banner[data-slide="1"]>.season-copy,.season-banner.depyn-banner[data-slide="2"]>.season-copy{visibility:hidden}
.season-banner.depyn-banner .home-banner-slide{position:absolute;inset:0;width:100%;height:var(--home-banner-height);padding:0;background:#07122b;border:0}
.season-banner.depyn-banner .home-banner-slide[hidden]{display:none}
.season-banner.depyn-banner .home-banner-slide>img{position:static;display:block;width:100%;height:100%;object-fit:contain;mask-image:none;opacity:1}
.home-live-feed{display:flex;align-items:center;gap:7px;position:relative;z-index:3;margin:37px 0 12px;height:51px;background:#1b1b2d}
.home-live-badge{font-size:9px;font-weight:800;writing-mode:vertical-rl;transform:rotate(180deg);display:flex;align-items:center;gap:5px;color:#c4bfe3}
.home-live-badge i{width:6px;height:6px;border-radius:50%;background:#37d89f}
.home-live-track{display:flex;gap:7px;overflow-x:auto;min-width:0;scrollbar-width:none;flex:1}.home-live-track::-webkit-scrollbar{display:none}
.home-live-item{display:flex;align-items:center;gap:7px;flex:0 0 142px;min-width:0;height:48px;padding:5px 8px;border-radius:13px;border:1px solid #675b9c;background:linear-gradient(135deg,#373052,#28233d)}
.home-live-item>.tg-gift-art,.home-live-item>.tg-gift-art img{width:35px;height:35px;object-fit:contain}.home-live-item>.coin{width:26px;height:26px}
.home-live-item>div{min-width:0}.home-live-item strong{display:block;max-width:88px;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-live-item b{display:block;color:#44dca1;font-size:11px;margin-top:4px}.home-live-empty{font-size:10px;color:#9794af;align-self:center}

.season-banner.depyn-banner{touch-action:pan-y;user-select:none;-webkit-user-select:none}
.season-banner.depyn-banner img{pointer-events:none;-webkit-user-drag:none}
.season-banner.depyn-banner:after{content:'';position:absolute;z-index:2;left:0;right:0;top:0;height:var(--home-banner-height);pointer-events:none;background:linear-gradient(180deg,#10112138 0%,transparent 25%,transparent 70%,#1b1b2dcc 100%),linear-gradient(90deg,#11122544,transparent 17%,transparent 83%,#11122544)}
.home-banner-dots{position:absolute;top:calc(var(--home-banner-height) - 19px);left:0;right:0;display:flex;align-items:center;justify-content:center;gap:5px;z-index:4}
.home-banner-dots button{width:5px;height:5px;min-width:5px;min-height:5px;padding:0;border-radius:99px;background:#b5c4e466;transition:width .2s,background .2s}
.home-banner-dots button.active{width:16px;background:#e0eaff}

/* The banner stays vivid; its colors fade through the surrounding page. */
.season-banner.depyn-banner:after{display:none}
.season-banner.depyn-banner[data-slide="1"]:before,.season-banner.depyn-banner[data-slide="2"]:before{display:none}
.home-view{background:radial-gradient(ellipse 90% 250px at 78% 185px,#15236888,transparent 85%),linear-gradient(180deg,#070c1e 68px,#10132b 270px,#1b1b2d 460px)!important}
.home-view .home-live-feed{background:transparent}
.home-view .season-banner.depyn-banner{background:transparent}
.home-view .season-banner.depyn-banner .home-banner-slide{background:transparent}
.home-view .game-grid{background:transparent!important;box-shadow:none}

.home-view .season-banner.depyn-banner{height:var(--home-banner-height);min-height:var(--home-banner-height);margin-bottom:-32px;transition:none;opacity:1}

.app-shell.games-theme.cases-view:before,.app-shell.games-theme.case-detail-view:before{background:#1b1b2d}
.games-theme .arena-reference,.games-theme .gift-case-page,.games-theme #screen{background:transparent}
.games-theme .arena-controls{background:linear-gradient(180deg,#1b1b2d00,#1b1b2d 15%)}
.games-theme.cases-view .case-catalog-reference{background:transparent}
.games-theme.cases-view .case-catalog-reference:before{background:radial-gradient(ellipse at 80% 66%,#269ed430,transparent 60%),linear-gradient(180deg,#1b1b2d 0%,#1b1b2d 32%,#172332 46%,#163043 59%,#164359 73%,#1b1b2d 100%)}
.games-theme.cases-view .case-catalog-reference .case-catalog-panel{background:#202031;border-color:#343445;box-shadow:0 -5px 18px #13132244}
.games-theme .gift-case-page .case-detail-panel{background:#222233;border-color:#39394b}

/* Blend the header into the top edge of the home banner. */
.home-view .topbar{position:relative;z-index:5}
.home-view .topbar:after{content:'';position:absolute;top:100%;left:0;right:0;height:28px;background:linear-gradient(180deg,#1b1b2d 0%,#1b1b2d99 38%,#1b1b2d00 100%);pointer-events:none;z-index:5}

.home-view .season-banner.depyn-banner .home-banner-track{position:absolute;inset:0;display:flex;width:100%;height:var(--home-banner-height);transition:transform .38s cubic-bezier(.22,.75,.3,1);will-change:transform}
.home-banner-track.is-dragging{transition:none!important;cursor:grabbing}
.home-view .season-banner.depyn-banner .home-banner-original,.home-view .season-banner.depyn-banner .home-banner-slide{position:relative;inset:auto;flex:0 0 100%;width:100%;height:var(--home-banner-height);overflow:hidden}
.home-view .season-banner.depyn-banner .home-banner-slide{display:block}
.home-banner-original .season-copy{visibility:visible}
.home-view .season-banner.depyn-banner{cursor:grab}
@media(prefers-reduced-motion:reduce){.home-banner-track{transition:none!important}}

/* Full-width slides retain each supplied banner's proportions. */
.app-shell.home-view{--home-banner-height:clamp(200px,59.5vw,262px)}
.home-view .season-banner.depyn-banner{width:calc(100% + 20px);margin-left:-10px;margin-right:-10px;border-radius:0}
.home-view .season-banner.depyn-banner .home-banner-slide>img{width:100%;height:100%;object-fit:cover;object-position:center}

.home-slide-cta{position:absolute;left:7%;bottom:16%;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:7px 13px;min-height:30px;background:#fff;color:#10203d;border-radius:99px;font-size:12px;font-weight:750;line-height:1.2;box-shadow:0 2px 9px #0002}
.home-slide-cta>span{font-size:16px;line-height:1}

.home-view .season-banner.depyn-banner:before{display:none}
.app-shell.home-view{background:linear-gradient(180deg,#1b1b2d 0px,#111329 80px,#040e29 145px,#06102b 320px,#11172e 400px,#1b1b2d 510px)!important}
.home-view .home-live-feed{background:transparent}
.home-view .season-banner.depyn-banner .home-banner-slide>img{mask-image:linear-gradient(180deg,#000 0%,#000 86%,transparent 100%);-webkit-mask-image:linear-gradient(180deg,#000 0%,#000 86%,transparent 100%)}
.home-view .topbar:after{background:linear-gradient(180deg,#1b1b2d,transparent)}
.home-view .season-copy small{color:#9bbadd}.home-view .season-copy h1{color:#fff}.home-view .season-copy h1 span{color:#62caff}

.home-games-heading{margin:18px 1px 10px;font-size:20px;font-weight:800;line-height:1.25;color:#f4f3fa}


.app-shell.home-view{--home-banner-height:clamp(176px,53vw,228px)}
.home-view .season-banner.depyn-banner{width:100%;margin:8px 0 0;border-radius:16px;border:1px solid #585181;box-sizing:border-box;isolation:isolate}
.home-view .season-banner.depyn-banner .home-banner-track,.home-view .season-banner.depyn-banner .home-banner-original,.home-view .season-banner.depyn-banner .home-banner-slide{height:100%}
.home-view .season-banner.depyn-banner .home-banner-slide>img{mask-image:none;-webkit-mask-image:none;object-fit:cover}
.home-view .home-live-feed{margin-top:9px;margin-bottom:12px}
.home-view .home-banner-dots{top:auto;bottom:6px}

.app-shell.games-theme,.app-shell.home-view{background:#1b1b2d!important;box-shadow:none}
.games-theme .topbar,.home-view .topbar{background:#1b1b2d}
.games-theme:before{background:#1b1b2d!important}
.home-view .topbar:after{display:none}
.home-view .season-banner.depyn-banner{border-color:#454458;box-shadow:none}
.home-view .game-grid,.home-view .home-live-feed{background:transparent!important;box-shadow:none}

html,body{max-width:100%;overflow-x:clip}
.app-shell{width:100%;overflow-x:clip}
.leaders-page,.case-catalog-reference,.gift-case-page{min-width:0;max-width:100%;box-sizing:border-box;overflow-anchor:none}
.leaders-page .podium-scene{max-width:100%;overflow:clip}
.leaders-page .podium-block,.leaders-page .leader-row>div,.leaders-page .my-rank>div{min-width:0}
.leaders-page .podium-block strong,.leaders-page .leader-row strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.leaders-page .season-timer strong{font-variant-numeric:tabular-nums}
.case-catalog-reference .reference-case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

html,body{overscroll-behavior-y:none}
.home-view .season-banner.depyn-banner .home-banner-track{transition:transform .5s cubic-bezier(.2,.75,.25,1);backface-visibility:hidden}
.home-view .home-banner-track.is-dragging{transition:none!important}
.home-banner-slide,.home-banner-original{backface-visibility:hidden;contain:paint}

.leaders-page .leader-row{min-height:58px}.leaders-page .person-avatar{aspect-ratio:1;flex-shrink:0}.leaders-page .leader-row small,.leaders-page .podium-block b{font-variant-numeric:tabular-nums}

.arena-stake-panel>.primary[data-action="arena-stake"]{margin-top:12px}

.app-shell.tasks-view{background:#1b1b2d!important;box-shadow:none}
.app-shell.tasks-view:before{background:#1b1b2d!important}
.tasks-view .topbar{background:#1b1b2d}
.referrals-view .bottom-nav{bottom:8px}
.referrals-view #screen{padding-bottom:110px}

.season-prizes{padding:15px;margin:18px 0;background:#222233;border:1px solid #39394b;border-radius:18px}.season-prizes h2{font-size:17px;margin:0 0 10px}.season-prize{display:flex;align-items:center;gap:10px;min-height:44px;border-top:1px solid #ffffff09;font-size:12px}.season-prize>span{width:53px;color:#b2b2c2}.season-prize img{width:33px;height:33px;object-fit:contain}.season-prize .icon{width:30px;height:30px}.season-prize strong{font-size:13px}

.leaders-page .podium-scene{height:245px;padding-top:17px;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr) minmax(0,1fr);margin-bottom:12px}
.leaders-page .podium-position .person-large{width:58px;height:58px;border:2px solid #adb4c7;box-shadow:0 4px 16px #0005}
.leaders-page .podium-1 .person-large{width:69px;height:69px;border-color:#d1ad51}
.leaders-page .podium-3 .person-large{border-color:#b47b51}
.leaders-page .podium-name{font-size:11px;margin:0;padding:0 2px 6px}
.leaders-page .podium-medal{position:absolute;top:-3px;left:calc(50% - 38px);z-index:2;width:18px;height:18px;border-radius:50%;background:#d5d9e2;color:#20202c;display:grid;place-items:center;font-size:11px;font-weight:800}
.leaders-page .podium-1 .podium-medal{background:#e4c15c;left:calc(50% - 43px)}.leaders-page .podium-3 .podium-medal{background:#bb865f}
.leaders-page .podium-block{height:93px;margin-top:4px;gap:3px;clip-path:polygon(8% 0,92% 0,100% 12%,100% 100%,0 100%,0 12%)}
.leaders-page .podium-1 .podium-block{height:113px}.leaders-page .podium-3 .podium-block{height:84px}
.leaders-page .podium-block b{font-size:11px}.leaders-page .podium-block>small{font-size:8px;color:#92929f}
.leader-prize{display:flex;align-items:center;justify-content:center;position:relative;gap:3px;flex-shrink:0;min-width:36px}
.leader-prize>img{width:36px;height:36px;object-fit:contain}.leader-prize>.icon{width:27px;height:27px;color:#d7bc70}.leader-prize>b{font-size:13px}.leader-prize>small{display:none}
.podium-block .leader-prize{flex-direction:column;height:60px}.podium-block .leader-prize>img{width:45px;height:45px}.podium-block .leader-prize>small{display:block;font-size:8px;color:#c5c0b0;line-height:1.1;max-width:95px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.leaders-page .leader-row{display:flex;align-items:center;gap:9px;min-height:48px;padding:6px 9px;border-radius:24px;background:#24242b}
.leaders-page .leader-row>div{flex:1;min-width:0}.leaders-page .leader-row strong{font-size:12px}.leaders-page .leader-row small{font-size:10px;color:#a4a4af}.leaders-page .leader-place{font-size:11px;width:19px;flex-shrink:0}.leaders-page .leader-row .leader-prize{margin-left:auto}

.leaders-page .podium-medal{position:static;display:inline-grid;place-items:center;align-self:center;width:21px;height:21px;min-height:21px;margin:0 0 5px;border-radius:50%;background:#c8ccd4;color:#24232b;font-size:14px;font-weight:800;line-height:1;box-shadow:0 1px 5px #0005}
.leaders-page .podium-1 .podium-medal{background:#f2ca42;color:#513600}
.leaders-page .podium-2 .podium-medal{background:#cbd0d9;color:#333843}
.leaders-page .podium-3 .podium-medal{background:#bb854a;color:#37200d}

.gift-case-page .free-case-subscribe{display:flex;align-items:center;gap:11px;margin:15px 0 12px;padding:16px 14px;min-height:58px;background:#242424;border:1px solid #393939;border-radius:17px;color:#f2f2f2;text-decoration:none}
.gift-case-page .free-case-subscribe>.icon{width:24px;height:24px;flex:0 0 24px}
.gift-case-page .free-case-subscribe>span{flex:1;min-width:0;font-size:13px;font-weight:600;line-height:1.3}
.gift-case-page .free-case-subscribe>b{display:grid;place-items:center;width:22px;height:22px;min-width:22px;flex:0 0 22px;border-radius:50%!important;background:#168bff!important;color:#10263c;font-size:15px;line-height:1;margin:0 4px 0 0}


.app-shell.referrals-view{background:#1b1b2d!important;box-shadow:none}
.app-shell.referrals-view:before{background:#1b1b2d!important}
.referrals-view .topbar{background:#1b1b2d}
.referrals-view .referral-hero{background:transparent}
.leaders-page .podium-block{display:grid;grid-template-rows:58px 16px 13px;align-content:center;justify-items:center;gap:3px;height:108px;padding:8px 3px;box-sizing:border-box}
.leaders-page .podium-1 .podium-block{height:128px}
.leaders-page .podium-3 .podium-block{height:102px}
.leaders-page .podium-block>.leader-prize{height:58px;min-height:0}
.leaders-page .podium-block>b{line-height:16px;margin:0}
.leaders-page .podium-block>small{line-height:13px;margin:0;align-self:center}





.leaders-page .podium-scene{height:auto;min-height:280px;align-items:end;overflow:visible;padding-top:22px;padding-bottom:4px}
.leaders-page .podium-position{flex-shrink:0}
.leaders-page .podium-block{flex-shrink:0;overflow:visible;clip-path:none;border-radius:10px 10px 0 0;grid-template-rows:58px 16px 14px;min-height:108px}
.leaders-page .podium-1 .podium-block{min-height:128px}.leaders-page .podium-3 .podium-block{min-height:108px}
.leaders-page .podium-block>small{display:block;color:#b6b6c8;font-size:10px;line-height:14px;white-space:nowrap;visibility:visible;opacity:1}
.arena-sector>.arena-sector-label{display:flex;flex-direction:column;align-items:center;color:#fff}
.arena-sector-label>strong,.arena-sector-label>small{display:block;visibility:visible;opacity:1;flex-shrink:0;color:#fff}
.arena-controls>.arena-limit{display:flex;justify-content:space-between;gap:8px;min-height:15px;color:#a4a4b5;visibility:visible;margin:8px 3px 4px;font-size:9px}

.app-shell.leaders-view,.app-shell.leaders-view:before,.leaders-view #screen,.leaders-view .leaders-page{background:#000!important}


.app-shell.leaders-view .topbar,.app-shell.leaders-view .bottom-nav{background:#000!important}


/* Equal insets keep all currency buttons inside their shared outline. */
.arena-payment-tabs.arena-asset-tabs{display:flex;align-items:center;gap:4px;padding:5px;box-sizing:border-box;min-height:48px;height:auto;overflow:hidden;border-radius:20px}
.arena-payment-tabs.arena-asset-tabs>button{position:static;top:auto;transform:none;flex:1 1 0;min-width:0;min-height:36px;height:36px;box-sizing:border-box;margin:0;padding:7px 8px;display:flex;align-items:center;justify-content:center;gap:7px;border-radius:15px;line-height:1}

.arena-controls .arena-mode-toggle{display:flex;align-items:center;justify-content:center;width:max-content;max-width:100%;height:40px;min-height:40px;padding:4px;gap:4px;box-sizing:border-box;border:1px solid #393942;border-radius:99px;margin:0 auto 12px;overflow:hidden}
.arena-controls .arena-mode-toggle>button{position:static;top:auto;transform:none;display:flex;align-items:center;justify-content:center;flex:1 1 0;min-width:0;width:112px;height:30px;min-height:30px;margin:0;padding:0 12px;box-sizing:border-box;border:0;border-radius:99px;line-height:1;font-size:12px}

.arena-mode-toggle>.switch-motion-highlight{margin-top:-1px}

/* Keep deposit controls reachable when the gift list is taller than the viewport. */
.deposit-modal-sheet{max-height:calc(100dvh - env(safe-area-inset-top,0px) - 16px);display:flex;flex-direction:column;min-height:0;overflow:hidden}
.deposit-sheet-header{position:relative;flex:0 0 40px;min-height:40px;touch-action:none;cursor:grab}
.deposit-sheet-header .deposit-drag-pill{width:76px;height:34px;margin:0 auto;background:transparent;position:relative;touch-action:none}
.deposit-sheet-header .deposit-drag-pill:before{content:'';position:absolute;width:36px;height:4px;border-radius:99px;background:#747478;top:8px;left:20px}
.deposit-sheet-close{position:absolute;right:0;top:0;width:34px;height:34px;border-radius:50%;background:#333338;color:#fff;font-size:25px;line-height:1;padding:0}
#deposit-modal-content{overflow-y:auto;min-height:0;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding-bottom:4px}
.profile-redesign.profile-reference{width:100%;max-width:100%;min-width:0;margin:0;box-sizing:border-box}
.profile-reference .profile-stat-panel,.profile-reference .profile-gifts{width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow:hidden}
.profile-reference .profile-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.profile-reference .profile-stat{min-width:0;overflow-wrap:anywhere}
.profile-reference .profile-stat-details summary{min-width:0;box-sizing:border-box}
.profile-reference .profile-empty-dog{display:block;flex:none;object-fit:contain;max-width:100%;height:122px;min-height:122px}
.market-card>.market-card-footer{box-sizing:border-box;width:100%;max-width:100%;min-width:0;margin:0;border-radius:12px;overflow:hidden}

/* Keep the profile sections flush with square outer corners. */
.profile-reference .profile-stat-panel,.profile-reference .profile-gifts{border-radius:0}
.profile-reference .profile-gifts-empty>.profile-empty-dog{position:static;inset:auto;width:122px;height:122px;min-height:122px;max-height:122px;object-fit:contain;object-position:center;clip-path:none;mask-image:none;flex:0 0 122px}

/* Match the lucky-ticket background to the case screen. */
.app-shell.games-theme.ticket-view{background:#1b1b2d!important}
.ticket-view #screen,.ticket-view .ticket-page,.ticket-view .ticket-stage{background:#1b1b2d}
.ticket-view .topbar,.ticket-view .page-head{background:transparent}
.ticket-view .ticket-panel{background:#232334;border-color:#38384a}
