/* HyMagic storefront: a centred shop, calm controls, artwork-led products. */
:root{--bg:#080e1a;--panel:#111c2d;--panel-raised:#17253b;--line:#24344f;--muted:#9aabc4}
body{background:var(--bg)}
.wrap{width:100%;max-width:1120px;padding-inline:24px}
.preview-bar{background:#101d31;color:#7f94b2;font-size:9px;padding:5px 12px;gap:16px}
.header{max-width:1280px;height:80px;display:grid;grid-template-columns:170px minmax(0,1fr) 170px;gap:24px;border-bottom:1px solid #1b2a41;margin-bottom:36px}
.header .brand img{width:150px}
.header nav{justify-content:center;gap:28px}
.header nav a{font-size:13px;font-weight:600;color:#a5b3c9}
.header nav .active:after{display:none}
.header .play{justify-self:end;margin:0;min-width:112px;height:42px;padding:10px 17px;font-size:13px;border-radius:8px}
.header .menu-toggle{display:none}
.button{border-radius:8px;box-shadow:none}
.hero{display:block;min-height:278px;position:relative;isolation:isolate;overflow:hidden;border:0;border-radius:12px;background:#153563}
.hero-copy{position:relative;z-index:2;padding:39px 42px;max-width:65%}
.server-type{font-size:10px;letter-spacing:.09em;color:#a4c9ff;font-weight:600}
.hero h1{font-size:54px;line-height:1.05;letter-spacing:-.045em;font-weight:760;margin:12px 0 15px}
.hero p{font-size:15px;line-height:1.65;color:#cfdef3;margin-bottom:25px}
.hero-links{flex-direction:row;align-items:center;gap:22px}
.hero-links .hero-start{background:#fff;color:#194f9c;border-color:#fff;padding:13px 18px;font-size:12px;gap:15px}
.hero-links .hero-start:hover{background:#ddebff;border-color:#ddebff}
.hero-links .server-address{font-size:11px;color:#bdd3ee;gap:8px}
.hero-photo{position:absolute;inset:0 0 0 45%;opacity:1;overflow:hidden;z-index:1}
.hero-photo>img{opacity:.48;filter:saturate(.7);object-position:50% 50%}
.hero-photo:after{background:linear-gradient(90deg,#153563,transparent 65%);z-index:0}
.hero-characters{inset:0 -20px 0 0;align-items:flex-end;padding:0;gap:0;opacity:1}
.hero-characters img:first-child{display:block;width:210px;height:240px;transform:translate(43px,22px) rotate(-8deg)}
.hero-characters img:nth-child(2){width:260px;height:275px;transform:translate(0,35px);z-index:2}
.hero-characters img:last-child{display:block;width:210px;height:240px;transform:translate(-47px,23px) rotate(5deg)}
.section-heading{margin:34px 0 17px;gap:20px}
.section-heading h2{font-size:26px;line-height:1.2;font-weight:700;letter-spacing:-.035em}
.section-heading .text-link{font-size:12px;color:#95acd0}
.store-toolbar{gap:16px;align-items:center;border:0;padding:0;margin-bottom:24px}
.filters{display:flex;flex:1;gap:4px;padding:5px;background:#162238;border-radius:9px}
.filters button,.filters a{display:flex;align-items:center;justify-content:center;flex:1;padding:11px 10px;font-size:12px;font-weight:550;white-space:nowrap;border:0;border-radius:6px;background:transparent;color:#99acc8}
.filters .selected{background:#2563eb;border:0;color:#fff}
.filters button:hover,.filters a:hover{background:#223751;color:#fff}
.filters button.selected:hover{background:#3474ff}
.shop-period{padding:0;gap:2px;border:0;border-radius:7px;background:transparent;flex-shrink:0}
.shop-period button{padding:11px 10px;font-size:11px;color:#93a8c7;border-radius:6px}
.shop-period .selected{background:#20334e;color:#d8e8ff}
.products,.cosmetics-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 16px}
.product{padding:0;border:0;background:transparent}
.product-visual{height:238px;border:1px solid #233650;border-radius:11px;background:radial-gradient(ellipse at 50% 35%,#29486c,#16263c 75%);box-shadow:none}
.product-visual:before{display:none}
.product-visual:hover{box-shadow:none;border-color:#587baa}
.product-visual .rank-pass{flex-shrink:0;transform:rotate(-8deg) scale(.77)}
.product-visual:hover .rank-pass{transform:translateY(-4px) rotate(-5deg) scale(.8)}
.visual-runes{background:radial-gradient(ellipse at 50% 40%,#294668,#142237 80%)}
.visual-vipplus{background:radial-gradient(ellipse at 50% 35%,#223955,#121f33 80%)}
.visual-premium{background:radial-gradient(ellipse at 50% 35%,#415c7b,#1c2e45 85%)}
.visual-reactor,.visual-reactor_pack,.visual-fuel{background:radial-gradient(ellipse at 50% 35%,#28495d,#152739 80%)}
.item-main,.visual-runes .item-main,.visual-fuel .item-main{width:185px;height:185px}
.visual-reactor .item-main,.visual-reactor_pack .item-main{width:205px;height:205px}
.rune-back-one{width:68px;height:68px;right:18px;bottom:28px}
.rune-back-two{width:51px;height:51px;left:18px;top:36px}
.item-scene>.pack-fuel{width:85px;height:85px;right:17px;bottom:23px}
.visual-floor{bottom:30px;height:10px;opacity:.4}
.visual-open{font-size:10px;bottom:13px;right:13px}
.product-body{padding:13px 0 0}
.product-body h3{font-size:16px;font-weight:650;line-height:1.35;letter-spacing:-.025em;margin:0 0 10px;min-height:22px}
.purchase-row{gap:7px}
.purchase-row .price{min-width:0;max-width:none;flex:1;padding:8px 5px;font-size:17px;border:0;border-radius:7px;background:#152237;line-height:1.2;min-height:43px;color:#e0ecff}
.purchase-row .price small{font-size:8px;color:#8da6cb;line-height:1.4}
.purchase-row .product-button{flex:1;min-height:43px;padding:10px 7px;border:0;border-radius:7px;background:#2563eb;box-shadow:none;font-size:12px;font-weight:600;gap:7px}
.purchase-row .product-button:hover{background:#3474ff;box-shadow:none;transform:none}
.product-body .term-saving{font-size:9px;margin:-3px 0 8px;color:#8eb7ef}
.shop-clarification{margin-top:22px;font-size:10px;color:#7087a7}
.shop-clarification a{font-size:10px;color:#90abd1}
.cosmetics{margin-top:54px;padding-top:29px;border-top:1px solid #21324b}
.cosmetics-heading{margin-bottom:22px;gap:24px;align-items:center}
.cosmetics-heading h2{font-size:27px;font-weight:700;line-height:1.2;margin:0 0 8px}
.cosmetics-intro{font-size:12px;color:#91a7c7;margin:0}
.cosmetics-wallet{gap:11px}
.cosmetics-wallet>img{width:32px;height:32px}
.cosmetics-wallet span{font-size:10px}
.cosmetics-wallet a{font-size:11px}
.cosmetics-tools{gap:20px;padding-bottom:0;border:0}
.cosmetics-tabs{padding:4px;background:#162238;border-radius:8px;gap:3px}
.cosmetics-tabs button{padding:10px 15px;border:0;background:transparent;font-size:12px;font-weight:550;border-radius:6px}
.cosmetics-tabs .selected{background:#2563eb}
.cosmetic-search input{font-size:12px;padding:12px 14px;border-radius:8px;background:#111e31;border-color:#263b59}
.cosmetics-context{font-size:10px;color:#7e95b5;margin:15px 0 21px}
.cosmetic-image-button{height:258px;border-radius:11px;padding:0 14px 25px;background:radial-gradient(ellipse at 50% 35%,#38536f,#16263b 82%);box-shadow:none}
.cosmetic-image-button>img{width:210px;height:210px;max-width:100%}
.cosmetic-image-button:hover{box-shadow:none}
.rarity-card-legendary .cosmetic-image-button{background:radial-gradient(ellipse at 50% 35%,#57718e,#21374f 80%)}
.rarity-card-rare .cosmetic-image-button{background:radial-gradient(ellipse at 50% 35%,#36586c,#172c3d 82%)}
.cosmetic-card-top{top:12px;left:12px}
.cosmetic-card-top .rarity{font-size:8px;border:0;background:#0d213b73;color:#bed5f0;letter-spacing:0;padding:4px 7px}
.cosmetic-platform{bottom:23px;height:18px}
.cosmetic-card-copy{padding:13px 0 0}
.cosmetic-kind{display:none}
.cosmetic-card h3{font-size:16px;font-weight:650;line-height:1.35;min-height:44px;margin:0 0 10px}
.cosmetic-card-bottom{flex-direction:row;gap:7px}
.cosmetic-card-bottom .rune-price{flex:1;min-width:0;max-width:none;width:auto;font-size:17px;gap:5px;padding:10px 5px;min-height:43px;border:0;border-radius:7px;background:#152237}
.cosmetic-card-bottom .rune-price img{width:16px;height:16px}
.cosmetic-card-bottom .rune-price small{display:none}
.cosmetic-card-bottom .cosmetic-detail-button{flex:1;width:auto;min-height:43px;padding:10px 7px;font-size:11px;font-weight:600;border:0;border-radius:7px;box-shadow:none;gap:5px}
.cosmetic-card-bottom .cosmetic-detail-button svg{display:none}
.cosmetic-card-bottom .cosmetic-detail-button:hover{transform:none;box-shadow:none}
.cosmetics-pagination{margin-top:24px}
.cosmetics-more{background:#162940;font-size:12px;padding:12px 20px;border:1px solid #2b4261;border-radius:8px}
.cosmetics-note{margin-top:20px;color:#7188a9;font-size:9px}
.skin-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.community-gallery{margin-top:56px;padding-top:0}
.gallery-shot,.community-links>a{border-radius:10px;border-color:#233650;background:#111c2d}
.gallery-shot img{height:190px}
.gallery-shot>span{font-size:12px;padding:16px}
.community-links{margin-block:40px}
.community-links h3{font-size:22px}
.community-links p{font-size:12px}
.help{margin:48px 0 60px}
.footer{padding-block:34px;gap:30px;border-color:#233650}
.footer>div>a:not(.brand){font-size:11px}
.footer>div>span{font-size:12px}
/* Product details: stable purchase panel and readable, independently scrolling content. */
#product-dialog{width:min(930px,calc(100% - 40px));max-height:calc(100dvh - 48px);padding:28px;background:#111c2d;border:1px solid #2a3e5a;border-radius:15px;overflow:hidden;box-shadow:0 30px 100px #0009}
#product-dialog .dialog-close{top:22px;right:22px;width:32px;height:32px;border:0;background:#1e2c43;border-radius:8px}
.product-detail-heading{margin-bottom:25px;padding-right:38px}
.product-detail-heading .eyebrow{font-size:10px;letter-spacing:0;margin:0 0 7px;color:#8ba5c7}
.product-detail-heading h2{font-size:28px;font-weight:700;margin:0;line-height:1.2}
.product-detail-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:28px;min-height:0}
.purchase-panel{min-width:0}
.purchase-panel .detail-art{height:220px;margin:0 0 20px;border:1px solid #2d4565;border-radius:11px;background:radial-gradient(ellipse at 50% 30%,#304d70,#182940 85%);overflow:hidden}
.purchase-panel .detail-art .rank-pass{flex-shrink:0;transform:rotate(-8deg) scale(.8)}
.purchase-panel .detail-art>img{width:170px;height:170px}
.purchase-panel .detail-art>.pack-fuel{width:85px;height:85px;left:58%;bottom:20px}
.purchase-panel .field{margin-top:0;font-size:12px;gap:9px;color:#b0c2dc}
.purchase-panel .field select,.purchase-panel .field input{padding:12px;border-radius:7px;background:#0a1526;border-color:#304766;font-size:14px;height:46px}
.purchase-panel .presets{gap:6px}
.purchase-panel .presets button{font-size:11px;border-radius:6px;background:#1a2b44;border-color:#2c4261}
.purchase-panel .total{padding:20px 0 17px;gap:10px}
.purchase-panel .total>div>span{font-size:12px;color:#b9cce6}
.purchase-panel .total strong{font-size:28px}
.purchase-panel .total small{font-size:11px;margin-top:5px}
.order-saving{font-size:11px;color:#9dc4f6;margin:-6px 0 16px}
.purchase-panel .payment-disabled{background:#20334e;border-color:#2b4261;color:#95adc9;padding:13px;font-size:12px;border-radius:8px}
.purchase-panel .preview-detail{margin:10px 0 0;font-size:10px;color:#6f89ab}
.purchase-support{display:block;text-align:center;font-size:11px;color:#8aaddc;margin-top:21px}
.product-description{max-height:calc(100dvh - 175px);overflow:auto;min-width:0;padding-right:10px;scrollbar-width:thin;scrollbar-color:#3b577e transparent}
.detail-lead{color:#c0cde0;font-size:14px;line-height:1.75;margin:0 0 25px}
.detail-section{margin:0 0 25px}
.detail-section h3{font-size:16px;font-weight:650;letter-spacing:-.02em;line-height:1.3;margin:0 0 14px;color:#f0f5fc}
.detail-section>p{font-size:12px;color:#9fb1cc;line-height:1.75;margin:13px 0 0}
.benefit-stats{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.benefit-stat{padding:16px;border:1px solid #2a405e;background:#162740;border-radius:8px}
.benefit-stat strong{display:block;font-size:27px;line-height:1.1;font-weight:700;color:#a5cbff;letter-spacing:-.04em}
.benefit-stat span{display:block;margin-top:8px;font-size:11px;line-height:1.45;color:#a8bcd8}
.detail-section-title{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.detail-section-title>span{color:#718bac;font-size:10px}
.command-list{border:1px solid #2a405e;border-radius:8px;overflow:hidden}
.command-list>div{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:10px;padding:14px 13px;border-bottom:1px solid #233853}
.command-list>div:last-child{border:0}
.command-list code{font-family:Inter,'Segoe UI',sans-serif;font-size:12px;color:#94beff;font-weight:600}
.command-list span{font-size:11px;color:#a6b9d3;line-height:1.5}
.command-list strong{font-size:11px;font-weight:600;color:#e2ecfa;white-space:nowrap}
.detail-section .detail-caption{font-size:10px;color:#738eaf;margin-top:9px}
.benefit-row{display:flex;gap:13px;margin:15px 0}
.benefit-row>svg{color:#7aa7e7;width:19px;height:19px;margin-top:2px}
.benefit-row b{font-size:12px;font-weight:600;color:#d4e1f3}
.benefit-row p{font-size:12px;line-height:1.75;color:#94aaca;margin:5px 0 0}
.detail-note{display:flex;gap:11px;padding:15px;background:#1b2d45;border-radius:8px;color:#a7c4e9;font-size:11px;line-height:1.75;margin:0 0 24px}
.detail-note>svg{flex-shrink:0;width:17px;height:17px;margin-top:2px}
.delivery-details{padding-top:21px;border-top:1px solid #293c57}
.delivery-details h3{font-size:14px;margin-bottom:10px}
.currency-rate{display:flex;align-items:center;gap:18px;padding:20px;background:#162740;border-radius:9px}
.currency-rate img{width:55px;height:55px;object-fit:contain}
.currency-rate strong{font-size:28px;color:#c4deff;letter-spacing:-.04em}
.currency-rate strong span{font-weight:400;color:#5c7da9;margin:0 8px}
.purchase-steps{list-style:none;counter-reset:purchase;display:grid;gap:19px;padding:0;margin:20px 0 0}
.purchase-steps li{position:relative;padding-left:37px;counter-increment:purchase}
.purchase-steps li:before{content:counter(purchase);position:absolute;left:0;top:0;display:grid;place-items:center;width:25px;height:25px;border:1px solid #345477;border-radius:7px;font-size:11px;color:#91baf2;background:#192e49}
.purchase-steps b{display:block;font-size:12px;font-weight:600;margin-bottom:6px}
.purchase-steps span{display:block;font-size:12px;line-height:1.75;color:#94aaca}
.included-items{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.included-items>div{padding:17px;text-align:center;background:#162740;border:1px solid #2a405e;border-radius:9px}
.included-items img{display:block;object-fit:contain;width:110px;height:110px;margin:0 auto 12px}
.included-items b{display:block;font-size:12px;line-height:1.5}
.included-items span{display:block;font-size:11px;color:#8facd3;margin-top:7px}
/* Every community route uses the same centred shell. */
.hm-unified .hm-community-page{width:100%;max-width:1120px;padding:0 24px 56px;background:var(--bg)}
.hm-unified .header{background:var(--bg)}
.hm-unified .hm-community-page h1{font-size:38px}
.hm-unified .hm-page-hero,.hm-unified .hm-events-hero,.hm-unified .hm-wiki-hero{border-radius:12px}
@media(max-width:1000px){
 .header{grid-template-columns:140px minmax(0,1fr) 120px;gap:15px}.header .brand img{width:135px}.header nav{gap:18px}.header nav a{font-size:11px}
 .hero-copy{padding:35px 32px;max-width:65%}.hero h1{font-size:48px}.hero p{font-size:13px}.hero-links{gap:15px}.hero-links .server-address{font-size:10px}
 .product-visual{height:210px}.product-visual .rank-pass{transform:rotate(-8deg) scale(.69)}.product-visual:hover .rank-pass{transform:rotate(-5deg) scale(.72)}
 .item-main,.visual-runes .item-main,.visual-fuel .item-main{width:160px;height:160px}.visual-reactor .item-main,.visual-reactor_pack .item-main{width:175px;height:175px}
 .cosmetic-image-button{height:225px}.cosmetic-image-button>img{width:180px;height:180px}.product-body h3,.cosmetic-card h3{font-size:14px}
 .product-detail-layout{grid-template-columns:235px minmax(0,1fr);gap:24px}.purchase-panel .detail-art .rank-pass{transform:rotate(-8deg) scale(.78)}
}
@media(max-width:800px){
 .products,.cosmetics-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.filters button,.filters a{font-size:10px;padding:10px 7px}.shop-period button{font-size:10px;padding:10px 7px}
 .hero-copy{max-width:70%}.hero-photo{left:48%}.hero-characters img:first-child{display:none}.hero-characters img:nth-child(2){width:200px;height:250px;transform:translate(30px,30px)}.hero-characters img:last-child{width:170px;height:210px;transform:translate(-20px,20px)}
 .product-description{max-height:calc(100dvh - 175px)}.command-list>div{grid-template-columns:55px minmax(0,1fr) auto;padding:13px 10px;gap:6px}.command-list span{font-size:10px}.command-list strong{font-size:10px}
}
@media(max-width:720px){
 .wrap{padding-inline:20px}.header{display:flex;gap:12px;height:72px;margin-bottom:24px}.header .brand img{width:134px}.header .menu-toggle{display:flex;margin-left:auto}.header .play{min-width:90px;height:36px;font-size:11px;padding:8px 12px}
 .header nav{display:none;position:absolute;top:67px;left:20px;right:20px;padding:12px 20px;background:#15243a;border:1px solid #304664;border-radius:9px;z-index:30}
 .header nav.is-open{display:flex;align-items:stretch;gap:0}.header nav a{padding:13px 0;font-size:13px}.header .brand{margin-right:auto}
 .hero{min-height:260px}.hero-copy{max-width:75%;padding:29px}.hero h1{font-size:46px}.hero p{font-size:12px}.hero-links{flex-wrap:wrap;gap:15px}.hero-links .hero-start{font-size:11px;padding:11px 14px}.hero-photo{left:45%;opacity:.8}.hero-characters img:last-child{display:none}.hero-characters img:nth-child(2){transform:translate(25px,30px)}
 .store-toolbar{flex-wrap:wrap;gap:12px}.filters{width:100%;flex-basis:100%}.shop-period{margin-left:auto}.section-heading{margin-top:28px;margin-bottom:17px}.section-heading h2{font-size:25px}
 .products,.cosmetics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 15px}.product-visual{height:240px}.product-visual .rank-pass{transform:rotate(-8deg) scale(.8)}.product-visual:hover .rank-pass{transform:rotate(-5deg) scale(.82)}
 .item-main,.visual-runes .item-main,.visual-fuel .item-main{width:190px;height:190px}.visual-reactor .item-main,.visual-reactor_pack .item-main{width:210px;height:210px}
 .product-body h3,.cosmetic-card h3{font-size:16px}.purchase-row .price{font-size:19px}.purchase-row .product-button{font-size:12px}.cosmetic-image-button{height:260px}.cosmetic-image-button>img{width:220px;height:220px}.cosmetic-card-bottom .rune-price{font-size:19px}
 .cosmetics-heading h2{font-size:25px}.cosmetics-wallet{display:none}.cosmetics-tools{gap:13px}.cosmetics-context{line-height:1.7}.skin-list{grid-template-columns:1fr}
 .hm-unified .hm-community-page{padding-inline:20px}.hm-unified .hm-community-page h1{font-size:32px}
}
@media(max-width:620px){
 #product-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);padding:23px 20px;overflow:auto;border-radius:12px}
 #product-dialog .dialog-close{top:16px;right:16px}.product-detail-heading{margin-bottom:20px}.product-detail-heading h2{font-size:26px}
 .product-detail-layout{grid-template-columns:1fr;gap:27px}.purchase-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 15px;align-items:start}
 .purchase-panel .detail-art{grid-column:1;grid-row:1/5;height:210px;margin:0}.purchase-panel .detail-art .rank-pass{transform:rotate(-8deg) scale(.55)}
 .purchase-panel .detail-art>img{width:135px;height:135px}.purchase-panel .detail-art>.pack-fuel{width:65px;height:65px;left:53%;bottom:20px}
 .purchase-panel .field{grid-column:2;font-size:11px}.purchase-panel .presets{grid-column:2;margin:0;gap:4px}.purchase-panel .presets button{font-size:10px;padding:7px 3px}
 .purchase-panel .total{grid-column:2;padding:6px 0;display:block}.purchase-panel .total strong{font-size:26px;display:block;margin-top:8px}.purchase-panel .total small{font-size:10px}.purchase-panel .field-error,.purchase-panel .order-saving{grid-column:2;font-size:10px;margin:0;line-height:1.5}
 .purchase-panel .payment-disabled{grid-column:1/-1}.purchase-panel .preview-detail{grid-column:1/-1;margin:0}.purchase-support{grid-column:1/-1;margin:2px 0 0}
 .product-description{max-height:none;overflow:visible;padding:0;outline:none}.detail-lead{font-size:13px}.detail-section h3{font-size:16px}.benefit-stats{gap:8px}.benefit-stat{padding:14px}.benefit-stat strong{font-size:25px}.benefit-stat span{font-size:10px}.command-list>div{grid-template-columns:60px minmax(0,1fr) auto;gap:8px}.command-list span,.command-list strong{font-size:11px}
}
@media(max-width:480px){
 .wrap{padding-inline:16px}.preview-bar{font-size:8px;gap:10px;padding-block:5px}.header{height:68px;gap:10px;margin-bottom:19px}.header .brand img{width:119px}.header .play{min-width:79px;font-size:11px;height:34px;padding:8px 10px}.header nav{left:16px;right:16px;top:63px}
 .hero{min-height:282px;border-radius:10px}.hero-copy{max-width:100%;padding:27px 24px}.server-type{font-size:8px}.hero h1{font-size:46px;margin-block:12px 15px}.hero p{font-size:12px;max-width:250px;margin-bottom:23px}.hero-photo{left:47%;opacity:.42}.hero-photo:after{background:linear-gradient(90deg,#15356380,transparent)}.hero-characters{right:-45px;left:0;width:auto}.hero-characters img:nth-child(2){width:190px;height:235px;transform:translate(8px,35px);opacity:.8}.hero-links{align-items:flex-start;flex-direction:column;gap:14px}.hero-links .server-address{font-size:10px}.hero-links .hero-start{padding:11px 15px}
 .section-heading h2{font-size:24px}.section-heading .text-link{font-size:10px}.filters{gap:1px;padding:4px}.filters button,.filters a{font-size:9px;padding:10px 5px}.shop-period button{font-size:10px;padding:7px 9px}.store-toolbar{margin-bottom:19px;gap:9px}
 .products,.cosmetics-grid{gap:22px 12px}.product-visual{height:185px;border-radius:9px}.product-visual .rank-pass{transform:rotate(-8deg) scale(.52)}.product-visual:hover .rank-pass{transform:rotate(-5deg) scale(.54)}
 .item-main,.visual-runes .item-main,.visual-fuel .item-main{width:135px;height:135px}.visual-reactor .item-main,.visual-reactor_pack .item-main{width:150px;height:150px}.rune-back-one{width:48px;height:48px;right:10px;bottom:23px}.rune-back-two{width:35px;height:35px;left:12px;top:32px}.item-scene>.pack-fuel{width:62px;height:62px;right:7px;bottom:18px}.visual-floor{bottom:25px}
 .product-body{padding-top:11px}.product-body h3{font-size:14px;min-height:38px;margin:0 0 8px}.purchase-row{gap:5px}.purchase-row .price{font-size:16px;padding:7px 3px;min-height:39px;border-radius:6px}.purchase-row .price small{font-size:7px}.purchase-row .product-button{font-size:10px;padding:9px 4px;min-height:39px;border-radius:6px}.product-body .term-saving{font-size:8px;margin-bottom:7px}
 .cosmetics{margin-top:38px;padding-top:27px}.cosmetics-heading h2{font-size:24px}.cosmetics-intro{font-size:11px}.cosmetics-tools{flex-direction:column;align-items:stretch;gap:12px}.cosmetics-tabs{justify-content:stretch}.cosmetics-tabs button{flex:1;font-size:11px;padding:10px 8px}.cosmetic-search{width:100%}.cosmetic-search input{width:100%;font-size:12px;padding:11px 12px}.cosmetics-context{font-size:10px;margin:13px 0 18px}.cosmetic-image-button{height:204px;padding:0 8px 23px;border-radius:9px}.cosmetic-image-button>img{width:165px;height:165px}.cosmetic-card-top{top:10px;left:9px}.cosmetic-card-top .rarity{font-size:7px;padding:3px 5px}.cosmetic-card h3{font-size:14px;min-height:38px;margin-bottom:8px}.cosmetic-card-bottom{gap:5px}.cosmetic-card-bottom .rune-price{font-size:16px;gap:4px;min-height:39px;padding:7px 3px}.cosmetic-card-bottom .rune-price img{width:14px;height:14px}.cosmetic-card-bottom .cosmetic-detail-button{font-size:9px;min-height:39px;padding:9px 3px}.cosmetics-count{font-size:10px}.cosmetics-more{font-size:11px;padding:10px 14px}
 .gallery-shot img{height:auto;aspect-ratio:1.65}.community-gallery{margin-top:43px}.footer{gap:25px 18px}.footer>div>a:not(.brand){font-size:9px}.footer>div>span{font-size:11px}.footer .server-address{font-size:9px}
 .purchase-panel{gap:10px 12px}.purchase-panel .detail-art{height:180px}.purchase-panel .detail-art .rank-pass{transform:rotate(-8deg) scale(.43)}.purchase-panel .detail-art>img{width:105px;height:105px}.purchase-panel .field select,.purchase-panel .field input{font-size:12px;padding:10px;height:42px}.command-list>div{grid-template-columns:52px minmax(0,1fr) auto;padding:12px 9px;gap:7px}.command-list span,.command-list strong{font-size:10px}.detail-section-title>span{font-size:9px}.included-items img{width:90px;height:90px}.included-items>div{padding:14px 10px}.included-items b{font-size:11px}.included-items span{font-size:10px}.currency-rate strong{font-size:23px}.currency-rate img{width:42px;height:42px}
 .hm-unified .hm-community-page{padding-inline:16px}.hm-unified .hm-community-page h1{font-size:30px}
}
#cosmetic-dialog{width:min(850px,calc(100% - 40px));max-height:calc(100dvh - 48px);padding:28px;background:#111c2d;border:1px solid #2a3e5a;border-radius:15px;overflow:auto}
#cosmetic-dialog .dialog-close{top:22px;right:22px;border:0;background:#1e2c43;border-radius:8px;width:32px;height:32px}
.cosmetic-detail-heading{padding-right:38px;margin-bottom:25px}.cosmetic-detail-heading .eyebrow{margin:0 0 7px;letter-spacing:0}.cosmetic-detail-heading h2{font-size:27px;font-weight:700;margin:0;line-height:1.2}
.cosmetic-detail-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:28px;align-items:start}
.cosmetic-detail-layout .cosmetic-preview{height:350px;position:sticky;top:0;border-radius:11px;border-color:#315581;margin:0;background:radial-gradient(ellipse at 50% 35%,#496788,#192e46 80%)}
.cosmetic-detail-layout .cosmetic-preview img{width:265px;height:265px;max-width:100%;object-fit:contain}
.cosmetic-detail-layout .cosmetic-preview>.rarity{position:absolute;bottom:17px;left:17px;font-size:10px;color:#c2d8f4;letter-spacing:0;border:1px solid #7396c44d;background:#152d4a90;border-radius:5px;padding:5px 9px}
.cosmetic-description .detail-lead{font-size:13px;margin-bottom:19px}
.cosmetic-facts{display:flex;gap:25px;padding-bottom:20px;margin-bottom:23px;border-bottom:1px solid #283c58}.cosmetic-facts span{display:block;font-size:10px;color:#7f99bb;margin-bottom:6px}.cosmetic-facts strong{font-size:12px;font-weight:600;color:#bdd4f2}
.cosmetic-description .total{padding:8px 0 18px}.cosmetic-description .total strong{font-size:28px}.cosmetic-description .total small{font-size:10px}.cosmetic-description .cosmetic-runes{width:100%;padding:13px;font-size:12px;border-radius:8px}.cosmetic-description .cosmetic-howto{font-size:10px;line-height:1.8;color:#7f99bb;margin:13px 0 0}
@media(max-width:720px){.cosmetic-detail-layout{grid-template-columns:230px minmax(0,1fr);gap:22px}.cosmetic-detail-layout .cosmetic-preview{height:310px}.cosmetic-detail-layout .cosmetic-preview img{width:220px;height:220px}}
@media(max-width:620px){#cosmetic-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);padding:23px 20px;border-radius:12px}.cosmetic-detail-heading h2{font-size:24px}.cosmetic-detail-layout{grid-template-columns:1fr;gap:23px}.cosmetic-detail-layout .cosmetic-preview{position:relative;height:280px}.cosmetic-detail-layout .cosmetic-preview img{width:245px;height:245px}.cosmetic-detail-heading{margin-bottom:20px}#cosmetic-dialog .dialog-close{top:16px;right:16px}.cosmetic-description .detail-lead{font-size:13px}}
@media(max-width:480px){
 .hero-photo{left:0;opacity:1}.hero-photo>img{opacity:.2}.hero-photo:after{background:linear-gradient(90deg,#153563f2 0%,#153563db 40%,#15356366 100%)}.hero-characters{left:auto;right:-48px;width:190px;opacity:.4}
 .filters{overflow-x:auto;scrollbar-width:none;justify-content:flex-start}.filters button,.filters a{flex:0 0 auto;font-size:11px;padding:11px 13px}.filters::-webkit-scrollbar{display:none}
}

/* Live server activity, shared by the storefront and community shell. */
.brand-block{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.header .brand-block .brand{margin:0;display:block;line-height:0}
.server-online{display:inline-flex;align-items:center;gap:6px;color:#9aabc4;font-size:11px;line-height:15px;white-space:nowrap}
.server-online:before{content:'';width:6px;height:6px;border-radius:50%;background:#74839b}
.server-online[data-state=live]:before{background:#70c993}
#play-dialog .steps li>div{min-width:0}
#play-dialog .steps .server-address{display:flex;width:fit-content;margin-top:10px;gap:12px;line-height:1.5}
.activity-page{padding-bottom:50px}
.activity-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:8px 0 30px}
.activity-heading h1{font-size:40px;line-height:1.2;margin:10px 0 12px;letter-spacing:-.035em;color:#f4f7ff}
.activity-heading p:not(.eyebrow){color:#9aabc4;font-size:14px;margin:0}
.activity-updated{color:#8297b4;font-size:12px;white-space:nowrap}
.activity-tabs{display:flex;gap:5px;background:#162238;padding:5px;border-radius:9px}
.activity-tabs button{flex:1;padding:12px 10px;background:transparent;color:#a5b5ce;border:0;border-radius:6px;font-family:inherit;font-size:13px;font-weight:600;cursor:pointer}
.activity-tabs button.selected{background:#2563eb;color:#fff}
.activity-tabs button:hover{color:#fff}
.activity-caption{color:#9aabc4;font-size:13px;line-height:1.6;margin:15px 0 25px}
.activity-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.activity-champion{position:relative;display:flex;flex-direction:column;align-items:center;padding:26px 18px;border:1px solid #283c58;background:#132239;border-radius:12px;color:#edf4ff;cursor:pointer;min-width:0}
.activity-champion.place-1{background:#193258;border-color:#35659e}
.activity-place{position:absolute;top:17px;left:19px;font-size:14px;color:#8eb3e7;font-weight:700}
.activity-avatar{display:flex;align-items:center;justify-content:center;border:1px solid #36557d;background:#203858;color:#9cc3fa;font-weight:700;border-radius:10px;flex-shrink:0}
.activity-champion .activity-avatar{height:68px;width:68px;font-size:28px;margin:4px 0 14px}
.activity-champion strong{max-width:100%;overflow-wrap:anywhere;font-size:19px}
.activity-score{font-size:26px;font-weight:750;color:#a6cbff;margin:14px 0 3px}
.activity-champion small{font-size:12px;color:#8fa5c6}
.activity-ranking .section-heading h2{font-size:24px;color:#e9f1ff}
.activity-ranking .section-heading>span{color:#8297b4;font-size:12px}
.activity-player{border:1px solid #263851;border-radius:9px;background:#101c2e;margin-bottom:8px;overflow:hidden}
.activity-player summary{display:flex;align-items:center;gap:16px;padding:14px 19px;cursor:pointer;list-style:none}
.activity-player summary::-webkit-details-marker{display:none}
.activity-player summary:hover{background:#16273f}
.activity-rank{width:26px;flex-shrink:0;color:#8ba1c0;font-size:13px}
.activity-player .activity-avatar{width:38px;height:38px;font-size:16px;border-radius:7px}
.activity-player summary strong{color:#e5eefb;font-size:14px;overflow-wrap:anywhere;min-width:0}
.activity-row-score{margin-left:auto;text-align:right;color:#a6cbff;font-size:16px;font-weight:700;white-space:nowrap}
.activity-row-score small{display:block;color:#8095b4;font-size:10px;font-weight:400;margin-top:3px}
.activity-expand{font-size:21px;color:#83a8dc;width:14px;text-align:center}
.activity-player[open] .activity-expand{transform:rotate(45deg)}
.activity-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 22px;margin:0;padding:8px 22px 22px;border-top:1px solid #263851}
.activity-detail-grid>div{padding:15px 0 12px;border-bottom:1px solid #22334a;min-width:0}
.activity-detail-grid dt{font-size:11px;color:#91a6c6;line-height:1.5}
.activity-detail-grid dd{font-size:16px;color:#e9f1ff;font-weight:650;margin:5px 0 0}
.activity-formula{margin-top:25px;border-top:1px solid #263851;padding:22px 0;color:#a4b6d1;font-size:13px;line-height:1.8}
.activity-formula summary{cursor:pointer;color:#d8e6fa;font-weight:600}
.activity-empty{padding:25px;color:#9aabc4}
@media(max-width:720px){.activity-heading{align-items:flex-start;flex-direction:column;gap:15px}.activity-heading h1{font-size:32px}.activity-tabs{overflow-x:auto}.activity-tabs button{white-space:nowrap;font-size:12px;padding:11px 14px}.activity-podium{gap:9px}.activity-champion{padding:32px 8px 18px}.activity-champion .activity-avatar{width:48px;height:48px;font-size:22px}.activity-champion strong{font-size:13px}.activity-score{font-size:19px}.activity-champion small{font-size:10px}.activity-place{left:12px;top:11px;font-size:12px}.activity-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 15px;padding:8px 15px 20px}.activity-player summary{gap:10px;padding:12px}.activity-player summary strong{font-size:12px}.activity-rank{width:18px}.activity-player .activity-avatar{width:30px;height:30px}.activity-row-score{font-size:13px}.activity-row-score small{font-size:9px}.activity-expand{width:10px}.server-online{font-size:10px;gap:5px}}
@media(max-width:380px){.activity-player summary .activity-avatar{display:none}.activity-champion strong{font-size:11px}.activity-score{font-size:17px}.server-online{font-size:9px}}

/* Restore the original HyMagic player-page composition with real menu portraits. */
.activity-heading{position:relative;isolation:isolate;overflow:hidden;min-height:252px;align-items:center;padding:38px 40px;border:1px solid #26364d;border-radius:17px;margin:6px 0 28px;background:#0d1524}
.activity-heading:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#080e19ed,#080e1980),url('assets/ranking-city.webp') center 41%/cover;opacity:.78}
.activity-heading .eyebrow,.activity-leaders-heading .eyebrow{color:#8cbcff;letter-spacing:.13em;text-transform:uppercase;font-size:11px;font-weight:750;margin:0 0 14px}
.activity-heading h1{color:#f0f5ff;font-size:56px;font-weight:850;line-height:1.02;letter-spacing:-.055em;text-transform:uppercase;margin:0}
.activity-heading h1 span{color:#6da9ff}
.activity-heading-copy{max-width:310px}
.activity-heading .activity-heading-copy>p{font-size:14px;line-height:1.8;color:#c0cadb}
.activity-heading .activity-updated{display:block;margin-top:22px;color:#8cbcff;font-size:11px}
.activity-tabs{background:#101a2c;border:1px solid #22324a;border-radius:8px}
.activity-tabs button{font-size:12px;padding-block:11px}
.activity-caption{margin:13px 0 28px;font-size:12px}
.activity-leaders-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding-bottom:20px;margin-bottom:24px;border-bottom:1px solid #22324a}
.activity-leaders-heading .eyebrow{margin-bottom:8px}
.activity-leaders-heading h2{font-size:29px;line-height:1.2;font-weight:750;letter-spacing:-.035em;color:#f1f6ff;margin:0}
.activity-leaders-heading>span{font-size:11px;line-height:1.6;text-align:right;max-width:220px;color:#8096b7}
.activity-podium{align-items:end;gap:18px;padding-top:0}
.activity-champion{min-height:330px;padding:34px 16px 18px;border:1px solid #2d3c57;border-radius:15px;background:#0b1528;isolation:isolate;overflow:hidden;transition:transform .2s,border-color .2s}
.activity-champion:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#0c162321 0%,#0b15287d 40%,#0b1528 78%),url('assets/ranking-city.webp') center 31%/cover;opacity:.75}
.activity-champion:hover{transform:translateY(-4px);border-color:#588bd0}
.activity-champion.place-1{min-height:368px;background:#0c1b32;border-color:#4278bc;box-shadow:0 10px 35px #030a1459}
.activity-champion.place-1:before{background:linear-gradient(180deg,#0c162300,#0c1b3275 45%,#0c1b32 80%),url('assets/ranking-city.webp') center 31%/cover;opacity:1}
.activity-place{left:18px;top:16px;font-size:12px;line-height:29px;padding:0 11px;color:#dce9ff;background:#081326d9;border:1px solid #607c9d69;border-radius:20px}
.activity-avatar{overflow:hidden;background:#162a45;border:1px solid #45658d;border-radius:12px}
.activity-avatar img{display:block;width:100%;height:100%;object-fit:contain;image-rendering:pixelated}
.activity-champion .activity-avatar{width:118px;height:118px;margin:16px 0 16px;border-radius:23px;border:2px solid #6784ae;background:#243f63;box-shadow:0 9px 25px #040a1780;transform:rotate(-3deg)}
.activity-champion.place-1 .activity-avatar{width:146px;height:146px;border-color:#82bbff;transform:rotate(2deg);background:#294e7a}
.activity-champion .activity-avatar img{padding:7px;filter:drop-shadow(0 5px 3px #030a1750)}
.activity-champion-label{font-size:9px;letter-spacing:.1em;text-transform:uppercase;color:#92bfff;margin-bottom:7px;font-weight:650}
.activity-champion strong{font-size:23px;line-height:1.3;letter-spacing:-.03em;color:#fff}
.activity-champion.place-1 strong{font-size:27px}
.activity-score{margin:13px 0 1px;font-size:23px;color:#dceaff;line-height:1.2}
.activity-champion small{font-size:11px;color:#8ea5c5}
.activity-profile-link{margin-top:18px;font-size:10px;color:#a3b7d3;display:flex;gap:8px;align-items:center}
.activity-profile-link>span{color:#80b3ff;font-size:15px}
.activity-ranking .section-heading{margin-top:37px;margin-bottom:17px}
.activity-ranking .section-heading h2{font-size:25px}
.activity-player{border:0;border-bottom:1px solid #22334a;border-radius:0;background:transparent;margin:0}
.activity-player summary{padding:14px 10px;gap:18px}
.activity-player summary:hover{background:#101e31}
.activity-player .activity-avatar{width:46px;height:46px;border-radius:9px;display:flex}
.activity-player .activity-avatar img{padding:2px}
.activity-player summary strong{font-size:15px}
.activity-row-score{font-size:16px;color:#e4edff}
.activity-player[open]{background:#101c2d;border-radius:8px}
.activity-detail-grid{border-top-color:#23344d}
#player-stats-dialog{width:min(760px,calc(100% - 32px));max-width:760px;max-height:calc(100dvh - 40px);padding:30px;overflow-y:auto;background:#0e1b2c;border:1px solid #38516f;border-radius:15px;color:#edf4ff}
#player-stats-dialog::backdrop{background:#030710cf}
#player-stats-dialog .dialog-close{position:absolute;top:17px;right:17px}
.activity-profile-header{display:flex;align-items:center;gap:25px;padding:5px 30px 25px 0}
.activity-profile-header .activity-avatar{width:108px;height:108px;padding:5px;border-radius:19px;background:#223e60}
.activity-profile-header .eyebrow{font-size:10px;color:#83a8dc;margin-bottom:8px}
.activity-profile-header h2{color:#f3f7ff;font-size:32px;line-height:1.2;letter-spacing:-.025em;margin:0;overflow-wrap:anywhere}
.activity-profile-result{color:#a6cdff;font-size:19px;margin:10px 0 0;font-weight:650}
.activity-profile-result>span{font-size:12px;color:#92a8c7;font-weight:400}
#player-stats-dialog .activity-detail-grid{padding:0 0 10px;gap:0 24px}
@media(max-width:720px){
 .activity-heading{padding:28px;min-height:235px;flex-direction:row;gap:24px}.activity-heading h1{font-size:39px}.activity-heading-copy{max-width:205px}.activity-heading .activity-heading-copy>p{font-size:12px}.activity-heading .activity-updated{font-size:10px;margin-top:14px}
 .activity-leaders-heading{gap:15px;margin-bottom:19px;padding-bottom:15px}.activity-leaders-heading h2{font-size:25px}.activity-leaders-heading>span{font-size:10px;max-width:150px}.activity-podium{gap:10px}
 .activity-champion{min-height:265px;padding:35px 7px 15px;border-radius:12px}.activity-champion.place-1{min-height:289px}.activity-champion .activity-avatar{width:83px;height:83px;border-radius:18px;margin:10px 0 15px}.activity-champion.place-1 .activity-avatar{width:98px;height:98px}.activity-champion strong{font-size:16px}.activity-champion.place-1 strong{font-size:18px}.activity-score{font-size:19px}.activity-champion-label{font-size:8px;letter-spacing:.04em}.activity-place{left:10px;top:12px;font-size:10px;line-height:24px;padding:0 8px}.activity-champion small{font-size:9px}.activity-profile-link{font-size:9px;margin-top:12px}
 .activity-player summary{gap:12px}.activity-player summary strong{font-size:13px}.activity-player .activity-avatar{width:38px;height:38px}.activity-row-score{font-size:14px}
}
@media(max-width:480px){
 .activity-heading{display:block;min-height:0;padding:28px 23px;margin-bottom:23px;border-radius:12px}.activity-heading h1{font-size:43px}.activity-heading-copy{max-width:none;margin-top:22px}.activity-heading .activity-heading-copy>p{font-size:12px;line-height:1.7}.activity-heading .activity-updated{margin-top:12px}.activity-heading:before{background:linear-gradient(90deg,#080e19d9,#080e1970),url('assets/ranking-city.webp') 65% center/cover}
 .activity-tabs{scrollbar-width:thin;scrollbar-color:#375174 #101a2c}.activity-caption{font-size:11px;margin-bottom:25px}.activity-leaders-heading>span{display:none}.activity-leaders-heading h2{font-size:25px}.activity-leaders-heading .eyebrow{font-size:9px}.activity-podium{gap:7px}
 .activity-champion{min-height:238px;padding:33px 5px 12px;border-radius:10px}.activity-champion.place-1{min-height:258px}.activity-champion .activity-avatar{width:70px;height:70px;border-radius:15px;margin:9px 0 13px}.activity-champion.place-1 .activity-avatar{width:82px;height:82px;border-radius:17px}.activity-champion .activity-avatar img{padding:3px}.activity-champion strong{font-size:13px}.activity-champion.place-1 strong{font-size:14px}.activity-score{font-size:18px;margin-top:12px}.activity-champion-label{font-size:7px;letter-spacing:0}.activity-champion small{font-size:8px}.activity-place{left:8px;top:10px;line-height:21px;font-size:9px}.activity-profile-link{font-size:8px;gap:4px}.activity-ranking .section-heading h2{font-size:22px}
 .activity-player summary{gap:9px;padding:12px 4px}.activity-player summary strong{font-size:12px}.activity-player .activity-avatar{width:36px;height:36px}.activity-row-score{font-size:13px}.activity-expand{font-size:18px}.activity-rank{font-size:11px}
 #player-stats-dialog{padding:24px 18px;width:calc(100% - 20px);max-height:calc(100dvh - 24px)}.activity-profile-header{gap:16px;padding:12px 10px 22px 0}.activity-profile-header .activity-avatar{width:78px;height:78px;border-radius:15px}.activity-profile-header h2{font-size:23px}.activity-profile-result{font-size:16px}.activity-profile-result>span{font-size:10px}#player-stats-dialog .activity-detail-grid{gap:0 15px}.activity-detail-grid dd{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.activity-champion{transition:none}.activity-champion:hover{transform:none}}
.hm-unified .activity-page .activity-heading h1{font-size:56px;font-weight:850;line-height:1.02;letter-spacing:-.055em;text-transform:uppercase;margin:0;color:#f0f5ff}
.hm-unified .activity-page .activity-heading h1 span{color:#6da9ff}
@media(max-width:720px){.hm-unified .activity-page .activity-heading h1{font-size:39px}}
@media(max-width:480px){.hm-unified .activity-page .activity-heading h1{font-size:43px}}
.hm-unified .activity-page .activity-heading h1{-webkit-text-fill-color:#f0f5ff}
.hm-unified .activity-page .activity-heading h1 span{-webkit-text-fill-color:#6da9ff}
#player-stats-dialog .dialog-close{width:32px;height:32px;padding:8px;display:grid;place-items:center;background:#1b2b42;border:1px solid #354b69;border-radius:6px;color:#dceaff}
#player-stats-dialog .dialog-close svg{width:15px;height:15px}
@media(max-width:480px){.hm-unified .activity-page .activity-heading h1{font-size:clamp(30px,10.8vw,43px)}.activity-champion .activity-avatar{width:clamp(54px,18vw,70px);height:clamp(54px,18vw,70px)}.activity-champion.place-1 .activity-avatar{width:clamp(64px,20vw,82px);height:clamp(64px,20vw,82px)}}
