/* ==========================================================
   그린라벨 — style.css  (토큰은 DESIGN.md 기준)
   흑백 기본 + 선택·핵심 요소에만 그린
   ========================================================== */

:root {
  --bg: #0A0A0A;
  --surface: #121212;
  --surface-2: #1B1B1B;
  --ink: #F2F2F2;
  --ink-2: #9A9A9A;
  --line: #2A2A2A;
  --green: #22C55E;
  --green-text: #4ADE80;
  --green-ink: #0A0A0A;
  --green-tint: #0F2A1B;

  --shadow-2: 0 12px 32px rgba(0, 0, 0, .6);
  --shadow-3: 0 24px 64px rgba(0, 0, 0, .7);
  --poster-edge: rgba(255, 255, 255, .08);

  --f-body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-card: 12px;
  --r-poster: 8px;
  --r-badge: 6px;
  --header-h: 64px;

  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 180px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--f-body); font-weight: 800; line-height: 1.2; margin: 0; letter-spacing: -0.03em; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 10px;
}
.fine { font-size: 13px; color: var(--ink-2); }


/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--green); }
.logo-mark { width: 30px; height: 30px; }
.logo-text { font-weight: 800; font-size: 18px; color: var(--ink); letter-spacing: 0.02em; white-space: nowrap; }
.logo { flex: none; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2);
  padding: 8px 12px; border-radius: 999px; transition: color .15s, background .15s;
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }

