:root {
  --bg: #07080c;
  --bg-elevated: #0b0d13;
  --panel: #10131b;
  --panel-2: #141823;
  --panel-3: #191e2a;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f6f2;
  --muted: #9aa3b2;
  --dim: #6d7686;
  --accent: #c8ff3d;
  --accent-soft: rgba(200, 255, 61, 0.12);
  --accent-2: #65f5d4;
  --pink: #ff4d9d;
  --orange: #ffb84d;
  --blue: #5aa9ff;
  --danger: #ff7070;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
  --container: 1180px;
  --header-h: 70px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(200, 255, 61, 0.09), transparent 62%),
    radial-gradient(760px 480px at 96% 6%, rgba(255, 77, 157, 0.06), transparent 60%),
    radial-gradient(900px 600px at 50% 110%, rgba(101, 245, 212, 0.04), transparent 65%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 10%, black, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 10%, black, transparent 78%);
}

::selection {
  color: #07080c;
  background: var(--accent);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  color: #07080c;
  background: var(--accent);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.container.narrow {
  width: min(840px, calc(100% - 48px));
}

.accent {
  color: var(--accent);
}

.muted {
  color: var(--muted);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 12, 0.76);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--container), calc(100% - 48px));
  height: var(--header-h);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(200, 255, 61, 0.45);
  border-radius: 9px;
  color: var(--accent);
  background: rgba(200, 255, 61, 0.06);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.08em;
  box-shadow: inset 0 0 18px rgba(200, 255, 61, 0.06);
}

.brand-mark span {
  color: var(--text);
}

