/* cinema-extra.css — 리디자인 「シネマ」 영역 스타일(2026-11-14). 소유 담당은 docs/DESIGN_CINEMA.md 표. 토큰은 css/cinema.css
   담당 5: 결과(엔딩·공유 카드) · 옛 추리 사건(.play--deduce) · 법률 문서(.legal)
   규칙: 기본형(.btn·.sheet·.chip-btn 등)은 담당 1 것을 쓰고, 여기서는 영역 클래스로 좁혀 덮어쓴다. */

/* ═════════════════ A. 결과(엔딩) — 영화 포스터 + 엔딩 크레딧 ═════════════════ */
.play--end { background: var(--c-bg); }
.play--end .ending { position: relative; align-items: stretch; padding: 0 20px calc(34px + var(--sab)); }
/* 흐린 뒤 사진(.end-backdrop)이 제목 줄 아래까지 내려오므로, 뒤따르는 글이 그 위에 그려지게 위치 지정 */
.play--end .ending > :not(.end-hero) { position: relative; }

/* 포스터: 뒤에 같은 사진을 흐리게(목록 backdrop 과 같은 말투), 앞에 원래 비율 그대로의 사진 카드 */
.end-hero { position: relative; isolation: isolate; display: flex; justify-content: center; margin: 0 -20px; padding: 24px 20px 0; }
.end-backdrop { position: absolute; inset: 0 0 -96px; z-index: -1; overflow: hidden; pointer-events: none; }
.end-backdrop img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: blur(14px) saturate(1.15); transform: scale(1.18); opacity: .62; }
.end-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 10, 9, .5) 0%, rgba(11, 10, 9, .25) 30%, rgba(11, 10, 9, .86) 72%, var(--c-bg) 100%); }

.play--end .end-photo { position: relative; width: 100%; max-width: 440px; margin: 0; padding: 0; background: none; box-shadow: none; transform: none; }
.play--end .end-photo img,
.play--end .end-photo-blank {
  display: block; width: 100%; max-height: 54dvh; aspect-ratio: auto; object-fit: cover;
  border-radius: 16px; background: var(--c-surface);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 226, 180, .14);
}
.play--end .end-photo-blank { aspect-ratio: 4 / 5; display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 40%, rgba(243, 154, 43, .28), transparent 70%), var(--c-surface); }
.play--end .end-face { width: 44%; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 217, 138, .55), 0 0 40px rgba(232, 170, 60, .35); }
/* 금빛 한 줄이 사진 위를 한 번 지나감(ending.js 가 .is-glint 를 붙임) */
.play--end .end-photo::after {
  content: ""; position: absolute; inset: 0; border-radius: 16px; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 217, 138, .32) 50%, transparent 62%) 130% 0 / 260% 100% no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
  .play--end .end-photo.is-glint::after { animation: end-glint 1.2s 1s cubic-bezier(0.23, 1, 0.32, 1) both; }
}
@keyframes end-glint { 0% { opacity: 0; background-position: 130% 0; } 25% { opacity: 1; } 100% { opacity: 0; background-position: -30% 0; } }

/* 「解決」 도장: 금색 겹테두리(도장 찍히는 움직임은 ending.js) */
.play--end .end-stamp {
  position: absolute; right: 12px; bottom: 14px; top: auto; left: auto;
  padding: 3px; border: 1.5px solid rgba(232, 181, 77, .7); border-radius: 8px;
  background: rgba(11, 10, 9, .62); color: var(--c-gold-hi);
  font-family: var(--f-title), var(--f-sym), serif; font-weight: 800; font-size: 10.5px; line-height: 1.2; letter-spacing: .14em;
  transform: rotate(-7deg); box-shadow: 0 6px 16px rgba(0, 0, 0, .45);
  text-shadow: none; opacity: .72; /* 도장은 낮은 대비 — 초점은 「ピントが合った。」(Codex 12) */
}
.play--end .end-stamp > span { display: block; padding: 5px 10px 5px 12px; border: 1px solid rgba(255, 217, 138, .55); border-radius: 5px; white-space: nowrap; }

/* 제목 묶음(왼쪽 정렬 — 시안 홈 히어로처럼) */
.play--end .end-eyebrow {
  display: flex; align-items: center; gap: 8px; margin: 22px 0 0; text-align: left;
  font-family: var(--f-ui), sans-serif; font-weight: 700; font-size: 12px; line-height: 1.4; letter-spacing: .18em; color: var(--c-gold);
}
html[data-lang='zh'] .play--end .end-line { text-wrap: balance; } /* DET-13: 마지막 줄에 「谎。」만 남지 않게 */
.play--end .end-line {
  margin: 8px 0 0; text-align: left; color: var(--c-text);
  font-family: var(--f-title), var(--f-sym), serif; font-weight: 800; font-size: 34px; line-height: 1.22; letter-spacing: .04em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .6);
}
.play--end .end-sub,
.play--end .end-title:not(.end-title--level) {
  margin: 8px 0 0; text-align: left; color: var(--c-text2); /* 사건 제목 = 보조(Codex 12) */
  font-family: var(--f-title), var(--f-sym), serif; font-weight: 700; font-size: 15.5px; line-height: 1.45; letter-spacing: .05em;
}
.play--end .end-text { margin: 12px 0 0; text-align: left; color: var(--c-text2); font-size: 14.5px; line-height: 1.85; }

/* 기록 = 엔딩 크레딧 한 줄(금색 가는 줄 사이 3칸, Oswald 숫자) */
.play--end .stats {
  margin: 38px 0 4px; padding: 16px 0 14px; border: 0; /* 감상(글) 뒤 넉넉히 띄우고 기록 */
  border-top: 1px solid rgba(232, 181, 77, .4); border-bottom: 1px solid rgba(232, 181, 77, .4);
  background: linear-gradient(90deg, rgba(232, 181, 77, .09), rgba(232, 181, 77, 0) 85%);
}
.play--end .stats div + div { border-left: 1px solid var(--c-line); }
.play--end .stats dt { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; color: var(--c-text2); line-height: 1.5; }
.play--end .stats dd { margin: 2px 0 0; font-family: var(--f-num); font-weight: 500; font-size: 30px; line-height: 1.2; letter-spacing: .02em; color: var(--c-gold-hi); font-variant-numeric: tabular-nums; }
.play--end .stats-best { margin: 4px 0 0; text-align: center; font-family: var(--f-num); font-size: 13px; letter-spacing: .08em; color: var(--c-text2); }
.play--end .end-actions { margin: 18px 0 4px; }
.play--end .end-actions .btn { min-height: 54px; border-radius: var(--r-pill); font-size: 16px; letter-spacing: .08em; gap: 10px; }

