/* =========================================================
   실시간 예약확인증 — 확인 앱과 같은 신호등 색
   🟢 지금 시간대  🟡 오늘이지만 다른 시간대  🔴 오늘 예약 없음  🔵 정기 차량
   (멀리서도 보이게 다크 모드에서도 같은 진한 색을 씀)
   ========================================================= */
.pass-body { --st: #5d6878; transition: background-color .4s; }
.pass-body[data-s="ok"]   { --st: #157a46; }
.pass-body[data-s="warn"] { --st: #9a5b00; }
.pass-body[data-s="bad"]  { --st: #b3261e; }
.pass-body[data-s="reg"]  { --st: #1f5fd6; }
.pass-body.show-pass { background: var(--st); }
.pass-body.show-pass .top .brand { color: #fff; }
.pass-body.show-pass .brand-mark { background: rgba(255, 255, 255, .2); color: #fff; }

.pass-page { max-width: 520px; }
.field .opt { font-weight: 400; font-size: 12px; }
.small { font-size: 13px; }
.center { text-align: center; }
.pass-body.show-pass .muted.small { color: rgba(255, 255, 255, .85); }

#passView { display: grid; gap: 14px; }
.pass { color: #fff; display: grid; gap: 14px; }
.pass-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 13px; opacity: .9; }
.pass-kind { font-weight: 700; letter-spacing: .08em; }
.pass-verdict { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: clamp(26px, 7.4vw, 36px); line-height: 1.2; }
.pass-verdict .dot { width: 18px; height: 18px; border-radius: 50%; background: #fff; flex: none; animation: beat 1.2s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.6); opacity: .5; } }

/* 움직이는 시계 — 캡처 화면과 구별 */
.pass-clock { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pass-clock span { font-size: 15px; opacity: .9; }
.pass-clock b { font-family: var(--mono); font-size: clamp(40px, 13vw, 60px); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .02em; line-height: 1; }

.pass-card { position: relative; overflow: hidden; background: var(--surface); color: var(--ink); border-radius: 18px; padding: 20px 18px; display: grid; gap: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%); background-size: 250% 100%; animation: sweep 2.6s linear infinite; mix-blend-mode: soft-light; }
@media (prefers-color-scheme: dark) { .shine { background-image: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .16) 50%, transparent 60%); mix-blend-mode: normal; } }
@keyframes sweep { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.pass-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--st); }

.big-plate { justify-self: center; font-family: var(--display); font-size: clamp(34px, 10.5vw, 46px); letter-spacing: .05em; color: var(--plate-ink); background: var(--plate); border: 4px solid var(--plate-edge); border-radius: 10px; padding: 4px 18px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.pass-info { margin: 0; display: grid; gap: 10px; }
.pass-info div { display: grid; grid-template-columns: 84px 1fr; align-items: baseline; gap: 8px; }
.pass-info dt { color: var(--muted); font-size: 14px; }
.pass-info dd { margin: 0; font-size: 19px; font-weight: 700; }
.pass-info dd.mono { font-family: var(--mono); letter-spacing: .04em; }
.pass-info dd small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.pass-info .hit dd { color: var(--st); }
.pass-sub { margin: 0; font-size: 14px; color: var(--muted); }
.pass-sub:empty { display: none; }
.pass-stale { margin: 0; background: #fff; color: #7a3d00; border-radius: 12px; padding: 10px 14px; font-weight: 700; font-size: 14px; background-image: repeating-linear-gradient(-45deg, rgba(240, 184, 96, .35) 0 10px, transparent 10px 20px); }
.pass-foot { margin: 0; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .9); }
.pass-body.show-pass #passView .row-buttons button { background: rgba(255, 255, 255, .95); color: #141a24; border-color: transparent; }

@media (prefers-reduced-motion: reduce) { .shine { animation-duration: 6s; } .pass-verdict .dot { animation: none; } }