.brand-text {
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.brand-text span {
  color: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.main-nav a {
  transition: color 0.18s ease;
}

.main-nav a:hover {
  color: var(--text);
}

.mobile-quick-nav {
  display: none;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(200, 255, 61, 0.4);
  border-radius: 999px;
  color: #07080c;
  background: var(--accent);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(200, 255, 61, 0.18);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 66px;
  border-bottom: 1px solid var(--line);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.55;
}

.hero-glow-a {
  top: -160px;
  left: 4%;
  width: 460px;
  height: 460px;
  background: rgba(200, 255, 61, 0.12);
}

.hero-glow-b {
  top: 20px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: rgba(255, 77, 157, 0.1);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(200, 255, 61, 0.45);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 255, 61, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(200, 255, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 255, 61, 0); }
}

.hero h1 {
  max-width: 980px;
  margin: 20px 0 22px;
  font-size: clamp(3.2rem, 8.6vw, 7.4rem);
  line-height: 0.94;
  letter-spacing: -0.025em;
  word-spacing: 0.04em;
  font-weight: 900;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
  text-shadow: 0 0 50px rgba(200, 255, 61, 0.12);
}

.hero-lede {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.65;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 720px;
  margin-top: 32px;
  padding: 7px 7px 7px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(16, 19, 27, 0.86);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.search-box:focus-within {
  border-color: rgba(200, 255, 61, 0.6);
  box-shadow: 0 0 0 4px rgba(200, 255, 61, 0.07), 0 18px 60px rgba(0, 0, 0, 0.3);
}

.search-icon {
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
}

.search-box input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 15px;
}

.search-box input::placeholder {
  color: var(--dim);
}

.search-box button {
  height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: #07080c;
  background: var(--accent);
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.18s ease;
}

.search-box button:hover {
  transform: translateY(-1px);
}

.quick-codes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.quick-code {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px 8px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  font-size: 12px;
  font-weight: 600;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.quick-code span {
  padding: 3px 8px;
  border-radius: 999px;
  color: #07080c;
  background: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.quick-code:hover {
  border-color: rgba(200, 255, 61, 0.45);
  color: var(--text);
  background: rgba(200, 255, 61, 0.05);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stats strong {
  color: var(--text);
  font-family: var(--mono);
  font-size: 21px;
  letter-spacing: -0.03em;
}

.hero-stats span {
  color: var(--dim);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Sections */
.section {
  padding: 82px 0;
}

.section-alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin-top: 8px;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.section-kicker {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-note {
  max-width: 390px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.compact-head {
  margin-bottom: 18px;
}

.compact-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

/* Filter + table */
.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) minmax(150px, 1fr) minmax(160px, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 19, 27, 0.72);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field span {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: rgba(7, 8, 12, 0.6);
  outline: 0;
  font-size: 13px;
  transition: border-color 0.18s ease;
}

.field input:focus,
.field select:focus {
  border-color: rgba(200, 255, 61, 0.5);
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%);
  background-position: calc(100% - 17px) 18px, calc(100% - 12px) 18px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 30px;
}

.results-count {
  padding: 0 4px 11px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
  white-space: nowrap;
}

.table-wrap {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 19, 27, 0.55);
  overflow: hidden;
}

.codes-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.codes-table th {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.codes-table td {
  padding: 18px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  color: var(--muted);
  font-size: 13px;
  vertical-align: middle;
}

.codes-table tbody tr {
  transition: background 0.18s ease;
}

.codes-table tbody tr:hover {
  background: rgba(200, 255, 61, 0.035);
}

.codes-table tbody tr:last-child td {
  border-bottom: 0;
}

.table-name {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.table-sub {
  display: block;
  margin-top: 3px;
  color: var(--dim);
  font-size: 11px;
}

.inline-code {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid rgba(200, 255, 61, 0.25);
  border-radius: 7px;
  color: var(--accent);
  background: rgba(200, 255, 61, 0.07);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.row-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.row-link span {
  color: var(--accent);
  transition: transform 0.18s ease;
}

.row-link:hover span {
  transform: translateX(3px);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(200, 255, 61, 0.35);
  border-radius: 999px;
  color: #07080c;
  background: var(--accent);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.copy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(200, 255, 61, 0.16);
}

.copy-btn:active {
  transform: translateY(0);
}

.copy-btn.small {
  min-height: 28px;
  margin-left: 8px;
  padding: 0 10px;
  border-color: var(--line-strong);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  font-size: 10px;
}

.copy-btn.small:hover {
  border-color: rgba(200, 255, 61, 0.4);
  color: var(--accent);
  background: rgba(200, 255, 61, 0.06);
  box-shadow: none;
}

.copy-btn.wide {
  width: 100%;
}

.copy-btn[data-copied="true"] {
  color: #07080c;
  background: var(--accent-2);
  border-color: var(--accent-2);
}

.empty-state {
  margin-top: 20px;
  padding: 28px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

/* Wall map feature */
.wallmap-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 260px at 10% 0%, rgba(200, 255, 61, 0.08), transparent 65%),
    linear-gradient(145deg, rgba(20, 24, 35, 0.9), rgba(10, 12, 18, 0.9));
  box-shadow: var(--shadow);
}

.wallmap-copy h2 {
  margin: 10px 0 16px;
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  line-height: 0.94;
  letter-spacing: -0.025em;
  word-spacing: 0.03em;
}

.wallmap-copy p:not(.section-kicker) {
  max-width: 480px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.wallmap-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.text-link span {
  transition: transform 0.18s ease;
}

.text-link:hover span {
  transform: translateX(3px);
}

.wallmap-visual .map-card {
  margin: 0;
}

/* Trust */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.trust-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(20, 24, 35, 0.75), rgba(12, 14, 20, 0.6));
}

.trust-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(200, 255, 61, 0.28);
  border-radius: 9px;
  color: var(--accent);
  background: rgba(200, 255, 61, 0.06);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
}

.trust-card h3 {
  margin: 22px 0 8px;
  font-size: 16px;
}

.trust-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

/* FAQ */
.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 2px;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 400;
  transition: transform 0.18s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 42px 20px 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

/* Detail page */
.detail-page {
  padding: 30px 0 90px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 0 26px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs span[aria-hidden="true"] {
  color: rgba(255, 255, 255, 0.2);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 52px;
  align-items: start;
}

.detail-hero {
  padding-bottom: 28px;
}

.detail-hero h1 {
  max-width: 900px;
  margin: 16px 0 18px;
  font-size: clamp(2.5rem, 5.2vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.025em;
  word-spacing: 0.03em;
}

.code-highlight {
  color: var(--accent);
  white-space: nowrap;
}

.detail-hero .lede {
  max-width: 760px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge.verified {
  border-color: rgba(200, 255, 61, 0.25);
  color: var(--accent);
  background: rgba(200, 255, 61, 0.05);
}

.badge.verified::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.answer-panel {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 22px;
  padding: 22px;
  border: 1px solid rgba(200, 255, 61, 0.22);
  border-radius: var(--radius);
  background:
    radial-gradient(420px 180px at 8% 0%, rgba(200, 255, 61, 0.12), transparent 70%),
    linear-gradient(145deg, rgba(22, 27, 38, 0.92), rgba(12, 14, 20, 0.9));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.answer-code {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
}

.answer-label,
.side-label {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.answer-code strong {
  color: var(--accent);
  font-family: var(--mono);
  font-size: clamp(3.4rem, 7vw, 5.2rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-shadow: 0 0 50px rgba(200, 255, 61, 0.15);
}

.answer-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  align-self: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--line);
}

.answer-facts div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-height: 70px;
  padding: 12px 14px;
  background: rgba(10, 12, 18, 0.86);
}

.answer-facts div:last-child {
  grid-column: 1 / -1;
}

.answer-facts span {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.answer-facts strong {
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 19, 27, 0.65);
}

.jump-nav a {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  transition: color 0.18s ease, background 0.18s ease;
}

.jump-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.content-section {
  margin-top: 54px;
  scroll-margin-top: 100px;
}

.content-section h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.prose {
  max-width: 72ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.prose strong {
  color: var(--text);
}

.callout {
  display: flex;
  gap: 13px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--muted);
  background: rgba(200, 255, 61, 0.035);
  font-size: 13px;
  line-height: 1.7;
}

.callout-mark {
  flex: 0 0 auto;
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 700;
}

.callout p {
  margin: 0;
}

.map-card {
  margin: 24px 0 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 19, 27, 0.58);
}

.map-card svg {
  width: 100%;
  height: auto;
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(14, 17, 24, 0.9), rgba(8, 10, 15, 0.95));
}

.map-card figcaption {
  padding: 10px 4px 2px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
}

.map-zone rect {
  fill: rgba(255, 255, 255, 0.035);
  stroke: rgba(255, 255, 255, 0.13);
  stroke-width: 1;
}

.map-zone.tone-primary rect {
  fill: rgba(200, 255, 61, 0.09);
  stroke: rgba(200, 255, 61, 0.5);
}

.map-zone.tone-clue rect {
  fill: rgba(101, 245, 212, 0.08);
  stroke: rgba(101, 245, 212, 0.42);
}

.map-zone.tone-loot rect {
  fill: rgba(255, 184, 77, 0.07);
  stroke: rgba(255, 184, 77, 0.4);
}

.map-zone.tone-vehicle rect {
  fill: rgba(255, 77, 157, 0.07);
  stroke: rgba(255, 77, 157, 0.38);
}

.map-zone.tone-gate rect {
  fill: rgba(255, 255, 255, 0.02);
  stroke: rgba(255, 255, 255, 0.28);
  stroke-dasharray: 4 4;
}

.map-zone.tone-water rect {
  fill: rgba(90, 169, 255, 0.1);
  stroke: rgba(90, 169, 255, 0.15);
}

.map-zone-label {
  fill: var(--text);
  font-family: var(--font);
  font-size: 9.5px;
  font-weight: 650;
}

.map-zone-sub {
  fill: var(--muted);
  font-family: var(--mono);
  font-size: 7.5px;
}

.map-route {
  fill: none;
  stroke: var(--accent-2);
  stroke-width: 2;
  stroke-dasharray: 5 6;
  opacity: 0.7;
}

.map-marker circle {
  fill: var(--accent);
  stroke: #07080c;
  stroke-width: 2;
}

.map-marker.tone-clue circle {
  fill: var(--accent-2);
}

.map-marker.tone-vehicle circle {
  fill: var(--pink);
}

.map-marker text {
  fill: #07080c;
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 800;
}

.step-list {
  border-top: 1px solid var(--line);
}

.step-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.step-num {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.step-list p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.valuable-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.valuable-card {
  display: flex;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(20, 24, 35, 0.8), rgba(12, 14, 20, 0.65));
}

.valuable-num {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(200, 255, 61, 0.3);
  border-radius: 7px;
  color: var(--accent);
  background: rgba(200, 255, 61, 0.05);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
}

.valuable-type {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.valuable-card h3 {
  margin: 4px 0 5px;
  font-size: 15px;
}

.valuable-where {
  color: var(--text) !important;
  font-size: 11px !important;
  font-weight: 600;
}

.valuable-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.loot-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.loot-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.loot-dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(200, 255, 61, 0.4);
}

.clue-card {
  padding: 28px;
  border: 1px solid rgba(101, 245, 212, 0.2);
  border-radius: var(--radius);
  background:
    radial-gradient(480px 200px at 100% 0%, rgba(101, 245, 212, 0.09), transparent 70%),
    linear-gradient(145deg, rgba(20, 24, 35, 0.8), rgba(10, 12, 18, 0.8));
}

.clue-card h2 {
  margin: 8px 0 12px;
}

.clue-card p:not(.section-kicker) {
  max-width: 72ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.clue-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.clue-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.clue-link span {
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 800;
}

.clue-link:hover {
  border-color: rgba(101, 245, 212, 0.4);
  color: var(--text);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.related-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 19, 27, 0.65);
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.related-card:hover {
  border-color: rgba(200, 255, 61, 0.35);
  background: rgba(200, 255, 61, 0.03);
  transform: translateY(-2px);
}

.related-area {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.related-card strong {
  font-size: 14px;
}

.related-code {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.related-link {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.related-link span {
  color: var(--accent);
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 210px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(260px 180px at 100% 0%, rgba(200, 255, 61, 0.08), transparent 70%),
    linear-gradient(155deg, rgba(20, 24, 35, 0.78), rgba(12, 14, 20, 0.62));
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.hub-card:hover {
  border-color: rgba(200, 255, 61, 0.35);
  background:
    radial-gradient(260px 180px at 100% 0%, rgba(200, 255, 61, 0.12), transparent 70%),
    linear-gradient(155deg, rgba(20, 24, 35, 0.9), rgba(12, 14, 20, 0.7));
  transform: translateY(-2px);
}

.hub-tag {
  color: var(--accent-2);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hub-card strong {
  max-width: 300px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.hub-card p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.hub-link {
  margin-top: auto;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
}

.cluster-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.cluster-links a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(16, 19, 27, 0.65);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.cluster-links a:hover {
  border-color: rgba(101, 245, 212, 0.35);
  background: rgba(101, 245, 212, 0.035);
}

.cluster-links strong {
  color: var(--text);
  font-size: 12px;
}

.cluster-links span {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.code-cluster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.code-cluster-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(200, 255, 61, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(20, 24, 35, 0.82), rgba(12, 14, 20, 0.62));
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.code-cluster-card:hover {
  border-color: rgba(200, 255, 61, 0.4);
  transform: translateY(-2px);
}

.code-cluster-card > span:first-child {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.code-cluster-card strong {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 38px;
  line-height: 1;
  letter-spacing: 0.05em;
}

.code-cluster-card p {
  color: var(--dim);
  font-size: 10px;
  line-height: 1.6;
}

.mini-code-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--line);
}

.mini-code-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 11px;
  background: rgba(10, 12, 18, 0.82);
  transition: background 0.18s ease;
}

.mini-code-list a:hover {
  background: rgba(200, 255, 61, 0.055);
}

.mini-code-list span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.mini-code-list strong {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 17px;
  letter-spacing: 0.05em;
}

.hub-table td strong {
  color: var(--text);
}

/* Ad placements */
.ad-slot {
  width: 100%;
  max-width: 760px;
  margin: 42px auto;
  padding: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(10, 12, 18, 0.56);
}

.ad-label {
  display: block;
  margin-bottom: 8px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.ad-body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 90px;
  overflow: hidden;
}

.ad-frame {
  flex: 0 0 auto;
  width: var(--ad-width);
  height: var(--ad-height);
  transform: scale(var(--ad-scale, 1));
  transform-origin: top center;
}

.ad-frame iframe {
  display: block;
  max-width: none;
  border: 0;
}

.ad-native .ad-body {
  min-height: 110px;
}

.ad-rectangle {
  max-width: 330px;
}

.ad-rectangle .ad-body {
  min-height: 250px;
}

.detail-side {
  position: relative;
}

.side-card {
  position: sticky;
  top: 94px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(200, 255, 61, 0.18);
  border-radius: var(--radius);
  background:
    radial-gradient(280px 160px at 50% 0%, rgba(200, 255, 61, 0.1), transparent 70%),
    linear-gradient(160deg, rgba(20, 24, 35, 0.9), rgba(10, 12, 18, 0.9));
  box-shadow: var(--shadow);
}

.side-code {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.06em;
}

.side-facts {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--line);
}

.side-facts div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  background: rgba(10, 12, 18, 0.82);
}

.side-facts dt {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.side-facts dd {
  color: var(--text);
  font-size: 10px;
  font-weight: 600;
  text-align: right;
}

.side-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 4px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.mobile-code-bar {
  display: none;
}

/* Key valuables page */
.key-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: end;
  padding: 8px 0 24px;
}

.key-hero-grid .page-hero {
  padding-bottom: 0;
}

.key-summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(200, 255, 61, 0.18);
  border-radius: var(--radius);
  background:
    radial-gradient(280px 160px at 50% 0%, rgba(200, 255, 61, 0.1), transparent 70%),
    linear-gradient(160deg, rgba(20, 24, 35, 0.9), rgba(10, 12, 18, 0.9));
  box-shadow: var(--shadow);
}

.page-hero {
  padding: 8px 0 24px;
}

.page-hero h1 {
  max-width: 980px;
  margin: 16px 0 18px;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.025em;
  word-spacing: 0.03em;
}

.page-hero .lede {
  max-width: 760px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.progress-card {
  margin: 10px 0 26px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 19, 27, 0.65);
}

.progress-head,
.progress-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.progress-head span {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.progress-head strong {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 13px;
}

.progress-track {
  height: 7px;
  margin: 12px 0 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.25s ease;
}

.progress-foot p {
  color: var(--dim);
  font-size: 10px;
}

.text-button {
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-button:hover {
  color: var(--accent);
}

.route-list {
  display: grid;
  gap: 12px;
}

.route-item {
  display: grid;
  grid-template-columns: 34px 34px 1fr;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(20, 24, 35, 0.78), rgba(12, 14, 20, 0.62));
  transition: border-color 0.18s ease, opacity 0.18s ease;
}

.route-item:has(.valuable-check:checked) {
  border-color: rgba(101, 245, 212, 0.28);
  opacity: 0.72;
}

.route-check {
  display: flex;
  align-items: flex-start;
  padding-top: 3px;
  cursor: pointer;
}

.valuable-check {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.check-box {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(7, 8, 12, 0.6);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.check-box::after {
  content: "";
  width: 8px;
  height: 4px;
  border-left: 2px solid #07080c;
  border-bottom: 2px solid #07080c;
  transform: rotate(-45deg) scale(0);
  transition: transform 0.18s ease;
}

.valuable-check:checked + .check-box {
  border-color: var(--accent);
  background: var(--accent);
}

.valuable-check:checked + .check-box::after {
  transform: rotate(-45deg) scale(1);
}

.valuable-check:focus-visible + .check-box {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.route-num {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  padding-top: 4px;
}

.route-copy h2 {
  margin: 4px 0 5px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.route-copy p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.button-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 18px;
  border-radius: 999px;
  color: #07080c;
  background: var(--accent);
  font-size: 12px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.button-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(200, 255, 61, 0.18);
}

/* Prose pages */
.prose-page {
  max-width: 820px;
  padding: 60px 0 100px;
}

.prose-page h1 {
  margin: 14px 0 20px;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.025em;
  word-spacing: 0.03em;
}

.prose-page h2 {
  margin: 38px 0 10px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.prose-page p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.prose-page .lede {
  max-width: 700px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
}

.prose-page a:not(.button-link) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.not-found {
  min-height: 60vh;
  padding: 90px 0;
}

.not-found h1 {
  margin: 14px 0 16px;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  word-spacing: 0.03em;
}

.not-found .lede {
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(7, 8, 12, 0.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: 46px 0 32px;
}

.footer-brand p {
  max-width: 340px;
  margin-top: 12px;
  color: var(--dim);
  font-size: 11px;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-label {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--muted);
  font-size: 11px;
  transition: color 0.18s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0 30px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 9px;
  line-height: 1.6;
}

.footer-bottom p {
  max-width: 660px;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 80;
  padding: 10px 16px;
  border: 1px solid rgba(200, 255, 61, 0.35);
  border-radius: 999px;
  color: #07080c;
  background: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Responsive */
@media (max-width: 1060px) {
  .detail-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 36px;
  }

  .wallmap-feature {
    gap: 28px;
    padding: 28px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .mobile-quick-nav {
    display: flex;
    gap: 7px;
    padding: 0 24px 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .ad-slot {
    margin: 32px auto;
  }

  .mobile-quick-nav::-webkit-scrollbar {
    display: none;
  }

  .mobile-quick-nav a {
    flex: 0 0 auto;
    padding: 6px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(16, 19, 27, 0.72);
    font-family: var(--mono);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-quick-nav a:hover {
    border-color: rgba(200, 255, 61, 0.35);
    color: var(--accent);
  }

  .content-section,
  .section {
    scroll-margin-top: 132px;
  }

  .header-inner {
    gap: 14px;
  }

  .hero {
    padding: 68px 0 50px;
  }

  .hero-stats {
    gap: 26px;
  }

  .filter-bar {
    grid-template-columns: 1fr 1fr;
  }

  .results-count {
    padding-bottom: 8px;
  }

  .wallmap-feature {
    grid-template-columns: 1fr;
  }

  .trust-grid,
  .valuable-grid,
  .hub-grid,
  .code-cluster,
  .cluster-links {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .key-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .detail-side {
    display: none;
  }

  .mobile-code-bar {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 12px 10px 16px;
    border: 1px solid rgba(200, 255, 61, 0.25);
    border-radius: 14px;
    background: rgba(12, 14, 20, 0.94);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .mobile-code-bar.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-code-bar div {
    display: flex;
    flex-direction: column;
    gap: 1px;
  }

  .mobile-code-bar span {
    color: var(--dim);
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .mobile-code-bar strong {
    color: var(--accent);
    font-family: var(--mono);
    font-size: 22px;
    line-height: 1;
    letter-spacing: 0.06em;
  }

  .detail-page {
    padding-bottom: 110px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 620px) {
  .container,
  .container.narrow,
  .header-inner,
  .footer-inner,
  .footer-bottom {
    width: min(var(--container), calc(100% - 32px));
  }

  .mobile-quick-nav {
    padding-inline: 16px;
  }

  .header-cta {
    padding: 9px 13px;
    font-size: 11px;
  }

  .brand-text {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.6rem);
  }

  .search-box {
    flex-wrap: wrap;
    padding: 9px;
    border-radius: 18px;
  }

  .search-box input {
    flex: 1 1 200px;
    padding: 0 8px;
  }

  .search-box button {
    width: 100%;
    border-radius: 12px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .hero-stats strong {
    font-size: 18px;
  }

  .hero-stats span {
    font-size: 8px;
  }

  .section {
    padding: 58px 0;
  }

  .section-head {
    display: block;
  }

  .section-note {
    margin-top: 12px;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .codes-table thead {
    display: none;
  }

  .codes-table,
  .codes-table tbody,
  .codes-table tr,
  .codes-table td {
    display: block;
    width: 100%;
  }

  .codes-table tr {
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }

  .codes-table tr:last-child {
    border-bottom: 0;
  }

  .codes-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 7px 0;
    border: 0;
    text-align: right;
  }

  .codes-table td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    color: var(--dim);
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .codes-table td[data-label="Safe"] {
    display: block;
    padding-bottom: 12px;
    text-align: left;
  }

  .codes-table td[data-label="Safe"]::before {
    display: none;
  }

  .codes-table td[data-label="Guide"] {
    justify-content: flex-end;
    padding-top: 12px;
  }

  .codes-table td[data-label="Guide"]::before {
    display: none;
  }

  .table-name {
    font-size: 18px;
  }

  .wallmap-feature,
  .clue-card {
    padding: 20px;
  }

  .wallmap-copy h2 {
    font-size: 2.4rem;
  }

  .answer-panel {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .answer-code {
    padding: 8px;
  }

  .answer-facts {
    grid-template-columns: 1fr 1fr;
  }

  .jump-nav {
    border-radius: 14px;
  }

  .loot-list,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .detail-hero h1 {
    font-size: clamp(2.3rem, 10.5vw, 3.6rem);
  }

  .content-section {
    margin-top: 42px;
  }

  .route-item {
    grid-template-columns: 30px 1fr;
  }

  .route-check {
    grid-column: 1;
  }

  .route-num {
    display: none;
  }

  .route-copy {
    grid-column: 2;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  body.detail .footer-bottom {
    padding-bottom: 100px;
  }

  .toast {
    bottom: 92px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 360px) {
  .header-inner {
    gap: 8px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }

  .brand-text {
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .header-cta {
    padding: 8px 10px;
    font-size: 10px;
  }

  .header-cta span {
    display: none;
  }
}