/* ---------- hero: 월계관 엠블럼 ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 56px 0 120px; border-bottom: 1px solid var(--line); text-align: center; }
/* 바람에 흔들리는 초록 갈대밭 (assets/js/field.js) */
.hero-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 45% at 50% 38%, rgba(10,10,10,.82), rgba(10,10,10,.35) 60%, transparent 75%),
    linear-gradient(to bottom, var(--bg) 0%, transparent 35%, transparent 80%, rgba(10,10,10,.35) 100%);
}
.hero h1 { text-shadow: 0 2px 18px rgba(0,0,0,.85); }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.emblem { position: relative; width: 300px; aspect-ratio: 1; color: var(--green); }
.emblem-laurel { position: absolute; inset: 0; width: 100%; height: 100%; }
.emblem-text {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px; padding-top: 6px;
}
.emblem-top, .emblem-bottom {
  font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .14em;
}
.emblem-top { color: var(--ink-2); }
.emblem-bottom { color: var(--green-text); }
.emblem-name { font-size: 40px; font-weight: 800; letter-spacing: 0.02em; color: var(--ink); line-height: 1.02; margin: 4px 0; }
.emblem-top::before, .emblem-top::after, .emblem-bottom::before, .emblem-bottom::after {
  content: "★"; font-size: 8px; margin: 0 6px; vertical-align: 2px; opacity: .7;
}
.hero h1 { margin-top: 28px; font-size: clamp(26px, 4vw, 44px); line-height: 1.3; }
.hero h1 em { font-style: normal; color: var(--green-text); }
.today-visitors {
  display: inline-flex; align-items: center; gap: 8px; margin: 20px 0 0; padding: 8px 16px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  font-size: 14.5px; color: var(--ink-2);
}
.today-visitors b { color: var(--ink); font-family: var(--f-mono); }
.today-visitors[hidden] { display: none; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: live 1.8s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* ---------- OTT 선택 바 ---------- */
.ott-bar {
  position: sticky; top: var(--header-h); z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 14px 0 12px;
}
.ott-bar-row { display: flex; align-items: center; gap: 16px; min-width: 0; }
.ott-bar-row { position: relative; }
/* 넓은 화면: 줄바꿈해서 전부 보이게 / 좁은 화면: 가로 스크롤 + 좌우 화살표 */
.ott-picks {
  display: flex; flex-wrap: wrap; gap: 6px; min-width: 0;
  overflow-x: visible; scrollbar-width: none; scroll-behavior: smooth;
}
.ott-picks::-webkit-scrollbar { display: none; }
.ott-pick { flex: none; }
.ott-pick {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 13px 0 11px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  font-size: 14.5px; font-weight: 600; color: var(--ink); cursor: pointer; white-space: nowrap;
  transition: border-color .15s, background .15s;
}
.ott-pick:hover { border-color: var(--ink); }
.ott-pick .n { font-family: var(--f-mono); font-size: 12px; font-weight: 500; color: var(--ink-2); }
.ott-pick .check {
  width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line);
  display: grid; place-items: center; flex: none; transition: all .15s;
}
.ott-pick .check svg { width: 10px; height: 10px; opacity: 0; }
.ott-pick[aria-pressed="true"] { border-color: var(--green); background: var(--green-tint); }
.ott-pick[aria-pressed="true"] .check { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.ott-pick[aria-pressed="true"] .check svg { opacity: 1; }
.ott-pick[aria-pressed="true"] .n { color: var(--green-text); }
.ott-pick.all[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.ott-pick.all[aria-pressed="true"] .n { color: var(--bg); opacity: .7; }
.ott-bar-summary { margin: 10px 0 0; font-size: 13.5px; color: var(--ink-2); }
.info-promo {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; cursor: pointer;
  border: 1px dashed var(--green); border-radius: 999px; background: var(--green-tint);
  color: var(--green-text); font-size: 12.5px; font-weight: 700; text-decoration: none;
}
.info-promo span { font-family: var(--f-mono); color: var(--ink); }
.ott-bar-summary b { color: var(--ink); }
.ott-bar-summary .g { color: var(--green-text); font-family: var(--f-mono); font-weight: 600; }
.ott-bar-summary button {
  border: 0; background: none; padding: 0; margin-left: 8px; cursor: pointer;
  color: var(--ink-2); text-decoration: underline; font-size: 13px;
}

/* ---------- section ---------- */
.section { padding: 64px 0 80px; }
.section-alt { background: var(--surface-2); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.section h2 { font-size: clamp(26px, 3.4vw, 38px); }
.section-desc { color: var(--ink-2); margin: 10px 0 0; max-width: 560px; }

/* ---------- filters (유형) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 500; cursor: pointer;
  transition: all .15s;
}
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip .n { font-family: var(--f-mono); font-size: 12px; opacity: .6; margin-left: 4px; }

/* ---------- card grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 10px 10px 16px;
  transition: border-color .15s;
}
.card:hover { border-color: var(--ink-2); }
.card-open { all: unset; cursor: pointer; display: block; border-radius: var(--r-poster); }
.card-open:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.card-badge {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  font-size: 12px; font-weight: 700; background: var(--green); color: var(--green-ink);
  padding: 2px 9px; border-radius: 999px;
}

/* 자동 생성 포스터 (흑백) */
.poster {
  position: relative; aspect-ratio: 2 / 3; border-radius: var(--r-poster); overflow: hidden;
  color: #FFFFFF; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate; box-shadow: inset 0 0 0 1px var(--poster-edge);
}
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.poster::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 70% at 100% 0%, rgba(255,255,255,.10), transparent 60%);
}
.poster.has-img::before { display: none; }
.poster.has-img .poster-title, .poster.has-img .poster-meta, .poster.has-img .poster-seal { display: none; }
.poster.has-img { background: var(--surface-2); }
.poster-meta { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .6; margin-bottom: 6px; }
.poster-title { font-weight: 800; font-size: 24px; line-height: 1.2; letter-spacing: -0.03em; padding-right: 34px; }
.poster-seal {
  position: absolute; right: 12px; bottom: 12px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--green); color: #FFFFFF; display: grid; place-items: center;
}
.poster-seal svg { width: 13px; height: 13px; }
.tone-0 { background: #111111; }
.tone-1 { background: #2B2B2B; }
.tone-2 { background: #3D3D3D; }
.tone-3 { background: #1C1C1C; }
.tone-4 { background: #4A4A4A; }
.tone-5 { background: #262626; }

.card-body { padding: 14px 4px 0; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.card-meta { font-size: 13px; color: var(--ink-2); margin: 4px 0 10px; }
.card-line { font-size: 14.5px; line-height: 1.6; margin: 0 0 14px; flex: 1; }
.card-line.hook { font-weight: 600; color: var(--ink); }
.card-ott { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ott-note { font-size: 12px; color: var(--ink-2); margin: 6px 0 0; }
.card-foot { display: flex; align-items: flex-start; gap: 8px; }
.card-foot .card-ott { flex: 1; }
.share-btn {
  flex: none; width: 30px; height: 28px; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--r-badge); background: transparent; color: var(--ink-2);
  transition: color .15s, border-color .15s;
}
.share-btn:hover { color: var(--green-text); border-color: var(--green); }
.share-btn svg { width: 15px; height: 15px; }

/* ---------- OTT badge ---------- */
.ott-badge {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: var(--r-badge); background: var(--surface);
  font-size: 13px; font-weight: 600; cursor: help; white-space: nowrap;
  transition: border-color .15s, background .15s;
}
.ott-badge:hover, .ott-badge[aria-expanded="true"] { border-color: var(--ink); }
.ott-badge.on { border-color: var(--green); background: var(--green-tint); }
.ott-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }

/* ---------- tooltip ---------- */
.tooltip {
  position: fixed; z-index: 60; width: 296px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-2); padding: 16px; font-size: 14px;
  animation: tip-in .14s ease-out;
}
@keyframes tip-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.tip-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.tip-head b { font-size: 15px; }
.tip-head .ott-dot { width: 10px; height: 10px; }
.tip-head small { margin-left: auto; font-family: var(--f-mono); font-size: 11px; color: var(--ink-2); }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.price-list li:first-child { border-top: 0; padding-top: 0; }
.price-list .pn { font-weight: 600; }
.price-list .pp { font-family: var(--f-mono); font-weight: 600; text-align: right; }
.price-list .pp small { font-family: var(--f-body); font-weight: 400; font-size: 12px; color: var(--ink-2); }
.price-list .pnote { grid-column: 1 / -1; font-size: 12px; color: var(--ink-2); }
.tip-extra { margin: 10px 0 0; padding: 8px 10px; background: var(--surface-2); border-radius: 8px; font-size: 12.5px; color: var(--ink-2); }
.tip-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 12px; color: var(--ink-2); }
.tip-foot a { color: var(--ink); font-weight: 600; }

/* ---------- ad slot ---------- */
.ad-slot { position: relative; display: block; margin: 0 auto; }
.ad-slot > p {
  margin: 0; min-height: 110px; display: grid; place-items: center; text-align: center;
  border: 1px dashed var(--line); border-radius: var(--r-card);
  color: var(--ink-2); font-size: 13px; padding: 24px;
}
.ad-tag {
  position: absolute; top: -9px; left: 44px; background: var(--bg); padding: 0 8px;
  font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; color: var(--ink-2);
}

/* ---------- more button ---------- */
.more-wrap { display: flex; justify-content: center; margin-top: 28px; }
.more-btn {
  border: 1px solid var(--ink); background: var(--surface); border-radius: 999px;
  padding: 10px 22px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all .15s;
}
.more-btn:hover { background: var(--ink); color: var(--bg); }
.more-btn .n { font-family: var(--f-mono); font-size: 12px; opacity: .6; margin-left: 6px; }

/* ---------- OTT 요금 섹션 ---------- */
.ott-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ott-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px;
  display: flex; flex-direction: column;
}
.ott-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.ott-card-head h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.ott-card-head .ott-dot { width: 12px; height: 12px; }
.ott-count { font-size: 13px; color: var(--ink-2); margin: 0 0 16px; }
.ott-count b { color: var(--ink); font-family: var(--f-mono); }
.ott-count button { all: unset; cursor: pointer; }
.ott-count button:hover { color: var(--ink); text-decoration: underline; }
.ott-card .price-list { flex: 1; }
.ott-card .tip-extra { margin-top: 12px; }
.ott-card a.ott-link { margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--ink); }
.ott-card.top { border-color: var(--green); }
.top-tag { margin-left: auto; font-size: 11px; font-weight: 700; background: var(--green); color: var(--green-ink); padding: 2px 8px; border-radius: 999px; }
#priceFine { margin-top: 20px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 64px; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.footer-inner p { margin: 4px 0; color: var(--ink-2); font-size: 14px; }
.footer-notes b { color: var(--ink); }
.logo-sm .logo-text { font-size: 18px; }

/* ---------- modal ---------- */
.modal {
  width: min(760px, calc(100% - 32px)); max-height: calc(100% - 48px);
  padding: 0; border: 1px solid var(--line); border-radius: 16px;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-3);
}
.modal::backdrop { background: rgba(0, 0, 0, .75); }
.modal[open] { animation: modal-in .2s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-body { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 28px; }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 18px; line-height: 1;
}
.modal-close:hover { border-color: var(--ink); }
.modal h3 { font-size: 30px; padding-right: 40px; }
.modal .en { font-size: 14px; color: var(--ink-2); margin: 2px 0 12px; }
.modal .meta-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.tag { font-size: 12.5px; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }
.modal .quote {
  font-size: 19px; font-weight: 700; line-height: 1.5; letter-spacing: -0.02em;
  border-left: 3px solid var(--green); padding-left: 14px; margin: 0 0 16px;
}
.fun { margin: 0 0 20px; }
.fun h4 { margin: 0 0 6px; font-size: 13px; color: var(--green-text); }
.fun ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fun li { position: relative; padding-left: 26px; }
.fun li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: var(--green)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5' fill='none' stroke='%230A0A0A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.share-main {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  margin-top: 20px; height: 46px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--green); color: var(--green-ink); font-size: 15px; font-weight: 700;
}
.share-main:hover { filter: brightness(1.08); }
.share-main svg { width: 17px; height: 17px; }
.story-link { display: block; margin-top: 10px; text-align: center; font-size: 13px; color: var(--ink-2); text-decoration: none; }
.story-link:hover { color: var(--ink); text-decoration: underline; }

