/* =========================================================
   娱乐六点半官网 · Editorial Design System
   ========================================================= */

:root {
  --ink: #171513;
  --ink-soft: #2b2723;
  --paper: #f7f4ed;
  --paper-2: #efe9dc;
  --paper-3: #e6dfd0;
  --red: #c8301f;
  --red-dark: #9c2417;
  --gold: #c99a3f;
  --muted: #6f675c;
  --line: rgba(23, 21, 19, 0.16);
  --line-strong: rgba(23, 21, 19, 0.32);
  --white: #fffdf8;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 18px 50px rgba(23, 21, 19, 0.12);
  --radius: 2px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--red); color: white; }

.container { width: min(1240px, calc(100% - 56px)); margin-inline: auto; }
.narrow { width: min(900px, calc(100% - 56px)); margin-inline: auto; }
.section { padding: 104px 0; }
.section-sm { padding: 64px 0; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.serif { font-family: var(--serif); }
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.eyebrow.dark { color: var(--ink); }

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 46px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-strong);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
}
.section-desc { color: var(--muted); max-width: 560px; margin: 18px 0 0; }
.text-link {
  font-weight: 700;
  font-size: 14px;
  border-bottom: 2px solid var(--red);
  padding-bottom: 4px;
  white-space: nowrap;
  transition: color .2s, gap .2s;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.text-link:hover { color: var(--red); gap: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(200, 48, 31, .22); }
.btn-primary:hover { background: var(--red-dark); color: #fff; box-shadow: 0 14px 30px rgba(200, 48, 31, .3); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--red); color: #fff; }
.btn-outline { border-color: var(--line-strong); background: transparent; color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--gold); color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn .arrow { font-family: var(--sans); transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.utility {
  background: var(--ink);
  color: rgba(255, 253, 248, .7);
  font-size: 12px;
  letter-spacing: .06em;
}
.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  gap: 16px;
}
.utility a { transition: color .2s; }
.utility a:hover, .utility .live { color: var(--gold); }
.utility .live { display: inline-flex; align-items: center; gap: 8px; color: var(--white); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(200,48,31,.18); animation: pulse 2.2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(200,48,31,0); } }
.utility-links { display: flex; gap: 22px; }

.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 244, 237, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.masthead.is-stuck { box-shadow: 0 10px 30px rgba(23,21,19,.08); }
.masthead-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 84px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: grid; place-items: center;
  font-family: Georgia, serif; font-size: 15px; font-weight: 700;
  letter-spacing: -.06em; line-height: 1;
  border: 3px solid var(--ink); flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 24px; letter-spacing: -.02em; }
.brand-en { font-size: 9px; letter-spacing: .28em; color: var(--muted); margin-top: 5px; }

.nav { display: flex; justify-content: center; gap: clamp(14px, 2.2vw, 34px); }
.nav a {
  font-size: 15px; font-weight: 600; padding: 8px 0; position: relative; white-space: nowrap;
  transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--red); transition: width .25s;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); background: transparent; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-btn span { width: 19px; height: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; }

