/* Critical Gaming Hub: the night-shift noticeboard.
 * Paper, tape, rubber stamps and one sodium streetlight. Same fonts and colours
 * as CLOSED CASKET. Fonts are self-hosted (SIL OFL 1.1, see /fonts). No CDN. Code: 0BSD. */
[hidden] { display: none !important; }

@font-face { font-family: "IM Fell English SC"; src: url("/fonts/IMFeENsc28P.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("/fonts/CourierPrime-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("/fonts/CourierPrime-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bungee"; src: url("/fonts/Bungee-Regular.woff2") format("woff2"); font-display: swap; }

:root {
  --night: #0d1424; --deep: #080c17; --wall: #111a2e; --sodium: #ffb347; --teal: #3fd0c9; --pink: #ff6fae;
  --bone: #efe6d2; --paper2: #e6dcc4; --card: #fffaf0; --ink: #1b1b1f; --muted: #57514c; --wine: #8c2f4b; --lemon: #f7e27a;
  --mint: #d7ecea; --rule: rgba(63, 120, 160, .2); --fog: #9aa0b5;
  --serif: "IM Fell English SC", Georgia, serif; --mono: "Courier Prime", "Courier New", monospace; --sign: "Bungee", Impact, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--deep); color: var(--bone); font: 17px/1.55 var(--mono); -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  /* the wall: painted cinder block under a streetlight, plus thin rain */
  background:
    radial-gradient(ellipse 60% 420px at 78% -60px, rgba(255, 179, 71, .16), transparent 70%),
    repeating-linear-gradient(0deg, transparent 0 58px, rgba(0, 0, 0, .22) 58px 60px),
    repeating-linear-gradient(90deg, transparent 0 118px, rgba(0, 0, 0, .16) 118px 120px),
    linear-gradient(var(--wall), var(--night) 520px, var(--deep));
}
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background: repeating-linear-gradient(103deg, transparent 0 46px, rgba(154, 160, 181, .07) 46px 47px, transparent 47px 91px); }
main, .site-head, .site-foot { position: relative; z-index: 1; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--sodium); }
.paper a, .memo a, .card a { color: var(--wine); }
.paper a:hover, .memo a:hover, .card a:hover { color: var(--ink); background: var(--lemon); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
.paper :focus-visible, .memo :focus-visible, .card :focus-visible { outline-color: #0b6e69; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .45em; letter-spacing: .01em; }
h1 { font-size: clamp(34px, 6vw, 58px); }
h2 { font-size: clamp(26px, 4vw, 36px); }
h3 { font-size: 23px; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: .3em; }
small, .small { font-size: 14px; }
code, kbd { font-family: var(--mono); background: rgba(0, 0, 0, .08); padding: 0 .25em; border-radius: 2px; }
kbd { border: 1px solid currentColor; border-bottom-width: 2px; font-size: .88em; }
hr { border: 0; border-top: 2px dashed rgba(0, 0, 0, .25); margin: 1.6em 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--sodium); color: var(--ink); padding: 10px 14px; font-weight: 700; border: 2px solid var(--ink); }
.skip:focus { top: 8px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); margin-inline: auto; }

/* ---------------------------------------------------------------- header: the sign over the back door */
.site-head { padding: 22px 0 8px; }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; }
.sign { display: inline-block; text-decoration: none; padding: 8px 16px 10px; border: 3px solid var(--pink); border-radius: 6px 9px 5px 8px;
  background: rgba(8, 12, 23, .75); box-shadow: 0 0 0 2px rgba(255, 111, 174, .18), 0 0 26px rgba(255, 111, 174, .22), inset 0 0 18px rgba(255, 111, 174, .14); transform: rotate(-1.2deg); }
