/* ============================================================
   lurko.cam — dark data terminal design system
   Shared stylesheet for index.html + model.html mockups
   ============================================================ */

:root {
  --bg: #0d0f14;
  --surface: #12151c;
  --surface-2: #171b24;
  --surface-3: #1c212c;
  --border: #232a38;
  --border-soft: #1b2029;

  --text: #e9ebf2;
  --muted: #9aa3b8;
  --faint: #79839a;

  --accent: #f59e0b;
  --accent-bright: #fbbf24;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --accent-line: rgba(245, 158, 11, 0.38);

  --live: #e5484d;
  --live-dim: rgba(229, 72, 77, 0.14);
  --live-line: rgba(229, 72, 77, 0.45);
  --up: #3fb950;
  --down: #f47067;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius: 10px;
  --radius-sm: 6px;
  --wrap: 1220px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { color-scheme: dark; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; }
::selection { background: rgba(245, 158, 11, 0.28); color: #fff; }

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

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

.num, .mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- pulse (the only animation) ---------- */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.pulse-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
  flex: none;
}
.pulse-dot.red { background: var(--live); }
@media (prefers-reduced-motion: reduce) {
  .pulse-dot { animation: none; }
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 60px;
  padding-block: 10px;
  flex-wrap: wrap;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.wordmark .eye {
  position: relative;
  display: inline-block;
  width: 0.78em;
  height: 0.78em;
  margin-inline: 0.02em;
  border-radius: 50%;
  background: var(--text);
}
.wordmark .eye::after {
  content: "";
  position: absolute;
  inset: 17%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--bg) 0 26%, var(--accent) 30% 100%);
}
.wordmark .tld {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--faint);
  margin-left: 7px;
  align-self: flex-end;
  transform: translateY(-2px);
}

.main-nav { display: flex; gap: 4px; }
.main-nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a:hover { color: var(--text); background: var(--surface-2); }
.main-nav a.active { color: var(--accent); }

.search {
  position: relative;
  flex: 1 1 200px;
  max-width: 300px;
  margin-left: auto;
}
.search svg {
  position: absolute;
  left: 10px; top: 50%;
  transform: translateY(-50%);
  width: 15px; height: 15px;
  stroke: var(--faint);
  pointer-events: none;
}
.search input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 8px 12px 8px 32px;
  font-size: 13.5px;
}
.search input::placeholder { color: var(--faint); }
.search input:focus {
  outline: none;
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 7px 11px;
  white-space: nowrap;
}
.live-chip .pulse-dot { width: 6px; height: 6px; }

/* ============================================================
   Stats strip
   ============================================================ */
.stats-strip {
  border-bottom: 1px solid var(--border-soft);
  background: var(--surface);
}
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  padding-block: 9px;
  font-size: 12.5px;
  color: var(--muted);
}
.strip-inner b {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text);
  margin-right: 4px;
}
.strip-inner .end { color: var(--faint); }
.end { margin-left: auto; }

/* ============================================================
   Sections & headings
   ============================================================ */
.page { padding-block: 26px 48px; display: grid; gap: 30px; }

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.sec-head h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.sec-head .note { font-size: 12.5px; color: var(--faint); }
.sec-head .right { margin-left: auto; display: flex; align-items: center; gap: 14px; }

.hero-line {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 62ch;
}
.hero-line strong { color: var(--text); font-weight: 600; }

/* platform tabs — hinting at multi-site expansion */
.platform-tabs {
  display: inline-flex;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px;
  background: var(--surface);
}
.platform-tabs span, .platform-tabs a {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 3px 10px;
  border-radius: 4px;
  color: var(--faint);
}
.platform-tabs a:hover { color: var(--text); }
.platform-tabs span.on, .platform-tabs a.on {
  background: var(--surface-3);
  color: var(--text);
}
.platform-tabs span.soon { opacity: 0.45; cursor: default; }

