/* HyMagic: ink-blue shop, large artwork, restrained chrome. Shared preview shell. */
:root{--bg:#080e18;--panel:#111b2b;--line:#253247;--muted:#a0afc3}
body,.home-page{background:#080e18}
.wrap{max-width:1536px;padding-inline:36px}
.header{max-width:1600px;height:86px;grid-template-columns:190px minmax(0,1fr) 190px}
.header .brand img{width:158px}
.header nav{gap:32px}
.header nav a{font-size:14px;color:#aeb9ca}
.header .play{border-radius:9px;min-width:120px;font-size:14px;background:#2774f5;border-color:#2774f5}
.preview-bar{font-size:10px;background:#0c1625;color:#8fa0b9}
.home-cover.hero{background:#080e18}
.home-cover .hero-copy{max-width:1536px;padding-inline:36px;min-height:152px}
.home-cover h1{font-size:clamp(36px,3vw,48px);font-weight:800;letter-spacing:-.045em}
.home-cover .hero-photo:after{background:linear-gradient(0deg,#080e18 0%,transparent 35%),linear-gradient(90deg,#080e18ed 3%,#080e18a8 38%,#080e1830 80%)}
.home-cover .hero-start{background:#10203999;border-color:#56708a70;color:#d9eaff}
.home-page .section-heading h2,.home-page .cosmetics-heading h2{font-size:34px;letter-spacing:-.045em;text-transform:none}
.home-page .store>.section-heading{margin-top:24px;margin-bottom:20px}
.home-page .store-toolbar{margin-bottom:24px}
.filters{background:#101a2a;border:1px solid #202c3e;padding:5px;border-radius:10px}
.filters button,.filters a{font-size:14px;padding:11px 15px}
.filters .selected{background:#235fbd;box-shadow:inset 0 1px #ffffff14}
.shop-period button{font-size:13px;padding:12px}
.products,.cosmetics-grid{gap:24px;grid-template-columns:repeat(4,minmax(0,1fr))}
.product,.cosmetic-card{position:relative;background:#101a28;border:1px solid #243145;border-radius:15px;overflow:hidden;transition:border-color .2s,transform .2s,box-shadow .2s}
.product:hover,.cosmetic-card:hover{border-color:#557ba9;transform:translateY(-3px);box-shadow:0 14px 30px #0003}
.product-visual{height:clamp(230px,19vw,312px);border:0;border-radius:0;box-shadow:none;background:linear-gradient(145deg,#1a304a,#0e1726)}
.visual-vip{background:linear-gradient(145deg,#24456c,#132033)}
.visual-vipplus{background:linear-gradient(145deg,#253a65,#111b31)}
.visual-premium{background:linear-gradient(145deg,#38516e,#152536)}
.visual-runes{background:radial-gradient(ellipse at 50% 45%,#25364d,#111a29 72%)}
.visual-reactor,.visual-reactor_pack,.visual-fuel{background:linear-gradient(145deg,#193142,#101c29)}
.product-visual .rank-pass{transform:rotate(-9deg) scale(.91)}
.product-visual:hover .rank-pass{transform:translateY(-5px) rotate(-5deg) scale(.96)}
.item-main,.visual-runes .item-main,.visual-fuel .item-main{width:230px;height:230px;max-width:88%}
.visual-reactor .item-main,.visual-reactor_pack .item-main{width:260px;height:260px;max-width:95%}
.visual-open{font-size:11px;right:17px;bottom:15px;color:#c5d8f0}
.product-body,.cosmetic-card-copy{padding:20px}
.product-body h3,.cosmetic-card h3{font-size:19px;font-weight:700;letter-spacing:-.025em;line-height:1.3;margin:0 0 17px;min-height:25px}
.purchase-row,.cosmetic-card-bottom{gap:12px;align-items:center}
.purchase-row .price,.cosmetic-card-bottom .rune-price{background:none;padding:0;min-height:44px;justify-content:flex-start;font-size:24px;font-weight:750;color:#f0f5ff}
.purchase-row .price small{font-size:11px;color:#8f9fb7}
.purchase-row .product-button,.cosmetic-card-bottom .cosmetic-detail-button{flex:0 0 auto;min-width:104px;min-height:44px;padding:12px 17px;font-size:13px;border-radius:8px;background:#2774f5;color:#fff}
.purchase-row .product-button:hover,.cosmetic-card-bottom .cosmetic-detail-button:hover{background:#4389ff}
.shop-clarification{font-size:12px;color:#94a2b9;margin-top:20px}
.shop-clarification a{font-size:12px}
.home-page .cosmetics{margin-top:72px;padding-top:38px;border-color:#283345}
.cosmetics-heading{margin-bottom:28px;align-items:center}
.cosmetics-heading>div:first-child{display:grid;grid-template-columns:auto auto;column-gap:24px;align-items:center}
.cosmetics-heading h2{grid-column:1;margin-bottom:6px}
.home-page .cosmetics-intro{grid-column:1;font-size:15px;color:#9aaac1}
.fitting-entry{grid-column:2;grid-row:1/3;margin:0;padding:14px 19px;font-size:13px;gap:10px;border:1px solid #406b9f;background:#132a45;color:#e0ecff;border-radius:9px}
.fitting-entry>span{border:none;background:#2b75d8;color:#fff;font-size:10px;border-radius:4px;padding:4px 5px}
.cosmetics-wallet{border:0;padding:0;gap:12px}
.cosmetics-wallet>img{width:36px;height:36px}
.cosmetics-wallet span{font-size:12px;color:#94a4ba}
.cosmetics-wallet a{font-size:13px;color:#c4d9f5}
.cosmetics-tools{align-items:center;gap:20px}
.cosmetics-tabs{padding:0;background:transparent;gap:8px;border-radius:0}
.cosmetics-tabs button{padding:11px 18px;font-size:14px;border:1px solid #293a52;background:#101a28;border-radius:8px;color:#a8b7cd}
.cosmetics-tabs .selected{background:#dbeaff;color:#153e70;border-color:#dbeaff}
.cosmetics-tabs button span{color:inherit;opacity:.65}
.cosmetic-search input{min-height:44px;font-size:13px;border:1px solid #293a52;background:#0e1826;border-radius:8px}
.cosmetics-context{font-size:12px;color:#95a6bd;margin:16px 0 24px}
.cosmetic-image-button,.rarity-card-legendary .cosmetic-image-button,.rarity-card-rare .cosmetic-image-button{height:clamp(250px,22vw,350px);border:0;border-radius:0;background:linear-gradient(155deg,#24374d,#111d2c);padding:25px 12px 22px}
.rarity-card-legendary .cosmetic-image-button{background:linear-gradient(155deg,#334661,#18273b)}
.rarity-card-rare .cosmetic-image-button{background:linear-gradient(155deg,#213b4c,#112330)}
.cosmetic-scene{opacity:.14;filter:saturate(.3)}
.cosmetic-image-button>img{width:280px;height:280px;max-width:94%;object-fit:contain;filter:drop-shadow(0 18px 14px #0005);transition:transform .25s}
.cosmetic-image-button:hover>img{transform:translateY(-6px) scale(1.04)}
.cosmetic-card-top{top:17px;left:17px}
.cosmetic-card-top .rarity{padding:5px 8px;border:1px solid #91b3df30;background:#0b152d50;color:#c5dbf7;font-size:10px}
.cosmetic-view{display:none}
.cosmetic-platform{opacity:.25;bottom:20px}
.cosmetic-card h3{min-height:50px}
.cosmetic-card-bottom .rune-price{gap:7px;white-space:nowrap}
.cosmetic-card-bottom .rune-price img{width:22px;height:22px}
.cosmetic-card-bottom .cosmetic-detail-button{background:#1b3d65;border:1px solid #3e6495;color:#d5e7ff}
.cosmetics-count,.cosmetics-more{font-size:13px}
.cosmetics-more{padding:14px 24px;background:#13243a;border-color:#385477}
.cosmetics-note{font-size:12px;line-height:1.6;color:#8b9db7}
.home-page .community-links p,.home-page .section-heading>div>p:not(.home-kicker){font-size:14px}
.footer>div>a:not(.brand){font-size:13px}
.hm-unified .hm-community-page{width:100%;max-width:1536px;padding-inline:36px;background:#080e18}
/* A showroom: generous character stage, clear price, optional purchase instructions. */
#cosmetic-dialog{width:min(1320px,calc(100% - 48px));max-width:1320px;padding:0;background:#0c1422;border:1px solid #36465f;border-radius:20px;max-height:calc(100dvh - 40px);box-shadow:0 35px 120px #000b;overflow:auto;scrollbar-width:thin;scrollbar-color:#355374 #0d1726}
#cosmetic-dialog::backdrop{background:#02060dd9;backdrop-filter:blur(7px)}
#cosmetic-dialog .dialog-close{position:absolute;top:18px;right:18px;z-index:10;width:34px;height:34px;background:#1a273b;border:1px solid #3a4b63;border-radius:50%}
.fitting-showroom{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:0;align-items:stretch}
.fitting-showroom .fitting-panel{position:relative;top:auto;padding:24px;background:#142238;border-right:1px solid #273850;min-width:0}
.fitting-navigation{margin:0 0 12px;gap:8px}
.fitting-navigation select{height:40px;border-color:#334964;background:#0d192a;color:#ccddf2;border-radius:8px;font-size:13px}
.fitting-navigation button{height:40px;width:40px;background:#1b304b;border-color:#334964;border-radius:8px}
.fitting-stage{height:clamp(295px,48dvh,600px);border:0;border-radius:12px;background:radial-gradient(ellipse at 50% 45%,#334d6c 0%,#1c314c 45%,#112036 90%)}
.fitting-stage:before{left:19%;right:19%;bottom:18px;height:20px;border-color:#7ca6d340;background:#060e1c50;box-shadow:0 4px 22px #0003}
.showroom-wordmark{position:absolute;top:42%;left:0;width:100%;text-align:center;font-size:clamp(44px,6.7vw,88px);font-weight:900;letter-spacing:-.07em;line-height:1;color:#d2e7ff08;pointer-events:none}
.showroom-label{position:absolute;top:17px;left:19px;font-size:10px;font-weight:650;letter-spacing:.07em;text-transform:uppercase;color:#9db7d4;z-index:2;pointer-events:none}
.fitting-toolbar{position:absolute;top:86px;right:34px;margin:0;z-index:3;flex-direction:column;gap:5px}
.fitting-toolbar button{width:31px;min-width:31px;height:31px;background:#0b1828b8;border-color:#617e9e42;border-radius:6px;font-size:17px}
.fitting-toolbar [data-view-action="reset"]{font-size:0;padding:0}
.fitting-toolbar [data-view-action="reset"]:after{content:'⟲';font-size:19px}
.fitting-motion{margin:15px 0 0;display:grid;grid-template-columns:auto 1fr;gap:0 14px;align-items:center}
.fitting-motion>label{font-size:12px;margin:0;color:#a4bad4;font-weight:550}
.fitting-motion-controls{gap:7px}
.fitting-motion select{background:#0c192c;border-color:#334c6a;font-size:13px;padding:10px 12px;border-radius:8px}
.fitting-motion button{background:#284d77;border-color:#436b97;border-radius:8px;font-size:12px}
.fitting-motion [data-motion-status]{grid-column:2;font-size:10px;margin-top:5px;min-height:14px;color:#8ea9c9}
.fitting-hint{margin:10px 0 0;color:#8da5c3;font-size:10px}
.showroom-details{padding:52px 38px 30px;display:flex;flex-direction:column;min-width:0}
.showroom-overline{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px;color:#9baec7;font-size:12px}
.showroom-overline .rarity{background:#1b2c43;border:1px solid #344b6c;color:#a8cbf6;font-size:11px;padding:4px 9px;border-radius:5px}
.showroom-details h2{font-size:clamp(27px,2.8vw,42px);line-height:1.08;letter-spacing:-.045em;margin:0 0 18px;font-weight:800}
.showroom-intro{font-size:14px;line-height:1.7;color:#9babbe;max-width:320px;margin:0 0 22px}
.showroom-purchase{border-top:1px solid #29364a;padding-top:17px;margin:0 0 18px}
.showroom-purchase .total{padding:0;margin:0 0 18px;display:block;border:0}
.showroom-purchase .total>div>span{font-size:12px;color:#93a7c0}
.showroom-purchase .total>div>small{display:none}
.showroom-purchase .total strong{display:flex;align-items:center;gap:9px;font-size:36px;line-height:1.2;margin-top:8px;color:#f0f5ff}
.showroom-purchase .total strong img{width:28px;height:28px;object-fit:contain}
.showroom-purchase .rune-unit{font-size:14px;font-weight:500;color:#93a8c3;margin-left:2px}
.showroom-purchase .cosmetic-runes{width:100%;min-height:49px;padding:14px 18px;font-size:14px;border-radius:9px;background:#2876fa;border-color:#428bff;justify-content:space-between}
.showroom-purchase .cosmetic-howto{font-size:11px;line-height:1.6;color:#8195b1;text-align:left;margin:12px 0 0}
.showroom-how{border-top:1px solid #29364a;border-bottom:1px solid #29364a;padding:0;margin-bottom:24px}
.showroom-how summary{display:flex;align-items:center;justify-content:space-between;padding:14px 0;color:#c4d4e9;font-size:13px;list-style:none;cursor:pointer}
.showroom-how summary::-webkit-details-marker{display:none}
.showroom-how summary>span{font-size:20px;color:#7fa8df}
.showroom-how[open] summary>span{transform:rotate(45deg)}
.showroom-how .purchase-steps{margin:0 0 18px;padding:0}
.showroom-how .purchase-steps li{font-size:12px}
.showroom-collection{margin-top:auto;min-width:0}
.showroom-collection>div:first-child{display:flex;justify-content:space-between;font-size:11px;color:#91a8c7;margin-bottom:12px}
.fitting-looks{display:flex;gap:7px;overflow-x:auto;max-width:100%;padding-bottom:8px;scrollbar-width:thin;scrollbar-color:#3e5c84 #121f32}
.fitting-looks button{flex:0 0 59px;width:59px;height:66px;padding:4px;background:#16263d;border:1px solid #2c415d;border-radius:8px}
.fitting-looks button[aria-pressed="true"]{background:#274b78;border-color:#83b6ff}
.fitting-looks button:hover{border-color:#7099cd}
.fitting-looks img{width:100%;height:100%;object-fit:contain}
@media(min-width:1800px){.product-visual{height:330px}.cosmetic-image-button,.rarity-card-legendary .cosmetic-image-button,.rarity-card-rare .cosmetic-image-button{height:370px}.cosmetic-image-button>img{width:310px;height:310px}.product-visual .rank-pass{transform:rotate(-9deg) scale(1.06)}.item-main,.visual-runes .item-main{width:270px;height:270px}.showroom-details{padding:64px 46px 35px}.fitting-showroom .fitting-panel{padding:28px}.fitting-toolbar{top:90px;right:38px}.fitting-stage{height:560px}.fitting-motion select,.fitting-motion button{font-size:14px}}
@media(max-width:1100px){.wrap{padding-inline:24px}.header{grid-template-columns:160px minmax(0,1fr) 140px;gap:14px}.header nav{gap:20px}.header nav a{font-size:12px}.products,.cosmetics-grid{gap:16px}.product-body,.cosmetic-card-copy{padding:16px}.product-body h3,.cosmetic-card h3{font-size:17px}.purchase-row .price,.cosmetic-card-bottom .rune-price{font-size:20px}.purchase-row .product-button,.cosmetic-card-bottom .cosmetic-detail-button{min-width:78px;font-size:11px;padding:11px}.product-visual .rank-pass{transform:rotate(-8deg) scale(.75)}.product-visual:hover .rank-pass{transform:rotate(-5deg) scale(.78)}.cosmetics-wallet{display:none}.showroom-details{padding:55px 26px 26px}.showroom-details h2{font-size:30px}.fitting-motion{display:block}.fitting-motion>label{margin:0 0 6px}.fitting-motion [data-motion-status]{font-size:10px}.home-cover .hero-copy{padding-inline:24px}}
@media(max-width:800px){.header{display:flex;height:72px;gap:16px}.header .play{margin-left:auto;min-width:95px}.header nav a{font-size:12px}.filters{flex-wrap:wrap}.filters button,.filters a{flex:1 0 auto;font-size:12px;padding:9px 12px}.products,.cosmetics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-visual{height:270px}.product-visual .rank-pass{transform:rotate(-8deg) scale(.9)}.cosmetic-image-button,.rarity-card-legendary .cosmetic-image-button,.rarity-card-rare .cosmetic-image-button{height:280px}.cosmetic-image-button>img{width:240px;height:240px}.cosmetics-heading>div:first-child{column-gap:18px}.home-page .cosmetics-heading h2{font-size:30px}.fitting-entry{padding:11px 14px;font-size:12px}.fitting-showroom{grid-template-columns:1fr 1fr}.fitting-showroom .fitting-panel{padding:18px}.fitting-toolbar{top:80px;right:27px}.showroom-details{padding:56px 22px 24px}.showroom-details h2{font-size:27px}.showroom-intro{font-size:13px}.showroom-purchase .total strong{font-size:30px}}
@media(max-width:650px){.wrap{padding-inline:18px}.home-cover .hero-copy{padding:20px 18px}.home-cover h1{font-size:33px}.home-page .store>.section-heading{margin:18px 0 16px}.home-page .section-heading h2,.home-page .cosmetics-heading h2{font-size:29px}.header nav{gap:12px}.header .brand img{width:133px}.home-page .store-toolbar{margin-bottom:18px;gap:10px}.shop-period button{font-size:11px;padding:9px}.filters{gap:2px}.filters button,.filters a{font-size:11px;padding:9px 8px}.products,.cosmetics-grid{gap:12px}.product,.cosmetic-card{border-radius:11px}.product-visual{height:190px}.product-visual .rank-pass{transform:rotate(-8deg) scale(.59)}.product-visual:hover .rank-pass{transform:rotate(-5deg) scale(.62)}.item-main,.visual-runes .item-main,.visual-fuel .item-main{width:150px;height:150px}.visual-reactor .item-main,.visual-reactor_pack .item-main{width:170px;height:170px}.rune-back-one{width:42px;height:42px;right:12px;bottom:27px}.rune-back-two{width:30px;height:30px;left:13px;top:33px}.visual-open{font-size:9px;bottom:10px;right:10px}.product-body,.cosmetic-card-copy{padding:13px 12px}.product-body h3,.cosmetic-card h3{font-size:15px;min-height:39px;margin-bottom:12px}.purchase-row,.cosmetic-card-bottom{flex-wrap:wrap;gap:8px}.purchase-row .price,.cosmetic-card-bottom .rune-price{font-size:21px;min-height:28px;flex-basis:100%}.purchase-row .product-button,.cosmetic-card-bottom .cosmetic-detail-button{width:100%;font-size:12px;min-height:39px;padding:10px;flex:auto}.purchase-row .price small{font-size:10px}.home-page .cosmetics{margin-top:46px;padding-top:26px}.cosmetics-heading>div:first-child{display:block}.home-page .cosmetics-intro{font-size:13px}.fitting-entry{margin-top:15px;padding:10px 14px}.cosmetics-heading{margin-bottom:20px}.cosmetics-tabs button{font-size:12px;padding:10px 12px}.cosmetics-tools{gap:12px}.cosmetic-search input{font-size:12px}.cosmetics-context{font-size:11px;margin:13px 0 18px}.cosmetic-image-button,.rarity-card-legendary .cosmetic-image-button,.rarity-card-rare .cosmetic-image-button{height:210px;padding:26px 8px 14px}.cosmetic-image-button>img{width:180px;height:180px;max-width:100%}.cosmetic-card-top{top:10px;left:9px}.cosmetic-card-top .rarity{font-size:8px;padding:3px 5px}.cosmetic-card-bottom .rune-price img{width:19px;height:19px}.cosmetics-note{font-size:10px}.hm-unified .hm-community-page{padding-inline:18px}#cosmetic-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:14px}.fitting-showroom{grid-template-columns:1fr}.fitting-showroom .fitting-panel{padding:55px 16px 18px;border-right:0;border-bottom:1px solid #2a3f5b}.fitting-stage{height:350px}.fitting-toolbar{top:117px;right:26px}.fitting-motion{display:block}.fitting-motion>label{margin-bottom:7px}.fitting-motion select{font-size:13px}.showroom-details{padding:27px 22px}.showroom-details h2{font-size:33px}.showroom-overline{margin-bottom:14px}.showroom-intro{font-size:14px;max-width:none}.showroom-purchase .total strong{font-size:35px}.showroom-collection{margin-top:5px}}
@media(max-width:380px){.wrap{padding-inline:14px}.home-cover h1{font-size:29px}.product-visual{height:170px}.product-visual .rank-pass{transform:rotate(-8deg) scale(.49)}.product-body,.cosmetic-card-copy{padding:12px 10px}.cosmetic-image-button,.rarity-card-legendary .cosmetic-image-button,.rarity-card-rare .cosmetic-image-button{height:185px}.cosmetic-image-button>img{width:156px;height:156px}.fitting-stage{height:305px}.fitting-motion button{min-width:94px;font-size:11px}.fitting-motion select{font-size:12px}}
@media(prefers-reduced-motion:reduce){.product,.cosmetic-card,.cosmetic-image-button>img{transition:none;transform:none}}
.home-cover h1 span{margin-left:.18em}
.cosmetic-image-button>img{max-height:96%;flex-shrink:1}
.fitting-showroom .fitting-panel{display:flex;flex-direction:column}
.fitting-stage{flex:1;min-height:clamp(295px,48dvh,600px);height:auto}
.fitting-navigation,.fitting-motion,.fitting-hint{flex-shrink:0}
@media(min-width:801px) and (max-height:800px){
 .header{height:72px}.home-cover.hero,.home-cover .hero-copy{min-height:120px}
 .home-cover .hero-copy{padding-block:20px}.home-cover h1{font-size:36px}
 .home-page .store>.section-heading{margin-top:15px;margin-bottom:14px}
 .home-page .store-toolbar{margin-bottom:18px}.product-visual{height:204px}
 .product-visual .rank-pass{transform:rotate(-8deg) scale(.8)}
 .product-body{padding:15px 19px}.product-body h3{margin-bottom:11px}
 .item-main,.visual-runes .item-main,.visual-fuel .item-main{width:195px;height:195px}
}
@media(min-width:1800px){.fitting-stage{min-height:560px}}
@media(max-width:650px){.fitting-stage{flex:none;height:350px;min-height:0}}
@media(max-width:380px){.fitting-stage{height:305px}}
.cosmetics-grid.skin-list{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:650px){.cosmetics-grid.skin-list{grid-template-columns:1fr}}
