: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);
}

body[data-page="admin"] .content-quality-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

body[data-page="admin"] .content-quality-badge.is-ok {
  background: #ecfdf5;
  color: #047857;
}

body[data-page="admin"] .content-quality-badge.is-warn,
body[data-page="admin"] .content-quality-badge.is-unknown {
  background: #fff7ed;
  color: #c2410c;
}

body[data-page="admin"] .content-quality-badge.is-danger {
  background: #fef2f2;
  color: #b91c1c;
}

body[data-page="admin"] .content-quality-summary {
  display: grid;
  gap: 3px;
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
}

body[data-page="admin"] .content-quality-summary strong {
  color: #0f172a;
  font-size: 12px;
}

body[data-page="admin"] .content-quality-summary em {
  color: #64748b;
  font-style: normal;
}

body[data-page="admin"] .content-quality-summary.is-ok {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

body[data-page="admin"] .content-quality-summary.is-warn,
body[data-page="admin"] .content-quality-summary.is-unknown {
  border-color: #fed7aa;
  background: #fff7ed;
}

body[data-page="admin"] .content-quality-summary.is-danger {
  border-color: #fecaca;
  background: #fef2f2;
}

body[data-page="admin"] .repair-draft-panel {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 12px;
  line-height: 1.45;
}

body[data-page="admin"] .repair-draft-panel.is-clean {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

body[data-page="admin"] .repair-draft-head {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

body[data-page="admin"] .repair-draft-head strong {
  color: inherit;
  font-size: 13px;
}

body[data-page="admin"] .repair-draft-panel ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body[data-page="admin"] .repair-draft-panel li {
  display: grid;
  gap: 2px;
  padding: 7px 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
}

body[data-page="admin"] .repair-draft-panel li b,
body[data-page="admin"] .repair-draft-panel li span,
body[data-page="admin"] .repair-draft-panel li em {
  min-width: 0;
}

body[data-page="admin"] .repair-draft-panel li em {
  color: #64748b;
  font-style: normal;
  word-break: break-all;
}

body[data-page="admin"] .assistant-card-control {
  border-color: #bfdbfe;
  background: #eff6ff;
}

body[data-page="admin"] .openclaw-result {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: #334155;
  font-size: 12px;
  line-height: 1.5;
}

body[data-page="admin"] .openclaw-result strong {
  color: #0f172a;
  font-size: 13px;
}

body[data-page="admin"] .openclaw-result p {
  margin: 0;
  white-space: pre-wrap;
}

body[data-page="admin"] .openclaw-result ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 16px;
}

body[data-page="admin"] .openclaw-result em {
  color: #64748b;
  font-style: normal;
}

body[data-page="detail"] {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(21, 114, 190, 0.12), rgba(255, 255, 255, 0.88) 32%),
    #f7fbff;
}

.detail-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px max(20px, calc((100vw - 960px) / 2));
  border-bottom: 1px solid rgba(27, 95, 159, 0.12);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
}

