/* ============ primitives ============ */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
}

.panel--tight { padding: var(--sp-3); }

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}

.panel-head h3 {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.panel-head .live-dot { color: var(--muted); }

.divider { height: 1px; background: var(--line); border: 0; margin: var(--sp-3) 0; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 24px;
  padding: 0 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-head);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.chip:hover { border-color: var(--acid); color: var(--acid); }

.chip--acid { color: var(--acid); border-color: rgba(184, 255, 0, 0.3); background: rgba(184, 255, 0, 0.1); }
.chip--coral { color: var(--coral); border-color: rgba(255, 51, 102, 0.3); background: rgba(255, 51, 102, 0.1); }
.chip--cyan { color: var(--cyan); border-color: rgba(0, 240, 255, 0.3); background: rgba(0, 240, 255, 0.1); }

.tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 0.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-head);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid currentColor;
}

.tag--global { color: var(--acid); }
.tag--culture { color: var(--coral); }
.tag--tech { color: var(--cyan); }

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 22px;
  padding: 0 0.55rem;
  border-radius: var(--radius-full);
  background: var(--coral);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: var(--glow-coral);
}

.live-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  height: 42px;
  padding: 0 var(--sp-5);
  border-radius: var(--radius-full);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--acid);
  color: var(--bg);
  border: 1px solid var(--acid);
}

.btn--primary:hover { background: var(--acid-dim); border-color: var(--acid-dim); }

.btn--ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
}

.btn--ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, 0.05); }

.btn--block { width: 100%; }

/* ============ streak / rails ============ */
.streak {
  background: linear-gradient(160deg, rgba(184, 255, 0, 0.14), rgba(184, 255, 0, 0.02) 55%, transparent);
  border: 1px solid rgba(184, 255, 0, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  box-shadow: var(--glow-acid);
}

.streak-top { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); }

.streak-days {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--acid);
}

.streak-xp { margin-top: var(--sp-3); display: flex; align-items: baseline; justify-content: space-between; }
.streak-xp strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--text); letter-spacing: -0.03em; }
.streak-xp span { font-size: 0.6875rem; color: var(--muted); }

.meter {
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: var(--sp-2);
}

.meter > i {
  display: block;
  height: 100%;
  width: 85%;
  background: linear-gradient(90deg, var(--acid), #e6ff7a);
  border-radius: inherit;
  box-shadow: var(--glow-acid);
}

.streak-note { font-size: 0.75rem; color: var(--muted); line-height: 1.4; margin-top: var(--sp-3); }

.hot-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.4rem 0;
  font-size: 0.8125rem;
  color: var(--text-2);
}

.hot-item .hash { color: var(--muted-2); font-family: var(--font-head); }
.hot-item:hover { color: var(--acid); }
.hot-rank {
  font-family: var(--font-head);
  font-size: 0.625rem;
  color: var(--muted-2);
  width: 18px;
}

.radar-item {
  display: flex;
  gap: var(--sp-2);
  align-items: start;
  padding: 0.45rem 0;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.35;
}

.radar-item img { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.radar-item b { color: var(--text-2); font-weight: 600; }

/* ============ lead card ============ */
.lead {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  display: block;
  isolation: isolate;
}

.lead-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

.lead-media { position: relative; aspect-ratio: 2 / 1; overflow: hidden; }

.lead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 600ms var(--ease);
}

.lead:hover .lead-media img { transform: scale(1.05); }

.lead-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 13, 18, 0) 20%, rgba(12, 13, 18, 0.55) 55%, #0c0d12 100%);
}

.lead-top {
  position: absolute;
  inset: var(--sp-4) var(--sp-4) auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  z-index: 3;
}

.lead-badges { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; }

.lead-save {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(12, 13, 18, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text);
  backdrop-filter: blur(6px);
}

.lead-save:hover { color: var(--acid); border-color: var(--acid); }
.lead-save.is-on { color: var(--acid); border-color: var(--acid); background: rgba(184, 255, 0, 0.12); }

.lead-body {
  position: relative;
  margin-top: -110px;
  z-index: 1;
  padding: 0 var(--sp-5) var(--sp-4);
  pointer-events: none;
}

.lead-title {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  max-width: 22ch;
}

.lead:hover .lead-title { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 6px; }

.lead-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-3);
  font-size: 0.75rem;
  color: var(--muted);
}

.lead-meta span { display: inline-flex; align-items: center; gap: 0.3rem; }

/* ============ TL;DR ============ */
.tldr {
  margin: var(--sp-4) 0 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--acid);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--sp-4);
}

.tldr-head {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}

.tldr-badge {
  background: rgba(184, 255, 0, 0.12);
  border: 1px solid rgba(184, 255, 0, 0.3);
  color: var(--acid);
  font-family: var(--font-head);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}

.tldr h3 { font-size: 0.9375rem; letter-spacing: -0.01em; }

