/* ===== 마이웨이 시안 — 공통 구조 (색/폰트/모서리는 theme-*.css 가 결정) ===== */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--page, #E9E2D6);
  color: var(--ink);
  font-family: var(--font), Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;            /* 좁은 폰에서 한글이 낱말 중간에 끊기지 않게 */
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
svg { display: block; }

/* ---------- 화면 컨테이너 ---------- */
.view { position: relative; }
.view__scr { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--bg); display: flex; flex-direction: column; }
.view--dark .view__scr { background: var(--brand); }

/* ---------- 화면 뼈대 ---------- */
.sc { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; }
.body { flex: 1; overflow: auto; padding: 16px 20px 24px; display: flex; flex-direction: column; gap: 16px; }
.body::-webkit-scrollbar { width: 0; }
.body--home { padding: 0 0 24px; gap: 0; }
.body--flush { padding: 0; gap: 0; }
.body--center { justify-content: center; align-items: stretch; gap: 14px; }
.body--split { flex-direction: row; padding: 0; gap: 0; overflow: hidden; }
.pad { padding: 18px 20px; display: flex; flex-direction: column; gap: 16px; }

/* 앱바 */
.appbar { flex: none; height: 56px; display: flex; align-items: center; gap: 8px; padding: 0 12px 0 8px; background: var(--bg); }
.appbar__title { flex: 1; text-align: center; font-size: 17px; font-weight: 700; font-family: var(--font-head), inherit; }
.appbar__sp { width: 40px; }
.appbar__acts { display: flex; gap: 2px; min-width: 40px; justify-content: flex-end; }
.appbar--home { justify-content: space-between; padding: 6px 16px 6px 18px; height: 60px; }
.appbar--loc { padding: 6px 12px 6px 16px; gap: 4px; }
.appbar--search { padding: 0 14px 0 6px; gap: 4px; }
.iconbtn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: var(--ink); position: relative; }
.iconbtn svg { width: 23px; height: 23px; }
.iconbtn--float { background: var(--surface); box-shadow: 0 2px 8px rgba(60,44,28,.16); }
.dot { position: absolute; top: -2px; right: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--surface); }
.iconbtn .dot { top: 7px; right: 8px; box-shadow: none; }
.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo .art { width: 30px; height: 30px; }
.logo__t { font-family: var(--font-head), inherit; font-size: 19px; font-weight: 800; letter-spacing: -.01em; color: var(--brand); }
.view--dark .logo__t { color: var(--brand-on); }

/* 탭바 */
.tabbar { flex: none; height: 62px; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface); border-top: 1px solid var(--line); }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--ink3); }
.tab__i { position: relative; display: block; }
.tab svg { width: 23px; height: 23px; }
.tab__n { font-size: 10.5px; font-weight: 600; }
.tab.is-on { color: var(--brand); }
.tab.is-on .tab__n { font-weight: 800; }

/* 세그먼트 탭 */
.tabs { flex: none; display: flex; background: var(--bg); border-bottom: 1px solid var(--line); }
.tabs__i { flex: 1; height: 46px; font-size: 14px; font-weight: 600; color: var(--ink3); position: relative; }
.tabs__i em { font-style: normal; font-size: 11px; color: var(--brand); }
.tabs__i.is-on { color: var(--ink); font-weight: 800; }
.tabs__i.is-on::after { content: ''; position: absolute; left: 12%; right: 12%; bottom: -1px; height: 2.5px; background: var(--ink); border-radius: 2px; }
.tabs--sticky { border-top: 1px solid var(--line); }

/* 버튼 / 칩 */
.btn { height: 52px; border-radius: var(--r-btn); font-size: 15.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 100%; }
.btn svg { width: 19px; height: 19px; }
.btn--primary { background: var(--brand); color: var(--brand-on); }
.btn--ghost { background: var(--surface2); color: var(--ink2); }
.btn--line { background: none; box-shadow: inset 0 0 0 1.2px var(--line-strong); color: var(--ink2); }
.btn--sm { height: 38px; font-size: 13px; border-radius: calc(var(--r-btn) * .7); }
.chip { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 12.5px; font-weight: 700; }
.chip--sm { height: 27px; padding: 0 11px; font-size: 11.5px; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: var(--r-tag); background: var(--brand-soft); color: var(--brand); font-size: 11.5px; font-weight: 700; }
.tag--ghost { background: var(--surface2); color: var(--ink3); }
.tag--del i { margin-left: 6px; font-style: normal; color: var(--ink3); }
.tag--pick { height: 34px; padding: 0 14px; background: var(--surface); box-shadow: inset 0 0 0 1.2px var(--line); color: var(--ink2); border-radius: 999px; font-weight: 600; }
.tag--pick.is-on { background: var(--brand-soft); color: var(--brand); box-shadow: inset 0 0 0 1.4px var(--brand); font-weight: 700; }
.badge { display: inline-flex; align-items: center; height: 23px; padding: 0 9px; border-radius: var(--r-tag); background: var(--surface2); color: var(--ink3); font-size: 11px; font-weight: 700; }
.badge--on { background: var(--brand); color: var(--brand-on); }
.badge--mute { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }

