:root {
  --dawn-blue: #1B4B9E;
  --dawn-blue-soft: #4A7BC8;
  --morning-orange: #FF7A00;
  --sunrise-yellow: #FFC300;
  --sports-green: #00A878;
  --vital-yellow: #F2E500;
  --ink: #0B1B33;
  --paper: #F5F2E9;
  --panel: #FFFFFF;
  --muted-bluegray: #5C6B7A;
  --font-head: "Arial Black", "Helvetica Neue", "PingFang SC", sans-serif;
  --font-body: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  --font-data: "DIN Alternate", "Roboto Mono", monospace;
  --grad-dawn: linear-gradient(135deg, #1B4B9E 0%, #4A7BC8 55%, #FF7A00 100%);
  --grad-sunrise: linear-gradient(135deg, #FF7A00 0%, #FFC300 100%);
  --grad-paper: linear-gradient(160deg, #FFFFFF 0%, #F5F2E9 100%);
  --shadow-panel: 0 24px 50px rgba(11, 27, 51, 0.08);
  --radius: 1.25rem;
  --content-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--dawn-blue);
  text-decoration: none;
}

a:hover {
  color: var(--morning-orange);
}

:focus-visible {
  outline: 3px solid var(--morning-orange);
  outline-offset: 2px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2000;
  padding: 0.6rem 1.2rem;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-weight: 800;
  transform: translateY(-400%);
  transition: transform 0.2s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 2px solid var(--dawn-blue);
  box-shadow: 0 6px 18px rgba(11, 27, 51, 0.06);
}

.site-header::before {
  content: "";
  display: block;
  height: 8px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.45) 0 2px, transparent 2px 10px),
    var(--grad-dawn);
}

.header-shell {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-badge {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.9rem;
  background: var(--grad-dawn);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 0 rgba(27, 75, 158, 0.18);
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: 0.03em;
}

.site-nav {
  justify-self: center;
}

.nav-list {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
}

.nav-link {
  display: inline-block;
  padding: 0.55rem 0.95rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
}

.nav-link:hover {
  border-color: var(--morning-orange);
  color: var(--morning-orange);
}

.nav-link[aria-current="page"] {
  background: var(--morning-orange);
  border-color: var(--morning-orange);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 122, 0, 0.32);
}

.nav-link[aria-current="page"]:hover {
  color: #fff;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(27, 75, 158, 0.22);
  border-radius: 999px;
  background: var(--panel);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--sports-green);
  box-shadow: 0 0 0 4px rgba(0, 168, 120, 0.15);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--dawn-blue);
  border-radius: 999px;
  background: var(--dawn-blue);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.nav-toggle:hover {
  background: var(--morning-orange);
  border-color: var(--morning-orange);
}

.nav-toggle-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle-bar {
  display: block;
  width: 1.1rem;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.header-progress {
  height: 4px;
  background: rgba(27, 75, 158, 0.12);
}

.header-progress [data-progress-bar] {
  display: block;
  width: 0;
  height: 100%;
  background: var(--grad-sunrise);
  transition: width 0.15s linear;
}

.site-footer {
  background: linear-gradient(200deg, var(--dawn-blue) 0%, var(--ink) 78%);
  color: rgba(255, 255, 255, 0.9);
  border-top: 8px solid var(--morning-orange);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer a:hover {
  color: var(--vital-yellow);
}

.footer-shell {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 3.5rem 2rem 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
}

.footer-index {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-brand .brand-badge {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-entry {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  list-style: none;
  padding: 0;
}

.footer-link {
  padding-bottom: 0.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  font-weight: 800;
}

.footer-link:hover {
  border-bottom-color: var(--vital-yellow);
  color: var(--vital-yellow);
}

.footer-nav {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.footer-nav-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--sunrise-yellow);
}

.footer-nav-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(8rem, 1fr));
  gap: 0.5rem 0.8rem;
}

.footer-nav-list a {
  font-size: 0.92rem;
  font-weight: 600;
}

.footer-meta {
  display: grid;
  align-content: start;
  gap: 0.65rem;
}

.footer-contact {
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.footer-label {
  display: inline-block;
  min-width: 2.6rem;
  margin-right: 0.4rem;
  font-family: var(--font-data);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--sunrise-yellow);
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.highlight {
  color: var(--vital-yellow);
  font-weight: 800;
}

.footer-legal {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 1.25rem 2rem 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
}

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.page-shell {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5.5rem);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 82% 18%, rgba(242, 229, 0, 0.24), transparent 34%),
    var(--grad-dawn);
  color: #fff;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.5;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  width: 16rem;
  height: 16rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero .page-title {
  max-width: 14ch;
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  font-weight: 800;
}

.page-hero .page-lead {
  max-width: 58ch;
  margin-top: 1rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
}

.panel-stack {
  display: grid;
  gap: 2rem;
  margin: 3rem 0;
}

.panel {
  position: relative;
  padding: clamp(1.5rem, 3vw, 3rem);
  border: 1px solid rgba(27, 75, 158, 0.14);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}

.panel::before {
  content: attr(data-number);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-data);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(27, 75, 158, 0.07);
  z-index: 0;
}

