/* ==========================================================================
   예약 신청 페이지 (reserve.html) — style.css 의 색·버튼·입력칸 위에 얹는 전용 스타일
   네이버 예약처럼 위에서 아래로 한 단계씩: 날짜 → 시간 → 인원 → 코치 레벨 → 예약자 정보
   휴대폰은 한 줄, 1024px 이상은 오른쪽에 '예약 내용 확인'이 따라다닌다.
   ========================================================================== */
:root { --top-h: 56px; --rw: 1120px; --sun: #C62D33; }

.rwrap { width: 100%; max-width: calc(var(--rw) + var(--g) * 2); margin-inline: auto; padding-inline: var(--g); }
.rtop :focus-visible, .rhead :focus-visible { outline-color: var(--white); }

/* ---------- 상단 바 ---------- */
.rtop {
  position: sticky; top: 0; z-index: 40;
  padding-top: var(--safe-t);
  background: rgba(7, 13, 42, .94); color: var(--white);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
.rtop__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 8px; min-height: var(--top-h); }
.rtop__back {
  justify-self: start; display: inline-flex; align-items: center; gap: 2px; min-width: 44px; min-height: 44px; padding-right: 8px;
  color: var(--white); text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3;
}
.rtop__back svg { width: 22px; height: 22px; margin-left: -4px; flex: none; }
.rtop__back:hover span { text-decoration: underline; text-underline-offset: .2em; }
.rtop__brand { grid-area: auto; justify-self: center; }
.rtop__brand .brand__mark { width: 28px; height: 28px; }
.rtop__brand .brand__txt b { font-size: 15px; }
.rtop__brand .brand__txt small { font-size: 10.5px; }
.rtop__chat {
  justify-self: end; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px 0 10px;
  border: 0; border-radius: 999px; background: #FEE500; color: #191919;
  font-size: 13px; font-weight: 800; letter-spacing: -0.01em; line-height: 1; white-space: nowrap;
  transition: background-color .2s, transform .18s;
}
.rtop__chat svg { width: 17px; height: 16px; flex: none; }
.rtop__chat:hover { background: #F5DC00; }
.rtop__chat:active { transform: scale(.96); }
.rtop__chat:focus-visible { outline-color: #FEE500; }
@media (max-width: 399px) {
  .rtop__back span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- 머리말: 사진 띠 ---------- */
.rhead { position: relative; overflow: hidden; background: var(--ink); color: var(--white); padding: 30px 0 84px; isolation: isolate; }
.rhead__bg { position: absolute; inset: 0; z-index: -1; }
.rhead__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.rhead::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 13, 42, .9) 0%, rgba(7, 13, 42, .62) 55%, rgba(7, 13, 42, .25) 100%),
    linear-gradient(180deg, rgba(7, 13, 42, 0) 40%, rgba(7, 13, 42, .55) 100%);
}
.rhead__kicker { font-size: 13px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; color: var(--flare); }
.rhead__h { margin-top: 8px; font-size: clamp(30px, 8vw, 46px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.15; }
.rhead__lede { margin-top: 10px; max-width: 26em; font-size: 15px; line-height: 1.6; letter-spacing: -0.015em; color: rgba(255, 255, 255, .86); text-wrap: pretty; }
.rflow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.rflow li {
  display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 12px 0 5px; border-radius: 999px;
  background: rgba(255, 255, 255, .13); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 12.5px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; white-space: nowrap;
}
.rflow b {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--flare); color: var(--ink);
  font-family: var(--f-disp); font-style: italic; font-weight: 900; font-size: 14px; line-height: 1;
}
.rnojs { position: relative; z-index: 2; max-width: 40em; margin: 20px auto 80px; padding: 16px var(--g); font-size: 15px; font-weight: 700; line-height: 1.6; }

/* ---------- 본문: 단계 카드 + 예약 내용 ---------- */
.rsv { position: relative; z-index: 1; display: grid; gap: 12px; margin-top: -56px; padding-bottom: calc(108px + var(--safe-b)); }
.rsv__steps { display: grid; gap: 12px; min-width: 0; }
@media (max-width: 639px) {
  .rsv { padding-inline: 12px; }
}

.step, .rsum {
  min-width: 0; padding: 22px 18px; border-radius: 24px; background: var(--white);
  box-shadow: 0 1px 2px rgba(7, 13, 42, .05), 0 22px 44px -34px rgba(7, 13, 42, .5);
  transition: box-shadow .2s;
}
.step.is-err { box-shadow: inset 0 0 0 2px var(--err), 0 22px 44px -34px rgba(7, 13, 42, .5); }
.step__head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; min-height: 30px; }
.step__no {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--cobalt-ice); color: var(--cobalt-2); transition: background-color .25s, color .25s;
}
.step__no i { font-family: var(--f-disp); font-style: italic; font-weight: 900; font-size: 18px; line-height: 1; margin-right: 1px; }
.step__no svg { display: none; width: 18px; height: 18px; }
.step.is-done .step__no { background: var(--cobalt); color: var(--white); }
.step.is-done .step__no i { display: none; }
.step.is-done .step__no svg { display: block; animation: pop .35s var(--ease-out); }
.step__h { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.4; white-space: nowrap; }
.step__val {
  margin-left: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 13.5px; font-weight: 700; color: var(--cobalt-2); letter-spacing: -0.01em; line-height: 1.3;
}
.step__hint { margin-top: 12px; font-size: 13px; line-height: 1.5; letter-spacing: -0.01em; color: var(--ink-soft); text-wrap: pretty; }
.step__note { display: flex; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 600; line-height: 1.5; letter-spacing: -0.01em; color: var(--ink-2); }
.step__note::before { content: "!"; flex: none; display: grid; place-items: center; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: var(--flare); color: var(--white); font-size: 11px; font-weight: 900; line-height: 1; }
.step__note[hidden] { display: none; }
.step__err { margin: -6px 0 14px; font-size: 13px; font-weight: 700; line-height: 1.5; letter-spacing: -0.01em; color: #D92D2D; }
.step__err:empty { display: none; }
/* 스크립트가 넣는 두 문장짜리 안내(오류·전송 실패·완료 문구)는 문장마다 줄을 바꾼다 */
.step__err, .rsv .field__err, .rfail, .rhead__lede { white-space: pre-line; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* ---------- 1. 달력 ---------- */
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.cal__title { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; font-variant-numeric: tabular-nums; }
.cal__nav {
  display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--snow); color: var(--ink); transition: background-color .2s, opacity .2s;
}
.cal__nav svg { width: 18px; height: 18px; }
.cal__nav:hover:not([aria-disabled="true"]) { background: var(--cobalt-ice); }
.cal__nav[aria-disabled="true"] { opacity: .3; cursor: default; }
.cal__nav:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.cal__grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cal__grid th { padding: 8px 0 6px; font-size: 12.5px; font-weight: 700; line-height: 1.3; color: var(--ink-soft); }
.cal__grid th.is-sun { color: var(--sun); }
.cal__grid th.is-sat { color: var(--cobalt); }
.cal__grid td { padding: 2px 0; text-align: center; }
.cal__day {
  position: relative; display: inline-grid; place-items: center; align-content: center; gap: 1px;
  width: 44px; height: 44px; max-width: 100%; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--ink); cursor: pointer;
  font-size: 15.5px; font-weight: 700; letter-spacing: 0; line-height: 1; font-variant-numeric: tabular-nums;
  transition: background-color .15s, color .15s, box-shadow .15s;
}
.cal__day small { font-size: 9.5px; font-weight: 800; line-height: 1; color: #B93A0B; letter-spacing: 0; }
.cal__day.is-sun { color: var(--sun); }
.cal__day.is-sat { color: var(--cobalt); }
.cal__day:hover:not(:disabled) { background: var(--cobalt-ice); }
.cal__day:disabled { color: rgba(7, 13, 42, .22); cursor: default; }
.cal__day:disabled small { color: inherit; }
.cal__day[aria-pressed="true"] { background: var(--cobalt); color: var(--white); box-shadow: 0 8px 18px -8px rgba(22, 64, 240, .85); }
.cal__day[aria-pressed="true"] small { color: var(--white); }
.cal__day:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; }

