@font-face {
  font-family: 'Golos Text';
  src: url('/fonts/golos-cyrillic.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  src: url('/fonts/golos-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Unbounded';
  src: url('/fonts/unbounded-cyrillic.woff2') format('woff2');
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  src: url('/fonts/unbounded-latin.woff2') format('woff2');
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/jetbrains-cyrillic.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/jetbrains-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f2f1ea;
  --paper-2: #eae9e1;
  --surface: #fbfaf5;
  --surface-2: #f7f6f0;
  --ink: #10120c;
  --ink-soft: #25281f;
  --muted: #65695e;
  --muted-2: #8a8d81;
  --line: rgba(16, 18, 12, 0.13);
  --line-strong: rgba(16, 18, 12, 0.24);
  --lime: #d4ff4f;
  --lime-deep: #bfeb36;
  --dark: #10120c;
  --dark-2: #181b13;
  --header-bg: rgba(242, 241, 234, 0.88);
  --glass: rgba(251, 250, 245, 0.8);
  --shadow-card: 0 22px 50px -34px rgba(16, 18, 12, 0.45);
  --shadow-float: 0 24px 60px -24px rgba(16, 18, 12, 0.34);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --font: 'Golos Text', 'Segoe UI', sans-serif;
  --display: 'Unbounded', 'Golos Text', sans-serif;
  --mono: 'JetBrains Mono', 'Consolas', monospace;
}

html[data-theme='dark'] {
  --paper: #0d0f0b;
  --paper-2: #141710;
  --surface: #151810;
  --surface-2: #191c14;
  --ink: #f1f0e7;
  --ink-soft: #dcdcd0;
  --muted: #a5a99b;
  --muted-2: #7f8477;
  --line: rgba(241, 240, 231, 0.14);
  --line-strong: rgba(241, 240, 231, 0.28);
  --lime: #d4ff4f;
  --lime-deep: #c2ef3a;
  --dark: #070905;
  --dark-2: #0e110a;
  --header-bg: rgba(13, 15, 11, 0.88);
  --glass: rgba(21, 24, 16, 0.82);
  --shadow-card: 0 22px 50px -30px rgba(0, 0, 0, 0.8);
  --shadow-float: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
}

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

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

html[data-theme='dark'] {
  color-scheme: dark;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

::selection {
  background: var(--lime);
  color: #10120c;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input {
  font: inherit;
  color: inherit;
}

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

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

html[data-theme='dark'] :focus-visible {
  outline-color: var(--lime);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
}

.wrap {
  width: min(1360px, calc(100% - 72px));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  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: 300;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--lime);
  color: #10120c;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

/* ---------- Top bar ---------- */

.topbar {
  position: relative;
  z-index: 60;
  background: #0b0d08;
  color: #f1f0e7;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 34px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.topbar-brand {
  color: var(--lime);
  font-weight: 500;
  letter-spacing: 0.15em;
}

.topbar-divider {
  width: 1px;
  height: 10px;
  background: rgba(241, 240, 231, 0.25);
}

.topbar-left time {
  color: #9fa397;
}

.topbar-center {
  color: #9fa397;
  font-size: 9px;
  letter-spacing: 0.13em;
  text-align: center;
}

.topbar-center span {
  color: #e9e8de;
}

.topbar-link {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #e9e8de;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.topbar-link:hover {
  color: var(--lime);
}

.online-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(212, 255, 79, 0.14);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 55;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 38px);
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  color: #10120c;
  flex: none;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-word {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1;
  white-space: nowrap;
}

.brand-note {
  margin-left: 2px;
  padding-left: 10px;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.25;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1px;
  min-width: 0;
}

.nav-link {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.nav-link:hover {
  color: var(--ink);
  background: var(--line);
}

.nav-link.is-active {
  background: var(--lime);
  color: #10120c;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex: none;
}

.search-trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 39px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.search-trigger:hover {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--surface);
}

.search-trigger .icon {
  width: 17px;
  height: 17px;
}

.search-trigger kbd {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
}

.icon-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.icon-button:hover {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.icon-button .icon {
  width: 19px;
  height: 19px;
}

.saved-count {
  position: absolute;
  top: 1px;
  right: -1px;
  display: grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--lime);
  color: #10120c;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  line-height: 1;
}

.theme-trigger .icon-sun {
  display: none;
}

html[data-theme='dark'] .theme-trigger .icon-sun {
  display: block;
}

html[data-theme='dark'] .theme-trigger .icon-moon {
  display: none;
}

html[data-theme='dark'] .brand-mark {
  color: #1b1f15;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.brand-footer .brand-mark {
  color: #1b1f15;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.menu-trigger {
  display: none;
}

/* ---------- Hero ---------- */

.hero-section {
  padding: 25px 0 0;
}

.section-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 23px;
}

.ribbon-left {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.section-index {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 19px;
  padding: 0 5px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1;
}

.live-dot {
  position: relative;
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--lime);
}

.live-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border: 1px solid var(--lime);
  border-radius: 50%;
  animation: live-pulse 2.2s ease-out infinite;
}

