/* =========================================================
   Absolute Gaming — shared stylesheet
   Theme: gunmetal + frosted glass + chrome hairlines + molten amber
   ========================================================= */

:root {
  --bg: #0b0d10;
  --bg-2: #12161b;
  --bg-3: #181d24;
  --panel: rgba(20, 24, 30, 0.72);
  --panel-strong: rgba(24, 29, 36, 0.86);
  --line: rgba(201, 209, 217, 0.14);
  --line-strong: rgba(201, 209, 217, 0.28);
  --text: #e8ecf1;
  --soft: #bcc5cf;
  --muted: #8b95a3;
  --amber: #ff7a18;
  --amber-2: #ffb547;
  --cyan: #3fd0ff;
  --green: #4fd69c;
  --alliance: #74a9ff;
  --horde: #ff6b6b;
  --grad-amber: linear-gradient(135deg, #ff7a18 0%, #ffb547 100%);
  --grad-route: linear-gradient(90deg, #3fd0ff 0%, #ffb547 70%, #ff7a18 100%);
  --grad-chrome: linear-gradient(180deg, #ffffff 0%, #e3e8ee 36%, #8e99a5 52%, #eef2f6 70%, #b9c2cc 100%);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font-display: "Oxanium", "Eurostile", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 32px);
  --maxw: 1180px;
  --header-h: 68px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* fixed ambient glow (pseudo-element, so it also stays put on iOS) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 520px at 8% -8%, rgba(255, 122, 24, 0.10), transparent 60%),
    radial-gradient(800px 600px at 100% 12%, rgba(63, 208, 255, 0.07), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
/* faint film grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 2; }
img, svg { max-width: 100%; display: block; }
a { color: var(--amber-2); text-decoration: none; }
a:hover { color: #ffd08a; text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
code, kbd, .mono { font-family: var(--font-mono); font-size: 0.9em; }
code {
  background: rgba(63, 208, 255, 0.08);
  border: 1px solid rgba(63, 208, 255, 0.18);
  color: #bfeeff;
  padding: 0.1em 0.4em;
  border-radius: 6px;
  overflow-wrap: anywhere;
}
kbd {
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 0.05em 0.45em;
  background: var(--bg-3);
  color: var(--text);
}
hr { border: 0; height: 1px; background: var(--line); margin: 2.5rem 0; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--amber); color: #1a0d00; padding: 8px 14px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-display); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber-2);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--grad-amber); box-shadow: 0 0 8px rgba(255, 122, 24, 0.8); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--soft); max-width: 62ch; }
.muted { color: var(--muted); }
.soft { color: var(--soft); }
.text-chrome {
  background: var(--grad-chrome);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.text-amber {
  background: var(--grad-amber);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.text-cyan { color: var(--cyan); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 46px; padding: 0.7em 1.35em;
  border-radius: 10px; border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; letter-spacing: 0.04em;
  cursor: pointer; text-decoration: none !important; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--grad-amber); color: #1b0e02;
  box-shadow: 0 0 0 1px rgba(255, 181, 71, 0.4) inset, 0 8px 26px rgba(255, 122, 24, 0.28);
}
.btn-primary:hover { color: #1b0e02; box-shadow: 0 0 0 1px rgba(255, 220, 160, 0.7) inset, 0 10px 34px rgba(255, 122, 24, 0.42); }
.btn-ghost {
  background: rgba(20, 24, 30, 0.6); color: var(--text); border-color: var(--line-strong);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { color: var(--text); border-color: rgba(201, 209, 217, 0.5); background: rgba(30, 36, 44, 0.75); }
.btn-cyan { background: rgba(63, 208, 255, 0.12); color: #c9f2ff; border-color: rgba(63, 208, 255, 0.45); }
.btn-cyan:hover { color: #fff; background: rgba(63, 208, 255, 0.2); }
.btn-sm { min-height: 38px; padding: 0.45em 1em; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Glass panels ---------- */
.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--shadow);
}
.panel-pad { padding: clamp(18px, 3vw, 28px); }
.glow-top::before {
  content: ""; position: absolute; top: -1px; left: 14%; right: 14%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber-2), transparent);
  box-shadow: 0 0 12px rgba(255, 150, 40, 0.7);
}
.hairline { height: 1px; border: 0; background: linear-gradient(90deg, transparent, rgba(255, 150, 40, 0.65), transparent); margin: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 13, 16, 0.78);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(255, 122, 24, 0.55) 50%, transparent 95%);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; flex: none; }
.brand img { width: 34px; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-word {
  font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; letter-spacing: 0.16em;
  background: var(--grad-chrome); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.brand-sub { font-family: var(--font-display); font-weight: 600; font-size: 0.6rem; letter-spacing: 0.52em; color: var(--amber-2); margin-top: 4px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a.nav-link {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--soft); font-weight: 500; font-size: 0.95rem; text-decoration: none;
}
.site-nav a.nav-link:hover { color: var(--text); background: rgba(201, 209, 217, 0.06); }
.site-nav a.nav-link[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--amber); border-radius: 8px 8px 2px 2px; }
.nav-toggle {
  display: none; align-items: center; gap: 8px;
  background: transparent; color: var(--text); border: 1px solid var(--line-strong); border-radius: 9px;
  padding: 8px 12px; font: 600 0.9rem var(--font-display); letter-spacing: 0.06em; cursor: pointer;
}
.nav-toggle-bars { position: relative; width: 18px; height: 12px; }
.nav-toggle-bars span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.2s, opacity 0.2s, top 0.2s; }
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5px; }
.nav-toggle-bars span:nth-child(3) { top: 10px; }
.site-header.is-open .nav-toggle-bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.site-header.is-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle-bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 12px;
    padding: 14px var(--gutter) 20px;
    background: #0d1014;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a.nav-link { padding: 12px 10px; font-size: 1rem; }
  .site-nav a.nav-link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--amber); border-radius: 2px 8px 8px 2px; }
  .site-nav .btn { width: 100%; }
}

