/*
设计哲学提醒：数码霓虹社群美学 + 轻未来视频界面。
问题校验：当前样式是否在强化“今日看料”的数码视频社区气质，而不是削弱它？
执行规则：深海蓝、青绿电光、珊瑚橙为主；避免泛紫渐变、避免机械居中布局、避免统一圆角模板感。
*/
:root {
  --bg: #06111f;
  --bg-soft: #0b1b2f;
  --panel: rgba(8, 20, 37, 0.78);
  --panel-strong: rgba(9, 26, 45, 0.94);
  --line: rgba(100, 224, 223, 0.18);
  --line-strong: rgba(100, 224, 223, 0.34);
  --text: #eaf8fb;
  --muted: #9ab6c5;
  --teal: #62e0df;
  --teal-strong: #12bcc5;
  --coral: #ff8467;
  --gold: #ffd89a;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --radius-sm: 16px;
  --container: min(1220px, calc(100% - 32px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background:
    radial-gradient(circle at 8% 10%, rgba(98, 224, 223, 0.16), transparent 24%),
    radial-gradient(circle at 88% 16%, rgba(255, 132, 103, 0.12), transparent 22%),
    linear-gradient(180deg, #07111d 0%, #081425 42%, #09121d 100%);
  color: var(--text);
  line-height: 1.7;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.05) 0.7px, transparent 0.7px);
  background-size: 16px 16px;
  opacity: 0.08;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
.container { width: var(--container); margin: 0 auto; }
.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;
}
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 9999; background: #fff; color: #000; padding: 12px 16px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(16px);
  background: rgba(6, 17, 31, 0.72);
  border-bottom: 1px solid rgba(98, 224, 223, 0.09);
}
.header-shell { display: grid; gap: 10px; padding: 16px 0 14px; }
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-lockup img.logo {
  width: 168px;
  height: auto;
  filter: drop-shadow(0 8px 26px rgba(98, 224, 223, 0.18));
}
.brand-lockup img.site-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(98,224,223,0.35);
  padding: 4px;
  background: rgba(255,255,255,0.04);
}
.brand-copy { display: flex; flex-direction: column; }
.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.brand-subtitle {
  color: var(--muted);
  font-size: 0.84rem;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.nav-links a {
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #d6edf1;
  transition: 0.3s ease;
}
.nav-links a:hover,
.nav-links a.is-active {
  border-color: rgba(98, 224, 223, 0.28);
  background: rgba(98, 224, 223, 0.09);
  color: #ffffff;
}
.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}
.search-shell {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(98, 224, 223, 0.16);
  background: rgba(255, 255, 255, 0.04);
}
.search-shell input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  color: var(--text);
  outline: none;
}
.search-shell button,
.hot-tags a,
.action-button,
.share-button,
.card-link,
.mcp-button {
  border: 0;
  cursor: pointer;
  transition: transform 0.26s ease, box-shadow 0.26s ease, background 0.26s ease;
}
.search-shell button,
.action-button,
.share-button,
.mcp-button {
  padding: 11px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(98,224,223,0.95), rgba(18,188,197,0.92));
  color: #042030;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(18, 188, 197, 0.24);
}
.search-shell button:hover,
.action-button:hover,
.share-button:hover,
.mcp-button:hover { transform: translateY(-2px); }
.hot-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.hot-tags a {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 132, 103, 0.18);
  background: rgba(255, 132, 103, 0.08);
  color: #ffd9ce;
  font-size: 0.86rem;
}
.hero {
  padding: 36px 0 24px;
}
.hero-shell {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}
.panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(98, 224, 223, 0.14);
  background: linear-gradient(180deg, rgba(7, 24, 38, 0.88), rgba(8, 19, 35, 0.96));
  box-shadow: var(--shadow);
}
.panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(98,224,223,0.42), transparent);
}
.hero-copy {
  padding: 34px;
  display: grid;
  gap: 18px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(98, 224, 223, 0.1);
  border: 1px solid rgba(98, 224, 223, 0.2);
  color: #a8f4f4;
  font-size: 0.88rem;
}
.hero h1,
.page-hero h1 {
  margin: 0;
  font-family: "Source Han Serif SC", "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
}
.hero h1 span,
.section-heading h2 span,
.page-hero h1 span { color: var(--teal); }
.hero p.lead,
.page-hero p.lead { margin: 0; color: #d3e9f1; font-size: 1.05rem; }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.metric-card {
  padding: 18px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.05);
}
.metric-card strong {
  display: block;
  font-size: 1.8rem;
  color: #ffffff;
}
.metric-card span { color: var(--muted); font-size: 0.92rem; }
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.secondary-button {
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  color: #d6edf1;
  background: rgba(255,255,255,0.02);
}
.hero-visual {
  min-height: 100%;
}
.hero-visual figure,
.page-hero-figure {
  position: relative;
  margin: 0;
  height: 100%;
  min-height: 520px;
}
.hero-visual img,
.page-hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-visual figcaption,
.page-hero-figure figcaption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(4,17,30,0.2), rgba(4,17,30,0.78));
  border: 1px solid rgba(255,255,255,0.08);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}
