﻿@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --arctic-0: #f5f9ff;
  --arctic-1: #eaf2ff;
  --blue: #0f66ff;
  --ink: #0f172a;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-border: rgba(255, 255, 255, 0.92);
  --text-main: #0f172a;
  --text-soft: #475569;
  --chip-bg: rgba(255, 255, 255, 0.8);
  --chip-border: rgba(15, 102, 255, 0.2);
  --footer-bg: rgba(255, 255, 255, 0.72);
  --footer-border: rgba(255, 255, 255, 0.92);
  --good: #10b981;
  --warn: #f59e0b;
  --bad: #ef4444;
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 102, 255, 0.4) transparent;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: linear-gradient(180deg, var(--arctic-1) 0%, var(--arctic-0) 45%, #f8fbff 100%);
  color: var(--text-main);
}

body.theme-dark {
  --surface: rgba(30, 32, 38, 0.84);
  --surface-border: rgba(115, 119, 130, 0.36);
  --text-main: #f3f4f6;
  --text-soft: #b9bec8;
  --chip-bg: rgba(37, 40, 47, 0.9);
  --chip-border: rgba(115, 119, 130, 0.38);
  --footer-bg: rgba(22, 24, 31, 0.9);
  --footer-border: rgba(115, 119, 130, 0.36);
  background: radial-gradient(circle at 15% -10%, #ffffff18 0%, transparent 34%),
    linear-gradient(180deg, #121317 0%, #181a20 50%, #1d2028 100%);
}

body.theme-racing {
  --surface: rgba(25, 25, 28, 0.88);
  --surface-border: rgba(248, 113, 113, 0.28);
  --text-main: #fff7ed;
  --text-soft: #fed7aa;
  --chip-bg: rgba(48, 29, 24, 0.86);
  --chip-border: rgba(251, 146, 60, 0.38);
  --footer-bg: rgba(22, 18, 17, 0.9);
  --footer-border: rgba(248, 113, 113, 0.28);
  background:
    linear-gradient(135deg, rgba(127, 29, 29, 0.32), transparent 35%),
    linear-gradient(180deg, #151316 0%, #211512 54%, #101014 100%);
}

.line-clamp-2,
.line-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  -webkit-line-clamp: 2;
}

.line-clamp-3 {
  -webkit-line-clamp: 3;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 10%, rgba(15, 102, 255, 0.16) 0%, rgba(15, 102, 255, 0) 38%),
    radial-gradient(circle at 88% 22%, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0) 30%),
    radial-gradient(circle at 45% 90%, rgba(56, 189, 248, 0.1) 0%, rgba(56, 189, 248, 0) 35%);
}

body.theme-dark .page-bg {
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 36%),
    radial-gradient(circle at 88% 22%, rgba(203, 213, 225, 0.1) 0%, rgba(203, 213, 225, 0) 30%);
}

body.theme-racing .page-bg {
  background:
    linear-gradient(110deg, transparent 0 42%, rgba(251, 146, 60, 0.13) 42% 46%, transparent 46% 100%),
    radial-gradient(circle at 84% 18%, rgba(239, 68, 68, 0.18) 0%, rgba(239, 68, 68, 0) 32%),
    radial-gradient(circle at 12% 78%, rgba(245, 158, 11, 0.14) 0%, rgba(245, 158, 11, 0) 30%);
}

.app-header {
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--surface-border);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 95%, transparent), color-mix(in srgb, var(--surface) 78%, transparent));
}

.header-stack {
  display: flex;
  flex-direction: column;
  gap: 0.78rem;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand-logo {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  object-fit: cover;
  border: 1px solid var(--surface-border);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.brand-kicker {
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.brand-title {
  color: var(--text-main);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.05;
}

.glass-chip {
  border: 1px solid var(--surface-border);
  background: var(--chip-bg);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  backdrop-filter: blur(8px);
}

.sync-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  flex: 0 0 auto;
  white-space: nowrap;
}

.controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.controls-right {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  color: var(--text-main);
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  font-size: 0.86rem;
  font-weight: 600;
  transition: all 0.28s ease;
}

.filter-icon,
.control-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.filter-icon svg,
.control-icon svg,
.sync-chip svg {
  width: 1rem;
  height: 1rem;
}

.filter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 102, 255, 0.16);
}