/* ---------- Sections ---------- */
main { display: block; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(36px, 5vw, 64px); }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--soft); max-width: 64ch; }
.section-head.center p { margin-inline: auto; }
.page-hero { padding-block: clamp(48px, 7vw, 88px) clamp(24px, 4vw, 40px); }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.divider-route {
  height: 2px; border: 0; margin: 0;
  background-image: radial-gradient(circle, rgba(63, 208, 255, 0.7) 1px, transparent 1.6px);
  background-size: 12px 2px; opacity: 0.6;
}

/* ---------- Grids ---------- */
.grid { display: grid; gap: clamp(14px, 2vw, 22px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(44px, 7vw, 96px) clamp(48px, 7vw, 90px); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero h1 { margin-bottom: 0.4em; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--muted); font-size: 0.92rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

/* route map card */
.route-card { overflow: hidden; padding: 0; }
.route-card svg { width: 100%; height: auto; }
.route-card .route-hud {
  position: relative; margin: 0 14px 14px;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 10px;
  background: rgba(11, 13, 16, 0.78); border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 0.86rem;
}
.route-hud .hud-step { font-family: var(--font-display); color: var(--amber-2); font-weight: 700; white-space: nowrap; }
.route-hud .hud-text { color: var(--soft); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.route-hud .hud-dist { margin-left: auto; color: var(--cyan); font-family: var(--font-mono); white-space: nowrap; }
.route-badge {
  position: absolute; top: 14px; left: 14px;
  font: 600 0.72rem var(--font-display); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cyan); padding: 6px 10px; border-radius: 999px;
  background: rgba(63, 208, 255, 0.08); border: 1px solid rgba(63, 208, 255, 0.3);
}
@media (max-width: 420px) { .route-hud .hud-dist { display: none; } }

.route-band { stroke-dasharray: 14 14; animation: route-march 1.2s linear infinite; }
.route-band.alt { stroke-dashoffset: 14; animation-name: route-march-alt; }
@keyframes route-march { to { stroke-dashoffset: -28; } }
@keyframes route-march-alt { from { stroke-dashoffset: 14; } to { stroke-dashoffset: -14; } }
.pulse-ring { transform-box: fill-box; transform-origin: center; animation: pulse 2.2s ease-out infinite; }
.pulse-ring.delay { animation-delay: 1.1s; }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.95; } 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .route-band, .pulse-ring { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Screenshot frames ---------- */
.shot { margin: 0; }
.shot-frame {
  position: relative; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, #161b22, #0e1116);
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, 0.4) inset;
}
.shot-frame.tall { aspect-ratio: 4 / 3; }
.shot-frame.square { aspect-ratio: 1 / 1; }
.shot-frame img { width: 100%; height: 100%; object-fit: cover; }
.shot-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.shot-frame.is-missing img { display: none; }
.shot-frame.is-missing::before {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 24px;
  font: 600 0.82rem/1.5 var(--font-display); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  background:
    repeating-linear-gradient(135deg, rgba(201, 209, 217, 0.035) 0 10px, transparent 10px 20px),
    radial-gradient(circle at 50% 50%, rgba(63, 208, 255, 0.08), transparent 60%);
  border: 1px dashed rgba(201, 209, 217, 0.18); border-radius: inherit;
}
.shot figcaption { margin-top: 10px; color: var(--muted); font-size: 0.9rem; }

/* ---------- Feature cards ---------- */
.card { padding: clamp(18px, 2.4vw, 24px); height: 100%; }
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--soft); margin: 0; font-size: 0.97rem; }
.card .icon {
  width: 42px; height: 42px; border-radius: 10px; margin-bottom: 14px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(255, 122, 24, 0.18), rgba(255, 181, 71, 0.06));
  border: 1px solid rgba(255, 181, 71, 0.35);
  color: var(--amber-2);
}
.card .icon.cyan { background: linear-gradient(160deg, rgba(63, 208, 255, 0.18), rgba(63, 208, 255, 0.04)); border-color: rgba(63, 208, 255, 0.4); color: var(--cyan); }
.card .icon svg { width: 22px; height: 22px; }
.card:hover { border-color: var(--line-strong); }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; color: var(--soft); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 8px;
  border-left: 2px solid var(--amber-2); border-bottom: 2px solid var(--amber-2); transform: rotate(-45deg);
}
.check-list li.off { color: var(--muted); }
.check-list li.off::before { border-color: var(--muted); width: 12px; height: 0; top: 0.8em; transform: none; border-left: 0; }