/* 해설 */
.play--end .explain { margin-top: 32px; }
.play--end .explain-title { display: flex; align-items: center; gap: 14px; margin: 0 0 8px; font-family: var(--f-title), serif; font-weight: 800; font-size: 20px; letter-spacing: .1em; color: var(--c-text); }
.play--end .explain-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(232, 181, 77, .5), transparent); }
.play--end .explain li { padding: 14px 0 14px 44px; border-top: 1px solid var(--c-line); }
.play--end .explain li:first-child { border-top: 0; }
.play--end .explain li::before {
  top: 14px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(232, 181, 77, .12); color: var(--c-gold-hi); box-shadow: inset 0 0 0 1px rgba(232, 181, 77, .45);
  font-family: var(--f-num); font-weight: 500; font-size: 14px;
}
.play--end .explain strong { font-family: var(--f-title), var(--f-sym), serif; font-weight: 700; font-size: 15.5px; line-height: 1.55; letter-spacing: .03em; color: var(--c-text); }
.play--end .explain p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.85; color: var(--c-text2); }

/* 다음 사건 = 예고편 카드(오른쪽에 다음 편 표지, 금색 둥근 단추) */
.play--end .next-case {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 136px; margin-top: 30px; padding: 18px 16px 18px 18px; row-gap: 3px; align-content: center;
  border-radius: 18px; background: var(--c-surface); color: var(--c-text);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 226, 180, .14);
}
.play--end .next-art { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; z-index: -1; }
.play--end .next-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.play--end .next-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--c-surface) 0%, rgba(28, 24, 20, .78) 34%, rgba(28, 24, 20, .12) 100%), linear-gradient(0deg, rgba(8, 6, 4, .55), transparent 60%);
}
.play--end .next-kicker { display: flex; align-items: center; gap: 8px; font-family: var(--f-ui), sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .18em; color: var(--c-gold); line-height: 1.5; }
.play--end .next-title { font-family: var(--f-title), var(--f-sym), serif; font-weight: 800; font-size: 22px; line-height: 1.3; letter-spacing: .05em; text-shadow: 0 2px 14px rgba(0, 0, 0, .75); }
.play--end .next-meta { font-family: var(--f-ui), sans-serif; font-size: 12px; letter-spacing: .04em; color: var(--c-text2); opacity: 1; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
.play--end .next-case .next-arrow {
  width: 54px; height: 54px; padding: 16px; border-radius: 50%; align-self: center;
  background: var(--g-gold); color: var(--c-on-gold); stroke-width: 2.4;
  box-shadow: 0 8px 24px rgba(232, 170, 60, .45);
}
.play--end .next-tag { grid-column: 1; margin: 2px 0 3px; font-size: 13px; line-height: 1.55; color: var(--c-text); opacity: .9; text-shadow: 0 1px 8px rgba(0, 0, 0, .85); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html[data-lang='ko'] .play--end .next-tag { word-break: keep-all; }
html[data-lang='ja'] .play--end .next-tag { word-break: auto-phrase; }
.play--end .next-case .next-arrow { grid-row: 1 / 5; }
.play--end .next-case.is-locked .next-art img { filter: grayscale(.85) brightness(.5); }
.play--end .next-case.is-locked .next-arrow { padding: 15px; background: var(--c-glass-solid); color: var(--c-gold-hi); stroke-width: 1.9; box-shadow: inset 0 0 0 1px rgba(232, 181, 77, .55), 0 8px 24px rgba(0, 0, 0, .4); }
.play--end .next-case--end { background: radial-gradient(120% 140% at 100% 0%, rgba(243, 154, 43, .22), transparent 60%), var(--c-surface); box-shadow: 0 18px 40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 217, 138, .45); }
.play--end .end-foot { margin-top: 16px; }
/* 2026-11-19 S1 핵심 루프: 예고편 카드는 기록 바로 아래(첫 행동 = 다음 사건), 공유는 그 아래 보조 단추, 해설 끝에 「다음 사건 →」 한 번 더 */
.play--end .stats + .next-case, .play--end .stats-best + .next-case { margin-top: 20px; }
.play--end .end-actions--sub { margin: 12px 0 0; }
/* 코인 모드 첫 해결 보상 한 줄(S3 요청) — 기록 바로 아래 금색 알약 */
.play--end .end-reward { align-self: center; display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 0; padding: 7px 16px 7px 10px; border-radius: var(--r-pill); background: rgba(232, 181, 77, .12); box-shadow: inset 0 0 0 1px rgba(232, 181, 77, .45); color: var(--c-gold-hi); font-weight: 700; font-size: 14px; letter-spacing: .04em; }
.play--end .end-reward-ico { width: 22px; height: 22px; flex: none; }
.play--end .stats + .end-reward + .next-case, .play--end .stats-best + .end-reward + .next-case { margin-top: 18px; }
.play--end .end-actions--sub .btn { min-height: 48px; font-size: 14.5px; letter-spacing: .06em; color: var(--c-text2); }
.play--end .end-actions--sub .btn .ico { width: 18px; height: 18px; }
.play--end .end-next { width: 100%; min-height: 56px; margin-top: 28px; border-radius: var(--r-pill); font-size: 16px; letter-spacing: .08em; gap: 10px; text-decoration: none; }
.play--end .end-next .ico { width: 20px; height: 20px; stroke-width: 2.2; }
.play--end .end-next.is-locked { background: var(--c-glass-solid); color: var(--c-gold-hi); box-shadow: inset 0 0 0 1px rgba(232, 181, 77, .55); }
.play--end .end-next + .end-foot { margin-top: 12px; }
.play--end .end-next-sub { font-size: 12.5px; font-weight: 500; letter-spacing: .04em; opacity: .8; }
.play--end .end-next-sub::before { content: "·"; margin-right: 8px; }
.play--end .end-foot .btn { border-radius: var(--r-pill); }

/* 공유 카드 창 */
.sheet--share .share-img { border-radius: 12px; box-shadow: 0 18px 44px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 226, 180, .16); }

/* ═════════════════ B. 옛 추리 사건(.play--deduce) ═════════════════ */
.play--deduce { background: var(--c-bg); }

