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

:root {
  --black: #0a0a0a;
  --white: #fafafa;
  --bg: #f3f1ec;
  --burgundy-900: #07162f;
  --burgundy-850: #082040;
  --burgundy-800: #0a2d57;
  --burgundy-700: #0d3e73;
  --burgundy-600: #13559a;
  --burgundy-500: #1f6ed4;
  --burgundy-soft: rgba(19,85,154,0.10);
  --accent: #1f6ed4;
  --silver-100: #fcfdff;
  --silver-200: #eef5ff;
  --silver-300: #d8e6fb;
  --silver-400: #b7cceb;
  --silver-500: #8fa5c4;
  --silver-shadow: rgba(255,255,255,0.08);
  --line: #dedad2;
  --muted: #777;
  --soft: #aaa;
  --soft2: #cfc9bf;
  --panel: rgba(255,255,255,0.94);
  --shadow: 0 18px 40px rgba(0,0,0,0.10);
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --topbar-height: 66px;
}

html, body {
  height: 100%;
  background: #06142a;
  color: var(--black);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  overscroll-behavior-x: none;
}
body {
  min-height: 100vh;
  background-color: #06142a;
  background-image:
    radial-gradient(circle at center in srgb-linear, rgba(36,111,201,0.34) 0%, rgba(13,62,115,0.82) 38%, rgba(6,20,42,1) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.12));
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  isolation: isolate;
}
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}
body::before {
  z-index: -2;
  background:
    radial-gradient(circle at center, rgba(31,110,212,0.16) 0%, rgba(19,85,154,0.38) 30%, rgba(10,45,87,0.92) 58%, rgba(6,20,42,1) 100%),
    radial-gradient(circle at center, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 16%, rgba(255,255,255,0) 56%),
    radial-gradient(circle at top left, rgba(255,255,255,0.012), transparent 34%),
    radial-gradient(circle at bottom right, rgba(0,0,0,0.24), transparent 48%);
}
body::after {
  z-index: -1;
  opacity: 0.011;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}
body { overflow-x: hidden; }
body { touch-action: pan-y; }

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img, video { display: block; max-width: 100%; }
img { height: auto; }

.app-shell { min-height: 100vh; background: transparent; color: var(--black); }
.app-shell main { display: block; padding: 1rem 0 2rem; }
.app-shell main > section {
  width: min(1200px, calc(100% - 2rem));
  margin: 1rem auto 0;
  background: var(--panel);
  border: 1px solid rgba(10,10,10,0.08);
  border-radius: 24px;
  box-shadow: 0 10px 32px rgba(10,10,10,0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.app-shell.news-layout {
  background: #fff;
}
.app-shell.news-layout main > section {
  background: #fff;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
  margin-top: 0;
}
.app-shell.news-layout .page-hero,
.app-shell.news-layout .category-rail {
  background: #fff;
}
.app-shell.news-layout .page-hero {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.45rem 0 0.4rem;
  border-bottom: 1px solid rgba(10,10,10,0.08);
}
.app-shell.news-layout .category-rail {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.4rem 0 1.25rem;
}
.app-shell.news-layout .page-copy {
  max-width: 860px;
  margin-bottom: 0.5rem;
}
.app-shell.news-layout .page-meta {
  margin-bottom: 0;
}
.app-shell.news-layout .page-title {
  font-size: 28px;
  margin: 4px 0 6px;
  line-height: 1.1;
}
.page { max-width: 1440px; margin: 0 auto; }
.page-wide { max-width: 1600px; margin: 0 auto; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--topbar-height);
  padding: 0 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(7,22,47,0.98), rgba(6,20,42,0.97)),
    radial-gradient(circle at center, rgba(31,110,212,0.10), transparent 72%);
  color: #fafafa;
  position: sticky;
  top: 0;
  z-index: 60;
  flex-wrap: nowrap;
  overflow: hidden;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
}
.brand-center {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 auto;
  min-width: 0;
}
.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--silver-100);
  background-image: linear-gradient(180deg, #ffffff 0%, var(--silver-100) 18%, var(--silver-200) 34%, var(--silver-500) 52%, var(--silver-300) 74%, #ffffff 100%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.24),
    0 0 1px rgba(0,0,0,0.42),
    0 0 12px rgba(255,255,255,0.03);
}
.tagline { font-size: 13px; color: rgba(236,242,252,0.82); margin-top: 4px; letter-spacing: 0.4px; text-shadow: 0 1px 0 rgba(255,255,255,0.08); }

.nav-cats {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  gap: 0.15rem;
  padding: 0 0.25rem;
  white-space: nowrap;
}
.nav-cats::-webkit-scrollbar {
  display: none;
}
.nav-cats a, .nav-cats button {
  display: inline-flex;
  align-items: center;
  height: 66px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--silver-100);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08px;
  white-space: nowrap;
  position: relative;
  background-image: linear-gradient(180deg, #ffffff 0%, var(--silver-100) 18%, var(--silver-200) 34%, var(--silver-500) 52%, var(--silver-300) 78%, #ffffff 100%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  text-shadow: 0 1px 0 rgba(255,255,255,0.14), 0 0 1px rgba(0,0,0,0.38);
}
.nav-cats a:hover, .nav-cats button:hover { filter: brightness(1.08); }
.nav-cats .active {
  color: #fffdf9;
  font-weight: 600;
  background-image: linear-gradient(180deg, #ffffff 0%, var(--silver-100) 18%, #ffffff 36%, var(--silver-300) 62%, #ffffff 100%);
}

.nav-cats .active::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 14px;
  height: 2px;
  background: rgba(255,255,255,0.92);
  border-radius: 999px;
  pointer-events: none;
}

