:root {
  color-scheme: light;
  --ink: #17212f;
  --muted: #6f7886;
  --soft: #f4f6f9;
  --line: #e4e8ee;
  --panel: #ffffff;
  --accent: #ff6b35;
  --accent-dark: #d84d20;
  --blue: #2857b8;
  --blue-soft: #eef3ff;
  --green: #19765a;
  --yellow-soft: #fff7e6;
  --shadow: 0 16px 44px rgba(24, 38, 63, 0.08);
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { background: var(--soft); }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 0%, rgba(255, 107, 53, 0.08), transparent 25rem),
    var(--soft);
  line-height: 1.55;
}

a { color: inherit; }

button, input, select { font: inherit; }

button { cursor: pointer; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: 0.65rem;
  background: var(--ink);
  color: white;
  transform: translateY(-180%);
}

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

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(228, 232, 238, 0.9);
  background: rgba(247, 248, 251, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner, .footer-inner, .page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 74px;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 230px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.7rem;
  background: var(--accent);
  color: white;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(255, 107, 53, 0.22);
}

.brand-copy { display: grid; line-height: 1.05; }

.brand-copy strong {
  font-size: 0.73rem;
  letter-spacing: 0.16em;
  color: var(--blue);
}

.brand-copy span { margin-top: 0.22rem; font-size: 0.96rem; font-weight: 700; }

.brand-plus { color: var(--accent); font-weight: 900; }

.main-nav { display: flex; gap: 0.35rem; }

.main-nav a {
  position: relative;
  padding: 0.55rem 0.9rem;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); }

.main-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0.9rem;
  bottom: 0.15rem;
  left: 0.9rem;
  height: 3px;
  border-radius: 99px;
  background: var(--accent);
  content: "";
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.78rem;
}

.live-dot {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(25, 118, 90, 0.12);
}

.page-shell { padding: 3rem 0 5rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.65rem;
  color: var(--accent-dark);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.35rem;
  height: 2px;
  background: var(--accent);
  content: "";
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 790px;
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 4vw, 3.9rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

h2 { margin-bottom: 0.5rem; font-size: clamp(1.35rem, 2.2vw, 2rem); letter-spacing: -0.03em; line-height: 1.2; }

h3 { margin-bottom: 0.45rem; font-size: 1.04rem; line-height: 1.35; }

.lede { max-width: 690px; margin-bottom: 0; color: var(--muted); font-size: 1.04rem; }

.page-header { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2rem; }

.page-header-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 0.65rem; }

.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin: 2.6rem 0 1rem; }

.section-heading p { margin-bottom: 0; color: var(--muted); font-size: 0.88rem; }

.panel, .card, .hero-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 4vw, 3rem);
  background:
    linear-gradient(135deg, rgba(40, 87, 184, 0.97), rgba(30, 52, 106, 0.98)),
    var(--blue);
  color: white;
}

.hero-card::after {
  position: absolute;
  right: -5rem;
  bottom: -7rem;
  width: 22rem;
  height: 22rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 2rem rgba(255, 255, 255, 0.03), 0 0 0 4rem rgba(255, 255, 255, 0.025);
  content: "";
}

.hero-card .eyebrow, .hero-card .eyebrow::before { color: #ffd2bd; }
.hero-card .eyebrow::before { background: #ffd2bd; }
.hero-card h2 { max-width: 760px; font-size: clamp(1.8rem, 4vw, 3.5rem); }
.hero-card .card-summary { max-width: 760px; color: rgba(255, 255, 255, 0.82); }
.hero-card .card-meta, .hero-card .hero-label { color: rgba(255, 255, 255, 0.72); }
.hero-card .btn-primary { background: var(--accent); color: white; border-color: var(--accent); }
.hero-card .btn-primary:hover { background: #ff8558; }
.hero-content { position: relative; z-index: 1; max-width: 900px; }

.card-summary { margin-bottom: 1rem; color: var(--muted); }

.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem 0.8rem; margin-bottom: 1.1rem; color: var(--muted); font-size: 0.8rem; }
.card-meta .platform { color: inherit; font-weight: 800; }
.meta-separator { color: currentColor; opacity: 0.35; }

.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: white;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 7px 16px rgba(24, 38, 63, 0.1); }
.btn-primary { border-color: var(--blue); background: var(--blue); color: white; }
.btn-secondary { border-color: rgba(40, 87, 184, 0.2); background: var(--blue-soft); color: var(--blue); }
.btn-quiet { border-color: transparent; background: transparent; color: var(--muted); }
.btn-danger { color: var(--accent-dark); }
.btn[disabled] { cursor: not-allowed; opacity: 0.45; transform: none; box-shadow: none; }

.status-pill, .topic-pill, .follow-pill, .source-pill, .query-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 0.25rem 0.52rem;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
}