/* ---------- 공유 시트 ---------- */
.share-sheet { width: min(520px, calc(100% - 32px)); }
.share-body { position: relative; padding: 24px; }
.share-body h3 { font-size: 20px; margin-bottom: 16px; }
.share-preview { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); }
.share-nopreview { margin: 0; padding: 20px; border: 1px dashed var(--line); border-radius: 10px; font-size: 13px; color: var(--ink-2); text-align: center; }
.share-url { display: flex; gap: 8px; margin-top: 16px; }
.share-url input {
  flex: 1; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--ink); font: 13px var(--f-mono);
}
.share-url button, .share-actions a {
  height: 42px; padding: 0 16px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none; white-space: nowrap;
}
.share-url button { border: 0; background: var(--green); color: var(--green-ink); }
.share-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 8px; }
.share-hint { margin: 10px 0 0; font-size: 12.5px; color: var(--ink-2); }
.share-actions a { border: 1px solid var(--line); color: var(--ink); }
.share-actions a:hover { border-color: var(--ink-2); }
.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%); z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
}

.modal .watched { font-size: 13px; color: var(--ink-2); margin-top: 16px; }

.empty { grid-column: 1 / -1; text-align: center; padding: 48px; color: var(--ink-2); border: 1px dashed var(--line); border-radius: var(--r-card); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  :root { --header-h: 56px; }
  html { scroll-padding-top: 156px; }
  .wrap { padding: 0 16px; }
  .header-inner { gap: 12px; }
  .nav a { font-size: 14px; padding: 6px 8px; white-space: nowrap; }
  .nav-long { display: none; }
  .logo-text { font-size: 14px; letter-spacing: 0; }
  .logo-mark { width: 24px; height: 24px; }


  .hero { padding: 36px 0 84px; }
  .emblem { width: 220px; }
  .emblem-name { font-size: 29px; }
  .emblem-top, .emblem-bottom { font-size: 10px; letter-spacing: .1em; }
  .hero h1 { margin-top: 20px; }

  .ott-bar { padding: 10px 0 8px; }
  .ott-picks { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px; scroll-padding: 0 16px; }
  .ott-pick { height: 34px; font-size: 13.5px; }
  .ott-bar-summary { font-size: 12.5px; margin-top: 8px; }

  .section { padding: 44px 0 56px; }
  .section-head { margin-bottom: 20px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card { padding: 6px 6px 12px; }
    .card-badge { top: 12px; right: 12px; font-size: 11px; }
  .poster { padding: 10px; }
  .poster-title { font-size: 17px; padding-right: 0; }
  .poster-seal { display: none; }
  .card-body { padding: 10px 2px 0; }
  .card-title { font-size: 15.5px; }
  .card-line { font-size: 13px; }
  .ott-badge { height: 26px; padding: 0 8px; font-size: 12px; }

  .footer-inner { grid-template-columns: 1fr; gap: 16px; }

  .modal-body { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
  .modal-body .poster { max-width: 150px; }
  .modal h3 { font-size: 24px; }

  /* 모바일 툴팁은 하단 시트 */
  .tooltip { left: 12px !important; right: 12px; top: auto !important; bottom: 12px; width: auto; }
}
@media (max-width: 340px) {
  .grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- OTT 가이드 · 굿즈 · 보러 가기 ---------- */
.ex-tag {
  display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 4px; vertical-align: 1px;
  font-size: 11px; font-weight: 700; color: var(--ink-2); border: 1px dashed var(--ink-2);
}
.ott-ad {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; text-decoration: none;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface);
}
.ott-ad:hover { border-color: var(--ink-2); }
.ad-label { font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--ink-2); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; }
.ott-ad-main { flex: 1; min-width: 220px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.ott-ad-main b { font-size: 16px; }
.ott-ad-main span:last-child { color: var(--ink-2); font-size: 14px; }
.ott-ad-cta { font-size: 14px; font-weight: 600; }
.promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.promo { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.promo-head { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.promo-head small { margin-left: auto; font-family: var(--f-mono); font-size: 11px; color: var(--ink-2); }
.promo-title { margin: 0; font-weight: 700; font-size: 16px; }
.promo-desc { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.promo-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; align-items: center; }
.code-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px 0 0; cursor: pointer; overflow: hidden;
  border: 1px dashed var(--green); border-radius: 8px; background: var(--green-tint); color: var(--ink); font-size: 13px; font-weight: 600;
}
.code-btn span { height: 100%; display: grid; place-items: center; padding: 0 12px; font-family: var(--f-mono); color: var(--green-text); border-right: 1px dashed var(--green); }
.promo-link { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.goods-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.goods { display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--surface); }
.goods:hover { border-color: var(--ink-2); }
.goods-img { aspect-ratio: 1; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.goods-img img { width: 100%; height: 100%; object-fit: cover; }
.goods-ph { font-weight: 800; letter-spacing: .06em; color: var(--green); font-size: 14px; }
.goods-body { padding: 12px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.goods-for { font-size: 12px; color: var(--green-text); font-weight: 600; }
.goods-meta { font-size: 12.5px; color: var(--ink-2); }
.disclosure { margin-top: 20px; }
.price-promo { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--green-text); text-decoration: none; }
a[aria-disabled="true"] { cursor: default; }

.goods-body .ex-tag { align-self: flex-start; margin: 2px 0 0; }

/* 헤더: 보조 메뉴 (OTT 가이드 · 굿즈) */
.nav { align-items: center; }
.nav-sep { width: 1px; height: 16px; background: var(--line); margin: 0 6px; }
.nav a.nav-sub { color: var(--ink-2); opacity: .75; font-size: 14px; }
.nav a.nav-sub:hover, .nav a.nav-sub[aria-current="page"] { opacity: 1; color: var(--ink); }

/* 하위 페이지 머리말 */
.page-head { padding: 56px 0 8px; }
.page-head h1 { font-size: clamp(30px, 4.4vw, 48px); }
.page-head p { color: var(--ink-2); margin: 12px 0 0; max-width: 560px; }
.subpage .section { padding-top: 40px; }
.subpage .ad-slot { margin: 48px auto 64px; }
#promos .ott-ad { margin-bottom: 16px; }

/* 작품 상세: 보러 가기 */
.watch { margin-top: 24px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg); }
.watch h4 { margin: 0 0 10px; font-size: 13px; color: var(--ink-2); }
.watch-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.watch-row:first-of-type { border-top: 0; padding-top: 0; }
.watch-ott { display: inline-flex; align-items: center; gap: 8px; min-width: 96px; font-size: 14px; }
.watch-price { height: 28px; border-radius: 999px; font-family: var(--f-mono); font-size: 12.5px; }
.watch-go { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.watch-go:hover { color: var(--ink); }
.watch-goods { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.watch-goods a { color: var(--ink); text-decoration: none; }
.watch-goods a:hover { text-decoration: underline; }
.info-promo {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; cursor: pointer;
  border: 1px dashed var(--green); border-radius: 999px; background: var(--green-tint);
  color: var(--green-text); font-size: 12.5px; font-weight: 700; text-decoration: none;
}
.info-promo span { font-family: var(--f-mono); color: var(--ink); }

.support-link { display: inline-block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--green-text); text-decoration: none; }
a[aria-disabled="true"].support-link { color: var(--ink-2); }

@media (max-width: 767px) {
  .nav-sep { margin: 0 2px; }
  .nav a.nav-sub { font-size: 13px; }
  .page-head { padding-top: 36px; }
  .watch-go { margin-left: 0; }
}

/* 작품 페이지 정적 소개 (JS가 켜지면 지워짐) */
.prerendered-detail { padding: 32px 24px; }
.prerendered-detail h1 { font-size: 28px; }

/* ---------- 이번 주 존잼 ---------- */
.weekly-wrap { padding-bottom: 24px; }
.weekly-wrap[hidden], .support-wrap[hidden] { display: none; }
.weekly-date { margin: 0 0 6px; font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--green-text); }
.weekly-intro { margin: 10px 0 0; color: var(--ink-2); max-width: 640px; }
.weekly-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.weekly-card {
  display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px;
  border: 1px solid var(--green); border-radius: var(--r-card); background: var(--green-tint);
}
.weekly-poster { position: relative; }
.weekly-poster .poster { aspect-ratio: 2 / 3; }
.weekly-no {
  position: absolute; left: 8px; top: 8px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green); color: var(--green-ink);
  font-family: var(--f-mono); font-weight: 700; font-size: 13px;
}
.weekly-body { display: flex; flex-direction: column; min-width: 0; }
.weekly-body h3 { font-size: 18px; letter-spacing: -0.02em; }
.weekly-body .card-meta { margin: 2px 0 8px; }
.weekly-why { margin: 0 0 8px; font-size: 13.5px; font-weight: 700; color: var(--green-text); line-height: 1.5; }
.weekly-body .card-line { font-size: 13.5px; margin-bottom: 10px; }

/* ---------- 그린라벨 응원하기 ---------- */
.support-wrap { padding: 0 0 72px; }
.support-card {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center;
  padding: 28px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface);
}
.support-text h2 { font-size: 22px; }
.support-text p { margin: 8px 0 0; color: var(--ink-2); font-size: 14.5px; }
.cheer-count b { color: var(--green-text); font-family: var(--f-mono); }
.support-actions { display: flex; flex-direction: column; gap: 10px; }
.cheer-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 999px;
  border: 1px solid var(--green); background: transparent; color: var(--green-text); font-size: 15px; font-weight: 700; cursor: pointer;
  transition: background .15s, color .15s, transform .15s;
}
.cheer-btn svg { width: 18px; height: 18px; }
.cheer-btn:hover { background: var(--green-tint); }
.cheer-btn[aria-pressed="true"] { background: var(--green); color: var(--green-ink); }
.cheer-btn.pop { animation: pop .35s ease-out; }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }
.support-share {
  height: 40px; border: 0; background: none; color: var(--ink-2); font-size: 13.5px; cursor: pointer; text-decoration: underline;
}
.support-share:hover { color: var(--ink); }

