/* 设计提醒：新中式数码刊物主义；以杂志化长卷、非对称信息带、栀子白+墨青+胭脂棕色系为核心；所有模块都要强化“溏心”与“传媒”的可信编辑感。 */
:root {
  --bg: #f4ede4;
  --paper: #fbf7f1;
  --paper-2: #fffdfa;
  --ink: #13292b;
  --ink-soft: #355053;
  --line: #d8c7b2;
  --accent: #9f5841;
  --accent-deep: #7e3c2f;
  --gold: #cda86a;
  --muted: #6b7d7f;
  --shadow: 0 22px 44px rgba(19, 41, 43, 0.12);
  --shadow-soft: 0 10px 26px rgba(19, 41, 43, 0.08);
  --radius: 24px;
  --max: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 12% 0%, rgba(205, 168, 106, 0.18), transparent 30%),
    radial-gradient(circle at 100% 10%, rgba(159, 88, 65, 0.13), transparent 24%),
    linear-gradient(180deg, #f8f1e8 0%, #f4ede4 52%, #efe5da 100%);
  color: var(--ink);
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
.main-frame { overflow: hidden; }
.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}
.site-topbar {
  background: rgba(19, 41, 43, 0.96);
  color: #f7efe7;
  font-size: 13px;
  letter-spacing: 0.08em;
}
.site-topbar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 20px;
  padding: 10px 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(251, 247, 241, 0.88);
  border-bottom: 1px solid rgba(216, 199, 178, 0.9);
}
.site-header .container {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 28px;
  align-items: center;
  padding: 18px 0 16px;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-lockup img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}
.brand-text strong {
  display: block;
  font-family: "Noto Serif SC", serif;
  font-size: 28px;
  letter-spacing: 0.08em;
}
.brand-text span {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
}
.nav-area {
  display: grid;
  gap: 12px;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.nav-links a {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(216, 199, 178, 0.95);
  font-size: 14px;
  transition: transform .28s ease, background .28s ease, color .28s ease, border-color .28s ease;
}
.nav-links a:hover,
.nav-links a:focus-visible {
  transform: translateY(-2px);
  background: var(--ink);
  color: #fffaf5;
  border-color: var(--ink);
}
.search-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  justify-self: end;
  width: min(430px, 100%);
}
.search-bar input {
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  padding: 0 18px;
  color: var(--ink);
}
.search-bar button,
.button-like {
  height: 46px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff7ef;
  padding: 0 22px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform .28s ease, box-shadow .28s ease, opacity .28s ease;
}
.search-bar button:hover,
.button-like:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(126, 60, 47, 0.22); }
.hero {
  position: relative;
  padding: 32px 0 28px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: stretch;
}
.hero-copy {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 251, 246, 0.96) 0%, rgba(247, 239, 231, 0.88) 100%);
  border: 1px solid rgba(216, 199, 178, 0.86);
  border-radius: 34px;
  padding: 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-copy::before {
  content: "溏心 MEDIA DOSSIER";
  position: absolute;
  top: 18px;
  right: -36px;
  transform: rotate(90deg);
  color: rgba(19, 41, 43, 0.22);
  letter-spacing: 0.22em;
  font-size: 12px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}