.breadcrumb a { color: #cdebf1; }
section.content-section { padding: 20px 0; }
.section-shell {
  display: grid;
  gap: 18px;
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}
.section-heading h2,
.section-heading h3 {
  margin: 0;
  font-family: "Source Han Serif SC", "Noto Serif SC", serif;
  font-size: clamp(1.6rem, 2.4vw, 2.8rem);
  line-height: 1.14;
}
.section-heading p {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
}
.content-grid-3,
.content-grid-4,
.video-grid,
.logo-wall,
.article-grid,
.share-grid,
.mcp-grid,
.json-grid {
  display: grid;
  gap: 18px;
}
.content-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.content-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.logo-wall { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.article-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.share-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mcp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.json-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card,
.article-card,
.share-card,
.json-card,
.step-card,
.expert-card,
.review-card,
.mcp-card,
.partner-card,
.contact-card {
  position: relative;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(98,224,223,0.12);
  background: linear-gradient(180deg, rgba(9,26,45,0.82), rgba(7,18,32,0.96));
  box-shadow: 0 10px 40px rgba(0,0,0,0.18);
}
.info-card h3,
.article-card h3,
.share-card h3,
.json-card h3,
.step-card h3,
.expert-card h3,
.review-card h3,
.mcp-card h3,
.contact-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.15rem;
}
.info-card p,
.article-card p,
.share-card p,
.json-card p,
.step-card p,
.expert-card p,
.review-card p,
.mcp-card p,
.contact-card p,
.info-card li,
.contact-card li { color: #d0e4ec; }
.kv-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.kv-list li span { color: var(--muted); margin-right: 8px; }
.video-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 28px;
  border: 1px solid rgba(98,224,223,0.14);
  background: rgba(255,255,255,0.04);
  box-shadow: var(--shadow);
}
.video-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.5s ease;
}
.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,14,25,0.14), rgba(6,17,31,0.88));
}
.video-card:hover img { transform: scale(1.08); }
.video-card .card-body {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 12px;
  padding: 24px;
}
.video-tag {
  display: inline-flex;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,132,103,0.16);
  border: 1px solid rgba(255,132,103,0.22);
  color: #ffd8cf;
  font-size: 0.84rem;
}
.video-card h3 { margin: 0; font-size: 1.2rem; }
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #cae6ec;
  font-size: 0.9rem;
}
.play-orb {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.26);
  background: rgba(6,17,31,0.38);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1.3rem;
  opacity: 0;
  transform: translateY(10px) scale(0.92);
  transition: 0.35s ease;
}
.video-card:hover .play-orb,
.video-card:focus-within .play-orb { opacity: 1; transform: translateY(0) scale(1); }
.progress-track {
  height: 5px;
  width: 100%;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.14);
}
.progress-track span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--coral));
}
.hero-note,
.page-note {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(98,224,223,0.07);
  border: 1px solid rgba(98,224,223,0.16);
  color: #dbf8fa;
}
.side-pile {
  display: grid;
  gap: 18px;
}
.feature-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.feature-banner .image-panel,
.feature-banner .text-panel {
  border-radius: 24px;
  overflow: hidden;
}
.image-panel img { width: 100%; height: 100%; object-fit: cover; }
.text-panel { padding: 24px; }
.partner-card {
  padding: 26px 18px;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #eefafe;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag-cloud span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(98,224,223,0.16);
  background: rgba(255,255,255,0.03);
  color: #d8eff3;
  font-size: 0.88rem;
}
.summary-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.summary-pill {
  padding: 10px 14px;
  border-radius: 999px;
  color: #082030;
  background: linear-gradient(135deg, rgba(255,216,154,0.95), rgba(255,132,103,0.92));
  font-weight: 700;
}
details.json-toggle {
  border-radius: 20px;
  border: 1px solid rgba(98,224,223,0.14);
  background: rgba(255,255,255,0.025);
  overflow: hidden;
}
details.json-toggle summary {
  padding: 14px 18px;
  cursor: pointer;
  color: #f1fbff;
  font-weight: 700;
}
.json-code {
  margin: 0;
  padding: 0 18px 18px;
  color: #98ffd7;
  font-size: 0.88rem;
  white-space: pre-wrap;
  word-break: break-word;
}
.contact-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
}
.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
}
.qr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.qr-card {
  padding: 16px;
  border-radius: 20px;
  text-align: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.qr-card img {
  width: min(100%, 180px);
  margin: 0 auto 12px;
  border-radius: 18px;
  background: #fff;
  padding: 12px;
}
.review-stars { color: var(--gold); letter-spacing: 0.2em; }
.share-card small,
.expert-card small,
.review-card small,
.step-card small { color: var(--muted); }
.expert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(98,224,223,0.2);
  background: rgba(98,224,223,0.06);
  color: #c5fbff;
}
.site-footer {
  padding: 32px 0 48px;
}
.footer-shell {
  display: grid;
  gap: 18px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}