/* 탭: 어두운 분절 막대 + 금테 표시(담당 1 .seg-btn.is-on 과 같은 말투) */
.play--deduce > .tabs { margin: 10px 14px 0; padding: 4px; border: 0; border-radius: var(--r-pill); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--c-line); }
.play--deduce .tab { z-index: 1; min-height: 44px; border-radius: var(--r-pill); color: var(--c-text2); font-size: 13.5px; letter-spacing: .06em; }
.play--deduce .tab .ico { width: 17px; height: 17px; }
/* 탭 이름이 낱말 가운데서 꺾이던 것(360 영어 「Statement/s」「Noteb/ook」, 2026-11-19 S1): 이름·배지는 한 줄, 좁은 영어 화면은 아이콘을 빼고 자간을 줄인다 */
.play--deduce .tab > span { white-space: nowrap; }
.play--deduce .tab-badge { flex: none; }
html[data-lang='en'] .play--deduce .tab { gap: 5px; letter-spacing: .02em; }
@media (max-width: 420px) { html[data-lang='en'] .play--deduce .tab .ico { display: none; } }
@media (max-width: 340px) { html[data-lang='en'] .play--deduce .tab { font-size: 12.5px; } }
.play--deduce .tab.is-on { color: var(--c-gold-hi); }
.play--deduce > .tabs { grid-template-columns: repeat(var(--tabs, 3), 1fr); } /* 증언 없는 사건은 2칸(deduce.js --tabs) */
.play--deduce .tab-ind { z-index: 0; left: 4px; top: 4px; bottom: 4px; width: calc((100% - 8px) / var(--tabs, 3)); height: auto; border-radius: var(--r-pill); background: var(--c-surface2); box-shadow: inset 0 0 0 1px rgba(232, 181, 77, .38), 0 4px 14px rgba(0, 0, 0, .35); }
.play--deduce .tab-ind::before { display: none; }
.play--deduce .tab-badge { font-family: var(--f-num); font-size: 11.5px; letter-spacing: .04em; padding: 1px 7px; background: rgba(232, 181, 77, .14); color: var(--c-gold-hi); }
.play--deduce .tab.is-on .tab-badge { background: var(--c-gold); color: var(--c-on-gold); }