.card { background: var(--surface); border-radius: var(--r-card); padding: 16px; box-shadow: var(--card-shadow); border: var(--card-border); }
.footbar { flex: none; padding: 10px 20px 14px; background: var(--surface); border-top: 1px solid var(--line); display: flex; gap: 8px; }
.footbar--split .btn--ghost { width: 96px; flex: none; }
.footbar--total { align-items: center; justify-content: space-between; }
.footbar--total > div { display: flex; flex-direction: column; }
.footbar--total span { font-size: 11px; color: var(--ink3); }
.footbar--total b { font-size: 19px; font-family: var(--font-head), inherit; }
.footbar--total .btn { width: 178px; flex: none; }

/* 타이포 */
.bigt { font-family: var(--font-head), inherit; font-size: 23px; line-height: 1.35; font-weight: 800; letter-spacing: -.02em; }
.lead { font-size: 17px; line-height: 1.45; font-weight: 600; color: var(--ink); }
.sub { font-size: 13px; line-height: 1.55; color: var(--ink3); }
.sub--xs { font-size: 11.5px; }
.counttxt { font-size: 13px; color: var(--ink3); }
.counttxt b { color: var(--ink); }

/* 섹션 */
.sec { display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.body:not(.body--home) > .sec { padding: 0; }
.sec--tight { gap: 10px; }
.sec__h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.sec__h h2 { font-family: var(--font-head), inherit; font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; }
.more { font-size: 12px; color: var(--ink3); display: inline-flex; align-items: center; gap: 2px; }
.more svg { width: 13px; height: 13px; }

/* 일러스트 */
.art { width: 100%; height: 100%; }
.art .ln  { stroke: var(--art-line); stroke-width: 2.1; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.art .lnT { stroke: var(--art-line); stroke-width: 1.1; fill: none; stroke-linecap: round; opacity: .45; }
.logo-mark .ln { stroke: var(--brand); stroke-width: 2.4; }
.logo-mark .lnT { stroke: var(--brand); opacity: .3; }
.view--dark .art .ln, .view--dark .art .lnT { stroke: var(--brand-on); }

.thumb { flex: none; width: 78px; height: 78px; border-radius: var(--r-thumb); background: var(--ph-bg); color: var(--ph-ink); display: grid; place-items: center; overflow: hidden; }
.thumb > svg { width: 34%; height: 34%; }
.thumb--wide { width: 100%; height: 92px; border-radius: var(--r-thumb); }
.thumb--wide > svg { width: 24%; height: 30%; }
.thumb--sq { width: 54px; height: 54px; }

/* 별점 */
.rate { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; color: var(--ink2); }
.rate svg { width: 14px; height: 14px; color: var(--star); }
.rate b { font-weight: 700; }

/* ---------- 스플래시 ---------- */
.sc--splash { align-items: center; justify-content: center; gap: 18px; padding: 0 40px; }
.splash__art { width: 150px; height: 150px; }
.splash__logo .logo__t { font-size: 32px; }
.splash__logo .art { width: 42px; height: 42px; }
.splash__sub { color: rgba(255,255,255,.82); font-size: 13.5px; letter-spacing: .02em; }

/* ---------- 권한 시트 ---------- */
.sc--dim { background: rgba(48,36,24,.45); justify-content: center; padding: 0 20px; }
.sheet { background: var(--surface); border-radius: var(--r-sheet); padding: 26px 22px 20px; display: flex; flex-direction: column; gap: 12px; max-height: 92%; overflow: auto; }
.sheet__t { text-align: center; font-family: var(--font-head), inherit; font-size: 19px; font-weight: 800; }
.sheet__lead { font-size: 16px; line-height: 1.5; font-weight: 700; margin-top: 6px; }
.sheet__desc { font-size: 12.5px; line-height: 1.6; color: var(--ink3); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.permlist { display: flex; flex-direction: column; }
.permlist li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.permico { flex: none; width: 44px; height: 44px; border-radius: var(--r-thumb); background: var(--surface2); display: grid; place-items: center; color: var(--ink2); }
.permico svg { width: 22px; height: 22px; }
.permlist b { font-size: 14.5px; font-weight: 700; }
.permlist em { font-style: normal; font-weight: 500; color: var(--ink3); font-size: 12.5px; }
.permlist p { font-size: 12.5px; color: var(--ink3); margin-top: 3px; line-height: 1.45; }
.sheet .btn { margin-top: 8px; }

/* ---------- 약관 ---------- */
.termcard { padding: 8px 14px; }
.termrow { display: flex; align-items: center; gap: 12px; padding: 12px 2px; }
.termrow__t { flex: 1; font-size: 14.5px; }
.termrow__t em { font-style: normal; color: var(--ink3); font-size: 13px; }
.termrow__c svg { width: 16px; height: 16px; color: var(--ink3); }
.chk { flex: none; width: 24px; height: 24px; border-radius: var(--r-chk); background: var(--surface2); display: grid; place-items: center; color: var(--surface); }
.chk svg { width: 15px; height: 15px; }
.chk.is-on { background: var(--brand); color: var(--brand-on); }
.termall { display: flex; align-items: center; gap: 12px; font-size: 15px; padding: 0 4px; }
.termall--sm { font-size: 12.5px; color: var(--ink3); }
.termall--sm .chk { width: 20px; height: 20px; }

/* ---------- 로그인 ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 12px; font-weight: 700; color: var(--ink2); }
.input { height: 52px; border-radius: var(--r-btn); background: var(--surface); box-shadow: inset 0 0 0 1.3px var(--line-strong); display: flex; align-items: center; padding: 0 8px 0 16px; font-size: 15px; gap: 8px; }
.input .chip { margin-left: auto; }
.input--muted { color: var(--ink3); }
.timer { margin-left: auto; padding-right: 8px; font-size: 13px; color: var(--accent); font-weight: 700; }
.textarea { min-height: 74px; border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1.3px var(--line-strong); padding: 13px 15px; font-size: 13.5px; line-height: 1.6; color: var(--ink2); }
.textarea--tall { min-height: 108px; }

/* ---------- 홈 ---------- */
.catgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px 4px; padding: 8px 14px 20px; background: var(--surface); }
.cat { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.cat__i { width: 52px; height: 52px; border-radius: var(--r-cat); background: var(--surface2); color: var(--ink2); display: grid; place-items: center; }
.cat__i svg { width: 24px; height: 24px; }
.cat__n { font-size: 11.5px; color: var(--ink2); }
.cat.is-on .cat__i { background: var(--brand); color: var(--brand-on); }
.cat.is-on .cat__n { color: var(--ink); font-weight: 600; }

.promo { padding: 18px 20px 14px; background: var(--surface2); display: flex; flex-direction: column; gap: 10px; }
.promo__card { background: var(--promo-bg); border-radius: var(--r-card); padding: 20px; display: flex; align-items: center; gap: 8px; min-height: 158px; }
.promo__txt { flex: 1; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.promo__k { font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--promo-key); }
.promo__card h3 { font-family: var(--font-head), inherit; font-size: 19px; line-height: 1.35; font-weight: 800; color: var(--promo-ink); letter-spacing: -.02em; }
.promo__s { font-size: 11.5px; color: var(--promo-sub); margin-bottom: 5px; }
.promo__card .chip { background: var(--promo-chip); color: var(--promo-chip-ink); }
.dots { display: flex; gap: 5px; justify-content: center; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); }
.dots i.is-on { width: 14px; border-radius: 3px; background: var(--brand); }

.quick { display: grid; grid-template-columns: repeat(5, 1fr); padding: 18px 8px; background: var(--surface); border-bottom: 8px solid var(--surface2); }
.quick__i { display: flex; flex-direction: column; align-items: center; gap: 7px; color: var(--ink2); }
.quick__i > span { position: relative; display: block; }
.quick__i svg { width: 25px; height: 25px; }
.quick__i b { font-size: 11px; font-weight: 600; }

.shoplist { display: flex; flex-direction: column; gap: 12px; }
.shop { position: relative; display: flex; gap: 13px; background: var(--surface); border-radius: var(--r-card); padding: 12px; box-shadow: var(--card-shadow); border: var(--card-border); }
.shop__b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.shop__top { display: flex; align-items: center; gap: 6px; }
.shop__top h3 { font-size: 15px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop__d { font-size: 11.5px; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop__tags { display: flex; gap: 5px; margin-top: 2px; }
.shop__p { font-size: 12px; color: var(--ink3); margin-top: 2px; }
.shop__p b { font-size: 16px; color: var(--ink); font-weight: 800; font-family: var(--font-head), inherit; }
.fav { position: absolute; right: 10px; top: 10px; width: 28px; height: 28px; color: var(--line-strong); }
.fav svg { width: 20px; height: 20px; }
.fav.is-on { color: var(--accent); }

.hscroll { display: flex; gap: 12px; overflow: auto; margin: 0 -20px; padding: 0 20px 4px; }
.hscroll::-webkit-scrollbar { height: 0; }
.mini { flex: none; width: 138px; display: flex; flex-direction: column; gap: 6px; }
.mini h4 { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini p { font-size: 11px; color: var(--ink3); }
.mini b { font-size: 14px; font-weight: 800; font-family: var(--font-head), inherit; }

.ftr { padding: 26px 20px 20px; background: var(--surface2); display: flex; flex-direction: column; gap: 4px; position: relative; }
.ftr__l { font-size: 10.5px; color: var(--ink3); }

/* ---------- 지역 / 역주변 ---------- */
.side { flex: none; width: 112px; background: var(--surface2); overflow: auto; }
.side::-webkit-scrollbar { width: 0; }
.side__i { display: block; width: 100%; text-align: left; padding: 17px 18px; font-size: 14.5px; color: var(--ink2); }
.side__i.is-on { background: var(--bg); font-weight: 800; color: var(--ink); }
.split__main { flex: 1; overflow: auto; }
.split__main::-webkit-scrollbar { width: 0; }
.split__h { display: flex; align-items: center; gap: 4px; padding: 16px 18px 10px; font-size: 14px; color: var(--ink2); }
.split__h svg { width: 17px; height: 17px; color: var(--brand); }
.split__h b { color: var(--brand); }
.listrow { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 18px; font-size: 14.5px; text-align: left; }
.listrow span svg { width: 15px; height: 15px; color: var(--line-strong); }
.chiprow { flex: none; display: flex; align-items: center; gap: 8px; padding: 12px 16px; overflow: auto; background: var(--bg); border-bottom: 1px solid var(--line); }
.chiprow::-webkit-scrollbar { height: 0; }
.chiprow__div { width: 1px; height: 20px; background: var(--line); flex: none; }
.rchip { flex: none; width: 62px; height: 62px; border-radius: 50%; background: var(--surface2); font-size: 13.5px; font-weight: 700; color: var(--ink3); }
.rchip.is-on { background: var(--brand-soft); color: var(--brand); box-shadow: inset 0 0 0 1.4px var(--brand); }
.rchip--pill { width: auto; height: 36px; padding: 0 16px; border-radius: 999px; }
.rchip--sq { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; color: var(--ink2); }
.rchip--sq svg { width: 20px; height: 20px; }
.chiprow--filter { padding: 10px 16px; }

/* ---------- 내 주변 (지도) ---------- */
.locbtn { flex: 1; display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 700; text-align: left; }
.locbtn svg { width: 19px; height: 19px; color: var(--brand); flex: none; }
.locbtn svg:last-child { width: 14px; color: var(--ink3); }
.locbtn b { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map { position: relative; flex: 1; min-height: 0; background: var(--map-bg); overflow: hidden; }
.map__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--map-line) 1px, transparent 1px), linear-gradient(90deg, var(--map-line) 1px, transparent 1px); background-size: 46px 46px; }
.map__road { position: absolute; background: var(--map-road); }
.map__road--1 { left: -10%; right: -10%; top: 46%; height: 13px; transform: rotate(-7deg); }
.map__road--2 { top: -10%; bottom: -10%; left: 36%; width: 10px; transform: rotate(6deg); }
.map__river { position: absolute; left: -10%; right: -10%; top: 8%; height: 46px; background: var(--map-water); transform: rotate(-5deg); }
.map__blob { position: absolute; border-radius: 46% 54% 58% 42%; background: var(--map-green); }
.map__blob--1 { width: 120px; height: 90px; left: 6%; bottom: 12%; }
.map__blob--2 { width: 88px; height: 78px; right: 8%; top: 34%; }
.map__locate { position: absolute; right: 14px; top: 14px; width: 42px; height: 42px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; box-shadow: 0 3px 10px rgba(60,44,28,.2); color: var(--ink2); }
.map__locate svg { width: 21px; height: 21px; }
.pin { position: absolute; background: var(--surface); border-radius: var(--r-pin); padding: 5px 9px; box-shadow: 0 3px 9px rgba(60,44,28,.18); display: flex; flex-direction: column; line-height: 1.25; white-space: nowrap; }
.pin b { font-size: 11.5px; font-weight: 700; }
.pin i { font-style: normal; font-size: 11px; color: var(--ink3); }
.pin.is-on { background: var(--brand); }
.pin.is-on b, .pin.is-on i { color: var(--brand-on); }
.sheetlist { flex: none; height: 300px; background: var(--bg); border-radius: var(--r-sheet) var(--r-sheet) 0 0; margin-top: -18px; position: relative; z-index: 3; padding: 8px 20px 0; overflow: auto; box-shadow: 0 -6px 18px rgba(60,44,28,.1); }
.sheetlist::-webkit-scrollbar { width: 0; }
.sheetlist__grab { width: 42px; height: 4px; border-radius: 3px; background: var(--line-strong); margin: 4px auto 12px; }
.sheetlist__t { font-size: 13px; color: var(--ink3); margin-bottom: 10px; }
.sheetlist__t b { color: var(--ink); font-weight: 800; }

/* ---------- 검색 ---------- */
.searchbar { flex: 1; height: 42px; border-radius: var(--r-btn); background: var(--surface2); display: flex; align-items: center; gap: 8px; padding: 0 14px; color: var(--ink3); font-size: 14px; }
.searchbar svg { width: 19px; height: 19px; }
.tagrow { display: flex; flex-wrap: wrap; gap: 7px; }
.ranklist { display: flex; flex-direction: column; }
.ranklist li { display: flex; align-items: center; gap: 12px; padding: 11px 2px; font-size: 14px; cursor: pointer; }
.ranklist b { width: 16px; font-family: var(--font-head), inherit; font-weight: 800; color: var(--brand); }
.ranklist em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--ink3); }
.emptyart { margin: auto auto 10px; display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: .55; }
.emptyart .art { width: 92px; height: 92px; }
.emptyart p { font-size: 12.5px; color: var(--ink3); }
.emptyart--sm .art { width: 66px; height: 66px; }

/* ---------- 매장 상세 ---------- */
.hero { position: relative; height: 250px; background: var(--ph-bg); color: var(--ph-ink); display: grid; place-items: center; flex: none; }
.hero__art { width: 52px; height: 52px; }
.hero__art svg { width: 100%; height: 100%; }
.hero__bar { position: absolute; inset: 10px 12px auto; display: flex; justify-content: space-between; }
.hero__dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; gap: 5px; justify-content: center; }
.hero__dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(80,60,40,.25); }
.hero__dots i.is-on { background: var(--brand); width: 14px; border-radius: 3px; }
.shoptop { display: flex; flex-direction: column; gap: 7px; }
.shoptop .tag { align-self: flex-start; }
.metarow { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.meta__sp { font-size: 12px; color: var(--ink3); position: relative; padding-left: 11px; }
.meta__sp::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 10px; background: var(--line-strong); }
.infolist { display: flex; flex-direction: column; gap: 9px; }
.infolist p { display: flex; gap: 12px; font-size: 13px; color: var(--ink2); line-height: 1.45; }
.infolist span { flex: none; width: 40px; color: var(--ink3); font-size: 12.5px; }
.courselist { display: flex; flex-direction: column; gap: 10px; }
.course { display: flex; gap: 12px; align-items: center; background: var(--surface); border-radius: var(--r-card); padding: 15px 16px; box-shadow: var(--card-shadow); border: var(--card-border); }
.course.is-on { box-shadow: inset 0 0 0 1.6px var(--brand); }
.course__b { flex: 1; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.course__b h4 { font-size: 14.5px; font-weight: 700; }
.course__b p { font-size: 11.5px; color: var(--ink3); }
.course__p { text-align: right; font-size: 11.5px; color: var(--ink3); display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.course__p b { font-size: 16px; color: var(--ink); font-weight: 800; font-family: var(--font-head), inherit; }
.notice { background: var(--surface2); border-radius: var(--r-card); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.notice b { font-size: 13px; font-weight: 700; }
.notice p { font-size: 12px; line-height: 1.7; color: var(--ink3); }
.notice--warn { background: var(--warn-bg); }
.notice--warn b { color: var(--warn-ink); }

/* ---------- 예약 ---------- */
.sumcard { display: flex; gap: 13px; align-items: center; }
.sumcard h4 { font-size: 15px; font-weight: 700; }
.sumcard p { font-size: 12px; color: var(--ink3); margin: 3px 0 5px; }
.sumcard b { font-size: 16px; font-weight: 800; font-family: var(--font-head), inherit; }
.daterow { display: flex; gap: 8px; }
.date { flex: 1; height: 66px; border-radius: var(--r-card); background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; box-shadow: inset 0 0 0 1.2px var(--line); }
.date b { font-size: 14px; font-weight: 700; }
.date span { font-size: 11px; color: var(--ink3); }
.date.is-on { background: var(--brand); box-shadow: none; }
.date.is-on b, .date.is-on span { color: var(--brand-on); }
.timegrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.time { height: 42px; border-radius: var(--r-btn); background: var(--surface); font-size: 13.5px; font-weight: 600; box-shadow: inset 0 0 0 1.2px var(--line); }
.time.is-on { background: var(--brand); color: var(--brand-on); box-shadow: none; font-weight: 700; }
.time.is-off { color: var(--line-strong); text-decoration: line-through; box-shadow: inset 0 0 0 1.2px var(--line); background: var(--surface2); }
.stepper { display: flex; align-items: center; gap: 18px; align-self: flex-start; background: var(--surface); border-radius: 999px; padding: 6px 10px; box-shadow: inset 0 0 0 1.2px var(--line); }
.stepper button { width: 30px; height: 30px; border-radius: 50%; background: var(--surface2); font-size: 17px; color: var(--ink2); }
.stepper b { font-size: 14.5px; min-width: 42px; text-align: center; }

.done { align-items: center; text-align: center; padding: 0 24px; }
.doneart { display: grid; place-items: center; margin-bottom: 10px; }
.doneart__chk { width: 62px; height: 62px; border-radius: 50%; background: var(--brand); color: var(--brand-on); display: grid; place-items: center; }
.doneart__chk svg { width: 28px; height: 28px; }
.recipe { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.recipe p { display: flex; gap: 14px; font-size: 13.5px; }
.recipe span { flex: none; width: 46px; color: var(--ink3); font-size: 12.5px; }
.recipe__no { border-top: 1px dashed var(--line-strong); padding-top: 11px; margin-top: 2px; font-weight: 700; }

/* ---------- 내 예약 ---------- */
.bk { display: flex; flex-direction: column; gap: 12px; padding: 14px 15px; }
.bk__h { display: flex; align-items: center; justify-content: space-between; }
.bk__no { font-size: 11px; color: var(--ink3); letter-spacing: .01em; }
.bk__b { display: flex; gap: 12px; align-items: center; }
.bk__b h4 { font-size: 15px; font-weight: 700; }
.bk__b p { font-size: 12px; color: var(--ink3); margin: 3px 0 6px; }
.bk__b b { font-size: 13.5px; font-weight: 700; color: var(--brand); }
.bk__f { display: flex; gap: 7px; }
.bk__f .btn { flex: 1; }
.bk--done { opacity: .82; }
.bk--done .bk__b b { color: var(--ink3); }
.bk--live { box-shadow: var(--card-shadow), inset 0 0 0 1.5px var(--brand); }

/* ---------- 리뷰 ---------- */
.ratepick { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 0 4px; }
.ratepick p { font-size: 14px; color: var(--ink2); }
.ratepick__s { display: flex; gap: 6px; }
.star svg { width: 34px; height: 34px; color: var(--line-strong); }
.star.is-on svg { color: var(--star); }
.ratepick b { font-size: 14px; color: var(--brand); font-weight: 800; }
.tagpick { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }
.photorow { display: flex; gap: 9px; }
.photoadd { width: 76px; height: 76px; border-radius: var(--r-thumb); background: var(--surface2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--ink3); font-size: 11px; }
.photoadd svg { width: 22px; height: 22px; }
.photo { width: 76px; height: 76px; border-radius: var(--r-thumb); background: var(--ph-bg); color: var(--ph-ink); display: grid; place-items: center; overflow: hidden; }
.photo > svg { width: 34%; height: 34%; }

/* ---------- 알림 / 이벤트 ---------- */
.noti { display: flex; gap: 13px; padding: 15px 2px; border-bottom: 1px solid var(--line); align-items: flex-start; }
.noti__i { flex: none; width: 40px; height: 40px; border-radius: var(--r-thumb); background: var(--surface2); display: grid; place-items: center; color: var(--ink2); }
.noti__i svg { width: 20px; height: 20px; }
.noti div { flex: 1; min-width: 0; }
.noti h4 { font-size: 14px; font-weight: 700; }
.noti p { font-size: 12px; color: var(--ink3); margin-top: 3px; line-height: 1.45; }
.noti__w { font-size: 11px; color: var(--ink3); flex: none; }
.noti.is-new .noti__i { background: var(--brand-soft); color: var(--brand); }
.noti.is-new h4::after { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-left: 5px; vertical-align: middle; }

.attend { display: flex; flex-direction: column; gap: 14px; }
.attend__h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.attend__h h3 { font-family: var(--font-head), inherit; font-size: 17px; font-weight: 800; }
.attend__h p { font-size: 12px; color: var(--ink3); margin-top: 3px; }
.attend__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.attend__grid .day:last-child { grid-column: span 2; }
.day { height: 54px; border-radius: var(--r-btn); background: var(--surface2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.day b { font-size: 11.5px; color: var(--ink3); font-weight: 600; }
.day i { font-style: normal; font-size: 11.5px; font-weight: 800; color: var(--ink2); }
.day.is-on { background: var(--brand-soft); }
.day.is-on b, .day.is-on i { color: var(--brand); }
.day.is-today { background: var(--brand); }
.day.is-today b, .day.is-today i { color: var(--brand-on); }
.evt { display: flex; align-items: center; gap: 12px; }
.evt div { flex: 1; }
.evt h4 { font-size: 14.5px; font-weight: 700; }
.evt p { font-size: 12px; color: var(--ink3); margin-top: 3px; }

/* ---------- 마이 ---------- */
.profile { display: flex; align-items: center; gap: 14px; padding: 20px; background: var(--surface); }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--surface2); color: var(--ink2); display: grid; place-items: center; flex: none;
          font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.profile__b { flex: 1; }
.profile__b h2 { font-family: var(--font-head), inherit; font-size: 19px; font-weight: 800; }
.profile__b p { font-size: 12.5px; color: var(--ink3); margin-top: 3px; }
.statrow { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface); padding: 4px 12px 20px; }
.statrow button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 0; position: relative; }
.statrow button + button::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 1px; background: var(--line); }
.statrow b { font-size: 18px; font-weight: 800; font-family: var(--font-head), inherit; }
.statrow span { font-size: 11.5px; color: var(--ink3); }
.menugrp { background: var(--surface); margin-top: 8px; padding: 6px 20px 10px; }
.body:not(.body--home) .menugrp { border-radius: var(--r-card); margin-top: 0; }
.menugrp__t { font-size: 11.5px; font-weight: 800; color: var(--ink3); letter-spacing: .04em; padding: 12px 0 4px; }
.menurow { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 0; font-size: 14.5px; text-align: left; border-top: 1px solid var(--line); }
.menugrp__t + .menurow { border-top: 0; }
.menurow span svg { width: 15px; height: 15px; color: var(--line-strong); }
.menurow--sw { cursor: default; }
.switch { width: 44px; height: 26px; border-radius: 999px; background: var(--line-strong); position: relative; transition: background .2s; }
.switch i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); transition: transform .2s; }
.switch.is-on { background: var(--brand); }
.switch.is-on i { transform: translateX(18px); }
.myart { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 30px 0 10px; opacity: .6; }
.myart .art { width: 116px; height: 78px; }
.myart p { font-size: 12px; color: var(--ink3); }
.verline { text-align: center; font-size: 12px; color: var(--ink3); padding: 6px 0; }
.verline span { color: var(--brand); font-weight: 700; margin-left: 6px; }

