/* 예고픽 — S03 영화 상세 · S04 시청 모드 · S05 기대평 전체 (토큰만 사용)
   모바일: 한 줄 흐름(order) / 데스크톱 ≥900: 좌 8 · 우 4, 순위 추이·함께 개봉·공유는 전체 폭 */

/* ───────── 레이아웃 ───────── */
.movie-layout { display: flex; flex-direction: column; gap: var(--sp-4); }
.movie-layout section { min-width: 0; }
.movie-main, .movie-side { display: contents; }
.mv-order-head { order: 1; }
.mv-order-player { order: 2; }
.mv-order-tabs { order: 3; }
.mv-order-react { order: 4; }
.mv-order-reviews { order: 5; }
.mv-order-info { order: 6; }
.mv-order-booking { order: 7; }
.movie-layout > * > .section, .movie-layout .section { margin-top: var(--sp-4); }
.page--movie .section { margin-top: var(--sp-8); }
.page--movie .movie-layout .section { margin-top: var(--sp-4); }
.section-count { color: var(--c-text-muted); font-weight: var(--fw-semibold); font-size: var(--fs-body); }
.section-head .section-title { margin: 0; }
.page--movie .section-title { font-size: var(--fs-h3); line-height: var(--lh-h3); margin-bottom: var(--sp-3); }
.link-more { display: inline-flex; align-items: center; gap: 2px; min-height: var(--touch); font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--c-text-muted); }
.link-more:hover { color: var(--c-text); }
.link-more[hidden] { display: none; }

@media (min-width: 900px) {
  .movie-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--sp-6); align-items: start; }
  .movie-main, .movie-side { display: flex; flex-direction: column; gap: var(--sp-4); min-width: 0; }
  .movie-side { padding-top: 4px; }
}

/* ───────── 제목 바 ───────── */
.movie-head { display: grid; gap: var(--sp-2); }
.movie-head__top { display: flex; align-items: center; gap: var(--sp-2); min-width: 0; }
.movie-head__back { margin-left: -10px; flex: none; }
.movie-head__title { font-size: var(--fs-h1); line-height: var(--lh-h1); font-weight: var(--fw-black); letter-spacing: var(--ls-tight); min-width: 0; overflow-wrap: anywhere; }
.movie-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: var(--fs-sm); color: var(--c-text-muted); }
.rating-badge {
  flex: none; display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: var(--r-xs);
  border: 1.5px solid var(--c-line-strong); color: var(--c-text-muted); font-size: var(--fs-caption); font-weight: var(--fw-black); font-variant-numeric: tabular-nums;
}
.rating-badge--adult { border-color: var(--c-up); color: var(--c-up); }