@keyframes live-pulse {
  0% { opacity: 0.8; transform: scale(0.6); }
  65%, 100% { opacity: 0; transform: scale(1.8); }
}

.ribbon-title {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.ribbon-line {
  width: clamp(30px, 6vw, 90px);
  height: 1px;
  background: var(--line-strong);
}

.ribbon-date {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ribbon-right {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.text-refresh {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.4s ease;
}

.text-refresh:hover {
  color: var(--ink);
  border-color: var(--line);
}

.text-refresh .icon {
  width: 14px;
  height: 14px;
}

.is-spinning .icon {
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(320px, 1fr);
  gap: clamp(30px, 3.4vw, 54px);
  align-items: stretch;
}

.lead-story {
  position: relative;
  min-width: 0;
}

.lead-link {
  display: block;
}

.lead-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--paper-2);
  isolation: isolate;
}

.media-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--paper-2);
  isolation: isolate;
}

.media-img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.3s ease;
}

.lead-story:hover .lead-media .media-img,
.side-story:hover .media-img,
.news-card:hover .media-img,
.search-result:hover .search-result-img .media-img,
.saved-item:hover .saved-thumb .media-img {
  transform: scale(1.035);
}

.image-failed .media-img {
  opacity: 0;
}

.art-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  overflow: hidden;
  background: var(--art, #c8c9be);
  color: #14160f;
}

.art-fallback::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 18, 12, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 18, 12, 0.09) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(135deg, #000, transparent 72%);
  mask-image: linear-gradient(135deg, #000, transparent 72%);
}

.art-label,
.art-source {
  position: relative;
  z-index: 2;
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.art-label {
  display: none;
}

.art-source {
  align-self: flex-end;
  opacity: 0.7;
}

.art-glyph {
  position: absolute;
  right: -0.06em;
  bottom: -0.14em;
  z-index: 0;
  color: rgba(16, 18, 12, 0.14);
  font-family: var(--display);
  font-size: clamp(100px, 15vw, 210px);
  font-weight: 700;
  letter-spacing: -0.09em;
  line-height: 0.8;
  white-space: nowrap;
}

.art-big {
  position: absolute;
  left: 20px;
  bottom: 43px;
  z-index: 1;
  max-width: calc(100% - 40px);
  overflow: hidden;
  color: rgba(16, 18, 12, 0.2);
  font-family: var(--display);
  font-size: clamp(38px, 6vw, 92px);
  font-weight: 650;
  letter-spacing: -0.07em;
  line-height: 0.88;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.card-media .art-big {
  bottom: 28px;
  left: 14px;
  max-width: calc(100% - 28px);
  font-size: clamp(30px, 3.4vw, 48px);
}

.side-story .art-big {
  bottom: 26px;
  left: 14px;
  max-width: calc(100% - 28px);
  font-size: clamp(30px, 3.8vw, 54px);
}

.search-result-img .art-big,
.saved-thumb .art-big {
  display: none;
}

.art-wave {
  position: absolute;
  right: 20px;
  bottom: 50%;
  left: 20px;
  z-index: 1;
  width: calc(100% - 40px);
  height: 34px;
  color: rgba(16, 18, 12, 0.3);
}

.lead-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 10, 6, 0.26), transparent 30%, transparent 68%, rgba(8, 10, 6, 0.38));
}

.lead-topline {
  display: flex;
  align-items: center;
  gap: 7px;
}

.cat-chip {
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0 9px;
  border-radius: 6px;
  background: var(--cat-bg, var(--lime));
  color: var(--cat-ink, #10120c);
  font-family: var(--font);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.format-chip {
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(10, 12, 8, 0.34);
  color: #f7f6ef;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.lead-bottomline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-bottomline .source-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}

.bookmark-button {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(12, 14, 9, 0.46);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.bookmark-button:hover {
  background: #fff;
  color: #10120c;
  transform: scale(1.04);
}

.bookmark-button .icon {
  width: 16px;
  height: 16px;
}

.bookmark-button.is-saved {
  background: var(--lime);
  border-color: var(--lime);
  color: #10120c;
}

.bookmark-button.is-saved .icon {
  fill: currentColor;
}

.lead-content {
  padding: 24px 2px 0;
}

.lead-meta,
.card-meta,
.side-meta,
.brief-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.07em;
  line-height: 1.3;
  text-transform: uppercase;
}

.meta-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font-weight: 500;
}

.source-dot {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--source, var(--muted));
}

.meta-divider {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--muted-2);
}

.lead-title {
  max-width: 96%;
  margin: 12px 0 15px;
  font-size: clamp(32px, 3.4vw, 49px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-wrap: balance;
}

.lead-link:hover .lead-title {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--lime-deep);
  text-underline-offset: 5px;
}