.status-pill { background: var(--yellow-soft); color: #9a6000; }
.hero-card .status-pill { background: rgba(255, 226, 173, 0.2); color: #ffe4af; }
.topic-pill { background: var(--soft); color: #535d6c; }
.follow-pill { background: #fff0eb; color: var(--accent-dark); letter-spacing: 0.08em; }
.source-pill { background: var(--blue-soft); color: var(--blue); }

.label-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.75rem 0 0; }

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

.news-card { display: flex; flex-direction: column; min-height: 230px; padding: 1.25rem; }
.news-card .card-actions { margin-top: auto; padding-top: 1rem; }
.news-card h3 a, .result-card h3 a { text-decoration: none; }
.news-card h3 a:hover, .result-card h3 a:hover { color: var(--blue); }

.date-group { margin-top: 2.1rem; }
.date-group-heading { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.8rem; }
.date-group-heading h3 { margin: 0; }
.date-group-heading time { color: var(--muted); font-size: 0.8rem; }
.date-rule { flex: 1; height: 1px; background: var(--line); }

.ticker-wrap { margin-top: 2.6rem; overflow: hidden; border: 1px solid rgba(40, 87, 184, 0.16); border-radius: 14px; background: #edf3ff; }
.ticker-label { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1rem; color: var(--blue); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.12em; }
.ticker-label::before { width: 0.46rem; height: 0.46rem; border-radius: 50%; background: var(--accent); content: ""; }
.ticker-track { display: flex; width: max-content; gap: 3.2rem; padding: 0 1rem 0.85rem; animation: ticker-scroll 42s linear infinite; will-change: transform; }
.ticker-wrap:hover .ticker-track, .ticker-wrap:focus-within .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 0.45rem; max-width: 31rem; color: var(--ink); font-size: 0.86rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.ticker-item::before { color: var(--accent); content: "•"; }
.ticker-item:hover { color: var(--blue); }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-22%); } }

.empty-state { padding: 2rem; border: 1px dashed #cdd4df; border-radius: var(--radius); background: rgba(255, 255, 255, 0.68); }
.empty-state h2, .empty-state h3 { margin-bottom: 0.5rem; }
.empty-state p { margin-bottom: 0; color: var(--muted); }
.empty-state.compact { padding: 1.25rem; }

.search-panel { padding: 1rem; }
.search-row { display: flex; align-items: end; gap: 0.65rem; }
.search-field { flex: 1; position: relative; }
.search-field label, .field-label { display: block; margin-bottom: 0.35rem; color: var(--muted); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; }
.search-field input, .field input, .field select, .select-control {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.78rem;
  border: 1px solid #d6dce5;
  border-radius: 0.7rem;
  outline: none;
  background: white;
  color: var(--ink);
}
.search-field input { padding-right: 2.5rem; font-size: 1rem; }
.search-field input:focus, .field input:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(40, 87, 184, 0.12); }
.search-icon { position: absolute; right: 0.8rem; bottom: 0.72rem; color: var(--muted); }

.filters-disclosure { margin-top: 1rem; border-top: 1px solid var(--line); }
.filters-disclosure summary { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 0.15rem 0.15rem; cursor: pointer; list-style: none; color: var(--blue); font-size: 0.84rem; font-weight: 800; }
.filters-disclosure summary::-webkit-details-marker { display: none; }
.filters-disclosure summary::after { content: "＋"; font-size: 1.1rem; }
.filters-disclosure[open] summary::after { content: "−"; }
.filter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.85rem; padding: 1rem 0 0.25rem; }
.field-wide { grid-column: span 2; }
.field select[multiple] { min-height: 6.2rem; }
.check-control { display: flex; align-items: center; gap: 0.45rem; min-height: 2.75rem; color: var(--ink); font-size: 0.88rem; font-weight: 650; }
.check-control input { width: 1rem; height: 1rem; accent-color: var(--blue); }
.filter-actions { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 0.9rem; }

.results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1.4rem 0 0.85rem; }
.results-count { color: var(--muted); font-size: 0.84rem; }
.sort-control { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--muted); font-size: 0.82rem; }
.sort-control select { min-height: 2.25rem; padding: 0.35rem 0.6rem; border: 1px solid var(--line); border-radius: 0.6rem; background: white; color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1rem 0 0; }
.query-chip { gap: 0.4rem; border: 1px solid #cfd9ef; background: var(--blue-soft); color: var(--blue); }
.query-chip button { display: grid; place-items: center; width: 1rem; height: 1rem; padding: 0; border: 0; border-radius: 50%; background: rgba(40, 87, 184, 0.12); color: inherit; font-size: 0.8rem; }

.results-list { display: grid; gap: 0.8rem; }
.result-card { padding: 1.15rem 1.25rem; }
.result-top { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.result-card h3 { margin-bottom: 0.35rem; font-size: 1.14rem; }
.result-card .card-summary { max-width: 840px; margin-bottom: 0.75rem; font-size: 0.9rem; }
.result-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.85rem; padding-top: 0.75rem; border-top: 1px solid var(--line); }
.source-link { color: var(--blue); font-size: 0.78rem; font-weight: 750; text-decoration: none; }
.source-link:hover { text-decoration: underline; }

.load-more-row { display: flex; justify-content: center; padding: 1.25rem 0 0; }

.detail-header { margin-bottom: 2rem; }
.detail-header h1 { max-width: 900px; font-size: clamp(2rem, 4.5vw, 4rem); }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(240px, 0.8fr); gap: 1rem; align-items: start; }
.detail-main { display: grid; gap: 1rem; }
.detail-section { padding: 1.45rem; }
.detail-section h2 { font-size: 1.35rem; }
.detail-section p { margin-bottom: 0; white-space: pre-line; }
.detail-aside { display: grid; gap: 1rem; }
.aside-card { padding: 1.15rem; }
.aside-card h3 { margin-bottom: 0.75rem; }
.source-primary { display: grid; gap: 0.25rem; }
.source-primary strong { line-height: 1.35; }
.source-primary .source-name { color: #9eb0c5; font-size: 0.88rem; }
.source-primary a { color: var(--blue); font-weight: 750; overflow-wrap: anywhere; text-decoration: none; }
.source-primary a:hover { text-decoration: underline; }
.supporting-list { display: grid; gap: 0.5rem; margin: 0; padding-left: 1.15rem; }
.supporting-list a { color: var(--blue); }

.timeline { position: relative; display: grid; gap: 1.1rem; margin-top: 1rem; padding-left: 1.7rem; }
.timeline::before { position: absolute; top: 0.55rem; bottom: 0.55rem; left: 0.34rem; width: 2px; background: var(--line); content: ""; }
.timeline-node { position: relative; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: 0.85rem; background: #fbfcfe; }
.timeline-node::before { position: absolute; top: 1.15rem; left: -1.72rem; width: 0.72rem; height: 0.72rem; border: 3px solid var(--soft); border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 1px var(--blue); content: ""; }
.timeline-node.latest { border-color: rgba(40, 87, 184, 0.35); background: var(--blue-soft); }
.timeline-node.viewing { box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.12); }
.timeline-node h3 { margin-bottom: 0.35rem; }
.timeline-node h3 a { text-decoration: none; }
.timeline-node h3 a:hover { color: var(--blue); }
.timeline-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin-bottom: 0.45rem; color: var(--muted); font-size: 0.76rem; }
.timeline-summary { margin: 0; color: var(--muted); font-size: 0.86rem; }
.timeline-badges { display: inline-flex; flex-wrap: wrap; gap: 0.35rem; }

