:root {
  color-scheme: light;
  --ink: #18231f;
  --muted: #63716d;
  --paper: #f5f0e4;
  --paper-deep: #ebe5d5;
  --panel: #ffffff;
  --line: rgba(24, 35, 31, 0.12);
  --line-strong: rgba(24, 35, 31, 0.22);
  --green: #1f6a57;
  --green-dark: #18473d;
  --moss: #7b9355;
  --teal: #307e87;
  --red: #b54a34;
  --gold: #ca9d45;
  --mist: #f6faf8;
  --warm: #fff8ea;
  --shadow: 0 18px 48px rgba(16, 30, 26, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(202, 157, 69, 0.15), transparent 28%),
    linear-gradient(180deg, #f8f4ea, #f2ecde 58%, #f5f0e4);
  color: var(--ink);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Noto Sans SC",
    "Helvetica Neue",
    Arial,
    sans-serif;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 68px;
  padding: 0 32px;
  color: #fff;
  background: rgba(19, 44, 39, 0.88);
  backdrop-filter: blur(18px);
}

.topbar-light {
  color: var(--ink);
  background: rgba(250, 247, 239, 0.92);
  border-bottom: 1px solid rgba(24, 35, 31, 0.08);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

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

.brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 45%, #f3d486 46% 55%, transparent 56%),
    radial-gradient(circle at 35% 35%, #dbefcf 0 26%, #48a16c 27% 54%, #173d36 55%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.32);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

.nav-links-dark a {
  color: var(--muted);
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.nav-links-dark a:hover {
  background: rgba(24, 35, 31, 0.08);
  color: var(--ink);
}

.ghost-button,
.plain-button,
.icon-button,
.type-tabs button,
.segmented button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.ghost-button {
  padding: 9px 16px;
  border-color: rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.ghost-button-dark {
  border-color: rgba(24, 35, 31, 0.14);
  background: rgba(24, 35, 31, 0.04);
  color: var(--ink);
}

.plain-button,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
}

.primary-action {
  border: 0;
  background: var(--gold);
  color: #1d241d;
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.small {
  min-height: 40px;
  padding-inline: 16px;
}

.text-link {
  color: var(--green);
  font-weight: 700;
}

.button-row,
.table-actions,
.queue-item-head,
.stack-list-item {
  display: flex;
  gap: 8px;
}

.button-row,
.table-actions {
  flex-wrap: wrap;
  align-items: center;
}

.queue-item-head,
.stack-list-item {
  justify-content: space-between;
  align-items: flex-start;
}

.status-badge,
.inline-note {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
}

.status-badge {
  border: 1px solid rgba(24, 35, 31, 0.12);
  background: rgba(24, 35, 31, 0.05);
  color: var(--green-dark);
  font-weight: 700;
}

.inline-note {
  color: var(--muted);
  background: rgba(24, 35, 31, 0.04);
}

.hero {
  position: relative;
  min-height: clamp(620px, 78vh, 820px);
  overflow: hidden;
  background: #173d36;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 31, 28, 0.9), rgba(12, 31, 28, 0.48) 52%, rgba(12, 31, 28, 0.12)),
    linear-gradient(180deg, transparent 55%, rgba(10, 20, 18, 0.38));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(560px, 70vh, 740px);
  max-width: 1120px;
  padding: 72px 32px 120px;
  margin: 0 auto;
  color: #fff;
}

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

h1 {
  max-width: 920px;
  margin: 24px 0 18px;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.03;
  font-weight: 800;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.32;
}

.hero-content p,
.admin-intro {
  max-width: 760px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.72;
}

.kicker,
.eyebrow,
.label,
.live-pill,
.section-note {
  font-size: 13px;
  font-weight: 700;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f5d56f;
  box-shadow: 0 0 0 7px rgba(245, 213, 111, 0.18);
}

.eyebrow {
  margin-bottom: 7px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.section-note {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-metrics {
  position: absolute;
  z-index: 3;
  right: max(32px, calc((100vw - 1120px) / 2));
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 10px;
  width: min(520px, calc(100% - 64px));
}

.hero-metrics article,
.mini-stat,
.ops-card,
.admin-card,
.lead-card,
.compact-card,
.brief-panel,
.content-card,
.timeline-card,
.preview-card,
.queue-item,
.live-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-metrics article {
  padding: 18px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(17, 49, 42, 0.74);
  box-shadow: none;
}

.hero-metrics span {
  display: block;
  margin-bottom: 4px;
  font-size: 30px;
  font-weight: 800;
}

.hero-metrics strong {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.ticker {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 58px;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
}

.ticker strong {
  color: var(--red);
}

.ticker-track {
  overflow: hidden;
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.icon-button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
}

.section-band,
.live-layout,
.admin-main {
  max-width: 1184px;
  margin: 0 auto;
  padding: 64px 32px;
}

.section-band.muted {
  max-width: none;
  padding-inline: max(32px, calc((100vw - 1120px) / 2));
  background: rgba(233, 238, 227, 0.9);
}

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

.focus-grid,
.studio-grid,
.ops-grid,
.admin-grid {
  display: grid;
  gap: 18px;
}

.focus-grid {
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.8fr);
}

.lead-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) 1fr;
  overflow: hidden;
}

.media-frame {
  min-height: 340px;
  background:
    linear-gradient(rgba(23, 54, 48, 0.1), rgba(23, 54, 48, 0.62)),
    url("./assets/hero-grassland.png") center / cover;
}

.video-frame {
  display: grid;
  place-items: center;
}

.play-sign {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #183d36;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
  font-size: 28px;
}

.lead-copy,
.compact-card,
.brief-panel,
.ops-card,
.content-card,
.admin-card {
  padding: 24px;
}

.lead-copy,
.content-card {
  display: flex;
  flex-direction: column;
}

.label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  color: var(--red);
}

.lead-copy p,
.compact-card p,
.brief-panel p,
.ops-card p,
.content-card p,
.admin-card p,
.queue-item span,
.preview-card span,
.schema-item span,
.ops-list-item span {
  color: var(--muted);
  line-height: 1.65;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.meta-row span,
.content-type,
.tag,
.api-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eef5f1;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
}

.side-stack {
  display: grid;
  gap: 18px;
}

.compact-card {
  min-height: 174px;
}

.compact-card.warm {
  background: var(--warm);
}

.live-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f7ded7;
  color: var(--red);
}

.live-feed,
.ops-list,
.schema-list,
.queue-list {
  display: grid;
  gap: 12px;
}

.live-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 18px;
}

.live-time {
  color: var(--green);
  font-weight: 800;
}

.brief-panel {
  position: sticky;
  top: 88px;
  align-self: start;
}

.brief-panel dl {
  display: grid;
  gap: 16px;
  margin: 22px 0 0;
}

.brief-panel div {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.brief-panel dt {
  margin-bottom: 5px;
  font-weight: 800;
}

.brief-panel dd {
  margin: 0;
  color: var(--muted);
}

.segmented,
.type-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
}

.segmented button,
.type-tabs button {
  min-height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
}

.segmented button.active,
.type-tabs button.active {
  background: var(--green);
  color: #fff;
}

.timeline {
  display: grid;
  gap: 0;
  max-width: 900px;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 24px;
  padding: 0 0 24px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 132px;
  top: 8px;
  bottom: -8px;
  width: 1px;
  background: rgba(31, 106, 87, 0.24);
}

.timeline-item::after {
  content: "";
  position: absolute;
  left: 126px;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(31, 106, 87, 0.13);
}

.timeline-time {
  color: var(--green-dark);
  font-weight: 800;
}

.timeline-card {
  padding: 18px 20px;
}

.tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
}

.search-box input,
.tools select,
.admin-card input,
.admin-card select,
.admin-card textarea {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.tools select {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.type-tabs {
  margin-bottom: 18px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.content-card {
  min-height: 280px;
}

.content-card p {
  flex: 1;
}

.content-card .source {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.content-card.featured {
  background: var(--mist);
}

.ops-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ops-card {
  min-height: 224px;
}

.ops-list-item {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px dashed rgba(31, 106, 87, 0.3);
  border-radius: 8px;
  background: rgba(247, 251, 248, 0.76);
}

.mini-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mini-stat {
  padding: 16px;
  background: rgba(247, 250, 246, 0.9);
}

.mini-stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
}

.mini-stat span {
  color: var(--muted);
  font-size: 13px;
}

.admin-main {
  padding-top: 32px;
}

.admin-hero {
  display: grid;
  grid-template-columns: 1.35fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.admin-hero h1 {
  max-width: none;
  margin: 12px 0 14px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 62px);
}

.admin-intro {
  color: var(--muted);
  margin-bottom: 0;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.admin-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.admin-card {
  background: rgba(255, 255, 255, 0.9);
}

.admin-card h2 {
  font-size: 28px;
}

.form-stack {
  display: grid;
  gap: 14px;
}

.form-stack label,
.checkbox-row {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.checkbox-row {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.checkbox-row input {
  width: 16px;
  height: 16px;
}

.admin-card input,
.admin-card select,
.admin-card textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

.admin-card textarea {
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}

.preview-card,
.queue-item {
  padding: 14px;
  background: rgba(247, 251, 248, 0.84);
}

.preview-card strong,
.queue-item strong,
.schema-item strong {
  display: block;
  margin-bottom: 6px;
}

.table-shell {
  overflow-x: auto;
}

.upload-panel {
  display: grid;
  gap: 12px;
}

.queue-list,
.stack-list {
  display: grid;
  gap: 12px;
}

.stack-list-section {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.stack-list-item {
  padding: 14px;
  border: 1px dashed rgba(24, 35, 31, 0.16);
  border-radius: 8px;
  background: rgba(250, 248, 242, 0.78);
}

.stack-list-item strong {
  display: block;
  margin-bottom: 6px;
}

.stack-list-item span {
  color: var(--muted);
  line-height: 1.6;
}

.content-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.content-table th,
.content-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.content-table th {
  color: var(--green-dark);
  font-size: 13px;
  text-transform: uppercase;
}

.schema-list {
  margin-bottom: 18px;
}

.schema-item {
  padding: 14px;
  border: 1px dashed rgba(24, 35, 31, 0.18);
  border-radius: 8px;
  background: rgba(250, 248, 242, 0.86);
}

.api-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px max(24px, calc((100vw - 1120px) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
    padding: 0 18px;
  }

  .nav-links {
    display: none;
  }

  .hero-content {
    padding-inline: 22px;
  }

  .hero-metrics,
  .focus-grid,
  .lead-card,
  .live-layout,
  .content-grid,
  .ops-grid,
  .admin-grid,
  .mini-stat-grid,
  .form-row,
  .admin-hero {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    left: 22px;
    right: 22px;
    width: auto;
  }

  .media-frame {
    min-height: 260px;
  }

  .brief-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .topbar {
    min-height: 58px;
  }

  .brand span:last-child {
    max-width: 148px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  h1 {
    font-size: clamp(36px, 12vw, 56px);
  }

  .hero {
    min-height: 720px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    bottom: 18px;
  }

  .section-band,
  .live-layout,
  .admin-main,
  .section-band.muted {
    padding: 46px 18px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .tools,
  .admin-actions {
    width: 100%;
    justify-content: stretch;
  }

  .search-box,
  .tools select {
    width: 100%;
  }

  .type-tabs,
  .segmented {
    max-width: 100%;
    overflow-x: auto;
  }

  .live-item,
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .timeline-item::before,
  .timeline-item::after {
    display: none;
  }

  .ticker {
    grid-template-columns: auto 1fr;
    padding-inline: 18px;
  }

  .ticker .icon-button {
    display: none;
  }
}

body[data-page="front"] {
  --front-ink: #15314f;
  --front-muted: #5c7390;
  --front-soft: #edf5fc;
  --front-soft-strong: #dceaf8;
  --front-line: rgba(21, 49, 79, 0.1);
  --front-line-strong: rgba(12, 90, 156, 0.2);
  --front-panel: rgba(255, 255, 255, 0.96);
  --front-blue: #1388d9;
  --front-blue-deep: #0a61ab;
  --front-cyan: #66c5f3;
  --front-green: #8ed63c;
  --front-shadow: 0 24px 60px rgba(13, 61, 108, 0.12);
  background:
    linear-gradient(180deg, #f4f9fe 0%, #edf5fc 30%, #f9fcff 100%);
  color: var(--front-ink);
}

body[data-page="front"] .topbar {
  background: rgba(8, 54, 98, 0.88);
  color: #fff;
  backdrop-filter: blur(18px);
}

body[data-page="front"] .brand-mark {
  background:
    linear-gradient(135deg, transparent 46%, rgba(255, 255, 255, 0.9) 47% 56%, transparent 57%),
    radial-gradient(circle at 35% 35%, #8de0ff 0 24%, #3ec27a 25% 52%, #0a61ab 53%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.24);
}

body[data-page="front"] .nav-links a {
  color: rgba(255, 255, 255, 0.82);
}

body[data-page="front"] .nav-links a:hover {
  background: rgba(255, 255, 255, 0.14);
}

body[data-page="front"] .ghost-button {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

body[data-page="front"] .topic-page {
  overflow: hidden;
}

body[data-page="front"] .hero {
  min-height: 0;
  background: #0f6fbc;
  overflow: visible;
}

body[data-page="front"] .hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 2048 / 731;
  overflow: hidden;
  background: linear-gradient(180deg, #1d95db, #0c6db9);
}

body[data-page="front"] .hero-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

body[data-page="front"] .hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 88, 152, 0.22) 0%, rgba(7, 63, 111, 0.12) 34%, rgba(7, 53, 97, 0.72) 100%),
    linear-gradient(90deg, rgba(6, 54, 97, 0.18) 0%, rgba(8, 71, 126, 0) 36%, rgba(8, 70, 122, 0.26) 100%);
}

body[data-page="front"] .hero-shell {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: end;
  max-width: 1184px;
  min-height: 0;
  padding: 0 32px 0;
  margin: -78px auto 0;
}

body[data-page="front"] .hero-banner-note {
  position: absolute;
  left: min(32px, 4vw);
  right: min(32px, 4vw);
  top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  color: #fff;
  margin-bottom: 0;
  z-index: 2;
}

body[data-page="front"] .hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

body[data-page="front"] .hero-banner-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

body[data-page="front"] .hero-banner-meta span,
body[data-page="front"] .hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
}

body[data-page="front"] .hero-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  width: auto;
  padding: 28px 30px 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(8, 59, 106, 0.72), rgba(7, 47, 87, 0.82));
  box-shadow: 0 26px 70px rgba(2, 31, 60, 0.32);
  backdrop-filter: blur(14px);
}

body[data-page="front"] .hero-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

body[data-page="front"] .hero .eyebrow {
  color: rgba(182, 232, 255, 0.9);
}

body[data-page="front"] .hero h1 {
  margin: 10px 0 0;
  max-width: 620px;
  color: #fff;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.16;
}

body[data-page="front"] .hero-content p,
body[data-page="front"] .hero-panel p {
  margin: 0;
  max-width: none;
  color: rgba(236, 245, 255, 0.88);
  font-size: 17px;
  line-height: 1.85;
}

body[data-page="front"] .kicker {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

body[data-page="front"] .status-dot {
  background: #9ddf43;
  box-shadow: 0 0 0 7px rgba(157, 223, 67, 0.16);
}

body[data-page="front"] .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body[data-page="front"] .primary-action {
  background: linear-gradient(135deg, #7fdc50, #b9f953);
  color: #103253;
}

body[data-page="front"] .secondary-action {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

body[data-page="front"] .hero-metrics {
  position: relative;
  right: auto;
  bottom: auto;
  width: auto;
  gap: 12px;
  margin: 0;
}

body[data-page="front"] .hero-metrics article {
  padding: 18px 20px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(4, 40, 74, 0.64);
  backdrop-filter: blur(14px);
}

body[data-page="front"] .hero-metrics strong {
  color: rgba(255, 255, 255, 0.78);
}

body[data-page="front"] .ticker {
  position: relative;
  z-index: 3;
  min-height: 64px;
  margin-top: -1px;
  border-bottom: 1px solid var(--front-line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 36px rgba(13, 64, 113, 0.08);
}

body[data-page="front"] .ticker strong {
  color: var(--front-blue-deep);
}

body[data-page="front"] .ticker-track {
  color: var(--front-muted);
}

body[data-page="front"] .icon-button,
body[data-page="front"] .plain-button,
body[data-page="front"] .type-tabs button,
body[data-page="front"] .segmented button {
  color: var(--front-ink);
}

body[data-page="front"] .icon-button {
  border-color: var(--front-line);
  background: var(--front-soft);
}

body[data-page="front"] .section-band,
body[data-page="front"] .live-layout {
  max-width: 1184px;
  padding: 72px 32px;
}

body[data-page="front"] .section-heading {
  align-items: end;
  margin-bottom: 24px;
}

body[data-page="front"] .section-note {
  color: var(--front-muted);
}

body[data-page="front"] h2,
body[data-page="front"] h3 {
  color: var(--front-ink);
}

body[data-page="front"] .eyebrow {
  color: var(--front-blue-deep);
}

body[data-page="front"] .intro-band {
  padding-top: 52px;
}

body[data-page="front"] .overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
}

body[data-page="front"] .brief-panel,
body[data-page="front"] .overview-panel,
body[data-page="front"] .lead-card,
body[data-page="front"] .compact-card,
body[data-page="front"] .content-card,
body[data-page="front"] .timeline-card,
body[data-page="front"] .ops-card,
body[data-page="front"] .live-item {
  border: 1px solid var(--front-line);
  background: var(--front-panel);
  box-shadow: var(--front-shadow);
}

body[data-page="front"] .brief-panel,
body[data-page="front"] .overview-panel {
  padding: 26px;
}

body[data-page="front"] .brief-panel {
  background:
    linear-gradient(180deg, rgba(11, 113, 198, 0.06), rgba(255, 255, 255, 0.98)),
    #fff;
}

body[data-page="front"] .brief-panel dl {
  gap: 14px;
}

body[data-page="front"] .brief-panel div {
  border-top: 1px solid var(--front-line);
}

body[data-page="front"] .brief-panel dt {
  color: var(--front-ink);
}

body[data-page="front"] .brief-panel dd,
body[data-page="front"] .overview-panel p,
body[data-page="front"] .lead-copy p,
body[data-page="front"] .compact-card p,
body[data-page="front"] .content-card p,
body[data-page="front"] .timeline-card p,
body[data-page="front"] .live-copy p,
body[data-page="front"] .ops-card p {
  color: var(--front-muted);
}

body[data-page="front"] .overview-panel {
  display: grid;
  gap: 18px;
}

body[data-page="front"] .overview-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

body[data-page="front"] .overview-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(19, 136, 217, 0.1);
  color: var(--front-blue-deep);
  font-size: 12px;
  font-weight: 700;
}

body[data-page="front"] .mini-stat-grid {
  gap: 14px;
}

body[data-page="front"] .mini-stat {
  border: 1px solid rgba(19, 136, 217, 0.08);
  background: linear-gradient(180deg, #f5fbff, #ffffff);
}

body[data-page="front"] .mini-stat strong {
  color: var(--front-blue-deep);
}

body[data-page="front"] .mini-stat span {
  color: var(--front-muted);
}

body[data-page="front"] .focus-band {
  padding-top: 10px;
}

body[data-page="front"] .focus-grid {
  grid-template-columns: minmax(0, 1.52fr) minmax(280px, 0.82fr);
  align-items: stretch;
}

body[data-page="front"] .lead-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.96fr) 1fr;
  overflow: hidden;
}

body[data-page="front"] .lead-visual,
body[data-page="front"] .card-visual {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  background: linear-gradient(180deg, #d9eefc, #88c8ee);
}

body[data-page="front"] .lead-visual {
  min-height: 100%;
}

body[data-page="front"] .lead-visual img,
body[data-page="front"] .card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-page="front"] .visual-overlay {
  position: absolute;
  inset: auto 16px 16px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

body[data-page="front"] .visual-chip,
body[data-page="front"] .visual-meta,
body[data-page="front"] .content-type,
body[data-page="front"] .tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

body[data-page="front"] .visual-chip {
  background: rgba(255, 255, 255, 0.92);
  color: var(--front-blue-deep);
}

body[data-page="front"] .visual-meta {
  background: rgba(7, 52, 95, 0.68);
  color: #fff;
}

body[data-page="front"] .media-placeholder {
  display: grid;
  align-content: end;
  gap: 10px;
  min-height: 100%;
  padding: 22px;
  color: #fff;
}

body[data-page="front"] .media-placeholder strong {
  font-size: 28px;
  line-height: 1;
}

body[data-page="front"] .media-placeholder-kicker,
body[data-page="front"] .media-placeholder-meta {
  font-size: 12px;
  font-weight: 700;
}

body[data-page="front"] .media-placeholder.type-article {
  background: linear-gradient(140deg, #0f8bdb, #0a62ab);
}

body[data-page="front"] .media-placeholder.type-video {
  background: linear-gradient(140deg, #0d5aa7, #53c4ef);
}

body[data-page="front"] .media-placeholder.type-live {
  background: linear-gradient(140deg, #0b6db8, #5be0a5);
}

body[data-page="front"] .media-placeholder.type-link {
  background: linear-gradient(140deg, #0e4f90, #74b0e8);
}

body[data-page="front"] .lead-copy,
body[data-page="front"] .compact-card,
body[data-page="front"] .ops-card,
body[data-page="front"] .content-copy {
  padding: 24px;
}

body[data-page="front"] .lead-copy {
  display: flex;
  flex-direction: column;
}

body[data-page="front"] .lead-copy-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

body[data-page="front"] .label {
  color: var(--front-blue-deep);
}

body[data-page="front"] .lead-source {
  color: var(--front-muted);
  font-size: 13px;
  font-weight: 700;
}

body[data-page="front"] .meta-row span {
  background: var(--front-soft);
  color: var(--front-blue-deep);
}

body[data-page="front"] .content-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}

body[data-page="front"] .content-action {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(19, 136, 217, 0.1);
  color: var(--front-blue-deep);
  font-size: 13px;
  font-weight: 700;
}

body[data-page="front"] .content-action.small-link {
  min-height: 34px;
}

body[data-page="front"] .content-action.disabled {
  background: rgba(21, 49, 79, 0.06);
  color: var(--front-muted);
}

body[data-page="front"] .compact-card {
  display: grid;
  align-content: start;
  min-height: 194px;
  gap: 10px;
}

body[data-page="front"] .live-band {
  padding-top: 10px;
}

body[data-page="front"] .live-feed {
  gap: 14px;
}

body[data-page="front"] .live-item {
  grid-template-columns: 96px 1fr auto;
  padding: 20px 22px;
}

body[data-page="front"] .live-time {
  color: var(--front-blue-deep);
}

body[data-page="front"] .tag {
  background: rgba(91, 224, 165, 0.14);
  color: #13804f;
}

body[data-page="front"] .live-pill {
  background: rgba(91, 224, 165, 0.16);
  color: #0d7a4b;
}

body[data-page="front"] .timeline-band {
  max-width: none;
  padding-inline: max(32px, calc((100vw - 1120px) / 2));
  background:
    linear-gradient(180deg, rgba(14, 122, 205, 0.08), rgba(255, 255, 255, 0.92));
}

body[data-page="front"] .segmented,
body[data-page="front"] .type-tabs {
  border-color: rgba(19, 136, 217, 0.12);
  background: rgba(255, 255, 255, 0.88);
}

body[data-page="front"] .segmented button.active,
body[data-page="front"] .type-tabs button.active {
  background: var(--front-blue);
  color: #fff;
}

body[data-page="front"] .timeline {
  max-width: 960px;
}

body[data-page="front"] .timeline-item::before {
  background: rgba(19, 136, 217, 0.22);
}

body[data-page="front"] .timeline-item::after {
  background: var(--front-blue);
  box-shadow: 0 0 0 5px rgba(19, 136, 217, 0.14);
}

body[data-page="front"] .timeline-time {
  color: var(--front-blue-deep);
}

body[data-page="front"] .timeline-card {
  background: rgba(255, 255, 255, 0.94);
}

body[data-page="front"] .search-box,
body[data-page="front"] .tools select {
  border-color: rgba(19, 136, 217, 0.12);
  background: rgba(255, 255, 255, 0.94);
}

body[data-page="front"] .content-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body[data-page="front"] .content-card {
  overflow: hidden;
  min-height: 0;
  padding: 0;
}

body[data-page="front"] .content-card .card-visual {
  min-height: 188px;
}

body[data-page="front"] .content-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body[data-page="front"] .content-copy h3 {
  margin-bottom: 0;
}

body[data-page="front"] .content-card .source {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--front-line);
  color: var(--front-muted);
}

body[data-page="front"] .content-card.featured {
  background: linear-gradient(180deg, rgba(19, 136, 217, 0.05), #fff);
}

body[data-page="front"] .empty-card {
  padding: 24px;
}

body[data-page="front"] .collaboration-band {
  padding-top: 18px;
}

body[data-page="front"] .ops-grid {
  gap: 18px;
}

body[data-page="front"] .ops-card {
  min-height: 236px;
  background: linear-gradient(180deg, rgba(245, 251, 255, 0.96), #ffffff);
}

body[data-page="front"] .ops-list-item {
  border-color: rgba(19, 136, 217, 0.2);
  background: rgba(239, 247, 255, 0.76);
}

body[data-page="front"] .ops-inline-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(102, 197, 243, 0.1);
  color: var(--front-muted);
  line-height: 1.7;
}

body[data-page="front"] .text-link {
  color: var(--front-blue-deep);
}

body[data-page="front"] .plain-button {
  border-color: rgba(19, 136, 217, 0.14);
  background: rgba(19, 136, 217, 0.08);
  color: var(--front-blue-deep);
}

body[data-page="front"] .footer {
  border-top-color: var(--front-line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--front-muted);
}

@media (max-width: 980px) {
  body[data-page="front"] .hero {
    min-height: 0;
  }

  body[data-page="front"] .hero-shell {
    grid-template-columns: 1fr;
    padding-inline: 22px;
    margin-top: -58px;
  }

  body[data-page="front"] .hero-banner-note {
    left: 22px;
    right: 22px;
  }

  body[data-page="front"] .hero-panel-head,
  body[data-page="front"] .overview-grid,
  body[data-page="front"] .lead-card,
  body[data-page="front"] .focus-grid,
  body[data-page="front"] .content-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="front"] .overview-grid {
    display: grid;
  }

  body[data-page="front"] .hero-metrics {
    width: 100%;
  }

  body[data-page="front"] .lead-visual {
    min-height: 300px;
  }
}

@media (max-width: 680px) {
  body[data-page="front"] .hero {
    min-height: 0;
  }

  body[data-page="front"] .hero-visual {
    aspect-ratio: auto;
    min-height: 0;
    padding-top: 0;
  }

  body[data-page="front"] .hero-visual > img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
  }

  body[data-page="front"] .hero-shade {
    inset: 0;
    background:
      linear-gradient(180deg, rgba(10, 88, 152, 0.08) 0%, rgba(7, 63, 111, 0.04) 58%, rgba(7, 53, 97, 0.3) 100%);
  }

  body[data-page="front"] .hero-shell {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 18px;
    margin-top: -14px;
  }

  body[data-page="front"] .hero-banner-note {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
  }

  body[data-page="front"] .hero-banner-meta {
    display: none;
  }

  body[data-page="front"] .hero-panel {
    gap: 14px;
    padding: 18px 16px 16px;
  }

  body[data-page="front"] .hero h1 {
    font-size: clamp(22px, 6.8vw, 30px);
    line-height: 1.25;
  }

  body[data-page="front"] .hero-panel p {
    font-size: 14px;
    line-height: 1.75;
  }

  body[data-page="front"] .hero-panel-head {
    flex-direction: column;
    gap: 10px;
  }

  body[data-page="front"] .kicker {
    align-self: flex-start;
  }

  body[data-page="front"] .hero-badge {
    min-height: 30px;
    padding: 0 10px;
    font-size: 11px;
  }

  body[data-page="front"] .hero-meta {
    gap: 8px;
  }

  body[data-page="front"] .hero-meta span {
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    font-size: 11px;
  }

  body[data-page="front"] .section-band,
  body[data-page="front"] .section-band.muted {
    padding: 36px 18px;
  }

  body[data-page="front"] .timeline-band {
    padding-inline: 18px;
  }

  body[data-page="front"] .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  body[data-page="front"] .hero-metrics article {
    padding: 12px 8px;
    text-align: center;
  }

  body[data-page="front"] .hero-metrics span {
    margin-bottom: 2px;
    font-size: 20px;
  }

  body[data-page="front"] .hero-metrics strong {
    font-size: 11px;
  }

  body[data-page="front"] .live-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body[data-page="front"] .overview-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="front"] .brief-panel,
  body[data-page="front"] .overview-panel {
    padding: 18px;
  }

  body[data-page="front"] .content-card .card-visual {
    min-height: 156px;
  }

  body[data-page="front"] .content-card .source {
    flex-direction: column;
    align-items: flex-start;
  }
}
