/* =========================================================================
   색상 토큰  —  ★ 보딩리스트 브랜드 색은 여기 두 줄만 바꾸면 전체 반영됩니다 ★
   ========================================================================= */
:root{
  /* ▼▼▼ 강조색 (페이지 배경은 중립 회색으로 고정) ▼▼▼ */
  --bl-primary:      #29D7B6;   /* 강조색: CTA·선택·체크·서비스명 */
  --bl-bg:           #F4F5F7;   /* 페이지 베이스 (중립 회색 · 색 채움 없음) */
  /* ▲▲▲ 강조색은 위 한 값만 바꾸면 됩니다 ▲▲▲ */

  --bl-primary-dark: #1FBBA0;
  --bl-primary-soft: #E2FAF4;
  --bl-navy:         #0E5247;

  --c-white:#FFFFFF;
  --c-text:#1E1E20;
  --c-text2:#555558;
  --c-text3:#8E8E93;
  --c-line:#EDEEF0;
  --c-line2:#E1E2E5;
  --c-field-bg:#F4F6F8;
  --c-red:#E5483D;

  --radius:8px;
  --radius-lg:12px;
}

*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent;}
html,body{height:100%;}
body{
	font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Pretendard", "Malgun Gothic",Roboto,"Noto Sans KR","Segoe UI",sans-serif;
	background:#DCE6EA;color:var(--c-text);-webkit-font-smoothing:antialiased;
	letter-spacing:-0.02em;line-height:1.45;
}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit;letter-spacing:-0.02em;}
input{font-family:inherit;letter-spacing:-0.02em;}
:focus-visible{outline:2px solid var(--bl-primary);outline-offset:1px;}

.frame{
	max-width:460px;margin:0 auto;min-height:100vh;background:var(--bl-bg);
	display:flex;flex-direction:column;position:relative;box-shadow:0 0 40px rgba(0,0,0,.12);
}

