/* 设计哲学：都会生活技能插画风；以城市文化刊物、地图式章节漫游、纸张颗粒和手绘导视强化 每日大赛视频更新 的原创识别度。 */
:root {
  --bg: #f6f0e7;
  --paper: #fff9f2;
  --ink: #1d2a39;
  --soft: #63707a;
  --green: #2e8b7f;
  --green-deep: #1f5e57;
  --red: #d95f4a;
  --navy: #21314d;
  --line: rgba(33, 49, 77, 0.14);
  --shadow: 0 18px 42px rgba(28, 41, 57, 0.12);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(180deg, #f9f2e8 0%, #f4ede5 100%);
  color: var(--ink);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; border-radius: 22px; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.grain {
  position: fixed; inset: 0; pointer-events: none; opacity: 0.12;
  background-image: radial-gradient(rgba(29,42,57,.16) 0.7px, transparent 0.7px);
  background-size: 8px 8px;
}
.site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px); background: rgba(246, 240, 231, 0.88); border-bottom: 1px solid var(--line); }
.topbar, .nav-row, .search-wrap, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar { padding: 16px 0; }
  .logo { display: inline-flex; align-items: center; gap: 12px; font-family: "Noto Serif SC", serif; font-weight: 700; }
  .logo-image { width: 168px; height: auto; border-radius: 0; box-shadow: none; }