@media (max-width: 1024px) {
  .weekly-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .weekly-card { grid-template-columns: 96px 1fr; gap: 12px; padding: 12px; }
  .weekly-body h3 { font-size: 16px; }
  .support-card { grid-template-columns: 1fr; padding: 20px; }
}

/* OTT 선택 바: 좁은 화면에서 넘칠 때 좌우 화살표 */
.picks-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 0 0 10px var(--bg);
}
.picks-arrow[hidden] { display: none; }
.picks-arrow.left { left: -4px; }
.picks-arrow.right { right: -4px; }
.picks-arrow:hover { border-color: var(--green); color: var(--green-text); }

/* ---------- 그린라벨 뉴스레터 ---------- */
.newsletter-wrap { padding: 0 0 32px; }
.newsletter {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center;
  padding: 32px; border: 1px solid var(--green); border-radius: var(--r-card);
  background: linear-gradient(135deg, var(--green-tint), var(--surface) 70%);
}
.nl-kicker { margin: 0 0 8px; font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--green-text); }
.nl-text h2 { font-size: clamp(22px, 2.6vw, 28px); }
.nl-text p:last-child { margin: 10px 0 0; color: var(--ink-2); }
.nl-row { display: flex; gap: 8px; }
.nl-row input {
  flex: 1; min-width: 0; height: 50px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 15px var(--f-body);
}
.nl-row input:focus { outline: none; border-color: var(--green); }
.nl-row button {
  height: 50px; padding: 0 26px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--green); color: var(--green-ink); font-size: 15px; font-weight: 800;
}
.nl-row button:disabled { opacity: .6; cursor: default; }
.nl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nl-consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 12.5px; color: var(--ink-2); cursor: pointer; }
.nl-consent input { margin-top: 2px; accent-color: var(--green); }
.nl-consent a { color: var(--ink); }
.nl-msg { margin: 10px 0 0; min-height: 20px; font-size: 13.5px; font-weight: 600; }
.nl-msg.ok { color: var(--green-text); }
.nl-msg.err { color: #F87171; }
.footer-link { color: var(--ink-2); }
@media (max-width: 767px) {
  .newsletter { grid-template-columns: 1fr; padding: 22px; gap: 18px; }
  .nl-row button { padding: 0 18px; }
}

/* 개인정보처리방침 */
.legal { max-width: 760px; color: var(--ink); }
.legal h2 { font-size: 18px; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink-2); font-size: 15px; }
.legal b { color: var(--ink); }
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 14px; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; color: var(--ink-2); vertical-align: top; }
.legal th { background: var(--surface-2); color: var(--ink); }
