/* 에버랜드 앱 제안 — 회색 와이어프레임 (2026-12-01 Claude)
   - 색은 회색만. 주황·상태색은 와이어 확정 뒤 컨셉에서 입힌다.
   - "나중에 강조색이 들어갈 자리"는 --g-900 채움(어두운 회색)으로 표시한다.
   - 간격은 4의 배수, 글자는 14 이상(탭 이름 12만 예외).
   - 기기 기준: 아이폰 393 × 852 */

:root {
  --g-0: #ffffff;
  --g-25: #fafafa;
  --g-50: #f4f4f4;
  --g-100: #e9e9e9;
  --g-200: #d4d4d4;
  --g-300: #bdbdbd;
  --g-500: #8a8a8a;
  --g-600: #666666;
  --g-700: #4a4a4a;
  --g-800: #2e2e2e;
  --g-900: #1b1b1b;

  --side: 20px;          /* 화면 좌우 여백 */
  --r-card: 24px;        /* 패스 카드 모서리(깊게 둥근) */
  --r-box: 16px;         /* 일반 상자 */
  --r-chip: 999px;
  --tab-h: 64px;
  --head-h: 56px;
  --status-h: 47px;

  --t-28: 28px; --t-22: 22px; --t-20: 20px; --t-18: 18px; --t-16: 16px; --t-14: 14px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body.app {
  font-family: var(--font); color: var(--g-900); background: #dcdcdc;
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px 0;
  -webkit-font-smoothing: antialiased; letter-spacing: -0.01em;
}
::selection { background: var(--g-200); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--g-900); outline-offset: 2px; border-radius: 8px; }
.ic { width: 24px; height: 24px; display: inline-block; flex: none; }
.ic--20 { width: 20px; height: 20px; }
.ic--16 { width: 16px; height: 16px; }
.ic svg { width: 100%; height: 100%; display: block; }
.num { font-variant-numeric: tabular-nums; }

/* ── 기기 틀 ───────────────────────────────── */
.device {
  width: 393px; height: 852px; background: var(--g-0); border-radius: 48px; overflow: hidden;
  position: relative; box-shadow: 0 24px 60px rgba(0,0,0,.18), 0 0 0 10px #111;
  display: flex; flex-direction: column;
}
.status-bar { height: var(--status-h); flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 32px 0 40px; font-weight: 600; font-size: 16px; background: var(--g-0); position: relative; z-index: 30; }
.status-bar__island { position: absolute; left: 50%; top: 11px; width: 120px; height: 34px; margin-left: -60px; background: #111; border-radius: 20px; }
.status-bar__icons { display: flex; gap: 6px; align-items: center; }
.status-bar__icons i { display: block; width: 18px; height: 11px; border-radius: 3px; background: var(--g-900); }
.status-bar__icons i:first-child { width: 16px; background: none; border-bottom: 11px solid var(--g-900); border-left: 16px solid transparent; height: 0; border-radius: 0; }
.status-bar__icons i:last-child { width: 25px; height: 12px; background: none; border: 1.5px solid var(--g-900); border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--g-0), inset 19px 0 0 var(--g-900); }

body.app.is-bare { padding: 0; background: transparent; display: block; min-height: 0; }
body.app.is-bare .device { border-radius: 0; box-shadow: none; }

@media (max-width: 500px) {
  html:has(body.app:not(.is-bare)) { height: 100%; overflow: hidden; }
  body.app:not(.is-bare) { position: fixed; inset: 0; padding: 0; display: block; background: var(--g-0); min-height: 0; }
  body.app:not(.is-bare) .device { width: 100%; height: 100%; border-radius: 0; box-shadow: none; --status-h: env(safe-area-inset-top, 0px); }
  body.app:not(.is-bare) .status-bar { display: none; }
  body.app:not(.is-bare) .device { padding-top: env(safe-area-inset-top, 0px); }
}

/* ── 화면 · 머리 · 탭 ─────────────────────── */
.screen { flex: 1; overflow-y: auto; overflow-x: hidden; position: relative; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; scrollbar-width: none; }
.screen::-webkit-scrollbar { display: none; }
.screen__pad { padding: 0 var(--side) 32px; }

.head { height: var(--head-h); display: flex; align-items: center; gap: 4px; padding: 0 12px 0 var(--side); position: sticky; top: 0; background: var(--g-0); z-index: 20; }
.head__logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; letter-spacing: 0.02em; }
.head__logo b { display: block; width: 28px; height: 28px; border-radius: 8px; background: var(--g-200); }
.head__title { font-size: var(--t-18); font-weight: 700; }
.head__space { flex: 1; }
.head__pill { height: 32px; padding: 0 12px; border-radius: var(--r-chip); background: var(--g-50); font-size: 14px; font-weight: 600; color: var(--g-700); display: inline-flex; align-items: center; gap: 4px; }
.head__btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; }
.head__btn--dot { position: relative; }
.head__btn--dot::after { content: ""; position: absolute; top: 10px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--g-900); box-shadow: 0 0 0 2px var(--g-0); }
.head__btn:active { background: var(--g-50); }
.head--back { padding-left: 4px; }

.big-title { font-size: var(--t-28); font-weight: 800; letter-spacing: -0.02em; padding: 4px var(--side) 0; }
.big-sub { font-size: 14px; color: var(--g-600); padding: 8px var(--side) 0; display: flex; align-items: center; gap: 6px; }

.tabbar { height: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px); flex: none; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--g-100); background: var(--g-0); position: relative; z-index: 25; }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--g-500); }
.tabbar a[aria-current="page"] { color: var(--g-900); }
.tabbar a[aria-current="page"] .ic svg * { stroke-width: 2; }