.filter-btn.active {
  background: linear-gradient(130deg, #0f66ff, #3b82f6);
  color: #fff;
  border-color: transparent;
}

body.theme-racing .filter-btn.active,
body.theme-racing .checkout-primary,
body.theme-racing .discount-row button {
  background: linear-gradient(130deg, #dc2626, #f97316);
}

.sort-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
}

.sort-wrap::before {
  content: "";
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  background: currentColor;
  color: var(--text-soft);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 18h6'/%3E%3Cpath d='M4 12h12'/%3E%3Cpath d='M4 6h16'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 18h6'/%3E%3Cpath d='M4 12h12'/%3E%3Cpath d='M4 6h16'/%3E%3C/svg%3E") center / contain no-repeat;
}

.sort-label {
  font-size: 0.78rem;
  color: var(--text-soft);
  letter-spacing: 0.03em;
}

.sort-select {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-main);
  font-size: 0.84rem;
  font-weight: 700;
}

.chip-btn {
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  color: var(--text-main);
  border-radius: 999px;
  min-height: 2.28rem;
  padding: 0.4rem 0.68rem;
  font-size: 0.78rem;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.chip-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 102, 255, 0.12);
  border-color: color-mix(in srgb, var(--chip-border) 55%, var(--blue) 45%);
}

.premium-control.locked {
  opacity: 0.82;
}

.premium-control .lock-mark {
  margin-left: 0.15rem;
  font-size: 0.72rem;
  color: #f59e0b;
}

.premium-control.unlocked .lock-mark {
  color: var(--good);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.icon-btn svg {
  width: 14px;
  height: 14px;
}

.news-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  box-shadow: 0 20px 35px rgba(18, 62, 120, 0.12);
  backdrop-filter: blur(10px);
}

.featured-shell {
  position: relative;
  border-radius: 1.2rem;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  overflow: hidden;
}

