:root{--accent:#f28a30;--accent-2:#a94413;--gold:#ffc17a;--panel:#12171c;--panel-2:#191e24;--line:#34383e;--muted:#a9b1ba;color-scheme:dark}body{background:radial-gradient(ellipse at 50% 0,#26313d 0,#0b1015 38%,#080b0e 80%);font-family:Segoe UI,Arial,sans-serif}a{color:#e2e6eb}main{width:min(1500px,94%);margin:30px auto 65px}.site-header{padding:12px 2.5%;gap:18px;background:#090d12f5;border-bottom:1px solid #3c332b;min-height:78px}.site-header .brand{gap:10px;font-size:17px}.site-header .brand-logo-box,.site-header .brand-logo{background:transparent;width:52px;height:52px;min-width:52px;min-height:52px;max-width:52px;max-height:52px}.site-header .ims-nav{gap:7px;justify-content:center;flex-wrap:wrap}.ims-nav-link{padding:12px 14px;border:1px solid #292f36;border-radius:8px;background:#11161c;font-weight:700;white-space:nowrap;font-size:14px}.ims-nav-link span{color:#f79a48;margin-right:4px}.ims-nav-link:hover,.ims-nav-link.active{border-color:#e88132;background:linear-gradient(150deg,#44220f,#191719);box-shadow:inset 0 -2px #d76d22,0 0 18px #e8792020}.site-header .ims-account{gap:9px}.ims-wallet{white-space:nowrap;border:1px solid #9b5728;padding:8px 10px;border-radius:8px;font-weight:800;color:#ffcf98}.ims-wallet b{color:#ff963b;margin-left:6px}.ims-home main{margin-top:0}.ims-hero{position:relative;isolation:isolate;min-height:350px;display:grid;place-items:center;text-align:center;margin:0 calc((100% - 100vw)/2);background:#18232f;overflow:hidden;border-bottom:1px solid #49413a}.ims-hero:before,.ims-hero:after{content:'';position:absolute;inset:0;z-index:-1}.ims-hero:before{background:url('/static/immortals/hero-left.webp') left center/auto 100% no-repeat,url('/static/immortals/hero-right.webp') right center/auto 100% no-repeat}.ims-hero:after{background:linear-gradient(90deg,transparent,#111b25e8 36%,#111b25e8 64%,transparent),linear-gradient(0deg,#080c11 0,transparent 45%)}.ims-hero-copy{padding:42px 20px}.ims-kicker{color:#ffae66;letter-spacing:.25em;font-size:12px;font-weight:800}.ims-hero h1{font-family:Impact,'Arial Black',sans-serif;font-size:clamp(48px,8vw,112px);letter-spacing:.045em;line-height:1;margin:14px 0;background:linear-gradient(#fff,#b8c3cf 48%,#64717d 52%,#e6e9ed);background-clip:text;color:transparent;filter:drop-shadow(0 5px 2px #000)}.ims-hero p{font-size:18px;color:#e1e5eb}.ims-hero-cta,.ims-feature span{display:inline-block;padding:10px 17px;border:1px solid #e67c2b;border-radius:7px;background:linear-gradient(135deg,#633213,#241a15);color:#fff;font-weight:750}.ims-features{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:15px;position:relative;margin:-22px 0 25px}.ims-features:empty{display:none}.ims-feature{min-height:170px;display:flex;align-items:center;padding:22px;border:1px solid #4b4b4c;border-radius:13px;background-color:#10151b;background-position:right center;background-repeat:no-repeat;background-size:auto 100%;box-shadow:0 12px 28px #0008;transition:transform .2s,border-color .2s}.ims-feature:hover{transform:translateY(-4px);border-color:#ef8b39}.ims-vip{background-image:linear-gradient(90deg,#10151b 20%,#10151b55 65%,transparent),url('/static/immortals/vip.webp')}.ims-loot{background-image:linear-gradient(90deg,#10151b 20%,#10151b55 65%,transparent),url('/static/immortals/loot.webp')}.ims-roulette{background-image:linear-gradient(90deg,#10151b 20%,#10151b55 65%,transparent),url('/static/immortals/roulette.webp')}.ims-feature h2{margin:0;font-size:26px}.ims-feature p{color:#c1c7ce;margin:8px 0 15px;max-width:180px}.ims-about{display:inline-block;margin:0 0 15px;color:#c4cbd3}.ims-home .store-heading{text-align:left;margin:24px 0 12px;max-width:none;scroll-margin-top:120px}.ims-home .store-heading h1{font-size:32px}.ims-home .category-nav{justify-content:flex-start;gap:10px;margin:18px 0 25px}.ims-home .category-pill{border-radius:9px;padding:15px 22px;background:#151b22;border-color:#343c44}.ims-home .category-pill.active,.ims-home .category-pill:hover{background:linear-gradient(145deg,#532b15,#1b1b1c);border-color:#e98030;box-shadow:0 0 18px #f4802520}.ims-home .product-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}.ims-home .product-card{border-radius:13px;background:linear-gradient(#1b222a,#10151a);border-color:#353d45}.ims-home .product-card:hover{border-color:#ed8b3a;box-shadow:0 15px 35px #0009}.ims-home .product-media{background:radial-gradient(ellipse,#303d49,#11171e 75%);height:205px}.ims-home .product-content{padding:18px}.ims-home .product-content h2{text-align:left}.ims-home .product-content>p{text-align:left}.buy-button,.steam,.button:not(.secondary),.roulette-spin-button{background:linear-gradient(135deg,#f39442,#a94816);color:#fff}.panel,table,.stats div,.component-box{border-color:#343a42;background:#141a20}.admin-links a:hover{color:#ffad64}.ims-footer{display:flex;justify-content:space-between;gap:15px;padding:25px 3%;border-top:1px solid #30353c;color:#9ca6b1;font-size:12px}.ims-footer strong{color:#e8a66e;letter-spacing:.1em}a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid #ffa24f;outline-offset:3px}@media(max-width:1200px){.site-header{flex-wrap:wrap}.site-header .ims-nav{order:3;width:100%}.site-header .ims-account{margin-left:auto}}@media(max-width:760px){.site-header{position:relative;padding:10px;gap:10px}.site-header .ims-nav{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.ims-nav-link{font-size:12px;padding:9px}.site-header .ims-account{flex-wrap:wrap;justify-content:flex-end}.site-header .brand-title{font-size:14px}.ims-hero{min-height:280px}.ims-hero:before{opacity:.65}.ims-hero:after{background:#10182088}.ims-hero p{font-size:15px}.ims-features{grid-template-columns:1fr;margin-top:12px}.ims-feature{min-height:145px}.ims-home .product-grid{grid-template-columns:1fr}.ims-home .category-pill{padding:10px 13px}.ims-footer{flex-direction:column}}@media(prefers-reduced-motion:reduce){.ims-feature,.ims-home .product-card{transition:none}}

.site-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center}.site-header .brand{justify-self:start}.site-header .ims-nav{justify-self:center;gap:10px;width:auto;order:0}.site-header .ims-account{justify-self:end;margin:0}.ims-nav-link{display:flex;align-items:center;gap:9px;padding:14px 20px}.ims-nav-link svg{width:21px;height:21px;color:#ff9b48;flex:none}.ims-wallet{display:flex;align-items:center;gap:10px;padding:5px 5px 5px 13px;transition:.2s}.ims-wallet b{display:grid;place-items:center;width:34px;height:34px;margin:0;border-radius:7px;background:#442714;font-size:23px;transition:.2s}.ims-wallet:hover,.ims-wallet:focus-visible{border-color:#ff9c48;box-shadow:0 0 18px #ff8b3444}.ims-wallet:hover b,.ims-wallet:focus-visible b{background:#ff9a40;color:#16100b;box-shadow:0 0 16px #ff922a99;transform:scale(1.05)}.steam-profile-dropdown{background:linear-gradient(145deg,#20252c,#0d1116);border-color:#80502e;padding:12px;box-shadow:0 18px 50px #000c;transform:translateY(-9px) scale(.97);transform-origin:top right}.steam-profile-dropdown:before{background:#20252c;border-color:#80502e}.steam-profile-menu.open .steam-profile-dropdown{transform:translateY(0) scale(1)}.steam-profile-head{border-bottom:1px solid #ffffff16;margin-bottom:8px}.steam-profile-dropdown>a:hover{background:#f28a3020;color:#ffc18a!important}.steam-profile-toggle:hover,.steam-profile-menu.open .steam-profile-toggle{border-color:#f28a30;box-shadow:0 0 16px #f28a3044}.ims-hero:before{background:url('/static/immortals/hero-v2.webp') center center/cover no-repeat}.ims-hero:after{background:linear-gradient(90deg,transparent,#090e1655 40%,#090e1655 60%,transparent),linear-gradient(0deg,#080c11,transparent 40%)}.ims-category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:16px;margin:18px 0 30px}.ims-category{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;min-height:155px;padding:22px;border:1px solid #45454a;border-radius:13px;background:radial-gradient(ellipse at right,#3a3028,#11171e 75%);box-shadow:0 10px 24px #0006;transition:.2s}.ims-category img{position:absolute;right:0;top:0;width:65%;height:100%;object-fit:contain;z-index:-2}.ims-category:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#10151b 12%,#10151be0 36%,transparent);z-index:-1}.ims-category h2{font-size:22px;margin:0 0 15px;overflow-wrap:anywhere}.ims-category span{display:inline-block;border:1px solid #b76c36;border-radius:7px;padding:8px 12px;background:#352217;color:#ffc18a;font-size:13px}.ims-category.active,.ims-category:hover{border-color:#f28a30;box-shadow:0 0 20px #f28a3033;transform:translateY(-2px)}@media(max-width:900px){.site-header{grid-template-columns:1fr 1fr}.site-header .ims-nav{grid-column:1/-1;grid-row:2;justify-self:stretch;justify-content:center;flex-wrap:wrap}.site-header .ims-account{grid-column:2;grid-row:1}.ims-nav-link{padding:10px 12px}}@media(max-width:480px){.ims-nav-link{font-size:12px;padding:8px;gap:5px}.ims-nav-link svg{width:16px;height:16px}.ims-category-grid{grid-template-columns:1fr}.ims-category{min-height:125px}}

/* v3 */
.ims-hero{min-height:clamp(350px,34vw,620px)}.ims-hero:before{background-position:center top;background-size:cover}.ims-hero h1{background:none;filter:none;margin:0;line-height:0}.ims-hero-logo{display:block;width:min(760px,78vw);height:auto;margin:auto;filter:drop-shadow(0 5px 9px #000)}.ims-hero-copy p{margin-top:12px}.ims-category-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.ims-category{align-items:flex-start;min-height:180px;padding:18px}.ims-category>div{position:relative;z-index:1;width:100%}.ims-category h2{margin:0;font-size:21px;text-shadow:0 2px 5px #000}.ims-category img{top:48px;right:12px;width:calc(100% - 24px);height:calc(100% - 58px);object-fit:contain}.ims-category:after{background:linear-gradient(180deg,#10151b 0%,transparent 42%)}.ims-selected-products{scroll-margin-top:120px;margin-top:30px}.steam-profile-toggle{padding:3px;gap:0;aspect-ratio:1;justify-content:center}.ims-wallet b{display:flex;align-items:center;justify-content:center;line-height:1;padding:0}.ims-wallet b svg{display:block;flex:none}@media(max-width:760px){.ims-hero{min-height:300px}.ims-hero:before{background-size:cover;background-position:65% top}.ims-category-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.ims-category{min-height:155px}.ims-category h2{font-size:17px}}

/* v4 */
.site-header .brand{display:flex;align-items:center;min-width:0;max-width:100%;gap:8px}.site-header .ims-brand-wordmark{display:block;width:clamp(110px,15vw,260px);max-width:calc(100% - 60px);height:auto;object-fit:contain;filter:drop-shadow(0 2px 3px #000)}.ims-hero:after{background:linear-gradient(0deg,#080c11,transparent 30%)}.ims-home main{margin-bottom:30px}.ims-category-grid{margin-bottom:0}.ims-back{display:inline-flex;margin:24px 0 0;padding:12px 18px;border:1px solid #a65e2e;border-radius:8px;background:#201912;color:#ffc18a;font-weight:700}.ims-back:hover{border-color:#ff9b48;background:#442714}.ims-selected-products{margin-top:18px}.ims-selected-products>h2{margin-bottom:20px}@media(max-width:480px){.site-header .brand-logo-box,.site-header .brand-logo{width:36px;height:36px;min-width:36px;min-height:36px;max-width:36px;max-height:36px}.site-header .ims-brand-wordmark{max-width:calc(100% - 44px)}}

/* v5 — independent landing and storefront */
body.ims-landing-page{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}.ims-landing-page main{width:100%;max-width:none;margin:0;flex:1;display:flex;flex-direction:column}.ims-landing{position:relative;isolation:isolate;flex:1;min-height:65vh;display:grid;place-items:center;overflow:hidden;background:#101a24 url('/static/immortals/hero-v2.webp') center top/cover no-repeat}.ims-landing:before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at center,#080d1566,transparent 75%),linear-gradient(0deg,#080c11aa,transparent 40%)}.ims-landing-copy{text-align:center;padding:48px 20px;animation:ims-arrive .8s ease-out both}.ims-landing-copy h1{margin:0}.ims-landing-copy h1 img{width:min(700px,80vw);height:auto;filter:drop-shadow(0 5px 12px #000)}.ims-landing-copy p{color:#fff;font-size:clamp(15px,1.6vw,24px);text-shadow:0 2px 8px #000;margin:14px 0 28px}.ims-landing-cta{display:inline-flex;align-items:center;gap:22px;padding:16px 26px;border:1px solid #ff9b48;border-radius:8px;background:linear-gradient(135deg,#713713,#241913);color:white;font-weight:800;box-shadow:0 0 24px #f28a3033;transition:.2s}.ims-landing-cta:hover{background:#a9511b;box-shadow:0 0 30px #f28a3077;transform:translateY(-2px)}.ims-snow{position:absolute;inset:-150px 0 0;pointer-events:none;z-index:-1;background-image:radial-gradient(circle,#fff8 1px,transparent 2px),radial-gradient(circle,#fff5 1px,transparent 2px);background-size:143px 151px,211px 197px;animation:ims-snowfall 18s linear infinite;opacity:.35}.ims-store-page main{padding-top:20px}.ims-store-page .ims-category-grid{margin-top:0}.site-header .ims-nav{gap:8px}.ims-nav-link{padding:13px 15px}@keyframes ims-arrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes ims-snowfall{to{background-position:30px 302px,-20px 394px}}@media(max-width:1200px){.site-header{grid-template-columns:1fr 1fr}.site-header .ims-nav{grid-column:1/-1;grid-row:2;justify-self:stretch;justify-content:center;flex-wrap:wrap}.site-header .ims-account{grid-column:2;grid-row:1}}@media(max-width:760px){.ims-landing{background-position:60% top}.ims-nav-link{padding:9px;gap:5px}}@media(prefers-reduced-motion:reduce){.ims-snow,.ims-landing-copy{animation:none}}

/* v7 */
.ims-landing-cta,.ims-back{font-family:Segoe UI,Arial,sans-serif!important;font-weight:500!important;font-size:16px;letter-spacing:.01em;justify-content:center;align-items:center;gap:10px;text-decoration:none}.ims-landing-cta svg{width:20px;height:20px;flex:none}.ims-snow{inset:0;z-index:1;background:none;animation:none;opacity:1;overflow:hidden;pointer-events:none}.ims-landing-copy{position:relative;z-index:2}.ims-snow i{position:absolute;top:-32px;left:var(--x);width:var(--s);height:var(--s);opacity:var(--o);background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f5faff%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20transform%3D%22rotate%280%2024%2024%29%22%20d%3D%22M24%2024V3%20M24%2011l-5-5%20M24%2011l5-5%20M24%2018l-8-6%20M24%2018l8-6%22%2F%3E%3Cpath%20transform%3D%22rotate%2860%2024%2024%29%22%20d%3D%22M24%2024V3%20M24%2011l-5-5%20M24%2011l5-5%20M24%2018l-8-6%20M24%2018l8-6%22%2F%3E%3Cpath%20transform%3D%22rotate%28120%2024%2024%29%22%20d%3D%22M24%2024V3%20M24%2011l-5-5%20M24%2011l5-5%20M24%2018l-8-6%20M24%2018l8-6%22%2F%3E%3Cpath%20transform%3D%22rotate%28180%2024%2024%29%22%20d%3D%22M24%2024V3%20M24%2011l-5-5%20M24%2011l5-5%20M24%2018l-8-6%20M24%2018l8-6%22%2F%3E%3Cpath%20transform%3D%22rotate%28240%2024%2024%29%22%20d%3D%22M24%2024V3%20M24%2011l-5-5%20M24%2011l5-5%20M24%2018l-8-6%20M24%2018l8-6%22%2F%3E%3Cpath%20transform%3D%22rotate%28300%2024%2024%29%22%20d%3D%22M24%2024V3%20M24%2011l-5-5%20M24%2011l5-5%20M24%2018l-8-6%20M24%2018l8-6%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center/contain no-repeat;animation:ims-crystal var(--d) var(--delay) linear infinite;will-change:transform}.ims-snow i:nth-child(5n){filter:blur(.5px)}@keyframes ims-crystal{0%{transform:translate3d(0,0,0) rotate(0deg)}50%{transform:translate3d(var(--drift),55vh,0) rotate(var(--rot))}100%{transform:translate3d(0,115vh,0) rotate(360deg)}}@media(max-width:760px){.ims-snow i:nth-child(even){display:none}}@media(prefers-reduced-motion:reduce){.ims-snow i{display:none}}
/* v8: living world and live monitoring */
.ims-landing{display:flex;align-items:flex-end;justify-content:center;background-position:center center;min-height:65vh}.ims-landing:before{background:linear-gradient(0deg,#080c11d9,transparent 43%)}.ims-world-fog,.ims-world-smoke,.ims-world-glow{position:absolute;pointer-events:none;z-index:0}.ims-world-fog{inset:35% -30% 0;background:radial-gradient(ellipse at 30% 65%,#a8c3d02b,transparent 45%),radial-gradient(ellipse at 75% 45%,#bacbd321,transparent 38%);filter:blur(25px);animation:ims-fog 24s ease-in-out infinite alternate}.ims-world-smoke{left:69%;top:56%;width:12%;height:18%;background:radial-gradient(ellipse at 50% 90%,#9aa8b52b,transparent 65%);filter:blur(12px);animation:ims-smoke 9s ease-out infinite}.ims-world-glow{right:12%;bottom:22%;width:22%;height:16%;background:radial-gradient(ellipse,#ffad4830,transparent 65%);mix-blend-mode:screen;animation:ims-glow 5s ease-in-out infinite alternate}.ims-monitor{position:relative;z-index:3;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;width:min(1000px,94%);margin:0 auto clamp(20px,5vh,65px)}.ims-monitor article{display:flex;flex-direction:column;gap:8px;min-width:0;padding:20px 24px;border:1px solid #d4e1ed35;border-top:2px solid #e68a46;border-radius:12px;background:linear-gradient(135deg,#1b2635c9,#0b111bd9);backdrop-filter:blur(12px);box-shadow:0 12px 40px #0007;font-family:Segoe UI,Arial,sans-serif}.ims-monitor-label{font-size:13px;color:#bac7d5;letter-spacing:.04em}.ims-monitor strong{font-size:clamp(20px,2.3vw,34px);font-weight:600;color:#f4f7fa;font-variant-numeric:tabular-nums}.ims-monitor small{color:#a7b5c5;font-size:12px}.ims-monitor #ims-status{font-size:clamp(16px,2vw,26px);color:#e9bb83}.ims-monitor #ims-status[data-state=online]{color:#75dfa6}.ims-monitor #ims-status:before{content:'';display:inline-block;width:9px;height:9px;border-radius:50%;background:currentColor;margin-right:10px;box-shadow:0 0 12px currentColor}.ims-monitor progress{width:100%;height:6px;appearance:none;border:0;border-radius:8px;overflow:hidden;background:#ffffff20}.ims-monitor progress::-webkit-progress-bar{background:#ffffff20}.ims-monitor progress::-webkit-progress-value{background:#f59b51}.ims-monitor progress::-moz-progress-bar{background:#f59b51}@keyframes ims-fog{to{transform:translateX(15%) scale(1.1)}}@keyframes ims-smoke{0%{transform:translate(0,20%) scale(.7);opacity:0}35%{opacity:.7}100%{transform:translate(25%,-70%) scale(1.7);opacity:0}}@keyframes ims-glow{to{opacity:.35}}@media(max-width:650px){.ims-monitor{grid-template-columns:1fr;gap:8px;width:90%;margin-bottom:16px}.ims-monitor article{padding:10px 15px;gap:4px}.ims-landing{min-height:70vh}}@media(prefers-reduced-motion:reduce){.ims-world-fog,.ims-world-smoke,.ims-world-glow{animation:none}}

/* V10: independent page styling */
.order-controls{white-space:nowrap;width:130px}.order-controls span{cursor:grab;font-size:25px;color:#f3a15e;padding:0 9px;vertical-align:middle}.order-controls button{padding:5px 9px;margin:2px;background:#202a34;border:1px solid #49535d;color:#fff;border-radius:6px}.order-save{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:20px 0}.order-save span{color:#aeb9c4}
.ims-page-banner{max-width:1180px;margin:24px auto 18px;min-height:180px;display:flex;align-items:center;padding:32px 40px;border:1px solid #3d4249;border-radius:16px;background-color:#10161e;background-size:auto 100%;background-repeat:no-repeat;background-position:right center;box-shadow:0 18px 45px #0005}.ims-roulette-banner{background-image:linear-gradient(90deg,#10161e 38%,transparent),url('/static/immortals/roulette.webp')}.ims-vip-banner{background-image:linear-gradient(90deg,#10161e 38%,transparent),url('/static/immortals/vip.webp')}.ims-page-banner span{font-size:12px;letter-spacing:.24em;color:#f5a263}.ims-page-banner h1{font:700 clamp(30px,4vw,48px)/1.1 'Segoe UI',sans-serif;margin:8px 0;color:#f5f7fa}.ims-page-banner p{margin:0;color:#c0c9d2;font-size:15px}.roulette-page{max-width:1180px;margin:0 auto 36px;padding:24px;border:1px solid #303b46;border-radius:18px;background:#10161e}.roulette-page .roulette-stage{border:1px solid #9a5d32;border-radius:12px;background:linear-gradient(#080c11,#1b242d);box-shadow:inset 0 0 36px #000,0 0 24px #f88b2918}.roulette-page .roulette-card{border-radius:10px}.roulette-page .roulette-spin-button{font-family:'Segoe UI',sans-serif;font-weight:600;background:linear-gradient(135deg,#673415,#281b13);border:1px solid #ed963f;color:#fff;border-radius:10px}.roulette-page .roulette-prizes{background:#0b1118;border:1px solid #303b46;border-radius:14px;padding:20px}.roulette-page .roulette-prize-card{border-radius:10px}.vip-page .vip-page-hero{background:linear-gradient(125deg,#21170f,#101820 60%);border-color:#785031;border-radius:16px}.vip-page .vip-page-art{border-color:#8e6036;border-radius:12px}.vip-page .vip-page-art img{object-fit:contain}.vip-page .vip-page-benefit{background:#141d26;border-color:#36434f;padding:18px}.vip-page .vip-page-buy{border-color:#8e6036;background:#17130f}.vip-page .vip-page-buy button{background:linear-gradient(135deg,#743c18,#342015)!important;border-color:#ef9b50!important;color:#fff!important;font-family:'Segoe UI',sans-serif;font-weight:600!important}.ims-rules{max-width:1180px;margin:24px auto}.ims-rules .info-hero{min-height:0;padding:30px 36px;background:linear-gradient(120deg,#202b36,#111820);border:1px solid #46515c;border-radius:16px}.ims-rules .info-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start}.ims-rules .info-toc{position:sticky;top:110px;background:#111922;border:1px solid #36434f;border-radius:12px;padding:18px}.ims-rules .info-toc input{width:100%;margin-bottom:12px}.ims-rules .info-toc a{border-radius:7px;padding:10px}.ims-rules .info-toc a:hover{background:#392719;color:#ffc28b}.ims-rules .rule-section{background:#131c25;border:1px solid #34414e;border-left:3px solid #d98a49;border-radius:12px;padding:24px;scroll-margin-top:110px}.ims-rules .editable-section-text{line-height:1.8;color:#d4dce4}.ims-rules [hidden]{display:none!important}@media(max-width:760px){.ims-rules .info-layout{grid-template-columns:1fr}.ims-rules .info-toc{position:static}.ims-page-banner{padding:22px;min-height:150px}.roulette-page{padding:12px}.ims-rules .rule-section{padding:16px}}

/* IMMORTALS community */
.ims-landing{flex-direction:column;align-items:center;justify-content:flex-end;gap:22px}.ims-community{position:relative;z-index:3;width:min(1240px,94%);display:flex;justify-content:space-between;gap:24px;margin:30px auto auto;padding-top:20px}.ims-community-panel{width:min(420px,47%);box-sizing:border-box;padding:20px;border:1px solid #c7834c70;border-top:2px solid #e68a46;border-radius:12px;background:linear-gradient(135deg,#18232ddd,#0b111be8);backdrop-filter:blur(12px);box-shadow:0 12px 40px #0007;align-self:flex-start}.ims-community-panel h2{font-size:20px;margin:0 0 14px;color:#f3e0cc}.ims-community-panel h2 small{float:right;color:#ffad64;font-size:12px}.ims-community-panel>div{max-height:320px;overflow:auto;overflow-wrap:anywhere}.ims-news-item{padding:12px 0;border-top:1px solid #ffffff20}.ims-news-item h3{margin:6px 0;font-size:16px}.ims-news-item small,.ims-leader-head{color:#bdc8d3;font-size:12px}.ims-news-item p{white-space:pre-wrap;font-size:14px;line-height:1.5;margin:8px 0}.ims-news-item img{width:100%;max-height:160px;object-fit:contain;border-radius:8px}.ims-leader{display:flex;align-items:center;gap:8px;padding:10px 4px;border-bottom:1px solid #ffffff18;font-size:13px}.ims-leader img,.ims-avatar-placeholder{width:32px;height:32px;border-radius:7px;object-fit:cover}.ims-leader-name{flex:1;min-width:0;overflow-wrap:anywhere}.ims-leader strong{white-space:nowrap}.rank-1 b{color:#ffd166}.rank-2 b{color:#d0d8e2}.rank-3 b{color:#d69b68}.ims-news-editor{display:grid;gap:12px;padding:18px;margin:14px 0}.ims-news-editor label{display:grid;gap:6px}.ims-news-editor input[type=checkbox]{width:auto;justify-self:start}.ims-news-editor textarea{width:100%;box-sizing:border-box}@media(max-width:760px){.ims-community{flex-direction:column;gap:12px}.ims-community-panel{width:100%}.ims-community-panel>div{max-height:260px}.ims-landing{overflow:visible}}

/* V14 centered community */
@media(min-width:761px){.ims-community{width:min(750px,48vw);justify-content:center;gap:14px;margin:24px auto auto;padding-top:8px}.ims-community-panel{width:calc(50% - 7px);padding:15px}.ims-community-panel>div{max-height:300px}.ims-leader{gap:6px;padding:8px 0;font-size:12px}.ims-leader img,.ims-avatar-placeholder{width:27px;height:27px;flex-shrink:0}.ims-leader-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
.ims-avatar-placeholder{display:grid;place-items:center;background:#34404d;color:#cbd5df;font-size:15px}
