/* azerothgps.com: dark, gold and arcane blue 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: #0a0d16;
  --bg-2: #0e121d;
  --surface: #141a29;
  --surface-2: #1a2134;
  --line: rgba(232, 182, 79, 0.18);
  --line-strong: rgba(232, 182, 79, 0.45);
  --gold: #e8b64f;
  --gold-hi: #f7d886;
  --gold-deep: #a5711f;
  --arcane: #58c6ff;
  --arcane-soft: rgba(88, 198, 255, 0.12);
  --text: #ece6d6;
  --text-2: #ddd7c8;
  --muted: #a39e90;
  --link: #8fd6ff;
  --radius: 10px;
  --top: 64px;
  --display: "Cinzel", "Trajan Pro", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --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:
    radial-gradient(1200px 600px at 75% -10%, rgba(88, 198, 255, 0.09), transparent 60%),
    radial-gradient(900px 500px at 10% 0%, rgba(232, 182, 79, 0.07), transparent 60%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font: 400 16.5px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { flex: 1; }
a { color: var(--link); 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 var(--arcane); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--gold); color: #1d1406; padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 12px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10, 13, 22, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.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, var(--gold-hi), var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { color: var(--muted); font-weight: 500; white-space: nowrap; }
.nav a:hover, .nav a.on { color: var(--text); text-decoration: none; }
.nav a.on { box-shadow: inset 0 -2px 0 var(--gold); padding-bottom: 20px; margin-bottom: -22px; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; 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: 36px; padding: 0 10px 0 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px; color: var(--muted);
}
.search:focus-within { border-color: var(--line-strong); }
.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(--muted); }
.search input::-webkit-search-cancel-button { filter: invert(0.7); }
.search kbd { font: 500 11px/1 var(--mono); color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 3px 5px; }
.results {
  position: absolute; top: 42px; right: 0; width: min(520px, calc(100vw - 32px)); max-height: 70vh; overflow: auto;
  background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); padding: 6px;
}
.results a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--text); }
.results a:hover, .results a.sel { background: rgba(232, 182, 79, 0.1); 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(--muted); 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(--muted); font-size: 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px; border-radius: 8px; border: 0; cursor: pointer;
  font: 600 15.5px/1 var(--body); letter-spacing: 0.01em; white-space: nowrap;
}
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn-gold {
  color: #1d1406;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, #c98f2c);
  box-shadow: 0 0 0 1px rgba(255, 230, 160, 0.4) inset, 0 8px 24px rgba(232, 182, 79, 0.22);
}
.btn-ghost { color: var(--text); border: 1px solid var(--line-strong); background: rgba(20, 26, 41, 0.6); }
.btn-small { height: 36px; padding: 0 14px; font-size: 14px; }
.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: var(--arcane);
  padding: 8px 12px; border: 1px solid rgba(88, 198, 255, 0.3); border-radius: 999px; background: var(--arcane-soft);
}
.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-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 19px; color: #d7d1c1; max-width: 560px; margin: 0 0 30px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.meta { margin-top: 22px; font-size: 14px; color: var(--muted); 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: 10px; border-radius: 14px;
  background: linear-gradient(160deg, rgba(247, 216, 134, 0.55), rgba(165, 113, 31, 0.35) 40%, rgba(88, 198, 255, 0.35));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 90px rgba(88, 198, 255, 0.16);
}
.shot-frame video, .shot-frame img { border-radius: 8px; width: 520px; max-width: 100%; }
.shot-frame video.hero-clip { width: 640px; aspect-ratio: 16 / 9; height: auto; background: #000; display: block; }
/* 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 var(--line-strong); background: rgba(10, 13, 22, 0.78) 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='%23f7d886'/%3E%3C/svg%3E") 55% 50%/34px no-repeat;
  cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.play-btn:hover { background-color: rgba(26, 33, 52, 0.9); }
.shot-frame .device {
  position: absolute; left: -70px; bottom: -68px; width: 197px;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.45));
}
.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(--muted); }
.rule { height: 1px; margin: 0 auto; max-width: 1192px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  display: block; color: inherit;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.15s, transform 0.15s;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); text-decoration: none; }
.card .thumb { height: 180px; overflow: hidden; border-bottom: 1px solid var(--line); background: #000; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.card .body { padding: 16px 18px 18px; }
.card h3 { margin: 0 0 6px; font: 600 18px/1.3 var(--body); color: var(--text); }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.card .more { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--link); }
.band {
  max-width: 1192px; margin: 24px auto 56px; border-radius: 14px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  background: linear-gradient(120deg, #101a2c, #121827 60%, #1b1a22);
  border: 1px solid rgba(88, 198, 255, 0.25); box-shadow: 0 0 60px rgba(88, 198, 255, 0.08);
}
.band .text { padding: 40px 44px; }
.band .tag { font: 600 12.5px/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--arcane); }
.band h2 { font: 700 34px/1.15 var(--display); color: var(--text); margin: 12px 0 12px; }
.band p { color: #cfd6e4; margin: 0 0 24px; }
.band .pic { background: #07090f center/contain no-repeat; min-height: 300px; }

/* Footer */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); 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 13px/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.foot a { display: block; color: var(--muted); padding: 3px 0; }
.foot a:hover { color: var(--text); }
.foot .brand { display: inline-flex; }
.foot .fine { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 12px 0 0; max-width: 420px; }
.foot .fine a { display: inline; padding: 0; color: var(--link); }

