@font-face {
  font-family: "Pixelify Sans";
  src: url("/fonts/pixelify-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0a111c;
  --bg-raised: #101a29;
  --bg-card: #142033;
  --line: #24344b;
  --line-strong: #3a4f6b;
  --hover: #1d2d45;
  --text: #e9f0f8;
  --text-soft: #cfdbe8;
  --muted: #a3b4c8;
  --link: #a8e6ff;
  --link-hover: #ffffff;
  --accent: #a8e6ff;
  --accent-hover: #c9f0ff;
  --on-accent: #07202e;
  --crown: #ffaa00;
  --no: #e0364a;
  --yes: #5fc98b;
  --code-bg: #1b2a40;
  --header-bg: rgba(10, 17, 28, 0.92);
  --panel-bg: rgba(16, 26, 41, 0.85);
  --glow-a: rgba(168, 230, 255, 0.2);
  --glow-b: rgba(77, 130, 200, 0.2);
  --radius: 0;
  --width: 1080px;
  --heading: "Pixelify Sans", "Courier New", monospace;
  --body: "Trebuchet MS", "Lucida Sans Unicode", Verdana, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #f5f8fb;
    --bg-raised: #ffffff;
    --bg-card: #eaf1f7;
    --line: #d5dfe9;
    --line-strong: #b4c3d3;
    --hover: #dfe9f2;
    --text: #0e1a28;
    --text-soft: #24364a;
    --muted: #4a5c70;
    --link: #0a6a9e;
    --link-hover: #06486c;
    --accent: #8fdcff;
    --accent-hover: #b5e8ff;
    --on-accent: #07202e;
    --crown: #b87400;
    --no: #c42338;
    --yes: #1f8a50;
    --code-bg: #e6eef5;
    --header-bg: rgba(255, 255, 255, 0.92);
    --panel-bg: rgba(255, 255, 255, 0.9);
    --glow-a: rgba(143, 220, 255, 0.45);
    --glow-b: rgba(143, 190, 255, 0.3);
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f8fb;
  --bg-raised: #ffffff;
  --bg-card: #eaf1f7;
  --line: #d5dfe9;
  --line-strong: #b4c3d3;
  --hover: #dfe9f2;
  --text: #0e1a28;
  --text-soft: #24364a;
  --muted: #4a5c70;
  --link: #0a6a9e;
  --link-hover: #06486c;
  --accent: #8fdcff;
  --accent-hover: #b5e8ff;
  --on-accent: #07202e;
  --crown: #b87400;
  --no: #c42338;
  --yes: #1f8a50;
  --code-bg: #e6eef5;
  --header-bg: rgba(255, 255, 255, 0.92);
  --panel-bg: rgba(255, 255, 255, 0.9);
  --glow-a: rgba(143, 220, 255, 0.45);
  --glow-b: rgba(143, 190, 255, 0.3);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
.crown { color: var(--crown); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--heading); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
code, kbd {
  font: 500 0.88em ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace;
  background: var(--code-bg);
  border: 1px solid var(--line);
    padding: 1px 6px;
  color: var(--link);
  white-space: nowrap;
}

.wrap { width: min(var(--width), 100% - 40px); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.site-header .nav { margin-left: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 1.25rem var(--heading); color: var(--text); text-decoration: none; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 8px 12px; }
.nav a:hover { color: var(--text); background: var(--bg-card); }
.nav a[aria-current="page"] { color: var(--text); background: var(--bg-card); }
.nav .nav-cta { color: var(--on-accent); background: var(--accent); margin-left: 8px; font-weight: 600; }
.nav .nav-cta:hover { background: var(--accent-hover); color: var(--on-accent); }
.header-buttons { display: flex; gap: 8px; order: 3; }
.theme-toggle, .nav-toggle { background: none; border: 1px solid var(--line-strong); color: var(--text); padding: 7px 12px; font: 500 0.9rem var(--body); cursor: pointer; white-space: nowrap; }
.theme-toggle:hover, .nav-toggle:hover { background: var(--bg-card); }
.nav-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
    font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--body);
}
.button-primary { background: var(--accent); color: var(--on-accent); }
.button-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.button-quiet { background: transparent; color: var(--text); border-color: var(--line-strong); }
.button-quiet:hover { background: var(--bg-card); color: var(--text); }

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; background: url(/shots/snow.jpg) center 60% / cover no-repeat; opacity: 0.2; }
.hero .wrap { position: relative; }
.hero .wrap { padding: clamp(56px, 9vw, 104px) 0 clamp(56px, 9vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: center; }
.panel { background: var(--panel-bg); border: 1px solid var(--line); padding: 26px; }
.panel-title { font: 600 1.15rem/1.15 var(--heading); margin: 0 0 14px; }
.panel .address { display: flex; }
.panel .address code { flex: 1; }
.panel dl { margin: 18px 0; }
.panel dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.panel dt { color: var(--muted); }
.panel dd { margin: 0; font-weight: 500; text-align: right; }
.panel .button { width: 100%; }
.hero-logo { display: block; width: 136px; height: 136px; margin-bottom: 20px; }
.eyebrow { color: var(--link); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.9rem, 7vw, 4.8rem); max-width: 11ch; }
.hero .lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--text-soft); max-width: 44ch; margin: 22px 0 30px; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.address {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line-strong);
    overflow: hidden;
  background: var(--bg-raised);
  max-width: 100%;
}
.address code { background: none; border: 0; padding: 12px 16px; font-size: 1rem; color: var(--text); }
.address button {
  border: 0;
  border-left: 1px solid var(--line-strong);
  background: var(--bg-card);
  color: var(--link);
  font: 600 0.9rem var(--body);
  padding: 0 16px;
  cursor: pointer;
  min-width: 76px;
}
.address button:hover { background: var(--hover); }