/* ============================================================
   Cards & leaderboard boards
   ============================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.card-pad { padding: 18px 20px; }

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

.board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px 10px;
  border-bottom: 1px solid var(--border-soft);
}
.board-head h3 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.viewall {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.15s ease;
}
.viewall:hover { color: var(--accent); }

.board-list { padding: 6px 18px 12px; }
.board-list li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14px;
}
.board-list li:last-child { border-bottom: 0; }

.rank {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--faint);
  width: 20px; height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.rank.r1 { background: var(--accent); color: #1a1206; }
.rank.r2 { background: #3a4356; color: #d7dce8; }
.rank.r3 { background: #4a3a28; color: #e8c07a; }

.board-list .model,
.feed a,
.tbl-model {
  font-weight: 500;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.board-list .model:hover, .feed a:hover, .tbl-model:hover { color: var(--accent); }

.board-list .val {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.board-list .val .u { color: var(--faint); font-weight: 400; font-size: 11px; margin-left: 3px; }
.board-list .val.tk { color: var(--accent); }

/* ============================================================
   Tables
   ============================================================ */
.table-scroll { overflow-x: auto; }
.table-scroll::-webkit-scrollbar { height: 8px; }
.table-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  font-size: 14px;
}
.table th {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--faint);
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.table td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--border-soft);
  white-space: nowrap;
  vertical-align: middle;
}
.table tbody tr { transition: background 0.12s ease; }
.table tbody tr:hover { background: var(--surface-2); }
.table tbody tr:last-child td { border-bottom: 0; }
.table .r { text-align: right; }
.table td.num { font-size: 13.5px; font-weight: 500; }
.table .rank-cell { font-family: var(--font-mono); color: var(--faint); font-size: 12.5px; width: 34px; }
.table .dt { font-family: var(--font-mono); font-size: 12.5px; }

.delta { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; }
.delta.up { color: var(--up); }
.delta.down { color: var(--down); }
.delta .tri { font-size: 9px; margin-right: 2px; }

/* LIVE badge */
.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ff8f92;
  background: var(--live-dim);
  border: 1px solid var(--live-line);
  border-radius: 4px;
  padding: 2.5px 7px;
  text-transform: uppercase;
  vertical-align: middle;
}
.badge-live .pulse-dot { width: 5px; height: 5px; }
.badge-live.solid {
  background: var(--live);
  border-color: var(--live);
  color: #fff;
  font-size: 11px;
  padding: 4px 9px;
}
.badge-live.solid .pulse-dot { background: #fff; }

/* ============================================================
   Tips feed
   ============================================================ */
.feed { padding: 6px 0; }
.feed li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 13.5px;
}
.feed li:last-child { border-bottom: 0; }
.feed .who {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}
.feed .who svg { width: 13px; height: 13px; stroke: var(--faint); flex: none; }
.feed .amt { color: var(--accent); font-size: 13px; font-weight: 600; }
.feed .ago { color: var(--faint); font-size: 12px; font-family: var(--font-mono); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 14px;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding-block: 26px 34px;
  flex-wrap: wrap;
}
.footer-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}
.footer-mark .eye {
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--text);
  position: relative;
}
.footer-mark .eye::after {
  content: "";
  position: absolute; inset: 20%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--bg) 0 26%, var(--accent) 30% 100%);
}
.footer-legal {
  font-size: 12.5px;
  color: var(--faint);
  max-width: 46ch;
  margin-top: 8px;
}
.footer-nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 13px;
}
.footer-nav a { color: var(--muted); transition: color 0.15s ease; }
.footer-nav a:hover { color: var(--accent); }

/* ============================================================
   Model page
   ============================================================ */
.crumbs {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--faint);
  margin-bottom: 14px;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { margin-inline: 6px; }