/* 현장 */
.play--deduce .scene-chips { padding: 10px 14px 0; }
.play--deduce .scene-name { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-ui), sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--c-gold); }
.play--deduce .scene-name::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-amber); box-shadow: 0 0 10px var(--c-amber); }
.play--deduce .chip-count { font-family: var(--f-num); letter-spacing: .04em; }
.play--deduce .film { border-radius: 10px; background: #050404; box-shadow: 0 18px 40px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 226, 180, .1); }
.play--deduce .film-edge::before { opacity: .32; }
.play--deduce .film-mark { font-family: var(--f-num); font-size: 11px; letter-spacing: .22em; color: var(--c-gold); }
/* 하나의 말: 대사만(2026-11-15) — 상자·얼굴 없이 자막(css/cinema-play.css 3번 .stage-area > .bubble 공통) */
/* 소지품 칸(시안 .slot) */
.play--deduce .dbag .slot { border-radius: 14px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px rgba(255, 232, 196, .14); }
.play--deduce .dbag .slot.is-sel { box-shadow: inset 0 0 0 1px var(--c-gold), 0 0 0 1px var(--c-gold), 0 0 16px rgba(232, 181, 77, .4); }
.play--deduce .bag-empty, .play--deduce .dbag-hold { color: var(--c-text2); }
.play--deduce .scene-tip { color: var(--c-text2); letter-spacing: .04em; }
/* 작은 화면: 사진 위 글자가 11px 미만이면 같은 글을 사진 바로 아래 자막 칸(대사 없을 때)에 12px 본문으로(js/deduce.js paintOvRead, ja 감수 JA-01~03 11/30).
   자막 칸은 높이 고정이라 사진 크기는 그대로. 넘치면 칸 안에서만 스크롤 */
.play--deduce .stage-area > .bubble > .ov-read { flex: 0 1 auto; min-height: 0; width: 100%; max-width: 30em; margin: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  font-size: 12px; line-height: 1.55; letter-spacing: .02em; text-align: center; color: var(--c-text2); text-shadow: 0 1px 2px rgba(0, 0, 0, .95);
  visibility: visible; } /* 빈 자막 칸(.bubble)은 visibility:hidden — 이 글만 보이게 */
.ov-read[hidden] { display: none !important; }
/* 성능(RELEASE 1201): 넘치지 않는 스크롤 칸은 스크롤 레이어를 만들지 않게(js/deduce.js scrollOnlyIfOver). 넘치면 그대로 스크롤 */
.scene-chips.is-fit, .play--deduce > .panel.is-fit, .play--deduce .stage-area > .bubble > .ov-read.is-fit, .ov-read--pic.is-fit { overflow: hidden; }
.play--deduce .stage-area > .bubble > .ov-read .ov-read-line + .ov-read-line::before,
.ov-read--card .ov-read-line + .ov-read-line::before { content: ' / '; opacity: .55; }
/* 보기 창(물건·방송 기록·크게 본 단서): 사진 아래 대화록 — 한 줄씩 12px(DET-01~03) */
.ov-read--pic { margin: 8px 2px 4px; max-height: 40dvh; overflow-y: auto; overscroll-behavior: contain; font-size: 12.5px; line-height: 1.6; letter-spacing: .02em; text-align: left; color: var(--c-text2); }
.ov-read--pic .ov-read-line { display: block; padding: 2px 0; border-bottom: 1px solid rgba(255, 232, 196, .08); }
/* 단서 카드(폴라로이드, 크림색 종이): 이름 아래 12px 4줄까지 — 전체는 카드를 눌러 크게 보기 */
.ov-read--card { margin: -4px 4px 8px; font-size: 12px; line-height: 1.45; text-align: left; color: inherit; opacity: .82;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.polaroid--fly .ov-read, .polaroid--board .ov-read { display: none; } /* 날아가는 카드·결과 보드는 그림만 */

/* 아래 막대: 단서 수 + 금색 「推理する」 */
.play--deduce > .cta { background: linear-gradient(180deg, rgba(20, 17, 14, .94), rgba(11, 10, 9, .98)); border-top: 1px solid var(--c-glass-line); box-shadow: 0 -12px 30px rgba(0, 0, 0, .35); }
.play--deduce .cta-count { font-family: var(--f-num); font-size: 16px; letter-spacing: .04em; color: var(--c-gold-hi); }
.play--deduce .cta-sub { color: var(--c-text2); }
.play--deduce .cta-btn { min-height: 52px; border-radius: var(--r-pill); font-size: 15.5px; }

/* 증언 */
.play--deduce .people-intro { color: var(--c-text2); line-height: 1.75; }
.play--deduce .person { background: var(--c-surface); border: 1px solid var(--c-line); border-left: 3px solid var(--pc); border-radius: 16px; box-shadow: var(--shadow-card); }
.play--deduce .person-name { font-family: var(--f-title), var(--f-sym), serif; color: var(--c-text); letter-spacing: .05em; }
.play--deduce .person-role { color: var(--c-text2); }
.play--deduce .ava { box-shadow: 0 0 0 2px var(--c-surface), 0 0 0 3px rgba(255, 217, 138, .45); }
.play--deduce .ava--letter { color: #fff; }
.play--deduce .line { border-top: 1px solid var(--c-line); }
.play--deduce .line-text { font-family: var(--f-title), var(--f-sym), serif; font-weight: 500; font-size: 15px; line-height: 1.75; letter-spacing: .01em; color: var(--c-text); }
.play--deduce .line-text::before, .play--deduce .line-text::after { color: var(--c-text3); }
.play--deduce .line.is-memo .line-text { background: none; color: var(--c-gold-hi); box-shadow: inset 2px 0 0 rgba(232, 181, 77, .7); padding-left: 10px; } /* 메모한 증언: 금색 글 + 왼쪽 금줄(블록 전체에 형광펜을 칠하면 마지막 줄 아래만 네모로 칠해졌다) */
.play--deduce .memo-btn { background: rgba(232, 181, 77, .12); color: var(--c-gold-hi); box-shadow: inset 0 0 0 1px rgba(232, 181, 77, .5); letter-spacing: .04em; }
.play--deduce .memo-btn.is-done { background: transparent; color: var(--c-green); box-shadow: inset 0 0 0 1px rgba(95, 191, 122, .5); }

/* 수첩: 폴라로이드는 일부러 밝은 「물건」(담당 1 메모) — 어두운 바탕 위 증거 사진 */
.play--deduce .polaroid, .sheet--accuse .polaroid { background: #f2e8d6; box-shadow: 0 10px 24px rgba(0, 0, 0, .5); }
.play--deduce .polaroid-cap, .sheet--accuse .polaroid-cap { color: var(--c-ink-print); }
.play--deduce .polaroid--empty, .sheet--accuse .polaroid--empty { background: transparent; border: 1px dashed rgba(255, 232, 196, .2); box-shadow: none; }
.play--deduce .polaroid--empty .polaroid-pic { background: rgba(255, 255, 255, .03); color: var(--c-text3); font-family: var(--f-num); }
.play--deduce .polaroid--empty .polaroid-cap { color: var(--c-text2); }
.sheet--accuse .polaroid.is-picked { box-shadow: 0 0 0 3px var(--c-gold), 0 0 22px rgba(232, 181, 77, .45), 0 10px 24px rgba(0, 0, 0, .5); }
.sheet--accuse .polaroid.is-picked::after { background-color: var(--c-gold); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1405' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); box-shadow: 0 2px 10px rgba(0, 0, 0, .5); }

/* 추리하기 창 */
.sheet--accuse .acc-step { font-family: var(--f-num); font-size: 13px; letter-spacing: .2em; color: var(--c-gold); }
.sheet--accuse .acc-q { font-family: var(--f-title), var(--f-sym), serif; font-weight: 800; font-size: 19px; line-height: 1.55; letter-spacing: .04em; color: var(--c-text); }
.sheet--accuse .acc-sub { color: var(--c-text2); }
.sheet--accuse .acc-nudge { background: linear-gradient(180deg, rgba(232, 181, 77, .12), rgba(232, 181, 77, .05)); box-shadow: inset 0 0 0 1px rgba(232, 181, 77, .28); color: var(--c-gold-hi); line-height: 1.7; }
.sheet--accuse .acc-choice { background: var(--c-surface); color: var(--c-text); box-shadow: inset 0 0 0 1px var(--c-line2); }
.sheet--accuse .acc-choice.is-on { background: linear-gradient(180deg, rgba(232, 181, 77, .16), rgba(232, 181, 77, .05)), var(--c-surface); box-shadow: inset 0 0 0 2px var(--c-gold), 0 0 24px rgba(232, 181, 77, .25); }
.sheet--accuse .acc-name { font-family: var(--f-title), var(--f-sym), serif; letter-spacing: .04em; }
.sheet--accuse .acc-role { color: var(--c-text2); }
.sheet--accuse .ava { box-shadow: 0 0 0 2px var(--c-surface), 0 0 0 3px rgba(255, 217, 138, .45); }
.sheet--accuse .acc-foot { background: linear-gradient(180deg, rgba(17, 14, 11, 0), #110e0b 30%); }
.sheet--accuse .acc-foot .btn--primary:not(:disabled) { box-shadow: 0 6px 16px rgba(232, 170, 60, .24), inset 0 1px 0 rgba(255, 255, 255, .6); } /* 창 스크롤 끝에서 금빛 번짐이 잘려 띠가 보이던 것 */
.sheet--accuse .miss-photo { background: #f2e8d6; box-shadow: 0 14px 30px rgba(0, 0, 0, .55); }

/* 진상: 어두운 수사 벽 + 금빛 실 */
.play--deduce .solution { background: radial-gradient(420px 300px at 50% 0, rgba(243, 154, 43, .14), transparent 70%), var(--c-bg); }
.play--deduce .sol-head { margin: 6px 0 14px; }
.play--deduce .sol-kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-ui), sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .24em; color: var(--c-gold); }
.play--deduce .sol-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-amber); box-shadow: 0 0 10px var(--c-amber); }
.play--deduce .sol-title { font-family: var(--f-title), var(--f-sym), serif; font-weight: 800; font-size: 30px; letter-spacing: .06em; color: var(--c-text); text-shadow: 0 2px 24px rgba(0, 0, 0, .6); }
.play--deduce .board {
  border-radius: 16px; background: radial-gradient(90% 80% at 50% 0%, rgba(243, 154, 43, .08), transparent 70%), #17130f;
  box-shadow: inset 0 0 0 1px rgba(255, 226, 180, .12), inset 0 0 40px rgba(0, 0, 0, .6);
}
.play--deduce .thread { stroke: var(--c-amber); stroke-width: 2.4; filter: drop-shadow(0 0 4px rgba(243, 154, 43, .65)); }
.play--deduce .polaroid--board::before { background: radial-gradient(circle at 35% 35%, #ffd98a, #9c7023); box-shadow: 0 2px 4px rgba(0, 0, 0, .55); }
.play--deduce .polaroid--board.is-hot { box-shadow: 0 0 0 2px var(--c-gold), 0 0 24px rgba(232, 181, 77, .45), 0 10px 24px rgba(0, 0, 0, .5); }
/* 진상 보드의 증언 카드(C08 요청 2026-11-19): 사진 칸(약 100px)에 얼굴 34px+4줄이 안 들어가 말줄임 없이 잘리던 것 → 얼굴·글자를 줄이고 3줄 말줄임 */
.play--deduce .board .quote-thumb { gap: 3px; padding: 6px 5px; }
.play--deduce .board .quote-ava { width: 24px; height: 24px; font-size: 11px; }
.play--deduce .board .quote-thumb p { font-size: 11px; line-height: 1.38; -webkit-line-clamp: 3; overflow-wrap: anywhere; }
.play--deduce .board, .play--deduce .sol-text { flex: none; } /* 세로 flex 안에서 줄어 글이 상자 밖으로 넘치던 것 */
.play--deduce .sol-text { margin-top: 16px; padding: 14px 16px 16px; border-radius: 16px; background: linear-gradient(180deg, rgba(232, 181, 77, .10), rgba(232, 181, 77, .04)); border: 1px solid rgba(232, 181, 77, .25); }
.play--deduce .sol-text:empty { display: none; }
.play--deduce .sol-text p { font-family: var(--f-title), var(--f-sym), serif; font-weight: 500; font-size: 15.5px; line-height: 1.85; letter-spacing: .02em; color: var(--c-text); }
.play--deduce .sol-no { font-family: var(--f-num); font-size: 14px; letter-spacing: .1em; color: var(--c-gold-hi); }
.play--deduce .sol-foot .btn { min-height: 52px; border-radius: var(--r-pill); }

/* ═════════════════ C. 법률 문서 — 긴 글이라 대비·줄간격 우선 ═════════════════ */
.page-shop .legal { max-width: 680px; margin: 0 auto; padding: 0 22px 40px; color: var(--c-text2); }
.page-shop .legal-top {
  position: sticky; top: 0; z-index: 5; margin: 0 -22px 4px; padding: calc(var(--sat) + 6px) 12px 6px;
  background: linear-gradient(180deg, rgba(11, 10, 9, .97), rgba(11, 10, 9, .9)); border-bottom: 1px solid var(--c-line);
}
.page-shop .legal h1 { margin: 18px 0 8px; font-family: var(--f-title), var(--f-sym), serif; font-weight: 800; font-size: 26px; line-height: 1.35; letter-spacing: .05em; color: var(--c-text); }
.page-shop .legal h2 {
  position: relative; margin: 34px 0 10px; padding-top: 18px; border-top: 1px solid var(--c-line);
  font-family: var(--f-title), var(--f-sym), serif; font-weight: 700; font-size: 17px; line-height: 1.5; letter-spacing: .04em; color: var(--c-text);
}
.page-shop .legal h2::before { content: ""; position: absolute; left: 0; top: -1px; width: 36px; height: 2px; background: var(--c-gold); }
.page-shop .legal h3 { margin: 22px 0 6px; font-size: 15px; font-weight: 700; color: var(--c-text); line-height: 1.6; }
.page-shop .legal p, .page-shop .legal li { font-size: 15px; line-height: 1.9; color: var(--c-text2); }
.page-shop .legal li + li { margin-top: 6px; }
.page-shop .legal ol, .page-shop .legal ul { padding-left: 22px; }
.page-shop .legal li::marker { color: var(--c-gold); font-family: var(--f-num); }
.page-shop .legal a { color: var(--c-gold-hi); text-decoration-color: rgba(255, 217, 138, .4); text-underline-offset: 3px; }
.page-shop .legal a.icon-btn { color: var(--c-text); }
.page-shop .legal strong, .page-shop .legal b { color: var(--c-text); }
.page-shop .legal table { font-size: 14px; }
.page-shop .legal th, .page-shop .legal td { padding: 11px 8px; border-bottom: 1px solid var(--c-line); line-height: 1.75; color: var(--c-text2); }
.page-shop .legal table.tk > tbody > tr > th { color: var(--c-text); }
.page-shop .legal .legal-meta { margin: 0 0 10px; font-size: 13px; line-height: 1.7; color: var(--c-text2); }
.page-shop .legal .legal-note { padding: 12px 14px; border-radius: 12px; background: linear-gradient(180deg, rgba(232, 181, 77, .09), rgba(232, 181, 77, .03)); border: 1px solid rgba(232, 181, 77, .22); font-size: 13.5px; line-height: 1.8; color: var(--c-text2); }
.page-shop .legal [data-biz] { color: var(--c-text); }
.page-shop .legal .is-todo { color: var(--c-red); }
.page-shop .legal .pt-name { color: var(--c-text); }
.page-shop .legal .pt-desc { color: var(--c-text2); }
.page-shop .legal .pt-price { font-family: var(--f-num); font-weight: 500; letter-spacing: .02em; color: var(--c-gold-hi); }
@media print {
  .page-shop .legal { color: #222; }
  .page-shop .legal :is(h1, h2, h3, p, li, th, td, [data-biz]) { color: #111; }
  .page-shop .legal-top { display: none; }
}

/* ═════════════════ D. 결제 확인·결제 결과 쪽(checkout·pay-*.html 의 .pg) — 겉모습만 ═════════════════ */
.page-shop .pg-kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-ui), sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .18em; color: var(--c-gold); }
.page-shop .pg-title { font-family: var(--f-title), var(--f-sym), serif; font-weight: 800; font-size: 26px; line-height: 1.3; letter-spacing: .05em; color: var(--c-text); }
.page-shop .pg-lead { color: var(--c-text2); line-height: 1.8; }
.page-shop .pg-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 16px; box-shadow: var(--shadow-card); }
.page-shop .co-sum > div { border-bottom: 1px solid var(--c-line); }
.page-shop .co-sum dt { color: var(--c-text2); }
.page-shop .co-sum dd { color: var(--c-text); }
.page-shop .co-sum .co-price dd { font-family: var(--f-num); font-weight: 500; font-size: 24px; letter-spacing: .02em; color: var(--c-gold-hi); }
.page-shop .pg .co-label { color: var(--c-text); }
.page-shop .pg .co-help { color: var(--c-text2); }
.page-shop .pg .shop-input { background: rgba(0, 0, 0, .35); color: var(--c-text); box-shadow: inset 0 0 0 1px var(--c-line2); }
.page-shop .pg .shop-input:focus { box-shadow: inset 0 0 0 2px var(--c-gold); }
.page-shop .pg .shop-agree { color: var(--c-text2); }
.page-shop .pg .shop-agree input, .page-shop .pg .shop-check { accent-color: var(--c-gold); }
.page-shop .co-agree-all { color: var(--c-text); border-bottom-color: var(--c-line); }
.page-shop .co-agree .shop-agree a { color: var(--c-gold-hi); }
.page-shop .co-warn { background: rgba(226, 72, 61, .12); color: #ff9b8f; box-shadow: inset 0 0 0 1px rgba(226, 72, 61, .3); }
.page-shop .co-test { background: rgba(232, 181, 77, .1); color: var(--c-gold-hi); font-family: var(--f-num); box-shadow: inset 0 0 0 1px rgba(232, 181, 77, .3); }
.page-shop .co-pay { background: linear-gradient(180deg, rgba(11, 10, 9, 0), var(--c-bg) 30%); }
.page-shop .pay-center { color: var(--c-text2); }

/* ═════════════════ Claude QA 수정(11/15) ═════════════════ */
/* Q2-6 추리: 「手帳に記録：…」 알림이 탭 줄(現場/証言/手帳) 아래 끝·장면 이름에 겹치고 수첩 첫 줄을 가리던 것 → 아래 「推理する」 막대 위로 */
.page-play:has(.play--deduce) .toast { top: auto; bottom: calc(var(--sab) + 116px); }
/* Q2-7 추리 단서 카드 이름: 「ゴミ箱のプリン容／器」처럼 한 글자만 다음 줄로 가던 것 → 줄 길이를 고르게, 일본어는 어절 단위 */
.play--deduce .polaroid-cap, .sheet--accuse .polaroid-cap, .polaroid-cap { text-wrap: balance; }
html[data-lang='ja'] .polaroid-cap { word-break: auto-phrase; }
/* Q1-11 법률 본문(일본어): 어절 단위 줄바꿈(auto-phrase)은 긴 어절이 통째로 넘어가 짧은 줄 다음 꽉 찬 줄이 생김 → 본문만 일반 일본어 조판(글자 단위 + 금칙), 제목·표 머리는 그대로 */
.page-shop .legal article[data-lang='ja'] :is(p, li, td) { word-break: normal; line-break: strict; overflow-wrap: anywhere; text-wrap: pretty; }
/* Q1-11 법률 페이지 아래 사업자 확인 링크: 터치 높이 44px(홈·마이는 T 가 .cine 범위로) */
.page-shop .biz .biz-check { display: inline-flex; align-items: center; min-height: 44px; margin-top: 0; }

/* ═════════ 2026-11-19 META D4·D5: 연속 출석 · 레벨 완주 도장 ═════════ */
/* 레벨 완주 도장(공용 그림): 진행 고리(금 → 선) 안에 「12/20」, 다 풀면 금색 겹테 도장 + ✓ */
.lv-stamp {
  --s: 56px; position: relative; flex: none; width: var(--s); height: var(--s); border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--c-gold) calc(var(--p, 0) * 1%), rgba(244, 237, 225, .14) 0);
}
.lv-stamp::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--c-bg2); }
.lv-stamp-in { position: relative; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; }
.lv-stamp-n { display: inline-flex; align-items: baseline; font-family: var(--f-num); line-height: 1; color: var(--c-text); }
.lv-stamp-n b { font-weight: 500; font-size: 19px; }
.lv-stamp-n small { font-size: 11px; color: var(--c-text2); margin-left: 1px; }
.lv-stamp.is-done { background: var(--g-gold); transform: rotate(-8deg); box-shadow: 0 6px 18px rgba(232, 170, 60, .28); }
.lv-stamp.is-done::before { inset: 4px; background: radial-gradient(circle at 35% 30%, #2a2014, #15100a 70%); box-shadow: inset 0 0 0 1.5px rgba(255, 217, 138, .75); }
.lv-stamp-ok { width: 46%; height: 46%; color: var(--c-gold-hi); }

/* 도장 4칸(마이 「わたしの記録」 아래 · 사건 탭 「解決済み」 위). 칸 = 버튼(44px 이상), 누르면 그 레벨 목록 */
.cine .my-stamps { padding-top: 2px; }
.cine .stamp-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 12px 0 0; }
.cine .stamp-btn {
  min-width: 0; min-height: 44px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 2px 8px;
  border: 0; border-radius: 14px; background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px var(--c-line);
  color: var(--c-text); font-family: var(--f-ui), sans-serif; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform 140ms var(--ease-out, ease), box-shadow 160ms ease;
}
.cine .stamp-btn:active { transform: scale(.97); }
.cine .stamp-btn:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; }
.cine .stamp-btn.is-here { box-shadow: inset 0 0 0 1px rgba(232, 181, 77, .55); }
.cine .stamp-btn.is-done { background: linear-gradient(180deg, rgba(232, 181, 77, .10), rgba(232, 181, 77, .02)); }
.cine .stamp-lv { max-width: 100%; font-size: 12px; font-weight: 700; letter-spacing: .04em; line-height: 1.25; text-align: center; overflow-wrap: anywhere; hyphens: auto; }
.cine .stamp-sub { display: inline-flex; align-items: center; gap: 3px; font-family: var(--f-num); font-size: 12px; line-height: 1.2; color: var(--c-text2); white-space: nowrap; }
.cine .stamp-sub.is-done { font-family: var(--f-ui), sans-serif; font-weight: 700; font-size: 11.5px; letter-spacing: .06em; color: var(--c-gold-hi); }
.cine .stamp-coin { width: 13px; height: 13px; color: var(--c-gold); }
.cine .stamp-note { margin: 10px 0 0; font-size: 12px; line-height: 1.6; color: var(--c-text2); }
.cine .ch-stamps .my-stamps { margin: 0 20px; border-top: 0; } /* 사건 탭 격자(.ch-grid)와 같은 좌우 20px */
.cine .ch-stamps .my-h { margin-top: 0; }
@media (max-width: 370px) { .cine .stamp-row { gap: 4px; } .cine .lv-stamp { --s: 50px; } .cine .stamp-lv { font-size: 11px; } }

/* 결과 화면: 레벨 완주 알약(작은 금색 도장 + 한 줄) */
.play--end .end-reward--level { padding: 6px 16px 6px 8px; text-align: left; line-height: 1.35; }
.play--end .end-reward--level .lv-stamp { --s: 30px; }
.play--end .end-reward--level .lv-stamp::before { inset: 2px; }
/* 중간 도장(5·10·15편째, 코인 없음): 완주 도장보다 한 단계 차분하게 — 금 테두리만 옅게, 진행 숫자가 읽히게 고리를 조금 크게(스프린트 11/25) */
.play--end .end-reward--step { background: rgba(232, 181, 77, .06); box-shadow: inset 0 0 0 1px rgba(232, 181, 77, .28); font-weight: 600; }
.play--end .end-reward--step .lv-stamp { --s: 40px; }
.play--end .end-reward + .end-reward { margin-top: 8px; }
.play--end .stats + .end-reward + .end-reward + .next-case, .play--end .end-reward--level + .next-case { margin-top: 18px; }

/* 지갑: 연속 출석 줄(점 7개, 7번째 = 보너스) */
.tk-streak { margin-top: 10px; padding: 12px 14px 10px; border-radius: 16px; background: var(--c-surface); border: 1px solid var(--c-line); font-family: var(--f-ui), sans-serif; }
.tk-st-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tk-st-k { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: var(--c-text); }
.tk-st-ico { width: 17px; height: 17px; color: var(--c-gold); }
.tk-st-n { font-family: var(--f-num); font-weight: 500; font-size: 15px; color: var(--c-gold-hi); letter-spacing: .02em; white-space: nowrap; }
.tk-st-dots { display: grid; grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); gap: 5px; margin-top: 10px; }
.tk-st-dot {
  height: 26px; border-radius: 8px; display: grid; place-items: center; font-style: normal; font-family: var(--f-num); font-size: 11.5px;
  color: var(--c-text3); background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--c-line);
}
.tk-st-dot.is-on { color: var(--c-on-gold); background: var(--g-gold); box-shadow: none; }
.tk-st-dot.is-gift { color: var(--c-gold-hi); box-shadow: inset 0 0 0 1px rgba(232, 181, 77, .55); }
.tk-st-dot.is-gift.is-on { color: var(--c-on-gold); }
.tk-st-note { margin: 8px 0 0; font-size: 11.5px; line-height: 1.55; color: var(--c-text2); }
/* 마이 코인 카드: 연속 출석 한 줄 */
.cine .my-streak { margin: 2px 0 8px; font-size: 12px; line-height: 1.5; color: var(--c-text2); text-align: center; }

