/* Safety SMP site (v5, 2026-11-16): look B "Portal", picked by Kobe from three looks and pitched as a community-run
   server; blue since the blue block-letter logo (lib/logo.js), with block details: a faint wall of dark blocks behind
   the page, blocky button edges, a strip of blocks under each banner and on the footer, a block before each heading.
   Blue for anything you can press, green only for "online" and "paid". Kobe's own screenshots.
   Montserrat (headings) + Source Sans 3 (text), SIL OFL, self-hosted, latin only. Used by /, /join, /donate and the
   404 page; /admin adds css/admin.css on top. */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500 900; font-display: swap; src: url('/fonts/montserrat-500-900-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/sourcesans3-400-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #0e1115;
  --bar: #090b0e;
  --panel: #161a20;
  --panel-2: #1d222a;
  --line: #262c35;
  --line-2: #343c48;
  --text: #edf0f4;
  --text-2: #c3c9d1;
  --muted: #8d96a3;
  --go: #2569c9;
  --go-hi: #4a93ef;
  --go-deep: #1b3f86;
  --ok: #4fb84f;
  --red: #e5534b;
  --amber: #e3b341;
  --gut: clamp(16px, 2.6vw, 56px);
  --bar-h: 76px;
  --head: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --sans: 'Source Sans 3', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg) url('/img/bg-blocks.png'); color: var(--text); font: 400 18px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--go-hi); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 16px; background: var(--go); color: #fff; font-weight: 700; }
.skip:focus { top: 12px; }