.model-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  align-items: stretch;
}
.mh-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.mh-top .plat {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 8px;
}
.mh-name {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.mh-followers {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.mh-followers b {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}
.chip {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  white-space: nowrap;
}
.chip .c-ico { width: 12px; height: 12px; stroke: var(--faint); vertical-align: -1.5px; margin-right: 4px; }
.chips.tags .chip {
  color: var(--accent);
  background: var(--accent-dim);
  border-color: var(--accent-line);
}
a.chip { transition: border-color 0.15s ease, color 0.15s ease; }
a.chip:hover { border-color: var(--accent); }

.mh-cta { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #1a1206;
  font-weight: 700;
  font-size: 14.5px;
  border-radius: var(--radius-sm);
  padding: 11px 18px;
  transition: background 0.15s ease, transform 0.1s ease;
}
.btn-accent:hover { background: var(--accent-bright); }
.btn-accent:active { transform: translateY(1px); }
.btn-accent svg { width: 15px; height: 15px; stroke: #1a1206; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 500;
  font-size: 13.5px;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.btn-ghost:hover { color: var(--text); border-color: var(--accent-line); }
.btn-ghost svg { width: 14px; height: 14px; stroke: currentColor; }

.mh-thumb {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  align-self: start;
}
.mh-thumb img {
  display: block;
  width: 100%;
  height: auto;
}
.thumb-badge {
  position: absolute;
  left: 10px; bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(9, 10, 15, 0.82);
  border: 1px solid var(--live-line);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: #ffb3b5;
  padding: 5px 9px;
}
.thumb-tag {
  position: absolute;
  top: 10px; left: 10px;
}

/* ---------- stat cards ---------- */
.statcards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px 12px;
}
.stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 7px;
}
.stat-val {
  display: block;
  font-family: var(--font-mono);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.1;
}
.stat-val .u { font-size: 13px; color: var(--faint); font-weight: 500; margin-left: 3px; }
.stat-sub { display: block; margin-top: 5px; font-size: 11.5px; }
.stat-val.accent { color: var(--accent); }

/* ---------- chart ---------- */
.chart-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}
.chart-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-soft);
  flex-wrap: wrap;
}
.chart-head h2, .panel-head h2 {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
}
.chart-head .sub { font-family: var(--font-mono); font-size: 11.5px; color: var(--faint); }

.range-tabs {
  margin-left: auto;
  display: inline-flex;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px;
}
.range-tabs span, .range-tabs a {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 3px 11px;
  border-radius: 4px;
  color: var(--faint);
}
.range-tabs a:hover { color: var(--text); }
.range-tabs span.on, .range-tabs a.on { background: var(--surface-3); color: var(--accent); }

.chart-body { padding: 12px 14px 8px; }
.chart-body svg { width: 100%; height: auto; display: block; }
.chart-legend {
  display: flex;
  gap: 18px;
  padding: 4px 18px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
}
.chart-legend i {
  display: inline-block;
  width: 14px; height: 2px;
  vertical-align: middle;
  margin-right: 6px;
}
.chart-legend .l-acc i { background: var(--accent); }
.chart-legend .l-peak i { background: var(--text); height: 1px; }

/* ---------- live panel ---------- */
.live-panel { display: flex; flex-direction: column; }
.panel-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  gap: 12px;
}
.panel-head h2 { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel-note {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
  white-space: nowrap;
}
.session { padding: 6px 18px 14px; flex: 1; }
.session .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 13.5px;
}
.session .row:last-child { border-bottom: 0; }
.session dt { color: var(--muted); font-size: 12.5px; }
.session dd { font-family: var(--font-mono); font-weight: 600; font-size: 14px; }
.session dd.accent { color: var(--accent); }
.live-panel .btn-accent { margin: 0 18px 18px; justify-content: center; }

/* ---------- two column tables ---------- */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.two-col .table { min-width: 0; }
.two-col .table td, .two-col .table th { padding-inline: 16px; }
.now-row td { color: var(--faint); font-style: normal; }
.now-row .tbl-model { color: var(--faint); }

/* ---------- follower growth ---------- */
.growth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  padding: 18px 20px;
  align-items: center;
}
.growth h2 { font-family: var(--font-display); font-size: 15.5px; font-weight: 600; }
.growth .g-now {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.growth .spark { margin-top: 10px; }
.growth .spark svg { width: 100%; max-width: 300px; height: auto; display: block; }
.milestones { display: grid; gap: 0; border-left: 1px solid var(--border); padding-left: 20px; }
.milestones li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-soft);
  font-size: 13.5px;
}
.milestones li:last-child { border-bottom: 0; }
.milestones b { font-family: var(--font-mono); font-weight: 600; }
.milestones span { color: var(--faint); font-size: 12px; font-family: var(--font-mono); }
.milestones .next b { color: var(--accent); }

/* ---------- similar models ---------- */
.similar { padding-block: 4px; }
.similar .sec-head { margin-bottom: 0; }
.similar .chips { margin-top: 12px; }
.spark-cap { font-family: var(--font-mono); font-size: 10.5px; color: var(--faint); }
.similar .chip {
  font-size: 12.5px;
  padding: 6px 13px;
  color: var(--text);
}
.similar .chip .cnt { color: var(--faint); margin-left: 7px; font-size: 10.5px; }