/* [복원 2026-10-14] v1.27 에서 순위 배지 규칙을 지우며 플레이어·예고편 탭·반응 카드 규칙까지 함께 지워졌던 것을 되살림(사용자 지시 2026-10-14 — 상세 반응 카드 간격·CLS) */
/* ───────── 플레이어 (위에 아무것도 올리지 않는다) ───────── */
.movie-player { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-2); min-width: 0; }
.player-stage { min-height: 200px; }
.player-slot--detail { border-radius: var(--r-lg); min-height: 200px; box-shadow: var(--shadow-2); }
.player-below { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: var(--sp-3); min-height: var(--touch); }
.player-below #sound-btn { grid-column: 2; grid-row: 1; }
.player-below .btn[hidden] { display: none; }
.trailer-meta { grid-column: 1; grid-row: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--sp-3); min-width: 0; padding-top: 4px; font-size: var(--fs-caption); color: var(--c-text-muted); }
/* 메타 한 줄 말줄임(채널명이 단어 중간에서 줄바꿈되지 않게, QA-21). 'YouTube에서 보기'는 필요하면 다음 줄 */
.trailer-meta__text { min-width: 0; flex: 1 1 12em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trailer-meta .dot { margin: 0 5px; opacity: 0.6; }
.trailer-meta__yt { display: inline-flex; align-items: center; gap: 4px; min-height: var(--touch); flex: none; color: var(--c-text-muted); text-decoration: underline; text-underline-offset: 3px; }
.trailer-meta__yt:hover { color: var(--c-text); }
@media (max-width: 360px) { .player-slot--detail { min-width: 0; } }

/* ───────── 예고편 탭 ───────── */
.trailer-picker { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); min-width: 0; }
.trailer-picker:empty { display: none; }
.trailer-picker__single { font-size: var(--fs-caption); }
.trailer-group__title { font-size: var(--fs-sm); line-height: var(--lh-sm); font-weight: var(--fw-bold); margin-bottom: var(--sp-2); }
.trailer-scroller {
  display: flex; gap: var(--sp-2); overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 6px;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: thin;
}
.trailer-tab {
  flex: none; width: 168px; display: grid; gap: 6px; padding: 6px; border-radius: var(--r-md); text-align: left;
  background: var(--c-surface); border: 1px solid var(--c-line); scroll-snap-align: start; cursor: pointer;
  transition: border-color var(--dur-1), background var(--dur-1);
}
.trailer-tab:hover { background: var(--c-surface-2); }
.trailer-tab[aria-pressed="true"] { border-color: var(--c-primary); background: var(--c-primary-soft); }
.trailer-tab__thumb { display: block; aspect-ratio: 16 / 9; border-radius: var(--r-sm); overflow: hidden; background: #000; }
.trailer-tab__thumb img { width: 100%; height: 100%; object-fit: cover; }
.trailer-tab__text { display: grid; gap: 2px; min-width: 0; padding: 0 2px 2px; }
.trailer-tab__type { font-size: var(--fs-micro); line-height: var(--lh-micro); font-weight: var(--fw-bold); color: var(--c-text-muted); letter-spacing: 0.02em; }
.trailer-tab[aria-pressed="true"] .trailer-tab__type { color: var(--c-primary-text); }
.trailer-tab__label { font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-bold); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trailer-tab small { color: var(--c-text-muted); font-size: var(--fs-micro); line-height: var(--lh-micro); }
@media (min-width: 900px) {
  .trailer-scroller { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-inline: 0; padding-inline: 2px; overflow: visible; }
  .trailer-tab { width: auto; }
}

/* ───────── 반응 바 ───────── */
.react-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); padding: var(--sp-4); border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-line); }
.react-card .expect--full { padding: 0; border: 0; background: transparent; }
.react-stats { display: flex; align-items: flex-start; gap: var(--sp-2); }
.react-stats__list { display: flex; flex-wrap: wrap; gap: 4px var(--sp-3); flex: 1 1 auto; min-width: 0; font-size: var(--fs-caption); color: var(--c-text-muted); }
.react-stat { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.react-stat b { color: var(--c-text); font-weight: var(--fw-bold); }
.react-stats .chip--demo { margin-top: 1px; }
.react-yt { font-size: var(--fs-caption); color: var(--c-text-faint); border-top: 1px solid var(--c-line); padding-top: var(--sp-2); }
.vote-row { display: flex; gap: var(--sp-2); }
#expect-slot + .vote-row { margin-top: var(--sp-1); } /* 기대온도 계기와 투표 줄 사이 16px(카드 gap 12px + 4px) — 사용자 지시 2026-10-14 */
.icon--flip { transform: scaleY(-1); }
.vote-help { font-size: var(--fs-caption); margin-top: -4px; }
.keep-row { display: flex; gap: var(--sp-2); align-items: center; }
.keep-btn { flex: 1 1 0; min-width: 0; }
.keep-btn[aria-pressed="true"] { border-color: var(--c-primary); color: var(--c-primary-text); background: var(--c-primary-soft); }
.keep-btn[aria-pressed="true"] .icon { fill: currentColor; }
.keep-share { flex: none; border: 1px solid var(--c-line-strong); }

/* ───────── 기대평 ───────── */
.review-list { display: grid; gap: var(--sp-3); }
.review { padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md); background: var(--c-surface); border: 1px solid var(--c-line); display: grid; gap: var(--sp-2); }
.review--editor { border-color: color-mix(in srgb, var(--c-editor) 45%, transparent); }
.review--pending, .review--blinded { background: var(--c-surface-2); border-style: dashed; }
.review__head { display: flex; align-items: center; flex-wrap: wrap; gap: 4px var(--sp-2); min-width: 0; }
.review__nick { font-size: var(--fs-sm); font-weight: var(--fw-bold); overflow-wrap: anywhere; }
.review__date { margin-left: auto; font-size: var(--fs-caption); color: var(--c-text-muted); }
.review__note { display: flex; align-items: center; gap: 6px; font-size: var(--fs-caption); color: var(--c-text-muted); font-weight: var(--fw-semibold); }
.review__note--blind { color: var(--c-danger); }
.review__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.review__tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--r-pill); background: var(--c-surface-2); color: var(--c-text); font-size: var(--fs-caption); font-weight: var(--fw-semibold); }
.review--pending .review__tag, .review--blinded .review__tag { background: var(--c-surface-3); }
.review__text { font-size: var(--fs-body); line-height: var(--lh-body); overflow-wrap: anywhere; }
.review__foot { display: flex; align-items: center; gap: var(--sp-2); margin-top: -4px; margin-bottom: -6px; }
.review__helpful {
  display: inline-flex; align-items: center; gap: 6px; min-height: var(--touch); padding: 0 10px 0 6px; margin-left: -6px; border-radius: var(--r-pill);
  font-size: var(--fs-caption); color: var(--c-text-muted); font-weight: var(--fw-semibold);
}
.review__helpful:hover:not([disabled]) { background: var(--c-surface-2); color: var(--c-text); }
.review__helpful[aria-pressed="true"] { color: var(--c-primary-text); }
.review__helpful[aria-pressed="true"] .icon { fill: currentColor; }
.review__helpful[disabled] { opacity: 0.5; cursor: default; }
.review__foot .icon-btn { margin-right: -8px; }
.review-empty { font-size: var(--fs-sm); padding: var(--sp-3) 0; }
.review-cta { margin-top: var(--sp-3); }
#reviews-cta:empty { display: none; }
#reviews-cta .notice { margin-top: var(--sp-3); }