/* ---------- Steps (how it works) ---------- */
.steps { counter-reset: step; display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.step { padding: 24px; }
.step::after {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 16px; right: 20px;
  font: 700 2rem var(--font-display); color: rgba(201, 209, 217, 0.12);
}
.step h3 { padding-right: 52px; }
.step p { color: var(--soft); margin: 0; }

/* ---------- Bracket chips (home) ---------- */
.bracket-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 12px; }
.bracket-chip {
  display: block; padding: 16px 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--panel);
  color: var(--text); text-decoration: none !important;
  transition: border-color 0.2s, transform 0.15s;
}
.bracket-chip:hover { border-color: rgba(63, 208, 255, 0.5); transform: translateY(-2px); color: var(--text); }
.bracket-chip strong { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.bracket-chip span { color: var(--muted); font-size: 0.88rem; }

/* ---------- Catalog ---------- */
.catalog-controls { display: grid; gap: 16px; padding: 18px; margin-bottom: 28px; }
.control-row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.control-label { font: 600 0.75rem var(--font-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); min-width: 64px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button {
  font: 500 0.9rem var(--font-body); color: var(--soft);
  background: rgba(201, 209, 217, 0.04); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; min-height: 36px; cursor: pointer;
}
.seg button:hover { color: var(--text); border-color: var(--line-strong); }
.seg button[aria-pressed="true"] { color: #1b0e02; background: var(--grad-amber); border-color: transparent; font-weight: 600; }
.seg button[data-faction="Alliance"][aria-pressed="true"] { background: var(--alliance); color: #08142b; }
.seg button[data-faction="Horde"][aria-pressed="true"] { background: var(--horde); color: #2b0808; }
.search-field { position: relative; flex: 1 1 260px; min-width: 0; }
.search-field input {
  width: 100%; min-height: 44px; padding: 10px 14px 10px 40px;
  color: var(--text); background: rgba(11, 13, 16, 0.7);
  border: 1px solid var(--line-strong); border-radius: 10px; font: 400 1rem var(--font-body);
}
.search-field input::placeholder { color: var(--muted); }
.search-field input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(63, 208, 255, 0.18); }
.search-field svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); }
.toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; color: var(--soft); font-size: 0.95rem; }
.toggle input { width: 18px; height: 18px; accent-color: var(--amber); }
.catalog-summary { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.bracket-group { margin-bottom: 40px; }
.bracket-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.bracket-head h2 { font-size: 1.45rem; margin: 0; }
.bracket-head .range { font-family: var(--font-mono); color: var(--cyan); font-size: 0.92rem; }
.bracket-head .count { margin-left: auto; color: var(--muted); font-size: 0.88rem; }
.guide-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.guide-card { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; box-shadow: none; }
.guide-card.is-available { border-color: rgba(79, 214, 156, 0.45); box-shadow: 0 0 0 1px rgba(79, 214, 156, 0.12) inset, 0 10px 30px rgba(0, 0, 0, 0.3); }
.guide-card-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.guide-card h3 { font-size: 1.08rem; margin: 0; overflow-wrap: anywhere; }
.guide-levels { font-family: var(--font-mono); font-size: 0.86rem; color: var(--amber-2); white-space: nowrap; }
.guide-note { color: var(--muted); font-size: 0.88rem; margin: 0; }
.guide-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 0.72rem var(--font-display); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--soft);
}
.pill.alliance { color: #cfe0ff; border-color: rgba(116, 169, 255, 0.55); background: rgba(116, 169, 255, 0.1); }
.pill.horde { color: #ffd2d2; border-color: rgba(255, 107, 107, 0.55); background: rgba(255, 107, 107, 0.1); }
.pill.both { color: #e3e8ee; border-color: rgba(201, 209, 217, 0.4); background: rgba(201, 209, 217, 0.07); }
.pill.available { color: #c8f7e2; border-color: rgba(79, 214, 156, 0.6); background: rgba(79, 214, 156, 0.12); }
.pill.available::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); }
.pill.dev { color: var(--muted); border-style: dashed; }
.pill.free { color: #1b0e02; background: var(--grad-amber); border-color: transparent; }
.catalog-empty { padding: 36px; text-align: center; color: var(--soft); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); align-items: stretch; }
.price-card { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 3vw, 30px); }
.price-card.featured { border-color: rgba(255, 181, 71, 0.55); box-shadow: 0 0 0 1px rgba(255, 181, 71, 0.2) inset, 0 20px 60px rgba(255, 122, 24, 0.14); }
.price-card .tier { font: 600 0.8rem var(--font-display); letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber-2); }
.price-card h2 { font-size: 1.6rem; margin: 0; }
.price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; line-height: 1; }
.price small { font-size: 0.95rem; color: var(--muted); font-weight: 500; margin-left: 6px; }
.price-card .check-list { flex: 1; }
.ribbon {
  position: absolute; top: 16px; right: 16px;
  font: 700 0.68rem var(--font-display); letter-spacing: 0.16em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: var(--grad-amber); color: #1b0e02;
}
.placeholder-flag {
  display: inline-block; font: 600 0.7rem var(--font-mono); color: #ffd08a;
  border: 1px dashed rgba(255, 181, 71, 0.6); border-radius: 6px; padding: 1px 6px; vertical-align: middle;
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 600 0.78rem var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); background: rgba(201, 209, 217, 0.03); }
tr:last-child td { border-bottom: 0; }
td code { white-space: nowrap; }
td:first-child { width: 1%; white-space: nowrap; }
@media (max-width: 600px) {
  .cmd-table thead { display: none; }
  .cmd-table tr { display: block; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .cmd-table tr:last-child { border-bottom: 0; }
  .cmd-table td { display: block; padding: 0; border: 0; width: auto; white-space: normal; }
  .cmd-table td + td { margin-top: 6px; color: var(--soft); }
  .cmd-table td code { white-space: normal; }
}

/* ---------- Install steps ---------- */
.install-steps { counter-reset: inst; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.install-steps > li { position: relative; padding: 18px 20px 18px 66px; }
.install-steps > li::before {
  counter-increment: inst; content: counter(inst);
  position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  font: 700 0.95rem var(--font-display); color: var(--cyan);
  border: 1px solid rgba(63, 208, 255, 0.5); background: rgba(63, 208, 255, 0.08);
}
.install-steps h3 { font-size: 1.05rem; margin-bottom: 0.3em; }
.install-steps p { margin: 0; color: var(--soft); }
.path-block {
  display: block; margin-top: 10px; padding: 10px 14px; border-radius: 8px;
  font: 0.88rem/1.5 var(--font-mono); color: #bfeeff;
  background: rgba(11, 13, 16, 0.75); border: 1px solid rgba(63, 208, 255, 0.22);
  overflow-wrap: anywhere;
}
@media (max-width: 480px) { .install-steps > li { padding: 60px 16px 16px; } .install-steps > li::before { left: 16px; top: 16px; } }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; }
.faq-item { padding: 0; overflow: hidden; box-shadow: none; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; background: transparent; border: 0; color: var(--text); cursor: pointer; text-align: left;
  font: 600 1.04rem/1.4 var(--font-display); letter-spacing: 0.01em;
}
.faq-q:hover { color: #fff; }
.faq-q .chev { flex: none; width: 14px; height: 14px; border-right: 2px solid var(--amber-2); border-bottom: 2px solid var(--amber-2); transform: rotate(45deg) translateY(-3px); transition: transform 0.2s; }
.faq-q[aria-expanded="true"] .chev { transform: rotate(-135deg) translateY(-3px); }
.faq-a { padding: 0 20px 18px; color: var(--soft); }
.faq-a p:last-child { margin-bottom: 0; }
html.js .faq-a[hidden] { display: none; }
.faq-item.is-open { border-color: rgba(255, 181, 71, 0.35); }

/* ---------- Changelog ---------- */
.timeline { position: relative; display: grid; gap: 22px; padding-left: 28px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px;
  background-image: radial-gradient(circle, rgba(63, 208, 255, 0.75) 1px, transparent 1.6px);
  background-size: 2px 10px;
}
.release { position: relative; }
.release::before {
  content: ""; position: absolute; left: -27px; top: 26px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--amber-2); box-shadow: 0 0 10px rgba(255, 150, 40, 0.6);
}
.release-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; margin-bottom: 10px; }
.release-head h2 { font-size: 1.35rem; margin: 0; }
.release-head time { color: var(--muted); font-family: var(--font-mono); font-size: 0.88rem; }
.release h3 { font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); margin: 16px 0 6px; }
.release ul { margin: 0; color: var(--soft); }
.release li { margin-bottom: 4px; }