.tldr ul { display: flex; flex-direction: column; gap: 0.55rem; }

.tldr li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 0.55rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

.tldr li::before {
  content: "\203A";
  color: var(--acid);
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.4;
}

.tldr li b { color: var(--text); font-weight: 600; }

/* ============ reactions ============ */
.reactions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) 0 0;
}

.react {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 30px;
  padding: 0 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-head);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--muted);
  transition: all var(--dur) var(--ease);
}

.react:hover { color: var(--text); border-color: var(--line-strong); }
.react.is-on { color: var(--acid); border-color: var(--acid); background: rgba(184, 255, 0, 0.14); box-shadow: var(--glow-acid); }

.reactions .spacer { flex: 1; }

.icon-mini {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
}

.icon-mini:hover { color: var(--acid); border-color: var(--acid); }

/* ============ story cards ============ */
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }

.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }

.card-media .tag { position: absolute; top: var(--sp-2); left: var(--sp-2); background: rgba(12, 13, 18, 0.75); }

.card-body { padding: var(--sp-3); display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; }

.card-kicker {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-head);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.card-kicker .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); }

.card-title {
  font-size: 1.0625rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.card:hover .card-title { color: var(--acid); }

.card-excerpt {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  padding-top: var(--sp-2);
}

.card-xp {
  font-family: var(--font-head);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--acid);
}

/* compact horizontal card (rails) */
.mini {
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--line);
}

.mini:last-child { border-bottom: 0; padding-bottom: 0; }

.mini-title { font-size: 0.875rem; line-height: 1.3; letter-spacing: -0.01em; }
.mini:hover .mini-title { color: var(--acid); }
.mini-meta { font-size: 0.6875rem; color: var(--muted-2); margin-top: 0.35rem; }
.mini img { width: 92px; height: 64px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }

/* list row (section + listing) */
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 148px;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.row:first-child { padding-top: 0; }
.row:hover .row-title { color: var(--acid); }

.row-title { font-size: 1.125rem; line-height: 1.28; letter-spacing: -0.015em; }
.row-excerpt {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  align-items: center;
  margin-top: var(--sp-2);
  font-family: var(--font-head);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.row img.thumb {
  width: 148px;
  height: 96px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* ============ article ============ */
.article-head { display: flex; flex-direction: column; gap: var(--sp-3); }

.article-kicker { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }

.article-title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  max-width: 20ch;
}

.article-standfirst {
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 60ch;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
}

.byline-person { display: flex; align-items: center; gap: var(--sp-2); color: var(--text-2); }
.byline-person img { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); }

.article-hero {
  margin: var(--sp-4) 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.article-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.article-hero figcaption {
  padding: var(--sp-2) var(--sp-3);
  font-size: 0.75rem;
  color: var(--muted-2);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) 0;
}

.share-row .label {
  font-family: var(--font-head);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-right: var(--sp-1);
}

.share-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all var(--dur) var(--ease);
}

.share-btn:hover { color: var(--acid); border-color: var(--acid); background: rgba(184, 255, 0, 0.08); }

.tts {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-3);
  margin: var(--sp-3) 0;
}

.tts-play {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--acid);
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-acid);
}

.tts-play:hover { background: var(--acid-dim); }
.tts-copy { font-size: 0.8125rem; }
.tts-copy b { color: var(--text); }
.tts-copy span { display: block; color: var(--muted-2); font-size: 0.6875rem; margin-top: 0.15rem; }

.article-body {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #d9dbe6;
}

.article-body > * + * { margin-top: var(--sp-4); }

.article-body h2 {
  font-size: 1.5rem;
  letter-spacing: -0.025em;
  margin-top: var(--sp-6);
}

.article-body a { color: var(--acid); text-decoration: underline; text-underline-offset: 3px; }

.article-body strong { color: var(--text); }

.article-body blockquote {
  margin: var(--sp-5) 0;
  padding: var(--sp-4) var(--sp-5);
  border-left: 3px solid var(--coral);
  background: var(--surface);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-family: var(--font-head);
  font-size: 1.25rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text);
}

.article-body blockquote cite {
  display: block;
  margin-top: var(--sp-2);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-style: normal;
  letter-spacing: 0;
  color: var(--muted-2);
}

.article-body ul { display: flex; flex-direction: column; gap: 0.5rem; padding-left: 0; }

.article-body ul li {
  position: relative;
  padding-left: 1.1rem;
  color: #d9dbe6;
}

.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--acid);
  border-radius: 2px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}

/* sticky article bar */
.stickybar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 98;
  height: 60px;
  background: rgba(12, 13, 18, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-110%);
  visibility: hidden;
  transition: transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
}

.stickybar.is-on { transform: translateY(0); visibility: visible; }

.stickybar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.stickybar .brand-word { font-size: 1.125rem; }

.stickybar-copy { min-width: 0; flex: 1; display: flex; align-items: center; gap: var(--sp-2); }