/* 작성 시트 */
.review-form { display: grid; gap: var(--sp-4); }
.review-form .field + .field { margin-top: 0; }
.review-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.review-form legend { padding: 0; margin-bottom: 6px; }
.review-form__movie { font-size: var(--fs-caption); }
.review-form__labelrow { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-2); }
.review-form .tag-picker button[disabled] { opacity: 0.4; cursor: not-allowed; }
.review-form__warn { color: var(--c-gold-text); font-weight: var(--fw-semibold); }
.review-form .check .req { color: var(--c-primary-text); }
.review-form__foot { text-align: center; }
.review-form .input[disabled] { opacity: 0.6; }

/* 신고 시트 */
.report-form { display: grid; gap: var(--sp-3); }
.report-form__set { border: 0; padding: 0; margin: 0; display: grid; gap: 2px; }
.report-form__set legend { margin-bottom: var(--sp-2); }
.radio-row { display: flex; align-items: center; gap: var(--sp-3); min-height: var(--touch); padding: 0 var(--sp-2); border-radius: var(--r-sm); cursor: pointer; font-size: var(--fs-body); }
.radio-row:hover { background: var(--c-surface-2); }
.radio-row input { width: 20px; height: 20px; margin: 0; accent-color: var(--c-primary); flex: none; }

/* 로그인 시트(S09)는 components.css(공용) */

/* ───────── 영화 정보 ───────── */
.info-list { display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.info-list__row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: var(--sp-3); padding: 10px 0; border-bottom: 1px solid var(--c-line); font-size: var(--fs-sm); line-height: var(--lh-sm); }
.info-list dt { color: var(--c-text-muted); font-weight: var(--fw-semibold); }
.info-list dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.info-list dd .dday { margin-left: 6px; }
.synopsis { margin-top: var(--sp-3); }
.synopsis__text { font-size: var(--fs-sm); line-height: 22px; color: var(--c-text); }
.synopsis__text.is-clamped { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.synopsis__more { min-height: 36px; font-size: var(--fs-caption); font-weight: var(--fw-bold); color: var(--c-text-muted); text-decoration: underline; text-underline-offset: 3px; }
.synopsis__more[hidden] { display: none; }
/* KMDb 줄거리 출처(사용자 지시 2026-10-07) */
.synopsis__credit { margin-top: 4px; font-size: var(--fs-caption); }
.synopsis__credit .link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.info-source { margin-top: var(--sp-2); font-size: var(--fs-caption); }

/* ───────── 예매 ───────── */
.booking-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2); margin-bottom: var(--sp-2); }
.booking-btn { justify-content: space-between; border-radius: var(--r-md); padding: 0 var(--sp-3); }
.booking-btn .icon { color: var(--c-text-muted); flex: none; }

