/* ==========================================================================
   KhelMC: dark, broadcast-style. Big Shoulders headlines, Geist text,
   Geist Mono labels, brand red used sparingly. Pixel art only where it is
   game content (items, hearts, world renders).
   ========================================================================== */

:root {
  --bg: #09080b;
  --bg-raise: #0e0c11;
  --surface: #131117;
  --surface-2: #19161e;
  --surface-3: #221e28;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .12);
  --line-3: rgba(255, 255, 255, .2);
  --text: #f4f1f3;
  --text-2: #aaa3ad;
  --text-3: #726a76;

  --red: #e5232f;
  --red-hi: #ff4552;
  --red-lo: #a3121e;
  --red-soft: rgba(229, 35, 47, .14);
  --gold: #f6b93b;
  --silver: #cfd8e3;
  --bronze: #e0965a;
  --heart: #ff3b55;
  --green: #34d27b;
  --cyan: #4fd8ee;
  --purple: #b06cff;

  --f-display: "Big Shoulders Display", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", monospace;

  --maxw: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 70px;
  --r: 14px;
  --r-sm: 9px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 20px 50px -24px rgba(0, 0, 0, .7);

  color-scheme: dark;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 60px); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* fine film grain over everything for depth */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.05; }
p { margin: 0; }
b, strong { font-weight: 600; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; border-radius: 4px; }
.px { image-rendering: pixelated; image-rendering: crisp-edges; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section--tight { padding-block: clamp(44px, 6vw, 80px); }
.section--alt { background: var(--bg-raise); border-block: 1px solid var(--line); }

/* ------------------------------------------------------------ typography */
.display {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .004em;
  line-height: .9;
}
.h1 { font-size: clamp(3.4rem, 9vw, 7.2rem); }
.h2 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
.h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.red { color: var(--red); }
.gold { color: var(--gold); }
.heart { color: var(--heart); }
.muted { color: var(--text-2); }
.dim { color: var(--text-3); }
.mono { font-family: var(--f-mono); }
.num { font-variant-numeric: tabular-nums; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--f-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red-hi);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.eyebrow--plain::before { display: none; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.65; color: var(--text-2); max-width: 60ch; }
.lead b { color: var(--text); font-weight: 600; }

.sec-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4.5vw, 56px); max-width: 780px; }
.sec-head--row { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; }
.sec-head--center { margin-inline: auto; text-align: center; justify-items: center; }
@media (max-width: 760px) { .sec-head--row { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: var(--r-sm);
  font: 600 14px/1 var(--f-body); letter-spacing: .01em;
  background: var(--surface-3); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background .18s, box-shadow .18s, transform .18s var(--ease), color .18s;
  white-space: nowrap;
}
.btn:hover { background: #2a2531; box-shadow: inset 0 0 0 1px var(--line-3); }
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -10px rgba(229, 35, 47, .7), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn--red:hover { background: var(--red-hi); box-shadow: 0 14px 36px -10px rgba(229, 35, 47, .85), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn--ghost { background: rgba(255, 255, 255, .04); backdrop-filter: blur(8px); }
.btn--discord { background: #5865f2; color: #fff; box-shadow: 0 10px 30px -12px rgba(88, 101, 242, .8), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn--discord:hover { background: #6b77ff; box-shadow: 0 14px 36px -12px rgba(88, 101, 242, .9); }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 15px; border-radius: 11px; }
.btn--sm { min-height: 38px; padding: 0 15px; font-size: 13px; }
.btn--icon { width: 40px; min-height: 40px; padding: 0; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn small { font: 500 11.5px/1 var(--f-mono); opacity: .75; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--f-body); color: var(--text); }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); color: var(--red-hi); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------------------------------------------------------------- IP plate */
.ip-plate {
  display: inline-flex; align-items: stretch; overflow: hidden; border-radius: 12px;
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2);
  text-align: left; transition: box-shadow .2s;
}
.ip-plate:hover { box-shadow: inset 0 0 0 1px rgba(229, 35, 47, .6); }
.ip-plate__ip { padding: 18px 22px; font: 600 clamp(17px, 2vw, 22px)/1 var(--f-mono); letter-spacing: -.01em; display: flex; align-items: center; gap: 12px; }
.ip-plate__ip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52, 210, 123, .16); flex: none; }
.ip-plate__act { display: flex; align-items: center; padding: 0 22px; background: var(--red); color: #fff; font: 600 14px/1 var(--f-body); }
.ip-plate.is-copied .ip-plate__act { background: var(--green); color: #052414; }
.ip-plate--sm .ip-plate__ip { padding: 12px 14px; font-size: 14.5px; }
.ip-plate--sm .ip-plate__act { padding: 0 14px; font-size: 12.5px; }
.ip-plate--block { width: 100%; }
.ip-plate--block .ip-plate__ip { flex: 1; }

/* -------------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(9, 8, 11, .72);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.nav__inner { max-width: 1340px; margin-inline: auto; height: 100%; padding-inline: var(--gutter); display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 38px; height: 38px; }
.brand__word { font: 900 24px/1 var(--f-display); letter-spacing: .02em; }
.brand__word b { color: var(--red); font-weight: 900; }
.nav__links { display: flex; gap: 2px; }
.nav__links a { position: relative; padding: 9px 13px; border-radius: 8px; font: 500 14.5px/1 var(--f-body); color: var(--text-2); transition: color .15s, background .15s; }
.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: -15px; height: 2px; background: var(--red); border-radius: 2px; }
.nav__links .nav__new { margin-left: 6px; font: 600 9.5px/1 var(--f-mono); letter-spacing: .08em; color: var(--gold); padding: 3px 5px; border-radius: 4px; background: rgba(246, 185, 59, .12); vertical-align: 2px; }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.live-pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font: 500 13px/1 var(--f-mono); color: var(--text-2); }
.live-pill b { color: var(--text); font-weight: 600; }
.live-pill__max { color: var(--text-3); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); flex: none; display: inline-block; }
.dot.is-on { background: var(--green); box-shadow: 0 0 0 3px rgba(52, 210, 123, .16); animation: pulse 2.4s infinite; }
.dot.is-off { background: var(--red); }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(52, 210, 123, 0); } }

.nav__burger { display: none; width: 42px; height: 42px; border-radius: 10px; position: relative; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
.nav__burger span:nth-child(1) { top: 14px; }
.nav__burger span:nth-child(2) { top: 20px; }
.nav__burger span:nth-child(3) { top: 26px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.drawer { position: fixed; inset: var(--nav-h) 0 0; z-index: 49; background: var(--bg); padding: 20px var(--gutter) 32px; display: grid; align-content: start; gap: 24px; overflow-y: auto; }
.drawer nav { display: grid; }
.drawer nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font: 800 30px/1 var(--f-display); text-transform: uppercase; }
.drawer nav a.is-active { color: var(--red-hi); }
.drawer .btn { width: 100%; }

@media (max-width: 1120px) { .nav__links { display: none; } .nav__burger { display: block; } }
@media (max-width: 560px) { .nav__actions .btn--red, .nav__actions .btn--icon { display: none; } }

/* ------------------------------------------------------------------ boot */
.boot { min-height: 70vh; display: grid; place-items: center; }
.boot img { animation: bob 1.4s var(--ease) infinite; opacity: .8; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.noscript { padding-block: 80px; }

/* ================================================================= HERO */
.hx { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); }
.hx::before { content: ""; position: absolute; z-index: -2; inset: 0;
  background:
    radial-gradient(60% 70% at 75% 45%, rgba(229, 35, 47, .20), transparent 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(229, 35, 47, .10), transparent 70%),
    linear-gradient(180deg, #0c0a0f, var(--bg)); }
.hx::after { content: ""; position: absolute; z-index: -1; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .45;
  -webkit-mask-image: radial-gradient(70% 80% at 70% 40%, #000, transparent 75%); mask-image: radial-gradient(70% 80% at 70% 40%, #000, transparent 75%); }
.hx__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; align-items: center; min-height: min(840px, calc(100svh - var(--nav-h))); padding-block: clamp(56px, 8vw, 104px); }
.hx__copy { display: grid; gap: 28px; justify-items: start; position: relative; z-index: 2; }
.hx__badge { display: inline-flex; align-items: center; gap: 12px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; color: var(--text-2); transition: box-shadow .2s, background .2s; backdrop-filter: blur(8px); }
.hx__badge:hover { box-shadow: inset 0 0 0 1px rgba(246, 185, 59, .5); background: rgba(246, 185, 59, .06); }
.hx__badge .tag { font: 600 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #1a1200; background: var(--gold); padding: 6px 9px; border-radius: 999px; }
.hx__badge b { color: var(--text); }
.hx__badge::after { content: "→"; color: var(--gold); }
.hx__title { font-size: clamp(3.6rem, 7.6vw, 7.4rem); line-height: .86; letter-spacing: .002em; }
.hx__title span { display: block; }
@media (min-width: 981px) { .hx__title span { white-space: nowrap; } }
.hx__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hx__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; padding-top: 6px; color: var(--text-2); font-size: 14px; }
.hx__proof > span { display: inline-flex; align-items: center; gap: 8px; }
.hx__proof b { font: 800 22px/1 var(--f-display); color: var(--text); letter-spacing: .01em; }
.hx__proof i.sep { width: 1px; height: 22px; background: var(--line-2); }

.worlds { position: relative; aspect-ratio: 1 / .84; width: 100%; }
.world { position: absolute; margin: 0; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); animation: drift 9s ease-in-out infinite; }
.world img { width: 100%; height: auto; }
.world--lobby { width: 47%; left: 0; top: 0; animation-delay: -3s; opacity: .9; }
.world--ffa { width: 52%; right: -2%; top: 5%; animation-delay: -6s; opacity: .94; }
.world--ls { width: 84%; left: 9%; bottom: 3%; z-index: 2; animation-duration: 11s; }
.world::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: -6%; height: 18%; background: radial-gradient(closest-side, rgba(229, 35, 47, .35), transparent); filter: blur(10px); z-index: -1; }
@keyframes drift { 50% { transform: translateY(-12px); } }
.world__tag {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 999px;
  background: rgba(14, 12, 17, .8); box-shadow: inset 0 0 0 1px var(--line-2), 0 10px 30px -10px rgba(0,0,0,.8); backdrop-filter: blur(10px);
  font: 500 12px/1 var(--f-mono); color: var(--text-2); white-space: nowrap; transition: box-shadow .2s, color .2s;
}
.world__tag b { color: var(--text); font-weight: 600; }
.world__tag:hover { color: var(--text); box-shadow: inset 0 0 0 1px rgba(229, 35, 47, .6); }
.world--lobby .world__tag { left: 18%; top: 4%; }
.world--ffa .world__tag { right: 10%; top: -2%; }
.world--ls .world__tag { left: 50%; bottom: 6%; transform: translateX(-50%); }
.worlds__note { position: absolute; right: 0; bottom: -28px; font: 500 11px/1 var(--f-mono); color: var(--text-3); letter-spacing: .04em; }

@media (max-width: 980px) {
  .hx__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .worlds { max-width: 620px; margin-inline: auto; margin-top: 8px; }
}
@media (max-width: 560px) { .world__tag { font-size: 10.5px; padding: 5px 8px; } .hx__proof i.sep { display: none; } .hx__cta, .hx__cta .btn { width: 100%; } }

/* ---------------------------------------------------------- stat band */
.band { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-radius: var(--r); overflow: hidden; background: var(--line); gap: 1px; box-shadow: 0 0 0 1px var(--line); }
.band > div { background: var(--bg-raise); padding: 26px 24px; display: grid; gap: 8px; }
.band b { font: 800 clamp(34px, 4vw, 52px)/.9 var(--f-display); font-variant-numeric: tabular-nums; }
.band span { font: 500 11.5px/1.35 var(--f-mono); color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 900px) { .band { grid-template-columns: repeat(2, minmax(0, 1fr)); } .band > div:last-child { grid-column: span 2; } }

/* ------------------------------------------------------- server cards */
.srvs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.srvs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.srvs--2 .srv__art { height: 300px; }
@media (max-width: 1000px) { .srvs, .srvs--2 { grid-template-columns: minmax(0, 1fr); } .srvs--2 .srv__art { height: 240px; } }
.srv { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r); overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
a.srv:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-3), 0 30px 60px -30px rgba(0,0,0,.9); }
.srv__art { position: relative; height: 230px; display: grid; place-items: center; padding: 18px 18px 6px; overflow: hidden; background: radial-gradient(70% 80% at 50% 70%, var(--glow, rgba(229,35,47,.18)), transparent 70%), linear-gradient(180deg, #121016, var(--surface)); }
.srv__art img { position: absolute; inset: 22px 18px 10px; width: calc(100% - 36px); height: calc(100% - 32px); object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0,0,0,.5)); transition: transform .5s var(--ease); }
a.srv:hover .srv__art img { transform: scale(1.04) translateY(-4px); }
.srv__live { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; background: rgba(9, 8, 11, .75); box-shadow: inset 0 0 0 1px var(--line-2); font: 500 12px/1 var(--f-mono); color: var(--text-2); backdrop-filter: blur(6px); }
.srv__live b { color: var(--text); }
.srv__body { padding: 22px 24px 24px; display: grid; gap: 14px; align-content: start; }
.srv__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.srv__name { font: 800 32px/.95 var(--f-display); text-transform: uppercase; }
.srv__cmd { font: 500 12.5px/1 var(--f-mono); color: var(--red-hi); }
.srv__desc { color: var(--text-2); font-size: 15px; }
.srv__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border-radius: 10px; overflow: hidden; background: var(--line); box-shadow: 0 0 0 1px var(--line); }
.srv__facts > div { background: var(--surface-2); padding: 12px 14px; display: grid; gap: 4px; }
.srv__facts b { font: 800 24px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.srv__facts span { font: 500 11px/1.3 var(--f-mono); color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.srv__who { display: flex; flex-wrap: wrap; gap: 4px; }
.srv__who:empty { display: none; }
.srv__who img { width: 24px; height: 24px; border-radius: 4px; box-shadow: 0 0 0 1px var(--line-2); }
.srv__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 2px; }

/* ------------------------------------------------------- season prizes */
.pool { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 980px) { .pool { grid-template-columns: minmax(0, 1fr); } }
.pool__total { display: grid; gap: 14px; margin-top: 6px; }
.pool__total b { font: 900 clamp(80px, 10vw, 136px)/.9 var(--f-display); color: var(--gold); letter-spacing: .005em; text-shadow: 0 10px 60px rgba(246, 185, 59, .25); }
.pool__total span { font: 500 12px/1 var(--f-mono); color: var(--text-3); text-transform: uppercase; letter-spacing: .12em; }

.prizes { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 14px; align-items: end; }
@media (max-width: 720px) { .prizes { grid-template-columns: minmax(0, 1fr); } .prize--1 { order: -1; } }
.prize {
  --pc: var(--gold);
  position: relative; display: grid; gap: 14px; justify-items: center; text-align: center; padding: 18px 18px 22px; border-radius: var(--r);
  background: radial-gradient(90% 60% at 50% 0%, color-mix(in srgb, var(--pc) 16%, transparent), transparent 70%), var(--surface);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pc) 30%, transparent), var(--shadow);
}
.prize--2 { --pc: var(--silver); }
.prize--3 { --pc: var(--bronze); }
.prize__trophy { width: 74%; max-width: 172px; height: auto; object-fit: contain; image-rendering: auto; filter: drop-shadow(0 12px 24px color-mix(in srgb, var(--pc) 30%, transparent)); }
.prize--1 .prize__trophy { max-width: 180px; }
.prizes--full .prize__trophy { max-width: 190px; }
.prizes--full .prize--1 .prize__trophy { max-width: 230px; }
.prize__place { font: 600 11.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--pc); }
.prize__title { font: 800 26px/1 var(--f-display); text-transform: uppercase; }
.prize__cash { font: 900 54px/.85 var(--f-display); color: var(--pc); font-variant-numeric: tabular-nums; }
.prize__main { font: 900 38px/.92 var(--f-display); color: var(--pc); text-transform: uppercase; max-width: 12ch; }
.prizes--full .prize__main { font-size: 46px; }
.prize--1 .prize__cash { font-size: 68px; }
.prize__alt { font-size: 13px; color: var(--text-2); }
.prize__list { list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; width: 100%; text-align: left; }
.prize__list li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; font-size: 13.5px; color: var(--text-2); line-height: 1.4; }
.prize__list li::before { content: ""; width: 6px; height: 6px; margin: 6px 0 0 4px; border-radius: 2px; background: var(--pc); }