.hero h1,
.page-hero h1 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2.35rem, 4vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: 0.04em;
}
.hero p.lead,
.page-hero p {
  margin: 18px 0 0;
  font-size: 18px;
  color: var(--ink-soft);
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 20px;
}
.metric {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(216, 199, 178, 0.92);
  border-radius: 20px;
  padding: 16px;
}
.metric strong {
  display: block;
  font-size: 27px;
  color: var(--accent-deep);
}
.metric span { color: var(--muted); font-size: 13px; }
.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
}
.hero-media {
  position: relative;
  min-height: 580px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(216, 199, 178, 0.8);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 25, 26, 0.12) 0%, rgba(13, 25, 26, 0.62) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  color: #fff6ee;
}
.badge-row,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.badge,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  font-size: 13px;
}
.editor-note {
  max-width: 420px;
  margin-left: auto;
  background: rgba(255, 248, 242, 0.18);
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: 22px;
  padding: 18px;
}
.editor-note strong { display: block; margin-bottom: 10px; font-family: "Noto Serif SC", serif; }
.section {
  padding: 34px 0;
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
}
.section-heading h2,
.section-heading h3,
.subsection h3,
.subsection h4,
.content-block h3 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.section-heading p,
.subsection p { margin: 10px 0 0; color: var(--ink-soft); }
.section-tag {
  color: var(--accent-deep);
  letter-spacing: 0.18em;
  font-size: 12px;
  text-transform: uppercase;
}
.editor-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 26px;
}
.feature-stack,
.card-grid,
.two-col,
.faq-grid,
.review-grid,
.footer-grid,
.page-grid,
.side-grid {
  display: grid;
  gap: 18px;
}
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.page-grid { grid-template-columns: 0.76fr 1.24fr; align-items: start; }
.side-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel,
.feature-card,
.topic-card,
.review-card,
.faq-card,
.info-card,
.timeline-card,
.expert-card,
.json-card,
.share-card,
.logo-wall,
.story-card,
.contact-card,
.video-card,
.community-card {
  background: rgba(255, 252, 248, 0.78);
  border: 1px solid rgba(216, 199, 178, 0.92);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}
.panel,
.feature-card,
.topic-card,
.review-card,
.faq-card,
.info-card,
.timeline-card,
.expert-card,
.story-card,
.contact-card,
.community-card,
.share-card,
.video-card { padding: 22px; }
.feature-card h3,
.topic-card h3,
.story-card h3,
.contact-card h3,
.community-card h3,
.expert-card h3,
.review-card h3,
.faq-card h3,
.info-card h3 { margin-top: 0; }
.feature-card ul,
.topic-card ul,
.story-card ul,
.contact-card ul { margin: 12px 0 0; padding-left: 18px; }
.feature-card li,
.topic-card li,
.story-card li,
.contact-card li { margin: 6px 0; }
.muted { color: var(--muted); }
.highlight-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
}
.highlight-card .cover,
.inline-photo img {
  border-radius: 22px;
  overflow: hidden;
}
.highlight-card .cover img,
.inline-photo img,
.article-cover img,
.banner-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.ribbon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(159, 88, 65, 0.12);
  color: var(--accent-deep);
  font-size: 13px;
}
.stats-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.stats-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(216,199,178,0.8);
}
.stats-item b { font-size: 15px; }
.stats-item span { color: var(--muted); font-size: 13px; }
.content-lane {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.media-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.media-tag-cloud span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(19, 41, 43, 0.07);
  color: var(--ink-soft);
  font-size: 13px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.video-card {
  position: relative;
  overflow: hidden;
  padding: 0;
}
.video-thumb {
  position: relative;
  min-height: 230px;
  overflow: hidden;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  transition: transform .55s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.06); }