.sign b { display: block; font: 400 clamp(19px, 3.4vw, 27px)/1 var(--sign); color: #ffd3e6; letter-spacing: .02em;
  text-shadow: 0 0 2px #fff, 0 0 8px var(--pink), 0 0 18px var(--pink); }
.sign span { display: block; font: 700 11px/1.4 var(--mono); color: var(--teal); letter-spacing: .32em; text-transform: uppercase; margin-top: 4px; text-shadow: 0 0 8px rgba(63, 208, 201, .6); }
.sign:hover b { color: #fff; }
.nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nav a { display: inline-block; text-decoration: none; color: var(--ink); background: var(--paper2); border: 2px solid var(--ink);
  padding: 6px 11px; font-weight: 700; font-size: 15px; box-shadow: 2px 2px 0 rgba(0, 0, 0, .6); min-height: 40px; line-height: 24px; }
.nav li:nth-child(3n+1) a { transform: rotate(-1.2deg); } .nav li:nth-child(3n+2) a { transform: rotate(.8deg); } .nav li:nth-child(3n) a { transform: rotate(-.4deg); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sodium); color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: 2px 2px 0 var(--ink), inset 0 -4px 0 var(--wine); }

/* ---------------------------------------------------------------- paper */
main { flex: 1; padding: 18px 0 60px; }
.paper, .memo, .card { position: relative; background: var(--bone); color: var(--ink); border: 2px solid var(--ink);
  border-radius: 3px 6px 4px 7px / 7px 3px 6px 4px; box-shadow: 6px 7px 0 rgba(0, 0, 0, .55); padding: 26px 30px 22px; margin: 0 0 28px; }
.memo { background-color: var(--bone); background-image: repeating-linear-gradient(transparent 0 31px, var(--rule) 31px 32px); background-position: 0 18px; }
.memo::before { content: ""; position: absolute; left: 18px; top: 0; bottom: 0; width: 1px; background: rgba(200, 60, 90, .35); }
.tilt-l { transform: rotate(-.6deg); } .tilt-r { transform: rotate(.5deg); } .tilt-0 { transform: none; }
.tape::after { content: ""; position: absolute; top: -13px; left: 50%; width: 118px; height: 26px; margin-left: -59px; background: rgba(255, 179, 71, .62);
  transform: rotate(2.4deg); border-left: 2px dotted rgba(0, 0, 0, .1); border-right: 2px dotted rgba(0, 0, 0, .1); }
.tape.tape-l::after { left: 70px; transform: rotate(-4deg); background: rgba(63, 208, 201, .5); }
.tape.tape-pink::after { background: rgba(255, 111, 174, .5); transform: rotate(-2deg); }
.pin::before { content: ""; position: absolute; top: 10px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--wine);
  box-shadow: inset -3px -3px 0 rgba(0, 0, 0, .35), 1px 2px 0 rgba(0, 0, 0, .4); }
.kicker { font: 700 13px/1.3 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--wine); margin: 0 0 6px; }
.on-wall .kicker, .kicker.light { color: var(--sodium); }
.lede { font-size: 19px; }
.muted { color: var(--muted); }
.on-wall .muted { color: var(--fog); }
.stamp { display: inline-block; font: 400 15px/1 var(--serif); letter-spacing: .1em; text-transform: uppercase; color: var(--wine); border: 3px double var(--wine);
  padding: 6px 10px 4px; transform: rotate(-5deg); opacity: .9; border-radius: 3px; background: rgba(255, 255, 255, .15); white-space: nowrap; }
.stamp.teal { color: #0b6e69; border-color: #0b6e69; } .stamp.big { font-size: 22px; padding: 9px 14px 6px; }
.stamp-corner { position: absolute; right: 18px; top: -14px; }
.sticky { background: var(--lemon); color: var(--ink); border: 2px solid var(--ink); padding: 14px 16px; box-shadow: 4px 5px 0 rgba(0, 0, 0, .5); transform: rotate(1.4deg); }
.sticky.pink { background: #ffc6dd; transform: rotate(-1.6deg); } .sticky.mint { background: var(--mint); transform: rotate(-.8deg); }
.label { display: inline-block; background: var(--ink); color: var(--bone); font: 700 12px/1 var(--mono); letter-spacing: .12em; padding: 5px 8px; text-transform: uppercase; }
.legal-note { background: var(--lemon); color: var(--ink); border: 2px dashed var(--ink); padding: 12px 16px; margin: 0 0 22px; font-size: 15px; }

/* ---------------------------------------------------------------- buttons: index cards */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 17px/1.2 var(--mono); color: var(--ink); background: var(--paper2);
  border: 2px solid var(--ink); border-radius: 4px 2px 5px 3px; padding: 11px 18px; min-height: 46px; cursor: pointer; text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink); position: relative; transition: transform .06s; }