/* 헤더 */
.appbar{
	position:sticky;top:0;z-index:30;height:52px;background:var(--c-white);
	display:flex;align-items:center;justify-content:space-between;
	padding:0 6px 0 12px;border-bottom:1px solid var(--c-line);
}
.brand{display:flex;align-items:center;gap:8px;text-decoration:none;}
.brand-logo{height:26px;width:auto;}      /* 로고 이미지(DB) 주입 시 표시 */
.brand-text{font-size:16px;font-weight:700;color:var(--c-text);}
.appbar-actions{display:flex;align-items:center;}
.iconbtn{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:8px;text-decoration:none;}
.iconbtn:active{background:var(--c-field-bg);}
.call-btn svg{width:21px;height:21px;}
.call-btn svg path{stroke:var(--bl-primary);stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.ico{width:22px;height:22px;display:block;}
.ico path,.ico line,.ico polyline{stroke:var(--c-text);stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;}

/* 진행 단계바 (높이 고정 · 색만 강조색 적용) */
.steps{background:var(--c-white);padding:14px 18px 16px;border-bottom:1px solid var(--c-line);}
.steps-top{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:9px;}
.steps-title{font-size:15px;font-weight:700;}
.steps-title b{color:var(--bl-primary);}
.steps-count{font-size:12px;color:var(--c-text3);font-weight:600;}
.steps-dots{display:flex;gap:5px;height:4px;overflow:hidden;}
.dot{flex:1 1 0;min-width:0;height:4px;border-radius:3px;background:var(--c-line2);transition:background .25s;}
.dot.done,.dot.cur{background:var(--bl-primary);}

/* 본문 */
.body{flex:1;padding-bottom:88px;min-height:540px;display:flex;flex-direction:column;}
.panel{display:none;animation:fade .2s ease;}
.panel.on{display:block;}
@keyframes fade{from{opacity:0;}to{opacity:1;}}

/* 법적 표기 푸터 (의도적으로 흐리게 · 비강조) */
.legal-foot{margin-top:auto;padding:14px 18px 18px;}
.legal-foot .note{margin:0 0 5px;font-size:11px;font-weight:700;color:var(--bl-primary);letter-spacing:0;}
.legal-foot p.info{margin:0;font-size:10px;line-height:1.7;color:#C4C8CD;font-weight:400;letter-spacing:0;}
.legal-foot .sep{color:#D6DADE;margin:0 5px;}
/* 업체 고객센터 한 줄. 아래 사업자정보보다 진하게 — 손님이 전화할 곳은 이쪽이다 */
.legal-foot .call-center{display:block;margin-bottom:14px;font-size:13px;color:#212529;}

.card{background:var(--c-white);padding:20px 18px;}
.card + .card{margin-top:8px;}
.sec-title{font-size:17px;font-weight:700;margin-bottom:3px;}
.sec-sub{font-size:13px;color:var(--c-text3);margin-bottom:16px;}

/* 달력 */
.cal-head{display:flex;align-items:center;justify-content:center;gap:18px;margin:2px 0 14px;}
.cal-head button{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;}
.cal-head button:active{background:var(--c-field-bg);}
.cal-head .ym{font-size:16px;font-weight:700;min-width:120px;text-align:center;}
.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);row-gap:4px;}
.cal-wd{text-align:center;font-size:15px;font-weight:600;color:var(--c-text3);padding-bottom:8px;}
.cal-wd.sun{color:var(--c-red);}.cal-wd.sat{color:#2D7BF0;}
.cal-cell{min-height:50px;position:relative;display:flex;align-items:flex-start;justify-content:center;padding-top:2px;}
.cal-day{width:40px;height:40px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:17px;font-weight:500;color:var(--c-text);position:relative;}
.cal-day.sun{color:var(--c-red);}.cal-day.sat{color:#2D7BF0;}
.cal-day.off{color:#CFD1D6;font-weight:400;cursor: default;}
.cal-day.holiday{color:var(--c-red);}
.cal-day.closeday{color:'#CFD1D6';}
.cal-day.weekday{color:var(--bl-primary-dark);}
/* .cal-day.today::after{content:"오늘";position:absolute;bottom:1px;font-size:8px;font-weight:700;color:var(--bl-primary);} */
.cal-day.today { background-color:var(--bl-primary-soft); }
.cal-day.sel{background:var(--bl-primary);color:#fff !important;font-weight:700;}
/*.cal-day.sel.today::after{color:#fff;}*/
.cal-day:not(.off):active{background:var(--bl-primary-soft);}
/* 휴일 설명 글자 (날짜 하단 · 빨강 · '오늘'보다 약간 크게) */
.cal-hol{position:absolute;bottom:2px;left:0;right:0;text-align:center;font-size:11px;font-weight:600;color:var(--c-red);line-height:1;letter-spacing:-0.04em;white-space:nowrap;overflow:hidden;padding:0 1px;}
.cal-hol.holiday{color:var(--c-red);}
.cal-hol.closeday{color:'#CFD1D6';}
.cal-hol.weekday{color:var(--bl-primary-dark);}
.cal-cell.off-day .cal-day{color:#CFD1D6;}
.cal-cell.off-day .cal-hol{color:#CFD1D6;}

/* 인원 스테퍼 */
.qty-row{display:flex;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--c-line);}
.qty-row:last-of-type{border-bottom:none;}
.qty-l .t{font-size:15.5px;font-weight:600;}
.qty-l .t .free{color:var(--bl-primary);font-size:12px;font-weight:700;margin-left:4px;}
.qty-l .d{font-size:12.5px;color:var(--c-text3);margin-top:2px;}
.stepper{display:flex;align-items:center;gap:14px;}
.stepper button{width:34px;height:34px;border-radius:50%;border:1px solid var(--c-line2);background:#fff;display:flex;align-items:center;justify-content:center;color:var(--c-text2);}
.stepper button:disabled{opacity:.35;}
.stepper button:not(:disabled):active{background:var(--c-field-bg);border-color:var(--bl-primary);}
.stepper .n{min-width:22px;text-align:center;font-size:16px;font-weight:700;}
.stepper svg{width:15px;height:15px;}
.stepper svg line{stroke:currentColor;stroke-width:2;stroke-linecap:round;}

/* ===== 시간표(시간·상품 통합) ===== */
.book-info{background:var(--c-field-bg);border-radius:var(--radius-lg);padding:12px 14px;margin-bottom:16px;font-size:14px;}
.bi-row{display:flex;align-items:center;justify-content:space-between;min-height:34px;}
.book-info .k{color:var(--c-text2);font-weight:500;}
.book-info .date{color:var(--bl-navy);font-weight:700;min-width:122px;text-align:center;}
.book-info .ppl{color:var(--c-text);font-weight:700;}
.date-nav{display:flex;align-items:center;gap:6px;}
.date-arrow{width:30px;height:30px;border-radius:50%;border:1px solid var(--c-line2);background:#fff;display:inline-flex;align-items:center;justify-content:center;color:var(--c-text2);}
.date-arrow:disabled{opacity:.3;}
.date-arrow:not(:disabled):active{background:var(--bl-primary-soft);border-color:var(--bl-primary);color:var(--bl-primary);}
.date-arrow svg{width:15px;height:15px;}
.date-arrow svg polyline{stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round;}

/* 세로만 구른다. 칸 너비를 맞춰 넘칠 일은 없앴지만, 1px 만 넘쳐도
   가로 스크롤바가 통째로 생기므로 아예 막는다.
   max-height 는 최소값이다 — 화면에 남는 만큼 booking.js 가 늘린다. */
.sched-scroll{max-height:300px;overflow-y:auto;overflow-x:hidden;margin:0 -2px;}
table.sched{width:100%;border-collapse:collapse;table-layout:fixed;}
.sched th{position:sticky;top:0;background:#fff;font-size:12px;color:var(--c-text3);font-weight:600;text-align:center;padding:0 2px 10px;border-bottom:1px solid var(--c-line2);}
.sched td{font-size:14px;text-align:center;padding:14px 2px;border-bottom:1px solid var(--c-line);}
.sched td.dep,.sched td.arr{font-weight:600;}
.sched td.svc{font-weight:700;color:var(--bl-primary);}
.sched td.seat{font-weight:600;color:var(--c-text2);}
.sched tr.sel td{background:var(--bl-primary-soft);}
.sched tr.dis td{opacity:.4;}
.btn-pick{height:30px;min-width:46px;padding:0 10px;border:1px solid var(--c-line2);border-radius:6px;font-size:13px;font-weight:600;color:var(--c-text2);background:#fff;}
.btn-pick.on{background:var(--bl-primary);border-color:var(--bl-primary);color:#fff;}
.btn-pick:disabled{background:var(--c-field-bg);color:#C7C9CE;border-style:dashed;}

/* 폼 */
.field{margin-top:16px;}
.field:first-child{margin-top:0;}
.field label{display:block;font-size:13.5px;font-weight:600;margin-bottom:7px;}
.field label .req{color:var(--bl-primary);margin-left:2px;}
.inp{width:100%;height:48px;border:1px solid var(--c-line2);border-radius:var(--radius);padding:0 14px;font-size:15px;background:#fff;color:var(--c-text);}
.inp::placeholder{color:#B9BBC0;}
.inp:focus{border-color:var(--bl-primary);}
.inp-row{display:flex;gap:8px;}
.inp-row .inp{flex:1;}
.btn-line{height:48px;padding:0 16px;border-radius:var(--radius);flex:none;border:1px solid var(--bl-primary);color:var(--bl-primary);font-weight:700;font-size:14px;background:#fff;}
.btn-line:active{background:var(--bl-primary-soft);}
.hint{font-size:12px;color:var(--c-text3);margin-top:7px;}
.hint.ok{color:var(--bl-primary);font-weight:600;}
.hint.no{color:var(--c-red);}

/* 제휴코드 토글 (살짝 더 눈에 띄게) */
.promo-toggle{display:flex;align-items:center;gap:7px;width:100%;font-size:14px;color:var(--bl-navy);font-weight:600;padding:11px 13px;border:1px solid var(--bl-primary);border-radius:var(--radius);background:#fff;}
.promo-toggle .cp{width:17px;height:17px;flex:none;}
.promo-toggle .cp path{stroke:var(--bl-primary);stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.promo-toggle .chev{width:16px;height:16px;margin-left:auto;transition:transform .2s;}
.promo-toggle.open .chev{transform:rotate(180deg);}
.promo-toggle .chev polyline{stroke:var(--bl-primary);stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.promo-wrap{margin-top:12px;}
.promo-wrap[hidden]{display:none;}

/* 약관 확인 (읽고 → '네, 확인했습니다') */
.term2{margin-top:18px;}
.term2:first-of-type{margin-top:4px;}
.term2-title{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700;margin-bottom:10px;}
.term2-title .num{width:22px;height:22px;border-radius:50%;background:var(--bl-primary);color:#fff;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center;flex:none;}
.term2-scroll{max-height:200px;overflow-y:auto;border:1px solid var(--c-line2);border-radius:var(--radius);background:var(--c-field-bg);-webkit-overflow-scrolling:touch;}
.term2-text{font-size:12.5px;color:var(--c-text2);line-height:1.75;white-space:pre-line;padding:14px;}
.confirm-btn{margin-top:10px;width:100%;height:48px;min-height:48px;max-height:48px;display:flex;align-items:center;justify-content:center;padding:0;line-height:1;box-sizing:border-box;border-radius:var(--radius);background:var(--bl-primary);color:#fff;font-size:15px;font-weight:700;}
.confirm-btn.done{background:var(--bl-primary-dark);color:#fff;}
.confirm-btn:disabled{background:#E1E2E5;color:#9A9CA1;}

/* 시간표 DB 로딩 */
.sched-loading{padding:42px 0;text-align:center;color:var(--c-text3);font-size:13px;}
.sched-loading .dotspin{display:inline-block;width:16px;height:16px;border:2px solid var(--c-line2);border-top-color:var(--bl-primary);border-radius:50%;vertical-align:-3px;margin-right:7px;animation:spin .7s linear infinite;}
@keyframes spin{to{transform:rotate(360deg);}}

/* 요약 */
.summary{background:var(--c-field-bg);border-radius:var(--radius-lg);padding:16px;}
.sm-row{display:flex;justify-content:space-between;gap:14px;font-size:13.5px;color:var(--c-text2);padding:5px 0;}
.sm-row .v{font-weight:600;color:var(--c-text);text-align:right;}
.sm-row.discount .v{color:var(--bl-primary);}
.sm-div{height:1px;background:var(--c-line);margin:10px 0;}
.sm-total{display:flex;justify-content:space-between;align-items:baseline;padding-top:2px;}
.sm-total .l{font-size:15px;font-weight:700;}
.sm-total .v{font-size:21px;font-weight:800;color:var(--bl-navy);}

/* 예약 내역 확인 — 컴팩트 */
.resv{background:var(--c-field-bg);border-radius:10px;padding:11px 14px;}
.resv-row{display:flex;justify-content:space-between;gap:12px;font-size:13px;padding:3.5px 0;}
.resv-row .l{color:var(--c-text3);font-weight:500;}
.resv-row .r{color:var(--c-text);font-weight:600;text-align:right;}
.resv-row.fee{margin-top:5px;padding-top:9px;border-top:1px solid var(--c-line);}
.resv-row.fee .l{color:var(--c-text2);font-weight:700;}
.resv-row.fee .r{color:var(--bl-navy);font-weight:800;font-size:15.5px;}

/* 토스 결제 */
.toss-box{background:var(--c-field-bg);border-radius:var(--radius-lg);padding:20px 16px;text-align:center;margin-top:4px;}
.toss-amt-l{font-size:13px;color:var(--c-text3);font-weight:600;}
.toss-amt{font-size:28px;font-weight:800;color:var(--bl-navy);margin:6px 0 14px;}
.toss-pill{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--c-line2);border-radius:30px;padding:10px 18px;font-size:14px;font-weight:700;color:var(--c-text);}
.toss-pill .b{background:#0064FF;color:#fff;font-size:11px;font-weight:800;border-radius:4px;padding:3px 6px;letter-spacing:0;}
.toss-note{font-size:12px;color:var(--c-text3);margin-top:14px;line-height:1.6;}

.minisum{font-size:12.5px;color:var(--c-text3);margin-top:14px;background:var(--c-field-bg);border-radius:8px;padding:11px 13px;line-height:1.6;}
.minisum b{color:var(--c-text);font-weight:600;}

/* 하단 CTA: 이전(1/3) · 다음(2/3) */
.cta-bar{position:fixed;left:0;right:0;bottom:0;z-index:40;max-width:460px;margin:0 auto;background:var(--c-white);border-top:1px solid var(--c-line);padding:10px 16px calc(10px + env(safe-area-inset-bottom));display:flex;gap:8px;}
.cta-prev{flex:1;height:52px;border-radius:var(--radius);border:1px solid var(--c-line2);background:#fff;color:var(--c-text2);font-size:16px;font-weight:700;}
.cta-prev:active{background:var(--c-field-bg);}
.cta-btn{flex:2;height:52px;border-radius:var(--radius);background:var(--bl-primary);color:#fff;font-size:16px;font-weight:700;}
.cta-btn:active{background:var(--bl-primary-dark);}
.cta-btn:disabled{background:#C7CBD2;}

.toast{position:fixed;left:50%;bottom:96px;transform:translateX(-50%) translateY(10px);background:rgba(20,28,45,.92);color:#fff;font-size:13.5px;font-weight:600;padding:11px 18px;border-radius:24px;z-index:60;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;white-space:nowrap;}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0);}

.done{text-align:center;}
.done .badge{width:76px;height:76px;border-radius:50%;background:var(--bl-primary-soft);display:flex;align-items:center;justify-content:center;margin:0 auto 20px;}
.done .badge svg{width:40px;height:40px;}
.done .badge svg polyline{stroke:var(--bl-primary);stroke-width:3;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.done h2{font-size:21px;font-weight:800;margin-bottom:8px;}
.done p{font-size:14px;color:var(--c-text3);line-height:1.6;}
/* 결제 뒤 실패·지연 결과 (2026-11-19) */
.done .badge.bad{background:#FDECEC;}
.done .badge.bad svg line{stroke:#E5484D;stroke-width:3;stroke-linecap:round;}
.done .badge.bad.wait{background:var(--bl-primary-soft);}
.done .badge.bad.wait svg line{stroke:var(--bl-primary);}
.done .rs-note{font-size:13px;margin-top:6px;}
.rs-btns{display:flex;gap:8px;margin-top:16px;padding:0 16px;}
.rs-btns .cta-btn,.rs-btns .btn-line{flex:1;height:52px;display:flex;align-items:center;justify-content:center;gap:6px;text-decoration:none;}
.rs-btns .btn-line svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;}

@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;}}

/* =========================================================================
   예약 확인 · 카톡 공유 (2026-09-28 기획 3차 안)
   색·모서리는 위의 :root 토큰을 쓴다. 새 색은 카카오 노랑(#FEE500) 하나뿐이고
   카카오톡 단추 두 곳에만 쓴다. 말풍선 바탕(#B2C7D9)은 공유 창 안에서만.
   ========================================================================= */

/* 1단계 달력 아래 · 완료화면 아래의 들어가는 곳 (제휴코드 토글보다 조용하게) */
.lk-entry{display:flex;align-items:center;gap:10px;width:100%;padding:16px 18px;background:var(--c-white);margin-top:8px;text-align:left;}
.lk-entry:active{background:var(--c-field-bg);}
a.lk-entry{text-decoration:none;color:inherit;}
.lk-entry .ic{width:36px;height:36px;border-radius:50%;background:var(--bl-primary-soft);display:flex;align-items:center;justify-content:center;flex:none;}
.lk-entry .ic svg{width:18px;height:18px;}
.lk-entry .ic svg path,.lk-entry .ic svg polyline{stroke:var(--bl-primary-dark);stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.lk-entry .tx{flex:1;min-width:0;}
.lk-entry .tx .t{display:block;font-size:14.5px;font-weight:700;color:var(--c-text);}
.lk-entry .tx .d{display:block;font-size:12.5px;color:var(--c-text3);margin-top:1px;}
.lk-entry .chev{width:18px;height:18px;flex:none;}
.lk-entry .chev polyline{stroke:var(--c-text3);stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;}

/* 조회 화면 머리 — 단계바(.steps) 자리에 같은 높이로 들어간다 */
.lk-head{background:var(--c-white);padding:14px 18px 16px;border-bottom:1px solid var(--c-line);display:none;}
.lk-head .t{font-size:15px;font-weight:700;}

/* 결과 목록 */
.lk-count{font-size:13px;color:var(--c-text3);margin-bottom:14px;}
.lk-count b{color:var(--c-text);font-weight:700;}
.lk-item{border:1px solid var(--c-line2);border-radius:var(--radius-lg);padding:16px;background:#fff;}
.lk-item + .lk-item{margin-top:12px;}
.lk-item.past{background:var(--c-field-bg);border-color:var(--c-line);}
.lk-item.past .resv{background:#fff;}
.lk-item.past .lk-svc,.lk-item.past .resv-row .r{color:var(--c-text3);}
.lk-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;}
.lk-no{font-size:12px;color:var(--c-text3);font-weight:500;letter-spacing:0;}
.lk-svc{font-size:17px;font-weight:700;margin-bottom:2px;}
.lk-when{font-size:14px;font-weight:600;color:var(--bl-navy);margin-bottom:12px;}
.lk-item.past .lk-when{color:var(--c-text3);}

/* 상태 표지 */
.lk-badge{display:inline-flex;align-items:center;height:24px;padding:0 9px;border-radius:12px;font-size:12px;font-weight:700;letter-spacing:0;}
.lk-badge.ok{background:var(--bl-primary-soft);color:var(--bl-navy);}
.lk-badge.used{background:var(--c-line);color:var(--c-text2);}
.lk-badge.cancel{background:#FDECEA;color:var(--c-red);}

/* 오시는 길 — 주소를 누르면 지도가 열린다 */
.lk-map{display:flex;align-items:center;gap:9px;margin-top:10px;padding:11px 12px;border-radius:var(--radius);background:var(--c-field-bg);text-decoration:none;color:var(--c-text);}
.lk-map:active{background:var(--c-line);}
.lk-map > svg:first-child{width:18px;height:18px;flex:none;}
.lk-map > svg:first-child path,.lk-map > svg:first-child circle{stroke:var(--bl-primary-dark);stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.lk-map .tx{flex:1;min-width:0;}
.lk-map .k{display:block;font-size:12px;color:var(--c-text3);font-weight:600;}
.lk-map .a{display:block;font-size:13.5px;font-weight:700;}
.lk-map .d{display:block;font-size:12.5px;color:var(--c-text2);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--c-line2);}
.lk-map .chev{width:16px;height:16px;flex:none;}
.lk-map .chev polyline{stroke:var(--c-text3);stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;}

/* 이전 예약 더보기 */
.lk-more{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;height:46px;margin-top:12px;border:1px solid var(--c-line2);border-radius:var(--radius);background:#fff;font-size:14px;font-weight:600;color:var(--c-text2);}
.lk-more:active{background:var(--c-field-bg);}
.lk-more svg{width:16px;height:16px;transition:transform .2s;}
.lk-more svg polyline{stroke:var(--c-text3);stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.lk-more.open svg{transform:rotate(180deg);}
.lk-past{margin-top:12px;}
.lk-past[hidden]{display:none;}

/* 카톡으로 공유 — 카드마다 하나 */
.lk-share{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;height:46px;margin-top:10px;border-radius:var(--radius);background:#FEE500;color:#191919;font-size:14.5px;font-weight:700;}
.lk-share:active{background:#EBD300;}
.lk-share svg{width:18px;height:18px;}
.lk-share svg path{fill:#191919;}

/* 취소·변경은 상담원에게 — 결과 목록 아래 */
.lk-help{background:var(--c-white);margin-top:8px;padding:18px;}
.lk-help .t{font-size:14.5px;font-weight:700;}
.lk-help .d{font-size:12.5px;color:var(--c-text3);margin:2px 0 12px;line-height:1.6;}
.lk-help .btn-line{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;height:46px;text-decoration:none;}
.lk-help .btn-line svg{width:16px;height:16px;}
.lk-help .btn-line svg path{stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.btn-line.gray{border-color:var(--c-line2);color:var(--c-text2);}

/* 못 찾았을 때 */
.lk-empty{text-align:center;padding:36px 0 8px;}
.lk-empty .badge{width:64px;height:64px;border-radius:50%;background:var(--c-field-bg);display:flex;align-items:center;justify-content:center;margin:0 auto 16px;}
.lk-empty .badge svg{width:30px;height:30px;}
.lk-empty .badge svg path,.lk-empty .badge svg line,.lk-empty .badge svg circle{stroke:var(--c-text3);stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.lk-empty h3{font-size:17px;font-weight:700;margin-bottom:6px;}
.lk-empty p{font-size:13px;color:var(--c-text3);line-height:1.65;}

/* 카톡 공유 미리보기 — 아래에서 올라오는 창 */
.lk-sheet{position:fixed;inset:0;z-index:70;max-width:460px;margin:0 auto;}
.lk-sheet[hidden]{display:none;}
.lk-sheet-dim{position:absolute;inset:0;background:rgba(20,28,45,.5);animation:fade .2s ease;}
.lk-sheet-box{position:absolute;left:0;right:0;bottom:0;background:var(--c-white);border-radius:16px 16px 0 0;padding:8px 18px calc(18px + env(safe-area-inset-bottom));animation:lk-up .22s ease;}
@keyframes lk-up{from{transform:translateY(24px);opacity:0;}to{transform:none;opacity:1;}}
.lk-sheet-head{display:flex;align-items:center;justify-content:space-between;height:48px;margin-right:-10px;}
.lk-sheet-head .t{font-size:17px;font-weight:700;}
.lk-sheet-sub{font-size:12.5px;color:var(--c-text3);margin-bottom:12px;}
/* 카카오톡 말풍선 흉내 — 받는 사람에게 보일 모양 */
.lk-talk{background:#B2C7D9;border-radius:var(--radius-lg);padding:14px;}
.lk-talk > *{background:#fff;padding-left:14px;padding-right:14px;max-width:280px;}
.lk-talk .tt{border-radius:12px 12px 0 0;padding-top:13px;font-size:14px;font-weight:700;}
.lk-talk .tw{font-size:12.5px;color:var(--c-text2);padding-top:3px;padding-bottom:9px;}
.lk-talk .tr{display:flex;gap:10px;font-size:13px;padding-top:3px;padding-bottom:3px;}
.lk-talk .tr span{flex:none;width:44px;color:var(--c-text3);}
.lk-talk .tr b{font-weight:600;}
.lk-talk .tp{font-size:12.5px;color:var(--c-text2);padding-top:9px;padding-bottom:12px;}
.lk-talk .tb{border-top:1px solid var(--c-line);border-radius:0 0 12px 12px;text-align:center;font-size:13px;font-weight:600;padding-top:10px;padding-bottom:10px;}
.lk-kakao{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:52px;margin-top:14px;border-radius:var(--radius);background:#FEE500;color:#191919;font-size:16px;font-weight:700;}
.lk-kakao:active{background:#EBD300;}
.lk-kakao svg{width:20px;height:20px;}
.lk-kakao svg path{fill:#191919;}
.lk-copy{display:block;width:100%;margin-top:8px;}
/* =========================================================================
   ★NEW — 2026-10-03 UX 개선. booking.css 맨 아래에 그대로 붙이면 된다.
   색은 booking.css 의 :root 토큰만 쓴다. 새 색 없음.
   ========================================================================= */

/* ★7 : 누르는 곳은 44px 이상 (휴대폰 엄지 기준) */
.stepper{gap:10px;}
.stepper button{width:44px;height:44px;}
.stepper svg{width:17px;height:17px;}
.date-arrow{width:44px;height:44px;}
.date-arrow svg{width:17px;height:17px;}
.cal-head button{width:44px;height:44px;}
.cal-cell{min-height:52px;cursor:pointer;}
.cal-cell.off-day{cursor:default;}
.cal-day{width:44px;height:44px;}
.btn-pick{height:40px;min-width:52px;}
.sched td{padding:12px 2px;}

/* ★2 : 시간표의 1인 요금 */
.sched td.svc small.price{display:block;margin-top:2px;font-size:11.5px;font-weight:600;color:var(--c-text2);letter-spacing:-0.03em;}

/* ★9 : 잔여좌석 5석 이하 */
.sched td.seat.low{color:var(--c-red);font-weight:700;}

/* ★16 : 시간표 아래 「더 보기」 띠 — 목록 안에 붙어 바닥에 머문다. 끝까지 내리면 js 가 숨긴다 */
.sched-scroll{position:relative;}
.sched-more{position:sticky;bottom:0;display:flex;align-items:center;justify-content:center;gap:4px;height:44px;margin-top:-44px;background:linear-gradient(to bottom,rgba(255,255,255,0),#fff 55%);font-size:12.5px;font-weight:600;color:var(--c-text3);pointer-events:none;}
.sched-more svg{width:16px;height:16px;animation:sched-nudge 1.4s ease-in-out infinite;}
.sched-more svg polyline{stroke:var(--bl-primary-dark);stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.sched-more[hidden]{display:none;}
@keyframes sched-nudge{0%,100%{transform:translateY(0);}50%{transform:translateY(3px);}}

/* ★5 : 약관 아코디언 — 접힌 약관은 제목만, 확인한 약관은 제목에 표시 */
.term2-title{cursor:pointer;user-select:none;}
.term2-title::after{content:"";margin-left:auto;width:16px;height:16px;flex:none;background:no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238E8E93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");transition:transform .2s;}
.term2:not(.fold) .term2-title::after{transform:rotate(180deg);}
.term2.fold .term2-scroll,.term2.fold .confirm-btn{display:none;}
.term2.fold{margin-top:12px;}
.term2.fold .term2-title{margin-bottom:0;}
.term2.ok .term2-title .num{background:var(--bl-primary-dark);}
.term2.ok .term2-title{color:var(--c-text2);}
.term2.ok .term2-title .num::before{content:"✓";font-size:12px;}
.term2.ok .term2-title .num{font-size:0;}

/* ★15 : 2단계 선택 인원 요약 — 더 잘 보이게 */
.minisum{font-size:14px;color:var(--c-text2);background:var(--bl-primary-soft);padding:12px 14px;}
.minisum b{color:var(--bl-navy);font-weight:700;}

/* ★6 : 금액이 들어가면 단추 글자가 길어진다 — 한 줄에 맞춘다 */
.cta-btn{font-size:15.5px;letter-spacing:-0.02em;white-space:nowrap;padding:0 8px;}

/* ★12 : 긴 알림은 두 줄까지 */
/*
 * 긴 안내가 화면 반폭에서 접히던 것(`left:50%` 라 쓸 수 있는 폭이 반이었다)과, 넓은 화면에서
 * 460px 기둥 밖까지 퍼지던 것을 함께 고친다 — 양쪽을 0 으로 두고 가운데 정렬, 폭은 기둥 안으로.
 */
.toast{white-space:normal;left:0;right:0;margin:0 auto;width:fit-content;max-width:min(412px, calc(100% - 48px));text-align:center;line-height:1.45;transform:translateY(10px);}
.toast.show{transform:translateY(0);}

/* ── 언어 선택 (2026-11-05) — 머리줄 지구본 단추 + 아래 창(카톡 공유와 같은 .lk-sheet) ── */
/* 단추가 하나 늘었다 — 업체 이름이 길면 이름 쪽이 줄어든다 */
.brand{min-width:0;}
.brand-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.appbar-actions{flex:none;}
.lang-btn{height:32px;display:flex;align-items:center;gap:4px;padding:0 9px 0 7px;margin:0 2px 0 6px;border:1px solid var(--c-line2);border-radius:16px;background:var(--c-white);font-size:13px;font-weight:700;color:var(--c-text);white-space:nowrap;}
.lang-btn:active{background:var(--c-field-bg);}
.lang-btn svg{width:18px;height:18px;}
.lang-btn svg circle,.lang-btn svg ellipse,.lang-btn svg line{stroke:var(--c-text2);stroke-width:1.7;fill:none;}
.lang-list{display:flex;flex-direction:column;gap:4px;}
.lang-item{display:flex;align-items:center;gap:14px;min-height:56px;padding:8px 12px;border-radius:10px;text-decoration:none;color:var(--c-text);}
.lang-item:active{background:var(--c-field-bg);}
.lang-item img{width:28px;height:28px;border-radius:50%;box-shadow:0 0 0 1px rgba(30,30,32,.12);flex:none;}
.lang-item .nm{flex:1;min-width:0;display:flex;flex-direction:column;}
.lang-item .nm b{font-size:16px;font-weight:600;}
.lang-item .nm small{font-size:12.5px;color:var(--c-text3);}
.lang-item.on{background:var(--bl-primary-soft);}
.lang-item.on .nm b{font-weight:700;color:var(--bl-navy);}
.lang-item .ck{width:22px;height:22px;flex:none;}
.lang-item .ck polyline{stroke:var(--bl-primary-dark);stroke-width:2.2;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.lang-note{display:flex;gap:8px;align-items:flex-start;margin-top:14px;padding:10px 12px;border-radius:8px;background:var(--c-field-bg);font-size:12.5px;line-height:1.5;color:var(--c-text2);}
.lang-note svg{width:16px;height:16px;flex:none;margin-top:1px;}
.lang-note svg circle,.lang-note svg line{stroke:var(--c-text3);stroke-width:1.8;fill:none;stroke-linecap:round;}

/* =========================================================================
   예약 취소 (2026-11-17) — 홈페이지에서 결제한 예약을 손님이 직접 취소한다
   ② 환불 안내(.cx-rule·.cx-amount) → ③ 본인 인증(.cx-code) → ④ 완료(.done 을 그대로 쓴다)
   ========================================================================= */
.lk-head .d{font-size:12.5px;color:var(--c-text3);margin-top:2px;}
.lk-head .d[hidden]{display:none;}

/* 예약 카드 — 「예약 취소」와 변경·상담원 안내 */
.lk-cancel{display:flex;align-items:center;justify-content:center;width:100%;height:46px;margin-top:10px;border:1px solid var(--c-line2);border-radius:var(--radius);background:#fff;color:var(--c-red);font-size:14.5px;font-weight:700;}
.lk-cancel:active{background:#FDECEA;}
.lk-note{margin-top:8px;font-size:12px;color:var(--c-text3);text-align:center;line-height:1.55;}
.lk-group{margin:22px 0 10px;font-size:13px;font-weight:700;color:var(--c-text2);}

/* ② 업체 환불 규정 — 오늘 줄을 짚는다 */
.cx-t{margin:18px 0 8px;font-size:14px;font-weight:700;}
.cx-rule{border:1px solid var(--c-line2);border-radius:10px;}
.cx-rr{display:flex;justify-content:space-between;gap:12px;padding:9px 14px;font-size:13px;border-top:1px solid var(--c-line);}
.cx-rr:first-child{border-top:none;border-radius:10px 10px 0 0;}
.cx-rr:last-child{border-radius:0 0 10px 10px;}
.cx-rr .l{color:var(--c-text2);}
.cx-rr .p{font-weight:700;color:var(--c-text);}
.cx-rr.zero .p{color:var(--c-red);}
.cx-rr.after .p{color:var(--c-text3);font-weight:600;}
.cx-rr.now{background:var(--bl-primary-soft);}
.cx-rr.now .l,.cx-rr.now .p{color:var(--bl-navy);font-weight:800;}
.cx-rr.now.zero .p{color:var(--c-red);}
.cx-today{display:inline-block;margin-left:6px;padding:0 7px;border-radius:8px;background:var(--bl-navy);color:#fff;font-size:11px;font-weight:700;line-height:18px;vertical-align:1px;}
.cx-amount{margin-top:14px;background:#fff;border:1px solid var(--c-line2);}
.cx-amount .resv-row .r.minus{color:var(--c-red);}
.cx-call{margin-top:12px;padding:12px 14px;border-radius:10px;background:var(--c-field-bg);font-size:12.5px;color:var(--c-text2);line-height:1.6;}
.cx-call b{color:var(--c-text);}
.cx-call.red{background:#FDECEA;color:#B3261E;}
.cx-call.red b{color:#B3261E;}

/* ③ 본인 인증 */
.cx-sent{font-size:13px;color:var(--c-text3);}
.cx-to{font-size:16px;font-weight:700;margin-top:2px;letter-spacing:0;word-break:break-all;}
.cx-code{position:relative;margin-top:16px;}
.cx-code .inp{font-size:20px;font-weight:700;letter-spacing:.3em;padding-right:72px;}
.cx-code .inp::placeholder{font-size:15px;font-weight:400;letter-spacing:0;}
.cx-code .tm{position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:14px;font-weight:700;color:var(--c-red);letter-spacing:0;}
.cx-resend{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:8px;font-size:12px;color:var(--c-text3);}
.cx-resend button{flex:none;font-size:12.5px;font-weight:700;color:var(--c-text2);text-decoration:underline;text-underline-offset:3px;}
.cx-resend button:disabled{color:var(--c-text3);text-decoration:none;cursor:default;}
.cx-agree{display:flex;gap:10px;align-items:flex-start;margin-top:18px;font-size:13.5px;line-height:1.55;cursor:pointer;}
.cx-agree input{width:20px;height:20px;accent-color:var(--c-red);flex:none;margin-top:1px;}

/* 되돌릴 수 없는 단추 */
.cta-btn.red{background:var(--c-red);}
.cta-btn.red:active{background:#C93A30;}
.cta-btn.red:disabled{background:#C7CBD2;}

/* 더베이 홈페이지 결제 — 예약 취소 단추(기존 토큰만 사용) */
.lk-cancel{display:block;width:100%;height:44px;margin-top:8px;}