.top-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; color: var(--soft); font-size: .92rem; }
.main-nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nav-row { padding: 14px 0; justify-content: flex-start; flex-wrap: wrap; }
.nav-row a { padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.6); border: 1px dashed transparent; transition: .28s ease; }
.nav-row a:hover, .nav-row a:focus { background: rgba(217,95,74,.1); border-color: rgba(217,95,74,.3); transform: translateY(-2px); }
.search-strip { background: rgba(255,249,242,.82); }
.search-wrap { padding: 16px 0 18px; flex-wrap: wrap; align-items: flex-start; }
.search-label { font-weight: 700; color: var(--navy); }
.search-box { display: flex; flex: 1 1 540px; min-width: 280px; background: #fff; border-radius: 999px; border: 1px solid var(--line); padding: 6px; box-shadow: 0 10px 24px rgba(0,0,0,.05); }
.search-box input { border: 0; outline: none; flex: 1; padding: 12px 18px; background: transparent; font-size: 1rem; }
.search-box button, .btn { border: 0; cursor: pointer; border-radius: 999px; }
.search-box button { padding: 12px 22px; background: var(--green); color: #fdfbf7; font-weight: 700; }
.search-tip { margin: 0; width: 100%; color: var(--soft); font-size: .92rem; }
.hero-section { padding: 56px 0 28px; }
.hero-grid, .split-grid, .story-grid, .contact-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 28px; align-items: center; }
.hero-copy { padding: 24px 0 24px; }
.eyebrow { margin: 0 0 12px; font-size: .88rem; letter-spacing: .18em; text-transform: uppercase; color: var(--green-deep); font-weight: 700; }
.hero-copy h1, .sub-hero h1 { font-family: "Noto Serif SC", serif; font-size: clamp(2.3rem, 4vw, 4.5rem); line-height: 1.12; margin: 0 0 18px; }
.lead { font-size: 1.06rem; color: #384556; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; font-weight: 700; transition: .3s ease; }
.btn-primary { background: var(--navy); color: #fff7ec; box-shadow: var(--shadow); }
.btn-secondary { background: rgba(46,139,127,.14); color: var(--green-deep); }
.btn:hover { transform: translateY(-3px); }
.hero-metrics { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hero-metrics li, .map-card, .video-card, .info-card, .panel, .json-card, .qr-card { background: rgba(255,249,242,.82); border: 1px solid rgba(33,49,77,.1); box-shadow: var(--shadow); border-radius: var(--radius); }
.hero-metrics li { padding: 18px; }
.hero-metrics strong { display: block; font-size: 1.65rem; color: var(--red); }
.hero-art { position: relative; }
.hero-art img { min-height: 420px; object-fit: cover; box-shadow: var(--shadow); }
.floating-note { position: absolute; padding: 12px 16px; border-radius: 18px; background: rgba(255,249,242,.95); border: 1px solid var(--line); font-weight: 700; }
.note-a { left: -12px; top: 28px; }
.note-b { right: 16px; bottom: 18px; }
.section-head { max-width: 780px; margin-bottom: 28px; }
.section-head h2, .story-copy h2, .faq-grid h2, .contact-grid h2, .feature-slice h2 { font-family: "Noto Serif SC", serif; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.18; margin: 0 0 14px; }
.map-section, .json-section, .faq-section, .contact-strip, .card-section, .prose-section { padding: 28px 0 34px; }
.map-grid, .json-grid, .video-grid { display: grid; gap: 18px; }
.three-col { grid-template-columns: repeat(3, 1fr); }
.two-col { grid-template-columns: repeat(2, 1fr); }
.one-col { grid-template-columns: 1fr; }
.map-card, .video-card, .json-card, .panel, .info-card { padding: 22px; position: relative; overflow: hidden; }
.map-card::before, .panel::before, .json-card::before { content: ""; position: absolute; width: 84px; height: 84px; right: -16px; top: -16px; border-radius: 24px; background: rgba(46,139,127,.08); }
.map-card.accent { background: linear-gradient(135deg, rgba(217,95,74,.13), rgba(255,249,242,.88)); }
.dark-slice { margin-top: 24px; background: linear-gradient(180deg, #233049 0%, #192333 100%); color: #fef8ef; padding: 42px 0 50px; }
.dark-slice .eyebrow, .dark-slice p { color: rgba(254,248,239,.88); }
.tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.tag-row span { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); }
.video-grid { grid-template-columns: repeat(3, 1fr); }
.video-card { color: inherit; }
.video-thumb { position: relative; overflow: hidden; border-radius: 20px; }
.video-thumb img { aspect-ratio: 16/10; object-fit: cover; width: 100%; transform: scale(1.01); transition: transform .35s ease; }
.video-card:hover .video-thumb img { transform: scale(1.08); }
.play-btn { position: absolute; inset: 50% auto auto 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 18px 36px rgba(0,0,0,.18); opacity: 0; transform: scale(.84); transition: .28s ease; }
.play-btn::before { content: ""; position: absolute; left: 30px; top: 23px; border-style: solid; border-width: 13px 0 13px 20px; border-color: transparent transparent transparent var(--red); }
.video-card:hover .play-btn, .video-card:focus-within .play-btn { opacity: 1; transform: scale(1); }
.duration { position: absolute; right: 12px; bottom: 12px; background: rgba(25,35,51,.78); color: #fff; padding: 6px 10px; border-radius: 999px; font-size: .86rem; }
.image-story { padding: 44px 0 20px; }
.story-copy { padding-right: 24px; }
.list-block { display: grid; gap: 12px; margin-top: 18px; }
.list-block div { padding: 16px 18px; background: rgba(255,255,255,.55); border-left: 4px solid var(--green); border-radius: 16px; }
.json-card h3, .video-card h3, .video-card h2, .map-card h3, .map-card h2, .panel h2, .info-card h3, .site-footer h5 { margin-top: 0; font-family: "Noto Serif SC", serif; }
.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 20px; align-items: start; }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: rgba(255,249,242,.9); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.faq-item button { width: 100%; text-align: left; padding: 18px 20px; font-weight: 700; background: transparent; border: 0; color: var(--ink); }
.faq-item p { margin: 0; padding: 0 20px 18px; color: #495465; }
.contact-cards { display: grid; gap: 16px; }
.info-card img { margin-top: 12px; aspect-ratio: 16/10; object-fit: cover; }
.two-panel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 20px 0 40px; }
.sub-hero { padding: 46px 0 18px; }
.sub-visual img { min-height: 300px; object-fit: cover; }
.site-footer { margin-top: 28px; padding: 34px 0 22px; background: #1f2b3d; color: #f7efdf; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr .9fr; gap: 24px; }
.qr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.qr-card { padding: 14px; text-align: center; background: rgba(255,255,255,.06); }
.qr-placeholder { display: grid; place-items: center; aspect-ratio: 1/1; border-radius: 18px; background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.05)); margin-bottom: 10px; font-size: .9rem; }
.TJApiM { display: flex; flex-wrap: wrap; gap: 12px; }
.TJApiM button { padding: 12px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; }
.footer-bottom { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.82); }
.toast { position: fixed; right: 18px; bottom: 18px; background: #1d2a39; color: #fff9ef; padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow); z-index: 99; }
@media (max-width: 980px) {
  .hero-grid, .split-grid, .story-grid, .contact-grid, .faq-grid, .footer-grid, .two-panel, .three-col, .two-col, .video-grid { grid-template-columns: 1fr; }
  .hero-metrics { grid-template-columns: 1fr; }
  .topbar, .search-wrap, .footer-bottom { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1180px); }
  .hero-section { padding-top: 28px; }
  .hero-art img { min-height: 260px; }
  .search-box { width: 100%; }
  .search-box button { padding-inline: 18px; }
  .floating-note { position: static; margin-top: 12px; display: inline-flex; }
}
