/* pass.css — 시즌 패스·한 달 코인 패스·스타터 팩(js/pass.js, 2026-11-25). 앱 코인 모드에서만 쓰인다. 토큰은 cinema.css */
.ps-svg { display: inline-block; flex: none; width: 1em; height: 1em; vertical-align: middle; overflow: visible; }

/* ───────── 홈 입구 ───────── */
.ps-home { margin: 18px 20px 0; }
.ps-entry {
  position: relative; width: 100%; min-height: 64px; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 12px;
  border-radius: var(--r-card); border: 1px solid rgba(232, 181, 77, .32); color: var(--c-text); text-align: left; cursor: pointer;
  background: linear-gradient(100deg, rgba(232, 181, 77, .13), rgba(243, 154, 43, .03) 62%), var(--c-surface);
  font-family: var(--f-ui), sans-serif; transition: transform 140ms var(--ease-out, ease), border-color 160ms ease;
}
.ps-entry:active { transform: scale(.985); }
.ps-entry.is-prem { border-color: rgba(255, 217, 138, .55); }
.ps-entry-ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--c-gold-hi); background: rgba(232, 181, 77, .12); }
.ps-entry-ico .ps-svg { width: 26px; height: 26px; }
.ps-entry-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ps-entry-k { display: flex; align-items: baseline; gap: 8px; min-width: 0; font-size: 11.5px; color: var(--c-text2); white-space: nowrap; }
.ps-entry-k b { font-family: var(--f-title), serif; font-size: 14px; letter-spacing: .06em; color: var(--c-text); }
.ps-entry-k span { overflow: hidden; text-overflow: ellipsis; }
.ps-entry-k { flex-wrap: wrap; row-gap: 2px; } /* DET-14: 「Preseason · Ends t…」 — 상태가 이름 옆에 안 들어가면 아랫줄에 다 보이게 */
.ps-entry-k span { white-space: nowrap; max-width: 100%; }
.ps-entry-t { display: flex; align-items: center; gap: 10px; }
.ps-entry-tier { flex: none; font-family: var(--f-num); font-weight: 500; font-size: 16px; color: var(--c-gold-hi); letter-spacing: .02em; }
.ps-entry-xp { flex: none; font-family: var(--f-num); font-size: 12px; color: var(--c-text2); font-variant-numeric: tabular-nums; }
.ps-entry-go { flex: none; width: 18px; height: 18px; color: var(--c-text2); fill: none; stroke: currentColor; stroke-width: 2; }
.ps-bar { position: relative; flex: 1; min-width: 40px; height: 6px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, .09); display: block; }
.ps-bar > i { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: var(--g-gold); }
.ps-badge {
  flex: none; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; display: inline-grid; place-items: center;
  font-family: var(--f-num); font-size: 12.5px; font-weight: 600; color: #fff; background: var(--c-red); box-shadow: 0 0 0 2px var(--c-bg);
}
.ps-entry .ps-badge { position: absolute; top: -8px; right: -6px; }