/* Guide pages */
.guide {
  max-width: 1320px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 250px minmax(0, 1fr) 210px; gap: 44px;
}
.menu-toggle { display: none; }
.side { position: sticky; top: var(--top); align-self: start; max-height: calc(100vh - var(--top)); overflow: auto; padding: 28px 4px 40px 0; scrollbar-width: thin; }
.side .switch { display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; 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(--muted); border-radius: 6px; }
.side .switch a:hover { text-decoration: none; color: var(--text); }
.side .switch a.on { background: var(--surface-2); color: var(--gold-hi); box-shadow: inset 0 0 0 1px var(--line-strong); }
.side h5 { margin: 18px 0 6px; font: 600 12px/1 var(--body); letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold); }
.side a.item { display: block; padding: 5px 10px; margin-left: -10px; border-radius: 6px; color: #c9c3b4; font-size: 14.5px; }
.side a.item:hover { background: var(--surface); text-decoration: none; color: var(--text); }
.side a.item.on { background: linear-gradient(90deg, rgba(232, 182, 79, 0.16), transparent); color: var(--gold-hi); box-shadow: inset 2px 0 0 var(--gold); }

.doc { padding: 30px 0 60px; max-width: 780px; min-width: 0; }
.doc-plain, .doc-wide { margin: 0 auto; padding: 40px 24px 60px; }
.doc-wide { max-width: 1240px; }
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }
.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: #d7d1c1; margin: 0 0 28px; }
.doc h2 { font: 600 27px/1.25 var(--display); color: var(--text); margin: 44px 0 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.doc h3 { font: 600 19px/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(--muted); opacity: 0; font-weight: 400; text-decoration: none; }
.doc :is(h2, h3, h4):hover .anchor, .doc .anchor:focus { opacity: 0.8; }
.doc p, .doc li { color: var(--text-2); }
.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.88em/1.4 var(--mono); background: var(--surface-2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; color: var(--gold-hi); }
.doc pre { background: #070a12; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; overflow: auto; }
.doc pre code { background: none; border: 0; padding: 0; color: #d9e4f2; font-size: 13.5px; }
.doc hr { border: 0; height: 1px; background: var(--line); margin: 32px 0; }
.doc blockquote { margin: 20px 0; padding: 10px 16px; border-left: 3px solid var(--arcane); background: var(--arcane-soft); border-radius: 0 8px 8px 0; }
.table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: 8px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th { text-align: left; font-weight: 600; color: var(--gold-hi); background: var(--surface-2); }
.doc th, .doc td { padding: 9px 12px; border-bottom: 1px solid var(--line); 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: 6px; border-radius: 10px;
  background: linear-gradient(160deg, rgba(247, 216, 134, 0.45), rgba(165, 113, 31, 0.25) 45%, rgba(88, 198, 255, 0.25));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.doc figure img, .doc figure video { border-radius: 6px; max-width: 100%; height: auto; cursor: zoom-in; background: #000; }
.doc figcaption { font-size: 14px; color: var(--muted); 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 rgba(88, 198, 255, 0.3); background: var(--arcane-soft); border-radius: 8px;
  padding: 12px 16px; font-size: 15px; color: #d5e6f2; margin: 20px 0;
}
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.pager a { border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; background: var(--surface); }
.pager a:hover { border-color: var(--line-strong); text-decoration: none; }
.pager small { display: block; color: var(--muted); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.pager span { font-weight: 600; color: var(--text); }
.pager .next { text-align: right; grid-column: 2; }
.toc { position: sticky; top: var(--top); align-self: start; padding: 34px 0; font-size: 13.5px; max-height: calc(100vh - var(--top)); overflow: auto; }
.toc h6 { margin: 0 0 10px; font: 600 12px/1 var(--body); letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.toc a { display: block; color: var(--muted); padding: 4px 0 4px 12px; border-left: 1px solid var(--line); }
.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: #d7d1c1; 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: 22px; }
.panel { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: 12px; padding: 26px 28px; }
.panel h2 { font: 600 24px/1.25 var(--display); color: var(--gold-hi); margin: 0 0 6px; }
.panel h3 { font: 600 16px/1.3 var(--body); color: var(--text); margin: 20px 0 6px; }
.panel p, .panel li { color: var(--text-2); }
.panel ul, .panel ol { padding-left: 22px; margin: 8px 0; }
.panel .version { color: var(--muted); 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; }

/* 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(--muted); }
.report input, .report select, .report textarea {
  width: 100%; background: #0b0f1a; color: var(--text); border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 12px; font: 400 15px/1.5 var(--body);
}
.report textarea { resize: vertical; }
.report .mono { font-family: var(--mono); font-size: 13px; }
.report :is(input, select, textarea):focus { outline: none; border-color: var(--arcane); box-shadow: 0 0 0 3px var(--arcane-soft); }
.report .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.report .fine { color: var(--muted); font-size: 13.5px; margin: 0; }
.report .status { align-self: center; color: var(--muted); font-size: 14.5px; }
.report .status.good { color: #8fe3a7; }
.report .status.bad { color: #ff9b8f; }
.report button[disabled] { opacity: 0.6; cursor: progress; }
@media (max-width: 760px) { .report .row { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin: 18px 0 30px; }
.doc .tile { margin: 0; }
.tile figcaption { font-style: normal; }
.tile { margin: 0; background: var(--surface); border: 1px solid var(--line); 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, 13, 22, 0.8) 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='%23f7d886'/%3E%3C/svg%3E") center/20px no-repeat;
  border: 1px solid var(--line-strong);
}
.tile figcaption { padding: 10px 12px 12px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.tile figcaption a { display: block; margin-top: 4px; font-weight: 600; font-size: 13px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(5, 7, 12, 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: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.lightbox .cap { color: var(--muted); 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; }

/* Smaller screens */
@media (max-width: 1200px) {
  .guide { grid-template-columns: 240px minmax(0, 1fr); }
  .toc { display: none; }
}
@media (max-width: 1060px) {
  .nav { gap: 16px; }
  .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: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 8px; font: 600 14px var(--body); cursor: pointer;
  }
  .side { display: none; position: static; max-height: none; padding: 12px 0 0; }
  .side.open { display: block; }
  .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: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px 16px 14px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; }
  .nav a.on { box-shadow: none; padding-bottom: 10px; margin: 0; color: var(--gold-hi); }
  .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, .doc-plain, .doc-wide { padding-left: 16px; padding-right: 16px; }
  .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; }
}
@media (max-width: 420px) {
  .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
