:root {
  --bg: #f7f8f9;
  --surface: #ffffff;
  --surface-hover: #f1f3f5;
  --text: #191c21;
  --text-soft: #414954;
  --muted: #68727e;
  --line: #dde1e5;
  --orange: #e6630f;
  --orange-soft: rgba(230, 99, 15, 0.10);
  --panel-shadow: 0 1px 2px rgba(25, 28, 33, 0.04);
  --content-width: 1060px;
  --site-footer-height: 48px;
  --telegram-promo-height: 46px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: calc(var(--site-footer-height) + env(safe-area-inset-bottom));
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--text);
  color: var(--bg);
  border-radius: 4px;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #252c35;
  background: rgba(11, 14, 18, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 12px rgba(17, 20, 24, 0.12);
}

.header-inner,
main,
.footer-inner {
  width: min(calc(100% - 32px), var(--content-width));
  margin-inline: auto;
}

.header-inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-logo {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: cover;
  border-radius: 50%;
}

.brand-name {
  color: #f2f4f7;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 24px;
}

.site-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0;
  color: #aeb6c0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: color 150ms ease;
}

.site-nav-link:hover,
.site-nav-link[aria-current="page"] {
  color: #ffffff;
}

.site-nav-link[aria-current="page"] {
  color: #ffffff;
}

.site-nav-link[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
}

.telegram-promo {
  position: sticky;
  top: 62px;
  z-index: 12;
  height: var(--telegram-promo-height);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 3px 8px rgba(25, 28, 33, 0.06);
  backdrop-filter: blur(12px);
}

html.telegram-promo-dismissed .telegram-promo {
  display: none;
}

.news-index-page {
  padding-bottom: calc(
    var(--site-footer-height) + var(--telegram-promo-height) + env(safe-area-inset-bottom)
  );
}

html.telegram-promo-dismissed .news-index-page {
  padding-bottom: calc(var(--site-footer-height) + env(safe-area-inset-bottom));
}

.telegram-promo-inner {
  width: min(calc(100% - 32px), var(--content-width));
  height: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline: auto;
}

.telegram-promo-message {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-right: auto;
  color: var(--text-soft);
  font-size: 11.5px;
  white-space: nowrap;
}

.telegram-promo-message img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.telegram-promo-message strong {
  color: var(--text);
  font-weight: 700;
}

.telegram-promo-detail {
  color: var(--muted);
}

.telegram-promo-subscribe {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 5px 12px;
  border: 1px solid var(--orange);
  border-radius: 4px;
  background: var(--orange);
  color: #ffffff;
  font-size: 11px;
  font-weight: 750;
  line-height: 1;
  transition: background 150ms ease, border-color 150ms ease;
}

.telegram-promo-subscribe:hover {
  border-color: #c95008;
  background: #c95008;
}

.telegram-promo-close {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

.telegram-promo-close:hover {
  background: var(--surface-hover);
}

.telegram-promo-close:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
}

.telegram-promo-close::before,
.telegram-promo-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 1px;
  background: var(--muted);
  content: "";
}

.telegram-promo-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.telegram-promo-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.news-index-page .archive-day-heading {
  top: calc(62px + var(--telegram-promo-height));
}

html.telegram-promo-dismissed .news-index-page .archive-day-heading {
  top: 62px;
}

.feed-head {
  min-height: 74px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 15px;
}

.feed-head h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 620;
  letter-spacing: 0.01em;
}

.feed-head time {
  color: var(--muted);
  font-size: 12px;
}