/* ───────── 순위 추이 (js/pages/_rank-trend.js) ─────────
   단일 시리즈 = 코랄 선(+글로우·면 그라데이션), 최고 순위 = 금 표식, 예고편 공개 = ▶ 표식(텍스트 톤).
   색은 --c-chart-* 토큰만. 글자는 텍스트 토큰(값 라벨 알약만 채움 위 대비색). */
.rt { display: grid; gap: var(--sp-3); }
.rt-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-2) var(--sp-3); }
.rt-toolbar .segmented { margin-inline: 0; padding-inline: 0; }
.rt-window { margin: 0; font-size: var(--fs-caption); color: var(--c-text-muted); }
.rt-content { display: grid; gap: var(--sp-3); transition: opacity var(--dur-2) var(--ease-out); }
.rt-content.is-refetch { opacity: 0.5; pointer-events: none; }

/* 요약 카드 3개 — 모바일도 한 줄(작게) */
.rt-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-2); }
.rt-stat {
  display: grid; gap: 2px; align-content: start; min-width: 0; padding: var(--sp-3);
  border-radius: var(--r-md); background: var(--c-surface); border: 1px solid var(--c-line);
}
.rt-stat__label { display: flex; align-items: center; gap: 4px; font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--c-text-muted); white-space: nowrap; }
.rt-stat__label small { font-size: var(--fs-micro); color: var(--c-text-faint); }
.rt-stat__value { display: flex; align-items: baseline; gap: 1px; font-size: 28px; line-height: 1.15; font-weight: var(--fw-black); letter-spacing: -0.03em; color: var(--c-text); }
.rt-stat__value .tnum { font-variant-numeric: tabular-nums; }
.rt-stat__value small { font-size: var(--fs-sm); font-weight: var(--fw-bold); letter-spacing: 0; color: var(--c-text-muted); }
.rt-stat__sub { font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--c-text-muted); overflow-wrap: anywhere; }
.rt-stat__sub b { color: var(--c-text); font-weight: var(--fw-bold); }
.rt-stat.is-gold { border-color: var(--c-gold-line); background: linear-gradient(160deg, var(--c-gold-soft), transparent 70%), var(--c-surface); box-shadow: var(--glow-gold); }
.rt-stat.is-gold .rt-stat__label, .rt-stat.is-gold .rt-stat__value, .rt-stat.is-gold .rt-stat__value small { color: var(--c-gold-text); }
.rt-delta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.rt-delta .delta { font-size: var(--fs-caption); }
@media (max-width: 420px) {
  .rt-stat { padding: 10px; }
  .rt-stat__value { font-size: 24px; }
}
@media (min-width: 900px) {
  .rt-stats { gap: var(--sp-3); }
  .rt-stat { padding: var(--sp-4) var(--sp-5); }
  .rt-stat__value { font-size: 36px; }
  .rt-stat__label, .rt-stat__sub { font-size: var(--fs-sm); line-height: var(--lh-sm); }
}

