/* 새달 · 신혼여행 앱 — 디자인 토큰과 컴포넌트
   색: 밤(잉크) · 달무리(바탕) · 꿀(겹침/행동) · 두 사람의 달(저녁 보라 · 라군 청록)
   글꼴: 함렛(제목) · Wanted Sans(UI) · Fraunces(숫자) — 모두 OFL */

:root {
  --night: #1b2150;
  --night-2: #2a3170;
  --halo: #eceef8;
  --halo-2: #dfe2f2;
  --paper: #fbfbfe;
  --ink-2: #4a5080;
  --ink-3: #6a709c;
  --line: rgba(27, 33, 80, .12);
  --line-strong: rgba(27, 33, 80, .24);

  --honey: #f5b73a;
  --honey-soft: #fde7b4;
  --honey-ink: #8a5600;
  --dusk: #6f66e8;
  --dusk-ink: #4b43c4;
  --lagoon: #25b3a5;
  --lagoon-ink: #0d786d;
  --alert: #d4543f;
  --alert-soft: #fbe3de;

  --f-display: "Hahmlet", "Wanted Sans", serif;
  --f-ui: "Wanted Sans", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  --f-num: "Fraunces", "Hahmlet", serif;

  --tab-h: 84px;
  --sb-h: 0px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  font-family: var(--f-ui);
  color: var(--night);
  background: #d6d9ec;
  font-size: 15px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; }
input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
:focus-visible { outline: 2.5px solid var(--dusk); outline-offset: 2px; border-radius: 6px; }

