
/* ASTRA v2 — matte illustrated game. Solid fills, readable cards, real painted props. */
:root{--bg:#142e34;--panel:#20474c;--panel2:#2b5358;--line:#41646a;--muted:#abc4c1;--text:#fff4dc;--gold:#e6bd64;--gold-light:#f1d383;--purple:#b5a0d6;--green:#a4c98c;--red:#eb8e7c;--radius:20px;--common:#bbd0c5;--rare:#7fc1d5;--epic:#b9a0df;--legendary:#eab276;--mythic:#e397ad;--golden:#f0d276;--ink:#102b31;--font-game:'Nunito','Trebuchet MS','Segoe UI',sans-serif}
html{color-scheme:dark;scroll-padding-bottom:110px}
body{background:var(--bg);color:var(--text);font-family:var(--font-game);font-size:16px;font-weight:700;line-height:1.5;letter-spacing:0}
button,input,select,textarea{font-family:var(--font-game);font-weight:800}
button{touch-action:manipulation}button:disabled{opacity:.48;filter:none}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--gold-light);outline-offset:4px}
svg{stroke-width:2.2}h1,h2,h3{font-family:var(--font-game);font-weight:1000;letter-spacing:-.025em;line-height:1.12}
p{line-height:1.55}button,a,input,select{min-width:0}
.app-shell{display:block;min-height:100dvh;padding-bottom:calc(106px + env(safe-area-inset-bottom))}
.app-content{min-width:0}.main{width:100%;max-width:1264px;margin:auto;padding:30px 32px 40px}
.sidebar{position:fixed;z-index:40;inset:auto 0 0;height:calc(90px + env(safe-area-inset-bottom));padding:7px 20px calc(7px + env(safe-area-inset-bottom));background:#193c42;border:0;border-top:3px solid #41656b;display:block;backdrop-filter:none}
.brand,.nav-label,.sidebar-spacer,.season-side,.profile-chip{display:none}
.nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;width:min(790px,100%);height:100%;margin:auto}
.nav-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:4px 5px;border:2px solid transparent;border-radius:18px;font-size:13px;font-weight:1000;text-align:center;color:#b4ccca;background:transparent;line-height:1.2;transition:background .16s,transform .16s,color .16s}
.nav-btn svg,.nav-btn img{display:none}
.nav-btn:before{content:'';display:block;flex:0 0 44px;width:44px;height:44px;background-image:url('/assets/navigation-v3.webp');background-size:300% 200%;background-repeat:no-repeat;background-position:0 0}
.nav-btn:nth-child(2):before{background-position:50% 0}.nav-btn:nth-child(3):before{background-position:100% 0}.nav-btn:nth-child(4):before{background-position:0 100%}.nav-btn:nth-child(5):before{background-position:50% 100%}.nav-btn:nth-child(6):before{background-position:100% 100%}
.nav-btn:hover{background:#284c52;color:#fff4dc}.nav-btn.active{background:#e6c16d;color:#223d41;border-color:#f3d68d;box-shadow:0 3px 0 #0f2d33}
.nav-btn.active svg{filter:none}.nav-btn:active{transform:translateY(2px)}.nav-badge{display:none}
.topbar{height:78px;padding:0 max(32px,calc((100vw - 1200px)/2));gap:20px;background:#1b3b41;border-bottom:3px solid #35595f}
.breadcrumb{display:flex;align-items:center;gap:12px;color:#a6c1bd;font-size:13px;font-weight:800;white-space:nowrap}
.breadcrumb:before{content:'АСТРА';color:var(--gold-light);font-family:var(--font-game);font-size:28px;font-weight:1000;letter-spacing:-1px;line-height:1}
.breadcrumb>span,.breadcrumb>svg{display:none}.breadcrumb b{display:block;color:#9cbab7;font-size:13px;font-weight:800}
.topbar-right{gap:12px}.currency{height:43px;gap:6px;padding:4px 11px 4px 4px;border:2px solid #3a5c60;border-radius:14px;background:#142f35;font-size:16px;font-weight:1000;font-variant-numeric:tabular-nums;white-space:nowrap}
.currency small{display:none}.coin,.currency .coin{display:inline-block;width:32px;height:32px;flex:0 0 32px;background-color:transparent;background-image:url('/assets/props-v3.webp');background-size:200% 200%;background-position:0 0;background-repeat:no-repeat;border:0;border-radius:0;box-shadow:none;filter:none}
.coin.amethyst{background-color:transparent;background-image:url('/assets/props-v3.webp');background-size:200% 200%;background-position:100% 0;box-shadow:none}
.coin:before,.coin:after{display:none;content:none}.icon-btn{width:42px;height:42px;border:2px solid #46686d;border-radius:14px;background:#2c5056;color:#e3e9d9;box-shadow:0 3px 0 #102b31;transition:transform .15s,background .15s}
.icon-btn:hover{background:#365e63;color:var(--gold-light)}.icon-btn:active{transform:translateY(2px)}.icon-btn svg{width:22px;height:22px}
.page-heading{margin-bottom:24px;align-items:center;gap:20px}.page-heading>div{min-width:0}.page-heading h1{font-size:32px;max-width:760px}.page-heading p{font-size:15px;font-weight:600;color:var(--muted);margin-top:9px;max-width:670px}
.eyebrow{font-family:var(--font-game);color:var(--gold-light);font-size:11px;font-weight:1000;letter-spacing:1.3px;line-height:1.4}
.quiet-tag{background:#214b4d;border:2px solid #416d68;padding:8px 11px;border-radius:12px;font-size:11px;font-weight:800;color:#b8d8bd;white-space:nowrap;flex-shrink:0}.status-dot{width:7px;height:7px;background:#bad698;box-shadow:none}
.lobby-grid{grid-template-columns:minmax(0,1fr) 260px;gap:20px}.lobby-main,.lobby-side{min-width:0}
.hero{position:relative;display:flex;align-items:flex-end;min-height:392px;padding:25px;background:#577c75;border:3px solid #719185;border-radius:25px;box-shadow:0 6px 0 #0d252d;overflow:hidden}
.hero-art{position:absolute;inset:0;background-image:url('/assets/lobby-v2.webp');background-size:cover;background-position:center;filter:none;opacity:1}
.hero:after{display:none;content:none}.hero-content{max-width:420px;padding:20px 22px;border:2px solid #5a7b73;border-radius:19px;background:#193d40ed;z-index:1;isolation:isolate}
.hero .eyebrow{font-size:10px;color:#e9d08a}.hero h2{font-family:var(--font-game);font-size:40px;font-weight:1000;letter-spacing:-1.25px;line-height:1.06;margin:12px 0 10px;color:#fff2d9}.hero h2 span{color:var(--gold-light)}
.hero p{max-width:350px;font-size:13px;line-height:1.6;color:#d2dfd1;font-weight:600}.hero-actions{gap:10px;margin-top:19px;flex-wrap:wrap}.hero-stamp{right:21px;top:19px;bottom:auto;padding:8px 10px;border:2px solid #719284;background:#284a45;border-radius:12px;color:#e8d99f;font-size:9px;letter-spacing:.8px;box-shadow:none}
.btn{min-height:46px;padding:11px 18px;border:2px solid #163238;border-radius:13px;background:#355b61;font-size:14px;font-weight:1000;line-height:1.25;gap:8px;box-shadow:0 4px 0 #0f292f;transition:transform .16s,background .16s,color .16s;white-space:normal;text-align:center}
.btn svg{width:19px;height:19px}.btn:hover:not(:disabled){transform:translateY(-2px)}.btn:active:not(:disabled){transform:translateY(3px);box-shadow:0 1px 0 #102a2f}
.btn-primary{background:#e4ba62;color:#2c3c37;border-color:#f1cd7c;box-shadow:0 4px 0 #92763b}.btn-primary:hover:not(:disabled){background:#edc976;box-shadow:0 4px 0 #92763b}
.btn-secondary{background:#355b61;color:#e8efdf;border-color:#55777a;box-shadow:0 4px 0 #122e35}.btn-secondary:hover:not(:disabled){background:#426b6f}
.btn-danger{background:#794c48;color:#ffddc4;border-color:#af7365;box-shadow:0 4px 0 #3c302e}.btn-small{min-height:39px;padding:8px 12px;font-size:12px}.hero .btn{font-size:13px;padding:11px 14px}
.text-btn{min-height:28px;font-size:13px;font-weight:900;color:#edcd83;gap:7px;text-align:left;line-height:1.3}.text-btn svg{width:15px;height:15px}
.stats-row{gap:12px;margin-top:18px}.stat-tile{background:#20464b;border:2px solid #3c6064;border-radius:16px;padding:17px;gap:12px;box-shadow:0 3px 0 #0e292f}.stat-icon{width:38px;height:38px;background:#31565a;color:#eacb83;border-radius:12px;display:grid;place-items:center}.stat-icon svg{width:23px;height:23px}
.stat-tile strong{font-size:27px;font-weight:1000;letter-spacing:-1px;line-height:1}.stat-tile span{font-size:11px;margin-top:6px;color:#b7cdca;font-weight:700}.stat-tile strong small{color:#b7cdca!important;font-size:12px!important}
.panel{background:#21464b;border:2px solid #41636a;border-radius:20px;padding:22px;box-shadow:0 4px 0 #102a31}.panel-title{gap:10px;margin-bottom:17px}.panel-title h3{font-size:15px;font-weight:1000;letter-spacing:-.2px}.panel-title>span{color:#c9b87c}
.rank-panel{min-height:0;text-align:center;padding:20px}.rank-panel .panel-title{margin-bottom:9px}.rank-panel .panel-title h3{font-size:13px}.rank-panel h3{font-size:22px}.rank-panel p{font-size:11px;margin:8px 0 14px;color:#b5ccca}
.rank-medal{width:92px;height:106px;margin:8px auto 12px;filter:none!important}.rank-medal svg{filter:none}.rank-medal>svg:first-child>path{stroke:#e2be70;stroke-width:2;fill:#536f66}.rank-medal>svg:first-child>path:nth-of-type(4){fill:#24484e}.rank-medal span{font-family:var(--font-game);font-size:29px;font-weight:1000;color:#f1d58c;line-height:1}
.thin-track{height:9px;border:2px solid #0e2b31;border-radius:7px;background:#142f35;overflow:hidden}.thin-track i{border-radius:4px;background:#d8b966}.rank-progress{font-size:10px;color:#bed0c8;margin-top:8px;gap:6px}.rank-progress b{font-weight:900;color:#e5ce96}
.daily-panel{margin-top:16px;padding:18px;min-height:174px;overflow:hidden}.daily-panel h3{font-size:15px;line-height:1.2;max-width:170px;margin-bottom:8px}.daily-panel p{font-size:12px;line-height:1.5;max-width:142px;color:#bbd0c7}.daily-panel .btn{margin-top:17px;position:relative;z-index:2;font-size:11px;min-height:37px;padding:8px 11px}
.tiny-chest{width:82px;height:82px;top:55px;right:7px;transform:rotate(6deg);opacity:1}.tiny-chest .chest-art{width:100%;height:100%;animation:none}
.section-heading{margin:29px 0 17px;gap:18px;align-items:center}.section-heading h2{font-size:22px;line-height:1.2}.section-heading p{font-size:13px;color:#adc7c1;margin-top:6px}.section-heading .count{font-size:12px;color:#b8cfbe;font-weight:800;white-space:nowrap}
.deck-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;padding:0;margin:0;overflow:visible}
.card{position:relative;aspect-ratio:.66;border:3px solid var(--rarity);border-radius:19px;background:#21464a;box-shadow:0 5px 0 #0a242a;color:#fff1da;isolation:isolate;transition:transform .2s,border-color .2s}
.card:hover{transform:translateY(-4px);border-color:var(--rarity);box-shadow:0 7px 0 #0a242a}.card.selected{border-color:#f4d68a;box-shadow:0 0 0 3px #142e34,0 0 0 6px #f0ca71,0 7px 0 #0a242a}
.card-art{inset:0 0 37%;background-image:url('/assets/heroes-1.webp');background-size:300% 200%;background-repeat:no-repeat;transition:transform .35s;transform:none;filter:none}.card:hover .card-art{transform:scale(1.025)}
.card:after,.card-shine{display:none;content:none}.card-top{top:10px;left:9px;right:9px}.card-level{font-size:11px;font-weight:1000;line-height:1.25;padding:5px 7px;background:#14363e;border:2px solid #507071;border-radius:9px;color:#f8e4b6;backdrop-filter:none}
.rarity-gem{width:10px;height:10px;border:2px solid #edf3d7;background:var(--rarity);box-shadow:none;border-radius:2px;transform:rotate(45deg)}
.card-info{bottom:0;min-height:40%;padding:11px 12px 14px;background:#244b50;border-top:3px solid var(--rarity);border-radius:12px 12px 0 0;box-shadow:none}
.card-rarity{font-size:10px;font-weight:1000;letter-spacing:.6px;line-height:1.2;color:var(--rarity)}.card-name{font-size:16px;font-weight:1000;line-height:1.15;margin:7px 0 5px;white-space:normal;overflow:visible;text-overflow:clip;min-height:36px;letter-spacing:-.25px}
.card-role{font-size:11px;font-weight:700;color:#b7ceca;line-height:1.2}.card-stats{gap:12px;font-size:15px;font-weight:1000;margin-top:10px;padding-top:8px;border-top:2px solid #426469;line-height:1.15}.card-stats>span{gap:5px}.card-stats svg{width:16px;height:16px;color:#e1cf99}.card-stats>span:last-child{color:#f0c1ad}.card-stats>span:last-child svg{color:#f0a492}
.card-fragments{height:5px;bottom:0;left:0;right:0;background:#143238}.card-fragments span{background:var(--rarity)}.deck-note{font-size:12px;color:#a8c4bb;gap:8px;margin-top:17px;line-height:1.4}.deck-note svg{width:17px;height:17px}
.quick-features{gap:16px;margin-top:25px}.feature-link{background:#22474c;border:2px solid #3e6266;border-radius:17px;padding:19px;gap:13px;box-shadow:0 4px 0 #102b31;transition:transform .18s}.feature-link:hover{transform:translateY(-2px)}.feature-link>svg{width:31px;height:31px;color:#e6c887}.feature-link b{font-size:14px;font-weight:1000;line-height:1.2}.feature-link small{font-size:11px;font-weight:600;color:#b1c9c4;line-height:1.4;margin-top:5px}.feature-link .arrow{width:17px;height:17px;color:#b6c5af}
.footer-line{font-size:10px;font-weight:800;letter-spacing:.8px;color:#87ada6;margin-top:31px}.footer-line:before,.footer-line:after{background:#35575e}
.banner-note{padding:13px 16px;border:2px solid #476865;border-radius:14px;background:#2c4d4d;color:#d0dbbd;font-size:13px;font-weight:600;line-height:1.5;gap:10px;margin-bottom:22px}.banner-note svg{width:19px;height:19px;flex-shrink:0;margin-top:1px}
.tabs{gap:8px;margin-bottom:23px}.tab{font-size:13px;font-weight:900;padding:10px 15px;min-height:41px;background:#244950;border:2px solid #3e656a;border-radius:12px;color:#bcd1c9;line-height:1.15}.tab.active{background:#d4bc7b;border-color:#edd08b;color:#2c4641}.tab:hover{color:var(--gold-light)}.tab.active:hover{color:#203c36}
.collection-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:23px 16px}.collection-item .card{aspect-ratio:.63}.collection-item .card-name{font-size:14px}.collection-item .card-role{font-size:10px}.collection-item .card-info{padding:10px 10px 13px}.collection-item .card-stats{font-size:14px}.collection-item .collection-meta{font-size:11px;font-weight:700;padding:11px 2px 0;color:#abcac2;gap:7px;line-height:1.4}.collection-item .collection-meta b{color:#e7c888;font-weight:900}.collection-item.unowned{opacity:.63;filter:saturate(.72)}
.deck-strip{padding:16px 18px;gap:12px;border:2px solid #4b7270;border-radius:18px;background:#254a4e;margin-bottom:24px}.deck-strip>span{font-size:14px;font-weight:900;color:#f1dfb4}.deck-strip .mini-portrait{width:42px;height:51px}.mini-portrait{background-image:url('/assets/heroes-1.webp');background-size:300% 200%;border:2px solid var(--rarity,#a9c2b2);border-radius:10px;box-shadow:0 3px 0 #123035}
.case-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.case-card{background:#285353;border:3px solid #61817a;border-radius:25px;padding:30px 27px;box-shadow:0 6px 0 #102b30}.case-card.amethyst-case{background:#45455d;border-color:#787198}.case-card h2{font-family:var(--font-game);font-size:30px;font-weight:1000;margin:10px 0 10px;letter-spacing:-.5px}.case-card p{font-size:14px;line-height:1.6;color:#c2d5c9;max-width:320px}.case-card.amethyst-case p{color:#d3cee0}.case-card .btn{min-width:205px;margin-top:23px;font-size:15px}.case-card .coin{width:29px;height:29px;flex-basis:29px}.case-label{top:21px;left:23px;font-size:11px;color:#efd18a;font-weight:1000;letter-spacing:1.1px}
.case-visual{height:224px;margin:10px 0;display:grid;place-items:center}.case-visual:before{display:none;content:none}.chest-svg{display:none}.chest-art{display:block;width:242px;height:242px;aspect-ratio:1;background-image:url('/assets/props-v3.webp');background-repeat:no-repeat;background-size:200% 200%;background-position:0 100%;filter:none;animation:v2-chest-float 4.8s ease-in-out infinite}
.chest-art.amethyst,.amethyst-case .chest-art{background-position:100% 100%;filter:none}.odds{gap:7px;margin-top:20px}.odds span{border:1px solid #67847c;background:#214343;border-radius:7px;padding:4px 7px;font-size:10px;font-weight:800;color:#c4d7c5}.amethyst-case .odds span{background:#37384e;border-color:#716b89;color:#d7cde1}
.case-opening{min-height:400px;isolation:isolate}.case-opening .case-visual{height:235px}.case-opening .chest-art{animation:v2-chest-open 1.6s ease-in-out forwards}.case-opening h2{font-family:var(--font-game);font-size:27px;font-weight:1000;color:#f2d58d}.case-beam{display:none}.reveal-card{width:210px;animation:v2-card-reveal .6s cubic-bezier(.18,.9,.3,1);filter:none}.reveal-title{font-size:24px!important}.reveal-card .card{aspect-ratio:.66}
.toolbar{gap:15px;align-items:center;margin-bottom:22px}.search-input{max-width:310px;font-size:14px}.form-field{font-size:14px;font-weight:800;color:#bdd3c8;gap:9px;margin:17px 0}.input,select{min-height:46px;padding:11px 14px;border:2px solid #527676;border-radius:12px;background:#17373e;color:#f2ead4;font-size:15px;line-height:1.3}.input::placeholder{color:#96b6b1;font-weight:700}.input:focus,select:focus{border-color:#e4c574;box-shadow:none}
.market-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.market-item{padding:19px;background:#21484e;border:2px solid #40686b;border-radius:20px;gap:16px;box-shadow:0 4px 0 #102c32}.market-item-head{gap:14px;align-items:center}.market-item .mini-portrait{width:65px;height:82px}.market-item h3{font-size:16px;line-height:1.18}.market-item p{font-size:12px;line-height:1.4;color:#b4ceca;margin-top:6px}.market-bottom{padding-top:15px;border-top:2px solid #3b6266;gap:10px}.market-price{font-size:17px;font-weight:1000;gap:4px}.market-seller{font-size:12px;font-weight:800;color:#a5c7c2}.market-bottom .coin{width:29px;height:29px;flex-basis:29px}
.empty-state{padding:47px 23px;border:2px dashed #4f7371;border-radius:20px;background:#1d4046}.empty-state>svg{height:49px;width:49px;margin-bottom:17px;color:#d8c184}.empty-state h3{font-size:22px;margin-bottom:11px}.empty-state p{font-size:14px;font-weight:600;max-width:430px;color:#b4cfc7;line-height:1.65}.empty-state .btn{margin-top:23px}
.friends-grid{grid-template-columns:minmax(0,1fr) 320px;gap:23px}.friend-row{gap:14px;padding:18px 0;border-bottom:2px solid #3e6266}.friend-row>div{min-width:0}.friend-row b{font-size:16px;font-weight:1000;overflow-wrap:anywhere}.friend-row small{font-size:12px;color:#b0cbc6}.friend-row .text-btn{margin-top:5px;font-size:12px}.friend-row .profile-avatar{width:48px;height:48px;flex-shrink:0}.friend-row>.btn{flex-shrink:0}
.profile-avatar{height:43px;width:43px;background:#3d6061;border:2px solid #6c8980;border-radius:15px;color:#f2d88f;font-family:var(--font-game);font-size:21px;font-weight:1000;box-shadow:0 3px 0 #123138}
.friends-grid aside .panel>h3{font-size:23px!important;line-height:1.16}.friends-grid aside .panel>p{font-size:14px!important;line-height:1.6;color:#c0d4c8!important}.lobby-code{font-family:var(--font-game);font-size:39px;font-weight:1000;letter-spacing:6px;background:#17373c;border:2px dashed #88a79c;border-radius:16px;color:#f1d181;padding:19px 12px;margin:23px 0}
.season-hero{grid-template-columns:minmax(0,1fr) 180px;gap:20px;padding:29px 33px;border:3px solid #667e78;border-radius:24px;background:#305555;box-shadow:0 5px 0 #102c31;margin-bottom:25px}.season-hero h2{font-family:var(--font-game);font-size:37px;font-weight:1000;color:#f2dc9e;margin:12px 0;letter-spacing:-1px}.season-hero p{font-size:15px;line-height:1.65;color:#c4d4c6;max-width:590px}.season-hero .rank-medal{width:131px;height:151px}.season-hero .rank-medal span{font-size:40px}
.rank-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.rank-row{padding:18px;gap:14px;background:#22484d;border:2px solid #40666a;border-radius:17px;text-align:left;box-shadow:0 3px 0 #102b31}.rank-row.current{border-color:#e7c875;background:#3a584f}.rank-row.locked{opacity:.7}.rank-row>svg{width:35px;height:40px;color:#ddc27f;flex-shrink:0}.rank-row>div{min-width:0}.rank-row h3{font-size:15px;font-weight:1000;line-height:1.15}.rank-row p{font-size:11px;color:#b3cec2;margin-top:7px;line-height:1.45}.rank-row small{font-size:12px;color:#e2c787;font-weight:1000;flex-shrink:0}
.queue-view{max-width:700px;margin:0 auto;padding:35px 24px 45px;background:#21494f;border:3px solid #456f72;border-radius:26px;box-shadow:0 6px 0 #0f2a31}.queue-orbit{width:152px;height:152px;margin:30px auto 35px;background:#365859;border:5px solid #d9bd77;border-radius:37%;box-shadow:0 7px 0 #102f35;transform:rotate(-5deg)}.queue-orbit:before{display:none}.queue-orbit:after{inset:-14px;border:3px dashed #78968a;border-top-color:#78968a;animation:spin 15s linear infinite;opacity:.65}.queue-orbit strong{font-family:var(--font-game);font-size:72px;font-weight:1000;color:#f3d789;transform:rotate(5deg);line-height:1}.queue-view h2{font-size:30px;margin-bottom:13px}.queue-view p{max-width:440px;font-size:15px;font-weight:600;color:#bed3c7;line-height:1.6}.queue-steps{font-size:12px;gap:18px;color:#87b0a8;margin:24px 0}.queue-steps .active{color:#e7cf95}.queue-view .btn{margin-top:9px}
.modal-backdrop{padding:24px;background:#081f28dc;backdrop-filter:none;animation:fade-in .18s}.modal{max-width:570px;max-height:min(88dvh,850px);padding:29px;background:#244b52;border:3px solid #799187;border-radius:24px;box-shadow:0 10px 0 #0c2630;animation:v2-dialog-in .22s cubic-bezier(.2,.8,.3,1)}.modal.wide{max-width:810px}.modal h2{font-family:var(--font-game);font-size:27px;font-weight:1000;color:#ffedc7;margin:0 44px 15px 0;line-height:1.14}.modal p{font-size:15px;line-height:1.65;color:#bdd2ca;font-weight:600}.modal-close{top:13px;right:13px;width:35px;height:35px;border-radius:11px}.modal .button-row{margin-top:24px;gap:11px}.modal .button-row .btn{font-size:13px;min-width:130px}
.card-detail{grid-template-columns:195px minmax(0,1fr);gap:26px;align-items:start}.card-detail .card-name{font-size:15px}.card-detail .card-stats{font-size:15px}.detail-stats{gap:9px;margin:17px 0}.detail-stat{padding:10px;background:#193c43;border:2px solid #486c6f;border-radius:11px;font-size:12px;color:#b8cec6}.detail-stat b{font-size:21px;color:#f5e4be;margin-top:4px;font-weight:1000;line-height:1.2}.info-box{font-size:13px!important;font-weight:700!important;line-height:1.6!important;background:#1b3b42;border:2px solid #41656a;border-radius:13px;padding:14px;margin-top:17px!important;overflow-wrap:anywhere}
.toast{bottom:calc(109px + env(safe-area-inset-bottom));padding:13px 19px;max-width:min(530px,calc(100vw - 32px));background:#e2cd92;color:#283f3b;border:3px solid #f4e1a7;border-radius:15px;box-shadow:0 5px 0 #0c2832;font-size:14px;font-weight:900;backdrop-filter:none}.toast.error{border-color:#e2a48a;background:#87564e;color:#ffe8ce}
.result-view{padding:17px 5px}.result-view h2{font-family:var(--font-game);font-size:32px;font-weight:1000;margin:17px 0;line-height:1.12}.result-stats{gap:19px;flex-wrap:wrap;margin:24px 0}.result-stat{font-size:20px;font-weight:1000;color:#f0d798;gap:5px}.result-stat .coin{width:36px;height:36px;flex-basis:36px}
.settings-row{font-size:15px;border-bottom:2px solid #41666b;padding:19px 0;gap:18px}.settings-row p{font-size:13px;margin-top:6px}.settings-row b{font-size:12px!important;flex-shrink:0;text-align:right}.toggle{width:45px;height:27px;flex-shrink:0;padding:3px;background:#16353d;border:2px solid #547675;box-sizing:content-box}.toggle:after{width:23px;height:23px;background:#bed0c4}.toggle.on{background:#c2b278;border-color:#e5d194}.toggle.on:after{background:#f5e4b5;transform:translateX(19px)}
.help-grid{gap:16px;margin-top:22px}.help-step{padding:19px;background:#2d565b;border:2px solid #50777a;border-radius:17px}.help-step strong{font-family:var(--font-game);font-size:28px;font-weight:1000;color:#e9cd88;margin-bottom:12px}.help-step strong svg{width:30px;height:30px}.help-step h3{font-size:17px;margin-bottom:9px}.help-step p{font-size:13px;line-height:1.6}
.profile-stats{gap:12px;margin-top:22px}.profile-stats>div{padding:17px 12px;background:#1c3e46;border:2px solid #486a6e;border-radius:15px}.profile-stats b{font-size:28px;font-weight:1000;line-height:1.2}.profile-stats small{font-size:12px;color:#b1c9c3}.profile-card .mini-portrait{border-radius:12px}.profile-card b{font-size:12px;font-weight:900;margin-top:9px;line-height:1.3}.profile-relics{gap:15px}.profile-relics>div{max-width:155px;padding:13px;background:#193b43;border:2px solid #47676a;border-radius:16px}.profile-relics span{font-size:12px;color:#c8d6c6;line-height:1.4}.profile-relics .rank-medal{width:75px;height:87px}
.leaderboard-row{font-size:14px;padding:16px 0;gap:12px;border-bottom:2px solid #43686b}.leaderboard-row .place{font-family:var(--font-game);font-size:21px;font-weight:1000;width:32px;flex-shrink:0;color:#edd18a}.leaderboard-row strong{font-size:15px;color:#e6d4a3;font-weight:1000}.leaderboard-row .profile-avatar{flex-shrink:0}
.reel{height:102px;width:238px;background:#183941;border:3px solid #6d8a7c;border-radius:19px;box-shadow:0 5px 0 #102f35}.reel-number{font-family:var(--font-game);font-size:64px;font-weight:1000;color:#ecd38b}.reel:before,.reel:after{top:39px;border-left-color:#e8cb80}
.boot{font-family:var(--font-game);font-size:15px;font-weight:900;color:#e6c87e;letter-spacing:1px;background:#17363d}.boot-mark{font-family:var(--font-game);font-size:91px;font-weight:1000;animation:none}.fatal{max-width:580px;margin:13vh auto;padding:28px;background:#24484e;border:3px solid #779084;border-radius:23px}.fatal h1{font-size:30px}.fatal p{font-size:15px;color:#b9d0c8;line-height:1.6}.view-enter{animation:v2-view-in .2s ease-out}
.is-battle .sidebar,.is-battle .topbar{display:none}.is-battle .app-shell{padding-bottom:0}.is-battle .main{max-width:none;padding:0}

@keyframes v2-chest-float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-5px) rotate(1deg)}}
@keyframes v2-chest-open{0%,35%{transform:rotate(0) scale(1)}45%{transform:rotate(-5deg)}55%{transform:rotate(5deg)}65%{transform:rotate(-4deg)}76%{transform:rotate(3deg) scale(1.05)}90%{transform:translateY(-10px) scale(1.06);opacity:1}100%{transform:translateY(18px) scale(.8);opacity:0}}
@keyframes v2-card-reveal{from{opacity:0;transform:translateY(45px) rotate(-7deg) scale(.84)}75%{opacity:1;transform:translateY(-7px) rotate(2deg) scale(1.02)}to{opacity:1;transform:none}}
@keyframes v2-dialog-in{from{opacity:0;transform:translateY(16px) scale(.96)}to{opacity:1;transform:none}}
@keyframes v2-view-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}

@media(min-width:1600px){.main{padding-top:32px}.hero{min-height:410px;padding:27px}.hero h2{font-size:43px}.hero p{font-size:14px}.hero-actions{margin-top:20px}.lobby-grid{grid-template-columns:minmax(0,1fr) 270px}.rank-panel{min-height:0}.deck-grid{gap:17px}.card-info{padding:12px}.card-name{font-size:17px}.card-rarity{font-size:11px}.stat-tile{padding:18px}.stats-row{margin-top:18px}}
@media(max-width:1100px){.main{padding:26px 25px 34px}.topbar{padding:0 25px}.lobby-grid{grid-template-columns:minmax(0,1fr) 245px;gap:17px}.hero{min-height:391px;padding:20px}.hero-content{max-width:385px;padding:18px}.hero h2{font-size:35px}.hero p{font-size:12px}.hero .btn{font-size:12px;padding:10px 12px}.hero-stamp{display:none}.hero-actions{gap:8px}.stats-row{gap:9px}.stat-tile{padding:14px;gap:8px}.stat-icon{width:31px;height:33px}.stat-tile strong{font-size:25px}.stat-tile span{font-size:10px}.collection-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 17px}.card-name{font-size:15px}.card-info{padding:11px}.card-role{font-size:10px}.card-rarity{font-size:9px}.feature-link{padding:16px;gap:10px}.feature-link b{font-size:13px}.feature-link small{font-size:10px}.friends-grid{grid-template-columns:minmax(0,1fr) 280px}.rank-list{grid-template-columns:repeat(2,minmax(0,1fr))}.rank-row h3{font-size:15px}.market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.lobby-grid{grid-template-columns:minmax(0,1fr)}.hero{min-height:410px;padding:24px}.hero-content{max-width:410px}.hero h2{font-size:40px}.hero p{font-size:13px}.hero .btn{font-size:13px}.lobby-side{display:grid;grid-template-columns:1fr 1fr;gap:16px}.rank-panel{position:relative;min-height:0;text-align:left;padding:18px}.rank-panel .rank-medal{float:left;width:74px;height:86px;margin:2px 17px 12px 0}.rank-panel .panel-title{margin-bottom:14px}.rank-panel h3{font-size:22px}.rank-panel p{font-size:12px;margin:6px 0 13px}.rank-panel .thin-track{clear:both}.rank-panel>.text-btn{display:none}.daily-panel{margin:0;min-height:0;padding:19px}.daily-panel h3{font-size:18px;max-width:230px}.daily-panel p{max-width:190px;font-size:13px}.daily-panel .btn{font-size:12px;margin-top:21px}.tiny-chest{right:8px;top:62px;width:90px;height:90px}.deck-grid{grid-template-columns:repeat(5,156px);gap:15px;overflow-x:auto;padding:8px 3px 14px;margin:-8px -3px -8px;scrollbar-width:thin;scrollbar-color:#59796a transparent;scroll-snap-type:x proximity}.deck-grid>.card{scroll-snap-align:start}.card-name{font-size:14px;min-height:32px}.card-role{font-size:10px}.card-stats{font-size:14px;gap:9px}.card-rarity{font-size:9px}.card-info{padding:10px 11px 12px}.friends-grid{grid-template-columns:1fr}.friends-grid>aside{display:grid;grid-template-columns:1fr 1fr;gap:17px;align-items:start}.friends-grid>aside .banner-note{margin:0}.case-card{padding:26px 20px}.case-card h2{font-size:27px}.case-card p{font-size:13px}.case-visual{height:200px}.chest-art{width:217px;height:217px}.season-hero{padding:25px;grid-template-columns:minmax(0,1fr) 135px}.season-hero h2{font-size:32px}.season-hero .rank-medal{width:115px;height:132px}}
@media(max-width:700px){body{font-size:15px}.app-shell{padding-bottom:calc(101px + env(safe-area-inset-bottom))}.sidebar{height:calc(85px + env(safe-area-inset-bottom));padding:6px 8px calc(6px + env(safe-area-inset-bottom));border-top-width:3px;background:#193c42;backdrop-filter:none}.nav{gap:5px}.nav-btn{padding:5px 1px;gap:4px;border-radius:14px;font-size:clamp(9px,2.6vw,12px);font-weight:1000}.nav-btn svg,.nav-btn img{width:29px;height:29px}.nav-btn.active{background:#e6c16d;box-shadow:0 3px 0 #0f2d33}.topbar{height:72px;padding:0 17px;gap:8px}.breadcrumb:before{font-family:var(--font-game);font-size:24px;font-weight:1000;letter-spacing:-1px}.breadcrumb b{display:none}.topbar-right{gap:8px}.currency{height:39px;font-size:14px;padding:3px 8px 3px 1px;gap:3px;border-radius:12px}.currency .coin{width:28px;height:28px;flex-basis:28px}.topbar .icon-btn{width:35px;height:35px;border:2px solid #4b6e70;border-radius:12px}.topbar .icon-btn svg{width:19px;height:19px}.main{padding:22px 17px 30px}.page-heading{gap:13px;margin-bottom:20px}.page-heading h1{font-size:27px}.page-heading p{font-size:13px;max-width:430px;margin-top:8px}.quiet-tag{display:none}.hero{min-height:392px;padding:17px;border-radius:21px}.hero-art{background-image:url('/assets/lobby-v2.webp');background-position:58% center}.hero-content{max-width:370px;padding:17px;background:#193d40ed;border-radius:16px}.hero .eyebrow{font-size:9px;letter-spacing:.8px}.hero h2{font-size:36px;margin:11px 0 10px;line-height:1.08;letter-spacing:-1px}.hero p{font-size:12px;max-width:320px;line-height:1.55}.hero-actions{gap:9px;margin-top:18px}.hero .btn{font-size:12px;padding:10px 12px;min-height:44px}.hero-stamp{display:none}.stats-row{gap:9px;margin-top:16px}.stat-tile{display:block;padding:14px 12px;border-radius:15px}.stat-icon{display:none}.stat-tile strong{font-size:28px}.stat-tile span{font-size:10px;line-height:1.4;margin-top:5px}.lobby-grid{gap:17px}.lobby-side{grid-template-columns:1fr 1fr;gap:12px}.rank-panel,.daily-panel{padding:15px;border-radius:17px}.rank-panel .panel-title{margin-bottom:10px}.rank-panel .panel-title h3{font-size:12px}.rank-panel .panel-title>span{display:none}.rank-panel .rank-medal{width:57px;height:67px;margin:0 10px 8px 0}.rank-medal span{font-size:23px}.rank-panel h3{font-size:18px;padding-top:3px}.rank-panel p{font-size:10px;line-height:1.5;margin:5px 0 11px}.rank-progress{font-size:9px;gap:4px}.rank-progress b{font-size:9px}.daily-panel h3{font-size:15px;max-width:none;line-height:1.2}.daily-panel p{font-size:11px;max-width:128px;line-height:1.5}.daily-panel .btn{font-size:10px;padding:8px 9px;margin-top:17px;min-height:36px}.tiny-chest{width:58px;height:58px;top:66px;right:3px;opacity:1}.section-heading{margin:26px 0 16px;gap:12px}.section-heading h2{font-size:21px}.section-heading p{font-size:12px}.section-heading .text-btn{font-size:12px;flex-shrink:0}.section-heading .count{font-size:11px;margin-left:5px}.deck-grid{grid-template-columns:repeat(5,155px);gap:13px;padding:8px 3px 14px;margin:-8px -3px -8px;scrollbar-width:none}.card{border-radius:17px;border-width:3px}.card-name{font-size:14px;line-height:1.15;min-height:32px}.card-top{top:8px;left:7px;right:9px}.card-level{font-size:10px;padding:4px 6px;border-radius:8px}.card-info{padding:10px 10px 12px}.card-rarity{font-size:9px;letter-spacing:.4px}.card-role{font-size:10px}.card-stats{font-size:14px;margin-top:8px;padding-top:7px;gap:10px}.card-stats svg{width:14px;height:14px}.deck-note{font-size:11px;align-items:flex-start;margin-top:16px}.quick-features{grid-template-columns:1fr;gap:11px;margin-top:23px}.feature-link{display:flex;align-items:center;padding:16px;gap:14px;border-radius:16px}.feature-link>svg{width:29px;height:29px;margin:0}.feature-link b{font-size:15px}.feature-link small{font-size:12px;margin-top:3px}.feature-link .arrow{display:block;width:17px;height:17px;margin-left:auto}.footer-line{font-size:8px;letter-spacing:.4px;gap:6px;margin-top:25px}.collection-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 13px}.collection-grid .card-info{padding:9px 9px 12px}.collection-grid .card-name{font-size:13px;min-height:30px}.collection-grid .card-rarity{font-size:9px}.collection-grid .card-role{display:block;font-size:10px}.collection-grid .card-stats{font-size:14px}.collection-item .collection-meta{font-size:10px;line-height:1.4}.tabs{gap:7px;margin-bottom:21px}.tab{font-size:12px;padding:9px 12px;min-height:39px;border-radius:11px}.deck-strip{gap:9px;padding:14px;margin-bottom:22px}.deck-strip>span{font-size:13px}.deck-strip .mini-portrait{width:33px;height:43px;border-radius:8px}.deck-strip .btn{font-size:12px;padding:9px 12px;min-height:39px}.case-grid{grid-template-columns:1fr;gap:22px}.case-card{padding:25px 23px;border-radius:24px}.case-card h2{font-size:29px}.case-card p{font-size:14px}.case-visual{height:218px;margin-top:13px}.chest-art{width:238px;height:238px}.case-card .btn{font-size:15px;padding:11px 20px}.case-label{font-size:10px;top:18px;left:20px}.odds span{font-size:10px}.banner-note{font-size:12px;padding:12px 14px;align-items:flex-start;border-radius:13px}.toolbar{flex-wrap:wrap;gap:14px}.toolbar .input{max-width:100%}.market-grid{gap:14px}.market-item{padding:16px;gap:13px;border-radius:18px}.market-item-head{display:block}.market-item .mini-portrait{width:58px;height:72px;margin-bottom:12px}.market-item h3{font-size:15px}.market-item p{font-size:11px}.market-bottom{flex-wrap:wrap;gap:9px;padding-top:12px}.market-price{font-size:16px}.market-bottom .btn{font-size:11px;padding:8px 11px;min-height:37px}.market-seller{font-size:11px}.season-hero{grid-template-columns:minmax(0,1fr) 100px;padding:23px 20px;gap:12px;border-radius:21px}.season-hero h2{font-size:28px}.season-hero p{font-size:13px}.season-hero .eyebrow{font-size:9px;letter-spacing:.5px}.season-hero .rank-medal{width:92px;height:106px}.season-hero .rank-medal span{font-size:30px}.season-hero .btn{font-size:11px;padding:9px 11px;min-height:40px}.rank-list{grid-template-columns:1fr 1fr;gap:12px}.rank-row{padding:14px;gap:10px;flex-wrap:wrap;border-radius:15px}.rank-row>svg{width:29px;height:33px}.rank-row>div{flex:1;min-width:80px}.rank-row h3{font-size:13px;line-height:1.18}.rank-row p{font-size:10px;line-height:1.4}.rank-row small{font-size:11px}.modal-backdrop{padding:16px}.modal{padding:25px 20px;max-height:89dvh;border-radius:22px}.modal h2{font-size:25px;margin-right:36px}.modal p{font-size:14px}.card-detail{grid-template-columns:150px minmax(0,1fr);gap:17px}.card-detail .card-name{font-size:13px}.card-detail .card-stats{font-size:14px;gap:8px}.card-detail .card-info{padding:9px 9px 12px}.detail-stats{gap:8px}.detail-stat{font-size:11px;padding:8px}.detail-stat b{font-size:18px}.modal .button-row{gap:10px}.modal .button-row .btn{font-size:13px;padding:11px 13px}.info-box{font-size:12px!important;padding:12px}.toast{bottom:calc(104px + env(safe-area-inset-bottom));font-size:13px}.help-grid{gap:12px}.help-step{padding:16px;border-radius:15px}.help-step h3{font-size:15px}.help-step p{font-size:12px}.help-step strong{font-size:25px}.friends-grid .panel{padding:19px}.friends-grid>aside{grid-template-columns:1fr;gap:16px}.friend-row{gap:11px;padding:17px 0}.friend-row b{font-size:14px}.friend-row small{font-size:11px}.friend-row .btn{font-size:10px;padding:8px 10px;min-height:37px}.friend-row .profile-avatar{width:40px;height:40px;font-size:18px}.friends-grid aside .panel>h3{font-size:23px!important}.friends-grid aside .panel>p{font-size:14px!important}.queue-view{padding:30px 20px 35px}.queue-view h2{font-size:26px}.queue-view p{font-size:14px}.queue-steps{gap:13px;font-size:10px;line-height:1.5}.queue-orbit{width:133px;height:133px;margin:28px auto 30px}.queue-orbit strong{font-size:64px}.profile-stats>div{padding:14px 9px}.profile-stats b{font-size:24px}.profile-stats small{font-size:10px}.profile-card b{font-size:10px;line-height:1.4}.profile-relics span{font-size:11px}.result-view h2{font-size:28px}.result-stat{font-size:19px}.settings-row{font-size:14px;gap:12px}.settings-row p{font-size:12px}.fatal{margin:10vh 17px;padding:24px}.fatal h1{font-size:26px}.is-battle .main{padding:0}}
@media(max-width:520px){.topbar{padding:0 12px;gap:6px}.breadcrumb:before{font-size:22px}.topbar-right{gap:6px}.topbar .icon-btn{width:32px;height:34px;border-radius:10px}.topbar .icon-btn svg{width:18px;height:18px}.currency{font-size:13px;padding-right:6px;gap:2px;max-width:95px}.currency .coin{width:26px;height:26px;flex-basis:26px}.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 13px}.collection-grid .card{aspect-ratio:.65}.collection-grid .card-name{font-size:14px;min-height:32px}.collection-grid .card-rarity{font-size:10px}.collection-grid .card-role{font-size:10px}.collection-grid .card-stats{font-size:15px}.page-heading h1{font-size:25px}.page-heading .btn{font-size:11px;padding:9px 10px;min-height:39px;max-width:138px}.section-heading h2{font-size:20px}.section-heading .text-btn{font-size:11px;max-width:113px}.hero{min-height:387px;padding:14px}.hero-content{padding:16px 15px;width:100%}.hero h2{font-size:33px}.hero p{font-size:12px}.hero-actions{gap:9px}.hero .btn{font-size:11px;padding:10px 11px}.hero .btn svg{width:17px;height:17px}.hero .btn-primary{flex:1}.hero-actions .btn-primary>svg:last-child{display:none}.lobby-side{gap:10px}.rank-panel,.daily-panel{padding:13px 12px}.rank-panel .panel-title h3{font-size:11px;line-height:1.25}.rank-panel .rank-medal{width:48px;height:57px;margin:0 8px 8px 0}.rank-panel h3{font-size:16px}.rank-panel p{font-size:9px}.rank-progress{font-size:8px;line-height:1.3}.rank-progress b{font-size:8px}.daily-panel h3{font-size:13px;line-height:1.2}.daily-panel p{font-size:10px;max-width:105px;min-height:44px}.daily-panel .btn{font-size:9px;padding:8px;min-height:34px;width:100%;margin-top:13px}.tiny-chest{width:54px;height:54px;top:65px;right:1px}.rank-panel .thin-track{height:8px}.card-detail{grid-template-columns:1fr;gap:20px}.card-detail>.card{width:176px;margin:0 auto;aspect-ratio:.65}.card-detail h2{font-size:26px;text-align:center;margin:0 0 12px}.card-detail .detail-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.detail-stat{font-size:10px;padding:8px 6px}.detail-stat b{font-size:18px}.card-detail .card-name{font-size:14px}.card-detail .card-stats{font-size:15px}.modal .button-row .btn{min-width:120px;flex-basis:calc(50% - 10px)}.market-item{padding:14px}.market-item h3{font-size:14px}.market-price{font-size:15px}.rank-list{grid-template-columns:1fr}.rank-row{flex-wrap:nowrap;padding:16px;gap:14px}.rank-row>div{min-width:0}.rank-row h3{font-size:16px}.rank-row p{font-size:11px}.rank-row>svg{width:33px;height:36px}.season-hero{grid-template-columns:minmax(0,1fr) 80px;padding:21px 17px;gap:9px}.season-hero .rank-medal{width:77px;height:89px}.season-hero h2{font-size:25px}.season-hero p{font-size:12px}.season-hero .btn{font-size:10px}.profile-stats{gap:8px}.help-grid{grid-template-columns:1fr}.profile-card b{font-size:9px}.modal .deck-grid{gap:9px}.empty-state{padding:34px 18px}.empty-state h3{font-size:21px}.empty-state p{font-size:13px}.lobby-code{font-size:33px;letter-spacing:5px}.result-view h2{font-size:27px}.result-stats{gap:13px}.result-stat{font-size:17px}.queue-view{padding:28px 17px 32px}.queue-view h2{font-size:25px}.queue-view p{font-size:13px}.queue-steps{gap:10px}.queue-steps span{flex:1}.footer-line{font-size:7px;letter-spacing:.1px}.toast{max-width:calc(100vw - 26px)}}
@media(max-width:360px){.main{padding:20px 13px 28px}.topbar{padding:0 10px;height:67px}.breadcrumb:before{font-size:20px}.topbar-right{gap:5px}.topbar .icon-btn{width:28px;height:31px;border-width:1px}.topbar .icon-btn svg{width:16px;height:16px}.currency{height:35px;font-size:12px;padding-right:5px;max-width:79px;border-width:1px}.currency .coin{width:23px;height:23px;flex-basis:23px}.sidebar{padding-left:5px;padding-right:5px}.nav{gap:3px}.nav-btn{font-size:9px;letter-spacing:-.25px;border-radius:12px}.nav-btn svg,.nav-btn img{width:27px;height:27px}.page-heading h1{font-size:23px}.page-heading p{font-size:12px}.hero{min-height:382px;padding:11px}.hero-content{padding:15px 12px}.hero h2{font-size:30px}.hero .eyebrow{font-size:8px;letter-spacing:.4px}.hero .btn{font-size:10px;padding:10px;min-height:42px}.hero-actions{gap:8px}.hero p{font-size:11px}.stat-tile{padding:13px 9px}.stat-tile strong{font-size:26px}.stat-tile span{font-size:9px}.lobby-side{gap:9px}.rank-panel,.daily-panel{padding:12px 10px}.rank-panel .rank-medal{width:40px;height:48px;margin-right:6px}.rank-panel .panel-title h3{font-size:10px}.rank-panel h3{font-size:15px}.rank-panel p{font-size:8px}.rank-progress,.rank-progress b{font-size:7px}.daily-panel h3{font-size:12px}.daily-panel p{font-size:9px;max-width:86px}.daily-panel .btn{font-size:8px;min-height:34px;padding:8px 5px}.tiny-chest{width:45px;height:45px;top:63px}.section-heading h2{font-size:18px}.section-heading .text-btn{font-size:10px;max-width:100px}.section-heading p{font-size:11px}.section-heading .count{font-size:10px}.deck-grid{grid-template-columns:repeat(5,150px);gap:12px}.collection-grid{gap:19px 11px}.collection-grid .card-name{font-size:12px;min-height:29px}.collection-grid .card-rarity{font-size:9px}.collection-grid .card-role{font-size:9px}.collection-grid .card-stats{font-size:13px}.collection-grid .card-info{padding:8px 8px 12px}.collection-item .collection-meta{font-size:9px}.card-level{font-size:9px}.deck-strip{gap:8px;padding:12px}.deck-strip .mini-portrait{width:29px;height:39px}.deck-strip .btn{font-size:11px}.deck-strip>span{font-size:12px}.tabs{gap:6px}.tab{font-size:11px;padding:8px 10px;min-height:36px}.case-card{padding:23px 17px}.case-card h2{font-size:27px}.case-card p{font-size:13px}.market-grid{grid-template-columns:1fr}.market-item-head{display:flex;align-items:center}.market-item .mini-portrait{margin-bottom:0;width:58px;height:72px}.market-item h3{font-size:16px}.market-bottom .btn{font-size:12px}.season-hero{grid-template-columns:1fr;padding:22px 18px}.season-hero>.rank-medal{display:none}.season-hero h2{font-size:28px}.season-hero p{font-size:13px}.season-hero .btn{font-size:12px}.modal-backdrop{padding:12px}.modal{padding:24px 17px;max-height:90dvh;border-radius:20px}.modal h2{font-size:23px}.modal p{font-size:13px}.modal .button-row .btn{font-size:12px}.card-detail .detail-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-stat{font-size:12px;padding:9px}.friend-row{gap:8px}.friend-row b{font-size:13px}.friend-row small{font-size:10px}.friend-row .btn{font-size:9px;padding:7px 9px}.friend-row .profile-avatar{width:34px;height:36px;font-size:16px}.friends-grid .panel{padding:15px}.friends-grid .panel-title h3{font-size:14px}.friends-grid .panel-title .text-btn{font-size:11px}.profile-stats b{font-size:23px}.profile-stats small{font-size:9px}.profile-card b{font-size:8px}.profile-relics>div{max-width:125px}.result-view h2{font-size:24px}.queue-view h2{font-size:23px}.queue-view p{font-size:12px}.queue-steps{font-size:9px;gap:7px}.queue-orbit{width:126px;height:126px}.settings-row{font-size:13px}.settings-row p{font-size:11px}}
@media(prefers-reduced-motion:reduce){.chest-art,.case-opening .chest-art,.reveal-card,.view-enter,.modal,.queue-orbit:after{animation:none!important}.btn,.card,.nav-btn,.feature-link{transition:none!important}}
@media(max-width:700px){.nav-btn:before{width:36px;height:36px;flex-basis:36px}}

/* Original illustrated season medals. */
.rank-medal.illustrated-medal{background-image:url('/assets/medals-v3.webp');background-size:300% 200%;background-repeat:no-repeat;border:0;box-shadow:none;filter:none!important;border-radius:14px;width:94px;height:130px;position:relative}.rank-medal.illustrated-medal span{font-family:Nunito,sans-serif;font-size:12px;font-weight:1000;top:auto;bottom:4px;left:auto;right:4px;border:2px solid #d4cca2;border-radius:8px;background:#1c4149;color:#f2dfa9;padding:0 6px}.rank-medal.illustrated-medal small{position:absolute;bottom:4px;left:4px;font-size:7px;color:var(--season-color);background:#18363ddd;border-radius:4px;padding:1px 4px}.card-detail>div:first-child{max-width:180px;width:100%;margin:auto}.card-detail .card{pointer-events:none}.profile-relics .rank-medal.illustrated-medal{width:73px;height:109px}.rank-panel .rank-medal.illustrated-medal{margin:8px auto 10px}.case-card .odds:before{content:'Редкости героев (без суперспособностей)';display:block;flex-basis:100%;font-size:9px;color:#bbccbc;margin-bottom:3px}
@media(max-width:900px){.rank-panel .rank-medal.illustrated-medal{width:64px;height:88px;margin:0 12px 8px 0}.rank-panel .rank-medal.illustrated-medal small{display:none}}
@media(max-width:430px){.rank-panel .rank-medal.illustrated-medal{width:47px;height:67px;margin-right:8px}.rank-panel .rank-medal.illustrated-medal span{font-size:8px;padding:0 3px;bottom:0;right:0}.season-hero .rank-medal.illustrated-medal{width:70px;height:105px}.card-detail>div:first-child{width:160px}}

.art-icon{display:inline-block;width:26px;height:26px;flex-shrink:0;background:url('/assets/navigation-v3.webp') no-repeat;background-size:300% 200%;border-radius:5px;vertical-align:middle}.art-cards{background-position:50% 0}.art-chest{background-position:100% 0}.art-market{background-position:0 100%}.art-crown{background-position:50% 100%}.art-friends{background-position:100% 100%}.art-fragment{background-image:url('/assets/ability-v3.webp');background-size:200% 200%;background-position:0 100%}.relic-art{width:70px;height:70px;flex-shrink:0;background-image:url('/assets/ability-v3.webp');background-size:200% 200%;background-position:100% 100%;border-radius:14px}.nav-btn>.art-icon{display:none}.feature-link>.art-icon{width:52px;height:52px}.empty-state>.art-icon{width:64px;height:64px}.stat-icon .art-icon{width:31px;height:31px}.rank-row>.art-icon{width:42px;height:42px}.help-step>strong .art-icon{width:40px;height:40px}.btn>.art-icon{width:20px;height:20px}.profile-relics .relic-art{margin:0 auto 8px}
