/* =====================================================================
   Layout themes (leaderOS-style) — structure only; every colour is a site
   palette variable, so all themes stay blue & white.
   ===================================================================== */

/* ---------------- header banner (IP · logo · Discord) ---------------- */
.hbanner { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: #fff; padding: 34px 0; }
.hbanner .hero-bg .aurora { opacity: .6; }
.hbanner .hero-bg .img { opacity: .45; }
.hb-row { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.hb-logo { justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 10px; color: #fff; }
.hb-logo img { width: 110px; height: 110px; object-fit: contain; filter: drop-shadow(0 16px 30px rgba(0,0,0,.45)); animation: float 7s ease-in-out infinite; transition: transform .5s var(--ease); }
.hb-logo:hover img { transform: scale(1.06) rotate(-4deg); }
.hb-chip { justify-self: start; display: inline-flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16); color: #fff; text-align: left; backdrop-filter: blur(8px); transition: transform .3s var(--ease), background .2s; }
.hb-chip:hover { transform: translateY(-2px); background: rgba(255,255,255,.15); color: #fff; }
.hb-chip.right { justify-self: end; text-align: right; }
.hb-chip small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.hb-chip b { font-size: 14.5px; }
.hb-ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--primary); color: #fff; flex: none; }
.hb-ic.discord { background: #5865F2; }
.hb-ic svg { width: 22px; height: 22px; }
.hb-ip { font-size: 20px; font-weight: 700; color: var(--accent); cursor: pointer; letter-spacing: .03em; }
.hbanner.light { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 32%, #fff), var(--bg)); color: var(--deep); }
.hbanner.light .hero-bg { display: none; }
.hbanner.light .hb-chip { background: #fff; border-color: var(--line); color: var(--deep); box-shadow: var(--shadow-sm); }
.hbanner.light .hb-chip.right { background: #5865F2; color: #fff; border-color: transparent; }
.hbanner.light .hb-chip.right small { color: rgba(255,255,255,.8); }
.hbanner.light .hb-logo img { filter: drop-shadow(0 16px 30px color-mix(in srgb, var(--primary) 45%, transparent)); }
.hbanner.wave { padding-bottom: 76px; }
.hbanner.wave::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 64px; background: var(--bg); clip-path: ellipse(72% 100% at 50% 100%); z-index: 1; }
.hbanner.cards { padding: 40px 0 54px; }
.hbanner.logo .hb-row { grid-template-columns: 1fr; }
.hbanner.logo .hb-logo img { width: 150px; height: 150px; }
.hbanner.iptop .hb-logo { gap: 16px; }
.hbanner.title { padding: 78px 0 0; overflow: visible; margin-bottom: 70px; }
.hb-title { position: absolute; left: 0; right: 0; top: 10px; text-align: center; font-family: var(--font-display); font-size: clamp(40px, 7vw, 92px); color: rgba(255,255,255,.1); letter-spacing: .08em; }
.hbanner.title .hb-row { align-items: end; }
.hbanner.title .hb-logo { margin-bottom: -70px; position: relative; z-index: 3; }
.hbanner.title .hb-logo img { width: 140px; height: 140px; background: #fff; border-radius: 50%; padding: 18px; box-shadow: var(--shadow-lg); }
.hbanner.title .hb-chip { margin-bottom: 18px; }
@media (max-width: 760px) {
  .hb-chip { display: none; }
  .hb-row { grid-template-columns: 1fr; }
  .hbanner { padding: 22px 0; }
  .hb-logo img { width: 80px !important; height: 80px !important; }
}

/* ---------------- nav variants ---------------- */
.nav.nav-deep { background: var(--deep); border-bottom-color: transparent; }
.nav.nav-deep.scrolled { background: color-mix(in srgb, var(--deep) 94%, transparent); }
.nav-deep .brand, .nav-deep .brand-name { color: #fff; }
.nav-deep .nav-link { color: rgba(255,255,255,.72); }
.nav-deep .nav-link:hover, .nav-deep .nav-link.active { color: #fff; }
.nav-deep .nav-ind { background: rgba(255,255,255,.12); }
.nav-deep .status-chip, .nav-deep .icon-btn, .nav-deep .user-btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; }
.nav-deep .status-chip .muted { color: rgba(255,255,255,.6); }
.nav-deep .count-badge { border-color: var(--deep); }
.nav-deep .nav-link.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -14px; height: 3px; border-radius: 3px; background: var(--primary); }
.nav-upper .nav-link { text-transform: uppercase; letter-spacing: .04em; font-size: 12.5px; font-weight: 700; white-space: nowrap; padding-left: 11px; padding-right: 11px; }
.nav .nav-link { white-space: nowrap; }
.nav-center .brand { display: none; }
.nav-center .nav-links { margin: 0 auto; }
.nav.nav-pill { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; box-shadow: none; height: auto; padding: 12px 0; }
.nav.nav-pill.scrolled { background: transparent; box-shadow: none; }
.nav.nav-pill > .container { height: 66px; max-width: calc(var(--container) - 44px); padding: 0 12px 0 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.nav.nav-pill.nav-deep > .container { background: var(--deep); border-color: transparent; }
.nav.nav-pill .nav-link.active { color: #fff; }
.nav.nav-pill .nav-link.active ~ .nav-ind, .nav.nav-pill .nav-ind { background: var(--primary); }
.nav-pill .nav-link.active { z-index: 2; }
.hbanner.wave + .nav-pill, .hbanner.cards + .nav-pill { margin-top: -46px; position: sticky; z-index: 50; }
.nav-burger .nav-links { display: none !important; }
.nav-burger .burger { display: grid !important; }
@media (max-width: 1020px) { .nav-deep .nav-link.active::after { display: none; } }

/* ---------------- footer variants ---------------- */
.footer-deep, .footer-wave { background: var(--deep); border-top: 0; color: rgba(255,255,255,.7); }
.footer-deep h4, .footer-wave h4, .footer-deep .brand-name, .footer-wave .brand-name, .footer-deep .brand, .footer-wave .brand { color: #fff; }
.footer-deep ul a, .footer-wave ul a, .footer-deep .about, .footer-wave .about { color: rgba(255,255,255,.65); }
.footer-deep ul a:hover, .footer-wave ul a:hover { color: #fff; }
.footer-deep .footer-bottom, .footer-wave .footer-bottom { border-top-color: rgba(255,255,255,.12); color: rgba(255,255,255,.5); }
.footer-deep .btn-soft, .footer-wave .btn-soft { --b-bg: rgba(255,255,255,.1); --b-fg: #fff; --b-bd: rgba(255,255,255,.16); }
.footer-wave { position: relative; margin-top: clamp(80px, 9vw, 120px); }
.footer-wave-svg, .footer-wave > .footer-wave { display: none; }
.footer-wave svg.footer-wave { display: block; position: absolute; left: 0; right: 0; top: -69px; width: 100%; height: 70px; fill: var(--deep); }
.footer-card { background: transparent; border: 0; }
.footer-card .fc { max-width: 760px; margin: 0 auto 30px; padding: 30px; border-radius: 24px; text-align: center; color: rgba(255,255,255,.75);
  background: linear-gradient(140deg, var(--primary), var(--deep)); display: flex; flex-direction: column; align-items: center; gap: 16px; box-shadow: var(--shadow-lg); }
.footer-card .brand, .footer-card .brand-name { color: #fff; }
.footer-card .btn-ghost { --b-fg: rgba(255,255,255,.8); }
.footer-card .btn-ghost:hover { --b-fg: #fff; background: rgba(255,255,255,.12); }
.footer-card p { margin: 0; font-size: 14px; }
.fc-copy { font-size: 13px; opacity: .7; display: inline-flex; align-items: center; gap: 6px; }

/* ---------------- shared home bits ---------------- */
.eyebrow.glassy { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.2); backdrop-filter: blur(6px); }
.eyebrow svg { width: 15px; height: 15px; }

/* Gale hero + join bar */
.g-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--deep); padding: clamp(56px, 8vw, 110px) 0 clamp(120px, 12vw, 150px); }
.g-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; z-index: 0; background: var(--bg); clip-path: ellipse(75% 100% at 50% 100%); }
.g-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.g-hero .display, .hero-center .display, .hero-card .display, .hero-wave .display, .hero-logo .display { color: #fff; }
.g-hero .display { font-size: clamp(42px, 6.2vw, 88px); text-wrap: balance; }
.hl { color: var(--accent); }
.g-hero .lead, .hero-center .lead, .hero-card .lead, .hero-wave .lead { color: rgba(255,255,255,.8); margin-top: 18px; }
.g-logo { position: relative; justify-self: center; width: min(360px, 80%); aspect-ratio: 1; display: grid; place-items: center; }
.g-logo::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 45%, transparent), transparent); animation: float 7s ease-in-out infinite; }
.g-logo::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(255,255,255,.22); animation: spin 40s linear infinite; }
.g-logo img { position: relative; width: 62%; height: 62%; object-fit: contain; filter: drop-shadow(0 26px 40px rgba(0,0,0,.45)); animation: float 6s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .g-grid { grid-template-columns: 1fr; } .g-logo { display: none; } }
.join { position: relative; z-index: 5; margin-top: -84px; }
.join-card { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 22px 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.join-card .t { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); color: var(--deep); line-height: 1; }
.join-card .s { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.join-online { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: 6px; font-weight: 600; }
.join-online b { color: var(--deep); }

/* Lester centered hero */
.hero-center { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: #fff; text-align: center; padding: clamp(90px, 13vw, 170px) 0 clamp(80px, 11vw, 140px); }
.hero-center .display { font-size: clamp(42px, 6.4vw, 90px); max-width: 900px; margin: 18px auto 0; text-wrap: balance; }
.hero-center .lead { margin: 16px auto 0; }
.hc-stats { display: flex; justify-content: center; gap: clamp(26px, 5vw, 60px); margin: 34px 0 30px; }
.hc-stat b { display: block; font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 44px); color: var(--accent); line-height: 1; }
.hc-stat span { font-size: 13.5px; color: rgba(255,255,255,.65); font-weight: 600; }

/* Hyterra boxed hero */
.hero-boxed { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 30px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 26px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-boxed .display { font-size: clamp(38px, 5vw, 68px); margin-top: 16px; }
.hero-boxed .display .hl { color: var(--primary); }
.hero-boxed .lead { margin-top: 14px; }
.hb-stats { display: flex; gap: 38px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.hb-stats b { display: block; font-family: var(--font-display); font-size: 28px; color: var(--deep); line-height: 1; }
.hb-stats span { font-size: 12.5px; font-weight: 700; color: var(--soft); text-transform: uppercase; letter-spacing: .05em; }
.hb-art { position: relative; display: grid; place-items: center; min-height: 260px; }
.hb-art::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--tint-2), transparent); }
.hb-art img { position: relative; width: 60%; max-width: 240px; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 20px 30px color-mix(in srgb, var(--primary) 35%, transparent)); }
.hb-badge { position: absolute; top: 10%; right: 4%; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--deep); animation: float 8s ease-in-out infinite reverse; }
.hb-badge svg { width: 22px; height: 22px; color: var(--primary); }
.hb-badge small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 700; }
@media (max-width: 860px) { .hero-boxed { grid-template-columns: 1fr; } .hb-art { display: none; } }
.blog-head { text-align: center; padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.blog-head > svg { width: 28px; height: 28px; color: var(--primary); }

/* Lord / Valley / Venus / Pop logo hero */
.hero-logo { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: #fff; text-align: center; min-height: min(760px, calc(100vh - var(--nav-h))); display: flex; align-items: center; }
.hero-logo .container { display: flex; flex-direction: column; align-items: center; }
.hl-img { width: clamp(150px, 20vw, 240px); height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.5)); animation: float 7s ease-in-out infinite; }
.hl-name { font-family: var(--font-display); font-size: clamp(36px, 5vw, 64px); margin-top: 18px; letter-spacing: .03em; }
.hl-ip { margin-top: 18px; font-size: 16px; }
.hl-chips { width: 100%; display: flex; justify-content: space-between; margin-top: 60px; }
.hero-logo .scroll-cue { position: relative; left: auto; bottom: auto; translate: none; margin-top: 50px; }
.hero-logo.venus .hl-name { font-size: clamp(56px, 9vw, 120px); line-height: .9; }
.hero-logo.pop .hl-img { width: clamp(180px, 24vw, 300px); }
.hero-logo.pop .btn { border: 3px solid var(--deep); box-shadow: 0 6px 0 var(--deep); border-radius: 14px; }
.hero-logo.pop .btn:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--deep); }

/* Abyss card hero */
.hero-card { position: relative; isolation: isolate; overflow: hidden; border-radius: 26px; background: var(--deep); color: #fff; box-shadow: var(--shadow-lg); }
.hcard-in { position: relative; padding: clamp(28px, 4vw, 50px); max-width: 640px; }
.hero-card .display { font-size: clamp(34px, 4.4vw, 58px); margin-top: 14px; }
.hcard-stats { display: flex; gap: 22px; margin-top: 24px; font-size: 14px; color: rgba(255,255,255,.75); flex-wrap: wrap; }
.hcard-stats b { color: #fff; }
.hcard-stats .live-dot { display: inline-block; }

/* Callisto wave hero */
.hero-wave { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: #fff; padding: clamp(60px, 8vw, 100px) 0 clamp(120px, 12vw, 160px); }
.hero-wave::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: -60px; height: 160px; background: var(--bg); border-radius: 50% 50% 0 0 / 100% 100% 0 0; transform: rotate(-3deg); }
.hw-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hw-title { font-size: clamp(36px, 4.8vw, 64px); text-transform: uppercase; }
.hw-dashed { border-style: dashed !important; border-width: 2px !important; letter-spacing: .08em; }
.hw-dashed.dark { --b-fg: var(--primary); --b-bd: var(--primary); --b-bg: transparent; }
.hw-news { overflow: hidden; }
.hw-news .thumb, .news-tile .thumb, .news-dated .thumb, .promo-img .pi-art { display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--primary), var(--deep)); }
.hw-news .thumb { height: 170px; }
.hw-news .thumb svg { width: 56px; height: 56px; }
@media (max-width: 860px) { .hw-grid { grid-template-columns: 1fr; } }
.who { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 50px; align-items: center; }
.who-art { position: relative; aspect-ratio: 4/3; display: grid; place-items: center; border-radius: 18px; transform: rotate(-4deg); border: 6px solid var(--primary);
  background: linear-gradient(140deg, var(--tint-2), var(--surface)); box-shadow: var(--shadow-lg); }
.who-art img { width: 44%; animation: float 7s ease-in-out infinite; }
.who-title { color: var(--primary); }
@media (max-width: 860px) { .who { grid-template-columns: 1fr; } }

/* crumb */
.crumb-card { display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-size: 14px; color: var(--muted); font-weight: 600; }
.crumb-card a { display: inline-flex; align-items: center; gap: 8px; color: var(--deep); }
.crumb-card svg { width: 16px; height: 16px; }
[data-layout="cloud"] .crumb-card { background: linear-gradient(90deg, var(--primary), var(--accent)); color: #fff; border: 0; }
[data-layout="cloud"] .crumb-card a { color: #fff; }

/* store intro / about */
.store-intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 30px; align-items: center; padding: clamp(26px, 4vw, 46px); }
.si-art { display: grid; place-items: center; aspect-ratio: 1; max-width: 260px; justify-self: center; width: 100%; border-radius: 30px; color: #fff; background: linear-gradient(140deg, var(--primary), var(--deep)); transform: rotate(6deg); box-shadow: var(--shadow-lg); }
.si-art svg { width: 44%; height: 44%; transform: rotate(-6deg); }
@media (max-width: 760px) { .store-intro { grid-template-columns: 1fr; } .si-art { display: none; } }
.ab-stats { display: flex; justify-content: center; gap: 60px; margin-top: 34px; text-align: center; }
.ab-stat b { display: block; font-family: var(--font-display); font-size: 40px; color: var(--primary); line-height: 1; }
.ab-stat span { font-size: 13.5px; font-weight: 600; color: var(--muted); }

/* promo */
.promo { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: clamp(22px, 3vw, 32px); border: 0; color: #fff; background: linear-gradient(120deg, var(--primary), var(--accent)); }
.pr-in { flex: 1; min-width: 240px; }
.pr-clock { display: flex; gap: 8px; }
.pr-clock span { min-width: 58px; padding: 8px 6px; border-radius: 12px; background: rgba(255,255,255,.16); text-align: center; }
.pr-clock b { display: block; font-family: var(--font-display); font-size: 26px; line-height: 1; }
.pr-clock small { font-size: 10.5px; font-weight: 700; opacity: .8; }
.promo-img { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); overflow: hidden; }
.promo-img .pi-art { min-height: 200px; }
.promo-img .pi-art svg { width: 70px; height: 70px; }
@media (max-width: 700px) { .promo-img { grid-template-columns: 1fr; } }

/* quick link cards */
.quick { display: flex; align-items: center; gap: 14px; padding: 18px; color: inherit; }
.quick:hover { color: inherit; }
.quick b { display: block; color: var(--deep); font-size: 15.5px; }
.quick span { font-size: 13.5px; color: var(--muted); }
.quick > svg:last-child { width: 18px; height: 18px; color: var(--soft); transition: transform .3s var(--ease); }
.quick:hover > svg:last-child { transform: translateX(4px); color: var(--primary); }
.quick.dc { background: #5865F2; border-color: transparent; }
.quick.dc b, .quick.dc span, .quick.dc > svg:last-child { color: #fff; }
.quick.dc .icon-tile { background: rgba(255,255,255,.16); color: #fff; }
.quick.big { padding: 22px; }
.quick.big .icon-tile { width: 64px; height: 64px; border-radius: 18px; }

/* welcome rows */
.wl-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 30px; overflow: hidden; }
.wl-art { width: 140px; height: 100px; display: grid; place-items: center; border-radius: 18px; color: var(--primary); background: var(--tint); transform: skewX(-12deg); }
.wl-art svg { width: 44px; height: 44px; transform: skewX(12deg); }
.welcome-row { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 18px; }
.wl-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; }
.wl-store { display: flex; flex-direction: column; justify-content: center; padding: 18px 22px; color: #fff; border: 0; background: linear-gradient(140deg, var(--primary), var(--deep)); box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.wl-store:hover { color: #fff; transform: translateY(-3px); }
.wl-store b { font-size: 30px; }
.wl-store span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; opacity: .85; }
.wl-play { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 22px; color: var(--deep); cursor: pointer; transition: transform .3s var(--ease); }
.wl-play:hover { transform: translateY(-3px); color: var(--primary); }
.wl-play svg { width: 26px; height: 26px; }
@media (max-width: 760px) { .welcome-row { grid-template-columns: 1fr; } }

/* info chips */
.info-chip { display: flex; align-items: center; gap: 14px; padding: 14px; text-align: left; color: inherit; position: relative; overflow: hidden; }
.info-chip:hover { color: inherit; }
.info-chip::after { content: ""; position: absolute; left: 16px; bottom: 0; width: 40px; height: 3px; border-radius: 3px; background: var(--primary); }
.info-chip .thumb { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--primary); flex: none; }
.info-chip .thumb.dc { background: #5865F2; color: #fff; }
.info-chip .thumb svg { width: 24px; height: 24px; }
.info-chip b { display: block; color: var(--deep); font-size: 14.5px; }
.info-chip span { font-size: 13px; color: var(--muted); }

/* ---------------- news ---------------- */
.home-cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; align-items: start; }
.home-cols.no-side { grid-template-columns: minmax(0, 1fr); }
.home-cols.side-left { grid-template-columns: 360px minmax(0, 1fr); }
@media (max-width: 1040px) { .home-cols, .home-cols.side-left { grid-template-columns: minmax(0, 1fr); } }
.col-title { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; }
.col-title h2 { font-size: 26px; }
.news-row { display: grid; grid-template-columns: 250px minmax(0, 1fr); overflow: hidden; }
.news-row + .news-row { margin-top: 16px; }
.news-row .thumb { position: relative; min-height: 180px; display: grid; place-items: center; color: #fff; overflow: hidden; background: linear-gradient(140deg, var(--primary), var(--deep)); }
.news-row.rowbig { grid-template-columns: 330px minmax(0, 1fr); }
.news-row.rowbig .thumb { min-height: 230px; }
.news-row.warning .thumb, .news-tile.warning .thumb, .news-dated.warning .thumb { background: linear-gradient(140deg, #D97706, #7C2D12); }
.news-row.danger .thumb, .news-tile.danger .thumb, .news-dated.danger .thumb { background: linear-gradient(140deg, #DC2626, #7F1D1D); }
.news-row.success .thumb, .news-tile.success .thumb, .news-dated.success .thumb { background: linear-gradient(140deg, #16A34A, #064E3B); }
.news-row .thumb svg, .news-tile .thumb svg, .news-dated .thumb svg { width: 54px; height: 54px; opacity: .9; transition: transform .6s var(--ease); }
.news-row:hover .thumb svg, .news-tile:hover .thumb svg, .news-dated:hover .thumb svg { transform: scale(1.12) rotate(-8deg); }
.news-row .thumb::after, .news-tile .thumb::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 30% 20%, rgba(255,255,255,.25), transparent); }
.news-row .body { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.news-row .body p, .news-tile .body p, .news-dated p { margin: 0; color: var(--muted); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 620px) { .news-row, .news-row.rowbig { grid-template-columns: 1fr; } .news-row .thumb { min-height: 110px; } }
.news-grid.cols-1 { grid-template-columns: 1fr; }
.news-grid.cols-2 { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.news-grid.cols-3 { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.news-tile { display: flex; flex-direction: column; overflow: hidden; }
.news-tile .thumb { position: relative; height: 170px; }
.news-tile.vertical .thumb { height: 230px; }
.news-tile .thumb .badge { position: absolute; top: 12px; left: 12px; z-index: 1; }
.news-tile .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nt-more { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.nt-more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.news-tile:hover .nt-more svg { transform: translateX(4px); }
.news-dated { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.news-dated .thumb { height: 150px; border-radius: 12px; }
.date-badge { width: 52px; flex: none; padding: 6px 0; border-radius: 12px; text-align: center; background: var(--deep); color: #fff; }
.date-badge b { display: block; font-family: var(--font-display); font-size: 22px; line-height: 1; }
.date-badge span { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--accent); }

/* ---------------- sidebar widgets ---------------- */
.widget { overflow: hidden; }
.widget + .widget, .home-side > * + * { margin-top: 18px; }
.w-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--deep); }
.w-head .i { color: var(--primary); width: 18px; height: 18px; }
.w-head .right { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.top1 { display: flex; align-items: center; gap: 14px; padding: 18px; background: linear-gradient(135deg, color-mix(in srgb, #F5B301 14%, #fff), var(--surface)); border-bottom: 1px solid var(--line); }
.top1 .medal { position: relative; width: 58px; height: 58px; flex: none; display: grid; place-items: center; border-radius: 18px; color: #fff; font-family: var(--font-display); font-size: 26px; background: linear-gradient(140deg, #FBBF24, #D97706); box-shadow: 0 12px 24px -12px #D97706; }
.top1 .medal .i { position: absolute; top: -12px; right: -10px; width: 24px; height: 24px; color: #F59E0B; }
.top1 .amt { font-family: var(--font-display); font-size: 22px; color: var(--primary); }
.rank-row { display: flex; align-items: center; gap: 12px; padding: 11px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.rank-row:last-child { border-bottom: 0; }
.rank-row .n { width: 22px; text-align: center; font-family: var(--font-display); font-size: 18px; color: var(--soft); }
.rank-row .n.s2 { color: #94A3B8; } .rank-row .n.s3 { color: #B45309; }
.buy-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.buy-table th { text-align: left; padding: 10px 18px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); border-bottom: 1px solid var(--line); }
.buy-table td { padding: 11px 18px; border-bottom: 1px solid var(--line); }
.buy-table tr { animation: rise .5s var(--ease) both; }
.last-pay { position: relative; overflow: hidden; isolation: isolate; padding: 20px; color: #fff; border: 0; background: var(--deep); }
.last-pay::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 80% at 100% 0%, color-mix(in srgb, var(--primary) 70%, transparent), transparent); }
.last-pay .big { font-family: var(--font-display); font-size: 40px; line-height: 1; color: #fff; margin: 8px 0 6px; }
.last-pay .lbl { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.6); }
/* latest payment on top, earlier ones as a list below */
.last-pay { padding: 0; }
.lp-top { padding: 20px 20px 16px; }
.lp-who { display: flex; align-items: center; gap: 10px; }
.lp-who .avatar, .lp-row .avatar { background: rgba(255,255,255,.14); color: #fff; flex: none; }
.lp-who b { display: block; font-size: 15px; }
.lp-who div span { display: block; font-size: 13px; opacity: .75; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-list { border-top: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.14); padding: 6px 0 8px; }
.lp-sub { padding: 8px 20px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.lp-row { display: flex; align-items: center; gap: 10px; padding: 8px 20px; animation: rise .5s var(--ease) both; transition: background .2s; }
.lp-row:hover { background: rgba(255,255,255,.06); }
.lp-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lp-main b { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-main span { font-size: 12.5px; opacity: .7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-right { display: flex; flex-direction: column; align-items: flex-end; flex: none; }
.lp-right b { color: var(--accent); font-size: 13.5px; }
.lp-right small { font-size: 11.5px; opacity: .6; }
.pulse > .last-pay { justify-content: flex-start; }
.newbies { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 18px; }
.newbie { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--deep); }
.newbie small { color: var(--soft); font-weight: 600; }
.dc-widget { display: flex; flex-direction: column; gap: 14px; padding: 20px; color: #fff; border: 0; background: linear-gradient(140deg, #5865F2, #3C45A5); }
.dc-widget:hover { color: #fff; }
.dc-widget > .row > svg { width: 34px; height: 34px; }
.dc-count b { font-family: var(--font-display); font-size: 34px; line-height: 1; margin-right: 8px; }
.dc-count span { opacity: .8; font-size: 14px; }
.dc-widget .btn { align-self: flex-start; }
.featured-w { display: block; color: inherit; border: 0; background: linear-gradient(180deg, var(--accent), var(--primary)); text-align: center; }
.featured-w:hover { color: inherit; }
.fw-top { padding: 12px; font-weight: 800; letter-spacing: .12em; font-size: 13px; color: #fff; }
.fw-art { height: 170px; display: grid; place-items: center; color: #fff; background: radial-gradient(closest-side, rgba(255,255,255,.35), transparent); }
.fw-art svg { width: 80px; height: 80px; animation: float 6s ease-in-out infinite; }
.fw-art img { max-height: 160px; object-fit: contain; }
.fw-foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: rgba(6,37,63,.25); color: #fff; font-weight: 700; }
/* sidebar stays in view while the (longer) news column scrolls */
.home-side { position: sticky; top: calc(var(--nav-h) + 18px); }
@media (max-width: 1040px) { .home-side { position: static; } }
.home-main { min-width: 0; }
.quick-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.quick-links .quick { padding: 16px; }
.quick-links .quick span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quick-links .quick .icon-tile { transition: background .3s, color .3s, transform .4s var(--ease); }
.quick-links .quick:hover .icon-tile { background: var(--primary); color: #fff; transform: rotate(-6deg); }
@media (max-width: 520px) { .quick-links { grid-template-columns: 1fr; } }

/* compact feed rows (recent top-ups / new members) */
.feed { display: flex; flex-direction: column; }
.feed-list { flex: 1; }
.feed-row { display: flex; align-items: center; gap: 12px; padding: 11px 18px; border-bottom: 1px solid var(--line); animation: rise .5s var(--ease) both; transition: background .2s; }
.feed-row:last-child { border-bottom: 0; }
.feed-row:hover { background: var(--surface-2); }
.fr-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fr-main b { color: var(--deep); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fr-main span { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fr-right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: none; }
.fr-right b { color: var(--primary); font-size: 14px; }
.fr-right small { color: var(--soft); font-size: 12px; font-weight: 600; }
.w-foot { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px; border: 0; border-top: 1px solid var(--line); background: var(--surface-2);
  font: inherit; font-size: 13.5px; font-weight: 700; color: var(--primary); cursor: pointer; transition: background .2s, color .2s; margin-top: auto; }
.w-foot:hover { background: var(--primary); color: #fff; }
.w-foot svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.w-foot:hover svg { transform: translateX(3px); }

/* "Topluluk nabzı": equal-height cards in one row */
.pulse { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.pulse > .widget { margin: 0 !important; display: flex; flex-direction: column; }
.pulse > .last-pay { justify-content: center; }
@media (max-width: 960px) { .pulse { grid-template-columns: 1fr; } }
.showcase-row { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); align-items: start; }
.showcase-row .widget + .widget { margin-top: 0; }
.tabbed { padding: 22px; }
.ts-panel .widget { box-shadow: none; }

/* recruits / stats band */
.recruits { grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); }
.recruit { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 14px; text-align: center; }
.recruit b { color: var(--deep); }
.stats-band { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 0; overflow: hidden; }
.sb-ip { display: flex; align-items: center; gap: 14px; padding: 20px 24px; border: 0; color: #fff; text-align: left; background: linear-gradient(120deg, var(--primary), var(--accent)); flex: 1 1 100%; }
.sb-ip img { width: 44px; height: 44px; }
.sb-ip small { display: block; opacity: .85; font-size: 13px; }
.sb-ip b { font-size: 20px; }
.sb-ip > svg { margin-left: auto; width: 22px; height: 22px; }
.sb-nums { display: grid; grid-template-columns: repeat(3, 1fr); flex: 1; }
.sb-nums > div { padding: 24px; text-align: center; border-right: 1px solid var(--line); }
.sb-nums > div:last-child { border-right: 0; }
.sb-nums b { display: block; font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 42px); color: var(--deep); line-height: 1; }
.sb-nums span { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }

/* faq / discord variants / strip */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-big { font-size: clamp(60px, 9vw, 110px); color: var(--primary); }
.dc-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; align-items: center; }
.dc-art { display: grid; place-items: center; aspect-ratio: 1.2; border-radius: 30px; color: #fff; background: linear-gradient(140deg, #5865F2, var(--deep)); box-shadow: var(--shadow-lg); }
.dc-art svg { width: 38%; height: 38%; animation: float 6s ease-in-out infinite; }
@media (max-width: 760px) { .dc-split { grid-template-columns: 1fr; } }
.join-band { grid-template-columns: minmax(0, 1fr) auto; }
.recent-strip { margin-top: clamp(30px, 5vw, 50px); background: linear-gradient(90deg, var(--primary), var(--deep)); color: #fff; }
.recent-strip .container { display: flex; align-items: center; gap: 24px; padding-top: 26px; padding-bottom: 26px; flex-wrap: wrap; }
.rs-left span { display: block; opacity: .8; font-size: 14px; margin-top: 4px; }
.rs-users { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------------- theme-specific details ---------------- */
[data-layout="pop"] .card { border-width: 2px; border-color: color-mix(in srgb, var(--deep) 16%, transparent); }
[data-layout="pop"] .card-hover:hover { box-shadow: 0 8px 0 color-mix(in srgb, var(--deep) 18%, transparent); }
[data-layout="lord"] .display, [data-layout="valley"] .display { text-transform: uppercase; letter-spacing: .03em; }
[data-layout="cloud"] .news-tile { border-left: 4px solid var(--primary); }
[data-layout="cloud"] .news-tile .body { text-align: center; }
[data-layout="uranus"] .news-tile .body h3 { color: var(--primary); }
[data-layout="callisto"] .col-title h2::before, [data-layout="mercury"] .col-title h2::before { content: ""; display: inline-block; width: 28px; height: 5px; margin-right: 10px; border-radius: 3px; vertical-align: middle; background: linear-gradient(90deg, var(--primary), var(--accent)); }

/* =====================================================================
   Store (Gale layout) — landing hero, category cards, comparison, grid
   ===================================================================== */
.store-page { padding: 0 0 clamp(60px, 8vw, 100px); min-height: 60vh; }
.st-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: clamp(40px, 6vw, 80px) 0 clamp(30px, 4vw, 50px); }
.st-eyebrow { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }
.st-hero .display { font-size: clamp(38px, 5vw, 64px); color: var(--deep); text-wrap: balance; }
.st-hero .lead { margin-top: 16px; max-width: 580px; }
.st-hero-art { position: relative; height: 300px; }
.st-hero-art .bar { position: absolute; border-radius: 999px; background: var(--primary); opacity: .9; animation: stBar 6s ease-in-out infinite; }
.st-hero-art .b1 { width: 62%; height: 46px; top: 10%; right: 0; }
.st-hero-art .b2 { width: 44%; height: 46px; top: 32%; right: 12%; background: var(--accent); animation-delay: -1.5s; }
.st-hero-art .b3 { width: 70%; height: 46px; top: 54%; right: 4%; background: var(--primary-dark); animation-delay: -3s; }
.st-hero-art .b4 { width: 36%; height: 46px; top: 76%; right: 24%; background: var(--tint-2); opacity: 1; animation-delay: -4.5s; }
@keyframes stBar { 50% { transform: translateX(-14px); } }
.st-bag { position: absolute; left: 12%; top: 50%; translate: 0 -50%; width: 170px; height: 170px; display: grid; place-items: center; border-radius: 36px; color: #fff;
  background: linear-gradient(140deg, var(--primary), var(--deep)); box-shadow: var(--shadow-lg); transform: rotate(-8deg); animation: float 7s ease-in-out infinite; }
.st-bag svg { width: 80px; height: 80px; }
.st-logo { position: absolute; left: 4%; bottom: 4%; width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 12px 20px rgba(6,37,63,.35)); animation: float 5s ease-in-out infinite reverse; }
@media (max-width: 860px) { .st-hero { grid-template-columns: 1fr; } .st-hero-art { display: none; } }
.st-h2 { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 34px); color: var(--deep); font-weight: 400; margin: 10px 0 20px; line-height: 1.1; }

.st-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) { .st-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .st-cats { grid-template-columns: 1fr; } }
.st-cat { display: flex; flex-direction: column; height: 284px; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: inherit;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.st-cat:hover { color: inherit; transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--primary) 35%, var(--line)); }
.st-cat-img { position: relative; flex: 1; min-height: 0; overflow: hidden; display: grid; place-items: center; background: linear-gradient(140deg, var(--primary), var(--deep)); }
.st-cat-img::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 30% 20%, rgba(255,255,255,.28), transparent), repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 16px); }
.st-cat-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.st-cat:hover .st-cat-img img { transform: scale(1.07); }
.art-fallback { position: relative; display: grid; place-items: center; color: #fff; }
.art-fallback svg { width: 76px; height: 76px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.3)); transition: transform .6s var(--ease); }
.st-cat:hover .art-fallback svg, .st-prod:hover .art-fallback svg { transform: scale(1.12) rotate(-8deg); }
.st-cat-n { position: absolute; top: 14px; left: 14px; padding: 5px 11px; border-radius: 99px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(6,37,63,.45); backdrop-filter: blur(6px); }
.st-cat-bar { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 20px; }
.st-cat-bar b { flex: 1; font-size: 17px; color: var(--deep); }
.st-arrow { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--tint); color: var(--primary); transition: background .3s, color .3s, transform .3s var(--ease); }
.st-arrow svg { width: 18px; height: 18px; }
.st-cat:hover .st-arrow { background: var(--primary); color: #fff; transform: translateX(3px); }
.st-perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 18px; margin-top: 34px; }

/* category page */
.st-crumb { display: flex; align-items: center; gap: 10px; margin-top: 30px; padding: 14px 20px; font-size: 14px; font-weight: 600; color: var(--muted); }
.st-crumb a { color: var(--deep); display: inline-flex; }
.st-crumb a:hover { color: var(--primary); }
.st-crumb svg { width: 16px; height: 16px; }
.st-crumb > svg { width: 14px; height: 14px; color: var(--soft); }
.st-crumb span { color: var(--primary); }
.st-title { margin: 30px 0 24px; }
.st-title .display { font-size: clamp(32px, 4vw, 48px); color: var(--deep); }
.st-title p { margin: 8px 0 0; }
.st-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 26px; align-items: start; }
@media (max-width: 960px) { .st-layout { grid-template-columns: 1fr; } .st-side { order: -1; position: static !important; } }
.st-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.st-toolbar .input-icon { width: 220px; max-width: 100%; }
.st-toolbar .select { width: auto; }
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 20px; }
.st-prod { display: flex; flex-direction: column; overflow: hidden; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.st-prod:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.st-prod-img { position: relative; aspect-ratio: 4/3; display: grid; place-items: center; overflow: hidden; background: linear-gradient(140deg, var(--primary), var(--deep)); }
.st-prod-img::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 30% 20%, rgba(255,255,255,.25), transparent); }
.st-prod-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-prod-img .badge { position: absolute; top: 12px; left: 12px; z-index: 1; }
.st-prod-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; text-align: center; }
.st-prod-body h3 { margin: 0; font-size: 16px; color: var(--deep); }
.st-prod-body .btn { margin-top: auto; }
.st-price { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.st-price b { font-family: var(--font-display); font-size: 24px; font-weight: 400; color: var(--primary); }
.st-price s { color: var(--soft); font-size: 14px; }
.st-off { position: absolute; top: 12px; right: 12px; z-index: 1; padding: 5px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 800; color: #fff; background: #E0344B; box-shadow: 0 8px 16px -8px #E0344B; }
.st-off.round { width: 54px; height: 54px; padding: 0; display: grid; place-items: center; border-radius: 50%; top: -14px; right: -12px; font-size: 14px; }
.st-side { overflow: hidden; position: sticky; top: calc(var(--nav-h) + 16px); }
.st-side a { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 14.5px; color: var(--deep); transition: background .2s, color .2s, padding .3s var(--ease); }
.st-side a:last-child { border-bottom: 0; }
.st-side a svg { width: 18px; height: 18px; color: var(--primary); }
.st-side a span:first-of-type { flex: 1; }
.st-side a .n { font-size: 12px; padding: 2px 9px; border-radius: 99px; background: var(--surface-2); color: var(--muted); }
.st-side a:hover { background: var(--tint); padding-left: 22px; }
.st-side a.active { background: var(--primary); color: #fff; }
.st-side a.active svg { color: #fff; }
.st-side a.active .n { background: rgba(255,255,255,.2); color: #fff; }

/* comparison (VIP) */
.st-compare { display: grid; grid-template-columns: 220px repeat(var(--n), minmax(0, 1fr)); gap: 18px; align-items: stretch; padding-top: 14px; }
.st-col { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 18px; text-align: center; overflow: visible; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.st-col:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.st-col-img { position: relative; width: 100%; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(140deg, var(--primary), var(--deep)); }
.st-col-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-col-img .art-fallback svg { width: 56px; height: 56px; }
.st-col h3 { margin: 4px 0 0; font-size: 18px; color: var(--deep); }
.st-stock { font-size: 13px; font-weight: 700; color: var(--ok); }
.st-stock.out { color: var(--bad); }
.st-col .btn { margin-top: auto; }
.st-table { margin-top: 22px; overflow: hidden; }
.st-tr { display: grid; grid-template-columns: 220px repeat(var(--n), minmax(0, 1fr)); gap: 18px; padding: 0; border-bottom: 1px solid var(--line); }
.st-tr:last-child { border-bottom: 0; }
.st-tr > div { padding: 14px 0; text-align: center; font-size: 14.5px; color: var(--deep); }
.st-tr > div.k, .st-th > div:first-child { text-align: left; font-weight: 600; padding-left: 20px; }
.st-tr:nth-child(even) { background: var(--surface-2); }
.st-th { background: var(--deep) !important; }
.st-th > div { color: #fff; font-weight: 700; }
.st-th > div:first-child { text-align: left; }
.st-tr .yes, .st-tr .no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.st-tr .yes { background: var(--ok-bg); color: var(--ok); }
.st-tr .no { background: var(--bad-bg); color: var(--bad); }
.st-tr .yes svg, .st-tr .no svg { width: 15px; height: 15px; stroke-width: 2.6; }
@media (max-width: 900px) {
  .st-compare { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
  .st-cmp-label { display: none; }
  .st-table { overflow-x: auto; }
  .st-tr { grid-template-columns: 150px repeat(var(--n), minmax(110px, 1fr)); min-width: max-content; }
}
.st-feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; font-size: 14.5px; color: var(--deep); }
.st-feats li { display: flex; gap: 9px; align-items: flex-start; }
.st-feats svg { width: 17px; height: 17px; color: var(--ok); flex: none; margin-top: 2px; }

/* home blocks: the wrapper must not change layout (adjacent-block styles keep working) */
.hb { display: contents; }
.home-cols.side-left .home-side { order: -1; }
.hb-flash { animation: hbFlash 1.4s var(--ease); }
@keyframes hbFlash { 0%, 60% { outline: 3px solid var(--accent); outline-offset: 6px; border-radius: 18px; } 100% { outline-color: transparent; } }
.is-preview .sale-strip { display: none; }

/* filler cards that close the gap under a short news column */
.bal-fill { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.fill-card { padding: 18px 20px; }
.fs-top { display: flex; align-items: center; gap: 14px; }
.fs-top b { display: block; color: var(--deep); font-size: 15.5px; }
.fs-top span { font-size: 13px; color: var(--muted); }
.fs-live { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); white-space: nowrap; }
.fs-live b { display: inline; font-size: 14px; }
.fs-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.fs-row .btn { flex: 1; min-width: 160px; }
.fill-stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; overflow: hidden; }
.fill-stats > div { padding: 18px; text-align: center; border-right: 1px solid var(--line); }
.fill-stats > div:last-child { border-right: 0; }
.fill-stats b { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 400; color: var(--primary); line-height: 1; }
.fill-stats span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.fill-store { display: flex; align-items: center; gap: 16px; color: inherit; }
.fill-store:hover { color: inherit; }
.fill-store b { display: block; color: var(--deep); font-size: 15.5px; }
.fill-store span { font-size: 13.5px; color: var(--muted); }
.fill-store > svg { width: 18px; height: 18px; color: var(--primary); flex: none; transition: transform .3s var(--ease); }
.fill-store:hover > svg { transform: translateX(4px); }
.fst-art { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 16px; color: #fff; background: linear-gradient(140deg, var(--primary), var(--deep)); }
.fst-art svg { width: 26px; height: 26px; }