/* ── 무대와 기기 ─────────────────────────────── */
.stage { min-height: 100%; display: grid; place-items: center; padding: 24px; }
.device {
  position: relative; width: 390px; height: 844px; overflow: hidden;
  background: var(--halo); border-radius: 54px;
  box-shadow: 0 0 0 11px #12163a, 0 0 0 12px #3a4086, 0 50px 90px -20px rgba(27, 33, 80, .55);
}
.app { position: absolute; inset: 0; }
body.is-bare { background: var(--halo); }
body.is-bare .stage { padding: 0; display: block; }
body.is-bare .device { width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; box-shadow: none; }
@media (max-width: 600px) {
  body { background: var(--halo); }
  .stage { padding: 0; display: block; }
  .device { width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; box-shadow: none; }
}
body.has-sb { --sb-h: 47px; }
.statusbar {
  position: absolute; z-index: 60; top: 0; left: 0; right: 0; height: 47px; display: none;
  align-items: flex-end; justify-content: space-between; padding: 0 30px 6px 34px;
  font: 600 15px/1 var(--f-ui); color: var(--night); pointer-events: none; transition: color .2s;
}
body.has-sb .statusbar { display: flex; }
.app[data-tone="dark"] .statusbar { color: #fff; }
.app.is-scrolled .statusbar { color: var(--night); background: linear-gradient(180deg, var(--halo) 80%, rgba(236, 238, 248, 0)); }
.statusbar__r { display: flex; gap: 6px; align-items: center; }
.statusbar__bat { width: 25px; height: 12px; border: 1.5px solid currentColor; border-radius: 4px; position: relative; opacity: .9; }
.statusbar__bat::after { content: ""; position: absolute; inset: 1.5px 4px 1.5px 1.5px; background: currentColor; border-radius: 1.5px; }

/* ── 화면 ───────────────────────────────────── */
.view {
  position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden;
  padding-top: var(--sb-h); padding-bottom: calc(var(--tab-h) + 24px + env(safe-area-inset-bottom));
  scrollbar-width: none;
}
.view::-webkit-scrollbar { display: none; }
.view--full { padding-bottom: 0; }
.view--flow { padding: 0; display: flex; flex-direction: column; }
.pad { padding-left: 22px; padding-right: 22px; }
.stack > * + * { margin-top: var(--gap, 14px); }

/* ── 글자 ───────────────────────────────────── */
.t-disp { font-family: var(--f-display); font-weight: 700; font-size: 34px; line-height: 1.22; letter-spacing: -.03em; text-wrap: balance; }
.t-h1 { font-family: var(--f-display); font-weight: 700; font-size: 27px; line-height: 1.28; letter-spacing: -.028em; text-wrap: balance; }
.t-h2 { font-family: var(--f-display); font-weight: 700; font-size: 20px; line-height: 1.35; letter-spacing: -.02em; }
.t-h3 { font-weight: 700; font-size: 16px; line-height: 1.45; letter-spacing: -.01em; }
.t-body { font-size: 15px; line-height: 1.7; letter-spacing: -.005em; }
.t-sub { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.t-cap { font-size: 12.5px; line-height: 1.5; font-weight: 500; color: var(--ink-3); }
.num { font-family: var(--f-num); font-variant-numeric: lining-nums tabular-nums; font-variation-settings: "SOFT" 100, "WONK" 0; font-weight: 600; letter-spacing: -.01em; }
.is-dark-text { color: #fff; }
.mute { color: var(--ink-2); }

/* ── 버튼 · 칩 ──────────────────────────────── */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  height: 54px; border-radius: 18px; font-weight: 700; font-size: 16px; letter-spacing: -.01em;
  background: var(--honey); color: var(--night); transition: transform .12s, background .15s;
}
.btn:active { transform: scale(.985); }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--night { background: var(--night); color: #fff; }
.btn--sm { height: 40px; width: auto; padding: 0 16px; border-radius: 14px; font-size: 14px; }
.btn--text { height: 44px; background: none; color: var(--ink-2); font-weight: 600; font-size: 14.5px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 15px; border-radius: 999px;
  font-size: 14px; font-weight: 600; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap;
}
.chip[aria-pressed="true"], .chip.is-on { background: var(--night); color: #fff; box-shadow: none; }
.chip__dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }

.tag {
  display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 8px;
  font-size: 12px; font-weight: 600; background: var(--halo-2); color: var(--ink-2); white-space: nowrap;
}
.tag--best { background: #d3f1ec; color: var(--lagoon-ink); }
.tag--avoid { background: var(--alert-soft); color: #9c2f1d; }
.tag--honey { background: var(--honey-soft); color: var(--honey-ink); }

/* ── 상단 줄 ────────────────────────────────── */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 8px 22px 0; height: 52px; }
.wordmark { font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: -.04em; display: flex; align-items: center; gap: 8px; }
.duo { display: flex; }
.duo__i {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 13px; color: #fff; box-shadow: 0 0 0 2.5px var(--ring, var(--halo));
}
.duo__i + .duo__i { margin-left: -4px; }
.duo__i--me { background: var(--dusk); }
.duo__i--pt { background: var(--lagoon); }
.duo__i--wait { background: transparent; color: var(--ink-3); box-shadow: inset 0 0 0 1.5px var(--line-strong), 0 0 0 2.5px var(--ring, var(--halo)); border-style: dashed; }

/* ── 홈 히어로 ──────────────────────────────── */
.hero {
  position: relative; background: var(--night); color: #fff; border-radius: 0 0 36px 36px; overflow: hidden;
  padding-bottom: 26px; margin-top: calc(var(--sb-h) * -1); padding-top: var(--sb-h);
}
.hero--plate::before { display: none; }
.hero::before { /* 달무리: 바탕에 은은한 한 겹 */
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; left: 50%; top: 40px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(111, 102, 232, .45) 0%, rgba(111, 102, 232, 0) 62%); pointer-events: none;
}
.hero > * { position: relative; }
.hero .duo__i { --ring: var(--night); }
.hero__glyph { position: relative; width: 300px; height: 150px; margin: 14px auto 0; }
.hero__glyph svg { width: 100%; height: 100%; overflow: visible; }
.hero__lens {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: var(--night); pointer-events: none;
}
.hero__lens b { font-family: var(--f-num); font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 144; font-weight: 700; font-size: 46px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: lining-nums; }
.hero__lens span { font-size: 12.5px; font-weight: 700; margin-top: 4px; }
.hero__text { padding: 18px 28px 0; text-align: center; }
.hero__text .t-h1 { color: #fff; }
.hero__text .t-sub { color: rgba(255, 255, 255, .72); margin-top: 6px; }
.hero__status { display: flex; justify-content: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.pill-state { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(255, 255, 255, .1); color: #fff; }
.pill-state i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.pill-state--wait { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); background: transparent; }

.hero--plate { padding-bottom: 0; background: var(--night); border-radius: 0 0 36px 36px; }
.hero--plate .plate { position: absolute; inset: 0; border-radius: 0; }
.hero--plate .hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 33, 80, .15) 0%, rgba(27, 33, 80, 0) 35%, rgba(18, 22, 58, .85) 100%); }
.hero--plate .hero__body { position: relative; padding: 0 24px 26px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px; }

/* ── 구역 제목 · 목록 ───────────────────────── */
.sec { padding: 30px 22px 0; }
.sec__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.link { font-size: 13.5px; font-weight: 600; color: var(--ink-2); padding: 6px 0; }

.rows { border-top: 1px solid var(--line); }
.row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
.row__main { flex: 1; min-width: 0; }
.row__t { font-weight: 700; font-size: 15.5px; line-height: 1.4; letter-spacing: -.01em; }
.row__s { font-size: 13px; color: var(--ink-2); line-height: 1.5; margin-top: 2px; }
.row.is-done .row__t { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 1.5px; }

.check {
  width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center;
  box-shadow: inset 0 0 0 2px var(--line-strong); background: transparent; transition: background .15s, box-shadow .15s;
}
.check svg { width: 14px; height: 14px; opacity: 0; transform: scale(.6); transition: .15s; }
.is-done .check, .check.is-on { background: var(--honey); box-shadow: none; }
.is-done .check svg, .check.is-on svg { opacity: 1; transform: none; }

/* ── 풍경 판(plate) ────────────────────────── */
.plate { position: relative; overflow: hidden; background: var(--night-2); }
.plate svg { width: 100%; height: 100%; display: block; }
.plate__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; animation: plate-in .5s ease both; }
@keyframes plate-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .plate__img { animation: none; } }
.thumb { width: 78px; height: 78px; border-radius: 20px; flex: none; }

