/* OPBlocks network site. One file, no build step.
   Indigo panels with the logo's candy colours as accents, rounded type and chunky buttons.
   Each game sets --accent on <body> or on a card; anything tinted reads it. */
:root {
  --bg: #100e1f; --band: #15122a; --panel: #1b1836; --deep: #0c0a19; --slab: #2a2552; --line: #2c2850; --line2: #47407c;
  --text: #cbc7e2; --soft: #ece9fb; --title: #fff; --gold: #ffc93c; --gold-ink: #2a1a00; --gold-lo: #c4860c;
  --pink: #ff5fa2; --green: #5df2b0; --blue: #63cdff; --discord: #5b64ea; --accent: var(--gold);
  --display: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r: 10px; --r-lg: 16px; --wrap: 1200px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 500 16px/1.65 var(--body); color: var(--text); background: var(--bg);
  background-image: radial-gradient(900px 480px at 8% -6%, rgba(255, 95, 162, .13), transparent 70%), radial-gradient(900px 480px at 94% -8%, rgba(99, 205, 255, .11), transparent 70%); background-repeat: no-repeat; }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; flex: none; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 900; line-height: 1.15; color: var(--title); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); letter-spacing: -.005em; }
h3 { font-size: 1.08rem; font-weight: 800; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 999px; }
code { font-family: var(--mono); font-size: .9em; }
strong { color: var(--soft); }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { width: min(900px, 100% - 40px); }
.center { text-align: center; justify-content: center; }
.muted { color: #9a94bf; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--gold-ink); padding: 10px 16px; border-radius: var(--r); z-index: 100; font-weight: 700; }
.skip:focus { left: 12px; }
.eyebrow { margin: 0 0 10px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); }
.eyebrow a { color: inherit; }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }

/* ---------- buttons */
.btn { --b: var(--gold); --b-lo: var(--gold-lo); --b-ink: var(--gold-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 12px;
  font: 800 .98rem var(--display); white-space: nowrap; text-decoration: none !important;
  color: var(--b-ink); background: var(--b); box-shadow: 0 4px 0 var(--b-lo); transition: transform .1s, box-shadow .1s, filter .12s; }
.btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--b-lo); }
.btn-dark { --b: #2a2552; --b-lo: #17142f; --b-ink: #fff; box-shadow: 0 4px 0 var(--b-lo), inset 0 0 0 1.5px var(--line2); }
.btn-discord { --b: var(--discord); --b-lo: #3d45b0; --b-ink: #fff; }
.btn-accent { --b: var(--accent); --b-lo: color-mix(in srgb, var(--accent) 62%, #000); --b-ink: #1b1024; }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0 15px; font-size: .9rem; border-radius: 11px; }
.btn-xs { min-height: 36px; padding: 0 8px; font-size: .84rem; border-radius: 10px; box-shadow: 0 3px 0 var(--b-lo); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.tag { display: inline-flex; align-items: center; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.tag-soon { color: #2a0d1c; background: linear-gradient(90deg, var(--pink), #ffb347); border: 0; margin-left: 8px; }
.pill { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 2px 7px; border-radius: 999px; background: var(--green); color: #14290a; }
.chip, .ip-tag { display: inline-flex; align-items: center; font: 600 .84rem var(--mono); padding: 4px 11px; border-radius: 9px; white-space: nowrap; color: var(--soft); background: var(--deep); border: 1px dashed var(--line2); transition: border-color .12s, color .12s; }
.chip:hover, button.ip-tag:hover { border-color: var(--gold); color: #fff; }
.ip-tag-off { color: #9a94bf; font-weight: 600; white-space: normal; }
.mode > div { min-width: 0; }
.ip-tag-label { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9a94bf; }
.ip-link { padding: 0; border: 0; background: none; color: var(--blue); font-weight: 700; }
.ip-link:hover { text-decoration: underline; }
.online { display: none; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; color: var(--text); padding: 3px 9px; border-radius: 5px; background: var(--deep); border: 1px solid var(--line); white-space: nowrap; }
.online.on { display: inline-flex; }
.online i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.online b { color: var(--green); }
.copy-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--r); border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); background: color-mix(in srgb, var(--accent) 10%, var(--deep)); color: var(--accent); }
.copy-ico:hover { background: color-mix(in srgb, var(--accent) 22%, var(--deep)); }

/* ---------- header */
.topbar { background: linear-gradient(90deg, #2a1466, #5a1d6e 50%, #1c2f75); font-size: .9rem; font-weight: 700; color: #fff; text-align: center; padding: 8px 0; }
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; }
.topbar a { display: inline-flex; align-items: center; gap: 5px; color: var(--gold); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(16, 14, 31, .84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.brand img { width: 168px; height: auto; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .45)); }
.nav { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; border: 0; border-radius: 10px; background: none; font: 800 .98rem var(--body); color: var(--soft); text-decoration: none !important; }
.nav-link:hover, .nav-link[aria-current], .has-menu.open > .nav-link { background: rgba(255, 255, 255, .08); }
.nav-link[aria-current] { color: var(--gold); }
.nav-item { position: relative; }
.menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 280px; padding: 10px; border-radius: var(--r-lg); background: #17143a; border: 1px solid var(--line2); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .14s, transform .14s, visibility .14s; }
.menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-menu.open > .menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 981px) { .has-menu:hover > .menu { opacity: 1; visibility: visible; transform: none; } }
.menu > a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--soft); font-weight: 700; text-decoration: none; }
.menu > a:hover { background: rgba(255, 255, 255, .08); }
.menu > a i { width: 9px; height: 9px; border-radius: 3px; background: var(--accent); flex: none; }
.menu .menu-foot { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; color: var(--gold); justify-content: space-between; }
.mega { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; width: min(680px, 92vw); padding: 16px; }
.mega .menu-foot { grid-column: 1 / -1; }
.menu-title { margin: 4px 10px 8px; font: 900 1.05rem var(--display); color: #fff; }
.menu-title small { display: block; font: 800 .72rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: #9a93c4; }
.menu-game { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; color: var(--soft); text-decoration: none !important; }
.menu-game:hover { background: color-mix(in srgb, var(--accent) 16%, transparent); }
.menu-game strong { display: flex; align-items: center; color: #fff; font-size: 1rem; }
.menu-game small { display: block; color: #a9a3cf; font-size: .82rem; line-height: 1.3; }
.hdr-cta { display: flex; align-items: center; gap: 10px; }
.play { flex-direction: column; align-items: flex-start; gap: 0; padding: 0 14px; }
.play-top { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.play-ip { font: 700 .84rem var(--mono); }
.burger { display: none; padding: 8px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; }

/* ---------- art */
.art { display: block; position: relative; }
.art img, .art svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.art-xs { width: 38px; height: 38px; flex: none; }
.art-hub { width: 96px; height: 96px; margin: 0 auto 14px; }
.art-hub.art-wide { width: 230px; }

/* ---------- home hero and the three network cards */
.hero { padding: clamp(34px, 5vw, 60px) 0 clamp(30px, 4vw, 46px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 36px; align-items: center; }
.hero h1 span { background: linear-gradient(92deg, var(--gold), var(--pink) 55%, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .band-lede { margin: 0; text-align: left; max-width: 60ch; }
.hero .ip-pair { max-width: 600px; margin-top: 24px; }
.hero-art { display: grid; place-items: center; position: relative; }
.hero-art::before { content: ""; position: absolute; inset: 6% 2%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 95, 162, .3), transparent); filter: blur(22px); z-index: -1; }
.hero-art img { width: min(440px, 100%); filter: drop-shadow(0 20px 34px rgba(0, 0, 0, .5)); }
.hero-live { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 20px 0 0; font-size: .92rem; font-weight: 700; color: #a9a3cf; }
.top-cards { padding: 0 0 56px; }
.net-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.net-card { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--accent); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.net-card:hover { transform: translateY(-4px); box-shadow: 0 22px 46px -22px color-mix(in srgb, var(--accent) 60%, transparent); }
.net-art { position: relative; height: 170px; padding: 34px 24px 12px; background: radial-gradient(closest-side at 50% 60%, color-mix(in srgb, var(--accent) 32%, transparent), transparent), linear-gradient(180deg, color-mix(in srgb, var(--accent) 12%, var(--deep)), var(--panel)); }
.net-art .art { width: 100%; height: 100%; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .5)); }
.net-art .online { position: absolute; top: 10px; right: 10px; z-index: 1; }
.art-trio { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 14px; height: 100%; align-items: center; }
.net-body { display: flex; flex-direction: column; flex: 1; padding: 14px 20px 18px; }
.net-body h2 { font-size: 1.6rem; margin: 0 0 8px; }
.net-body .ip-tag { align-self: flex-start; }
.net-body > p { margin: 12px 0 16px; flex: 1; }
.net-links { display: flex; flex-wrap: nowrap; white-space: nowrap; gap: 4px 18px; margin: 16px 0 0 !important; flex: none !important; font-size: .9rem; font-weight: 800; }
.net-links a { color: var(--accent); }

/* ---------- bands */
.band { position: relative; padding: 68px 0; }
.band.alt { background: var(--band); border-block: 1px solid var(--line); }
.band.tight { padding: 0 0 20px; }
.band-title { text-align: center; margin-bottom: 14px; }
.band-lede { max-width: 760px; margin: 0 auto 32px; text-align: center; font-size: 1.06rem; color: #d9d5ee; }
.band-lede.left { margin: 0; text-align: left; max-width: 70ch; }
.band-lede a { font-weight: 600; }
.intro h1 { margin-bottom: 16px; }
.intro .band-lede { margin-bottom: 0; }
.ip-panel { margin: 30px auto 0; max-width: 760px; padding: 16px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); }
.ip-panel > p { margin: 14px 8px 12px; font-size: .86rem; }
.ip-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; text-align: left; }
.ip { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 10px 10px 10px 16px; border-radius: 13px; background: var(--deep); border: 1.5px dashed var(--line2); position: relative; }
.ip-label { font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9a94bf; }
.ip-copy { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.ip-copy code { font: 700 1rem var(--mono); color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ip-btn { flex: none; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 11px; border-radius: 9px; color: var(--gold-ink); background: var(--gold); border: 1px solid var(--gold); }
.ip-copy:hover .ip-btn { color: var(--gold-ink); background: var(--gold); border-color: var(--gold); }
.ip-copy.copied .ip-btn { color: #14290a; background: var(--green); border-color: var(--green); }
.ip-note { font-size: .74rem; color: #9a94bf; }
.ip-none { color: var(--soft); font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card, .panel { padding: 18px 20px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); }
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; font-size: .9rem; }
.card p + p { margin-top: 8px; }
.panel h2 { font-size: 1.25rem; margin-bottom: 6px; }
.panel.accent-top { border-top: 2px solid var(--accent); }
.mode { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--accent); transition: border-color .12s, transform .12s; }
.mode:hover { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); }
.mode-art { flex: none; width: 54px; height: 54px; }
.mode-art .art { width: 100%; height: 100%; }
.mode h3 { font: 900 1.12rem var(--display); margin-bottom: 2px; }
.mode h3 a { color: #fff; }
.mode p { margin: 0 0 8px; font-size: .92rem; line-height: 1.5; }
.mode .ip-tag { font-size: .78rem; padding: 3px 9px; }
.guide-col { display: flex; flex-direction: column; padding: 18px 22px 20px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--accent); }
.guide-col h3 { font: 900 1.15rem var(--display); color: var(--accent); margin-bottom: 8px; }
.guide-col ul, .link-cols ul, .side-links, .site-footer ul { list-style: none; margin: 0; padding: 0; }
.guide-col li a, .link-cols li a { display: block; padding: 9px 0; color: var(--soft); font-weight: 700; font-size: .96rem; line-height: 1.4; border-bottom: 1px solid var(--line); }
.guide-col li a:hover, .link-cols li a:hover { color: var(--accent); text-decoration: none; }
.guide-col .more { margin-top: auto; padding-top: 14px; }
.link-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 26px; }
.stats { margin-top: 6px; }
.stat { padding: 22px 16px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); text-align: center; }
.stat strong { display: block; font: 900 1.9rem var(--display); margin-bottom: 2px; background: linear-gradient(92deg, var(--gold), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { font-size: .84rem; }
.glance { display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, .58fr); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--deep); }
.ip-rows { display: grid; }
.ip-row { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--panel)); border-bottom: 1px solid var(--line); }
.ip-row:last-child { border-bottom: 0; }
.ip-row > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ip-row span { font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.ip-row strong { font: 700 1.05rem var(--mono); color: #fff; overflow: hidden; text-overflow: ellipsis; }
.ip-row .ip-row-note { align-self: flex-start; margin-top: 4px; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--line2); color: var(--soft); letter-spacing: 0; text-transform: none; font-weight: 600; }
.facts { display: grid; margin: 0; align-content: start; }
.facts > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 11px 18px; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9a94bf; padding-top: 3px; }
.facts dd { margin: 0; color: #fff; font-weight: 500; }
.facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.facts-grid > div, .facts-grid > div:last-child { grid-template-columns: auto 1fr; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--deep); }
.facts-grid dt { color: var(--soft); letter-spacing: 0; text-transform: none; font-size: .86rem; padding: 0; }
.facts-grid dt::after { content: ":"; }
.facts-grid dd { color: var(--text); font-size: .86rem; }
.ip-card h3 a { color: #fff; }
.faq { border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 15px 46px 15px 18px; font-weight: 700; color: #fff; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; font: 900 1.4rem var(--display); color: var(--pink); transition: rotate .15s; }
.faq[open] summary::after { rotate: 45deg; }
.faq summary h3 { display: inline; font: inherit; margin: 0; }
.faq > :not(summary) { margin: 0 18px 15px; }
.cta { background: var(--deep); border-top: 1px solid var(--line); }
.cta .band-lede { margin-bottom: 0; }

/* ---------- game hub */
.hub-hero { padding: 20px 0 20px; }
.hub-panel { position: relative; padding: 38px 28px 34px; text-align: center; border-top: 3px solid var(--accent); border-radius: var(--r-lg); border: 1px solid var(--line);
  background: radial-gradient(700px 260px at 50% -10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%), var(--panel); }
.hub-panel > .online { position: absolute; top: 14px; right: 14px; }
.hub-panel .eyebrow { color: var(--accent); }
.hub-panel h1 { margin-bottom: 14px; }
.hub-panel .band-lede { margin-bottom: 0; }
.ip-tags { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 18px 0 0; }
.hub-note { max-width: 640px; margin: 12px auto 0; font-size: .84rem; }
.feature { border-top: 3px solid var(--accent); }
.feature h3 { font-size: 1.05rem; }
.shots { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.shots figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.shots img { width: 100%; height: 100%; object-fit: cover; }
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: start; }
.h-small { font-size: 1.25rem; margin-bottom: 14px; }

/* ---------- steps, commands, callouts */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 8px; }
.steps > li { counter-increment: step; position: relative; padding: 14px 18px 14px 62px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); }
.steps > li::before { content: counter(step); position: absolute; left: 16px; top: 13px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px;
  font: 900 1rem var(--display); color: #1b1024; background: linear-gradient(180deg, var(--pink), var(--gold)); }
.steps h3 { margin-bottom: 3px; }
.steps > li > :last-child { margin-bottom: 0; }
.cmds { display: grid; gap: 6px; }
.cmd { display: grid; grid-template-columns: minmax(140px, max-content) 1fr; gap: 14px; align-items: baseline; padding: 9px 14px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.cmd code { color: var(--gold); font-weight: 700; }
.cmd span { font-size: .9rem; }
.callout { margin: 20px 0; padding: 14px 18px; border-radius: var(--r-lg); border: 1px solid var(--line); border-left: 3px solid var(--c, var(--blue)); background: var(--panel); }
.callout > strong { display: block; margin-bottom: 3px; color: var(--c, var(--blue)); }
.callout > :last-child { margin-bottom: 0; }
.callout-tip { --c: var(--green); }
.callout-warning { --c: #ff8a5c; }

/* ---------- article */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 14px; padding: 0; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9a94bf; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: #9a94bf; }
.crumbs a:hover { color: #fff; }
.page-head { padding: 34px 0 30px; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent), var(--band); border-bottom: 1px solid var(--line); }
.page-head .eyebrow { color: var(--accent); }
.page-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); max-width: 26ch; margin-bottom: 12px; }
.article-meta { margin: 12px 0 0; color: #9a94bf; font-size: .78rem; font-weight: 600; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding-block: 34px 64px; align-items: start; }
.article-side { position: sticky; top: 92px; display: grid; gap: 12px; max-height: calc(100vh - 110px); overflow: auto; scrollbar-width: thin; scrollbar-color: var(--line2) transparent; }
.toc, .side-card { padding: 16px 18px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); }
.toc h2, .side-card h2 { font-size: 1rem; margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 5px 10px; border-left: 2px solid var(--line); color: var(--text); font-size: .86rem; }
.toc a:hover, .toc a.on { color: #fff; border-left-color: var(--accent); text-decoration: none; }
.side-card .btn-row { margin-top: 10px; gap: 8px; }
.side-card .ip + .ip { margin-top: 8px; }
.side-links a { display: block; padding: 7px 0; color: var(--soft); font-weight: 600; font-size: .86rem; border-top: 1px solid var(--line); }
.side-links li:first-child a { border-top: 0; }
.prose { min-width: 0; font-size: 1.04rem; line-height: 1.75; color: #dad6ee; }
.prose > :first-child, .prose > section:first-child > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.55rem; margin: 2em 0 .7em; padding-left: 14px; border-left: 4px solid var(--accent); }
.prose h3 { font-size: 1.05rem; margin: 1.6em 0 .4em; }
.prose h4 { font-size: .95rem; margin: 1.2em 0 .3em; }
.prose a { font-weight: 600; }
.prose ul, .prose ol:not(.steps) { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose :not(pre) > code { padding: 2px 6px; border-radius: 999px; background: var(--deep); border: 1px solid var(--line); color: #fff; }
.prose .cmd code { padding: 0; background: none; border: 0; color: var(--gold); }
.prose pre { padding: 14px 16px; border-radius: var(--r-lg); background: var(--deep); border: 1px solid var(--line); overflow: auto; }
.prose blockquote { margin: 1.2em 0; padding: 2px 16px; border-left: 3px solid var(--accent); color: var(--text); }
.prose img { border-radius: var(--r-lg); border: 1px solid var(--line); }
.prose figure, .prose .shot { margin: 1.3em 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose .card h3, .prose .steps h3, .prose .card h2 { margin-top: 0; }
.prose .card h2 { font-size: 1rem; padding: 0; border: 0; }
.prose .grid { margin: 1em 0; }
.prose .cmds { margin: 1em 0 1.4em; }
.prose .btn-row { margin: 16px 0 8px; }
.prose a.btn, .prose a.btn:hover { text-decoration: none; }
.prose a.btn-ghost { --b: #313235; --b-hi: #45464b; --b-lo: #26272a; --b-ink: #fff; }
.prose dl:not(.facts):not(.rules) { margin: .6em 0 0; font-size: .86rem; }
.prose dl:not(.facts):not(.rules) dt { margin-top: 10px; color: #9a94bf; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.prose dl:not(.facts):not(.rules) dd { margin: 5px 0 0; display: flex; flex-wrap: wrap; gap: 5px; }
.prose > .ip { display: inline-flex; width: min(100%, 300px); margin: 0 10px 16px 0; vertical-align: top; }
.prose .facts { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); margin: 1em 0 1.4em; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.card-head h3 { margin: 0 !important; }
.badge { flex: none; font-size: .68rem; font-weight: 700; letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.prose span[style*="background"] { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .74rem; font-weight: 700; color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .45); }
.step-head { display: flex; align-items: center; gap: 12px; margin: 2em 0 .7em; }
.step-head h2 { margin: 0; padding: 0; border: 0; }
.num { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: var(--r); font: 900 1rem var(--display); color: #1b1024; background: linear-gradient(180deg, var(--pink), var(--gold)); }
.table-wrap { overflow-x: auto; margin: 1.2em 0; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }
thead th { background: var(--deep); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: #a9a3cf; white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 700; color: #fff; }
caption { caption-side: bottom; padding: 10px; font-size: .8rem; color: #9a94bf; }
.prose table:has(caption) th[style], .prose table:has(caption) td { text-align: center; padding: 7px 6px; }
.prose table th[style] { color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .5); }
.ip-table th a { color: var(--accent); font: 900 1.05rem var(--display); }
.video { position: relative; aspect-ratio: 16 / 9; margin: 1.3em 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hl-y { color: var(--gold); font-weight: 600; }
.hl-r { color: #ff8f8f; font-weight: 600; }
.hl-g { color: var(--green); font-weight: 600; }
.hl-p { color: #cdb3ff; font-weight: 600; }
a.card { display: flex; flex-direction: column; gap: 8px; color: var(--text); text-decoration: none; transition: border-color .12s, background .12s; }
a.card:hover { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); background: #212226; }
.guide .tag { align-self: flex-start; }
.guide h3 { margin: 0; color: #fff; }

/* ---------- lists, rules, vote, news */
.list-page { padding-block: 34px 64px; }
.list-page > .band-title { margin-top: 40px; text-align: left; }
.list-group + .list-group { margin-top: 44px; }
.list-group h2 { font-size: 1.5rem; padding-left: 14px; border-left: 4px solid var(--accent); }
.list-group > p { margin-top: -4px; max-width: 80ch; }
.rules { display: grid; gap: 6px; margin: 0; }
.rule { padding: 12px 16px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); }
.rule dt { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 700; color: #fff; }
.rule dd { margin: 3px 0 0; font-size: .92rem; }
.punish { padding: 12px 16px; margin-bottom: 10px; border-radius: var(--r-lg); border: 1px solid var(--line); border-left: 3px solid var(--gold); background: var(--deep); }
.punish strong { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.punish p { margin: 2px 0 0; }
.vote-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.vote { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); color: #fff; font-weight: 700; text-decoration: none !important; }
.vote:hover { border-color: var(--accent); }
.vote svg { margin-left: auto; color: var(--accent); }
.vote-n { width: 30px; height: 30px; display: grid; place-items: center; border-radius: var(--r); font: 800 .9rem var(--display); color: #1d1609; background: var(--accent); }
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.news-list a { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 12px 16px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); color: #fff; font-weight: 700; text-decoration: none; }
.news-list a:hover { border-color: var(--gold); }
.news-list time { color: #9a94bf; font-weight: 600; }

/* ---------- footer, toast */
.site-footer { padding: 48px 0 30px; background: var(--deep); border-top: 1px solid var(--line); font-size: .88rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 30px; }
.foot-brand img { width: 150px; margin-bottom: 12px; }
.foot-ip { line-height: 2.3; font-weight: 600; }
.site-footer h2 { font-size: 1rem; margin-bottom: 10px; }
.site-footer li a { display: block; padding: 4px 0; color: var(--text); }
.site-footer li a:hover { color: #fff; }
.legal { margin: 32px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: #7d78a3; font-size: .76rem; max-width: 110ch; }
.toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 20px; padding: 11px 18px; border-radius: var(--r); font-weight: 700; color: #14290a; background: var(--green); box-shadow: 0 14px 34px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: opacity .18s, translate .18s; z-index: 90; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; translate: -50% 0; }

/* ---------- responsive */
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-grid { grid-template-columns: repeat(3, 1fr); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 980px) {
  .burger { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 18px; margin: 0; background: var(--bg); border-bottom: 1px solid var(--line2); max-height: calc(100vh - 110px); overflow-y: auto; display: none; z-index: 5; }
  .nav.open { display: flex; box-shadow: 0 30px 60px rgba(0, 0, 0, .7); }
  .nav-link { width: 100%; justify-content: space-between; padding: 12px; font-size: .9rem; }
  .menu { position: static; opacity: 1; visibility: visible; display: none; box-shadow: none; border: 0; background: var(--deep); min-width: 0; width: auto; margin: 2px 0 8px; }
  .has-menu.open > .menu { display: block; }
  .mega { grid-template-columns: minmax(0, 1fr); }
  .has-menu.open > .mega { display: grid; }
  .hdr-cta { margin-left: auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { order: -1; }
  .hero-art img { width: min(300px, 70%); }
  .net-grid, .grid-3, .link-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .glance { grid-template-columns: minmax(0, 1fr); }
  .article-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .article-side { position: static; max-height: none; order: -1; }
  .article-side .side-card { display: none; }
  .shots { grid-template-columns: 1fr 1fr; }
  .shots figure:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .wrap, .narrow { width: min(var(--wrap), 100% - 28px); }
  .hide-sm, .play-top { display: none; }
  .brand img { width: 120px; }
  .hdr { gap: 8px; min-height: 58px; }
  .band { padding: 44px 0; }
  .net-grid, .grid-2, .grid-3, .grid-4, .link-cols, .ip-pair, .facts-grid { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div, .cmd, .news-list a { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .btn-row .btn { flex: 1 1 auto; }
  .hub-panel { padding: 44px 16px 22px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