.ptcard { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--promo-bg); }
.ptcard p { font-size: 12px; color: var(--promo-sub); }
.ptcard h2 { font-family: var(--font-head), inherit; font-size: 32px; font-weight: 800; color: var(--promo-ink); margin: 4px 0 4px; letter-spacing: -.02em; }
.ptcard h2 em { font-style: normal; font-size: 19px; margin-left: 2px; }
.ptcard .sub { color: var(--promo-sub); }
.ptrow { display: flex; align-items: center; justify-content: space-between; padding: 14px 2px; border-bottom: 1px solid var(--line); }
.ptrow h4 { font-size: 14px; font-weight: 600; }
.ptrow p { font-size: 11.5px; color: var(--ink3); margin-top: 3px; }
.ptrow b { font-size: 15px; font-weight: 800; font-family: var(--font-head), inherit; }
.ptrow .is-plus { color: var(--brand); }
.ptrow .is-minus { color: var(--ink3); }

.course__p .price { white-space: nowrap; }

/* --- 마감 보정 --- */
/* 권한 안내 딤은 화면 전체를 덮는다 (실제 앱과 동일) */
.sc--dim { top: 0; }

/* ===== 터치 반응 ===== */
/* 앱 안의 누를 수 있는 요소에 실제 앱 같은 터치 반응 */
.sc [data-go],
.sc .tabs__i, .sc .side__i, .sc .cat,
.sc .date, .sc .time, .sc .rchip,
.sc .course, .sc .pin, .sc .tag--pick,
.sc .termrow, .sc .termall, .sc .star,
.sc .fav, .sc .menurow, .sc .listrow,
.sc .stepper button, .sc .ranklist li { cursor: pointer; }
.sc [data-go]:active,
.sc .cat:active, .sc .course:active,
.sc .menurow:active, .sc .listrow:active,
.sc .shop:active, .sc .mini:active { opacity: .68; }
.sc .btn:active { transform: scale(.985); }