.btn:nth-of-type(odd) { transform: rotate(.4deg); } .btn:nth-of-type(even) { transform: rotate(-.5deg); }
.paper .btn, .memo .btn, .card .btn { color: var(--ink); }
.btn:hover, .btn:focus-visible { background: #fff6dd; color: var(--ink); }
.btn:hover::after, .btn:focus-visible::after { content: ""; position: absolute; left: 12px; right: 16px; bottom: 6px; height: 3px; background: var(--wine); border-radius: 2px; transform: rotate(-.6deg) skewX(-20deg); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn.go { background: var(--sodium); font-size: 20px; padding: 14px 24px; }
.btn.go:hover { background: #ffc46e; }
.btn.mint { background: var(--mint); } .btn.pinkish { background: #ffc6dd; } .btn.danger { background: #f3c1c8; }
.btn.small { font-size: 14px; padding: 7px 12px; min-height: 38px; box-shadow: 2px 2px 0 var(--ink); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 16px 0; }

/* ---------------------------------------------------------------- photos: real screenshots taped up */
.photo { margin: 0; background: var(--card); color: var(--ink); padding: 10px 10px 8px; border: 1px solid rgba(0, 0, 0, .35); box-shadow: 5px 6px 0 rgba(0, 0, 0, .5); position: relative; }
.photo img { width: 100%; background: var(--night); }
.photo figcaption { font-size: 14px; padding: 7px 2px 0; line-height: 1.35; }
.photo.tape::after { top: -12px; width: 90px; margin-left: -45px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px 22px; margin: 10px 0 30px; }
.gallery .photo:nth-child(3n+1) { transform: rotate(-1.1deg); } .gallery .photo:nth-child(3n+2) { transform: rotate(.9deg); } .gallery .photo:nth-child(3n) { transform: rotate(-.3deg); }

/* ---------------------------------------------------------------- layouts */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 30px; align-items: start; }
@media (max-width: 860px) { .grid2, .grid3, .split { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  html { font-size: 16px; }
  .paper, .memo, .card { padding: 20px 16px 16px; box-shadow: 4px 5px 0 rgba(0, 0, 0, .55); }
  .memo::before { left: 8px; }
  .site-head .wrap { align-items: flex-start; }
  .nav a { font-size: 14px; padding: 5px 9px; }
}
.on-wall { color: var(--bone); }
.on-wall h1, .on-wall h2 { color: var(--bone); text-shadow: 2px 2px 0 rgba(0, 0, 0, .6); }
.section-title { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 40px 0 16px; }
.section-title h2 { margin: 0; color: var(--bone); }
.section-title .label { background: var(--sodium); color: var(--ink); }

/* ---------------------------------------------------------------- home: the game shelf */
.hero-note { max-width: 760px; }
.shelf { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; align-items: stretch; margin-top: 10px; }
@media (max-width: 860px) { .shelf { grid-template-columns: 1fr; } }
.game-card { padding: 0; overflow: visible; display: flex; flex-direction: column; }
.game-card .shot { border-bottom: 2px solid var(--ink); background: var(--night); }
.game-card .shot img { width: 100%; }
.game-card .inner { padding: 20px 24px 22px; }
.game-card .title { font: 400 clamp(30px, 5vw, 44px)/1 var(--serif); margin: 0 0 6px; }
.slot { background: transparent; border: 3px dashed rgba(239, 230, 210, .45); color: var(--bone); box-shadow: none; display: flex; flex-direction: column; justify-content: center; text-align: center; min-height: 280px; padding: 30px 22px; }
.slot .hook { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--fog); margin: 0 auto 16px; }
.slot h3 { color: var(--bone); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; padding: 0; list-style: none; }
.facts li { border: 2px solid var(--ink); padding: 2px 8px; font-size: 14px; font-weight: 700; background: var(--card); margin: 0; }
.nope-list { list-style: none; padding: 0; columns: 2; column-gap: 26px; }
.nope-list li { break-inside: avoid; padding-left: 28px; position: relative; }
.nope-list li::before { content: "✗"; position: absolute; left: 2px; top: -1px; color: var(--wine); font-weight: 700; font-size: 19px; }
@media (max-width: 560px) { .nope-list { columns: 1; } }

/* ---------------------------------------------------------------- game page */
.game-hero { display: grid; grid-template-columns: 1.35fr 1fr; gap: 30px; align-items: start; }
@media (max-width: 960px) { .game-hero { grid-template-columns: 1fr; } }
.game-hero .logo { font: 400 clamp(44px, 8vw, 76px)/.95 var(--serif); color: var(--bone); margin: 0 0 4px; text-shadow: 3px 3px 0 var(--wine), 6px 6px 0 rgba(0, 0, 0, .5); }
.tagline { font-size: 19px; color: var(--bone); max-width: 36em; }
.tv { background: #000; border: 2px solid var(--ink); box-shadow: 6px 7px 0 rgba(0, 0, 0, .55); padding: 0; position: relative; }
.tv video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.tv-cap { background: var(--card); color: var(--ink); font-size: 14px; padding: 8px 12px; border-top: 2px solid var(--ink); }
.soon-sticker { background: var(--lemon); color: var(--ink); border: 2px solid var(--ink); padding: 12px 16px 10px; transform: rotate(-2.2deg); box-shadow: 4px 5px 0 rgba(0, 0, 0, .5);
  max-width: 360px; font-weight: 700; position: relative; }
.soon-sticker b { display: block; font: 400 21px/1.1 var(--sign); letter-spacing: .01em; margin-bottom: 4px; }
.content-note { border-left: 6px solid var(--wine); }
.rooms { list-style: none; padding: 0; margin: 0; }
.rooms li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(0, 0, 0, .3); flex-wrap: wrap; margin: 0; }
.rooms .rn { font-weight: 700; } .rooms .rm { font-size: 14px; color: var(--muted); }
.dl-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.dl-table th, .dl-table td { text-align: left; padding: 10px 8px; border-bottom: 1px dashed rgba(0, 0, 0, .35); vertical-align: top; }
.dl-table th { font-family: var(--serif); font-weight: 400; font-size: 18px; }
.dl-table code { word-break: break-all; font-size: 12px; }
@media (max-width: 640px) { .dl-table thead { display: none; } .dl-table tr, .dl-table td { display: block; } .dl-table td { border: 0; padding: 4px 0; } .dl-table tr { border-bottom: 2px dashed rgba(0, 0, 0, .3); padding: 10px 0; } }
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 14px 0; }
@media (max-width: 760px) { .platforms { grid-template-columns: 1fr; } }
.platforms > div { border: 2px solid var(--ink); background: var(--card); padding: 12px 14px; }
.platforms h3 { font-size: 20px; margin-bottom: 4px; }
.changelog h3 { margin-top: 1.1em; }
.changelog details { border-top: 1px dashed rgba(0, 0, 0, .3); padding: 8px 0; }
.changelog summary { cursor: pointer; font-weight: 700; padding: 4px 0; min-height: 32px; }
.changelog ul { font-size: 15px; }
.verbs { font: 400 clamp(22px, 3.4vw, 30px)/1.25 var(--sign); color: var(--sodium); letter-spacing: .02em; margin: 6px 0 14px; text-shadow: 2px 2px 0 rgba(0, 0, 0, .6); }

/* ---------------------------------------------------------------- forms: intake slips */
.form-grid { display: grid; gap: 18px; }
fieldset { border: 2px solid var(--ink); padding: 12px 16px 14px; margin: 0; background: rgba(255, 255, 255, .25); }
legend { font-family: var(--serif); font-size: 20px; padding: 0 6px; }
label { font-weight: 700; }
.hint { display: block; font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 2px; }
input[type=text], input[type=password], select, textarea { font: 400 17px/1.4 var(--mono); color: var(--ink); background: var(--card); border: 2px solid var(--ink); border-radius: 2px;
  padding: 10px 12px; width: 100%; min-height: 46px; margin-top: 6px; }
textarea { min-height: 150px; resize: vertical; background-image: repeating-linear-gradient(transparent 0 23px, var(--rule) 23px 24px); background-attachment: local; line-height: 24px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #0b6e69; outline-offset: 1px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 6px; }
.choices label { font-weight: 400; display: inline-flex; align-items: center; gap: 7px; border: 2px solid var(--ink); background: var(--card); padding: 6px 11px; min-height: 42px; cursor: pointer; }
.choices input { width: 20px; height: 20px; accent-color: var(--wine); margin: 0; }
.choices label:has(input:checked) { background: var(--sodium); box-shadow: 2px 2px 0 var(--ink); }
.choices label:has(input:focus-visible) { outline: 3px solid #0b6e69; outline-offset: 2px; }
.vis-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .vis-pick { grid-template-columns: 1fr; } }
.vis-pick label { display: block; border: 2px solid var(--ink); background: var(--card); padding: 14px 14px 12px 46px; position: relative; cursor: pointer; font-weight: 400; min-height: 44px; }
.vis-pick input { position: absolute; left: 14px; top: 17px; width: 20px; height: 20px; accent-color: var(--wine); margin: 0; }
.vis-pick b { display: block; font: 400 21px/1.1 var(--serif); margin-bottom: 4px; }
.vis-pick label:has(input:checked) { background: #fff3cf; box-shadow: 3px 3px 0 var(--ink); }
.vis-pick label:has(input:focus-visible) { outline: 3px solid #0b6e69; outline-offset: 2px; }
.hp { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
.counter { font-size: 13px; color: var(--muted); text-align: right; display: block; }
.status { min-height: 1.5em; font-weight: 700; margin: 10px 0 0; }
.status.err { color: #8a1b2c; } .status.good { color: #0b5e59; }
.ticket-slip { background: var(--card); border: 3px dashed var(--ink); padding: 18px; text-align: center; margin: 14px 0; }
.ticket-slip .code { font: 400 clamp(26px, 6vw, 40px)/1.1 var(--sign); letter-spacing: .04em; color: var(--ink); margin: 6px 0 10px; user-select: all; word-break: break-all; }
.privacy-box { background: var(--mint); border: 2px solid var(--ink); padding: 12px 14px; font-size: 15px; }
.scale { display: flex; flex-wrap: wrap; gap: 6px; }
.scale label { min-width: 46px; justify-content: center; padding: 6px 8px; }

/* ---------------------------------------------------------------- ticket thread + wall */
.thread { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 14px; }
.thread li { border: 2px solid var(--ink); padding: 12px 14px; background: var(--card); max-width: 88%; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.thread li.owner { background: var(--mint); margin-left: auto; }
.thread .who { display: block; font: 700 12px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; white-space: normal; }
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px; margin: 20px 0; padding: 0; list-style: none; }
.wall li { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.wall li:nth-child(4n+2) { background: #ffc6dd; transform: rotate(-1.4deg); } .wall li:nth-child(4n+3) { background: var(--mint); transform: rotate(.6deg); } .wall li:nth-child(4n) { transform: rotate(-.5deg); }
.wall .meta { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; color: var(--muted); white-space: normal; }
.wall .reply { display: block; margin-top: 10px; padding-top: 8px; border-top: 1px dashed rgba(0, 0, 0, .4); font-size: 15px; white-space: pre-wrap; }

/* ---------------------------------------------------------------- devlog */
.post-head { margin-bottom: 18px; }
.post-meta { font-size: 14px; color: var(--muted); }
.post figure { margin: 20px 0; }
.post-list { list-style: none; padding: 0; }
.post-list li { margin: 0 0 18px; }

/* ---------------------------------------------------------------- legal pages */
.legal h2 { margin-top: 1.4em; font-size: 28px; }
.legal h3 { margin-top: 1.1em; }
.legal-index { columns: 2; column-gap: 30px; list-style: none; padding: 0; }
.legal-index li { break-inside: avoid; margin-bottom: 14px; }
.legal-index a { font-family: var(--serif); font-size: 21px; }
@media (max-width: 640px) { .legal-index { columns: 1; } }
pre.license { white-space: pre-wrap; font-size: 13px; background: var(--card); border: 1px solid rgba(0, 0, 0, .3); padding: 12px; max-height: 340px; overflow: auto; }
.toc { font-size: 15px; }

/* ---------------------------------------------------------------- admin */
.admin-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.admin-tabs button[aria-selected="true"] { background: var(--sodium); }
.admin-list { list-style: none; padding: 0; margin: 0; }
.admin-list li { border-bottom: 1px dashed rgba(0, 0, 0, .35); padding: 10px 0; margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; align-items: start; }
.admin-list .preview { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; border: 1px solid var(--ink); padding: 1px 6px; margin-right: 4px; text-transform: uppercase; letter-spacing: .06em; background: var(--card); }
.badge.hot { background: var(--sodium); }
.bars { list-style: none; padding: 0; margin: 4px 0 14px; font-size: 14px; }
.bars li { display: grid; grid-template-columns: 150px 1fr 40px; gap: 8px; align-items: center; margin: 3px 0; }
.bars .bar { height: 14px; background: var(--wine); min-width: 2px; }
.stat-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 18px; }
.stat-row > div { border: 2px solid var(--ink); background: var(--card); padding: 8px 14px; min-width: 120px; }
.stat-row b { display: block; font: 400 28px/1.1 var(--sign); }

/* ---------------------------------------------------------------- footer: the bottom of the board */
.site-foot { border-top: 3px solid rgba(0, 0, 0, .5); background: rgba(8, 12, 23, .85); padding: 28px 0 40px; font-size: 15px; color: var(--bone); }
.site-foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; }
@media (max-width: 760px) { .site-foot .cols { grid-template-columns: 1fr; } }
.site-foot h2 { font-size: 20px; color: var(--sodium); margin-bottom: 8px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin: 0 0 6px; }
.site-foot a { color: var(--bone); }
.site-foot a:hover { color: var(--sodium); }
.site-foot .fine { color: var(--fog); font-size: 13px; margin-top: 20px; }

/* ---------------------------------------------------------------- motion: almost none, and none if you ask */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .btn, .nav a, .photo, .sticky, .soon-sticker, .stamp, .tilt-l, .tilt-r, .gallery .photo, .wall li, .sign { transform: none !important; }
}
@media (prefers-contrast: more) {
  .muted, .hint, .counter { color: var(--ink); }
  body::before { display: none; }
}
/* ---------------------------------------------------------------- mobile install guide (/mobile/) */
.wrap-mid { width: min(980px, 100% - 32px); margin-inline: auto; }
.jump-list { list-style: none; padding: 0; margin: 14px 0 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.howto { scroll-margin-top: 12px; }
.howto .stamp-corner { background: var(--bone); }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 18px 0 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 22px 18px; }
.steps > li { counter-increment: step; position: relative; }
.steps > li::before { content: counter(step); position: absolute; left: -6px; top: -8px; z-index: 1; width: 34px; height: 34px; display: grid; place-items: center;
  font: 400 19px/1 var(--sign); color: var(--ink); background: var(--sodium); border: 2px solid var(--ink); border-radius: 48% 52% 46% 54%; transform: rotate(-6deg); }
.steps figure { margin: 0; background: var(--card); border: 1px solid rgba(0, 0, 0, .3); padding: 12px 10px 10px; box-shadow: 3px 4px 0 rgba(0, 0, 0, .35); height: 100%; }
.steps > li:nth-child(odd) figure { transform: rotate(-.7deg); } .steps > li:nth-child(even) figure { transform: rotate(.6deg); }
.steps svg { display: block; width: 100%; max-width: 150px; height: auto; margin: 0 auto 8px; }
.steps figcaption { font-size: 14.5px; line-height: 1.4; overflow-wrap: anywhere; }
.apk-box { border: 2px dashed var(--ink); background: var(--card); padding: 14px 16px; margin: 14px 0 20px; }
.apk-box p { margin: 6px 0; }
.apk-box code { word-break: break-all; }
.apk-notes { margin-top: 10px; }
.apk-notes h3 { margin-top: 0; }
.apk-notes code { overflow-wrap: anywhere; font-size: 13px; }
.tips { padding-left: 1.1em; } .tips li { margin-bottom: 10px; }
.tips-split { margin-bottom: 10px; }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr 1fr; gap: 18px 12px; } .steps figcaption { font-size: 13.5px; } .howto { padding-inline: 16px; } }
@media (prefers-reduced-motion: reduce) { .steps figure, .steps > li::before { transform: none !important; } }
@media print { body { background: #fff; color: #000; } .site-head nav, .site-foot, body::before { display: none; } .paper, .memo { box-shadow: none; } }