.loading-state { display: grid; place-items: center; min-height: 24rem; color: var(--muted); }
.spinner { width: 1.55rem; height: 1.55rem; margin-bottom: 0.75rem; border: 3px solid #dbe2ef; border-top-color: var(--blue); border-radius: 50%; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.error-state { padding: 1.5rem; border: 1px solid #f0c4b6; border-radius: var(--radius); background: #fff8f5; }
.error-state h2 { color: var(--accent-dark); }
.error-state p { margin-bottom: 0; color: #7b4a3c; }

.site-footer { border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.48); }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; color: var(--muted); font-size: 0.75rem; }
.noscript-message { margin: 1rem auto; width: min(600px, calc(100% - 2rem)); padding: 1rem; border-radius: 0.7rem; background: white; }

@media (max-width: 900px) {
  .header-inner { gap: 1rem; }
  .brand { min-width: auto; }
  .header-meta { display: none; }
  .page-header { align-items: start; flex-direction: column; }
  .page-header-actions { justify-content: start; }
  .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .header-inner, .footer-inner, .page-shell { width: min(100% - 24px, 1180px); }
  .header-inner { min-height: 66px; }
  .brand-copy span { font-size: 0.84rem; }
  .brand-copy strong { font-size: 0.63rem; }
  .main-nav { margin-left: auto; }
  .main-nav a { padding: 0.5rem 0.55rem; font-size: 0.84rem; }
  .main-nav a[aria-current="page"]::after { right: 0.55rem; left: 0.55rem; }
  .page-shell { padding-top: 2rem; }
  h1 { font-size: 2.35rem; }
  .updates-grid { grid-template-columns: 1fr; }
  .hero-card { padding: 1.35rem; }
  .hero-card h2 { font-size: 2rem; }
  .search-row { align-items: stretch; flex-direction: column; }
  .search-row .btn { width: 100%; }
  .filter-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: span 1; }
  .filter-actions, .results-toolbar, .result-footer { align-items: stretch; flex-direction: column; }
  .results-toolbar { gap: 0.65rem; }
  .sort-control { justify-content: space-between; }
  .sort-control select { flex: 1; }
  .result-top { flex-direction: column; gap: 0.45rem; }
  .result-footer { gap: 0.6rem; }
  .detail-aside { grid-template-columns: 1fr; }
  .detail-section, .aside-card { padding: 1.1rem; }
  .footer-inner { align-items: start; flex-direction: column; }
  .ticker-track { overflow: visible; max-width: none; gap: 2.8rem; padding-bottom: 0.95rem; animation-duration: 30s; }
  .ticker-item { white-space: nowrap; min-width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

/* Creative editorial digital-signage direction */
:root {
  color-scheme: dark;
  --ink: #f4f5f2;
  --muted: #aab5c4;
  --soft: #081322;
  --line: rgba(151, 185, 219, 0.2);
  --panel: #0f1c2d;
  --accent: #ffb45a;
  --accent-dark: #ffc979;
  --blue: #4e9dff;
  --blue-soft: rgba(78, 157, 255, 0.14);
  --green: #65dfb2;
  --yellow-soft: rgba(255, 180, 90, 0.14);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
  --radius: 4px;
}

html {
  background: #081322;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 4%, rgba(78, 157, 255, 0.16), transparent 23rem),
    radial-gradient(circle at 96% 32%, rgba(255, 180, 90, 0.09), transparent 21rem),
    linear-gradient(135deg, #07111f 0%, #0b1829 53%, #091525 100%);
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image: linear-gradient(rgba(159, 198, 231, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(159, 198, 231, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.site-header {
  border-bottom-color: rgba(151, 185, 219, 0.18);
  background: rgba(7, 17, 31, 0.82);
  backdrop-filter: blur(16px);
}

.header-inner, .footer-inner, .page-shell {
  width: min(1240px, calc(100% - 48px));
}

.header-inner {
  min-height: 82px;
}

.brand {
  min-width: 248px;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0;
  background: var(--accent);
  color: #091525;
  transform: rotate(-7deg);
  box-shadow: 4px 4px 0 rgba(78, 157, 255, 0.38);
}

.brand-copy strong,
.brand-plus {
  color: var(--blue);
}

.brand-copy span {
  color: var(--ink);
}

.main-nav {
  gap: 0.15rem;
}

.main-nav a {
  border: 1px solid transparent;
  color: #9aa9bc;
  letter-spacing: 0.04em;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  border-color: rgba(78, 157, 255, 0.46);
  background: rgba(78, 157, 255, 0.11);
  color: white;
}

.main-nav a[aria-current="page"]::after {
  right: 0.55rem;
  bottom: -0.25rem;
  left: 0.55rem;
  height: 2px;
  border-radius: 0;
  background: var(--accent);
}

.header-meta {
  color: #aab5c4;
}

.live-dot {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(101, 223, 178, 0.12);
}

.page-shell {
  position: relative;
  padding: 4rem 0 6rem;
}

.page-shell::after {
  position: absolute;
  top: 2.5rem;
  right: -8rem;
  z-index: -1;
  width: 15rem;
  height: 8rem;
  border: 1px solid rgba(255, 180, 90, 0.22);
  transform: rotate(8deg);
  content: "";
}

.eyebrow {
  color: var(--accent-dark);
  letter-spacing: 0.1em;
}

.eyebrow::before {
  width: 1.8rem;
  height: 3px;
  background: var(--accent);
}

h1, h2, h3, p {
  text-wrap: balance;
}

h1 {
  max-width: 920px;
  font-size: clamp(2.8rem, 7vw, 6rem);
  letter-spacing: -0.065em;
  line-height: 0.98;
}

h2 {
  color: #f6f7f4;
  letter-spacing: -0.045em;
}

.lede {
  max-width: 720px;
  color: #c0cad7;
  font-size: 1.08rem;
}

.page-header {
  position: relative;
  align-items: end;
  margin-bottom: 3.2rem;
}

.page-header::before {
  position: absolute;
  right: 8%;
  bottom: -1.1rem;
  width: 5.5rem;
  height: 0.45rem;
  background: var(--accent);
  content: "";
  transform: rotate(-3deg);
}

.section-heading {
  margin: 3.4rem 0 1.15rem;
}

.section-heading p {
  color: #8796aa;
}

.panel, .card, .hero-card {
  border-color: var(--line);
  border-radius: var(--radius);
  background: rgba(15, 28, 45, 0.88);
  box-shadow: var(--shadow);
}

.hero-card {
  min-height: 24rem;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border-width: 1px 1px 1px 5px;
  border-left-color: var(--accent);
  background:
    linear-gradient(115deg, rgba(19, 47, 79, 0.96) 0%, rgba(12, 28, 49, 0.97) 58%, rgba(31, 49, 62, 0.92) 100%),
    var(--panel);
  isolation: isolate;
}

.hero-card::before {
  position: absolute;
  right: -2rem;
  top: 2rem;
  width: 45%;
  height: 14rem;
  border: 1px solid rgba(78, 157, 255, 0.3);
  background: linear-gradient(135deg, transparent 35%, rgba(78, 157, 255, 0.08) 36%, transparent 65%);
  transform: rotate(-7deg);
  content: "";
}

.hero-card::after {
  right: -7rem;
  bottom: -8rem;
  width: 23rem;
  height: 16rem;
  border: 1px solid rgba(255, 180, 90, 0.22);
  border-radius: 0;
  box-shadow: none;
  transform: rotate(13deg);
}

.hero-card .eyebrow,
.hero-card .eyebrow::before {
  color: var(--accent);
}

.hero-card .eyebrow::before {
  background: var(--accent);
}

.hero-card h2 {
  max-width: 880px;
  font-size: clamp(2.2rem, 5.5vw, 5.2rem);
  line-height: 0.96;
}

.hero-card .card-summary {
  max-width: 760px;
  color: #d4dce6;
  font-size: 1.05rem;
}

.hero-card .card-meta,
.hero-card .hero-label {
  color: #9eb0c5;
}

.hero-card .hero-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-detail-grid {
  display: grid;
  max-width: 760px;
  margin: 1.45rem 0;
  padding: 0.9rem 1rem;
  border-top: 1px solid rgba(255, 180, 90, 0.5);
  border-bottom: 1px solid rgba(255, 180, 90, 0.18);
}

.hero-detail-grid p {
  margin-bottom: 0;
  color: #e5e9ee;
}

.btn {
  min-height: 2.65rem;
  border-color: rgba(151, 185, 219, 0.25);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.btn:hover {
  box-shadow: none;
  transform: translate(-2px, -2px);
}

.btn-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #0a1625;
}

.btn-primary:hover {
  background: #ffd08d;
}

.btn-secondary {
  border-color: rgba(78, 157, 255, 0.55);
  background: rgba(78, 157, 255, 0.11);
  color: #d5e7ff;
}

.btn-quiet {
  color: #a9b8c9;
}

.status-pill, .topic-pill, .follow-pill, .source-pill, .query-chip {
  border-radius: 2px;
  border: 1px solid rgba(151, 185, 219, 0.25);
}

.status-pill {
  background: rgba(255, 180, 90, 0.15);
  color: #ffd08d;
}

.topic-pill {
  background: rgba(78, 157, 255, 0.12);
  color: #b9d9ff;
}

.follow-pill {
  background: rgba(255, 180, 90, 0.15);
  color: #ffd08d;
}

.source-pill {
  background: rgba(101, 223, 178, 0.1);
  color: #9deccf;
}

.updates-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: 1.1rem;
}

.news-card {
  grid-column: span 6;
  min-height: 250px;
  padding: 1.35rem;
  border-top: 3px solid rgba(78, 157, 255, 0.65);
  border-radius: 2px 18px 2px 18px;
  background: rgba(15, 28, 45, 0.9);
}

.news-card:nth-child(3n + 1) {
  grid-column: span 7;
  border-top-color: var(--accent);
  transform: translateY(-0.35rem);
}

.news-card:nth-child(3n + 2) {
  grid-column: span 5;
  border-radius: 18px 2px 18px 2px;
}

.news-card:nth-child(3n) {
  border-top-color: var(--green);
  transform: translateY(0.25rem);
}

.news-card h3 a,
.result-card h3 a {
  color: #f0f4f8;
}

.news-card h3 a:hover,
.result-card h3 a:hover {
  color: var(--accent);
}

.card-summary {
  color: #b8c5d3;
}

.ticker-wrap {
  border: 1px solid rgba(101, 223, 178, 0.35);
  border-radius: 2px 16px 2px 16px;
  background: rgba(9, 28, 33, 0.8);
}

.ticker-label {
  color: var(--green);
}

.ticker-label::before {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(101, 223, 178, 0.1);
}

.ticker-track {
  gap: 2.8rem;
}

.ticker-item {
  color: #d1e5df;
}

.ticker-item::before {
  color: var(--accent);
}

.date-group-heading time,
.section-heading p,
.results-count,
.sort-control {
  color: #8fa0b4;
}

.date-rule {
  background: rgba(151, 185, 219, 0.2);
}

.empty-state {
  border-color: rgba(151, 185, 219, 0.3);
  border-radius: 2px 16px 2px 16px;
  background: rgba(15, 28, 45, 0.65);
}

.search-panel,
.result-card,
.detail-section,
.aside-card {
  border-radius: 2px 16px 2px 16px;
  background: rgba(15, 28, 45, 0.86);
}

.search-field input,
.field input,
.field select,
.select-control,
.sort-control select {
  border-color: rgba(151, 185, 219, 0.3);
  border-radius: 2px;
  background: #0a1727;
  color: #f4f5f2;
}

.search-field input:focus,
.field input:focus,
.field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(78, 157, 255, 0.13);
}

.filters-disclosure {
  border-top-color: rgba(151, 185, 219, 0.2);
}

.filters-disclosure summary {
  color: #b9d9ff;
}

.query-chip {
  border-color: rgba(78, 157, 255, 0.42);
  background: rgba(78, 157, 255, 0.12);
  color: #cbe3ff;
}

.result-footer {
  border-top-color: rgba(151, 185, 219, 0.18);
}

.source-link,
.source-primary a,
.supporting-list a {
  color: #9dccff;
}

.timeline::before {
  background: rgba(151, 185, 219, 0.3);
}

.timeline-node {
  border-color: rgba(151, 185, 219, 0.22);
  border-radius: 2px 14px 2px 14px;
  background: rgba(10, 23, 39, 0.72);
}

.timeline-node::before {
  border-color: #081322;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}

.timeline-node.latest {
  border-color: rgba(78, 157, 255, 0.52);
  background: rgba(78, 157, 255, 0.12);
}

.timeline-node.viewing {
  box-shadow: 4px 4px 0 rgba(255, 180, 90, 0.25);
}

.timeline-summary {
  color: #aebdcd;
}

.loading-state {
  color: #aebdcd;
}

.spinner {
  border-color: rgba(151, 185, 219, 0.22);
  border-top-color: var(--accent);
}

.error-state {
  border-color: rgba(255, 180, 90, 0.45);
  background: rgba(67, 40, 24, 0.45);
}

.error-state h2 {
  color: #ffd08d;
}

.error-state p {
  color: #e6caa8;
}

.site-footer {
  border-top-color: rgba(151, 185, 219, 0.18);
  background: rgba(7, 17, 31, 0.65);
}

.footer-inner {
  color: #8798ab;
}

.noscript-message {
  background: #0f1c2d;
  color: #f4f5f2;
}

@media (max-width: 900px) {
  .updates-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-card,
  .news-card:nth-child(3n + 1),
  .news-card:nth-child(3n + 2) { grid-column: span 1; }
}

@media (max-width: 620px) {
  .header-inner, .footer-inner, .page-shell { width: min(100% - 24px, 1240px); }
  .header-inner { min-height: 70px; }
  .brand { min-width: 0; }
  .brand-mark { width: 2rem; height: 2rem; }
  .page-shell { padding-top: 2.5rem; }
  h1 { font-size: 3rem; }
  .page-header::before { right: 4%; bottom: -0.7rem; width: 3.5rem; }
  .hero-card h2 { font-size: 2.6rem; }
  .hero-card::before { right: -7rem; width: 75%; }
  .updates-grid { grid-template-columns: 1fr; }
  .news-card,
  .news-card:nth-child(3n + 1),
  .news-card:nth-child(3n + 2),
  .news-card:nth-child(3n) { grid-column: auto; transform: none; }
  .search-panel, .result-card, .detail-section, .aside-card { border-radius: 2px 12px 2px 12px; }
}

/* Center-stage signage layout: ticker / side rails / focus / ticker */
.news-display {
  position: relative;
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 2.75rem;
  padding: 0.75rem;
  border: 1px solid rgba(78, 157, 255, 0.38);
  background: rgba(4, 12, 24, 0.62);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.display-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(440px, 1.85fr) minmax(180px, 0.72fr);
  gap: 1rem;
  align-items: stretch;
}

.display-center {
  min-width: 0;
}

.display-center-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.1rem;
  padding: 0.2rem 0.6rem 0.8rem;
}

.display-center-heading .eyebrow {
  margin-bottom: 0.25rem;
}

.display-center-heading h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.3vw, 2.1rem);
}

.display-center-heading p {
  margin: 0;
  color: #91a4ba;
  font-size: 0.75rem;
  text-align: right;
}

.news-display .hero-card {
  min-height: 35rem;
  height: calc(100% - 4.1rem);
  border-left-width: 3px;
}

.news-display .hero-card h2 {
  font-size: clamp(2rem, 4vw, 4.45rem);
}

.news-display .hero-content {
  max-width: none;
}

.side-rail {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(151, 185, 219, 0.2);
  background: rgba(8, 20, 35, 0.78);
}

.side-rail-left {
  border-top: 3px solid var(--accent);
}

.side-rail-right {
  border-top: 3px solid var(--green);
}

.side-rail-heading {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 0.9rem 0.75rem;
  border-bottom: 1px solid rgba(151, 185, 219, 0.18);
}

.side-rail-heading h2 {
  flex: 1;
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.side-rail-mark {
  width: 0.56rem;
  height: 1.1rem;
  background: var(--blue);
  box-shadow: 0 0 14px rgba(78, 157, 255, 0.65);
}

.side-rail-right .side-rail-mark {
  background: var(--green);
  box-shadow: 0 0 14px rgba(101, 223, 178, 0.5);
}

.side-rail-count {
  color: #7f91a8;
  font-size: 0.75rem;
}

.side-news-list {
  display: grid;
}

.side-news-item {
  display: grid;
  grid-template-columns: 1.55rem minmax(0, 1fr);
  gap: 0.55rem;
  min-height: 10.6rem;
  padding: 0.9rem;
  border-bottom: 1px solid rgba(151, 185, 219, 0.16);
}

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

.side-news-index {
  padding-top: 0.1rem;
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.side-rail-right .side-news-index {
  color: var(--green);
}

.side-news-copy {
  min-width: 0;
}

.side-news-copy .card-meta {
  display: block;
  margin-bottom: 0.4rem;
  overflow: hidden;
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-news-copy .label-row {
  margin: 0 0 0.45rem;
}

.side-news-copy h3 {
  margin-bottom: 0.35rem;
  font-size: 0.94rem;
  line-height: 1.28;
}

.side-news-copy h3 a {
  text-decoration: none;
}

.side-news-copy p {
  display: -webkit-box;
  margin-bottom: 0.55rem;
  overflow: hidden;
  color: #aebdcd;
  font-size: 0.78rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.side-news-copy .topic-pill {
  font-size: 0.64rem;
}

.side-news-empty {
  padding: 1.4rem 0.9rem;
  color: #92a2b5;
  font-size: 0.78rem;
}

.news-display .ticker-wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  margin-top: 0;
  border-radius: 2px;
}

.news-display .ticker-track {
  min-height: 2.1rem;
  min-width: 0;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.news-display .ticker-label {
  min-width: 6.8rem;
  padding-top: 0.7rem;
  padding-bottom: 0.45rem;
  font-size: 0.7rem;
}

.ticker-forward .ticker-track {
  animation-name: ticker-forward;
}

.ticker-reverse .ticker-track {
  animation-name: ticker-reverse;
}

@keyframes ticker-forward {
  from { transform: translateX(-18%); }
  to { transform: translateX(0); }
}

@keyframes ticker-reverse {
  from { transform: translateX(0); }
  to { transform: translateX(-22%); }
}

.earlier-context {
  margin-top: 2.2rem;
}

@media (max-width: 1050px) {
  .display-grid { grid-template-columns: minmax(165px, 0.62fr) minmax(360px, 1.65fr) minmax(165px, 0.62fr); gap: 0.7rem; }
  .side-news-item { grid-template-columns: 1.25rem minmax(0, 1fr); padding: 0.72rem; }
  .side-news-copy h3 { font-size: 0.86rem; }
}

@media (max-width: 780px) {
  .display-grid { grid-template-columns: 1fr; }
  .display-center { order: -1; }
  .side-rail { display: grid; grid-template-columns: 1fr 1fr; }
  .side-rail-heading { grid-column: 1 / -1; }
  .side-news-item { min-height: 9.2rem; }
  .news-display .hero-card { height: auto; min-height: 28rem; }
}

@media (max-width: 620px) {
  .news-display { margin-right: -0.2rem; margin-left: -0.2rem; padding: 0.45rem; }
  .display-center-heading { align-items: start; flex-direction: column; gap: 0.15rem; min-height: auto; padding: 0.55rem 0.35rem 0.7rem; }
  .display-center-heading p { text-align: left; }
  .side-rail { display: block; }
  .side-news-item { min-height: 8.3rem; }
  .news-display .ticker-wrap { display: block; }
  .news-display .ticker-label { min-width: 5.5rem; }
}

/* Final cyber-signage polish */
body {
  background:
    radial-gradient(circle at 8% 4%, rgba(0, 229, 255, 0.2), transparent 22rem),
    radial-gradient(circle at 92% 20%, rgba(133, 92, 255, 0.18), transparent 23rem),
    linear-gradient(135deg, #050b18 0%, #071528 52%, #090d20 100%);
}

body::before {
  opacity: 0.38;
  background-image: linear-gradient(rgba(98, 184, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(98, 184, 255, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.site-header {
  border-bottom-color: rgba(0, 229, 255, 0.34);
  box-shadow: 0 1px 18px rgba(0, 229, 255, 0.08);
}

.brand-copy strong,
.brand-plus {
  text-shadow: 0 0 14px rgba(0, 229, 255, 0.65);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  border-color: rgba(0, 229, 255, 0.62);
  background: rgba(0, 229, 255, 0.12);
  box-shadow: inset 0 0 18px rgba(0, 229, 255, 0.08), 0 0 16px rgba(0, 229, 255, 0.12);
}

.page-header h1 {
  max-width: 700px;
  font-size: clamp(2.15rem, 4.6vw, 4.35rem);
  text-shadow: 0 0 22px rgba(78, 157, 255, 0.16);
}

.news-display {
  border-color: rgba(0, 229, 255, 0.6);
  background: rgba(3, 10, 23, 0.74);
  box-shadow: 0 0 0 1px rgba(133, 92, 255, 0.22), 0 0 32px rgba(0, 184, 255, 0.12), inset 0 0 26px rgba(0, 229, 255, 0.05);
}

.news-display .hero-card {
  border-color: rgba(0, 229, 255, 0.7);
  border-left-color: #00e5ff;
  background:
    linear-gradient(115deg, rgba(7, 35, 71, 0.98) 0%, rgba(8, 21, 47, 0.98) 58%, rgba(25, 17, 65, 0.96) 100%),
    var(--panel);
  box-shadow: inset 0 0 36px rgba(0, 229, 255, 0.07), 0 0 22px rgba(0, 229, 255, 0.12);
}

.news-display .hero-card h2 {
  text-shadow: 0 0 18px rgba(78, 157, 255, 0.24);
}

.news-display .hero-card::before {
  border-color: rgba(0, 229, 255, 0.42);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.12);
}

.display-center-heading h2,
.side-rail-heading h2 {
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.24);
}

.side-rail {
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: inset 0 0 24px rgba(0, 229, 255, 0.045), 0 0 16px rgba(0, 229, 255, 0.08);
}

.side-rail-left {
  border-top-color: #ff6cf8;
  box-shadow: inset 0 0 24px rgba(255, 108, 248, 0.05), 0 0 16px rgba(255, 108, 248, 0.1);
}

.side-rail-right {
  border-top-color: #00e5ff;
}

.side-news-item {
  border-bottom-color: rgba(0, 229, 255, 0.2);
}

.side-news-item:hover {
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.08), transparent);
}

.ticker-wrap {
  border-color: rgba(0, 229, 255, 0.7);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.12), inset 0 0 18px rgba(0, 229, 255, 0.05);
}

.ticker-label {
  color: #00e5ff;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.7);
}

.ticker-item {
  text-shadow: 0 0 8px rgba(155, 211, 255, 0.12);
}

.ticker-forward .ticker-track {
  animation-duration: 13s;
}

.ticker-reverse .ticker-track {
  animation-duration: 11s;
}

/* Central hero: make the main story read as a live digital signage surface. */
.news-display .display-center {
  position: relative;
  isolation: isolate;
}

.news-display .display-center::before,
.news-display .display-center::after {
  position: absolute;
  z-index: -1;
  width: 9rem;
  height: 9rem;
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.news-display .display-center::before {
  top: 10%;
  right: -5rem;
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.16), inset 0 0 30px rgba(0, 229, 255, 0.08);
}

.news-display .display-center::after {
  bottom: 7%;
  left: -5rem;
  border-color: rgba(255, 108, 248, 0.25);
  box-shadow: 0 0 35px rgba(255, 108, 248, 0.12), inset 0 0 30px rgba(255, 108, 248, 0.06);
}

.news-display .hero-card {
  position: relative;
  overflow: hidden;
  min-height: 39rem;
  border-width: 1px 1px 1px 4px;
  background:
    linear-gradient(125deg, rgba(4, 18, 41, 0.98), rgba(7, 25, 59, 0.96) 48%, rgba(28, 10, 65, 0.96)),
    var(--panel);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.2), 0 0 32px rgba(0, 229, 255, 0.18), inset 0 0 58px rgba(0, 229, 255, 0.08);
}

.news-display .hero-card::after {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0, transparent 5px, rgba(121, 217, 255, 0.035) 6px, transparent 7px);
  content: "";
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-signal {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(0, 229, 255, 0.44);
  border-radius: 50%;
  pointer-events: none;
}

.hero-signal-a {
  top: -9rem;
  right: -7rem;
  width: 28rem;
  height: 28rem;
  box-shadow: 0 0 0 1rem rgba(0, 229, 255, 0.025), 0 0 65px rgba(0, 229, 255, 0.16), inset 0 0 45px rgba(0, 229, 255, 0.08);
}

.hero-signal-b {
  right: 10%;
  bottom: -13rem;
  width: 24rem;
  height: 24rem;
  border-color: rgba(255, 108, 248, 0.35);
  box-shadow: 0 0 0 1rem rgba(255, 108, 248, 0.025), 0 0 55px rgba(255, 108, 248, 0.12), inset 0 0 45px rgba(255, 108, 248, 0.06);
}

.hero-readout {
  position: absolute;
  z-index: 2;
  top: 1.1rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(155, 239, 255, 0.8);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.8);
}

.hero-readout i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 12px #00e5ff;
}

.news-display .hero-content {
  position: relative;
  z-index: 1;
  padding: 2.2rem 2.25rem 2.35rem;
}

.news-display .hero-card h2 {
  max-width: 72%;
  color: #f5fbff;
  font-size: clamp(1.75rem, 2.85vw, 3.05rem);
  line-height: 1.04;
  text-wrap: balance;
  text-shadow: 0 0 8px rgba(245, 251, 255, 0.38), 0 0 28px rgba(0, 229, 255, 0.3);
}

.news-display .hero-card .card-summary,
.news-display .hero-card .hero-detail-grid {
  max-width: 72%;
}

.news-display .hero-card .eyebrow {
  color: #00e5ff;
  text-shadow: 0 0 13px rgba(0, 229, 255, 0.8);
}

.news-display .hero-card .btn-primary {
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.28);
}

.news-display .ticker-wrap {
  display: block;
  padding: 0;
  overflow: hidden;
}

.news-display .ticker-track {
  width: max-content;
  min-width: 100%;
  padding: 0.58rem 1rem;
}

.headline-burst {
  position: relative;
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  margin-right: 0.22em;
  vertical-align: -0.08em;
  border: 2px solid #ffb84d;
  border-radius: 42% 58% 48% 52%;
  box-shadow: 0 0 14px rgba(255, 184, 77, 0.55), inset 0 0 10px rgba(255, 184, 77, 0.2);
  transform: rotate(-12deg);
  animation: burst-pulse 3.8s ease-in-out infinite;
}
.headline-burst::before, .headline-burst::after { position: absolute; content: ""; background: #00e5ff; box-shadow: 0 0 8px rgba(0, 229, 255, 0.8); }
.headline-burst::before { top: -0.28em; left: 50%; width: 2px; height: 0.22em; transform: translateX(-50%); }
.headline-burst::after { right: -0.25em; top: 50%; width: 0.22em; height: 2px; transform: translateY(-50%); }
.headline-burst i { position: absolute; inset: 28%; border-radius: 50%; background: #ffb84d; box-shadow: 0 0 10px #ffb84d; }
@keyframes burst-pulse {
  0%, 72%, 100% { opacity: 0.82; transform: rotate(-12deg) scale(0.96); }
  78% { opacity: 1; transform: rotate(-12deg) scale(1.08); }
}

.hero-signal-a { animation: signal-breathe 8s ease-in-out infinite; }
.hero-signal-b { animation: signal-breathe 10s ease-in-out 1.2s infinite reverse; }
@keyframes signal-breathe {
  0%, 100% { opacity: 0.48; transform: scale(0.98); }
  50% { opacity: 0.8; transform: scale(1.025); }
}

/* Local topic visuals keep the signage visual-first without external image URLs. */
.story-visual {
  position: relative;
  min-width: 0;
  min-height: 5.4rem;
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.46);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(108, 53, 255, 0.18));
  box-shadow: inset 0 0 22px rgba(0, 229, 255, 0.12), 0 0 14px rgba(0, 229, 255, 0.1);
}

.story-visual::before {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(255, 255, 255, 0.04) 6px, transparent 7px);
  content: "";
  pointer-events: none;
}

.story-visual-ads { border-color: rgba(255, 108, 248, 0.62); background: linear-gradient(135deg, rgba(255, 108, 248, 0.16), rgba(0, 80, 190, 0.2)); }
.story-visual-search { border-color: rgba(124, 160, 255, 0.62); background: linear-gradient(135deg, rgba(56, 102, 255, 0.17), rgba(0, 229, 255, 0.12)); }
.story-visual-video { border-color: rgba(255, 186, 74, 0.62); background: linear-gradient(135deg, rgba(255, 137, 56, 0.18), rgba(130, 45, 255, 0.17)); }
.story-visual-data { border-color: rgba(101, 223, 178, 0.62); background: linear-gradient(135deg, rgba(101, 223, 178, 0.15), rgba(0, 91, 160, 0.18)); }

.visual-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(150, 220, 255, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 220, 255, 0.12) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.45;
}