/* ═════════════════ E. 11/27 고도화(E2) — 추리 정리 · 연속 수사 · 무료 방향 힌트 ═════════════════ */
/* 「추리 정리」: 기록 바로 아래 3줄(단서 → 뒤집힌 진술 → 진상). 번호 원을 세로 금줄로 잇고, 마지막 줄(진상)만 금색 명조 */
.play--end .end-why {
  margin: 22px 0 0; padding: 16px 16px 6px; border-radius: 18px; min-width: 0;
  background: linear-gradient(160deg, rgba(232, 181, 77, .1), rgba(232, 181, 77, 0) 60%), var(--c-surface);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 226, 180, .14);
}
.play--end .end-why-title {
  display: flex; align-items: center; gap: 8px; margin: 0 0 6px;
  font-family: var(--f-ui), sans-serif; font-weight: 700; font-size: 12px; line-height: 1.4; letter-spacing: .18em; color: var(--c-gold);
}
.play--end .end-why-list { margin: 0; padding: 0; list-style: none; }
.play--end .end-why-row { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; align-items: start; padding: 8px 0 12px; }
/* 번호 원 사이를 잇는 가는 금줄(마지막 줄 제외) */
.play--end .end-why-row:not(:last-child)::after {
  content: ""; position: absolute; left: 13.5px; top: 38px; bottom: -6px; width: 1px;
  background: linear-gradient(180deg, rgba(232, 181, 77, .55), rgba(232, 181, 77, .12));
}
.play--end .end-why-no {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(232, 181, 77, .12); color: var(--c-gold-hi); box-shadow: inset 0 0 0 1px rgba(232, 181, 77, .45);
  font-family: var(--f-num); font-weight: 500; font-size: 13.5px; line-height: 1;
}
.play--end .end-why-text { margin: 3px 0 0; min-width: 0; font-size: 14.5px; line-height: 1.65; color: var(--c-text); overflow-wrap: anywhere; text-wrap: pretty; }
.play--end .end-why-row.is-truth .end-why-no { background: var(--g-gold); color: var(--c-on-gold); box-shadow: 0 0 16px rgba(232, 181, 77, .4); }
.play--end .end-why-row.is-truth .end-why-text { font-family: var(--f-title), var(--f-sym), serif; font-weight: 700; font-size: 15.5px; color: var(--c-gold-hi); letter-spacing: .02em; }
html[data-lang='ko'] .play--end .end-why-text { word-break: keep-all; }
html[data-lang='ja'] .play--end .end-why-text { word-break: auto-phrase; }
.play--end .end-why + .next-case, .play--end .end-why + .series-done { margin-top: 18px; }

