/* YIQISHU — editorial site system */
:root {
  --paper: #f4f1e9;
  --paper-2: #e9e3d6;
  --white: #fffdf7;
  --ink: #15130f;
  --muted: #6d675c;
  --line: #d3ccbe;
  --red: #e43b2f;
  --red-dark: #bd2b22;
  --blue: #24365f;
  --acid: #d9e94c;
  --max: 1320px;
  --shadow: 0 24px 70px rgba(21, 19, 15, .14);
  --serif: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
  --sans: "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { 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.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin-top: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px;
}
.skip-link:focus { top: 12px; }

.container { width: min(calc(100% - 64px), var(--max)); margin-inline: auto; }
.container--narrow { width: min(calc(100% - 64px), 980px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(244, 241, 233, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 78px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 36px; height: 36px; background: var(--red); position: relative;
  display: grid; place-items: center; color: #fff; font-family: var(--serif);
  font-size: 22px; font-weight: 700; line-height: 1;
}
.brand-mark::after {
  content: ""; position: absolute; right: -5px; top: -5px;
  width: 12px; height: 12px; background: var(--ink); border-radius: 50%;
}
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 24px; letter-spacing: .04em; line-height: 1; }
.brand-sub { display: block; font-family: var(--sans); font-size: 9px; letter-spacing: .32em; color: var(--muted); margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); }
.nav-links a {
  position: relative; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  padding: 8px 0; white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 2px; width: 0; height: 2px;
  background: var(--red); transition: width .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--red-dark); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--ink);
  background: transparent; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; border-top: 1px solid var(--line); background: var(--white);
  padding: 12px 0 20px;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 700;
}
.mobile-menu a span { color: var(--red); font-size: 12px; }

/* Shared typography and UI */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 800; letter-spacing: .28em; text-transform: uppercase;
  color: var(--red-dark);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.display { font-family: var(--serif); font-weight: 700; letter-spacing: -.045em; line-height: .95; }
.section { padding: clamp(72px, 9vw, 130px) 0; border-top: 1px solid var(--line); }
.section-head {
  display: grid; grid-template-columns: minmax(160px, .45fr) 1.55fr; gap: 40px;
  margin-bottom: 54px; align-items: start;
}
.section-head h2 { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 5rem); line-height: 1; letter-spacing: -.04em; margin: 10px 0 16px; }
.section-head p { max-width: 620px; color: var(--muted); font-size: 16px; }
.section-index { font-family: var(--serif); font-size: 13px; color: var(--muted); letter-spacing: .18em; }
.lead { font-size: clamp(18px, 2vw, 23px); line-height: 1.65; }
.muted { color: var(--muted); }
.red { color: var(--red); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 24px; border: 1px solid var(--ink);
  background: transparent; color: var(--ink); font-size: 13px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 5px 5px 0 var(--ink); }