.top-actions { display: flex; align-items: center; gap: 10px; }
.top-actions {
  flex: 0 0 auto;
  min-width: 0;
  white-space: nowrap;
}
.desktop-actions { display: flex; }
.menu-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fafafa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-shadow: none;
}
.menu-toggle:hover { background: rgba(255,255,255,0.04); }
.menu-toggle-lines { display: inline-flex; flex-direction: column; gap: 5px; transition: transform .22s ease; }
.menu-toggle-lines span {
  width: 22px;
  height: 2.5px;
  border-radius: 999px;
  background: currentColor;
  display: block;
  transition: transform .22s ease, width .22s ease, opacity .22s ease;
}
.menu-toggle.is-open .menu-toggle-lines { transform: rotate(90deg); }
.menu-toggle.is-open .menu-toggle-lines span:nth-child(1) { width: 24px; transform: translateY(7px); }
.menu-toggle.is-open .menu-toggle-lines span:nth-child(2) { width: 16px; opacity: 0.7; }
.menu-toggle.is-open .menu-toggle-lines span:nth-child(3) { width: 24px; transform: translateY(-7px); }
.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; }
.btn, .btn-outline, .btn-ghost, .btn-chip {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
}
.btn {
  background: linear-gradient(180deg, var(--burgundy-600), var(--burgundy-900));
  color: var(--white);
  padding: 9px 16px;
}
.btn-outline {
  background: transparent;
  color: #fafafa;
  border: 1px solid rgba(255,255,255,0.26);
  padding: 8px 16px;
}
.support-cta {
  white-space: nowrap;
}
.support-cta-full {
  display: inline;
}
.support-cta-compact {
  display: none;
}
.mobile-search-cta {
  display: none;
  padding-left: 12px;
  padding-right: 12px;
}
.mobile-search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-search-text {
  display: inline;
}
.mobile-actions-card {
  display: none;
}
.mobile-category-strip {
  display: none;
}
.mobile-bottom-actions {
  display: none;
}
.btn-outline.danger {
  color: #b42318;
  border-color: rgba(180,35,24,0.35);
  background: rgba(180,35,24,0.06);
}
.btn-outline.danger:hover {
  color: #8e1b12;
  border-color: rgba(180,35,24,0.5);
  background: rgba(180,35,24,0.1);
}
.btn-ghost { background: transparent; color: var(--black); padding: 8px 10px; }
.btn-chip {
  background: linear-gradient(180deg, var(--burgundy-600), var(--burgundy-900));
  color: #fff;
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.profile-pill {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #fafafa;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.22);
}
.profile-pill img { width: 100%; height: 100%; object-fit: cover; }

.ticker {
  background:
    linear-gradient(180deg, rgba(7,22,47,0.98), rgba(6,20,42,0.98)),
    radial-gradient(circle at center, rgba(31,110,212,0.06), transparent 60%);
  color: var(--white);
  padding: 8px 2rem;
  font-size: 12px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 3rem;
  will-change: transform;
  animation: ticker-scroll 70s linear infinite;
}
.ticker-group {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex: 0 0 auto;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  padding-right: 1rem;
}
.ticker strong,
.ticker span {
  color: var(--silver-100);
  background-image: linear-gradient(180deg, #ffffff 0%, var(--silver-100) 18%, var(--silver-200) 34%, var(--silver-500) 52%, var(--silver-300) 78%, #ffffff 100%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.22),
    0 0 1px rgba(0,0,0,0.42);
}
.ticker strong { flex: 0 0 auto; }
.ticker span { font-weight: 500; }

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

@keyframes loading-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes captcha-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .payment-loading-spinner,
  [style*="loading-spin"] { animation: none !important; }
}

.hero-rail, .category-rail { padding: 1.75rem 1.75rem 1.5rem; }
.page-hero { padding: 1.75rem 1.75rem 1.5rem; border-bottom: 1px solid rgba(10,10,10,0.08); }
.page-kicker, .section-title, .footer-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #888;
}
.page-title {
  margin: 8px 0 10px;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.6px;
}
.page-copy {
  max-width: 760px;
  margin-bottom: 1.5rem;
  color: #555;
  font-size: 16px;
  line-height: 1.7;
}
.page-meta, .hero-meta, .s-meta, .nc-meta { font-size: 12px; color: #888; display: flex; gap: 12px; flex-wrap: wrap; }
.page-meta { margin-bottom: 1.5rem; }

.author-bio {
  max-width: 760px;
  margin: 0 0 1rem;
  padding: 0 0 1rem;
  border-bottom: 1px solid rgba(10,10,10,0.08);
}

.author-bio p {
  margin: 0;
  color: #555;
}

.topic-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  padding: 12px 0 2px;
  margin-top: 12px;
  border-top: 1px solid rgba(10,10,10,0.08);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.topic-nav a {
  flex: 0 0 auto;
  color: #666;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.topic-nav a.active {
  color: #111;
  border-bottom-color: #111;
}

.breaking-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 1.25rem; }
.breaking-label { background: linear-gradient(180deg, var(--burgundy-600), var(--burgundy-900)); color: var(--white); font-size: 11px; font-weight: 700; padding: 4px 10px; letter-spacing: 1px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  padding-bottom: 2rem;
}
.hero-main {
  border-right: 1px solid rgba(10,10,10,0.08);
  padding-right: 2rem;
}
.hero-cat, .s-cat, .nc-cat, .article-kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 5px;
}
.hero-title, .s-title, .nc-title, .article-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}
.hero-title {
  font-size: 26px;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.hero-sub, .article-summary, .s-meta, .nc-meta, .body-copy { color: #555; }
.hero-sub { font-size: 15px; line-height: 1.6; margin-bottom: 14px; }
.hero-title:hover, .nc-title:hover { text-decoration: underline; }

.article-page {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
  background: #fff;
}

.app-shell main > section.article-page {
  background: #fff;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  gap: 2rem;
  align-items: start;
}

.article-main {
  min-width: 0;
  max-width: 860px;
}

.article-kicker {
  margin-bottom: 0.45rem;
}

.article-page .article-title {
  margin: 0 0 0.75rem;
  font-size: clamp(34px, 4.1vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
  font-family: Georgia, "Times New Roman", serif;
}

.article-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 12px;
  color: #777;
  margin-bottom: 1rem;
}

.article-meta a {
  color: #111;
  font-weight: 600;
}

.article-media {
  margin: 0 0 1rem;
}

.article-hero-media {
  width: 100%;
  height: clamp(350px, 46vw, 450px);
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: 10px;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
}

.article-hero-media img,
.article-hero-media iframe,
.article-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-summary {
  max-width: 70ch;
  margin: 0 0 1.1rem;
  font-size: 18px;
  line-height: 1.7;
  color: #444;
  font-family: Georgia, "Times New Roman", serif;
}

.article-body {
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.78;
  color: #222;
  font-family: Georgia, "Times New Roman", serif;
}

.article-body p {
  margin: 0 0 1rem;
}

.article-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.article-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.article-sidebar {
  position: sticky;
  top: calc(var(--topbar-height, 72px) + 1rem);
}

.article-sidebar-list {
  display: grid;
  gap: 0;
}

.article-sidebar-item {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(10,10,10,0.08);
}

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

.article-sidebar-cat,
.article-related-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #888;
}

.article-sidebar-title,
.article-related-title {
  color: #111;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
  font-family: Georgia, "Times New Roman", serif;
}

.article-sidebar-meta,
.article-related-meta {
  font-size: 12px;
  color: #777;
}

.article-related {
  margin-top: 2.25rem;
}

.article-related--recommendations {
  margin-top: 1.75rem;
}

.article-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.article-related-card {
  display: grid;
  gap: 0.75rem;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.article-related-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  background: #f4f4f4;
}

.article-related-media img,
.article-related-media iframe,
.article-related-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-related-body {
  display: grid;
  gap: 0.35rem;
}

.article-recommended-list {
  display: grid;
  gap: 0.85rem;
}

.article-recommended-item {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(10,10,10,0.08);
}

.article-recommended-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.article-recommended-media {
  width: 100%;
}

.article-recommended-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #f4f4f4;
}

.article-recommended-thumb img,
.article-recommended-thumb iframe,
.article-recommended-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-recommended-body {
  display: grid;
  gap: 0.35rem;
  padding-top: 0.1rem;
}

.article-recommended-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #888;
}

.article-recommended-title {
  color: #111;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
  font-family: Georgia, "Times New Roman", serif;
}

.article-recommended-meta {
  font-size: 12px;
  color: #777;
}

.ai-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1rem;
  align-items: start;
}