/* 찜 하트 채움은 클래스로 처리 (토글 가능) */
.fav.is-on svg path { fill: currentColor; }

/* 약관 미동의 상태의 확인 버튼 */
.btn--primary.is-off { background: var(--surface2); color: var(--ink3); box-shadow: none; pointer-events: none; }

/* 권한 안내 딤은 화면 위 요소보다 위 */
.sc--dim { z-index: 7; }

/* ===================================================================
   톤 정리 — 볼드 남용을 줄이고 자간·여백을 넓혀 차분하게 잡는다.
   (구조는 위에서 끝났고, 여기는 '인상'만 조정하는 구역)
   =================================================================== */

/* 제목: 800 → 600, 크기·자간 완화 */
.bigt            { font-size: 20px; font-weight: 600; letter-spacing: -.005em; line-height: 1.45; }
.lead            { font-size: 16px; font-weight: 600; line-height: 1.5; }
.sec__h h2       { font-size: 15px; font-weight: 600; letter-spacing: 0; }
.appbar__title   { font-size: 16px; font-weight: 600; }
.sheet__t        { font-size: 17px; font-weight: 600; }
.sheet__lead     { font-size: 15px; font-weight: 600; }
.attend__h h3    { font-size: 15.5px; font-weight: 600; }
.profile__b h2   { font-size: 18px; font-weight: 600; }
.logo__t         { font-size: 17px; font-weight: 600; letter-spacing: .01em; }