.visual-orbit {
  position: absolute;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: rgba(0, 229, 255, 0.5);
  transform: rotate(-25deg);
}

.visual-orbit-a { top: -2.2rem; right: -1.4rem; width: 7rem; height: 4rem; }
.visual-orbit-b { right: -2.4rem; bottom: -2rem; width: 8rem; height: 4.5rem; color: rgba(255, 108, 248, 0.4); }

.visual-icon {
  position: absolute;
  inset: 0.42rem 0.25rem 0.9rem;
  width: calc(100% - 0.5rem);
  height: calc(100% - 1.3rem);
}

.visual-path { fill: none; stroke: #a9f6ff; stroke-width: 2.5; filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.8)); }
.visual-path-muted { stroke: rgba(188, 216, 255, 0.42); stroke-width: 1; }
.visual-node { fill: #00e5ff; filter: drop-shadow(0 0 5px #00e5ff); }
.visual-bar { fill: rgba(0, 229, 255, 0.34); stroke: #00e5ff; stroke-width: 1; }
.visual-ring { fill: none; stroke: #a9f6ff; stroke-width: 2; filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.7)); }
.visual-ring-muted { stroke: rgba(188, 216, 255, 0.36); stroke-width: 1; }
.visual-frame { fill: rgba(0, 229, 255, 0.08); stroke: #a9f6ff; stroke-width: 2; filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.65)); }
.visual-wave { fill: none; stroke: #ffb84d; stroke-width: 2.5; filter: drop-shadow(0 0 4px rgba(255, 184, 77, 0.75)); }

.visual-label,
.visual-corner {
  position: absolute;
  bottom: 0.28rem;
  color: rgba(225, 251, 255, 0.78);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.48rem;
  letter-spacing: 0.1em;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.8);
}

.visual-label { left: 0.4rem; }
.visual-corner { right: 0.4rem; color: #00e5ff; }

.side-news-item {
  grid-template-columns: 1.55rem 5.2rem minmax(0, 1fr);
}

.side-news-item .story-visual {
  align-self: start;
  min-height: 4.7rem;
}

.story-visual-hero {
  position: absolute;
  z-index: 0;
  top: 4.4rem;
  right: 1.8rem;
  width: 43%;
  height: 46%;
  min-height: 15rem;
  border-width: 1px;
  opacity: 0.82;
  transform: perspective(700px) rotateY(-7deg) rotateZ(1deg);
}

.story-visual-hero .visual-icon { opacity: 0.9; }
.story-visual-hero .visual-label { font-size: 0.64rem; }
.story-visual-hero .visual-corner { font-size: 0.62rem; }

@media (max-width: 1050px) {
  .side-news-item { grid-template-columns: 1.25rem 4.35rem minmax(0, 1fr); }
}

@media (max-width: 620px) {
  .news-display .hero-content { padding: 2.4rem 1.1rem 1.35rem; }
  .news-display .hero-card h2,
  .news-display .hero-card .card-summary,
  .news-display .hero-card .hero-detail-grid { max-width: 100%; }
  .hero-readout { right: 0.9rem; font-size: 0.52rem; }
  .side-news-item { grid-template-columns: 1.25rem 4.1rem minmax(0, 1fr); }
  .story-visual-hero { position: relative; top: auto; right: auto; width: calc(100% - 2.2rem); height: 11rem; min-height: 0; margin: 0 1.1rem 0.8rem; transform: none; }
}

/* Secondary stories are text-led; their topic visuals sit behind the copy as quiet watermarks. */
.side-news-item {
  position: relative;
  grid-template-columns: 1.55rem minmax(0, 1fr);
  min-height: 9.6rem;
}

.side-news-item .side-news-index,
.side-news-item .side-news-copy {
  position: relative;
  z-index: 1;
}

.side-news-item .side-news-copy {
  grid-column: 2;
}

.side-news-item .story-visual {
  position: absolute;
  align-self: stretch;
  z-index: 0;
  top: 0.72rem;
  right: 0.65rem;
  bottom: 0.72rem;
  width: 42%;
  height: auto;
  min-height: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0.28;
  pointer-events: none;
}

.side-news-item .story-visual::before,
.side-news-item .visual-grid-lines,
.side-news-item .visual-orbit,
.side-news-item .visual-label,
.side-news-item .visual-corner { opacity: 0.55; }

.side-news-item .visual-icon {
  inset: 0;
  width: 100%;
  height: 100%;
}

.side-news-item .visual-path,
.side-news-item .visual-bar,
.side-news-item .visual-ring,
.side-news-item .visual-frame,
.side-news-item .visual-wave,
.side-news-item .visual-node { opacity: 0.9; }

.side-news-item:hover .story-visual { opacity: 0.3; }

@media (max-width: 1050px) {
  .side-news-item { grid-template-columns: 1.25rem minmax(0, 1fr); }
}

@media (max-width: 620px) {
  .page-header h1 { font-size: 2.55rem; }
}