.ai-assistant-panel .panel-card,
.ai-card {
  background: #fff;
  border: 1px solid rgba(10,10,10,0.08);
  box-shadow: none;
}

.ai-output {
  display: grid;
  gap: 0.85rem;
}

.ai-badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ai-metric {
  display: grid;
  gap: 0.3rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(10,10,10,0.08);
  border-radius: 12px;
  background: #fff;
}

.ai-metric-label {
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #888;
}

.ai-metric-value {
  font-size: 16px;
  font-weight: 700;
  color: #111;
}

.ai-json {
  min-height: 220px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.6;
}

.ai-related-list {
  display: grid;
  gap: 0.6rem;
}

.ai-related-item {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(10,10,10,0.08);
}

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

.ai-related-title {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  color: #111;
}

.ai-image-preview {
  margin-top: 10px;
  width: min(100%, 360px);
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(10,10,10,0.08);
  background: #f4f4f4;
}

.ai-image-preview img {
  width: 100%;
  height: auto;
  display: block;
}

.newspaper-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(260px, 0.9fr);
  gap: 1rem;
  align-items: start;
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.newspaper-layout > div,
.newspaper-layout > aside {
  min-width: 0;
}

.newspaper-layout .section-header {
  border-bottom: 1px solid rgba(10,10,10,0.08);
  border-bottom-width: 1px;
  margin-bottom: 0.55rem;
  padding-bottom: 5px;
}

.newspaper-media {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: #fff;
  margin-bottom: 0.75rem;
}

.newspaper-thumb {
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.newspaper-media img,
.newspaper-media video,
.newspaper-media iframe,
.newspaper-thumb img,
.newspaper-thumb video,
.newspaper-thumb iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}

.newspaper-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #777;
}

.newspaper-lead-title,
.newspaper-story-title,
.newspaper-text-title {
  font-family: Georgia, "Times New Roman", Times, serif;
  color: #111;
}

.newspaper-headline-title,
.newspaper-feature-title {
  font-family: Georgia, "Times New Roman", Times, serif;
  color: #111;
}

.newspaper-headline-title {
  display: block;
  font-size: 18px;
  line-height: 1.22;
  font-weight: 700;
  margin-top: 4px;
}

.newspaper-headline-copy {
  margin-top: 8px;
  color: #555;
  font-size: 14px;
  line-height: 1.55;
}

.newspaper-feature {
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(10,10,10,0.08);
}

.newspaper-feature-title {
  display: block;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 6px 0 10px;
}

.newspaper-feature-copy {
  max-width: 58ch;
  color: #4f4f4f;
  font-size: 15px;
  line-height: 1.65;
}

.newspaper-left {
  min-width: 0;
}

.newspaper-left-list {
  display: grid;
  gap: 0;
}

.newspaper-headline {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(10,10,10,0.08);
}

.newspaper-headline:last-child {
  border-bottom: 0;
}

.newspaper-left {
  min-width: 0;
}

.newspaper-left-list {
  display: grid;
  gap: 0;
}

.newspaper-center {
  min-width: 0;
  padding: 0 0.85rem;
  border-left: 1px solid rgba(10,10,10,0.08);
  border-right: 1px solid rgba(10,10,10,0.08);
}

.newspaper-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(10,10,10,0.08);
}

.newspaper-text-list {
  display: grid;
  gap: 0;
}

.newspaper-story {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(10,10,10,0.08);
}

.newspaper-story:last-child {
  border-bottom: 0;
}

.newspaper-story-title {
  display: block;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  margin-top: 4px;
}

.newspaper-story-copy {
  margin-top: 8px;
  color: #555;
  font-size: 13px;
  line-height: 1.6;
}

.newspaper-text-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(10,10,10,0.08);
}

.newspaper-text-link:last-child {
  border-bottom: 0;
}

.newspaper-text-title {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

.newspaper-text-meta {
  flex: 0 0 auto;
  font-size: 12px;
  color: #7a7a7a;
  white-space: nowrap;
}

.newspaper-sidebar {
  position: sticky;
  top: calc(var(--topbar-height) + 1rem);
  align-self: start;
  padding-left: 0.85rem;
}

.newspaper-sidebar-list {
  display: grid;
  gap: 0;
}

.newspaper-sidebar-item {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(10,10,10,0.08);
}

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

.newspaper-sidebar-title {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
  color: #111;
}

.newspaper-sidebar-meta {
  font-size: 12px;
  color: #7a7a7a;
}

.page-sections {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  padding: 0 0 1.25rem;
}

.page-section {
  padding: 0 0 1rem;
  border-bottom: 1px solid rgba(10,10,10,0.08);
}

.page-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-section .section-header {
  margin-bottom: 0.85rem;
}

.section-empty {
  color: #777;
  font-size: 14px;
  padding: 0.25rem 0 0.5rem;
}

.section-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.75fr);
  gap: 1rem;
  align-items: start;
}

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

.hero-story-body {
  padding: 0.35rem 0 0;
}

.hero-story-title,
.hero-story-item-title {
  display: block;
  font-family: Georgia, "Times New Roman", Times, serif;
  color: #111;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-story-title {
  margin-top: 6px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.03;
}

.hero-story-copy {
  margin-top: 10px;
  color: #4f4f4f;
  font-size: 15px;
  line-height: 1.65;
  max-width: 60ch;
}

.hero-story-list {
  display: grid;
  gap: 0;
  border-left: 1px solid rgba(10,10,10,0.08);
  padding-left: 0.85rem;
}

.hero-story-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(10,10,10,0.08);
}

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

.hero-story-item-title {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.25;
}

.section-grid-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.editorial-card {
  min-width: 0;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(10,10,10,0.08);
}

.editorial-card-body {
  padding-top: 0.45rem;
}

.editorial-card-title {
  display: block;
  margin-top: 6px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.18;
  font-weight: 700;
  color: #111;
}

.editorial-card-copy {
  margin-top: 8px;
  color: #555;
  font-size: 14px;
  line-height: 1.55;
}

.section-sidebar-layout,
.section-list-layout {
  display: grid;
  gap: 0;
}

.page-section--sidebar .newspaper-sidebar-item {
  padding: 0.75rem 0;
}

.page-section--list .newspaper-text-link {
  padding: 0.75rem 0;
}

.media-box, .img-box, .nc-img, .video-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 14px;
}
.img-box, .nc-img { aspect-ratio: 4 / 3; }
.video-box { background: #fff; }
.media-box img, .img-box img, .nc-img img, .video-box video, .video-box iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.video-stack { display: grid; gap: 12px; margin-bottom: 14px; }
.video-poster-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #fff;
}
.video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sidebar-item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(10,10,10,0.08);
}
.sidebar-item:last-child { border-bottom: 0; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--black);
}

.article-list, .admin-list, .book-list, .profile-list {
  display: grid;
  gap: 1rem;
}