/* ---------- Notices ---------- */
.notice {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 18px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 181, 71, 0.4); background: rgba(255, 122, 24, 0.07); color: #ffe2b8;
  font-size: 0.95rem;
}
.notice.cyan { border-color: rgba(63, 208, 255, 0.4); background: rgba(63, 208, 255, 0.06); color: #d2f4ff; }
.notice strong { color: #fff; }
.notice p { margin: 0; }

/* ---------- Prose (legal) ---------- */
.prose { color: var(--soft); }
.prose h2 { font-size: 1.35rem; color: var(--text); margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: 6px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: clamp(32px, 5vw, 56px) clamp(18px, 4vw, 48px); overflow: hidden; }
.cta-band h2 { margin-bottom: 0.35em; }
.cta-band p { color: var(--soft); max-width: 56ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 22px; }

/* ---------- Gallery + lightbox ---------- */
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.gallery-item { all: unset; display: block; cursor: zoom-in; border-radius: var(--radius); }
.gallery-item:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.gallery-item .shot-frame { transition: transform 0.2s, border-color 0.2s; }
.gallery-item:hover .shot-frame { transform: translateY(-3px); border-color: rgba(63, 208, 255, 0.5); }
.gallery-item figcaption { color: var(--soft); }
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center; flex-direction: column; gap: 14px;
  padding: 56px 16px 24px;
  background: rgba(5, 6, 8, 0.9); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.lightbox.is-open { display: flex; }
.lightbox-stage { position: relative; max-width: min(1200px, 100%); max-height: calc(100vh - 150px); display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); border-radius: 10px; border: 1px solid var(--line-strong); }
.lightbox-missing { padding: 60px 30px; border: 1px dashed var(--line-strong); border-radius: 12px; color: var(--muted); font-family: var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; text-align: center; }
.lightbox-caption { color: var(--soft); text-align: center; max-width: 70ch; margin: 0; }
.lb-btn {
  position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(20, 24, 30, 0.85); color: var(--text); border: 1px solid var(--line-strong); cursor: pointer; font-size: 1.3rem; line-height: 1;
}
.lb-btn:hover { border-color: var(--amber-2); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); background: rgba(8, 10, 12, 0.7); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 28px; padding-block: 48px 28px; }
.footer-grid h4 { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--soft); }
.footer-grid a:hover { color: var(--text); }
.footer-blurb { color: var(--muted); font-size: 0.92rem; margin-top: 14px; max-width: 36ch; }
.footer-legal { border-top: 1px solid var(--line); padding-block: 20px 28px; color: var(--muted); font-size: 0.84rem; }
.footer-legal p { margin: 0 0 6px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 380px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font: 700 clamp(4rem, 14vw, 8rem)/1 var(--font-display); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 24px; }
.stack > * + * { margin-top: 14px; }