.premium-insight {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.insight-chip {
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  color: var(--text-main);
  border-radius: 0.75rem;
  padding: 0.42rem 0.68rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 17rem;
  max-height: 24rem;
}

.featured-media {
  background: linear-gradient(180deg, #dbe8ff, #f1f6ff);
}

body.theme-dark .featured-media {
  background: linear-gradient(180deg, #2f3340, #252933);
}

.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.featured-body {
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-body h2 {
  color: var(--text-main);
}

.featured-body p {
  color: var(--text-soft);
}

.headline-shell {
  border: 1px solid var(--surface-border);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  border-radius: 0.95rem;
  overflow: hidden;
}

.headline-track {
  display: flex;
  width: max-content;
  animation: headline-slide 34s linear infinite;
}

.headline-track:hover {
  animation-play-state: paused;
}

.headline-item {
  flex: 0 0 auto;
  border-right: 1px solid color-mix(in srgb, var(--surface-border) 88%, transparent);
  padding: 0.62rem 0.9rem;
  font-size: 0.82rem;
  color: var(--text-main);
  font-weight: 700;
  white-space: nowrap;
  background: transparent;
}

.headline-item:hover {
  background: color-mix(in srgb, var(--chip-bg) 75%, transparent);
}

@keyframes headline-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.card-image-wrap {
  position: relative;
  height: 13.5rem;
  overflow: hidden;
  background: linear-gradient(180deg, #dbe8ff, #f1f6ff);
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.card-readmore {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  border: 1px solid var(--surface-border);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--text-main) 80%, #2563eb 20%);
  opacity: 0;
  transform: translateY(10px);
}

.news-card:hover .card-readmore {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.28s ease;
}

.skeleton {
  border-radius: 1.2rem;
  min-height: 22rem;
  position: relative;
  overflow: hidden;
  background: #d8e5fb;
}

.skeleton::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(95deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  animation: shimmer 1.25s infinite;
}

.main-content {
  padding-bottom: 6.5rem;
}

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

.status-dot {
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 999px;
}

.status-good {
  background: var(--good);
}

.status-warn {
  background: var(--warn);
}

.status-bad {
  background: var(--bad);
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  padding: 0.35rem 0.7rem 0.55rem;
  pointer-events: none;
}

.footer-shell {
  border: 1px solid var(--footer-border);
  background: linear-gradient(180deg, color-mix(in srgb, var(--footer-bg) 92%, transparent), color-mix(in srgb, var(--footer-bg) 74%, transparent));
  border-radius: 0.95rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.16);
  padding: 0.45rem 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  pointer-events: auto;
}

#pulseBar {
  min-width: max-content;
}

.pulse-row {
  display: inline-flex;
  align-items: center;
}

.pulse-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--surface-border);
  padding: 0.4rem 0.7rem;
  color: var(--text-main);
  white-space: nowrap;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.pulse-chip:hover {
  transform: translateY(-1px);
  border-color: var(--chip-border);
}

.pulse-label-short {
  display: none;
}

.footer-links {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.77rem;
  padding: 0;
}

.footer-link {
  color: color-mix(in srgb, var(--text-main) 88%, #3b82f6 12%);
  text-decoration: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
}

.footer-muted {
  color: var(--text-soft);
  font-weight: 600;
}

.source-status-list {
  display: grid;
  gap: 0.75rem;
}

.source-status-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  border: 1px solid var(--surface-border);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  border-radius: 0.9rem;
  padding: 0.75rem;
}

.source-status-name {
  font-weight: 800;
}

.source-status-meta {
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.35;
}

.source-status-badge {
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.site-footer,
.site-footer .footer-link,
.site-footer #appVersion,
.site-footer .pulse-chip {
  color: var(--text-main);
}

.modal-card {
  border: 1px solid var(--surface-border);
  box-shadow: 0 26px 56px rgba(15, 23, 42, 0.26);
  background: linear-gradient(135deg, color-mix(in srgb, var(--surface) 97%, #ffffff 3%), color-mix(in srgb, var(--surface) 90%, #cbd5e1 10%));
  position: relative;
}

.modal-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 32%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.modal-image {
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
  background: linear-gradient(180deg, #dbe8ff, #f1f6ff);
  object-fit: contain;
  object-position: center top;
}

.modal-close {
  color: var(--text-main);
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0.62;
  transition: opacity 0.2s ease, color 0.2s ease;
  z-index: 2;
}

.modal-close:hover {
  opacity: 1;
  color: var(--blue);
}

.close-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.theme-dark .text-slate-600,
body.theme-dark .text-slate-700,
body.theme-dark .text-slate-500 {
  color: #d1d5db !important;
}

body.theme-dark h1,
body.theme-dark h2,
body.theme-dark h3 {
  color: #f3f4f6;
}

body.theme-dark .sort-select option {
  color: #111827;
}

body.theme-dark #lastSync,
body.theme-dark #appVersion,
body.theme-dark .footer-link,
body.theme-dark .pulse-chip,
body.theme-dark .glass-chip,
body.theme-dark .headline-item,
body.theme-dark .featured-body p,
body.theme-dark .featured-body h2 {
  color: #f3f4f6;
}

body.theme-dark .footer-muted {
  color: #d1d5db;
}

body.theme-dark .modal-card {
  background: linear-gradient(135deg, rgba(34, 37, 45, 0.95), rgba(28, 31, 39, 0.94));
}

body.theme-racing .modal-card {
  background: linear-gradient(135deg, rgba(38, 27, 24, 0.96), rgba(20, 19, 22, 0.95));
}

.shop-card,
.checkout-card {
  color: var(--text-main);
}

.shop-heading {
  padding-right: 2.2rem;
}

.shop-heading p,
.checkout-card p {
  color: var(--text-soft);
}

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

.shop-item {
  min-height: 12.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.9rem;
  border: 1px solid var(--surface-border);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border-radius: 0.95rem;
  padding: 1rem;
}

.shop-item-top {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.shop-icon,
.checkout-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: linear-gradient(135deg, rgba(15, 102, 255, 0.14), rgba(56, 189, 248, 0.2));
  border: 1px solid var(--chip-border);
  font-weight: 800;
}

.checkout-icon {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
}

.shop-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.shop-desc {
  margin-top: 0.35rem;
  color: var(--text-soft);
  font-size: 0.86rem;
  line-height: 1.45;
}

.shop-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  color: var(--text-main);
  padding: 0.38rem 0.72rem;
  font-weight: 800;
}

.shop-cta,
.checkout-primary,
.bottom-close-btn,
.discount-row button {
  border: 0;
  border-radius: 0.85rem;
  font-weight: 800;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.shop-cta,
.checkout-primary {
  background: linear-gradient(130deg, #0f66ff, #38bdf8);
  color: #fff;
  padding: 0.58rem 0.86rem;
}

.shop-cta:disabled,
.checkout-primary:disabled {
  background: var(--chip-bg);
  color: var(--text-soft);
  cursor: default;
}

.shop-cta:not(:disabled):hover,
.checkout-primary:not(:disabled):hover,
.discount-row button:hover,
.bottom-close-btn:hover {
  transform: translateY(-1px);
}

.discount-form {
  border: 1px solid var(--surface-border);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border-radius: 0.95rem;
  padding: 0.95rem;
}

.discount-form label {
  display: block;
  color: var(--text-main);
  font-weight: 800;
  font-size: 0.86rem;
  margin-bottom: 0.55rem;
}

.discount-row {
  display: flex;
  gap: 0.65rem;
}

.discount-row input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--chip-border);
  border-radius: 0.85rem;
  background: var(--chip-bg);
  color: var(--text-main);
  padding: 0.72rem 0.82rem;
  outline: 0;
}

.discount-row button {
  background: #0f66ff;
  color: #fff;
  padding: 0.72rem 1rem;
}

.discount-message {
  min-height: 1.25rem;
  margin-top: 0.55rem;
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.bottom-close-btn {
  width: 100%;
  background: var(--chip-bg);
  color: var(--text-main);
  border: 1px solid var(--chip-border);
  padding: 0.68rem 0.9rem;
}

.reader-active .modal-card {
  max-width: 58rem;
}

.reader-active #modalDescription {
  font-size: 1.05rem;
  line-height: 1.85;
}

@media (max-width: 640px) {
  header .max-w-7xl {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }

  .header-stack {
    gap: 0.62rem;
  }

  .header-top {
    align-items: flex-start;
    gap: 0.65rem;
  }

  .brand-logo {
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 0.82rem;
  }

  .brand-lockup {
    gap: 0.6rem;
  }

  .brand-kicker {
    max-width: 11.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
  }

  .brand-title {
    font-size: 1.58rem;
  }

  .sync-chip {
    max-width: 11.5rem;
    padding: 0.3rem 0.55rem;
    font-size: 0.72rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .main-content {
    padding-bottom: 6.9rem;
  }

  .controls-row {
    align-items: stretch;
  }

  #filterBar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    width: 100%;
  }

  #filterBar::-webkit-scrollbar {
    height: 4px;
  }

  .filter-btn {
    white-space: nowrap;
    flex: 0 0 auto;
    padding: 0.36rem 0.62rem;
    font-size: 0.76rem;
    gap: 0.34rem;
  }

  .sort-wrap,
  .chip-btn {
    width: auto;
    justify-content: space-between;
  }

  .controls-right {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(8.5rem, 1fr) repeat(4, minmax(0, auto));
    gap: 0.38rem;
    overflow-x: auto;
    padding-bottom: 0.1rem;
  }

  .premium-control,
  #shopBtn,
  #themeToggle {
    width: auto;
    min-width: 2.65rem;
  }

  .chip-btn {
    padding: 0.36rem 0.54rem;
  }

  .chip-btn .control-label,
  .premium-control > span:not(.control-icon):not(.lock-mark),
  #shopBtn > span:not(.control-icon),
  #themeToggle > span:not(.control-icon) {
    display: none;
  }

  .lock-mark {
    margin-left: 0;
    font-size: 0.62rem;
  }

  #newsGrid,
  #skeletonGrid {
    gap: 0.95rem;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    max-height: none;
  }

  .featured-media {
    height: 13.5rem;
  }

  .card-image-wrap {
    height: 11rem;
  }

  .news-card .p-4 {
    padding: 0.85rem;
  }

  .news-card h3 {
    font-size: 1rem;
  }

  .site-footer {
    padding: 0.28rem 0.42rem 0.48rem;
  }

  .footer-shell {
    border-radius: 0.82rem;
    padding: 0.34rem 0.46rem;
    gap: 0.34rem;
  }

  .footer-links {
    gap: 0.4rem 0.55rem;
    font-size: 0.68rem;
    justify-content: center;
    line-height: 1.1;
  }

  #pulseBar {
    min-width: 0;
  }

  .pulse-row,
  .pulse-chip {
    width: 100%;
  }

  .pulse-chip {
    justify-content: center;
    width: auto;
    min-width: 5rem;
    padding: 0.3rem 0.5rem;
    font-size: 0.72rem;
  }

  .pulse-label-full {
    display: none;
  }

  .pulse-label-short {
    display: inline;
  }

  .footer-muted {
    display: none;
  }

  .source-status-row {
    grid-template-columns: auto 1fr;
  }

  .source-status-badge {
    grid-column: 2;
    width: fit-content;
  }

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

  .shop-foot,
  .discount-row {
    align-items: stretch;
    flex-direction: column;
  }

  .shop-cta,
  .discount-row button {
    width: 100%;
  }
}
