:root {
  --bg-main: #0a0a0a;
  --bg-sub: #121212;
  --bg-panel: #1a1a1a;
  --text-main: #f5f5f5;
  --text-muted: #888888;
  --text-weak: #555555;
  --accent-yellow: #ffcc00;
  --accent-dark: #b38f00;
  --border-color: rgba(255, 255, 255, 0.1);
  --border-yellow: rgba(255, 204, 0, 0.3);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: var(--bg-main); color: var(--text-main); font-family: var(--font-family); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; background-color: var(--bg-panel); }
a { color: inherit; text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--accent-yellow); }
::selection { background-color: var(--accent-yellow); color: #000; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; border-bottom: 1px solid var(--border-color); }
.section:last-child { border-bottom: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip-link { position: absolute; top: -50px; left: 10px; background: var(--accent-yellow); color: #000; padding: 8px 16px; z-index: 1000; transition: top 0.3s; }
.skip-link:focus { top: 10px; }

/* 排版与版块标题 */
.kicker { display: inline-block; color: var(--accent-yellow); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.kicker::before { content: "—"; margin-right: 6px; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.section__head--split { display: flex; }
.section__title { font-size: 32px; font-weight: 800; letter-spacing: -0.5px; position: relative; display: inline-block; padding-bottom: 8px; }
.section__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; background-color: var(--accent-yellow); }
.section__dek { color: var(--text-muted); max-width: 500px; font-size: 15px; }
.pullquote { border-left: 4px solid var(--accent-yellow); padding-left: 20px; font-size: 20px; font-style: italic; margin: 32px 0; color: #fff; }
.tag { display: inline-block; background: var(--accent-yellow); color: #000; font-size: 12px; padding: 2px 8px; border-radius: 4px; font-weight: bold; }
.text-link { color: var(--accent-yellow); font-weight: bold; display: inline-flex; align-items: center; }
.text-link .arrow { transition: transform 0.3s; margin-left: 4px; }
.text-link:hover .arrow { transform: translateX(4px); }

/* 按钮体系 */
.btn { display: inline-flex; justify-content: center; align-items: center; border-radius: 24px; padding: 10px 24px; font-size: 15px; font-weight: bold; transition: all 0.3s; cursor: pointer; border: 1px solid transparent; }
.btn--solid { background: var(--accent-yellow); color: #000; }
.btn--solid:hover { background: #ffdb4d; transform: translateY(-2px); color: #000; }
.btn--outline { background: transparent; border-color: var(--accent-yellow); color: var(--accent-yellow); }
.btn--outline:hover { background: var(--accent-yellow); color: #000; }
.btn--small { padding: 6px 16px; font-size: 13px; }
.btn--block { display: flex; width: 100%; }

/* 头部导航 */
.site-header { position: fixed; top: 0; left: 0; right: 0; background: rgba(10, 10, 10, 0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); z-index: 100; }
.site-header__bar { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo { border-radius: 6px; height: 32px; width: auto; background: transparent; }
.brand__text strong { display: block; font-size: 18px; line-height: 1.1; }
.brand__text small { color: var(--accent-yellow); font-size: 11px; font-weight: 600; }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--text-muted); font-size: 15px; }
.nav a:hover, .nav a.active { color: var(--accent-yellow); }
.nav a.active { position: relative; }
.nav a.active::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px; background: var(--accent-yellow); }
.header__actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; background: transparent; border: none; cursor: pointer; flex-direction: column; gap: 4px; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-main); transition: 0.3s; }
.nav-toggle:hover span { background: var(--accent-yellow); }

/* 播报条 */
.ticker { background: var(--bg-main); border-bottom: 1px solid var(--border-color); height: 36px; display: flex; align-items: center; margin-top: 64px; overflow: hidden; }
.ticker__inner { display: flex; align-items: center; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ticker__label { background: var(--accent-yellow); color: #000; font-size: 12px; font-weight: bold; padding: 2px 8px; border-radius: 2px; margin-right: 16px; white-space: nowrap; }
.ticker__viewport { overflow: hidden; flex: 1; }
.ticker__track { display: flex; white-space: nowrap; animation: ticker 20s linear infinite; color: var(--text-muted); font-size: 13px; }
.ticker__track span { margin-right: 24px; display: flex; align-items: center; }
.ticker__track span::before { content: "•"; color: var(--accent-yellow); margin-right: 8px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* 抽屉导航 */
.drawer { position: fixed; top: 0; right: -100%; width: 100%; max-width: 320px; height: 100vh; background: var(--bg-sub); z-index: 200; box-shadow: -5px 0 20px rgba(0,0,0,0.8); transition: right 0.3s; display: flex; flex-direction: column; }
.drawer.open { right: 0; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--border-color); }
.drawer__top span { color: var(--accent-yellow); font-size: 13px; font-weight: bold; }
.drawer__close { background: transparent; border: none; color: var(--text-main); font-size: 16px; cursor: pointer; }
.drawer__close:hover { color: var(--accent-yellow); }
.drawer__nav { list-style: none; padding: 0; flex: 1; overflow-y: auto; }
.drawer__nav li { border-bottom: 1px solid var(--border-color); }
.drawer__nav a { display: flex; justify-content: space-between; padding: 16px 20px; color: var(--text-main); }
.drawer__nav a:hover { background: rgba(255, 204, 0, 0.05); color: var(--accent-yellow); }
.drawer__nav small { color: var(--accent-yellow); font-size: 12px; }
.drawer__foot { padding: 20px; border-top: 1px solid var(--border-color); }
.drawer__foot p { color: var(--text-muted); font-size: 12px; margin-top: 12px; text-align: center; }

/* 首屏报头 */
.frontpage { padding: 64px 0; }
.masthead { margin-bottom: 48px; }
.masthead__meta { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: 13px; margin-bottom: 16px; }
.masthead__meta span::after { content: "■"; color: var(--accent-yellow); font-size: 10px; margin-left: 12px; }
.masthead__meta span:last-child::after { display: none; }
.masthead__title { font-size: 64px; font-weight: 900; letter-spacing: -1px; line-height: 1.1; margin-bottom: 16px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.masthead__slogan { color: var(--accent-yellow); font-size: 24px; font-weight: 600; margin-bottom: 24px; }
.masthead__foot { display: flex; justify-content: space-between; align-items: flex-end; border-top: 2px solid var(--border-yellow); padding-top: 24px; }
.masthead__desc { color: var(--text-muted); max-width: 600px; font-size: 15px; }
.masthead__issue { text-align: right; }
.masthead__issue strong { display: block; font-size: 40px; color: var(--accent-yellow); line-height: 1; font-weight: 800; }
.masthead__issue small { color: var(--text-muted); font-size: 12px; }

.frontpage__grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 32px; }
.cover-frame { aspect-ratio: 3 / 4; border-radius: 12px; border: 1px solid var(--border-color); overflow: hidden; position: relative; }
.cover-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.cover-frame:hover img { transform: scale(1.05); }
.lead__cover { position: relative; }
.stamp { position: absolute; top: 12px; left: 12px; background: var(--accent-yellow); color: #000; font-size: 12px; font-weight: bold; padding: 4px 8px; border-radius: 4px; z-index: 2; }
.lead__caption { margin-top: 16px; }
.lead__caption h2 { font-size: 24px; margin-bottom: 8px; }
.lead__caption p { color: var(--text-muted); font-size: 14px; }
.dispatch { display: flex; flex-direction: column; justify-content: center; }
.dispatch__lead { font-size: 18px; font-weight: bold; margin-bottom: 16px; line-height: 1.5; }
.dispatch p { color: var(--text-muted); margin-bottom: 16px; font-size: 15px; }
.dispatch__actions { display: flex; gap: 12px; margin-bottom: 16px; }
.dispatch__note { font-size: 13px; color: var(--text-muted); border-left: 2px solid var(--accent-yellow); padding-left: 12px; }
.side-covers { display: flex; flex-direction: column; gap: 24px; }
.side-card { position: relative; display: flex; gap: 16px; align-items: center; border-bottom: 1px solid var(--border-color); padding-bottom: 24px; }
.side-card:last-child { border-bottom: none; padding-bottom: 0; }
.side-card__img { width: 80px; flex-shrink: 0; aspect-ratio: 3/4; border-radius: 8px; overflow: hidden; }
.side-card__img img { width: 100%; height: 100%; object-fit: cover; }
.side-card__info h3 { font-size: 16px; margin-bottom: 4px; }
.side-card__tag { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.side-card__rank { position: absolute; top: 0; left: 0; background: var(--accent-yellow); color: #000; font-size: 12px; font-weight: bold; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 8px 0 8px 0; z-index: 2; }

/* 封面故事 */
.cover-story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.cover-story__figure figcaption { font-size: 13px; color: var(--text-muted); margin-top: 12px; display: flex; align-items: center; }
.cover-story__figure figcaption::before { content: "—"; color: var(--accent-yellow); margin-right: 8px; }
.cover-story__text { display: flex; flex-direction: column; justify-content: center; }
.cover-story__lead { font-size: 20px; font-weight: bold; margin-bottom: 16px; line-height: 1.5; }
.cover-story__text p { color: var(--text-muted); margin-bottom: 16px; font-size: 15px; }

/* 片单 */
.lineup__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; }
.lineup__lead { position: relative; }
.rank-badge { position: absolute; top: 12px; left: 12px; background: var(--accent-yellow); color: #000; font-size: 24px; font-weight: 900; padding: 4px 12px; border-radius: 8px; z-index: 2; }
.lineup__lead-body { margin-top: 16px; }
.lineup__lead-body h3 { font-size: 24px; margin-bottom: 8px; }
.lineup__lead-body p { color: var(--text-muted); font-size: 14px; margin-bottom: 12px; }
.lineup__meta { display: flex; gap: 8px; }
.lineup__meta span { color: var(--accent-yellow); font-size: 12px; font-weight: bold; }
.lineup__list { list-style: none; padding: 0; }
.lineup__item { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border-color); transition: background 0.3s; }
.lineup__item:hover { background: rgba(255,255,255,0.02); }
.lineup__item:hover h3 { color: var(--accent-yellow); }
.lineup__rank { font-size: 24px; font-weight: 900; color: var(--accent-yellow); width: 40px; text-align: center; }
.lineup__thumb { width: 60px; height: 80px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.lineup__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lineup__info { flex: 1; }
.lineup__info h3 { font-size: 18px; margin-bottom: 4px; transition: color 0.3s; }
.lineup__info p { color: var(--text-muted); font-size: 13px; }
.section__cta { text-align: center; margin-top: 40px; }

/* 题材 */
.genre-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.genre-card { background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: 16px; padding: 16px; transition: all 0.3s; }
.genre-card:hover { border-color: var(--accent-yellow); transform: translateY(-4px); }
.genre-card:hover img { transform: scale(1.05); }
.genre-card .cover-frame { margin-bottom: 16px; }
.genre-card h3 { font-size: 18px; margin-bottom: 8px; }
.genre-card p { color: var(--text-muted); font-size: 13px; }
.genre-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.genre-chips span { background: var(--bg-main); border: 1px solid var(--border-yellow); color: var(--accent-yellow); padding: 6px 16px; border-radius: 4px; font-size: 14px; cursor: pointer; transition: all 0.3s; }
.genre-chips span:hover { background: var(--accent-yellow); color: #000; }

/* 选片标准 */
.standards__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.standard { position: relative; padding-top: 24px; border-top: 1px solid var(--border-color); }
.standard::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--accent-yellow); }
.standard__num { font-size: 48px; font-weight: 900; color: var(--accent-yellow); line-height: 1; margin-bottom: 16px; opacity: 0.8; }
.standard h3 { font-size: 20px; margin-bottom: 12px; }
.standard p { color: var(--text-muted); font-size: 15px; }

/* 改剧实验室 */
.lab__grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; margin-bottom: 24px; }
.lab__panel { background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: 16px; padding: 24px; height: 100%; }
.lab__panel--after { border-left: 4px solid var(--accent-yellow); background: rgba(255, 204, 0, 0.05); }
.lab__label { display: inline-block; background: var(--accent-yellow); color: #000; font-size: 12px; font-weight: bold; padding: 4px 8px; border-radius: 4px; margin-bottom: 16px; }
.lab__line { font-size: 18px; font-weight: bold; margin-bottom: 16px; line-height: 1.5; }
.lab__panel p { color: var(--text-muted); font-size: 14px; }
.lab__switch { font-size: 32px; color: var(--accent-yellow); text-align: center; }
.lab__note { font-size: 13px; color: var(--text-muted); border-left: 2px solid var(--accent-yellow); padding-left: 12px; margin-top: 24px; }

/* 编辑手记 */
.editor__inner { max-width: 800px; margin: 0 auto; }
.editor__quote { font-size: 24px; font-style: italic; border-left: 4px solid var(--accent-yellow); padding-left: 24px; margin-bottom: 24px; line-height: 1.4; }
.editor__by { text-align: right; color: var(--text-muted); font-size: 14px; margin-bottom: 32px; }
.editor__body p { color: var(--text-muted); margin-bottom: 16px; font-size: 16px; }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.faq__intro h2 { margin-bottom: 16px; }
.faq__intro p { color: var(--text-muted); font-size: 15px; }
.faq__list details { background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: 12px; margin-bottom: 16px; overflow: hidden; transition: border-color 0.3s; }
.faq__list details:hover { border-color: var(--border-yellow); }
.faq__list summary { padding: 20px; font-weight: bold; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; color: var(--accent-yellow); font-size: 20px; font-weight: bold; transition: transform 0.3s; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 20px 20px 20px; color: var(--text-muted); font-size: 15px; border-top: 1px solid var(--border-color); padding-top: 16px; margin-top: 8px; }

/* 下载区 */
.download__inner { background: var(--bg-sub); border: 1px solid var(--border-yellow); box-shadow: 0 0 40px rgba(255, 204, 0, 0.05); border-radius: 24px; padding: 48px; }
.download__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.download__copy h2 { margin-bottom: 16px; }
.download__copy p { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; }
.download__ticket { display: inline-block; background: var(--accent-yellow); color: #000; font-size: 12px; font-weight: bold; padding: 6px 12px; border-radius: 4px; border-left: 2px dashed #000; }
.download__actions { display: flex; flex-direction: column; gap: 16px; }
.dl-btn { display: flex; flex-direction: column; background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: 16px; padding: 20px; transition: all 0.3s; }
.dl-btn:hover { border-color: var(--accent-yellow); }
.dl-btn:hover strong, .dl-btn:hover span { color: var(--accent-yellow); }
.dl-btn strong { font-size: 18px; color: var(--text-main); margin-bottom: 4px; transition: color 0.3s; }
.dl-btn span { font-size: 13px; color: var(--text-muted); transition: color 0.3s; }
.download__meta { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 16px; }

/* 页脚 */
.site-footer { background: var(--bg-sub); border-top: 1px solid var(--border-color); padding: 64px 0 24px; font-size: 14px; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer__col h3 { color: var(--accent-yellow); font-size: 14px; margin-bottom: 16px; }
.footer__col a { display: block; color: var(--text-muted); margin-bottom: 8px; }
.footer__col a:hover { color: var(--accent-yellow); }
.footer__bottom { display: flex; justify-content: space-between; color: var(--text-muted); font-size: 12px; border-top: 1px solid var(--border-color); padding-top: 24px; flex-wrap: wrap; gap: 12px; }

/* 固定元素 */
.mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: rgba(10,10,10,0.9); backdrop-filter: blur(10px); border-top: 1px solid var(--border-color); padding: 12px 24px; gap: 12px; z-index: 90; }
.mobile-cta .btn { flex: 1; }
.to-top { position: fixed; bottom: 80px; right: 24px; width: 48px; height: 48px; background: var(--bg-main); border: 1px solid var(--accent-yellow); color: var(--accent-yellow); border-radius: 50%; display: flex; justify-content: center; align-items: center; cursor: pointer; opacity: 0; pointer-events: none; transition: all 0.3s; z-index: 80; font-size: 20px; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--accent-yellow); color: #000; }

/* 响应式 */
@media (max-width: 1024px) {
  .frontpage__grid { grid-template-columns: 1fr 1fr; }
  .side-covers { flex-direction: row; grid-column: span 2; }
  .side-card { flex: 1; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .masthead__title { font-size: 48px; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .frontpage__grid, .cover-story__grid, .lineup__grid, .faq__grid, .download__grid { grid-template-columns: 1fr; }
  .side-covers { flex-direction: column; grid-column: span 1; }
  .footer__top { grid-template-columns: 1fr; }
  .mobile-cta { display: flex; }
  .download__inner { padding: 32px; }
  .genre-grid, .standards__grid { grid-template-columns: 1fr 1fr; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .masthead__title { font-size: 36px; }
  .masthead__foot { flex-direction: column; align-items: flex-start; gap: 24px; }
  .masthead__issue { text-align: left; }
  .lineup__thumb { display: none; }
  .genre-grid, .standards__grid, .lab__grid { grid-template-columns: 1fr; }
  .lab__switch { transform: rotate(90deg); }
  .btn { width: 100%; }
  .dispatch__actions { flex-direction: column; }
  .footer__bottom { flex-direction: column; }
  .to-top { bottom: 90px; }
}