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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: #0A1A2F;
  color: #FFFFFF;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

:root {
  --bg-primary: #0A1A2F;
  --bg-elevated: #122033;
  --bg-deep: #050A12;
  --border-line: #2E405A;
  --accent-green: #39FF14;
  --accent-orange: #FF6B35;
  --text-white: #FFFFFF;
  --text-muted: #A0B0C0;
  --font-headline: 'Montserrat', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-data: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
  --content-w: 1280px;
  --header-z: 200;
  --rail-w: 48px;
}

main { flex: 1 0 auto; width: 100%; }

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

a { color: inherit; }

button { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--accent-green);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--content-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: fixed;
  left: -9999px;
  top: 8px;
  z-index: 400;
  background: var(--accent-green);
  color: var(--bg-deep);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 0;
}

.skip-link:focus { left: 8px; }

.progress-track {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 350;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.progress-thumb {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent-green);
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.7);
  transition: width 0.08s linear;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--header-z);
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-line);
}

.brand-rail {
  display: none;
}

@media (min-width: 768px) {
  body {
    padding-left: var(--rail-w);
  }

  .brand-rail {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: var(--rail-w);
    height: 100vh;
    z-index: 320;
    background: var(--bg-deep);
    border-right: 1px solid var(--border-line);
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
  }

  .rail-mark {
    font-family: var(--font-headline);
    font-weight: 900;
    font-size: 18px;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--accent-green);
    box-shadow: 0 0 8px rgba(57, 255, 20, 0.35);
  }

  .rail-name {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.35em;
    color: var(--text-muted);
    white-space: nowrap;
  }

  .rail-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .rail-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.8);
    animation: rail-pulse 2s ease-in-out infinite;
  }

  .rail-live {
    font-family: var(--font-data);
    font-size: 10px;
    color: var(--accent-green);
    letter-spacing: 0.1em;
  }
}

@keyframes rail-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.header-shell {
  position: relative;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 24px 24px;
}

.header-shell::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-orange) 0%, transparent 100%);
  pointer-events: none;
}

.masthead {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-svg {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 6px rgba(57, 255, 20, 0.4));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--text-white);
}

.brand-text small {
  font-family: var(--font-data);
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 2px;
}

.masthead-meta {
  display: none;
}

.nav-toggle {
  display: inline-flex;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  z-index: 10;
}

.toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--text-white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
  display: none;
}

@media (min-width: 768px) {
  .masthead {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    padding: 16px 24px;
  }

  .masthead-meta {
    display: flex;
    align-items: center;
  }

  .masthead-meta--left {
    justify-self: start;
    min-width: 130px;
  }

  .masthead-meta--right {
    justify-self: end;
    min-width: 130px;
    justify-content: flex-end;
  }

  .masthead-date {
    font-family: var(--font-data);
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
  }

  .masthead-edition {
    font-family: var(--font-headline);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-orange);
    border: 1px solid var(--accent-orange);
    padding: 3px 8px;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .nav-toggle {
    display: none;
  }

  .main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 10px 24px;
    border-top: 1px solid var(--border-line);
    background: rgba(5, 10, 18, 0.55);
  }

  .main-nav a {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    padding: 6px 2px;
    position: relative;
    transition: color 0.2s ease;
  }

  .main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--accent-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }

  .main-nav a:hover {
    color: var(--text-white);
  }

  .main-nav a:hover::after,
  .main-nav a[aria-current="page"]::after {
    transform: scaleX(1);
  }

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

@media (max-width: 767px) {
  .main-nav[data-open] {
    display: flex;
    flex-direction: column;
    background: var(--bg-deep);
    border-top: 1px solid var(--border-line);
    border-bottom: 2px solid var(--accent-green);
    padding: 8px 20px 16px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 150;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
  }

  .main-nav a {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 15px;
    color: var(--text-white);
    text-decoration: none;
    padding: 13px 6px;
    border-bottom: 1px solid var(--border-line);
    display: block;
    transition: color 0.2s, padding-left 0.2s, border-color 0.2s;
  }

  .main-nav a:last-child { border-bottom: 0; }

  .main-nav a:hover {
    color: var(--accent-green);
    padding-left: 12px;
  }

  .main-nav a[aria-current="page"] {
    color: var(--accent-green);
    padding-left: 12px;
    border-left: 3px solid var(--accent-green);
    border-bottom-color: var(--border-line);
  }
}

.live-ticker {
  display: none;
}