.card, .panel-card, .auth-card, .legal-card, .profile-card {
  background: var(--panel);
  border: 1px solid rgba(10,10,10,0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(10,10,10,0.05);
}
.panel-card, .auth-card, .legal-card, .profile-card { box-shadow: none; }
.panel-card { padding: 1.25rem; }

.article-card { border-top: 1px solid var(--line); padding-top: 1rem; }

.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge.published { background: #e8f5e8; color: #2a6a2a; }
.badge.draft { background: #e8e8e8; color: #555; }
.badge.video { background: #eeebf8; color: #4a3a90; }
.badge.photo { background: #fef3e2; color: #8a5a00; }
.badge.saved { background: #e8f5e8; color: #2a6a2a; }
.badge.system { background: #eaf3ff; color: #24518f; }
.badge.warning { background: #fff1e8; color: #9b4b10; }
.badge.info { background: #e8f5f3; color: #1f6d67; }

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 1120px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(34,2,2,0.98), rgba(18,1,1,0.96));
  color: #fafafa;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow);
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
}
.cookie-banner-copy { max-width: 760px; }
.cookie-banner p { color: rgba(255,255,255,0.72); max-width: 860px; }
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner .btn-outline {
  color: #fafafa;
  border-color: rgba(255,255,255,0.22);
}
.cookie-banner .btn-outline:hover {
  border-color: rgba(255,255,255,0.36);
  background: rgba(255,255,255,0.06);
}
.cookie-banner .btn {
  background: #fafafa;
  color: var(--burgundy-900);
}
.cookie-banner .btn-ghost {
  color: #fafafa;
}

.footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 2rem 0 0;
  padding: 1.5rem 0 3.5rem;
  color: rgba(255,255,255,0.72);
  background:
    linear-gradient(180deg, rgba(7,22,47,0.98), rgba(6,20,42,0.98)),
    radial-gradient(circle at top center, rgba(31,110,212,0.06), transparent 62%);
  min-height: 220px;
  width: 100%;
  border-radius: 0;
  box-shadow: 0 18px 40px rgba(0,0,0,0.16);
}
.footer-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.25fr 1fr 1fr 1fr 1fr;
  align-items: start;
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 2rem;
}
.footer-grid > div {
  background: rgba(6,20,42,0.72);
}
.footer .footer-kicker,
.footer .section-title,
.footer p,
.footer span,
.footer small,
.footer a {
  color: rgba(236,229,218,0.88);
  text-shadow: 0 1px 0 rgba(255,255,255,0.08);
}
.footer .footer-kicker,
.footer .section-title {
  font-weight: 600;
  background-image: linear-gradient(180deg, #ffffff 0%, var(--silver-100) 18%, var(--silver-200) 34%, var(--silver-500) 52%, var(--silver-300) 78%, #ffffff 100%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: var(--silver-100);
  text-shadow:
    0 1px 0 rgba(255,255,255,0.24),
    0 0 1px rgba(0,0,0,0.42);
}
.footer a:hover { color: #fff; }

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .logo,
  .nav-cats a,
  .nav-cats button,
  .ticker strong,
  .ticker span,
  .footer .footer-kicker,
  .footer .section-title {
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.messages-list {
  max-height: 520px;
  overflow-y: auto;
  overflow-x: auto;
}
.messages-list table {
  min-width: 920px;
}

.products-page .page-hero--products {
  padding-bottom: 1rem;
}

.products-page .page-hero--products .page-meta {
  margin-bottom: 0;
}

.product-grid {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.product-card {
  background: var(--panel);
  border: 1px solid rgba(10,10,10,0.08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(10,10,10,0.05);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-media {
  display: block;
  aspect-ratio: 4 / 3;
  background: #f2f2f2;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-body {
  padding: 1rem 1rem 1.1rem;
  display: grid;
  gap: 12px;
}

.product-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.product-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
}

.product-summary {
  margin-top: 6px;
  color: #555;
  font-size: 13px;
  line-height: 1.6;
}

.product-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.product-price {
  font-size: 16px;
  font-weight: 700;
  color: #111;
}

.product-shell {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 2rem;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 360px);
  gap: 0.9rem;
  align-items: start;
}

.product-detail-card,
.product-checkout-card {
  background: var(--panel);
  border: 1px solid rgba(10,10,10,0.08);
  border-radius: 20px;
  padding: 1.15rem;
  box-shadow: 0 10px 32px rgba(10,10,10,0.05);
}

.product-checkout-card {
  position: sticky;
  top: calc(var(--topbar-height) + 1rem);
}

.product-detail-title {
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.03;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: #111;
}

.product-price-line {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #111;
}

.product-hero-image {
  margin: 1rem 0 0;
  border-radius: 18px;
  overflow: hidden;
  background: #f2f2f2;
  aspect-ratio: 16 / 10;
}

.product-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-lead {
  margin-top: 1rem;
  color: #555;
  font-size: 15px;
  line-height: 1.65;
}

.product-description {
  margin-top: 1rem;
  color: #333;
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
}

.product-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.product-info-grid .info-card {
  padding: 0.85rem;
  border: 1px solid rgba(10,10,10,0.08);
  border-radius: 16px;
  background: #fafafa;
}

.product-checkout-form .field label {
  color: #555;
}

.product-checkout-form .checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0.25rem 0 0.9rem;
  padding: 12px 14px;
  border: 1px solid rgba(10,10,10,0.08);
  border-radius: 14px;
  background: #fafafa;
  font-size: 13px;
  line-height: 1.45;
  color: #333;
}

.product-checkout-form .checkbox-pill {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  gap: 10px;
  position: relative;
  cursor: pointer;
}

.product-checkout-form .checkbox-row input {
  margin-top: 0;
  flex: 0 0 auto;
}

.product-checkout-form .checkbox-pill input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--burgundy-600);
  flex: 0 0 auto;
}

.product-checkout-form .checkbox-pill .checkbox-pill-label {
  flex: 1 1 auto;
  display: block;
  margin-top: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #333;
}

.auth-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(31,110,212,0.16) 0, rgba(7,22,47,0.96) 58%, rgba(6,20,42,1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.auth-card {
  width: 440px;
  max-width: 100%;
  background: #fafafa;
  padding: 2.5rem;
}
.auth-card .btn-outline {
  color: #111;
  border-color: var(--soft2);
}
.auth-title { font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.auth-sub { font-size: 12px; color: #888; margin-bottom: 1.5rem; line-height: 1.5; }

.captcha-widget {
  margin-top: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(16, 24, 40, 0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(249,250,252,0.98));
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}

.captcha-shell {
  position: relative;
  z-index: 1;
  padding: 14px;
  display: grid;
  gap: 12px;
}

.captcha-copy {
  display: grid;
  gap: 4px;
}

.captcha-kicker {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6f7f93;
}

.captcha-title {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
}

.captcha-title strong {
  color: #1f6ed4;
}

.captcha-board {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: #ffffff;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72), 0 1px 2px rgba(15, 23, 42, 0.04);
}

.captcha-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 280 / 64;
  background: transparent;
}

.captcha-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
}

.captcha-input-field {
  margin: 0;
}

.captcha-input-field .captcha-input,
.captcha-input-field input {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #fff;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  padding: 0.75rem 0.9rem;
}

.captcha-input-field .captcha-input::placeholder {
  color: #94a3b8;
}

.captcha-refresh-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #fff;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.captcha-refresh-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.captcha-verify-btn {
  margin-top: 2px;
  width: 100%;
  justify-content: center;
  min-height: 44px;
}

.captcha-status {
  min-height: 18px;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.5;
  color: #64748b;
}

.captcha-widget.is-loading .captcha-board {
  opacity: 0.84;
}

.captcha-widget.is-success {
  border-color: rgba(34, 197, 94, 0.24);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(34, 197, 94, 0.12);
}

.captcha-widget.is-error {
  animation: captcha-shake 0.45s ease-in-out;
  border-color: rgba(239, 68, 68, 0.24);
}

.captcha-widget.is-success .captcha-status {
  color: #15803d;
}

.captcha-widget.is-error .captcha-status {
  color: #dc2626;
}

.captcha-widget.is-success .captcha-board {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72), 0 1px 2px rgba(15, 23, 42, 0.04);
  border-color: rgba(34, 197, 94, 0.26);
}

.tabs { display: flex; margin-bottom: 1.25rem; border: 1px solid var(--soft2); }
.tab {
  flex: 1;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: #555;
  font-size: 13px;
  font-weight: 600;
}
.tab.active { background: linear-gradient(180deg, var(--burgundy-600), var(--burgundy-900)); color: #fafafa; }
.field { margin-bottom: 1rem; }
.field label, .admin-form label { display: block; font-size: 11px; font-weight: 600; color: #555; letter-spacing: 0.3px; text-transform: uppercase; margin-bottom: 6px; }
.field input, .field textarea, .field select, .admin-form input, .admin-form textarea, .admin-form select {
  width: 100%;
  border: 1px solid var(--soft2);
  background: #fafafa;
  color: var(--black);
  font-size: 14px;
  padding: 9px 12px;
  outline: none;
}
.field textarea, .admin-form textarea { min-height: 120px; resize: vertical; }
.error {
  font-size: 12px;
  color: #c44;
  margin-bottom: 1rem;
  padding: 8px 12px;
  background: #fff0f0;
  border: 1px solid #f5c0c0;
}
.hint { font-size: 11px; color: #888; text-align: center; margin-top: 1rem; line-height: 1.5; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1.5rem;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 14px;
  font-weight: 600;
}

.admin-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
  background: linear-gradient(180deg, #f7f4ee 0%, #efebe3 100%);
}
.sidebar {
  background:
    linear-gradient(180deg, rgba(7,22,47,0.98), rgba(6,20,42,0.98)),
    radial-gradient(circle at top, rgba(31,110,212,0.08), transparent 62%);
  color: #fafafa;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0;
}
.sidebar-head {
  padding: 0 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1rem;
}
.side-nav button, .side-nav a {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 1.25rem;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
}
.side-nav .active { background: rgba(31,110,212,0.16); color: #fafafa; font-weight: 600; }
.sidebar-footer { margin-top: auto; padding: 0 1.25rem; display: flex; flex-direction: column; gap: 8px; }

.main { padding: 2rem; overflow-y: auto; }
.main,
.panel-card,
.table-card,
.stat-card {
  min-width: 0;
}
.mobile-search-cta {
  display: none;
}
.mobile-category-strip {
  display: none;
}
.admin-page .main {
  background: linear-gradient(180deg, #dfd5c0 0%, #d2c5ad 100%);
}
.admin-page .main.main--settings {
  background:
    linear-gradient(180deg, rgba(6,14,27,0.98), rgba(7,20,42,0.96)),
    radial-gradient(circle at top right, rgba(31,110,212,0.09), transparent 55%);
}
.admin-page .top-row .page-title-sm {
  color: #0b1730;
}
.admin-page .panel-card,
.admin-page .table-card,
.admin-page .stat-card {
  background: rgba(242, 233, 217, 1);
  border-color: rgba(10, 10, 10, 0.16);
  box-shadow: 0 14px 36px rgba(13, 22, 40, 0.12);
}
.admin-page .split,
.admin-page .form-grid,
.admin-page .category-list,
.admin-page .menu-category-list,
.admin-page .page-section-list {
  background: transparent;
}
.admin-page .panel-card {
  color: #13213a;
}
.admin-page .section-title,
.admin-page .field label,
.admin-page .admin-form label {
  color: #39465f;
}
.admin-page .field input,
.admin-page .field textarea,
.admin-page .field select,
.admin-page .admin-form input,
.admin-page .admin-form textarea,
.admin-page .admin-form select {
  background: rgba(255, 255, 255, 0.96);
  color: #0a0a0a;
  border-color: rgba(10, 10, 10, 0.12);
}
.admin-page .panel-card .section-title {
  color: #122033;
}
.admin-page .panel-card .field input,
.admin-page .panel-card .field textarea,
.admin-page .panel-card .field select,
.admin-page .panel-card .admin-form input,
.admin-page .panel-card .admin-form textarea,
.admin-page .panel-card .admin-form select {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
.admin-page .panel-card .field input:focus,
.admin-page .panel-card .field textarea:focus,
.admin-page .panel-card .field select:focus,
.admin-page .panel-card .admin-form input:focus,
.admin-page .panel-card .admin-form textarea:focus,
.admin-page .panel-card .admin-form select:focus {
  border-color: rgba(20, 70, 160, 0.38);
  box-shadow: 0 0 0 3px rgba(31,110,212,0.12);
}
.admin-page .hint {
  color: #667085;
}
.admin-page .btn-outline {
  color: #0a0a0a;
  border-color: rgba(10, 10, 10, 0.16);
}
.admin-page .btn-ghost {
  color: #0a0a0a;
}
.admin-page .error {
  color: #8c1d25;
  background: rgba(255, 236, 236, 0.98);
  border-color: rgba(140, 29, 37, 0.24);
  box-shadow: 0 8px 20px rgba(140, 29, 37, 0.08);
}
.admin-page .settings-page {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(8,16,31,0.98), rgba(7,20,42,0.95)),
    radial-gradient(circle at top right, rgba(31,110,212,0.10), transparent 58%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 46px rgba(7, 20, 42, 0.22);
}
.admin-page .settings-page .top-row {
  margin-bottom: 0.5rem;
}
.admin-page .settings-page .page-title-sm {
  color: #f4f7ff;
}
.admin-page .settings-page .hint {
  color: rgba(230,235,245,0.68);
}
.admin-page .settings-page .panel-card,
.admin-page .settings-page .table-card,
.admin-page .settings-page .stat-card {
  background: linear-gradient(180deg, rgba(8,16,31,0.96), rgba(7,20,42,0.93));
  border-color: rgba(255,255,255,0.08);
  color: #f4f7ff;
  box-shadow: 0 16px 34px rgba(7, 20, 42, 0.18);
}
.admin-page .main.main--settings .panel-card,
.admin-page .main.main--settings .table-card,
.admin-page .main.main--settings .stat-card {
  background: linear-gradient(180deg, rgba(8,16,31,0.97), rgba(7,20,42,0.94));
  border-color: rgba(255,255,255,0.08);
  color: #f4f7ff;
}
.settings-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.settings-overview .stat-card {
  background: linear-gradient(180deg, rgba(8,16,31,0.96), rgba(7,20,42,0.92));
  border-color: rgba(255,255,255,0.08);
  color: #f4f7ff;
  box-shadow: 0 16px 34px rgba(7, 20, 42, 0.18);
}
.settings-overview .stat-label {
  color: rgba(244,247,255,0.64);
}
.settings-overview .stat-value {
  color: #f4f7ff;
}
.settings-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1rem;
}
.settings-quicklinks a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(8,16,31,0.88);
  color: #f4f7ff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.1px;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}
.settings-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: linear-gradient(180deg, rgba(8,16,31,0.96), rgba(7,20,42,0.93));
  border-color: rgba(255,255,255,0.08);
  color: #f4f7ff;
  box-shadow: 0 16px 34px rgba(7, 20, 42, 0.18);
}
.settings-card--wide {
  grid-column: 1 / -1;
}
.settings-card .admin-form {
  margin-top: 0.9rem;
}
.settings-card .section-title + .hint {
  margin-top: 0.4rem;
}
.settings-debug {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 1rem;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
}
.settings-debug div {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
}
.settings-debug strong {
  font-size: 11px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: rgba(244,247,255,0.58);
}
.settings-debug span {
  color: #f4f7ff;
  font-size: 13px;
  word-break: break-word;
}
.settings-card .section-title,
.settings-card .field label,
.settings-card .admin-form label {
  color: rgba(244,247,255,0.82);
}
.settings-card .hint {
  color: rgba(230,235,245,0.68);
}
.settings-card .field input,
.settings-card .field textarea,
.settings-card .field select,
.settings-card .admin-form input,
.settings-card .admin-form textarea,
.settings-card .admin-form select {
  background: rgba(255,255,255,0.96);
  color: #0a0a0a;
  border-color: rgba(255,255,255,0.14);
}
.admin-page .settings-page .settings-card .field input,
.admin-page .settings-page .settings-card .field textarea,
.admin-page .settings-page .settings-card .field select,
.admin-page .settings-page .settings-card .admin-form input,
.admin-page .settings-page .settings-card .admin-form textarea,
.admin-page .settings-page .settings-card .admin-form select {
  background: rgba(255,255,255,0.06);
  color: #f4f7ff;
  border-color: rgba(255,255,255,0.12);
  box-shadow: none;
}
.admin-page .settings-page .settings-card .field input::placeholder,
.admin-page .settings-page .settings-card .field textarea::placeholder,
.admin-page .settings-page .settings-card .admin-form input::placeholder,
.admin-page .settings-page .settings-card .admin-form textarea::placeholder {
  color: rgba(230,235,245,0.4);
}
.admin-page .settings-page .settings-card .field input:focus,
.admin-page .settings-page .settings-card .field textarea:focus,
.admin-page .settings-page .settings-card .field select:focus,
.admin-page .settings-page .settings-card .admin-form input:focus,
.admin-page .settings-page .settings-card .admin-form textarea:focus,
.admin-page .settings-page .settings-card .admin-form select:focus {
  border-color: rgba(120, 170, 255, 0.34);
  box-shadow: 0 0 0 3px rgba(31,110,212,0.10);
}
.settings-card .category-row,
.settings-card .page-section-row,
.settings-card .menu-category-row {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
.admin-page .settings-page .settings-card .category-row,
.admin-page .settings-page .settings-card .page-section-row,
.admin-page .settings-page .settings-card .menu-category-row {
  background: rgba(255,255,255,0.03);
}
.settings-card .btn-outline {
  color: #f4f7ff;
  border-color: rgba(255,255,255,0.18);
}
.settings-card .btn-ghost {
  color: #f4f7ff;
}
.page-title-sm { font-size: 20px; font-weight: 600; color: var(--black); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 2rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.stat-card { background: #fafafa; border: 1px solid var(--line); padding: 1.25rem; }
.stat-label { font-size: 11px; color: #888; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 8px; }
.stat-value { font-size: 26px; font-weight: 600; }
.table-card { background: #fafafa; border: 1px solid var(--line); overflow: hidden; }
.table-head { padding: 1rem 1.5rem; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.table-scroll {
  max-height: min(70vh, 760px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.table-scroll thead th {
  position: sticky;
  top: 0;
  background: rgba(242, 233, 217, 1);
  z-index: 1;
}
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; padding: 10px 1.5rem; font-size: 11px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: #888; border-bottom: 1px solid var(--line); }
td { padding: 12px 1.5rem; border-bottom: 1px solid var(--line); color: var(--black); vertical-align: middle; }

.form-grid { display: grid; gap: 1rem; }
.split { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.split-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1rem; }
.category-list { display: grid; gap: 1rem; margin-bottom: 1rem; }
.category-row {
  border: 1px solid rgba(10,10,10,0.08);
  background: rgba(250,250,250,0.72);
  border-radius: 18px;
  padding: 1rem;
}
.menu-category-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.menu-category-row {
  border: 1px solid rgba(10,10,10,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(246,243,237,0.9));
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(10,10,10,0.04);
}
.page-section-list {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}
.page-section-row {
  border: 1px solid rgba(10,10,10,0.08);
  background: rgba(250,250,250,0.72);
  border-radius: 18px;
  padding: 1rem;
}
.form-section {
  margin: 0 0 1rem;
  padding: 0.25rem 0 1rem;
  border-bottom: 1px solid rgba(10,10,10,0.08);
}
.form-section:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}
.form-section > summary {
  list-style: none;
}
.form-section > summary::-webkit-details-marker {
  display: none;
}
.form-section > summary::after {
  content: '+';
  float: right;
  color: #777;
}
.form-section[open] > summary::after {
  content: '−';
}
.menu-backdrop {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--topbar-height);
  bottom: 0;
  background: rgba(6,20,42,0.48);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 41;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease-out, visibility .25s ease-out;
}
.menu-panel {
  position: fixed;
  top: var(--topbar-height);
  left: 16px;
  width: min(70vw, 520px);
  height: calc(100vh - var(--topbar-height));
  max-height: calc(100vh - var(--topbar-height));
  overflow: auto;
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
  background:
    linear-gradient(180deg, rgba(7,22,47,0.98), rgba(6,20,42,0.96)),
    radial-gradient(circle at top, rgba(31,110,212,0.08), transparent 62%);
  color: #fafafa;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom-right-radius: 22px;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  box-shadow: 0 28px 70px rgba(0,0,0,0.44);
  z-index: 42;
  opacity: 0;
  transform: translateY(-12px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease-out, transform .25s ease-out, visibility .25s ease-out;
}
.menu-panel.is-open,
.menu-backdrop.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.menu-panel.is-open { transform: translateY(0); }
.menu-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.menu-panel .section-title { color: rgba(255,255,255,0.72); }
.menu-panel .btn-ghost { color: #fafafa; }
.menu-panel-links { display: grid; gap: 0; }
.menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  border-radius: 0;
  background: transparent;
  color: #fafafa;
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: -0.15px;
}
.menu-link:hover {
  transform: translateX(2px);
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.18);
}
.menu-link.home, .menu-link.search { background: rgba(31,110,212,0.08); color: #fafafa; }
.menu-link-count { color: inherit; opacity: 0.6; font-size: 12px; }
.menu-empty { padding: 14px 4px; border-bottom: 1px dashed rgba(255,255,255,0.18); color: rgba(255,255,255,0.72); font-size: 13px; background: transparent; }

.footer-grid > div:first-child {
  max-width: 720px;
  background: rgba(6,20,42,0.72);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

.footer-grid > div:first-child .footer-kicker {
  color: #d0cdc5;
  margin-bottom: 10px;
}

.footer-grid > div:first-child p {
  max-width: 64ch;
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
}

.footer-grid > div:first-child a {
  color: rgba(255,255,255,0.82);
}

.legal-shell, .profile-shell, .books-shell {
  min-height: 100vh;
  background: linear-gradient(180deg, #f8f6f0 0%, #efeae1 100%);
  color: #111;
}
.center-wrap { max-width: 980px; margin: 0 auto; padding: 2rem 1.25rem 4rem; }
.legal-card, .profile-card, .books-card { padding: 2rem; }
.legal-card h1, .profile-card h1, .books-card h1 { margin: 0; font-size: 32px; line-height: 1.2; letter-spacing: -0.5px; }
.body-copy { margin-top: 1.25rem; line-height: 1.9; font-size: 16px; }
.profile-head, .book-head { display: flex; align-items: center; gap: 12px; padding-bottom: 1rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }

@media (max-width: 1024px) {
  .hero-grid, .footer-grid, .stats, .admin-shell { grid-template-columns: 1fr; }
  .hero-main { border-right: 0; padding-right: 0; }
  .topbar { padding: 0 1rem; }
  .page-hero, .hero-rail, .category-rail { width: calc(100% - 1rem); padding-left: 1rem; padding-right: 1rem; }
  .footer { width: 100%; padding-left: 0; padding-right: 0; }
  .app-shell main > section { width: min(1200px, calc(100% - 1rem)); }
  .product-grid,
  .product-layout {
    grid-template-columns: 1fr;
  }
  .product-shell {
    width: calc(100% - 1rem);
  }
  .product-checkout-card {
    position: static;
  }
  .main { padding: 1rem; }
  .admin-shell {
    display: block;
  }
  .sidebar {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 0.75rem 0 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .sidebar-head {
    padding: 0 1rem 0.85rem;
    margin-bottom: 0.75rem;
  }
  .side-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 1rem 0.85rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .side-nav::-webkit-scrollbar { display: none; }
  .side-nav button, .side-nav a {
    width: auto;
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 10px 14px;
    border-radius: 999px;
  }
  .sidebar-footer {
    flex-direction: row;
    gap: 10px;
    padding: 0 1rem 0.85rem;
  }
  .sidebar-footer .btn-outline,
  .sidebar-footer button {
    flex: 1 1 0;
  }
  .split, .split-3 { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .newspaper-layout { grid-template-columns: 1fr; }
  .newspaper-center,
  .newspaper-sidebar {
    padding-left: 0;
    border-left: 0;
    border-right: 0;
    border-top: 1px solid rgba(10,10,10,0.08);
    padding-top: 1rem;
  }
  .newspaper-sidebar {
    position: static;
  }
  .page-sections { width: calc(100% - 1rem); }
  .section-hero-layout { grid-template-columns: 1fr; }
  .hero-story-list { border-left: 0; padding-left: 0; border-top: 1px solid rgba(10,10,10,0.08); margin-top: 0.75rem; }
  .section-grid-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .topbar {
    align-items: flex-start;
    gap: 0.35rem;
    padding-top: 0.55rem;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    flex-wrap: wrap;
    overflow: visible;
    border-bottom: 0;
  }
  .nav-cats { display: none; }
  .ticker { display: none; }
  .brand {
    width: 100%;
    flex: 1 1 100%;
    justify-content: center;
    gap: 8px;
    position: relative;
    padding-left: 1rem;
    padding-right: 1rem;
    min-height: 58px;
  }
  .brand-center {
    flex: 0 1 auto;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    margin: 0 auto;
  }
  .brand-mark {
    display: inline-flex;
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
  }
  .brand-text {
    flex: 1 1 auto;
    min-width: 0;
    align-items: center;
    text-align: center;
    max-width: min(72vw, 340px);
  }
  .menu-toggle {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
  }
  .logo {
    font-size: clamp(20px, 5.3vw, 29px);
    line-height: 1;
    white-space: nowrap;
  }
  .tagline { display: none; }
  .support-cta {
    padding-left: 12px;
    padding-right: 12px;
    font-size: 12px;
  }
  .mobile-search-cta {
    display: inline-flex;
    width: 64px;
    height: 58px;
    padding: 0;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: 0;
    color: #fafafa;
  }
  .mobile-search-text { display: none; }
  .mobile-search-divider {
    display: inline-block;
    width: 1px;
    height: 58px;
    background: rgba(255,255,255,0.18);
  }
  .mobile-search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
  }
  .mobile-search-icon svg {
    width: 30px;
    height: 30px;
  }
  .mobile-search-divider {
    display: inline-block;
    width: 1px;
    height: 52px;
    background: rgba(255,255,255,0.18);
  }
  .desktop-actions { display: none !important; }
  .mobile-actions-card {
    display: none;
  }
  .mobile-category-strip {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100vw;
    margin: -1px calc(50% - 50vw) 0;
    padding: 0.55rem 0.9rem 0.56rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: #050505;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    z-index: 62;
    flex-basis: 100%;
  }
  .mobile-category-strip.is-hidden {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
  }
  .mobile-category-strip::-webkit-scrollbar { display: none; }
  .mobile-category-strip a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: rgba(255,255,255,0.95);
    background: transparent;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    position: relative;
  }
  .mobile-category-strip a.active {
    color: #fff;
  }
  .mobile-category-strip a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    height: 5px;
    background: #fff;
  }
  .mobile-bottom-actions {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 240;
    transition: transform 0.25s ease, opacity 0.25s ease;
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
    background: rgba(20,20,20,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.18);
  }
  .mobile-bottom-actions.is-hidden {
    opacity: 0;
    transform: translateY(120%);
    pointer-events: none;
  }
  .mobile-actions-card-fixed {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 12px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .mobile-bottom-actions-row {
    display: flex;
    gap: 12px;
    width: 100%;
  }
  .support-cta-full { display: none; }
  .support-cta-compact { display: inline; }
  .mobile-support-cta {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.26);
    color: #fafafa;
    flex: 1 1 0;
  }
  .mobile-signin-cta {
    background: linear-gradient(180deg, var(--burgundy-600), var(--burgundy-900));
    border: 1px solid rgba(255,255,255,0.10);
    color: #fff;
    flex: 1 1 0;
  }
  .mobile-bottom-actions .btn-outline,
  .mobile-bottom-actions .profile-pill {
    height: 54px;
    min-width: 0;
    width: 100%;
  }
  .mobile-bottom-actions .btn-outline {
    padding-left: 14px;
    padding-right: 14px;
  }
  .mobile-bottom-actions .profile-pill {
    flex: 1 1 0;
  }
  .ticker {
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 11px;
  }
  .ticker-track, .ticker-group { gap: 1.5rem; }
  .ticker-item { gap: 0.75rem; padding-right: 0.5rem; }
  .hero-rail, .category-rail, .page-hero { padding: 1.1rem; }
  .app-shell main { padding-bottom: 8rem; }
  .page-title { font-size: 26px; }
  .hero-title { font-size: 22px; }
  .page-copy, .hero-sub { font-size: 14px; }
  .news-grid { grid-template-columns: 1fr; gap: 1rem; }
  .footer {
    width: 100%;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .newspaper-mini-grid {
    grid-template-columns: 1fr;
  }
  .newspaper-story {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .newspaper-story-title {
    font-size: 17px;
  }
  .newspaper-feature-title {
    font-size: 28px;
  }
  .page-sections { width: calc(100% - 0.75rem); }
  .hero-story-item { grid-template-columns: 1fr; }
  .product-grid {
    width: calc(100% - 0.75rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }
  .product-info-grid {
    grid-template-columns: 1fr;
  }
  .product-card-body {
    padding: 0.85rem 0.78rem 0.9rem;
    gap: 10px;
  }
  .product-card-head {
    gap: 8px;
  }
  .product-title {
    font-size: 15px;
    line-height: 1.25;
  }
  .product-summary {
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.45;
  }
  .product-price {
    font-size: 13px;
  }
  .product-card .badge {
    font-size: 9px;
    padding: 3px 6px;
  }
  .product-detail-card,
  .product-checkout-card {
    padding: 1.25rem;
  }
  .product-checkout-card {
    position: static;
  }
  .product-detail-title {
    font-size: 30px;
  }
  .search-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .search-actions > * {
    width: 100%;
  }
  .page-hero form .split {
    grid-template-columns: 1fr;
  }
  .page-hero form .split .field {
    width: 100%;
  }
  .cookie-banner {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
    padding: 0.9rem;
  }
  .cookie-banner-actions {
    width: 100%;
  }
  .cookie-banner-actions .btn,
  .cookie-banner-actions .btn-outline,
  .cookie-banner-actions .btn-ghost {
    width: 100%;
  }
  .auth-shell { padding: 1rem; }
  .auth-card { padding: 1.25rem; }
  .captcha-shell { padding: 12px; gap: 10px; }
  .captcha-entry {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }
  .captcha-input-field .captcha-input {
    min-height: 44px;
  }
  .captcha-refresh-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
  .captcha-verify-btn {
    min-height: 44px;
  }
  .legal-card, .profile-card, .books-card { padding: 1.25rem; }
  .center-wrap { padding-left: 1rem; padding-right: 1rem; }
  .main { padding: 1rem; }
  .table-head, th, td { padding-left: 1rem; padding-right: 1rem; }
  table { font-size: 12px; }
  .stats { gap: 0.75rem; }
  .settings-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .settings-card--wide {
    grid-column: auto;
  }
  .menu-panel {
    left: 0;
    right: auto;
    width: min(82vw, 360px);
    height: calc(100vh - var(--topbar-height));
    max-height: calc(100vh - var(--topbar-height));
    border-radius: 0 0 20px 20px;
    transform: translateY(-10px);
  }
  .menu-panel.is-open { transform: translateY(0); }
}

@media (max-width: 560px) {
  .topbar { padding-left: 0; padding-right: 0; overflow: visible; }
  .topbar { border-bottom: 0; }
  .ticker { display: none; }
  .brand {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    min-height: 54px;
  }
  .brand-center {
    gap: 7px;
  }
  .brand-mark { width: 52px; height: 52px; }
  .brand-text { max-width: min(70vw, 265px); }
  .logo { font-size: clamp(19px, 5.0vw, 25px); }
  .tagline { display: none; }
  .product-grid {
    width: calc(100% - 0.5rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }
  .product-card {
    border-radius: 16px;
  }
  .product-media {
    aspect-ratio: 1 / 1;
  }
  .product-card-body {
    padding: 0.72rem 0.65rem 0.78rem;
    gap: 8px;
  }
  .product-title {
    font-size: 14px;
  }
  .product-summary {
    font-size: 10px;
    line-height: 1.35;
  }
  .product-price {
    font-size: 12px;
  }
  .product-card .badge {
    font-size: 8px;
    padding: 2px 5px;
  }
  .support-cta {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 11px;
  }
  .mobile-support-cta,
  .mobile-signin-cta {
    height: 50px;
  }
  .mobile-bottom-cats a {
    min-height: 32px;
    font-size: 11px;
    padding: 0 11px;
  }
  .mobile-search-cta {
    width: 60px;
    height: 54px;
  }
  .mobile-category-strip {
    width: 100vw;
    margin: -1px calc(50% - 50vw) 0;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .mobile-actions-card .btn-outline,
  .mobile-actions-card .profile-pill {
    height: 40px;
  }
  .mobile-actions-card .btn-outline {
    padding-left: 10px;
    padding-right: 10px;
  }
  .mobile-actions-card .profile-pill {
    width: 40px;
    flex-basis: 40px;
  }
  .page-hero, .hero-rail, .category-rail { width: calc(100% - 1rem); }
  .app-shell main > section { width: calc(100% - 1rem); border-radius: 18px; }
  .newspaper-layout {
    gap: 1rem;
  }
  .newspaper-feature-copy {
    font-size: 15px;
  }
  .page-title { font-size: 24px; }
  .article-page {
    width: calc(100% - 1rem);
    padding-top: 1rem;
  }
  .app-shell.news-layout main > section,
  .app-shell.news-layout .page-hero,
  .app-shell.news-layout .category-rail {
    width: 100%;
    border-radius: 0;
  }
  .app-shell main > section.article-page {
    width: calc(100% - 1rem);
  }
  .product-shell {
    width: calc(100% - 1rem);
  }
  .article-shell {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .article-main {
    max-width: none;
  }
  .article-page .article-title {
    font-size: 30px;
  }
  .article-summary {
    font-size: 16px;
  }
  .article-body {
    font-size: 16px;
    line-height: 1.72;
  }
  .article-hero-media {
    height: 240px;
    border-radius: 10px;
  }
  .article-related-grid {
    grid-template-columns: 1fr;
  }
  .article-recommended-item {
    grid-template-columns: 1fr;
  }
  .article-recommended-thumb {
    aspect-ratio: 16 / 9;
  }
  .article-sidebar {
    position: static;
  }
  .ai-grid {
    grid-template-columns: 1fr;
  }
  .section-header { margin-bottom: 1rem; }
  .hero-grid { gap: 1.25rem; }
  .hero-main { padding-right: 0; }
  .media-box, .img-box, .nc-img, .video-box, .video-poster-wrap { border-radius: 14px; }
  .panel-card, .card, .auth-card, .legal-card, .profile-card { border-radius: 16px; }
  .field input, .field textarea, .field select, .admin-form input, .admin-form textarea, .admin-form select {
    font-size: 16px;
  }
  .btn, .btn-outline, .btn-ghost, .btn-chip {
    min-height: 42px;
  }
  .footer { border-radius: 0; }
  .footer-grid > div { min-width: 0; }
  .cookie-banner-copy { max-width: none; }
  .menu-toggle { width: 40px; height: 40px; }
}
