/* 뮤덕 프로토타입 — 디자인 시스템 v2 (차콜 · 뮤트 퍼플 · 라벤더) */
:root {
  /* color tokens */
  --c-header: #26222c; --c-brand: #69547f; --c-brand-deep: #514064; --c-lav: #e9e2f2;
  --c-bg: #f8f7fa; --c-surface: #ffffff; --c-surface2: #f2eff5;
  --c-text: #242129; --c-text2: #77717e; --c-line: #e7e3eb;
  --c-ok: #2c7a58; --c-warn: #a2650e; --c-bad: #b23a2a;
  --c-hover: rgba(105, 84, 127, .08);
  /* aliases for older rules */
  --bg: var(--c-bg); --bg2: var(--c-surface2); --ink: var(--c-text); --ink2: #5a5461; --ink3: var(--c-text2);
  --line: var(--c-line); --accent: var(--c-brand); --accent-ink: #fff; --accent-soft: var(--c-lav);
  --ok: var(--c-ok); --warn: var(--c-warn); --bad: var(--c-bad);
  /* radius / space / type */
  --r-sm: 6px; --r-md: 10px; --r-lg: 12px;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px; --s-7: 32px;
  --fs-xs: 12px; --fs-sm: 13px; --fs-md: 14px; --fs-base: 15px; --fs-lg: 17px; --fs-h2: 20px; --fs-h1: 26px;
  --sans: Pretendard, 'Pretendard Variable', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
  --serif: 'Gowun Batang', 'Noto Serif KR', 'Nanum Myeongjo', Batang, serif;
  --maxw: 1520px; --gutter: clamp(16px, 2.6vw, 40px);
  --shadow-pop: 0 14px 34px -14px rgba(38, 34, 44, .42);
  --hdr-h: 64px;
  --v1: #eee8f5; --v2: #d3c5e6; --v3: #a892c8; --v4: #7c62a3; --v5: #514064;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: light; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; margin: 0; background: var(--c-bg); color: var(--c-text); font: var(--fs-base)/1.6 var(--sans); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-brand); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 2px; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
h1 { font-size: var(--fs-h1); } h2 { font-size: var(--fs-h2); } h3 { font-size: var(--fs-lg); }
p { margin: 0 0 .8em; }
ul { margin: 0; padding: 0; list-style: none; }
.small, small { font-size: var(--fs-sm); } .muted { color: var(--ink2); } .faint { color: var(--c-text2); }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- 예시 안내 바 ---------- */

/* ---------- 헤더 ---------- */
.hdr { position: sticky; top: 0; z-index: 60; background: var(--c-header); color: #e8e4ee; }
.hdr-in { display: flex; align-items: center; gap: 28px; height: var(--hdr-h); }
.logo { display: flex; align-items: center; gap: 9px; color: #fff; font-weight: 800; font-size: var(--fs-h2); letter-spacing: .02em; white-space: nowrap; }
.logo:hover { color: #fff; }
.logo svg { width: 28px; height: 28px; }
.logo small { font-size: var(--fs-xs); font-weight: 500; color: #a69fb1; letter-spacing: 0; margin-left: 2px; }
.gnav { display: flex; height: 100%; }
.gnav > li { position: relative; height: 100%; }
.gnav > li > a { display: flex; align-items: center; height: 100%; padding: 0 18px; font-size: var(--fs-base); font-weight: 500; color: #cfc9d8; border-bottom: 2px solid transparent; }
.gnav > li:hover > a, .gnav > li:focus-within > a, .gnav > li.on > a { color: #fff; border-bottom-color: #b9a4d3; }
.mdd { position: absolute; top: calc(100% - 2px); left: 0; min-width: 200px; display: none; background: #fff; color: var(--c-text); border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 8px; box-shadow: var(--shadow-pop); }
.gnav > li:hover .mdd, .gnav > li:focus-within .mdd { display: block; }
.mdd a { display: block; padding: 8px 12px; border-radius: var(--r-sm); font-size: var(--fs-md); color: var(--c-text); white-space: nowrap; }
.mdd a:hover { background: var(--c-lav); color: var(--c-brand-deep); }
.mdd .sep { height: 1px; background: var(--c-line); margin: 6px 4px; }
.hdr-r { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.hsearch { position: relative; width: clamp(240px, 26vw, 400px); margin-right: 8px; }
.hsearch input[type=search] { width: 100%; height: 40px; border: 0; border-radius: var(--r-md); background: #fff; color: var(--c-text); padding: 0 14px 0 40px; font-size: var(--fs-md); }
.hsearch input[type=search]::placeholder { color: #8e889a; }
.hsearch > .ico { position: absolute; left: 13px; top: 11px; font-size: 18px; color: var(--c-text2); pointer-events: none; }
.pop { position: absolute; top: calc(100% + 8px); right: 0; width: 340px; max-height: 70vh; overflow: auto; background: #fff; color: var(--c-text); border: 1px solid var(--c-line); border-radius: var(--r-md); box-shadow: var(--shadow-pop); padding: 8px; display: none; z-index: 70; }
.pop.open { display: block; }
.hsearch .pop { left: 0; right: 0; width: auto; }
.pop h4 { margin: 8px 10px 4px; font-size: var(--fs-xs); color: var(--c-text2); font-weight: 600; }
.pop a, .pop .row { display: block; padding: 8px 10px; border-radius: var(--r-sm); font-size: var(--fs-md); }
.pop a:hover { background: var(--c-lav); }
.ibtn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 0; border-radius: 50%; color: #e8e4ee; font-size: 21px; }
.ibtn:hover { background: rgba(255, 255, 255, .1); }
.ibtn.avatar { font-size: var(--fs-md); font-weight: 700; background: var(--c-brand); color: #fff; }
.pw { position: relative; }
.m-only, .s-btn { display: none; }

/* ---------- 레이아웃 ---------- */
main { padding: 24px 0 72px; min-height: 70vh; }
.page { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--s-6) var(--s-7); }
.sec { margin-top: var(--s-7); }
.sec-h, .panel-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: var(--s-3); gap: 12px; }
.sec-h h2, .panel-h h2 { font-size: var(--fs-h2); }
.sec-h a, .panel-h a, .more { font-size: var(--fs-sm); color: var(--c-text2); }
.sec-h a:hover, .panel-h a:hover { color: var(--c-brand); }
.crumb { font-size: var(--fs-sm); color: var(--c-text2); margin-bottom: 12px; }
.panel { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--s-5); min-width: 0; }
.panel.flat { background: var(--c-surface2); border-color: transparent; }
.hgrid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 24%, 360px); gap: 22px; align-items: start; }
.hgrid + .hgrid { margin-top: 22px; }
.two { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ---------- 버튼·칩·입력 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--c-brand); color: #fff; border: 1px solid var(--c-brand); padding: 8px 16px; border-radius: var(--r-sm); font-weight: 600; font-size: var(--fs-md); line-height: 1.4; }
.btn:hover { background: var(--c-brand-deep); border-color: var(--c-brand-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: #fff; color: var(--c-text); border-color: var(--c-line); }
.btn.ghost:hover { border-color: var(--c-brand); color: var(--c-brand); background: #fff; }
.btn.ghost.on { border-color: var(--c-brand); color: var(--c-brand); background: var(--c-lav); }
.btn.sm { padding: 5px 11px; font-size: var(--fs-sm); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: #fff; border: 1px solid var(--c-line); border-radius: 999px; padding: 4px 12px; font-size: var(--fs-sm); color: var(--ink2); }
.chip:hover { border-color: var(--c-brand); color: var(--c-brand); }
.chip.on { background: var(--c-brand); color: #fff; border-color: var(--c-brand); }
.chip.on:hover { color: #fff; }
input[type=text], input[type=date], input[type=number], input[type=search], select, textarea { background: #fff; border: 1px solid var(--c-line); padding: 9px 12px; width: 100%; border-radius: var(--r-sm); }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--c-brand); box-shadow: 0 0 0 3px rgba(105, 84, 127, .15); }
textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--c-text2) 50%), linear-gradient(135deg, var(--c-text2) 50%, transparent 50%); background-position: calc(100% - 17px) 55%, calc(100% - 12px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
label.f { display: block; font-size: var(--fs-sm); color: var(--ink2); margin-bottom: 5px; }
.field { margin-bottom: 18px; }

/* ---------- 탭 ---------- */
.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--c-line); margin: 20px 0 20px; overflow-x: auto; scrollbar-width: none; }
.tabs a, .tabs button { background: none; border: 0; padding: 10px 0; color: var(--c-text2); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; font-weight: 500; }
.tabs .on { color: var(--c-brand-deep); border-bottom-color: var(--c-brand); font-weight: 700; }
.mtabs { display: flex; gap: 14px; }
.mtabs button { background: none; border: 0; padding: 0 0 4px; color: var(--c-text2); font-size: var(--fs-md); border-bottom: 2px solid transparent; font-weight: 500; }
.mtabs button.on { color: var(--c-text); border-bottom-color: var(--c-brand); font-weight: 700; }
.pane[hidden] { display: none; }

/* ---------- 라벨 ---------- */
.tl { font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.tl::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tl-official { color: var(--c-ok); } .tl-verified { color: var(--c-brand); } .tl-report { color: var(--c-text2); }
.tl-report::before { background: transparent; border: 1.5px solid currentColor; width: 5px; height: 5px; }
.srcline { font-size: var(--fs-xs); color: var(--c-text2); border-top: 1px solid var(--c-line); padding-top: 12px; margin-top: 32px; }
.pill { display: inline-block; font-size: var(--fs-xs); font-weight: 600; padding: 1px 7px; border-radius: 4px; background: var(--c-lav); color: var(--c-brand-deep); line-height: 1.6; }
.pill.gray { background: var(--c-surface2); color: var(--ink2); }
.pill.warn { background: #f7ead3; color: var(--c-warn); }
.pill.dark { background: rgba(255, 255, 255, .16); color: #fff; }

/* ---------- 포스터 ---------- */
.poster { aspect-ratio: 3/4; width: 100%; object-fit: cover; border-radius: 8px; background: var(--c-surface2); box-shadow: 0 1px 3px rgba(38, 34, 44, .16); }
.pcard { display: block; position: relative; }
.pcard .t { font-weight: 600; margin-top: 9px; line-height: 1.35; font-size: var(--fs-md); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard .m { font-size: var(--fs-xs); color: var(--c-text2); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard .pimg { position: relative; display: block; }
.pcard .pimg .poster { transition: transform .2s, box-shadow .2s; }
.pcard:hover .poster { transform: translateY(-2px); box-shadow: 0 8px 18px -8px rgba(38, 34, 44, .4); }
.fav { position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--c-text2); display: grid; place-items: center; font-size: var(--fs-base); }
.fav:hover { color: var(--c-brand); }
.fav.on { background: var(--c-brand); color: #fff; }
.fav.on .ico { fill: currentColor; }
.badge-tl { position: absolute; left: 8px; top: 8px; font-size: var(--fs-xs); font-weight: 600; background: rgba(38, 34, 44, .82); color: #fff; padding: 1px 7px; border-radius: 4px; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 22px 16px; }
.prow { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; padding-bottom: 4px; }
.prow .pcard { flex: 0 0 calc((100% - 80px) / 6); scroll-snap-align: start; min-width: 0; }
.arrows { display: flex; gap: 6px; }
.arrows button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--c-line); background: #fff; display: grid; place-items: center; color: var(--ink2); font-size: var(--fs-base); }
.arrows button:hover { border-color: var(--c-brand); color: var(--c-brand); }

/* ---------- 리스트·표 ---------- */
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-weight: 500; font-size: var(--fs-xs); color: var(--c-text2); padding: 8px 10px 8px 0; border-bottom: 1px solid var(--c-line); }
.tbl td { padding: 12px 10px 12px 0; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: var(--c-bg); }
.list > * { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--c-line); align-items: baseline; }
.list > *:last-child { border-bottom: 0; }
.list .k { width: 64px; flex: none; color: var(--c-text2); font-size: var(--fs-sm); }
.list .grow { flex: 1; min-width: 0; }
.dd { font-weight: 700; color: var(--c-brand); font-variant-numeric: tabular-nums; min-width: 52px; }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 홈: 배너 ---------- */
.banner { position: relative; height: 340px; border-radius: var(--r-lg); overflow: hidden; background: var(--c-header); }

/* ---------- 홈: 퀵 메뉴 ---------- */
.quick { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); height: 100px; overflow: hidden; }
.quick a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; font-size: var(--fs-sm); font-weight: 500; color: var(--c-text); border-left: 1px solid var(--c-line); text-align: center; padding: 0 4px; }
.quick a:first-child { border-left: 0; }
.quick a .ico { font-size: 28px; color: var(--c-brand); stroke-width: 1.5; transition: color .15s; }
.quick a:hover { background: var(--c-lav); color: var(--c-brand-deep); }
.quick a:hover .ico { color: var(--c-brand-deep); }

/* ---------- 홈: 티켓 오픈 ---------- */
.tix li { display: grid; grid-template-columns: 54px 1fr 30px; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--c-line); }
.tix li:last-child { border-bottom: 0; }
.tix .db { width: 54px; height: 54px; border-radius: var(--r-md); background: var(--c-lav); color: var(--c-brand-deep); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; }
.tix .db b { font-size: 16px; font-variant-numeric: tabular-nums; } .tix .db span { font-size: var(--fs-xs); }
.tix li.hot .db { background: var(--c-brand); color: #fff; }
.tix .t { font-weight: 600; font-size: var(--fs-md); line-height: 1.35; }
.tix .m { font-size: var(--fs-xs); color: var(--c-text2); margin-top: 2px; }
.bell { width: 30px; height: 30px; border: 1px solid var(--c-line); border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--c-text2); font-size: var(--fs-base); }
.bell:hover { color: var(--c-brand); border-color: var(--c-brand); }
.bell.on { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }

/* ---------- 홈: 하단 콘텐츠 ---------- */
.rv { display: grid; grid-template-columns: 46px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.rv:last-child { border-bottom: 0; }
.rv .poster { border-radius: 5px; box-shadow: none; }
.rv .h { display: flex; gap: 8px; align-items: center; font-size: var(--fs-md); }
.rv .h b { font-weight: 600; }
.rv .star { color: var(--c-brand); font-weight: 700; font-size: var(--fs-sm); }
.rv .tx { font-size: var(--fs-sm); color: #4b4552; margin-top: 3px; }
.rv .mt { font-size: var(--fs-xs); color: var(--c-text2); margin-top: 4px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.rv:hover .h b { color: var(--c-brand); }
.plist li { display: flex; gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--c-line); font-size: var(--fs-md); }
.plist li:last-child { border-bottom: 0; }
.plist .bd { flex: none; width: 52px; font-size: var(--fs-xs); color: var(--c-text2); }
.plist .tt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plist .cm { flex: none; font-size: var(--fs-xs); color: var(--c-brand); font-weight: 600; }
.sgal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sgal a { display: block; }
.sgal .pic { aspect-ratio: 4/3; border-radius: var(--r-md); overflow: hidden; background: #2b2533; }
.sgal .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.sgal a:hover .pic img { transform: scale(1.04); }
.sgal .t { font-size: var(--fs-md); font-weight: 600; margin-top: 8px; }
.sgal .m { font-size: var(--fs-xs); color: var(--c-text2); }
.sgal .x { font-size: var(--fs-sm); color: #4b4552; margin-top: 2px; }
.fan li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 11px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--c-line); }
.fan li:last-child { border-bottom: 0; }
.fan .gi { width: 40px; height: 40px; border-radius: 8px; background: var(--c-lav); color: var(--c-brand); display: grid; place-items: center; font-size: var(--fs-h2); }
.fan .t { font-size: var(--fs-md); font-weight: 500; line-height: 1.35; }
.fan .m { font-size: var(--fs-xs); color: var(--c-text2); }

/* ---------- 상세: 히어로 ---------- */
.sh-hero { background: linear-gradient(115deg, #2c2635 0%, #3a2f49 60%, #4a3a5e 100%); color: #fff; border-radius: var(--r-lg); padding: 26px 30px; display: grid; grid-template-columns: 188px minmax(0, 1fr); gap: 30px; }
.sh-hero .crumb { color: #b9afc8; } .sh-hero .crumb a:hover { color: #fff; }
.sh-hero h1 { font-family: var(--serif); font-size: 32px; color: #fff; }
.sh-hero .en { color: #cbc2d8; font-size: var(--fs-md); margin-top: 2px; }
.sh-hero .dmeta { color: #d8cfe6; margin: 10px 0 12px; font-size: var(--fs-md); }
.sh-hero .kv dt { color: #a99fba; } .sh-hero .kv dd { color: #fff; }
.sh-hero .kv a { text-decoration: underline; text-underline-offset: 3px; }
.sh-hero .chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #e6e0ee; }
.sh-hero .chip.on { background: #fff; color: var(--c-brand-deep); border-color: #fff; }
.sh-hero .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.sh-hero .btn.ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.sh-hero .btn.ghost.on { background: #fff; color: var(--c-brand-deep); border-color: #fff; }
.sh-hero .btn:not(.ghost) { background: #fff; color: var(--c-brand-deep); border-color: #fff; }
.sh-hero .btn:not(.ghost):hover { background: var(--c-lav); }
.sh-hero .tl-official { color: #8fd6b3; } .sh-hero .tl-report { color: #b9afc8; } .sh-hero .tl-verified { color: #cdb8ec; }
.sh-hero .pill { background: rgba(255, 255, 255, .16); color: #fff; }
.sh-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(290px, 24%, 340px); gap: 22px; margin-top: 22px; align-items: start; }
.sh-side { position: sticky; top: calc(var(--hdr-h) + 16px); display: grid; gap: 16px; }
.sh-side h3 { font-size: var(--fs-md); margin-bottom: 8px; }
.sh-main .tabs { margin-top: 0; }
.season-chips { margin: 14px 0; }
.kv { display: grid; grid-template-columns: 78px 1fr; gap: 6px 14px; margin: 0; }
.kv dt { color: var(--c-text2); font-size: var(--fs-sm); } .kv dd { margin: 0; }
.first-box { background: var(--c-surface2); border-radius: var(--r-md); padding: 14px 18px; margin: 0 0 22px; border-left: 3px solid var(--c-brand); }
.term { border-bottom: 1px dotted var(--c-text2); cursor: help; position: relative; }
.term:hover::after, .term:focus::after { content: attr(data-def); position: absolute; left: 0; top: 130%; z-index: 20; width: 240px; background: var(--c-header); color: #fff; padding: 8px 10px; border-radius: var(--r-sm); font-size: var(--fs-sm); line-height: 1.5; font-weight: 400; }
.pp-hero { background: linear-gradient(115deg, #2c2635, #4a3a5e); color: #fff; border-radius: var(--r-lg); padding: 26px 30px; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.pp-hero h1 { color: #fff; font-family: var(--serif); } .pp-hero .crumb { color: #b9afc8; }
.pp-hero .av { width: 84px; height: 84px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-items: center; font-size: 30px; font-weight: 700; flex: none; }
.pp-hero .chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); color: #e6e0ee; }
.pp-hero .chip.on { background: #fff; color: var(--c-brand-deep); }
.pp-hero .muted, .pp-hero .faint { color: #cbc2d8; }

/* ---------- 캐스팅·후기 ---------- */
.cgrid { width: 100%; border-collapse: collapse; font-size: var(--fs-md); }
.cgrid th { font-size: var(--fs-xs); font-weight: 500; color: var(--c-text2); text-align: left; padding: 6px 10px 6px 0; border-bottom: 1px solid var(--c-line); }
.cgrid td { padding: 9px 10px 9px 0; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.cgrid .d { white-space: nowrap; font-variant-numeric: tabular-nums; } .cgrid .d small { color: var(--c-text2); margin-left: 4px; }
.cgrid .hit td { background: var(--c-lav); } .cgrid tr.hit td:first-child { padding-left: 8px; }
.cgrid .cell { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.cgrid .pr { font-weight: 700; font-size: var(--fs-xs); background: var(--c-brand-deep); color: #fff; padding: 0 6px; border-radius: 3px; }
.bar { height: 6px; background: var(--c-surface2); border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--c-brand); }
.rate { display: grid; grid-template-columns: 56px 1fr 34px; gap: 10px; align-items: center; margin: 6px 0; font-size: var(--fs-sm); }
.rev { padding: 16px 0; border-bottom: 1px solid var(--c-line); }
.rev.focus { background: var(--c-lav); margin: 0 -12px; padding: 16px 12px; border-radius: var(--r-md); border-bottom: 0; }
.rev .h { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; font-size: var(--fs-sm); color: var(--c-text2); margin-bottom: 6px; }
.rev .h b { color: var(--c-text); }
.spo { background: var(--c-text); color: var(--c-text); padding: 0 4px; border-radius: 3px; cursor: pointer; }
.spo.open { background: transparent; color: inherit; }

/* ---------- 좌석 지도 ---------- */
.smap-wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 34px; align-items: start; }
.smap { width: 100%; height: auto; }
.smap .ss { cursor: pointer; stroke: #fff; stroke-width: 3; transition: opacity .15s; }
.smap .ss:hover { opacity: .82; }
.smap .ss.sel { stroke: var(--c-text); }
.smap .ss.dim { opacity: .22; }
.smap .mine { fill: none; stroke: var(--c-brand-deep); stroke-width: 3; stroke-dasharray: 6 4; pointer-events: none; }
.smap text { font-family: var(--sans); pointer-events: none; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: var(--fs-xs); color: var(--ink2); align-items: center; margin-top: 10px; }
.legend i { display: inline-block; width: 14px; height: 14px; vertical-align: -3px; margin-right: 4px; border-radius: 3px; }
.quest { background: var(--c-surface2); padding: 14px 16px; border-radius: var(--r-md); margin: 14px 0; }
.ph { background: repeating-linear-gradient(135deg, var(--c-surface2) 0 8px, var(--c-line) 8px 9px); aspect-ratio: 4/3; border-radius: var(--r-sm); display: grid; place-items: center; color: var(--c-text2); font-size: var(--fs-xs); text-align: center; }
.sv { padding: 14px 0; border-bottom: 1px solid var(--c-line); display: block; }
.sv .pic { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 1; background: #2b2533; } .sv .pic img { width: 100%; height: 100%; object-fit: cover; }
.sv .chips { margin-top: 6px; gap: 6px; } .sv .chips span { font-size: var(--fs-xs); background: var(--c-surface2); padding: 1px 8px; border-radius: 4px; color: var(--ink2); }

/* ---------- 굿즈 갤러리 ---------- */
.ggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px 16px; }
.gt .t { font-weight: 600; font-size: var(--fs-md); margin-top: 9px; line-height: 1.35; }
.gt .m { font-size: var(--fs-xs); color: var(--c-text2); margin: 2px 0 8px; }
.gt .chips { gap: 6px; }

/* ---------- 마이페이지 ---------- */
.my-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px; align-items: start; }
.my-side { position: sticky; top: calc(var(--hdr-h) + 16px); background: var(--c-lav); border-radius: var(--r-lg); padding: 22px 16px 14px; }
.my-side .who { text-align: center; padding: 0 6px 16px; }
.my-side .av { width: 64px; height: 64px; border-radius: 50%; background: var(--c-brand); color: #fff; display: grid; place-items: center; font-size: 24px; font-weight: 700; margin: 0 auto 10px; }
.my-side nav a { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: var(--r-sm); font-size: var(--fs-md); color: var(--c-text); }
.my-side nav a:hover { background: rgba(255, 255, 255, .6); }
.my-side nav a.on { background: #fff; color: var(--c-brand-deep); font-weight: 700; }
.my-side nav .n { color: var(--c-text2); font-weight: 400; font-size: var(--fs-sm); }
.entry { display: grid; grid-template-columns: 74px 1fr auto; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--c-line); align-items: center; }
.entry:last-child { border-bottom: 0; }
.entry .dt { text-align: center; border-right: 1px dashed #cfc5dc; padding-right: 14px; }
.entry .dt b { display: block; font-size: 22px; line-height: 1.1; color: var(--c-brand-deep); font-variant-numeric: tabular-nums; } .entry .dt span { font-size: var(--fs-xs); color: var(--c-text2); }
.entry .tt { font-weight: 600; }
.formgrid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.vis { padding: 11px 0; border-bottom: 1px solid var(--c-line); display: flex; gap: 12px; align-items: flex-start; }
.vis input { margin-top: 5px; accent-color: var(--c-brand); width: auto; }
.vis b { display: block; font-size: var(--fs-md); } .vis small { color: var(--c-text2); }
.preview { position: sticky; top: calc(var(--hdr-h) + 16px); background: var(--c-lav); padding: 18px 20px; border-radius: var(--r-lg); }
.preview h3 { margin-bottom: 10px; font-size: var(--fs-lg); }
.preview li { padding: 8px 0; border-bottom: 1px solid rgba(81, 64, 100, .14); font-size: var(--fs-sm); }
.preview li:last-child { border: 0; }
.preview .on b { color: var(--c-ok); } .preview .off { color: var(--c-text2); }
.stat-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.stat-nums > div { background: var(--c-surface2); border-radius: var(--r-md); padding: 14px 16px; }
.stat-nums .n { font-size: 30px; font-weight: 800; line-height: 1.1; color: var(--c-brand-deep); }
.stat-nums .l { font-size: var(--fs-xs); color: var(--c-text2); }
.brow { display: grid; grid-template-columns: 150px 1fr 40px; gap: 12px; align-items: center; padding: 5px 0; font-size: var(--fs-md); }
.brow span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yir { background: linear-gradient(160deg, #514064, #2c2635); color: #fff; padding: 30px 28px; max-width: 380px; aspect-ratio: 4/5; display: flex; flex-direction: column; border-radius: var(--r-lg); }
.yir h2 { color: #fff; font-size: 24px; } .yir .big { font-size: 64px; font-weight: 900; line-height: 1; margin-top: auto; }
.yir small { opacity: .8; }
.strip { padding: 20px 22px; background: var(--c-lav); border-radius: var(--r-lg); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.strip h3 { font-size: var(--fs-sm); color: #6d6578; font-weight: 600; margin-bottom: 4px; }
.strip .big { font-size: 19px; font-weight: 700; }

/* ---------- 커뮤니티 ---------- */
.board { width: 100%; border-collapse: collapse; }
.board th { text-align: left; font-size: var(--fs-xs); font-weight: 500; color: var(--c-text2); padding: 8px 10px; border-bottom: 1px solid var(--c-line); background: var(--c-bg); }
.board td { padding: 11px 10px; border-bottom: 1px solid var(--c-line); font-size: var(--fs-md); }
.board tr:hover td { background: var(--c-bg); }
.board .c { text-align: center; color: var(--c-text2); font-size: var(--fs-sm); white-space: nowrap; }

/* ---------- 기타 ---------- */
.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); background: var(--c-header); color: #fff; padding: 10px 18px; border-radius: var(--r-md); font-size: var(--fs-md); z-index: 90; max-width: 90vw; }
.ovl { position: fixed; inset: 0; background: rgba(248, 247, 250, .97); z-index: 80; overflow: auto; padding: 8vh 20px 40px; }
.ovl-in { max-width: 680px; margin: 0 auto; }
.ovl input { font-size: var(--fs-h2); border: 0; border-bottom: 2px solid var(--c-text); border-radius: 0; background: transparent; padding: 10px 2px; box-shadow: none; }
.rs-g { margin-top: 22px; } .rs-g h3 { font-size: var(--fs-xs); color: var(--c-text2); margin-bottom: 4px; }
.rs-g a { display: block; padding: 8px 0; border-bottom: 1px solid var(--c-line); }
.empty { padding: 36px 0; color: var(--c-text2); text-align: center; }
.tabbar { display: none; }
.wiz { max-width: 560px; margin: 0 auto; text-align: left; }
.wiz .opt { text-align: left; background: #fff; border: 1px solid var(--c-line); padding: 14px 16px; border-radius: var(--r-md); font-size: 16px; }
.wiz .opt:hover { border-color: var(--c-brand); color: var(--c-brand); background: var(--c-lav); }
details.q { border-bottom: 1px solid var(--c-line); padding: 14px 0; }
details.q summary { cursor: pointer; font-weight: 600; }
details.q p { margin: 10px 0 0; color: var(--ink2); }
.footer { background: #1f1b25; color: #a59eb0; margin-top: 40px; }
.footer .wrap { padding-top: 32px; padding-bottom: 36px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; font-size: var(--fs-sm); }
.footer b { color: #e8e4ee; display: block; margin-bottom: 8px; font-weight: 600; }
.footer a { display: block; padding: 2px 0; color: #a59eb0; } .footer a:hover { color: #fff; }
.drawer { position: fixed; inset: 0; z-index: 95; background: rgba(20, 16, 26, .55); display: none; }
.drawer.open { display: block; }
.drawer-in { position: absolute; right: 0; top: 0; bottom: 0; width: min(320px, 86vw); background: #fff; padding: 16px 18px 40px; overflow: auto; }
.drawer-in h4 { margin: 18px 0 6px; font-size: var(--fs-xs); color: var(--c-text2); font-weight: 600; }
.drawer-in a { display: block; padding: 9px 4px; border-bottom: 1px solid var(--c-line); font-size: var(--fs-md); }

/* ---------- 반응형 ---------- */
@media (max-width: 1280px) {
  .gnav > li > a { padding: 0 12px; } .hdr-in { gap: 18px; }
  .prow .pcard { flex-basis: calc((100% - 64px) / 5); }
  .quick a { font-size: var(--fs-sm); }
}
@media (max-width: 1024px) {
  .hgrid { grid-template-columns: minmax(0, 1fr) 290px; gap: 18px; }
  .gnav { display: none; } .m-only { display: grid; } .hsearch { width: clamp(180px, 34vw, 320px); }
  .prow .pcard { flex-basis: calc((100% - 48px) / 4); } .sgal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick { grid-template-columns: repeat(4, minmax(0, 1fr)); height: auto; } .quick a { height: 88px; border-top: 1px solid var(--c-line); } .quick a:nth-child(-n+4) { border-top: 0; } .quick a:nth-child(5) { border-left: 0; }
  .my-grid { grid-template-columns: 220px minmax(0, 1fr); }
}
@media (max-width: 860px) {
  :root { --hdr-h: 56px; }
  main { padding-top: 14px; }
  .hgrid, .sh-grid, .two, .smap-wrap, .formgrid, .strip, .cols2, .cols3, .my-grid, .footer .wrap { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hgrid + .hgrid { margin-top: 18px; }
  .hdr-in { gap: 8px; } .logo small { display: none; } .hsearch { display: none; }
  .ibtn.s-btn { display: grid; }
  .banner { height: 250px; }
  .quick { grid-template-columns: repeat(4, minmax(0, 1fr)); } .quick a { height: 84px; }
  .prow { gap: 14px; } .prow .pcard { flex: 0 0 128px; }
  .page { padding: 18px 16px; }
  .sh-hero { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 18px 16px; }   /* minmax(0,…): 긴 글자가 칸을 밀어 오른쪽이 잘리던 문제 */ .sh-hero h1 { font-size: 22px; }
  .sh-side { position: static; } .stat-nums { grid-template-columns: repeat(2, 1fr); }
  .my-side { position: static; } .my-side nav { display: flex; overflow-x: auto; gap: 4px; } .my-side nav a { white-space: nowrap; } .my-side .who { display: none; }
  .preview { position: static; } .brow { grid-template-columns: 96px 1fr 30px; }
  .tabbar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; background: #fff; border-top: 1px solid var(--c-line); height: 58px; }
  .tabbar a { flex: 1; display: grid; place-items: center; align-content: center; gap: 1px; font-size: var(--fs-xs); color: var(--c-text2); }
  .tabbar a .ico { font-size: var(--fs-h2); } .tabbar a.on { color: var(--c-brand); font-weight: 700; }
  .tabbar a.rec span { background: var(--c-brand); color: #fff; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; margin-top: -14px; font-size: 22px; line-height: 1; }
  .toast { bottom: 76px; } .footer { padding-bottom: 60px; }
  .arrows button { display: none; }
  .board .hide-m, .tbl .hide-m { display: none; } .pop { position: fixed; left: 12px; right: 12px; top: 64px; width: auto; }
  .sgal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ggrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media print { .hdr, .tabbar { display: none; } }

/* ===== 유틸 (인라인 style 정리) — 같은 모양이 2번 이상 쓰이던 것만. !important 는 인라인 style 과 같은 우선순위를 유지하려는 것 ===== */
.u-curdefault { cursor: default !important; }
.u-cwarn { color: var(--warn) !important; }
.u-dinline-flex-gap6-mt6-aicenter { display: inline-flex !important; gap: 6px !important; margin-top: 6px !important; align-items: center !important; }
.u-m0 { margin: 0 !important; }
.u-m12-0 { margin: 12px 0 !important; }
.u-m12-0-0 { margin: 12px 0 0 !important; }
.u-m14-0 { margin: 14px 0 !important; }
.u-m16-0-4 { margin: 16px 0 4px !important; }
.u-m18-0-6 { margin: 18px 0 6px !important; }
.u-m20-0-8-fs15 { margin: 20px 0 8px !important; font-size: 15px !important; }
.u-m24-0-8 { margin: 24px 0 8px !important; }
.u-m4-0-0 { margin: 4px 0 0 !important; }
.u-m4-0-10 { margin: 4px 0 10px !important; }
.u-m6-0 { margin: 6px 0 !important; }
.u-m6-0-0 { margin: 6px 0 0 !important; }
.u-m6-0-10 { margin: 6px 0 10px !important; }
.u-m6-0-12 { margin: 6px 0 12px !important; }
.u-m8-0-0 { margin: 8px 0 0 !important; }
.u-mb10 { margin-bottom: 10px !important; }
.u-mb4 { margin-bottom: 4px !important; }
.u-mb6 { margin-bottom: 6px !important; }
.u-mb8 { margin-bottom: 8px !important; }
.u-mt10 { margin-top: 10px !important; }
.u-mt10-mw560 { margin-top: 10px !important; max-width: 560px !important; }
.u-mt10-mw600 { margin-top: 10px !important; max-width: 600px !important; }
.u-mt12 { margin-top: 12px !important; }
.u-mt12-mw600 { margin-top: 12px !important; max-width: 600px !important; }
.u-mt14 { margin-top: 14px !important; }
.u-mt16 { margin-top: 16px !important; }
.u-mt16-tacenter { margin-top: 16px !important; text-align: center !important; }
.u-mt18 { margin-top: 18px !important; }
.u-mt20 { margin-top: 20px !important; }
.u-mt22 { margin-top: 22px !important; }
.u-mt24 { margin-top: 24px !important; }
.u-mt26 { margin-top: 26px !important; }
.u-mt28 { margin-top: 28px !important; }
.u-mt3 { margin-top: 3px !important; }
.u-mt30 { margin-top: 30px !important; }
.u-mt6 { margin-top: 6px !important; }
.u-mt8 { margin-top: 8px !important; }
.u-mw560-mt10 { max-width: 560px !important; margin-top: 10px !important; }
.u-mw560-mt8 { max-width: 560px !important; margin-top: 8px !important; }
.u-p22-26 { padding: 22px 26px !important; }
.u-tdunderline { text-decoration: underline !important; }
.u-w118 { width: 118px !important; }
.u-w84 { width: 84px !important; }
.u-w96 { width: 96px !important; }
.u-wauto-accc-brand { width: auto !important; accent-color: var(--c-brand) !important; }

/* ===== 탐색·넘버·굿즈 (12-06 구조 개편) ===== */
.xp-ents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 18px; }
.xp-ent { display: flex; flex-direction: column; gap: 2px; padding: 14px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); color: var(--c-text); }
.xp-ent:hover { border-color: var(--c-brand); }
.xp-ent small { color: var(--c-text2); font-size: var(--fs-xs); }
.xp-ic { color: var(--c-brand); margin-bottom: 6px; }
.xp-ic .ico { width: 22px; height: 22px; }
.xp-list { list-style: none; margin: 10px 0 0; padding: 0; }
.xp-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--c-line); }
.xp-row:first-child { border-top: 0; }
.xp-main { min-width: 0; }
.xp-ti { font-weight: 600; color: var(--c-text); }
.xp-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.xp-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.xp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 12px; }
.xp-card { border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-surface); overflow: hidden; }
.xp-img { display: block; aspect-ratio: 4 / 3; background: var(--c-surface2); }
.xp-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xp-noimg { display: grid; place-items: center; height: 100%; color: var(--c-text2); }
.xp-cb { padding: 10px 12px 12px; }
.xp-stale { color: var(--warn); }
.xp-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 10px 0; }
.xp-facts.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; padding: 12px; background: var(--c-surface2); border-radius: var(--r-md); }
.xp-facts.kv dt { font-size: var(--fs-xs); color: var(--c-text2); } .xp-facts.kv dd { margin: 2px 0 0; font-weight: 600; }
@media (max-width: 600px) { .xp-ents { grid-template-columns: repeat(2, 1fr); } .xp-row { flex-direction: column; align-items: flex-start; } .xp-side { align-items: flex-start; } }

/* 작성기 유형별 입력 칸 */
.cmp-row3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.cmp-m { display: flex; flex-direction: column; gap: 4px; font-size: var(--fs-xs); color: var(--c-text2); }
.cmp-m input { height: 40px; border: 1px solid var(--c-line); border-radius: var(--r-sm); padding: 0 10px; font-size: var(--fs-md); color: var(--c-text); background: #fff; }
.cmp-star2 { display: inline-flex; }
.cmp-star2 button { background: none; border: 0; font-size: 24px; line-height: 1; padding: 6px 2px; color: var(--c-line); }
.cmp-star2 button.on { color: #e0a82e; }