/* 숫자·금액: 굵기 대신 크기로 구분 */
.shop__p b, .course__p b, .mini b, .sumcard b,
.footbar--total b, .statrow b, .ptrow b { font-weight: 600; }
.ptcard h2 { font-size: 28px; font-weight: 600; }

/* 본문·버튼·라벨 */
.btn             { font-size: 15px; font-weight: 600; }
.chip, .tag      { font-weight: 600; }
.tab__n          { font-size: 10px; font-weight: 500; }
.tab.is-on .tab__n { font-weight: 600; }
.tabs__i         { font-weight: 500; }
.tabs__i.is-on   { font-weight: 600; }
.shop__top h3    { font-size: 14.5px; font-weight: 600; }
.course__b h4, .bk__b h4, .evt h4, .noti h4, .sumcard h4 { font-weight: 600; }
.menugrp__t      { font-weight: 600; letter-spacing: .02em; }
.badge           { font-weight: 600; }
.day i, .ranklist b, .split__h b, .counttxt b, .sheetlist__t b { font-weight: 600; }

/* 여백: 화면이 숨 쉬도록 — 단, 띠처럼 꽉 채우는 화면은 섹션이 각자 여백을 갖는다 */
.body            { padding: 20px 20px 28px; gap: 18px; }
.body--home,
.body--flush     { padding: 0 0 24px; gap: 0; }
.body--split     { padding: 0; gap: 0; }
.pad             { padding: 20px; gap: 18px; }
.sec             { gap: 14px; padding: 22px 20px; }
.sec--tight      { gap: 12px; }
.card            { padding: 18px; }
.shop            { padding: 14px; gap: 14px; }
.catgrid         { gap: 16px 4px; padding: 12px 14px 24px; }
.quick           { padding: 20px 8px; }
.menurow         { padding: 15px 0; }
.listrow         { padding: 17px 18px; }
.side__i         { padding: 17px 18px; }