/* top bar */
.bar { position: sticky; top: 0; z-index: 50; background: var(--bar); border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; gap: clamp(20px, 3vw, 56px); height: var(--bar-h); padding: 0 var(--gut); }
.logo { flex: none; display: block; line-height: 0; }
.logo img { display: block; width: 280px; height: 48px; image-rendering: pixelated; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 10px 14px; color: var(--text-2); font: 600 15px/1 var(--head); text-decoration: none; }
.nav a:hover { background: var(--panel-2); color: var(--text); }
.bar-play { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.bar-live { display: flex; align-items: center; gap: 8px; color: var(--text-2); font: 600 15px/1 var(--head); white-space: nowrap; }
.bar-live i { width: 10px; height: 10px; background: var(--muted); }
.bar-live[data-state='online'] i { background: var(--ok); }
.bar-live[data-state='offline'] i { background: var(--red); }

/* buttons + address */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border: 0; border-radius: 2px; font: 700 15px/1 var(--head); text-decoration: none; white-space: nowrap; cursor: pointer; }
/* blocky edges, like a block: light along the top, dark along the bottom */
.btn-go { background: var(--go); color: #fff; box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.22), inset 0 -4px 0 rgba(0, 0, 0, 0.3); }
.btn-go:hover { background: var(--go-hi); }
.btn-line { background: rgba(9, 11, 14, 0.4); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 -3px 0 rgba(0, 0, 0, 0.35); }
.btn-line:hover { background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--muted), inset 0 -3px 0 rgba(0, 0, 0, 0.35); }
.btn-lg { min-height: 60px; padding: 0 30px; font-size: 17px; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; min-height: 56px; font-size: 16px; }
.btn:disabled { opacity: 0.55; cursor: default; }
.ip { display: inline-flex; align-items: stretch; min-height: 60px; max-width: 100%; padding: 0; border: 1px solid var(--line-2); border-radius: 2px; background: rgba(9, 11, 14, 0.82); text-align: left; cursor: pointer; }
.ip-addr { display: flex; align-items: center; min-width: 0; padding: 0 18px; font: 600 17px/1.25 var(--sans); }
.copy-label { flex: none; display: flex; align-items: center; padding: 0 16px; border-left: 1px solid var(--line-2); font: 700 13px/1 var(--head); letter-spacing: 0.04em; text-transform: uppercase; color: var(--go-hi); }
.ip:hover { border-color: var(--muted); }
.ip.copied .copy-label { background: var(--go); color: #fff; }
.ip-sm { min-height: 44px; width: 100%; }
.ip-sm .ip-addr { flex: 1; padding: 8px 12px; font-size: 15px; }

/* banner: a screenshot with the page's name on a dark panel */
.banner { position: relative; height: clamp(420px, 54vh, 640px); overflow: hidden; background: var(--panel); }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.banner-in { position: absolute; left: var(--gut); bottom: var(--gut); max-width: calc(100% - 2 * var(--gut)); padding: clamp(24px, 2.4vw, 44px); background: rgba(9, 11, 14, 0.9); border-left: 6px solid var(--go); }
.banner h1 { font: 900 clamp(48px, 5vw, 104px)/0.95 var(--head); letter-spacing: -0.02em; text-transform: uppercase; }
/* home: the big logo centred over the screenshot, the pitch and the buttons under it */
.banner-home { display: grid; place-items: center; height: auto; min-height: clamp(520px, 66vh, 780px); }
.hero-center { position: relative; display: grid; justify-items: center; gap: 22px; max-width: 100%; padding: clamp(32px, 4vh, 56px) var(--gut) clamp(40px, 5vh, 64px); text-align: center; }
.banner .hero-center .banner-pitch { margin: 0; padding: 10px 18px; background: rgba(9, 11, 14, 0.88); }
.hero-center .banner-actions { justify-content: center; margin: 4px 0 0; }
@media (min-width: 1600px) and (min-height: 900px) { .banner-home .banner-logo { width: 804px; } } /* 3x, still whole pixels */
.banner .banner-logo-h { line-height: 0; }
.banner-logo { display: block; width: 536px; height: auto; max-width: 100%; image-rendering: pixelated; }
.strip { height: 32px; background: url('/img/strip-blocks.png') 0 0 / 512px 32px repeat-x; image-rendering: pixelated; }
.banner p { margin-top: 12px; color: var(--text-2); font-size: clamp(18px, 1.3vw, 24px); }
.banner .banner-pitch { color: var(--text); font-weight: 600; font-size: clamp(20px, 1.45vw, 28px); line-height: 1.35; }
.banner-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.banner-sm { height: clamp(260px, 34vh, 420px); }
.banner-sm > img { object-position: 50% 40%; }
.banner-full { height: calc(100svh - var(--bar-h)); min-height: 480px; }
.banner-full > img { object-position: 50% 45%; }

/* two columns: posts, and the status sidebar */
.page { display: grid; grid-template-columns: minmax(0, 1fr) clamp(340px, 26vw, 520px); gap: clamp(16px, 1.6vw, 28px); padding: clamp(16px, 1.6vw, 28px) var(--gut) 64px; align-items: start; }
.col-main { display: grid; gap: clamp(16px, 1.6vw, 28px); min-width: 0; }
.col-side { position: sticky; top: 96px; display: grid; gap: clamp(16px, 1.6vw, 28px); }
.post, .box { background: var(--panel); border: 1px solid var(--line); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.035), inset 0 -3px 0 rgba(0, 0, 0, 0.3); }
.post-shot { aspect-ratio: 21 / 8; overflow: hidden; border-bottom: 1px solid var(--line); }
.post-shot img { width: 100%; height: 100%; object-fit: cover; }
#community .post-shot img { object-position: 50% 45%; }
.post-body { display: grid; gap: 18px; padding: clamp(22px, 2.2vw, 44px); }
.post h2, .box h2 { font: 800 clamp(26px, 1.9vw, 38px)/1.1 var(--head); letter-spacing: -0.01em; }
/* a blue block in front of each section heading */
.post-body > h2, .box > h2 { display: flex; align-items: center; gap: 0.45em; }
.post-body > h2::before, .box > h2::before { content: ''; flex: none; width: 24px; height: 24px; background: url('/img/block-blue.png') center / 24px 24px no-repeat; image-rendering: pixelated; }
.post p { max-width: 70ch; color: var(--text-2); font-size: clamp(18px, 1.05vw, 20px); }
.post strong { color: var(--text); }