/* 연속 수사 완주 카드(마지막 화): 금색 테두리 + 오른쪽 위 「4/4」 도장. 그 아래 다음 추천 카드 */
.play--end .series-done {
  position: relative; display: grid; row-gap: 4px; margin-top: 24px; padding: 18px 86px 18px 18px; border-radius: 18px; min-width: 0;
  background: radial-gradient(120% 140% at 100% 0%, rgba(243, 154, 43, .24), transparent 62%), var(--c-surface);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 217, 138, .5);
}
.play--end .series-done-stamp {
  position: absolute; top: 16px; right: 16px; padding: 6px 10px; border: 1.5px solid rgba(232, 181, 77, .75); border-radius: 8px;
  font-family: var(--f-num); font-weight: 500; font-size: 17px; letter-spacing: .06em; color: var(--c-gold-hi); transform: rotate(-7deg);
  background: rgba(11, 10, 9, .5);
}
.play--end .series-done-kicker { display: flex; align-items: center; gap: 8px; font-family: var(--f-ui), sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .18em; color: var(--c-gold); line-height: 1.5; }
.play--end .series-done-title { font-family: var(--f-title), var(--f-sym), serif; font-weight: 800; font-size: 20px; line-height: 1.35; letter-spacing: .04em; color: var(--c-text); overflow-wrap: anywhere; }
.play--end .series-done-sub { font-size: 13px; line-height: 1.6; color: var(--c-text2); }
html[data-lang='ko'] .play--end :is(.series-done-title, .series-done-sub) { word-break: keep-all; }
.play--end .series-done + .next-case { margin-top: 14px; }