@media (min-width: 768px) {
  .live-ticker {
    display: flex;
    align-items: stretch;
    background: var(--bg-elevated);
    border-top: 1px solid var(--border-line);
    overflow: hidden;
  }

  .ticker-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-deep);
    padding: 0 14px;
    font-family: var(--font-data);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-green);
    letter-spacing: 0.12em;
    border-right: 1px solid var(--border-line);
    white-space: nowrap;
  }

  .ticker-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 6px rgba(57, 255, 20, 0.8);
    animation: ticker-pulse 1.2s ease-in-out infinite;
  }

  .ticker-window {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
  }

  .ticker-strip {
    display: inline-flex;
    align-items: center;
    gap: 44px;
    white-space: nowrap;
    animation: ticker-scroll 32s linear infinite;
    padding-left: 20px;
  }

  .ticker-item {
    font-family: var(--font-data);
    font-size: 12px;
    color: var(--text-muted);
  }

  .ticker-item strong {
    color: var(--accent-green);
    font-weight: 700;
    margin: 0 4px;
  }

  .ticker-item em {
    font-style: normal;
    color: var(--accent-orange);
    font-weight: 700;
    margin-left: 6px;
  }
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes ticker-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.site-footer {
  margin-top: auto;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    var(--bg-deep);
  background-size: 24px 24px, 24px 24px, auto;
  border-top: 3px solid var(--accent-orange);
}

.footer-shell {
  max-width: var(--content-w);
  margin-inline: auto;
  padding: 48px 24px 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-line);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-svg {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 6px rgba(57, 255, 20, 0.4));
}

.footer-brandtext {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 20px;
  color: var(--text-white);
  letter-spacing: 0.04em;
}

.footer-trust {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 280px;
}

.footer-nav,
.footer-service {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-title {
  font-family: var(--font-headline);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-green);
  margin-bottom: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-line);
}

.footer-nav a,
.footer-service a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-nav a:hover,
.footer-service a:hover {
  color: var(--accent-green);
  padding-left: 6px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-line {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-top: 20px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--accent-orange);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-icp {
  font-family: var(--font-data);
  font-size: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  background: none;
  color: var(--text-white);
}

.btn-primary {
  background: var(--accent-green);
  color: var(--bg-deep);
  border-color: var(--accent-green);
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent-green);
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.4);
}

.btn-ghost {
  border-color: var(--border-line);
  color: var(--text-white);
}

.btn-ghost:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  box-shadow: 0 0 12px rgba(255, 107, 53, 0.25);
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-family: var(--font-data);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--accent-green);
}

.breadcrumb span {
  color: var(--text-white);
  font-size: 13px;
  font-family: var(--font-data);
}

.breadcrumb::before {
  content: '//';
  font-family: var(--font-data);
  color: var(--accent-orange);
  font-size: 13px;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-line);
  border-radius: 0;
  padding: 24px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  border-color: var(--accent-green);
  box-shadow: 0 0 16px rgba(57, 255, 20, 0.15), inset 0 0 24px rgba(57, 255, 20, 0.04);
}

.card-head {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 18px;
  color: var(--text-white);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-body {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.card-foot {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-line);
  display: flex;
  align-items: center;
  gap: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-headline);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border: 1px solid var(--border-line);
  color: var(--text-muted);
}

.tag-live {
  color: var(--accent-green);
  border-color: var(--accent-green);
}

.tag-live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 6px rgba(57, 255, 20, 0.8);
  display: inline-block;
}

.tag-hot {
  color: var(--accent-orange);
  border-color: var(--accent-orange);
}

.data-num {
  font-family: var(--font-data);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent-green);
}

.img-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border-line);
}

.img-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 45%, rgba(255, 255, 255, 0.05) 50%, transparent 55%),
    repeating-linear-gradient(90deg, transparent 0, transparent 39px, rgba(46, 64, 90, 0.4) 40px),
    repeating-linear-gradient(0deg, transparent 0, transparent 39px, rgba(46, 64, 90, 0.4) 40px);
  pointer-events: none;
}

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

.img-frame--wide {
  aspect-ratio: 21 / 9;
}

.img-frame--portrait {
  aspect-ratio: 3 / 4;
}

.img-frame--square {
  aspect-ratio: 1 / 1;
}

.section-heading {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 28px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-white);
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.section-heading::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background: var(--accent-orange);
}

.section-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 32px;
  }

  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr 1.6fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .section-heading {
    font-size: 34px;
  }
}

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

  .ticker-strip {
    animation: none;
    overflow-x: auto;
  }

  .ticker-pulse,
  .rail-dot {
    animation: none;
  }

  .progress-thumb {
    transition: none;
  }

  .btn,
  .btn-primary,
  .btn-ghost,
  .nav-toggle .toggle-bar,
  .main-nav a,
  .main-nav a::after,
  .footer-nav a,
  .footer-service a,
  .card {
    transition: none;
  }
}