/* 줄서기 중에만 탭 위에 붙는 하단 상태바 (STB-01) */
.qbar { flex: none; margin: 0 12px 8px; height: 56px; border-radius: 16px; background: var(--g-900); color: var(--g-0); display: flex; align-items: center; gap: 12px; padding: 0 8px 0 16px; position: relative; z-index: 24; }
.qbar__label { font-size: 14px; font-weight: 700; padding: 4px 8px; border-radius: 8px; background: rgba(255,255,255,.16); display: inline-flex; gap: 4px; align-items: center; }
.qbar__text { flex: 1; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qbar__go { height: 40px; padding: 0 14px; border-radius: 12px; background: var(--g-0); color: var(--g-900); font-weight: 700; font-size: 14px; }
.qbar[hidden] { display: none; }

/* ── 구간 ─────────────────────────────────── */
.sec { margin-top: 32px; }
.sec:first-child { margin-top: 0; }
.sec__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.sec__title { font-size: var(--t-18); font-weight: 700; }
.sec__more { font-size: 14px; color: var(--g-600); display: inline-flex; align-items: center; gap: 2px; min-height: 44px; margin: -12px 0; }
.sec__note { font-size: 14px; color: var(--g-500); }
.sec--tight { margin-top: 12px; }

/* ── 패스 카드: 그림이 스며드는 둥근 카드 (12/2 사용자, 회사클로드_전달.md 4장) ──
   바깥 둥근 카드 안에 그림이 한 겹 더 들어가고(얇은 흰 테두리), 그림은 아래로 갈수록 흰색으로 스며든다. 선으로 나누지 않는다.
   그림 위에는 상태 라벨과 큰 글자만. 작은 글자는 흰 부분에. 맨 아래 꽉 찬 버튼 하나.
   상태에 따라 그림 비중만 바뀐다: lg(방문 전, 시즌 그림) · md(줄서기, 시설 사진) · qr(당일, 그림 자리에 입장 QR) · sm(그 밖) */
.pass {
  --art: var(--g-200); --art-h: 112px; --pat: linear-gradient(#0000, #0000);
  position: relative; border-radius: 28px; background: var(--g-0); padding: 6px;
  box-shadow: 0 0 0 1px var(--g-200), 0 8px 24px rgba(0,0,0,.06); transition: transform .3s var(--ease-out);
}
.pass--art-lg { --art-h: 184px; }
.pass--art-qr { --art-h: 148px; }
.pass--art-sm { --art-h: 80px; }
.pass__art {
  position: relative; height: var(--art-h); border-radius: 22px 22px 0 0; overflow: hidden; padding: 14px;
  background: linear-gradient(180deg, #fff0 45%, var(--g-0) 100%), var(--pat), var(--art);
}
.pass__pic { position: absolute; right: 72px; top: 50%; margin-top: -28px; color: var(--g-500); opacity: .7; }
.pass__pic .ic { width: 40px; height: 40px; }
.pass--art-lg .pass__pic { right: 50%; margin-right: -28px; top: 44%; }
.pass--art-lg .pass__pic .ic { width: 56px; height: 56px; }
.pass--art-qr .pass__pic { display: none; }
.pass__top { position: relative; display: flex; align-items: center; gap: 8px; }
.pass__label { height: 28px; padding: 0 10px; border-radius: 8px; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; background: var(--g-900); color: var(--g-0); }
.pass__label--line { background: var(--g-0); color: var(--g-900); box-shadow: inset 0 0 0 1.5px var(--g-900); }
.pass__label--mute { background: var(--g-0); color: var(--g-700); }
.pass__staff { display: inline-flex; align-items: center; gap: 4px; height: 28px; font-size: 14px; font-weight: 700; padding: 0 8px; border-radius: 8px; background: var(--g-0); color: var(--g-800); }
.pass__qr { margin-left: auto; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--g-0); margin-top: -4px; margin-right: -4px; }
.pass__big { position: absolute; left: 14px; bottom: 34px; font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.pass--art-qr .pass__big { font-size: var(--t-28); bottom: 44px; }
.pass__qrbig { position: absolute; right: 14px; top: 14px; width: 108px; height: 108px; border-radius: 18px; background: var(--g-0); display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.pass__qrbig .ic { width: 76px; height: 76px; }
.pass__qrbig small { position: absolute; left: 0; right: 0; bottom: -22px; text-align: center; font-size: 14px; font-weight: 600; color: var(--g-700); }
/* 흰 부분: 큰 제목은 그림이 흰색으로 바뀌는 자리에 걸친다 */
.pass__info { position: relative; padding: 0 14px 14px; margin-top: -26px; }
.pass--art-qr .pass__info { margin-top: -8px; }
.pass__title { font-size: var(--t-20); font-weight: 700; line-height: 1.35; }
.pass__time { font-size: var(--t-28); font-weight: 800; letter-spacing: -0.02em; margin-top: 4px; line-height: 1.25; }
.pass__time small { font-size: var(--t-18); font-weight: 700; }
.pass__meta { font-size: 14px; color: var(--g-600); margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.pass__meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--g-500); display: inline-block; }
.pass__line { margin-top: 12px; font-size: 14px; font-weight: 600; padding: 10px 12px; border-radius: 12px; background: var(--g-50); display: flex; gap: 6px; align-items: flex-start; line-height: 1.45; }
.pass__line .ic { width: 18px; height: 18px; margin-top: 1px; }
.pass__slot { margin-top: 12px; border-radius: 14px; padding: 12px; background: var(--g-50); font-size: 14px; color: var(--g-600); line-height: 1.5; }
.pass__slot b { color: var(--g-800); }
.pass__people { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; color: var(--g-700); font-weight: 600; }
.avatars { display: flex; }
.avatars i { width: 28px; height: 28px; border-radius: 50%; background: var(--g-200); border: 2px solid var(--g-0); margin-left: -8px; }
.avatars i:first-child { margin-left: 0; }
.pass__next { margin-top: 14px; font-size: 15px; line-height: 1.5; color: var(--g-700); display: flex; gap: 8px; }
.pass__next b { color: var(--g-900); }
.pass__next .ic { width: 20px; height: 20px; margin-top: 1px; color: var(--g-900); }
.pass__act { margin-top: 14px; }
.pass__act .btn { border-radius: 18px; }

/* 가운데 칸: 손으로 넘기는 장(최대 3장). 저절로 넘어가지 않는다. 위(날짜·이용권)와 아래(버튼)는 고정 */
.pass__pages { margin: 14px -14px 0; padding: 0 14px; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 14px; scrollbar-width: none; }
.pass__pages::-webkit-scrollbar { display: none; }
.pass__page { flex: none; width: 100%; scroll-snap-align: start; border-radius: 16px; background: var(--g-50); padding: 14px 16px; min-height: 96px; }
.pass__page small { display: block; font-size: 14px; font-weight: 600; color: var(--g-600); }
.pass__page b { display: block; font-size: 17px; font-weight: 700; line-height: 1.4; margin-top: 4px; }
.pass__page span { display: block; font-size: 14px; color: var(--g-600); line-height: 1.45; margin-top: 2px; }
.pass__dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.pass__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--g-200); transition: width .2s var(--ease-out), background-color .2s var(--ease-out); }
.pass__dots i.is-on { width: 16px; border-radius: 3px; background: var(--g-900); }

.pass__page { scroll-snap-stop: always; }
/* 담은 곳 한 줄 (방문 전 · 담은 뒤) */
.pass__pick { margin-top: 12px; width: 100%; min-height: 48px; padding: 0 12px 0 14px; border-radius: 14px; background: var(--g-50); display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; text-align: left; }
.pass__pick span:not(.ic) { flex: 1; }
.pass__pick > .ic:first-child svg path { fill: currentColor; }
.pass__pick > .ic:last-child { color: var(--g-500); }
/* 하트 = 담기. 홈 카드·시설 상세·둘러보기가 같은 목록 */
.heart { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--g-700); flex: none; }
.heart.is-on { color: var(--g-900); }
.heart.is-on svg path { fill: currentColor; }
.heart:active { transform: scale(.92); }
.tile__img .heart { position: absolute; right: 4px; top: 4px; background: rgba(255,255,255,.9); width: 36px; height: 36px; }
.tile__img .heart .ic { width: 20px; height: 20px; }
.tile__img .heart::before { content: ""; position: absolute; inset: -4px; }
.heart--fac { float: right; margin: -4px 44px 0 8px; background: var(--g-50); }
#fac:not(.is-half):not(.is-peek) .heart--fac { margin-right: 0; }
.picks__t { font-size: var(--t-22); font-weight: 800; }
.picks__d { font-size: 15px; color: var(--g-600); margin-top: 6px; line-height: 1.5; }
#picks { height: auto; max-height: 82%; transform: translateY(105%); z-index: 40; }
#picks.is-on { transform: none; }
#picks .row { min-height: 64px; padding-right: 8px; }
/* 일행이 받은 링크 화면 (앱이 아니라 웹으로 열림) */
.shr-art { height: 220px; background: linear-gradient(180deg, #fff0 45%, var(--g-0) 100%), var(--g-200); position: relative; display: grid; place-items: center; color: var(--g-500); }
.shr-art .ic { width: 56px; height: 56px; opacity: .7; }
.shr-top { position: absolute; left: var(--side); top: 16px; display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; color: var(--g-900); }
.shr-top b { width: 24px; height: 24px; border-radius: 7px; background: var(--g-0); display: block; }
.shr-big { font-size: 48px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-top: -40px; position: relative; }
.shr-app { margin-top: 24px; display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 16px; border-radius: 16px; background: var(--g-50); font-size: 15px; color: var(--g-700); }
.shr-app span:not(.ic) { flex: 1; }

/* 상태별: 모양은 같고 그림 자리의 진하기만 다르다 (회색) */
.pass--mute { --art: var(--g-100); }
.pass--mute .pass__title, .pass--mute .pass__time { color: var(--g-700); }
.pass--slash { --pat: repeating-linear-gradient(135deg, transparent 0 14px, rgba(0,0,0,.05) 14px 16px); }
.pass--hatch { --pat: repeating-linear-gradient(135deg, transparent 0 8px, rgba(0,0,0,.08) 8px 10px); }
.pass--call { --art: var(--g-900); box-shadow: 0 0 0 2px var(--g-900), 0 8px 24px rgba(0,0,0,.1); }
.pass--call .pass__label { background: var(--g-0); color: var(--g-900); }
.pass--call .pass__pic { color: var(--g-0); opacity: .5; }
.pass--call .pass__art { background: linear-gradient(180deg, #fff0 30%, var(--g-0) 78%), var(--art); }
.pass--call .pass__info { margin-top: -18px; }
.pass.is-enter { animation: pass-in .32s var(--ease-out); }
@keyframes pass-in { from { transform: translateY(8px) scale(.985); opacity: .6; } to { transform: none; opacity: 1; } }

/* 접힌 장 (패스 탭) */
.fold { border-radius: 20px; border: 1.5px solid var(--g-200); background: var(--g-0); }
.fold + .fold { margin-top: 8px; }
.fold__row { display: flex; align-items: center; gap: 12px; padding: 0 16px; min-height: 64px; width: 100%; text-align: left; }
.fold__icon { width: 40px; height: 40px; border-radius: 12px; background: var(--g-50); display: grid; place-items: center; flex: none; }
.fold__txt { flex: 1; min-width: 0; }
.fold__name { display: block; font-size: 16px; font-weight: 700; }
.fold__desc { display: block; font-size: 14px; color: var(--g-600); margin-top: 2px; }
.fold__chev { color: var(--g-500); transition: transform .25s var(--ease-out); }
.fold[open] .fold__chev, .fold.is-open .fold__chev { transform: rotate(90deg); }
.fold__panel { padding: 0 16px 16px; }

/* ── 버튼 ─────────────────────────────────── */
.btn { height: 52px; border-radius: 14px; font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 20px; width: 100%; transition: transform .12s var(--ease-out); }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--g-900); color: var(--g-0); }
.btn--line { background: var(--g-0); color: var(--g-900); box-shadow: inset 0 0 0 1.5px var(--g-300); }
.btn--soft { background: var(--g-100); color: var(--g-900); }
.btn--sm { height: 44px; font-size: 15px; border-radius: 12px; padding: 0 14px; width: auto; }
.btn[disabled] { opacity: .4; pointer-events: none; }

.chip { height: 36px; padding: 0 14px; border-radius: var(--r-chip); background: var(--g-0); box-shadow: inset 0 0 0 1.5px var(--g-200); font-size: 14px; font-weight: 600; color: var(--g-800); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; flex: none; }
.chip.is-on { background: var(--g-900); color: var(--g-0); box-shadow: none; }
.chip--soft { background: var(--g-50); box-shadow: none; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--side) * -1); padding: 0 var(--side); }
.chips::-webkit-scrollbar { display: none; }

.badge { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 6px; font-size: 14px; font-weight: 600; background: var(--g-100); color: var(--g-800); white-space: nowrap; }
.badge--line { background: none; box-shadow: inset 0 0 0 1px var(--g-300); }
.badge--dark { background: var(--g-900); color: var(--g-0); }

/* ── 홈 조각 ──────────────────────────────── */
.coupon { margin-top: 12px; width: 100%; text-align: left; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 8px 0 16px; border-radius: 16px; background: var(--g-50); font-size: 15px; font-weight: 600; }
.coupon .ic { color: var(--g-700); }
.coupon > span:not(.ic):not(.avatars):not(.muted) { flex: 1; }
.coupon .btn { width: auto; }
.coupon .btn { height: 36px; font-size: 14px; border-radius: 10px; padding: 0 14px; }
.coupon.is-done { display: none; }

.oneline { display: flex; align-items: center; gap: 8px; min-height: 52px; font-size: 15px; border-bottom: 1px solid var(--g-100); }
.oneline .ic { color: var(--g-600); }
.oneline b { font-weight: 700; }
.oneline > span:not(.ic):not(.avatars):not(.muted) { flex: 1; }
.oneline .muted { color: var(--g-500); font-size: 14px; flex: none; }

.intro { border-radius: var(--r-box); background: var(--g-50); padding: 20px; }
.intro__t { font-size: 17px; font-weight: 700; }
.intro__d { font-size: 15px; color: var(--g-700); line-height: 1.55; margin-top: 8px; }
.intro__row { display: flex; gap: 8px; margin-top: 16px; }
.intro__row span { flex: 1; text-align: center; font-size: 14px; font-weight: 600; padding: 12px 4px; border-radius: 12px; background: var(--g-0); }