/* 다음 화 카드: 「다음 화 · 연속 수사 2/4」 + 다음 화 질문(hook)을 크게, 화 제목은 작게 */
.play--end .next-case--series { min-height: 150px; }
.play--end .next-case--series .next-hook {
  grid-column: 1; margin: 4px 0 2px; min-width: 0;
  font-family: var(--f-title), var(--f-sym), serif; font-weight: 800; font-size: 19px; line-height: 1.42; letter-spacing: .03em; color: var(--c-text);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .8); overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
html[data-lang='ko'] .play--end .next-case--series .next-hook { word-break: keep-all; }
html[data-lang='ja'] .play--end .next-case--series .next-hook { word-break: auto-phrase; }
.play--end .next-case--series .next-title { grid-column: 1; font-size: 14.5px; font-weight: 700; color: var(--c-gold-hi); letter-spacing: .05em; }
.play--end .next-case--series .next-kicker, .play--end .next-case--series .next-meta { grid-column: 1; }

/* 첫 오답 무료 방향 힌트(자물쇠 창 · 추리 오답 창 공통, shell.js nudgeOffer) */
.nudge { margin: 8px 0 4px; min-width: 0; }
.nudge-btn {
  width: 100%; min-height: 44px; gap: 8px; border-radius: var(--r-pill); font-size: 14px; letter-spacing: .04em;
  background: rgba(232, 181, 77, .12); color: var(--c-gold-hi); box-shadow: inset 0 0 0 1px rgba(232, 181, 77, .55);
}
.nudge-btn .ico { width: 18px; height: 18px; flex: none; }
.nudge.is-open { padding: 10px 14px 10px; border-radius: 14px; background: rgba(232, 181, 77, .1); box-shadow: inset 0 0 0 1px rgba(232, 181, 77, .4); text-align: left; }
.nudge-kicker { display: flex; align-items: center; gap: 6px; margin: 0; font-family: var(--f-ui), sans-serif; font-weight: 700; font-size: 11.5px; letter-spacing: .14em; color: var(--c-gold); }
.nudge-kicker .ico { width: 15px; height: 15px; flex: none; }
.nudge-text { margin: 4px 0 0; font-size: 14px; line-height: 1.6; color: var(--c-text); overflow-wrap: anywhere; }
.nudge-text:focus { outline: none; }
.nudge-sub { margin: 4px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--c-text2); }
html[data-lang='ko'] :is(.nudge-text, .nudge-sub) { word-break: keep-all; }
html[data-lang='ja'] :is(.nudge-text, .nudge-sub) { word-break: auto-phrase; }
/* 힌트 창: 무료 방향 힌트로 연 ①단계 표시 */
.hint-free { margin-left: 6px; padding: 1px 8px; border-radius: var(--r-pill); background: rgba(95, 191, 122, .14); color: var(--c-green); font-size: 11px; font-weight: 700; letter-spacing: .06em; }

