/* 校花影视传媒：原创杂志式视觉系统 */
:root {
  --ink: #10203d;
  --ink-2: #172c50;
  --coral: #ff5e62;
  --coral-dark: #e44350;
  --peach: #ffc8ae;
  --cream: #fff8ee;
  --paper: #fffdf9;
  --cyan: #15c7c5;
  --yellow: #ffd66b;
  --muted: #62708a;
  --line: rgba(16, 32, 61, .14);
  --shadow: 0 22px 55px rgba(20, 32, 61, .12);
  --radius: 24px;
  --max: 1200px;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --serif: Georgia, "Noto Serif SC", "Songti SC", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden;
}
body::selection { color: #fff; background: var(--coral); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
main { overflow: clip; }

.container { width: min(calc(100% - 48px), var(--max)); margin-inline: 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: fixed; z-index: 1000; top: -80px; left: 16px; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,248,238,.9); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(16,32,61,.08); }
.header-shell { width: min(calc(100% - 48px), 1360px); min-height: 76px; margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-lockup img { width: 42px; height: 42px; transition: transform .3s ease; }
.brand-lockup:hover img { transform: rotate(-8deg) scale(1.06); }
.brand-copy { display: grid; line-height: 1; }
.brand-copy b { font-family: var(--serif); font-size: 25px; letter-spacing: .04em; }
.brand-copy small { color: var(--coral); font-size: 8px; letter-spacing: .18em; margin-top: 6px; font-weight: 800; }
.main-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.main-nav a { position: relative; font-size: 14px; font-weight: 700; color: #33415c; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.main-nav a:hover::after, .main-nav a.is-current::after { transform: scaleX(1); }
.main-nav a.is-current { color: var(--coral); }
.header-cta { margin-left: 4px; padding: 9px 16px; color: #fff; background: var(--ink); border-radius: 99px; font-size: 13px; font-weight: 800; box-shadow: 0 6px 0 rgba(16,32,61,.14); transform: translateY(0); transition: .2s; }
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 0 rgba(16,32,61,.14); }
.menu-toggle { display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 8px; margin-left: auto; }
.menu-toggle span { display: block; width: 26px; height: 2px; margin: 5px 0; background: var(--ink); transition: .25s; }

.search-strip { background: var(--ink); color: #fff; }
.search-wrap { width: min(calc(100% - 48px), 1360px); min-height: 56px; margin: 0 auto; display: flex; gap: 15px; align-items: center; }
.search-label { color: var(--yellow); font-weight: 900; font-size: 13px; white-space: nowrap; }
.search-field { width: min(530px, 100%); position: relative; display: flex; align-items: center; }
.search-field input { width: 100%; border: 1px solid rgba(255,255,255,.23); color: #fff; background: rgba(255,255,255,.1); border-radius: 99px; padding: 9px 116px 9px 18px; outline: none; font-size: 13px; transition: .2s; }
.search-field input::placeholder { color: rgba(255,255,255,.58); }
.search-field input:focus { border-color: var(--cyan); background: rgba(255,255,255,.16); }
.search-field button { position: absolute; right: 4px; top: 4px; bottom: 4px; border: 0; padding: 0 14px; color: var(--ink); background: var(--yellow); border-radius: 99px; font-weight: 800; font-size: 12px; }
.search-result { margin: 0 0 0 auto; color: rgba(255,255,255,.72); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hero { position: relative; background: var(--ink); color: #fff; min-height: 670px; display: grid; align-items: center; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(12,23,48,.97) 0%, rgba(12,23,48,.76) 48%, rgba(12,23,48,.22) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .48; background-image: radial-gradient(rgba(255,255,255,.21) 1px, transparent 1px); background-size: 5px 5px; mix-blend-mode: soft-light; pointer-events: none; }
.hero-media { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: 67% center; }
.hero-inner { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 90px 0 105px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 17px; color: var(--yellow); font-size: 12px; letter-spacing: .15em; font-weight: 900; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
h1, h2, h3, h4, h5, h6 { line-height: 1.14; }
.hero h1 { max-width: 760px; margin: 0; font-family: var(--serif); font-size: clamp(52px, 7vw, 102px); letter-spacing: -.07em; line-height: .98; }
.hero h1 em { color: var(--peach); font-style: normal; }
.hero h1 strong { color: var(--coral); font-weight: 400; }
.hero-lede { max-width: 580px; margin: 24px 0 28px; color: rgba(255,255,255,.82); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 21px; border: 1px solid transparent; border-radius: 99px; font-weight: 900; font-size: 14px; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-3px); }
.btn--coral { color: #fff; background: var(--coral); box-shadow: 0 10px 0 rgba(228,67,80,.32); }
.btn--light { color: var(--ink); background: var(--paper); box-shadow: 0 10px 0 rgba(255,255,255,.14); }
.btn--line { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn--small { min-height: 38px; padding: 0 15px; font-size: 12px; }
.hero-stamp { position: absolute; right: max(5vw, 24px); bottom: 42px; width: 158px; aspect-ratio: 1; display: grid; place-content: center; text-align: center; border: 1px solid rgba(255,255,255,.56); border-radius: 50%; transform: rotate(10deg); backdrop-filter: blur(5px); }
.hero-stamp b { font-family: var(--serif); font-size: 23px; color: var(--yellow); }
.hero-stamp small { width: 108px; margin: 5px auto 0; font-size: 10px; line-height: 1.4; }

.ticker { background: var(--coral); color: #fff; overflow: hidden; border-block: 1px solid rgba(255,255,255,.26); }
.ticker-track { display: flex; gap: 42px; width: max-content; padding: 11px 0; animation: crawl 30s linear infinite; font-family: var(--serif); font-weight: 800; white-space: nowrap; }
.ticker-track span::before { content: "✦"; margin-right: 14px; color: var(--yellow); }
@keyframes crawl { to { transform: translateX(-38%); } }

.stat-band { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; border: 1px solid var(--line); border-top: 0; background: var(--paper); }
.stat-band > div { min-height: 126px; padding: 26px clamp(18px, 3vw, 40px); border-right: 1px solid var(--line); }
.stat-band > div:last-child { border-right: 0; }
.stat-band strong { display: block; font-family: var(--serif); font-size: clamp(26px, 3vw, 45px); line-height: 1; color: var(--coral); }
.stat-band span { display: block; margin-top: 9px; color: var(--muted); font-size: 13px; font-weight: 800; }
.stat-band .stat-intro { background: var(--ink); color: #fff; }
.stat-band .stat-intro strong { font-size: 19px; color: var(--yellow); }
.stat-band .stat-intro span { color: rgba(255,255,255,.67); }

.section { padding: 108px 0; }
.section--paper { background: var(--paper); }
.section--ink { position: relative; color: #fff; background: var(--ink); }
.section--peach { background: var(--peach); }
.section--tight { padding: 72px 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 42px; align-items: end; margin-bottom: 42px; }
.section-heading .kicker { margin: 0 0 13px; color: var(--coral); font-size: 12px; letter-spacing: .15em; font-weight: 900; }
.section-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(34px, 4.4vw, 64px); letter-spacing: -.06em; }
.section-heading p { max-width: 580px; margin: 0 0 6px; color: var(--muted); font-size: 15px; }
.section--ink .section-heading p { color: rgba(255,255,255,.72); }
.section--ink .section-heading .kicker { color: var(--yellow); }
.underlined { text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: .12em; text-underline-offset: .08em; }

.feature-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; }
.feature-large { min-height: 530px; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink); color: #fff; }
.feature-large img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform .6s ease; }
.feature-large:hover img { transform: scale(1.05); }
.feature-large::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,20,41,.93), transparent 67%); }
.feature-large .feature-copy { position: absolute; z-index: 1; inset: auto 32px 30px; }
.feature-copy .card-meta { color: var(--yellow); }
.feature-copy h3 { max-width: 600px; margin: 8px 0 8px; font-family: var(--serif); font-size: clamp(29px, 3.4vw, 48px); letter-spacing: -.05em; }
.feature-copy p { max-width: 550px; margin: 0; color: rgba(255,255,255,.82); font-size: 14px; }
.feature-side { display: grid; gap: 28px; }
.story-card { display: grid; grid-template-columns: 165px 1fr; min-height: 251px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s, box-shadow .25s; }
.story-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.story-card img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
.story-card > div { padding: 23px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--coral); font-size: 11px; letter-spacing: .09em; font-weight: 900; }
.story-card h3 { margin: 10px 0 9px; font-size: 22px; letter-spacing: -.04em; }
.story-card p { margin: 0; color: var(--muted); font-size: 13px; }
.card-stats { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 17px; color: #52617d; font-size: 12px; font-weight: 800; }
.card-stats span::before { margin-right: 4px; color: var(--coral); }
.card-stats span:nth-child(1)::before { content: "◉"; }
.card-stats span:nth-child(2)::before { content: "♥"; }
.card-stats span:nth-child(3)::before { content: "◌"; }

.video-rail { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.video-card { display: flex; flex-direction: column; overflow: hidden; min-width: 0; background: transparent; border: 0; text-align: left; color: inherit; }
.video-thumb { position: relative; min-height: 225px; overflow: hidden; border-radius: 19px; background: #263353; }
.video-thumb img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .45s ease, filter .45s ease; }
.video-card:hover img, .video-card.is-playing img { transform: scale(1.08); filter: brightness(.75); }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(6,14,31,.72)); }
.play-button { width: 59px; height: 59px; position: absolute; z-index: 1; inset: 50% auto auto 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; color: #fff; background: rgba(16,32,61,.42); transform: translate(-50%,-50%) scale(.8); opacity: 0; transition: .25s; }
.play-button::before { content: "▶"; margin-left: 4px; }
.video-card:hover .play-button, .video-card:focus-visible .play-button, .video-card.is-playing .play-button { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.video-card.is-playing .play-button::before { content: "Ⅱ"; margin-left: 0; font-size: 20px; }
.video-duration { position: absolute; z-index: 2; bottom: 11px; right: 11px; padding: 3px 7px; border-radius: 5px; color: #fff; background: rgba(16,32,61,.8); font-size: 11px; font-weight: 800; }
.video-card h3 { margin: 14px 0 5px; font-size: 18px; line-height: 1.3; }
.video-card p { margin: 0; color: var(--muted); font-size: 12px; }
.video-card .card-stats { margin-top: 9px; }

.split-panel { display: grid; grid-template-columns: .9fr 1.1fr; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.split-panel > img { width: 100%; height: 100%; min-height: 495px; object-fit: cover; }
.split-copy { padding: clamp(32px, 6vw, 80px); }
.split-copy h3 { max-width: 620px; margin: 0 0 18px; font-family: var(--serif); font-size: clamp(34px, 4vw, 56px); letter-spacing: -.06em; }
.split-copy > p { max-width: 580px; color: rgba(255,255,255,.73); }
.check-list { display: grid; gap: 15px; margin: 29px 0 32px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 27px; color: rgba(255,255,255,.88); font-size: 14px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--yellow); font-weight: 900; }

.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tool-card { padding: 28px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); transition: .25s; }
.tool-card:hover { color: #fff; background: var(--ink); border-color: var(--ink); transform: translateY(-6px); }
.tool-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 50%; color: #fff; background: var(--coral); font-family: var(--serif); font-size: 19px; }
.tool-card:nth-child(2) .tool-icon { background: var(--cyan); color: var(--ink); }
.tool-card:nth-child(3) .tool-icon { background: var(--yellow); color: var(--ink); }
.tool-card:nth-child(4) .tool-icon { background: var(--ink); }
.tool-card:hover:nth-child(4) .tool-icon { background: var(--coral); }
.tool-card h3 { margin: 0 0 9px; font-size: 19px; }
.tool-card p { margin: 0; color: var(--muted); font-size: 13px; }
.tool-card:hover p { color: rgba(255,255,255,.7); }
.tool-card a { display: inline-block; margin-top: 18px; color: var(--coral); font-size: 12px; font-weight: 900; }
.tool-card:hover a { color: var(--yellow); }

.community-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.community-showcase { position: relative; min-height: 560px; }
.community-showcase .photo-back { position: absolute; inset: 15% 0 auto 7%; width: 72%; height: 70%; background: var(--cyan); transform: rotate(-6deg); border-radius: 19px; }
.community-showcase img { position: absolute; z-index: 2; top: 0; right: 0; width: 84%; height: 86%; object-fit: cover; border-radius: 19px; box-shadow: 18px 18px 0 var(--coral); }
.community-showcase .floating-note { position: absolute; z-index: 3; left: 0; bottom: 0; width: min(305px, 75%); padding: 22px; color: var(--ink); background: var(--yellow); border-radius: 14px; box-shadow: var(--shadow); transform: rotate(2deg); }
.floating-note b { display: block; margin-bottom: 5px; font-size: 15px; }
.floating-note p { margin: 0; font-size: 12px; }
.community-copy h2 { margin: 0 0 22px; font-family: var(--serif); font-size: clamp(36px, 4vw, 60px); letter-spacing: -.06em; }
.community-copy > p { color: var(--muted); }
.community-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }
.community-pills span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; font-size: 12px; font-weight: 800; background: #fff; }
.community-pills span:nth-child(2n) { border-color: var(--coral); color: var(--coral); }
.boundary-note { padding: 18px 20px; border-left: 4px solid var(--coral); color: #55637d; background: rgba(255,94,98,.09); font-size: 13px; }

.expert-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 26px; }
.expert-hero { position: relative; min-height: 510px; overflow: hidden; border-radius: var(--radius); background: #293b66; }
.expert-hero > img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.expert-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,27,54,.91), transparent 67%); }
.expert-intro { position: absolute; z-index: 2; inset: auto 32px 29px; }
.expert-intro .badge { display: inline-block; padding: 6px 10px; color: var(--ink); background: var(--yellow); border-radius: 99px; font-size: 11px; font-weight: 900; }
.expert-intro h3 { margin: 10px 0 6px; font-family: var(--serif); font-size: 37px; }
.expert-intro p { max-width: 550px; margin: 0; color: rgba(255,255,255,.82); font-size: 13px; }
.expert-side { display: grid; gap: 15px; }
.expert-mini { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 14px; padding: 17px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(255,255,255,.07); }
.expert-mini .initial { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--yellow); font-family: var(--serif); font-size: 18px; }
.expert-mini h4 { margin: 0 0 3px; font-size: 15px; }
.expert-mini p { margin: 0; color: rgba(255,255,255,.68); font-size: 11px; }
.expert-mini a { color: var(--yellow); font-size: 12px; font-weight: 800; }

.brand-wall { display: grid; grid-template-columns: 1fr 1fr .8fr .8fr 1fr; gap: 0; border: 1px solid var(--line); background: var(--paper); }
.brand-wall div { min-height: 115px; display: grid; place-items: center; padding: 20px; border-right: 1px solid var(--line); font-family: var(--serif); font-size: 19px; font-weight: 800; text-align: center; color: #53617a; }
.brand-wall div:last-child { border-right: 0; }
.brand-wall div:nth-child(2n) { color: var(--coral); background: #fff7f2; }
.brand-wall small { display: block; margin-top: 4px; font-family: var(--sans); color: var(--muted); font-size: 9px; letter-spacing: .12em; }

.howto-list { counter-reset: howto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.howto-step { position: relative; min-height: 246px; padding: 29px; overflow: hidden; border-radius: 20px; background: #fff; }
.howto-step::before { counter-increment: howto; content: "0" counter(howto); position: absolute; right: 18px; top: 3px; color: rgba(255,94,98,.12); font-family: var(--serif); font-size: 96px; font-weight: 900; line-height: 1; }
.howto-step .step-mark { position: relative; z-index: 1; width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 46px; color: #fff; background: var(--coral); border-radius: 50%; font-weight: 900; }
.howto-step:nth-child(2) .step-mark { background: var(--cyan); color: var(--ink); }
.howto-step:nth-child(3) .step-mark { background: var(--ink); }
.howto-step h3 { position: relative; z-index: 1; margin: 0 0 9px; font-size: 19px; }
.howto-step p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: 13px; }

.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 58px; }
.faq-intro h2 { margin: 0 0 18px; font-family: var(--serif); font-size: clamp(37px, 4vw, 56px); letter-spacing: -.06em; }
.faq-intro p { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 21px 0; color: var(--ink); border: 0; background: transparent; text-align: left; font-weight: 900; }
.faq-question i { flex: 0 0 auto; width: 26px; height: 26px; position: relative; border: 1px solid var(--line); border-radius: 50%; font-style: normal; }
.faq-question i::before, .faq-question i::after { content: ""; position: absolute; left: 7px; right: 7px; top: 12px; height: 2px; background: var(--coral); transition: .2s; }
.faq-question i::after { transform: rotate(90deg); }
.faq-item.is-open .faq-question i::after { transform: rotate(0); }
.faq-answer { max-height: 0; overflow: hidden; color: var(--muted); transition: max-height .3s ease; }
.faq-answer p { margin: 0; padding: 0 35px 20px 0; font-size: 14px; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 19px; }
.quote-card { min-height: 232px; padding: 27px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.quote-card:nth-child(2) { background: var(--ink); color: #fff; border: 0; }
.quote-card:nth-child(3) { background: var(--yellow); border: 0; }
.quote-mark { color: var(--coral); font-family: var(--serif); font-size: 62px; line-height: .7; }
.quote-card p { margin: 13px 0 20px; font-size: 14px; }
.quote-card:nth-child(2) p { color: rgba(255,255,255,.82); }
.quote-card footer { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; font-style: normal; }
.quote-card:nth-child(2) footer { color: rgba(255,255,255,.63); }
.quote-avatar { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--coral); font-size: 11px; font-weight: 900; }

.contact-layout { display: grid; grid-template-columns: 1fr .9fr; gap: 30px; align-items: stretch; }
.contact-photo { min-height: 420px; overflow: hidden; border-radius: 22px; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-card { padding: clamp(28px, 5vw, 58px); background: var(--ink); color: #fff; border-radius: 22px; }
.contact-card h2 { margin: 0 0 14px; font-family: var(--serif); font-size: clamp(34px, 4vw, 52px); letter-spacing: -.06em; }
.contact-card > p { color: rgba(255,255,255,.71); }
.contact-list { display: grid; gap: 12px; margin: 25px 0 28px; padding: 0; list-style: none; }
.contact-list li { display: flex; justify-content: space-between; gap: 15px; padding-bottom: 11px; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 13px; }
.contact-list b { color: var(--yellow); white-space: nowrap; }
.contact-list span { text-align: right; color: rgba(255,255,255,.86); }

.share-panel { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 30px; color: #fff; background: var(--coral); border-radius: 18px; }
.share-panel h3 { margin: 0; font-size: 21px; }
.share-panel p { margin: 3px 0 0; color: rgba(255,255,255,.8); font-size: 13px; }
.share-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.share-buttons button { min-width: 48px; padding: 9px 11px; color: var(--ink); border: 0; border-radius: 99px; background: #fff; font-size: 11px; font-weight: 900; }
.share-buttons button:hover { background: var(--yellow); }

.page-hero { position: relative; padding: 98px 0 82px; color: #fff; background: var(--ink); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 420px; height: 420px; top: -220px; right: -60px; border: 60px solid var(--coral); border-radius: 50%; opacity: .8; }
.page-hero .breadcrumbs { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; color: rgba(255,255,255,.67); font-size: 12px; }
.breadcrumbs span { color: var(--yellow); }
.page-hero h1 { position: relative; max-width: 780px; margin: 0; font-family: var(--serif); font-size: clamp(45px, 6vw, 86px); letter-spacing: -.07em; }
.page-hero p { position: relative; max-width: 600px; margin: 21px 0 0; color: rgba(255,255,255,.75); }
.page-hero .page-hero-stamp { position: absolute; right: 7%; bottom: 18px; color: var(--yellow); font-size: 12px; letter-spacing: .14em; font-weight: 900; writing-mode: vertical-rl; }

.content-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(260px,.55fr); gap: 45px; }
.prose h2 { margin: 53px 0 16px; font-family: var(--serif); font-size: clamp(29px,3vw,42px); letter-spacing: -.06em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 33px 0 10px; font-size: 22px; }
.prose p { color: #4e5e7a; }
.prose .lead { margin-top: 0; color: var(--ink); font-size: 19px; line-height: 1.8; }
.prose ul { padding-left: 20px; color: #4e5e7a; }
.prose li { margin-bottom: 8px; }
.content-aside { align-self: start; position: sticky; top: 160px; padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.content-aside h2 { margin: 0 0 15px; font-size: 18px; }
.content-aside a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--coral); font-size: 13px; font-weight: 800; }
.content-aside a:last-child { border-bottom: 0; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 15px; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; font-size: 13px; }
th { color: #fff; background: var(--ink); font-size: 12px; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 900; }

.json-panel { position: relative; padding: 23px; overflow: auto; color: #dbeeff; background: #0b1831; border-radius: 16px; font: 12px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; }
.json-panel::before { content: "校花 JSON 数据演示"; display: block; margin-bottom: 12px; color: var(--yellow); font: 800 11px/1 var(--sans); letter-spacing: .12em; }

.site-footer { position: relative; overflow: hidden; padding-top: 65px; color: #fff; background: #0a1730; }
.footer-grain { position: absolute; inset: 0; opacity: .28; background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1px); background-size: 6px 6px; pointer-events: none; }
.footer-main { position: relative; display: grid; grid-template-columns: 1.15fr 1fr .72fr; gap: 53px; padding-bottom: 47px; }
.brand-lockup--footer { color: #fff; }
.footer-brand > p { max-width: 430px; color: rgba(255,255,255,.65); font-size: 13px; }
.footer-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-tags span { padding: 5px 9px; border: 1px solid rgba(255,255,255,.19); border-radius: 99px; color: var(--yellow); font-size: 10px; }
.footer-list h2 { margin: 5px 0 16px; color: var(--yellow); font-size: 17px; }
.footer-list ul { margin: 0; padding: 0; list-style: none; }
.footer-list li { margin-bottom: 9px; color: rgba(255,255,255,.72); font-size: 12px; }
.footer-list b { color: #fff; }
.footer-qr { display: flex; justify-content: flex-end; gap: 15px; }
.footer-qr figure { margin: 0; text-align: center; }
.footer-qr img { width: 92px; padding: 5px; background: #fff; }
.footer-qr figcaption { margin-top: 7px; color: rgba(255,255,255,.7); font-size: 10px; }
.mcp-demo { position: relative; display: flex; align-items: center; gap: 15px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); }
.mcp-dot { flex: 0 0 auto; width: 11px; height: 11px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(21,199,197,.13); }
.mcp-demo div { display: grid; gap: 2px; }
.mcp-demo b { font-size: 13px; }
.mcp-demo small { color: rgba(255,255,255,.59); font-size: 11px; }
.mcp-demo button { margin-left: auto; border: 1px solid rgba(255,255,255,.26); color: var(--yellow); background: transparent; padding: 8px 12px; border-radius: 99px; font-size: 11px; font-weight: 900; }
.footer-bottom { position: relative; display: flex; align-items: center; gap: 17px; padding: 18px 0; color: rgba(255,255,255,.52); font-size: 11px; }
.footer-bottom p { margin: 0; }
.footer-links { display: flex; gap: 12px; margin-left: auto; }
.footer-links a:hover { color: var(--yellow); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 99; max-width: calc(100% - 32px); padding: 11px 15px; color: #fff; background: var(--ink); border-radius: 99px; box-shadow: var(--shadow); font-size: 13px; font-weight: 800; transform: translate(-50%, 120px); opacity: 0; transition: .25s; }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 1050px) {
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 12px; }
  .header-cta { display: none; }
  .video-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { gap: 30px; }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .header-shell, .search-wrap, .hero-inner { width: min(calc(100% - 32px), var(--max)); }
  .header-shell { min-height: 67px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: 67px; display: none; padding: 17px 18px 21px; border-bottom: 1px solid var(--line); background: var(--cream); box-shadow: var(--shadow); }
  .main-nav.is-open { display: grid; grid-template-columns: repeat(2,1fr); }
  .main-nav a { padding: 9px 0; font-size: 13px; }
  .main-nav a::after { display: none; }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .search-wrap { min-height: 70px; flex-wrap: wrap; gap: 5px 10px; padding: 9px 0; }
  .search-label { display: none; }
  .search-field { flex: 1 0 100%; }
  .search-result { width: 100%; margin: 0; }
  .hero { min-height: 610px; }
  .hero::before { background: linear-gradient(90deg, rgba(12,23,48,.94), rgba(12,23,48,.45)); }
  .hero-inner { padding: 72px 0 120px; }
  .hero h1 { letter-spacing: -.08em; }
  .hero-stamp { width: 124px; bottom: 23px; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .stat-band > div:nth-child(2) { border-right: 0; }
  .stat-band > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 76px 0; }
  .section-heading, .feature-grid, .split-panel, .community-layout, .expert-grid, .faq-layout, .contact-layout, .content-grid { grid-template-columns: 1fr; gap: 27px; }
  .section-heading { align-items: start; }
  .story-card { grid-template-columns: 132px 1fr; }
  .story-card img { min-height: 174px; }
  .split-panel > img { min-height: 290px; max-height: 390px; }
  .community-showcase { min-height: 440px; }
  .expert-side { grid-template-columns: repeat(2,1fr); }
  .brand-wall { grid-template-columns: repeat(3,1fr); }
  .brand-wall div:nth-child(3) { border-right: 0; }
  .brand-wall div { border-bottom: 1px solid var(--line); }
  .howto-list, .testimonial-grid { grid-template-columns: 1fr; }
  .content-aside { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-qr { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .brand-copy b { font-size: 21px; }
  .hero { min-height: 590px; }
  .hero h1 { font-size: 51px; }
  .hero-lede { font-size: 15px; }
  .hero-stamp { display: none; }
  .stat-band > div { min-height: 105px; padding: 21px 17px; }
  .stat-band strong { font-size: 30px; }
  .video-rail { grid-template-columns: 1fr; }
  .video-thumb { min-height: 238px; }
  .story-card { grid-template-columns: 1fr; }
  .story-card img { height: 196px; }
  .tools-grid { grid-template-columns: 1fr; }
  .community-showcase { min-height: 370px; }
  .community-showcase .photo-back { top: 17%; left: 2%; }
  .community-showcase img { width: 87%; height: 80%; }
  .expert-side { grid-template-columns: 1fr; }
  .expert-mini { grid-template-columns: 52px 1fr auto; }
  .brand-wall { grid-template-columns: 1fr 1fr; }
  .brand-wall div:nth-child(3) { border-right: 1px solid var(--line); }
  .brand-wall div:nth-child(2n) { border-right: 0; }
  .share-panel { align-items: flex-start; flex-direction: column; padding: 22px; }
  .share-buttons { justify-content: flex-start; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .mcp-demo { align-items: flex-start; flex-wrap: wrap; }
  .mcp-demo button { margin-left: 26px; }
  .footer-bottom { flex-wrap: wrap; }
  .footer-links { margin-left: 0; }
  .page-hero { padding: 68px 0 57px; }
  .page-hero h1 { font-size: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* 校花品牌前缀：保持 H1-H6 的统一识别。 */
.heading-brand {
  display: inline-block;
  margin-right: .34em;
  color: var(--coral);
  font-family: var(--sans);
  font-size: .29em;
  font-weight: 900;
  letter-spacing: .08em;
  vertical-align: .23em;
}
.section--ink .heading-brand { color: var(--yellow); }
.hero .heading-brand, .page-hero .heading-brand { color: var(--yellow); }