/* ---------- 2. 시간 ---------- */
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin-bottom: 18px; border-radius: 999px; background: var(--snow); box-shadow: inset 0 0 0 1px var(--line); }
.seg__opt { position: relative; display: flex; }
.seg__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg__opt span {
  flex: 1; display: grid; place-items: center; min-height: 44px; border-radius: 999px;
  font-size: 14.5px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: var(--ink-soft);
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.seg__opt:hover span { color: var(--ink); }
.seg__opt input:checked + span { background: var(--ink); color: var(--white); box-shadow: 0 8px 16px -10px rgba(7, 13, 42, .7); }
.seg__opt input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 2px; }

.tgroup__h { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 12.5px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; color: var(--ink-soft); }
.tgroup__h::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--flare); }
.tgrid + .tgroup__h { margin-top: 16px; }
.tgrid + .tgroup__h::before { background: var(--cobalt); }
.tgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tslot {
  position: relative; display: grid; gap: 4px; align-content: center; min-height: 64px; padding: 10px 36px 10px 14px;
  border-radius: 14px; background: var(--snow); color: var(--ink); cursor: pointer;
  box-shadow: inset 0 0 0 1.5px transparent; transition: background-color .18s, color .18s, box-shadow .18s;
}
.tslot input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.tslot b { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.tslot span { font-size: 13px; font-weight: 600; letter-spacing: 0; line-height: 1.2; color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tslot::after {
  content: ""; position: absolute; top: 50%; right: 12px; width: 20px; height: 20px; margin-top: -10px; border-radius: 6px;
  background: var(--white) center / 14px 14px no-repeat; box-shadow: inset 0 0 0 1.5px #7A82A0;
}
.tslot:hover { box-shadow: inset 0 0 0 1.5px rgba(7, 13, 42, .18); }
.tslot.is-on { background: var(--ink); color: var(--white); }
.tslot.is-on span { color: rgba(255, 255, 255, .72); }
.tslot.is-on::after {
  background-color: var(--flare); box-shadow: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 10.5 3.2 3.2L15 7' fill='none' stroke='%23070D2A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.tslot:focus-within { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.tslot:has(input:focus:not(:focus-visible)) { outline: none; }
.tgroup[hidden] { display: none; }

/* ---------- 3. 인원 ---------- */
.pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pick__opt, .lvopt { position: relative; border-radius: 16px; background: var(--snow); color: var(--ink); cursor: pointer; box-shadow: inset 0 0 0 1.5px transparent; transition: background-color .18s, box-shadow .18s; }
.pick__opt input, .lvopt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pick__opt::after, .lvopt::before {
  content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%;
  background: var(--white); box-shadow: inset 0 0 0 1.5px #7A82A0; transition: background .18s, box-shadow .18s;
}
.pick__opt:hover, .lvopt:hover { box-shadow: inset 0 0 0 1.5px rgba(7, 13, 42, .18); }
.pick__opt.is-on, .lvopt.is-on { background: var(--white); box-shadow: inset 0 0 0 2px var(--ink), 0 12px 26px -20px rgba(7, 13, 42, .7); }
.pick__opt.is-on::after, .lvopt.is-on::before { background: radial-gradient(circle, var(--white) 0 3.5px, var(--ink) 4px); box-shadow: none; }
.pick__opt:focus-within, .lvopt:focus-within { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.pick__opt:has(input:focus:not(:focus-visible)), .lvopt:has(input:focus:not(:focus-visible)) { outline: none; }

.pick__opt { display: grid; gap: 4px; align-content: center; min-height: 78px; padding: 14px 40px 14px 16px; }
.pick__opt::after { top: 14px; right: 14px; }
.pick__opt b { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }
.pick__opt.is-on b { color: var(--cobalt); }
.pick__opt span { font-size: 12.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; color: var(--ink-soft); }

/* ---------- 4. 코치 레벨 ---------- */
.lvpick { display: grid; gap: 8px; }
.lvopt { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; padding: 14px 16px 14px 48px; }
.lvopt::before { left: 16px; top: 50%; margin-top: -10px; }
.lvopt__tag { display: grid; gap: 5px; min-width: 0; }
.lvopt__tag b { font-family: var(--f-disp); font-style: italic; font-weight: 900; font-size: 24px; line-height: .82; letter-spacing: -0.01em; }
.lvopt__tag em { font-style: normal; font-size: 16.5px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }
.lvopt__tag small { font-size: 12px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; color: var(--ink-soft); }
.lvopt.is-on .lvopt__tag b, .lvopt.is-on .lvopt__tag em { color: var(--cobalt); }
.lvopt__price { flex: none; display: grid; justify-items: end; text-align: right; font-size: 13.5px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.lvopt__price:empty { display: none; }
.lvopt__price b { font-family: var(--f-disp); font-style: italic; font-weight: 900; font-size: 28px; line-height: .82; letter-spacing: 0; margin-right: 1px; font-variant-numeric: tabular-nums; }
.lvopt__price small { margin-top: 5px; font-size: 12px; font-weight: 600; color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lvopt__ask { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; font-weight: 800; color: var(--ink-2); white-space: nowrap; }
.lvopt.is-on .lvopt__ask { background: var(--ink); color: var(--white); box-shadow: none; }
.lvopt__tick { animation: tick .45s var(--ease-out); }

.lvguide { margin-top: 12px; }
.lvguide summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px 0 10px; border-radius: 999px;
  background: var(--cobalt-ice); color: var(--cobalt-2); cursor: pointer; list-style: none;
  font-size: 13px; font-weight: 800; letter-spacing: -0.01em; line-height: 1;
}
.lvguide summary::-webkit-details-marker { display: none; }
.lvguide summary::after {
  content: ""; width: 8px; height: 8px; margin: -3px 0 0 2px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s;
}
.lvguide[open] summary::after { margin-top: 4px; transform: rotate(-135deg); }
.lvguide summary:hover { background: #CBD7FF; }
.lvguide summary:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.lvguide ul { display: grid; gap: 10px; margin-top: 10px; padding: 14px 16px; border-radius: 14px; background: var(--snow); }
.lvguide li { display: grid; gap: 2px; }
.lvguide li b { font-size: 13.5px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.4; }
.lvguide li span { font-size: 13px; line-height: 1.5; letter-spacing: -0.01em; color: var(--ink-2); }

/* ---------- 5. 예약자 정보 ---------- */
.rfields { display: grid; gap: 14px; }
@media (min-width: 640px) {
  .rfields { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ---------- 예약 내용 확인 ---------- */
.rsum__h { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.4; }
.rsum__list { margin-top: 10px; }
.rsum__list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.rsum__list > div:first-child { border-top: 0; }
.rsum__list dt { flex: none; font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.45; color: var(--ink-soft); }
.rsum__list dd { margin: 0; min-width: 0; text-align: right; font-size: 14px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.45; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.rsum__list dd.is-empty { color: #666E8C; font-weight: 600; }
.rsum__total { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-top: 2px; padding-top: 14px; border-top: 2px solid var(--ink); }
.rsum__total > span { font-size: 14px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.6; }
.rsum__total p { display: grid; justify-items: end; text-align: right; }
.rsum__total b { font-family: var(--f-disp); font-style: italic; font-weight: 900; font-size: 34px; line-height: .9; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.rsum__total small { margin-top: 6px; font-size: 12.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.rsum__total small:empty { display: none; }
.rsum__total b .u, .rbar__sum b .u { margin-left: 2px; font-family: var(--f-ko); font-style: normal; font-weight: 800; font-size: 15px; letter-spacing: 0; }
.rbar__sum b .u { font-size: 13px; }
.is-text { font-family: var(--f-ko) !important; font-style: normal !important; font-weight: 800 !important; letter-spacing: -0.02em !important; }
.rsum__total b.is-text { font-size: 17px; line-height: 1.6; }
.rsum__note { margin-top: 12px; font-size: 12.5px; line-height: 1.55; letter-spacing: -0.01em; color: var(--ink-soft); text-wrap: pretty; }
.ragree .agree__more summary { min-height: 40px; }
.ragree { display: grid; gap: 2px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.ragree .field__err { margin-top: 2px; }
.rsum__confirm { margin-top: 10px; font-size: 12.5px; line-height: 1.5; letter-spacing: -0.01em; color: var(--ink-soft); text-wrap: pretty; }
.rfail { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #FFF0EE; color: #B42318; font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.5; }

/* 휴대폰: 화면 아래 고정 바(예상 요금 + 신청 버튼) */
.rbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; gap: 14px;
  padding: 10px max(var(--g), 16px) calc(10px + var(--safe-b));
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 -1px 0 var(--line), 0 -18px 36px -26px rgba(7, 13, 42, .45);
}
.rbar__sum { display: grid; gap: 3px; min-width: 0; flex: none; }
.rbar__sum span { font-size: 11.5px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; color: var(--ink-soft); }
.rbar__sum b { font-family: var(--f-disp); font-style: italic; font-weight: 900; font-size: 25px; line-height: .9; letter-spacing: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rbar__sum b.is-text { font-size: 15px; line-height: 1.3; }
.rbar__btn { flex: 1; min-width: 0; }

/* ---------- 완료 ---------- */
.rdone { position: relative; z-index: 1; margin-top: -56px; padding-bottom: 88px; }
.rdone:focus { outline: none; }
.rdone__card {
  max-width: 560px; margin: 0 auto; padding: 36px 22px 28px; border-radius: 28px; background: var(--white); text-align: center;
  box-shadow: 0 1px 2px rgba(7, 13, 42, .05), 0 30px 60px -40px rgba(7, 13, 42, .6);
}
.rdone__ok { width: 64px; height: 64px; margin: 0 auto; animation: pop .5s var(--ease-out); }
.rdone__h { margin-top: 16px; font-size: 24px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.35; text-wrap: balance; }
.rdone__p { margin: 10px auto 0; max-width: 26em; font-size: 15px; line-height: 1.6; letter-spacing: -0.015em; color: var(--ink-2); text-wrap: pretty; }
.rdone__list dd { white-space: pre-line; }
.rdone__list { margin-top: 22px; padding: 4px 16px; border-radius: 16px; background: var(--snow); text-align: left; }
.rdone__note { margin-top: 16px; font-size: 13px; line-height: 1.5; letter-spacing: -0.01em; color: var(--ink-soft); }
.rdone__cta { display: grid; gap: 8px; margin-top: 18px; }
.btn--kakao { background: #FEE500; color: #191919; }
.btn--kakao:hover { background: #F5DC00; }
.btn--kakao svg { width: 20px; height: 19px; }
.btn--kakao:hover svg { transform: none; }
.btn--line { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(7, 13, 42, .2); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
@media (min-width: 560px) {
  .rdone__cta { grid-template-columns: 1fr 1fr; }
  .rdone__card { padding: 44px 40px 34px; }
}

.rfoot { padding-bottom: calc(104px + var(--safe-b)); }
.rsv-page.is-done .rfoot { padding-bottom: calc(48px + var(--safe-b)); }

/* ---------- 작은 휴대폰 (320px 등) ---------- */
@media (max-width: 359px) {
  .tslot { padding-left: 10px; padding-right: 32px; }
  .tslot::after { right: 8px; }
  .lvopt { gap: 8px; padding-left: 42px; padding-right: 12px; }
  .lvopt::before { left: 12px; }
  .lvopt__tag b { white-space: nowrap; }
}
@media (max-width: 299px) {
  .rtop__brand .brand__txt small { display: none; }
  .rtop__chat span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- 넓은 휴대폰·태블릿 ---------- */
@media (min-width: 640px) {
  .tgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pick { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .step, .rsum { padding: 26px 26px; }
  .cal__day { width: 48px; height: 48px; font-size: 16px; }
  .rhead { padding: 44px 0 96px; }
  .rsv, .rdone { margin-top: -64px; }
}

/* ---------- PC: 왼쪽 단계, 오른쪽 예약 내용 ---------- */
@media (min-width: 1024px) {
  :root { --top-h: 64px; }
  .rtop__brand .brand__mark { width: 30px; height: 30px; }
  .rtop__brand .brand__txt b { font-size: 16px; }
  .rtop__brand .brand__txt small { font-size: 11px; }
  .rtop__chat { min-height: 40px; padding: 0 14px 0 12px; font-size: 13.5px; }
  .rhead { padding: 60px 0 116px; }
  .rhead__lede { font-size: 16px; }
  .rsv { grid-template-columns: minmax(0, 1fr) 372px; align-items: start; gap: 20px; margin-top: -72px; padding-bottom: 96px; }
  .rdone { margin-top: -72px; }
  .step { padding: 30px 32px; }
  .step__h { font-size: 19px; }
  .rsum { position: sticky; top: calc(var(--top-h) + var(--safe-t) + 20px); padding: 26px 24px 22px; max-height: calc(100vh - var(--top-h) - var(--safe-t) - 40px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
  .rbar { position: static; display: block; margin-top: 16px; padding: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .rbar__sum { display: none; }
  .rbar__btn { width: 100%; }
  .rsum__confirm { text-align: center; }
  .rfoot, .rsv-page.is-done .rfoot { padding-bottom: 56px; }
}
/* 1024–1099px: 오른쪽 요약 때문에 단계 칸이 좁아 시간·인원 칩은 두 줄씩 */
@media (min-width: 1024px) and (max-width: 1099px) {
  .tgrid, .pick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) and (max-height: 760px) {
  .rsum { padding: 20px 22px 18px; }
  .rsum__list > div { padding: 8px 0; }
  .rsum__note { margin-top: 8px; font-size: 12px; }
}
