:root {
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --bg-inset: #f1f5f9;
  --bg-hover: #f1f5f9;
  --border: #cbd5e1;
  --border-strong: #94a3b8;
  --text: #0f172a;
  --text-muted: #475569;
  --text-dim: #475569;
  --accent: #1d4ed8;
  --accent-hover: #1e40af;
  --accent-ink: #ffffff;
  --accent-soft: #dbeafe;
  --live: #be123c;
  --live-ink: #ffffff;
  --live-soft: #ffe4e6;
  --manga: #047857;
  --manga-soft: #d1fae5;
  --warn: #b45309;
  --warn-soft: #fef3c7;
  --radius: 10px;
  --radius-sm: 7px;
  --font-display: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

[data-theme="dark"] {
  --bg: #0e1117;
  --bg-card: #161b24;
  --bg-inset: #0b1018;
  --bg-hover: #1c2330;
  --border: #263041;
  --border-strong: #3a4861;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #94a3b8;
  --accent: #60a5fa;
  --accent-hover: #93c5fd;
  --accent-ink: #0b1018;
  --accent-soft: rgba(96, 165, 250, 0.14);
  --live: #fb7185;
  --live-ink: #0b1018;
  --live-soft: rgba(251, 113, 133, 0.15);
  --manga: #34d399;
  --manga-soft: rgba(52, 211, 153, 0.14);
  --warn: #fbbf24;
  --warn-soft: rgba(251, 191, 36, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; max-width: 100%; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.58;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  max-width: 100%;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
button, a, summary, select { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 62px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: block;
  flex-shrink: 0;
  object-fit: cover;
}
.brand .tld { color: var(--accent); }

.header-right { display: flex; align-items: center; gap: 8px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}
.nav-links a:hover { background: var(--bg-hover); color: var(--text); }
.nav-links a.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

.theme-btn {
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  background: var(--bg-inset);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}
.theme-btn:hover { border-color: var(--accent); }

.menu-toggle {
  display: none;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-inset);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.84rem;
}

main { flex: 1; padding: 28px 0 56px; }

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumbs a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Asymmetric Broadcast Hero */
.broadcast-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 26px;
  align-items: start;
  padding: 8px 0 26px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}
.broadcast-copy h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.1vw, 3.05rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.03em;
}
.broadcast-copy p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
}
.tz-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.tz-pill {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.tz-pill strong { color: var(--text); }
.tz-pill strong.accent { color: var(--accent); }

/* Search */
.search-bar-wrap { position: relative; max-width: 540px; }
.search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--text-muted);
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 11px 42px 11px 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: inherit;
  font-size: 0.94rem;
}
.search-input:focus { border-color: var(--accent); outline: none; }
.search-kbd {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--bg-inset);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* Hero Live Airing Board */
.air-board {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 16px;
}
.air-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.air-board-head .live-label { color: var(--live); }
.air-board-head .sync-label { color: var(--text-muted); }

.air-list { display: flex; flex-direction: column; gap: 9px; }
.air-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  background: var(--bg-inset);
  border: 1px solid var(--border);
  transition: border-color 0.14s ease;
}
.air-row:hover { border-color: var(--accent); }
.air-row-left { min-width: 0; }
.air-row-meta {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.air-row-title {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.25;
}
.air-row-sub { font-size: 0.78rem; color: var(--text-muted); }
.air-row-clock {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 9px;
  border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  white-space: nowrap;
}

/* Filters */
.filter-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0 20px;
}
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-pills { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.pill {
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}
.pill:hover { border-color: var(--accent); color: var(--text); }
.pill.active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.day-pill {
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
}
.filter-count { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); }

/* Empty State */
.empty-state {
  display: none;
  text-align: center;
  padding: 36px 20px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px dashed var(--border-strong);
  margin: 18px 0 28px;
}
.empty-state.visible { display: block; }
.empty-state h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 1.15rem; }
.empty-state p { margin: 0 0 14px; color: var(--text-muted); font-size: 0.92rem; }

/* Section Head */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 24px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.section-head h2 { margin: 0; font-family: var(--font-display); font-size: 1.28rem; font-weight: 700; letter-spacing: -0.02em; }
.section-sub { font-family: var(--font-mono); font-size: 0.73rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }

/* Countdown Cards Grid */
.release-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.release-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.14s ease;
}
.release-card:hover { border-color: var(--accent); }
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.type-badge {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--accent-soft);
  color: var(--accent);
}
.type-badge.manga, .type-badge.manhwa {
  background: var(--manga-soft);
  color: var(--manga);
}
.type-badge.break-badge {
  background: var(--warn-soft);
  color: var(--warn);
}
.watch-star {
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--bg-inset);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
}
.watch-star.saved {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.card-title-link {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}
.card-title-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.card-desc {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
  flex: 1;
}
.card-clock-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-inset);
  border: 1px solid var(--border);
}
.card-ep {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
}
.card-ep strong { color: var(--text); display: block; font-size: 0.88rem; }
.card-timer {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--accent);
  text-align: right;
}
.card-timer.soon { color: var(--live); }
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.card-cta {
  font-weight: 700;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Title Detail Page */
.page-head { margin-bottom: 20px; }
.page-head h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.page-head p { margin: 0; color: var(--text-muted); font-size: 0.98rem; max-width: 720px; }

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 324px;
  gap: 22px;
  align-items: start;
}
.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.panel + .panel { margin-top: 18px; }
.sidebar { display: flex; flex-direction: column; gap: 18px; }