.rail { display: flex; gap: 12px; overflow-x: auto; padding: 4px 22px 6px; margin: 0 -22px; scroll-snap-type: x mandatory; scroll-padding: 0 22px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.pick { flex: none; width: 214px; height: 276px; border-radius: 26px; scroll-snap-align: start; color: #fff; position: relative; text-align: left; }
.pick .plate { position: absolute; inset: 0; border-radius: inherit; }
.pick__shade { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(18, 22, 58, 0) 40%, rgba(18, 22, 58, .88) 100%); }
.pick__body { position: absolute; left: 16px; right: 16px; bottom: 14px; }
.pick__top { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: flex-start; }

/* ── 찾기 ───────────────────────────────────── */
.find-head { padding: 10px 22px 0; }
.find-head .t-h1 { margin-bottom: 4px; }
.filters { display: flex; gap: 8px; margin: 14px -22px 0; padding: 0 22px 2px; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.lead {
  display: block; position: relative; margin: 18px 22px 0; width: calc(100% - 44px); height: 330px; border-radius: 30px; overflow: hidden; color: #fff; text-align: left;
}
.lead .plate { position: absolute; inset: 0; }
.lead__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 22, 58, .1) 0%, rgba(18, 22, 58, 0) 30%, rgba(18, 22, 58, .9) 100%); }
.lead__body { position: absolute; left: 20px; right: 20px; bottom: 18px; }
.lead__top { position: absolute; left: 16px; right: 16px; top: 16px; display: flex; justify-content: space-between; }
.glyph-mini { width: 78px; height: 39px; flex: none; }
.score { text-align: right; }
.score b { font-family: var(--f-num); font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 144; font-weight: 700; font-size: 30px; line-height: 1; letter-spacing: -.03em; }
.score small { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 600; margin-top: 3px; white-space: nowrap; }
.rank-row .score b { font-size: 24px; }
.who { display: inline-flex; align-items: center; gap: 4px; margin-right: 8px; }
.who i { width: 7px; height: 7px; border-radius: 50%; display: block; }
.heart { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(18, 22, 58, .38); color: #fff; backdrop-filter: blur(6px); }
.heart svg { width: 20px; height: 20px; }
.heart[aria-pressed="true"] { background: var(--honey); color: var(--night); }
.heart--flat { background: transparent; color: var(--ink-3); backdrop-filter: none; width: 36px; height: 36px; }
.heart--flat[aria-pressed="true"] { background: var(--honey-soft); color: var(--honey-ink); }
.hidden-note { margin: 18px 22px 0; padding: 14px 16px; border-radius: 18px; background: var(--halo-2); font-size: 13.5px; color: var(--ink-2); width: calc(100% - 44px); }

/* ── 상세 ───────────────────────────────────── */
.dhero { position: relative; height: 380px; margin-top: calc(var(--sb-h) * -1); color: #fff; }
.dhero .plate { position: absolute; inset: 0; }
.dhero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 22, 58, .35) 0%, rgba(18, 22, 58, 0) 30%, rgba(18, 22, 58, .88) 100%); }
.dhero__nav { position: absolute; left: 16px; right: 16px; top: calc(var(--sb-h) + 8px); display: flex; justify-content: space-between; }
.dhero__body { position: absolute; left: 24px; right: 24px; bottom: 56px; }
.dsheet { position: relative; margin-top: -32px; border-radius: 32px 32px 0 0; background: var(--halo); padding-top: 4px; }
.iconbtn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(18, 22, 58, .4); color: #fff; backdrop-filter: blur(6px); }
.iconbtn svg { width: 20px; height: 20px; }
.iconbtn--plain { background: var(--paper); color: var(--night); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: none; }

.match { display: flex; align-items: center; gap: 16px; padding: 18px 0 4px; }
.match .glyph-mini { width: 118px; height: 59px; }
.reasons { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.reason { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.55; }
.reason::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--honey); flex: none; margin-top: 9px; }

