/* highbeam.gg. The launcher's look on the web: flat colour on near-black, one
   BeamNG-orange accent, square shapes with a cut corner or a slanted edge,
   Barlow Condensed for display, IBM Plex Mono for labels, no glows or
   gradients. Motion is short and mechanical: things slide in on a slant,
   numbers count up, road lines run. */
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url(fonts/barlow-500.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(fonts/barlow-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url(fonts/barlow-700.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(fonts/barlow-condensed-700.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url(fonts/barlow-condensed-800.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-500.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-mono-600.woff2) format("woff2"); }

:root {
  --bg: #0C0D0E; --p1: #131416; --p2: #1A1C1F; --p3: #26292D; --line: #222427; --line2: #34373C;
  --ink: #F4F3EF; --body: #C4C6CA; --mut: #82868D; --acc: #FF6600; --acc2: #FF7A1F; --aink: #0C0D0E; --warn: #FFB23F; --bad: #FF3B4E;
  --disp: "Barlow Condensed", "Segoe UI", sans-serif; --ui: "Barlow", "Segoe UI", sans-serif; --mono: "IBM Plex Mono", Consolas, monospace;
  --gut: clamp(16px, 4vw, 56px); --max: 1280px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; }
body { min-height: 100vh; background: var(--bg); color: var(--ink); font: 500 16px/1.45 var(--ui); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; text-align: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
::selection { background: var(--acc); color: var(--aink); }
.hidden { display: none !important; }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.cut { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%); }
.cut-sm { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.d { font-family: var(--disp); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: .88; }
.lab { font: 600 11.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.lab--acc { color: var(--acc); }
.lab--live { color: var(--acc); }
.lab--live::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--acc); margin-right: 9px; vertical-align: 1px; animation: telltale 2.4s steps(1) infinite; }
.lab--bad { color: var(--bad); }
@keyframes telltale { 0%, 70% { opacity: 1; } 80% { opacity: .25; } 90% { opacity: 1; } }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- buttons ---------- */
.tbtn { height: 42px; padding: 0 16px; display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line2); color: var(--body); font: 600 14.5px/1 var(--ui); white-space: nowrap; flex: none; transition: border-color .15s, color .15s, background .15s; }
.tbtn:hover { border-color: var(--ink); color: var(--ink); }
.tbtn .i { width: 16px; height: 16px; }
.tbtn.lit { background: var(--acc); border-color: var(--acc); color: var(--aink); font-weight: 700; }
.tbtn.lit:hover { background: var(--acc2); border-color: var(--acc2); }
.ibtn { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line2); color: var(--body); flex: none; }
.ibtn:hover { border-color: var(--acc); color: var(--acc); }
.ibtn.spin .i { animation: spin .6s var(--ease); }
@keyframes spin { to { transform: rotate(360deg); } }
/* The launcher's big slanted Join, as a call to action. */
.cta { position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; height: 68px; padding: 0 28px 0 46px; background: var(--acc); color: var(--aink); clip-path: polygon(22px 0, 100% 0, 100% 100%, 0 100%); white-space: nowrap; overflow: hidden; }
.cta b { font: 800 32px/1 var(--disp); text-transform: uppercase; letter-spacing: .04em; }
.cta .i { width: 26px; height: 26px; stroke-width: 2.4; transition: transform .25s var(--ease); }
.cta:hover { background: var(--acc2); }
.cta:hover .i { transform: translateX(5px); }
.cta:hover .i.dl { transform: translateY(3px); }
/* A light sweep across the button once it's on screen. */
.cta::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 22%; background: rgba(255, 255, 255, .22); transform: skewX(-22deg); opacity: 0; }
.cta.swept::after { animation: sweep .9s .2s var(--ease) both; }
@keyframes sweep { 0% { left: -40%; opacity: 1; } 100% { left: 120%; opacity: 1; } }
.cta--off, .cta--off:hover { background: var(--p3); color: var(--mut); cursor: default; }
.cta--off::after { display: none; }
.cta--off:hover .i { transform: none; }
.cta--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); clip-path: none; padding-left: 28px; }
.cta--ghost:hover { background: var(--p2); box-shadow: inset 0 0 0 1px var(--ink); }
.cta--ghost::after { display: none; }

