/* M4: M3 taken further. Same structure; switchable hero, live-demo modal, richer widgets. */
@font-face { font-family: "Sora"; src: url("/fonts/m1-sora.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --bg: #0a0f1a;
  --bg-2: #0d1321;
  --card: #121826;
  --card-2: #182031;
  --line: rgba(160, 180, 220, .09);
  --line-2: rgba(160, 180, 220, .16);
  --text: #eef0f5;
  --text-2: #9aa1b2;
  --text-3: #6b7285;
  --acc: #22ccf2;
  --acc-ink: #03151b;
  --acc-soft: rgba(34, 204, 242, .12);
  --pink: #ff5c9a; --amber: #ffb547; --green: #34d399; --violet: #9b8cff; --red: #ff5d52;
  /* tokens read by /assets/js/charts.js */
  --s1: var(--acc); --s2: #ff7a45; --s3: #34d399; --s4: #ffb547; --s5: #ff5c9a; --s6: #9b8cff;
  --q0: #151c2b; --q1: #0e3a47; --q2: #0f5163; --q3: #11687f; --q4: #15809b; --q5: #1a99b8; --q6: #22b3d6; --q7: #22ccf2;
  --ink: var(--text); --ink-2: var(--text-2); --ink-3: var(--text-3);
  --rule: rgba(160, 180, 220, .07); --rule-2: rgba(160, 180, 220, .14);
  --sheet: var(--card); --sheet-2: var(--card-2); --paper: var(--bg); --wash: rgba(255, 255, 255, .03); --crit: var(--red);
  --sans: "Inter", ui-sans-serif, system-ui, sans-serif; --mono: var(--sans);
  --display: "Sora", "Inter", ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.kpi b, .srcs b, .bars b, .game .read, .facts b, .price b, .src-foot b, .chart text, .feed .t, .c-row .c, .pk b, .mini-bars b, .ex-big b { font-variant-numeric: tabular-nums; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1156px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 808px; }
.muted { color: var(--text-3); }
.acc { color: var(--acc); }
.green { color: var(--green); }

.labelbar { display: flex; justify-content: space-between; gap: 12px; padding: 7px 24px; font-size: 12px; color: var(--text-3); background: #070b13; border-bottom: 1px solid var(--line); }
.labelbar a { color: var(--text-2); }

/* Nav capsule */
.nav-wrap { position: sticky; top: 0; z-index: 30; padding: 12px 24px; }
.nav { max-width: 1024px; margin: 0 auto; display: flex; align-items: center; gap: 24px; padding: 8px 8px 8px 20px; background: rgba(6, 9, 16, .86); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 14px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 700 17px/1 var(--display); letter-spacing: -.01em; color: var(--text); }
.brand-mark { display: inline-flex; align-items: flex-end; gap: 3px; width: 26px; height: 26px; padding: 5px; border-radius: 7px; background: var(--acc); }
.brand-mark i { flex: 1; background: var(--acc-ink); border-radius: 1.5px; }
.brand-mark i:nth-child(1) { height: 45%; } .brand-mark i:nth-child(2) { height: 100%; } .brand-mark i:nth-child(3) { height: 70%; }
.brand-mark.sm { width: 18px; height: 18px; padding: 4px; gap: 2px; border-radius: 5px; }
.nav-links { display: flex; gap: 32px; margin: 0 auto; font-size: 15px; color: var(--text-2); }
.nav-links a:hover, .link:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 20px; font-size: 15px; color: var(--text-2); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 28px; border-radius: 10px; font: 700 17px/1 var(--sans); border: 1px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s, box-shadow .15s; white-space: nowrap; }
.btn-acc { background: var(--acc); color: var(--acc-ink); box-shadow: 0 8px 28px -6px rgba(34, 204, 242, .55); }
.btn-acc:hover { background: #57d9f6; box-shadow: 0 10px 34px -6px rgba(34, 204, 242, .7); }
.btn-white { height: 36px; padding: 0 16px; background: #fff; color: #0a0f1a; border-radius: 8px; font: 500 14px/1 var(--sans); box-shadow: none; }
.btn-white:hover { background: #e9edf5; }
.btn-ghost { background: rgba(255, 255, 255, .03); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .07); }

.eyebrow { font: 700 12.5px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--acc); margin-bottom: 14px; }

/* HERO */
.hero { position: relative; padding: 72px 0 80px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -100px 0 auto; height: 700px; pointer-events: none;
  background: radial-gradient(620px 380px at 76% 40%, rgba(34, 204, 242, .08), transparent 70%); }
.floaters i { position: absolute; width: 72px; height: 72px; border-radius: 14px; background: rgba(90, 120, 190, .07); transform: rotate(18deg); pointer-events: none; }
.floaters i:nth-child(1) { left: 5%; top: 20px; width: 78px; height: 78px; }
.floaters i:nth-child(2) { left: 3%; top: 470px; width: 44px; height: 44px; transform: rotate(-14deg); }
.floaters i:nth-child(3) { right: 7%; top: 30px; width: 40px; height: 40px; transform: rotate(32deg); }
.floaters i:nth-child(4) { right: 2%; top: 360px; width: 58px; height: 58px; transform: rotate(-22deg); }
.floaters i:nth-child(5) { left: 44%; top: 540px; width: 34px; height: 34px; transform: rotate(10deg); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 44px; align-items: center; }
.hero .wrap { max-width: 1320px; }
h1 { font: 800 58px/1.05 var(--display); letter-spacing: -.035em; color: var(--text); }
.sub { margin-top: 26px; font-size: 18px; line-height: 1.62; color: var(--text-2); max-width: 29em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.ctas.center { justify-content: center; }

/* Hero device: the app in a thin bezel, tilted slightly toward the headline */
.hero-shot { position: relative; perspective: 1600px; }
.device { transform: rotateY(-9deg) rotateX(3deg) rotateZ(.4deg); transform-origin: 20% 50%; padding: 12px; border-radius: 20px;
  background: linear-gradient(160deg, #20283a, #10151f 60%); border: 1px solid rgba(160, 180, 220, .18);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9), 0 0 80px -40px rgba(34, 204, 242, .35); }
.app { display: grid; grid-template-columns: 184px minmax(0, 1fr); background: #0b101b; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 12px; }
.app-side { background: #080c15; border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; }
.app-brand { display: flex; align-items: center; gap: 7px; font: 700 12px var(--display); padding: 0 4px 12px; }
.side-h { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); padding: 10px 6px 4px; }
.side-servers, .side-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-servers li { display: flex; align-items: center; gap: 7px; padding: 6px; border-radius: 7px; color: var(--text-2); white-space: nowrap; overflow: hidden; }
.side-servers li span { overflow: hidden; text-overflow: ellipsis; }
.side-servers li.on { background: var(--card-2); color: var(--text); }
.side-servers li .st { margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: none; }
.side-servers li .st.warn { background: var(--amber); }
.gchip { flex: none; width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; background: var(--card-2); color: var(--text); overflow: hidden; }
.gchip svg { width: 11px; height: 11px; }
.gchip.mc { background: none; } .gchip.mc svg { width: 18px; height: 18px; border-radius: 4px; }
.gchip.rust { background: none; } .gchip.rust img { width: 18px; height: 18px; border-radius: 4px; }
.side-nav li { padding: 6px 8px; border-radius: 7px; color: var(--text-2); }
.side-nav li.on { background: var(--acc-soft); color: var(--acc); font-weight: 600; }
.app-main { padding: 14px; display: grid; gap: 10px; min-width: 0; }
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.app-top b { font-size: 14px; margin-right: 8px; }
.range { display: flex; gap: 2px; padding: 2px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; }
.range span { padding: 3px 8px; border-radius: 6px; color: var(--text-3); }
.range span.on { background: var(--card-2); color: var(--text); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 9px; padding: 9px 10px; min-width: 0; }
.kpi span { display: block; color: var(--text-3); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi b { display: block; font: 700 18px/1.2 var(--display); margin-top: 3px; letter-spacing: -.02em; }
.kpi em { font-style: normal; font-size: 10.5px; color: var(--green); }
.app-card { background: var(--card); border: 1px solid var(--line); border-radius: 9px; padding: 10px 11px; min-width: 0; }
.card-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 12px; }
.card-h b { font-weight: 600; }
.card-h .muted { font-size: 11px; white-space: nowrap; }
.app-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: 10px; }
.live { display: inline-flex; align-items: center; gap: 5px; color: var(--green); font-size: 11px; font-weight: 600; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.srcs { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.srcs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 8px; font-size: 11px; }
.srcs li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.srcs li b { font-weight: 600; }
.srcs li i { grid-column: 1 / -1; height: 3px; border-radius: 2px; background: var(--card-2); overflow: hidden; }
.srcs li i::after { content: ""; display: block; height: 100%; width: var(--w); background: var(--c, var(--acc)); border-radius: 2px; }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.feed li { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--text-2); animation: slidein .35s ease-out; }
.feed li b { color: var(--text); font-weight: 600; }
.feed .who { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed .via { color: var(--text-3); }
.feed li .t { margin-left: auto; color: var(--text-3); white-space: nowrap; }
@keyframes slidein { from { opacity: 0; transform: translateY(-4px); } }
.ava { flex: none; width: 20px; height: 20px; border-radius: 5px; image-rendering: pixelated; display: block; }
.demo-note { margin-top: 14px; font-size: 12px; color: var(--text-3); text-align: right; }

/* Charts (charts.js) */
.chart { position: relative; }
.chart svg { display: block; overflow: visible; }
.chart text { font: 10px var(--sans); fill: var(--text-3); }
.chart .grid line { stroke: rgba(160, 180, 220, .07); }
.chart .base { stroke: rgba(160, 180, 220, .14); }
.chart .xhair { stroke: rgba(255, 255, 255, .3); }
.tip { position: fixed; z-index: 50; pointer-events: none; background: #1a2233; border: 1px solid var(--line-2); color: var(--text); border-radius: 9px; padding: 8px 10px; font-size: 12px; opacity: 0; transition: opacity .1s; min-width: 130px; }
.tip.on { opacity: 1; }
.tip .t-h { color: var(--text-3); margin-bottom: 4px; }
.tip .t-r { display: flex; justify-content: space-between; gap: 12px; }
.tip .sw { width: 8px; height: 8px; border-radius: 2px; display: inline-block; margin-right: 6px; }

/* PROOF BAND */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0c1220; }
.proof .wrap { max-width: 1320px; }
.proof-row { display: flex; align-items: center; justify-content: center; gap: 32px; padding: 26px 24px; flex-wrap: wrap; }
@media (min-width: 1240px) { .proof-row { flex-wrap: nowrap; } .works .chips { flex-wrap: nowrap; } }
.facts { display: flex; gap: 28px; flex-wrap: wrap; }
@media (min-width: 1240px) { .facts { flex: none; } }
.facts div { display: flex; align-items: baseline; gap: 9px; }
.facts b { font: 700 22px/1 var(--display); letter-spacing: -.01em; }
.facts span { font-size: 13.5px; color: var(--text-3); white-space: nowrap; }
.works { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; min-width: 0; max-width: 100%; }
.chips li { white-space: nowrap; }
@media (min-width: 1240px) { .works { flex-wrap: nowrap; } }
.chips { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.chips li { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 7px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--text-2); }
.chips li:last-child { padding-left: 12px; }
.chips .gchip { width: 16px; height: 16px; background: none; }
.chips .gchip svg { width: 13px; height: 13px; }
.chips .gchip.mc svg, .chips .gchip.rust img { width: 16px; height: 16px; }

/* Section heads */
.how { padding: 120px 0 0; }
.features { padding: 110px 0 0; }
.also, .pricing, .faq { padding: 120px 0 0; }
.sec-head { max-width: 720px; }
.sec-head.center { margin: 0 auto; text-align: center; }
h2 { font: 800 40px/1.12 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.sec-sub { margin-top: 16px; color: var(--text-2); font-size: 18px; line-height: 1.6; }

/* How it works */
.steps { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; text-align: center; }
.steps::before { content: ""; position: absolute; top: 22px; left: 12.5%; right: 12.5%; height: 1px; background: var(--line-2); }
.steps li { position: relative; display: grid; justify-items: center; align-content: start; gap: 8px; }
.steps .n { width: 45px; height: 45px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-2); font: 700 16px var(--display); color: var(--acc); }
.steps b { margin-top: 14px; font-size: 17px; font-weight: 700; }
.steps p { color: var(--text-3); font-size: 14px; line-height: 1.5; max-width: 23ch; }

/* Feature rows */
.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; margin-bottom: 120px; }
.feat.flip .feat-copy { order: 2; }
.feat h3 { font: 800 34px/1.15 var(--display); letter-spacing: -.028em; text-wrap: balance; }
.feat-copy > p:not(.eyebrow) { margin-top: 16px; color: var(--text-2); font-size: 17px; line-height: 1.62; max-width: 31em; }
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; font-size: 15px; color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 6px; background: var(--acc-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2322ccf2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.widget { background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; padding: 22px 22px 24px; box-shadow: 0 30px 70px -35px rgba(0, 0, 0, .8); min-width: 0; }
.widget .card-h { font-size: 15px; margin-bottom: 18px; }
.widget .card-h b { font-weight: 700; }
.widget .card-h .muted { font-size: 12.5px; }

.cohort { display: grid; gap: 10px; }
.c-head, .c-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 8px; align-items: center; }
.c-head span { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.c-head span:not(:first-child) { text-align: center; }
.c-l { font-size: 14px; font-weight: 600; color: var(--text-2); }
.c { display: grid; place-items: center; height: 38px; border-radius: 8px; font-size: 14px; font-weight: 700; color: #eafcff; background: color-mix(in srgb, #22ccf2 calc(var(--a) * 100%), #151c2b); }
.c.empty { background: var(--card-2); color: var(--text-3); font-weight: 400; }

.ticks { display: flex; align-items: flex-end; gap: 2px; height: 96px; position: relative; overflow: hidden; margin-bottom: 20px; border-bottom: 1px solid var(--line-2); }
.ticks::after { content: ""; position: absolute; left: 0; right: 0; bottom: 62.5%; border-top: 1px dashed rgba(255, 255, 255, .3); }
.ticks i { flex: 1; min-width: 1px; background: rgba(34, 204, 242, .6); border-radius: 1px 1px 0 0; }
.ticks i.over { background: var(--red); }
.dash { display: inline-block; width: 12px; border-top: 1px dashed var(--text-2); margin-right: 6px; vertical-align: middle; }
.sub-h { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.sub-h .muted { font-weight: 400; font-size: 12px; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.bars li { display: grid; grid-template-columns: 130px minmax(0, 1fr) 42px; align-items: center; gap: 12px; font-size: 13.5px; color: var(--text-2); }
.bars li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bars li i { height: 8px; border-radius: 4px; background: var(--card-2); overflow: hidden; }
.bars li i::after { content: ""; display: block; height: 100%; width: var(--w); background: var(--c, var(--acc)); border-radius: 4px; }
.bars li b { text-align: right; color: var(--text); font-weight: 700; }

.donut-row { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 28px; align-items: center; }
.donut svg { display: block; }
.pk { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pk li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 14px; color: var(--text-2); }
.pk li i { width: 10px; height: 10px; border-radius: 3px; }
.pk li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pk li b { color: var(--text); font-weight: 700; }
.src-foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.src-foot b { font: 700 20px var(--display); }

.widget.games { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px; }
.game { border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); padding: 14px; display: grid; gap: 8px; min-width: 0; position: relative; overflow: hidden; }
.game::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gc); }
.game-h { display: flex; align-items: center; gap: 8px; height: 22px; font-weight: 600; font-size: 14px; }
.game-h svg { height: 18px; width: auto; }
.game-h svg.mcw { height: 13px; }
.game-h img { height: 20px; width: auto; }
.game .read { font: 700 26px/1 var(--display); letter-spacing: -.02em; }
.game .read small { font: 500 13px var(--sans); color: var(--text-3); margin-left: 4px; }
.game .lbl { font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game .mini { display: flex; align-items: flex-end; gap: 1.5px; height: 26px; }
.game .mini i { flex: 1; background: color-mix(in srgb, var(--gc) 70%, transparent); border-radius: 1px; }
.game .mini i.over { background: var(--red); }

/* Also included */
.tabs-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; margin-top: 48px; align-items: start; }
.tablist { display: grid; gap: 4px; }
.tablist button { text-align: left; border: 1px solid transparent; background: none; color: var(--text-2); padding: 14px 16px; border-radius: 12px; cursor: pointer; display: grid; gap: 4px; font: inherit; }
.tablist button small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); font-weight: 700; }
.tablist button b { font: 700 16px/1.35 var(--sans); color: var(--text); }
.tablist button:hover { background: rgba(255, 255, 255, .02); }
.tablist button[aria-selected="true"] { background: var(--card); border-color: var(--line-2); }
.tablist button[aria-selected="true"] small { color: var(--acc); }
.tabpanel { background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; padding: 28px; min-height: 380px; }
.tp-d { color: var(--text-2); font-size: 16px; line-height: 1.6; max-width: 38em; }
.tp-f { list-style: none; margin: 20px 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tp-f li { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 9px; background: var(--card-2); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.tp-f li svg { color: var(--acc); }
.tp-ex { background: #0e1422; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.ex-h { font-size: 12.5px; color: var(--text-3); margin-bottom: 14px; }
.ex-big { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.ex-big b { font: 800 30px/1 var(--display); }
.ex-big span { color: var(--text-2); font-size: 14px; }
.mini-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.mini-bars li { display: grid; grid-template-columns: 170px minmax(0, 1fr) 70px; gap: 12px; align-items: center; font-size: 14px; color: var(--text-2); }
.mini-bars li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-bars li i { height: 8px; border-radius: 4px; background: var(--card-2); overflow: hidden; }
.mini-bars li i::after { content: ""; display: block; height: 100%; width: var(--w); background: var(--c); border-radius: 4px; }
.mini-bars li b { text-align: right; color: var(--text); }
.discord-msgs { display: grid; gap: 14px; }
.dmsg { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
.dmsg .bot .brand-mark { width: 34px; height: 34px; padding: 8px; gap: 3px; border-radius: 50%; }
.dm-h { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.dm-h b { font-weight: 700; }
.app-tag { font-size: 10px; font-weight: 700; background: #5865f2; color: #fff; padding: 1px 5px; border-radius: 4px; }
.dm-h .t { color: var(--text-3); font-size: 12px; }
.dm-card { margin-top: 6px; border-left: 3px solid var(--acc); background: var(--card-2); border-radius: 4px 8px 8px 4px; padding: 9px 12px; display: grid; gap: 2px; font-size: 13.5px; color: var(--text-2); }
.dm-card b { color: var(--text); }
.dm-card.crit { border-left-color: var(--red); } .dm-card.good { border-left-color: var(--green); } .dm-card.warn { border-left-color: var(--amber); }
.sec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sec-list li { display: grid; grid-template-columns: 120px minmax(0, 1fr) 20px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 14px; color: var(--text-2); padding: 10px 12px; background: var(--card-2); border-radius: 9px; }
.sec-list code { font: 500 12.5px ui-monospace, monospace; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sec-list .arrow { color: var(--acc); text-align: center; }
.sec-list b { color: var(--text); font-weight: 600; }

/* Pricing */
.toggle { display: inline-flex; margin-top: 28px; padding: 4px; border-radius: 12px; background: var(--card); border: 1px solid var(--line-2); }
.toggle button { border: 0; background: none; color: var(--text-2); font: 700 15px var(--sans); padding: 9px 18px; border-radius: 9px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.toggle button[aria-pressed="true"] { background: var(--acc); color: var(--acc-ink); }
.toggle .save { font-size: 11px; padding: 2px 7px; border-radius: 6px; background: var(--acc-soft); color: var(--acc); }
.toggle button[aria-pressed="true"] .save { background: rgba(3, 21, 27, .18); color: var(--acc-ink); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; align-items: start; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 26px 26px; background: var(--card); border: 1px solid var(--line-2); border-radius: 18px; }
.plan h3 { font: 700 20px var(--display); }
.plan > .muted { font-size: 14px; margin-top: 4px; }
.price { display: flex; align-items: baseline; gap: 4px; margin-top: 22px; }
.price b { font: 800 46px/1 var(--display); letter-spacing: -.03em; }
.price span { color: var(--text-3); font-size: 15px; font-weight: 600; }
.bill { font-size: 12.5px; color: var(--text-3); margin-top: 8px; min-height: 1.2em; }
.plan-row { display: flex; justify-content: space-between; padding: 14px 0; margin: 18px 0 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text-3); }
.plan-row b { color: var(--text); }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; font-size: 15px; color: var(--text-2); }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M1.5 5.2l3.4 3.3 7.6-7.2' fill='none' stroke='%2334d399' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.plan-hint { text-align: center; font-size: 13px; color: var(--acc); font-weight: 700; margin: -8px 0 12px; }
.plan .btn { width: 100%; height: 46px; font-size: 16px; margin-top: auto; }
.plan.rec { border: 1.5px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(160deg, rgba(34, 204, 242, .95), rgba(34, 204, 242, .25) 60%, rgba(155, 140, 255, .5)) border-box;
  box-shadow: 0 24px 60px -24px rgba(34, 204, 242, .35); }
.rec-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 12px; border-radius: 999px; background: var(--acc); color: var(--acc-ink); font-size: 12px; font-weight: 800; white-space: nowrap; box-shadow: 0 6px 18px -6px rgba(34, 204, 242, .7); }
.plan-note { margin-top: 24px; text-align: center; color: var(--text-3); font-size: 14px; }

/* FAQ */
.qs { margin-top: 44px; }
details { border-bottom: 1px solid var(--line-2); }
summary { list-style: none; cursor: pointer; padding: 24px 4px; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--text-3); font: 400 24px/1 var(--sans); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); color: var(--acc); }
details p { padding: 0 4px 24px; color: var(--text-2); font-size: 16px; line-height: 1.6; max-width: 44em; }

/* Final CTA */
.final { padding: 130px 0 120px; }
.final-box { text-align: center; padding: 72px 24px 76px; border-radius: 22px; border: 1px solid var(--line-2);
  background: radial-gradient(520px 260px at 50% 30%, rgba(34, 204, 242, .13), transparent 72%), linear-gradient(180deg, #111a2a, #0d1320); }
.final-box p { margin-top: 14px; color: var(--text-2); font-size: 18px; }
.final-box .ctas { margin-top: 32px; }

/* Footer */
.foot { border-top: 1px solid var(--line); background: #080c15; padding: 64px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.foot-brand p { margin-top: 16px; color: var(--text-2); font-size: 15px; line-height: 1.6; max-width: 26em; }
.discord { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-top: 18px; border-radius: 9px; background: var(--card); border: 1px solid var(--line); color: var(--text-2); }
.discord svg { width: 18px; height: 18px; }
.discord:hover { color: var(--text); }
.foot h4 { font: 700 15px var(--sans); margin-bottom: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 15px; color: var(--text-2); }
.foot ul a:hover { color: var(--text); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-3); }

@media (max-width: 1080px) {
  h1 { font-size: 48px; }
  .hero-grid, .feat { grid-template-columns: 1fr; gap: 48px; }
  .feat.flip .feat-copy { order: 0; }
  .device { transform: none; }
  .float { transform: none; }
  .tabs-grid { grid-template-columns: 1fr; }
  .tablist { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; gap: 28px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav-wrap { padding: 10px 12px; }
  .nav { padding-left: 14px; }
  .nav-cta .link { display: none; }
  .hero { padding: 40px 0 56px; }
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  .feat h3 { font-size: 27px; }
  .sub { font-size: 16px; }
  .ctas .btn { flex: 1 1 100%; }
  .device { padding: 6px; border-radius: 14px; }
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .app-top .muted { display: none; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-row { grid-template-columns: 1fr; }
  .floaters { display: none; }
  .proof-row { justify-content: flex-start; gap: 20px; }
  .facts { gap: 14px 26px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 16px; margin-top: 44px; }
  .steps::before { display: none; }
  .how, .features, .also, .pricing, .faq { padding-top: 84px; }
  .feat { margin-bottom: 84px; gap: 32px; }
  .widget { padding: 16px; }
  .ticks { gap: 1px; } .ticks i { min-width: 0; }
  .bars li { grid-template-columns: 100px minmax(0, 1fr) 36px; gap: 8px; }
  .donut-row { grid-template-columns: 1fr; justify-items: center; gap: 18px; }
  .pk { width: 100%; }
  .c-head, .c-row { grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 6px; }
  .c-l { font-size: 12px; }
  .c { font-size: 12.5px; height: 34px; }
  .widget.games { grid-template-columns: 1fr; }
  .tablist { grid-template-columns: 1fr; }
  .tabpanel { padding: 18px; min-height: 0; }
  .mini-bars li { grid-template-columns: 110px minmax(0, 1fr) 60px; gap: 8px; font-size: 13px; }
  .sec-list li { grid-template-columns: 1fr; gap: 2px; }
  .sec-list .arrow { display: none; }
  .final { padding: 84px 0; }
  .final-box { padding: 48px 18px; }
  .foot-grid { grid-template-columns: 1fr; }
  .labelbar span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
.works > .muted { white-space: nowrap; }

/* ================= M4 additions ================= */
/* nav live demo */
.nav-demo { border: 0; background: none; padding: 0; font: inherit; color: var(--text-2); cursor: pointer; }
.nav-demo:hover { color: var(--text); }
.linkbtn { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.linkbtn:hover { color: var(--text); }
.btn { font-family: var(--sans); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 14px; border-radius: 8px; box-shadow: none; }

/* hero sidebar servers are buttons */
.side-servers li { padding: 0; display: block; }
.side-servers button { width: 100%; display: flex; align-items: center; gap: 7px; padding: 6px; border: 1px solid transparent; border-radius: 7px; background: none; color: var(--text-2); font: inherit; font-size: 11.5px; text-align: left; cursor: pointer; white-space: nowrap; }
.side-servers button span { overflow: hidden; text-overflow: ellipsis; }
.side-servers button:hover { background: rgba(255,255,255,.035); color: var(--text); }
.side-servers button[aria-pressed="true"] { background: var(--card-2); color: var(--text); border-color: var(--line); }
.side-servers button .st { margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: none; }
.side-servers button .st.warn { background: var(--amber); }
.kpi em.warn { color: var(--amber); } .kpi em.down { color: var(--red); }

/* floating cards on the hero frame */
.float { position: absolute; z-index: 3; background: rgba(18, 24, 38, .96); border: 1px solid var(--line-2); border-radius: 12px;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.85); font-size: 12px; transform: translateZ(90px); }
.float-alert { bottom: -34px; left: -96px; width: 276px; padding: 10px 12px; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
.fa-bot .brand-mark { width: 30px; height: 30px; padding: 7px; gap: 2px; border-radius: 50%; }
.fa-h { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.fa-h .muted { font-size: 11px; }
.fa-card { margin-top: 5px; border-left: 3px solid var(--red); background: var(--card-2); border-radius: 3px 7px 7px 3px; padding: 6px 9px; display: grid; gap: 1px; color: var(--text-2); font-size: 11.5px; }
.fa-card b { color: var(--text); font-weight: 600; }
.float-record { right: -34px; top: -26px; width: 212px; padding: 12px 14px 8px; }
.fr-h { display: flex; align-items: center; gap: 7px; font-weight: 600; color: var(--text-2); font-size: 12px; }
.fr-tag { margin-left: auto; font-size: 10px; font-weight: 700; color: #1b0d02; background: var(--amber); padding: 2px 6px; border-radius: 999px; white-space: nowrap; }
.fr-v { display: flex; align-items: baseline; gap: 7px; margin-top: 8px; }
.fr-v b { font: 800 26px/1 var(--display); letter-spacing: -.02em; }
.fr-v span { color: var(--text-3); font-size: 11.5px; }
.fr-spark { height: 30px; margin-top: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .float { animation: floatin .5s 1.1s both cubic-bezier(.3,.7,.2,1); }
  .float-record { animation-delay: 1.3s; }
  @keyframes floatin { from { opacity: 0; transform: translateZ(90px) translateY(8px); } }
}

/* proof band: four games, first-class */
.glogos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, auto); gap: 8px 30px; align-items: center; }
.glogos li { display: grid; gap: 6px; justify-items: start; }
.gl-logo { display: inline-flex; align-items: center; gap: 9px; height: 26px; color: #e9edf5; font: 700 16px/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.gl-logo svg { height: 24px; width: auto; }
.gl-logo svg.mcw { height: 19px; }
.gl-logo img.rustw { height: 25px; width: auto; }
.glogos small { font-size: 12px; color: var(--text-3); white-space: nowrap; padding-top: 6px; border-top: 2px solid color-mix(in srgb, var(--gc) 70%, transparent); }
.proof-row { gap: 44px; padding: 30px 24px; }
.proof .facts { gap: 22px; }

/* retention widget */
.c-row.best .c-l { color: var(--text); }
.c-row.best { position: relative; }
.c-row.best::before { content: ""; position: absolute; inset: -4px -8px; border: 1px solid rgba(34,204,242,.45); border-radius: 11px; background: rgba(34,204,242,.05); pointer-events: none; }
.c-l em { font-style: normal; margin-left: 8px; font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: var(--acc); color: var(--acc-ink); vertical-align: 1px; }
.c-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-3); }
.scale { display: inline-flex; align-items: center; gap: 8px; }
.scale i { width: 84px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #1b3b4a, #22ccf2); }
.best-note { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); }
.stack { display: inline-flex; }
.stack .ava { width: 22px; height: 22px; border: 2px solid var(--card); border-radius: 6px; margin-left: -6px; }
.stack .ava:first-child { margin-left: 0; }

/* lag widget */
.ticks i.peak { background: var(--red); box-shadow: 0 0 0 1px rgba(255,93,82,.6); }
.ticks { overflow: visible; margin-top: 26px; }
.spike-tag { position: absolute; top: -24px; transform: translateX(-50%); white-space: nowrap; font-size: 11.5px; color: var(--text-2); background: #1c1418; border: 1px solid rgba(255,93,82,.45); padding: 2px 8px; border-radius: 999px; }
.spike-tag b { color: #ff8a80; }
.bars.sev li { grid-template-columns: 138px minmax(0, 1fr) 40px 62px; }
.bars.sev .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.bars.sev em { font-style: normal; font-size: 11px; font-weight: 700; text-align: center; padding: 2px 0; border-radius: 999px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }

/* store widget */
.store-stats { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 8px; margin-bottom: 20px; }
.store-stats div { background: var(--card-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.store-stats span { display: block; font-size: 11.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store-stats b { display: block; margin-top: 3px; font: 700 20px/1.2 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.store-stats .hi { border-color: rgba(34,204,242,.4); background: rgba(34,204,242,.06); }
.store-stats .hi b { color: var(--acc); }
.pk li { grid-template-columns: 24px minmax(0, 1fr) auto; }
.pk-ic { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); }
.donut .d-v { font: 700 15px var(--display); fill: var(--text); }
.donut .d-l { font: 500 10px var(--sans); fill: var(--text-3); }
.buyers-h { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.buyers { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.buyers li { display: grid; grid-template-columns: 22px 74px minmax(0, 1fr) auto 64px; gap: 10px; align-items: center; font-size: 13px; color: var(--text-2); }
.buyers .ava { width: 22px; height: 22px; }
.buyers b { color: var(--text); font-weight: 600; font-size: 12.5px; }
.buyers span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.buyers em { font-style: normal; color: var(--green); font-weight: 700; font-variant-numeric: tabular-nums; }
.buyers .t { text-align: right; color: var(--text-3); font-size: 12px; }

/* every game: bigger logos, game-coloured rules */
.widget.games { gap: 14px; padding: 16px; }
.game { padding: 18px 16px 14px; gap: 10px; }
.game::before { height: 3px; }
.game-h { height: 28px; font-size: 15px; }
.game-h svg { height: 24px; }
.game-h svg.mcw { height: 18px; }
.game-h img { height: 26px; }
.game .read { font-size: 30px; }
.game .mini { height: 32px; }

/* hover polish (no lifts) */
.widget, .plan, .game, .tabpanel, .final-box { transition: border-color .15s, background-color .15s; }
.widget:hover, .tabpanel:hover { border-color: rgba(160,180,220,.24); }
.game:hover { border-color: color-mix(in srgb, var(--gc) 45%, transparent); }
.plan:not(.rec):hover { border-color: rgba(160,180,220,.26); }
.chips li, .tp-f li { transition: border-color .15s; }

/* footer discord */
.discord-soon { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; color: var(--text-3); }
.discord-soon .discord { margin-top: 0; }

/* ================= LIVE DEMO MODAL ================= */
html.demo-open { overflow: hidden; }
.demo { position: fixed; inset: 0; z-index: 100; background: rgba(3, 6, 12, .72); backdrop-filter: blur(6px); display: grid; padding: 24px; }
.demo[hidden] { display: none; }
.demo-shell { width: 100%; max-width: 1360px; margin: 0 auto; height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); background: #0b101b; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0,0,0,.9); }
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px 12px 18px; border-bottom: 1px solid var(--line); background: #080c15; }
.demo-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.demo-brand b { font: 700 15px var(--display); white-space: nowrap; }
.demo-tag { font-size: 12px; color: var(--text-3); padding: 3px 9px; border: 1px solid var(--line-2); border-radius: 999px; white-space: nowrap; }
.demo-top-r { display: flex; align-items: center; gap: 10px; }
.demo-x { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--line-2); background: var(--card); color: var(--text-2); cursor: pointer; }
.demo-x:hover { color: var(--text); background: var(--card-2); }
.demo-body { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 0; }
.demo-side { background: #080c15; border-right: 1px solid var(--line); padding: 14px 12px; overflow-y: auto; }
.demo-side .side-h { padding: 8px 8px 6px; }
.demo-servers { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 3px; }
.demo-servers button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 9px; border: 1px solid transparent; background: none; color: var(--text-2); font: inherit; text-align: left; cursor: pointer; }
.demo-servers button span { display: grid; min-width: 0; line-height: 1.3; }
.demo-servers b { font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-servers small { font-size: 11.5px; color: var(--text-3); }
.demo-servers .gchip { width: 26px; height: 26px; border-radius: 7px; }
.demo-servers .gchip svg { width: 15px; height: 15px; } .demo-servers .gchip.mc svg, .demo-servers .gchip.rust img { width: 26px; height: 26px; }
.demo-servers .st { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
.demo-servers .st.warn { background: var(--amber); }
.demo-servers button:hover { background: rgba(255,255,255,.035); }
.demo-servers button[aria-pressed="true"] { background: var(--card-2); border-color: var(--line-2); }
.demo-tabs { display: grid; gap: 2px; }
.demo-tabs button { text-align: left; padding: 9px 10px; border-radius: 8px; border: 0; background: none; color: var(--text-2); font: 500 14px var(--sans); cursor: pointer; }
.demo-tabs button:hover { color: var(--text); background: rgba(255,255,255,.03); }
.demo-tabs button[aria-selected="true"] { background: var(--acc-soft); color: var(--acc); font-weight: 700; }
.demo-main { overflow-y: auto; padding: 22px 24px 32px; outline: none; }
.dm-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.dm-name { display: flex; align-items: center; gap: 12px; min-width: 0; }
.dm-name .gchip { width: 34px; height: 34px; border-radius: 9px; } .dm-name .gchip svg { width: 18px; height: 18px; } .dm-name .gchip.mc svg, .dm-name .gchip.rust img { width: 34px; height: 34px; }
.dm-name b { font: 700 20px var(--display); letter-spacing: -.02em; display: block; }
.dm-name small { color: var(--text-3); font-size: 12.5px; }
.demo .status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--green); white-space: nowrap; }
.demo .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.demo .status.warn { color: var(--amber); } .demo .status.crit { color: var(--red); } .demo .status.good { color: var(--green); } .demo .status.off { color: var(--text-3); }
.dm-finding { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: linear-gradient(90deg, rgba(34,204,242,.1), rgba(34,204,242,.03)); border: 1px solid rgba(34,204,242,.3); margin-bottom: 14px; }
.dm-fi { flex: none; width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: var(--acc); color: var(--acc-ink); }
.dm-finding p { font-size: 16px; line-height: 1.5; color: var(--text); }
.demo .mark { color: var(--acc); font-weight: 700; background: none; padding: 0; margin: 0; }
.dm-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.dk { background: var(--card); border: 1px solid var(--line); border-radius: 11px; padding: 11px 13px; min-width: 0; }
.dk > span { display: block; font-size: 11.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dk b { display: block; margin-top: 3px; font: 700 21px/1.2 var(--display); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.dk div { display: flex; gap: 6px; align-items: baseline; font-size: 11.5px; min-height: 16px; white-space: nowrap; overflow: hidden; }
.dk em { font-style: normal; font-weight: 700; } .dk em.up { color: var(--green); } .dk em.down { color: var(--red); }
.dk small { color: var(--text-3); overflow: hidden; text-overflow: ellipsis; }
.dm-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.dm-panel { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 16px; min-width: 0; }
.dm-panel.span-12 { grid-column: span 12; } .dm-panel.span-8 { grid-column: span 8; } .dm-panel.span-6 { grid-column: span 6; } .dm-panel.span-4 { grid-column: span 4; }
.dm-ph { display: grid; gap: 2px; margin-bottom: 12px; }
.dm-ph b { font-size: 14px; font-weight: 700; }
.dm-ph small { font-size: 12px; color: var(--text-3); }
.dm-pf { font-size: 13px; color: var(--text-2); margin: -4px 0 10px; }
.dm-panel .p-note { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-2); }
.dm-panel .viz:has(> .table) { overflow-x: auto; }
.answers { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.answers li { display: grid; gap: 3px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.answers li:last-child { border-bottom: 0; padding-bottom: 0; }
.answers button { justify-self: start; border: 0; background: none; padding: 0; font: 700 11.5px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--acc); cursor: pointer; }
.answers p { font-size: 13px; line-height: 1.5; color: var(--text-2); }
/* dashboard view components (views.js / charts.js) */
.demo .legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--text-2); margin-bottom: 8px; }
.demo .legend span { display: inline-flex; align-items: center; gap: 6px; }
.demo .legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.demo .legend i.line { height: 2px; width: 14px; }
.demo .chart .thresh { stroke: rgba(255,255,255,.35); stroke-dasharray: 3 3; }
.demo .chart .thresh-l { fill: var(--text-2); font-size: 10.5px; font-weight: 600; }
.demo .chart .anno { fill: var(--text); font-size: 11px; font-weight: 700; }
.demo .chart .anno-line { stroke: rgba(255,255,255,.5); }
.demo .chart .lbl { fill: var(--text-2); }
.demo .table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.demo .table th { text-align: left; font-weight: 600; color: var(--text-3); padding: 7px 10px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.demo .table td { padding: 8px 10px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.demo .table .r { text-align: right; }
.demo .table tr:last-child td { border-bottom: 0; }
.demo .num, .demo .mono { font-variant-numeric: tabular-nums; }
.demo .soft { color: var(--text-2); }
.demo .cohort-wrap { overflow-x: auto; }
.demo .table.cohort td, .demo .table.cohort th { padding: 5px 7px; text-align: right; font-size: 11.5px; }
.demo .table.cohort td:first-child, .demo .table.cohort th:first-child { text-align: left; }
.demo .table.cohort td.num { border: 2px solid var(--card); color: #eafcff; }
.demo .cq0, .demo .cq1, .demo .cq2, .demo .cq3 { color: var(--text) !important; }
.demo .funnel { display: grid; gap: 8px; }
.demo .f-row { display: grid; grid-template-columns: minmax(100px, 170px) 1fr 58px 40px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-2); }
.demo .f-bar { height: 12px; background: var(--card-2); border-radius: 3px; overflow: hidden; }
.demo .f-bar i { display: block; height: 100%; background: var(--acc); border-radius: 0 4px 4px 0; }
.demo .f-v { text-align: right; color: var(--text); } .demo .f-p { text-align: right; color: var(--text-3); font-size: 11.5px; } .demo .f-p.f-drop { color: var(--red); }
.demo .meter { display: flex; gap: 2px; height: 12px; }
.demo .meter i { display: block; border-radius: 2px; min-width: 2px; }
.demo .live-ticks { position: relative; display: flex; align-items: flex-end; gap: 2px; height: 64px; overflow: hidden; border-bottom: 1px solid var(--line-2); }
.demo .live-ticks::after { content: ""; position: absolute; left: 0; right: 0; bottom: 45.5%; border-top: 1px dashed rgba(255,255,255,.3); }
.demo .live-ticks i { flex: 1; min-width: 1px; background: rgba(34,204,242,.6); border-radius: 1px 1px 0 0; }
.demo .live-ticks i.over { background: var(--red); }
.demo .live-meta { display: flex; gap: 12px; align-items: center; margin-top: 8px; font-size: 12px; color: var(--text-3); }
.demo .bench { display: grid; gap: 10px; font-size: 12.5px; }
.demo .b-row { display: grid; grid-template-columns: 150px 1fr 40px; gap: 10px; align-items: center; color: var(--text-2); }
.demo .b-track { position: relative; height: 12px; background: var(--card-2); border-radius: 3px; }
.demo .b-track i { position: absolute; top: 0; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--acc); }
.demo .b-track b { position: absolute; top: -2px; bottom: -2px; width: 1px; background: var(--text-3); }
.demo .b-axis { display: flex; justify-content: space-between; color: var(--text-3); font-size: 11px; padding-left: 160px; }
.demo .btn.btn-sm { height: 28px; padding: 0 10px; font-size: 12px; }
.demo .btn-ghost { background: rgba(255,255,255,.03); border: 1px solid var(--line-2); color: var(--text); border-radius: 7px; }

@media (max-width: 1240px) {
  .float-alert { left: -12px; } .float-record { right: 0; }
  .glogos { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 1080px) {
  .float-alert { left: 8px; bottom: 40px; }
  .dm-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dm-panel.span-8, .dm-panel.span-6, .dm-panel.span-4 { grid-column: span 12; }
}
@media (max-width: 760px) {
  .demo { padding: 0; }
  .demo-shell { border-radius: 0; border: 0; }
  .demo-body { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .demo-side { border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 12px; overflow-x: auto; }
  .demo-side .side-h { display: none; }
  .demo-servers { grid-auto-flow: column; grid-auto-columns: max-content; margin-bottom: 8px; }
  .demo-servers small, .demo-servers .st { display: none; }
  .demo-tabs { grid-auto-flow: column; grid-auto-columns: max-content; }
  .demo-tabs button { padding: 7px 10px; white-space: nowrap; }
  .demo-main { padding: 16px 14px 24px; }
  .demo-tag { display: none; }
  .dm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo .f-row { grid-template-columns: 1fr 52px 36px; } .demo .f-row .f-bar { grid-column: 1 / -1; grid-row: 2; }
  .demo .b-row { grid-template-columns: 100px 1fr 36px; } .demo .b-axis { padding-left: 110px; }
}
@media (max-width: 640px) {
  .float { display: none; }
  .glogos { grid-template-columns: 1fr 1fr; gap: 18px 20px; width: 100%; }
  .gl-logo { font-size: 14px; } .gl-logo svg { height: 20px; } .gl-logo svg.mcw { height: 15px; } .gl-logo img.rustw { height: 21px; }
  .glogos small { white-space: normal; }
  .store-stats { grid-template-columns: 1fr 1fr; } .store-stats .hi { grid-column: 1 / -1; }
  .buyers li { grid-template-columns: 22px minmax(0, 1fr) auto 52px; } .buyers li > span:not(.t) { display: none; }
  .bars.sev li { grid-template-columns: 96px minmax(0, 1fr) 34px; } .bars.sev em { display: none; }
  .spike-tag { font-size: 10.5px; }
  .c-foot { font-size: 12px; }
}
.demo .cq6, .demo .cq7 { color: #03151b !important; }

.c-l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13.5px; }
.c-head, .c-row { grid-template-columns: 1.55fr 1fr 1fr 1fr; }
.c-l em { margin-left: 6px; }
.pk { gap: 11px; }
.demo .chart .thresh-l[y] { paint-order: stroke; stroke: var(--card); stroke-width: 3px; }

/* Mid-width laptops: the frame is narrower, so the cards would sit on data. Keep the alert clear, drop the record card. */
@media (max-width: 1300px) and (min-width: 641px) {
  .float-record { display: none; }
  .float-alert { left: -60px; bottom: -58px; width: 250px; }
}

/* ---------- M5: voxel island ---------- */
.vox { position: absolute; z-index: 0; right: -140px; top: -96px; width: 620px; height: 440px; pointer-events: none; }
.hero-shot { padding-top: 132px; }
.hero-shot .float-record { top: 18px; bottom: auto; right: auto; left: 40px; }
.hero { padding-top: 40px; }
.vox canvas, .vox img { width: 100%; height: 100%; display: block; }
.hero-shot .device { position: relative; z-index: 1; }

/* ---------- M5: brand ---------- */
.logo-mark { width: 30px; height: 30px; flex: none; display: block; }
.logo-mark.sm { width: 22px; height: 22px; }
.logo-word { font: 700 18px/1 var(--display); letter-spacing: -.02em; color: var(--text); }
.logo-word span { color: var(--acc); }
.app-brand .logo-word, .demo-brand .logo-word { font-size: 14px; }
.fa-bot .logo-mark, .dmsg .bot .logo-mark { width: 28px; height: 28px; }
.fa-bot, .dmsg .bot { background: #0e1a2a !important; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; align-self: start; padding: 0 !important; }
.foot-brand .logo-mark { width: 34px; height: 34px; }

/* ---------- M5: product-grade card finish ---------- */
.widget, .tabpanel, .plan, .final-box {
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0) 90px), var(--card);
  border: 1px solid transparent;
  background-clip: padding-box;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 70px -35px rgba(0,0,0,.85);
}
.widget::before, .tabpanel::before, .plan::before, .final-box::before {
  content: ""; position: absolute; inset: -1px; border-radius: 15px; padding: 1px; pointer-events: none;
  background: linear-gradient(180deg, rgba(170,195,235,.26), rgba(170,195,235,.06) 60%, rgba(170,195,235,.02));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.plan.pop::before { background: linear-gradient(180deg, rgba(34,204,242,.85), rgba(34,204,242,.18)); }
.widget:hover::before, .tabpanel:hover::before { background: linear-gradient(180deg, rgba(170,195,235,.4), rgba(170,195,235,.1) 60%, rgba(170,195,235,.04)); }

/* Section headings */
.sec-head h2, .feat-copy h2 { font-size: 40px; line-height: 1.08; letter-spacing: -.028em; }
.sec-head { margin-bottom: 56px; }
@media (max-width: 640px) { .sec-head h2, .feat-copy h2 { font-size: 30px; } .sec-head { margin-bottom: 36px; } }

/* ---------- M5: motion ---------- */
.m5-motion .rv { opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .4s cubic-bezier(.2,.7,.2,1); }
.m5-motion .rv.in { opacity: 1; transform: none; }
.m5-motion .widget.rv #lagBars li > i, .m5-motion .widget.rv .src-bar, .m5-motion .widget.rv .bars i { transform-origin: left; }
.m5-motion .widget.rv:not(.in) #lagBars li > i { transform: scaleX(0); }
.m5-motion .widget.rv.in #lagBars li > i { transition: transform .7s .15s cubic-bezier(.2,.7,.2,1); }
.m5-motion .widget.rv:not(.in) #cohort .c { opacity: 0; }
.m5-motion .widget.rv.in #cohort .c { transition: opacity .35s; }
.m5-motion .widget.rv.in #cohort .c-row:nth-child(2) .c { transition-delay: .1s; } .m5-motion .widget.rv.in #cohort .c-row:nth-child(3) .c { transition-delay: .2s; }
.m5-motion .widget.rv.in #cohort .c-row:nth-child(4) .c { transition-delay: .3s; } .m5-motion .widget.rv.in #cohort .c-row:nth-child(5) .c { transition-delay: .4s; }
.m5-motion .widget.rv:not(.in) #donut circle { stroke-dasharray: 0 999 !important; }
.m5-motion .widget.rv.in #donut circle { transition: stroke-dasharray .9s cubic-bezier(.2,.7,.2,1); }
.m5-motion .widget.rv:not(.in) .mini i, .m5-motion .widget.rv:not(.in) #lagTicks i { transform: scaleY(.1); }
.m5-motion .widget.rv.in .mini i, .m5-motion .widget.rv.in #lagTicks i { transition: transform .6s cubic-bezier(.2,.7,.2,1); transform-origin: bottom; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1 !important; transform: none !important; } }

/* An operator question is a clearer entry point than a generic feature list. */
.investigate { padding: 100px 0 0; }
.investigate .sec-head { max-width: 760px; }
.investigate-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.investigate-card { display: flex; flex-direction: column; min-width: 0; min-height: 278px; padding: 25px 26px 23px; border-radius: 14px; border: 1px solid var(--line-2); background: linear-gradient(160deg, rgba(34,204,242,.055), transparent 45%), var(--card); color: var(--text); text-decoration: none; transition: border-color .2s, transform .2s, background-color .2s; }
.investigate-card:hover { border-color: rgba(34,204,242,.55); transform: translateY(-3px); }
.investigate-card:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.investigate-game { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--text-2); }
.investigate-game img { width: 25px; height: 25px; border-radius: 6px; object-fit: contain; }
.investigate-game small { margin-left: 2px; padding: 2px 6px; border: 1px solid var(--line-2); border-radius: 5px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.investigate-card h3 { margin: 26px 0 12px; font: 700 22px/1.24 var(--display); letter-spacing: -.018em; }
.investigate-card p { margin: 0 0 28px; color: var(--text-2); font-size: 14px; line-height: 1.6; }
.investigate-link { margin-top: auto; color: var(--acc); font-size: 13px; font-weight: 700; }
.investigate-link span { margin-left: 4px; }
@media (max-width: 900px) { .investigate-grid { grid-template-columns: 1fr; } .investigate-card { min-height: 0; } }
@media (max-width: 640px) { .investigate { padding-top: 72px; } .investigate-card { padding: 20px; } .investigate-card h3 { margin-top: 20px; } }

/* Game identity recurring: coloured rules on section heads */
.game-rule { display: flex; gap: 4px; margin: 0 0 18px; }
.game-rule i { width: 22px; height: 3px; border-radius: 2px; }
.sec-head.center .game-rule { justify-content: center; }
@media (max-width: 640px) { .hero-shot { padding-top: 0; } .vox { display: none; } }
@media (max-width: 1100px) and (min-width: 641px) { .vox { right: -60px; top: -80px; width: 480px; height: 360px; } }

/* ===================== M6 additions ===================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
code { font: 600 .92em/1 ui-monospace, "SFMono-Regular", Menlo, monospace; background: rgba(255,255,255,.06); border: 1px solid var(--line); padding: 2px 6px; border-radius: 6px; color: var(--text); }
.glogos svg.dcw { height: 20px; width: auto; color: #8c95ff; }
.basic-chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px dashed var(--line-2); color: var(--text-2); font-size: 13.5px; white-space: nowrap; }
.basic-chip:hover { color: var(--text); border-color: var(--acc); }
.bc-ic { display: inline-flex; width: 16px; height: 16px; color: var(--text-2); }
.bc-ic svg { width: 16px; height: 16px; }

.ask-sec, .discord-sec { padding: 0; }
.games-sec, .compare { padding: 120px 0 0; }

/* Ask ServerStats */
.widget.ask { display: grid; gap: 14px; }
.ask-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ask-chips button { border: 1px solid var(--line-2); background: var(--card-2); color: var(--text-2); font: 600 13px/1.2 var(--sans); padding: 8px 12px; border-radius: 999px; cursor: pointer; text-align: left; transition: border-color .15s, color .15s, background-color .15s; }
.ask-chips button:hover { color: var(--text); border-color: rgba(34, 204, 242, .45); }
.ask-chips button[aria-pressed="true"] { color: var(--acc-ink); background: var(--acc); border-color: var(--acc); }
.ask-thread { display: grid; gap: 12px; }
.bubble.q { justify-self: end; max-width: 85%; background: var(--acc-soft); border: 1px solid rgba(34, 204, 242, .3); color: var(--text); padding: 10px 14px; border-radius: 14px 14px 4px 14px; font-size: 14.5px; }
.bubble.a { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
.bubble.a .bot svg, .dmsg .bot svg { width: 30px; height: 30px; display: block; }
.a-body { background: #0e1422; border: 1px solid var(--line); border-radius: 4px 14px 14px 14px; padding: 14px; display: grid; gap: 12px; min-width: 0; }
.a-body p { font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.a-body p b { color: var(--text); }
.a-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.a-pills span { display: grid; gap: 2px; padding: 7px 10px; border-radius: 9px; background: var(--card-2); border: 1px solid var(--line); min-width: 0; }
.a-pills small { font-size: 11px; color: var(--text-3); }
.a-pills b { font: 700 14px/1.2 var(--display); max-width: 18ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.a-chart { min-height: 110px; }
.a-src { font-size: 11.5px; color: var(--text-3); }
.ask-input { display: flex; justify-content: space-between; align-items: center; height: 42px; padding: 0 8px 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text-3); font-size: 14px; }
.ask-input kbd { font: 600 11px var(--sans); padding: 4px 7px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--text-2); }

/* Discord mock */
.dc-stack { display: grid; gap: 16px; min-width: 0; }
.widget.dc { padding: 0; overflow: hidden; }
.dc-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; background: #10162a; }
.dc-top .dc-logo { width: 20px; height: 20px; color: #8c95ff; }
.dc-top .muted { margin-left: auto; font-size: 12px; }
.dc-body { display: grid; grid-template-columns: 188px minmax(0, 1fr); }
.dc-chan { list-style: none; margin: 0; padding: 12px 8px; background: #0e1322; border-right: 1px solid var(--line); display: grid; align-content: start; gap: 2px; font-size: 13px; color: var(--text-3); }
.dc-chan .grp { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding: 10px 8px 4px; }
.dc-chan li:not(.grp) { display: flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-chan li.on { background: rgba(255, 255, 255, .06); color: var(--text); }
.dc-chan .hash { color: var(--text-3); font-weight: 700; }
.dc-chan .live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-left: auto; flex: none; }
.dc-main { padding: 16px; display: grid; gap: 14px; min-width: 0; }
.dc-embed { margin-top: 6px; border-left: 3px solid var(--acc); background: var(--card-2); border-radius: 4px 10px 10px 4px; padding: 12px 14px; display: grid; gap: 10px; font-size: 13.5px; }
.dc-embed > b { font-size: 14px; }
.dc-embed p { color: var(--text-2); font-size: 13px; line-height: 1.5; }
.dc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.dc-fields.three { grid-template-columns: repeat(3, 1fr); }
.dc-fields small { display: block; font-size: 11.5px; color: var(--text-3); }
.dc-fields b { font-size: 14px; font-variant-numeric: tabular-nums; }
.dc-fields em { font-style: normal; font-size: 12px; color: var(--green); margin-left: 4px; }
.dc-embed.small { padding: 10px 12px; }
.dc-cmd { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); padding-left: 4px; }
.dc-cmd .ava { width: 20px; height: 20px; border-radius: 50%; image-rendering: pixelated; }
.dmsg .bot { display: block; }
.widget.dfun { padding: 18px 20px; }
.widget.dfun .card-h { margin-bottom: 12px; }
.dfun-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dfun-l li { display: grid; grid-template-columns: 170px minmax(0, 1fr) 60px 40px; gap: 12px; align-items: center; font-size: 13.5px; color: var(--text-2); }
.dfun-l li i { height: 10px; border-radius: 5px; background: var(--card-2); overflow: hidden; }
.dfun-l li i::after { content: ""; display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, #5865f2, var(--acc)); border-radius: 5px; }
.dfun-l li b { text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
.dfun-l li em { font-style: normal; font-size: 12px; color: var(--text-3); text-align: right; }

/* Games section */
.games-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; margin-top: 48px; align-items: start; }
.gm-side { display: grid; gap: 16px; }
.gm-card { background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; padding: 20px 22px; display: grid; gap: 12px; }
.gm-h { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.gm-h .tag { margin-left: auto; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--acc-soft); color: var(--acc); }
.gm-h .tag.plan { background: rgba(255, 181, 71, .12); color: var(--amber); }
.gm-card p { color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
.gm-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.gm-chips li { font-size: 13px; padding: 5px 11px; border-radius: 8px; background: var(--card-2); border: 1px solid var(--line); color: var(--text); }
.gm-chips.planned li { color: var(--text-2); border-style: dashed; }

/* Also-included tabs: more of them, so tighter */
.tablist { gap: 2px; }
.tablist button { padding: 10px 14px; gap: 2px; }
.tablist button b { font-size: 15px; }
.tp-t { font: 700 20px/1.25 var(--display); letter-spacing: -.01em; margin-bottom: 8px; }
.ex-t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ex-t th { font-weight: 600; font-size: 12px; color: var(--text-3); text-align: left; padding: 0 8px 8px 0; }
.ex-t td { padding: 8px 8px 8px 0; border-top: 1px solid var(--line); color: var(--text-2); font-variant-numeric: tabular-nums; }
.ex-t td:first-child { color: var(--text); }
.ex-t .r { text-align: right; }
.ex-t td:first-child .gchip { margin-right: 8px; vertical-align: middle; }
.src-l { display: inline-flex; align-items: center; gap: 8px; }
.src-l .sl { width: 15px; height: 15px; color: var(--text-2); flex: none; }
.prof { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.ava.lg { width: 44px; height: 44px; border-radius: 10px; image-rendering: pixelated; }
.prof b { font-size: 15px; } .prof small { display: block; font-size: 12.5px; color: var(--text-3); }
.risk { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.risk.low { background: rgba(52, 211, 153, .12); color: var(--green); }
.prof-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; }
.prof-stats div { background: var(--card-2); border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; }
.prof-stats span { display: block; font-size: 11.5px; color: var(--text-3); } .prof-stats b { font: 700 16px var(--display); }
.tl { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 1px solid var(--line-2); display: grid; gap: 8px; font-size: 13.5px; color: var(--text-2); }
.tl li { position: relative; } .tl li::before { content: ""; position: absolute; left: -18.5px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }
.tl li span { color: var(--text-3); margin-right: 10px; font-variant-numeric: tabular-nums; }
.ab { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ab-v { position: relative; background: var(--card-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 6px; }
.ab-v.win { border-color: rgba(52, 211, 153, .5); }
.ab-k { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font: 700 12px var(--display); background: var(--bg); border: 1px solid var(--line-2); }
.ab-v small { color: var(--text-3); font-size: 12px; }
.ab-bar { height: 8px; border-radius: 4px; background: var(--bg); overflow: hidden; }
.ab-bar i { display: block; height: 100%; width: var(--w); background: var(--acc); border-radius: 4px; }
.ab-v.win .ab-bar i { background: var(--green); }
.ab-r { font-size: 13px; color: var(--text); font-weight: 600; }
.ab-w { font-size: 11.5px; font-weight: 700; color: var(--green); }
.ev-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.dash-ed .de-h { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-2); margin-bottom: 10px; }
.de-edit { color: var(--acc); font-weight: 600; }
.de-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.de { position: relative; background: var(--card-2); border: 1px dashed var(--line-2); border-radius: 10px; padding: 12px 12px 12px 22px; display: grid; gap: 2px; }
.de.w2 { grid-column: span 2; }
.de span { font-size: 11.5px; color: var(--text-3); } .de b { font: 700 18px var(--display); }
.de .grip { position: absolute; left: 8px; top: 12px; width: 6px; height: 14px; background: radial-gradient(circle, var(--text-3) 1px, transparent 1.4px) 0 0 / 3px 4px; opacity: .7; }
.report { display: grid; gap: 10px; font-size: 14px; }
.report ul { margin: 0; padding-left: 18px; color: var(--text-2); display: grid; gap: 4px; }
.report .fc { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 9px; background: var(--card-2); border: 1px solid var(--line); color: var(--text-2); font-size: 13px; }
.report .fc b { color: var(--text); }
.bench { padding: 10px 12px; border-radius: 9px; background: var(--acc-soft); border: 1px solid rgba(34, 204, 242, .25); color: var(--text-2); font-size: 13.5px; line-height: 1.5; }
.bench b { color: var(--text); } .bench em { font-style: normal; color: var(--text-3); font-size: 12px; margin-left: 4px; }
.bench-k { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--acc); margin-right: 8px; }
.badge-ex { margin-top: 16px; display: grid; gap: 8px; }
.badge-ex .ex-h { margin: 0; }
.vbadge { display: flex; align-items: center; gap: 12px; max-width: 460px; padding: 12px 14px; border-radius: 12px; background: linear-gradient(180deg, #151d2e, #111827); border: 1px solid var(--line-2); }
.vbadge b { font-size: 14.5px; } .vbadge small { display: block; font-size: 12px; color: var(--text-3); }
.vb-v { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--acc); white-space: nowrap; }
.vb-v svg { width: 16px; height: 16px; }

/* Compare */
.cmp-wrap { margin-top: 40px; background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.cmp th, .cmp td { padding: 13px 18px; text-align: left; border-top: 1px solid var(--line); }
.cmp thead th { border-top: 0; font: 700 14px var(--display); color: var(--text-2); }
.cmp thead th.us { color: var(--acc); }
.cmp tbody th { font-weight: 500; color: var(--text); }
.cmp td { color: var(--text-2); }
.cmp td.us { background: rgba(34, 204, 242, .035); color: var(--text); }
.cmp .yes { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--acc-soft); color: var(--acc); vertical-align: middle; }
.cmp td:not(.us) .yes { background: rgba(255, 255, 255, .06); color: var(--text-2); }
.cmp .no { color: var(--text-3); }
.cmp .partial { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: rgba(255, 181, 71, .14); color: var(--amber); font-weight: 700; vertical-align: middle; }
.cmp td:not(.us) .partial { background: rgba(255, 255, 255, .06); color: var(--amber); }
.cmp td small { margin-left: 8px; font-size: 12px; color: var(--text-3); }
.cmp-note { margin-top: 12px; font-size: 12.5px; color: var(--text-3); text-align: center; }
.cmp-note a { color: var(--acc); }
.plan-note a { color: var(--acc); }

/* Compare: full-competitor matrix (6 columns). Sticky first column, horizontal scroll for the rest.
   Selectors are compounded with .cmp so they outrank the plain .cmp mobile rules below regardless of order. */
.cmp.cmp-multi-home { min-width: 980px; font-size: 13.5px; }
.cmp.cmp-multi-home th, .cmp.cmp-multi-home td { padding: 12px 14px; }
.cmp.cmp-multi-home th:first-child, .cmp.cmp-multi-home td:first-child { min-width: 200px; }
.cmp.cmp-multi-home td:not(:first-child), .cmp.cmp-multi-home th:not(:first-child) { min-width: 118px; }
.cmp.cmp-multi-home th:first-child, .cmp.cmp-multi-home td:first-child { position: sticky; left: 0; z-index: 1; background: var(--card); box-shadow: 1px 0 0 var(--line-2); }
.cmp.cmp-multi-home td small { display: block; margin: 3px 0 0; }
@media (max-width: 640px) {
  .cmp.cmp-multi-home { font-size: 12.5px; }
  .cmp.cmp-multi-home th:first-child, .cmp.cmp-multi-home td:first-child { min-width: 152px; }
  .cmp.cmp-multi-home td:not(:first-child), .cmp.cmp-multi-home th:not(:first-child) { min-width: 100px; }
}

/* Founder card: a short, tasteful stand-in for testimonials */
.founder { padding: 64px 0 0; }
.f-card { background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; padding: 32px 36px; text-align: center; }
.f-quote { margin-top: 10px; font: 500 19px/1.55 var(--display); color: var(--text); max-width: 34em; margin-inline: auto; }
.f-by { margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
@media (max-width: 640px) {
  .founder { padding-top: 48px; }
  .f-card { padding: 26px 20px; }
  .f-quote { font-size: 17px; }
}

/* Demo modal: Ask area */
.dm-ask { margin-top: 18px; }
.dm-ask .a-chart { min-height: 150px; }

@media (max-width: 1080px) {
  .games-grid { grid-template-columns: 1fr; }
  .dc-body { grid-template-columns: 150px minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .dc-body { grid-template-columns: 1fr; }
  .dc-chan { display: none; }
  .dc-fields, .dc-fields.three { grid-template-columns: 1fr 1fr; }
  .dfun-l li { grid-template-columns: 1fr 56px 36px; }
  .dfun-l li i { grid-column: 1 / -1; grid-row: 2; }
  .ab, .prof-stats { grid-template-columns: 1fr; }
  .de-grid { grid-template-columns: 1fr 1fr; }
  .prof { grid-template-columns: 44px minmax(0, 1fr); }
  .prof .risk { grid-column: 1 / -1; justify-self: start; }
  .vbadge { flex-wrap: wrap; }
  .vb-v { margin-left: 0; }
  .basic-chip { white-space: normal; height: auto; padding: 8px 14px; }
  .games-sec, .compare { padding-top: 80px; }
}
.glogos { grid-template-columns: repeat(5, auto); gap: 8px 26px; }
@media (max-width: 1300px) { .glogos { grid-template-columns: repeat(3, auto); } }
@media (max-width: 640px) { .glogos { grid-template-columns: 1fr 1fr; } }
/* Proof band: facts on one line, logos (incl. Discord) and the basic-mode chip below */
.proof-row { flex-direction: column; gap: 20px; }
.proof-row .facts { justify-content: center; }
.proof-row .basic-chip { margin-top: -4px; }
.dc-body { grid-template-columns: 170px minmax(0, 1fr); }
.dc-fields b { white-space: nowrap; }
.dc-fields small { white-space: nowrap; }
.dc-fields.three { gap: 10px 12px; }
.dm-panel .dfun-l { gap: 14px; margin-top: 6px; }
.dm-panel .dfun-l li { grid-template-columns: minmax(0, 1fr) 60px 40px; row-gap: 6px; }
.dm-panel .dfun-l li i { grid-column: 1 / -1; grid-row: 2; }
@media (max-width: 640px) {
  .cmp { min-width: 0; font-size: 13px; }
  .cmp th, .cmp td { padding: 10px 10px; }
  .cmp td small { display: block; margin: 4px 0 0; }
  .tablist { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; scrollbar-width: thin; }
  .tablist button { flex: none; max-width: 220px; border-color: var(--line); }
  .tabpanel { min-height: 0; padding: 18px; }
}

/* Hero tour video link + dialog */
.tour-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 6px 14px 6px 6px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: rgba(255,255,255,.02); color: inherit; text-align: left; cursor: pointer; font: inherit; }
.tour-link:hover { border-color: rgba(34,204,242,.45); }
.tour-link:focus-visible { outline: 2px solid #22ccf2; outline-offset: 3px; }
.tour-thumb { position: relative; width: 64px; height: 40px; border-radius: 7px; overflow: hidden; flex: none; }
.tour-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .75; }
.tour-thumb i { position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; border-radius: 50%; background: #22ccf2; }
.tour-thumb i::after { content: ""; position: absolute; left: 8px; top: 6px; border-left: 6px solid #07121a; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.tour-link b { display: block; font-size: 14px; color: #eef0f5; font-weight: 600; }
.tour-link small { display: block; font-size: 12.5px; color: #8a93a8; margin-top: 1px; }
dialog.tour { border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 12px; background: #0e1422; width: min(1100px, 94vw); color: #9aa1b2; }
dialog.tour::backdrop { background: rgba(4,7,14,.82); }
dialog.tour video { width: 100%; display: block; border-radius: 10px; background: #000; }
dialog.tour p { margin: 10px 4px 2px; font-size: 13px; }
.tour-x { position: absolute; top: 18px; right: 18px; z-index: 2; width: 34px; height: 34px; border-radius: 9px; border: 1px solid rgba(255,255,255,.14); background: rgba(10,15,26,.85); color: #eef0f5; cursor: pointer; }

.gm-chips.planned li.w1 { color: var(--text); border-style: solid; border-color: rgba(34,204,242,.45); background: rgba(34,204,242,.08); }

/* ---------- Wave 1: eleven games ---------- */
/* game chips (small square marks) */
.gchip.img { background: none; } .gchip.img img { width: 100%; height: 100%; object-fit: contain; }
.gchip.gm { background: none; color: #e9edf5; } .gchip.gm svg { width: 100%; height: 100%; }
.gchip.rd { background: color-mix(in srgb, var(--gc) 28%, #0e1422); color: #f3e9e6; } .gchip.rd svg { width: 70%; height: 70%; }
.gchip.txt { background: color-mix(in srgb, var(--gc) 30%, #0e1422); color: #fff; font: 700 9px/1 var(--display); letter-spacing: -.02em; }
.demo-servers .gchip.img img, .demo-servers .gchip.gm svg { width: 26px; height: 26px; }
.demo-servers .gchip.txt { font-size: 12px; }
.dm-name .gchip.img img, .dm-name .gchip.gm svg { width: 34px; height: 34px; }
.dm-name .gchip.txt { font-size: 15px; }
.chips .gchip.img img, .chips .gchip.gm svg { width: 16px; height: 16px; }
/* wordmarks, optically matched */
.gl-logo img.hyw, .game-h img.hyw { height: 30px; width: auto; }
.gl-logo img.palw, .game-h img.palw { height: 20px; width: auto; }
.gl-logo img.arkw, .game-h img.arkw { height: 32px; width: auto; }
.gl-logo svg.redmw, .game-h svg.redmw { height: 20px; width: auto; color: #efe6e3; }
.gl-logo svg.gmodw, .game-h svg.gmodw { height: 16px; width: auto; color: #e9edf5; }
.bedrock-l { font: 700 13px/1 var(--display); color: var(--text-2); letter-spacing: .01em; margin-left: 2px; }
.game-h .bedrock-l { font-size: 13px; }
em.beta { font-style: normal; font: 700 10px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: #ffb547; border: 1px solid rgba(255,181,71,.4); border-radius: 5px; padding: 3px 5px; margin-left: 2px; }
/* proof band: 12 logos in a tidy grid */
.glogos { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 24px; width: 100%; }
.glogos li { min-width: 0; }
.glogos small { white-space: normal; line-height: 1.35; width: 100%; }
@media (max-width: 1300px) { .glogos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .glogos { grid-template-columns: 1fr 1fr; gap: 16px 18px; } .gl-logo { font-size: 14px; } }
/* games section: all eleven clocks across the width, cards for basic mode and wave 2 below */
.games-grid { grid-template-columns: 1fr; }
.widget.games { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gm-side { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.game-rule.many i { width: 18px; }
.game-h { gap: 8px; min-width: 0; }
.game-h span:not(.bc-ic) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.basic-tile { text-decoration: none; color: inherit; border-style: dashed; --gc: #6b778f; align-content: start; }
.basic-tile p { margin: 0; font-size: 13px; color: var(--text-2); line-height: 1.5; }
.basic-tile .bc-ic svg { width: 20px; height: 20px; }
@media (max-width: 1180px) { .widget.games { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .gm-side { grid-template-columns: 1fr; } .widget.games { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .game .read { font-size: 24px; } .game { padding: 14px 12px 12px; } }
/* hero sidebar "+N more games" */
.side-servers .side-more { color: var(--acc); font-size: 11px; justify-content: flex-start; }
.side-servers .side-more:hover { color: #7fe4fb; }
/* demo server list scrolls when it is longer than the modal */
.demo-servers { max-height: 46vh; overflow-y: auto; }
@media (max-width: 900px) { .demo-servers { max-height: none; } }
.gl-logo img { height: 24px; width: auto; }
.gl-logo img.gmark, .game-h img.gmark { height: 24px; width: auto; }
.gl-logo img.palw, .game-h img.palw { height: 22px; }
.gm-side { grid-template-columns: 1fr; }
.basic-tile .tag { margin-left: auto; font-style: normal; }
.basic-tile .game-h span:not(.bc-ic) { flex: none; }
.basic-tile .tag { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--acc-soft); color: var(--acc); }
.basic-tile .tag { white-space: nowrap; font-size: 10.5px; padding: 3px 7px; }
@media (max-width: 480px) {
  .widget.games { gap: 10px; padding: 10px; }
  .game .lbl { white-space: normal; line-height: 1.35; }
  .game-h { font-size: 13px; }
  .game-h svg { height: 18px; } .game-h svg.mcw { height: 14px; } .game-h img { height: 20px; } .game-h img.palw { height: 16px; }
}

/* ---------- Wave 2: 23 games ---------- */
/* Proof band logo wall: every game's logo, muted until hover, each linking to its page */
.glogos.wall { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 30px; max-width: 1080px; margin: 0 auto; }
.glogos.wall li { display: block; min-width: 0; }
.glogos.wall .gl-logo { height: 26px; text-decoration: none; opacity: .62; filter: grayscale(1) brightness(1.35); transition: opacity .15s, filter .15s; font-size: 15px; }
.glogos.wall a.gl-logo:hover, .glogos.wall a.gl-logo:focus-visible { opacity: 1; filter: none; }
.glogos.wall .gl-dc .gl-logo { opacity: .8; filter: none; }
.glogos.wall .gl-logo img, .glogos.wall .gl-logo svg { height: 22px; width: auto; max-width: 140px; object-fit: contain; }
.glogos.wall .gl-logo svg.mcw { height: 16px; }
.glogos.wall .gl-logo img.hyw { height: 26px; } .glogos.wall .gl-logo img.arkw { height: 28px; }
.glogos.wall .gl-logo img.w2w { height: 20px; max-width: 120px; }
.glogos.wall .gl-logo img.w2-unturned { height: 14px; } .glogos.wall .gl-logo img.w2-tf2, .glogos.wall .gl-logo img.w2-satisfactory { height: 16px; }
.glogos.wall .gl-logo img.w2-spaceeng, .glogos.wall .gl-logo img.w2-terraria { height: 18px; }
.glogos.wall .gl-logo img.w2-dayz, .glogos.wall .gl-logo img.w2-zomboid, .glogos.wall .gl-logo img.w2-reforger { height: 24px; }
.gl-logo img.vrw, .game-h img.vrw, .ag img.vrw { height: 24px; width: auto; }
.glogos.wall .beta { font: 700 9.5px/1 var(--sans); padding: 3px 6px; border-radius: 999px; background: var(--acc-soft); color: var(--acc); font-style: normal; margin-left: 2px; }
@media (max-width: 640px) { .glogos.wall { gap: 12px 20px; } .glogos.wall .gl-logo img, .glogos.wall .gl-logo svg { height: 18px; } .glogos.wall .gl-logo img.w2w { height: 16px; } }

/* Games section: 8 flagship clock cards, then a compact grid of all 23 */
a.game { text-decoration: none; color: inherit; }
.widget.games { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.widget.allg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 12px; margin-top: 16px; }
.ag { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 9px 10px; border-radius: 10px; text-decoration: none; color: var(--text); border: 1px solid transparent; transition: background-color .15s, border-color .15s; }
.ag:hover, .ag:focus-visible { background: var(--card-2); border-color: color-mix(in srgb, var(--gc) 40%, transparent); }
.ag .gchip { width: 22px; height: 22px; box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--gc) 80%, transparent); }
.ag .gchip.txt { font-size: 9.5px; }
.ag .gchip svg { width: 13px; height: 13px; } .ag .gchip.mc svg, .ag .gchip.rust img { width: 22px; height: 22px; }
.ag .gchip.img img { width: 22px; height: 22px; } .ag .gchip.gm svg { width: 22px; height: 22px; }
.ag .gchip.vr { background: color-mix(in srgb, var(--gc) 30%, #0e1422); } .ag .gchip.vr img { width: 14px; height: 18px; }
.ag-n { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-n .beta { font: 700 9.5px/1 var(--sans); padding: 2px 5px; border-radius: 999px; background: var(--acc-soft); color: var(--acc); font-style: normal; margin-left: 6px; }
.ag-r { flex: none; font-size: 12px; color: var(--text-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ag-r b { color: var(--text); font-weight: 600; font-size: 13px; }
.ag-basic { border-style: dashed; border-color: var(--line); }
.ag-basic .bc-ic svg { width: 12px; height: 12px; }
.vote-line { margin: 14px 0 0; text-align: center; font-size: 13.5px; color: var(--text-3); }
@media (max-width: 1180px) { .widget.allg { grid-template-columns: repeat(3, minmax(0, 1fr)); } .widget.games { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 980px) { .widget.games { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .widget.allg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .widget.allg { grid-template-columns: 1fr; padding: 8px; } }

/* Demo: filter box above the 23-server list */
.demo-find { width: 100%; margin: 0 0 8px; padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--card-2); color: var(--text); font: 13px var(--sans); }
.demo-find:focus-visible { outline: 2px solid var(--acc); outline-offset: 1px; }
.demo-servers li[hidden] { display: none; }
.gchip.vr { background: color-mix(in srgb, var(--gc) 30%, #0e1422); } .gchip.vr img { width: 60% !important; height: 85% !important; object-fit: contain; }
/* Wave 2 wordmarks are detailed PNGs: give them more height so they stay legible in the muted wall */
.glogos.wall .gl-logo img.w2w { height: 30px; max-width: 150px; filter: none; }
.glogos.wall .gl-logo:has(img.w2w) { filter: grayscale(1) brightness(1.5) contrast(1.1); }
.glogos.wall .gl-logo img.w2-unturned { height: 17px; } .glogos.wall .gl-logo img.w2-tf2 { height: 24px; } .glogos.wall .gl-logo img.w2-satisfactory { height: 26px; }
.glogos.wall .gl-logo img.w2-spaceeng { height: 28px; } .glogos.wall .gl-logo img.w2-terraria { height: 26px; }
.glogos.wall .gl-logo img.w2-dayz, .glogos.wall .gl-logo img.w2-zomboid { height: 30px; } .glogos.wall .gl-logo img.w2-reforger { height: 34px; }
.glogos.wall .gl-logo img.w2-sevendays, .glogos.wall .gl-logo img.w2-valheim, .glogos.wall .gl-logo img.w2-squad { height: 32px; }
@media (max-width: 640px) { .glogos.wall .gl-logo img.w2w { height: 22px; max-width: 110px; } .glogos.wall .gl-logo img.w2-unturned { height: 13px; } }
.glogos.wall .gl-logo img.w2-reforger { height: 44px; margin: -8px 0; }

/* ---------- Wave 3 games (35 in total) ---------- */
/* RAGE:MP ships no usable logo file: a text wordmark in its colour. */
.wm-txt { font: 800 15px/1 var(--display); letter-spacing: -.01em; color: var(--text); white-space: nowrap; }
.wm-txt::first-letter { color: var(--gc); }
/* Assetto Corsa's mark is half black, so it sits on a small light plate. */
.lplate { display: inline-grid; place-items: center; background: #e9edf5; border-radius: 6px; padding: 2px 5px; line-height: 0; }
.lplate img { height: 20px; width: auto; }
.gl-logo img.vsw, .game-h img.vsw, .ag img.vsw { height: 26px; width: auto; }
.gl-logo img.w3w, .game-h img.w3w { height: 22px; width: auto; max-width: 150px; object-fit: contain; }
.gchip.vs img { width: 18px !important; height: 18px !important; object-fit: contain; }
.gchip.om { background: color-mix(in srgb, var(--gc) 22%, #0e1422); }
.gchip.om img { width: 16px; height: 16px; }
.ag .gchip.om img { width: 16px; height: 16px; }
.gchip.mc.mod { position: relative; }
.gchip.mc.mod em { position: absolute; right: -3px; bottom: -3px; font: 800 8px/1 var(--sans); font-style: normal; background: #b58b4c; color: #10141f; border-radius: 3px; padding: 1px 2px; }
.gchip.txt { white-space: nowrap; }
/* Proof band: wall of the best-known games, then a quiet "+N more" link. */
.glogos.wall .gl-logo img.w3w { height: 26px; max-width: 140px; filter: none; }
.glogos.wall .gl-logo:has(img.w3w), .glogos.wall .gl-logo:has(img.vsw) { filter: grayscale(1) brightness(1.5) contrast(1.1); }
.glogos.wall .gl-logo img.w3-theisle { height: 18px; } .glogos.wall .gl-logo img.w3-conan { height: 28px; }
.glogos.wall .gl-logo .wm-txt { font-size: 17px; }
.glogos.wall .gl-logo .lplate img { height: 22px; }
.glogos.wall li.gl-more .gl-logo.more { font: 600 13px/1 var(--sans); color: var(--text-2); text-decoration: none; padding: 7px 12px; border: 1px dashed var(--line-2, rgba(255,255,255,.18)); border-radius: 999px; white-space: nowrap; }
.glogos.wall li.gl-more .gl-logo.more:hover { color: var(--text); border-color: var(--acc); }
/* All-games grid: five columns at desktop so 35 games stay compact. */
.widget.allg { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ag-n { font-size: 13px; }
@media (max-width: 1180px) { .widget.allg { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 860px) { .widget.allg { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .widget.allg { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px; gap: 4px; } .ag { padding: 7px 6px; gap: 7px; } .ag-n { font-size: 12px; } .ag-r { font-size: 11px; } .ag-r b { font-size: 12px; } }
@media (max-width: 640px) { .glogos.wall .gl-logo img.w3w { height: 20px; max-width: 110px; } .glogos.wall .gl-logo .wm-txt { font-size: 14px; } }
@media (max-width: 640px) { .widget.allg .ag { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 8px; row-gap: 1px; align-items: center; } .widget.allg .ag .gchip { grid-row: span 2; } .widget.allg .ag-r { grid-column: 2; } }
/* Game marks (2026-09-29): every game has a square mark in /assets/logos/marks/, shown full-size inside its chip. */
.gchip.mk { background: #0e1422; padding: 0; box-shadow: none; }
.gchip.mk img { width: 100% !important; height: 100% !important; max-width: none; padding: 0 !important; transform: none !important; object-fit: contain; display: block; }
.gchip.ltr { background: color-mix(in srgb, var(--gc, #6b778f) 26%, #0e1422); color: #fff; font: 700 9px/1 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.game-h img.gmk, .gl-logo img.gmk { height: 24px !important; width: 24px !important; border-radius: 6px; object-fit: contain; }
.glogos.wall .gl-logo img.gmk { height: 22px !important; width: 22px !important; }
.gl-logo .wm-mk { font: 700 16px/1 var(--display); }
/* Logo wall: wordmarks are sized by home.js to an equal visual area (--lh), so wide and tall logos weigh the same. */
.glogos.wall .gl-logo img.wmn { height: var(--lh, 24px) !important; width: auto; max-width: 150px; margin: 0; }
.glogos.wall .gl-logo:has(img.wmn) { filter: grayscale(1) brightness(1.6) contrast(1.05); }
.glogos.wall a.gl-logo:has(img.wmn):hover, .glogos.wall a.gl-logo:has(img.wmn):focus-visible { filter: none; }
@media (max-width: 640px) { .glogos.wall .gl-logo img.wmn { height: calc(var(--lh, 24px) * .82) !important; max-width: 120px; } }
.foot-tm { margin: 14px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--text-3); max-width: 760px; }
/* skip link: first tab stop on every marketing page; hidden until focused */
.skip-link { position: absolute; left: 16px; top: 8px; z-index: 100; padding: 8px 14px; border-radius: 8px; background: var(--acc); color: var(--acc-ink); font: 600 14px/1.3 var(--sans); text-decoration: none; transform: translateY(-160%); }
.skip-link:focus, .skip-link:focus-visible { transform: none; outline: 2px solid var(--text); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { .skip-link { transition: transform .15s ease; } }