.lead-excerpt {
  max-width: 660px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.lead-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 19px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.lead-cta .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.lead-link:hover .lead-cta .icon {
  transform: translate(2px, -2px);
}

.hero-rail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.side-story {
  min-width: 0;
}

.side-story > a {
  display: block;
}

.side-story .media-frame {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
}

.side-story-content {
  padding-top: 13px;
}

.side-title {
  margin: 8px 0 8px;
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.side-story a:hover .side-title {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--lime-deep);
  text-underline-offset: 3px;
}

.side-excerpt {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.rail-briefs {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.brief {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  gap: 9px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease;
}

.brief-num {
  padding-top: 2px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
}

.brief-title {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.brief:hover .brief-title {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--lime-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

.brief-meta {
  margin-top: 5px;
  font-size: 8px;
}

.signal-card {
  position: relative;
  margin-top: auto;
  overflow: hidden;
  padding: 17px 18px 15px;
  border-radius: var(--radius-lg);
  background: var(--dark);
  color: #f2f1e8;
}

.signal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a9ad9f;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.signal-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lime);
}

.signal-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.signal-metric {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.signal-metric strong {
  color: var(--lime);
  font-family: var(--display);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.signal-metric span {
  color: #a9ad9f;
  font-size: 9.5px;
  line-height: 1.25;
}

.signal-wave {
  width: 100%;
  height: 25px;
  margin: 11px 0 9px;
  color: rgba(212, 255, 79, 0.82);
}

.signal-caption {
  color: #888d7f;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Skeleton ---------- */

.skeleton-block {
  pointer-events: none;
}

.sk {
  position: relative;
  overflow: hidden;
  border-radius: 7px;
  background: var(--paper-2);
}

.sk::after,
.chip-skeleton::after,
.topic-skeleton::after,
.source-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.52) 50%, transparent 80%);
  transform: translateX(-100%);
  animation: shimmer 1.8s infinite;
}

html[data-theme='dark'] .sk::after,
html[data-theme='dark'] .chip-skeleton::after,
html[data-theme='dark'] .topic-skeleton::after,
html[data-theme='dark'] .source-skeleton::after {
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.08) 50%, transparent 80%);
}

@keyframes shimmer {
  to { transform: translateX(100%); }
}

.sk-media {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  margin-bottom: 22px;
}

.sk-line {
  height: 11px;
  margin-bottom: 10px;
}

.sk-short { width: 25%; }
.sk-title { width: 90%; height: 21px; }
.sk-title-2 { width: 65%; height: 21px; }
.sk-body { width: 72%; }

.rail-skeleton {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sk-rail-media {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
}

.sk-rail-row {
  height: 64px;
  border-radius: 10px;
}

/* ---------- Ticker ---------- */

.ticker {
  margin-top: clamp(36px, 4.8vw, 62px);
  overflow: hidden;
  background: var(--dark);
  color: #f2f1e8;
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 53px;
}

.ticker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding-right: 20px;
  border-right: 1px solid rgba(242, 241, 232, 0.18);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  flex: none;
}

.ticker-window {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 62s linear infinite;
}

.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  to { transform: translateX(-50%); }
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 42px;
  padding-right: 42px;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #deded3;
  font-size: 12px;
  white-space: nowrap;
}

.ticker-item:hover {
  color: var(--lime);
}