@media (min-width: 1500px) {
  #community .post-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 3vw, 64px); }
  #community .post-body > h2 { grid-column: 1 / -1; }
  #claims .post-body, #shops .post-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 3vw, 64px); align-items: start; }
  #claims .post-body > *, #shops .post-body > * { grid-column: 1; }
  #claims .post-body > .ref, #shops .post-body > .ref { grid-column: 2; grid-row: 1 / span 4; }
}
.ref { width: 100%; max-width: 760px; border-collapse: collapse; font-size: 17px; }
.ref th, .ref td { padding: 10px 14px; text-align: left; vertical-align: baseline; border-bottom: 1px solid var(--line); }
.ref tr:nth-child(odd) th, .ref tr:nth-child(odd) td { background: var(--panel-2); }
.ref th { width: 1%; color: var(--go-hi); font: 700 16px/1.3 var(--head); white-space: nowrap; }
.ref td { color: var(--text-2); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 0 4px 4px; }
.shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--panel-2); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: filter 0.2s ease; }
.shot:hover img { filter: brightness(1.12); }
.shot span { position: absolute; left: 0; bottom: 0; padding: 6px 10px; background: rgba(9, 11, 14, 0.88); color: var(--text-2); font: 600 13px/1.2 var(--head); }
.g1 { grid-column: span 4; aspect-ratio: 21 / 9; }

/* sidebar */
.box { display: grid; gap: 16px; padding: clamp(20px, 1.6vw, 30px); }
.box > .btn:not(.btn-block) { justify-self: start; }
.box-note { color: var(--text-2); }
.state { padding: 12px 14px; background: var(--panel-2); border-left: 5px solid var(--muted); font: 800 18px/1 var(--head); text-transform: uppercase; letter-spacing: 0.02em; }
.state[data-state='online'] { border-left-color: var(--ok); color: var(--ok); }
.state[data-state='offline'] { border-left-color: var(--red); color: var(--red); }
.facts { display: grid; }
.facts > div { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font: 700 13px/1 var(--head); text-transform: uppercase; letter-spacing: 0.05em; }
.facts dd { font-weight: 600; min-width: 0; }
.tab-list { display: grid; gap: 2px; }
.tab-row { display: flex; align-items: center; gap: 0.5em; min-height: 40px; padding: 4px 12px 4px 4px; background: rgba(255, 255, 255, 0.06); font: 600 16px/1 var(--sans); white-space: nowrap; overflow: hidden; }
.tab-row .face { flex: none; width: 30px; height: 30px; background: var(--line-2); image-rendering: pixelated; }
.tn { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ts { color: #59616d; }
.stat { color: var(--text-2); }
.tab-more { padding: 10px 12px; color: var(--muted); }
.tab-empty { padding: 14px; background: var(--panel-2); color: var(--muted); }
.skull { flex: none; display: inline-block; width: 0.8em; height: 0.8em; background: var(--text-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cpath d='M1 0h5v1h-5zM0 1h7v1h-7zM0 2h1v2h-1zM3 2h1v2h-1zM6 2h1v2h-1zM0 4h3v1h-3zM4 4h3v1h-3zM1 5h5v1h-5zM1 6h1v1h-1zM3 6h1v1h-1zM5 6h1v1h-1z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cpath d='M1 0h5v1h-5zM0 1h7v1h-7zM0 2h1v2h-1zM3 2h1v2h-1zM6 2h1v2h-1zM0 4h3v1h-3zM4 4h3v1h-3zM1 5h5v1h-5zM1 6h1v1h-1zM3 6h1v1h-1zM5 6h1v1h-1z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat; }
/* the game's own ping icon: 5 green bars, fewer lit as the ping grows */
.ping { flex: none; display: inline-flex; align-items: flex-end; gap: 2px; height: 0.9em; margin-left: auto; padding-left: 0.8em; }
.ping i { width: 3px; background: #3cdc3c; }
.ping i:nth-child(1) { height: 20%; } .ping i:nth-child(2) { height: 40%; } .ping i:nth-child(3) { height: 60%; } .ping i:nth-child(4) { height: 80%; } .ping i:nth-child(5) { height: 100%; }
.ping[data-lit='4'] i:nth-child(n+5), .ping[data-lit='3'] i:nth-child(n+4), .ping[data-lit='2'] i:nth-child(n+3),
.ping[data-lit='1'] i:nth-child(n+2), .ping[data-lit='0'] i { background: #3b424d; }

.box-go { border-top: 5px solid var(--go); }
.price { font: 900 64px/1 var(--head); letter-spacing: -0.03em; }
.price span { color: var(--muted); font: 600 18px/1 var(--sans); letter-spacing: 0; }
.box-go p:not(.price) { color: var(--text-2); }
.box-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; font-size: 16px; }
.box-links a { color: var(--text-2); text-underline-offset: 3px; }
.box-links a:hover { color: var(--text); }

/* monthly goal: a segmented bar, like the experience bar */
.goal-num { font: 800 18px/1.2 var(--head); color: var(--text-2); }
.goal-num b { color: var(--text); font-size: 34px; font-weight: 900; letter-spacing: -0.02em; }
.goal-bar { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 2px; padding: 3px; background: var(--bar); border: 1px solid var(--line-2); }
.goal-bar i { height: 16px; background: var(--panel-2); }
.goal-bar i.on { background: var(--go-hi); box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.3), inset 0 -3px 0 rgba(0, 0, 0, 0.3); }
.goal-note { color: var(--muted); font-size: 16px; }
.post .goal-bar i { height: 22px; }

/* /donate */
.amounts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.amt { min-height: 60px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--bg); color: var(--text); font: 900 22px/1 var(--head); cursor: pointer; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.35); }
.amt:hover { border-color: var(--muted); }
.amt[aria-pressed='true'] { border-color: var(--go); background: var(--go); color: #fff; box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.22), inset 0 -4px 0 rgba(0, 0, 0, 0.3); }
.donate-form { display: grid; gap: 14px; max-width: 760px; }
.donate-form .field input { flex-basis: 200px; }
.money { position: relative; flex: 1 1 200px; display: flex; }
.money span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font: 700 18px/1 var(--sans); pointer-events: none; }
.field .money input { padding-left: 34px; }
#donate-pay:empty { display: none; }
.goal-big { display: grid; gap: 10px; max-width: 760px; }
.goal-big .goal-num b { font-size: 44px; }
.test-note { color: var(--text-2); }
#donate-test { display: grid; gap: 10px; }
.donate-form .btn-lg { justify-self: start; }

/* Java / Bedrock switch on /join */
.edition { display: flex; flex-wrap: wrap; gap: 8px; }
.ed { min-width: 120px; min-height: 48px; padding: 0 20px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--bg); color: var(--text-2); font: 800 16px/1 var(--head); cursor: pointer; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.35); }
.ed:hover { border-color: var(--muted); color: var(--text); }
.ed[aria-pressed='true'] { border-color: var(--go); background: var(--go); color: #fff; box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.22), inset 0 -4px 0 rgba(0, 0, 0, 0.3); }
.field select { flex: 0 0 auto; height: 56px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--bg); color: var(--text); font: 600 17px/1 var(--sans); }
.field select:focus { outline: none; border-color: var(--go-hi); box-shadow: inset 0 0 0 1px var(--go-hi); }
.nav a[aria-current='page'] { color: var(--text); box-shadow: inset 0 -3px 0 var(--go-hi); }