.footer-brand {
  padding: 26px;
}
.footer-brand img { width: 170px; margin-bottom: 16px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.footer-copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.page-hero {
  padding: 34px 0 14px;
}
.page-hero-shell {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
}
.page-hero-copy {
  display: grid;
  gap: 16px;
  padding: 30px;
}
.mobile-toggle { display: none; }
.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  max-width: 320px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(9,26,45,0.92);
  border: 1px solid rgba(98,224,223,0.18);
  box-shadow: var(--shadow);
  color: #eefafe;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: 0.3s ease;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 1120px) {
  .hero-shell,
  .page-hero-shell,
  .contact-split,
  .footer-top,
  .feature-banner,
  .section-heading {
    grid-template-columns: 1fr;
  }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-grid-3,
  .json-grid,
  .mcp-grid,
  .share-grid,
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-grid-4,
  .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav-row { align-items: flex-start; }
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(98,224,223,0.16);
    background: rgba(255,255,255,0.04);
    color: #fff;
  }
  .nav-links {
    display: none;
    width: 100%;
    justify-content: flex-start;
    padding-top: 8px;
  }
  .nav-links.is-open { display: flex; }
  .search-row { grid-template-columns: 1fr; }
  .hot-tags { justify-content: flex-start; }
  .metric-grid,
  .qr-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .content-grid-4,
  .logo-wall,
  .video-grid,
  .content-grid-3,
  .article-grid,
  .share-grid,
  .mcp-grid,
  .json-grid { grid-template-columns: 1fr; }
  .hero-copy,
  .page-hero-copy,
  .footer-brand,
  .text-panel,
  .info-card,
  .article-card,
  .share-card,
  .json-card,
  .step-card,
  .expert-card,
  .review-card,
  .mcp-card,
  .contact-card { padding: 20px; }
  .hero-visual figure,
  .page-hero-figure { min-height: 360px; }
}
