/* azerothgps.com: the dark map theme. Near-black, a faded map of Azeroth's roads behind everything (img/map.webp: our
   own drawing from AzerothGPS's road and zone data, no game art), dark translucent panels with faint edges, warm
   off-white text and gold from the logo. */
/* Cinzel and Inter: SIL Open Font License 1.1 (assets/fonts/LICENSE-*.txt), served from this site. */
@font-face { font-family: "Cinzel"; src: url(/assets/fonts/cinzel-latin-wght.09941fb1c1.woff2) format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/assets/fonts/inter-latin-wght.3100e775e8.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #0a0b0d;
  --panel: rgba(24, 25, 29, 0.84);
  --panel-hi: rgba(30, 31, 35, 0.92);
  --edge: rgba(255, 255, 255, 0.04);
  --edge-hi: rgba(255, 255, 255, 0.14);
  --edge-gold: rgba(242, 193, 78, 0.30);
  --shade: 0 10px 30px rgba(0, 0, 0, 0.28);
  --text: #ece9e2;
  --text-2: #dad6cc;
  --dim: #a09c93;
  --faint: #6e6b64;
  --gold: #f2c14e;
  --gold-hi: #ffe08a;
  --gold-lo: #b07a16;
  --ok: #86d493;
  --bad: #f2917f;
  --r: 12px;
  --top: 64px;
  --display: "Cinzel", "Trajan Pro", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --body: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --mono: "Cascadia Mono", "JetBrains Mono", Consolas, "SFMono-Regular", Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-padding-top: calc(var(--top) + 16px); }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font: 400 16.5px/1.65 var(--body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* The map behind everything, faded toward the edges: dark enough that text right over its brightest road keeps AA
   contrast (off-white 6.9:1, gold 5.9:1); gray text only goes on panels. */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: url(/assets/img/map.2cba6567ac.webp) 62% 38% / cover no-repeat; opacity: 0.55; }
.bg::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 70% at 62% 40%, rgba(10, 11, 13, 0.40), rgba(10, 11, 13, 0.82) 70%, rgba(10, 11, 13, 0.97)); }
main, .foot { position: relative; z-index: 1; }
main { flex: 1; }
a { color: var(--gold-hi); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, video { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid rgba(242, 193, 78, 0.6); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--gold); color: #1d1400; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.12); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(242, 193, 78, 0.35); background-clip: padding-box; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: linear-gradient(180deg, rgba(13, 14, 16, 0.94), rgba(9, 10, 12, 0.90));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--edge);
}
.top-in { max-width: 1320px; margin: 0 auto; padding: 0 24px; height: var(--top); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); flex: none; }
.brand:hover { text-decoration: none; }
/* The device picture has room around it for its glow: the margins keep the device itself where a 40 px one sat. */
.brand img { width: 61px; height: auto; margin: -19px -10px -10px -10px; }
.brand span {
  font: 700 21px/1 var(--display); letter-spacing: 0.04em;
  background: linear-gradient(180deg, #ffe9a6, #e4a52b);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav { display: flex; gap: 6px; font-size: 15px; }
.nav a { color: var(--dim); font-weight: 500; white-space: nowrap; padding: 7px 11px; border-radius: 9px; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); text-decoration: none; }
.nav a.on { color: var(--gold-hi); background: linear-gradient(180deg, rgba(242, 193, 78, 0.16), rgba(242, 193, 78, 0.05)); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); color: var(--text); border-radius: 9px; height: 38px; width: 42px; align-items: center; justify-content: center; cursor: pointer; }

