:root {
  --ink: #0d0a1a;
  --deep: #151027;
  --panel: #1a1430;
  --panel2: #221a3d;
  --text: #f6f1ff;
  --muted: #b3a9cc;
  --dim: #7d7398;
  --gold: #ffd36b;
  --violet: #a978ff;
  --cyan: #29d6ff;
  --green: #5ee68a;
  --orange: #ff8a3d;
  --red: #ff5a6a;
  --line: rgba(255,255,255,.09);
  --line2: rgba(255,255,255,.16);
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 48px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 16px/1.55 "Avenir Next", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- top bar: the site's signature chrome, identical on every page ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(13,10,26,.74); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid var(--line); }
.topbar::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent 0%, var(--violet) 25%, var(--gold) 50%, var(--violet) 75%, transparent 100%); opacity: .9; }
.topbar .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; height: 66px; padding-top: env(safe-area-inset-top); }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: .26em; font-size: 12px; text-decoration: none; white-space: nowrap; color: var(--text); }
.brand em { font-style: normal; color: var(--gold); margin-left: .5em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255,211,107,.35), 0 4px 18px rgba(0,0,0,.4); }
.nav { display: flex; gap: 2px; justify-self: center; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { position: relative; text-decoration: none; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; white-space: nowrap; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 6px; height: 6px; margin-left: -3px; background: var(--gold); transform: rotate(45deg) scale(0); box-shadow: 0 0 10px var(--gold); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.nav a:hover { color: var(--text); }
.nav a.on { color: var(--text); }
.nav a.on::after { transform: rotate(45deg) scale(1); }
.lang { justify-self: end; background: transparent; border: 1px solid var(--line2); color: var(--text); border-radius: 999px; padding: 6px 12px; font-size: 11px; font-weight: 800; letter-spacing: .14em; cursor: pointer; transition: border-color .2s; }
.lang:hover { border-color: var(--gold); }
.lang option { background: var(--deep); }
@media (max-width: 760px) {
  .topbar .wrap { grid-template-columns: 1fr auto; height: auto; padding-top: max(8px, env(safe-area-inset-top)); gap: 2px 10px; }
  .brand { grid-row: 1; height: 44px; }
  .lang { grid-row: 1; grid-column: 2; }
  .nav { grid-column: 1 / -1; justify-self: stretch; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 2px; }
  .nav a { padding: 8px 10px 12px; font-size: 11px; letter-spacing: .12em; }
  .nav a::after { bottom: 4px; width: 5px; height: 5px; }
}

/* ---------- footer: every page, every link ---------- */
footer.foot { margin-top: 64px; position: relative; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); color: var(--muted); font-size: 14px; padding: 0 0 max(28px, env(safe-area-inset-bottom)); }
footer.foot::before { content: ""; position: absolute; top: -1px; left: 50%; width: min(520px, 70%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.footgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding: 44px 0 30px; }
.footgrid .brand { margin-bottom: 12px; }
.footgrid .fsub { max-width: 300px; font-size: 13px; line-height: 1.6; }
.footgrid .fsub a { color: var(--gold); text-decoration: none; }
.footgrid h4 { margin: 0 0 12px; font-size: 11px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; color: var(--text); }
.footgrid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footgrid li a { color: var(--muted); text-decoration: none; transition: color .2s; }
.footgrid li a:hover { color: var(--gold); }
.footbottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); }
.footbottom a { color: var(--dim); text-decoration: none; }
.footbottom a:hover { color: var(--text); }
@media (max-width: 760px) { .footgrid { grid-template-columns: 1fr 1fr; gap: 24px 18px; padding-top: 34px; } .footgrid > div:first-child { grid-column: 1 / -1; } }