/* Donate QR code: white card so phone cameras get a clean quiet zone */
.qr-card { display: block; width: min(240px, 100%); margin: 0 auto; padding: 10px; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.qr-card img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.qr-card:hover { box-shadow: 0 0 0 2px rgba(255,181,71,.6), 0 10px 30px rgba(0,0,0,.35); }

/* ---- Guide catalog: clickable cards and the route details dialog ---- */
.guide-card.is-clickable { cursor: pointer; transition: transform .15s ease, border-color .15s ease; }
.guide-card.is-clickable:hover, .guide-card.is-clickable:focus-visible { transform: translateY(-2px); border-color: rgba(255,181,71,.7); outline: none; }
.guide-open { font-size: .82rem; color: var(--amber-2); margin-top: auto; }
body.no-scroll { overflow: hidden; }
.route-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-start; justify-content: center; padding: 40px 16px; background: rgba(4,6,9,.78); backdrop-filter: blur(3px); overflow-y: auto; }
.route-modal.is-open { display: flex; }
.route-box { position: relative; width: min(760px, 100%); padding: 26px 26px 22px; }
.route-close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--soft); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.route-close:hover, .route-close:focus-visible { background: rgba(255,255,255,.08); color: #fff; outline: none; }
.route-head h2 { margin: 0 0 8px; font-size: 1.6rem; padding-right: 40px; }
.route-desc { color: var(--soft); margin: 12px 0 4px; }
.route-switch { display: flex; gap: 8px; margin: 14px 0 4px; flex-wrap: wrap; }
.route-count { color: var(--muted); font-size: .88rem; margin: 12px 0 8px; }
.route-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 10px; }
.route-step { counter-increment: step; position: relative; padding: 10px 12px 10px 44px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.02); }
.route-step::before { content: counter(step); position: absolute; left: 10px; top: 10px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 600; color: #120c04; background: linear-gradient(180deg, var(--amber-2, #ffb547), #ff8a1f); }
.route-step-title { font-weight: 600; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
.route-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.route-item { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-size: .92rem; }
.route-item a { color: #ffd24a; text-decoration: none; }
.route-item a:hover { text-decoration: underline; }
.route-kind { min-width: 72px; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.route-item.k-accept .route-kind { color: #ffd24a; }
.route-item.k-complete .route-kind { color: #59d9ff; }
.route-item.k-turnin .route-kind { color: #5cf2a6; }
.route-note { color: var(--soft); font-style: italic; }
.route-side { font-size: .72rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0 6px; }
.route-next { margin: 14px 0 0; color: var(--amber-2); }
@media (max-width: 560px) { .route-box { padding: 20px 14px 16px; } .route-step { padding-left: 40px; } .route-kind { min-width: 0; } }

/* ---------- Addon family, accounts and comments ---------- */
@media (min-width: 1101px) and (max-width: 1240px) {
  .site-nav { gap: 12px; }
  .site-nav a.nav-link { padding: 8px 8px; font-size: 0.9rem; }
}
.site-nav a.nav-account { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.site-nav a.nav-account::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  border: 1.5px solid var(--muted);
}
.site-nav a.nav-account.is-signed-in::before { background: var(--green); border-color: var(--green); box-shadow: 0 0 8px rgba(79, 214, 156, 0.7); }

.chip {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--soft); font-size: 0.8rem; font-weight: 500;
  background: rgba(201, 209, 217, 0.05);
}
.addon-card { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: calc(var(--header-h) + 16px); }
.addon-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.addon-head > div:not(.addon-games) { flex: 1; min-width: 0; }
.addon-head h3 { margin: 0; }
.card .addon-icon, .addon-icon {
  display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; margin: 0;
  background: linear-gradient(160deg, rgba(255, 122, 24, 0.2), rgba(255, 122, 24, 0.04));
  border: 1px solid rgba(255, 122, 24, 0.45); color: var(--amber-2);
}
.addon-icon svg { width: 24px; height: 24px; }
.addon-tag { margin: 0 0 2px; font: 600 0.72rem var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.addon-status {
  margin-left: auto; padding: 3px 10px; border-radius: 999px; font: 600 0.75rem var(--font-display); letter-spacing: 0.08em;
  color: var(--green); border: 1px solid rgba(79, 214, 156, 0.45); background: rgba(79, 214, 156, 0.08);
}
.addon-status.is-new { color: var(--amber-2); border-color: rgba(255, 181, 71, 0.5); background: rgba(255, 181, 71, 0.08); }
.card p.addon-summary { flex: 1; }
.addon-games { display: flex; flex-wrap: wrap; gap: 6px; }
.addon-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.addon-count { margin-left: auto; color: var(--muted); font-size: 0.85rem; }
.addon-search { color: var(--muted); font-size: 0.88rem; }
.addon-search strong { color: var(--soft); font-weight: 600; }
.addon-detail .addon-head { margin-bottom: 16px; }
.page-hero .eyebrow a { color: inherit; text-decoration: none; }
.page-hero .eyebrow a:hover { color: var(--text); text-decoration: underline; }

.comments { scroll-margin-top: calc(var(--header-h) + 16px); }
.comments-head h2 { margin-bottom: 16px; }
.comments-total { color: var(--muted); font-weight: 500; }
.comment-signin .btn-row { margin-top: 12px; }
.comment-form textarea, .form input[type=text], .form input[type=email], .form input[type=password] {
  width: 100%; min-height: 44px; padding: 10px 12px; border-radius: var(--radius-sm);
  background: rgba(8, 10, 13, 0.7); color: var(--text); border: 1px solid var(--line-strong);
  font: inherit; font-size: 1rem;
}
.comment-form textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.comment-form textarea:focus, .form input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(63, 208, 255, 0.18); }
.form input[aria-invalid="true"] { border-color: var(--horde); }
.comment-form-foot { display: flex; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.comment-form-foot .btn { margin-left: auto; }
.field-label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--text); }
.field-hint { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 5px; }
.form-msg { min-height: 1.2em; margin: 0 0 10px; color: var(--green); font-size: 0.9rem; }
.form-msg:empty { margin: 0; }
.form-msg.is-error { color: #ff9a8f; }
.comment-form-foot .form-msg { margin: 0; }
.comment-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.comment { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); }
.comment-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 6px; font-size: 0.88rem; }
.comment-user { color: var(--text); }
.comment-time { color: var(--muted); }
.comment-badge {
  display: inline-block; padding: 1px 8px; border-radius: 999px; vertical-align: middle;
  font: 600 0.7rem var(--font-display); letter-spacing: 0.08em; text-transform: uppercase;
  color: #1b0e02; background: var(--grad-amber);
}
.comment-action {
  margin-left: auto; background: none; border: 0; padding: 4px 6px; cursor: pointer;
  color: var(--muted); font: inherit; font-size: 0.82rem; text-decoration: underline;
}
.comment-action + .comment-action { margin-left: 0; }
.comment-action:hover { color: var(--text); }
.comment-action.is-danger:hover { color: var(--horde); }
.comment-body { margin: 0; color: var(--soft); white-space: pre-wrap; overflow-wrap: anywhere; }
.comment-empty { color: var(--muted); padding: 18px 0; }
.comment-more { margin-top: 14px; }

.account-tabs { display: flex; gap: 6px; margin-bottom: -1px; }
.account-tabs button {
  flex: 1; min-height: 46px; cursor: pointer; font: 600 0.95rem var(--font-display); letter-spacing: 0.04em;
  color: var(--muted); background: rgba(14, 17, 21, 0.7); border: 1px solid var(--line); border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
}
.account-tabs button[aria-selected="true"] { color: var(--text); background: var(--panel-strong); box-shadow: inset 0 2px 0 var(--amber); }
.account-pane { border-top-left-radius: 0; border-top-right-radius: 0; }
.form { display: grid; gap: 16px; }
.field-pair { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.check-field { display: flex; gap: 10px; align-items: flex-start; color: var(--soft); font-size: 0.92rem; }
.check-field input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--amber); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.account-card h2 { margin: 4px 0 12px; }
.account-facts { display: grid; gap: 8px; margin: 0; }
.account-facts div { display: flex; gap: 12px; flex-wrap: wrap; }
.account-facts dt { color: var(--muted); min-width: 120px; }
.account-facts dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.btn-danger { background: rgba(255, 107, 107, 0.12); color: #ffd0d0; border-color: rgba(255, 107, 107, 0.5); }
.btn-danger:hover { color: #fff; background: rgba(255, 107, 107, 0.22); }
[hidden] { display: none !important; }

/* Quest details inside the route dialog */
.route-item { flex-wrap: wrap; }
.route-quest {
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: left;
  font: inherit; color: var(--amber-2); text-decoration: underline; text-decoration-color: rgba(255, 181, 71, 0.35); text-underline-offset: 3px;
}
.route-quest:hover, .route-quest[aria-expanded="true"] { color: #fff; text-decoration-color: currentColor; }
.route-quest::after { content: " \25BE"; font-size: 0.75em; color: var(--muted); }
.route-quest[aria-expanded="true"]::after { content: " \25B4"; }
.quest-panel {
  flex-basis: 100%; margin: 8px 0 6px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: rgba(8, 10, 13, 0.6); border: 1px solid var(--line); font-size: 0.9rem;
}
.quest-facts { display: grid; gap: 6px; margin: 0; }
.quest-facts div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
.quest-facts dt { color: var(--muted); }
.quest-facts dd { margin: 0; color: var(--text); }
.quest-sub { margin: 10px 0 4px; color: var(--muted); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.quest-objectives { margin: 0; padding-left: 18px; color: var(--soft); }
.quest-link { display: inline-block; margin-top: 10px; font-size: 0.85rem; }
@media (max-width: 480px) { .quest-facts div { grid-template-columns: 1fr; gap: 0; } }
.route-credit { margin: 14px 0 0; color: var(--muted); font-size: 0.8rem; }

/* ---------- Two-step sign-in and account recovery ---------- */
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--amber-2); text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: #fff; }
.h3 { font-size: 1.25rem; margin: 0 0 4px; }
.send-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.send-row .field-hint { margin: 0; flex-basis: 100%; }
.field-group { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px 16px; margin: 0; display: grid; gap: 16px; }
.field-group legend { padding: 0 6px; font-weight: 600; font-size: 0.92rem; }
.security-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.security-head h3 { margin: 0; }
.status-pill {
  padding: 3px 10px; border-radius: 999px; font: 600 0.75rem var(--font-display); letter-spacing: 0.06em;
  color: var(--muted); border: 1px solid var(--line-strong); white-space: nowrap;
}
.status-pill.is-on { color: var(--green); border-color: rgba(79, 214, 156, 0.5); background: rgba(79, 214, 156, 0.08); }
.status-pill.is-wait { color: var(--amber-2); border-color: rgba(255, 181, 71, 0.5); background: rgba(255, 181, 71, 0.08); }
.security-card .muted { margin-bottom: 14px; }
.setup-steps { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 18px; }
.setup-steps > li { color: var(--soft); }
.qr-wrap { width: 196px; max-width: 100%; margin: 12px 0 8px; padding: 0; border-radius: 10px; overflow: hidden; background: #fff; }
.qr-wrap svg { display: block; width: 100%; height: auto; }
.secret-key { font-family: var(--font-mono); font-size: 0.85rem; color: var(--text); overflow-wrap: anywhere; user-select: all; }
.inline-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
.inline-form input { flex: 0 1 160px; min-height: 40px; padding: 8px 12px; border-radius: var(--radius-sm);
  background: rgba(8, 10, 13, 0.7); color: var(--text); border: 1px solid var(--line-strong); font: inherit; letter-spacing: 0.12em; }
.inline-form input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(63, 208, 255, 0.18); }
.inline-form .form-msg { flex-basis: 100%; margin: 0; }
.recovery-codes { list-style: none; margin: 14px 0; padding: 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px;
  border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); font-family: var(--font-mono); font-size: 0.95rem; color: var(--text); }
.contact-value { margin: 0 0 6px; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.security-card h4 { margin: 0 0 4px; }
.form input[type=tel] { width: 100%; min-height: 44px; padding: 10px 12px; border-radius: var(--radius-sm);
  background: rgba(8, 10, 13, 0.7); color: var(--text); border: 1px solid var(--line-strong); font: inherit; font-size: 1rem; }

/* ---------- Bug reports and admin panel ---------- */
.form select, .form textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border-radius: var(--radius-sm);
  background: rgba(8, 10, 13, 0.7); color: var(--text); border: 1px solid var(--line-strong); font: inherit; font-size: 1rem;
}
.form textarea { resize: vertical; line-height: 1.5; }
.form select:focus, .form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(63, 208, 255, 0.18); }
.form select[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: var(--horde); }
.drop-zone {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 92px; padding: 16px;
  border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); color: var(--soft); cursor: pointer;
  background: rgba(8, 10, 13, 0.45);
}
.drop-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-zone strong { color: var(--amber-2); }
.drop-zone.is-over { border-color: var(--cyan); background: rgba(63, 208, 255, 0.06); }
.drop-zone.is-full { opacity: 0.5; pointer-events: none; }
.drop-zone:focus-within { border-color: var(--cyan); }
.shot-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.bug-shot { position: relative; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: rgba(8, 10, 13, 0.6); }
.bug-shot img { display: block; width: 100%; height: 96px; object-fit: cover; }
.shot-name { display: block; padding: 6px 8px 0; font-size: 0.75rem; color: var(--muted); overflow-wrap: anywhere; }
.shot-remove { background: none; border: 0; padding: 4px 8px 8px; color: var(--soft); font: inherit; font-size: 0.8rem; text-decoration: underline; cursor: pointer; }
.shot-remove:hover { color: var(--horde); }
.turnstile-box { min-height: 65px; }

.admin-stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.admin-stat { padding: 16px 18px; display: grid; gap: 2px; }
.admin-stat strong { font: 700 1.8rem var(--font-display); color: var(--text); }
.admin-stat span { color: var(--muted); font-size: 0.88rem; }
.weekly-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.weekly-box h3 { margin: 0 0 4px; }
.weekly-box p { margin: 0; }
.admin-tabs { display: flex; gap: 6px; margin-bottom: -1px; }
.admin-tabs button {
  min-height: 42px; padding: 0 18px; cursor: pointer; font: 600 0.92rem var(--font-display); color: var(--muted);
  background: rgba(14, 17, 21, 0.7); border: 1px solid var(--line); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0;
}
.admin-tabs button[aria-selected="true"] { color: var(--text); background: var(--panel-strong); box-shadow: inset 0 2px 0 var(--amber); }
.admin-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 14px; }
.admin-tools input[type=search] {
  flex: 1 1 260px; min-height: 42px; padding: 8px 12px; border-radius: var(--radius-sm);
  background: rgba(8, 10, 13, 0.7); color: var(--text); border: 1px solid var(--line-strong); font: inherit;
}
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 760px; }
.admin-table th { text-align: left; color: var(--muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
.admin-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table td strong { margin-right: 6px; }
.admin-table .cell-email { overflow-wrap: anywhere; }
.admin-table .cell-actions { white-space: nowrap; text-align: right; }
.admin-table .cell-actions .btn + .btn { margin-left: 6px; }
.admin-table tr.is-banned td { opacity: 0.65; }
.report { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 10px; background: rgba(8, 10, 13, 0.4); }
.report summary { cursor: pointer; }
.report-body { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--soft); margin: 6px 0 0; }

/* ---------- Absolute Gaming home, family icons ---------- */
.addon-img { display: block; flex: none; width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5)); }
.addon-img.is-large { width: 112px; height: 112px; }
.addon-card .addon-head { align-items: center; }
.product-badge { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 8px 18px 8px 8px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(14, 17, 21, 0.6); }
.product-badge img { width: 52px; height: 52px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5)); }
.product-badge strong { display: block; font-family: var(--font-display); letter-spacing: 0.04em; }
.product-badge span { display: block; color: var(--muted); font-size: 0.85rem; }