/* screenshot viewer */
.viewer { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(9, 11, 14, 0.97); color: var(--text); }
.viewer::backdrop { background: rgba(0, 0, 0, 0.7); }
.viewer-fig { position: absolute; inset: 72px 84px 24px; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; }
.viewer-img { width: 100%; height: 100%; object-fit: contain; }
.viewer-cap { color: var(--text-2); font-weight: 600; text-align: center; }
.viewer-btn { position: absolute; width: 56px; height: 56px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--panel); color: var(--text); font: 600 26px/1 var(--sans); cursor: pointer; }
.viewer-btn:hover { background: var(--go); border-color: var(--go); }
.viewer-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.viewer-next { right: 12px; top: 50%; transform: translateY(-50%); }
.viewer-close { right: 12px; top: 12px; }

/* /join: three steps in one panel, membership check and cancel in the sidebar */
.steps { display: grid; }
.step { display: grid; gap: 16px; padding: clamp(22px, 2.2vw, 40px); border-top: 1px solid var(--line); transition: opacity 0.2s ease; }
.step:first-child { border-top: 0; }
.step h2 { display: flex; align-items: center; gap: 14px; font: 800 clamp(24px, 1.7vw, 32px)/1.1 var(--head); letter-spacing: -0.01em; }
.step-n { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text-2); font: 800 18px/1 var(--head); }
.step[data-state='active'] .step-n { border-color: var(--go); background: var(--go); color: #fff; }
.step[data-state='done'] .step-n { border-color: var(--ok); background: transparent; color: var(--ok); }
.step[data-state='done'] h2::after { content: 'Done'; padding: 6px 9px; background: var(--go); color: #fff; font: 700 12px/1 var(--head); letter-spacing: 0.06em; text-transform: uppercase; }
.step[data-state='todo'] { opacity: 0.42; }
#pay:empty { display: none; }
.field { display: flex; flex-wrap: wrap; gap: 10px; }
.field input { flex: 1 1 240px; min-width: 0; height: 56px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--bg); color: var(--text); font: 600 18px/1 var(--sans); }
.field input::placeholder { color: #6b7380; }
.field input:focus { outline: none; border-color: var(--go-hi); box-shadow: inset 0 0 0 1px var(--go-hi); }
.field .btn { min-height: 56px; }
.who { display: flex; align-items: center; gap: 14px; }
.who canvas { width: 48px; height: 48px; background: var(--line-2); image-rendering: pixelated; }
.who b { font: 800 26px/1 var(--head); }
.linkbtn { padding: 6px 0; border: 0; background: none; color: var(--go-hi); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.step .hint { color: var(--muted); font-size: 16px; }
.msg { font-weight: 600; }
.msg:empty { display: none; }
.msg.err { color: var(--red); }
.msg.ok { color: var(--ok); }
.mockpay { display: grid; gap: 12px; }
.mockpay p { color: var(--text-2); }
.done { padding: 14px 16px; background: var(--go); color: #fff; font-weight: 700; font-size: 18px; }
.step .ip { justify-self: start; }
.result { display: flex; align-items: center; gap: 14px; }
.result canvas { width: 44px; height: 44px; background: var(--line-2); image-rendering: pixelated; }
.result b { display: block; font-size: 19px; }
.st { color: var(--muted); font-size: 16px; }
.st.on { color: var(--ok); }
.st.wait { color: var(--amber); }

/* 404 */
.missing .banner-in { max-width: min(720px, calc(100% - 2 * var(--gut))); }

/* footer */
.foot { background: var(--bar); }
.foot .logo img { width: 210px; height: 36px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 36px; padding: 36px var(--gut); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-nav a { color: var(--text-2); text-decoration: none; font-weight: 600; }
.foot-nav a:hover { color: var(--text); text-decoration: underline; }
.foot-legal { flex-basis: 100%; color: var(--muted); font-size: 15px; }

@media (max-width: 1099px) {
  .nav { display: none; }
  .page { grid-template-columns: 1fr; }
  .col-side { position: static; grid-row: 1; }
  .page-join .col-side { grid-row: auto; }
}
@media (max-width: 699px) {
  :root { --bar-h: 64px; }
  .logo img { width: 210px; height: 36px; }
  .bar-live { display: none; }
  .banner-logo { width: 268px; }
  .banner.banner-home { display: grid; min-height: 0; }
  .banner.banner-home > img { position: absolute; aspect-ratio: auto; }
  .hero-center { width: 100%; padding: 48px 16px 28px; gap: 18px; }
  .hero-center .banner-actions { width: 100%; }
  .amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .banner { height: auto; display: flex; flex-direction: column; }
  .banner > img { position: static; aspect-ratio: 4 / 3; }
  .banner-sm > img { aspect-ratio: 16 / 7; }
  .banner-full { min-height: calc(100svh - var(--bar-h)); }
  .banner-full > img { flex: 1; min-height: 0; aspect-ratio: auto; }
  .banner-in { position: static; max-width: none; border-left: 0; border-top: 6px solid var(--go); }
  .missing .banner-in { max-width: none; }
  .banner-actions .btn, .banner-actions .ip { width: 100%; }
  .ip-addr { flex: 1; font-size: 15px; padding: 12px 14px; }
  .page { padding-left: 0; padding-right: 0; }
  .post, .box { border-left: 0; border-right: 0; }
  .post-shot { aspect-ratio: 16 / 10; }
  .ref, .ref tbody, .ref tr, .ref th, .ref td { display: block; width: auto; }
  .ref th { padding-bottom: 0; border-bottom: 0; white-space: normal; }
  .ref td { padding-top: 2px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .g1 { grid-column: span 2; aspect-ratio: 16 / 10; }
  .step .ip { justify-self: stretch; }
  .viewer-fig { inset: 72px 8px 84px; }
  .viewer-prev, .viewer-next { top: auto; bottom: 12px; transform: none; }
}