/* 차트 카드 */
.rt-card {
  position: relative; border-radius: var(--r-lg); border: 1px solid var(--c-line); overflow: hidden;
  background: radial-gradient(120% 90% at 100% 0%, var(--c-chart-card-spot), transparent 60%), var(--c-surface);
}
.rt-plot { position: relative; touch-action: pan-y; -webkit-user-select: none; user-select: none; outline: none; }
.rt-plot:focus-visible { box-shadow: inset 0 0 0 2px var(--c-focus); border-radius: var(--r-lg); }
.rt-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.rt-grid line { stroke: var(--c-chart-grid); stroke-width: 1; shape-rendering: crispEdges; }
.rt-grid .rt-base { stroke: var(--c-line-strong); }
.rt-ylab text, .rt-xlab text { fill: var(--c-text-faint); font-size: 11px; font-variant-numeric: tabular-nums; }
.rt-guides line { stroke: var(--c-line-strong); stroke-width: 1; transition: stroke var(--dur-1); }
.rt-guides line.is-on { stroke: var(--c-text-muted); }
.rt-stop-top { stop-color: var(--c-chart-area-top); }
.rt-stop-bottom { stop-color: var(--c-chart-area-bottom); }
.rt-line { fill: none; stroke: var(--c-chart-line); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.rt-glow { fill: none; stroke: var(--c-chart-glow); stroke-width: 6; stroke-linecap: round; }
.rt-cross { stroke: var(--c-chart-cross); stroke-width: 1; shape-rendering: crispEdges; }
.rt-dot { fill: var(--c-chart-line); stroke: var(--c-surface); stroke-width: 2; }
.rt-active { fill: var(--c-chart-line); stroke: var(--c-surface); stroke-width: 2.5; pointer-events: none; }
.rt-best { fill: var(--c-chart-best); stroke: var(--c-chart-best-ring); stroke-width: 2; }
.rt-best-halo { fill: var(--c-chart-best-glow); }

/* 값 라벨 알약: 마지막(코랄 채움) · 최고(중립+금 점) · 1위(금 채움) */
.rt-labels { position: absolute; inset: 0; pointer-events: none; }
.rt-pill {
  position: absolute; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: var(--r-pill);
  font-size: 12px; line-height: 18px; font-weight: var(--fw-black); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.rt-pill[hidden] { display: none; }
.rt-pill--last { background: var(--c-chart-line); color: var(--c-on-primary); }
.rt-pill--best { background: var(--c-surface-2); color: var(--c-text); border: 1px solid var(--c-line-strong); }
.rt-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-chart-best); box-shadow: 0 0 0 1px var(--c-chart-best-ring); }
.rt-pill--gold { background: var(--c-gold); color: var(--c-on-gold); box-shadow: var(--glow-gold); }
.rt-pill--gold .icon { stroke-width: 2.2; }

/* 예고편 공개 표식(▶) — x축 위. 히트 영역 34px */
.rt-events { position: absolute; inset: 0; pointer-events: none; }
.rt-event {
  position: absolute; width: 22px; height: 22px; padding: 0; transform: translate(-50%, -50%); pointer-events: auto; cursor: pointer;
  display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--c-line-strong);
  background: var(--c-surface-2); color: var(--c-text); box-shadow: 0 0 0 2px var(--c-surface);
  transition: background var(--dur-1), color var(--dur-1), border-color var(--dur-1);
}
.rt-event::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; }
.rt-event svg { margin-left: 1px; }
.rt-event:hover, .rt-event.is-on { background: var(--c-text); color: var(--c-bg); border-color: var(--c-text); }
.rt-event:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; }

/* 툴팁: 값이 주인공(굵게), 날짜·변화는 보조 */
.rt-tip {
  position: absolute; z-index: 2; pointer-events: none; display: grid; gap: 2px; min-width: 84px; padding: 8px 12px;
  border-radius: var(--r-md); background: var(--c-surface-3); color: var(--c-text); border: 1px solid var(--c-line-strong);
  box-shadow: var(--shadow-2); font-size: var(--fs-caption); line-height: var(--lh-caption); white-space: nowrap;
}
.rt-tip[hidden] { display: none; }
.rt-tip__date { color: var(--c-text-muted); }
.rt-tip__value { font-size: 20px; line-height: 24px; font-weight: var(--fw-black); letter-spacing: -0.02em; }
.rt-tip__value small { font-size: var(--fs-caption); font-weight: var(--fw-bold); color: var(--c-text-muted); margin-left: 1px; }
.rt-tip__value.is-none { font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--c-text-muted); font-weight: var(--fw-bold); }
.rt-tip__delta { color: var(--c-text-muted); }
.rt-tip__event { display: flex; align-items: center; gap: 4px; margin-top: 2px; padding-top: 4px; border-top: 1px solid var(--c-line); font-weight: var(--fw-semibold); }
.rt-tip__event i { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--c-text); color: var(--c-bg); }

/* 범례(마크 설명) */
.rt-key { display: flex; flex-wrap: wrap; gap: 4px var(--sp-4); margin: 0; font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--c-text-muted); }
.rt-key__item { display: inline-flex; align-items: center; gap: 6px; }
.rt-key__line { width: 16px; height: 3px; border-radius: 2px; background: var(--c-chart-line); box-shadow: 0 0 6px var(--c-chart-glow); }
.rt-key__best { width: 10px; height: 10px; border-radius: 50%; background: var(--c-chart-best); box-shadow: 0 0 0 2px var(--c-chart-best-ring); }
.rt-key__event { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--c-surface-2); border: 1px solid var(--c-line-strong); color: var(--c-text); }
.rt-key__event svg { width: 8px; height: 8px; }
.rt-key__gap { color: var(--c-text-faint); }