/* ---------- Ticker ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--paper-2); overflow: hidden; }
.ticker-inner { display: flex; align-items: center; min-height: 46px; }
.ticker-label { background: var(--red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .18em; padding: 6px 14px; flex: none; margin-right: 22px; }
.ticker-viewport { overflow: hidden; flex: 1; }
.ticker-track { display: flex; gap: 44px; white-space: nowrap; width: max-content; animation: ticker 32s linear infinite; }
.ticker-track a { font-size: 13px; color: var(--ink-soft); }
.ticker-track a:hover { color: var(--red); }
.ticker-track .dot { color: var(--red); margin-right: 12px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 92px; position: relative; overflow: hidden; }
.hero::before {
  content: "6:30"; position: absolute; right: -3%; top: -12%; font-family: Georgia, serif;
  font-size: clamp(180px, 30vw, 460px); color: rgba(23,21,19,.035); line-height: 1; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 78px); align-items: center; position: relative; }
.hero-kicker { display: flex; align-items: center; gap: 16px; font-size: 12px; letter-spacing: .2em; font-weight: 700; color: var(--muted); }
.hero-kicker .line { width: 46px; height: 1px; background: var(--ink); }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 104px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 700;
  margin: 24px 0 26px;
}
.hero-title em { font-style: normal; color: var(--red); position: relative; white-space: nowrap; }
.hero-title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: .12em; background: rgba(200,48,31,.18); }
.hero-desc { font-size: 17px; color: var(--muted); max-width: 520px; margin: 0 0 34px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: flex; gap: 36px; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); }
.stat strong { font-family: Georgia, var(--serif); font-size: 34px; line-height: 1; display: block; }
.stat span { font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.hero-figure { position: relative; }
.hero-figure img { width: 100%; box-shadow: var(--shadow); }
.hero-figure::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--ink); z-index: -1; }
.float-card {
  position: absolute; background: var(--white); border: 1px solid var(--ink); padding: 12px 16px;
  box-shadow: 6px 6px 0 var(--ink); font-size: 13px; font-weight: 700;
}
.float-card.one { left: -30px; top: 12%; }
.float-card.two { right: -22px; bottom: 12%; background: var(--red); color: #fff; border-color: var(--ink); }
.float-card small { display: block; font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: .1em; margin-bottom: 3px; }
.float-card.two small { color: rgba(255,255,255,.75); }

/* ---------- Editorial split ---------- */
.editorial { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: clamp(24px, 3.5vw, 56px); align-items: start; }
.editorial-col p { color: var(--ink-soft); margin: 0 0 22px; font-size: 15.5px; }
.editorial-col p:first-of-type::first-letter {
  font-family: var(--serif); font-size: 62px; float: left; line-height: .82; padding: 6px 10px 0 0; color: var(--red); font-weight: 700;
}
.editorial-col h3 { font-family: var(--serif); font-size: 25px; line-height: 1.35; margin: 0 0 18px; }
.editorial-figure { position: relative; }
.editorial-figure img { width: 100%; }
.editorial-figure figcaption { font-size: 11px; color: var(--muted); letter-spacing: .08em; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pull-quote {
  font-family: var(--serif); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.45;
  border-left: 3px solid var(--red); padding-left: 22px; margin: 30px 0; color: var(--ink);
}
.mini-meta { font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; margin-bottom: 14px; }

/* ---------- Topic list ---------- */
.topic-list { border-top: 2px solid var(--ink); }
.topic-item {
  display: grid; grid-template-columns: 76px 1fr 170px auto; gap: 22px; align-items: center;
  padding: 24px 8px; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s;
}
.topic-item:hover { background: var(--white); padding-left: 18px; padding-right: 18px; }
.topic-item:target { background: var(--white); box-shadow: inset 4px 0 0 var(--red); padding-left: 18px; }
.topic-rank { font-family: Georgia, serif; font-size: 40px; line-height: 1; color: var(--paper-3); -webkit-text-stroke: 1px var(--ink); }
.topic-item:nth-child(-n+3) .topic-rank { color: var(--red); -webkit-text-stroke: 0; }
.topic-main h3 { font-family: var(--serif); font-size: clamp(19px, 2vw, 25px); margin: 0 0 8px; font-weight: 700; line-height: 1.4; }
.topic-main p { margin: 0; color: var(--muted); font-size: 13.5px; }
.topic-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tag { font-size: 11px; padding: 3px 9px; border: 1px solid var(--line-strong); color: var(--muted); letter-spacing: .06em; }
.tag.red { background: var(--red); border-color: var(--red); color: #fff; }
.heat { text-align: right; }
.heat-num { font-family: Georgia, serif; font-size: 18px; font-weight: 700; }
.heat-bar { height: 3px; background: var(--paper-3); margin-top: 8px; }
.heat-bar i { display: block; height: 100%; background: var(--red); }
.topic-go { font-size: 22px; color: var(--muted); transition: transform .2s, color .2s; }
.topic-item:hover .topic-go { transform: translateX(6px); color: var(--red); }

/* ---------- Video cards ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.video-card { border: 1px solid var(--line); background: var(--white); transition: transform .25s, box-shadow .25s; overflow: hidden; }
.video-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.video-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); border: 0; width: 100%; padding: 0; display: block; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.video-card:hover .video-thumb img { transform: scale(1.05); }
.play-badge {
  position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%;
  background: rgba(255,253,248,.94); display: grid; place-items: center; border: 0;
  box-shadow: 0 8px 22px rgba(0,0,0,.25); transition: background .2s, transform .2s;
}
.video-thumb:hover .play-badge { background: var(--red); transform: scale(1.08); }
.play-badge::after { content: ""; width: 0; height: 0; border-left: 15px solid var(--ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 5px; }
.video-thumb:hover .play-badge::after { border-left-color: #fff; }
.video-duration { position: absolute; right: 10px; bottom: 10px; background: rgba(23,21,19,.85); color: #fff; font-size: 11px; padding: 2px 7px; }
.video-info { padding: 18px 20px 22px; }
.video-info h3 { font-family: var(--serif); font-size: 19px; line-height: 1.45; margin: 0 0 8px; }
.video-info p { font-size: 12.5px; color: var(--muted); margin: 0; display: flex; justify-content: space-between; gap: 10px; }

/* ---------- Features / steps ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { background: var(--paper); padding: 34px 26px; }
.feature .num { font-family: Georgia, serif; font-size: 13px; color: var(--red); letter-spacing: .1em; }
.feature h3 { font-family: var(--serif); font-size: 22px; margin: 20px 0 12px; }
.feature p { font-size: 14px; color: var(--muted); margin: 0; }
.feature svg { width: 34px; height: 34px; stroke: var(--red); fill: none; stroke-width: 1.5; margin-top: 18px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: step; }
.step { position: relative; padding-top: 28px; border-top: 2px solid var(--ink); }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: -17px; right: 0; background: var(--paper); padding-left: 10px; font-family: Georgia, serif; color: var(--red); font-size: 15px; }
.step h3 { font-family: var(--serif); font-size: 24px; margin: 0 0 10px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- Timeline ---------- */
.timeline { border-left: 2px solid var(--ink); padding-left: 34px; margin-left: 8px; }
.timeline-item { position: relative; padding: 0 0 40px; }
.timeline-item::before { content: ""; position: absolute; left: -43px; top: 8px; width: 14px; height: 14px; background: var(--paper); border: 3px solid var(--red); border-radius: 50%; }
.timeline-date { font-family: Georgia, serif; font-size: 14px; letter-spacing: .12em; color: var(--red); font-weight: 700; }
.timeline-item h3 { font-family: var(--serif); font-size: 22px; margin: 8px 0 8px; }
.timeline-item p { color: var(--muted); font-size: 14px; margin: 0; max-width: 620px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--red); color: #fff; padding: 82px 0; position: relative; overflow: hidden; }
.cta-band::after { content: "6:30"; position: absolute; right: 2%; bottom: -18%; font-family: Georgia, serif; font-size: 260px; opacity: .09; line-height: 1; pointer-events: none; }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; position: relative; z-index: 1; }
.cta-inner h2 { font-family: var(--serif); font-size: clamp(36px, 5vw, 62px); line-height: 1.15; margin: 12px 0 14px; letter-spacing: -.03em; }
.cta-inner p { margin: 0; max-width: 560px; color: rgba(255,255,255,.85); }
.cta-actions { display: flex; flex-direction: column; gap: 12px; min-width: 220px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,253,248,.72); padding: 76px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 42px; padding-bottom: 54px; }
.footer .brand-name, .footer .brand-en { color: var(--white); }
.footer-about p { font-size: 13.5px; max-width: 340px; margin: 22px 0 0; line-height: 1.9; }
.footer h4 { color: var(--white); font-size: 13px; letter-spacing: .14em; margin: 0 0 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 11px; font-size: 13.5px; }
.footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px; }
.footer-bottom p { margin: 0; }
.footer-disclaimer { max-width: 700px; opacity: .7; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 12px; color: var(--muted); padding: 22px 0 0; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { margin: 0 9px; opacity: .5; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 64px 0 72px; border-bottom: 1px solid var(--line); position: relative; }
.page-hero-title { font-family: var(--serif); font-size: clamp(46px, 6.4vw, 88px); line-height: 1.1; letter-spacing: -.04em; margin: 18px 0 20px; font-weight: 700; }
.page-hero-title em { font-style: normal; color: var(--red); }
.page-hero p { color: var(--muted); font-size: 17px; max-width: 660px; margin: 0; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.page-hero-art img { width: 100%; box-shadow: var(--shadow); }

/* ---------- Tools: search, tabs ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; padding: 24px 0; border-bottom: 1px solid var(--line); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  border: 1px solid var(--line-strong); background: transparent; padding: 9px 16px; font-size: 13px; font-weight: 700;
  transition: all .2s;
}
.tab:hover { border-color: var(--ink); }
.tab.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.searchbox { display: flex; align-items: center; gap: 8px; border-bottom: 2px solid var(--ink); min-width: 260px; padding-bottom: 6px; }
.searchbox input { border: 0; background: transparent; outline: 0; width: 100%; font-size: 14px; }
.searchbox button { border: 0; background: transparent; font-size: 18px; padding: 0 4px; }
.topic-item.is-hidden, .video-card.is-hidden, .timeline-item.is-hidden { display: none; }
.no-result { padding: 40px 0; color: var(--muted); text-align: center; display: none; }
.no-result.show { display: block; }

/* ---------- Accordion / FAQ ---------- */
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; background: none; border: 0; text-align: left; font-family: var(--serif); font-size: 19px; font-weight: 700; }
.accordion-trigger .plus { font-family: var(--sans); font-size: 24px; color: var(--red); transition: transform .25s; flex: none; }
.accordion-trigger[aria-expanded="true"] .plus { transform: rotate(45deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.accordion-panel p { margin: 0 0 22px; color: var(--muted); font-size: 14.5px; max-width: 760px; }

/* ---------- Sidebar ---------- */
.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 60px; align-items: start; }
.side-card { border-top: 3px solid var(--ink); padding-top: 20px; margin-bottom: 44px; }
.side-card h3 { font-family: var(--serif); font-size: 22px; margin: 0 0 16px; }
.hot-words { display: flex; flex-wrap: wrap; gap: 8px; }
.hot-words a { border: 1px solid var(--line); padding: 6px 11px; font-size: 12px; transition: all .2s; }
.hot-words a:hover { background: var(--red); color: #fff; border-color: var(--red); }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; font-size: 13.5px; }
.side-list b { font-family: Georgia, serif; color: var(--red); }

/* ---------- Form ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.field .hint { font-size: 11px; color: var(--muted); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line-strong); background: var(--paper); padding: 13px 14px; font-size: 14px; outline: 0; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); }
.field textarea { min-height: 150px; resize: vertical; }
.field-error { color: var(--red); font-size: 12px; min-height: 16px; }
.upload-zone {
  border: 2px dashed var(--line-strong); padding: 30px; text-align: center; background: var(--paper); cursor: pointer; transition: border-color .2s, background .2s;
}
.upload-zone:hover { border-color: var(--red); background: var(--white); }
.upload-zone strong { display: block; font-family: var(--serif); font-size: 19px; margin-bottom: 6px; }
.upload-zone span { font-size: 12px; color: var(--muted); }
.upload-preview { margin-top: 14px; display: none; }
.upload-preview.show { display: block; }
.upload-preview img { width: 100%; max-height: 240px; object-fit: cover; }
.checkline { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.checkline input { accent-color: var(--red); margin-top: 5px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; border-top: 1px solid var(--line); padding-top: 26px; }
.form-success { display: none; border: 1px solid var(--red); background: var(--paper-2); padding: 28px; margin-top: 24px; }
.form-success.show { display: block; animation: fadeUp .4s ease; }
.form-success h3 { font-family: var(--serif); font-size: 26px; margin: 0 0 10px; }
.preview-card { display: grid; grid-template-columns: 120px 1fr; gap: 18px; background: var(--white); padding: 14px; margin-top: 18px; border: 1px solid var(--line); }
.preview-card img { width: 120px; height: 82px; object-fit: cover; background: var(--paper-3); }
.preview-card h4 { font-family: var(--serif); margin: 0 0 6px; font-size: 17px; }
.preview-card p { font-size: 12px; color: var(--muted); margin: 0; }
.guideline { counter-reset: g; }
.guideline li { list-style: none; padding: 14px 0 14px 38px; border-bottom: 1px solid var(--line); position: relative; font-size: 14px; color: var(--ink-soft); }
.guideline li::before { counter-increment: g; content: "0" counter(g); position: absolute; left: 0; top: 15px; font-family: Georgia, serif; color: var(--red); font-size: 12px; }

/* ---------- Phone mockup ---------- */
.phone-stage { display: flex; justify-content: center; align-items: center; min-height: 560px; background: var(--paper-2); border: 1px solid var(--line); position: relative; }
.phone-stage::before { content: ""; position: absolute; inset: 18px; border: 1px solid var(--line); pointer-events: none; }
.phone {
  width: 292px; height: 566px; background: var(--ink); border-radius: 38px; padding: 10px; box-shadow: 0 30px 60px rgba(0,0,0,.25); position: relative; z-index: 1;
}
.phone-screen { width: 100%; height: 100%; background: var(--paper); border-radius: 30px; overflow: hidden; display: flex; flex-direction: column; }
.phone-notch { width: 88px; height: 20px; background: var(--ink); border-radius: 0 0 14px 14px; margin: 0 auto; flex: none; }
.phone-head { padding: 14px 18px 10px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; }
.phone-head .logo { font-family: var(--serif); font-size: 17px; }
.phone-head .logo b { color: var(--red); }
.phone-tabs { display: flex; gap: 14px; padding: 0 18px 10px; font-size: 11px; color: var(--muted); border-bottom: 1px solid var(--line); }
.phone-tabs .on { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--red); }
.phone-hero { margin: 12px; background: var(--ink); color: #fff; padding: 16px; }
.phone-hero small { color: var(--gold); font-size: 9px; letter-spacing: .14em; }
.phone-hero h4 { font-family: var(--serif); font-size: 19px; margin: 6px 0 10px; line-height: 1.4; }
.phone-hero span { font-size: 10px; opacity: .7; }
.phone-rows { padding: 0 12px; overflow: hidden; }
.phone-row { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); align-items: center; }
.phone-row i { font-family: Georgia, serif; font-style: normal; color: var(--red); font-size: 15px; width: 18px; }
.phone-row span { font-size: 11px; line-height: 1.4; }
.phone-bottom { margin-top: auto; display: flex; justify-content: space-around; border-top: 1px solid var(--line); padding: 12px 0; font-size: 10px; color: var(--muted); }
.phone-bottom b { color: var(--red); }
.floating-clock { position: absolute; right: -26px; top: 40px; width: 108px; height: 108px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-family: Georgia, serif; font-size: 27px; font-weight: 700; border: 6px solid var(--paper); z-index: 2; box-shadow: var(--shadow); }

/* ---------- Modal / toast ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(23,21,19,.82); z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-backdrop.open { display: flex; animation: fadeIn .2s ease; }
.modal { background: var(--paper); width: min(720px, 100%); max-height: 90vh; overflow: auto; position: relative; padding: 0 0 30px; }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border: 0; background: var(--ink); color: #fff; font-size: 22px; line-height: 1; }
.modal-stage { background: var(--ink); aspect-ratio: 16 / 9; display: grid; place-items: center; color: #fff; text-align: center; position: relative; }
.modal-stage .stage-mark { font-family: Georgia, serif; font-size: 72px; opacity: .18; }
.modal-stage .stage-text { position: absolute; bottom: 24px; font-size: 12px; letter-spacing: .12em; opacity: .7; }
.player-bar { height: 4px; background: var(--paper-3); position: absolute; bottom: 0; left: 0; right: 0; }
.player-bar i { display: block; height: 100%; width: 0; background: var(--red); transition: width 1s linear; }
.modal-body { padding: 26px 32px 0; }
.modal-body h3 { font-family: var(--serif); font-size: 26px; margin: 0 0 10px; }
.modal-body p { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.qr-box { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.qr-box img { width: 148px; height: 148px; border: 1px solid var(--line); background: #fff; padding: 6px; }
.qr-box div { flex: 1; min-width: 200px; }
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px); background: var(--ink); color: #fff;
  padding: 13px 24px; font-size: 14px; z-index: 200; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 16px; }
  .nav a { font-size: 14px; }
  .brand-name { font-size: 21px; }
  .editorial { grid-template-columns: 1fr 1fr; }
  .editorial-figure { grid-column: 1 / -1; grid-row: 1; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .layout-sidebar { grid-template-columns: 1fr; gap: 20px; }
  .side-card { max-width: 620px; }
}

@media (max-width: 860px) {
  .container, .narrow { width: calc(100% - 40px); }
  .section { padding: 76px 0; }
  .masthead-inner { grid-template-columns: 1fr auto; min-height: 70px; }
  .nav, .header-actions .btn { display: none; }
  .menu-btn { display: flex; }
  .mobile-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 2px solid var(--ink); padding: 14px 20px 24px; box-shadow: 0 20px 30px rgba(0,0,0,.1); }
  .mobile-nav.open { display: block; }
  .mobile-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
  .mobile-nav .btn { margin-top: 18px; width: 100%; display: inline-flex; }
  .hero { padding: 48px 0 66px; }
  .hero-grid, .page-hero-grid, .cta-inner { grid-template-columns: 1fr; }
  .hero-figure { max-width: 620px; }
  .hero-stats { gap: 24px; }
  .topic-item { grid-template-columns: 56px 1fr auto; gap: 12px; }
  .heat { display: none; }
  .topic-rank { font-size: 32px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .float-card.one { left: 10px; }
  .float-card.two { right: 10px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container, .narrow { width: calc(100% - 32px); }
  .utility-links { gap: 12px; }
  .utility-inner { font-size: 11px; }
  .utility-links a:first-child { display: none; }
  .section { padding: 60px 0; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .hero-title { font-size: clamp(44px, 13vw, 70px); }
  .hero-stats { flex-wrap: wrap; gap: 20px 30px; }
  .editorial { grid-template-columns: 1fr; }
  .editorial-figure { grid-column: auto; grid-row: auto; }
  .video-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .topic-item { grid-template-columns: 42px 1fr; padding: 20px 0; }
  .topic-rank { font-size: 26px; }
  .topic-go { display: none; }
  .topic-main h3 { font-size: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-band { padding: 60px 0; }
  .preview-card { grid-template-columns: 1fr; }
  .preview-card img { width: 100%; height: 150px; }
  .floating-clock { width: 82px; height: 82px; font-size: 20px; right: -8px; }
  .phone { transform: scale(.9); transform-origin: center; }
  .phone-stage { min-height: 520px; }
  .modal-body { padding: 22px 20px 0; }
  .toolbar { align-items: flex-start; flex-direction: column; }
  .searchbox { width: 100%; }
}

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