:root {
  --bg: #f6f6f4;
  --paper: #ffffff;
  --ink: #111319;
  --muted: #6f7480;
  --line: #e3e4e6;
  --red: #ef3036;
  --nav: #202020;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--bg); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.topline { border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 750; }
.topline-inner, .brand-row, .nav-inner, .container, .footer-inner, .footer-bottom {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}
.topline-inner { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topic-links, .account-links, .topline-actions { display: flex; align-items: center; gap: 18px; min-width: 0; }
.topic-links { overflow: hidden; white-space: nowrap; }
.topic-links a:first-child { color: var(--red); }

.brand-row { min-height: 108px; display: flex; align-items: center; justify-content: center; gap: 24px; }
.brand { text-align: center; }
.brand h1 { margin: 0; font-size: 34px; line-height: 1; letter-spacing: 0; }
.brand p { margin: 10px 0 0; color: #9b9b9b; font-size: 16px; font-weight: 700; }
.topline-actions { margin-left: auto; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 15px; border: 1px solid var(--line); background: #fff; color: #252a33; font: inherit; font-size: 14px; font-weight: 850; cursor: pointer; }
.button.primary { border-color: var(--red); background: var(--red); color: #fff; }
.topline-subscribe { min-height: 30px; padding: 0 12px; font-size: 13px; white-space: nowrap; }

.site-nav { background: var(--nav); color: #fff; }
.nav-inner { min-height: 62px; display: flex; align-items: stretch; justify-content: center; overflow-x: auto; }
.nav { display: flex; align-items: stretch; margin: 0; padding: 0; list-style: none; }
.nav li { display: flex; }
.nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 116px; padding: 0 22px; border-left: 1px solid rgba(255,255,255,.13); color: #fff; font-size: 15px; font-weight: 900; }
.nav li:last-child a { border-right: 1px solid rgba(255,255,255,.13); }
.nav-current a { background: var(--red); border-color: var(--red); }

.container { padding: 34px 0 64px; }
.headline-layout { display: grid; grid-template-columns: minmax(240px, .72fr) minmax(360px, 1.45fr) minmax(280px, .76fr); gap: 28px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.lead-story { display: grid; gap: 22px; }
.feature-rail { display: grid; gap: 28px; align-content: start; padding-right: 28px; border-right: 1px solid var(--line); }
.rail-card { display: grid; gap: 14px; }
.rail-image, .lead-image, .post-image, .side-thumb { overflow: hidden; background: linear-gradient(135deg, rgba(17,19,25,.12), rgba(239,48,54,.14)), #d8dde5 center/cover; }
.rail-image { min-height: 215px; }
.lead-image { position: relative; min-height: 560px; display: flex; align-items: flex-end; padding: 36px; color: #fff; background-size: cover; background-position: center; }
.lead-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.02) 20%, rgba(0,0,0,.74) 100%); }
.lead-overlay { position: relative; z-index: 1; max-width: 680px; }
.label-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.label { display: inline-flex; min-height: 24px; align-items: center; padding: 0 8px; background: var(--red); color: #fff; font-size: 11px; font-weight: 950; text-transform: uppercase; letter-spacing: .04em; }
.label.secondary { background: #111319; }
.rail-card h2, .lead-story h2 { margin: 0; letter-spacing: 0; }
.rail-card h2 { font-size: 26px; line-height: 1.22; }
.lead-story h2 { max-width: 760px; font-size: 44px; line-height: 1.1; }
.lead-story p { margin: 0; max-width: 760px; color: var(--muted); font-size: 18px; line-height: 1.72; font-weight: 650; }
.byline { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; color: var(--muted); font-size: 14px; font-weight: 800; }
.lead-overlay .byline { color: rgba(255,255,255,.88); }
.date { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; font-weight: 800; }

.side-news { display: grid; align-content: start; gap: 0; border-top: 1px solid var(--line); }
.side-widget { display: none; padding: 18px 0; border-bottom: 1px solid var(--line); }
.side-news.predict-available .side-widget { display: block; }
.side-news.predict-available article:nth-of-type(n+3) { display: none; }
.side-news article { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.side-thumb { min-height: 74px; background-size: cover; background-position: center; }
.side-news h3 { margin: 0; font-size: 18px; line-height: 1.35; }
.mini-live { padding: 18px 0; border-bottom: 1px solid var(--line); }
.mini-live-card { position: relative; overflow: hidden; padding: 16px; background: linear-gradient(135deg, rgba(239,48,54,.34) 0%, rgba(239,48,54,0) 35%), radial-gradient(circle at 88% 8%, rgba(0,212,255,.34), transparent 28%), radial-gradient(circle at 18% 100%, rgba(255,184,77,.22), transparent 36%), linear-gradient(135deg, #070b14 0%, #101a33 48%, #260d23 100%); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.mini-live-card::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.055) 0 1px, transparent 1px 18px); opacity: .32; pointer-events: none; }
.mini-live-card > * { position: relative; z-index: 1; }
.mini-live-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 12px; }
.mini-live h3 { margin: 0; font-size: 17px; line-height: 1.25; }
.mini-status { display: inline-flex; align-items: center; gap: 7px; color: #c9d3e2; font-size: 12px; font-weight: 900; white-space: nowrap; }
.mini-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8792a2; box-shadow: 0 0 0 5px rgba(135,146,162,.14); }
.mini-status.live { color: #ffe5e7; }
.mini-status.live::before { background: var(--red); box-shadow: 0 0 0 5px rgba(239,48,54,.18); }
.mini-status.waiting { color: #c9d3e2; }
.mini-live p { margin: 0 0 12px; color: #aeb9ca; font-size: 13px; line-height: 1.5; font-weight: 700; }
audio { width: 100%; height: 44px; }

.section { margin-top: 42px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.section-head h2 { margin: 0; font-size: 30px; line-height: 1.1; }
.section-head a { color: var(--red); font-size: 14px; font-weight: 950; white-space: nowrap; }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.post-card { display: grid; gap: 14px; align-content: start; }
.post-image { display: block; min-height: 185px; background-size: cover; background-position: center; }
.post-card h3 { margin: 0; font-size: 21px; line-height: 1.34; }
.post-card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 14px; font-weight: 650; }

.article-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 44px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 820px) 340px;
  gap: 48px;
  align-items: start;
}
.article-container { width: 100%; margin: 0; padding: 0; }
.article-sidebar { position: sticky; top: 22px; min-width: 0; }
.predict-widget-frame {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
  background: transparent;
}
.article-header { margin-bottom: 28px; }
.article-header h1 { margin: 14px 0 0; font-size: 48px; line-height: 1.12; letter-spacing: 0; }
.article-image { margin: 0 0 34px; }
.article-image img { width: 100%; height: auto; }
.article-content { font-size: 18px; line-height: 1.82; color: #20242c; }
.article-content p { margin: 0 0 1.25em; }
.article-content a { color: var(--red); text-decoration: underline; }
.article-content figure { margin: 0 0 28px; }
.article-content .kg-image-card,
.article-content .kg-width-full { width: auto; max-width: 100%; }
.article-content img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
.tag-header { padding-bottom: 22px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.tag-header h1 { margin: 0; font-size: 42px; }
.tag-header p { color: var(--muted); font-weight: 700; }
.archive-grid { margin-bottom: 32px; }
.empty-state {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px solid var(--line);
  background: #fff;
}
.empty-state h2 { margin: 0; font-size: 24px; }
.empty-state p { margin: 10px 0 0; color: var(--muted); font-weight: 650; }
.pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 38px auto 0;
  color: #8a919c;
  font-weight: 750;
}

.pagination-link,
.page-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
}

.pagination-link {
  min-width: 64px;
  padding: 0 11px;
  color: #6c7480;
  font-size: 13px;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.pagination-link:hover {
  border-color: #c9ced6;
  background: #fff;
  color: #303744;
}

.pagination-link.is-disabled {
  color: #c3c8d0;
  background: #f4f5f6;
  cursor: not-allowed;
}

.pagination-link.is-disabled:hover {
  border-color: var(--line);
  background: #f4f5f6;
  color: #c3c8d0;
}

.page-number {
  min-width: 108px;
  padding: 0 12px;
  color: #8a919c;
  font-size: 12px;
}

.subscribe-open body { overflow: hidden; }
.predict-open body { overflow: hidden; }
.subscribe-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.subscribe-modal[aria-hidden="false"] { display: flex; }
.predict-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.predict-modal[aria-hidden="false"] { display: flex; }
.subscribe-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 18, .52);
  backdrop-filter: blur(8px);
}
.predict-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 18, .52);
  backdrop-filter: blur(8px);
}
.subscribe-dialog {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  padding: 42px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(0,0,0,.24);
}
.predict-dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 34px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(0,0,0,.24);
}
.subscribe-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.subscribe-close::before,
.subscribe-close::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 6px;
  width: 2px;
  height: 24px;
  background: #c9ccd2;
}
.subscribe-close::before { transform: rotate(45deg); }
.subscribe-close::after { transform: rotate(-45deg); }
.subscribe-kicker {
  color: var(--red);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
}
.subscribe-dialog h2 { margin: 12px 0 0; font-size: 34px; line-height: 1.15; }
.subscribe-dialog > p { margin: 14px 0 28px; color: #6f7480; font-size: 16px; line-height: 1.65; font-weight: 700; }
.predict-dialog h2 { margin: 12px 0 0; font-size: 28px; line-height: 1.15; }
.predict-dialog > p { margin: 12px 0 18px; color: #6f7480; font-size: 15px; line-height: 1.6; font-weight: 700; }
.predict-summary {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  padding: 12px;
  background: #f7f7f7;
}
.predict-summary div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #252a33;
  font-size: 14px;
  line-height: 1.42;
  font-weight: 800;
}
.predict-summary strong { color: var(--red); white-space: nowrap; }
.predict-field { display: grid; gap: 8px; margin-top: 12px; color: #2c323b; font-size: 14px; font-weight: 900; }
.predict-field input {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #cfd2d8;
  color: #141820;
  font: inherit;
  font-size: 16px;
  outline: none;
}
.predict-field input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(239,48,54,.12);
}
.predict-message { min-height: 0; margin: 10px 0 0; font-size: 14px; line-height: 1.5; font-weight: 800; }
.predict-error { color: var(--red); }
.predict-success { color: #12805c; }
.predict-submit { margin-top: 14px; }
.subscribe-form { display: grid; gap: 18px; }
.subscribe-form label { display: grid; gap: 8px; color: #2c323b; font-size: 15px; font-weight: 900; }
.subscribe-form input[type="text"],
.subscribe-form input[type="email"] {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid #cfd2d8;
  border-radius: 8px;
  color: #141820;
  font: inherit;
  font-size: 17px;
  outline: none;
}
.subscribe-form input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(239,48,54,.12);
}
.subscribe-submit {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 950;
  cursor: pointer;
}
.subscribe-form.loading .subscribe-submit { opacity: .65; cursor: wait; }
.subscribe-message { display: none; margin: 0; font-size: 14px; line-height: 1.55; font-weight: 800; }
.subscribe-form.success .subscribe-success { display: block; color: #12805c; }
.subscribe-form.error .subscribe-error { display: block; color: var(--red); }

.footer { margin-top: 40px; padding: 56px 0 34px; border-top: 1px solid var(--line); background: #fff; color: var(--ink); }
.footer-inner { display: grid; grid-template-columns: minmax(280px, 1.35fr) repeat(2, minmax(140px, .48fr)) minmax(250px, .78fr); gap: 42px; align-items: start; }
.footer-brand h2 { margin: 0; color: #304fe7; font-size: 34px; line-height: 1; }
.footer-brand p { margin: 22px 0 0; max-width: 520px; color: #252a33; font-size: 16px; line-height: 1.75; font-weight: 650; }
.socials { display: flex; gap: 18px; margin-top: 28px; color: #000; font-size: 22px; font-weight: 950; }
.footer-col h3, .footer-cta h3 { margin: 0 0 18px; font-size: 18px; line-height: 1.2; }
.footer-col a { display: block; margin-top: 14px; color: #252a33; font-size: 15px; font-weight: 650; }
.footer-col a:hover { color: var(--red); }
.footer-cta {
  padding: 20px;
  border: 1px solid var(--line);
  background: #f8f8f7;
}
.footer-cta p { margin: 0 0 18px; color: #4f5662; font-size: 14px; line-height: 1.65; font-weight: 650; }
.footer-subscribe { width: 100%; min-height: 40px; }
.footer-bottom { margin-top: 48px; color: #4f5662; font-size: 14px; font-weight: 750; }

@media (max-width: 1020px) {
  .headline-layout { grid-template-columns: 1fr; }
  .feature-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-right: 0; padding-bottom: 28px; border-right: 0; border-bottom: 1px solid var(--line); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-shell { grid-template-columns: 1fr; }
  .article-sidebar { position: static; max-width: 360px; }
  .lead-story h2 { font-size: 38px; }
}

@media (max-width: 720px) {
  .topline-inner, .brand-row, .nav-inner, .container, .article-shell, .footer-inner, .footer-bottom { width: min(100% - 28px, 1240px); }
  .topline-inner { justify-content: space-between; gap: 12px; }
  .topic-links { flex: 1 1 auto; gap: 12px; overflow-x: auto; }
  .topline-actions { flex: 0 0 auto; margin-left: 0; }
  .account-links { display: none; }
  .topline-subscribe { min-height: 32px; padding: 0 10px; font-size: 12px; }
  .brand-row { min-height: 90px; display: flex; justify-content: center; }
  .brand h1 { font-size: 27px; }
  .brand p { font-size: 14px; }
  .site-nav { overflow: hidden; }
  .nav-inner { width: 100%; min-height: 54px; justify-content: center; overflow-x: hidden; }
  .nav { width: 100%; }
  .nav li { flex: 1 1 0; min-width: 0; }
  .nav .nav-shou-ye { flex-grow: .72; }
  .nav .nav-bi-gao-zhi-bo-jian { flex-grow: 1.34; }
  .nav a { width: 100%; min-width: 0; padding: 0 4px; border-left: 0; font-size: 13px; white-space: nowrap; }
  .nav li:last-child a { border-right: 0; }
  .container { padding-top: 24px; }
  .lead-image { min-height: 440px; padding: 24px; }
  .lead-story h2 { font-size: 31px; }
  .lead-story p { font-size: 16px; }
  .side-news article { grid-template-columns: 78px minmax(0, 1fr); }
  .card-grid, .feature-rail { grid-template-columns: 1fr; }
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 34px;
  }
  .footer-brand,
  .footer-cta {
    grid-column: 1 / -1;
  }
  .footer-col h3,
  .footer-cta h3 {
    margin-bottom: 14px;
    font-size: 17px;
  }
  .footer-col a {
    margin-top: 12px;
    font-size: 14px;
  }
  .post-image { min-height: 210px; }
  .article-header h1 { font-size: 34px; }

  .pagination {
    justify-content: flex-end;
    gap: 6px;
  }

  .pagination-link {
    min-width: 54px;
    padding: 0 8px;
    font-size: 12px;
  }

  .page-number {
    min-width: 92px;
    padding: 0 8px;
    font-size: 11px;
  }
}