.panel-number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--morning-orange);
  color: #fff;
  font-family: var(--font-data);
  font-size: 1.1rem;
  font-weight: 800;
}

.panel-heading {
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.15;
  margin-bottom: 0.6rem;
  color: var(--ink);
}

.panel-body {
  position: relative;
  z-index: 1;
  max-width: 68ch;
  color: var(--muted-bluegray);
}

.frame-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(27, 75, 158, 0.18);
  border-radius: var(--radius);
  background: var(--panel);
}

.frame-stage::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  height: 4px;
  border-radius: 2px;
  background: var(--grad-sunrise);
}

.status-card {
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(27, 75, 158, 0.14);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(27, 75, 158, 0.06), rgba(255, 122, 0, 0.08));
}

.data-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: 1rem;
}

.metric {
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--sports-green);
  border-radius: 0.9rem;
  background: var(--paper);
}

.metric-value {
  font-family: var(--font-data);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--dawn-blue);
}

.metric-label {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--muted-bluegray);
}

.tag-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(27, 75, 158, 0.22);
  border-radius: 999px;
  background: var(--panel);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.tag-tab:hover {
  border-color: var(--morning-orange);
  color: var(--morning-orange);
}

.tag-tab.is-active,
.tag-tab.is-saved {
  border-color: var(--morning-orange);
  background: var(--morning-orange);
  color: #fff;
}

.tag-tab:active,
.btn:active {
  transform: translateY(2px);
}

.label-tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--dawn-blue);
  color: #fff;
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.label-tag.is-hot {
  background: var(--morning-orange);
}

.label-tag.is-live {
  background: var(--sports-green);
}

.image-stage,
.img-stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.28), transparent 28%),
    var(--grad-dawn);
  min-height: 12rem;
}

.image-stage::before,
.img-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 28px 28px;
  mix-blend-mode: overlay;
}

.image-stage::after,
.img-stage::after {
  content: "TVT · 实况图像区";
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(11, 27, 51, 0.45);
  color: #fff;
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.ratio-wide {
  aspect-ratio: 16 / 7;
}

.ratio-pitch {
  aspect-ratio: 16 / 9;
}

.ratio-city {
  aspect-ratio: 21 / 9;
}

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

.grid-run > .span-4 {
  grid-column: span 4;
}

.grid-run > .span-6 {
  grid-column: span 6;
}

.grid-run > .span-8 {
  grid-column: span 8;
}

.grid-run > .span-12 {
  grid-column: span 12;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--morning-orange);
  color: #fff;
}

.btn-primary:hover {
  background: var(--dawn-blue);
  color: #fff;
}

.btn-outline {
  border-color: var(--dawn-blue);
  background: transparent;
  color: var(--dawn-blue);
}

.btn-outline:hover {
  background: var(--dawn-blue);
  color: #fff;
}

.section-label {
  display: inline-block;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid var(--sunrise-yellow);
  font-family: var(--font-data);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--morning-orange);
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1;
  color: var(--ink);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  font-size: 0.85rem;
  color: var(--muted-bluegray);
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin-right: 0.6rem;
  color: var(--dawn-blue-soft);
}

.breadcrumb a {
  color: var(--dawn-blue);
  font-weight: 600;
}

.prose h2,
.prose h3 {
  font-family: var(--font-head);
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.prose h2 {
  font-size: 1.6rem;
}

.prose h3 {
  font-size: 1.2rem;
}

.prose p {
  margin-bottom: 1rem;
  max-width: 70ch;
}

.prose ul {
  margin: 0.5rem 0 1.5rem 1.25rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.scale-border {
  position: relative;
  border-top: 1px solid rgba(27, 75, 158, 0.2);
}

.scale-border::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 100%;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--dawn-blue) 0 2px, transparent 2px 12px);
  opacity: 0.35;
}

@media (max-width: 1100px) {
  .header-shell {
    grid-template-columns: auto 1fr auto;
    gap: 0.8rem;
  }

  .site-nav {
    justify-self: end;
  }

  .header-status {
    display: none;
  }

  .footer-shell {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-index {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .header-shell {
    grid-template-columns: auto 1fr auto;
    padding: 0.7rem 1.25rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    background: var(--paper);
    border-bottom: 2px solid var(--dawn-blue);
    box-shadow: 0 18px 30px rgba(11, 27, 51, 0.14);
    transition: max-height 0.3s ease, opacity 0.2s ease;
  }

  .site-nav[data-open] {
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    padding: 1rem 1.25rem 1.25rem;
  }

  .nav-link {
    display: block;
    width: 100%;
    text-align: center;
    white-space: normal;
  }

  .site-header::before {
    height: 6px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem 1.5rem;
    gap: 2rem;
  }

  .footer-nav-list {
    grid-template-columns: repeat(2, minmax(7rem, 1fr));
  }

  .footer-legal {
    padding: 1.15rem 1.5rem 1.4rem;
    text-align: left;
  }

  .panel,
  .frame-stage,
  .page-hero {
    border-radius: 1rem;
  }

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

  .grid-run > .span-4,
  .grid-run > .span-6,
  .grid-run > .span-8,
  .grid-run > .span-12 {
    grid-column: span 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