.rows { border-radius: var(--r-box); border: 1.5px solid var(--g-100); overflow: hidden; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; min-height: 64px; width: 100%; text-align: left; background: var(--g-0); }
.row + .row { border-top: 1px solid var(--g-100); }
.row__thumb { width: 48px; height: 48px; border-radius: 12px; background: var(--g-100); flex: none; }
.row__txt { flex: 1; min-width: 0; }
.row__name { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.row__desc { display: block; font-size: 14px; color: var(--g-600); margin-top: 4px; line-height: 1.4; }
.row__end { text-align: right; flex: none; }
.row__big { display: block; font-size: 18px; font-weight: 800; }
.row__small { display: block; font-size: 14px; color: var(--g-500); margin-top: 2px; }
.row .ic.chev { color: var(--g-400, #a3a3a3); }

.hscroll { scroll-padding-inline: var(--side); display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--side) * -1); padding: 0 var(--side); scroll-snap-type: x mandatory; }
.hscroll::-webkit-scrollbar { display: none; }
.tile { flex: none; width: 148px; scroll-snap-align: start; }
.tile--wide { width: 264px; }
.tile__img { aspect-ratio: 4 / 5; border-radius: 16px; background: var(--g-100); position: relative; display: grid; place-items: center; color: var(--g-500); }
.tile--wide .tile__img { aspect-ratio: 16 / 10; }
.tile__img .ic { width: 32px; height: 32px; }
.tile__time { position: absolute; left: 8px; top: 8px; }
.tile__t { font-size: 15px; font-weight: 700; margin-top: 8px; line-height: 1.35; }
.tile__d { font-size: 14px; color: var(--g-600); margin-top: 2px; }

.explore { margin-top: 40px; padding-top: 32px; border-top: 8px solid var(--g-50); margin-left: calc(var(--side) * -1); margin-right: calc(var(--side) * -1); padding-left: var(--side); padding-right: var(--side); }
.explore__title { font-size: var(--t-22); font-weight: 800; }
.explore .sec { margin-top: 28px; }

.wait-list .row__end .row__big { font-size: 17px; }
.trend { display: inline-flex !important; justify-content: flex-end; align-items: center; gap: 2px; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--g-500); display: inline-block; }

.link-row { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-size: 16px; font-weight: 600; border-bottom: 1px solid var(--g-100); }
.link-row:last-child { border-bottom: 0; }

/* ── 지도 ─────────────────────────────────── */
.map { position: absolute; inset: 0; background: var(--g-50); overflow: hidden; }
.map__grid { position: absolute; inset: -40px; background-image: linear-gradient(var(--g-100) 1px, transparent 1px), linear-gradient(90deg, var(--g-100) 1px, transparent 1px); background-size: 40px 40px; }
.map__zone { position: absolute; border-radius: 40% 55% 45% 50%; background: var(--g-100); border: 1.5px dashed var(--g-200); }
.map__zone span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 14px; font-weight: 700; color: var(--g-500); white-space: nowrap; }
.map__path { position: absolute; border-top: 3px dashed var(--g-300); transform-origin: 0 0; }
.pin { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; z-index: 2; }
.pin__bubble { height: 32px; padding: 0 10px 0 6px; border-radius: 16px; background: var(--g-0); box-shadow: 0 2px 8px rgba(0,0,0,.14); display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.pin__bubble i { width: 20px; height: 20px; border-radius: 50%; background: var(--g-200); }
.pin__stem { width: 2px; height: 8px; background: var(--g-700); }
.pin.is-on .pin__bubble { background: var(--g-900); color: var(--g-0); }
.pin--mute .pin__bubble { color: var(--g-500); }
.me { position: absolute; width: 20px; height: 20px; border-radius: 50%; background: var(--g-900); border: 4px solid var(--g-0); box-shadow: 0 0 0 10px rgba(0,0,0,.08); transform: translate(-50%, -50%); }
.map-top { position: absolute; left: 0; right: 0; top: 0; padding: 8px var(--side) 0; z-index: 5; }
.search { height: 48px; border-radius: 14px; background: var(--g-0); box-shadow: 0 2px 10px rgba(0,0,0,.1); display: flex; align-items: center; gap: 8px; padding: 0 8px 0 14px; font-size: 16px; color: var(--g-500); }
.search > span:not(.ic):not(.avatars):not(.muted) { flex: 1; }
.map-top .chips { margin-top: 10px; padding-bottom: 6px; }
.map-top .chip { box-shadow: 0 1px 6px rgba(0,0,0,.1); }
.map-fab { position: absolute; right: 12px; z-index: 5; display: flex; flex-direction: column; gap: 8px; }
.map-fab button { width: 44px; height: 44px; border-radius: 12px; background: var(--g-0); box-shadow: 0 2px 8px rgba(0,0,0,.14); display: grid; place-items: center; }
.map-note { position: absolute; left: 12px; z-index: 5; height: 32px; padding: 0 10px; border-radius: 10px; background: rgba(255,255,255,.92); font-size: 14px; color: var(--g-600); display: inline-flex; align-items: center; gap: 6px; }

/* ── 시트 ─────────────────────────────────── */
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 10; background: var(--g-0); border-radius: 24px 24px 0 0; box-shadow: 0 -6px 24px rgba(0,0,0,.12); transition: transform .38s var(--ease-out); display: flex; flex-direction: column; }
.sheet__grab { width: 40px; height: 5px; border-radius: 3px; background: var(--g-200); margin: 8px auto 4px; flex: none; }
.sheet__body { overflow-y: auto; padding: 8px var(--side) 24px; scrollbar-width: none; }
.sheet__body::-webkit-scrollbar { display: none; }
.sheet__foot { flex: none; padding: 12px var(--side) 16px; border-top: 1px solid var(--g-100); background: var(--g-0); }
.scrim { position: absolute; inset: 0; background: rgba(0,0,0,.32); z-index: 9; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease-out); }
.scrim.is-on { opacity: 1; pointer-events: auto; }

.fac__name { font-size: var(--t-22); font-weight: 800; }
.fac__zone { font-size: 14px; color: var(--g-600); margin-top: 4px; }
.fac__mode { margin-top: 16px; display: flex; gap: 8px; align-items: center; font-size: 15px; font-weight: 600; padding: 12px 14px; border-radius: 14px; background: var(--g-50); }
.fac__wait { margin-top: 20px; }
.fac__wait-now { font-size: var(--t-28); font-weight: 800; }
.fac__wait-now small { font-size: 16px; font-weight: 600; color: var(--g-600); margin-left: 6px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 72px; margin-top: 12px; }
.bars i { flex: 1; background: var(--g-200); border-radius: 4px 4px 0 0; }
.bars i.is-now { background: var(--g-800); }
.bars-x { display: flex; justify-content: space-between; font-size: 14px; color: var(--g-500); margin-top: 6px; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.slot { border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--g-200); padding: 12px 8px; text-align: center; }
.slot b { display: block; font-size: 18px; font-weight: 800; }
.slot span { display: block; font-size: 14px; color: var(--g-600); margin-top: 2px; }
.slot.is-on { box-shadow: inset 0 0 0 2px var(--g-900); }
.slot.is-off { background: var(--g-50); box-shadow: none; color: var(--g-500); }
.slot.is-off b { text-decoration: line-through; }
.check { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; background: var(--g-50); font-size: 15px; margin-top: 12px; }
.check .ic { color: var(--g-900); }
.check > span:not(.ic):not(.avatars):not(.muted) { flex: 1; }
.check a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.sub-t { font-size: 16px; font-weight: 700; margin-top: 24px; }

/* ── 마이 · 전체 ───────────────────────────── */
.profile { display: flex; align-items: center; gap: 12px; padding: 8px 0 20px; }
.profile i { width: 56px; height: 56px; border-radius: 50%; background: var(--g-200); }
.profile b { font-size: var(--t-20); font-weight: 800; display: block; }
.profile span { font-size: 14px; color: var(--g-600); }
.wallet { border-radius: 20px; background: var(--g-50); padding: 20px; }
.wallet__head { display: flex; justify-content: space-between; align-items: center; font-size: 17px; font-weight: 700; }
.wallet__grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 16px; }
.wallet__grid div { text-align: center; }
.wallet__grid b { display: block; font-size: 18px; font-weight: 800; }
.wallet__grid span { font-size: 14px; color: var(--g-600); }
.group { margin-top: 28px; }
.group__t { font-size: 14px; font-weight: 700; color: var(--g-600); margin-bottom: 4px; }
.parks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.parks button { height: 64px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--g-200); font-size: 14px; font-weight: 700; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; line-height: 1.2; }
.parks button i { width: 20px; height: 20px; border-radius: 6px; background: var(--g-200); }
.parks button.is-on { background: var(--g-900); color: var(--g-0); box-shadow: none; }
.parks button.is-on i { background: rgba(255,255,255,.4); }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.menu-grid a { min-height: 48px; display: flex; align-items: center; font-size: 15px; border-bottom: 1px solid var(--g-100); }
.login-box { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; background: var(--g-50); margin-top: 20px; }
.login-box > span:not(.ic) { flex: 1; font-size: 15px; font-weight: 600; }

/* ── 알림 · 토스트 ─────────────────────────── */
.toast { position: absolute; left: 16px; right: 16px; bottom: calc(var(--tab-h) + 16px); z-index: 50; background: var(--g-900); color: var(--g-0); border-radius: 14px; padding: 14px 16px; font-size: 15px; font-weight: 600; transform: translateY(12px); opacity: 0; transition: transform .3s var(--ease-out), opacity .3s var(--ease-out); pointer-events: none; }
.toast.is-on { transform: none; opacity: 1; }

/* 상태 모음 페이지 */
.state { margin-top: 32px; }
.state__name { font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.state__name em { font-style: normal; font-size: 14px; font-weight: 600; color: var(--g-500); }
.state__why { font-size: 14px; color: var(--g-600); margin: 6px 0 12px; line-height: 1.5; }
.state-nav { position: sticky; top: var(--head-h); z-index: 15; background: var(--g-0); padding: 8px 0 12px; }

/* 꾹 누르기 진행 고리 (시안 확인용 도구, 앱 디자인 아님) */
.hold { position: fixed; z-index: 999; width: 136px; height: 136px; margin: -68px 0 0 -68px; pointer-events: none; opacity: 0; animation: hold-in .12s var(--wait) linear forwards; }
.hold svg { width: 100%; height: 100%; transform: rotate(-90deg); filter: drop-shadow(0 2px 8px rgba(0,0,0,.25)); }
.hold circle { fill: none; stroke-width: 10; }
.hold__bg { stroke: rgba(255,255,255,.9); }
.hold__bar { stroke: var(--g-900); stroke-linecap: round; stroke-dasharray: 377; stroke-dashoffset: 377; animation: hold-fill var(--hold) var(--wait) linear forwards; }
.hold__t { position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%); margin-bottom: 8px; white-space: nowrap; height: 32px; padding: 0 12px; border-radius: 16px; background: var(--g-900); color: var(--g-0); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; }
.hold.is-done { transform: scale(1.08); transition: transform .09s var(--ease-out); }
@keyframes hold-in { to { opacity: 1; } }
@keyframes hold-fill { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  *:not(.hold):not(.hold__bar), *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}

/* data-when 으로 숨긴 요소는 어떤 display 규칙보다 우선 */
[hidden] { display: none !important; }