/* 빈 상태 */
.rt-empty {
  display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-5) var(--sp-4);
  border-radius: var(--r-lg); border: 1px dashed var(--c-line-strong); background: var(--c-surface);
}
.rt-empty__ghost { flex: none; width: 96px; height: 32px; fill: none; stroke: var(--c-line-strong); stroke-width: 2.5; stroke-linecap: round; }
.rt-empty__title { margin: 0; font-weight: var(--fw-bold); }
.rt-empty__body { margin: 2px 0 0; font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--c-text-muted); }
.rt-empty .btn { margin-top: var(--sp-2); }
@media (max-width: 420px) { .rt-empty__ghost { display: none; } }

/* 처음 볼 때 그려지기(왼→오). prefers-reduced-motion 이면 JS 가 is-animating 을 붙이지 않는다 */
.rt-card.is-animating .rt-draw { stroke-dasharray: var(--len, 4000) var(--len, 4000); stroke-dashoffset: var(--len, 4000); }
.rt-card.is-animating .rt-area { opacity: 0; }
.rt-card.is-animating .rt-pop, .rt-card.is-animating .rt-pop-html { opacity: 0; scale: 0.4; }
.rt-pop { transform-box: fill-box; transform-origin: center; }
.rt-card.is-drawn .rt-draw { stroke-dashoffset: 0; transition: stroke-dashoffset var(--dur, 600ms) linear var(--delay, 0ms); }
.rt-card.is-drawn .rt-area { opacity: 1; transition: opacity 700ms var(--ease-out) 350ms; }
.rt-card.is-drawn .rt-pop, .rt-card.is-drawn .rt-pop-html {
  opacity: 1; scale: 1; transition: opacity 240ms ease var(--delay, 0ms), scale 420ms cubic-bezier(0.3, 1.6, 0.5, 1) var(--delay, 0ms);
}
@media (prefers-reduced-motion: reduce) {
  .rt-card.is-animating .rt-draw { stroke-dasharray: none; stroke-dashoffset: 0; }
  .rt-card.is-animating .rt-area, .rt-card.is-animating .rt-pop, .rt-card.is-animating .rt-pop-html { opacity: 1; scale: 1; }
  .rt-content, .rt-event, .rt-guides line { transition: none; }
}
@media (forced-colors: active) {
  .rt-line { stroke: CanvasText; }
  .rt-best { fill: Highlight; }
  .rt-areas, .rt-glows { display: none; }
}