/* ---------- top bar ---------- */
.bar { position: sticky; top: 0; z-index: 40; height: 66px; background: rgba(12, 13, 14, .94); border-bottom: 1px solid var(--line2); backdrop-filter: blur(8px); }
.bar .wrap { height: 100%; display: flex; align-items: center; gap: 12px; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo .wm { width: 152px; height: 24px; display: block; }
.nav { display: flex; height: 100%; gap: 28px; margin-left: 34px; }
.nav a { display: flex; align-items: center; height: 100%; padding-top: 3px; border-bottom: 3px solid transparent; font: 600 15px/1 var(--ui); color: var(--mut); white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.nav a.on { color: var(--ink); border-color: var(--acc); }
.nav em { font: 600 12px/1 var(--mono); font-style: normal; color: var(--mut); margin-left: 8px; }
.sp { flex: 1; }
.bar .tbtn { height: 40px; }

/* ---------- home: hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line2); }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); padding-top: clamp(48px, 9vh, 104px); padding-bottom: clamp(88px, 13vh, 140px); }
.hero h1 { font-size: clamp(64px, 11.2vw, 168px); margin: 22px 0 26px; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .ln > span { display: inline-block; }
.hero h1 em { display: inline-block; font-style: normal; color: var(--acc); }
.hero p { max-width: 520px; font: 500 clamp(17px, 1.6vw, 20px)/1.45 var(--ui); color: var(--body); }
.hero .acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero .fine { margin-top: 16px; font: 500 12.5px/1.4 var(--mono); color: var(--mut); letter-spacing: .02em; }
/* The H, huge, leaning into the page from the right with its headlight cuts. */
.mark { position: absolute; z-index: 1; right: var(--gut); top: 50%; width: min(50vw, 760px); aspect-ratio: 462.8 / 240; transform: translateY(-56%); pointer-events: none; }
.mark svg { width: 100%; height: 100%; display: block; }
.mark .h { fill: var(--acc); }
.mark .beam { fill: var(--p3); transform-box: fill-box; transform-origin: 100% 50%; }
/* Road lines along the bottom of the hero, always moving. */
.road { position: absolute; z-index: 1; left: 0; right: 0; bottom: 34px; height: 4px; background: repeating-linear-gradient(90deg, var(--p3) 0 46px, transparent 46px 82px); background-size: 82px 4px; animation: road 1.1s linear infinite; }
@keyframes road { to { background-position: -82px 0; } }
.road + .road { bottom: 54px; height: 1px; background: var(--line); animation: none; }

/* hero entrance */
.in .hero .lab, .in .hero p, .in .hero .acts, .in .hero .fine { animation: rise .7s var(--ease) both; }
.in .hero .lab { animation-delay: .05s; }
.in .hero h1 .ln > span { animation: up .8s var(--ease) both; }
.in .hero h1 .ln:nth-child(2) > span { animation-delay: .08s; }
.in .hero h1 .ln:nth-child(3) > span { animation-delay: .16s; }
.in .hero p { animation-delay: .32s; }
.in .hero .acts { animation-delay: .42s; }
.in .hero .fine { animation-delay: .5s; }
.in .mark .h { animation: drive 1.1s .1s var(--ease) both; }
.in .mark .beam { animation: beam 1s var(--ease) both; }
.in .mark .beam:nth-of-type(2) { animation-delay: .32s; }
.in .mark .beam:nth-of-type(3) { animation-delay: .4s; }
.in .mark .beam:nth-of-type(4) { animation-delay: .48s; }
.in .mark .beam:nth-of-type(5) { animation-delay: .56s; }
@keyframes up { from { transform: translateY(105%); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes drive { from { opacity: 0; transform: translateX(-14%) skewX(-6deg); } }
@keyframes beam { from { transform: scaleX(0); } 60% { transform: scaleX(1.25); } to { transform: scaleX(1); } }

/* live counters */
.stats { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line2); }
.stats > div { flex: 1 1 0; padding: 26px var(--gut) 24px; border-right: 1px solid var(--line); min-width: 0; }
.stats > div:last-child { border-right: 0; }
.stats b { display: block; margin-top: 10px; font: 800 clamp(44px, 5vw, 64px)/.9 var(--disp); font-variant-numeric: tabular-nums; }
.stats b small { font-size: .5em; color: var(--mut); margin-left: 6px; }

/* ---------- sections ---------- */
.sec { padding: clamp(56px, 9vh, 104px) 0; border-bottom: 1px solid var(--line2); }
.sec h2 { font-size: clamp(44px, 6vw, 80px); margin: 14px 0 0; }
.sec h2 em { font-style: normal; color: var(--acc); }
.shead { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 24px; margin-bottom: 30px; }
.shead > div { flex: 1 1 320px; min-width: 0; }
.shead p { max-width: 480px; margin-top: 16px; color: var(--body); font-size: 17px; }
/* the launcher, framed */
.shotframe { position: relative; margin-top: 8px; }
.shotframe img { width: 100%; height: auto; border: 1px solid var(--line2); }
.shotframe::before { content: ""; position: absolute; left: -1px; top: 28px; bottom: 28px; width: 4px; background: var(--acc); z-index: 1; }

/* features: numbered cells */
.feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line2); border-left: 1px solid var(--line); }
.feat { position: relative; padding: 26px 24px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; overflow: hidden; }
.feat .n { font: 600 12px/1 var(--mono); color: var(--acc); letter-spacing: .1em; }
.feat b { display: block; margin: 44px 0 10px; font: 800 34px/.92 var(--disp); text-transform: uppercase; }
.feat span { display: block; color: var(--body); font-size: 15.5px; }
.feat::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--acc); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.feat:hover::after { transform: scaleX(1); }
.feat svg.fi { position: absolute; right: 22px; top: 22px; width: 30px; height: 30px; color: var(--mut); stroke-width: 1.6; }