/* 선 얇게, 그림자 절제 */
.tabbar          { border-top-color: var(--line); }
.map__locate     { box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.pin             { box-shadow: 0 2px 7px rgba(0,0,0,.1); }

/* 빈 화면 일러스트는 더 작고 옅게 */
.emptyart        { opacity: 1; gap: 14px; }
.emptyart .art   { width: 74px; height: 74px; }
.emptyart--sm .art { width: 58px; height: 58px; }
.emptyart p      { font-size: 12.5px; color: var(--ink3); }
.myart           { padding: 34px 0 12px; opacity: 1; gap: 10px; }
.myart .art      { width: 30px; height: 30px; opacity: .5; }
.myart p         { font-size: 11.5px; color: var(--ink3); }

/* 스플래시 — 로고 중심으로 절제 */
.sc--splash      { gap: 22px; }
.splash__art     { width: 108px; height: 108px; }
.splash__logo .logo__t { font-size: 26px; font-weight: 600; letter-spacing: .02em; }
.splash__logo .art { width: 34px; height: 34px; }
.splash__sub     { font-size: 12.5px; color: rgba(255,255,255,.7); letter-spacing: .01em; }

/* 프로모 — 일러스트를 뺀 자리를 타이포와 여백이 채운다 */
.promo__card     { min-height: 0; padding: 24px 22px; }
.promo__card h3  { font-size: 18px; font-weight: 600; letter-spacing: -.005em; line-height: 1.45; }
.promo__k        { font-weight: 600; letter-spacing: .08em; }
.promo__s        { margin-bottom: 10px; }

/* 출석체크·포인트 카드도 좌우 여백 균형 */
.attend__h       { align-items: flex-start; }
.ptcard          { padding: 22px; }

/* ===================================================================
   비회원 / 로그인 — 둘러보기는 자유롭게, 로그인은 필요한 순간에만
   =================================================================== */

/* 홈 상단 로그인 유도 배너 (비회원에게만) */
.loginbar {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 16px 20px; background: var(--surface2); border-bottom: 1px solid var(--line);
  text-align: left;
}
.loginbar__i { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
               background: var(--surface); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
.loginbar__i svg { width: 18px; height: 18px; }
.loginbar__t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.loginbar__t b { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.loginbar__t em { font-style: normal; font-size: 11.5px; color: var(--ink3); }
.loginbar__c { flex: none; color: var(--ink3); }
.loginbar__c svg { width: 18px; height: 18px; }

/* 로그인 화면 */
.loginlogo { display: flex; justify-content: center; padding-bottom: 6px; }
.loginlogo .logo__t { font-size: 24px; }
.footbar--stack { flex-direction: column; gap: 2px; padding-bottom: 10px; }
.linkbtn { font-size: 12.5px; font-weight: 600; color: var(--ink3); padding: 10px 6px; text-decoration: underline;
           text-underline-offset: 3px; text-decoration-color: var(--line-strong); align-self: center; }
.linkbtn:hover { color: var(--brand); }

/* 마이페이지 — 비회원 상태 */
.profile--guest .avatar--guest { display: grid; place-items: center; background: var(--surface2); color: var(--ink3); }
.profile--guest .avatar--guest svg { width: 24px; height: 24px; }
.guestcta { padding: 0 20px 18px; display: flex; flex-direction: column; gap: 10px; background: var(--surface); }
.guestcta p { font-size: 11.5px; color: var(--ink3); text-align: center; }

/* 전화 연결 — 비회원도 바로 누를 수 있는 통로 */
.tellink { display: inline-flex; align-items: center; gap: 8px; color: var(--ink2); text-decoration: none; }
.tellink em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--brand);
              background: var(--surface2); padding: 3px 9px; border-radius: 999px; }
.tellink--sm { margin-left: auto; gap: 4px; font-size: 11.5px; font-weight: 600; color: var(--brand); }
.tellink--sm svg { width: 14px; height: 14px; }
a.btn { text-decoration: none; }

/* ===================================================================
   목록 · 배너 — 카테고리/지역/역별 제휴점 목록과 홈 배너 슬라이드
   =================================================================== */

/* 홈 배너 슬라이드 */
.promo__vp { overflow: hidden; border-radius: var(--r-card); }
.promo__track { display: flex; transition: transform .45s cubic-bezier(.22,.7,.3,1); }
.promo__track > .promo__card { flex: 0 0 100%; }

/* 홈 - 카테고리별 바로가기 */
.catlist { display: flex; flex-direction: column; }
.catlist__i { display: flex; align-items: center; gap: 12px; padding: 13px 2px; border-bottom: 1px solid var(--line); text-align: left; }
.catlist__i:last-child { border-bottom: 0; }
.catlist__ic { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
               background: var(--surface2); color: var(--brand); }
.catlist__ic svg { width: 19px; height: 19px; }
.catlist__i b { flex: 1; font-size: 14px; font-weight: 600; color: var(--ink); }
.catlist__i em { font-style: normal; font-size: 12px; color: var(--ink3); }
.catlist__c { color: var(--ink3); display: grid; place-items: center; }
.catlist__c svg { width: 17px; height: 17px; }

/* 목록 화면 */
.body--list { padding: 0 0 24px; gap: 0; }
.body--list .shoplist { padding: 14px 20px 20px; }
.body--list .counttxt { padding: 14px 20px 0; }
.body--list .emptyart { padding: 46px 20px; }

.sortrow { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 20px;
           background: var(--bg); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.sortrow::-webkit-scrollbar { height: 0; }
.sortrow__c { flex: none; font-size: 12.5px; color: var(--ink3); }
.sortrow__c b { color: var(--ink); font-weight: 600; }
.sorts { display: flex; gap: 6px; margin-left: auto; }
.sortchip { flex: none; font-size: 12px; font-weight: 600; color: var(--ink3); background: var(--surface2);
            padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
.sortchip.is-on { background: var(--brand); color: var(--brand-on); }

/* 지역 · 역 목록의 제휴점 수 */
.listrow .cnt { margin-left: auto; margin-right: 8px; font-style: normal; font-size: 11.5px; font-weight: 600;
                color: var(--brand); background: var(--brand-soft); padding: 3px 8px; border-radius: 999px; }

/* 거리 · 신규 표시 */
.shop__dist { color: var(--brand); font-weight: 600; }
.tag--new { background: var(--accent); color: var(--brand-on); }

/* 지도 핀을 누르면 해당 카드가 잠깐 반짝인다 */
.shop.is-flash { box-shadow: var(--card-shadow), inset 0 0 0 1.6px var(--brand); }

/* 목록만 살짝 바뀌는 전환 — 카테고리 캡슐·정렬을 눌렀을 때 */
[data-role="sortlist"] { transition: opacity .16s ease, transform .16s ease; }
[data-role="sortlist"].is-swap { opacity: 0; transform: translateY(6px); }
@media (prefers-reduced-motion: reduce) {
  [data-role="sortlist"] { transition: none; }
  [data-role="sortlist"].is-swap { opacity: 1; transform: none; }
}