.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin-top: 10px; }
.mo { text-align: center; font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.mo i { display: block; height: 30px; border-radius: 8px; margin-bottom: 5px; background: var(--halo-2); }
.mo.is-best i { background: var(--lagoon); }
.mo.is-avoid i { background: repeating-linear-gradient(135deg, var(--alert-soft) 0 4px, #f2b9ad 4px 8px); }
.mo.is-now { color: var(--night); font-weight: 800; }
.mo.is-now i { box-shadow: 0 0 0 2.5px var(--night); }
.legend { display: flex; gap: 14px; margin-top: 8px; font-size: 12px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 11px; height: 11px; border-radius: 4px; display: block; }

.axis { display: grid; grid-template-columns: 62px 1fr 26px 50px; gap: 10px; align-items: center; padding: 7px 0; font-size: 14px; font-weight: 600; }
.axis__bar { position: relative; height: 10px; border-radius: 6px; background: var(--halo-2); }
.axis__fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: var(--night); }
.axis__pin { position: absolute; top: 50%; width: 15px; height: 15px; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 2.5px var(--halo); }
.axis .num { text-align: right; font-size: 15px; }

.stay { display: flex; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.stay:first-child { border-top: 1px solid var(--line); }
.stay__p { text-align: right; flex: none; }
.stay__p b { font-family: var(--f-num); font-variant-numeric: lining-nums; font-weight: 700; font-size: 16px; display: block; white-space: nowrap; }
.empty-price { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }

.quote { position: relative; padding: 20px 20px 18px 22px; border-radius: 22px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.quote p { font-family: var(--f-display); font-size: 16.5px; line-height: 1.7; letter-spacing: -.015em; font-weight: 500; }
.quote small { display: block; margin-top: 10px; }
.note-warn { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.6; }
.note-warn svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--alert); }
.preg { padding: 14px 16px; border-radius: 18px; font-size: 14px; line-height: 1.6; }
.preg--safe { background: #d3f1ec; color: #0b5a52; }
.preg--caution { background: var(--honey-soft); color: #6b4300; }
.preg--not_recommended { background: var(--alert-soft); color: #8e2a19; }
.preg b { display: block; margin-bottom: 2px; }

.cta-bar {
  position: sticky; left: 0; right: 0; bottom: 0; z-index: 20; padding: 28px 22px calc(18px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(236, 238, 248, 0) 0%, var(--halo) 38%); display: flex; gap: 10px;
}
.cta-bar .btn { box-shadow: 0 10px 24px -10px rgba(27, 33, 80, .5); }

/* ── 일정 ───────────────────────────────────── */
.plan-head { position: relative; padding: 14px 22px 22px; }
.timeline { position: relative; margin: 6px 22px 0; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; border-left: 2px dashed var(--line-strong); }
.phase { position: relative; padding: 18px 0 22px; }
.phase + .phase { border-top: 1px solid var(--line); }
.phase__pin { position: absolute; left: -30px; top: 22px; width: 20px; height: 20px; border-radius: 50%; background: var(--halo); box-shadow: inset 0 0 0 2.5px var(--night); }
.phase:first-child .phase__pin { background: var(--honey); box-shadow: inset 0 0 0 2.5px var(--night); }
.phase__days { font-size: 12.5px; font-weight: 700; color: var(--ink-3); margin-bottom: 2px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 15px; background: var(--halo-2); margin: 12px 0 14px; }
.seg button { height: 38px; border-radius: 11px; font-weight: 700; font-size: 13.5px; color: var(--ink-2); text-align: center; line-height: 1.2; padding: 0 6px; }
.seg button[aria-pressed="true"] { background: var(--paper); color: var(--night); box-shadow: 0 1px 3px rgba(27, 33, 80, .14); }
.opt__title { font-weight: 700; font-size: 15.5px; line-height: 1.5; letter-spacing: -.01em; }
.opt__desc { font-size: 14px; color: var(--ink-2); margin-top: 4px; line-height: 1.65; }
.opt__meta { margin-top: 12px; display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); }
.opt__meta b { color: var(--night); font-weight: 700; margin-right: 6px; }

.budget { margin: 0 22px; padding: 20px; border-radius: 26px; background: var(--night); color: #fff; }
.budget .t-sub { color: rgba(255, 255, 255, .7); }
.budget__n { font-family: var(--f-num); font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 144; font-weight: 700; font-size: 34px; letter-spacing: -.03em; line-height: 1.15; font-variant-numeric: lining-nums; }
.tiers { display: grid; gap: 8px; margin-top: 14px; }
.tier { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .08); width: 100%; }
.tier[aria-pressed="true"] { background: var(--honey); color: var(--night); }
.tier__r { width: 20px; height: 20px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 2px currentColor; position: relative; opacity: .7; }
.tier[aria-pressed="true"] .tier__r { opacity: 1; background: radial-gradient(circle, var(--night) 0 42%, transparent 46%); }
.tier__t { font-size: 14px; font-weight: 700; line-height: 1.4; }
.tier__p { font-size: 12.5px; opacity: .8; margin-top: 1px; }
.out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 22px 0; }
.out a, .out button { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 14px 14px 12px; border-radius: 18px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: 14px; line-height: 1.35; }
.out svg { width: 22px; height: 22px; }
.out small { font-weight: 500; color: var(--ink-3); font-size: 11.5px; }

/* ── 준비 ───────────────────────────────────── */
.prep-head { display: flex; align-items: center; gap: 18px; padding: 10px 22px 0; }
.moonphase { width: 96px; height: 96px; flex: none; }
.group { padding: 24px 22px 0; }
.group__h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; }
.group__d { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.assign {
  flex: none; height: 30px; min-width: 52px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: 4px; color: #fff; text-align: center;
}
.assign--none { background: transparent; color: var(--ink-3); box-shadow: inset 0 0 0 1.5px var(--line-strong); border-style: dashed; }
.assign--me { background: var(--dusk); }
.assign--pt { background: var(--lagoon); }
.assign--both { background: linear-gradient(90deg, var(--dusk) 50%, var(--lagoon) 50%); }
.detail { margin: -4px 0 12px 40px; padding: 12px 14px; border-radius: 14px; background: var(--paper); font-size: 13.5px; line-height: 1.6; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.detail li { list-style: none; padding: 3px 0; }
.row__tap { flex: 1; min-width: 0; text-align: left; }
.late { color: var(--alert); font-weight: 700; }

/* ── 여행 중 ────────────────────────────────── */
.today-hero { padding: 16px 22px 26px; background: var(--night); color: #fff; border-radius: 0 0 36px 36px; margin-top: calc(var(--sb-h) * -1); padding-top: calc(var(--sb-h) + 18px); }
.today-hero .t-sub { color: rgba(255, 255, 255, .7); }
.today-hero .num { font-size: 58px; line-height: 1; font-weight: 700; font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 144; }
.sos { display: flex; align-items: center; gap: 14px; margin: 0 22px; padding: 16px 18px; border-radius: 22px; background: var(--alert-soft); color: #7d2415; }
.sos svg { width: 26px; height: 26px; flex: none; }
.sos b { display: block; font-size: 15px; }
.sos span { font-size: 13px; }
.expense { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.expense .assign { min-width: 44px; }
.expense__n { margin-left: auto; font-weight: 700; font-family: var(--f-num); font-variant-numeric: lining-nums tabular-nums; font-size: 16px; }
.settle { margin-top: 14px; padding: 16px 18px; border-radius: 20px; background: var(--honey-soft); color: #5e3b00; font-weight: 600; font-size: 14.5px; line-height: 1.55; }
.settle b { font-family: var(--f-num); font-variant-numeric: lining-nums; font-size: 18px; }

/* ── 탭바 ───────────────────────────────────── */
.tabbar {
  position: absolute; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); height: 64px; border-radius: 26px;
  background: rgba(251, 251, 254, .94); backdrop-filter: blur(14px); display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px;
  box-shadow: 0 14px 30px -12px rgba(27, 33, 80, .45), inset 0 0 0 1px var(--line);
}
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 20px; font-size: 11.5px; font-weight: 700; color: var(--ink-3); transition: background .15s; }
.tab svg { width: 26px; height: 26px; }
.tab .hl { fill: transparent; transition: fill .2s; }
.tab[aria-current="page"] { color: var(--night); background: var(--halo); }
.tab[aria-current="page"] .hl { fill: var(--honey); }

/* ── 시트 · 토스트 ──────────────────────────── */
.scrim { position: absolute; inset: 0; z-index: 70; background: rgba(18, 22, 58, .5); animation: fade .2s; }
.sheet {
  position: absolute; z-index: 71; left: 0; right: 0; bottom: 0; max-height: 88%; overflow-y: auto; background: var(--halo);
  border-radius: 32px 32px 0 0; padding: 12px 22px calc(26px + env(safe-area-inset-bottom)); animation: up .26s cubic-bezier(.2, .8, .2, 1);
}
.sheet__grab { width: 40px; height: 5px; border-radius: 3px; background: var(--line-strong); margin: 0 auto 16px; }
.sheet__h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.toast { position: absolute; z-index: 90; left: 50%; bottom: 108px; transform: translateX(-50%); background: var(--night); color: #fff; padding: 12px 18px; border-radius: 16px; font-size: 14px; font-weight: 600; box-shadow: 0 12px 30px -10px rgba(27, 33, 80, .6); animation: up .25s; white-space: nowrap; }

/* 출발일~귀국일 달력 */
.cal { margin: 14px 0 6px; }
.cal__sum { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 18px; background: var(--halo); }
.cal__sum b { font-size: 17px; font-weight: 700; color: var(--night); font-variant-numeric: lining-nums; }
.cal__sum span { font-size: 13px; color: var(--ink-2); }
.cal__sum.is-wait { background: var(--honey-soft); }
.cal__nav { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 6px; }
.cal__nav b { font-size: 15.5px; font-weight: 700; font-variant-numeric: lining-nums; }
.cal__nav button { width: 40px; height: 40px; border-radius: 13px; background: var(--halo); font-size: 22px; line-height: 1; color: var(--night); }
.cal__nav button[disabled] { opacity: .35; pointer-events: none; }
.cal__wd, .cal__g { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal__wd span { text-align: center; font-size: 12px; font-weight: 600; color: var(--ink-3); padding: 4px 0 6px; }
.cal__wd span:first-child { color: #c4506a; }
.cal__g { row-gap: 2px; }
.cal__d { width: 100%; text-align: center; height: 42px; font-size: 15px; font-weight: 600; font-variant-numeric: lining-nums; color: var(--ink); position: relative; z-index: 0; }
.cal__d.is-sun { color: #c4506a; }
.cal__d[disabled] { color: var(--ink-3); opacity: .4; pointer-events: none; }
.cal__d.is-in { background: var(--halo-2); }
.cal__d.is-start, .cal__d.is-end { color: #fff; }
.cal__d.is-start::before, .cal__d.is-end::before { content: ""; position: absolute; inset: 1px 0; margin: 0 auto; width: 40px; border-radius: 50%; background: var(--night); z-index: -1; }
.cal__d.is-start:not(.is-end) { background: linear-gradient(90deg, transparent 50%, var(--halo-2) 50%); }
.cal__d.is-end:not(.is-start) { background: linear-gradient(90deg, var(--halo-2) 50%, transparent 50%); }
.cal__d.is-start.is-end { background: none; }
.cal__sum.is-wait ~ .cal__g .cal__d.is-start { background: none; }
.cal__g i { height: 42px; }
.rolegrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.role { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 150px; border-radius: 26px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.role b { font-size: 26px; font-weight: 700; color: var(--night); }
.role span { font-size: 13px; color: var(--ink-2); }
.role[aria-pressed="true"] { background: var(--night); box-shadow: none; }
.role[aria-pressed="true"] b { color: #fff; }
.role[aria-pressed="true"] span { color: rgba(255, 255, 255, .72); }
.switch { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 0; border-top: 1px solid var(--line); }
.switch__b { flex: none; width: 52px; height: 32px; border-radius: 16px; background: var(--line-strong); position: relative; transition: background .2s; }
.switch__b::after { content: ""; position: absolute; left: 3px; top: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.switch[aria-checked="true"] .switch__b { background: var(--lagoon); }
.switch[aria-checked="true"] .switch__b::after { transform: translateX(20px); }

.who-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 16px; background: var(--halo-2); margin: 10px 0 6px; }
.who-tabs button { height: 42px; border-radius: 12px; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--ink-2); }
.who-tabs button[aria-pressed="true"] { background: var(--paper); color: var(--night); box-shadow: 0 1px 3px rgba(27, 33, 80, .14); }
.who-tabs i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.field { display: block; margin: 12px 0; }
.field span { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.input { width: 100%; height: 52px; border-radius: 16px; border: 0; padding: 0 16px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 16px; }
.input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--dusk); }
.code { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 20px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); }
.code b { font-family: var(--f-num); font-weight: 700; font-size: 26px; letter-spacing: .06em; font-variant-numeric: lining-nums; }

/* ── 온보딩 ─────────────────────────────────── */
.ob { flex: 1; display: flex; flex-direction: column; padding: calc(var(--sb-h) + 20px) 24px 26px; }
.ob__dots { display: flex; gap: 6px; }
.ob__dots i { height: 5px; width: 18px; border-radius: 3px; background: var(--line-strong); display: block; }
.ob__dots i.is-on { width: 34px; background: var(--night); }
.ob__stage { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.ob--dark { background: var(--night); color: #fff; }
.ob--dark .t-sub { color: rgba(255, 255, 255, .72); }
.splash { position: relative; width: 100%; height: 230px; margin-bottom: 26px; }
.splash svg { width: 100%; height: 100%; overflow: visible; }
.splash .m1 { animation: m1 1.9s cubic-bezier(.6, 0, .2, 1) .35s both; }
.splash .m2 { animation: m2 1.9s cubic-bezier(.6, 0, .2, 1) .35s both; }
.splash .lens { animation: lens 1.9s ease .35s both; }
@keyframes m1 { from { transform: translateX(-62px); } to { transform: none; } }
@keyframes m2 { from { transform: translateX(62px); } to { transform: none; } }
@keyframes lens { 0%, 70% { opacity: 0; } 100% { opacity: 1; } }
.ob-hint { margin-top: 10px; }

@media (prefers-reduced-motion: reduce) {
  .splash .m1, .splash .m2, .splash .lens, .sheet, .scrim, .toast { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ── 기기 틀 ────────────────────────────────── */
.island { display: none; position: absolute; z-index: 80; top: 11px; left: 50%; transform: translateX(-50%); width: 118px; height: 34px; border-radius: 20px; background: #0a0c20; }
body.has-frame .island { display: block; }

.hint { display: flex; gap: 10px; align-items: flex-start; margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.hint::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--honey); margin-top: 9px; }
.ob__ghost { width: 190px; margin: 0 0 22px; }
/* 설계 보드(bare)에서는 겹침이 끝난 모습을 정지 화면으로 보여 줘요 */
body.is-bare .splash .m1, body.is-bare .splash .m2, body.is-bare .splash .lens { animation: none; }

/* 취향 순위 목록 */
.rank { list-style: none; display: grid; gap: 8px; margin-top: 14px; --c: var(--dusk); }
.rank--pt { --c: var(--lagoon); }
.rank__i { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 18px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.rank__n { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font-family: var(--f-num); font-weight: 700; font-size: 16px; font-variant-numeric: lining-nums; }
.rank__i:first-child .rank__n { background: var(--honey); color: var(--night); }
.rank__t { flex: 1; min-width: 0; }
.rank__t b { display: block; font-size: 16px; line-height: 1.35; }
.rank__b { display: flex; gap: 6px; flex: none; }
.rank__b button { width: 40px; height: 40px; border-radius: 13px; background: var(--halo); display: grid; place-items: center; }
.rank__b button svg { width: 20px; height: 20px; }
.rank__b button[disabled] { opacity: .3; pointer-events: none; }
.axis__rk { display: flex; gap: 4px; justify-content: flex-end; }
.axis__r { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; color: #fff; font-family: var(--f-num); }
.axis__r--me { background: var(--dusk); }
.axis__r--pt { background: var(--lagoon); }


.out button { text-align: left; }
.sample { margin: 12px 0; padding: 10px 14px; border-radius: 14px; background: var(--honey-soft); color: #5e3b00; font-size: 13px; font-weight: 600; line-height: 1.5; }
.lows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.low { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 20px; background: var(--night); color: #fff; }
.low .t-cap { color: rgba(255, 255, 255, .72); }
.low b { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
.offers { display: grid; gap: 10px; margin-top: 12px; }
.offer { padding: 14px; border-radius: 20px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.offer__h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.offer__h b { font-size: 16px; }
.off-note { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.offer__p { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.offer__p > div { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 12px; background: var(--halo); }
.offer__p b { font-size: 16px; }
.offer__p .is-best { background: var(--honey-soft); box-shadow: inset 0 0 0 1.5px var(--honey); }
.merch { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip--off { color: var(--ink-3); background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.chip--off small { font-weight: 500; font-size: 11.5px; }

/* MBTI */
.mbpick { margin-top: 14px; display: grid; gap: 10px; --c: var(--dusk); }
.mbpick--pt { --c: var(--lagoon); }
.mbrow { padding: 12px; border-radius: 18px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.mbrow__q { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.mbrow__q b { font-size: 15px; }
.mbrow__b { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mbrow__b button { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 14px; background: var(--halo); text-align: left; }
.mbrow__b b { font-family: var(--f-num); font-size: 22px; line-height: 1.1; }
.mbrow__b span { font-size: 12px; line-height: 1.4; color: var(--ink-2); }
.mbrow__b button[aria-pressed="true"] { background: var(--c); color: #fff; box-shadow: none; }
.mbrow__b button[aria-pressed="true"] span { color: rgba(255, 255, 255, .85); }
.mbtype { display: flex; align-items: baseline; gap: 12px; padding: 4px 4px 0; min-height: 40px; }
.mbtype b { font-size: 34px; letter-spacing: .04em; }
.mbpair { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.mbpair__i { flex: 1; display: flex; flex-direction: column; padding: 12px 14px; border-radius: 18px; color: #fff; }
.mbpair__i b { font-size: 13px; font-weight: 600; opacity: .9; }
.mbpair__i .num { font-size: 28px; letter-spacing: .04em; line-height: 1.15; }
.mbpair__i--me { background: var(--dusk); }
.mbpair__i--pt { background: var(--lagoon); color: #04332e; }
.mbpair__x { width: 18px; height: 18px; border-radius: 50%; background: var(--honey); flex: none; }
.mbline { padding: 12px 0; border-bottom: 1px solid var(--line); }
.mbline__h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2px; }
.mbline__l { display: flex; gap: 4px; }
.rec { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 6px; background: var(--honey); color: var(--night); font-size: 11px; font-weight: 800; }
.ob > .btn { position: sticky; bottom: 18px; flex: none; box-shadow: 0 10px 24px -10px rgba(27, 33, 80, .5); }

/* 투어 후보: 두 사람에게 맞춰 고른 상품 */
.pick { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.pick .t-sub b { color: var(--ink); }

/* ── 일정: 예상 비용 · 예약 · 하루씩 ───────────────── */
.plan-sum { margin-top: 2px; }
.plan-sum__row { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, .78); }
.plan-sum__row b { color: #fff; font-family: var(--f-num); font-variant-numeric: lining-nums tabular-nums; }
.plan-sum__bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .16); margin-top: 12px; overflow: hidden; }
.plan-sum__bar i { display: block; height: 100%; border-radius: 3px; background: var(--honey); }
.plan-sum__btn { margin-top: 14px; background: rgba(255, 255, 255, .14); color: #fff; width: 100%; }
.plan-tier { margin: 0 0 12px; }
.books { display: grid; gap: 12px; }
.book { padding: 16px; border-radius: 22px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.book.is-done { background: #f1faf8; box-shadow: inset 0 0 0 1.5px #bfe8e1; }
.book__h { display: flex; gap: 12px; align-items: center; }
.book__ic { width: 38px; height: 38px; border-radius: 13px; background: var(--halo); display: grid; place-items: center; flex: none; color: var(--night); }
.book__ic svg { width: 21px; height: 21px; }
.book__t { font-weight: 800; font-size: 16px; letter-spacing: -.01em; }
.hotel { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.hotel__n { font-weight: 700; font-size: 15.5px; }
.book__est { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.book__est b { color: var(--night); font-size: 17px; }
.book__btns { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; margin-top: 12px; }
.book__btns .btn { height: 48px; font-size: 15px; }
.book__btns .is-off { display: flex; align-items: center; justify-content: center; color: var(--ink-3); pointer-events: none; }
.book__done { display: flex; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.book__done b { margin-left: auto; font-size: 17px; }
.linkbtn { font-size: 13.5px; font-weight: 700; color: var(--dusk-ink); padding: 8px 0; }
.book .linkbtn { display: block; margin-top: 4px; }
.book__done .linkbtn { padding: 8px 4px; }
.paycard { padding: 6px 16px 16px; border-radius: 22px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.paycard__r { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.paycard__r b { font-size: 18px; }
.paycard .settle { margin-top: 12px; }

.days { margin-top: 6px; }
.gsec { padding: 20px 22px 0; }
.gh { padding-bottom: 6px; }
.gh__d { font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.gh .seg { margin: 10px 0 8px; }
.day { padding: 16px 0 6px; border-top: 1px solid var(--line); }
.day__h { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.day__h b { font-family: var(--f-num); font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 144; font-size: 20px; letter-spacing: -.02em; }
.day__h span { font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.it-list { list-style: none; position: relative; }
.it { position: relative; display: grid; grid-template-columns: 46px 14px 1fr; column-gap: 8px; padding: 0 0 16px; }
.it::before { content: ""; position: absolute; left: 53px; top: 14px; bottom: -2px; border-left: 2px solid var(--line); }
.it:last-child::before { display: none; }
.it__time { font-family: var(--f-num); font-variant-numeric: lining-nums tabular-nums; font-size: 13.5px; font-weight: 700; color: var(--ink-2); padding-top: 1px; }
.it__dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 3px; background: var(--paper); box-shadow: inset 0 0 0 2.5px var(--night); position: relative; z-index: 1; }
.it--act .it__dot { background: var(--honey); }
.it--meal .it__dot { box-shadow: inset 0 0 0 2.5px var(--lagoon); }
.it--stay .it__dot, .it--move .it__dot { box-shadow: inset 0 0 0 2.5px var(--ink-3); }
.it--custom .it__dot { background: var(--dusk); box-shadow: inset 0 0 0 2.5px var(--dusk-ink); }
.it.is-free .it__t { color: var(--ink-3); font-weight: 600; }
.it__body { min-width: 0; }
.it__t { font-weight: 700; font-size: 15px; line-height: 1.45; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.it__s { font-size: 13px; color: var(--ink-2); margin-top: 2px; line-height: 1.55; }
.it__m { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; line-height: 1.5; }
.it__map { font-size: 12.5px; font-weight: 700; color: var(--dusk-ink); }
.it__del { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; font-size: 18px; line-height: 1; color: var(--ink-3); background: var(--halo); }
.it__btns { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.it__btns .chip { height: 34px; padding: 0 13px; font-size: 13.5px; }
.chip--go { background: var(--night); color: #fff; box-shadow: none; }
.spotbtn { display: flex; align-items: center; gap: 6px; margin: 2px 0 12px 0; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; font-weight: 700; color: var(--dusk-ink); background: rgba(111, 102, 232, .1); }
.who-tabs--3 { grid-template-columns: repeat(3, 1fr); }
.opt-h { display: block; width: 100%; text-align: left; }
.opt-h.is-on { background: var(--honey-soft); box-shadow: inset 0 0 0 2px var(--honey); }
.costg { margin-top: 16px; }
.costg__h { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 6px; border-bottom: 1.5px solid var(--night); }
.costg__h .num { font-weight: 700; font-size: 17px; }
.costl { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.costl__n { font-family: var(--f-num); font-variant-numeric: lining-nums tabular-nums; font-weight: 700; color: var(--night); white-space: nowrap; }
.costl__n.is-paid { color: var(--lagoon-ink); }

.gh__o { margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.gh__o b { color: var(--night); }
.it__t .tag { padding: 3px 8px; font-size: 11.5px; }

/* 일정 보강: 오늘의 참고, 추천 줄(자료에 없는 자유 시간) */
.day__tips { margin: 10px 0 2px; padding: 12px 14px; border-radius: 14px; background: var(--halo); list-style: none; }
.day__tips li { font-size: 13px; line-height: 1.55; color: var(--ink-2); padding-left: 14px; position: relative; }
.day__tips li + li { margin-top: 5px; }
.day__tips li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--honey); }
.it__tip { margin-top: 4px; font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.it.is-suggest .it__t { font-weight: 600; color: var(--ink-2); }
/* 식사 줄: 영업 정보 한 줄과, 옆으로 넘겨 보는 다른 추천 식당 */
.eat__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin-top: 4px; font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.eat__meta i { font-style: normal; color: var(--ink-3); }
.eat__meta .num { font-size: 13px; color: var(--ink); }
.eat__shut { font-weight: 700; color: #9c2f1d; }
.eat__na { color: var(--ink-3); }
.eats__h { margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.eats__h span { font-weight: 500; color: var(--ink-3); margin-left: 4px; }
.eats { display: flex; gap: 8px; margin: 6px -20px 0 0; padding: 2px 20px 4px 0; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.eats::-webkit-scrollbar { display: none; }
.eat { flex: none; width: min(56vw, 212px); display: flex; flex-direction: column; padding: 12px 13px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); scroll-snap-align: start; }
.eat.is-shut { opacity: .62; }
.eat__n { font-weight: 700; font-size: 14.5px; line-height: 1.4; }
.eat__s { margin-top: 3px; font-size: 12.5px; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.eat__b { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.eat__b .chip { height: 32px; padding: 0 12px; font-size: 13px; }
.preg p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.55; }

.dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dl .btn { height: 48px; font-size: 14px; }
#printdoc { display: none; }
@media print {
  body > *:not(#printdoc) { display: none !important; }
  #printdoc { display: block !important; position: static; color: #111; font-family: "Wanted Sans", "Pretendard", "Malgun Gothic", sans-serif; font-size: 10.5pt; line-height: 1.5; }
  @page { size: A4; margin: 14mm 12mm; }
  .pd h1 { font-size: 20pt; margin: 0 0 4px; color: #1b2150; }
  .pd h2 { font-size: 13pt; margin: 18px 0 6px; color: #1b2150; border-bottom: 2px solid #1b2150; padding-bottom: 3px; }
  .pd-sub { margin: 0 0 10px; color: #444; }
  .pd-t { width: 100%; border-collapse: collapse; margin: 4px 0; }
  .pd-t td, .pd-t th { border: 1px solid #cfd2e6; padding: 4px 7px; vertical-align: top; text-align: left; }
  .pd-t th { background: #1b2150; color: #fff; font-weight: 700; }
  .pd-t td.tm { width: 46px; white-space: nowrap; font-weight: 700; }
  .pd-t td.kd { width: 62px; color: #555; background: #f1f2fa; }
  .pd-t small { color: #444; font-size: 9pt; }
  .pd .r { text-align: right; white-space: nowrap; }
  .pd a { color: #1b2150; }
  .pd-day { break-inside: avoid-page; margin-top: 10px; }
  .pd-day h3 { font-size: 11.5pt; margin: 10px 0 3px; background: #ecedf8; padding: 4px 8px; }
  .pd-day h3 span { font-weight: 500; font-size: 10pt; color: #333; }
  .pd-tips { margin: 4px 0 0; padding-left: 18px; font-size: 9.5pt; color: #333; }
  .pd-warn { border: 1.5px solid #c98a00; background: #fff4d6; padding: 6px 10px; margin: 8px 0; }
  .pd-warn p { margin: 3px 0 0; }
  .pd-foot { margin-top: 14px; font-size: 9pt; color: #555; }
}

/* ── 묶음(뉴욕 · 칸쿤 · 조합) ───────────────────── */
.alts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.alts__h { font-size: 11.5px; font-weight: 700; color: var(--ink-3); margin-right: 2px; }
.alts__b { display: inline-flex; align-items: baseline; gap: 4px; height: 28px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.alts__b b { font-size: 12.5px; color: var(--ink-2); }
.alts--dark .alts__h { color: rgba(255, 255, 255, .75); }
.alts--dark .alts__b { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); color: #fff; backdrop-filter: blur(6px); }
.alts--dark .alts__b b { color: rgba(255, 255, 255, .85); }
.combo-rows { margin-top: 10px; }
.combo-row { text-align: left; }
.combo-row.is-cur { background: var(--halo-2); border-radius: 14px; padding-left: 12px; padding-right: 12px; margin: 4px 0; border-bottom: 0; }
.combo-row .score b { font-size: 24px; }

/* 후기 장단점 */
.pc { padding: 16px 18px 6px; border-radius: 22px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); margin-top: 10px; }
.pc__h { font-size: 13px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 4px; }
.pc--pro .pc__h { color: var(--lagoon-ink); }
.pc--con .pc__h { color: var(--alert); }
.pc ul { list-style: none; margin: 0; padding: 0; }
.pc__i { padding: 11px 0 12px; border-top: 1px solid var(--line); }
.pc__i:first-child { border-top: 0; }
.pc__i p { font-size: 14px; line-height: 1.65; }
.pc__i small { display: block; margin-top: 5px; }
.pc__i a { color: var(--dusk-ink); text-decoration: underline; text-underline-offset: 2px; }
/* 후기에서 나온 곳(관광지·숙소·식당·주의점) */
.pc--find { margin-top: 14px; }
.pc--find .pc__h { color: var(--dusk-ink); }
.pc--find .pc__h .t-cap { font-weight: 400; margin-left: 4px; }
.pc__n { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 2px; }

/* 식당 후기: 긍정·보통·부정 비율 막대와 요약 */
.rbar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--line); margin-top: 8px; }
.rbar i { display: block; min-width: 0; }
.rbar__p { background: var(--lagoon); }
.rbar__m { background: var(--line-strong); }
.rbar__n { background: var(--alert); }
.rbar__l { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.rbar__l i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }
.rev__h { font-size: 14px; font-weight: 700; margin-top: 20px; }
.rev__h .t-cap { font-weight: 400; margin-left: 4px; }
.rev__h--pro { color: var(--lagoon-ink); }
.rev__h--con { color: var(--alert); }
.rev__l { margin: 6px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.65; }
.rev__l li { margin-top: 4px; }
.chip--rev { height: 32px; padding: 0 12px; font-size: 13px; flex: none; }
.eat__rev { margin-top: 8px; }
.erow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.erow small { margin-top: 2px; }