.section { padding: clamp(52px, 8vw, 84px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 58ch; margin-bottom: 34px; }
.section-head p { color: var(--muted); margin-top: 12px; }

.status { display: grid; grid-template-columns: 1fr 1fr 1.6fr; margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.shots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 40px; }
.shots img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; grid-column: span 3; }
.shots img:first-child { grid-column: 1 / -1; aspect-ratio: 21 / 10; }
.status > div { padding: 26px 28px; border-left: 1px solid var(--line); }
.status > div:first-child { padding-left: 0; border-left: 0; }
.status dt { color: var(--muted); font-size: 0.9rem; margin-bottom: 8px; }
.status dd { margin: 0; font: 600 clamp(1.6rem, 3.4vw, 2.3rem)/1.15 var(--heading); }
[data-status="state"]::before { content: ""; display: inline-block; width: 0.5em; height: 0.5em; margin-right: 0.35em; border-radius: 0; vertical-align: 0.1em; background: var(--muted); }
.status[data-state="online"] [data-status="state"]::before { background: var(--yes); }
.status[data-state="offline"] [data-status="state"]::before { background: var(--no); }
.card { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card { transition: border-color 0.15s; }
.card:hover { border-color: var(--line-strong); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card a { font-weight: 500; }

.band { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.band p { color: var(--muted); max-width: 52ch; margin-top: 10px; }
.band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.page-head { border-bottom: 1px solid var(--line); background: var(--bg-raised); }
.page-head .wrap { padding: clamp(40px, 7vw, 68px) 0 clamp(32px, 5vw, 48px); }
.page-head p { color: var(--muted); font-size: 1.1rem; max-width: 56ch; margin-top: 14px; }
.prose { max-width: 70ch; }
.wrap.prose { max-width: none; }
.wrap.prose > * { max-width: 70ch; }
.prose h2 { margin: 52px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 8px; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--muted); }
.note { border-left: 3px solid var(--link); background: var(--bg-raised); padding: 14px 18px; border-radius: 0 8px 8px 0; color: var(--text-soft); margin: 20px 0; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps > li { counter-increment: step; position: relative; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 22px 74px; }
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 21px;
  width: 34px;
  height: 34px;
  border-radius: 0;
  display: grid;
  place-items: center;
  font: 600 1.05rem var(--heading);
  background: var(--accent);
  color: var(--on-accent);
}
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); }
.steps .address { margin-top: 8px; }
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.rule-list { list-style: none; counter-reset: rule; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rule-list li { counter-increment: rule; display: grid; grid-template-columns: 44px 1fr; gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rule-list li::before { content: counter(rule); font: 600 1.15rem var(--heading); color: var(--link); }
.mods { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.mods h3 { margin-bottom: 12px; }
.mods ul { margin: 0; padding-left: 1.1em; color: var(--text-soft); }
.mods li { margin-bottom: 0.35em; }
.mods .allowed { border-top: 3px solid var(--yes); }
.mods .banned { border-top: 3px solid var(--no); }

.guide { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 92px; font-size: 0.95rem; }
.toc-title { color: var(--muted); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.toc a { display: block; color: var(--muted); text-decoration: none; padding: 5px 12px; border-left: 2px solid var(--line); }
.toc a:hover { color: var(--text); }
.toc a.active { color: var(--text); border-left-color: var(--link); }
.commands { width: 100%; border-collapse: collapse; margin: 14px 0 18px; font-size: 0.96rem; }
.commands td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.commands td:first-child { width: 42%; }
.commands code { white-space: normal; overflow-wrap: anywhere; }

.prose ul.people, .prose ul.credit-list { padding-left: 0; }
.people { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0 0; }
.people li { background: var(--bg-card); border: 1px solid var(--line); padding: 5px 12px; font-size: 0.95rem; }
.credit-list { list-style: none; padding: 0; margin: 12px 0 0; }
.credit-list li { padding: 11px 0; border-bottom: 1px solid var(--line); }
.credit-list span { color: var(--muted); display: block; font-size: 0.95rem; }
.dev { display: flex; align-items: center; gap: 24px; }
.dev > div { flex: 1; }
.dev img { width: 140px; border-radius: var(--radius); border: 1px solid var(--line); }

.site-footer { border-top: 1px solid var(--line); background: var(--bg-raised); color: var(--muted); font-size: 0.92rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 30px 0; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.site-footer p { max-width: 50ch; }

@media (max-width: 900px) {
  .guide { grid-template-columns: 1fr; gap: 28px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .toc-title { width: 100%; margin-bottom: 2px; }
  .toc a { border: 1px solid var(--line); padding: 4px 10px; }
  .toc a.active { border-color: var(--line); }
}
@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .brand { font-size: 1.1rem; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 20px 16px; }
  .nav.open { display: flex; }
  .nav .nav-cta { margin-left: 0; text-align: center; }
}
@media (max-width: 760px) {
  .two-up, .mods { grid-template-columns: 1fr; }
  .status { grid-template-columns: 1fr; }
  .shots img:not(:first-child) { aspect-ratio: 4 / 3; }
  .status > div { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line); }
  .status > div:first-child { border-top: 0; }
  .dev { flex-wrap: wrap; }
  .hero-actions .button, .band-actions .button { flex: 1 1 100%; }
  .steps > li { padding: 20px 18px; }
  .steps > li::before { position: static; margin-bottom: 10px; }
  .address code { white-space: normal; word-break: break-all; }
}
:root { --bevel-light: rgba(255, 255, 255, 0.22); --bevel-dark: rgba(0, 0, 0, 0.42); }
.button, .nav-cta, .theme-toggle, .nav-toggle { box-shadow: inset 2px 2px 0 var(--bevel-light), inset -2px -3px 0 var(--bevel-dark); }
.button:active, .nav-cta:active, .theme-toggle:active, .nav-toggle:active { box-shadow: inset 2px 3px 0 var(--bevel-dark), inset -2px -2px 0 var(--bevel-light); transform: translateY(1px); }
.panel { border-width: 2px; box-shadow: 6px 6px 0 var(--line); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 32px; background: var(--bg); clip-path: polygon(0 100%, 0 50%, 4% 50%, 4% 0, 11% 0, 11% 50%, 19% 50%, 19% 75%, 27% 75%, 27% 25%, 34% 25%, 34% 50%, 46% 50%, 46% 0, 52% 0, 52% 75%, 63% 75%, 63% 25%, 71% 25%, 71% 50%, 82% 50%, 82% 0, 90% 0, 90% 50%, 96% 50%, 96% 25%, 100% 25%, 100% 100%); }
.hero { border-bottom: 0; }
.section-head h2 { display: inline-block; border-bottom: 4px solid var(--accent); padding-bottom: 6px; }
.status { border-top-width: 2px; border-bottom-width: 2px; }
.shots { gap: 14px; }
.shots img { border: 4px solid var(--bg-card); }
.shots img:nth-child(2) { grid-column: span 4; }
.shots img:nth-child(3) { grid-column: span 2; }
.shots img:nth-child(4) { grid-column: span 2; }
.shots img:nth-child(5) { grid-column: span 4; }
.shots img:nth-child(3), .shots img:nth-child(4) { height: 100%; }
.title-screen::before { opacity: 0.38; }
.title-screen .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(36px, 6vw, 64px) 0 clamp(64px, 8vw, 88px); }
.title-screen .hero-logo { width: 200px; height: 200px; margin: 0 0 8px; }
.title-screen h1 { max-width: none; font-size: clamp(2.6rem, 6.5vw, 4.4rem); }
.title-screen .lead { margin: 14px 0 26px; font-weight: 500; }
.splash { margin: 12px 0 0; color: var(--crown); font-weight: 700; transform: rotate(-2deg); }
.menu { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: min(460px, 100%); }
.menu .button { width: 100%; }
.menu-wide { grid-column: 1 / -1; }
.server-entry { display: flex; align-items: center; gap: 18px; width: min(860px, 100%); margin-top: 36px; padding: 14px 18px; text-align: left; border: 2px solid var(--line); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); background: var(--panel-bg); box-shadow: 6px 6px 0 var(--line); grid-template-columns: none; }
.server-entry > img { flex: none; }
.entry-main { flex: 1; min-width: 0; }
.entry-name { margin: 0 0 8px; font: 600 1.15rem/1.15 var(--heading); }
.entry-main .address { display: flex; max-width: 320px; }
.entry-main .address code { flex: 1; }
.entry-note { margin: 8px 0 0; color: var(--muted); font-size: 0.85rem; line-height: 1.45; }
.entry-side { flex: none; margin: 0; }
.server-entry > div, .server-entry > div:first-child { padding: 0; border: 0; }
.menu .button-quiet { background: var(--panel-bg); }
.entry-main .address code { white-space: nowrap; word-break: normal; font-size: 0.95rem; }
.server-entry .entry-side > div { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; border: 0; }
.server-entry dt { margin: 0; font-size: 0.85rem; }
.server-entry dd { font: 600 0.95rem/1.3 var(--body, inherit); }
.splash { color: var(--link); transform: none; font-size: 1.1rem; }
h1, h2, h3, .brand, .panel-title, .entry-name { font-weight: 600; letter-spacing: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 4rem); }
.title-screen h1 { font-size: clamp(2.8rem, 7vw, 4.8rem); }

.page-head { position: relative; overflow: hidden; background: var(--bg); border-bottom: 0; }
.page-head::before { content: ""; position: absolute; inset: 0; background-position: center; background-size: cover; opacity: 0.3; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 24px; background: var(--bg); clip-path: polygon(0 100%, 0 50%, 7% 50%, 7% 0, 15% 0, 15% 75%, 28% 75%, 28% 25%, 39% 25%, 39% 50%, 51% 50%, 51% 0, 60% 0, 60% 50%, 74% 50%, 74% 25%, 85% 25%, 85% 75%, 93% 75%, 93% 0, 100% 0, 100% 100%); }
.page-head .wrap { position: relative; padding-bottom: clamp(52px, 7vw, 72px); }
.page-head p { color: var(--text-soft); }
.banner-rules::before { background-image: url(/shots/statue.jpg); }
.banner-guide::before { background-image: url(/shots/forest.jpg); }
.banner-credits::before { background-image: url(/shots/library.jpg); }
.banner-report::before { background-image: url(/shots/boss.jpg); }
.banner-staff::before { background-image: url(/shots/clock.jpg); }

.prose { max-width: 78ch; }
.prose h2 { display: table; padding: 6px 14px; background: var(--accent); color: #0a111c; box-shadow: inset 2px 2px 0 var(--bevel-light), inset -2px -3px 0 var(--bevel-dark); }
.section-head h2 { background: none; }

.rule-list { display: grid; gap: 8px; border: 0; }
.rule-list li { grid-template-columns: 56px 1fr; gap: 0; padding: 0; border: 2px solid var(--line-strong); background: var(--bg-raised); }
.rule-list li::before { display: flex; align-items: center; justify-content: center; font: 600 1.6rem var(--heading); color: #0a111c; background: var(--accent); box-shadow: inset 2px 2px 0 var(--bevel-light), inset -2px -3px 0 var(--bevel-dark); }
.rule-list li span { padding: 12px 16px; }

.mods { gap: 20px; }
.mods > * { border: 2px solid var(--line-strong); box-shadow: 6px 6px 0 var(--line); }
.mods .allowed, .mods .banned { border-top-width: 8px; }

.guide { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
.toc a { border: 2px solid var(--line-strong); margin-bottom: 4px; background: var(--bg-raised); color: var(--text); box-shadow: inset 2px 2px 0 var(--bevel-light), inset -2px -3px 0 var(--bevel-dark); }
.toc a.active { background: var(--accent); color: #0a111c; border-color: var(--accent); }
.commands { background: rgba(0, 0, 0, 0.82); color: #fff; font-size: 0.95rem; }
.commands td { padding: 7px 12px; border: 0; }
.commands tr:nth-child(even) { background: rgba(255, 255, 255, 0.07); }
.commands code { background: none; border: 0; padding: 0; color: #55ffff; }

.steps > li, .card, .dev img, .people li { border-width: 2px; }
.steps > li { box-shadow: 6px 6px 0 var(--line); }
.people li { box-shadow: inset 2px 2px 0 var(--bevel-light), inset -2px -3px 0 var(--bevel-dark); }
body { font-size: 17px; line-height: 1.55; }

.wrap.book-wrap > .rule-list { max-width: none; }
.rule-list, .mods { --paper: #efe4cc; --ink: #33261a; --spine: #b9a67f; background: var(--paper); color: var(--ink); box-shadow: 8px 8px 0 var(--line); }
.rule-list { display: block; columns: 2; column-gap: 96px; column-rule: 4px solid var(--spine); padding: 44px 48px; border: 2px solid var(--spine); }
.rule-list li { display: block; break-inside: avoid; margin: 0 0 16px; padding: 0; border: 0; background: none; }
.rule-list li::before { display: inline; content: counter(rule) ". "; font: 700 1.05rem var(--body); color: #8c2f1f; background: none; box-shadow: none; }
.rule-list li span { display: inline; padding: 0; }
.mods { gap: 0; margin-top: 24px; border: 2px solid var(--spine); }
.mods > *, .mods .allowed, .mods .banned { border: 0; box-shadow: none; background: none; color: inherit; padding: 32px 48px; }
.mods > *:first-child { border-right: 4px solid var(--spine); }
.mods ul, .mods h3, .mods p { color: var(--ink); }

.guide { display: block; }
.toc-title { display: none; }
.guide .toc { position: relative; top: 0; display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: -2px; z-index: 1; }
.toc a { margin: 0; padding: 8px 14px; border: 2px solid var(--line-strong); border-bottom: 0; }
.toc a.active { padding-bottom: 12px; margin-top: -4px; }
.guide > :not(.toc) { border: 2px solid var(--line-strong); background: var(--bg-raised); padding: clamp(18px, 4vw, 36px); box-shadow: 6px 6px 0 var(--line); max-width: none; }
.guide .tab-page[hidden] { display: none; }
.guide .tab-page > h2:first-child { margin-top: 0; }
.guide > :not(.toc) {
  --text: #2f2317; --text-soft: #2f2317; --muted: #5a4632; --link: #7a2a1c; --crown: #8a5a00;
  color: var(--text); background: none; box-shadow: none; padding: 0;
  border-style: solid; border-width: 44px 52px 60px 72px;
  border-image: url(/book.png) 44 116 116 72 fill / 44px 116px 116px 72px round;
}
.guide .prose h2, .guide h2 { background: none; box-shadow: none; padding: 0; color: #2f2317; }
.guide code { background: none; border: 0; padding: 0; color: #7a2a1c; }
.guide .commands { background: none; color: #2f2317; }
.guide .commands tr:nth-child(even) { background: rgba(90, 60, 30, 0.09); }
.guide .commands td { padding: 6px 10px; }
.guide .commands code { color: #7a2a1c; }
.rule-list, .mods, .wrap.book-page {
  --text: #2f2317; --text-soft: #2f2317; --muted: #5a4632; --link: #7a2a1c; --crown: #8a5a00; --line: rgba(90, 60, 30, 0.3); --line-strong: rgba(90, 60, 30, 0.45);
  color: var(--text); background: none; box-shadow: none; padding: 0;
  border-style: solid; border-width: 44px 52px 60px 72px;
  border-image: url(/book.png) 44 116 116 72 fill / 44px 116px 116px 72px round;
}
.wrap.book-page > * { max-width: none; }
.rule-list { column-rule: 0; column-gap: 56px; }
.rule-list li::before { color: #7a2a1c; }
.mods > *, .mods .allowed, .mods .banned { padding: 0 24px 0 0; }
.mods > *:first-child { border-right: 0; }
.mods h3 { font-size: 1.4rem; }
.book-page h2, .book-page h3 { break-after: avoid; }
.book-page .keep-together { break-inside: avoid; }
.book-page h2 { background: none; box-shadow: none; padding: 0; color: #2f2317; }
.book-page .people li { background: rgba(90, 60, 30, 0.1); border: 0; box-shadow: none; color: #2f2317; }
.book-page .dev img { border: 2px solid #5a4632; }
.book-page a:not(.button) { color: #7a2a1c; }
.book-page a.button-primary { color: #0a111c; }
.book-page a.button-quiet { color: #2f2317; }
.book-page code { background: none; border: 0; padding: 0; color: #7a2a1c; }
.book-page .commands { background: none; color: #2f2317; }
.book-page .commands tr:nth-child(even) { background: rgba(90, 60, 30, 0.09); }
.book-page .commands td { padding: 6px 10px; }
.book-page .commands code { color: #7a2a1c; }
.book-page .steps > li, .book-page .card { background: none; border: 0; box-shadow: none; padding: 0 0 8px 0; }
.book-page .steps > li { padding-left: 56px; }
.book-page .steps > li::before { background: #7a2a1c; color: #fff; }
.book-page .address { background: rgba(255, 255, 255, 0.5); }
.book-page .steps > li::before { left: 0; top: 0; }
.book-page .address code { padding: 10px 14px; }
.book-page .steps { margin-bottom: 18px; }
.book-page .address button { background: rgba(90, 60, 30, 0.14); color: #2f2317; }
.book-page .section-head { max-width: none; }
.book-page .section-head h2 { border-bottom: 0; padding-bottom: 0; }
.book-page .shots img { border-color: #5a4632; }
.server-entry { --text: #2f2317; --muted: #5a4632; --link: #7a2a1c; --line: rgba(90, 60, 30, 0.3); --line-strong: rgba(90, 60, 30, 0.45); color: var(--text); background: #fbf1da; border: 6px solid #6b2f1b; box-shadow: 6px 6px 0 #2e130b; }
.server-entry .address { background: rgba(255, 255, 255, 0.5); }
.server-entry .address code { background: none; border: 0; color: #7a2a1c; padding: 10px 14px; }
.server-entry .address button { background: rgba(90, 60, 30, 0.14); color: #2f2317; }
.guide .server-entry { width: 100%; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.guide .shots { margin-top: 20px; }
.guide > :not(.toc) { min-height: 380px; }
.guide .server-entry { padding-right: 24px; margin-top: 18px; }
.guide h2 { margin-bottom: 12px; }
.title-screen .wrap { padding-bottom: clamp(72px, 9vw, 100px); }
@media (min-width: 901px) {
  .guide .tab-page, .wrap.book-page { columns: 2; column-gap: 72px; }
  .guide .tab-page:has(.server-entry) { columns: 1; }
  .guide h2, .book-page h2, .guide h3, .book-page h3 { break-after: avoid; }
  .guide tr, .guide li, .guide img, .book-page tr, .book-page li, .book-page .dev, .book-page .card, .book-page img { break-inside: avoid; }
  .guide .shots { display: block; }
  .guide .shots img, .guide .shots img:first-child { display: block; height: auto; aspect-ratio: 16 / 9; margin-bottom: 12px; }
  .book-page .two-up { display: block; }
  .book-page .card { margin-bottom: 16px; }
  .guide .commands td:first-child, .book-page .commands td:first-child { width: 50%; }
  .guide .server-entry { gap: 0; align-items: flex-start; }
  .guide .entry-main { flex: 0 0 calc(50% - 124px); margin-left: 18px; }
  .guide .entry-side { flex: 1; margin-left: 72px; padding-right: 8px; }
}
.tab-title { font: 600 clamp(1.6rem, 3.5vw, 2.1rem)/1.15 var(--heading); margin: 0 0 12px; color: #2f2317; }
@media (max-width: 760px) {
  .panel { box-shadow: 4px 4px 0 var(--line); }
  .rule-list { columns: 1; padding: 26px 22px; }
  .guide > :not(.toc), .rule-list, .mods, .wrap.book-page { border-width: 22px 26px 30px 36px; border-image-width: 22px 58px 58px 36px; }
  .rule-list { padding: 0; }
  .mods > *, .mods .allowed, .mods .banned { padding: 0 0 18px; }
  .mods > *:first-child { border-bottom: 0; }
  .mods > *, .mods .allowed, .mods .banned { padding: 24px 22px; }
  .mods > *:first-child { border-right: 0; border-bottom: 4px solid var(--spine); }
  .server-entry { flex-wrap: wrap; }
  .server-entry > img { width: 48px; height: 48px; }
  .entry-side { width: 100%; }
  .shots img:nth-child(n + 2) { grid-column: span 3; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Patch Notes (2026-11-26) */
.banner-notes::before { background-image: url(/shots/snow.jpg); }
.patch-notes { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 40px; align-items: start; }
.release-list { position: sticky; top: 90px; display: grid; gap: 4px; }
.release-list a { padding: 6px 12px; border: 2px solid var(--line-strong); background: var(--bg-raised); color: var(--text); font-family: var(--heading); text-decoration: none; box-shadow: inset 2px 2px 0 var(--bevel-light), inset -2px -3px 0 var(--bevel-dark); }
.release-list a:hover { background: var(--hover); }
.release { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 2px solid var(--line); scroll-margin-top: 90px; }
.release:last-child { border-bottom: 0; }
.release h2 { margin-bottom: 6px; }
.release .release-when { color: var(--muted); margin: 0 0 8px; }
.release h3 { margin-top: 22px; }
.spoiler { background: var(--text); color: transparent; cursor: pointer; padding: 0 2px; border-radius: 2px; }
.spoiler code { color: transparent; background: none; }
.spoiler.shown { background: var(--code-bg); color: inherit; cursor: auto; }
.spoiler.shown code { color: inherit; }
@media (max-width: 760px) {
  .patch-notes { grid-template-columns: 1fr; gap: 20px; }
  .release-list { position: static; display: flex; flex-wrap: wrap; }
}