/* utility text colors used inside table cells */
.t-faint { color: var(--faint); }
.t-accent { color: var(--accent); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .boards { grid-template-columns: 1fr; }
  .statcards { grid-template-columns: repeat(3, 1fr); }
  .chart-row, .two-col, .growth { grid-template-columns: 1fr; }
  .milestones { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-top: 10px; }
  .model-head { grid-template-columns: minmax(0, 1fr) 240px; }
}

/* Grid children default to min-width:auto — without this, min-width tables
   inflate the grid track and overflow the page on mobile instead of
   scrolling inside .table-scroll. */
.page > *, .two-col > *, .chart-row > *, .boards > *, .growth > *,
.model-head > *, .card { min-width: 0; }

@media (max-width: 860px) {
  /* Nav becomes a scrollable strip instead of vanishing. */
  .main-nav { order: 5; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .search { order: 4; flex-basis: 100%; max-width: none; }
  .header-inner { gap: 14px; }
  .model-head { grid-template-columns: 1fr; padding: 20px; gap: 22px; }
  .mh-thumb { min-height: 0; }
  .statcards { grid-template-columns: repeat(2, 1fr); }
  .strip-inner { gap: 6px 18px; font-size: 12px; }
  .page { padding-block: 20px 36px; gap: 24px; }
  .footer-nav { margin-left: 0; width: 100%; }
}

@media (max-width: 460px) {
  .statcards { grid-template-columns: 1fr 1fr; }
  .stat-val { font-size: 20px; }
  .mh-name { font-size: 32px; }
}

/* ── admin ─────────────────────────────────────────────────────────── */
.admin-form { display: flex; flex-direction: column; gap: 14px; }
.admin-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.admin-form input[type="text"],
.admin-form input[type="password"] {
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); padding: 9px 12px; font-size: 14px;
}
.admin-form input:focus { outline: none; border-color: var(--accent); }
.admin-form--row { flex-direction: row; align-items: center; flex-wrap: wrap; }
.admin-flash { padding: 10px 14px; border-radius: 8px; font-size: 13.5px; margin: 0 0 16px; }
.admin-flash.ok  { background: color-mix(in srgb, var(--up) 14%, transparent); color: var(--up); }
.admin-flash.err { background: color-mix(in srgb, var(--live) 14%, transparent); color: var(--live); }

/* ── age gate ──────────────────────────────────────────────────────────
   Full-page interstitial — deliberately NOT the sibling sites' centered
   card/modal pattern. Big numeral badge, single wide accent button,
   text-link exit. */
.lk-gate {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(1200px 700px at 50% -10%, var(--accent-dim), transparent 60%),
    var(--bg);
  padding: 24px;
  transition: opacity .22s ease;
}
.lk-gate[hidden] { display: none; }
.lk-gate--out { opacity: 0; }
body.lk-gated { overflow: hidden; }

.lk-gate-box {
  max-width: 480px; width: 100%;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.lk-gate-num {
  font-family: var(--font-mono);
  font-size: 64px; font-weight: 700; line-height: 1;
  color: var(--accent-bright);
  border: 2px solid var(--accent-line);
  border-radius: 18px;
  padding: 18px 26px;
  background: var(--accent-dim);
  margin-bottom: 22px;
}
.lk-gate-num span { color: var(--accent); }
.lk-gate-kicker {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 10px;
}
.lk-gate-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 4vw, 28px); font-weight: 600; line-height: 1.25;
  color: var(--text); margin-bottom: 14px;
}
.lk-gate-copy {
  font-size: 14px; line-height: 1.6; color: var(--muted);
  margin-bottom: 26px; max-width: 40ch;
}
.lk-gate-enter {
  width: 100%;
  font-family: var(--font-sans); font-size: 15.5px; font-weight: 600;
  color: #0b0d12;
  background: var(--accent);
  border: none; border-radius: var(--radius);
  padding: 15px 20px; cursor: pointer;
  transition: background .15s ease, transform .1s ease;
}
.lk-gate-enter:hover { background: var(--accent-bright); }
.lk-gate-enter:active { transform: scale(.985); }
.lk-gate-exit {
  margin-top: 16px;
  font-size: 13px; color: var(--faint);
  text-decoration: underline; text-underline-offset: 3px;
}
.lk-gate-exit:hover { color: var(--muted); }
.lk-gate-fine {
  margin-top: 30px;
  font-size: 11.5px; color: var(--faint); line-height: 1.5;
}