.icon-orbit { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin-inline: auto; }
.icon-orbit::before { content: ""; position: absolute; inset: 9%; border-radius: 50%;
  border: 1px dashed rgba(255, 181, 71, 0.28); box-shadow: 0 0 80px rgba(255, 122, 24, 0.12) inset; }
.icon-orbit a { position: absolute; display: block; border-radius: 50%; transition: transform 0.2s ease, filter 0.2s ease; }
.icon-orbit img { display: block; width: 100%; height: auto; filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.6)); }
.icon-orbit a:hover { transform: scale(1.06); filter: brightness(1.08); }
.orbit-main { width: 48%; left: 26%; top: 26%; z-index: 2; }
.orbit-main img { filter: drop-shadow(0 0 40px rgba(255, 140, 40, 0.35)) drop-shadow(0 16px 30px rgba(0, 0, 0, 0.6)); }
.orbit-item { width: 25%; }
.orbit-item.o1 { left: 2%; top: 4%; }
.orbit-item.o2 { right: 2%; top: 4%; }
.orbit-item.o3 { left: 2%; bottom: 4%; }
.orbit-item.o4 { right: 2%; bottom: 4%; }
@media (prefers-reduced-motion: no-preference) {
  .orbit-item { animation: orbitFloat 6s ease-in-out infinite; }
  .orbit-item.o2 { animation-delay: -1.5s; } .orbit-item.o3 { animation-delay: -3s; } .orbit-item.o4 { animation-delay: -4.5s; }
}
@keyframes orbitFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (max-width: 960px) { .icon-orbit { width: min(100%, 360px); } }

.home-featured { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(20px, 3vw, 40px); align-items: center; padding: clamp(20px, 3.4vw, 40px); }
.featured-title { display: flex; align-items: center; gap: 16px; margin: 4px 0 14px; }
.featured-title img { width: 96px; height: 96px; flex: none; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.55)); }
.featured-title h2 { margin: 0; }
.featured-title p { margin: 2px 0 0; }
.featured-copy > p { color: var(--soft); }
.featured-shot img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
@media (max-width: 900px) { .home-featured { grid-template-columns: 1fr; } }
.family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .family-grid { grid-template-columns: 1fr; } }