/* ───────── 함께 개봉 ───────── */
.together-scroller {
  list-style: none; display: flex; gap: var(--sp-3); overflow-x: auto; scroll-snap-type: x proximity;
  margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) var(--sp-2); scroll-padding-inline: var(--gutter);
}
.together-scroller > li { flex: none; width: 200px; scroll-snap-align: start; }
.together-card { display: grid; gap: 6px; }
.together-card__thumb { display: block; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: #000; }
.together-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-3) var(--ease-out); }
.together-card:hover img { transform: scale(1.03); }
.together-card__title { font-size: var(--fs-sm); line-height: var(--lh-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.together-card__meta { display: flex; gap: 6px; color: var(--c-text-muted); }
.movie-together[hidden] { display: none; }
@media (min-width: 900px) { .together-scroller { margin: 0; padding-inline: 0; } .together-scroller > li { width: 220px; } }

/* ───────── 공유 · 고지 ───────── */
.share-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.movie-yt-notice { margin-top: var(--sp-8); }

/* ───────── S05 기대평 전체 ───────── */
.reviews-head { display: flex; align-items: flex-start; gap: var(--sp-2); margin-bottom: var(--sp-3); }
.reviews-head .icon-btn { margin-left: -10px; flex: none; }
.reviews-head__titles { min-width: 0; }
.reviews-head__title { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: var(--fw-black); letter-spacing: var(--ls-tight); overflow-wrap: anywhere; }
.reviews-head__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.reviews-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--c-text-muted); }
.reviews-toolbar > #rv-sort { min-width: 0; flex: 1; }
.reviews-toolbar { display: flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-3); }
.page--reviews .notice { margin-bottom: var(--sp-4); }
.reviews-dock { margin-top: var(--sp-4); }
.reviews-dock__inner {
  position: fixed; left: 0; right: 0; z-index: calc(var(--z-tabbar) - 1);
  bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
  padding: var(--sp-3) var(--gutter); background: color-mix(in srgb, var(--c-bg) 88%, transparent);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border-top: 1px solid var(--c-line);
}
.page--reviews.has-dock { padding-bottom: var(--sp-10); } /* 바 높이 보정은 html.has-dock body(base.css) */
@media (min-width: 900px) {
  .reviews-dock__inner { position: static; padding: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; max-width: 360px; }
  .page--reviews.has-dock { padding-bottom: var(--sp-10); }
  .page--reviews .review-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ───────────── 예고편 리뷰 (2026-10-04: 한 줄 기대평 → 예고편 리뷰) ───────────── */
.movie-reviews { scroll-margin-top: calc(var(--topbar-h, 56px) + 12px); }
.movie-reviews:focus { outline: none; }
.movie-reviews .section-head { align-items: flex-start; }
.section-head__titles { min-width: 0; }
.movie-reviews .section-head .section-title { margin-bottom: 2px; }
.review-cta-top { flex: none; }
.reviews-all { margin-top: var(--sp-3); }
.review-cta__note { margin-top: var(--sp-2); font-size: var(--fs-caption); text-align: center; }
.review-empty { padding: var(--sp-4); border-radius: var(--r-md); border: 1px dashed var(--c-line-strong); text-align: center; display: grid; gap: 4px; font-size: var(--fs-sm); }

.rv-summary { display: grid; gap: var(--sp-2); padding: var(--sp-3) var(--sp-4); margin-bottom: var(--sp-3); border-radius: var(--r-md); background: var(--c-surface); border: 1px solid var(--c-line); }
.rv-summary__head { font-size: var(--fs-sm); }
.rv-summary__avg { font-size: var(--fs-h3); color: var(--c-gold-text); }
.rv-summary__hint { font-size: var(--fs-caption); }
.rv-dist { display: grid; gap: 4px; max-width: 360px; }
.rv-dist__row { display: grid; grid-template-columns: 14px minmax(0, 1fr) 32px; align-items: center; gap: var(--sp-2); font-size: var(--fs-caption); color: var(--c-text-muted); }
.rv-dist__bar { height: 6px; border-radius: 3px; background: var(--c-surface-2); overflow: hidden; }
.rv-dist__bar i { display: block; height: 100%; width: var(--v); background: var(--c-gold); border-radius: 3px; }
.rv-dist__n { text-align: right; }

.review__scoreline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px var(--sp-2); }
.review__trailer { display: inline-flex; align-items: center; gap: 3px; font-size: var(--fs-caption); color: var(--c-text-muted); }
.review__legacy { font-size: 11px; color: var(--c-text-faint); border: 1px solid var(--c-line-strong); border-radius: var(--r-pill); padding: 0 7px; line-height: 18px; }
.review__movie { font-size: var(--fs-sm); font-weight: var(--fw-bold); }
.review__body { display: grid; gap: 2px; justify-items: start; }
.review__text { white-space: pre-line; }
.review__text.is-clamped { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.review__more { font-size: var(--fs-caption); font-weight: var(--fw-semibold); color: var(--c-text-muted); min-height: 32px; padding: 0 2px; text-decoration: underline; text-underline-offset: 3px; }
.review__more:hover { color: var(--c-text); }
.review__report { font-size: var(--fs-caption); color: var(--c-text-muted); min-height: 36px; padding: 0 8px; border-radius: var(--r-pill); position: relative; }
.review__report::after { content: ""; position: absolute; inset: -4px -3px; } /* 터치 44px(사용자 지시 2026-10-07 출시 전 감사 A-5) */
.review__report:hover { color: var(--c-text); background: var(--c-surface-2); }

/* 작성 시트 */
.rv-scorepick__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.rv-scorepick__btn {
  min-height: 48px; border-radius: var(--r-md); border: 1px solid var(--c-line-strong); background: var(--c-surface-2); color: var(--c-text-muted);
  font-size: var(--fs-h3); font-variant-numeric: tabular-nums; transition: background var(--dur-2), border-color var(--dur-2), color var(--dur-2);
}
.rv-scorepick__btn.is-under { background: var(--c-gold-soft); border-color: var(--c-gold-line); color: var(--c-text); }
.rv-scorepick__btn[aria-checked="true"] { background: var(--c-gold); border-color: var(--c-gold); color: #15161A; }
.rv-scorepick__btn:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.rv-scorepick__scale { display: flex; justify-content: space-between; margin-top: 4px; font-size: 11px; color: var(--c-text-faint); }
.rv-scorepick__now { margin-top: 2px; font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--c-gold-text); min-height: 20px; }
.rv-prompts { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 var(--sp-2); }
.rv-prompt { min-height: 32px; padding: 0 10px; border-radius: var(--r-pill); border: 1px dashed var(--c-line-strong); font-size: var(--fs-caption); color: var(--c-text-muted); position: relative; }
.rv-prompt::after { content: ""; position: absolute; inset: -6px 0; }
.rv-prompt:hover { color: var(--c-text); border-style: solid; }
.rv-textarea { min-height: 140px; resize: vertical; }
.rv-tc { display: flex; align-items: center; flex-wrap: wrap; gap: 4px var(--sp-2); margin-top: var(--sp-2); }
.rv-tc .field__help { margin: 0; }
.field__counter.is-short { color: var(--c-gold-text); }
.review-form__policy { display: flex; gap: 8px; align-items: flex-start; padding: var(--sp-3); border-radius: var(--r-md); background: var(--c-primary-soft); font-size: var(--fs-caption); line-height: 19px; color: var(--c-text); }
.review-form__policy .icon { flex: none; color: var(--c-primary-text); margin-top: 1px; }
.review-form__strike { display: flex; gap: 8px; align-items: flex-start; padding: var(--sp-2) var(--sp-3); border-radius: var(--r-md); border: 1px solid color-mix(in srgb, var(--c-danger) 45%, transparent); font-size: var(--fs-caption); }
.review-form__strike .icon { flex: none; color: var(--c-danger); }
.rv-trailer-filter { margin-bottom: var(--sp-3); }

/* ── 리뷰 상태 안내(작성자 본인에게만): 검수 중 · AI 가림 사유 (2026-10-04 검수 후 공개) ── */
.review__note--checking { color: var(--c-text); }
.review__note--checking .icon { color: var(--c-primary-text); }
.review__note span small { font-weight: var(--fw-regular, 400); color: var(--c-text-muted); }
.review__note--blind { align-items: flex-start; line-height: 19px; }

/* v1.1 D 지면 — 「함께 개봉하는 영화」 스폰서 1칸(DETAIL_ALSO, 사용자 지시 2026-10-07): 함께 개봉 카드와 같은 모양·폭,
   카드 첫머리 줄(썸네일 위·이미지 밖)에 「광고」 칩 + ○○ 제공. 목록 맨 앞 고정 */
.together-ad { display: grid; gap: 4px; }
.together-ad__label { display: flex; align-items: center; gap: 6px; min-width: 0; margin: 0; }
.together-ad__label .chip--ad { cursor: pointer; position: relative; }
.together-ad__label .chip--ad::after { content: ""; position: absolute; inset: -11px -6px; }
.together-ad__label small { font-size: var(--fs-caption); color: var(--c-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 스폰서 칸이 있으면 일반 카드도 라벨 줄 높이만큼 내려 썸네일·제목 줄을 맞춘다(광고 칸만 튀어나와 보이지 않게) */
.together-scroller.has-ad > li:not(.together-item--ad) { padding-top: 26px; }
.together-ad__label { min-height: 22px; }

/* ── 출시 전 감사 P-2(사용자 지시 2026-10-07): 느린 모바일(390px·느린 4G)에서 상세 CLS 0.09~0.11 →
   ① (순위 배지 줄 — 2026-10-13 배지 자체를 뺐다)
   ② 프리렌더 본문이 짧아 첫 화면에 보이던 푸터가 JS 렌더 뒤 아래로 밀림 → 상세 main 은 처음부터 화면 높이 이상 */
main#app.page--movie { min-height: 100vh; min-height: 100svh; }