.play-button {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(19, 41, 43, 0.05), rgba(19, 41, 43, 0.62));
}
.play-button span {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.44);
  color: #fff7ef;
  font-size: 30px;
  opacity: 0;
  transform: translateY(12px) scale(0.92);
  transition: all .32s ease;
  backdrop-filter: blur(6px);
}
.video-card:hover .play-button span { opacity: 1; transform: translateY(0) scale(1); }
.video-body { padding: 18px 20px 22px; }
.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
.json-card {
  padding: 0;
  overflow: hidden;
}
.json-card header {
  padding: 14px 18px;
  background: rgba(19, 41, 43, 0.94);
  color: #fffaf6;
  font-size: 14px;
  letter-spacing: 0.08em;
}
.json-card pre {
  margin: 0;
  padding: 18px;
  overflow: auto;
  font-size: 13px;
  line-height: 1.7;
  color: #122324;
  background: rgba(255, 251, 247, 0.94);
}
.expert-list,
.review-grid,
.faq-grid,
.logo-list,
.contact-links,
.share-actions,
.article-list,
.tool-list { display: grid; gap: 16px; }
.expert-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.logo-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.logo-item {
  min-height: 84px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  border: 1px dashed rgba(216, 199, 178, 0.95);
  background: rgba(255,255,255,0.68);
  color: var(--ink-soft);
  font-family: "Noto Serif SC", serif;
}
.timeline {
  position: relative;
  padding-left: 22px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--accent) 100%);
}
.timeline-card {
  position: relative;
  padding: 18px 18px 18px 22px;
  margin-bottom: 14px;
}
.timeline-card::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(159, 88, 65, 0.15);
}
.share-actions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.share-actions button {
  min-height: 70px;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.7);
  color: var(--ink);
  cursor: pointer;
}
.1jad017,
.hay9o {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: rgba(19, 41, 43, 0.94);
  color: #fffaf6;
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: all .28s ease;
  z-index: 100;
}
.1jad017.show,
.hay9o.show { opacity: 1; transform: translateY(0); }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}
.page-hero {
  padding: 38px 0 10px;
}
.page-cover {
  min-height: 360px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(216, 199, 178, 0.86);
}
.page-cover img {
  width: 100%;
  min-height: 360px;
  height: 100%;
  object-fit: cover;
}
.article-list article,
.tool-list article {
  padding: 18px 0;
  border-bottom: 1px dashed rgba(216, 199, 178, 0.95);
}
.article-list article:last-child,
.tool-list article:last-child { border-bottom: none; }
.article-list h3,
.tool-list h3 { margin-bottom: 10px; }
.site-footer {
  margin-top: 24px;
  padding: 36px 0 40px;
  background: #13292b;
  color: #f9f1e8;
}
.site-footer .container { display: grid; gap: 24px; }
.footer-grid { grid-template-columns: 1.2fr 0.8fr; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 6px;
}
.footer-meta,
.footer-meta a { color: rgba(249, 241, 232, 0.82); }
.qr-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.qr-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 16px;
  text-align: center;
}
.qr-card img {
  width: 100%;
  max-width: 170px;
  margin: 0 auto 10px;
  border-radius: 18px;
  background: #fff;
}
.footer-note {
  font-size: 14px;
  color: rgba(249, 241, 232, 0.72);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
}
.code-demo {
  border-radius: 22px;
  padding: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}
.code-demo pre {
  white-space: pre-wrap;
  margin: 0;
  color: rgba(255,255,255,0.88);
  font-size: 12px;
}
.mobile-only { display: none; }
@media (max-width: 1100px) {
  .hero-grid,
  .editor-grid,
  .page-grid,
  .footer-grid,
  .card-grid.four,
  .logo-list,
  .video-grid,
  .share-actions,
  .content-lane { grid-template-columns: 1fr 1fr; }
  .site-header .container { grid-template-columns: 1fr; }
  .nav-links,
  .search-bar { justify-self: start; }
}
@media (max-width: 820px) {
  .hero-grid,
  .editor-grid,
  .page-grid,
  .side-grid,
  .two-col,
  .card-grid.three,
  .card-grid.four,
  .video-grid,
  .expert-list,
  .review-grid,
  .faq-grid,
  .share-actions,
  .logo-list,
  .footer-grid,
  .qr-wrap,
  .content-lane,
  .hero-metrics { grid-template-columns: 1fr; }
  .hero-copy,
  .hero-media,
  .page-cover { border-radius: 24px; }
  .hero-copy { padding: 26px; }
  .site-topbar .container { font-size: 12px; }
  .brand-text strong { font-size: 24px; }
  .hero h1,
  .page-hero h1 { font-size: clamp(2rem, 11vw, 3rem); }
  .section-heading { grid-template-columns: 1fr; }
  .search-bar { width: 100%; grid-template-columns: 1fr; }
}