/* ── 전체 탭 (12/1 저녁: 마이가 전체 탭 맨 위로) ── */
.me-row { display: flex; align-items: center; gap: 12px; padding: 4px 0 16px; width: 100%; text-align: left; }
.me-row > i { width: 56px; height: 56px; border-radius: 50%; background: var(--g-200); flex: none; }
.me-row__txt { flex: 1; min-width: 0; }
.me-row__txt b { display: block; font-size: var(--t-20); font-weight: 800; }
.me-row__txt span { display: block; font-size: 14px; color: var(--g-600); margin-top: 2px; }
.me-row .ic { color: var(--g-500); }
.me-guest { padding: 4px 0 16px; }
.me-guest p { font-size: var(--t-20); font-weight: 800; line-height: 1.35; margin-bottom: 16px; }
.set-rows { margin-top: 12px; border-radius: 16px; background: var(--g-50); padding: 0 16px; }
.set-row { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 0; line-height: 1.35; width: 100%; text-align: left; font-size: 16px; font-weight: 600; }
.set-row + .set-row { border-top: 1px solid var(--g-200); }
.set-row > span:not(.ic):not(.switch):not(.set-row__v) { flex: 1; }
.set-row small { display: block; font-size: 14px; font-weight: 400; color: var(--g-600); margin-top: 2px; }
.set-row__v { font-size: 15px; color: var(--g-600); display: inline-flex; align-items: center; gap: 4px; flex: none; }
.switch { width: 52px; height: 32px; border-radius: 16px; background: var(--g-300, #cfcfcf); position: relative; flex: none; transition: background .2s var(--ease-out); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: var(--g-0); box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s var(--ease-out); }
[aria-checked="true"] > .switch { background: var(--g-900); }
[aria-checked="true"] > .switch::after { transform: translateX(20px); }
.menu-grid a small { color: var(--g-500); font-size: 14px; margin-left: 6px; }
.manage { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
#notice { height: auto; transform: translateY(105%); z-index: 40; }
#notice + .scrim, .scrim--top { z-index: 39; }

/* ── 시설 상세 시트: 어느 화면에서나 그 화면 위에 뜬다 ── */
#fac { height: calc(100% - var(--status-h)); transform: translateY(105%); z-index: 40; transition: transform .38s var(--ease-out), height .32s var(--ease-out), bottom .32s var(--ease-out); }
/* 반만 열린 상태(지도): 탭 위에 얹히고 지도는 그대로 만질 수 있다 */
#fac.is-half { height: 44%; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px)); z-index: 30; }
#fac .sheet__body { flex: 1; }
#fac.is-half .fac-half:not(.fac-half--foot) { padding-bottom: 16px; }
#fac.is-half .sheet__body { overflow: hidden; }
#fac.is-half .sheet__x { top: 16px; }
#fac .sheet__grab { display: block; width: 100%; height: 24px; margin: 0; background: none; border-radius: 0; position: relative; touch-action: none; cursor: grab; }
#fac .sheet__grab::after { content: ""; position: absolute; left: 50%; top: 9px; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: var(--g-300); }
#fac .sheet__body { touch-action: pan-y; }
#fac .pass { margin-top: 16px; }
.sheet__x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--g-50); z-index: 2; }
#fac .fac__name { padding-right: 48px; }
.fac__info { margin-top: 8px; }
.fac__info > div { display: flex; gap: 16px; min-height: 44px; align-items: center; border-bottom: 1px solid var(--g-100); font-size: 15px; }
.fac__info dt { width: 88px; flex: none; color: var(--g-600); }
.fac__info dd { font-weight: 600; }

/* ── 이용권 없음 상태 (12/1 18:28) ── */
.kv { display: block; margin-top: 4px; border-radius: var(--r-card); background: var(--g-100); aspect-ratio: 4 / 5; position: relative; overflow: hidden; }
.kv__mark { position: absolute; inset: 0; display: grid; place-items: center; color: var(--g-300); }
.kv__mark .ic { width: 72px; height: 72px; }
.kv__txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 20px; background: linear-gradient(#0000, rgba(0,0,0,.5)); color: var(--g-0); }
.kv__tag { font-size: 14px; font-weight: 700; }
.kv__t { font-size: var(--t-28); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; margin-top: 4px; }
.kv__d { font-size: 15px; margin-top: 6px; }
.buy { margin-top: 16px; }
.buy__sub { display: flex; justify-content: center; align-items: center; min-height: 44px; margin-top: 4px; font-size: 15px; color: var(--g-700); text-decoration: underline; text-underline-offset: 3px; width: 100%; }
.is-noticket .home-pad { display: flex; flex-direction: column; }
.is-noticket .home-pad > * { order: 0; }
.is-noticket .home-pad > .explore { order: 1; margin-top: 32px; }
.is-noticket .home-pad > .ord-2 { order: 2; }
.is-noticket .home-pad > .ord-3 { order: 3; }
.is-noticket .home-pad > .ord-4 { order: 4; }
.sample { position: relative; }
.sample__cap { font-size: 14px; font-weight: 700; color: var(--g-600); margin-bottom: 8px; }
.sample .pass { opacity: .55; pointer-events: none; }
.sample__rows { margin-top: 12px; display: grid; gap: 8px; }
.sample__rows p { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; padding: 10px 12px; border-radius: 12px; background: var(--g-50); }
.first { flex: 1; display: flex; flex-direction: column; padding: 24px var(--side) 24px; }
.first h1 { font-size: var(--t-28); font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; margin-top: 24px; }
.first p.d { font-size: 16px; color: var(--g-600); line-height: 1.55; margin-top: 8px; }
.first__opts { display: grid; gap: 8px; margin-top: 32px; }
.first__opts button { min-height: 60px; border-radius: 16px; box-shadow: inset 0 0 0 1.5px var(--g-200); font-size: 18px; font-weight: 700; padding: 0 20px; text-align: left; display: flex; align-items: center; justify-content: space-between; }
.first__opts button[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--g-900); }
.first__foot { margin-top: auto; display: grid; gap: 8px; padding-top: 24px; }
.first__steps { font-size: 14px; font-weight: 700; color: var(--g-500); }
.first__demo { margin-top: 32px; border-radius: 20px; background: var(--g-50); padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; text-align: center; }
.first__demo div { border-radius: 14px; background: var(--g-0); padding: 16px 8px; font-weight: 700; }
.first__demo small { display: block; font-size: 14px; font-weight: 600; color: var(--g-600); margin-top: 8px; }

.firstv { margin-top: 20px; }
.firstv__t { font-size: 15px; font-weight: 700; color: var(--g-700); }
.firstv__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.firstv__row a { min-height: 72px; border-radius: 14px; background: var(--g-50); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 600; text-align: center; }

/* ── 지도: 아무것도 고르지 않았을 때 「내 주변」 ── */
.near { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; background: var(--g-0); border-radius: 24px 24px 0 0; box-shadow: 0 -4px 18px rgba(0,0,0,.1); padding: 16px 0 16px; }
.near__head { display: flex; align-items: baseline; gap: 8px; padding: 0 var(--side); }
.near__t { font-size: var(--t-18); font-weight: 800; }
.near__s { font-size: 14px; color: var(--g-600); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.near .hscroll { margin: 12px 0 0; }
.near__item { flex: none; width: 168px; scroll-snap-align: start; border-radius: 16px; box-shadow: inset 0 0 0 1.5px var(--g-200); padding: 12px; text-align: left; }
.near__item b { display: block; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.near__item span { display: block; font-size: 14px; color: var(--g-600); margin-top: 2px; }
.near__item strong { display: block; font-size: 15px; font-weight: 800; margin-top: 8px; }
.near__item--mine { background: var(--g-900); color: var(--g-0); box-shadow: none; }
.near__item--mine span { color: var(--g-300); }
.near .chips { margin: 12px 0 0; }

/* 시설 시트: 높이에 맞춘 두 가지 배치 */
#fac.is-half .fac-full, #fac:not(.is-half) .fac-half { display: none; }
#fac.is-half .sheet__body { padding-bottom: 0; }
.fac-sum { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; margin-top: 14px; }
.fac-sum div { border-radius: 14px; background: var(--g-50); padding: 12px 8px; text-align: center; min-width: 0; }
.fac-sum b { display: block; font-size: var(--t-20); font-weight: 800; white-space: nowrap; }
.fac-sum span { display: block; font-size: 14px; color: var(--g-600); margin-top: 2px; white-space: nowrap; }
.fac-line { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 15px; line-height: 1.4; }
.fac-line .ic { flex: none; color: var(--g-700); }
.fac-line--on { padding: 10px 12px; border-radius: 12px; background: var(--g-900); color: var(--g-0); }
.fac-line--on .ic { color: var(--g-0); }
.fac-line--plain { margin-top: 8px; }
.fac-half--foot { display: flex; gap: 8px; }
#fac:not(.is-half) .fac-half--foot { display: none; }

/* 끝까지 펼친 시설 상세: 화면을 꽉 채우는 한 장 (머리줄 · 이름 · 상태 한 줄 · 작은 버튼 · 사진 · 탭 · 구간 · 아래 고정 버튼) */
@media (max-width: 500px) { body.app:not(.is-bare) .device > #fac:not(.is-half) { height: 100%; padding-top: env(safe-area-inset-top, 0px); } }
#fac:not(.is-half) { border-radius: 0; box-shadow: none; }
#fac:not(.is-half) .sheet__x { display: none; }
#fac:not(.is-half) .sheet__grab { height: 12px; }
#fac:not(.is-half) .sheet__grab::after { top: 4px; }
#fac.is-half { touch-action: none; user-select: none; -webkit-user-select: none; }
.fac-head { display: none; height: 48px; align-items: center; gap: 4px; padding: 0 8px; flex: none; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; }
#fac:not(.is-half) .fac-head { display: flex; }
.fac-head__t { flex: 1; font-size: var(--t-18); font-weight: 700; opacity: 0; transform: translateY(4px); transition: opacity .2s var(--ease-out), transform .2s var(--ease-out); }
#fac.is-scrolled .fac-head__t { opacity: 1; transform: none; }
#fac:not(.is-half) .fac__name { font-size: var(--t-28); padding-right: 0; }
#fac:not(.is-half) .sheet__body { padding-top: 0; }
.fac-stat { font-size: 15px; color: var(--g-700); margin-top: 8px; }
.fac-stat b { color: var(--g-900); font-weight: 800; }
.fac-acts { margin-top: 16px; }
.fac-photos { margin-top: 16px; }
.fac-photos span { flex: none; width: 240px; aspect-ratio: 4 / 3; border-radius: 16px; background: var(--g-100); scroll-snap-align: start; }
.fac-tabs { position: sticky; top: 0; z-index: 3; display: flex; gap: 4px; margin: 16px calc(var(--side) * -1) 0; padding: 0 var(--side); background: var(--g-0); border-bottom: 1px solid var(--g-100); }
.fac-tabs button { height: 48px; padding: 0 12px; font-size: 16px; font-weight: 600; color: var(--g-500); position: relative; }
.fac-tabs button.is-on { color: var(--g-900); font-weight: 700; }
.fac-tabs button.is-on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--g-900); }
.fac-tabs + .fac__mode { margin-top: 16px; }

/* ── 지도 기본 시트 (12/2): 대기시간은 핀에, 시트는 목록 ── */
.pin--num .pin__bubble { height: 36px; min-width: 52px; justify-content: center; padding: 0 10px; border-radius: 18px; font-size: 16px; font-weight: 800; }
.pin__name { position: absolute; top: 100%; margin-top: 2px; font-size: 14px; font-weight: 700; white-space: nowrap; color: var(--g-800); text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff; }
.pin--mute .pin__name { color: var(--g-500); }
.mlist { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; background: var(--g-0); border-radius: 24px 24px 0 0; box-shadow: 0 -4px 18px rgba(0,0,0,.1); display: flex; flex-direction: column; overflow: hidden; transition: height .32s var(--ease-out); }
.mlist__head { flex: none; padding: 0 var(--side) 14px; touch-action: none; user-select: none; -webkit-user-select: none; }
.mlist__grab { display: block; width: 100%; height: 24px; position: relative; cursor: grab; touch-action: none; }
.mlist__grab::after { content: ""; position: absolute; left: 50%; top: 9px; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: var(--g-300); }
.mlist__search { display: flex; gap: 8px; }
.mlist__search .search { flex: 1; box-shadow: none; background: var(--g-50); text-align: left; }
.mlist__filter { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--g-50); display: grid; place-items: center; }
.mlist__head .chips { margin-top: 12px; }
.mlist.is-peek { touch-action: none; }
.mlist.is-peek .mlist__body { visibility: hidden; }
.mlist__body { flex: 1; overflow-y: auto; padding: 4px var(--side) 24px; border-top: 1px solid var(--g-100); scrollbar-width: none; touch-action: pan-y; }
.mlist__body::-webkit-scrollbar { display: none; }
.mlist__count { font-size: 14px; color: var(--g-600); margin-top: 20px; }
.mlist__count b { color: var(--g-900); }
.mtop { margin-top: 12px; border-radius: 16px; background: var(--g-50); padding: 14px 16px; width: 100%; text-align: left; }
.mtop__t { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.mtop__t em { font-style: normal; font-size: 14px; font-weight: 600; color: var(--g-600); padding: 2px 8px; border-radius: 8px; border: 1.5px dashed var(--g-500); }
.mtop__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.mtop__row button { border-radius: 12px; background: var(--g-0); padding: 10px 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 60px; justify-content: center; }
.mtop__row b { font-size: 17px; font-weight: 800; }
.mtop__row span:not(.ic) { font-size: 14px; color: var(--g-700); font-weight: 600; white-space: nowrap; }
.mtop--on { display: flex; align-items: center; gap: 10px; background: var(--g-900); color: var(--g-0); }
.mtop--on > span:not(.ic):not(.mtop__go) { flex: 1; min-width: 0; }
.mtop--on b { display: block; font-size: 15px; font-weight: 700; }
.mtop--on small { display: block; font-size: 14px; color: var(--g-300); margin-top: 2px; }
.mtop__go { flex: none; height: 36px; padding: 0 12px; border-radius: 10px; background: var(--g-0); color: var(--g-900); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; }
.lrow { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--g-100); }
.lrow:last-child { border-bottom: 0; }
.lrow__main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; text-align: left; }
.lrow .row__thumb { width: 64px; height: 64px; position: relative; flex: none; }
.lrow__badge { position: absolute; left: 4px; top: 4px; height: 24px; padding: 0 6px; border-radius: 8px; background: var(--g-900); color: var(--g-0); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; }
.lrow__badge.is-mute { background: var(--g-500); }
#fabs, #note { transition: bottom .32s var(--ease-out), opacity .2s var(--ease-out); }