/* Search */
.search {
  position: relative; display: flex; align-items: center; gap: 8px;
  width: 250px; height: 38px; padding: 0 10px 0 12px;
  background: rgba(0, 0, 0, 0.45); border: 1px solid var(--edge-hi); border-radius: 9px; color: var(--dim);
}
.search:focus-within { border-color: var(--edge-gold); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: 400 14px var(--body); }
.search input::placeholder { color: var(--dim); }
.search input::-webkit-search-cancel-button { filter: invert(0.7); }
.search kbd { font: 500 11px/1 var(--mono); color: var(--dim); border: 1px solid var(--edge-hi); border-radius: 5px; padding: 3px 5px; }
.results {
  position: absolute; top: 44px; right: 0; width: min(520px, calc(100vw - 32px)); max-height: 70vh; overflow: auto;
  background: var(--panel-hi); border: 1px solid var(--edge-hi); border-radius: var(--r);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); padding: 6px; backdrop-filter: blur(14px);
}
.results a { display: block; padding: 10px 12px; border-radius: 9px; color: var(--text); }
.results a:hover, .results a.sel { background: rgba(242, 193, 78, 0.08); text-decoration: none; }
.results b { display: block; font-weight: 600; font-size: 14.5px; }
.results small { display: block; color: var(--gold); font-size: 12px; letter-spacing: 0.04em; margin-bottom: 2px; }
.results span { display: block; color: var(--dim); font-size: 13.5px; line-height: 1.5; }
.results mark { background: none; color: var(--gold-hi); font-weight: 600; }
.results .none { padding: 12px; color: var(--dim); font-size: 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px; border-radius: 10px; cursor: pointer;
  font: 600 15.5px/1 var(--body); white-space: nowrap;
  color: var(--text); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
}
.btn:hover { text-decoration: none; background: rgba(255, 255, 255, 0.10); }
.btn-gold {
  color: #1d1400; border-color: #a97b16; background: linear-gradient(180deg, #ffdf78, #e3a72c);
  box-shadow: 0 8px 24px rgba(242, 193, 78, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn-gold:hover { background: linear-gradient(180deg, #ffe692, #edb33a); }
.btn-ghost { color: var(--text); }
.btn-small { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.btn svg { width: 18px; height: 18px; }

/* Home */
.hero {
  max-width: 1280px; margin: 0 auto; padding: 72px 24px 56px;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 52px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 12.5px/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: #f1dfa6;
  padding: 8px 12px; border: 1px solid var(--edge-gold); border-radius: 999px; background: rgba(242, 193, 78, 0.07);
}
.hero h1 {
  margin: 22px 0 18px;
  font: 700 clamp(40px, 6vw, 64px)/1.04 var(--display); letter-spacing: 0.01em;
  background: linear-gradient(180deg, #fff3cf, var(--gold-hi) 35%, var(--gold) 70%, var(--gold-lo));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 19px; color: var(--text-2); max-width: 560px; margin: 0 0 30px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.meta { margin-top: 22px; font-size: 14px; color: var(--text-2); display: flex; gap: 18px; flex-wrap: wrap; }
.meta b { color: var(--text); font-weight: 600; }
.shot-frame {
  position: relative; justify-self: center; max-width: 100%;
  padding: 8px; border-radius: 16px;
  background: var(--panel); border: 1px solid var(--edge-gold);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(242, 193, 78, 0.06);
}
.shot-frame video, .shot-frame img { border-radius: 10px; width: 520px; max-width: 100%; }
.shot-frame video.hero-clip { width: 640px; aspect-ratio: 16 / 9; height: auto; background: #000; display: block; }
.shot-frame .device {
  position: absolute; left: -70px; bottom: -68px; width: 197px;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.45));
}
/* A play button over a clip that waits (the visitor's system asks for less motion). */
.play-wrap { position: relative; display: block; }
.play-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%;
  border: 1px solid #a97b16; background: rgba(10, 11, 13, 0.80) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l8.5-5.5z' fill='%23ffe08a'/%3E%3C/svg%3E") 55% 50%/34px no-repeat;
  cursor: pointer; box-shadow: var(--shade);
}
.play-btn:hover { background-color: rgba(30, 31, 35, 0.92); }
.section { max-width: 1240px; margin: 0 auto; padding: 40px 24px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section h2 { font: 600 32px/1.2 var(--display); color: var(--gold-hi); margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--text-2); }
.rule { height: 1px; margin: 0 auto; max-width: 1192px; background: linear-gradient(90deg, transparent, var(--edge-gold), transparent); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  display: block; color: inherit;
  background: var(--panel); border: 1px solid var(--edge); border-radius: var(--r); box-shadow: var(--shade);
  overflow: hidden; backdrop-filter: blur(10px); transition: border-color 0.15s, transform 0.15s;
}
.card:hover { border-color: var(--edge-hi); transform: translateY(-2px); text-decoration: none; }
.card .thumb { height: 180px; overflow: hidden; background: #000; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; opacity: 0.92; }
.card .body { padding: 16px 18px 18px; }
.card h3 { margin: 0 0 6px; font: 600 17.5px/1.3 var(--body); color: var(--text); }
.card p { margin: 0; color: var(--dim); font-size: 15px; line-height: 1.55; }
.card .more { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--gold-hi); }
.band {
  max-width: 1192px; margin: 24px auto 56px; border-radius: var(--r); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  background: linear-gradient(160deg, rgba(242, 193, 78, 0.10), var(--panel) 55%);
  border: 1px solid var(--edge-gold); box-shadow: var(--shade); backdrop-filter: blur(10px);
}
.band .text { padding: 40px 44px; }
.band .tag { font: 600 12.5px/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.band h2 { font: 700 34px/1.15 var(--display); color: var(--text); margin: 12px 0 12px; }
.band p { color: var(--text-2); margin: 0 0 24px; }
.band .pic { background: #07090f center/contain no-repeat; min-height: 300px; }

/* Footer */
.foot { border-top: 1px solid var(--edge); background: linear-gradient(180deg, rgba(13, 14, 16, 0.90), rgba(9, 10, 12, 0.97)); margin-top: 40px; }
.foot-in { max-width: 1320px; margin: 0 auto; padding: 34px 24px 40px; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; font-size: 14.5px; }
.foot h4 { margin: 0 0 10px; font: 600 12.5px/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.foot a { display: block; color: var(--dim); padding: 3px 0; }
.foot a:hover { color: var(--text); }
.foot .brand { display: inline-flex; }
.foot .fine { color: var(--dim); font-size: 13px; line-height: 1.6; margin: 12px 0 0; max-width: 420px; }
.foot .fine a { display: inline; padding: 0; color: var(--gold-hi); }

/* Guide pages */
.guide { max-width: 1320px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 250px minmax(0, 1fr) 210px; gap: 32px; }
.menu-toggle { display: none; }
.side { position: sticky; top: calc(var(--top) + 24px); align-self: start; max-height: calc(100vh - var(--top) - 48px); overflow: auto;
  margin: 24px 0 40px; padding: 14px 10px 18px; scrollbar-width: thin;
  background: linear-gradient(180deg, rgba(13, 14, 16, 0.86), rgba(9, 10, 12, 0.90)); border: 1px solid var(--edge); border-radius: var(--r); backdrop-filter: blur(10px); }
.side .switch { display: flex; background: rgba(0, 0, 0, 0.45); border: 1px solid var(--edge-hi); border-radius: 10px; padding: 3px; margin-bottom: 18px; }
.side .switch a { flex: 1; text-align: center; padding: 7px 0; font-size: 13.5px; font-weight: 600; color: var(--dim); border-radius: 8px; }
.side .switch a:hover { text-decoration: none; color: var(--text); }
.side .switch a.on { background: linear-gradient(180deg, rgba(242, 193, 78, 0.18), rgba(242, 193, 78, 0.06)); color: var(--gold-hi); }
.side h5 { margin: 20px 0 6px; padding-left: 12px; font: 600 12px/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.side a.item { display: block; padding: 7px 12px; border-radius: 9px; color: var(--dim); font-size: 14.5px; font-weight: 500; }
.side a.item:hover { background: rgba(255, 255, 255, 0.04); text-decoration: none; color: var(--text); }
.side a.item.on { color: var(--gold-hi); background: linear-gradient(90deg, rgba(242, 193, 78, 0.17), rgba(242, 193, 78, 0.03)); box-shadow: inset 3px 0 0 var(--gold); }

/* The reading column: a panel over the map. */
.doc { margin: 24px 0 40px; padding: 30px 38px 40px; max-width: 820px; min-width: 0;
  background: var(--panel); border: 1px solid var(--edge); border-radius: var(--r); box-shadow: var(--shade); backdrop-filter: blur(10px); }
.doc-plain, .doc-wide { margin: 32px auto 40px; }
.doc-plain { max-width: 820px; }
.doc-wide { max-width: 1240px; }
.crumbs { font-size: 13.5px; color: var(--dim); margin-bottom: 8px; }
.crumbs a { color: var(--dim); }
.doc h1 { font: 700 clamp(32px, 4vw, 44px)/1.15 var(--display); color: var(--gold-hi); margin: 0 0 10px; }
.doc .intro { font-size: 18.5px; color: var(--text-2); margin: 0 0 26px; }
.doc h2 { font: 600 26px/1.25 var(--display); color: var(--text); margin: 42px 0 12px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.doc h3 { font: 600 18.5px/1.35 var(--body); color: var(--gold-hi); margin: 30px 0 8px; }
.doc h4 { font: 600 16.5px/1.4 var(--body); color: var(--text); margin: 24px 0 6px; }
.doc .anchor { margin-left: 8px; color: var(--faint); opacity: 0; font-weight: 400; text-decoration: none; }
.doc :is(h2, h3, h4):hover .anchor, .doc .anchor:focus { opacity: 1; }
.doc p, .doc li { color: var(--text-2); }
/* Links in running text get a soft underline too: gold beside off-white text needs more than color. */
.doc :is(p, li, td, figcaption) a { text-decoration: underline; text-decoration-color: rgba(255, 224, 138, 0.35); text-underline-offset: 3px; }
.doc :is(p, li, td, figcaption) a:hover { text-decoration-color: var(--gold-hi); }
.doc ul, .doc ol { padding-left: 24px; }
.doc li { margin: 4px 0; }
.doc li::marker { color: var(--gold); }
.doc strong { color: var(--text); font-weight: 650; }
.doc code { font: 500 0.86em/1.4 var(--mono); background: rgba(0, 0, 0, 0.45); border: 1px solid var(--edge-hi); border-radius: 5px; padding: 1px 6px; color: var(--text); }
.doc pre { background: rgba(0, 0, 0, 0.45); border: 1px solid var(--edge-hi); border-radius: 10px; padding: 14px 16px; overflow: auto; }
.doc pre code { background: none; border: 0; padding: 0; color: #d9d5cc; font-size: 13.5px; }
.doc hr { border: 0; height: 1px; background: rgba(255, 255, 255, 0.07); margin: 32px 0; }
.doc blockquote { margin: 20px 0; padding: 10px 16px; border: 1px solid var(--edge-gold); background: rgba(242, 193, 78, 0.07); color: #f1dfa6; border-radius: 10px; }
.table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--edge-hi); border-radius: 10px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th { text-align: left; font-weight: 600; color: var(--gold-hi); background: rgba(255, 255, 255, 0.04); }
.doc th, .doc td { padding: 9px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); vertical-align: top; }
.doc tr:last-child td { border-bottom: 0; }
.doc td code { white-space: nowrap; }
.doc figure { margin: 24px 0; }
.doc figure .frame { display: inline-block; max-width: 100%; padding: 4px; border-radius: 12px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--edge-gold); box-shadow: var(--shade); }
.doc figure img, .doc figure video { border-radius: 9px; max-width: 100%; height: auto; cursor: zoom-in; background: #000; }
.doc figcaption { font-size: 14px; color: var(--dim); margin-top: 8px; font-style: italic; }
.doc img.inline { display: inline-block; vertical-align: middle; border-radius: 6px; }
.doc .center { display: flex; justify-content: center; }
.note { border: 1px solid var(--edge-gold); background: rgba(242, 193, 78, 0.07); color: #f1dfa6; border-radius: 10px; padding: 10px 14px; margin: 20px 0; font-size: 15px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 48px; }
.pager a { border: 1px solid var(--edge-hi); border-radius: 10px; padding: 14px 18px; background: rgba(255, 255, 255, 0.03); text-decoration: none; }
.pager a:hover { border-color: var(--edge-gold); background: rgba(242, 193, 78, 0.05); text-decoration: none; }
.pager small { display: block; color: var(--dim); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.pager span { font-weight: 600; color: var(--text); }
.pager .next { text-align: right; grid-column: 2; }
.toc { position: sticky; top: calc(var(--top) + 24px); align-self: start; margin-top: 24px; padding: 16px 14px 18px; font-size: 13.5px;
  max-height: calc(100vh - var(--top) - 48px); overflow: auto;
  background: rgba(13, 14, 16, 0.82); border: 1px solid var(--edge); border-radius: var(--r); backdrop-filter: blur(10px); }
.toc h6 { margin: 0 0 10px; font: 600 12px/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.toc a { display: block; color: var(--dim); padding: 4px 0 4px 12px; border-left: 1px solid rgba(255, 255, 255, 0.08); }
.toc a.sub { padding-left: 24px; }
.toc a:hover { color: var(--text); text-decoration: none; }
.toc a.on { color: var(--gold-hi); border-left-color: var(--gold); }

/* Download, feedback and other pages */
.page-head { max-width: 1240px; margin: 0 auto; padding: 48px 24px 8px; }
.page-head h1 { font: 700 clamp(32px, 4vw, 44px)/1.15 var(--display); color: var(--gold-hi); margin: 0 0 8px; }
.page-head p { color: var(--text-2); font-size: 18px; margin: 0; max-width: 720px; }
.panels { max-width: 1240px; margin: 0 auto; padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { background: var(--panel); border: 1px solid var(--edge); border-radius: var(--r); box-shadow: var(--shade); padding: 24px 28px; backdrop-filter: blur(10px); }
.panel h2 { font: 600 24px/1.25 var(--display); color: var(--gold-hi); margin: 0 0 6px; }
.panel h3 { font: 600 12.5px/1.3 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin: 22px 0 8px; }
.panel p, .panel li { color: var(--text-2); }
.panel :is(p, li) a { text-decoration: underline; text-decoration-color: rgba(255, 224, 138, 0.35); text-underline-offset: 3px; }
.panel ul, .panel ol { padding-left: 22px; margin: 8px 0; }
.panel code { font: 500 0.86em/1.4 var(--mono); background: rgba(0, 0, 0, 0.45); border: 1px solid var(--edge-hi); border-radius: 5px; padding: 1px 6px; }
.panel .version { color: var(--dim); font-size: 14px; margin: 0 0 16px; }
.panel .version b { color: var(--text); }
.panel .cta { margin: 18px 0 4px; }
.panel.wide { grid-column: 1 / -1; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 18px 0 30px; }
.doc .tile { margin: 0; }
.tile figcaption { font-style: normal; }
.tile { margin: 0; background: rgba(0, 0, 0, 0.30); border: 1px solid var(--edge-hi); border-radius: 10px; overflow: hidden; }
.tile .open { display: block; position: relative; aspect-ratio: 4 / 3; background: #000; }
.tile .open img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s; }
.tile .open:hover img { transform: scale(1.03); }
.tile.video .open::after {
  content: ""; position: absolute; left: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(10, 11, 13, 0.80) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7v10l8-5z' fill='%23ffe08a'/%3E%3C/svg%3E") center/20px no-repeat;
  border: 1px solid #a97b16;
}
.tile figcaption { padding: 10px 12px 12px; font-size: 13.5px; color: var(--dim); line-height: 1.5; }
.tile figcaption a { display: block; margin-top: 4px; font-weight: 600; font-size: 13px; text-decoration: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(5, 6, 8, 0.94); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 16px 24px; }
.lightbox[hidden] { display: none; }
.lightbox .stage img, .lightbox .stage video { max-width: min(1400px, 96vw); max-height: 82vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.lightbox .cap { color: var(--dim); max-width: 900px; text-align: center; font-size: 14.5px; }
.lightbox .close { position: absolute; top: 12px; right: 16px; background: none; border: 0; color: var(--text); font-size: 36px; line-height: 1; cursor: pointer; }

/* Not found */
.lost { max-width: 640px; margin: 0 auto; padding: 90px 24px; text-align: center; }
.lost img { margin: -20px auto 0; width: 182px; }
.lost h1 { font: 700 40px/1.2 var(--display); color: var(--gold-hi); margin: 0 0 10px; }
.lost p { color: var(--text-2); }

/* The report form */
.report { display: grid; gap: 14px; margin-top: 14px; }
.report .row { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 14px; }
.report label { display: grid; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--text); }
.report .opt { font-weight: 400; color: var(--dim); }
.report input, .report select, .report textarea {
  width: 100%; background: rgba(0, 0, 0, 0.45); color: var(--text); border: 1px solid var(--edge-hi); border-radius: 9px;
  padding: 10px 12px; font: 400 15px/1.5 var(--body); outline: none;
}
.report textarea { resize: vertical; }
.report .mono { font-family: var(--mono); font-size: 13px; }
.report :is(input, select, textarea):focus { border-color: var(--edge-gold); }
.report .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.report .fine { color: var(--dim); font-size: 13.5px; margin: 0; }
.report .status { align-self: center; color: var(--dim); font-size: 14.5px; }
.report .status.good { color: var(--ok); }
.report .status.bad { color: var(--bad); }
.report button[disabled] { opacity: 0.45; cursor: progress; }

/* Smaller screens */
@media (max-width: 1200px) {
  .guide { grid-template-columns: 240px minmax(0, 1fr); }
  .toc { display: none; }
}
@media (max-width: 1060px) {
  .nav { gap: 2px; }
  .nav a { padding: 7px 8px; }
  .search { width: 190px; }
  .discord { display: none; }
}
@media (max-width: 960px) {
  .guide { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .menu-toggle {
    display: flex; align-items: center; gap: 8px; margin: 16px 0 0; height: 38px; padding: 0 14px; width: max-content;
    background: rgba(255, 255, 255, 0.06); color: var(--text); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 9px; font: 600 14px var(--body); cursor: pointer;
  }
  .side { display: none; position: static; max-height: none; margin: 12px 0 0; }
  .side.open { display: block; }
  .doc { padding: 24px 22px 32px; }
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .shot-frame .device { width: 146px; left: -39px; bottom: -49px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .band { grid-template-columns: 1fr; }
  .panels { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .top-in { gap: 12px; padding: 0 16px; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: var(--top); left: 0; right: 0; flex-direction: column; gap: 2px; background: rgba(13, 14, 16, 0.97); border-bottom: 1px solid var(--edge); padding: 8px 12px 14px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 12px; }
  .search { width: auto; flex: 1; }
  .search kbd { display: none; }
  .top-right { flex: 1; justify-content: flex-end; }
  .brand span { font-size: 18px; }
  .guide, .section, .hero, .page-head, .panels { padding-left: 16px; padding-right: 16px; }
  .doc-plain, .doc-wide { margin-left: 16px; margin-right: 16px; }
  .doc { padding: 20px 16px 28px; }
  .cards { grid-template-columns: 1fr; }
  .band .text { padding: 28px 22px; }
  .pager { grid-template-columns: 1fr; }
  .pager .next { grid-column: 1; }
  .foot-in { grid-template-columns: 1fr; padding-left: 16px; padding-right: 16px; }
  .section-head { flex-direction: column; align-items: start; }
  .bg { background-position: 50% 30%; }
}
@media (max-width: 420px) {
  .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