.stickybar-title {
  font-size: 0.8125rem;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stickybar .tag { flex: none; }

/* read next */
.readnext { display: flex; flex-direction: column; gap: var(--sp-4); }
.readnext-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: var(--sp-4);
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: var(--sp-4);
  align-items: center;
}

.readnext-card img { width: 150px; height: 100px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }

.caught-up {
  text-align: center;
  padding: var(--sp-5);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  color: var(--muted-2);
  font-family: var(--font-head);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============ search overlay ============ */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(6, 7, 10, 0.72);
  backdrop-filter: blur(6px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 10vh var(--gutter) var(--sp-6);
}

.overlay.is-open { display: flex; }

.searchpanel {
  width: min(720px, 100%);
  background: var(--surface-2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.searchpanel-top {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--line);
}

.searchpanel-top input {
  flex: 1;
  height: 40px;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 1rem;
}

.searchpanel-top input:focus { outline: none; }
.searchpanel-top input::placeholder { color: var(--muted-2); }

.searchpanel-body { padding: var(--sp-4); max-height: 56vh; overflow-y: auto; }

.search-label {
  font-family: var(--font-head);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: var(--sp-2);
}

.search-chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.search-chips .chip { height: 28px; }

.search-result {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.search-result img { width: 64px; height: 44px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.search-result h4 { font-size: 0.875rem; line-height: 1.3; }
.search-result:hover h4 { color: var(--acid); }
.search-result p { font-size: 0.6875rem; color: var(--muted-2); margin-top: 0.2rem; }

.search-empty { color: var(--muted); font-size: 0.875rem; padding: var(--sp-4) 0; }

/* ============ drawer + bottom nav ============ */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(6, 7, 10, 0.7);
  z-index: 140;
  display: none;
}

.scrim.is-open { display: block; }

.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(340px, 88vw);
  z-index: 145;
  background: var(--surface);
  border-right: 1px solid var(--line);
  transform: translateX(-102%);
  visibility: hidden;
  transition: transform 240ms var(--ease), visibility 240ms var(--ease);
  display: flex;
  flex-direction: column;
}

.drawer.is-open { transform: translateX(0); visibility: visible; }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4);
  border-bottom: 1px solid var(--line);
}

.drawer-body { padding: var(--sp-4); overflow-y: auto; }

.drawer-group + .drawer-group { margin-top: var(--sp-4); }
.drawer-group h4 {
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--acid);
  margin-bottom: var(--sp-2);
}
.drawer-group a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--text-2);
  border-bottom: 1px solid rgba(42, 46, 64, 0.6);
}
.drawer-group a:hover { color: var(--acid); }

.bottomnav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  height: 60px;
  display: none;
  background: rgba(12, 13, 18, 0.9);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
}

.bottomnav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-family: var(--font-head);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.bottomnav a.is-active,
.bottomnav a:hover { color: var(--acid); }

/* ============ share sheet ============ */
.sheet {
  position: fixed;
  left: 50%;
  bottom: var(--sp-5);
  transform: translate(-50%, 20px);
  width: min(520px, calc(100vw - 2rem));
  background: var(--surface-2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  z-index: 160;
  padding: var(--sp-4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
}

.sheet.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto; }

.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-3); }
.sheet-head h3 { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.sheet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-2); }
.sheet-grid a,
.sheet-grid button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: var(--sp-3) var(--sp-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.625rem;
  color: var(--muted);
  text-align: center;
}
.sheet-grid a:hover, .sheet-grid button:hover { color: var(--acid); border-color: var(--acid); background: rgba(184, 255, 0, 0.06); }

/* ============ toast ============ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  transform: translate(-50%, 16px);
  background: var(--acid);
  color: var(--bg);
  border-radius: var(--radius-full);
  padding: 0.6rem 1rem;
  font-family: var(--font-head);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 170;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  box-shadow: var(--glow-acid);
}

.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ============ responsive bits ============ */
@media (max-width: 900px) {
  .lead-body { margin-top: -80px; }
  .readnext-card { grid-template-columns: 1fr 110px; }
  .readnext-card img { width: 110px; height: 76px; }
}

@media (max-width: 720px) {
  .bottomnav { display: grid; }
  body { padding-bottom: 76px; }
  .row { grid-template-columns: minmax(0, 1fr) 96px; gap: var(--sp-3); }
  .row img.thumb { width: 96px; height: 72px; }
  .row-title { font-size: 1rem; }
  .lead-body { margin-top: -56px; padding: 0 var(--sp-4) var(--sp-4); }
  .lead-title { max-width: none; }
  .article-title { max-width: none; }
  .article-body { font-size: 1rem; }
  .sheet-grid { grid-template-columns: repeat(3, 1fr); }
  .stickybar-title { display: none; }
  .tts { padding: var(--sp-2); }
}