/* 구역 이름은 위쪽에 두어 핀 이름과 겹치지 않게 */
.map__zone span { top: 10px; transform: translateX(-50%); }

/* 지도 목록 시트 3단계: 반펼침에서는 목록을 넘기지 않고 끌어올리게, 끝까지에서만 목록이 넘어간다 */
.mlist:not(.is-full) .mlist__body { overflow: hidden; touch-action: none; }
.mlist.is-full { box-shadow: 0 -4px 24px rgba(0,0,0,.16); }

/* ── 지도 바텀시트 공통 (12/2 저녁): 높이 3단계 공통, 시트 위에 시트를 얹지 않는다 ── */
.map-wrap > #fac, .map-wrap > #fac.is-half { bottom: 0; z-index: 8; transition: transform .3s var(--ease-out) .16s, height .32s var(--ease-out); }
.map-wrap > #fac[aria-hidden="true"] { transition-delay: 0s; }
.map-wrap > #fac:not(.is-half) { border-radius: 0; }
#fac:not(.is-peek) .fac-peek { display: none; }
#fac.is-peek .fac-half, #fac.is-peek .sheet__foot { display: none; }
#fac.is-peek .fac-peek { margin-top: 6px; }
.fac-photos--sm { margin-top: 14px; }
.fac-photos--sm span { width: 168px; aspect-ratio: 16 / 10; }
.mlist { transition: height .32s var(--ease-out), transform .3s var(--ease-out); }
.mlist.is-away { transform: translateY(110%); pointer-events: none; }
.mlist.is-back { transition-delay: 0s, .18s; }
.mlist.is-full { border-radius: 0; }
.mlist__head .chips { margin-left: calc(var(--side) * -1); margin-right: calc(var(--side) * -1); padding: 0 var(--side); }
.pin--mine .pin__bubble { background: var(--g-900); color: var(--g-0); }
.pin--mine .pin__stem { height: 12px; }
.lrow--menu .row__thumb { display: grid; place-items: center; color: var(--g-600); }

/* PC에서 끌기: 글자가 선택되거나 그림이 끌려 나오지 않게, 잡을 수 있는 곳은 손 모양 커서 */
.mlist, #fac { user-select: none; -webkit-user-select: none; }
.mlist a, .mlist img, #fac a, #fac img { -webkit-user-drag: none; }
.mlist.is-peek, .mlist__head, #fac.is-half, .fac-head { cursor: grab; }
.mlist button, .mlist a, #fac button, #fac a { cursor: pointer; }
.mlist__grab, #fac .sheet__grab { cursor: grab; }
.is-dragging, .is-dragging * { cursor: grabbing !important; }

/* 손짓: 시트를 세로로 끄는 구역에서도 가로 줄(칩 · 사진)은 손가락으로 넘길 수 있게 (세로만 직접 처리) */
#fac.is-half, #fac.is-half *, .fac-head, .mlist__head, .mlist__head *, .mlist.is-peek, .mlist:not(.is-full) .mlist__body, .mlist:not(.is-full) .mlist__body * { touch-action: pan-x; }
#fac .sheet__grab, .mlist__grab { touch-action: none; }
/* 마우스를 손가락처럼 쓸 때: 글자 선택 · 그림 끌기 막기 */
body.app { user-select: none; -webkit-user-select: none; }
body.app img, body.app a { -webkit-user-drag: none; }

/* 지도 목록의 세부 분류 줄: 카테고리 칩 아래 둘째 줄(레스토랑·편의시설). 맨 앞은 구역 고르기 */
.msub { position: sticky; top: 0; z-index: 2; background: var(--g-0); padding-top: 12px; padding-bottom: 8px; touch-action: pan-x; }
.msub .chip { height: 34px; padding: 0 12px; }
.msub .chip--soft { background: var(--g-50); color: var(--g-700); }
.msub .chip--soft.is-on { background: var(--g-900); color: var(--g-0); }
.msub__zone { gap: 2px; padding-right: 8px !important; }
.msub__back { padding: 0 8px !important; }
.msub + .mtop { margin-top: 4px; }
.mlist__none { font-size: 15px; color: var(--g-600); padding: 24px 0; line-height: 1.5; }