.streak-award { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; margin-top: 14px; padding: 22px 26px; border-radius: var(--r); background: linear-gradient(90deg, rgba(229, 35, 47, .14), transparent 60%), var(--surface); box-shadow: inset 0 0 0 1px rgba(229, 35, 47, .35); }
.streak-award img { width: 48px; height: 48px; }
.streak-award h3 { font: 800 26px/1 var(--f-display); text-transform: uppercase; }
.streak-award p { color: var(--text-2); font-size: 14.5px; margin-top: 4px; }
.streak-award__cash { text-align: right; }
.streak-award__cash b { display: block; font: 900 48px/.85 var(--f-display); color: var(--red-hi); }
.streak-award__cash span { font-size: 12.5px; color: var(--text-2); }
@media (max-width: 640px) { .streak-award { grid-template-columns: minmax(0, 1fr); } .streak-award__cash { text-align: left; } }

.qual { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font: 500 11.5px/1 var(--f-mono); white-space: nowrap; }
.qual--yes { background: rgba(52, 210, 123, .12); color: var(--green); }
.qual--no { background: rgba(255, 255, 255, .05); color: var(--text-3); }

.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th, .tbl td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl th { font: 500 11px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl .who { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.tbl .who img { width: 28px; height: 28px; border-radius: 5px; }
.tbl tbody tr { transition: background .15s; }
.tbl tbody tr:hover { background: var(--surface-2); }
.tbl .pos { font: 800 20px/1 var(--f-display); color: var(--text-3); width: 54px; }
.tbl .pos.p1 { color: var(--gold); } .tbl .pos.p2 { color: var(--silver); } .tbl .pos.p3 { color: var(--bronze); }
.table-scroll { overflow-x: auto; }
.grid-2.standings { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 1000px) { .grid-2.standings { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------- discord band */
.dband { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 20px; background: radial-gradient(60% 120% at 100% 0%, rgba(88, 101, 242, .35), transparent 60%), linear-gradient(135deg, #15142a, #0f0e17); box-shadow: inset 0 0 0 1px rgba(88, 101, 242, .35); }
.dband h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.dband p { color: #c4c6e8; margin-top: 10px; max-width: 54ch; }
.dband__stats { display: flex; gap: 22px; margin-top: 18px; font-size: 14px; color: #c4c6e8; }
.dband__stats b { font: 800 26px/1 var(--f-display); color: #fff; margin-right: 6px; }
.dband__stats .dot { margin-right: 6px; }
@media (max-width: 760px) { .dband { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------- panels */
.panel { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); border-radius: var(--r); overflow: hidden; }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.panel__title { display: flex; align-items: center; gap: 10px; font: 600 15px/1.2 var(--f-body); }
.panel__title img { width: 24px; height: 24px; }
.panel__body { padding: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------- lb rows */
.rows { display: grid; }
.row { display: grid; grid-template-columns: 38px 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 20px; border-bottom: 1px solid var(--line); transition: background .15s; }
.row:last-child { border-bottom: 0; }
a.row:hover { background: var(--surface-2); }
.row__pos { font: 800 20px/1 var(--f-display); color: var(--text-3); text-align: center; }
.row__pos.p1 { color: var(--gold); } .row__pos.p2 { color: var(--silver); } .row__pos.p3 { color: var(--bronze); }
.row__av { width: 36px; height: 36px; border-radius: 6px; background: var(--surface-3); }
.row__name { min-width: 0; display: grid; gap: 1px; }
.row__name b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row__name small { font-size: 12.5px; color: var(--text-3); }
.row__val { font: 800 24px/1 var(--f-display); font-variant-numeric: tabular-nums; text-align: right; }
.row__val small { display: block; font: 500 10.5px/1.4 var(--f-mono); color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
.empty { padding: 28px 20px; color: var(--text-3); font-size: 14px; text-align: center; }

/* ---------------------------------------------------------- rank badge */
.rank { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font: 600 10.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--surface-3); vertical-align: middle; }
.rank--OWNER { background: linear-gradient(180deg, #d4141f, #8e0b12); box-shadow: 0 0 18px -4px rgba(229, 35, 47, .8); }
.rank--ADMIN { background: #c22b2b; }
.rank--MOD { background: #0f7f80; }
.rank--VIP { background: #c98400; color: #1f1300; }
.rank--MEMBER { background: #2c2731; color: var(--text-2); }

/* ------------------------------------------------------------- search */
.search { position: relative; width: 100%; max-width: 560px; }
.search__box { display: flex; align-items: center; border-radius: 12px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .15s; }
.search__box:focus-within { box-shadow: inset 0 0 0 1.5px var(--red), 0 0 0 4px var(--red-soft); }
.search__box svg { width: 20px; height: 20px; margin-left: 16px; color: var(--text-3); flex: none; }
.search__box input { flex: 1; min-width: 0; width: 100%; height: 54px; padding: 0 14px; background: transparent; border: 0; outline: 0; font-size: 16.5px; }
.search__box input::placeholder { color: var(--text-3); }
.search__box .btn { margin: 6px; min-height: 42px; }
.suggest { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; border-radius: 12px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 50px rgba(0, 0, 0, .55); max-height: 320px; overflow-y: auto; padding: 6px; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 8px; }
.suggest a img { width: 28px; height: 28px; border-radius: 5px; }
.suggest a.is-hl, .suggest a:hover { background: var(--surface-3); }
.suggest mark { background: none; color: var(--red-hi); font-weight: 600; }

/* -------------------------------------------------------- how to join */
.join { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 980px) { .join { grid-template-columns: minmax(0, 1fr); } }
.join__box { display: grid; gap: 16px; padding: 28px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.join__meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border-radius: 10px; overflow: hidden; background: var(--line); }
.join__meta div { background: var(--surface-2); padding: 12px 14px; display: grid; gap: 4px; }
.join__meta b { font: 800 22px/1 var(--f-display); }
.join__meta span { font: 500 11px/1.3 var(--f-mono); color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.steps { display: grid; gap: 0; counter-reset: step; }
.stepc { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.stepc:first-child { padding-top: 0; }
.stepc:last-child { border-bottom: 0; }
.stepc__n { font: 900 44px/.8 var(--f-display); color: var(--red); }
.stepc h3 { font: 600 18px/1.3 var(--f-body); margin-bottom: 6px; }
.stepc p { color: var(--text-2); font-size: 15px; }
.stepc code, .cmd { font: 500 13px/1 var(--f-mono); color: var(--text); background: var(--surface-3); padding: 3px 7px; border-radius: 5px; }

/* ------------------------------------------------------------ page hero */
.phero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); isolation: isolate; }
.phero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(55% 90% at 85% 10%, var(--phero-glow, rgba(229, 35, 47, .18)), transparent 70%); }
.phero::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; opacity: .35; -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 32px; align-items: center; padding-block: clamp(52px, 7vw, 92px) clamp(40px, 5vw, 64px); }
.phero__copy { display: grid; gap: 20px; }
.phero__art { display: flex; justify-content: flex-end; align-items: center; }
.phero__art img { width: clamp(64px, 9vw, 112px); }
.phero__art--world img { width: 100%; max-width: 520px; filter: drop-shadow(0 26px 36px rgba(0,0,0,.6)); animation: drift 10s ease-in-out infinite; }
@media (max-width: 860px) { .phero__grid { grid-template-columns: minmax(0, 1fr); } .phero__art:not(.phero__art--world) { display: none; } .phero__art--world { justify-content: center; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 13px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; color: var(--text-2); white-space: nowrap; }
.chip b { color: var(--text); font-weight: 600; }
.chip img { width: 20px; height: 20px; }
.chip--sm { height: 27px; padding: 0 10px; font-size: 12.5px; gap: 6px; }
a.chip:hover { box-shadow: inset 0 0 0 1px var(--line-3); color: var(--text); }

/* ------------------------------------------------------------ sub-nav */
.subnav { position: sticky; top: var(--nav-h); z-index: 40; background: rgba(9, 8, 11, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.subnav__in { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.subnav__in::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 16px 14px 14px; font: 500 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.subnav a:hover { color: var(--text); }
.subnav a.is-active { color: var(--text); border-bottom-color: var(--red); }

/* ---------------------------------------------------------- item slot */
.slot { position: relative; width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 6px; background: #1b1820; box-shadow: inset 0 0 0 1px var(--line), inset 0 -8px 16px rgba(0,0,0,.25); }
.slot img { width: 32px; height: 32px; image-rendering: pixelated; }
.slot--lg { width: 60px; height: 60px; border-radius: 10px; }
.slot--lg img { width: 44px; height: 44px; }
.slot--sm { width: 36px; height: 36px; }
.slot--sm img { width: 26px; height: 26px; }
.slot__n { position: absolute; right: 3px; bottom: 2px; font: 700 12px/1 var(--f-mono); color: #fff; text-shadow: 1px 1px 0 #3f3f3f, 0 0 4px #000; }
.slot--ench { box-shadow: inset 0 0 0 1px rgba(176, 108, 255, .35), inset 0 -8px 16px rgba(0,0,0,.25); }
.slot--ench img { filter: drop-shadow(0 0 3px rgba(176, 108, 255, .9)); }
.slot--empty { opacity: .45; }
.slots { display: flex; flex-wrap: wrap; gap: 5px; }
[data-tip] { cursor: help; }

.mc-tip { position: fixed; z-index: 90; pointer-events: none; max-width: 300px; padding: 8px 10px 9px; border-radius: 4px; background: rgba(16, 0, 16, .96); box-shadow: inset 0 0 0 2px #2d0a6a, 0 0 0 1px rgba(16, 0, 16, .95), 0 18px 40px rgba(0,0,0,.6); border: 2px solid transparent; border-image: linear-gradient(180deg, #5000ff, #28007f) 1; font: 500 13px/1.45 var(--f-body); color: #aaa; }
.mc-tip b { display: block; color: #fff; font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.mc-tip b.ench { color: #55ffff; }
.mc-tip .l-gray { color: #aaa; } .mc-tip .l-blue { color: #6b6bff; } .mc-tip .l-gold { color: #ffaa00; } .mc-tip .l-green { color: #55ff55; }

/* ----------------------------------------------------------------- kits */
.kits { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.kit { position: relative; display: grid; gap: 16px; align-content: start; padding: 22px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); overflow: hidden; }
.kit::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--kc); }
.kit::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; background: radial-gradient(closest-side, color-mix(in srgb, var(--kc) 22%, transparent), transparent); pointer-events: none; }
.kit__head { display: flex; align-items: center; gap: 14px; }
.kit__name { font: 800 30px/.9 var(--f-display); text-transform: uppercase; }
.kit__role { font: 500 11.5px/1 var(--f-mono); text-transform: uppercase; color: var(--kc); margin-top: 6px; letter-spacing: .08em; }
.kit__price { margin-left: auto; align-self: start; font: 600 11px/1 var(--f-mono); letter-spacing: .08em; color: var(--green); padding: 6px 8px; border-radius: 6px; background: rgba(52, 210, 123, .1); }
.kit__desc { color: var(--text-2); font-size: 14.5px; }
.kit__load { display: grid; gap: 12px; }
.kit__lbl { font: 500 11px/1 var(--f-mono); text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; letter-spacing: .08em; }
.kit__loadrow { display: flex; gap: 18px; flex-wrap: wrap; }
.effects { display: flex; flex-wrap: wrap; gap: 6px; }
.effect { font: 500 12.5px/1 var(--f-body); padding: 7px 9px; border-radius: 6px; background: color-mix(in srgb, var(--kc) 14%, transparent); color: var(--text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--kc) 35%, transparent); }

/* ----------------------------------------------------------- economy */
.eco { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .eco { grid-template-columns: minmax(0, 1fr); } }
.streak-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.streak-table th, .streak-table td { padding: 13px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.streak-table th { font: 500 11px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); }
.streak-table td b { font-weight: 600; }
.streak-table tr:last-child td { border-bottom: 0; }
.streak-table .tag { font: 500 11px/1 var(--f-mono); color: var(--red-hi); text-transform: uppercase; letter-spacing: .06em; margin-left: 6px; }
@media (max-width: 560px) {
  .streak-table th, .streak-table td { padding: 11px 10px; }
  .streak-table th:first-child, .streak-table td:first-child { padding-left: 14px; }
  .streak-table .tag { display: block; margin: 4px 0 0; }
}
.calc { display: grid; gap: 22px; }
.calc__out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.calc__out > div { padding: 16px; border-radius: 10px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 6px; }
.calc__out b { font: 800 38px/.9 var(--f-display); font-variant-numeric: tabular-nums; }
.calc__out span { font: 500 11px/1.35 var(--f-mono); color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 520px) { .calc__out { grid-template-columns: minmax(0, 1fr); } }
.range { width: 100%; -webkit-appearance: none; appearance: none; height: 28px; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--red) var(--p, 0%), var(--surface-3) var(--p, 0%)); }
.range::-moz-range-track { height: 6px; border-radius: 6px; background: var(--surface-3); }
.range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--red); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(229, 35, 47, .35); }
.range::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(229, 35, 47, .35); }
.calc__label { display: flex; justify-content: space-between; align-items: baseline; }
.calc__label b { font: 900 56px/.85 var(--f-display); color: var(--red-hi); }
.coin { display: inline-block; width: 1em; height: 1em; vertical-align: -.12em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Cpath fill='%237a4a0e' d='M2 0h4v1h1v1h1v4H7v1H6v1H2V7H1V6H0V2h1V1h1z'/%3E%3Cpath fill='%23f6b93b' d='M2 1h4v1h1v4H6v1H2V6H1V2h1z'/%3E%3Cpath fill='%23ffe9a3' d='M2 2h2v1H3v2H2z'/%3E%3Cpath fill='%23c98a1c' d='M5 3h1v3H3V5h2z'/%3E%3C/svg%3E") center/contain no-repeat; image-rendering: pixelated; }
.price { display: inline-flex; align-items: center; gap: 6px; font: 800 19px/1 var(--f-display); color: var(--gold); font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: .01em; }
.price--free { color: var(--green); font: 600 11px/1 var(--f-mono); text-transform: uppercase; }

/* ---------------------------------------------------------------- tiers */
.tiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.tierfam { padding: 18px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); display: grid; gap: 14px; position: relative; overflow: hidden; }
.tierfam::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--t1), var(--t2)); }
.tierfam__head { display: flex; align-items: center; gap: 14px; }
.tierfam__name { font: 800 28px/.9 var(--f-display); text-transform: uppercase; background: linear-gradient(90deg, var(--t1), var(--t2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tierfam__list { display: grid; gap: 6px; }
.tierfam__list div { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: center; font-size: 13.5px; padding: 8px 10px; border-radius: 7px; background: var(--surface-2); }
.tierfam__list i { font: 600 12px/1 var(--f-mono); font-style: normal; color: var(--text-2); }
.tierfam__list span { color: var(--text-2); font-variant-numeric: tabular-nums; }
.tierfam__list .price { font-size: 16px; }
.badge-hex { width: 46px; height: 52px; flex: none; }

/* ---------------------------------------------------------------- cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.card { padding: 20px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); display: grid; gap: 12px; align-content: start; transition: box-shadow .2s; }
.card:hover { box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); }
.card__head { display: flex; align-items: center; gap: 14px; }
.card__title { font: 600 16.5px/1.25 var(--f-body); }
.card__sub { font: 500 11px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); margin-top: 4px; }
.card p { color: var(--text-2); font-size: 14px; }
.card .chips { gap: 6px; }
.card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: auto; padding-top: 4px; }
.card__foot .price { margin-right: auto; }

/* ----------------------------------------------------------------- tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); width: fit-content; max-width: 100%; }
.tabs button { padding: 10px 15px; border-radius: 9px; font: 500 14px/1 var(--f-body); color: var(--text-2); transition: background .15s, color .15s; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { background: var(--red); color: #fff; box-shadow: 0 6px 18px -8px rgba(229, 35, 47, .8); }
.tabs--seg button[aria-selected="true"] { background: var(--surface-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }

/* ----------------------------------------------------------------- shop */
.shop-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr)); border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); }
.shop-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 15px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.shop-item b { font-weight: 600; font-size: 15px; }
.shop-item p { color: var(--text-3); font-size: 13px; line-height: 1.4; margin-top: 2px; }
.upgrades { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 720px) { .upgrades { grid-template-columns: minmax(0, 1fr); } }
.lvls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lvls div { padding: 14px; border-radius: 10px; background: var(--surface-2); display: grid; gap: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.lvls i { font: 500 11.5px/1.2 var(--f-mono); color: var(--purple); font-style: normal; }
.swatches { display: grid; gap: 8px; }
.swatch { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.swatch i { width: 14px; height: 14px; border-radius: 4px; flex: none; background: linear-gradient(135deg, var(--a), var(--b)); }
.swatch .price { margin-left: auto; font-size: 16px; }
.swatch span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ------------------------------------------------------------ achievements */
.ach-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 960px) { .ach-cols { grid-template-columns: minmax(0, 1fr); } }
.ach { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.ach:last-child { border-bottom: 0; }
.ach b { font-size: 14.5px; }
.ach p { font-size: 12.5px; color: var(--text-3); line-height: 1.35; margin-top: 2px; }
.ach .price { font-size: 17px; }
.diff { font: 600 11.5px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; }
.diff--easy { color: var(--green); } .diff--moderate { color: var(--gold); } .diff--hard { color: var(--red-hi); }

/* ------------------------------------------------------------- commands */
.cmds { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); }
.cmdc { padding: 17px 19px; display: grid; gap: 8px; align-content: start; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cmdc code { font: 500 13.5px/1.4 var(--f-mono); color: var(--text); word-break: break-word; }
.cmdc p { font-size: 13.5px; color: var(--text-2); line-height: 1.45; }
.cmdc small { font: 400 11.5px/1 var(--f-mono); color: var(--text-3); }

/* ----------------------------------------------------------- lifesteal */
.heartbar { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.heartbar img { width: 100%; aspect-ratio: 1; image-rendering: pixelated; }
.heartbar img.is-gain { animation: gain .6s var(--ease); }
.heartbar img.is-loss { animation: loss .6s var(--ease); }
@keyframes gain { 0% { transform: scale(.4); } 70% { transform: scale(1.35); } }
@keyframes loss { 0% { transform: scale(1.3); filter: brightness(2); } }
.sim { display: grid; gap: 18px; }
.sim__p { display: grid; gap: 10px; padding: 18px; border-radius: 12px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.sim__p header { display: flex; justify-content: space-between; align-items: baseline; font: 800 22px/1 var(--f-display); text-transform: uppercase; }
.sim__p header span { font: 600 13px/1 var(--f-mono); color: var(--heart); }
.sim .heartbar { grid-template-columns: repeat(10, minmax(0, 30px)); gap: 3px; }
.sim__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.sim__log { min-height: 48px; padding: 13px 15px; border-radius: 10px; background: #0c0a0f; box-shadow: inset 0 0 0 1px var(--line); font: 400 13px/1.5 var(--f-mono); color: var(--text-2); }
.sim__log b { color: var(--heart); font-weight: 600; }

.craft { position: relative; width: 100%; max-width: 528px; aspect-ratio: 176 / 80; background: url("/assets/ui/crafting_table_gui.png") 0 0 / 100% 100% no-repeat; image-rendering: pixelated; filter: drop-shadow(0 18px 30px rgba(0,0,0,.5)); }
.craft__cell { position: absolute; width: calc(16 / 176 * 100%); height: calc(16 / 80 * 100%); }
.craft__cell img { width: 100%; height: 100%; image-rendering: pixelated; }
.craft__title { position: absolute; left: calc(28 / 176 * 100%); top: calc(5 / 80 * 100%); font: 500 clamp(8px, 1.5vw, 12px)/1 var(--f-mono); color: #404040; }
.recipe { display: grid; gap: 16px; justify-items: start; }
.recipe h3 { font-size: 34px; }

.border-viz { position: relative; aspect-ratio: 1; width: 100%; max-width: 360px; border-radius: 6px; background: repeating-linear-gradient(0deg, transparent 0 23px, rgba(255,255,255,.04) 23px 24px), repeating-linear-gradient(90deg, transparent 0 23px, rgba(255,255,255,.04) 23px 24px), #111811; box-shadow: inset 0 0 0 2px rgba(255, 59, 85, .7), 0 0 40px rgba(255, 59, 85, .15); }
.border-viz__rtp { position: absolute; inset: 5%; border: 2px dashed rgba(79, 216, 238, .5); }
.border-viz__rtp-in { position: absolute; inset: 47.5%; background: rgba(229, 35, 47, .45); }
.border-viz__spawn { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; transform: translate(-50%, -50%); border-radius: 2px; background: var(--gold); box-shadow: 0 0 0 4px rgba(246, 185, 59, .25); }
.border-viz span { position: absolute; font: 500 10.5px/1.2 var(--f-mono); text-transform: uppercase; color: var(--text-2); }
.legend { display: grid; gap: 12px; font-size: 14.5px; color: var(--text-2); }
.legend div { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.legend i { width: 14px; height: 14px; border-radius: 3px; flex: none; }

/* -------------------------------------------------------- leaderboards */
.lb-top { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.podium { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 14px; align-items: end; margin-bottom: 24px; }
.pod { --pc: var(--gold); position: relative; display: grid; justify-items: center; gap: 10px; padding: 20px 14px 22px; border-radius: var(--r); background: radial-gradient(80% 50% at 50% 0%, color-mix(in srgb, var(--pc) 14%, transparent), transparent 70%), var(--surface); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pc) 28%, transparent), var(--shadow); text-align: center; transition: transform .25s var(--ease); }
.pod:hover { transform: translateY(-4px); }
.pod--1 { padding-top: 28px; }
.pod--2 { --pc: var(--silver); }
.pod--3 { --pc: var(--bronze); }
.pod__body { height: clamp(120px, 15vw, 190px); width: auto; filter: drop-shadow(0 12px 14px rgba(0,0,0,.5)); }
.pod--1 .pod__body { height: clamp(140px, 18vw, 230px); }
.pod__pos { font: 600 12px/1 var(--f-mono); color: var(--pc); letter-spacing: .1em; }
.pod__name { font: 600 clamp(14px, 1.8vw, 18px)/1.2 var(--f-body); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod__val { font: 900 clamp(30px, 3.6vw, 44px)/.9 var(--f-display); font-variant-numeric: tabular-nums; }
.pod__val small { display: block; font: 500 10.5px/1.4 var(--f-mono); color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
@media (max-width: 560px) { .podium { gap: 8px; } .pod { padding-inline: 8px; } }
.lb-note { font-size: 13px; color: var(--text-3); margin-top: 12px; }

/* ------------------------------------------------------------- profile */
.prof { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .prof { grid-template-columns: minmax(0, 1fr); } }
.prof__side { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 16px; }
@media (max-width: 900px) { .prof__side { position: static; } }
.skin { position: relative; height: 400px; border-radius: var(--r); background: radial-gradient(ellipse at 50% 85%, rgba(229, 35, 47, .2), transparent 60%), var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); display: grid; place-items: center; overflow: hidden; }
.skin img { height: 82%; width: auto; }
.skin canvas { width: 100% !important; height: 100% !important; cursor: grab; }
.skin canvas:active { cursor: grabbing; }
.skin__hint { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font: 500 10.5px/1 var(--f-mono); color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; pointer-events: none; }
.idcard { padding: 20px; display: grid; gap: 12px; }
.idcard__name { font: 900 clamp(38px, 4vw, 50px)/.9 var(--f-display); text-transform: uppercase; word-break: break-all; }
.idcard__row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--text-2); padding-top: 10px; border-top: 1px solid var(--line); }
.idcard__row b { color: var(--text); font-weight: 600; text-align: right; }
.status { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); }
.status.is-on { color: var(--green); }
.prof__main { display: grid; gap: 20px; min-width: 0; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.stats > div { background: var(--surface); padding: 16px 18px; display: grid; gap: 6px; }
.stats b { font: 800 clamp(30px, 3.2vw, 40px)/.9 var(--f-display); font-variant-numeric: tabular-nums; }
.stats span { font: 500 11px/1.3 var(--f-mono); color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tierbox { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; }
.tierbox .badge-hex { width: 68px; height: 76px; }
.tierbox .tierfam__name { font-size: 36px; }
.xpbar { position: relative; height: 10px; border-radius: 6px; background: #17141b; box-shadow: inset 0 0 0 1px var(--line); margin-top: 12px; overflow: hidden; }
.xpbar i { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: linear-gradient(90deg, #6bc02a, #b6ff6b); box-shadow: 0 0 14px rgba(150, 230, 80, .5); }
.xpbar__lbl { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--text-2); margin-top: 8px; }
.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, 44px); gap: 6px; }
.ach-grid .slot.is-locked img { filter: grayscale(1) brightness(.35); }
.ach-grid .slot.is-locked { opacity: .7; }
.posrow { display: flex; flex-wrap: wrap; gap: 8px; }
.notfound { display: grid; gap: 18px; justify-items: start; padding-block: 24px; }

/* ----------------------------------------------------------------- rules */
.rules { display: grid; border-radius: var(--r); overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.rule { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 16px; padding: 22px; border-bottom: 1px solid var(--line); }
.rule:last-child { border-bottom: 0; }
.rule__n { font: 900 36px/.85 var(--f-display); color: var(--red); }
.rule h3 { font: 600 17px/1.3 var(--f-body); margin-bottom: 6px; }
.rule p { color: var(--text-2); font-size: 14.5px; }
.staff { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 12px; }
.staffc { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, transform .2s var(--ease); }
.staffc:hover { box-shadow: inset 0 0 0 1px var(--line-3); transform: translateY(-2px); }
.staffc img { width: 48px; height: 48px; border-radius: 8px; }
.staffc b { display: block; font-weight: 600; margin-bottom: 5px; }
.guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .guides { grid-template-columns: minmax(0, 1fr); } }

/* -------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--line); background: var(--bg-raise); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; padding-block: 60px 40px; }
.footer__brand { display: grid; gap: 16px; justify-items: start; }
.footer__brand p { color: var(--text-2); font-size: 14px; max-width: 34ch; }
.footer__h { font: 500 11.5px/1 var(--f-mono); text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; letter-spacing: .1em; }
.footer__grid > div:not(.footer__brand) { display: grid; align-content: start; gap: 10px; }
.footer__grid a:not(.brand) { color: var(--text-2); font-size: 14.5px; }
.footer__grid a:not(.brand):hover { color: var(--text); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px 28px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-3); }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: span 2; } }

/* --------------------------------------------------------------- toast */
.toast { position: fixed; z-index: 95; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 12px; background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 60px rgba(0,0,0,.6); font-size: 14.5px; max-width: calc(100vw - 32px); animation: toast-in .25s var(--ease); }
.toast img { width: 28px; height: 28px; }
@keyframes toast-in { from { transform: translate(-50%, 12px); opacity: 0; } }

/* ------------------------------------------------------------ motion */
.view-enter { animation: view-in .4s var(--ease); }
@keyframes view-in { from { opacity: 0; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================ 3D PODIUM
   Block-textured cuboids in real CSS 3D (perspective from above), live
   skinview3d players standing on top, beacon beams and particles. */
.mcpod {
  --b: clamp(30px, 5.4vw, 66px);
  position: relative; isolation: isolate; overflow: hidden;
  margin-bottom: 24px; padding: calc(var(--b) * .9) 0 calc(var(--b) * 2.1);
  border-radius: 20px;
  background: radial-gradient(60% 70% at 50% 100%, rgba(246, 185, 59, .10), transparent 70%), linear-gradient(180deg, #0b0a10, #120f17 70%, #0b0a0e);
  box-shadow: inset 0 0 0 1px var(--line);
  perspective: 900px; perspective-origin: 50% -22%;
}
.mcpod__sky { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(22% 45% at 30% 55%, rgba(207, 216, 227, .10), transparent 70%),
    radial-gradient(26% 55% at 50% 45%, rgba(246, 185, 59, .18), transparent 70%),
    radial-gradient(22% 45% at 70% 60%, rgba(224, 150, 90, .12), transparent 70%); }
.mcpod__sky::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.5) 1px, transparent 1.5px); background-size: 90px 90px; opacity: .08; }
.mcpod__scene { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: calc(var(--b) * 1.05); transform-style: preserve-3d; }
.mcpod__floor {
  position: absolute; left: -30%; right: -30%; bottom: calc(var(--b) * -8); height: calc(var(--b) * 16);
  transform: rotateX(90deg); transform-origin: 50% 50%;
  background: linear-gradient(rgba(9, 8, 11, .45), rgba(9, 8, 11, .45)), url("/assets/blocks/deepslate_tiles.png") 0 0 / var(--b) var(--b);
  image-rendering: pixelated;
  -webkit-mask-image: radial-gradient(closest-side, #000 25%, transparent 100%); mask-image: radial-gradient(closest-side, #000 25%, transparent 100%);
}
.mcpod__col { position: relative; display: flex; flex-direction: column; align-items: center; transform-style: preserve-3d; --w: calc(var(--b) * 2); --d: calc(var(--b) * 2); --h: calc(var(--b) * var(--blocks)); }
.mcpod__col::after { content: ""; position: absolute; left: -40%; right: -40%; bottom: calc(var(--b) * -.6); height: calc(var(--b) * 1.4); border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--rgb), .35), transparent); filter: blur(8px); transform: translateZ(calc(var(--d) / 2)); pointer-events: none; }

/* cuboid */
.cub { position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d; }
.cub > i {
  position: absolute; display: block; font-style: normal;
  background-image: linear-gradient(rgba(0, 0, 0, var(--shade, 0)), rgba(0, 0, 0, var(--shade, 0))), var(--tex);
  background-size: auto, var(--b) var(--b);
  image-rendering: pixelated; backface-visibility: hidden;
}
.cub__f { inset: 0; transform: translateZ(calc(var(--d) / 2)); --shade: .1; display: grid !important; place-items: center; box-shadow: 0 0 0 1px rgba(var(--rgb), .45), 0 0 70px -6px rgba(var(--rgb), .6); }
.cub__l, .cub__r { width: var(--d); height: var(--h); left: calc((var(--w) - var(--d)) / 2); --shade: .38; box-shadow: inset 0 0 0 1px rgba(var(--rgb), .25); }
.cub__l { transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); }
.cub__r { transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); }
.cub__t { width: var(--w); height: var(--d); top: calc((var(--h) - var(--d)) / 2); transform: rotateX(90deg) translateZ(calc(var(--h) / 2)); --shade: 0; filter: brightness(1.18); box-shadow: inset 0 0 calc(var(--b) * .7) rgba(var(--rgb), .55), 0 0 0 1px rgba(255, 255, 255, .25); }
.mcpod__num { font: 900 calc(var(--b) * .95)/1 var(--f-display); color: #fff; text-shadow: 0 0 18px rgba(var(--rgb), 1), 0 0 4px rgba(var(--rgb), 1), 0 3px 0 rgba(0, 0, 0, .35); transform: translateZ(1px); }

/* player + nametag */
.mcpod__player { position: relative; width: calc(var(--b) * 2.7); height: calc(var(--b) * 3.4); margin-bottom: calc(var(--b) * -.42); display: grid; place-items: end center; transform: translateZ(0); }
.mcpod__player img { height: 88%; width: auto; margin-bottom: 10%; filter: drop-shadow(0 8px 10px rgba(0,0,0,.5)); }
.mcpod__player canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
@media (hover: hover) { .mcpod__player canvas { cursor: grab; } }
.mcpod__tag { display: grid; justify-items: center; gap: 3px; margin-bottom: calc(var(--b) * .12); padding: 6px 12px 7px; border-radius: 6px; background: rgba(8, 7, 10, .78); box-shadow: 0 0 0 1px rgba(var(--rgb), .35), 0 0 24px -6px rgba(var(--rgb), .7); white-space: nowrap; max-width: calc(var(--b) * 3.4); transition: box-shadow .2s, transform .2s var(--ease); }
.mcpod__tag:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(var(--rgb), .8), 0 0 30px -4px rgba(var(--rgb), .9); }
.mcpod__tag b { font: 600 clamp(12px, 1.4vw, 15px)/1.1 var(--f-mono); color: #fff; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.mcpod__tag span { font: 800 clamp(18px, 2.3vw, 28px)/.9 var(--f-display); color: rgb(var(--rgb)); letter-spacing: .01em; }
.mcpod__tag small { font: 500 10px/1 var(--f-mono); color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; }

/* beacon beam */
.mcpod__beam {
  position: absolute; left: 50%; bottom: var(--h); width: calc(var(--b) * .7); height: calc(var(--b) * 9);
  transform: translateX(-50%) translateZ(calc(var(--d) / -2 + 2px));
  background: linear-gradient(0deg, rgba(var(--rgb), .55), rgba(var(--rgb), .18) 55%, transparent),
              repeating-linear-gradient(0deg, rgba(255, 255, 255, .18) 0 6px, transparent 6px 18px);
  background-size: 100% 100%, 100% 36px;
  filter: blur(1px); opacity: var(--beam, .55);
  animation: beam-flow 2.4s linear infinite, beam-pulse 4s ease-in-out infinite;
  pointer-events: none;
}
.mcpod__beam::after { content: ""; position: absolute; inset: 0 -160%; background: radial-gradient(40% 50% at 50% 100%, rgba(var(--rgb), .35), transparent 70%); filter: blur(14px); }
.mcpod__col--1 { --beam: .9; }
@keyframes beam-flow { to { background-position: 0 0, 0 -36px; } }
@keyframes beam-pulse { 50% { opacity: calc(var(--beam, .55) * .65); } }

/* particles rising off the podium top */
.mcpod__particles { position: absolute; left: 50%; bottom: var(--h); width: var(--w); height: calc(var(--b) * 4); transform: translateX(-50%) translateZ(calc(var(--d) / 4)); pointer-events: none; }
.mcpod__particles i { position: absolute; bottom: 0; width: 5px; height: 5px; background: rgb(var(--rgb)); box-shadow: 0 0 8px rgba(var(--rgb), 1); opacity: 0; animation: rise 3.2s linear infinite; }
.mcpod__particles i:nth-child(1) { left: 10%; animation-delay: -.2s; }
.mcpod__particles i:nth-child(2) { left: 26%; animation-delay: -1.1s; width: 4px; height: 4px; }
.mcpod__particles i:nth-child(3) { left: 44%; animation-delay: -2.3s; }
.mcpod__particles i:nth-child(4) { left: 63%; animation-delay: -.7s; width: 3px; height: 3px; }
.mcpod__particles i:nth-child(5) { left: 82%; animation-delay: -1.8s; }
.mcpod__particles i:nth-child(6) { left: 18%; animation-delay: -2.8s; width: 3px; height: 3px; }
.mcpod__particles i:nth-child(7) { left: 52%; animation-delay: -.4s; width: 4px; height: 4px; }
.mcpod__particles i:nth-child(8) { left: 74%; animation-delay: -2s; }
.mcpod__particles i:nth-child(9) { left: 35%; animation-delay: -1.5s; width: 3px; height: 3px; }
.mcpod__particles i:nth-child(10) { left: 90%; animation-delay: -2.6s; width: 4px; height: 4px; }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(calc(var(--b) * -3.6)); opacity: 0; } }

.mcpod__col[hidden] { display: none !important; }
@media (max-width: 560px) { .mcpod { border-radius: 14px; } .mcpod__tag { padding: 4px 7px 5px; } .mcpod__tag small { display: none; } }
@media (prefers-reduced-motion: reduce) { .mcpod__beam, .mcpod__particles i { animation: none; } .mcpod__particles { display: none; } }

/* hero keyword heading + FAQ */
.hx__h1 { margin: 0; font-weight: 500; color: var(--text-2); }
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .faq { grid-template-columns: minmax(0, 1fr); } }
.faq__list { display: grid; gap: 10px; }
.faq__item { border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.faq__item[open] { box-shadow: inset 0 0 0 1px var(--line-2); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font: 600 16px/1.35 var(--f-body); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; font: 500 22px/1 var(--f-mono); color: var(--red-hi); transition: transform .2s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 20px 18px; color: var(--text-2); font-size: 15px; }

/* server-rendered fallback content (shown until the app loads, and to crawlers) */
.ssr .section { padding-block: 32px; }
.ssr ul { margin: 14px 0 0; padding-left: 20px; color: var(--text-2); display: grid; gap: 6px; }
.ssr a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-3); }
.ssr h3 { margin-top: 18px; font: 600 16px/1.4 var(--f-body); }
.ssr p { color: var(--text-2); margin-top: 6px; }