/* ───────── 패스 창 ───────── */
.sheet--pass .sheet-body { padding-left: 0; padding-right: 0; }
.ps { font-family: var(--f-ui), sans-serif; color: var(--c-text); }
.sheet--pass .ps > :not(.ps-board) { margin-left: 20px; margin-right: 20px; }
.ps-head { display: flex; flex-direction: column; gap: 8px; padding: 4px 0 2px; }
.ps-season { margin: 0; display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--c-text2); letter-spacing: .04em; }
.ps-days { color: var(--c-amber); font-weight: 700; white-space: nowrap; }
.ps-tierline { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ps-tier-n { font-family: var(--f-num); font-weight: 500; font-size: 26px; letter-spacing: .02em; color: var(--c-gold-hi); }
.ps-xp { font-size: 12.5px; color: var(--c-text2); }
.ps-bar--big { flex: none; height: 8px; border-radius: 4px; }
.sheet--pass .ps-claimall { margin-top: 14px; width: calc(100% - 40px); }

.ps-board { position: relative; display: flex; margin-top: 16px; }
.ps-labels {
  flex: none; width: 34px; display: grid; grid-template-rows: 92px 30px 92px; padding-left: 6px;
}
.ps-labels > span { writing-mode: vertical-rl; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--c-text2); }
html[data-lang='en'] .ps-labels > span { letter-spacing: .04em; }
.ps-labels > span.is-on { color: var(--c-gold-hi); }
.ps-labels .ps-svg { width: 12px; height: 12px; }
.ps-track {
  flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  padding: 2px 20px 10px 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.ps-track::-webkit-scrollbar { display: none; }
.ps-track::after { content: ''; flex: 0 0 8px; }
.ps-col { flex: 0 0 74px; display: grid; grid-template-rows: 92px 30px 92px; scroll-snap-align: center; }
.ps-num {
  display: grid; place-items: center; font-family: var(--f-num); font-size: 13px; color: var(--c-text3); position: relative;
}
.ps-num::before { content: ''; position: absolute; left: -4px; right: -4px; top: 50%; height: 2px; background: rgba(255, 255, 255, .08); z-index: -1; }
.ps-col.is-reached .ps-num { color: var(--c-gold); }
.ps-col.is-reached .ps-num::before { background: rgba(232, 181, 77, .45); }
.ps-col.is-next .ps-num { color: var(--c-text); font-weight: 600; }
.ps-cell {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; margin: 4px 0;
  border-radius: 14px; border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-text); font-family: var(--f-ui), sans-serif;
  padding: 6px 4px; min-height: 0; transition: transform 140ms var(--ease-out, ease), border-color 160ms ease, background 200ms ease;
}
.ps-cell--prem { background: linear-gradient(180deg, rgba(232, 181, 77, .10), rgba(232, 181, 77, .03)), var(--c-surface); border-color: rgba(232, 181, 77, .22); }
.ps-rw { display: inline-flex; align-items: center; gap: 4px; }
.ps-rw b { font-family: var(--f-num); font-weight: 500; font-size: 17px; letter-spacing: .02em; }
.ps-rw .tk-coin { width: 18px; height: 18px; }
.ps-cell--xp { background: transparent; border-style: dashed; border-color: var(--c-line); color: var(--c-text3); gap: 4px; }
.ps-cell--xp .ps-xp-ico { width: 20px; height: 20px; }
.ps-cell--xp .ps-xp-k { font-size: 11px; letter-spacing: .04em; }
.ps-cell--xp.is-on { color: var(--c-gold-deep); border-color: rgba(232, 181, 77, .25); }
.ps-col:not(.is-reached) .ps-cell--xp { opacity: .6; }
.ps-cell-s { display: grid; place-items: center; height: 22px; color: var(--c-text2); }
.ps-cell-s .ps-svg { width: 15px; height: 15px; }
.ps-cell.is-claimed { opacity: .5; }
.ps-cell.is-claimed .ps-cell-s { color: var(--c-gold); }
.ps-cell.is-locked .ps-rw { opacity: .55; }
.ps-cell:not(.is-ready):not(.is-claimed) { filter: saturate(.85); }
.ps-col:not(.is-reached) .ps-cell { opacity: .72; }
button.ps-cell { cursor: pointer; }
.ps-cell.is-ready { border-color: rgba(255, 217, 138, .75); background: linear-gradient(180deg, rgba(255, 217, 138, .22), rgba(232, 181, 77, .06)), var(--c-surface2); box-shadow: 0 0 0 1px rgba(255, 217, 138, .25), 0 6px 18px rgba(232, 170, 60, .18); }
.ps-cell.is-ready:active { transform: scale(.94); }
.ps-cell-go {
  height: 22px; padding: 0 10px; border-radius: 11px; display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 700;
  background: var(--g-gold); color: var(--c-on-gold); white-space: nowrap;
}
.ps-cell.is-ready .ps-cell-go { animation: ps-breathe 1.8s ease-in-out 3; } /* PERF 11/30: infinite 금지 */
@keyframes ps-breathe { 50% { transform: scale(1.06); } }
.ps-cell.is-flash { animation: ps-pop 420ms var(--ease-out, ease); }
@keyframes ps-pop { 0% { transform: scale(.9); } 60% { transform: scale(1.06); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .ps-cell.is-ready .ps-cell-go, .ps-cell.is-flash { animation: none; } }

.ps-prem-on { display: flex; align-items: center; gap: 8px; margin-top: 8px; margin-bottom: -6px; font-size: 13px; font-weight: 700; color: var(--c-gold-hi); }
.ps-prem-on .ps-svg { width: 16px; height: 16px; }
.ps-buy {
  margin-top: 8px; padding: 14px; border-radius: 16px; display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; align-items: center;
  border: 1px solid rgba(255, 217, 138, .45); background: linear-gradient(100deg, rgba(232, 181, 77, .14), rgba(243, 154, 43, .03) 62%), var(--c-surface2);
}
.ps-buy-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ps-buy-t b { font-family: var(--f-title), serif; font-size: 15px; letter-spacing: .04em; color: var(--c-gold-hi); }
.ps-buy-t span { font-size: 12px; line-height: 1.5; color: var(--c-text2); }
.ps-buy-btn { min-width: 96px; min-height: 44px; padding: 0 16px; font-family: var(--f-num); font-size: 17px; letter-spacing: .02em; }
.ps-buy .ps-fine { grid-column: 1 / -1; }
.ps-withdraw { margin-top: 8px; }
.ps-buy--soon { grid-template-columns: 1fr; border-style: dashed; border-color: var(--c-line2); background: var(--c-surface); }
.ps-buy-act { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ps-warn { font-size: 11px; font-weight: 700; color: var(--c-amber); white-space: nowrap; }
.ps-warn-t { color: var(--c-amber); font-weight: 700; }
.ps-fine { margin: 0; font-size: 11px; line-height: 1.55; color: var(--c-text2); }
.ps-fine a { color: var(--c-text2); text-decoration: underline; text-underline-offset: 2px; }

.ps-h { margin: 22px 20px 8px; font-family: var(--f-title), serif; font-weight: 700; font-size: 15px; letter-spacing: .1em; color: var(--c-text2); }
.ps-missions { list-style: none; padding: 0; margin: 0 20px; display: flex; flex-direction: column; gap: 8px; }
.ps-m { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border-radius: 12px; background: var(--c-surface); border: 1px solid var(--c-line); font-size: 13px; }
.ps-m-ico { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--c-line2); color: var(--c-on-gold); }
.ps-m-ico i { display: block; }
.ps-m.is-done .ps-m-ico { background: var(--c-gold); border-color: var(--c-gold); }
.ps-m.is-done .ps-m-ico .ps-svg { width: 13px; height: 13px; }
.ps-m-t { flex: 1; min-width: 0; }
.ps-m.is-done .ps-m-t { color: var(--c-text2); }
.ps-m-n { flex: none; font-family: var(--f-num); font-size: 12.5px; color: var(--c-text2); font-variant-numeric: tabular-nums; }
.ps-m-xp { flex: none; min-width: 56px; text-align: right; font-family: var(--f-num); font-weight: 500; font-size: 13px; color: var(--c-gold); }
.ps-how { margin: 14px 20px 0; font-size: 12px; color: var(--c-text2); }
.ps-how summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 700; }
.ps-how p { margin: 6px 0 0; line-height: 1.6; }