/* ---------- legal & support pages ---------- */
.legalhead { position: relative; padding: clamp(40px, 7vw, 72px) 0 clamp(24px, 4vw, 40px); overflow: hidden; isolation: isolate; text-align: center; }
.legalhead::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url(/site/art/hero.webp) center 30% / cover; opacity: .35; }
.legalhead::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,10,26,.6), rgba(13,10,26,.85) 60%, var(--ink)); }
.legalhead .kicker { color: var(--gold); }
.legalhead h1 { margin: 10px 0 8px; font-size: clamp(30px, 5vw, 48px); line-height: 1.1; font-weight: 900; letter-spacing: -.01em; }
.legalhead .meta { color: var(--muted); font-size: 13px; font-weight: 700; }
.legalnav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 18px; }
.legalnav a { text-decoration: none; font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--muted); padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line2); transition: color .2s, border-color .2s; }
.legalnav a:hover { color: var(--text); border-color: var(--gold); }
.legalnav a.on { color: #160f2b; background: var(--gold); border-color: transparent; }
main.legal { max-width: 760px; margin: 0 auto; padding: 28px var(--gutter) 40px; font-size: 17px; line-height: 1.7; color: #e9e4f5; }
main.legal h2 { font-size: 19px; line-height: 1.35; font-weight: 800; color: var(--gold); margin: 34px 0 8px; padding-top: 12px; border-top: 1px solid var(--line); }
main.legal h3 { font-size: 16px; line-height: 1.4; font-weight: 700; color: #fff; margin: 20px 0 6px; }
main.legal p, main.legal li { margin: 0 0 12px; }
main.legal p { white-space: pre-wrap; }
main.legal ul { padding-left: 22px; }
main.legal a { color: var(--gold); }
main.legal .card { padding: 18px 20px; margin: 18px 0; }

/* ---------- page heading ---------- */
.pagehead { position: relative; padding: clamp(36px, 7vw, 80px) 0 clamp(20px, 4vw, 36px); overflow: hidden; isolation: isolate; }
.pagehead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 340px at 20% 0%, rgba(169,120,255,.22), transparent 70%), radial-gradient(600px 300px at 90% 10%, rgba(255,211,107,.10), transparent 70%); }
.kicker { color: var(--violet); font-weight: 900; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }
h1.title { margin: 8px 0 10px; font-size: clamp(34px, 6vw, 68px); line-height: .98; font-weight: 900; letter-spacing: -.02em;
  background: linear-gradient(180deg, #fff 30%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin: 0; color: var(--muted); max-width: 640px; font-size: clamp(15px, 1.6vw, 18px); }
h2.sect { margin: 0 0 14px; font-size: clamp(22px, 3vw, 32px); font-weight: 900; letter-spacing: -.01em; }
h3 { margin: 0; }

/* ---------- surfaces ---------- */
.card { background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02)); border: 1px solid var(--line); border-radius: var(--radius); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.panel + .panel { margin-top: 14px; }
.panelhead { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-weight: 900; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--tint, var(--gold)); }
.panelhead::after { content: ""; flex: 1; height: 2px; background: currentColor; opacity: .25; border-radius: 2px; }
.panelhead .trail { order: 3; color: var(--muted); letter-spacing: .04em; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: .06em; border: 1px solid color-mix(in srgb, var(--c, #fff) 55%, transparent); color: var(--c, #fff); background: rgba(0,0,0,.4); white-space: nowrap; }
.chip.solid { background: var(--c); color: #120c22; border-color: transparent; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.small { font-size: 13px; }
.tiny { font-size: 11px; }
.num { font-variant-numeric: tabular-nums; }
.grid { display: grid; gap: 14px; }
.row { display: flex; gap: 10px; align-items: center; }
.wraprow { display: flex; flex-wrap: wrap; gap: 6px; }
.spacer { flex: 1; }
.empty { padding: 28px 16px; text-align: center; color: var(--dim); font-weight: 700; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(255,255,255,.06); font-weight: 800; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: rgba(255,255,255,.12); transform: translateY(-1px); }
.btn.gold { background: var(--gold); color: #1b1230; border-color: transparent; }
.icon { width: 18px; height: 18px; display: inline-block; vertical-align: -3px; }
.back { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--muted); font-weight: 800; font-size: 14px; margin: 18px 0 0; }
.back:hover { color: var(--text); }

/* segmented controls / tabs */
.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg button { flex: 1 1 0; min-width: 0; padding: 10px 8px; border-radius: 12px; border: 1px solid var(--line2); background: var(--panel2); font-weight: 900; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; color: var(--muted); white-space: nowrap; }
.seg button.on { background: var(--gold); color: #1a1130; border-color: transparent; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line2); background: transparent; font-size: 12px; font-weight: 800; cursor: pointer; color: var(--muted); }
.filters button.on { color: #160f2b; background: var(--c, var(--gold)); border-color: transparent; }
input[type=search] { width: 100%; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line2); background: var(--panel); color: var(--text); font: inherit; }

/* meters */
.meter { position: relative; height: 10px; background: rgba(0,0,0,.45); border-radius: 99px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.meter > i { position: absolute; inset: 0 auto 0 0; width: var(--v, 0%); background: linear-gradient(90deg, color-mix(in srgb, var(--c, var(--gold)) 70%, #000), var(--c, var(--gold))); border-radius: 99px; transition: width .5s cubic-bezier(.2,.8,.2,1); }
.blocks { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; padding: 3px; background: #07050f; border-radius: 4px; }
.blocks i { height: 9px; background: rgba(255,255,255,.08); }
.blocks i.on { background: var(--c, var(--gold)); box-shadow: inset 0 2px 0 rgba(255,255,255,.35); }

/* tables */
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th { text-align: left; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 900; padding: 8px 10px; border-bottom: 1px solid var(--line); }
table.data td { padding: 9px 10px; border-bottom: 1px solid var(--line); }
table.data tr:last-child td { border-bottom: 0; }
table.data td.r, table.data th.r { text-align: right; }
.scrollx { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* skeleton loaders: the page's own layout, shimmering */
.skeleton, .sk { background: linear-gradient(90deg, rgba(255,255,255,.07) 25%, rgba(255,255,255,.14) 50%, rgba(255,255,255,.07) 75%); background-size: 200% 100%; animation: sk 1.4s ease-in-out infinite; border-radius: 12px; }
@keyframes sk { to { background-position: -200% 0; } }
.sk.line { height: 14px; border-radius: 6px; }
.sk.pill { height: 30px; border-radius: 999px; }
.sk.circ { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.sk.block { width: 100%; }
.skel .pagehead, .skel .panel, .skel .card { pointer-events: none; }
.skel .sk-row { grid-template-columns: 26px 40px minmax(0, 1fr) auto; }
.skel .sk-row .who .sk + .sk { display: block; }
.skel .sk-pod { gap: 10px; }
.skel .sk-card { border-color: var(--line); background: var(--panel); }
.skel .ucard.sk-card { display: block; }
.skel .chcard.sk-card { display: grid; align-content: end; }
.skel .lvl.sk-card { background: var(--panel); }
.skel .sk-board { background: linear-gradient(90deg, #2a4f26 25%, #35612f 50%, #2a4f26 75%); background-size: 200% 100%; animation: sk 1.4s ease-in-out infinite; }
.skel .chead::after { background: linear-gradient(180deg, rgba(13,10,26,.2), var(--ink)); }
@media (prefers-reduced-motion: reduce) { .skeleton, .sk, .skel .sk-board { animation: none; } }

/* ---------- unit cards ---------- */
.ugrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
@media (max-width: 420px) { .ugrid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.ucard { position: relative; display: flex; flex-direction: column; text-decoration: none; border-radius: 18px; padding: 10px 10px 12px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 22%, transparent), rgba(255,255,255,.02) 60%); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); transition: transform .25s, box-shadow .25s; overflow: hidden; }
.ucard:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.45), 0 0 0 1px color-mix(in srgb, var(--c) 60%, transparent); }
.ucard .pic { position: relative; aspect-ratio: 1; width: 100%; overflow: visible; }
.ucard .pic img { position: absolute; inset: 4%; width: 92%; height: 92%; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0,0,0,.5)); transition: transform .3s; }
.ucard:hover .pic img { transform: scale(1.06) translateY(-3px); }
.ucard b { display: block; font-size: 16px; line-height: 1.2; margin-top: auto; padding-top: 6px; }
.ucard .meta { display: flex; gap: 6px; align-items: center; margin-top: 4px; font-size: 11px; color: var(--muted); font-weight: 800; }
.ucard .rar { position: absolute; top: 8px; left: 8px; }
.ucard .el { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.5); color: var(--e); font-size: 13px; border: 1px solid color-mix(in srgb, var(--e) 60%, transparent); }

/* ---------- board canvas ---------- */
.board { position: relative; width: 100%; max-width: 420px; aspect-ratio: 10 / 15; margin: 0 auto; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 0 1px var(--line2); background: #2f5a2a; }
.board canvas { width: 100%; height: 100%; display: block; }

/* ---------- unit page ---------- */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.cols > div > .panel + .panel, .cols > .panel + .panel { margin-top: 14px; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } .cols > * + * { margin-top: 0; } }
.uhero { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(18px, 4vw, 48px); align-items: center; padding-top: 18px; }
@media (max-width: 760px) { .uhero { grid-template-columns: 1fr; } }
.ustage { position: relative; aspect-ratio: 1; border-radius: 26px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(60% 55% at 50% 58%, color-mix(in srgb, var(--e) 38%, transparent), transparent 70%), radial-gradient(120% 90% at 50% 100%, color-mix(in srgb, var(--c) 32%, #120c22), #0f0b1d);
  box-shadow: 0 30px 70px rgba(0,0,0,.55), inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent); }
.ustage::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 13%; height: 8%; border-radius: 50%; background: rgba(0,0,0,.45); filter: blur(6px); z-index: 0; }
.ufig { position: relative; z-index: 1; height: 80%; width: auto; max-width: 94%; aspect-ratio: 1; background: center / contain no-repeat; filter: drop-shadow(0 14px 22px rgba(0,0,0,.5)); image-rendering: auto; }
.reqs { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.reqs > div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; }
.reqs span { display: block; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.reqs b { font-size: 18px; }
.controls { display: grid; gap: 12px; margin-top: 16px; }
.ctl { display: grid; gap: 6px; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ctl b { color: var(--gold); font-size: 15px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--c, var(--gold)), rgba(255,255,255,.12)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid var(--c, var(--gold)); box-shadow: 0 2px 10px rgba(0,0,0,.5); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--c, var(--gold)); cursor: pointer; }
.starpick { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
.starpick button { padding: 8px 0; border-radius: 9px; border: 1px solid var(--line2); background: var(--panel2); color: var(--muted); font-weight: 900; font-size: 12px; cursor: pointer; }
.starpick button.on { background: var(--gold); color: #1a1130; border-color: transparent; }
.statrow { display: grid; grid-template-columns: 76px 1fr 64px; gap: 10px; align-items: center; margin-bottom: 9px; }
.statrow .lbl { font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.statrow b { text-align: right; font-size: 14px; }
.minis { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; margin-top: 12px; }
.minis > div { background: rgba(0,0,0,.25); border-radius: 10px; padding: 7px 10px; }
.minis span { display: block; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.skill { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 10px; border-radius: 12px; background: color-mix(in srgb, var(--k) 10%, transparent); border: 1.5px solid color-mix(in srgb, var(--k) 45%, transparent); margin-bottom: 8px; }
.sk-ico { width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; font-size: 22px; background: var(--k); color: #140d24; }
.sk-cap { color: var(--k); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
ul.fx { margin: 6px 0; padding-left: 18px; font-size: 13px; color: var(--muted); }
.flavor { font-size: 12px; color: var(--gold); display: grid; gap: 4px; margin-top: 6px; }
.sw { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.sw > div { background: color-mix(in srgb, var(--c) 9%, transparent); border-radius: 10px; padding: 10px; font-size: 13px; }
.sw b { display: block; color: var(--c); font-size: 11px; letter-spacing: .12em; margin-bottom: 4px; }
.prow { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding-bottom: 16px; }
.prow:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 38px; bottom: 0; width: 4px; background: rgba(255,255,255,.1); }
.prow.on:not(:last-child)::before { background: color-mix(in srgb, var(--gold) 85%, transparent); }
.pbadge { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-weight: 900; font-size: 13px; background: #282240; color: rgba(255,255,255,.55); border: 2px solid rgba(255,255,255,.15); }
.prow.on .pbadge { background: var(--gold); color: #1a1130; border-color: rgba(255,255,255,.8); }
.pbody { display: grid; gap: 3px; padding-top: 2px; }
.prow:not(.on) .pbody b { color: rgba(255,255,255,.7); }
.inline-skill { margin-top: 4px; font-size: 12px; font-weight: 800; padding: 6px 9px; border-radius: 8px; border: 1px solid rgba(255,138,61,.2); background: rgba(255,138,61,.05); color: rgba(255,255,255,.55); }
.inline-skill.on { border-color: rgba(255,138,61,.55); background: rgba(255,138,61,.13); color: #fff; }
.rankgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.rankcard { padding: 10px; border-radius: 12px; background: rgba(255,138,61,.07); border: 1px solid rgba(255,138,61,.2); display: grid; gap: 3px; }
.rankcard b { font-size: 18px; color: var(--orange); }
.rankcard.on { background: rgba(255,138,61,.2); border-color: var(--orange); }
.combo { padding: 12px; border-radius: 12px; background: rgba(94,230,138,.07); border: 1.5px solid rgba(94,230,138,.3); margin-bottom: 10px; display: grid; gap: 8px; }
.cstep { display: grid; grid-template-columns: 44px 1fr auto; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; }
.pips { color: var(--green); letter-spacing: 1px; font-size: 12px; }
.partners { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.partners a { flex: none; width: 66px; text-decoration: none; text-align: center; font-size: 10px; font-weight: 800; }
.partners img { width: 58px; height: 58px; margin: 0 auto; object-fit: contain; border-radius: 12px; background: color-mix(in srgb, var(--c) 22%, #120c22); border: 1.5px solid var(--c); padding: 3px; }
.partners span { display: block; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.elbig { width: 48px; height: 48px; flex: none; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--e); color: #120c22; }
tr.hl td { background: rgba(255,211,107,.12); }
.costscroll { max-height: 560px; overflow-y: auto; }

/* ---------- story ---------- */
.chead .cback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; z-index: -2; opacity: .55; transition: opacity .4s; }
.chead::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,10,26,.55), rgba(13,10,26,.35) 40%, var(--ink)); }
/* chapter carousel: swipe or drag sideways, snaps card by card */
.chcar { position: relative; margin: 6px calc(var(--gutter) * -1) 18px; }
.chcar::before, .chcar::after { content: ""; position: absolute; top: 0; bottom: 0; width: var(--gutter); z-index: 2; pointer-events: none; }
.chcar::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.chcar::after { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }
.chtrack { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); padding: 6px var(--gutter) 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; cursor: grab; }
.chtrack::-webkit-scrollbar { display: none; }
.chtrack.drag { cursor: grabbing; scroll-snap-type: none; }
.chcard { position: relative; flex: 0 0 auto; width: 212px; height: 124px; scroll-snap-align: start; border-radius: 18px; overflow: hidden; isolation: isolate; text-align: left; padding: 12px 14px; border: 2px solid rgba(255,255,255,.08); background: var(--panel); cursor: pointer; display: grid; align-content: end; gap: 2px; transition: transform .25s, border-color .25s, box-shadow .25s; }
.chcard .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; z-index: -2; opacity: .5; transition: opacity .3s, transform .5s; }
.chcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,10,26,.05), rgba(13,10,26,.55) 45%, rgba(13,10,26,.95)); }
.chcard .crest { position: absolute; top: 9px; right: 9px; width: 40px; height: 40px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.6)); }
.chcard .cnum { font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.chcard b { font-size: 16px; line-height: 1.15; }
.chcard .rng { font-size: 11px; font-weight: 700; color: var(--muted); }
.chcard:hover .bg { transform: scale(1.05); opacity: .7; }
.chcard.on { border-color: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 28%, transparent), 0 14px 30px rgba(0,0,0,.45); }
.chcard.on .bg { opacity: .9; }
.chcard.more { place-items: center; align-content: center; border-style: dashed; color: var(--muted); font-weight: 900; font-size: 13px; width: 120px; }
.chcard.more span { font-size: 28px; line-height: 1; }
.charrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(20,14,38,.92); color: var(--text); cursor: pointer; display: grid; place-items: center; font-size: 20px; font-weight: 900; line-height: 1; padding: 0 0 2px; box-shadow: 0 8px 20px rgba(0,0,0,.45); transition: background .2s, opacity .2s; }
.charrow:hover { background: var(--gold); color: #1a1130; }
.charrow.l { left: 6px; } .charrow.r { right: 6px; }
.charrow[disabled] { opacity: .25; pointer-events: none; }
@media (max-width: 760px) { .charrow { display: none; } .chcard { width: 176px; height: 112px; } .chcard .crest { width: 34px; height: 34px; } }
.chapterhead { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.crest { width: 64px; height: 64px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.5)); }
.goto { margin-left: auto; display: flex; gap: 6px; }
.goto input { width: 110px; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line2); background: var(--panel); color: var(--text); font: inherit; }
@media (max-width: 560px) { .goto { margin-left: 0; width: 100%; } .goto input { flex: 1; width: auto; } }
.bossrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
@media (max-width: 760px) { .bossrow { grid-template-columns: 1fr; } }
.bosscard { display: grid; grid-template-columns: 72px 1fr; gap: 10px; align-items: center; padding: 10px; border-radius: 16px; text-decoration: none; background: linear-gradient(135deg, color-mix(in srgb, var(--b) 22%, transparent), rgba(255,255,255,.02)); border: 1px solid color-mix(in srgb, var(--b) 45%, transparent); transition: transform .2s; }
.bosscard:hover { transform: translateY(-3px); }
.bosscard img { width: 72px; height: 72px; object-fit: cover; object-position: top; border-radius: 12px; background: rgba(0,0,0,.3); }
.lvlgrid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
@media (max-width: 560px) { .lvlgrid { grid-template-columns: repeat(5, 1fr); } }
.lvl { position: relative; aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; text-decoration: none; font-weight: 900; font-size: 14px; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 16%, var(--panel)), var(--panel) 70%); border: 1px solid color-mix(in srgb, var(--c) 22%, transparent); box-shadow: inset 0 -3px 0 rgba(0,0,0,.25); transition: transform .15s, background .2s; overflow: hidden; }
.lvl:hover { transform: scale(1.06); background: var(--panel2); z-index: 1; }
.lvl i { position: absolute; right: 3px; bottom: 3px; width: 34%; aspect-ratio: 1; background: center / contain no-repeat; }
.lvl.gate, .lvl.rush { background: color-mix(in srgb, var(--b) 25%, #120c22); border: 2px solid var(--b); }
.lvl.rush { box-shadow: 0 0 18px color-mix(in srgb, var(--b) 60%, transparent); }
.lvl img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: .85; }
.lvl.gate span, .lvl.rush span { position: relative; align-self: end; margin-bottom: 2px; padding: 0 6px; border-radius: 6px; background: rgba(0,0,0,.65); font-size: 12px; }
.levelgrid { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: clamp(16px, 3vw, 36px); align-items: start; }
.levelgrid > div:first-child { position: sticky; top: 76px; }
@media (max-width: 820px) { .levelgrid { grid-template-columns: 1fr; } .levelgrid > div:first-child { position: static; } }
.levelgrid .panel { margin-top: 14px; }
.bossbig { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; padding: 14px; border-radius: var(--radius); margin-bottom: 14px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--b) 24%, #150f28), #150f28 70%); border: 1px solid color-mix(in srgb, var(--b) 50%, transparent); }
.bossbig img { width: 120px; height: 140px; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0,0,0,.6)); }
.bossbig h3 { font-size: 22px; margin: 2px 0 6px; }
.rewards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.reward { background: rgba(0,0,0,.25); border-radius: 12px; padding: 10px 12px; display: grid; gap: 4px; }
.rw { display: flex; align-items: center; gap: 6px; }
.foes { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.foe { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: center; background: rgba(0,0,0,.22); border-radius: 12px; padding: 6px 10px 6px 6px; }
.foe img { width: 52px; height: 52px; object-fit: contain; }
.foestats { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--muted); font-weight: 700; }
.wave { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.wave:last-child { border-bottom: 0; }
.wn { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--panel2); font-weight: 900; font-size: 13px; }
.wave.extra .wn { background: rgba(41,214,255,.18); color: var(--cyan); }
.wave.last .wn { background: var(--red); color: #fff; }
.wg { display: flex; flex-wrap: wrap; gap: 6px; }
.wchip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px 2px 2px; border-radius: 999px; background: rgba(255,255,255,.06); font-size: 12px; font-weight: 800; }
.wchip img { width: 26px; height: 26px; object-fit: contain; border-radius: 50%; background: rgba(0,0,0,.3); }
.wchip.boss { background: color-mix(in srgb, var(--b) 25%, transparent); border: 1px solid var(--b); }
.wchip.boss img { object-fit: cover; object-position: top; }

/* ---------- endless / leaderboards ---------- */
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 560px) { .stats3 { grid-template-columns: 1fr; } }
.stats3 .card { padding: 12px 14px; display: grid; gap: 2px; }
.stats3 span { font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.stats3 b { font-size: 18px; line-height: 1.25; }
.prizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
@media (max-width: 560px) { .prizes { grid-template-columns: repeat(3, 1fr); } }
.prize { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 10px 6px; border-radius: 12px; background: rgba(0,0,0,.25); font-size: 12px; font-weight: 800; }
.prize img.icon { width: 40px !important; height: 40px !important; }
.prize .row { flex-direction: column; gap: 4px !important; }
.prize > b { font-size: 16px; color: var(--gold); }
tr.bossrow-t td { background: rgba(255,90,106,.09); }
tr.top1 td:first-child b { color: #ffd36b; } tr.top2 td:first-child b { color: #d7dbe8; } tr.top3 td:first-child b { color: #e39a5c; }

/* ranked rows */
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 900; font-size: 14px; letter-spacing: .02em; color: #fff;
  background: linear-gradient(145deg, hsl(var(--ah) 70% 58%), hsl(calc(var(--ah) + 40) 65% 38%)); box-shadow: inset 0 0 0 2px rgba(255,255,255,.18), 0 4px 12px rgba(0,0,0,.4); }
.avatar.big { width: 60px; height: 60px; font-size: 20px; }
.ranks { display: grid; gap: 6px; }
.lrow { display: grid; grid-template-columns: 30px 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 12px 9px 8px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid transparent; transition: background .2s; }
.lrow:hover { background: rgba(255,255,255,.06); }
.lrow .rk { text-align: center; font-weight: 900; font-size: 15px; color: var(--dim); font-variant-numeric: tabular-nums; }
.lrow.top1 { --m: #ffd36b; } .lrow.top2 { --m: #c9cfe0; } .lrow.top3 { --m: #e39a5c; }
.lrow.top1, .lrow.top2, .lrow.top3 { background: linear-gradient(90deg, color-mix(in srgb, var(--m) 16%, transparent), rgba(255,255,255,.03) 60%); border-color: color-mix(in srgb, var(--m) 30%, transparent); }
.lrow.top1 .rk, .lrow.top2 .rk, .lrow.top3 .rk { color: var(--m); font-size: 17px; }
.lrow .who { display: grid; gap: 2px; min-width: 0; }
.lrow .who b { font-size: 15px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lrow .sub { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: 12px; color: var(--muted); font-weight: 700; }
.lrow .val { text-align: right; display: grid; justify-items: end; line-height: 1.1; }
.lrow .val b { font-size: 18px; font-weight: 900; }
.lrow .val span { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.lrow .trailc { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.lrow .trailc img { width: 24px; height: 24px; }
.lrow:has(.trailc) { grid-template-columns: 30px 40px minmax(0, 1fr) auto auto; }
@media (max-width: 560px) {
  .lrow { grid-template-columns: 24px 36px minmax(0, 1fr) auto; gap: 9px; padding: 8px 10px 8px 6px; }
  .lrow:has(.trailc) { grid-template-columns: 24px 36px minmax(0, 1fr) auto; }
  .lrow .trailc { grid-column: 3; grid-row: 2; justify-self: start; }
  .lrow .who b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .avatar { width: 36px; height: 36px; font-size: 13px; }
  .lrow .val b { font-size: 16px; }
}
.wr { display: inline-flex; align-items: center; gap: 6px; }
.wr i { width: 44px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; display: inline-block; }
.wr i::after { content: ""; display: block; height: 100%; width: var(--w, 0%); background: var(--green); border-radius: 99px; }

/* podium */
.podium { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 10px; align-items: end; margin: 4px 0 18px; }
.pod { position: relative; text-align: center; padding: 18px 10px 14px; border-radius: 20px 20px 12px 12px; background: linear-gradient(180deg, color-mix(in srgb, var(--m) 26%, transparent), rgba(255,255,255,.02) 80%); border: 1px solid color-mix(in srgb, var(--m) 50%, transparent); display: grid; gap: 6px; justify-items: center; min-width: 0; }
.pod.p1 { --m: #ffd36b; padding-top: 26px; box-shadow: 0 18px 40px rgba(0,0,0,.4), 0 0 40px color-mix(in srgb, var(--m) 18%, transparent); } .pod.p2 { --m: #c9cfe0; } .pod.p3 { --m: #e39a5c; }
.pod .avatar { box-shadow: 0 0 0 3px var(--m), 0 10px 24px rgba(0,0,0,.5); }
.pod.p1 .avatar { width: 72px; height: 72px; font-size: 24px; }
.medal { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 14px; background: var(--m); color: #1a1130; box-shadow: 0 4px 14px color-mix(in srgb, var(--m) 60%, transparent); }
.pod.p1 .medal { width: 36px; height: 36px; font-size: 17px; top: -16px; }
.pname { font-weight: 900; font-size: 15px; line-height: 1.2; max-width: 100%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.pval { font-size: 20px; font-weight: 900; color: var(--m); }
.pval .unit { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); font-weight: 800; }
.psub { font-size: 12px; color: var(--muted); font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
@media (max-width: 560px) { .pod { padding: 16px 6px 12px; } .pname { font-size: 13px; } .pval { font-size: 17px; } .pod.p1 .avatar { width: 60px; height: 60px; font-size: 20px; } .pod.p2 .avatar, .pod.p3 .avatar { width: 48px; height: 48px; font-size: 16px; } }

/* leaderboard tabs with icons */
.boardtabs button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 12px; }
.boardtabs img { width: 22px; height: 22px; object-fit: contain; }
@media (max-width: 480px) { .boardtabs button { padding: 9px 6px; font-size: 11px; gap: 5px; } .boardtabs img { width: 18px; height: 18px; } }
.boardhead { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; }
.boardhead .h { font-weight: 900; font-size: clamp(20px, 3vw, 26px); letter-spacing: -.01em; }
.boardhead .d { color: var(--muted); font-size: 14px; }
.boardhead .cnt { margin-left: auto; }

.league { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 12px; color: var(--h); white-space: nowrap; }
.league img { width: 24px; height: 24px; object-fit: contain; }
.ladder { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.rung { flex: 0 0 auto; width: 118px; scroll-snap-align: start; display: grid; justify-items: center; text-align: center; gap: 4px; padding: 12px 8px 10px; border-radius: 14px; background: linear-gradient(180deg, color-mix(in srgb, var(--h) 18%, transparent), rgba(255,255,255,.02)); border: 1px solid color-mix(in srgb, var(--h) 35%, transparent); }
.rung img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); }
.rung b { color: var(--h); font-size: 12px; line-height: 1.2; }
.rung.cur { box-shadow: 0 0 0 2px var(--h), 0 0 24px color-mix(in srgb, var(--h) 40%, transparent); }

/* endless header strip */
.estrip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
@media (max-width: 640px) { .estrip { grid-template-columns: 1fr 1fr; } .estrip > :first-child { grid-column: 1 / -1; } }
.estrip .card { padding: 12px 14px; display: grid; gap: 2px; align-content: start; }
.estrip span.k { font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.estrip b { font-size: 18px; line-height: 1.25; }
.estrip .card.best { background: linear-gradient(135deg, rgba(255,211,107,.18), rgba(255,255,255,.02)); border-color: rgba(255,211,107,.35); }
.estrip .card.best b { color: var(--gold); font-size: 26px; }

/* ---------- heroes (kadro v1 tokens) ---------- */
.ucard.tok .pic { border-radius: 14px; background: center / cover no-repeat; box-shadow: inset 0 -30px 40px rgba(0,0,0,.35); }
.ucard.tok .pic img { inset: 6% 6% 4%; width: 88%; height: 90%; }
.ugrid.mini { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.tokstage { background: center / cover no-repeat; }
.tokstage::after { left: 24%; right: 24%; bottom: 15%; }
.tokfig { position: relative; z-index: 1; width: 66%; height: 66%; object-fit: contain; filter: drop-shadow(0 14px 22px rgba(0,0,0,.55)); transition: transform .12s ease-out; animation: tokbob 1.6s ease-in-out infinite; }
.tokfig.recoil { animation: none; transform: translateX(-10px) scale(1.02); }
@keyframes tokbob { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-2%) scale(1.02); } }
.tokfx { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.tokfx img { position: absolute; opacity: 0; }
.tokfx .proj { left: 58%; top: 44%; width: 16%; }
.tokfx.go .proj { animation: tokshot .32s linear forwards; }
@keyframes tokshot { 0% { opacity: 1; transform: translateX(0); } 90% { opacity: 1; } 100% { opacity: 0; transform: translateX(170%); } }
.tokfx .hit { right: 3%; top: 34%; width: 26%; }
.tokfx .hit.skill { right: 0; top: 18%; width: 52%; }
.tokfx.go .hit { animation: tokhit .55s ease-out .28s forwards; }
.tokfx.go .hit.skill { animation-duration: .9s; }
@keyframes tokhit { 0% { opacity: 1; transform: scale(.4); } 70% { opacity: 1; transform: scale(1.25); } 100% { opacity: 0; transform: scale(1.4); } }
.tokplay { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); z-index: 3; font-size: 12px; padding: 7px 14px; }
.hskill.off { opacity: .55; }
.hskill .sk-ico.tokfxbtn { width: 64px; height: 64px; padding: 4px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--k) 50%, transparent); background: rgba(0,0,0,.35); cursor: pointer; flex: 0 0 auto; }
.hskill .sk-ico.tokfxbtn img { width: 100%; height: 100%; object-fit: contain; }
.hskill .sk-ico.tokfxbtn:hover { box-shadow: 0 0 0 2px var(--k); }
.looks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 560px) { .looks { grid-template-columns: 1fr; } }
.looks figure { margin: 0; border-radius: 16px; overflow: hidden; background: center / cover no-repeat; display: flex; flex-direction: column; }
.looks figure img { width: 70%; aspect-ratio: 1; object-fit: contain; margin: 10px auto 0; filter: drop-shadow(0 10px 14px rgba(0,0,0,.5)); }
.looks figcaption { background: rgba(8,6,20,.78); padding: 8px 10px; display: grid; gap: 2px; }
.regionrow { display: grid; grid-template-columns: minmax(140px, 260px) 1fr; gap: 14px; align-items: center; }
.regionrow img { width: 100%; border-radius: 14px; }
@media (max-width: 560px) { .regionrow { grid-template-columns: 1fr; } }
blockquote.quote { margin: 10px 0 0; padding: 8px 14px; border-left: 3px solid var(--tint, var(--gold)); font-style: italic; color: var(--muted); }
table.data tr.on td { background: color-mix(in srgb, var(--gold) 14%, transparent); }
.foetok { width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0,0,0,.5)); }
.hskill { grid-template-columns: 64px 1fr; align-items: center; }

/* Launch popup (Site.launchPopup) */
.launch { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(8, 5, 18, .78); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s ease; }
.launch.in { opacity: 1; }
.launch.out { opacity: 0; }
.launchcard { position: relative; width: min(520px, 100%); text-align: center; padding: 30px 26px 26px; border-radius: 26px; background: radial-gradient(120% 90% at 50% 0%, #3a2463 0%, var(--panel) 55%, var(--deep) 100%); border: 1px solid rgba(255, 211, 107, .45); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(255, 211, 107, .18); transform: translateY(18px) scale(.94); transition: transform .35s cubic-bezier(.2, .9, .25, 1.15); }
.launch.in .launchcard { transform: none; }
.launchx { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; }
.launchx:hover { background: rgba(255, 255, 255, .16); }
.launchcrest { width: 132px; height: 132px; margin: -84px auto 8px; display: block; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .55)); animation: launchfloat 3.2s ease-in-out infinite; }
.launchkicker { color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.launchdate { margin: 6px 0 2px; font-size: clamp(44px, 12vw, 76px); font-weight: 900; line-height: 1; letter-spacing: .02em; background: linear-gradient(180deg, #fff3c4 0%, var(--gold) 55%, #ff9a3d 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 18px rgba(255, 180, 60, .35)); }
.launchcard h2 { margin: 8px 0 8px; font-size: clamp(22px, 5vw, 30px); }
.launchcard p { margin: 0 auto 16px; max-width: 40ch; color: var(--muted); line-height: 1.5; }
.launchleft { display: inline-block; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 211, 107, .14); border: 1px solid rgba(255, 211, 107, .4); color: var(--gold); font-weight: 900; }
.launchgo { display: flex; justify-content: center; width: 100%; padding: 14px; font-size: 16px; }
@keyframes launchfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .launchcrest { animation: none; } .launch, .launchcard { transition: none; } }