.detail-topbar .brand {
  color: var(--front-blue-deep, #0d4d8d);
  font-weight: 800;
  text-decoration: none;
}

.detail-topbar .content-action,
.detail-actions .content-action,
.detail-empty .content-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(19, 136, 217, 0.1);
  color: var(--front-blue-deep, #0d4d8d);
  font-size: 13px;
  font-weight: 800;
}

.detail-main {
  width: min(960px, calc(100vw - 32px));
  margin: 28px auto 56px;
}

.detail-article {
  overflow: hidden;
  border: 1px solid rgba(24, 101, 171, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 52px rgba(25, 86, 138, 0.12);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 8;
  background: linear-gradient(135deg, #0d5aa7, #56bfe8);
}

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

.detail-panel {
  padding: clamp(18px, 3.2vw, 34px);
}

.detail-meta,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.detail-meta {
  flex-wrap: nowrap;
  margin-bottom: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.detail-meta span {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid rgba(32, 104, 179, 0.14);
  border-radius: 999px;
  background: rgba(245, 250, 255, 0.96);
  color: var(--front-blue-deep, #0d4d8d);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.detail-panel h1 {
  max-width: 820px;
  margin: 0 0 14px;
  color: var(--front-ink, #152033);
  font-size: clamp(24px, 3.8vw, 38px);
  line-height: 1.26;
}

.detail-summary {
  margin: 0 0 24px;
  color: var(--front-muted, #5f6d7a);
  font-size: 17px;
  line-height: 1.75;
}

.detail-body {
  display: grid;
  gap: 12px;
  padding-top: 8px;
  color: var(--front-ink, #152033);
  font-size: 16px;
  line-height: 1.82;
}

.detail-body p {
  margin: 0;
}

.detail-body .detail-summary-fallback {
  padding: 12px 14px;
  border: 1px solid rgba(24, 101, 171, 0.1);
  border-radius: 8px;
  background: rgba(246, 250, 255, 0.72);
  color: var(--front-muted, #5f6d7a);
  font-size: 14px;
  line-height: 1.72;
}

.detail-article-blocks {
  display: grid;
  gap: 14px;
  padding-top: 8px;
  color: var(--front-ink, #152033);
  font-size: 16px;
  line-height: 1.82;
}

.detail-article-blocks p {
  margin: 0;
  text-align: justify;
}

.detail-article-blocks figure {
  margin: 2px 0;
  text-align: center;
}

.detail-article-blocks img {
  display: inline-block;
  width: auto;
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

.detail-inline-video {
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

.detail-inline-video video {
  display: block;
  width: 100%;
}

.detail-collected-note {
  padding: 10px 12px;
  border: 1px solid rgba(24, 101, 171, 0.1);
  border-radius: 8px;
  background: rgba(246, 250, 255, 0.72);
  color: var(--front-muted, #5f6d7a);
  font-size: 12px;
  line-height: 1.7;
}

.detail-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 16px 0;
}

.detail-gallery figure {
  overflow: visible;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.detail-gallery img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: none;
  margin: 0 auto;
  object-fit: contain;
}

.detail-media-frame,
.detail-media-card {
  overflow: hidden;
  margin: 16px 0;
  border: 1px solid rgba(24, 101, 171, 0.12);
  border-radius: 8px;
  background: rgba(246, 250, 255, 0.96);
}

.detail-media-frame video {
  display: block;
  width: 100%;
}

.detail-article > .detail-media-frame:first-child {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #000;
}

.detail-article > .detail-media-frame:first-child video {
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}

.detail-media-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) 1fr;
  align-items: stretch;
}

.detail-media-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.detail-media-card .detail-media-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 24px;
}

.detail-media-card span {
  color: var(--front-blue-deep, #0d4d8d);
  font-size: 13px;
  font-weight: 800;
}

.detail-media-card strong {
  color: var(--front-ink, #152033);
  font-size: 22px;
  line-height: 1.35;
}

.detail-media-card p {
  margin: 0;
  color: var(--front-muted, #5f6d7a);
  line-height: 1.75;
}

.detail-live-room {
  display: grid;
  gap: 14px;
  margin: 18px 0 22px;
}

.detail-live-embed {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(24, 101, 171, 0.12);
  border-radius: 8px;
  background: #071d34;
}

.detail-photo-live-room .detail-live-embed {
  width: min(100%, 430px);
  aspect-ratio: 9 / 16;
  margin-inline: auto;
}

.detail-live-room.is-xinbeijiang-room .detail-live-embed {
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: clamp(420px, 72vh, 760px);
}

.detail-photo-live-room.is-xinbeijiang-room .detail-live-embed {
  width: min(100%, 520px);
  aspect-ratio: 9 / 16;
  min-height: min(760px, 78vh);
}

.detail-live-embed iframe,
.detail-live-embed img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.detail-live-embed img {
  object-fit: cover;
}

.detail-live-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  background: linear-gradient(180deg, rgba(2, 35, 68, 0.08), rgba(2, 35, 68, 0.42));
  color: #fff;
  text-align: center;
}

.detail-live-overlay strong {
  font-size: 24px;
}

.detail-live-fallback {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(24, 101, 171, 0.1);
  border-radius: 8px;
  background: rgba(246, 250, 255, 0.82);
}

.detail-live-fallback span {
  color: var(--front-blue-deep, #0d4d8d);
  font-size: 13px;
  font-weight: 800;
}

.detail-live-fallback strong {
  color: var(--front-ink, #152033);
  font-size: 19px;
  line-height: 1.38;
}

.detail-live-fallback p {
  margin: 0;
  color: var(--front-muted, #5f6d7a);
  font-size: 14px;
  line-height: 1.72;
}

body.is-live-app-detail .detail-main {
  width: min(1180px, calc(100vw - 24px));
  margin: 14px auto 32px;
}

body.is-live-app-detail .detail-article {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.detail-live-app {
  display: grid;
  gap: 12px;
}

.detail-live-app-toolbar {
  display: grid;
  gap: 8px;
  width: min(100%, 760px);
  margin-inline: auto;
  padding: 14px 16px;
  border: 1px solid rgba(24, 101, 171, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(25, 86, 138, 0.08);
}

.detail-live-app-toolbar .detail-meta {
  margin-bottom: 0;
}

.detail-live-app-toolbar h1 {
  margin: 0;
  color: var(--front-ink, #152033);
  font-size: clamp(22px, 3.2vw, 32px);
  line-height: 1.24;
}

.detail-live-app-toolbar p {
  margin: 0;
  color: var(--front-muted, #5f6d7a);
  font-size: 14px;
  line-height: 1.65;
}

.detail-live-app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.detail-live-app-frame {
  position: relative;
  overflow: hidden;
  width: min(100%, 560px);
  height: clamp(680px, 82dvh, 920px);
  margin-inline: auto;
  border: 1px solid rgba(24, 101, 171, 0.14);
  border-radius: 8px;
  background: #071d34;
  box-shadow: 0 18px 42px rgba(10, 45, 80, 0.16);
}

.detail-live-app.is-photo-live .detail-live-app-frame {
  width: min(100%, 520px);
}

.detail-live-app-frame iframe,
.detail-live-app-frame img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.detail-live-app-frame img {
  object-fit: cover;
}

body.is-platform-native-detail {
  overflow: hidden;
  background: #000;
}

body.is-platform-native-detail .detail-topbar {
  display: none;
}

body.is-platform-native-detail .detail-main {
  width: 100vw;
  height: 100dvh;
  margin: 0;
}

body.is-platform-native-detail .detail-article {
  width: 100%;
  height: 100%;
}

.detail-live-app.is-platform-native {
  display: block;
  width: 100vw;
  height: 100dvh;
  background: #000;
}

.detail-live-app.is-platform-native .detail-live-app-frame {
  width: 100vw;
  height: 100dvh;
  min-height: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.detail-live-app.is-platform-native .detail-live-app-frame iframe {
  background: #fff;
}

.detail-platform-back {
  position: fixed;
  top: calc(12px + env(safe-area-inset-top));
  right: 12px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(4, 22, 42, 0.68);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.detail-platform-back:active {
  transform: translateY(1px);
}

.detail-platform-fallback {
  position: fixed;
  inset: 50% auto auto 50%;
  z-index: 40;
  display: grid;
  width: min(320px, calc(100vw - 40px));
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(5, 20, 38, 0.88);
  color: #fff;
  text-align: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.detail-platform-fallback[hidden] {
  display: none;
}

.detail-platform-fallback strong {
  font-size: 16px;
  line-height: 1.45;
}

.detail-platform-fallback span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.6;
}

.detail-platform-fallback .content-action {
  min-height: 38px;
  background: #1ad1bd;
  color: #08243a;
}

.detail-platform-float {
  position: fixed;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 30;
  display: flex;
  gap: 8px;
  opacity: 0.88;
}

.detail-platform-float .content-action {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(6, 24, 44, 0.72);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.detail-live-app.is-platform-native .detail-platform-float {
  display: none;
}

.detail-live-app-tip {
  width: min(100%, 760px);
  margin-inline: auto;
  padding: 10px 12px;
  border: 1px solid rgba(24, 101, 171, 0.1);
  border-radius: 8px;
  background: rgba(246, 250, 255, 0.92);
  color: var(--front-muted, #5f6d7a);
  font-size: 12px;
  line-height: 1.7;
}

.detail-live-app-tip a {
  color: var(--front-blue-deep, #0d4d8d);
  font-weight: 800;
}

.detail-xinhua-live-room {
  grid-template-columns: minmax(0, 1fr);
}

.detail-xinhua-live-room .detail-live-overlay {
  background: linear-gradient(180deg, rgba(2, 35, 68, 0.04), rgba(2, 35, 68, 0.68));
}

.detail-xinhua-copy {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 16px;
}

.detail-xinhua-copy > span,
.detail-xinhua-copy > strong,
.detail-xinhua-copy > p,
.xinhua-live-actions {
  grid-column: 1;
}

.xinhua-live-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.xinhua-live-countdown {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-top: 2px;
  padding: 7px 10px;
  border: 1px solid rgba(25, 129, 194, 0.16);
  border-radius: 8px;
  background: rgba(225, 245, 255, 0.88);
  color: var(--front-blue-deep, #0d4d8d);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.xinhua-live-countdown[hidden] {
  display: none;
}

.xinhua-live-actions .is-secondary {
  border-color: rgba(24, 101, 171, 0.18);
  background: #fff;
  color: var(--front-blue-deep, #0d4d8d);
}

.xinhua-live-qr {
  grid-column: 2;
  grid-row: 1 / span 4;
  width: 112px;
  height: 112px;
  padding: 6px;
  border: 1px solid rgba(24, 101, 171, 0.12);
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.detail-media-action {
  align-self: flex-start;
  margin-top: 6px;
}

.detail-media-hint {
  color: var(--front-muted, #5f6d7a);
  font-size: 13px;
}

.detail-social-poster {
  display: grid;
  gap: 14px;
  margin: 16px 0 20px;
}

.detail-social-poster img {
  display: block;
  width: min(100%, 520px);
  height: auto;
  margin: 0 auto;
  border: 1px solid rgba(24, 101, 171, 0.12);
  border-radius: 8px;
  background: #f6fbff;
}

.detail-social-poster-copy {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(24, 101, 171, 0.1);
  border-radius: 8px;
  background: rgba(246, 250, 255, 0.78);
  color: var(--front-muted, #5f6d7a);
  font-size: 13px;
  line-height: 1.65;
}

.detail-social-poster-copy strong {
  color: var(--front-ink, #152033);
  font-size: 15px;
}

.detail-source {
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(24, 101, 171, 0.12);
  border-radius: 8px;
  background: rgba(246, 250, 255, 0.96);
  color: var(--front-muted, #5f6d7a);
  line-height: 1.7;
}

.detail-source a {
  color: var(--front-blue-deep, #0d4d8d);
  font-weight: 800;
}

.detail-source span {
  margin-left: 8px;
}

.detail-actions {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(24, 101, 171, 0.12);
}

.detail-actions .secondary {
  background: #eef6ff;
  color: var(--front-blue-deep, #0d4d8d);
}

.detail-empty,
.detail-loading {
  padding: 42px;
}

body[data-page="list"] {
  --front-ink: #15314f;
  --front-muted: #5c7390;
  --front-line: rgba(21, 49, 79, 0.1);
  --front-blue: #1388d9;
  --front-blue-deep: #0a61ab;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(21, 114, 190, 0.1), rgba(255, 255, 255, 0.9) 30%),
    #f7fbff;
}

body[data-page="list"] .topbar {
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 60px;
  padding: 0 24px;
  background: rgba(8, 54, 98, 0.88);
  color: #fff;
  backdrop-filter: blur(18px);
}

body[data-page="list"] .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="list"] .nav-links {
  justify-content: flex-end;
}

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

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

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

body[data-page="list"] .content-action.secondary {
  background: #eef6ff;
}

.list-main {
  width: min(1060px, calc(100vw - 32px));
  margin: 28px auto 56px;
}

.list-hero {
  margin-bottom: 18px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(24, 101, 171, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(19, 136, 217, 0.12), rgba(255, 255, 255, 0.94)),
    #fff;
  box-shadow: 0 22px 52px rgba(25, 86, 138, 0.1);
}

.list-hero h1 {
  margin: 0 0 10px;
  color: var(--front-ink, #152033);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
}

.list-hero p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--front-muted, #5f6d7a);
  line-height: 1.75;
}

.list-panel {
  display: grid;
  gap: 16px;
}

.list-filter-rack {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) minmax(120px, 0.6fr) minmax(120px, 0.6fr) auto auto;
  gap: 10px;
  align-items: end;
  padding: 14px 16px;
  border: 1px solid rgba(24, 101, 171, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(25, 86, 138, 0.06);
}

.list-filter-rack label {
  display: grid;
  gap: 7px;
  color: var(--front-muted, #5f6d7a);
  font-size: 13px;
  font-weight: 800;
}

.list-filter-rack .search-box {
  display: grid;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.list-filter-rack input,
.list-filter-rack select {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(24, 101, 171, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--front-ink, #15314f);
}

.channel-entry-band {
  background: #f7fbff;
}

.channel-entry-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
}

.topic-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(24, 101, 171, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.topic-search input {
  min-width: 0;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: #eef6ff;
  color: var(--front-ink, #15314f);
}

.channel-entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.channel-entry-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(24, 101, 171, 0.1);
  border-radius: 8px;
  background: #fff;
  color: var(--front-blue-deep, #0a61ab);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(25, 86, 138, 0.06);
}

.channel-entry-grid a::after {
  content: "›";
  color: #1388d9;
  font-size: 18px;
  line-height: 1;
}

.home-entry-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.home-entry-actions a {
  display: grid;
  gap: 6px;
  min-height: 82px;
  padding: 14px 16px;
  border: 1px solid rgba(24, 101, 171, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(240, 248, 255, 0.94), #fff);
  color: var(--front-ink, #15314f);
  box-shadow: 0 12px 26px rgba(25, 86, 138, 0.06);
}

.home-entry-actions span {
  color: var(--front-blue-deep, #0a61ab);
  font-size: 15px;
  font-weight: 900;
}

.home-entry-actions strong {
  color: var(--front-muted, #5f6d7a);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.list-channel-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(24, 101, 171, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.list-count {
  color: var(--front-blue-deep, #0d4d8d);
  font-weight: 800;
}

.list-grid {
  display: grid;
  gap: 14px;
}

.list-card {
  display: grid;
  grid-template-columns: minmax(220px, 260px) 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(24, 101, 171, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(25, 86, 138, 0.09);
}

.list-card-visual {
  display: block;
  aspect-ratio: 16 / 10;
  min-height: 0;
  background: linear-gradient(135deg, #0d5aa7, #56bfe8);
}

.list-card-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.list-card-copy {
  display: grid;
  gap: 12px;
  padding: 20px 22px;
}

.list-card-copy h2 {
  margin: 0;
  color: var(--front-ink, #152033);
  font-size: 23px;
  line-height: 1.35;
}

.list-card-copy h2 a:hover {
  color: var(--front-blue-deep, #0d4d8d);
}

.list-card-copy p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--front-muted, #5f6d7a);
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.list-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.list-card.is-live-room-card {
  border-color: rgba(32, 132, 205, 0.18);
  background:
    linear-gradient(180deg, rgba(247, 252, 255, 0.98), #fff);
}

.list-card.is-live-room-card .list-card-visual {
  background: linear-gradient(135deg, #0f6fbc, #32b7da);
}

.list-card .list-card-actions {
  margin-top: 2px;
}

.list-card .content-action.small-link {
  width: fit-content;
  min-height: 32px;
  padding-inline: 12px;
  font-size: 12px;
}

.list-grid.is-timeline {
  position: relative;
  max-width: 980px;
  gap: 16px;
  padding-left: 0;
}

.list-timeline-card {
  position: relative;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px 22px 20px 0;
  border: 1px solid rgba(24, 101, 171, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(25, 86, 138, 0.08);
}

.list-timeline-card::before {
  content: "";
  position: absolute;
  left: 117px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(19, 136, 217, 0.16);
}

.list-timeline-card::after {
  content: "";
  position: absolute;
  left: 111px;
  top: 31px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--front-blue, #1388d9);
  box-shadow: 0 0 0 5px rgba(19, 136, 217, 0.12);
}

.list-timeline-card .timeline-time {
  justify-self: end;
  margin-top: 1px;
}

.list-timeline-card h3,
.list-timeline-card p {
  grid-column: 2;
}

.list-timeline-card h3 {
  margin: 0;
  color: var(--front-ink, #15314f);
  font-size: 22px;
  line-height: 1.42;
}

.list-timeline-card p {
  margin: 0;
  color: var(--front-muted, #5c7390);
  font-size: 15px;
  line-height: 1.75;
}

body[data-page="list"] .list-grid.is-timeline {
  max-width: 980px;
}

body[data-page="list"] .list-timeline-card {
  grid-template-columns: 116px minmax(0, 1fr);
  min-height: 0;
  padding: 18px 22px 18px 0;
}

body[data-page="list"] .list-timeline-card h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 20px;
}

body[data-page="list"] .list-timeline-card p {
  display: -webkit-box;
  max-height: 5.1em;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

body[data-page="list"] .list-timeline-card .content-action {
  grid-column: 2;
  justify-self: start;
  margin-top: 2px;
}

.timeline-time {
  display: inline-grid;
  min-width: 74px;
  padding: 8px 10px;
  border: 1px solid rgba(19, 136, 217, 0.14);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(238, 247, 255, 0.96), rgba(255, 255, 255, 0.96));
  color: var(--front-blue-deep, #0a61ab);
  text-align: center;
  box-shadow: 0 8px 20px rgba(25, 86, 138, 0.06);
}

.timeline-time-date {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  opacity: 0.78;
}

.timeline-time-clock {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
}

.list-empty {
  padding: 28px;
  border: 1px solid rgba(24, 101, 171, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--front-muted, #5f6d7a);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 8px 0 0;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(24, 101, 171, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--front-blue-deep, #0d4d8d);
  font-size: 13px;
  font-weight: 800;
}

.page-link.active {
  background: var(--front-blue, #1388d9);
  color: #fff;
}

.page-link.disabled {
  pointer-events: none;
  opacity: 0.45;
}

.live-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.timeline-actions {
  margin-top: 14px;
}

@media (max-width: 720px) {
  .detail-topbar {
    align-items: flex-start;
    padding: 12px 16px;
  }

  .detail-topbar .brand {
    max-width: 230px;
    font-size: 14px;
    line-height: 1.4;
  }

  .detail-main {
    width: calc(100vw - 24px);
    margin-top: 16px;
  }

  body.is-live-app-detail .detail-main {
    width: 100%;
    margin: 0;
  }

  body.is-live-app-detail .detail-topbar {
    padding-inline: 12px;
  }

  .detail-live-app {
    gap: 8px;
  }

  .detail-live-app-toolbar {
    width: calc(100vw - 16px);
    padding: 9px 12px;
    border-radius: 0 0 8px 8px;
  }

  .detail-live-app-toolbar .detail-meta {
    display: none;
  }

  .detail-live-app-toolbar h1 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 18px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .detail-live-app-toolbar p {
    display: none;
  }

  .detail-live-app-actions .content-action {
    min-height: 34px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .detail-live-app-frame,
  .detail-live-app.is-photo-live .detail-live-app-frame {
    width: 100%;
    height: calc(100dvh - 122px);
    min-height: 560px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  body.is-platform-native-detail .detail-live-app.is-platform-native,
  body.is-platform-native-detail .detail-live-app.is-platform-native .detail-live-app-frame {
    width: 100vw;
    height: 100dvh;
    min-height: 0;
  }

  .detail-live-app-tip {
    width: calc(100vw - 16px);
    font-size: 11px;
  }

  .detail-hero {
    aspect-ratio: 4 / 3;
  }

  .detail-panel h1 {
    font-size: 25px;
  }

  .detail-summary,
  .detail-body {
    font-size: 16px;
  }

  .detail-gallery {
    grid-template-columns: 1fr;
  }

  .detail-collected-note {
    font-size: 11px;
  }

  .live-side {
    align-items: flex-start;
  }

  .list-main {
    width: calc(100vw - 24px);
    margin-top: 16px;
  }

  .list-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .list-card {
    grid-template-columns: 1fr;
  }

  .list-card-visual {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .list-card-copy {
    padding: 16px;
  }

  .list-card-copy h2 {
    font-size: 20px;
  }
}

* {
  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;
}

.channel-nav {
  min-width: 0;
}

.channel-nav a {
  white-space: nowrap;
}

.channel-nav a.active {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 800;
}

.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;
}

body[data-page="admin"] {
  background:
    linear-gradient(180deg, rgba(239, 246, 255, 0.88), rgba(248, 250, 252, 0.94) 34%, #f6f8fb),
    radial-gradient(circle at top right, rgba(32, 104, 179, 0.12), transparent 32%);
  overflow-x: hidden;
}

body[data-page="admin"] .topbar {
  z-index: 35;
}

body[data-page="admin"] h1,
body[data-page="admin"] h2,
body[data-page="admin"] h3,
body[data-page="admin"] p,
body[data-page="admin"] .admin-card,
body[data-page="admin"] .admin-main,
body[data-page="admin"] .admin-hero-simple > * {
  min-width: 0;
}

body[data-page="admin"] h1,
body[data-page="admin"] h2,
body[data-page="admin"] h3,
body[data-page="admin"] p {
  overflow-wrap: anywhere;
}

.admin-shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 24px;
  width: min(1440px, 100%);
  padding: 24px 28px 36px;
  margin: 0 auto;
}

.admin-sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
  display: grid;
  gap: 16px;
  max-height: calc(100vh - 112px);
  padding: 18px;
  border: 1px solid rgba(32, 104, 179, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(30, 73, 118, 0.08);
}

.admin-sidebar-head {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(24, 35, 31, 0.08);
}

.admin-sidebar-kicker {
  color: #2068b3;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-sidebar-head strong {
  color: #102844;
  font-size: 22px;
  line-height: 1.2;
}

.admin-sidebar-head small,
.admin-sidebar-foot a {
  color: var(--muted);
  font-size: 12px;
}

.admin-side-nav {
  display: grid;
  gap: 6px;
  overflow-y: auto;
  padding-right: 2px;
}

.admin-side-nav a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #22364d;
  text-decoration: none;
}

.admin-side-nav a:hover,
.admin-side-nav a.active {
  border-color: rgba(32, 104, 179, 0.16);
  background: #eef6ff;
}

.admin-side-nav a.active {
  color: #0d4d8d;
  font-weight: 800;
}

.admin-side-nav span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-side-nav em {
  min-width: 28px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(32, 104, 179, 0.08);
  color: #2068b3;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.admin-side-nav a.active em {
  background: #2068b3;
  color: #fff;
}

.admin-sidebar-foot {
  display: grid;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(24, 35, 31, 0.08);
}

.admin-sidebar-foot a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-weight: 800;
}

.admin-sidebar-foot a:hover {
  color: #0d4d8d;
}

.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-main-simple {
  display: grid;
  align-content: start;
  gap: 22px;
  max-width: none;
  min-width: 0;
  min-height: calc(100vh - 132px);
  width: 100%;
  padding-top: 0;
  padding-inline: 0;
}

body[data-page="admin"] .is-admin-panel-hidden {
  display: none !important;
}

body[data-page="admin"] .admin-main-simple > .admin-card,
body[data-page="admin"] .admin-main-simple > .admin-grid,
body[data-page="admin"] .admin-main-simple > .admin-quick-grid,
body[data-page="admin"] .admin-main-simple > .admin-hero {
  scroll-margin-top: 90px;
}

body[data-page="admin"] .admin-primary-grid[data-admin-panel],
body[data-page="admin"] .admin-channel-grid[data-admin-panel] {
  align-items: start;
}

body[data-page="admin"][data-admin-active-panel="import"] #manualPublishForm,
body[data-page="admin"][data-admin-active-panel="publish"] #import-panel,
body[data-page="admin"][data-admin-active-panel="publish"] #review-panel,
body[data-page="admin"][data-admin-active-panel="live"] #photo-live-panel,
body[data-page="admin"][data-admin-active-panel="photo"] #live-replay-panel {
  display: none;
}

body[data-page="admin"][data-admin-active-panel="publish"] .admin-primary-grid,
body[data-page="admin"][data-admin-active-panel="photo"] .admin-channel-grid {
  grid-template-columns: 1fr;
}

.layout-help,
.home-layout-slot,
.layout-row {
  border: 1px solid rgba(32, 104, 179, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
}

.layout-help {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
  padding: 14px 16px;
  color: var(--muted);
}

.layout-help strong {
  color: var(--ink);
}

.home-layout-board {
  display: grid;
  gap: 14px;
}

.home-layout-slot {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.home-layout-slot-head,
.home-layout-picker,
.layout-row,
.layout-row-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-layout-picker {
  flex-wrap: wrap;
}

.home-layout-search {
  flex: 0 0 220px;
  min-width: 180px;
}

.home-layout-slot-head {
  justify-content: space-between;
}

.home-layout-slot-head div,
.layout-row-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.home-layout-slot-head span,
.layout-row-main span {
  color: var(--muted);
  font-size: 13px;
}

.home-layout-picker select {
  flex: 1;
  min-width: 0;
}

.admin-toolbar.compact-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
  justify-content: space-between;
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(32, 104, 179, 0.12);
  border-radius: 8px;
  background: rgba(244, 249, 255, 0.72);
}

.admin-toolbar.compact-toolbar label {
  flex: 1 1 320px;
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-toolbar.compact-toolbar input {
  width: 100%;
}

.admin-toolbar.compact-toolbar span {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}

.table-empty {
  padding: 18px 8px;
  color: var(--muted);
  text-align: center;
}

body[data-page="admin"] #publishSourceCustom {
  min-width: 0;
}


.home-layout-rows {
  display: grid;
  gap: 8px;
}

.layout-row {
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(244, 249, 255, 0.72);
}

.layout-row.empty {
  justify-content: flex-start;
  color: var(--muted);
}

.layout-row-main strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.layout-row-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-hero-simple {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid rgba(32, 104, 179, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(239, 246, 255, 0.9)),
    linear-gradient(90deg, rgba(32, 104, 179, 0.08), transparent);
  box-shadow: 0 18px 44px rgba(30, 73, 118, 0.08);
}

.admin-hero-simple h1 {
  margin: 8px 0 10px;
  color: #102844;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.22;
}

.admin-hero-simple .admin-intro {
  max-width: 780px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.admin-quick-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.admin-quick-card {
  display: grid;
  gap: 8px;
  min-height: 104px;
  padding: 16px;
  border: 1px solid rgba(32, 104, 179, 0.14);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.92));
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(30, 73, 118, 0.08);
}

.admin-quick-card strong {
  font-size: 17px;
}

.admin-quick-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.admin-quick-card:hover {
  border-color: rgba(32, 104, 179, 0.34);
  transform: translateY(-1px);
}

.admin-metrics-simple {
  margin-bottom: 18px;
}

.launch-check-card {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.ai-assistant-card {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.assistant-guardrail {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(32, 104, 179, 0.14);
  border-radius: 8px;
  background: #f7fbff;
}

.assistant-guardrail strong {
  flex: 0 0 auto;
  color: #0d4d8d;
  font-size: 13px;
}

.assistant-guardrail span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

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

.assistant-card {
  display: grid;
  gap: 10px;
  min-height: 218px;
  padding: 14px;
  border: 1px solid rgba(32, 104, 179, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
}

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

.assistant-card-head div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.assistant-card-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.assistant-card-head strong {
  color: #15314f;
  font-size: 18px;
  line-height: 1.3;
}

.assistant-card-head em {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(31, 122, 87, 0.1);
  color: #1f7a57;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.assistant-card-warn .assistant-card-head em {
  background: rgba(202, 157, 69, 0.13);
  color: #9b6f14;
}

.assistant-card-attention .assistant-card-head em {
  background: rgba(181, 74, 52, 0.12);
  color: #a13e26;
}

.assistant-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.assistant-card ul {
  display: grid;
  gap: 6px;
  min-height: 74px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.assistant-card li {
  position: relative;
  padding-left: 12px;
  color: #31445b;
  font-size: 12px;
  line-height: 1.55;
}

.assistant-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(32, 104, 179, 0.55);
}

.assistant-card .plain-button {
  justify-self: start;
  margin-top: auto;
}

.launch-check-summary {
  display: grid;
}

.launch-check-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(32, 104, 179, 0.12);
  border-radius: 8px;
  background: #f7fbff;
}

.launch-check-status strong {
  color: #15314f;
  font-size: 18px;
}

.launch-check-status span {
  color: var(--muted);
  font-size: 13px;
}

.launch-check-status.is-ok {
  border-color: rgba(31, 122, 87, 0.16);
  background: #f2fbf6;
}

.launch-check-status.is-warn {
  border-color: rgba(202, 157, 69, 0.2);
  background: #fff9ec;
}

.launch-check-status.is-danger {
  border-color: rgba(181, 74, 52, 0.2);
  background: #fff4f1;
}

.launch-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.launch-check-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  min-height: 92px;
  padding: 13px 14px;
  border: 1px solid rgba(32, 104, 179, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: inherit;
  text-decoration: none;
}

.launch-check-dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 999px;
  background: #1f7a57;
}

.launch-check-item.is-warn .launch-check-dot {
  background: #ca9d45;
}

.launch-check-item.is-danger .launch-check-dot {
  background: #b54a34;
}

.launch-check-item strong {
  color: #15314f;
  font-size: 15px;
}

.launch-check-item p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.launch-check-item em {
  align-self: start;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(32, 104, 179, 0.08);
  color: #0d4d8d;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.quick-live-card {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.quick-live-form {
  display: grid;
  grid-template-columns: minmax(100px, 0.55fr) minmax(220px, 1fr) minmax(280px, 1.35fr) minmax(120px, 0.6fr) auto;
  gap: 10px;
  align-items: end;
}

.quick-live-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.quick-live-form textarea {
  min-height: 44px;
  resize: vertical;
}

.quick-live-form .primary-action {
  min-height: 42px;
}

.quick-live-status {
  min-height: auto;
}

.admin-primary-grid {
  align-items: start;
}

.admin-channel-grid {
  align-items: start;
}

.danger-soft {
  border-color: rgba(179, 60, 32, 0.18);
  color: #9a3412;
}

.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: 24px;
  line-height: 1.25;
}

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

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

.field-help {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
}

.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;
}

body[data-page="admin"] .table-shell,
body[data-page="admin"] .queue-list,
body[data-page="admin"] .channel-admin-list,
body[data-page="admin"] #timelineListAdmin {
  max-height: min(62vh, 680px);
  overflow: auto;
  padding-right: 4px;
}

body[data-page="admin"] .grouped-board {
  max-height: 240px;
  overflow: auto;
  padding-right: 4px;
}

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

.rich-paste-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(32, 104, 179, 0.12);
  border-radius: 8px;
  background: rgba(247, 251, 255, 0.78);
}

.rich-paste-head {
  display: flex;
  gap: 12px;
  align-items: start;
  justify-content: space-between;
}

.rich-paste-head div {
  display: grid;
  gap: 4px;
}

.rich-paste-head strong {
  color: #15314f;
  font-size: 15px;
}

.rich-paste-head span,
.rich-paste-status span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.rich-paste-editor {
  min-height: 180px;
  max-height: 420px;
  padding: 12px;
  overflow: auto;
  border: 1px solid rgba(32, 104, 179, 0.14);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  line-height: 1.75;
  outline: none;
}

.rich-paste-editor:empty::before {
  content: attr(data-placeholder);
  color: rgba(73, 97, 122, 0.72);
}

.rich-paste-editor:focus {
  border-color: rgba(32, 104, 179, 0.45);
  box-shadow: 0 0 0 3px rgba(32, 104, 179, 0.08);
}

.rich-paste-editor p {
  margin: 0 0 10px;
}

.rich-paste-editor figure {
  margin: 12px 0;
}

.rich-paste-editor img {
  display: block;
  width: min(100%, 520px);
  max-height: 320px;
  object-fit: contain;
  border-radius: 8px;
  background: #f5f8fb;
}

.rich-paste-editor figcaption {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.rich-paste-status {
  display: grid;
  gap: 4px;
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.rich-paste-status strong {
  color: #2068b3;
  font-size: 13px;
}

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

.queue-toolbar {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) minmax(120px, 0.7fr) minmax(220px, 1.2fr) auto auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
}

.queue-toolbar label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.queue-toolbar .queue-select-all {
  align-self: center;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid rgba(32, 104, 179, 0.1);
  border-radius: 8px;
  background: rgba(247, 251, 255, 0.86);
}

.queue-bulk-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.queue-bulk-status {
  margin-bottom: 12px;
}

.queue-item-check {
  grid-template-columns: auto minmax(0, 1fr);
  margin: 0;
}

.queue-item-check strong {
  margin-bottom: 0;
}

.section-map,
.grouped-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.section-map-card,
.content-group,
.content-item-admin {
  border: 1px solid rgba(24, 35, 31, 0.08);
  border-radius: 8px;
  background: rgba(250, 252, 255, 0.84);
}

.section-map-card,
.content-group {
  padding: 16px;
}

.section-map-head,
.content-group-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.section-map-card p,
.content-group-head span,
.queue-item-copy,
.muted-note,
.import-meta span,
.duplicate-note {
  color: var(--muted);
}

.content-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.content-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(32, 104, 179, 0.08);
  color: #205eb1;
  font-size: 12px;
  font-weight: 700;
}

.content-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.content-item-admin.is-compact {
  display: grid;
  gap: 4px;
}

.channel-admin-list {
  display: grid;
  gap: 12px;
}

.admin-more-panel {
  margin-top: 18px;
}

.admin-more-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
}

.admin-more-panel summary::-webkit-details-marker {
  display: none;
}

.admin-more-panel summary span {
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
}

.admin-more-panel summary small {
  color: var(--muted);
  font-size: 13px;
}

.admin-more-content {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.inner-card {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

.queue-inline-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-top: 12px;
}

.queue-inline-controls label {
  display: grid;
  gap: 8px;
}

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

.import-preview-panel h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.import-status-card {
  display: grid;
  gap: 5px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(32, 104, 179, 0.12);
  border-radius: 8px;
  background: #f7fbff;
}

.import-status-card > span {
  width: fit-content;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(32, 104, 179, 0.1);
  color: #2068b3;
  font-size: 12px;
  font-weight: 800;
}

.import-status-card strong {
  margin: 0;
  color: #102844;
  font-size: 16px;
}

.import-status-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.import-status-card.is-ready {
  border-color: rgba(46, 160, 103, 0.18);
  background: #f2fbf6;
}

.import-status-card.is-ready > span {
  background: rgba(46, 160, 103, 0.12);
  color: #167342;
}

.import-status-card.is-review {
  border-color: rgba(181, 118, 35, 0.2);
  background: #fffaf0;
}

.import-status-card.is-review > span,
.import-status-card.is-limited > span,
.import-status-card.is-duplicate > span {
  background: rgba(181, 118, 35, 0.12);
  color: #9a5a0c;
}

.import-preview-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  margin-top: 12px;
}

.import-preview-cover {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: rgba(32, 104, 179, 0.06);
  border: 1px solid rgba(32, 104, 179, 0.12);
}

.import-preview-cover.empty {
  display: grid;
  place-items: center;
  min-height: 135px;
  color: var(--muted);
  font-weight: 700;
}

.import-preview-copy {
  display: grid;
  gap: 10px;
}

.import-decision-row {
  margin-top: 0;
}

.import-diagnostics {
  display: grid;
  gap: 10px;
  margin-top: 2px;
  padding: 10px 12px;
  border: 1px dashed rgba(32, 104, 179, 0.16);
  border-radius: 8px;
  background: rgba(247, 251, 255, 0.8);
}

.import-diagnostics summary {
  cursor: pointer;
  color: #2068b3;
  font-weight: 800;
}

.import-diagnostics[open] summary {
  margin-bottom: 8px;
}

.import-source-url {
  display: block;
  max-width: 100%;
  padding: 8px 10px;
  overflow-wrap: anywhere;
  border-radius: 8px;
  background: rgba(24, 35, 31, 0.04);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.import-preview-copy p,
.content-item-copy p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.warning-list {
  margin: 0;
  padding-left: 18px;
  color: #9a5b10;
}

.import-quality-card {
  display: grid;
  gap: 7px;
  padding: 10px 11px;
  border: 1px solid rgba(31, 122, 87, 0.14);
  border-radius: 8px;
  background: #f4fbf7;
}

.import-quality-card strong {
  color: #1f5c43;
  font-size: 13px;
}

.import-quality-card span,
.import-quality-card p,
.import-attempt-list span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.import-quality-card ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 18px;
  color: #8a4b19;
  font-size: 12px;
}

.import-quality-card.is-review {
  border-color: rgba(202, 157, 69, 0.22);
  background: #fff9ec;
}

.import-quality-card.is-blocked {
  border-color: rgba(181, 74, 52, 0.2);
  background: #fff4f1;
}

.import-attempt-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.import-attempt-list strong {
  flex: 0 0 100%;
  color: #15314f;
  font-size: 12px;
}

.import-attempt-list span {
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(24, 35, 31, 0.06);
}

.import-attempt-list span.is-ok {
  background: rgba(31, 122, 87, 0.1);
  color: #1f5c43;
}

.duplicate-note {
  font-weight: 700;
}

.import-meta {
  display: grid;
  gap: 6px;
  font-size: 13px;
}

.image-pick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.image-pick {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(32, 104, 179, 0.16);
  border-radius: 8px;
  background: #fff;
}

.image-pick:hover,
.image-pick:focus-visible {
  border-color: #2068b3;
  outline: 2px solid rgba(32, 104, 179, 0.16);
  outline-offset: 2px;
}

.image-pick img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-snippet {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(24, 35, 31, 0.04);
}

.content-group-list {
  display: grid;
  gap: 10px;
}

.content-item-admin {
  padding: 14px;
}

.content-item-admin.empty {
  display: grid;
  place-items: center;
  min-height: 84px;
}

.content-item-copy strong {
  display: block;
  margin-bottom: 6px;
}

.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,
  .section-map,
  .grouped-board,
  .admin-grid,
  .admin-quick-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;
  }

  .queue-inline-controls,
  .import-preview-grid {
    grid-template-columns: 1fr;
  }

  .admin-quick-card {
    min-height: auto;
  }

  .admin-more-panel summary {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .admin-shell {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 18px 32px;
  }

  .admin-sidebar {
    position: sticky;
    top: 58px;
    z-index: 24;
    max-height: none;
    padding: 12px;
  }

  .admin-sidebar-head,
  .admin-sidebar-foot {
    display: none;
  }

  .admin-side-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 2px;
  }

  .admin-side-nav a {
    flex: 0 0 auto;
    grid-template-columns: auto auto;
    min-height: 40px;
    white-space: nowrap;
  }

  .admin-hero-simple {
    grid-template-columns: 1fr;
  }
}

@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;
  }

  .admin-shell {
    padding-inline: 12px;
  }

  body[data-page="admin"] .admin-main {
    width: 100%;
    padding: 0;
  }

  body[data-page="admin"] .queue-item,
  body[data-page="admin"] .content-item-admin,
  body[data-page="admin"] .section-map-card,
  body[data-page="admin"] .content-group {
    width: 100%;
    min-width: 0;
  }

  body[data-page="admin"] .queue-item-head,
  body[data-page="admin"] .queue-inline-controls,
  body[data-page="admin"] .content-admin-actions,
  body[data-page="admin"] .table-actions {
    align-items: stretch;
    flex-direction: column;
  }

  body[data-page="admin"] .queue-inline-controls {
    display: grid;
    grid-template-columns: 1fr;
  }

  body[data-page="admin"] .table-shell {
    max-width: 100%;
    overflow-x: auto;
  }

  .admin-sidebar {
    top: 58px;
    margin-inline: -2px;
  }

  .admin-hero-simple {
    padding: 18px;
  }

  .admin-hero-simple h1 {
    font-size: 24px;
  }

  .admin-quick-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .list-grid.is-timeline {
    gap: 12px;
  }

  .list-timeline-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .list-timeline-card::before {
    display: none;
  }

  .list-timeline-card::after {
    left: 16px;
    top: 20px;
    width: 10px;
    height: 10px;
    box-shadow: 0 0 0 4px rgba(19, 136, 217, 0.1);
  }

  .list-timeline-card .timeline-time {
    justify-self: start;
    margin-left: 18px;
  }

  .list-timeline-card h3,
  .list-timeline-card p {
    grid-column: auto;
  }

  .list-timeline-card h3 {
    font-size: 18px;
  }

  .list-timeline-card p {
    font-size: 14px;
    line-height: 1.7;
  }
}

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-shell,
body[data-page="front"] .hero-panel,
body[data-page="front"] .lead-copy,
body[data-page="front"] .content-copy,
body[data-page="front"] .brief-panel,
body[data-page="front"] .overview-panel,
body[data-page="front"] .section-heading > * {
  min-width: 0;
}

body[data-page="front"] h1,
body[data-page="front"] h2,
body[data-page="front"] h3,
body[data-page="front"] p {
  word-break: normal;
  overflow-wrap: break-word;
}

body[data-page="front"] .topbar {
  grid-template-columns: auto 1fr;
  min-height: 60px;
  padding: 0 24px;
}

body[data-page="front"] .nav-links {
  justify-content: flex-end;
}

body[data-page="front"] .topbar-actions {
  display: none;
}

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-visual > picture {
  position: absolute;
  inset: 0;
  display: block;
}

body[data-page="front"] .hero-visual > picture img {
  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: -64px 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: 16px;
  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: 16px;
  line-height: 1.8;
}

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"] .hero-actions {
  gap: 10px;
}

body[data-page="front"] .hero-actions a {
  min-width: 168px;
}

body[data-page="front"] .hero-summary,
body[data-page="front"] #heroSummary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

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;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: auto;
  gap: 12px;
  margin: 0;
}

body[data-page="front"] .hero-metrics article {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 104px;
  padding: 18px 16px;
  text-align: center;
  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 span {
  margin-bottom: 6px;
  line-height: 1;
}

body[data-page="front"] .hero-metrics strong {
  display: block;
  width: 100%;
  line-height: 1.45;
  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 {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  color: var(--front-muted);
}

body[data-page="front"] .ticker-track.is-empty {
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="front"] .ticker-marquee {
  --ticker-gap: 40px;
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  column-gap: var(--ticker-gap);
  white-space: nowrap;
  animation: front-ticker-marquee 28s linear infinite;
  will-change: transform;
}

body[data-page="front"] .ticker-track:hover .ticker-marquee,
body[data-page="front"] .ticker-track:focus-within .ticker-marquee,
body[data-page="front"] .ticker-track.is-paused .ticker-marquee {
  animation-play-state: paused;
}

body[data-page="front"] .ticker-marquee > span {
  flex: 0 0 auto;
}

body[data-page="front"] .ticker-group {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

body[data-page="front"] .ticker-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-block: 6px;
  color: var(--front-muted);
  text-decoration: none;
}

body[data-page="front"] .ticker-link span {
  color: var(--front-blue);
  font-weight: 700;
}

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

body[data-page="front"] .ticker-link:hover,
body[data-page="front"] .ticker-link:focus-visible {
  color: var(--front-blue-deep);
}

body[data-page="front"] .ticker-separator {
  color: rgba(21, 49, 79, 0.28);
}

@keyframes front-ticker-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - (var(--ticker-gap) / 2)));
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="front"] .ticker-marquee {
    animation: none;
  }
}

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);
  display: block;
  max-width: 100%;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}

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: 40px;
}

body[data-page="front"] .overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 16px;
  align-items: stretch;
}

body[data-page="front"] .brief-panel,
body[data-page="front"] .overview-panel,
body[data-page="front"] .featured-media-main,
body[data-page="front"] .live-player-card,
body[data-page="front"] .video-player-card,
body[data-page="front"] .featured-media-mini,
body[data-page="front"] .scene-card,
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 {
  height: 100%;
  padding: 26px;
}

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

body[data-page="front"] .brief-panel p {
  margin-bottom: 0;
}

body[data-page="front"] .brief-panel dl {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
}

body[data-page="front"] .brief-panel div {
  padding: 14px 14px 12px;
  border: 1px solid rgba(19, 136, 217, 0.1);
  border-radius: 8px;
  background: rgba(244, 250, 255, 0.9);
}

body[data-page="front"] .brief-panel dt {
  margin-bottom: 6px;
  color: var(--front-muted);
  font-size: 12px;
  font-weight: 700;
}

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"] .brief-panel dd {
  color: var(--front-ink);
  font-size: 14px;
  line-height: 1.65;
}

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

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 {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 108px;
  padding: 16px 14px;
  text-align: center;
  border: 1px solid rgba(19, 136, 217, 0.08);
  background: linear-gradient(180deg, #f5fbff, #ffffff);
}

body[data-page="front"] .mini-stat strong {
  display: block;
  margin-bottom: 0;
  font-size: 24px;
  line-height: 1;
  color: var(--front-blue-deep);
}

body[data-page="front"] .mini-stat span {
  color: var(--front-muted);
  font-size: 12px;
  line-height: 1.45;
}

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"] .side-stack {
  grid-auto-rows: 1fr;
  gap: 16px;
}

body[data-page="front"] .lead-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.96fr) 1fr;
  overflow: hidden;
  border-top: 5px solid #1388d9;
  background: linear-gradient(180deg, rgba(240, 248, 255, 0.98), #ffffff);
  box-shadow: 0 22px 54px rgba(10, 63, 113, 0.14);
}

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"] .visual-link {
  display: block;
  color: inherit;
}

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;
  gap: 12px;
}

body[data-page="front"] .lead-copy h3 {
  margin-bottom: 0;
  font-size: clamp(28px, 2.9vw, 36px);
  line-height: 1.28;
}

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"] .lead-card .meta-row {
  margin-top: 4px;
}

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

body[data-page="front"] .lead-summary,
body[data-page="front"] .compact-summary,
body[data-page="front"] .content-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

body[data-page="front"] .lead-summary {
  -webkit-line-clamp: 4;
}

body[data-page="front"] .compact-summary,
body[data-page="front"] .content-summary {
  -webkit-line-clamp: 3;
}

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"] .section-more {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-top: 6px;
  color: var(--front-muted);
  font-size: 13px;
}

body[data-page="front"] .section-more span {
  font-weight: 700;
}

body[data-page="front"] .scene-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px 14px;
}

body[data-page="front"] .scene-heading .section-note {
  grid-column: 1 / -1;
}

body[data-page="front"] .scene-more-link {
  justify-self: end;
  white-space: nowrap;
}

body[data-page="front"] .compact-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100%;
  gap: 10px;
  border-top-width: 3px;
  background: linear-gradient(180deg, rgba(248, 252, 255, 0.96), #ffffff);
  box-shadow: 0 14px 30px rgba(10, 63, 113, 0.08);
}

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

body[data-page="front"] .compact-card-article {
  border-top: 4px solid #1388d9;
}

body[data-page="front"] .compact-card h3 {
  display: -webkit-box;
  min-height: calc(1.42em * 2);
  margin-bottom: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 24px;
  line-height: 1.42;
}

body[data-page="front"] .compact-card .meta-row {
  margin-top: 2px;
}

body[data-page="front"] .compact-card .content-actions {
  padding-top: 14px;
}

body[data-page="front"] .compact-card-video {
  border-top: 4px solid #48c2eb;
}

body[data-page="front"] .compact-card-live {
  border-top: 4px solid #42cb8f;
}

body[data-page="front"] .compact-card-link {
  border-top: 4px solid #6a9ef0;
}

body[data-page="front"] .featured-media-band {
  padding-top: 24px;
}

body[data-page="front"] .featured-media-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 16px;
  align-items: stretch;
}

body[data-page="front"] .live-player-card,
body[data-page="front"] .video-player-card,
body[data-page="front"] .photo-live-player-card {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(248, 252, 255, 0.98), #fff);
  box-shadow: 0 22px 54px rgba(10, 63, 113, 0.13);
}

body[data-page="front"] .live-player-card {
  border-top: 5px solid #42cb8f;
}

body[data-page="front"] .video-player-card {
  order: -1;
  border-top: 5px solid #46c7ef;
}

body[data-page="front"] .photo-live-player-card {
  border-top: 5px solid #f0b84e;
}

body[data-page="front"] .featured-media-main {
  display: grid;
  grid-template-columns: minmax(300px, 0.98fr) 1fr;
  overflow: hidden;
  border-top: 5px solid #42cb8f;
  background:
    linear-gradient(180deg, rgba(240, 252, 248, 0.98), #ffffff);
  box-shadow: 0 22px 54px rgba(10, 63, 113, 0.13);
}

body[data-page="front"] .featured-media-video {
  border-top-color: #46c7ef;
}

body[data-page="front"] .featured-media-visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: linear-gradient(140deg, #0d5aa7, #53c4ef);
}

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

body[data-page="front"] .media-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  background: #083f70;
  color: inherit;
}

body[data-page="front"] button.media-frame {
  width: 100%;
  padding: 0;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

body[data-page="front"] .media-frame img,
body[data-page="front"] .media-frame video,
body[data-page="front"] .media-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

body[data-page="front"] .media-frame.is-embedded iframe {
  background: #020f1d;
}

body[data-page="front"] .media-frame-detail-link {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--front-blue-deep);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(2, 35, 68, 0.16);
}

body[data-page="front"] .media-frame-photo-live.is-embedded {
  aspect-ratio: 9 / 12;
}

body[data-page="front"] .photo-live-player-card .media-frame-photo-live {
  aspect-ratio: 16 / 9;
  max-height: 240px;
}

@media (min-width: 981px) {
  body[data-page="front"] .content-grid.is-home-compact .home-compact-card .content-meta-chip,
  body[data-page="front"] .content-grid.is-home-compact .home-compact-card .content-type {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

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

  body[data-page="front"] .hero h1 {
    max-width: none;
    font-size: clamp(34px, 2.9vw, 39px);
    line-height: 1.14;
    word-break: normal;
    overflow-wrap: anywhere;
  }
}

body[data-page="front"] .media-frame-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 35, 68, 0.08), rgba(2, 35, 68, 0.22)),
    linear-gradient(90deg, rgba(2, 35, 68, 0.2), transparent 58%);
  pointer-events: none;
}

body[data-page="front"] .media-frame-status,
body[data-page="front"] .media-frame-link {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

body[data-page="front"] .media-frame-status {
  top: 14px;
  left: 14px;
  gap: 7px;
  min-height: 30px;
  padding: 0 11px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--front-blue-deep);
}

body[data-page="front"] .media-frame-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e8324d;
  box-shadow: 0 0 0 5px rgba(232, 50, 77, 0.14);
}

body[data-page="front"] .media-frame-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 36px rgba(2, 35, 68, 0.18);
  transform: translate(-50%, -50%);
}

body[data-page="front"] .media-frame-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 23px solid var(--front-blue);
  transform: translate(-50%, -50%);
}

body[data-page="front"] .media-frame-link {
  right: 14px;
  bottom: 14px;
  min-height: 34px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--front-blue-deep);
}

body[data-page="front"] .media-frame-link.disabled {
  color: rgba(73, 97, 122, 0.82);
}

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

body[data-page="front"] .featured-media-head,
body[data-page="front"] .scene-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--front-muted);
  font-size: 12px;
  font-weight: 700;
}

body[data-page="front"] .media-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(91, 224, 165, 0.16);
  color: #0d7a4b;
  font-size: 12px;
  font-weight: 800;
}

body[data-page="front"] .media-status-pill.is-video {
  background: rgba(70, 199, 239, 0.14);
  color: #0e78a5;
}

body[data-page="front"] .media-status-pill.is-photo {
  background: rgba(240, 184, 78, 0.16);
  color: #99620d;
}

body[data-page="front"] .featured-media-main h3 {
  margin-bottom: 0;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.34;
}

body[data-page="front"] .featured-media-main p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 0;
  color: var(--front-muted);
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body[data-page="front"] .live-player-card h3,
body[data-page="front"] .video-player-card h3,
body[data-page="front"] .photo-live-player-card h3 {
  margin-bottom: 0;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.35;
}

body[data-page="front"] .featured-media-copy h3 a:hover,
body[data-page="front"] .featured-media-mini h3 a:hover,
body[data-page="front"] .scene-copy h3 a:hover,
body[data-page="front"] .lead-copy h3 a:hover,
body[data-page="front"] .compact-card h3 a:hover,
body[data-page="front"] .content-copy h3 a:hover,
body[data-page="front"] .live-copy h3 a:hover {
  color: var(--front-blue-deep);
}

body[data-page="front"] .live-player-card p,
body[data-page="front"] .video-player-card p,
body[data-page="front"] .photo-live-player-card p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 0;
  color: var(--front-muted);
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body[data-page="front"] .featured-media-copy.compact {
  padding-bottom: 18px;
}

body[data-page="front"] .featured-media-side {
  display: grid;
  gap: 12px;
}

body[data-page="front"] .featured-media-mini {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 0;
  padding: 18px;
  border-top: 3px solid rgba(19, 136, 217, 0.38);
  background: linear-gradient(180deg, rgba(248, 252, 255, 0.98), #fff);
}

body[data-page="front"] .featured-media-mini h3 {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body[data-page="front"] .featured-media-mini p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 0;
  color: var(--front-muted);
  font-size: 14px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body[data-page="front"] .featured-media-mini .source {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--front-line);
}

body[data-page="front"] .scene-band {
  position: relative;
  max-width: none;
  padding-inline: max(32px, calc((100vw - 1120px) / 2));
  background:
    linear-gradient(180deg, rgba(19, 136, 217, 0.05), rgba(255, 255, 255, 0.95));
}

body[data-page="front"] .scene-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 360px);
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 2px 2px 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

body[data-page="front"] .scene-card {
  overflow: hidden;
  min-width: 0;
  scroll-snap-align: start;
  background: #fff;
}

body[data-page="front"] .scene-card.is-lead {
  grid-column: span 1;
}

body[data-page="front"] .scene-visual {
  position: relative;
  min-height: 196px;
  overflow: hidden;
  background: linear-gradient(140deg, #0d5aa7, #53c4ef);
}

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

body[data-page="front"] .scene-copy {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px;
}

body[data-page="front"] .scene-copy h3 {
  display: -webkit-box;
  overflow: hidden;
  min-height: calc(1.42em * 2);
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body[data-page="front"] .scene-copy p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 0;
  color: var(--front-muted);
  font-size: 14px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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);
  font-size: 15px;
  font-weight: 800;
}

body[data-page="front"] .live-copy h3 {
  margin-bottom: 6px;
  font-size: 22px;
  line-height: 1.4;
}

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

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;
  gap: 16px;
}

body[data-page="front"] .timeline-item {
  padding-bottom: 0;
}

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 {
  display: inline-grid;
  min-width: 72px;
  min-height: auto;
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(19, 136, 217, 0.07);
  color: var(--front-blue-deep);
  font-size: inherit;
  font-weight: inherit;
  text-align: center;
}

body[data-page="front"] .timeline-time-date {
  font-size: 11px;
}

body[data-page="front"] .timeline-time-clock {
  font-size: 14px;
}

body[data-page="front"] .timeline-card {
  padding: 16px 18px;
  border-top: 2px solid rgba(19, 136, 217, 0.12);
  background: rgba(255, 255, 255, 0.94);
}

body[data-page="front"] .timeline-card h3 {
  display: -webkit-box;
  margin-bottom: 5px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
}

body[data-page="front"] .timeline-card p {
  display: -webkit-box;
  margin-bottom: 0;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  color: rgba(73, 97, 122, 0.88);
  font-size: 14px;
  line-height: 1.7;
}

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"] .media-band .section-heading {
  margin-bottom: 14px;
}

body[data-page="front"] .filter-rack {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px 16px 16px;
  border: 1px solid rgba(19, 136, 217, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(244, 250, 255, 0.92), rgba(255, 255, 255, 0.98));
  box-shadow: 0 10px 22px rgba(10, 63, 113, 0.05);
}

body[data-page="front"] .media-band .tools {
  justify-content: flex-start;
}

body[data-page="front"] .media-band .type-tabs {
  width: fit-content;
  max-width: 100%;
}

body[data-page="front"] .media-band .content-grid {
  gap: 16px;
}

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

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

body[data-page="front"] .content-card-editorial {
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.98), #ffffff);
  box-shadow: 0 14px 30px rgba(10, 63, 113, 0.08);
}

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

body[data-page="front"] .content-card-editorial .content-copy {
  gap: 7px;
  padding: 12px 13px 13px;
}

body[data-page="front"] .content-card-editorial .content-copy h3 {
  font-size: 16px;
  line-height: 1.42;
}

body[data-page="front"] .content-card-editorial .content-summary {
  -webkit-line-clamp: 2;
  color: var(--front-muted);
}

body[data-page="front"] .content-card-editorial .meta-row {
  gap: 6px;
  margin-top: 0;
}

body[data-page="front"] .content-card-editorial .meta-row span {
  min-height: 24px;
  padding: 0 8px;
  font-size: 11px;
}

body[data-page="front"] .content-card-editorial .content-action.small-link {
  min-height: 32px;
  padding: 0 12px;
  font-size: 12px;
}

body[data-page="front"] .content-card-editorial-lead {
  border-top-width: 5px;
  box-shadow: 0 18px 36px rgba(10, 63, 113, 0.11);
}

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

body[data-page="front"] .content-card-editorial-lead .content-copy h3 {
  font-size: 17px;
}

body[data-page="front"] .content-card-article {
  border-top: 4px solid #1388d9;
}

body[data-page="front"] .content-card-video {
  border-top: 4px solid #46c7ef;
}

body[data-page="front"] .content-card-live {
  border-top: 4px solid #46ce95;
}

body[data-page="front"] .content-card-link {
  border-top: 4px solid #6d9ff2;
}

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

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

body[data-page="front"] .content-card-editorial-lead .card-visual {
  height: 132px;
}

body[data-page="front"] .content-card .visual-overlay {
  display: none;
}

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

body[data-page="front"] .content-card .content-copy {
  gap: 6px;
  padding: 12px 13px 13px;
}

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

body[data-page="front"] .content-grid.is-home-compact .home-compact-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: stretch;
  min-height: 112px;
  border-top-width: 0;
}

body[data-page="front"] .content-grid.is-home-compact .home-compact-card .visual-link,
body[data-page="front"] .content-grid.is-home-compact .home-compact-card .card-visual {
  height: 100%;
  min-height: 112px;
}

body[data-page="front"] .content-grid.is-home-compact .home-compact-card .card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-page="front"] .content-grid.is-home-compact .home-compact-card {
  grid-template-columns: 128px minmax(0, 1fr);
  min-height: 112px;
}

body[data-page="front"] .content-grid.is-home-compact .home-compact-card .visual-link,
body[data-page="front"] .content-grid.is-home-compact .home-compact-card .card-visual {
  display: block;
  width: 128px;
  height: 112px;
  min-height: 112px;
  overflow: hidden;
}

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

body[data-page="front"] .scene-visual .visual-link {
  display: block;
  width: 100%;
  height: 100%;
}

body[data-page="front"] .content-grid.is-home-compact .home-compact-card .content-copy {
  justify-content: center;
  gap: 8px;
  min-height: 0;
  padding: 12px 14px;
}

body[data-page="front"] .content-grid.is-home-compact .home-compact-card .content-copy h3 {
  display: -webkit-box;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--front-ink);
  font-size: 16px;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body[data-page="front"] .content-grid.is-home-compact .home-compact-card .content-compact-meta {
  min-height: 0;
  gap: 4px;
  flex-wrap: wrap;
}

body[data-page="front"] .content-grid.is-home-compact .home-compact-card .content-meta-chip,
body[data-page="front"] .content-grid.is-home-compact .home-compact-card .content-type {
  min-height: 19px;
  padding-inline: 6px;
  font-size: 10px;
}

body[data-page="front"] .content-card .meta-row {
  gap: 6px;
  margin-top: 0;
}

body[data-page="front"] .content-card .meta-row span {
  min-height: 22px;
  padding: 0 8px;
  font-size: 11px;
}

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

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

body[data-page="front"] .content-compact-meta {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  overflow: hidden;
  color: var(--front-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

body[data-page="front"] .inline-meta-line {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  max-width: 100%;
  overflow: hidden;
  color: var(--front-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

body[data-page="front"] .content-meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  max-width: 42%;
  padding: 0 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(19, 136, 217, 0.06);
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-page="front"] .inline-meta-line .content-meta-chip {
  max-width: 36%;
}

body[data-page="front"] .content-copy h3 {
  display: -webkit-box;
  margin-bottom: 0;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body[data-page="front"] .content-type.type-article {
  background: rgba(19, 136, 217, 0.12);
  color: #0d6ab8;
}

body[data-page="front"] .content-type.type-video {
  background: rgba(70, 199, 239, 0.14);
  color: #0e78a5;
}

body[data-page="front"] .content-type.type-live {
  background: rgba(70, 206, 149, 0.16);
  color: #117c55;
}

body[data-page="front"] .content-type.type-link {
  background: rgba(109, 159, 242, 0.14);
  color: #335daa;
}

body[data-page="front"] .source-name {
  font-size: 13px;
  font-weight: 700;
}

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 {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-top-color: var(--front-line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--front-muted);
  text-align: center;
}

body[data-page="front"] .footer span {
  max-width: 720px;
}

@media (min-width: 981px) {
  body[data-page="front"] .topic-page {
    overflow: visible;
  }

  body[data-page="front"] .topic-page {
    background:
      linear-gradient(180deg, rgba(244, 250, 255, 0.85), rgba(255, 255, 255, 0.98) 420px),
      #f7fbff;
  }

  body[data-page="front"] .hero {
    background: linear-gradient(180deg, #0a9bd5 0%, #0f78c3 64%, #f7fbff 64%);
  }

  body[data-page="front"] .hero-visual {
    aspect-ratio: 4096 / 1280;
    max-height: 360px;
  }

  body[data-page="front"] .hero-visual > picture img {
    object-fit: cover;
    object-position: center top;
  }

  body[data-page="front"] .hero-shade {
    background: linear-gradient(180deg, rgba(0, 88, 145, 0.03) 0%, rgba(0, 76, 135, 0.02) 58%, rgba(0, 68, 126, 0.18) 100%);
  }

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

  body[data-page="front"] .hero-shell {
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 16px;
    align-items: end;
    max-width: 1200px;
    padding-inline: 32px;
    margin-top: -42px;
  }

  body[data-page="front"] .hero-panel {
    max-width: 680px;
    padding: 20px 24px 22px;
    background: linear-gradient(180deg, rgba(7, 58, 103, 0.88), rgba(6, 47, 86, 0.92));
  }

  body[data-page="front"] .hero-panel-head {
    display: block;
  }

  body[data-page="front"] .hero h1 {
    max-width: 620px;
    font-size: 38px;
    line-height: 1.14;
    word-break: keep-all;
    overflow-wrap: normal;
  }

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

  body[data-page="front"] .kicker {
    position: absolute;
    top: 28px;
    right: 28px;
    max-width: 150px;
  }

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

  body[data-page="front"] .hero-meta span {
    min-height: 30px;
    padding-inline: 12px;
    font-size: 13px;
  }

  body[data-page="front"] .hero-actions {
    padding-top: 4px;
  }

  body[data-page="front"] .hero-actions a {
    min-height: 40px;
    min-width: 160px;
    padding-inline: 20px;
  }

  body[data-page="front"] .hero-metrics {
    align-self: end;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding-bottom: 0;
  }

  body[data-page="front"] .hero-metrics article {
    min-height: 92px;
    border-radius: 8px;
    background: rgba(4, 54, 98, 0.84);
  }

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

  body[data-page="front"] .ticker {
    margin-top: 18px;
  }

  body[data-page="front"] .intro-band {
    display: none;
  }

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

  body[data-page="front"] .channel-entry-head {
    margin-bottom: 12px;
  }

  body[data-page="front"] .channel-entry-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  body[data-page="front"] .channel-entry-grid a {
    min-height: 42px;
    padding-inline: 12px;
    font-size: 13px;
  }

  body[data-page="front"] .home-entry-actions a {
    min-height: 68px;
    padding: 12px 14px;
  }

  body[data-page="front"] .footer {
    min-height: 64px;
    padding-block: 18px;
  }

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

  body[data-page="front"] .section-heading {
    min-height: 54px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(19, 136, 217, 0.12);
  }

  body[data-page="front"] .section-heading h2 {
    font-size: 30px;
    line-height: 1.2;
  }

  body[data-page="front"] .nav-links a,
  body[data-page="front"] .content-action,
  body[data-page="front"] .primary-action,
  body[data-page="front"] .secondary-action,
  body[data-page="front"] .content-chip,
  body[data-page="front"] .content-meta-chip,
  body[data-page="front"] .media-status-pill,
  body[data-page="front"] .tag {
    word-break: keep-all;
    white-space: nowrap;
  }

  body[data-page="front"] .lead-copy h3,
  body[data-page="front"] .compact-card h3,
  body[data-page="front"] .featured-media-main h3,
  body[data-page="front"] .live-player-card h3,
  body[data-page="front"] .video-player-card h3,
  body[data-page="front"] .scene-copy h3,
  body[data-page="front"] .content-copy h3,
  body[data-page="front"] .live-copy h3,
  body[data-page="front"] .timeline-card h3 {
    word-break: normal;
    overflow-wrap: break-word;
  }

  body[data-page="front"] .section-note {
    max-width: 420px;
    font-size: 14px;
    line-height: 1.6;
  }

  body[data-page="front"] .brief-panel,
  body[data-page="front"] .overview-panel,
  body[data-page="front"] .featured-media-main,
  body[data-page="front"] .live-player-card,
  body[data-page="front"] .video-player-card,
  body[data-page="front"] .featured-media-mini,
  body[data-page="front"] .scene-card,
  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"] .live-item {
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(10, 63, 113, 0.08);
  }

  body[data-page="front"] .overview-grid,
  body[data-page="front"] .featured-media-layout,
  body[data-page="front"] .focus-grid {
    gap: 20px;
  }

  body[data-page="front"] .featured-media-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="front"] .live-player-card,
  body[data-page="front"] .video-player-card,
  body[data-page="front"] .featured-media-main {
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 0;
  }

  body[data-page="front"] .media-frame {
    aspect-ratio: 16 / 9;
  }

  body[data-page="front"] .featured-media-copy {
    min-height: 178px;
    padding: 22px 24px 24px;
  }

  body[data-page="front"] .featured-media-copy.compact {
    min-height: 152px;
    padding: 18px 20px 16px;
  }

  body[data-page="front"] .featured-media-side {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 18px 18px;
  }

  body[data-page="front"] .featured-media-mini {
    min-height: 128px;
    padding: 15px 16px;
  }

  body[data-page="front"] .featured-media-mini h3 {
    font-size: 16px;
  }

  body[data-page="front"] .featured-media-mini p {
    font-size: 13px;
    -webkit-line-clamp: 1;
  }

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

  body[data-page="front"] .focus-grid {
    grid-template-columns: minmax(0, 1.36fr) minmax(320px, 0.78fr);
  }

  body[data-page="front"] .lead-card {
    grid-template-columns: minmax(360px, 0.96fr) 1fr;
    min-height: 380px;
  }

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

  body[data-page="front"] .lead-visual .visual-link,
  body[data-page="front"] .card-visual .visual-link,
  body[data-page="front"] .scene-visual .visual-link {
    height: 100%;
  }

  body[data-page="front"] .lead-copy {
    padding: 28px;
  }

  body[data-page="front"] .lead-copy h3 {
    font-size: 30px;
    line-height: 1.32;
  }

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

  body[data-page="front"] .compact-card {
    display: flex;
    flex-direction: column;
    min-height: 183px;
    padding: 20px;
  }

  body[data-page="front"] .compact-card h3 {
    font-size: 20px;
    line-height: 1.42;
  }

  body[data-page="front"] .scene-band {
    max-width: none;
    padding-inline: max(32px, calc((100vw - 1200px) / 2 + 32px));
  }

  body[data-page="front"] .scene-strip {
    grid-auto-flow: initial;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    overflow: visible;
    padding: 0;
  }

  body[data-page="front"] .scene-card {
    display: grid;
    grid-template-rows: auto 1fr;
  }

  body[data-page="front"] .scene-visual {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  body[data-page="front"] .scene-copy {
    min-height: 142px;
    padding: 16px 17px 18px;
  }

  body[data-page="front"] .live-item {
    grid-template-columns: 104px 1fr auto;
    min-height: 112px;
    padding: 20px 24px;
  }

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

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

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

  body[data-page="front"] .filter-rack {
    margin-bottom: 18px;
    padding: 16px 18px;
  }

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

  body[data-page="front"] .content-card {
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 258px;
  }

  body[data-page="front"] .content-card .card-visual,
  body[data-page="front"] .content-card-editorial .card-visual,
  body[data-page="front"] .content-card-editorial-lead .card-visual {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  body[data-page="front"] .content-card .content-copy,
  body[data-page="front"] .content-card-editorial .content-copy,
  body[data-page="front"] .content-card-editorial-lead .content-copy {
    min-height: 108px;
    padding: 14px 15px 16px;
  }

  body[data-page="front"] .content-card .content-copy h3,
  body[data-page="front"] .content-card-editorial .content-copy h3,
  body[data-page="front"] .content-card-editorial-lead .content-copy h3 {
    min-height: calc(1.42em * 2);
    font-size: 16px;
  }

  body[data-page="front"] .content-compact-meta,
  body[data-page="front"] .inline-meta-line {
    min-height: 24px;
  }

  body[data-page="front"] .content-card-more {
    grid-column: 1 / -1;
    min-height: 52px;
  }
}

@media (max-width: 980px) {
  body[data-page="front"] .topbar {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 18px;
  }

  body[data-page="front"] .channel-nav,
  body[data-page="list"] .channel-nav {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  body[data-page="front"] .channel-nav::-webkit-scrollbar,
  body[data-page="list"] .channel-nav::-webkit-scrollbar {
    display: none;
  }

  body[data-page="front"] .channel-nav a,
  body[data-page="list"] .channel-nav a {
    flex: 0 0 auto;
    padding: 8px 10px;
    font-size: 12px;
  }

  body[data-page="list"] .topbar {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 18px;
  }

  body[data-page="front"] .hero {
    min-height: 0;
  }

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

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

  body[data-page="front"] .hero-panel-head,
  body[data-page="front"] .channel-entry-head,
  body[data-page="list"] .list-filter-rack,
  body[data-page="front"] .overview-grid,
  body[data-page="front"] .featured-media-layout,
  body[data-page="front"] .featured-media-main,
  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"] .channel-entry-grid,
  body[data-page="list"] .list-channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

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

  body[data-page="front"] .featured-media-visual {
    min-height: 246px;
  }
}

@media (max-width: 680px) {
  body[data-page="front"] .topbar {
    min-height: 52px;
    padding-inline: 14px;
  }

  body[data-page="front"] .brand {
    gap: 8px;
    font-size: 13px;
  }

  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-visual > picture {
    position: relative;
    display: block;
  }

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

  body[data-page="front"] .channel-entry-grid,
  body[data-page="list"] .list-channel-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  body[data-page="front"] .channel-entry-grid a,
  body[data-page="list"] .list-channel-grid a {
    min-height: 42px;
    padding-inline: 11px;
    font-size: 13px;
  }

  body[data-page="front"] .home-entry-actions {
    gap: 8px;
    margin-top: 10px;
  }

  body[data-page="front"] .home-entry-actions a {
    min-height: 64px;
    padding: 12px 13px;
  }

  body[data-page="front"] .home-entry-actions span {
    font-size: 14px;
  }

  body[data-page="front"] .home-entry-actions strong {
    font-size: 11px;
  }

  body[data-page="list"] .list-filter-rack .primary-action,
  body[data-page="list"] .list-filter-rack .plain-button {
    width: 100%;
  }

  body[data-page="list"] .list-panel {
    gap: 10px;
  }

  body[data-page="list"] .list-filter-rack {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(25, 86, 138, 0.05);
  }

  body[data-page="list"] .list-filter-rack .search-box {
    grid-column: 1 / -1;
  }

  body[data-page="list"] .list-filter-rack label {
    gap: 4px;
    font-size: 12px;
  }

  body[data-page="list"] .list-filter-rack input,
  body[data-page="list"] .list-filter-rack select {
    min-height: 34px;
    padding-inline: 10px;
    border-radius: 6px;
    font-size: 13px;
  }

  body[data-page="list"] .list-filter-rack .primary-action,
  body[data-page="list"] .list-filter-rack .plain-button {
    min-height: 34px;
    padding-inline: 12px;
    border-radius: 8px;
    font-size: 13px;
  }

  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: 10px;
    padding: 0 14px;
    margin-top: -2px;
    max-width: 100%;
  }

  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: 12px;
    width: 100%;
    max-width: 100%;
    padding: 18px 16px 16px;
    border-color: rgba(19, 136, 217, 0.12);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 38px rgba(10, 63, 113, 0.12);
    backdrop-filter: none;
  }

  body[data-page="front"] .hero h1 {
    max-width: 100%;
    font-size: clamp(14px, 4.3vw, 17px);
    line-height: 1.15;
    white-space: nowrap;
    color: var(--front-ink);
  }

  body[data-page="front"] .hero-panel p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--front-muted);
  }

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

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

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

  body[data-page="front"] .hero-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body[data-page="front"] .hero-meta span {
    justify-content: flex-start;
    max-width: 100%;
    min-height: 0;
    padding: 0 10px;
    font-size: 11px;
    line-height: 1.45;
    white-space: normal;
    border-color: rgba(19, 136, 217, 0.1);
    background: var(--front-soft);
    color: var(--front-blue-deep);
  }

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

  body[data-page="front"] .hero-actions a {
    width: 100%;
    min-width: 0;
  }

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

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

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

  body[data-page="front"] .section-heading {
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
    text-align: left;
  }

  body[data-page="front"] .section-heading > * {
    align-self: flex-start;
    max-width: 100%;
  }

  body[data-page="front"] .section-note,
  body[data-page="front"] .live-pill {
    font-size: 12px;
    line-height: 1.5;
  }

  body[data-page="front"] .ticker {
    min-height: 56px;
    padding-inline: 16px;
  }

  body[data-page="front"] .ticker strong {
    font-size: 15px;
    white-space: nowrap;
  }

  body[data-page="front"] .ticker-track {
    font-size: 14px;
    line-height: 1.45;
  }

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

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

  body[data-page="front"] .hero-metrics article {
    min-height: 78px;
    padding: 12px 8px;
    border-color: rgba(19, 136, 217, 0.08);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 26px rgba(10, 63, 113, 0.08);
    backdrop-filter: none;
  }

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

  body[data-page="front"] .hero-metrics strong {
    font-size: 11px;
    line-height: 1.35;
    color: var(--front-muted);
  }

  body[data-page="front"] .live-item {
    position: relative;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
    border-left: 4px solid rgba(19, 136, 217, 0.34);
    box-shadow: 0 12px 24px rgba(10, 63, 113, 0.08);
  }

  body[data-page="front"] .live-time {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(19, 136, 217, 0.08);
    font-size: 13px;
  }

  body[data-page="front"] .live-copy h3 {
    font-size: 18px;
    line-height: 1.45;
  }

  body[data-page="front"] .live-copy p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

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

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

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

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

  body[data-page="front"] .brief-panel dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body[data-page="front"] .brief-panel div:last-child {
    grid-column: 1 / -1;
  }

  body[data-page="front"] .brief-panel p {
    font-size: 13px;
    line-height: 1.72;
  }

  body[data-page="front"] .brief-panel dd {
    font-size: 13px;
  }

  body[data-page="front"] .overview-panel-head {
    gap: 8px;
  }

  body[data-page="front"] .overview-tag {
    min-height: 28px;
    padding: 0 10px;
    font-size: 11px;
  }

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

  body[data-page="front"] .mini-stat {
    min-height: 74px;
    padding: 12px 8px;
    gap: 4px;
  }

  body[data-page="front"] .mini-stat strong {
    font-size: 20px;
  }

  body[data-page="front"] .mini-stat span {
    font-size: 11px;
  }

  body[data-page="front"] .overview-panel-head,
  body[data-page="front"] .compact-card-head,
  body[data-page="front"] .content-copy-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  body[data-page="front"] .featured-media-band {
    padding-top: 30px;
  }

  body[data-page="front"] .featured-media-visual {
    min-height: 210px;
  }

  body[data-page="front"] .featured-media-main h3 {
    font-size: 22px;
    line-height: 1.42;
  }

  body[data-page="front"] .live-player-card h3,
  body[data-page="front"] .video-player-card h3 {
    font-size: 21px;
    line-height: 1.42;
  }

  body[data-page="front"] .media-frame-status {
    top: 10px;
    left: 10px;
    min-height: 28px;
    padding: 0 10px;
    font-size: 11px;
  }

  body[data-page="front"] .media-frame-link {
    right: 10px;
    bottom: 10px;
    min-height: 32px;
    padding: 0 12px;
    font-size: 11px;
  }

  body[data-page="front"] .media-frame-play {
    width: 58px;
    height: 58px;
  }

  body[data-page="front"] .media-frame-play::before {
    border-top-width: 12px;
    border-bottom-width: 12px;
    border-left-width: 19px;
  }

  body[data-page="front"] .featured-media-side {
    gap: 10px;
  }

  body[data-page="front"] .featured-media-mini {
    padding: 16px;
  }

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

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

  body[data-page="front"] .scene-band::after {
    position: absolute;
    right: 0;
    bottom: 28px;
    width: 52px;
    height: 420px;
    pointer-events: none;
    content: "";
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), #ffffff 78%);
  }

  body[data-page="front"] .scene-strip {
    grid-auto-columns: minmax(248px, 82vw);
    gap: 12px;
    margin-inline: -2px;
  }

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

  body[data-page="front"] .scene-copy {
    padding: 14px;
  }

  body[data-page="front"] .scene-copy h3 {
    font-size: 17px;
  }

  body[data-page="front"] .lead-copy h3 {
    font-size: 24px;
  }

  body[data-page="front"] .lead-summary {
    -webkit-line-clamp: 3;
  }

  body[data-page="front"] .compact-card h3 {
    font-size: 22px;
  }

  body[data-page="front"] .compact-summary,
  body[data-page="front"] .content-summary {
    -webkit-line-clamp: 2;
  }

  body[data-page="front"] .side-stack {
    gap: 12px;
  }

  body[data-page="front"] .timeline {
    gap: 12px;
  }

  body[data-page="front"] .timeline-item {
    position: relative;
    display: block;
    padding: 0 0 0 18px;
  }

  body[data-page="front"] .timeline-item::before {
    display: block;
    left: 6px;
    top: 8px;
    bottom: -18px;
    width: 1px;
  }

  body[data-page="front"] .timeline-item::after {
    display: block;
    left: 0;
    top: 9px;
    width: 12px;
    height: 12px;
    box-shadow: 0 0 0 4px rgba(19, 136, 217, 0.12);
  }

  body[data-page="front"] .timeline-item:last-child::before {
    display: none;
  }

  body[data-page="front"] .timeline-time {
    display: inline-grid;
    min-height: auto;
    margin-bottom: 8px;
    padding: 7px 9px;
    border-radius: 8px;
    background: rgba(19, 136, 217, 0.08);
  }

  body[data-page="front"] .timeline-card {
    padding: 14px 15px;
  }

  body[data-page="front"] .timeline-card h3 {
    font-size: 17px;
    line-height: 1.48;
  }

  body[data-page="front"] .timeline-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 13px;
    line-height: 1.65;
  }

  body[data-page="front"] .filter-rack {
    gap: 10px;
    margin-bottom: 12px;
    padding: 12px;
  }

  body[data-page="front"] .media-band .tools {
    gap: 8px;
  }

  body[data-page="front"] .media-band .type-tabs {
    width: 100%;
    padding: 4px;
    overflow-x: auto;
  }

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

  body[data-page="front"] .content-grid.is-home-compact {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body[data-page="front"] .content-grid.is-home-compact .home-compact-card {
    grid-template-columns: 102px minmax(0, 1fr);
    min-height: 86px;
  }

  body[data-page="front"] .content-grid.is-home-compact .home-compact-card .visual-link,
  body[data-page="front"] .content-grid.is-home-compact .home-compact-card .card-visual {
    width: 102px;
    height: 86px;
    min-height: 86px;
  }

  body[data-page="front"] .content-grid.is-home-compact .home-compact-card .card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  body[data-page="front"] .content-grid.is-home-compact .home-compact-card .content-copy {
    padding: 9px 10px;
  }

  body[data-page="front"] .content-grid.is-home-compact .home-compact-card .content-copy h3 {
    font-size: 14px;
  }

  body[data-page="front"] .content-card-editorial .card-visual,
  body[data-page="front"] .content-card-editorial-lead .card-visual {
    height: 96px;
    min-height: 0;
  }

  body[data-page="front"] .content-card-editorial .content-copy,
  body[data-page="front"] .content-card-editorial-lead .content-copy {
    gap: 6px;
    padding: 12px 12px 13px;
  }

  body[data-page="front"] .content-card .content-copy {
    gap: 6px;
    padding: 11px 12px 12px;
  }

  body[data-page="front"] .content-card-editorial .content-copy h3,
  body[data-page="front"] .content-card-editorial-lead .content-copy h3 {
    font-size: 15px;
    line-height: 1.42;
  }

  body[data-page="front"] .content-card-editorial .meta-row span,
  body[data-page="front"] .content-card-editorial-lead .meta-row span {
    font-size: 10px;
  }

  body[data-page="front"] .content-compact-meta {
    gap: 4px;
    font-size: 10px;
  }

  body[data-page="front"] .inline-meta-line {
    gap: 4px;
    font-size: 10px;
  }

  body[data-page="front"] .content-meta-chip {
    min-height: 20px;
    padding-inline: 6px;
  }
}

@media (max-width: 680px) {
  .launch-check-status {
    align-items: flex-start;
    flex-direction: column;
  }

  .launch-check-list {
    grid-template-columns: 1fr;
  }

  .assistant-guardrail {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .assistant-card {
    min-height: auto;
  }

  .launch-check-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .launch-check-item em {
    grid-column: 2;
    width: fit-content;
  }

  .quick-live-form {
    grid-template-columns: 1fr;
  }

  .quick-live-form .primary-action {
    width: 100%;
  }

  body[data-page="detail"] .detail-xinhua-copy {
    grid-template-columns: 1fr;
  }

  body[data-page="detail"] .detail-xinhua-copy > span,
  body[data-page="detail"] .detail-xinhua-copy > strong,
  body[data-page="detail"] .detail-xinhua-copy > p,
  body[data-page="detail"] .xinhua-live-actions,
  body[data-page="detail"] .xinhua-live-qr {
    grid-column: 1;
  }

  body[data-page="detail"] .xinhua-live-qr {
    grid-row: auto;
    width: 96px;
    height: 96px;
  }
}

@media (min-width: 981px) {
  body[data-page="front"] .hero-panel {
    overflow: hidden;
  }

  body[data-page="front"] .hero-shell {
    grid-template-columns: minmax(0, 760px) minmax(330px, 390px);
    gap: 22px;
    align-items: end;
    max-width: 1320px;
    margin-top: 14px;
    padding-inline: 40px;
  }

  body[data-page="front"] .hero-panel {
    max-width: 760px;
    padding: 22px 26px 24px;
  }

  body[data-page="front"] .hero-panel-head {
    min-height: 32px;
    padding-right: 172px;
  }

  body[data-page="front"] .hero .eyebrow {
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
  }

  body[data-page="front"] .hero h1#heroTitle {
    max-width: none;
    margin-top: 12px;
    font-size: clamp(28px, 2.1vw, 34px);
    line-height: 1.18;
    word-break: keep-all;
    overflow-wrap: normal;
    white-space: nowrap;
  }

  body[data-page="front"] .hero-panel .kicker {
    top: 24px;
    right: 28px;
    min-height: 34px;
    max-width: 160px;
    padding-inline: 12px;
    font-size: 13px;
  }

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

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

  body[data-page="front"] .hero-meta span {
    min-height: 28px;
    padding-inline: 10px;
    font-size: 12px;
    line-height: 1.25;
  }

  body[data-page="front"] .hero-actions a {
    min-height: 38px;
    min-width: 148px;
    padding-inline: 18px;
  }

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

  body[data-page="front"] .hero-metrics article {
    min-height: 84px;
    padding: 14px 12px;
  }

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

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

@media (min-width: 981px) {
  body[data-page="front"] .media-band .content-grid.is-home-compact,
  body[data-page="front"] .content-grid.is-home-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  body[data-page="front"] .content-grid.is-home-compact .home-compact-card {
    grid-template-columns: 180px minmax(0, 1fr);
    min-height: 124px;
  }

  body[data-page="front"] .content-grid.is-home-compact .home-compact-card .visual-link,
  body[data-page="front"] .content-grid.is-home-compact .home-compact-card .card-visual {
    min-height: 124px;
  }

  body[data-page="front"] .content-grid.is-home-compact .home-compact-card .content-copy {
    gap: 8px;
    padding: 14px 16px;
  }

  body[data-page="front"] .content-grid.is-home-compact .home-compact-card .content-copy h3 {
    font-size: 17px;
    line-height: 1.42;
  }
}

@media (min-width: 1440px) {
  body[data-page="front"] .content-grid.is-home-compact .home-compact-card {
    grid-template-columns: 210px minmax(0, 1fr);
  }
}
/* Tiny operational play/view count for video and live covers. */
.card-visual,
.lead-visual,
.scene-visual,
.media-frame,
.list-card-visual,
.detail-media-frame,
.detail-media-card,
.detail-live-embed,
.detail-live-app-frame,
.detail-live-room.is-empty {
  position: relative;
}

.view-count-mini {
  position: absolute;
  top: 8px;
  right: 9px;
  z-index: 8;
  color: rgba(255, 255, 255, 0.92);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 1px 4px rgba(0, 20, 40, 0.58);
  pointer-events: none;
}

body[data-page="front"] #featured-media .view-count-mini {
  display: none;
}

body[data-page="admin"] #contentBoards.grouped-board {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-height: none;
  overflow: visible;
  gap: 10px;
  margin-bottom: 12px;
}

body[data-page="admin"] .content-group-compact {
  min-height: 0;
  padding: 12px;
  border-radius: 8px;
}

body[data-page="admin"] .content-group-compact strong,
body[data-page="admin"] .content-group-compact span,
body[data-page="admin"] .content-group-compact em {
  display: block;
}

body[data-page="admin"] .content-group-compact strong {
  margin-bottom: 3px;
  font-size: 15px;
}

body[data-page="admin"] .content-group-compact span {
  color: var(--green-dark);
  font-size: 18px;
  font-weight: 900;
}

body[data-page="admin"] .content-group-compact em {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

body[data-page="admin"] .content-table th:nth-child(1),
body[data-page="admin"] .content-table td:nth-child(1) {
  width: 52%;
}

body[data-page="admin"] .content-table th:nth-child(2),
body[data-page="admin"] .content-table td:nth-child(2) {
  width: 24%;
}

body[data-page="admin"] .table-title {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  line-height: 1.35;
}

body[data-page="admin"] .table-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

body[data-page="admin"] .table-meta-line span {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(32, 104, 179, 0.08);
}

body[data-page="admin"] .content-table .table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body[data-page="admin"] .content-table .table-actions .plain-button {
  min-height: 32px;
  padding: 7px 11px;
}

body[data-page="admin"] .queue-item {
  padding: 14px 16px;
}

body[data-page="admin"] .queue-item-head {
  align-items: center;
  gap: 10px;
}

body[data-page="admin"] .queue-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 8px 0;
  color: var(--muted);
  font-size: 13px;
}

body[data-page="admin"] .queue-detail {
  margin: 6px 0 10px;
  color: var(--muted);
  font-size: 12px;
}

body[data-page="admin"] .queue-detail summary {
  cursor: pointer;
  color: var(--green-dark);
  font-weight: 800;
}

body[data-page="admin"] .queue-detail p {
  margin: 8px 0 6px;
  line-height: 1.45;
}

body[data-page="admin"] .queue-detail code {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-page="admin"] .queue-quality-card {
  display: grid;
  gap: 8px;
  margin: 8px 0 10px;
  padding: 10px 12px;
  border: 1px solid rgba(24, 35, 31, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

body[data-page="admin"] .queue-quality-card.is-ready {
  border-color: rgba(46, 160, 103, 0.18);
  background: #f4fbf6;
}

body[data-page="admin"] .queue-quality-card.is-review,
body[data-page="admin"] .queue-quality-card.is-blocked {
  border-color: rgba(181, 118, 35, 0.24);
  background: #fff9ec;
}

body[data-page="admin"] .queue-quality-head,
body[data-page="admin"] .queue-quality-grid,
body[data-page="admin"] .queue-quality-issues {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

body[data-page="admin"] .queue-quality-head {
  justify-content: space-between;
}

body[data-page="admin"] .queue-quality-head strong {
  margin: 0;
  color: #102844;
  font-size: 14px;
}

body[data-page="admin"] .queue-quality-head span,
body[data-page="admin"] .queue-quality-issues span {
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(32, 104, 179, 0.08);
  color: #2068b3;
  font-size: 12px;
  font-weight: 800;
}

body[data-page="admin"] .queue-quality-card.is-ready .queue-quality-head span,
body[data-page="admin"] .queue-quality-issues.is-clean span {
  background: rgba(46, 160, 103, 0.12);
  color: #167342;
}

body[data-page="admin"] .queue-quality-card.is-review .queue-quality-head span,
body[data-page="admin"] .queue-quality-card.is-blocked .queue-quality-head span,
body[data-page="admin"] .queue-quality-card.is-review .queue-quality-issues span,
body[data-page="admin"] .queue-quality-card.is-blocked .queue-quality-issues span {
  background: rgba(181, 118, 35, 0.14);
  color: #9a5a0c;
}

body[data-page="admin"] .queue-quality-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body[data-page="admin"] .queue-quality-grid span {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 7px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

body[data-page="admin"] .queue-quality-grid em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

body[data-page="admin"] .queue-quality-grid b {
  color: var(--ink);
  font-size: 13px;
}

@media (max-width: 900px) {
  body[data-page="admin"] #contentBoards.grouped-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="admin"] .content-table th:nth-child(2),
  body[data-page="admin"] .content-table td:nth-child(2) {
    display: none;
  }
}

@media (max-width: 680px) {
  body[data-page="admin"] {
    background: #f5f8fb;
    overflow-x: hidden;
  }

  body[data-page="admin"] .topbar {
    position: sticky;
    top: 0;
    z-index: 80;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 54px;
    padding: 0 12px;
    border-bottom: 1px solid rgba(32, 104, 179, 0.1);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
  }

  body[data-page="admin"] .brand {
    min-width: 0;
    gap: 8px;
    font-size: 15px;
  }

  body[data-page="admin"] .brand span:last-child {
    max-width: 120px;
  }

  body[data-page="admin"] .topbar-actions .ghost-button {
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
  }

  body[data-page="admin"] .admin-shell {
    display: block;
    width: 100%;
    max-width: 100vw;
    padding: 0 10px 88px;
    overflow-x: clip;
  }

  body[data-page="admin"] .admin-sidebar {
    position: sticky;
    top: 54px;
    z-index: 70;
    width: calc(100% + 20px);
    max-width: calc(100% + 20px);
    margin: 0 -10px 10px;
    padding: 8px 10px;
    border-width: 0 0 1px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 28px rgba(32, 104, 179, 0.08);
    overflow: hidden;
  }

  body[data-page="admin"] .admin-side-nav {
    display: flex;
    gap: 8px;
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 0 4px 2px;
    scrollbar-width: none;
  }

  body[data-page="admin"] .admin-side-nav::-webkit-scrollbar {
    display: none;
  }

  body[data-page="admin"] .admin-side-nav a {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 6px;
    min-height: 38px;
    max-width: 132px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f5f8fc;
    box-shadow: none;
    font-size: 14px;
  }

  body[data-page="admin"] .admin-side-nav a.active {
    background: #eaf4ff;
  }

  body[data-page="admin"] .admin-side-nav em {
    min-width: 0;
    padding: 2px 6px;
    font-size: 10px;
  }

  body[data-page="admin"] .admin-main,
  body[data-page="admin"] .admin-main-simple {
    display: grid;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    padding: 0;
    overflow: visible;
  }

  body[data-page="admin"] .admin-card,
  body[data-page="admin"] .admin-hero-simple,
  body[data-page="admin"] .preview-card,
  body[data-page="admin"] .queue-item {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(25, 59, 96, 0.06);
  }

  body[data-page="admin"] .admin-card {
    padding: 16px;
  }

  body[data-page="admin"] .admin-hero-simple {
    padding: 16px;
  }

  body[data-page="admin"] .admin-hero-simple h1,
  body[data-page="admin"] .section-heading h2 {
    font-size: 22px;
    line-height: 1.25;
  }

  body[data-page="admin"] .admin-intro,
  body[data-page="admin"] .admin-quick-grid,
  body[data-page="admin"] .admin-metrics-simple {
    display: none;
  }

  body[data-page="admin"] .section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 12px;
  }

  body[data-page="admin"] .section-heading > div {
    min-width: 0;
  }

  body[data-page="admin"] .section-heading .text-link,
  body[data-page="admin"] .section-heading .plain-button {
    flex: 0 0 auto;
  }

  body[data-page="admin"] .form-row,
  body[data-page="admin"] .admin-grid,
  body[data-page="admin"] .admin-primary-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body[data-page="admin"] label,
  body[data-page="admin"] input,
  body[data-page="admin"] select,
  body[data-page="admin"] textarea,
  body[data-page="admin"] button {
    max-width: 100%;
  }

  body[data-page="admin"] input,
  body[data-page="admin"] select,
  body[data-page="admin"] textarea {
    min-width: 0;
    font-size: 16px;
  }

  body[data-page="admin"] .import-actions,
  body[data-page="admin"] .admin-actions,
  body[data-page="admin"] .content-admin-actions,
  body[data-page="admin"] .table-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  body[data-page="admin"] .import-actions .primary-action,
  body[data-page="admin"] .import-actions .plain-button,
  body[data-page="admin"] .content-admin-actions .plain-button,
  body[data-page="admin"] .table-actions .plain-button {
    justify-content: center;
    width: 100%;
  }

  body[data-page="admin"] .import-status-card {
    margin-bottom: 10px;
    padding: 11px 12px;
  }

  body[data-page="admin"] .import-preview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body[data-page="admin"] .import-preview-cover {
    width: 128px;
    max-width: 42vw;
    aspect-ratio: 1 / 1;
  }

  body[data-page="admin"] .import-preview-copy {
    gap: 8px;
    width: 100%;
    min-width: 0;
  }

  body[data-page="admin"] .import-preview-copy .import-meta,
  body[data-page="admin"] .import-preview-copy .content-chip-row {
    gap: 6px;
  }

  body[data-page="admin"] .import-preview-copy label,
  body[data-page="admin"] .import-diagnostics label {
    min-width: 0;
  }

  body[data-page="admin"] .import-diagnostics {
    padding: 9px 10px;
  }

  body[data-page="admin"] .import-preview-copy textarea {
    min-height: 86px;
  }

  body[data-page="admin"] .rich-paste-panel {
    padding: 10px;
  }

  body[data-page="admin"] .rich-paste-head {
    display: grid;
  }

  body[data-page="admin"] .rich-paste-head .plain-button {
    width: 100%;
    justify-content: center;
  }

  body[data-page="admin"] .rich-paste-editor {
    min-height: 140px;
    max-height: 300px;
  }

  body[data-page="admin"] .rich-paste-editor img {
    width: 100%;
    max-height: 240px;
  }

  body[data-page="admin"] #review-panel {
    padding-bottom: 12px;
  }

  body[data-page="admin"] .queue-toolbar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: end;
    margin-bottom: 10px;
  }

  body[data-page="admin"] .queue-toolbar > label {
    min-width: 0;
  }

  body[data-page="admin"] .queue-toolbar > label:nth-of-type(3) {
    grid-column: 1 / -1;
  }

  body[data-page="admin"] .queue-toolbar .queue-select-all {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    min-height: 40px;
    padding: 0 12px;
  }

  body[data-page="admin"] .queue-bulk-actions {
    position: sticky;
    bottom: 0;
    z-index: 65;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 -16px -16px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(32, 104, 179, 0.1);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
  }

  body[data-page="admin"] .queue-bulk-actions .plain-button {
    justify-content: center;
    min-height: 40px;
  }

  body[data-page="admin"] .queue-bulk-status {
    padding: 10px 12px;
    margin-bottom: 10px;
    font-size: 13px;
  }

  body[data-page="admin"] .queue-list,
  body[data-page="admin"] #timelineListAdmin,
  body[data-page="admin"] .channel-admin-list,
  body[data-page="admin"] .table-shell,
  body[data-page="admin"] .grouped-board {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  body[data-page="admin"] .queue-list {
    gap: 10px;
  }

  body[data-page="admin"] .queue-item {
    display: grid;
    gap: 8px;
    padding: 12px;
    background: #fff;
  }

  body[data-page="admin"] .queue-item-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
  }

  body[data-page="admin"] .queue-item-check {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
  }

  body[data-page="admin"] .queue-item-check strong {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 15px;
    line-height: 1.45;
  }

  body[data-page="admin"] .queue-item-head .status-pill {
    align-self: start;
    min-height: 26px;
    padding: 3px 8px;
    font-size: 12px;
  }

  body[data-page="admin"] .queue-item-meta {
    display: flex;
    gap: 6px;
    margin: 0;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  body[data-page="admin"] .queue-item-meta::-webkit-scrollbar {
    display: none;
  }

  body[data-page="admin"] .queue-item-meta span {
    flex: 0 0 auto;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f1f6fb;
    font-size: 12px;
  }

  body[data-page="admin"] .queue-detail {
    margin: 2px 0;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f7fafc;
  }

  body[data-page="admin"] .queue-detail p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  body[data-page="admin"] .queue-detail code {
    white-space: normal;
    word-break: break-all;
  }

  body[data-page="admin"] .queue-quality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="admin"] .queue-inline-controls {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 4px;
  }

  body[data-page="admin"] .queue-inline-controls .plain-button {
    width: 100%;
    justify-content: center;
  }

  body[data-page="admin"] .content-table,
  body[data-page="admin"] .content-table tbody,
  body[data-page="admin"] .content-table tr,
  body[data-page="admin"] .content-table td {
    display: block;
    width: 100%;
  }

  body[data-page="admin"] .content-table thead {
    display: none;
  }

  body[data-page="admin"] .content-table tr {
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid rgba(24, 35, 31, 0.08);
    border-radius: 8px;
    background: #fff;
  }

  body[data-page="admin"] .content-table td {
    padding: 4px 0;
    border: 0;
  }

  body[data-page="admin"] .table-title {
    font-size: 15px;
    line-height: 1.45;
  }
}