/* ───────── 하나 얼굴 그림(NEXT2 11/30): 코드 SVG → 셀 애니 초상. 정사각 그림을 원으로 ───────── */
.hana-face { display: block; aspect-ratio: 1; object-fit: cover; background: radial-gradient(circle at 50% 40%, #6b4a2a, #2a1d12); }
.notice-face, .end-face { object-fit: cover; }

/* ───────── 인물 수첩(NEXT2 11/30, js/people.js) — 마이 칸·수첩 창·결과 화면 한 줄 ───────── */
.pp-face { --pc: #5a5048; position: relative; flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--pc) 70%, #fff 10%), color-mix(in srgb, var(--pc) 60%, #000 40%));
  box-shadow: 0 0 0 1.5px rgba(232, 181, 77, .45), 0 4px 10px rgba(0, 0, 0, .35); }
.pp-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-q { font-family: var(--f-num, var(--f-ui)); font-size: 22px; font-weight: 700; color: rgba(244, 237, 225, .38); }
.pp-face--s { width: 34px; height: 34px; box-shadow: 0 0 0 1.5px var(--c-bg, #0b0a09), 0 0 0 2.5px rgba(232, 181, 77, .4); }
.pp-face--s .pp-q { font-size: 14px; }
.pp-strip { display: flex; margin: 0; padding: 0 0 0 8px; list-style: none; }
.pp-strip li { margin-left: -8px; }
.my-people .pp-row { gap: 10px; }
.my-people .pp-strip { flex: 1; min-width: 0; }
.sheet--people .sheet-body { padding-bottom: calc(24px + var(--sab, 0px)); }
.pp-lead { margin: 0 0 14px; font-size: 13px; line-height: 1.6; color: var(--c-text2, #b9ad98); }
.pp-grp { margin-top: 18px; }
.pp-case { margin: 0 0 8px; padding-top: 12px; border-top: 1px solid var(--c-line, rgba(244, 237, 225, .12)); font-family: var(--f-title), serif; font-size: 15px; font-weight: 600; color: var(--c-gold-hi, #ffd98a); }
.pp-grp.is-locked .pp-case { color: var(--c-text2, #b9ad98); }
.pp-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pp-card { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--c-surface, #1c1814); box-shadow: inset 0 0 0 1px var(--c-line, rgba(244, 237, 225, .12)); }
.pp-card--hana { background: linear-gradient(135deg, rgba(232, 181, 77, .14), rgba(232, 181, 77, .04)); box-shadow: inset 0 0 0 1px rgba(232, 181, 77, .4); }
.pp-card.is-locked .pp-face { box-shadow: 0 0 0 1px var(--c-line2, rgba(255, 232, 196, .18)); }
.pp-txt { flex: 1; min-width: 0; }
.pp-name { display: flex; align-items: center; gap: 6px; margin: 2px 0 0; font-size: 15px; font-weight: 700; color: var(--c-text, #f4ede1); }
.pp-tag { padding: 1px 7px; border-radius: var(--r-pill, 99px); background: rgba(232, 181, 77, .16); color: var(--c-gold, #e8b54d); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; }
.pp-role { margin: 2px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--c-text2, #b9ad98); }
.pp-quote { margin: 6px 0 0; font-family: var(--f-title), serif; font-size: 13.5px; line-height: 1.65; color: var(--c-text, #f4ede1); }
.pp-quote::before { content: '“'; color: var(--c-gold, #e8b54d); }
.pp-quote::after { content: '”'; color: var(--c-gold, #e8b54d); }
html[data-lang='ja'] .pp-quote::before, html[data-lang='zh'] .pp-quote::before { content: '「'; }
html[data-lang='ja'] .pp-quote::after, html[data-lang='zh'] .pp-quote::after { content: '」'; }
html[data-lang='ko'] :is(.pp-role, .pp-quote, .pp-lead, .end-people-t) { word-break: keep-all; }
html[data-lang='ja'] :is(.pp-role, .pp-quote, .pp-lead, .end-people-t) { word-break: auto-phrase; }
.play--end .end-people { align-self: stretch; display: flex; align-items: center; gap: 10px; margin: 14px 0 0; padding: 8px 8px 8px 12px; border-radius: 16px; background: rgba(232, 181, 77, .08); box-shadow: inset 0 0 0 1px rgba(232, 181, 77, .3); }
.end-people .pp-strip { flex: none; }
.end-people-t { flex: 1; min-width: 0; margin: 0; font-size: 13.5px; font-weight: 700; line-height: 1.45; color: var(--c-gold-hi, #ffd98a); }
.end-people-btn { flex: none; min-height: 44px; padding: 0 14px; font-size: 13px; }