/* ───────── 코인 창 「특별 상품」 ───────── */
.ps-special { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.sheet--ticket .ps-special .tk-h.ps-special-h { margin: 4px 4px 0; }
.ps-card {
  position: relative; width: 100%; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 12px;
  border-radius: 16px; border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-text); text-align: left; font-family: var(--f-ui), sans-serif;
}
button.ps-card { cursor: pointer; transition: transform 140ms var(--ease-out, ease); }
button.ps-card:active { transform: scale(.985); }
.ps-card--starter { border-color: rgba(255, 217, 138, .55); background: linear-gradient(100deg, rgba(232, 181, 77, .16), rgba(243, 154, 43, .03) 62%), var(--c-surface2); margin-top: 6px; }
.ps-card--monthly.is-active { border-color: rgba(95, 191, 122, .45); }
.ps-card-ico { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: var(--c-gold-hi); background: rgba(232, 181, 77, .12); }
.ps-card-ico .ps-svg { width: 22px; height: 22px; }
.ps-card-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ps-card-main > b { font-family: var(--f-title), serif; font-size: 14.5px; letter-spacing: .03em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.ps-card-main > span { font-size: 11.5px; line-height: 1.45; color: var(--c-text2); }
.ps-left { font-style: normal; font-family: var(--f-ui), sans-serif; font-size: 11px; font-weight: 700; color: var(--c-green); letter-spacing: .02em; }
.ps-card--pass .ps-left { color: var(--c-gold-hi); }
.ps-tag {
  position: absolute; right: 14px; top: -11px; height: 22px; padding: 0 10px; border-radius: 11px; display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 700; color: var(--c-on-gold); background: var(--g-gold); letter-spacing: .04em;
}
.sheet--ticket .ps-price { flex: none; margin-left: auto; }
.ps-price { flex: none; height: 40px; min-width: 84px; padding: 0 12px; border-radius: 20px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--c-line2); color: var(--c-text); cursor: pointer; }
.ps-price b { font-family: var(--f-num); font-weight: 500; font-size: 16.5px; letter-spacing: .02em; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.ps-price.is-off { cursor: default; background: transparent; border-style: dashed; }
.ps-price.is-off b { font-family: var(--f-ui), sans-serif; font-weight: 700; font-size: 12px; color: var(--c-text2); }
.ps-price.is-owned b { color: var(--c-green); }
.ps-price.is-owned .ps-svg { width: 13px; height: 13px; }
.ps-card--starter .ps-price:not(.is-off) { background: var(--g-gold); border-color: transparent; }
.ps-card--starter .ps-price:not(.is-off) b { color: var(--c-on-gold); }
.ps-card--pass .ps-badge { margin-right: 2px; }
.ps-open { flex: none; display: inline-flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 700; color: var(--c-gold-hi); }
.ps-open .ico { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.ps-mrow {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; margin-top: -4px; padding: 6px 8px 6px 14px;
  border-radius: 14px; background: rgba(95, 191, 122, .08); border: 1px solid rgba(95, 191, 122, .25); font-size: 13px; font-weight: 700;
}
.ps-mclaim { min-height: 36px; padding: 0 18px; }
.ps-mdone { width: 18px; height: 18px; color: var(--c-green); margin-right: 8px; }
.ps-mnote { margin-top: -4px; padding: 0 4px; }
.ps-special-note { padding: 0 4px; }
.ps-linkbtn { background: none; border: 0; padding: 8px 2px; min-height: 32px; font: inherit; color: var(--c-gold-hi); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

/* ───────── 작은 창(월정액 오늘 받기 · 스타터 소개) ───────── */
.ps-small { display: flex; flex-direction: column; gap: 12px; text-align: center; padding-bottom: 4px; }
.ps-small-art { margin: 4px auto 0; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: var(--c-gold-hi); background: rgba(232, 181, 77, .12); }
.ps-small-art .ps-svg { width: 34px; height: 34px; }
.ps-small-art--starter { width: auto; height: auto; padding: 10px 18px; display: inline-flex; gap: 8px; align-items: center; border-radius: 30px; }
.ps-small-art--starter .tk-coin { width: 30px; height: 30px; }
.ps-small-art--starter b { font-family: var(--f-num); font-weight: 500; font-size: 30px; color: var(--c-gold-hi); }
.ps-small-p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--c-text); }
.ps-small .ps-card { text-align: left; }
.ps-small .tk-coin, .ps-small .ps-coin { width: 18px; height: 18px; }
/* 12/02 art-1202: 상품 그림(img/ui/prod_*.webp) — 금빛 타일 안에 그림이 거의 꽉 차게 */
.ps-img { display: block; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }
.ps-entry-ico .ps-img { width: 38px; height: 38px; }
.ps-card-ico .ps-img { width: 34px; height: 34px; }
.ps-small-art .ps-img { width: 54px; height: 54px; }