/* 패스 카드 다섯 칸 (12/2): 한 줄 · 작은 글자 링크 · 오늘 카드의 QR 줄 */
.pass__one { margin-top: 8px; font-size: 15px; color: var(--g-700); line-height: 1.5; }
.pass__link { display: block; margin: 6px 0 -8px -8px; min-height: 44px; padding: 0 8px; font-size: 15px; font-weight: 600; color: var(--g-600); text-decoration: underline; text-underline-offset: 3px; }
.pass__time small { font-weight: 700; }
.pass__qrrow { display: flex; align-items: center; gap: 16px; margin-top: 6px; }
.pass__qrrow .pass__qrbig { position: static; flex: none; box-shadow: 0 0 0 1px var(--g-200); }
.pass__qrrow p b { display: block; font-size: var(--t-18); font-weight: 700; }
.pass__qrrow p span { display: block; font-size: 15px; color: var(--g-600); margin-top: 4px; }
.pass__info > :first-child { margin-top: 0; }
.pass--art-sm .pass__info { margin-top: -20px; }
/* 홈: 카드 바로 아래 한 줄 (기다리는 동안 다녀올 곳) */
.aside-line { margin-top: 12px; width: 100%; min-height: 52px; padding: 0 12px 0 16px; border-radius: 16px; background: var(--g-50); display: flex; align-items: center; gap: 10px; font-size: 15px; text-align: left; }
.aside-line span:not(.ic) { flex: 1; color: var(--g-700); }
.aside-line b { color: var(--g-900); font-weight: 700; }
.aside-line > .ic:last-child { color: var(--g-500); }
/* 담기 시트: 담은 시설이 대상일 때만 그 줄 아래 한 줄 */
.qpass { display: flex; align-items: center; gap: 8px; padding: 0 8px 12px 76px; margin-top: -4px; background: var(--g-0); font-size: 14px; color: var(--g-700); }
.qpass span { flex: 1; }
.qpass button { min-height: 44px; padding: 0 12px; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.rows .qpass + .row { border-top: 1px solid var(--g-100); }
/* 줄서기 탭 맨 위 운영 한 줄 */
.que-note { margin: 12px var(--side) 0; padding: 12px 14px; border-radius: 14px; background: var(--g-50); font-size: 15px; color: var(--g-700); display: flex; gap: 8px; align-items: flex-start; line-height: 1.45; }
.que-note .ic { margin-top: 1px; color: var(--g-600); }
/* 보내는 그림 미리보기 (폰의 공유 창 위) */
.shr { flex: 1; position: relative; background: rgba(0,0,0,.38); display: flex; flex-direction: column; justify-content: flex-end; }
.shr__sheet { background: var(--g-50); border-radius: 24px 24px 0 0; padding: 20px var(--side) calc(20px + env(safe-area-inset-bottom, 0px)); }
.shr__cap { font-size: 14px; font-weight: 600; color: var(--g-600); }
.shr__msg { margin-top: 10px; background: var(--g-0); border-radius: 20px; padding: 12px; }
.shr__img { border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, #fff0 40%, var(--g-0) 100%), var(--g-200); padding: 14px 14px 12px; position: relative; box-shadow: inset 0 0 0 1px var(--g-100); }
.shr__img .ic { position: absolute; right: 16px; top: 14px; width: 36px; height: 36px; color: var(--g-500); opacity: .7; }
.shr__img small { font-size: 14px; font-weight: 800; letter-spacing: .02em; }
.shr__img b { display: block; font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-top: 28px; }
.shr__img p { font-size: 17px; font-weight: 700; margin-top: 8px; }
.shr__img ul { list-style: none; margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.shr__img li { height: 28px; padding: 0 10px; border-radius: 8px; background: var(--g-0); box-shadow: inset 0 0 0 1px var(--g-200); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; }
.shr__txt { font-size: 15px; line-height: 1.5; padding: 10px 4px 2px; color: var(--g-800); }
.shr__apps { display: flex; gap: 16px; margin-top: 20px; overflow-x: auto; scrollbar-width: none; }
.shr__apps button { flex: none; width: 64px; font-size: 14px; color: var(--g-700); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.shr__apps i { width: 56px; height: 56px; border-radius: 16px; background: var(--g-200); display: grid; place-items: center; color: var(--g-700); }
.shr__x { margin-top: 20px; }
.aside-line { min-height: 60px; }
.aside-line small { display: block; font-size: 14px; color: var(--g-600); }
.aside-line b { display: block; font-size: 15px; }

/* 당일 홈 (12/3, 5-3): 누르면 길 안내가 열리는 한 줄 · 줄서기 QR 시트 · 담은 곳 순서 바꾸기 */
.pass__one--go { display: flex; align-items: center; gap: 6px; width: auto; min-height: 44px; margin: 2px 0 -6px -4px; padding: 0 4px; text-align: left; }
.pass__one--go span:not(.ic) { text-decoration: underline; text-underline-offset: 3px; }
.pass__one--go .ic:last-child { color: var(--g-500); }
#qqr { height: auto; transform: translateY(105%); z-index: 40; }
#qqr.is-on { transform: none; }
.qqr__l { font-size: 14px; font-weight: 700; color: var(--g-600); }
.qqr__box { width: 232px; height: 232px; margin: 20px auto 0; border-radius: 24px; background: var(--g-50); display: grid; place-items: center; }
.qqr__box .ic { width: 150px; height: 150px; }
.qqr__d { font-size: 15px; color: var(--g-700); line-height: 1.55; margin-top: 16px; }
.picks__h { font-size: 14px; font-weight: 700; color: var(--g-600); margin: 24px 0 8px; display: flex; align-items: baseline; gap: 8px; }
.picks__h span { font-weight: 500; color: var(--g-500); }
.picks__n { width: 28px; height: 28px; border-radius: 50%; background: var(--g-900); color: var(--g-0); font-size: 14px; font-weight: 700; display: grid; place-items: center; flex: none; }
.picks__grip { width: 44px; height: 44px; display: grid; place-items: center; color: var(--g-500); touch-action: none; cursor: grab; flex: none; }
.picks__mine { overflow: visible; }
.picks__mine .row { padding-right: 0; transition: transform .18s var(--ease-out); position: relative; }
.picks__mine .row:first-child { border-radius: 14px 14px 0 0; } .picks__mine .row:last-child { border-radius: 0 0 14px 14px; }
.picks__mine .row.is-drag { transition: none; z-index: 2; box-shadow: 0 8px 24px rgba(0,0,0,.16); border-radius: 14px; border-top-color: transparent; }
/* 「오늘 어땠어요?」 · 추억 리포트 */
.rev-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--g-100); }
.rev-chk { width: 44px; height: 44px; margin-left: -8px; display: grid; place-items: center; flex: none; }
.rev-chk i { width: 26px; height: 26px; border-radius: 8px; box-shadow: inset 0 0 0 2px var(--g-300); display: grid; place-items: center; color: var(--g-0); }
.rev-chk[aria-pressed="true"] i { background: var(--g-900); box-shadow: none; }
.rev-chk .ic { width: 18px; height: 18px; } .rev-chk .ic svg path { stroke-width: 2.5; }
.rev-row__txt { flex: 1; min-width: 0; }
.rev-row__txt b { display: block; font-size: 16px; font-weight: 700; }
.rev-row__txt span { display: block; font-size: 14px; color: var(--g-600); margin-top: 2px; }
.rev-emo { display: flex; gap: 2px; flex: none; }
.rev-emo button { width: 44px; height: 44px; border-radius: 50%; font-size: 24px; display: grid; place-items: center; filter: grayscale(1); opacity: .45; }
.rev-emo button[aria-pressed="true"] { opacity: 1; background: var(--g-100); box-shadow: inset 0 0 0 2px var(--g-900); }
.rev-add { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 56px; font-size: 15px; font-weight: 600; color: var(--g-700); }
.rep-hero { border-radius: 24px; background: linear-gradient(180deg, #fff0 40%, var(--g-0) 100%), var(--g-200); padding: 20px 20px 8px; box-shadow: inset 0 0 0 1px var(--g-100); }
.rep-hero small { font-size: 14px; font-weight: 700; color: var(--g-700); }
.rep-hero h1 { font-size: var(--t-28); font-weight: 800; letter-spacing: -0.02em; margin-top: 56px; line-height: 1.3; }
.rep-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.rep-stat { border-radius: 16px; background: var(--g-50); padding: 16px; }
.rep-stat--wide { grid-column: 1 / -1; }
.rep-stat small { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--g-600); }
.rep-stat b { display: block; font-size: var(--t-22); font-weight: 800; margin-top: 4px; letter-spacing: -0.01em; }
.rep-stat span { display: block; font-size: 14px; color: var(--g-600); margin-top: 2px; }
.rep-stat em { font-style: normal; font-size: 12px; font-weight: 700; padding: 2px 6px; border-radius: 6px; background: var(--g-0); color: var(--g-700); box-shadow: inset 0 0 0 1px var(--g-300); }
.rep-emo { font-size: 24px; filter: grayscale(1); flex: none; }
.rep-stat .avatars { display: flex; }
.rep-stat .avatars i { display: block; }
/* 담기 시트의 [편집]: 눌러야 순서를 바꿀 수 있다 */
.picks__h { align-items: center; min-height: 44px; margin-bottom: 0; }
.picks__edit { margin-left: auto; min-height: 44px; padding: 0 4px 0 12px; font-size: 15px; font-weight: 700; color: var(--g-900); }
.picks__edit[aria-pressed="true"] { text-decoration: underline; text-underline-offset: 3px; }
.picks__mine:not(.is-edit) .row { padding-right: 8px; }

/* 「오늘 어땠어요?」 두 걸음 (12/3): 1) 다녀온 곳 고르기 2) 고른 곳마다 어땠는지 */
.rev-step { font-size: 14px; font-weight: 700; color: var(--g-500); }
.rev-q { font-size: var(--t-28); font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; margin-top: 8px; }
.rev-sub { font-size: 15px; color: var(--g-600); line-height: 1.55; margin-top: 8px; }
.rev-pick { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 72px; padding: 12px 16px 12px 12px; border-radius: 18px; text-align: left; box-shadow: inset 0 0 0 1.5px var(--g-200); transition: transform .12s var(--ease-out); }
.rev-pick + .rev-pick { margin-top: 8px; }
.rev-pick:active { transform: scale(.985); }
.rev-pick__thumb { width: 48px; height: 48px; border-radius: 12px; background: var(--g-100); flex: none; }
.rev-pick i { width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--g-300); display: grid; place-items: center; color: var(--g-0); flex: none; }
.rev-pick i .ic { width: 18px; height: 18px; } .rev-pick i .ic svg path { stroke-width: 2.5; }
.rev-pick[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--g-900); }
.rev-pick[aria-pressed="true"] i { background: var(--g-900); box-shadow: none; }
.rev-ask { padding: 16px 0 20px; border-bottom: 1px solid var(--g-100); }
.rev-ask:last-child { border-bottom: 0; }
.rev-ask > b { font-size: 17px; font-weight: 700; }
.rev-ask__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.rev-ask__row button { min-height: 76px; border-radius: 16px; background: var(--g-50); font-size: 14px; font-weight: 600; color: var(--g-700); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; transition: transform .12s var(--ease-out); }
.rev-ask__row button span { font-size: 26px; line-height: 1; filter: grayscale(1); }
.rev-ask__row button:active { transform: scale(.96); }
.rev-ask__row button[aria-pressed="true"] { background: var(--g-0); color: var(--g-900); font-weight: 700; box-shadow: inset 0 0 0 2px var(--g-900); }
.rev-add { margin-top: 8px; }
/* 고마움을 전하는 한 장 (추억 리포트 앞) */
.thx { flex: 1; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--side) calc(28px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(180deg, #fff0 38%, var(--g-0) 78%), var(--g-200); overflow: hidden; cursor: pointer; }
.thx__art { position: absolute; left: 0; right: 0; top: 16%; height: 220px; display: grid; place-items: center; color: var(--g-600); }
.thx__art .ic { width: 96px; height: 96px; animation: thx-pop .9s var(--ease-out) both, thx-float 3.2s 1s ease-in-out infinite alternate; }
.thx__art i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--g-0); animation: thx-dot 1.1s var(--ease-out) both; }
.thx__art i:nth-child(1) { left: 26%; top: 22%; animation-delay: .35s; }
.thx__art i:nth-child(2) { right: 24%; top: 12%; width: 14px; height: 14px; animation-delay: .5s; }
.thx__art i:nth-child(3) { right: 30%; bottom: 14%; width: 8px; height: 8px; animation-delay: .65s; }
.thx__l1 { font-size: var(--t-18); font-weight: 700; color: var(--g-700); animation: thx-up .6s .7s var(--ease-out) both; }
.thx__l2 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.32; margin-top: 8px; animation: thx-up .7s 1.5s var(--ease-out) both; }
.thx__btn { margin-top: 32px; animation: thx-up .5s 2.6s var(--ease-out) both; }
@keyframes thx-pop { from { opacity: 0; transform: scale(.6) rotate(-12deg); } }
@keyframes thx-float { to { transform: translateY(-8px); } }
@keyframes thx-dot { from { opacity: 0; transform: scale(0); } }
@keyframes thx-up { from { opacity: 0; transform: translateY(14px); } }