/* invite explainer: three steps on a slant */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.step { position: relative; padding: 24px 24px 26px; background: var(--p1); min-width: 0; }
.step .n { font: 800 64px/.8 var(--disp); color: var(--p3); }
.step b { display: block; margin-top: 18px; font: 800 26px/1 var(--disp); text-transform: uppercase; }
.step span { display: block; margin-top: 8px; color: var(--body); font-size: 15px; }
.step:first-child { box-shadow: inset 4px 0 0 var(--acc); }

/* final call: the dash's Join, page-wide */
.final { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; border-bottom: 1px solid var(--line2); background: var(--p1); }
.final .t { padding: 34px var(--gut); min-width: 0; }
.final .t b { display: block; margin-top: 10px; font: 800 clamp(34px, 4vw, 52px)/.95 var(--disp); text-transform: uppercase; }
.final .cta { height: auto; min-height: 120px; padding: 0 clamp(28px, 4vw, 64px) 0 clamp(64px, 7vw, 110px); clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%); }
.final .cta b { font-size: clamp(40px, 5vw, 64px); }
.final .cta .i { width: 36px; height: 36px; }

/* footer */
.foot { padding: 34px 0 44px; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.foot .logo .wm { width: 120px; height: 19px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 22px; }
.foot nav a { font: 600 14px/1 var(--ui); color: var(--mut); }
.foot nav a:hover { color: var(--ink); }
.foot small { font: 500 12.5px/1.4 var(--mono); color: var(--mut); }

/* scroll reveals */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.seen { opacity: 1; transform: none; }
.rv-l { opacity: 0; transform: translateX(-30px) skewX(-4deg); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.rv-l.seen { opacity: 1; transform: none; }

/* ---------- the server list (as in the launcher) ---------- */
.noart { width: 100%; height: 100%; display: grid; place-items: center; background: repeating-linear-gradient(90deg, var(--p3) 0 18px, transparent 18px 30px) center / 100% 3px no-repeat, var(--p2); }
.noart b { font: 800 22px/1 var(--disp); color: var(--mut); background: var(--p2); padding: 0 8px; }
.cols, .row { display: grid; grid-template-columns: 156px minmax(0, 1fr) 170px 112px 104px; column-gap: 24px; align-items: center; }
.cols { height: 32px; border-bottom: 1px solid var(--line2); padding-right: 14px; }
.cols > span { white-space: nowrap; }
.cols [data-sort] { cursor: pointer; user-select: none; }
.cols [data-sort]:hover, .cols .sorted { color: var(--ink); }
.cols .sorted::after { content: " ▾"; }
.cols .sorted.asc::after { content: " ▴"; }
.row { min-height: 72px; border-bottom: 1px solid var(--line); padding-right: 14px; cursor: pointer; transition: background .12s; }
.row:hover { background: var(--p1); }
.row:focus-visible { outline-offset: -2px; }
.shot { width: 156px; height: 54px; overflow: hidden; clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%); background: var(--p2); flex: none; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.nm { min-width: 0; }
.nm b { display: flex; align-items: center; gap: 8px; font: 700 18px/1.2 var(--ui); white-space: nowrap; overflow: hidden; }
.nm .nt { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.nm b .lock { display: inline-flex; flex: none; }
.nm b .lock .i { width: 15px; height: 15px; color: var(--warn); }
.nm small { display: block; margin-top: 5px; font: 500 12.5px/1.2 var(--mono); color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nm small i { font-style: normal; color: var(--body); }
.drv { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 12px; }
.drv b { font: 800 30px/1 var(--disp); white-space: nowrap; font-variant-numeric: tabular-nums; }
.drv b u { text-decoration: none; color: var(--mut); font-size: 19px; }
.fill { display: block; height: 6px; background: var(--p3); overflow: hidden; }
.fill i { display: block; height: 100%; background: var(--ink); transition: width .6s var(--ease); }
.fill--full i { background: var(--warn); }
.mods b { display: block; font: 600 14.5px/1.2 var(--ui); white-space: nowrap; }
.mods--none b { color: var(--mut); font-weight: 500; }
.go { justify-self: end; height: 38px; padding: 0 14px 0 16px; display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line2); color: var(--body); font: 700 14px/1 var(--ui); white-space: nowrap; }
.go .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.go:hover { border-color: var(--ink); color: var(--ink); }
.go:hover .i { transform: translateX(3px); }
.go--full { color: var(--mut); border-style: dashed; cursor: default; }
.row.on { background: linear-gradient(var(--acc), var(--acc)) border-box 0 0 / 4px 100% no-repeat, var(--p1); border-bottom-color: transparent; }
.row.on .shot { margin-left: 4px; width: 152px; }
.row.on .go:not(.go--full) { background: var(--acc); border-color: var(--acc); color: var(--aink); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.list .row { animation: rowin .5s var(--ease) both; animation-delay: calc(var(--n, 0) * 40ms); }
@keyframes rowin { from { opacity: 0; transform: translateX(-16px); } }
.list.quiet .row { animation: none; }
.xp { display: grid; grid-template-columns: minmax(220px, 360px) minmax(0, 1fr); gap: 32px; padding: 22px 24px 26px 28px; background: var(--p1); box-shadow: inset 4px 0 0 var(--acc); border-bottom: 1px solid var(--line2); animation: open .35s var(--ease) both; }
@keyframes open { from { opacity: 0; transform: translateY(-8px); } }
.xp .big { height: 150px; overflow: hidden; background: var(--p2); }
.xp .big img { width: 100%; height: 100%; object-fit: cover; }
.xp p { color: var(--body); font-size: 15px; line-height: 1.5; max-width: 560px; overflow-wrap: anywhere; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 22px; }
.tags-gap { height: 14px; }
.tag { height: 26px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line2); font: 600 12.5px/1 var(--ui); color: var(--body); white-space: nowrap; }
.tag .i { width: 13px; height: 13px; }
.tag--acc { border-color: var(--acc); color: var(--acc); }
.who2 { display: flex; align-items: baseline; gap: 10px; min-width: 0; font: 500 14px/1.4 var(--ui); color: var(--body); }
.who2 .lab { white-space: nowrap; }
.who2 > b { font: 700 14px/1 var(--mono); color: var(--ink); flex: none; }
.who2 > span:last-child { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.facts { margin-top: 14px; font: 500 13px/1.6 var(--mono); color: var(--mut); overflow-wrap: anywhere; }
.facts b { color: var(--body); font-weight: 600; }
.btnrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.empty { display: grid; justify-items: center; gap: 12px; margin-top: 18px; padding: 40px 20px; border: 1px dashed var(--line2); text-align: center; }
.empty b { font: 800 30px/1 var(--disp); text-transform: uppercase; }
.more { display: flex; justify-content: flex-end; margin-top: 18px; }
.lnk { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--ui); color: var(--body); }
.lnk:hover { color: var(--acc); }
.lnk .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.lnk:hover .i { transform: translateX(4px); }
.skel .row { pointer-events: none; }
.skel .shot, .skel .nm b, .skel .nm small, .skel .drv b { background: var(--p2); color: transparent; }
.skel .nm b { width: 60%; height: 18px; }
.skel .nm small { width: 35%; height: 12px; }
.skel .row { animation: pulse 1.2s ease-in-out infinite alternate; }
@keyframes pulse { from { opacity: .45; } to { opacity: 1; } }

/* ---------- servers page ---------- */
.page { padding: 30px 0 70px; }
.lhead { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 10px; padding-bottom: 16px; }
.lhead h1 { font-size: clamp(42px, 5vw, 56px); white-space: nowrap; }
.lhead .n { flex: 1 1 auto; min-width: 0; font: 600 14px/1.2 var(--mono); color: var(--mut); margin: 0 14px 4px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tools { display: flex; gap: 10px; flex: 1 1 520px; justify-content: flex-end; min-width: 0; }
.search { display: flex; align-items: center; gap: 10px; flex: 1 1 300px; max-width: 360px; min-width: 0; height: 42px; padding: 0 12px 0 14px; background: var(--p1); border: 1px solid var(--line2); color: var(--mut); }
.search:focus-within { border-color: var(--acc); }
.search input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font: 500 14.5px/1 var(--ui); color: var(--ink); }
.search input::placeholder { color: var(--mut); }
.sel-wrap { position: relative; flex: 0 1 220px; min-width: 120px; display: flex; }
.sel-wrap select { appearance: none; width: 100%; height: 42px; padding: 0 40px 0 14px; border: 1px solid var(--line2); background: var(--p1); font: 500 14.5px/1 var(--ui); border-radius: 0; outline: none; }
.sel-wrap select:focus { border-color: var(--acc); }
.sel-wrap .i { position: absolute; right: 12px; top: 13px; width: 16px; color: var(--mut); pointer-events: none; }
.note { margin-top: 22px; font: 500 13px/1.5 var(--mono); color: var(--mut); }
.note a { color: var(--body); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line2); }
.note a:hover { color: var(--ink); }

/* ---------- invite page ---------- */
.inv { padding: clamp(30px, 6vh, 64px) 0 clamp(48px, 8vh, 88px); }
.inv .lab { display: block; }
.card { display: grid; grid-template-columns: minmax(240px, 380px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); margin-top: 22px; padding: 26px; background: var(--p1); box-shadow: inset 4px 0 0 var(--acc); }
.card .big { height: 100%; min-height: 220px; overflow: hidden; background: var(--p2); clip-path: polygon(0 0, 100% 0, calc(100% - 40px) 100%, 0 100%); }
.card .big img { width: 100%; height: 100%; object-fit: cover; }
.card .big .noart b { font-size: 46px; }
.card h1 { font-size: clamp(46px, 6.4vw, 92px); margin: 12px 0 10px; overflow-wrap: anywhere; }
.card .sub { font: 500 14px/1.3 var(--mono); color: var(--body); }
.card .sub i { font-style: normal; color: var(--mut); }
.card p { margin-top: 16px; max-width: 600px; color: var(--body); overflow-wrap: anywhere; }
.meter2 { display: flex; align-items: center; gap: 18px; margin: 24px 0 6px; max-width: 520px; }
.meter2 b { font: 800 56px/.85 var(--disp); white-space: nowrap; font-variant-numeric: tabular-nums; }
.meter2 b u { text-decoration: none; color: var(--mut); font-size: 30px; }
.meter2 .fill { flex: 1; height: 8px; min-width: 60px; }
.card .who2 { margin-top: 10px; }
.card .tags { margin: 18px 0 0; }
.card .facts { margin-top: 16px; }
.acts2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.act { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: 24px 26px 26px; background: var(--p1); min-width: 0; }
.act .lab { color: var(--acc); }
.act b.h { display: block; margin-top: 10px; font: 800 clamp(30px, 3vw, 40px)/.95 var(--disp); text-transform: uppercase; }
.act small { display: block; margin-top: 8px; color: var(--mut); font: 500 13.5px/1.4 var(--ui); }
.act .cta { align-self: flex-start; max-width: 100%; }
.act--go { background: var(--p2); }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 60; transform: translateX(-50%); max-width: calc(100vw - 32px); display: flex; align-items: center; gap: 14px; padding: 12px 18px; background: var(--p2); box-shadow: inset 4px 0 0 var(--acc), 0 14px 34px rgba(0, 0, 0, .5); font: 600 14.5px/1.35 var(--ui); animation: toast .3s var(--ease) both; }
.toast a { color: var(--acc); white-space: nowrap; }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- narrower screens ---------- */
@media (max-width: 1080px) {
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols, .row { grid-template-columns: 120px minmax(0, 1fr) 150px 104px; }
  .cols > :nth-child(4), .row > .mods { display: none; }
  .shot { width: 120px; } .row.on .shot { width: 116px; }
}
@media (max-width: 820px) {
  .nav { margin-left: 18px; gap: 18px; }
  .mark { width: 92vw; right: -30vw; opacity: .5; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .card { grid-template-columns: minmax(0, 1fr); }
  .card .big { min-height: 160px; height: 160px; }
  .acts2 { grid-template-columns: minmax(0, 1fr); }
  .final { grid-template-columns: minmax(0, 1fr); }
  .final .cta { min-height: 96px; clip-path: none; padding-left: var(--gut); }
  .xp { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .xp .big { height: 120px; }
  .tools { flex-basis: 100%; justify-content: stretch; }
  .search { max-width: none; }
}
@media (max-width: 640px) {
  .bar .wrap { gap: 8px; }
  .logo .wm { width: 118px; height: 19px; }
  .nav { margin-left: 8px; gap: 14px; }
  .nav em { display: none; }
  .bar .tbtn span { display: none; }
  .bar .tbtn { padding: 0 11px; }
  .feats { grid-template-columns: minmax(0, 1fr); }
  .feat b { margin-top: 26px; }
  .mark { display: none; }
  .stats > div { padding: 18px 12px 16px; }
  .stats > div:first-child { padding-left: var(--gut); }
  .stats .lab { font-size: 10px; letter-spacing: .08em; }
  .stats b { font-size: 38px; }
  .cols, .row { grid-template-columns: 76px minmax(0, 1fr) 64px; column-gap: 14px; }
  .cols, .row > .go, .xp .big { display: none; }
  .shot { width: 76px; height: 44px; clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); }
  .row.on .shot { width: 72px; }
  .noart b { font-size: 16px; padding: 0 4px; }
  .drv { grid-template-columns: 1fr; gap: 6px; }
  .drv b { font-size: 24px; } .drv b u { font-size: 15px; }
  .row { padding-right: 0; }
  .xp { padding: 18px 16px 20px 20px; }
  .cta { height: 60px; padding: 0 22px 0 36px; gap: 18px; }
  .cta b { font-size: 27px; }
  .card { padding: 18px; }
  .meter2 b { font-size: 44px; } .meter2 b u { font-size: 24px; }
  .act { padding: 20px; }
  .act .cta { align-self: stretch; }
  .sel-wrap { flex: 1 1 140px; }
}