.ticker-item-source {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ticker-placeholder {
  color: #9da193;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ticker-clock {
  flex: none;
  padding-left: 20px;
  border-left: 1px solid rgba(242, 241, 232, 0.18);
  color: #8e9385;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* ---------- Feed ---------- */

.feed-section {
  padding: clamp(50px, 6.5vw, 84px) 0 clamp(60px, 7vw, 98px);
}

.feed-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: clamp(36px, 4.5vw, 74px);
  align-items: start;
}

.feed-main {
  min-width: 0;
}

.feed-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 21px;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-eyebrow > span {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 18px;
  padding: 0 4px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-size: 8px;
  letter-spacing: 0.04em;
}

.section-eyebrow-light {
  color: #929789;
}

.section-eyebrow-light > span {
  border-color: rgba(255, 255, 255, 0.24);
}

.feed-title {
  margin-top: 9px;
  font-size: clamp(31px, 3.2vw, 43px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.feed-total {
  padding-bottom: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.filter-bar {
  position: sticky;
  top: 78px;
  z-index: 24;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 23px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.filter-chips {
  display: flex;
  flex: 1;
  gap: 5px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.filter-chips::-webkit-scrollbar {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 33px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.chip:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.chip.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.chip-count {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 400;
  letter-spacing: 0;
}

.chip.is-active .chip-count {
  color: rgba(255, 255, 255, 0.56);
}

html[data-theme='dark'] .chip.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #10120c;
}

html[data-theme='dark'] .chip.is-active .chip-count {
  color: rgba(16, 18, 12, 0.55);
}

.feed-refresh {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
  height: 33px;
  padding: 0 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.feed-refresh:hover {
  color: var(--ink);
}

.feed-refresh .icon {
  width: 13px;
  height: 13px;
}

.chip-skeleton {
  position: relative;
  display: block;
  width: 74px;
  height: 33px;
  flex: none;
  overflow: hidden;
  border-radius: 999px;
  background: var(--paper-2);
}

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

.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.news-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
}

.news-card.card-enter {
  animation: card-in 0.42s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-2);
}

.card-media .cat-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  height: 23px;
  font-size: 8.5px;
}

.card-media .bookmark-button {
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 17px 16px;
}

.card-title {
  margin: 8px 0 7px;
  font-size: clamp(17px, 1.45vw, 20px);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.24;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.card-link:hover .card-title {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--lime-deep);
  text-underline-offset: 3px;
}

.card-excerpt {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.48;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.type-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.type-label::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--source, var(--muted-2));
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.66;
  transition: opacity 0.2s ease, gap 0.2s ease;
}

.read-more .icon {
  width: 11px;
  height: 11px;
}

.news-card:hover .read-more {
  gap: 7px;
  opacity: 1;
}

.card-skeleton {
  padding: 0 0 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.card-skeleton .sk-line {
  margin-left: 17px;
  margin-right: 17px;
}

.sk-card-media {
  height: 190px;
  border-radius: 0;
  margin-bottom: 18px;
}

.feed-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  margin-top: 33px;
}

.load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 190px;
  height: 45px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.load-more:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.load-more:disabled {
  opacity: 0.55;
  cursor: wait;
}

.load-more .icon {
  width: 15px;
  height: 15px;
}

.feed-end {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Sidebar ---------- */

.sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.pulse-panel {
  position: relative;
  overflow: hidden;
  padding: 22px 21px 17px;
  border-radius: var(--radius-xl);
  background: var(--dark);
  color: #f1f0e7;
}

.pulse-panel::before {
  content: '';
  position: absolute;
  top: -90px;
  right: -70px;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(212, 255, 79, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(212, 255, 79, 0.035), 0 0 0 70px rgba(212, 255, 79, 0.02);
  pointer-events: none;
}

.pulse-head,
.side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pulse-head h2,
.side-head h2 {
  color: #f1f0e7;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.pulse-live {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.pulse-number {
  margin: 15px 0 1px;
  color: var(--lime);
  font-family: var(--display);
  font-size: 54px;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
}

.pulse-caption {
  max-width: 250px;
  color: #979c8e;
  font-size: 10.5px;
  line-height: 1.4;
}

.pulse-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 17px 0 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(241, 240, 231, 0.14);
}

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

.pulse-stats strong {
  color: #f1f0e7;
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
}

.pulse-stats span {
  color: #828779;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pulse-refresh {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  height: 35px;
  border-radius: 8px;
  background: var(--lime);
  color: #10120c;
  font-size: 10.5px;
  font-weight: 650;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.pulse-refresh:hover {
  background: #e2ff7c;
  transform: translateY(-1px);
}

.pulse-refresh .icon {
  width: 13px;
  height: 13px;
}

.pulse-refresh:disabled {
  opacity: 0.65;
  cursor: wait;
}

.pulse-foot {
  margin-top: 13px;
}

.pulse-wave {
  width: 100%;
  height: 21px;
  margin-bottom: 5px;
  color: rgba(212, 255, 79, 0.5);
}

.pulse-foot span {
  color: #74796b;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.side-panel {
  padding: 18px 19px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.side-head h2 {
  color: var(--ink);
  font-size: 9px;
}

.side-head > span {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.topics-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 17px;
}

.topic-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  align-items: center;
}

.topic-name {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-size: 11.5px;
  font-weight: 500;
}

.topic-name::before {
  content: '';
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 2px;
  background: var(--cat);
}

.topic-count {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.topic-track {
  grid-column: 1 / -1;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.topic-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--cat);
  transition: width 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.topic-skeleton {
  position: relative;
  height: 28px;
  overflow: hidden;
  border-radius: 5px;
  background: var(--paper-2);
}

.sources-list {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

.source-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  transition: opacity 0.2s ease;
}

.source-row:last-child {
  border-bottom: 0;
}

.source-row:hover {
  opacity: 0.72;
}

.source-monogram {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: none;
  border-radius: 7px;
  background: var(--source);
  color: #fff;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.source-info {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.source-name {
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
}

.source-state {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.state-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #64b77a;
}

.state-stale .state-dot {
  background: #e0b24e;
}

.state-error .state-dot {
  background: #e46755;
}

.source-count {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
}

.source-skeleton {
  position: relative;
  display: block;
  height: 40px;
  margin: 4px 0;
  overflow: hidden;
  border-radius: 7px;
  background: var(--paper-2);
}

.sources-note {
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 9.5px;
  line-height: 1.4;
}

.manifesto {
  position: relative;
  overflow: hidden;
  padding: 19px 20px 18px;
  border-radius: var(--radius-lg);
  background: var(--lime);
  color: #10120c;
}

.manifesto-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.manifesto-head .live-dot {
  background: #10120c;
}

.manifesto-head .live-dot::after {
  border-color: #10120c;
}

.manifesto p {
  position: relative;
  z-index: 2;
  margin: 11px 0 14px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: -0.01em;
}

.manifesto a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(16, 18, 12, 0.4);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.manifesto a .icon {
  width: 11px;
  height: 11px;
}

.manifesto-mark {
  position: absolute;
  right: -8px;
  bottom: -52px;
  color: rgba(16, 18, 12, 0.08);
  font-family: var(--display);
  font-size: 170px;
  font-weight: 700;
  line-height: 1;
}

/* ---------- Closing band ---------- */

.closing-band {
  background: var(--dark);
  color: #f1f0e7;
}

.closing-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: end;
  padding: clamp(55px, 7vw, 90px) 0;
}

.closing-copy h2 {
  margin-top: 19px;
  font-size: clamp(34px, 4.4vw, 61px);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1.03;
  text-wrap: balance;
}

.closing-side p {
  color: #9da193;
  font-size: 13.5px;
  line-height: 1.58;
}

.closing-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 228px;
  height: 46px;
  margin-top: 24px;
  padding: 0 16px 0 18px;
  border-radius: 999px;
  background: var(--lime);
  color: #10120c;
  font-size: 11.5px;
  font-weight: 650;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.closing-button:hover {
  background: #e3ff82;
  transform: translateY(-2px);
}

.closing-button .icon {
  width: 16px;
  height: 16px;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: 52px;
  background: #090b06;
  color: #deded3;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.8fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: 48px;
}

.brand-footer {
  color: #f1f0e7;
}

.brand-footer .brand-mark {
  width: 32px;
  height: 32px;
}

.brand-footer .brand-word {
  color: #f1f0e7;
  font-size: 18px;
}

.footer-brand-block p {
  margin: 18px 0 20px;
  color: #8f9486;
  font-size: 12px;
  line-height: 1.55;
}

.footer-live {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #9ca092;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}

.footer-col h3 {
  margin-bottom: 8px;
  color: #73786a;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col button,
.footer-col a {
  color: #c1c3b8;
  font-size: 11.5px;
  line-height: 1.4;
  text-align: left;
  transition: color 0.2s ease;
}

.footer-col button:hover,
.footer-col a:hover {
  color: var(--lime);
}

.footer-about p {
  margin: 0 0 8px;
  color: #8f9486;
  font-size: 11.5px;
  line-height: 1.55;
}

.footer-refresh {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  color: var(--lime) !important;
  font-family: var(--mono);
  font-size: 8px !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-refresh .icon {
  width: 11px;
  height: 11px;
}

.footer-loading {
  color: #73786a;
  font-size: 11px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 19px 0 21px;
  border-top: 1px solid rgba(241, 240, 231, 0.12);
  color: #6f7466;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-bottom a {
  margin-left: auto;
  color: #b6b9ad;
}

.footer-bottom a:last-child {
  margin-left: 0;
}

.footer-bottom a:hover {
  color: var(--lime);
}

.footer-wordmark {
  margin-top: 4px;
  margin-bottom: -2.3vw;
  overflow: hidden;
  color: rgba(241, 240, 231, 0.045);
  font-family: var(--display);
  font-size: 19.5vw;
  font-weight: 700;
  letter-spacing: -0.09em;
  line-height: 0.8;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* ---------- Floating controls ---------- */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-float);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--lime);
  color: #10120c;
}

.back-to-top .icon {
  width: 18px;
  height: 18px;
  transform: rotate(-90deg);
}

.new-items {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 46;
  transform: translateX(-50%);
  animation: float-in 0.35s ease both;
}

.new-items button {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 43px;
  padding: 0 16px;
  border: 1px solid rgba(16, 18, 12, 0.15);
  border-radius: 999px;
  background: var(--lime);
  color: #10120c;
  font-size: 11.5px;
  font-weight: 650;
  box-shadow: 0 16px 38px -12px rgba(16, 18, 12, 0.45);
}

.new-items button:hover {
  background: #e3ff82;
}

.new-items .icon {
  width: 14px;
  height: 14px;
}

.new-items-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10120c;
}

@keyframes float-in {
  from { opacity: 0; transform: translate(-50%, 14px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

body.new-items-visible .back-to-top {
  bottom: 80px;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid rgba(241, 240, 231, 0.12);
  border-radius: 999px;
  background: #10120c;
  color: #f1f0e7;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-float);
  transform: translateX(-50%);
  animation: toast-in 0.25s ease both;
}

.toast .icon {
  width: 14px;
  height: 14px;
  color: var(--lime);
}

@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* ---------- Dialogs ---------- */

dialog.modal {
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}

dialog.modal::backdrop {
  background: rgba(7, 9, 4, 0.58);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

dialog.modal[open] {
  animation: modal-in 0.24s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.modal-close:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
  color: var(--ink);
}

.modal-close .icon {
  width: 17px;
  height: 17px;
}

.modal-eyebrow {
  margin-bottom: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.search-dialog {
  width: min(860px, calc(100vw - 32px));
  margin: auto;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.55);
}

dialog.search-dialog,
dialog.saved-dialog,
dialog.menu-dialog {
  background: var(--surface);
}

.search-shell {
  overflow: hidden;
  border-radius: inherit;
}

.search-top {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.search-icon {
  width: 21px;
  height: 21px;
  color: var(--muted);
}

#searchInput {
  flex: 1;
  min-width: 0;
  padding: 4px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

#searchInput::placeholder {
  color: var(--muted-2);
}

#searchInput::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.search-body {
  max-height: min(62vh, 580px);
  overflow-y: auto;
  padding: 20px;
  overscroll-behavior: contain;
}

.search-idle {
  padding: 6px 2px 10px;
}

.search-hint-label {
  margin-bottom: 15px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.search-suggestions button {
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 500;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.search-suggestions button:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
}

.search-shortcut-note {
  margin-top: 24px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.search-shortcut-note kbd {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 3px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 8px;
}

.search-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  padding: 0 2px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.search-results {
  display: flex;
  flex-direction: column;
}

.search-result {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 11px 8px;
  border-radius: 10px;
  transition: background-color 0.18s ease;
}

.search-result:hover {
  background: var(--surface-2);
}

.search-result-img {
  position: relative;
  display: block;
  width: 68px;
  height: 52px;
  overflow: hidden;
  border-radius: 7px;
  background: var(--paper-2);
}

.search-result-img .art-glyph {
  right: 4px;
  bottom: 0;
  font-size: 24px;
  opacity: 0.7;
}

.search-result-img .art-label,
.search-result-img .art-source,
.search-result-img .art-wave {
  display: none;
}

.search-result-body {
  display: block;
  min-width: 0;
}

.search-result-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.search-result-cat {
  color: var(--cat-ink);
  background: var(--cat-bg);
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 6.5px;
}

.search-result-title {
  margin: 4px 0 2px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.search-result-source {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-arrow {
  color: var(--muted-2);
}

.search-result-arrow .icon {
  width: 15px;
  height: 15px;
}

.search-empty,
.saved-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 44px 20px;
  text-align: center;
}

.search-empty .icon,
.saved-empty .icon {
  width: 30px;
  height: 30px;
  margin-bottom: 13px;
  color: var(--muted-2);
}

.search-empty h3,
.saved-empty h3 {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.search-empty p,
.saved-empty p {
  max-width: 300px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11.5px;
}

.spinner {
  width: 17px;
  height: 17px;
  border: 1.5px solid var(--line-strong);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.search-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 50px 20px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- Saved dialog ---------- */

.saved-dialog {
  width: min(650px, calc(100vw - 32px));
  margin: auto;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.55);
}

.saved-shell {
  display: flex;
  flex-direction: column;
  max-height: min(78vh, 720px);
}

.saved-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px 17px;
  border-bottom: 1px solid var(--line);
}

.saved-head h2 {
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.saved-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 14px;
  overscroll-behavior: contain;
}

.saved-item {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr) 32px;
  gap: 13px;
  align-items: center;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
}

.saved-item:last-child {
  border-bottom: 0;
}

.saved-thumb {
  position: relative;
  display: block;
  width: 94px;
  height: 64px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper-2);
}

.saved-thumb .art-glyph {
  right: 4px;
  bottom: 0;
  font-size: 40px;
}

.saved-thumb .art-label,
.saved-thumb .art-source,
.saved-thumb .art-wave {
  display: none;
}

.saved-info {
  display: block;
  min-width: 0;
}

.saved-item-meta .cat-chip {
  height: 17px;
  padding: 0 5px;
  border-radius: 3px;
  font-size: 6.5px;
}

.saved-item-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.saved-title {
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.saved-remove {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--muted-2);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.saved-remove:hover {
  border-color: var(--line);
  color: #c34f3d;
}

.saved-remove .icon {
  width: 14px;
  height: 14px;
}

.saved-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.03em;
}

.clear-saved {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.clear-saved:hover {
  color: #c34f3d;
}

.clear-saved .icon {
  width: 12px;
  height: 12px;
}

/* ---------- Menu dialog ---------- */

.menu-dialog {
  width: min(420px, 100vw);
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  border-radius: 24px 0 0 24px;
  background: var(--surface);
}

.menu-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px 24px 20px;
}

.menu-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.menu-head h2 {
  font-size: 29px;
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1;
}

.menu-nav {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
}

.menu-nav button {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-align: left;
}

.menu-nav button span {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
}

.menu-nav button:hover {
  color: var(--muted);
}

.menu-foot {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}

.menu-foot button {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 39px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 500;
}

.menu-foot button:hover {
  background: var(--surface-2);
}

.menu-foot .icon {
  width: 14px;
  height: 14px;
}

.menu-note {
  margin-top: 13px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- Empty/error ---------- */

.empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  text-align: center;
}

.hero-grid .empty-state {
  grid-column: 1 / -1;
  min-height: 320px;
  justify-content: center;
}

.empty-state h3 {
  font-size: 18px;
  font-weight: 650;
}

.empty-state p {
  max-width: 360px;
  margin: 6px 0 18px;
  color: var(--muted);
  font-size: 12.5px;
}

.empty-state button {
  height: 38px;
  padding: 0 17px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  font-weight: 600;
}

.noscript {
  position: fixed;
  inset: auto 20px 20px;
  z-index: 200;
  padding: 15px 20px;
  border-radius: 12px;
  background: #10120c;
  color: #f1f0e7;
  font-size: 13px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1260px) {
  .wrap {
    width: min(1360px, calc(100% - 52px));
  }

  .header-inner {
    gap: 20px;
  }

  .brand-note {
    display: none;
  }

  .nav-link {
    padding: 7px 8px;
    font-size: 12px;
  }

  .feed-layout {
    grid-template-columns: minmax(0, 1fr) 312px;
    gap: 38px;
  }
}

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

  .menu-trigger {
    display: grid;
  }

  .brand-word {
    font-size: 18px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
    gap: 34px;
  }

  .lead-title {
    font-size: clamp(32px, 4vw, 46px);
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .lead-title {
    max-width: 780px;
    font-size: clamp(33px, 5.2vw, 48px);
  }

  .lead-excerpt {
    max-width: 720px;
  }

  .hero-rail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }

  .side-story .media-frame {
    aspect-ratio: 16 / 9;
  }

  .rail-briefs {
    justify-content: center;
  }

  .signal-card {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .signal-card .signal-metrics {
    grid-template-columns: repeat(2, minmax(0, 200px));
  }

  .signal-card .signal-wave {
    position: absolute;
    right: 22px;
    bottom: 22px;
    width: 34%;
    margin: 0;
  }

  .feed-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .pulse-panel,
  .manifesto {
    grid-column: 1 / -1;
  }

  .pulse-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
  }

  .pulse-head,
  .pulse-number,
  .pulse-caption {
    grid-column: 1;
  }

  .pulse-stats {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
    margin: 0;
    padding: 0;
    border-top: 0;
  }

  .pulse-refresh {
    grid-column: 1 / -1;
    max-width: 300px;
    margin-top: 6px;
  }

  .pulse-foot {
    grid-column: 1 / -1;
  }

  .closing-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    align-items: start;
  }

  .closing-side {
    max-width: 520px;
  }

  .footer-top {
    grid-template-columns: 1.1fr 0.9fr 1fr;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 30px;
    align-items: center;
  }

  .footer-brand-block p {
    margin: 0;
  }

  .footer-live {
    grid-column: 2;
    margin-top: 4px;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .topbar-inner {
    height: 31px;
    font-size: 8px;
  }

  .topbar-center {
    display: none;
  }

  .topbar-left {
    gap: 8px;
  }

  .topbar-left time {
    display: none;
  }

  .topbar-divider {
    display: none;
  }

  .header-inner {
    height: 64px;
    gap: 12px;
  }

  .brand {
    gap: 9px;
  }

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

  .brand-word {
    font-size: 16px;
  }

  .header-actions {
    gap: 1px;
  }

  .search-trigger {
    width: 37px;
    height: 37px;
    justify-content: center;
    padding: 0;
    border-color: transparent;
  }

  .search-trigger span,
  .search-trigger kbd {
    display: none;
  }

  .icon-button {
    width: 37px;
    height: 37px;
  }

  .hero-section {
    padding-top: 17px;
  }

  .section-ribbon {
    margin-bottom: 17px;
  }

  .ribbon-title {
    font-size: 9px;
    letter-spacing: 0.13em;
  }

  .ribbon-line,
  .ribbon-date {
    display: none;
  }

  .ribbon-right {
    font-size: 8px;
  }

  .ribbon-right #updatedText {
    white-space: nowrap;
  }

  .ribbon-right .updated-count {
    display: none;
  }

  .lead-media {
    border-radius: 17px;
  }

  .lead-overlay {
    padding: 13px;
  }

  .lead-title {
    margin: 10px 0 11px;
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.06;
  }

  .lead-excerpt {
    font-size: 13.5px;
    -webkit-line-clamp: 2;
  }

  .lead-content {
    padding-top: 17px;
  }

  .lead-cta {
    margin-top: 14px;
  }

  .bookmark-button {
    top: 11px;
    right: 11px;
    width: 32px;
    height: 32px;
  }

  .lead-topline .cat-chip {
    height: 22px;
    font-size: 8px;
  }

  .format-chip {
    height: 22px;
    font-size: 7px;
  }

  .hero-rail {
    grid-template-columns: 1fr;
    gap: 19px;
    padding-top: 20px;
  }

  .rail-briefs {
    border-top: 0;
  }

  .side-story .media-frame {
    aspect-ratio: 16 / 9;
  }

  .signal-card {
    margin-top: 2px;
  }

  .signal-wave {
    display: none;
  }

  .signal-card .signal-wave {
    display: none;
  }

  .ticker {
    margin-top: 31px;
  }

  .ticker-inner {
    height: 46px;
    gap: 12px;
  }

  .ticker-label {
    padding-right: 12px;
  }

  .ticker-clock {
    display: none;
  }

  .ticker-item {
    font-size: 11px;
  }

  .ticker-group {
    gap: 28px;
    padding-right: 28px;
  }

  .feed-section {
    padding-top: 45px;
  }

  .feed-head {
    align-items: flex-end;
    margin-bottom: 15px;
  }

  .feed-title {
    margin-top: 7px;
    font-size: 31px;
  }

  .feed-total {
    font-size: 8px;
    padding-bottom: 2px;
  }

  .filter-bar {
    top: 64px;
    margin-bottom: 18px;
    padding: 9px 0;
    gap: 6px;
  }

  .chip {
    height: 31px;
    padding: 0 10px;
    font-size: 11px;
  }

  .feed-refresh {
    width: 31px;
    height: 31px;
    padding: 0;
    justify-content: center;
  }

  .feed-refresh span {
    display: none;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card-media {
    aspect-ratio: 16 / 9;
  }

  .card-body {
    padding: 14px 15px;
  }

  .card-title {
    font-size: 18px;
  }

  .card-excerpt {
    font-size: 12px;
    -webkit-line-clamp: 2;
  }

  .sidebar {
    grid-template-columns: 1fr;
  }

  .pulse-panel {
    display: block;
  }

  .pulse-stats {
    margin: 17px 0 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(241, 240, 231, 0.14);
  }

  .pulse-refresh {
    max-width: none;
  }

  .manifesto {
    grid-column: auto;
  }

  .closing-inner {
    padding: 48px 0;
  }

  .closing-copy h2 {
    font-size: 33px;
  }

  .closing-side p {
    font-size: 12.5px;
  }

  .site-footer {
    padding-top: 40px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    padding-bottom: 34px;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
    display: block;
  }

  .footer-brand-block p {
    margin: 14px 0 14px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-wordmark {
    font-size: 23vw;
    margin-bottom: -1.4vw;
  }

  .footer-bottom {
    gap: 8px 18px;
    font-size: 7px;
    line-height: 1.5;
  }

  .footer-bottom a {
    width: 100%;
    margin-left: 0;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 40px;
    height: 40px;
  }

  .new-items {
    bottom: 16px;
    max-width: calc(100% - 28px);
  }

  .new-items button {
    height: 40px;
    font-size: 10.5px;
  }

  .toast {
    bottom: 16px;
    max-width: calc(100% - 32px);
  }

  .search-dialog,
  .saved-dialog {
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
  }

  .search-shell {
    display: flex;
    flex-direction: column;
    height: 100dvh;
  }

  .saved-shell {
    height: 100dvh;
    max-height: none;
  }

  .search-top {
    padding: 14px 16px;
  }

  #searchInput {
    font-size: 16px;
  }

  .search-body {
    flex: 1;
    max-height: none;
    padding: 17px 15px;
  }

  .search-result {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px 4px;
  }

  .search-result-img {
    width: 58px;
    height: 46px;
  }

  .saved-item {
    grid-template-columns: 74px minmax(0, 1fr) 28px;
    gap: 10px;
  }

  .saved-thumb {
    width: 74px;
    height: 54px;
  }

  .menu-dialog {
    border-radius: 0;
  }

  .menu-shell {
    padding: 20px 18px;
  }

  .lead-meta,
  .card-meta {
    font-size: 8px;
  }
}

@media (max-width: 420px) {
  .brand-mark {
    width: 27px;
    height: 27px;
  }

  .brand-word {
    font-size: 13px;
    letter-spacing: 0;
  }

  .header-inner {
    gap: 7px;
  }

  .header-actions {
    gap: 0;
  }

  .header-actions .icon-button,
  .header-actions .search-trigger {
    width: 30px;
    height: 30px;
  }

  .header-actions .search-trigger .icon,
  .header-actions .icon-button .icon {
    width: 17px;
    height: 17px;
  }

  .lead-title {
    font-size: 27px;
  }

  .lead-excerpt {
    display: none;
  }

  .section-index {
    display: none;
  }

  .feed-title {
    font-size: 28px;
  }

  .feed-total {
    display: none;
  }

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .ticker-track {
    animation: none;
  }

  .ticker-window {
    overflow-x: auto;
  }
}

/* Typography refinement: keep the editorial microtype, improve readability. */
body {
  font-size: 16px;
  line-height: 1.58;
}

.lead-title {
  font-size: clamp(32px, 3.25vw, 47px);
}

.lead-excerpt {
  font-size: 16.5px;
}

.lead-meta,
.card-meta,
.side-meta,
.brief-meta {
  font-size: 9px;
}

.card-title {
  font-size: clamp(18px, 1.5vw, 21px);
}

.card-excerpt {
  font-size: 12.5px;
  line-height: 1.52;
}

.side-title {
  font-size: clamp(20px, 1.75vw, 24px);
}

.side-excerpt {
  font-size: 13px;
}

.brief-title {
  font-size: 15px;
}

.chip {
  font-size: 12px;
}

.article-body {
  font-size: 17px;
}

.article-dek {
  font-size: 17.5px;
}

.auth-field > span:first-child {
  font-size: 8.5px;
}

.auth-input-wrap input {
  font-size: 13px;
}

.auth-note {
  font-size: 10px;
}

.cookie-copy p {
  font-size: 11px;
}

.cookie-copy strong {
  font-size: 8.5px;
}

.admin-table td {
  font-size: 11px;
}

.admin-table th {
  font-size: 7.5px;
}

.footer-col button,
.footer-col a {
  font-size: 12px;
}

.footer-bottom {
  font-size: 8px;
}

@media (max-width: 760px) {
  body {
    font-size: 15.5px;
  }

  .lead-title {
    font-size: clamp(28px, 8vw, 37px);
  }

  .card-title {
    font-size: 18.5px;
  }

  .article-body {
    font-size: 16px;
  }

  .cookie-copy p {
    font-size: 10px;
  }
}