/* 패스 탭 맨 아래: 멤버십(솜) 바코드 한 줄 → 누르면 크게 */
.mem { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 0 12px 0 16px; border-radius: 20px; border: 1.5px solid var(--g-200); text-align: left; }
.mem__bar, .mem__big { background: repeating-linear-gradient(90deg, var(--g-900) 0 2px, #0000 2px 4px, var(--g-900) 4px 7px, #0000 7px 9px, var(--g-900) 9px 10px, #0000 10px 13px); }
.mem__bar { width: 40px; height: 28px; flex: none; }
.mem__txt { flex: 1; min-width: 0; }
.mem__txt b { display: block; font-size: 16px; font-weight: 700; }
.mem__txt span { display: block; font-size: 14px; color: var(--g-600); margin-top: 2px; }
.mem > .ic { color: var(--g-500); }
#memSheet { height: auto; transform: translateY(105%); z-index: 40; }
#memSheet.is-on { transform: none; }
.mem__big { width: 286px; height: 108px; margin: 24px auto 0; }
.mem__no { font-size: 16px; font-weight: 600; letter-spacing: .08em; margin-top: 10px; }

/* 패스 탭 「오늘 쓸 것」의 묶음 칩 (예약 · 교환권) */
.kind { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 6px; background: var(--g-900); color: var(--g-0); font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.kind--line { background: var(--g-0); color: var(--g-800); box-shadow: inset 0 0 0 1.5px var(--g-800); }
.fold__row { padding-top: 12px; padding-bottom: 12px; }

/* 12/3 홈 카드 아래: 받은 뒤 쿠폰 줄(누르면 내 지갑) · 공연 「시간 바뀜」 · 담기 시트 「쉬는 중」 */
.coupon--go { padding-right: 12px; }
.coupon--go b { font-weight: 800; }
.coupon--go > .ic:last-child { color: var(--g-500); }
.tile__chg { position: absolute; left: 8px; top: 36px; background: var(--g-0); box-shadow: inset 0 0 0 1px var(--g-300); }
.row--off .row__name { color: var(--g-500); }
.row--off .badge { margin-right: 4px; flex: none; }

/* 12/3 오후 화면 점검분 */
/* 쿠폰 받기 줄: 줄 전체를 누르고 오른쪽에 「받기 ›」 글자 */
.coupon__get { flex: none; font-size: 15px; font-weight: 700; color: var(--g-900); }
.coupon--go .coupon__get + .ic { margin-left: -6px; }
/* 홈의 하단 막대: 카드가 화면 밖으로 나갔을 때만 탭 위로 올라온다 */
.qbar--float { position: absolute; left: 0; right: 0; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px)); opacity: 0; transform: translateY(calc(100% + 8px)); pointer-events: none; transition: transform .28s var(--ease-out), opacity .2s; }
.qbar--float.is-on { opacity: 1; transform: none; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .qbar--float { transition: none; } }
/* 패스 탭 묶음 칩: 모두 연한 회색 하나로, 조금 작게(눈이 칩보다 이름에 먼저 가게) */
.kind, .kind--line { height: 20px; padding: 0 6px; border-radius: 6px; background: var(--g-100); color: var(--g-700); box-shadow: none; font-size: 12px; font-weight: 600; }
/* 패스 탭 맨 아래 한 줄 · 내 지갑 구간 제목 */
.pas-reg { text-align: center; font-size: 14px; color: var(--g-600); }
.pas-reg button { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 4px; font-weight: 700; color: var(--g-900); }
.group__t--b { font-size: var(--t-18); font-weight: 700; color: var(--g-900); margin-bottom: 8px; }

/* 12/3 14시 이용권 없음 패스 탭 = 상품 판. 칸 = 회색 사진 상자 + 오른쪽 위 작은 아이콘 + 왼쪽 아래 분류 글자·이름 */
.pas-intro { font-size: 15px; color: var(--g-600); margin: -12px 0 12px; display: flex; align-items: center; flex-wrap: wrap; gap: 0 4px; }
.pas-intro button { min-height: 44px; padding: 0 2px; font-weight: 700; color: var(--g-900); text-decoration: underline; text-underline-offset: 3px; }
.shop { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.shop--tk { grid-template-columns: 1.55fr 1fr; }
.pcell { position: relative; min-height: 148px; padding: 14px; border-radius: 18px; background: var(--g-100); display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; text-align: left; overflow: hidden; }
.pcell:active { transform: scale(.98); }
.pcell--tk { min-height: 176px; }
.pcell--wide { grid-column: 1 / -1; min-height: 176px; }
.pcell--low { min-height: 104px; }
.pcell__ic { position: absolute; right: 10px; top: 10px; width: 32px; height: 32px; border-radius: 50%; background: var(--g-0); display: grid; place-items: center; color: var(--g-700); }
.pcell__cat { font-size: 13px; font-weight: 600; color: var(--g-600); }
.pcell__name { font-size: 17px; font-weight: 800; line-height: 1.3; margin-top: 2px; }
.pcell__sub { font-size: 14px; color: var(--g-600); margin-top: 2px; }
.pcell__buy { display: inline-flex; align-items: center; gap: 2px; margin-top: 8px; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.shop + .pas-reg { margin-top: 8px; }
.pcell__name { word-break: keep-all; }

/* 12/3 14시: 추첨 알림 한 줄(신청 버튼 바로 위) · 안내 시트 */
.lot { display: flex; gap: 10px; align-items: flex-start; padding: 0 2px 12px; }
.lot .ic { flex: none; color: var(--g-900); margin-top: 1px; }
.lot p { flex: 1; font-size: 15px; line-height: 1.45; }
.lot b { display: block; font-weight: 700; }
.lot span { display: block; font-size: 14px; color: var(--g-600); }
.lot button { font-weight: 700; color: var(--g-900); text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.sheet--info { z-index: 60; }
#infoScrim { z-index: 59; }
.info__list { margin-top: 16px; display: grid; gap: 12px; }
.info__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.info__list .ic { flex: none; margin-top: 2px; color: var(--g-900); }
[data-act="enter"] { cursor: pointer; }
/* 안내 시트(추첨 설명 · 첫 신청): 다른 시트처럼 아래에 숨어 있다가 올라온다. 숨는 위치가 빠져 [확인]을 눌러도 안 내려가던 것을 고침(12/3) */
#info { height: auto; max-height: 82%; transform: translateY(105%); }
#info.is-on { transform: none; }

/* ── 12/3 15시 검토 답 반영 ── */
/* 줄서기 카드: 누르면 「내 줄서기」 시트 · 줄서기 탭 카드의 작은 글자 「바꾸기·취소 ›」 */
.pass--tap { cursor: pointer; }
.pass__link--go { display: inline-flex; align-items: center; gap: 2px; text-decoration: none; color: var(--g-700); font-weight: 700; }
.pass__link--go .ic { color: var(--g-500); }
#myq { height: auto; max-height: 86%; transform: translateY(105%); z-index: 60; }
#myq.is-on { transform: none; }
#myqScrim { z-index: 59; }
.myq__s { font-size: 16px; color: var(--g-700); margin-top: 6px; }
.myq__s b { color: var(--g-900); }
.myq__rows { margin-top: 16px; border-top: 1px solid var(--g-100); }
.myq__rows .link-row { width: 100%; text-align: left; }
.myq__rows .link-row:last-child { border-bottom: 1px solid var(--g-100); }
.myq__rule { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--g-50); font-size: 14px; line-height: 1.5; color: var(--g-700); }
.myq__rule .ic { flex: none; margin-top: 1px; }
#myqFoot { display: grid; gap: 4px; }
.myq__cancel { min-height: 44px; font-size: 15px; font-weight: 600; color: var(--g-600); text-decoration: underline; text-underline-offset: 3px; text-align: center; }
.myq__ask { font-size: 17px; font-weight: 800; text-align: center; padding: 4px 0 12px; }
.myq__two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
/* 방문 전 카드: 날짜 줄 옆 작은 날씨 표시 · 담기 시트의 보내기 */
.pass__wx { display: inline-flex; align-items: center; height: 24px; margin-left: 8px; padding: 0 8px; border-radius: 8px; background: var(--g-50); font-size: 13px; font-weight: 600; color: var(--g-700); vertical-align: 2px; }
.picks__foot { display: grid; gap: 8px; }
/* 홈: 아래 막대가 떠 있는 동안 맨 아래 빈 공간 */
.screen.has-bar .screen__pad { padding-bottom: 104px; }
/* 쿠폰 줄: 「받기」 글자만(그 자리에서 받아지는 줄이라 화살표 없음) */
.coupon--go .coupon__get { padding-right: 6px; }
/* 지도: 목록 줄(이름 · 걸어서 n분 · 오른쪽에 대기 분 크게, 줄 전체를 누름) · [지도 보기] · 바로가기 · 길 안내 화면 */
.lrow--go { width: 100%; text-align: left; }
.lrow--go .row__thumb { width: 52px; height: 52px; }
.lrow__end { flex: none; text-align: right; font-size: 14px; color: var(--g-600); }
.lrow__end b { display: block; font-size: 18px; font-weight: 800; color: var(--g-900); }
.lrow__end.is-mute b { color: var(--g-500); font-size: 16px; }
.mlist__re { float: right; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin-top: -6px; font-size: 14px; color: var(--g-600); }
.map-note { cursor: pointer; }
.map-back { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 9; height: 44px; padding: 0 18px; border-radius: 22px; background: var(--g-900); color: var(--g-0); font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 4px 14px rgba(0,0,0,.22); }
.map-back[hidden] { display: none; }
.mquick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.mquick button { min-height: 48px; padding: 0 12px; border-radius: 12px; background: var(--g-0); font-size: 15px; font-weight: 600; text-align: left; display: flex; align-items: center; gap: 8px; }
.map-wrap.is-route .mlist, .map-wrap.is-route .map-fab, .map-wrap.is-route .map-note { display: none; }
.map__route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.map__route polyline { fill: none; stroke: var(--g-900); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.map__route .is-off { stroke: var(--g-300); stroke-width: 4; stroke-dasharray: 2 9; }
.rt-door { position: absolute; transform: translate(-50%, -50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.rt-door i { width: 16px; height: 16px; border-radius: 5px; background: var(--g-900); border: 3px solid var(--g-0); box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.rt-door span, .rt-step { font-size: 13px; font-weight: 700; padding: 1px 6px; border-radius: 6px; background: var(--g-0); box-shadow: 0 1px 4px rgba(0,0,0,.16); white-space: nowrap; }
.rt-step { position: absolute; transform: translate(-50%, -50%); z-index: 3; color: var(--g-700); }
.me--dir::before { content: ""; position: absolute; left: 50%; bottom: 100%; margin: 0 0 6px -9px; border: 9px solid transparent; border-bottom: 14px solid var(--g-900); border-top: 0; opacity: .5; }
.route { position: absolute; left: 0; right: 0; bottom: 0; z-index: 8; background: var(--g-0); border-radius: 24px 24px 0 0; box-shadow: 0 -4px 18px rgba(0,0,0,.12); padding: 20px var(--side) 20px; }
.route[hidden] { display: none; }
.route__x { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--g-50); }
.route__t { font-size: 15px; color: var(--g-600); padding-right: 52px; }
.route__m { font-size: var(--t-28); font-weight: 800; letter-spacing: -0.02em; margin-top: 2px; }
.route__m small { font-size: 15px; font-weight: 600; color: var(--g-600); margin-left: 6px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 16px; padding: 4px; border-radius: 14px; background: var(--g-100); }
.seg button { height: 44px; border-radius: 10px; font-size: 15px; font-weight: 700; color: var(--g-600); text-align: center; }
.seg button[aria-pressed="true"] { background: var(--g-0); color: var(--g-900); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.route__n { font-size: 14px; color: var(--g-600); margin-top: 12px; display: flex; align-items: center; gap: 6px; }

/* ── 쉬운 화면 (RFP 이지모드 · 12/3) ── 큰 글씨 · 큰 버튼 · 꼭 필요한 것만. 하단 탭 없음 */
.ez-head { flex: none; height: 64px; display: flex; align-items: center; padding: 0 var(--side); background: var(--g-0); }
.ez-back { display: inline-flex; align-items: center; gap: 4px; min-height: 52px; margin-left: -8px; padding: 0 12px 0 4px; font-size: 20px; font-weight: 700; }
.ez-back .ic { width: 28px; height: 28px; }
.ez-pad { padding-top: 4px; padding-bottom: 40px; }
.ez-title { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.ez-sub { font-size: 18px; color: var(--g-700); line-height: 1.5; margin-top: 8px; }
.ez .pass__title { font-size: 22px; }
.ez .pass__time { font-size: 36px; }
.ez .pass__time small { font-size: 20px; }
.ez .pass__one { font-size: 18px; }
.ez .pass__label { font-size: 16px; height: 32px; }
.ez .pass .btn, .ez-btn { height: 64px; font-size: 20px; border-radius: 16px; }
.ez .pass__link { font-size: 18px; min-height: 52px; }
.ez-box { padding: 24px 20px; border-radius: 24px; border: 1.5px solid var(--g-200); text-align: center; }
.ez-box__t { font-size: 22px; font-weight: 800; margin-bottom: 16px; }
.ez-box__d { font-size: 17px; color: var(--g-600); line-height: 1.5; margin-top: 14px; }
.ez-box .buy__sub { font-size: 18px; min-height: 52px; margin-top: 8px; }
.ez-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.ez-grid > * { min-height: 136px; padding: 18px 14px; border-radius: 22px; background: var(--g-100); display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 12px; text-align: left; font-size: 21px; font-weight: 800; line-height: 1.3; word-break: keep-all; }
.ez-grid > *:active { transform: scale(.98); }
.ez-grid .ic { width: 36px; height: 36px; }
.ez-grid small { display: block; font-size: 17px; font-weight: 600; color: var(--g-600); margin-top: 2px; }
.ez-grid--near > * { justify-content: flex-start; }
.ez-grid--near > * small { margin-top: auto; }
.ez-row { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 76px; margin-top: 12px; padding: 12px 16px 12px 18px; border-radius: 20px; border: 1.5px solid var(--g-200); font-size: 20px; font-weight: 700; text-align: left; }
.ez-row > span:not(.ic) { flex: 1; }
.ez-row small { display: block; font-size: 16px; font-weight: 500; color: var(--g-600); margin-top: 2px; }
.ez-row > .ic:first-child { width: 30px; height: 30px; }
.ez-row > .ic:last-child { color: var(--g-500); }
.ez-row--sub { border: 0; min-height: 60px; font-size: 18px; font-weight: 600; color: var(--g-700); padding-left: 6px; }
.ez-ticket { margin-top: 16px; padding: 22px 18px; border-radius: 24px; border: 1.5px solid var(--g-200); text-align: center; }
.ez-ticket__k { font-size: 17px; font-weight: 700; color: var(--g-600); }
.ez-ticket__t { font-size: 22px; font-weight: 800; margin-top: 4px; }
.ez-ticket__v { font-size: 30px; font-weight: 800; margin-top: 4px; }
.ez-ticket__qr { width: 248px; height: 248px; margin: 16px auto 0; border-radius: 20px; background: var(--g-50); display: grid; place-items: center; color: var(--g-900); }
.ez-ticket__qr .ic { width: 168px; height: 168px; }
.ez-ticket__qr.is-wait { height: 120px; width: 100%; padding: 0 16px; font-size: 18px; font-weight: 600; color: var(--g-600); line-height: 1.45; }
.ez-ticket__d { font-size: 18px; color: var(--g-700); margin-top: 14px; line-height: 1.45; }
.ez-pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 16px; }
.ez-pager p { font-size: 20px; font-weight: 700; min-width: 56px; text-align: center; }
.ez-help { display: flex; align-items: center; gap: 8px; padding: 0 2px 12px; font-size: 16px; font-weight: 600; }
.ez .sheet .picks__t { font-size: 26px; } .ez .info__list li { font-size: 20px; } .ez .sheet .btn { height: 64px; font-size: 20px; }
/* 새로 짜지 않은 화면(줄서기 · 시설 상세 · 길 안내 등)은 쉬운 화면이 켜져 있는 동안 큰 글씨로 그대로 */
.is-easy .big-title, .is-easy .big-sub, .is-easy .que-note, .is-easy .screen__pad, .is-easy .sheet__body, .is-easy .sheet__foot, .is-easy .route { zoom: 1.12; }
/* 쉬운 화면이 켜져 있는 동안: 하단 탭 · 아래 막대 · 머리의 검색·알림은 숨기고, 맨 위 「‹ 처음으로」 하나 */
.is-easy .tabbar, .is-easy .qbar, .is-easy .head { display: none; }
.ez-top { flex: none; height: 60px; display: flex; align-items: center; padding: 0 var(--side); background: var(--g-0); position: relative; z-index: 26; }
/* 쉬운 화면의 줄서기 신청 시트: 하트 · 구역 줄도 숨긴다 */
#fac.is-ezapply .heart--fac, #fac.is-ezapply .fac__zone, #fac.is-ezapply .fac-peek { display: none; }
#fac.is-ezapply .fac-stat { font-size: 20px; margin-top: 6px; }
/* 쉬운 홈 · 입장 전 카드: QR을 쉬운 패스만큼 크게(카드 폭 가득), 글은 QR 아래로 */
.ez .pass__qrrow { flex-direction: column; align-items: center; gap: 14px; text-align: center; margin-top: 10px; }
.ez .pass__qrrow .pass__qrbig { width: 248px; height: 248px; border-radius: 20px; }
.ez .pass__qrrow .pass__qrbig .ic { width: 168px; height: 168px; }
.ez .pass__qrrow p b { font-size: 24px; }
.ez .pass__qrrow p span { font-size: 19px; }
.sheet__foot[hidden] { display: none; }

.fac-acts--half { margin-top: 12px; }

/* 지도 필터(12/3 16시 20분): 아이콘 숫자 · 목록 머리의 「필터 2 · 지우기」 · 필터 시트 */
.mlist__filter { position: relative; }
.fbadge { position: absolute; right: 4px; top: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--g-900); color: var(--g-0); font-size: 12px; font-weight: 700; font-style: normal; display: grid; place-items: center; }
.fbadge[hidden] { display: none; }
.mlist__flt { display: flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 14px; }
.mlist__flt span { height: 28px; padding: 0 10px; border-radius: 14px; background: var(--g-900); color: var(--g-0); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.mlist__flt button { min-height: 44px; padding: 0 8px; font-weight: 600; color: var(--g-700); text-decoration: underline; text-underline-offset: 3px; }
.msub .chip b { font-weight: 700; margin-left: 2px; opacity: .7; }
#mfilter { height: auto; max-height: 88%; transform: translateY(105%); z-index: 60; }
#mfilter.is-on { transform: none; }
#mfScrim { z-index: 59; }
.mf__head { display: flex; align-items: center; justify-content: space-between; padding: 4px 12px 0 var(--side); }
#mfBody { padding-top: 4px; overflow-y: auto; }
.mf__t { font-size: 15px; font-weight: 700; margin: 20px 0 10px; display: flex; align-items: baseline; gap: 8px; }
.mf__t small { font-size: 13px; font-weight: 500; color: var(--g-500); }
.mf__chips { flex-wrap: wrap; overflow: visible; }
.mf__foot { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: center; }
.mf__reset { min-height: 52px; padding: 0 16px; font-size: 15px; font-weight: 600; color: var(--g-700); text-decoration: underline; text-underline-offset: 3px; }
.mlist.is-full .mlist__body { padding-bottom: 88px; } /* 떠 있는 [지도 보기]가 마지막 줄을 가리지 않게 */

/* 식당 상세: 이 식당에서 쓸 수 있는 내 쿠폰 한 줄(예약 줄 아래, 연한 바탕. 누르면 바코드) */
.fac-cpn { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; margin-top: 8px; padding: 8px 12px; border-radius: 12px; background: var(--g-50); text-align: left; }
.fac-cpn > span:not(.ic) { flex: 1; }
.fac-cpn small { display: block; font-size: 13px; color: var(--g-600); }
.fac-cpn b { display: block; font-size: 15px; font-weight: 700; }
.fac-cpn__go { flex: none !important; display: inline-flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 700; color: var(--g-800); }
#qqr { z-index: 60; } #qqrScrim { z-index: 59; }
