/* OpenSF: sf.teamvanilla.dev. The look is the game's own lobby kit: near-black panels, olive
   plates for buttons and tabs, the lime bar under the tab that is open, gold for numbers. One
   theme (the game has one). System fonts only: the CSP loads no font files. */

:root {
  --bg: #0e0f0d;
  --bg-2: #131411;
  --panel: #1a1b19;
  --panel-2: #22231f;
  --line: #2e2f2a;
  --line-2: #3a3b35;
  --plate: #3f3c29;
  --plate-hi: #4c4832;
  --plate-line: #5f5a3f;
  --text: #dddbcf;
  --dim: #a3a194;
  --faint: #7d7b70;
  --gold: #e6c862;
  --lime: #aadc46;
  --lime-2: #86b52c;
  --link: #bde26a;
  --red: #d0574a;
  --blue: #5b93e2;
  --blurple: #5865f2;
  --radius: 3px;
  --wrap: 1200px;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Cascadia Code", Consolas, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--sans);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: #f1efe4; font-weight: 700; }
h1 { font-size: 2.3rem; letter-spacing: .005em; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.15rem; }
p, ul, ol, dl, table, pre, figure { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: .25em; }
b, strong { color: #f3f1e6; }
code, kbd, pre { font-family: var(--mono); font-size: .88em; }
code { background: #23241f; border: 1px solid var(--line); border-radius: var(--radius); padding: .05em .35em; color: #e9e3c4; word-break: break-word; }
pre { background: #0a0b09; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; overflow-x: auto; line-height: 1.5; }
pre code { background: none; border: 0; padding: 0; color: #dcd7bd; word-break: normal; }
kbd { display: inline-block; min-width: 1.6em; padding: .05em .45em; text-align: center; color: #eee9cf; background: linear-gradient(#4a4631, #37341f); border: 1px solid var(--plate-line); border-bottom-width: 2px; border-radius: var(--radius); font-size: .8em; line-height: 1.5; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.ico { width: 1.1em; height: 1.1em; flex: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--lime); color: #111; padding: 8px 12px; }
.skip:focus { left: 8px; }

/* ── The strip over the header, the header ─────────────────────────────── */
.util { background: #080907; border-bottom: 1px solid #1d1e1a; font-size: .8rem; color: var(--faint); }
.util-in { display: flex; justify-content: space-between; gap: 16px; padding-top: 5px; padding-bottom: 5px; }
.util p { margin: 0; }
.util a { color: var(--dim); }
.util b { color: var(--gold); font-weight: 600; }
.top { background: linear-gradient(#20211d, #181916); border-bottom: 1px solid #0a0a09; box-shadow: inset 0 -2px 0 var(--plate); position: relative; z-index: 5; }
.top-in { display: flex; align-items: center; gap: 28px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); flex: none; }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 1.25rem; letter-spacing: .02em; color: #f4f1e2; }
.brand-text small { font-size: .74rem; color: var(--gold); letter-spacing: .04em; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: #cfccbf; padding: 8px 12px 9px; border-radius: var(--radius); font-weight: 600; font-size: .95rem; position: relative; }
.nav a:hover { background: #2a2b26; text-decoration: none; color: #fff; }
.nav a[aria-current="page"] { color: #fff; background: var(--plate); box-shadow: inset 0 1px 0 rgba(255,255,255,.07); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 2px; background: var(--lime); }
.top-act { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: none; }

/* ── Buttons: the kit's plates ──────────────────────────────────────────── */
.btn, .pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  border-radius: var(--radius); font-weight: 700; font-size: .98rem; line-height: 1.2;
  padding: .72em 1.25em; border: 1px solid var(--plate-line); color: #f0ecd6;
  background: linear-gradient(#514d35, #3a3725); box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 1px 0 rgba(0,0,0,.6);
  cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn:hover, .pill:hover { background: linear-gradient(#5d5940, #444029); text-decoration: none; color: #fff; }
.btn-go { background: linear-gradient(#b7e35a, #7ea92a); border-color: #c9ef78; color: #151a07; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 1px 0 rgba(0,0,0,.6); }
.btn-go:hover { background: linear-gradient(#c6ee6c, #8cbb31); color: #0d1003; }
.btn-discord { background: var(--blurple); border-color: #7983f5; color: #fff; }
.btn-discord:hover { background: #4752c4; }
.btn-small { padding: .5em .95em; font-size: .9rem; }
.pill { padding: .45em .85em; font-size: .88rem; background: transparent; border-color: var(--line-2); color: #d3d0c2; box-shadow: none; }
.pill:hover { background: #2a2b26; border-color: var(--plate-line); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── The home page's banner ─────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; border-bottom: 1px solid #000; background: #0b0c0a; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("/img/hero.webp") center 40% / cover no-repeat; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,11,9,.94) 0%, rgba(10,11,9,.78) 42%, rgba(10,11,9,.25) 100%), linear-gradient(0deg, rgba(14,15,13,1) 0%, rgba(14,15,13,0) 30%); }
.hero-in { padding-top: 72px; padding-bottom: 76px; max-width: var(--wrap); }
.hero-mark { width: 96px; height: 96px; margin-bottom: 18px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.6)); }
.hero h1 { font-size: 3rem; margin-bottom: .25em; }
.hero h1 small { display: block; font-size: 1.05rem; color: var(--gold); letter-spacing: .06em; font-weight: 600; margin-top: .45em; }
.hero .lead { font-size: 1.2rem; color: #e1ded2; max-width: 34em; margin-bottom: 1.4em; }
.hero .btns { margin-bottom: 18px; }
.hero-line { color: var(--dim); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; }
.hero-line span { display: inline-flex; align-items: center; gap: 6px; }

/* Other pages open with a band: their title and one line. */
.band { background: linear-gradient(#151613, #10110e); border-bottom: 1px solid var(--line); }
.band-in { padding-top: 40px; padding-bottom: 34px; display: flex; align-items: center; gap: 28px; }
.band-in > img { width: 92px; flex: none; }
.band h1 { margin-bottom: .2em; }
.band p { color: var(--dim); font-size: 1.08rem; margin: 0; max-width: 46em; }
.band-art { background: #0b0c0a url("/img/legacy-wall.webp") center / cover no-repeat; position: relative; isolation: isolate; }
.band-art::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,11,9,.95), rgba(10,11,9,.72) 60%, rgba(10,11,9,.45)); }

/* ── Sections ─────────────────────────────────────────────────────────── */
.sec { padding: 56px 0; }
.sec + .sec { border-top: 1px solid #1c1d19; }
.sec-alt { background: var(--bg-2); }
.sec-head { margin-bottom: 26px; max-width: 52em; }
.sec-head p { color: var(--dim); margin: 0; }
.sec h2, .doc h2 { position: relative; }
.sec-head h2::before, .mark::before { content: ""; display: inline-block; width: 6px; height: .95em; background: var(--lime); margin-right: .55em; vertical-align: -.1em; }
.prose { max-width: 46em; }
.prose p, .prose li { color: #d6d3c6; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.cols + .prose, .cols + .note, .cols + p { margin-top: 24px; }

/* A feature: words beside a picture, the sides taking turns. */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.feature + .feature { margin-top: 56px; }
.feature:nth-of-type(even) > .feature-text { order: 2; }
.feature h3 { font-size: 1.45rem; display: flex; align-items: center; gap: .45em; }
.feature h3 .ico { color: var(--lime); width: 1.15em; height: 1.15em; }
.feature p, .feature li { color: #d3d0c3; }
.feature ul { margin-bottom: .8em; }
.figure-plate { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.figure-plate figure { margin: 0; }

.card { background: var(--panel); border: 1px solid var(--line); border-top: 2px solid var(--plate-line); border-radius: var(--radius); padding: 22px 22px 8px; }
.card h3 { display: flex; align-items: center; gap: .5em; }
.card h3 .ico { color: var(--lime); }
.card p, .card li { color: #d0cdc0; font-size: .97rem; }

.plats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-bottom: 1.2em; }
.plat { display: flex; flex-direction: column; padding-bottom: 14px; }
.plat h3 .ico { width: 1.25em; height: 1.25em; }
.plat p { flex: 1 0 auto; }
.plat .plat-state { flex: none; margin: 0; font-size: .85rem; font-weight: 600; color: var(--dim); border-top: 1px solid var(--line); padding-top: 10px; }
.plat .plat-in { color: var(--lime); }
.doc td .ico { vertical-align: -.2em; margin-right: .25em; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 1.4em; }
.facts div { background: var(--panel); padding: 14px 16px; }
.facts dt { color: var(--dim); font-size: .85rem; }
.facts dd { margin: 0; color: #f0eddd; font-weight: 600; }
.facts dd b { color: var(--gold); }

.steps { counter-reset: s; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px 58px; position: relative; margin: 0; color: #d3d0c3; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; display: grid; place-items: center; background: var(--plate); border: 1px solid var(--plate-line); color: var(--gold); font-weight: 700; border-radius: var(--radius); }
.steps b { display: block; color: #f3f0e3; margin-bottom: 2px; }

.release { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 10px; }
.release h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2em .7em; }
.release h3 small { color: var(--dim); font-weight: 400; font-size: .9rem; }

/* ── Screenshots ──────────────────────────────────────────────────────── */
.shot { margin: 0; }
.shot a { display: block; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: #000; }
.shot a:hover { border-color: var(--plate-line); }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .2s ease; }
.shot a:hover img { transform: scale(1.015); }
.shot figcaption { color: var(--dim); font-size: .88rem; line-height: 1.45; padding: 8px 2px 0; }
.shot-wide { margin: 1.4em 0 1.6em; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px 20px; margin-bottom: 1em; }
.doc .shots { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gallery-sec + .gallery-sec { margin-top: 44px; }

.viewer { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; }
.stage { background: #000; border-radius: 2px; overflow: hidden; }
.stage a { display: block; }
.stage-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.stage-cap { color: var(--dim); font-size: .92rem; margin: 10px 4px 10px; min-height: 1.5em; }
.strip { list-style: none; margin: 0; padding: 0 0 2px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(118px, 1fr); gap: 6px; overflow-x: auto; }
.strip li { margin: 0; }
.strip a { display: block; border: 2px solid transparent; border-radius: 2px; opacity: .62; }
.strip a:hover { opacity: .9; }
.strip a[aria-current="true"] { border-color: var(--lime); opacity: 1; }
.strip img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* The lightbox (js/site.js) */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(4,5,4,.94); display: grid; grid-template-rows: 1fr auto; padding: 24px; }
.lb[hidden] { display: none; }
.lb img { max-width: 100%; max-height: 100%; margin: auto; object-fit: contain; align-self: center; justify-self: center; border: 1px solid var(--line-2); }
.lb-bar { display: flex; align-items: center; gap: 14px; padding-top: 14px; color: var(--dim); font-size: .95rem; }
.lb-bar p { margin: 0 auto 0 0; }
.lb-bar button { font: inherit; color: #eee; background: var(--plate); border: 1px solid var(--plate-line); border-radius: var(--radius); padding: 6px 14px; cursor: pointer; }
.lb-bar button:hover { background: var(--plate-hi); }

/* ── Maps, forces ─────────────────────────────────────────────────────── */
.maps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.map { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map a { display: block; }
.map img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.map h3 { font-size: 1rem; margin: 10px 12px 2px; }
.map p { font-size: .85rem; color: var(--dim); margin: 0 12px 10px; line-height: 1.45; }
.map .map-kind { color: var(--gold); font-weight: 600; margin-bottom: 4px; }
.forces { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.forces li { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: center; }
.forces img { width: 100%; aspect-ratio: 120 / 179; object-fit: cover; object-position: top; }
.forces span { display: block; padding: 6px 4px; font-size: .85rem; font-weight: 600; color: #e9e6d8; }

/* ── Tables, notes ────────────────────────────────────────────────────── */
.table { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: .93rem; margin: 0; }
th, td { text-align: left; vertical-align: top; padding: 9px 12px; border-bottom: 1px solid var(--line); }
th { background: linear-gradient(#3b3826, #312f1f); color: #efe9c9; font-weight: 600; white-space: nowrap; border-bottom-color: #4b4730; }
tbody tr:nth-child(odd) td { background: #161714; }
tbody tr:nth-child(even) td { background: #1b1c19; }
tbody tr:last-child td { border-bottom: 0; }
td small { color: var(--dim); }
.note { border: 1px solid #45482d; border-left: 4px solid var(--lime-2); background: #181b12; border-radius: var(--radius); padding: 12px 16px 2px; margin: 0 0 1.2em; }
.note p { color: #d9dccb; }
details.ranks { margin: 0 0 1.2em; }
details.ranks summary { cursor: pointer; color: var(--link); font-weight: 600; margin-bottom: .6em; }

/* ── Downloads ────────────────────────────────────────────────────────── */
.dls { display: grid; gap: 22px; }
.dl { background: var(--panel); border: 1px solid var(--line); border-top: 2px solid var(--lime-2); border-radius: var(--radius); padding: 22px 24px 8px; }
.dl h3 { display: flex; align-items: center; gap: .5em; font-size: 1.3rem; }
.dl h3 .ico { color: var(--lime); }
.dl-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 18px; font-size: .92rem; }
.dl-facts dt { color: var(--dim); }
.dl-facts dd { margin: 0; color: #e6e3d6; }
code.hash { font-size: .8rem; word-break: break-all; }

/* ── The server list ──────────────────────────────────────────────────── */
.list-sum { color: var(--dim); }
.list-sum b { color: var(--gold); }
table.servers td:first-child { min-width: 240px; }
.tier { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: 1px 7px; border-radius: var(--radius); border: 1px solid var(--line-2); color: var(--dim); vertical-align: 2px; margin-left: 4px; }
.tier-official { color: #1a1503; background: var(--gold); border-color: #f2dc8c; }
.tier-verified { color: #121804; background: var(--lime); border-color: #c9ef78; }

/* ── The documentation ────────────────────────────────────────────────── */
.docs { display: grid; grid-template-columns: 230px minmax(0, 1fr) 200px; gap: 40px; padding-top: 36px; padding-bottom: 64px; align-items: start; }
.side { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; padding-right: 6px; font-size: .93rem; }
.side-group + .side-group { margin-top: 20px; }
.side h2 { font-size: .8rem; letter-spacing: .06em; color: var(--gold); margin: 0 0 6px; font-weight: 700; }
.side ul { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line-2); }
.side li { margin: 0; }
.side a { display: block; padding: 4px 10px; color: #c9c6b9; margin-left: -1px; border-left: 2px solid transparent; }
.side a:hover { color: #fff; text-decoration: none; border-left-color: var(--plate-line); }
.side a[aria-current="page"] { color: #fff; font-weight: 600; border-left-color: var(--lime); background: linear-gradient(90deg, #2a2a20, transparent); }
.side-toggle { display: none; }
.doc { min-width: 0; }
.doc h1 { font-size: 2.1rem; }
.doc .lead { font-size: 1.12rem; color: var(--dim); margin-bottom: 1.6em; }
.doc h2 { font-size: 1.45rem; margin-top: 1.8em; padding-top: .2em; }
.doc h2::before { content: ""; display: inline-block; width: 5px; height: .9em; background: var(--lime); margin-right: .55em; vertical-align: -.08em; }
.doc h3 { margin-top: 1.5em; }
.doc p, .doc li { color: #d7d4c7; }
.doc .anchor { float: left; margin-left: -1.1em; width: 1.1em; color: var(--faint); opacity: 0; font-weight: 400; }
.doc h2 .anchor { margin-left: -1.6em; }
.doc h2:hover .anchor, .doc h3:hover .anchor { opacity: 1; text-decoration: none; }
.crumb { font-size: .85rem; color: var(--faint); margin-bottom: .6em; }
.crumb a { color: var(--dim); }
.toc { position: sticky; top: 16px; font-size: .86rem; border-left: 1px solid var(--line-2); padding-left: 14px; }
.toc h2 { font-size: .78rem; letter-spacing: .06em; color: var(--gold); margin-bottom: 6px; }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { margin: 0 0 4px; }
.toc a { color: var(--dim); }
.toc a:hover { color: #fff; }
.pager { display: flex; gap: 16px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); }
.pn { flex: 1; display: block; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; color: #ebe8da; font-weight: 600; }
.pn:hover { border-color: var(--plate-line); text-decoration: none; background: var(--panel-2); }
.pn small { display: block; color: var(--faint); font-weight: 400; font-size: .8rem; }
.pn-next { text-align: right; margin-left: auto; }
.doc-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 0 0 1.4em; padding: 0; list-style: none; }
.doc-links li { margin: 0; }
.doc-links a { display: block; height: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; color: #ece9db; font-weight: 600; }
.doc-links a:hover { border-color: var(--plate-line); text-decoration: none; background: var(--panel-2); }
.doc-links span { display: block; color: var(--dim); font-weight: 400; font-size: .9rem; margin-top: 2px; }

/* ── The 404 ──────────────────────────────────────────────────────────── */
.lost { text-align: center; padding: 64px 0 80px; }
.lost img { width: 220px; margin: 0 auto 24px; border-radius: var(--radius); }
.lost p { color: var(--dim); }
.lost .btns { justify-content: center; }

/* ── The footer ───────────────────────────────────────────────────────── */
.foot { background: #090a08; border-top: 1px solid #000; box-shadow: inset 0 2px 0 var(--plate); color: var(--dim); font-size: .92rem; }
.foot-in { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 40px; padding-bottom: 28px; }
.foot h2 { font-size: .82rem; letter-spacing: .06em; color: var(--gold); margin-bottom: 10px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: 0 0 5px; }
.foot a { color: #c8c5b8; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; color: #f2efe1; margin-bottom: 10px; }
.foot-brand img { width: 32px; height: 32px; }
.fine { border-top: 1px solid #1c1d19; padding-top: 16px; padding-bottom: 28px; font-size: .8rem; color: var(--faint); }
.fine p { margin: 0 0 .4em; }

/* ── Narrower screens ─────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .docs { grid-template-columns: 220px minmax(0, 1fr); }
  .toc { display: none; }
}
@media (max-width: 980px) {
  .top-in { flex-wrap: wrap; gap: 10px 20px; padding-top: 10px; padding-bottom: 10px; }
  .nav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; margin: 0 -6px; }
  .feature { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .feature:nth-of-type(even) > .feature-text { order: 0; }
  .foot-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .docs { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 20px; }
  .side-wide { display: none; }
  .side-toggle { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
  .side-toggle summary { padding: 10px 14px; cursor: pointer; font-weight: 600; color: #ece9db; }
  .side-mobile { position: static; max-height: none; padding: 4px 14px 14px; }
  .doc .anchor { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 16px; }
  .util-in { flex-direction: column; gap: 0; }
  .brand-text small { display: none; }
  .top-act .pill span { display: none; }
  h1 { font-size: 1.85rem; }
  .hero h1 { font-size: 2.15rem; }
  .hero-in { padding-top: 44px; padding-bottom: 48px; }
  .hero .lead { font-size: 1.05rem; }
  .band-in { flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 28px; padding-bottom: 24px; }
  .band-in > img { width: 64px; }
  .sec { padding: 40px 0; }
  .shots { grid-template-columns: minmax(0, 1fr); }
  .foot-in { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pager { flex-direction: column; }
  .dl { padding: 18px 16px 6px; }
  .dl-facts { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .dl-facts dd { margin-bottom: 8px; }
  .strip { grid-auto-columns: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