.topic-strip {
  display: flex;
  gap: 5px;
  padding: 15px 0 14px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.topic-strip::-webkit-scrollbar {
  display: none;
}

.topic-strip a {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.topic-strip a span {
  margin-left: 5px;
  color: #7c858f;
  font-variant-numeric: tabular-nums;
}

.topic-strip a:hover,
.topic-strip a.selected {
  border-color: rgba(230, 99, 15, 0.58);
  background: var(--orange-soft);
  color: var(--text);
}

.news-feed {
  border-bottom: 1px solid var(--line);
}

.news-item {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  grid-template-areas:
    "time category"
    "time story";
  column-gap: 14px;
  row-gap: 5px;
  align-items: start;
  padding: 17px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 150ms ease;
}

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

.news-item:hover {
  background: var(--surface-hover);
}

.story-link {
  color: inherit;
  text-decoration: none;
}

.story-link::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
}

.story-link:focus-visible {
  border-radius: 2px;
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.story-time {
  grid-area: time;
  padding-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.category {
  position: relative;
  z-index: 2;
  grid-area: category;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-width: 64px;
  margin-top: 1px;
  padding: 4px 7px;
  border-radius: 3px;
  background: var(--category-bg, var(--orange-soft));
  color: var(--category-text, #a84408);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1.3;
  text-transform: uppercase;
  text-decoration: none;
}

.category-color.bitcoin { --category-accent: #f59e0b; --category-bg: #fff3d6; --category-text: #8a4b00; }
.category-color.ethereum { --category-accent: #627eea; --category-bg: #edf0ff; --category-text: #3f52a3; }
.category-color.altcoins { --category-accent: #0891b2; --category-bg: #e4f7fb; --category-text: #0e6679; }
.category-color.stablecoins { --category-accent: #059669; --category-bg: #e2f6ef; --category-text: #08705a; }
.category-color.defi { --category-accent: #7c3aed; --category-bg: #f0e9ff; --category-text: #5b21b6; }
.category-color.macro { --category-accent: #64748b; --category-bg: #edf1f5; --category-text: #475569; }
.category-color.market { --category-accent: #16a34a; --category-bg: #e4f5e9; --category-text: #166534; }
.category-color.etf_funds { --category-accent: #2563eb; --category-bg: #e8efff; --category-text: #1e4db7; }
.category-color.regulation { --category-accent: #3158a5; --category-bg: #e8eefb; --category-text: #274887; }
.category-color.court { --category-accent: #7e22ce; --category-bg: #f3e8ff; --category-text: #6518a6; }
.category-color.security { --category-accent: #dc2626; --category-bg: #fde8e8; --category-text: #a91d1d; }
.category-color.companies { --category-accent: #9a6a3a; --category-bg: #f6eee5; --category-text: #754a25; }
.category-color.mining { --category-accent: #c2410c; --category-bg: #ffede4; --category-text: #9a3412; }
.category-color.infrastructure { --category-accent: #475569; --category-bg: #edf0f3; --category-text: #334155; }
.category-color.web3 { --category-accent: #c026d3; --category-bg: #fae8fd; --category-text: #9216a4; }
.category-color.tokenization { --category-accent: #ca8a04; --category-bg: #fff6d8; --category-text: #8a5d02; }
.category-color.payments { --category-accent: #0284c7; --category-bg: #e4f4fc; --category-text: #03699b; }
.category-color.ai_crypto { --category-accent: #db2777; --category-bg: #fce7f1; --category-text: #a61e5a; }
.category-color.nft_gaming { --category-accent: #9333ea; --category-bg: #f3e8ff; --category-text: #7122b5; }
.category-color.prediction_markets { --category-accent: #d97706; --category-bg: #fff1dc; --category-text: #9a5303; }
.category-color.crypto_brief { --category-accent: #6b7280; --category-bg: #eef0f3; --category-text: #4b5563; }

.story-copy {
  grid-area: story;
  min-width: 0;
}

.story-copy h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 540;
  line-height: 1.38;
  letter-spacing: -0.006em;
  transition: color 150ms ease;
}

.news-item:hover h2 {
  color: #0f1114;
}

.story-copy p {
  margin: 5px 0 0;
  color: #505964;
  font-size: 13.5px;
  line-height: 1.52;
  white-space: normal;
}

.feed-footer {
  display: flex;
  justify-content: center;
  padding: 30px 0 52px;
}

.archive-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 700;
  transition: border-color 150ms ease, color 150ms ease;
}

.archive-link:hover {
  border-color: var(--orange);
  color: var(--text);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  padding: 28px 0 52px;
}

.page-button,
.page-number {
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.page-button:hover,
.page-number:hover,
.page-number.current {
  border-color: var(--orange);
  color: var(--text);
}

.page-number.current {
  background: var(--orange);
  color: #111;
}

.page-button.disabled {
  opacity: 0.35;
}

.page-dots {
  color: var(--muted);
  font-size: 11px;
}

.site-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  height: calc(var(--site-footer-height) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid #252c35;
  background: rgba(11, 14, 18, 0.98);
  box-shadow: 0 -2px 12px rgba(17, 20, 24, 0.12);
  color: #8f99a6;
  font-size: 11px;
  backdrop-filter: blur(14px);
}

.footer-inner {
  height: var(--site-footer-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-copyright {
  flex: 0 0 auto;
  color: #818b97;
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #aeb6c1;
  font-size: 11px;
  font-weight: 700;
  transition: color 150ms ease;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-rss-icon {
  width: 15px;
  height: 15px;
  display: block;
  flex: 0 0 15px;
  color: var(--orange);
  background:
    radial-gradient(circle at 1.5px 13.5px, currentColor 0 1.5px, transparent 1.7px),
    radial-gradient(circle at 1.5px 13.5px, transparent 0 4.2px, currentColor 4.3px 5.5px, transparent 5.7px),
    radial-gradient(circle at 1.5px 13.5px, transparent 0 8.2px, currentColor 8.3px 9.5px, transparent 9.7px);
}

.footer-telegram-icon {
  width: 15px;
  height: 15px;
  display: block;
  flex: 0 0 15px;
}

/* Archive */

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 38px 0 22px;
}

.page-head h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 580;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.page-head p {
  max-width: 420px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.archive-page .page-head {
  min-height: 74px;
  gap: 24px;
  padding: 24px 0 15px;
}

.archive-page .page-head h1 {
  font-size: 19px;
  font-weight: 620;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.page-count {
  flex: 0 0 auto;
  color: var(--text-soft);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.filter-module {
  margin-bottom: 10px;
}

.archive-controls {
  padding: 12px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 5px 5px;
  background: #fbfcfd;
  box-shadow: var(--panel-shadow);
}

.archive-controls[hidden] {
  display: none;
}

.filter-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 150px 150px auto;
  gap: 8px;
}

.filter-field {
  display: grid;
  gap: 5px;
}

.filter-field label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.filter-field input,
.filter-field select {
  width: 100%;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: none;
  background: var(--surface);
  color: var(--text-soft);
  font: inherit;
  font-size: 12px;
}

.filter-field input:focus,
.filter-field select:focus {
  border-color: var(--orange);
}

.filter-submit {
  height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(230, 99, 15, 0.58);
  border-radius: 4px;
  background: var(--orange-soft);
  color: var(--text);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.filter-actions {
  align-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-submit:hover {
  border-color: var(--orange);
  background: rgba(230, 99, 15, 0.12);
}

.archive-summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 7px 8px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--muted);
  font-size: 11px;
}

.archive-summary-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}

.filter-toggle,
.filter-reset {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 4px;
  white-space: nowrap;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
}

.filter-toggle {
  gap: 6px;
  padding-inline: 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
}

.filter-toggle::after {
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: translateY(-1px) rotate(45deg);
  transition: transform 140ms ease;
}

.filter-toggle[aria-expanded="true"]::after {
  transform: translateY(2px) rotate(225deg);
}

.filter-toggle:hover,
.filter-toggle[aria-expanded="true"] {
  background: transparent;
  color: var(--orange);
}

.filter-toggle.is-active {
  background: transparent;
  color: var(--orange);
}

.filter-toggle.is-active::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.filter-reset {
  border: 1px solid transparent;
  color: var(--muted);
}

a.filter-reset:hover {
  border-color: transparent;
  background: transparent;
  color: var(--orange);
}

.archive-state {
  margin: 28px 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  box-shadow: var(--panel-shadow);
  text-align: center;
}

.archive-state h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.archive-state p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.archive-state a {
  display: inline-block;
  margin-top: 16px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
}

.archive-state a:hover {
  color: var(--orange);
}

.archive-day {
  border-bottom: 1px solid var(--line);
}

.archive-day:last-child {
  border-bottom: 0;
}

.archive-day-heading {
  position: sticky;
  top: 62px;
  z-index: 6;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 5px 4px;
  background: var(--bg);
}

.archive-date-label {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(230, 99, 15, 0.26);
  border-radius: 4px;
  background: #fff1e8;
  color: #95420b;
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
}

.archive-day .news-feed {
  border-bottom: 0;
}

/* Statistics */

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: var(--panel-shadow);
}

.metric {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid var(--line);
  background: var(--surface);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  font-size: 25px;
  font-weight: 570;
  line-height: 1;
  letter-spacing: -0.025em;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
}

.stats-section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.stats-section:last-of-type {
  border-bottom: 0;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 580;
}

.section-heading span {
  color: var(--muted);
  font-size: 11px;
}

.activity-chart {
  position: relative;
  height: 260px;
  padding: 14px 14px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  box-shadow: var(--panel-shadow);
}

.activity-chart-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.category-bars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 40px;
}

.category-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 14px;
  color: var(--text-soft);
  font-size: 12px;
}

.category-row > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--category-text);
  font-weight: 650;
}

.category-row > span:first-child::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--category-accent);
  content: "";
}

.category-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface);
}

.category-fill {
  width: var(--ratio);
  height: 100%;
  border-radius: inherit;
  background: var(--category-accent, var(--orange));
}

.category-row strong {
  text-align: right;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ratio-0 { --ratio: 0%; }
.ratio-5 { --ratio: 5%; }
.ratio-10 { --ratio: 10%; }
.ratio-15 { --ratio: 15%; }
.ratio-20 { --ratio: 20%; }
.ratio-25 { --ratio: 25%; }
.ratio-30 { --ratio: 30%; }
.ratio-35 { --ratio: 35%; }
.ratio-40 { --ratio: 40%; }
.ratio-45 { --ratio: 45%; }
.ratio-50 { --ratio: 50%; }
.ratio-55 { --ratio: 55%; }
.ratio-60 { --ratio: 60%; }
.ratio-65 { --ratio: 65%; }
.ratio-70 { --ratio: 70%; }
.ratio-75 { --ratio: 75%; }
.ratio-80 { --ratio: 80%; }
.ratio-85 { --ratio: 85%; }
.ratio-90 { --ratio: 90%; }
.ratio-95 { --ratio: 95%; }
.ratio-100 { --ratio: 100%; }

/* Full article */

.article-shell {
  max-width: 780px;
  margin: 0 auto;
  padding: 32px 0 64px;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
}

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

.article-header {
  padding: 40px 0 30px;
  border-bottom: 1px solid var(--line);
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
}

.article-meta > * + *::before {
  content: "·";
  margin-right: 10px;
  color: #a4abb4;
}

.article-meta .category::before {
  display: none;
}

.article-header h1 {
  max-width: 760px;
  margin: 20px 0 16px;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.article-deck {
  max-width: 700px;
  margin: 0;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.55;
}

.article-body {
  max-width: 680px;
  margin: 0 auto;
  padding-top: 38px;
  color: #343a42;
  font-size: 17px;
  line-height: 1.78;
}

.article-body .lead {
  margin-top: 0;
  color: var(--text);
  font-size: 19px;
  line-height: 1.7;
}

.article-body h2 {
  margin: 40px 0 12px;
  color: var(--text);
  font-size: 23px;
  font-weight: 620;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.article-body p {
  margin: 0 0 22px;
}

.about-page .article-header {
  padding-top: 28px;
}

.about-page .article-header h1 {
  margin-top: 0;
}

.about-content {
  max-width: 700px;
}

.about-section h2 {
  margin-top: 42px;
}

.about-notice {
  margin-top: 42px;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text-soft);
  font-size: 13.5px;
  line-height: 1.65;
}

.about-notice p {
  margin: 0;
}

.article-source {
  margin-top: 44px !important;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: #69737e;
  font-size: 11px;
  line-height: 1.5;
}

.article-source a {
  color: #596572;
  text-decoration: underline;
  text-decoration-color: #b5bbc2;
  text-underline-offset: 2px;
}

.article-source a:hover {
  color: var(--text-soft);
}

.article-footer {
  max-width: 680px;
  margin: 36px auto 0;
}

.article-footer a {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
}

.article-footer a:hover {
  color: var(--orange);
}

@media (max-width: 860px) {
  .category-bars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --mobile-header-height: 52px;
    --site-footer-height: 46px;
    --telegram-promo-height: 44px;
  }

  .site-header {
    position: sticky;
    top: 0;
    height: var(--mobile-header-height);
    background: #0b0e12;
    backdrop-filter: none;
  }

  .site-header::before {
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 100vh;
    background: #0b0e12;
    pointer-events: none;
    content: "";
  }

  .header-inner,
  main,
  .footer-inner {
    width: min(calc(100% - 24px), var(--content-width));
  }

  .header-inner {
    height: 100%;
    min-height: 0;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .brand-name {
    display: none;
  }

  .site-nav {
    gap: 18px;
  }

  .site-nav-link {
    font-size: 11.5px;
  }

  .telegram-promo {
    top: var(--mobile-header-height);
    backdrop-filter: none;
  }

  .telegram-promo-inner {
    width: min(calc(100% - 24px), var(--content-width));
    gap: 8px;
  }

  .telegram-promo-message {
    gap: 7px;
    font-size: 11px;
  }

  .telegram-promo-detail {
    display: none;
  }

  .telegram-promo-subscribe {
    min-height: 28px;
    padding-inline: 10px;
  }

  .telegram-promo-close {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .news-index-page .archive-day-heading {
    top: calc(var(--mobile-header-height) + var(--telegram-promo-height));
  }

  html.telegram-promo-dismissed .news-index-page .archive-day-heading {
    top: var(--mobile-header-height);
  }

  .archive-day-heading {
    top: var(--mobile-header-height);
    min-height: 36px;
    padding: 4px 0;
  }

  .archive-date-label {
    min-height: 28px;
    padding: 5px 9px;
    font-size: 13px;
  }

  .feed-head {
    min-height: 64px;
    align-items: flex-end;
    padding-top: 18px;
  }

  .feed-head time {
    font-size: 10.5px;
  }

  .news-item {
    grid-template-columns: 48px 1fr;
    grid-template-areas:
      "time category"
      "story story";
    gap: 8px 10px;
    padding: 15px 4px;
  }

  .category {
    min-width: auto;
    justify-self: start;
  }

  .story-copy {
    grid-area: story;
  }

  .story-copy h2 {
    font-size: 16.5px;
  }

  .story-copy p {
    display: block;
  }

  .page-head {
    display: block;
    padding-top: 28px;
  }

  .page-head h1 {
    font-size: 26px;
  }

  .page-count {
    display: block;
    margin-top: 10px;
  }

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

  .filter-field:first-child {
    grid-column: 1 / -1;
  }

  .filter-actions {
    grid-column: 1 / -1;
  }

  .archive-summary {
    gap: 10px;
    padding-inline: 8px;
  }

  .archive-summary-actions {
    gap: 3px;
  }

  .filter-toggle,
  .filter-reset {
    min-height: 30px;
    padding-inline: 8px;
    font-size: 10.5px;
  }

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

  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .activity-chart {
    height: 220px;
    padding: 10px 6px 6px;
  }

  .category-row {
    grid-template-columns: 110px minmax(0, 1fr) 42px;
    gap: 9px;
  }

  .site-footer {
    backdrop-filter: none;
  }

  .footer-inner {
    gap: 12px;
  }

  .footer-nav {
    gap: 14px;
  }

  .footer-nav a,
  .footer-copyright {
    font-size: 10.5px;
  }

  .article-shell {
    padding-top: 22px;
  }

  .article-header {
    padding-top: 30px;
  }

  .article-header h1 {
    font-size: 30px;
  }

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

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

  .article-body .lead {
    font-size: 18px;
  }
}

@media (max-width: 430px) {
  .site-nav {
    gap: 11px;
  }

  .site-nav-link {
    font-size: 11px;
  }

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

  .filter-field:first-child {
    grid-column: auto;
  }
}

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