.btn--primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn--primary:hover { box-shadow: 5px 5px 0 var(--blue); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--light { background: var(--white); }
.btn--acid { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.btn--small { min-height: 40px; padding: 8px 16px; font-size: 11px; }
.btn--wide { width: 100%; }
.btn-arrow { font-size: 18px; line-height: 1; transition: transform .2s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

.tag {
  display: inline-block; padding: 5px 10px; border: 1px solid var(--line);
  font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  background: var(--white);
}
.tag--red { background: var(--red); border-color: var(--red); color: #fff; }
.tag--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.tag--acid { background: var(--acid); border-color: var(--acid); }

/* Home hero */
.hero { padding: 54px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(30px, 5vw, 84px); align-items: center; }
.hero-copy { position: relative; padding: 30px 0 40px; }
.hero-kicker { display: flex; gap: 18px; align-items: center; margin-bottom: 28px; font-size: 11px; font-weight: 800; letter-spacing: .25em; }
.hero-kicker .dot { width: 10px; height: 10px; background: var(--red); border-radius: 50%; box-shadow: 0 0 0 6px rgba(228,59,47,.13); }
.hero-title { font-family: var(--serif); font-size: clamp(4.8rem, 11.5vw, 10.5rem); line-height: .78; letter-spacing: -.075em; margin: 0 0 30px; }
.hero-title span { display: block; }
.hero-title em { font-style: normal; color: var(--red); }
.hero-title .outline { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.hero-deck { max-width: 560px; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.7; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 22px; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art::before {
  content: ""; position: absolute; width: 76%; height: 76%; top: 4%; right: -4%;
  border: 1px solid var(--ink); transform: rotate(-5deg);
}
.poster-frame {
  position: relative; width: min(100%, 500px); border: 10px solid var(--white);
  box-shadow: var(--shadow); transform: rotate(2deg);
}
.poster-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.poster-caption {
  position: absolute; right: -26px; bottom: 44px; writing-mode: vertical-rl;
  background: var(--ink); color: #fff; padding: 16px 9px; font-size: 10px; letter-spacing: .3em;
}
.sticker {
  position: absolute; left: -20px; top: 10%; width: 120px; height: 120px; border-radius: 50%;
  background: var(--acid); border: 2px solid var(--ink); display: grid; place-items: center;
  transform: rotate(-12deg); text-align: center; font-family: var(--serif); font-size: 17px; font-weight: 700; line-height: 1.15;
  box-shadow: 6px 6px 0 var(--ink);
}
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); margin-top: 60px; }
.hero-stat { padding: 22px 18px 28px 0; border-right: 1px solid var(--line); }
.hero-stat:last-child { border-right: 0; }
.hero-stat strong { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -.04em; }
.hero-stat span { font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }

.ticker { background: var(--ink); color: #fff; overflow: hidden; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.ticker-track { display: flex; width: max-content; animation: ticker 30s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 32px; padding: 14px 32px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; }
.ticker b { color: var(--acid); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Cards and editorial blocks */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.story-card {
  background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.story-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--ink); }
.card-media { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.story-card:hover .card-media img { transform: scale(1.04); }
.card-tag { position: absolute; top: 14px; left: 14px; z-index: 2; }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-number { font-family: var(--serif); font-size: 36px; color: var(--line); line-height: 1; margin-bottom: 12px; }
.card-body h3 { font-family: var(--serif); font-size: clamp(1.45rem, 2vw, 1.9rem); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 12px; }
.card-body p { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.card-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
.card-footer a { color: var(--red-dark); }

.feature-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.feature-split--reverse .feature-visual { order: 2; }
.feature-visual { position: relative; border: 1px solid var(--ink); background: var(--paper-2); padding: 18px; }
.feature-visual img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.feature-visual::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.5); pointer-events: none; }
.feature-copy h2 { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.04em; margin-bottom: 24px; }
.feature-copy p { color: var(--muted); margin-bottom: 26px; max-width: 560px; }
.check-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.check-list li::before { content: "↗"; color: var(--red); font-weight: 800; }

.quote-band { background: var(--blue); color: #fff; padding: clamp(70px, 9vw, 120px) 0; }
.quote-band blockquote { font-family: var(--serif); font-size: clamp(2.2rem, 5.2vw, 5rem); line-height: 1.08; letter-spacing: -.035em; margin: 0; max-width: 1060px; }
.quote-band blockquote em { color: var(--acid); font-style: normal; }
.quote-meta { margin-top: 34px; display: flex; gap: 16px; align-items: center; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.quote-meta span:first-child { width: 44px; height: 2px; background: var(--acid); }

.cta-band { background: var(--red); color: #fff; padding: clamp(64px, 8vw, 100px) 0; }
.cta-band .container { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta-band h2 { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.04em; margin: 12px 0 0; }
.cta-band p { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; margin: 0; }

/* Page hero */
.page-hero { padding: clamp(48px, 6vw, 88px) 0 clamp(54px, 7vw, 92px); }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(3.6rem, 7.8vw, 7.6rem); line-height: .88; letter-spacing: -.06em; margin: 20px 0 26px; }
.page-hero h1 em { color: var(--red); font-style: normal; }
.page-hero p { max-width: 650px; color: var(--muted); font-size: clamp(16px, 1.7vw, 20px); }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.page-hero-art { border: 1px solid var(--ink); background: var(--white); padding: 12px; box-shadow: 10px 10px 0 var(--ink); }
.page-hero-art img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.breadcrumb { display: flex; gap: 10px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.breadcrumb a:hover { color: var(--red); }

/* Live room */
.live-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 28px; align-items: start; }
.player-shell { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.player-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0c0c0c; display: grid; place-items: center; }
.player-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.player-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.7)); }
.live-badge { position: absolute; z-index: 2; top: 18px; left: 18px; background: var(--red); padding: 6px 12px; font-size: 11px; font-weight: 900; letter-spacing: .2em; }
.live-viewers { position: absolute; z-index: 2; top: 18px; right: 18px; background: rgba(0,0,0,.55); padding: 6px 12px; font-size: 11px; letter-spacing: .1em; }
.play-button { position: relative; z-index: 3; width: 92px; height: 92px; border-radius: 50%; border: 2px solid #fff; background: var(--acid); color: var(--ink); display: grid; place-items: center; font-size: 30px; transition: transform .2s ease; }
.play-button:hover { transform: scale(1.06); }
.player-status { position: absolute; z-index: 3; bottom: 24px; left: 24px; font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.4rem); }
.player-controls { padding: 18px 22px; display: flex; align-items: center; gap: 16px; border-top: 1px solid #3a3833; }
.player-controls button { background: transparent; border: 0; color: #fff; font-size: 18px; padding: 4px; }
.player-controls button.is-muted { opacity: .45; }
.progress { flex: 1; height: 4px; background: #4b4842; position: relative; overflow: hidden; }
.progress::before { content: ""; position: absolute; inset: 0 68% 0 0; background: var(--red); }
.player-info { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 22px; border-top: 1px solid #3a3833; }
.player-info h2 { font-family: var(--serif); font-size: 1.7rem; margin-bottom: 4px; }
.player-info p { color: #bdb8ab; font-size: 13px; margin: 0; }
.side-panel { border: 1px solid var(--line); background: var(--white); }
.panel-head { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.panel-head h3 { font-family: var(--serif); font-size: 1.3rem; margin: 0; }
.chat-log { height: 330px; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 15px; }
.chat-message { display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: 13px; }
.chat-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font-family: var(--serif); font-size: 13px; font-weight: 700; }
.chat-message strong { display: block; font-size: 11px; letter-spacing: .08em; }
.chat-message p { margin: 2px 0 0; color: var(--muted); line-height: 1.5; }
.chat-form { display: flex; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; border: 0; padding: 15px; background: transparent; }
.chat-form button { border: 0; border-left: 1px solid var(--line); background: var(--ink); color: #fff; padding: 0 18px; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.channel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.channel-item { border-top: 3px solid var(--ink); padding-top: 14px; display: block; }
.channel-item:hover { border-color: var(--red); }
.channel-thumb { position: relative; overflow: hidden; border: 1px solid var(--line); }
.channel-thumb img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .3s ease; }
.channel-item:hover img { transform: scale(1.04); }
.channel-thumb span { position: absolute; bottom: 8px; left: 8px; background: var(--red); color: #fff; padding: 3px 8px; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.channel-item h3 { font-family: var(--serif); font-size: 1.15rem; margin: 12px 0 4px; }
.channel-item p { color: var(--muted); font-size: 12px; margin: 0; }
.schedule { border-top: 1px solid var(--ink); }
.schedule-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.schedule-row time { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; }
.schedule-row h3 { margin: 0 0 2px; font-family: var(--serif); font-size: 1.2rem; }
.schedule-row p { margin: 0; font-size: 12px; color: var(--muted); }

/* Community */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; padding-bottom: 22px; border-bottom: 1px solid var(--line); align-items: center; }
.filter-btn { border: 1px solid var(--ink); background: transparent; padding: 9px 18px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.filter-btn.is-active { background: var(--ink); color: #fff; }
.filter-count { margin-left: auto; font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.clip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.clip-card { border: 1px solid var(--line); background: var(--white); transition: transform .2s ease, box-shadow .2s ease; }
.clip-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.clip-card.is-hidden { display: none; }
.clip-thumb { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.clip-thumb img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.clip-play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(21,19,15,.1); border: 0; color: var(--ink); }
.clip-play span { width: 62px; height: 62px; border-radius: 50%; background: var(--acid); border: 2px solid var(--ink); display: grid; place-items: center; font-size: 22px; transition: transform .2s ease; }
.clip-play:hover span { transform: scale(1.08); }
.clip-duration { position: absolute; right: 12px; bottom: 12px; background: var(--ink); color: #fff; padding: 4px 9px; font-size: 10px; letter-spacing: .1em; }
.clip-body { padding: 20px; }
.clip-body h3 { font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; margin-bottom: 8px; }
.clip-body p { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.clip-meta { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
.ai-note { background: var(--paper-2); border-left: 6px solid var(--red); padding: 26px 30px; margin-top: 34px; }
.ai-note h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 8px; }
.ai-note p { margin: 0; color: var(--muted); font-size: 14px; }

/* Creator form */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { border-top: 2px solid var(--ink); padding-top: 18px; }
.step-number { font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: var(--red); }
.step h3 { font-family: var(--serif); font-size: 1.4rem; margin: 12px 0 8px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }
.application { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 36px; align-items: start; }
.form-panel { background: var(--white); border: 1px solid var(--ink); padding: clamp(24px, 4vw, 42px); box-shadow: 10px 10px 0 var(--ink); }
.form-panel h2 { font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1; letter-spacing: -.03em; margin-bottom: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); background: var(--paper); padding: 13px 14px; color: var(--ink);
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: var(--white); }
.field textarea { min-height: 110px; resize: vertical; }
.field small { color: var(--red-dark); font-size: 11px; min-height: 16px; }
.check-field { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0; font-size: 13px; }
.check-field input { width: 18px; height: 18px; accent-color: var(--red); margin-top: 2px; }
.success-panel { display: none; border: 2px solid var(--red); background: var(--acid); padding: 28px; margin-top: 24px; }
.success-panel.is-visible { display: block; }
.success-panel h3 { font-family: var(--serif); font-size: 1.8rem; margin-bottom: 8px; }
.side-note { border: 1px solid var(--line); background: var(--white); padding: 28px; }
.side-note h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 16px; }
.side-note ul { list-style: none; padding: 0; margin: 0 0 24px; }
.side-note li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; display: flex; justify-content: space-between; gap: 12px; }
.side-note li strong { color: var(--red-dark); font-family: var(--serif); font-size: 1.2rem; }

/* Download and entry */
.download-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 82px); align-items: center; }
.download-copy h1 { font-family: var(--serif); font-size: clamp(3.5rem, 7.4vw, 7rem); line-height: .88; letter-spacing: -.06em; margin: 20px 0 24px; }
.download-copy h1 em { font-style: normal; color: var(--red); }
.download-copy p { color: var(--muted); max-width: 580px; font-size: 18px; }
.download-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.download-visual { position: relative; display: flex; justify-content: center; }
.download-visual img { width: min(100%, 470px); border: 10px solid var(--white); box-shadow: var(--shadow); transform: rotate(-2deg); }
.download-visual::before { content: ""; position: absolute; inset: 8% -3% 8% 8%; border: 1px solid var(--ink); transform: rotate(3deg); }
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.platform-card { border: 1px solid var(--line); background: var(--white); padding: 28px; min-height: 230px; display: flex; flex-direction: column; }
.platform-card span { font-size: 10px; letter-spacing: .2em; font-weight: 800; color: var(--red-dark); }
.platform-card h3 { font-family: var(--serif); font-size: 1.7rem; margin: 16px 0 8px; }
.platform-card p { color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.platform-card button { margin-top: auto; align-self: flex-start; }
.entry-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.entry-copy h2 { font-family: var(--serif); font-size: clamp(2.4rem, 4.8vw, 4.4rem); line-height: 1; letter-spacing: -.04em; margin-bottom: 20px; }
.entry-copy p { color: var(--muted); margin-bottom: 28px; }
.entry-features { display: grid; gap: 14px; margin-top: 30px; }
.entry-feature { display: flex; gap: 14px; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; }
.entry-feature b { font-family: var(--serif); font-size: 1.25rem; }
.entry-feature span { font-size: 13px; color: var(--muted); }
.login-card { background: var(--ink); color: #fff; padding: clamp(28px, 4vw, 46px); }
.login-card h3 { font-family: var(--serif); font-size: 2rem; margin-bottom: 8px; }
.login-card > p { color: #b8b3a7; font-size: 13px; margin-bottom: 28px; }
.login-card .field label { color: #d8d3c7; }
.login-card .field input { background: #26241f; border-color: #45423b; color: #fff; }
.login-card .field input:focus { background: #302d27; border-color: var(--acid); }
.login-tabs { display: flex; gap: 8px; margin-bottom: 26px; }
.login-tabs button { flex: 1; background: transparent; border: 1px solid #4b4842; color: #fff; padding: 10px; font-size: 12px; font-weight: 800; }
.login-tabs button.is-active { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.login-hint { margin-top: 18px; font-size: 11px; color: #9e998e; line-height: 1.6; }

/* Footer */
.site-footer { background: var(--ink); color: #f2eee4; padding: 76px 0 28px; border-top: 1px solid var(--ink); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid #3b3832; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { color: #aaa59a; font-size: 13px; max-width: 330px; margin: 18px 0 0; }
.footer-col h3 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--acid); margin-bottom: 18px; }
.footer-col a, .footer-col span { display: block; padding: 5px 0; font-size: 13px; color: #d6d1c6; }
.footer-col a:hover { color: var(--acid); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 22px; color: #8f8a80; font-size: 11px; letter-spacing: .06em; }
.keyword-line { color: #aaa59a; }

/* Dialog, toast */
.modal { width: min(calc(100% - 32px), 620px); max-height: 88vh; border: 1px solid var(--ink); background: var(--white); padding: 0; box-shadow: 12px 12px 0 var(--ink); }
.modal::backdrop { background: rgba(21,19,15,.72); backdrop-filter: blur(3px); }
.modal-inner { padding: clamp(28px, 4vw, 44px); }
.modal-top { display: flex; justify-content: space-between; gap: 20px; align-items: start; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 22px; }
.modal-top h2 { font-family: var(--serif); font-size: 2rem; line-height: 1.1; margin: 0; }
.modal-close { border: 1px solid var(--ink); background: transparent; width: 38px; height: 38px; font-size: 20px; line-height: 1; }
.modal-body p { color: var(--muted); }
.modal-body .copy-row { display: flex; gap: 10px; margin-top: 20px; }
.copy-row input { flex: 1; min-width: 0; border: 1px solid var(--ink); background: var(--paper); padding: 12px 14px; }
.modal-video { aspect-ratio: 16 / 9; background: var(--blue); position: relative; overflow: hidden; display: grid; place-items: center; margin-bottom: 22px; }
.modal-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.modal-video::after { content: "AI CLIP PREVIEW"; position: relative; z-index: 2; color: #fff; font-family: var(--serif); font-size: 2.2rem; letter-spacing: .12em; animation: pulse 1.6s ease-in-out infinite alternate; }
@keyframes pulse { to { opacity: .45; transform: scale(1.04); } }
.modal-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.toast {
  position: fixed; right: 24px; bottom: 24px; z-index: 120; max-width: min(420px, calc(100% - 48px));
  background: var(--ink); color: #fff; padding: 15px 20px; border-left: 5px solid var(--acid);
  font-size: 13px; transform: translateY(24px); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }
.back-top { position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 46px; height: 46px; border: 1px solid var(--ink); background: var(--acid); display: none; place-items: center; font-size: 19px; }
.back-top.is-visible { display: grid; }

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in-view { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1120px) {
  .container, .container--narrow { width: min(calc(100% - 48px), var(--max)); }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 12px; }
  .hero-title { font-size: clamp(4.2rem, 10vw, 8rem); }
  .card-grid, .clip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
  .live-layout { grid-template-columns: 1fr; }
  .chat-log { height: 260px; }
  .application { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr 360px; }
}

@media (max-width: 860px) {
  .header-inner { min-height: 68px; }
  .nav-links, .header-actions .btn { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding-top: 34px; }
  .hero-grid, .page-hero-grid, .feature-split, .download-grid, .entry-layout { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art::before { width: 62%; height: 70%; }
  .poster-frame { width: min(100%, 410px); }
  .sticker { width: 96px; height: 96px; left: 2%; font-size: 14px; }
  .poster-caption { right: 0; }
  .hero-title { font-size: clamp(4.2rem, 16vw, 7rem); }
  .hero-stats { margin-top: 40px; }
  .page-hero-art { width: min(100%, 420px); box-shadow: 7px 7px 0 var(--ink); }
  .feature-split--reverse .feature-visual { order: 0; }
  .feature-visual { width: min(100%, 460px); }
  .section-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 40px; }
  .cta-band .container { grid-template-columns: 1fr; }
  .platform-grid, .steps { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container, .container--narrow { width: calc(100% - 36px); }
  .brand-name { font-size: 21px; }
  .hero { padding-top: 22px; }
  .hero-copy { padding-top: 12px; }
  .hero-title { font-size: clamp(3.7rem, 17vw, 5.4rem); margin-bottom: 24px; }
  .hero-deck { font-size: 16px; }
  .hero-actions .btn, .page-actions .btn, .download-actions .btn { flex: 1 1 100%; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px 0; }
  .hero-stat:last-child { border-bottom: 0; }
  .section { padding: 68px 0; }
  .card-grid, .clip-grid, .channel-grid, .platform-grid, .steps, .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .schedule-row { grid-template-columns: 76px 1fr; gap: 12px; }
  .schedule-row .btn { grid-column: 1 / -1; }
  .filter-count { margin-left: 0; width: 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .player-controls { padding: 14px; }
  .play-button { width: 72px; height: 72px; }
  .player-status { left: 16px; bottom: 16px; }
  .login-tabs { flex-direction: column; }
  .back-top { right: 14px; bottom: 14px; }
}

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