/* Big Countdown Display */
.countdown-banner {
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 18px;
}
.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.status-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 5px;
  background: var(--accent);
  color: var(--accent-ink);
}
.status-tag.live { background: var(--live); color: var(--live-ink); }
.status-tag.warn { background: var(--warn-soft); color: var(--warn); border: 1px solid var(--warn); }
.local-date-readout {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
}

.digits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.digit-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  text-align: center;
}
.digit-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--text);
}
.digit-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 4px;
}
.sync-note {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Action Buttons & Progress Tracker */
.controls-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  transition: border-color 0.14s ease, background 0.14s ease;
}
.btn:hover { border-color: var(--accent); background: var(--bg-hover); }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
.btn-sm { padding: 6px 11px; font-size: 0.8rem; }

.progress-bar-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-inset);
  border: 1px solid var(--border);
  margin-bottom: 18px;
}
.progress-meta { font-size: 0.88rem; color: var(--text-muted); }
.progress-meta strong { font-family: var(--font-mono); color: var(--text); }

/* Official Legal Watch/Read Links */
.official-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.official-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-inset);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.9rem;
  transition: border-color 0.14s ease;
}
.official-link:hover { border-color: var(--accent); color: var(--accent); }
.official-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--manga);
}

/* Timezone Table */
.tz-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-top: 10px;
}
.tz-table th, .tz-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.tz-table th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--bg-inset);
}
.tz-table td.mono { font-family: var(--font-mono); font-weight: 700; }
.tz-table tr.local-row { background: var(--accent-soft); }

/* Weekly Timetable Page */
.day-block {
  margin-bottom: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.day-block-head {
  padding: 12px 16px;
  background: var(--bg-inset);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.day-block-list { display: flex; flex-direction: column; }
.day-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.day-item:last-child { border-bottom: none; }
.day-item:hover { background: var(--bg-hover); }

/* Ad Slots */
.ad-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 20px 0; overflow: hidden; max-width: 100%; }
.ad-label { font-family: var(--font-mono); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 6px; }
.ad-slot-728 { width: 728px; max-width: 100%; min-height: 90px; display: flex; align-items: center; justify-content: center; background: var(--bg-inset); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.ad-slot-300 { width: 100%; max-width: 300px; min-height: 250px; display: flex; align-items: center; justify-content: center; background: var(--bg-inset); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; margin: 0 auto; }
.ad-slot-native { width: 100%; max-width: 100%; min-height: 120px; background: var(--bg-inset); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; overflow: hidden; }
.ad-slot-native img, .ad-slot-native iframe { max-width: 100% !important; }
.ad-desktop-only { display: flex; }

/* Related & SEO */
.related-list { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px; }
.related-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-inset);
  border: 1px solid var(--border);
  font-size: 0.87rem;
  font-weight: 600;
}
.related-list a:hover { border-color: var(--accent); color: var(--accent); }

.seo-content h2 { font-family: var(--font-display); font-size: 1.26rem; margin: 18px 0 8px; }
.seo-content p, .seo-content li { color: var(--text-muted); font-size: 0.94rem; }
.seo-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 14px 0;
}
.fact-box {
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.fact-label { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; color: var(--text-muted); }
.fact-val { font-weight: 700; font-size: 0.9rem; margin-top: 2px; }

.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.faq-item {
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.faq-item summary { font-weight: 700; font-size: 0.93rem; }
.faq-item p { margin: 8px 0 0; font-size: 0.9rem; color: var(--text-muted); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  padding: 32px 0 24px;
  margin-top: auto;
}
.footer-grid-compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 26px;
  margin-bottom: 20px;
}
.footer-links-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 16px;
  align-content: start;
}
.footer-links-wrap a { font-size: 0.85rem; color: var(--text-muted); }
.footer-links-wrap a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

#ocToast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 9999;
}
#ocToast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.detail-layout > *, .sidebar, .panel { min-width: 0; max-width: 100%; }

@media (max-width: 960px) {
  .broadcast-hero { grid-template-columns: 1fr; gap: 18px; }
  .detail-layout { grid-template-columns: 1fr; gap: 18px; }
  .footer-grid-compact { grid-template-columns: 1fr; gap: 16px; }
  .menu-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .nav-links.open { display: flex; }
}

@media (max-width: 767px) {
  .container { padding: 0 14px; }
  main { padding: 18px 0 42px; }
  .ad-desktop-only { display: none; }
  .release-grid { grid-template-columns: 1fr; }
  .digits-grid { gap: 7px; }
  .digit-box { padding: 10px 6px; }
  .search-input { font-size: 16px; }
  .search-kbd { display: none; }
  .panel { padding: 16px 14px; }
  .footer-bottom { flex-direction: column; gap: 6px; font-size: 0.78rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
