/* 허니무니 · 신혼여행 앱 — 컴포넌트
   색·글꼴·크기·모서리·그림자는 css/tokens.css 의 토큰만 써요(선아의 첫 화면 시안 기준).
   두 사람: 나 = 분홍 달(--dusk) · 짝꿍 = 민트 달(--lagoon) · 행동 = 남색/크림(--act) · 작은 강조 = 꿀(--honey) */

:root {
  --tab-h: 84px;
  /* 화면 가장자리 안전 영역(시계·다이내믹 아일랜드·카메라 구멍·홈 막대). 아이폰은 env(), 안드로이드 앱은 Capacitor 가 넣어 주는
     --safe-area-inset-* 값(웹뷰가 env() 를 0으로 주는 기기)이 먼저예요. 모든 화면은 이 네 값만 써요 */
  --safe-t: var(--safe-area-inset-top, env(safe-area-inset-top, 0px));
  --safe-r: var(--safe-area-inset-right, env(safe-area-inset-right, 0px));
  --safe-b: var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px));
  --safe-l: var(--safe-area-inset-left, env(safe-area-inset-left, 0px));
  --sb-h: var(--safe-t);   /* 실제 아이폰(앱·사파리): 시계·다이내믹 아일랜드 높이만큼 내려요. 미리보기 틀(.has-sb)은 47px */
}

* { 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: var(--halo);
  font-size: var(--fs-base);
  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(--focus); outline-offset: 2px; border-radius: 6px; }

/* ── 무대와 기기 ─────────────────────────────── */
/* 기본은 화면 전체예요. .device 가 앱의 폭을 재는 상자(container)라서, 아래 '넓은 화면' 규칙은
   창 폭이 아니라 이 상자의 폭을 봐요. 그래서 설계 보드(390px 미리보기)와 ?frame 폰 틀은 그대로 폰 배치예요. */
.stage { min-height: 100%; }
.device {
  position: relative; width: 100%; height: 100vh; height: 100dvh; overflow: hidden;
  background: var(--halo); container: app / inline-size;
}
.app { position: absolute; inset: 0; }
body.has-frame { background: #d6d9ec; }
body.has-frame .stage { display: grid; place-items: center; padding: 24px; }
body.has-frame .device {
  width: 390px; height: 844px; border-radius: 54px;
  box-shadow: 0 0 0 11px #12163a, 0 0 0 12px #3a4086, 0 50px 90px -20px rgb(var(--night-rgb) / .55);
}
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 var(--fs-base)/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: var(--on-dark); }
.app.is-scrolled .statusbar { color: var(--night); background: linear-gradient(180deg, var(--halo) 80%, rgb(var(--halo-rgb) / 0)); }
/* 실제 폰: 스크롤해서 내용이 시계·배터리·카메라 밑으로 올라가면 그 띠에 화면 바탕색을 깔아 글자가 겹쳐 보이지 않게 해요(미리보기 틀은 위 .statusbar 가 맡아요) */
.app::before { content: ""; position: absolute; z-index: 59; top: 0; left: 0; right: 0; height: var(--safe-t); pointer-events: none; opacity: 0; transition: opacity .2s;
  background: rgb(var(--halo-rgb) / .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.app:has(.view--night)::before { background: rgb(14 17 44 / .9); }
.app.is-scrolled::before { opacity: 1; }
body.has-sb .app::before { display: none; }
.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 + var(--safe-b));
  /* 화면 옆에 카메라·상태 표시가 있는 기기(접힌 아이폰 듀오, 가로 아이폰)에서 글이 그 밑에 가리지 않게 양옆 안전 영역만큼 띄워요 */
  padding-left: var(--safe-l); padding-right: var(--safe-r);
  scrollbar-width: none;
}
.view::-webkit-scrollbar { display: none; }
.view--full { padding-bottom: 0; }
.view--flow { padding: 0 var(--safe-r) 0 var(--safe-l); display: flex; flex-direction: column; }
.pad { padding-left: 22px; padding-right: 22px; }
.stack > * + * { margin-top: var(--gap, 14px); }

/* ── 글자 ───────────────────────────────────── */
.t-disp { font-family: var(--f-head); font-weight: 700; font-size: 34px; line-height: 1.22; letter-spacing: 0; text-wrap: balance; }
/* 홈 '우리가 정한 곳': 일정 카드와 같은 영문 이름 그림(NEW ZEALAND 높이 기준) 아래에 '○○로 떠나요'를 한 줄로. 글자 수(--n)가 많으면 한 줄에 들어가게 줄여요 */
.hero__en { display: block; width: 100%; height: auto; margin: 2px 0 10px; filter: drop-shadow(0 2px 8px rgb(0 0 0 / .45)); }
.hero--plate .hero__body { container-type: inline-size; }
.t-disp.hero__go { white-space: nowrap; font-size: min(34px, calc((100cqw - 4px) / var(--n) * 1.12)); }
.t-h1 { font-family: var(--f-head); font-weight: 700; font-size: 27px; line-height: 1.28; letter-spacing: 0; text-wrap: balance; }
.emo { display: inline-block; margin-right: .32em; font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; font-weight: 400; font-style: normal; }   /* 구역 제목 앞 이모티콘(글자 글꼴과 섞이지 않게 이모티콘 글꼴로) */
.emo--light { filter: invert(1) brightness(1.05); }
.pc__h > .emo { margin-right: -1.6px; }
.t-h2--major { color: #fbedc2; }   /* 준비 탭 대분류(챙길 것·쇼핑 리스트)는 로고와 같은 아이보리 */   /* 네모 안 소제목(.pc__h)은 flex 간격 8px 이 더해져서, 구역 제목과 같은 이모티콘~글자 거리(약 6.4px)가 되게 줄여요 */   /* ➰·〰️ 처럼 검은 이모티콘은 어두운 바탕에서 안 보여서 밝게 뒤집어요 */
.t-h2 { font-family: var(--f-head); font-weight: 700; font-size: 20px; line-height: 1.35; letter-spacing: 0; }
.t-h3 { font-weight: 700; font-size: var(--fs-lg); line-height: 1.45; letter-spacing: -.01em; }
.t-body { font-size: var(--fs-base); line-height: 1.7; letter-spacing: -.005em; }
.t-sub { font-size: var(--fs-md); line-height: 1.6; color: var(--ink-2); }
.t-cap { font-size: var(--fs-sm); 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: var(--on-dark); }
.mute { color: var(--ink-2); }

/* ── 버튼 · 칩 ──────────────────────────────── */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  height: 54px; border-radius: var(--r-lg); font-weight: 700; font-size: var(--fs-lg); letter-spacing: -.01em;
  background: var(--act); color: var(--act-ink); transition: transform .12s, background .15s;
}
.btn:active { transform: scale(.985); }
.btn--ghost { background: transparent; color: inherit; box-shadow: var(--edge-strong); }   /* 글씨는 놓인 바탕의 글씨색 */
.btn--night { background: var(--night); color: var(--brand-cream); }
.btn--sm { height: 40px; width: auto; padding: 0 16px; border-radius: var(--r-md); font-size: var(--fs-md); }
.btn--text { height: 44px; background: none; color: var(--ink-2); font-weight: 600; font-size: var(--fs-md); }
.btn[disabled] { opacity: .45; pointer-events: none; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 15px; border-radius: var(--r-pill);
  font-size: var(--fs-md); font-weight: 600; background: var(--paper); box-shadow: var(--edge); white-space: nowrap;
}
.chip[aria-pressed="true"], .chip.is-on { background: var(--night); color: var(--on-dark); 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: var(--r-xs);
  font-size: var(--fs-xs); font-weight: 600; background: var(--halo-2); color: var(--ink-2); white-space: nowrap;
}
.tag--best { background: var(--ok-soft); color: var(--ok-ink); }
.tag--avoid { background: var(--alert-soft); color: var(--alert-ink); }
.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; }
.wordmark-img { display: block; height: 26px; width: auto; }   /* Honey Moony 로고(img/honeymoony-logo*.svg) */
/* 두 사람 표시(화면 위 '우리 정보' 버튼): 빛나는 두 달(ART.moons) + 그 위에 둥실 떠 있는 포옹한 허니·무니(날개는 몸 뒤에서 파닥여요) */
.pair { position: relative; display: block; width: 144px; height: 120px; }
/* 두 사람 표시가 있는 위 막대는 표시 높이만큼 늘려요(잘리지 않게). 제목·로고는 위쪽에 그대로, 표시는 오른쪽 위에 */
.topbar:has(.pair) { height: auto !important; align-items: flex-start; }   /* 일정 화면은 높이가 직접 적혀 있어서 !important 로 이겨요 */
.topbar:has(.pair) > :first-child { margin-top: 14px; }
.topbar > button:has(> .pair) { margin-right: -14px; }
/* 홈·찾기·일정·준비 위 막대의 오른쪽 묶음('우리 여행' + 허니무니 두 달)은 로고 크기와 상관없이 같은 자리에 고정해요(홈 로고를 26px로 키우기 전 자리 그대로) */
/* 두 달 묶음은 오른쪽 끝에 붙이려고 막대 밖으로 13px 나가요(아래 right:-13px). 그 빈 상자 몫이 화면 가로 스크롤 폭을 늘리지 않게 막대 오른쪽 끝에서 잘라요(달 그림은 안쪽이라 그대로 보여요) */
.topbar:has(> .topbar__r) { position: relative; min-height: 128px; overflow-x: clip; }
.topbar > .topbar__r { position: absolute; top: 8px; right: 22px; }
.topbar > .topbar__r:has(.pair) { right: -13px; }
.topbar > .topbar__r .trips-btn { align-self: flex-end; margin-bottom: 2px; }   /* 홈 '우리 여행'은 로고에서 떨어지게 두 달 아래쪽 높이로 */
.pair svg { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; overflow: visible; }
.pair__hug, .pair__solo { position: absolute; left: 50%; bottom: 62px; animation: pairFloat 3.2s ease-in-out infinite; }
.pair__hug { width: 76px; isolation: isolate; }
.pair__hug img { display: block; width: 100%; height: auto; }
.pair__body { position: relative; z-index: 1; }
.pair__wing { position: absolute; inset: 0; z-index: 0; animation: flap .3s ease-in-out infinite alternate; }
.pair__wing--honey { transform-origin: 26% 56%; }
.pair__wing--mooni { transform-origin: 71% 53%; }
.pair__solo { height: 52px; width: auto; }
@keyframes pairFloat { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -5px); } }
@media (prefers-reduced-motion: reduce) { .pair__hug, .pair__solo, .pair__wing { animation: none; } }

/* ── 홈 히어로 ──────────────────────────────── */
.hero {
  position: relative; background: var(--sky); color: var(--on-dark); border-radius: 0 0 var(--r-2xl) var(--r-2xl); 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, rgb(255 241 197 / .16) 0%, rgb(255 241 197 / 0) 62%); pointer-events: none;
}
.hero > * { position: relative; }
.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: var(--fs-xs); font-weight: 700; margin-top: 4px; }
.hero__text { padding: 18px 28px 0; text-align: center; }
.hero__text .t-h1 { color: var(--on-dark); }
.hero__text .t-sub { color: var(--on-dark-2); 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: var(--r-pill); font-size: var(--fs-xs); font-weight: 600; background: rgba(255, 255, 255, .1); color: var(--on-dark); }
.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 var(--r-2xl) var(--r-2xl); }
.hero--plate .plate { position: absolute; inset: 0; border-radius: 0; }
.hero--plate .hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(var(--night-rgb) / .15) 0%, rgb(var(--night-rgb) / 0) 35%, rgb(var(--deep-rgb) / .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: var(--fs-sm); 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; }
/* 여기서 해 볼 것: 두 줄 카드(위 큰 사진, 아래 이름·지역·태그) */
.acards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 6px; }
.acard { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.acard__ph { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: rgb(255 255 255 / .06); }
.acard__b { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px 12px; flex: 1; }
.acard__t { font-size: var(--fs-md); font-weight: 700; line-height: 1.35; }
.acard__s { font-size: var(--fs-xs); color: var(--ink-3); }
.acard__tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 4px; }
.acard .chip--rev { align-self: flex-start; margin-top: 8px; }
.row__t { font-weight: 700; font-size: var(--fs-lg); line-height: 1.4; letter-spacing: -.01em; }
.row__s { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.5; margin-top: 2px; }
.hotel-compare-card { text-align: start; }
.hotel-compare-card__sub { display: block; }
.hotel-compare-card svg { flex: none; }
.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: var(--r-lg); 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: var(--r-xl); scroll-snap-align: start; color: var(--on-dark); 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, rgb(var(--deep-rgb) / 0) 40%, rgb(var(--deep-rgb) / .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; }

/* ── 찾기 ───────────────────────────────────── */
/* 찾기·일정·준비 탭 공통 머리: 홈과 똑같은 위 막대(.topbar — 왼쪽 로고 26px, 오른쪽 위 허니무니 두 달)를 그대로 쓰고,
   탭 이름은 로고 아래 왼쪽에 고정된 자리로 띄워요(오른쪽 두 달 높이와 상관없이 모든 탭에서 같은 자리) */
.tabhead { position: relative; min-height: 128px; }
.tabhead__t { position: absolute; left: 22px; top: 72px; margin: 0; }
.find-head { padding: 0 22px; }
/* 찾기 목록: 국문 이름 위 영문 여행지 이름(Dunbar Tall, js/en_name.js) — 모든 여행지가 NORDIC AURORA 와 같은 글자 높이, 길면 두 줄 */
.find-en { display: block; margin: 0 0 4px; color: #fff; opacity: .92; }   /* js/en_name.js 가 글자 높이를 맞춰 그려요 */
.find-en--lead { margin-bottom: 6px; filter: drop-shadow(0 2px 6px rgb(0 0 0 / .45)); }
/* 찾기 맨 위 카드 '🥇 가장 많이 겹쳐요': 반투명 분홍(브랜드 #ff8f9d) 유리 + 흰 글씨 */
.tag.lead__best { height: 30px; padding: 0 12px; font-size: 13px; font-weight: 800; background: rgb(255 143 157 / .55); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 190 198 / .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); gap: 0; }
.tag.lead__best .star { margin-right: 3px; color: #fff; font-size: 12px; line-height: 1; } /* 흰 별(글자 ★, 이모지는 색을 못 바꿔요) */
.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: flex; flex-direction: column; justify-content: flex-end; position: relative; margin: 18px 22px 0; width: calc(100% - 44px); min-height: 330px; border-radius: var(--r-2xl); overflow: hidden; color: var(--on-dark); text-align: left;   /* 내용이 많아지면(좁은 휴대폰) 카드가 늘어나요 */
}
.lead .plate { position: absolute; inset: 0; }
.lead__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(var(--deep-rgb) / .1) 0%, rgb(var(--deep-rgb) / 0) 30%, rgb(var(--deep-rgb) / .9) 100%); }
.lead__body { position: relative; margin: 66px 20px 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__moons { display: block; width: 78px; margin: -4px -8px 2px auto; }
.score__moons svg { display: block; width: 100%; height: auto; overflow: visible; }
.score small { display: block; font-size: var(--fs-xs); color: var(--ink-3); font-weight: 600; margin-top: 3px; white-space: nowrap; }
.rank-row .score b { font-size: 24px; }
.rank-row { align-items: flex-start; }
.rank-row .score { padding-top: 2px; }
.fitline { display: flex; flex-wrap: wrap; gap: 2px 10px; margin-top: 5px; font-size: var(--fs-xs); font-weight: 600; line-height: 1.5; }
.fitline__i { display: inline-flex; align-items: center; gap: 5px; }
.fitline__i::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.fitline__i--ok { color: var(--ok-ink); }
.fitline__i--warn { color: var(--honey-ink); }
.fitline__i--no { color: var(--alert-ink); }
.altline { margin-top: 4px; font-size: var(--fs-xs); line-height: 1.5; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.altline b { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); }
.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: rgb(var(--deep-rgb) / .38); color: var(--on-dark); backdrop-filter: blur(6px); gap: 0; }
.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: var(--r-lg); background: var(--halo-2); font-size: var(--fs-sm); color: var(--ink-2); width: calc(100% - 44px); }

/* ── 상세 ───────────────────────────────────── */
.dhero { position: relative; height: 380px; margin-top: calc(var(--sb-h) * -1); color: var(--on-dark); }
.dhero .plate { position: absolute; inset: 0; }
.dhero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(var(--deep-rgb) / .35) 0%, rgb(var(--deep-rgb) / 0) 30%, rgb(var(--deep-rgb) / .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; }
/* 일정 화면 위 카드처럼 사진 위에 영문 여행지 이름(img/dest-name/<id>.svg)을 크게 띄우고, 그 아래 대륙·비행 태그와 한국어 이름 */
.dhero__en { display: block; width: 100%; height: auto; margin-bottom: 18px; filter: drop-shadow(0 2px 8px rgb(0 0 0 / .45)); }
.dsheet { position: relative; margin-top: -32px; border-radius: var(--r-2xl) var(--r-2xl) 0 0; background: var(--halo); padding-top: 4px; }
.iconbtn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgb(var(--deep-rgb) / .4); color: var(--on-dark); backdrop-filter: blur(6px); gap: 0; }
.iconbtn svg { width: 20px; height: 20px; }
.iconbtn--plain { background: var(--paper); color: var(--night); box-shadow: var(--edge); 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: var(--fs-md); 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: 12px; }
.mo { text-align: center; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-3); }
.mo i, .legend .lg { position: relative; display: block; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgb(255 255 255 / .2), rgb(255 255 255 / .05) 72%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); }
.mo i { width: 100%; max-width: 24px; aspect-ratio: 1; margin: 0 auto 6px; }
.mo.is-best i, .legend .lg--best { background: radial-gradient(circle at 34% 28%, #fffdf4 0%, #fbedc2 40%, #e6d29c 74%, #c9b47c 100%);
  box-shadow: 0 0 7px 1px rgb(251 237 194 / .385), 0 0 2px rgb(255 253 244 / .63), inset -2px -3px 5px rgb(120 95 40 / .28); }
.mo.is-avoid i, .legend .lg--avoid { background: radial-gradient(circle at 60% 45%, rgb(20 23 58 / .9) 52%, rgb(20 23 58 / .55) 100%);
  box-shadow: inset 4px -1px 0 0 rgb(255 160 143 / .8), inset 0 0 0 1px rgb(255 160 143 / .25), 0 0 4px rgb(255 160 143 / .175); }
.mo.is-now { color: #fbedc2; font-weight: 800; }
.mo.is-now i::after, .legend .lg--now::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 200deg, var(--brand-pink) 0 50%, var(--brand-mint) 50% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  filter: drop-shadow(0 0 2px rgb(255 143 157 / .42)) drop-shadow(0 0 2px rgb(141 191 177 / .42)); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; font-size: var(--fs-xs); color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend .lg { width: 12px; height: 12px; }
.legend .lg--now::after { inset: -3px; }

/* 우리 취향과 비교: 막대는 빛나는 아이보리(로고 색), 끝에 작은 빛 점. 빛(번짐 크기·진하기)은 처음보다 30% 줄였어요 */
.axis { display: grid; grid-template-columns: 62px 1fr 26px 50px; gap: 10px; align-items: center; padding: 7px 0; font-size: var(--fs-md); font-weight: 600; }
.axis__bar { position: relative; height: 10px; border-radius: 6px; background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
.axis__fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px;
  background: linear-gradient(90deg, rgb(233 230 219 / .35), #f3ead0 55%, #fffaf0);
  box-shadow: 0 0 7px rgb(251 237 194 / .35), 0 0 2px rgb(255 250 240 / .56); }
.axis__fill::after { content: ''; position: absolute; right: -1px; top: 50%; width: 12px; height: 12px; border-radius: 50%; transform: translateY(-50%);
  background: radial-gradient(circle at 40% 35%, #fff, #fbedc2 60%); box-shadow: 0 0 7px 1px rgb(251 237 194 / .49); }
.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: var(--fs-base); }

.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: var(--fs-lg); display: block; white-space: nowrap; }
.empty-price { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 600; }

.quote { position: relative; padding: 20px 20px 18px 22px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--edge); }
.quote p { font-family: var(--f-display); font-size: 16.5px; line-height: 1.7; letter-spacing: -.015em; font-weight: 500; }
.quote--review p { font-family: "LeeSeoyun", var(--f-ui); font-size: 18px; line-height: 1.38; letter-spacing: 0; font-weight: 400; -webkit-text-stroke: .55px currentColor; paint-order: stroke fill; }   /* 한국 신혼부부 후기 글은 손글씨(이서윤체). 굵기가 하나뿐이라 같은 색 얇은 외곽선으로 굵게, 줄 사이(행간)는 1.75의 절반 정도 */
.quote small { display: block; margin-top: 10px; }
.note-warn { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-md); 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: var(--r-lg); font-size: var(--fs-md); line-height: 1.6; }
.preg--safe { background: var(--ok-soft); color: var(--ok-ink); }
.preg--caution { background: var(--honey-soft); color: var(--honey-ink); }
.preg--not_recommended { background: var(--alert-soft); color: var(--alert-ink); }
.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 + var(--safe-b));
  background: linear-gradient(180deg, rgb(var(--halo-rgb) / 0) 0%, var(--halo) 38%); display: flex; gap: 10px;
}
.cta-bar .btn { box-shadow: var(--sh-float); }

/* ── 일정 ───────────────────────────────────── */
.plan-head { position: relative; padding: 0 22px 22px; }
/* 일정 맨 위: 여행지 사진이 꽉 찬 넓은 네모 카드. 아래로 어둡게 깔고, 영문 이름(Dunbar Tall Light 윤곽선 SVG, img/dest-name/)·요약·동선 상자를 올려요 */
.plan-hero { position: relative; display: block; width: 100%; margin-top: 12px; border-radius: 22px; overflow: hidden; text-align: left; isolation: isolate;
  background: var(--night-2); box-shadow: 0 18px 40px -20px rgb(0 0 0 / .7); }
.plan-hero__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.plan-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(10 12 32 / .15) 0%, rgb(10 12 32 / .45) 38%, rgb(10 12 32 / .82) 100%); }
.plan-hero__in { display: block; padding: 96px 16px 16px; }
.plan-hero__en { display: block; width: 100%; height: auto; filter: drop-shadow(0 2px 8px rgb(0 0 0 / .45)); }   /* 왼쪽·오른쪽 여백(16px)을 같게, 카드 폭에 꽉 차게 */
.plan-hero__sub { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; color: rgb(255 255 255 / .85); text-shadow: 0 1px 6px rgb(0 0 0 / .5); }
.plan-hero .rchips { margin-top: 12px; }
.plan-hero .rchip { background: rgb(10 12 32 / .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22); color: #fff; }
.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: var(--fs-xs); font-weight: 700; color: var(--ink-3); margin-bottom: 2px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: var(--r-md); background: var(--halo-2); margin: 12px 0 14px; }
.seg button { height: 38px; border-radius: var(--r-sm); font-weight: 700; font-size: var(--fs-sm); 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: var(--sh-1); }
.opt__title { font-weight: 700; font-size: var(--fs-lg); line-height: 1.5; letter-spacing: -.01em; }
.opt__desc { font-size: var(--fs-md); color: var(--ink-2); margin-top: 4px; line-height: 1.65; }
.opt__meta { margin-top: 12px; display: grid; gap: 6px; font-size: var(--fs-sm); color: var(--ink-2); }
.opt__meta b { color: var(--night); font-weight: 700; margin-right: 6px; }

.budget { margin: 0 22px; padding: 20px; border-radius: var(--r-xl); background: var(--night); color: var(--on-dark); }
.budget .t-sub { color: var(--on-dark-2); }
.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: var(--r-md); background: rgba(255, 255, 255, .08); width: 100%; }
.tier[aria-pressed="true"] { background: var(--act); color: var(--act-ink); }
.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, currentColor 0 42%, transparent 46%); }
.tier__t { font-size: var(--fs-md); font-weight: 700; line-height: 1.4; }
.tier__p { font-size: var(--fs-xs); 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: var(--r-lg); background: var(--paper); box-shadow: var(--edge); font-weight: 700; font-size: var(--fs-md); line-height: 1.35; }
.out svg { width: 22px; height: 22px; }
.out small { font-weight: 500; color: var(--ink-3); font-size: var(--fs-xs); }

/* ── 준비 ───────────────────────────────────── */
.prep-head { display: flex; align-items: center; gap: 18px; padding: 10px 22px 0; }
.moonphase { width: 96px; height: 96px; flex: none; overflow: visible; }   /* 둘레 빛이 잘리지 않게 */
.moonphase__dark { opacity: .2; }   /* 아직 안 찬 쪽: 같은 유리 달을 흐리게 */
.group { padding: 24px 22px 0; }
.group__h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; }
.group__d { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 600; }
.assign {
  flex: none; height: 30px; min-width: 52px; padding: 0 10px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: 4px; color: var(--on-person); text-align: center;
}
.assign--none { background: transparent; color: var(--ink-3); box-shadow: var(--edge-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: var(--r-md); background: var(--paper); font-size: var(--fs-sm); line-height: 1.6; color: var(--ink-2); box-shadow: var(--edge); }
.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(--sky); color: var(--on-dark); border-radius: 0 0 var(--r-2xl) var(--r-2xl); margin-top: calc(var(--sb-h) * -1); padding-top: calc(var(--sb-h) + 18px); }
.today-hero .t-sub { color: var(--on-dark-2); }
.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: var(--r-lg); background: var(--alert-soft); color: var(--alert-ink); }
.sos svg { width: 26px; height: 26px; flex: none; }
.sos b { display: block; font-size: var(--fs-base); }
.sos span { font-size: var(--fs-sm); }
.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: var(--fs-lg); }
.settle { margin-top: 14px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--honey-soft); color: var(--honey-ink); font-weight: 600; font-size: var(--fs-md); 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: calc(12px + var(--safe-l)); right: calc(12px + var(--safe-r)); bottom: calc(12px + var(--safe-b)); height: 64px; border-radius: var(--r-xl);
  background: rgb(251 251 254 / .94); backdrop-filter: blur(14px); display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 6px;   /* 탭이 4개든 5개든 같은 너비로 나눠요 */
  box-shadow: var(--sh-bar), var(--edge);
}
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; border-radius: var(--r-lg); font-size: var(--fs-xs); 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); }
.tabbar__brand { display: none; }   /* 데스크톱 옆 메뉴에서만 보여요 */
.app.no-tabs .tabbar { display: none; }

/* ── 시트 · 토스트 ──────────────────────────── */
.scrim { position: absolute; inset: 0; z-index: 70; background: var(--scrim); 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: var(--r-2xl) var(--r-2xl) 0 0; padding: 12px calc(22px + var(--safe-r)) calc(26px + var(--safe-b)) calc(22px + var(--safe-l)); animation: up .26s cubic-bezier(.2, .8, .2, 1);
}
/* '예약했어요' 창(예약 정보): 연하고 밝은 아이보리 반투명 유리 — 뒤 일정이 흐리게 비쳐요. 글씨는 진한 남색 */
[data-sheet="book"] .sheet { background: rgb(255 250 234 / .9); -webkit-backdrop-filter: blur(18px) saturate(1.15); backdrop-filter: blur(18px) saturate(1.15);
  color: #1c214d; box-shadow: inset 0 1px 0 rgb(255 255 255 / .6); }
/* 고른 사람(나·짝꿍·반반): 고른 칸은 거의 불투명한 밝은 칸 + 그림자·굵은 글씨, 안 고른 칸은 투명 + 옅은 글씨 */
[data-sheet="book"] .who-tabs { background: rgb(28 33 77 / .08); box-shadow: inset 0 0 0 1px rgb(28 33 77 / .12); }
[data-sheet="book"] .who-tabs button { color: rgb(28 33 77 / .55); font-weight: 600; }
[data-sheet="book"] .who-tabs button[aria-pressed="true"] { background: rgb(255 253 246 / .97); color: #1c214d; font-weight: 800;
  box-shadow: 0 6px 16px -6px rgb(28 33 77 / .35), 0 0 0 1px rgb(255 255 255 / .9); }   /* 테두리 없이 거의 불투명한 밝은 칸이 떠올라요 */
[data-sheet="book"] .input { background: rgb(255 255 255 / .6); color: #1c214d; box-shadow: inset 0 0 0 1px rgb(28 33 77 / .15); }
[data-sheet="book"] .sheet__grab { background: rgb(28 33 77 / .3); }
.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: var(--on-dark); padding: 12px 18px; border-radius: var(--r-md); font-size: var(--fs-md); font-weight: 600; box-shadow: var(--sh-pop); 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: var(--r-lg); 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: var(--fs-sm); 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: var(--fs-lg); font-weight: 700; font-variant-numeric: lining-nums; }
.cal__nav button { display: grid; place-items: center; padding: 0; width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--halo); font-size: 22px; line-height: 1; color: var(--night); }   /* 화살표(그린 꺾쇠)를 버튼 정가운데에 */
.cal__nav button svg { display: block; }
.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: var(--fs-xs); font-weight: 600; color: var(--ink-3); padding: 4px 0 6px; }
.cal__wd span:first-child { color: var(--sun); }
.cal__g { row-gap: 2px; }
.cal__d { width: 100%; text-align: center; height: 42px; font-size: var(--fs-base); font-weight: 600; font-variant-numeric: lining-nums; color: var(--ink); position: relative; z-index: 0; }
.cal__d.is-sun { color: var(--sun); }
.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: var(--on-dark); }
.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: 200px; border-radius: var(--r-xl); background: var(--paper); box-shadow: var(--edge); text-align: center; }
.role b { font-size: 26px; font-weight: 700; color: var(--night); }
.role span { font-size: var(--fs-sm); color: var(--ink-2); }
/* 글자 위에 앉은 캐릭터(남편=무니, 아내=허니). 그림은 work/design/onboarding/tools/make_sit_characters.swift 로 만들어요 */
.role__ch { display: block; height: 80px; width: auto; margin-bottom: 4px; }
.role[aria-pressed="true"] { background: var(--night); box-shadow: none; }
.role[aria-pressed="true"] b { color: var(--on-dark); }
.role[aria-pressed="true"] span { color: var(--on-dark-2); }

/* 여행 종류 카드(온보딩·새 여행). 풀이 빈 종류는 흐리게 */
.typegrid { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.typecard { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 20px 22px; border-radius: var(--r-xl); background: var(--paper); box-shadow: var(--edge); text-align: left; }
.typecard b { font-size: 22px; font-weight: 700; color: var(--night); }
.typecard span { font-size: var(--fs-sm); color: var(--ink-2); }
.typecard[aria-pressed="true"] { background: var(--night); box-shadow: none; }
.typecard[aria-pressed="true"] b { color: var(--on-dark); }
.typecard[aria-pressed="true"] span { color: var(--on-dark-2); }
.typecard:disabled { opacity: .55; cursor: default; }
.typecard__soon { position: absolute; top: 18px; right: 18px; font-style: normal; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); padding: 3px 10px; border-radius: 999px; box-shadow: var(--edge); }
.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: var(--r-md); 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(--ok); }
.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: var(--r-md); background: var(--halo-2); margin: 10px 0 6px; }
.who-tabs button { height: 42px; border-radius: var(--r-sm); font-weight: 700; font-size: var(--fs-md); 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: var(--sh-1); }
.who-tabs i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.who-ch { display: block; height: 26px; width: auto; flex: none; }   /* 동그라미 대신 캐릭터(허니·무니, 반반은 포옹한 둘) */
.who-ch--both { height: 22px; }
.field { display: block; margin: 12px 0; }
.field span { display: block; font-size: var(--fs-sm); font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.namepair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.namepair .field { min-width: 0; }
.input { width: 100%; height: 52px; border-radius: var(--r-md); border: 0; padding: 0 16px; background: var(--paper); box-shadow: var(--edge); font-size: var(--fs-lg); }
.input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--focus); }
.code { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--edge); }
.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: var(--on-dark); }
.ob--dark .t-sub { color: var(--on-dark-2); }
/* 첫 화면(Illustrator 시안 onboard-design): 남색→검정 그라데이션, 유리 달, 크림 버튼 */
.ob--intro, .view.view--flow:has(.ob--intro) { background: var(--sky); }
.ob--intro { padding-top: calc(var(--sb-h) + 29px); }
.ob1__logo { display: flex; justify-content: center; height: 30px; }
.ob1__logo img { height: 28px; width: auto; }
.splash.splash--glass { display: grid; place-items: center; height: auto; margin-bottom: 36px; }
.splash.splash--glass svg { display: block; width: 207px; height: auto; overflow: visible; }
/* 허니(벌)·무니(달) 캐릭터: 허니는 분홍 원, 무니는 민트 원 위에 올라타 함께 미끄러져 들어와요
   (가로 움직임은 m1g·m2g와 같은 시점·곡선이고, 원이 말랑하게 눌릴 때 같이 흔들려요).
   두 원이 닿으면 서로에게 쓱 미끄러져 포개지며 안겨요.
   안기는 마지막 자리·크기는 포옹 그림(char-hug.png) 속 두 캐릭터와 겹치게 맞춰 둬서, 그 순간 포옹 그림으로 스며들듯 바뀌어요.
   안은 뒤엔 뒤에서 따뜻한 빛이 번지고 살랑살랑 떠 있어요.
   그림은 work/design/onboarding/characters/psd/*.psd 에서 고치고 tools/export_character_psds.jsx 로 내보내요 */
.duo { position: relative; width: 207px; padding-top: 104px; }
.duo__fly, .duo__hug, .duo__glow { position: absolute; top: 0; pointer-events: none; }
.duo__arc { display: block; width: 100%; }
/* 허니는 74px의 1.15배(85px)로 고정해요. 예전 74px 자리에서 발밑(아래 가운데 90%)을 기준으로 키운 자리예요 */
.duo__fly--honey { left: 29.5px; top: -4.8px; width: 85px; }
.duo__fly--mooni { left: 86px; top: 7px; width: 96px; }
/* 원을 타고 오기: 원 이동(SVG 단위)을 화면 크기(207/622)로 줄인 값 */
.duo__fly--honey { animation: rideHoney 2.2s .35s both; }
.duo__fly--mooni { animation: rideMooni 2.2s .35s both; }
/* 원이 닿을 때(52%)까지는 원과 같이 오고, 그 뒤 원이 눌렸다 튕기는 건 따라가지 않고 그대로 감속해 멈춰요(부딪히는 느낌 없이) */
@keyframes rideHoney {
  0% { transform: translateX(-63px); animation-timing-function: cubic-bezier(.55, 0, .85, .45); }
  52% { transform: translateX(-8.7px); animation-timing-function: cubic-bezier(.2, .6, .3, 1); }
  100% { transform: none; }
}
@keyframes rideMooni {
  0% { transform: translateX(63px); animation-timing-function: cubic-bezier(.55, 0, .85, .45); }
  52% { transform: translateX(8.7px); animation-timing-function: cubic-bezier(.2, .6, .3, 1); }
  100% { transform: none; }
}
/* 원 위에 앉은 자리(바깥쪽으로 조금 비켜 앉아요) → 두 원이 닿기 직전(1.2초)부터 원이 겹치듯 옆으로만 스르륵 다가가요
   (위로 솟거나 기울지 않아요). 다가가는 동안 포옹 포즈가 천천히 스며들 듯 나타나요 */
.duo__arc { transform-origin: 50% 90%; }
.duo__fly--honey .duo__arc { animation: glideHoney .8s 1.2s cubic-bezier(.45, 0, .3, 1) both; }
.duo__fly--mooni .duo__arc { animation: glideMooni .8s 1.2s cubic-bezier(.45, 0, .3, 1) both; }
@keyframes glideHoney {
  0% { transform: translate(-14px, 32px); }
  100% { transform: translateY(32px); }
}
@keyframes glideMooni {
  0% { transform: translate(14px, 18px); }
  100% { transform: translateY(18px); }
}
/* 타고 오는 동안엔 살짝 기울어 있다가, 다가가며 천천히 똑바로 펴져요(흔들리지 않아요) */
.duo__ch { transform-origin: 50% 90%; }
.duo__fly--honey .duo__ch { animation: rockHoney 2.2s .35s both, chOut .55s 1.5s ease-in both; }
.duo__fly--mooni .duo__ch { animation: rockMooni 2.2s .35s both, chOut .55s 1.5s ease-in both; }
@keyframes rockHoney { 0%, 40% { transform: rotate(-4deg); animation-timing-function: ease-in-out; } 80%, 100% { transform: none; } }
@keyframes rockMooni { 0%, 40% { transform: rotate(4deg); animation-timing-function: ease-in-out; } 80%, 100% { transform: none; } }
/* 낱장은 포옹 포즈가 나타나는 동안(1.5~2.05초) 천천히 옅어져요(포옹 포즈는 빨리 짙어지고 낱장은 늦게 옅어져 가운데가 비지 않아요) */
@keyframes chOut { 0% { opacity: 1; } 100% { opacity: 0; } }
/* 날갯짓: 캐릭터마다 날개만 떼어 낸 그림(-wing)을 몸(-body) 뒤에 두고, 날개 뿌리를 중심으로 계속 파닥여요
   (다가오는 동안은 빠르게, 안은 뒤엔 조금 느긋하게). 그림은 work/design/onboarding/tools/split_wings.swift 로 나눠요 */
.duo__ch { position: relative; display: block; }
.duo__ch img, .duo__hug img { display: block; width: 100%; height: auto; }
/* 날개는 몸 뒤에 깔아요(겹치는 순서를 직접 정하지 않으면 absolute 인 날개가 몸 위로 올라와요) */
.duo__ch, .duo__hug { isolation: isolate; }
.duo__body { position: relative; z-index: 1; }
.duo__wing { position: absolute; inset: 0; z-index: 0; animation: flap .2s ease-in-out infinite alternate; }
.duo__fly--honey .duo__wing { transform-origin: 58% 55%; }
.duo__fly--mooni .duo__wing { transform-origin: 64% 45%; }
/* 포옹 날개는 hug.psd 의 '허니날개'·'무니날개' 레이어(포옹 그림과 같은 캔버스). 기준점은 날개가 몸에 붙는 쪽 */
.duo__hug .duo__wing { animation-duration: .3s; }
.duo__hug .duo__wing--honey { transform-origin: 26% 56%; }
.duo__hug .duo__wing--mooni { transform-origin: 71% 53%; }
@keyframes flap { from { transform: none; } to { transform: scale(.74, .96); } }
.duo__hug { left: 35px; width: 137px; transform-origin: 50% 85%;
  animation: hugIn .55s 1.5s ease-out both, hugFloat 3.6s 2.5s ease-in-out infinite; }
/* 포옹 포즈는 낱장이 앉아 있던 높이 쪽(조금 아래)에서 옅게 시작해 제자리로 스며들어요 */
@keyframes hugIn { 0% { opacity: 0; transform: translateY(12px); } 100% { opacity: 1; transform: none; } }


@keyframes hugFloat { 0%, 100% { transform: none; } 50% { transform: translateY(-4px); } }
.duo__glow { left: 14px; top: -14px; width: 179px; height: 132px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 221, 160, .42), rgba(255, 190, 170, .16) 60%, transparent);
  filter: blur(6px); animation: glowIn 1.4s 1.7s ease-out both, glowPulse 3.6s 3.1s ease-in-out infinite; }
@keyframes glowIn { 0% { opacity: 0; transform: scale(.6); } 100% { opacity: 1; transform: none; } }
@keyframes glowPulse { 0%, 100% { opacity: 1; } 50% { opacity: .7; } }
/* 유리 달: 분홍·민트 원이 양옆에서 다가와 살짝 더 파고들었다 말랑하게 되돌아오며(쫀득) 겹치고,
   닿는 순간부터 겹친 곳이 옅은 아이보리(#e9e6db)가 돼요. 마지막엔 시안 그림이 서서히 덮여 시안과 같은 장면으로 끝나요 */
.splash.splash--glass .m1, .splash.splash--glass .m2 { transform-box: fill-box; transform-origin: center; }
.splash.splash--glass .m1 { animation: m1g 2.2s .35s both; }
.splash.splash--glass .m2 { animation: m2g 2.2s .35s both; }
.splash.splash--glass .kx { animation: kxg 2.2s .35s both; }
.splash.splash--glass .glass { animation: glassg 3s ease .35s both; }
@keyframes glassg { 0%, 70% { opacity: 0; } 100% { opacity: 1; } }
@keyframes m1g {
  0% { transform: translateX(-190px); animation-timing-function: cubic-bezier(.55, 0, .85, .45); }
  52% { transform: translateX(-26px) scale(.99, 1.01); animation-timing-function: cubic-bezier(.2, .6, .35, 1); }
  66% { transform: translateX(14px) scale(.95, 1.04); animation-timing-function: cubic-bezier(.4, 0, .4, 1); }
  82% { transform: translateX(-5px) scale(1.015, .99); animation-timing-function: cubic-bezier(.4, 0, .4, 1); }
  100% { transform: none; }
}
@keyframes m2g {
  0% { transform: translateX(190px); animation-timing-function: cubic-bezier(.55, 0, .85, .45); }
  52% { transform: translateX(26px) scale(.99, 1.01); animation-timing-function: cubic-bezier(.2, .6, .35, 1); }
  66% { transform: translateX(-14px) scale(.95, 1.04); animation-timing-function: cubic-bezier(.4, 0, .4, 1); }
  82% { transform: translateX(5px) scale(1.015, .99); animation-timing-function: cubic-bezier(.4, 0, .4, 1); }
  100% { transform: none; }
}
/* 겹친 곳(노란빛)을 자르는 m1 원: m2 안에 있어서 m1과 m2의 상대 거리만큼 움직여요(m1g·m2g와 같은 시점·곡선) */
@keyframes kxg {
  0% { transform: translateX(-380px); animation-timing-function: cubic-bezier(.55, 0, .85, .45); }
  52% { transform: translateX(-54.1px); animation-timing-function: cubic-bezier(.2, .6, .35, 1); }
  66% { transform: translateX(21.1px); animation-timing-function: cubic-bezier(.4, 0, .4, 1); }
  82% { transform: translateX(-7.5px); animation-timing-function: cubic-bezier(.4, 0, .4, 1); }
  100% { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .splash.splash--glass .m1, .splash.splash--glass .m2, .splash.splash--glass .kx, .splash.splash--glass .glass { animation: none; } }
body.is-bare .splash.splash--glass .m1, body.is-bare .splash.splash--glass .m2, body.is-bare .splash.splash--glass .kx, body.is-bare .splash.splash--glass .glass { animation: none; }
@media (prefers-reduced-motion: reduce) { .duo__fly { display: none; } .duo__hug, .duo__glow, .duo__wing { animation: none; } }
body.is-bare .duo__fly { display: none; } body.is-bare .duo__hug, body.is-bare .duo__glow, body.is-bare .duo__wing { animation: none; }
.ob1__title img { display: block; height: auto; max-width: 100%; }
/* 2단계부터(시작 다음 화면들): 첫 화면과 같은 색·글꼴로 이어요.
   바탕 남색→검정, 글씨 #fff5ef, 행동 버튼 크림(#fff1c5 / #394d56), 나=분홍 #ff8f9d · 짝꿍=민트 #8dbfb1,
   제목은 학교안심 알림장 B를 윤곽선으로 바꾼 그림(.ob-title) */
.ob--night, .view.view--flow:has(.ob--night) { background: linear-gradient(180deg, #1c214d 0%, #000 90%); }
.ob--night {
  color: #fff5ef;
  --night: #fff5ef; --ink-2: rgba(255, 245, 239, .78); --ink-3: rgba(255, 245, 239, .6);
  --paper: rgba(255, 255, 255, .07); --halo: rgba(255, 255, 255, .08); --halo-2: rgba(255, 241, 197, .16);
  --line: rgba(255, 255, 255, .12); --line-strong: rgba(255, 255, 255, .24);
  --dusk: #ff8f9d; --lagoon: #8dbfb1; --honey: #fff1c5; --honey-soft: rgba(255, 241, 197, .16);
}
.ob-title img { display: block; height: auto; max-width: 100%; }
/* 위쪽 머리: 가운데 로고(첫 화면과 같은 크기·자리), 왼쪽 이전 버튼, 아래 단계 점 */
.ob--night { padding-top: calc(var(--sb-h) + 20px); }
.ob-head { position: relative; display: flex; align-items: center; justify-content: center; height: 40px; }
.ob-head .iconbtn { position: absolute; left: 0; top: 0; width: 40px; height: 40px; }
.ob-head__logo { height: 28px; width: auto; }
.ob--night .ob__dots { justify-content: center; margin-top: 14px; }
.ob--night .t-h1 { color: #fff5ef; }
.ob--night .t-sub { font-size: 15px; font-weight: 500; line-height: 1.45; letter-spacing: -.02em; color: #fff5ef; }
.ob--night .t-cap a { color: #fff1c5; }
.ob--night > .btn, .ob--night .btn--night { background: #fff1c5; color: #394d56; font-size: 15px; box-shadow: none; }
.ob--night .btn--ghost { color: #fff5ef; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.ob--night .btn[disabled] { opacity: .35; }
.ob--night .iconbtn--plain { background: rgba(255, 255, 255, .1); color: #fff5ef; box-shadow: none; }
.ob--night .ob__dots i { background: rgba(255, 245, 239, .22); }
.ob--night .ob__dots i.is-on { background: #fff1c5; }
/* 달력 */
:is(.ob--night, .view--night, .sheet--night) .cal__d { color: #fff5ef; }
:is(.ob--night, .view--night, .sheet--night) .cal__d.is-sun, :is(.ob--night, .view--night, .sheet--night) .cal__wd span:first-child { color: #ff8f9d; }
:is(.ob--night, .view--night, .sheet--night) .cal__d.is-start, :is(.ob--night, .view--night, .sheet--night) .cal__d.is-end { color: #394d56; }
:is(.ob--night, .view--night, .sheet--night) .cal__d.is-start::before, :is(.ob--night, .view--night, .sheet--night) .cal__d.is-end::before { background: #fff1c5; }
:is(.ob--night, .view--night, .sheet--night) .cal__sum b { color: #fff5ef; }
:is(.ob--night, .view--night, .sheet--night) .cal__nav button { color: #fff1c5; }   /* 이전·다음 달 화살표도 밤하늘에서 보이게 */
/* 남편·아내: 고른 카드는 반투명 아이보리(노란 캐릭터가 묻히지 않게) + 아이보리 테두리, 글씨는 밝게 */
.ob--night .role[aria-pressed="true"] { background: rgba(255, 241, 197, .18); box-shadow: inset 0 0 0 1.5px rgba(255, 241, 197, .75); }
.ob--night .role[aria-pressed="true"] b { color: #fff1c5; }
.ob--night .role[aria-pressed="true"] span { color: rgba(255, 245, 239, .8); }
.ob--night .typecard[aria-pressed="true"] { background: #fff1c5; }
.ob--night .typecard[aria-pressed="true"] b { color: #394d56; }
.ob--night .typecard[aria-pressed="true"] span { color: rgba(57, 77, 86, .78); }
/* 순서 정하기 */
.ob--night .rank__n, .ob--night .rank__i:first-child .rank__n { color: #1c214d; }
.ob--night .rank__b button { color: #fff5ef; }
/* MBTI: 고른 칸은 앞 화면들처럼 반투명 아이보리 + 아이보리 테두리, 글씨는 밝게 */
.ob--night .mbrow__b button[aria-pressed="true"] { background: rgba(255, 241, 197, .18); box-shadow: inset 0 0 0 1.5px rgba(255, 241, 197, .75); color: #fff1c5; }
.ob--night .mbrow__b button[aria-pressed="true"] span { color: rgba(255, 245, 239, .8); }
/* 입력칸 · 초대 코드 */
.ob--night .input { color: #fff5ef; }
.ob--night .input::placeholder { color: rgba(255, 245, 239, .4); }
.ob--night .input:focus { box-shadow: inset 0 0 0 2px #fff1c5; }
/* 밤하늘 화면·시트의 여러 줄 입력칸(메모 등 textarea): 글자색을 따로 안 주면 브라우저 기본(검정)이라 안 보여요 */
:is(.view--night, .sheet--night, .ob--night) textarea { color: var(--on-dark); caret-color: #fff1c5; }
:is(.view--night, .sheet--night, .ob--night) textarea::placeholder { color: rgb(255 245 239 / .45); }
.ob--night .ob-title + .t-sub { margin-top: 14px !important; }
/* 로그인 버튼: 글씨 가운데, 검정(Apple) 버튼은 어두운 바탕에서 보이게 테두리 */
.ob--night .cl-btn { text-align: center; }
.ob--night .cl-btn--apple { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32); }
/* 초대 화면: 나의 유리 달 하나 + 짝꿍 자리(점선) */
/* 초대 화면 두 달: A.moons(ghost) — 첫 화면처럼 빛나는 유리 달. 내 달만 채우고 짝꿍 자리는 빈 점선(남편=민트 채움, 아내=분홍 채움) */
.ob__ghost--glass { width: 180px; margin-left: 4px; }
.ob__ghost--glass svg { display: block; width: 100%; height: auto; overflow: visible; }
.ob1__sub { margin-top: 34px; font-size: 15px; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; color: #fff5ef; }
.ob--intro > .btn { background: #fff1c5; color: #394d56; font-size: 15px; box-shadow: none; }
.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, .splash .glass, .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: var(--r-lg); background: #0a0c20; }
body.has-frame .island { display: block; }

.hint { display: flex; gap: 10px; align-items: flex-start; margin-top: 4px; font-size: var(--fs-md); 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, body.is-bare .splash .glass { animation: none; }

/* 취향 순위 목록 */
/* 온보딩 순서 정하기: 왼쪽엔 1순위 사진 카드(바꿀 때마다 스르륵 바뀌어요).
   오른쪽엔 순서 목록(164px, 숫자·이름·설명·위아래). 1순위 줄은 반투명 아이보리(포인트 색) + 아이보리 테두리. 사진은 work/design/onboarding/rank/*.webp → mobile/img/ob-rank-*.jpg */
/* 목록은 설명이 한 줄로 들어가는 폭(auto), 사진 카드는 남는 폭의 70%(목록 쪽에 붙여요) */
/* 위쪽 맞춤: 목록은 늘 제자리에 있어요(사진은 네 장 모두 같은 비율) */
.obrank { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: start; margin-top: 18px; }
.obwin { width: 70%; margin-left: auto; }
/* 찾기 › 우리 취향 창: 사진 높이를 오른쪽 목록(1~4순위) 높이에 맞춰 줄이고, 목록이 남은 폭을 써요(사진이 왼쪽으로 쏠리지 않게) */
.sheet .obrank { grid-template-columns: auto minmax(0, 1fr); align-items: stretch; gap: 12px; }
.sheet .obwin { width: auto; height: 100%; margin: 0; }
.sheet .obwin__view { width: auto; height: 100%; }
.sheet .obwin__cap b { font-size: 24px; }
/* 사진 카드: 테두리 없이 둥근 모서리(26px) 사각형, 위·아래로 옅게 어두워져 글자가 읽혀요. 왼쪽 위엔 1순위 이름, 아래엔 유리 칩 */
.obwin__view { position: relative; width: 100%; aspect-ratio: 1052 / 1495; border-radius: 20px; overflow: hidden; isolation: isolate; background: #8aa4c4;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .4); }
.obwin__view::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none;
  background: linear-gradient(to bottom, rgba(10, 12, 30, .34), transparent 30%, transparent 66%, rgba(10, 12, 30, .34));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.obwin__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; z-index: 0; transition: opacity .35s ease; }
.obwin__bg.is-prev { opacity: 1; }
.obwin__bg.is-on { opacity: 1; z-index: 1; }
.obwin__bg.is-new { animation: winIn .7s ease both; }
@keyframes winIn { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: none; } }
.obwin__cap { position: absolute; left: 16px; top: 15px; right: 10px; z-index: 3; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .25); }
.obwin__cap, .obwin__chips { opacity: 0; transition: opacity .3s ease; }
.obwin__cap.is-on, .obwin__chips.is-on { opacity: 1; }
.obwin__cap small { display: block; font-size: 16.5px; opacity: .82; }
.obwin__cap b { display: block; font-family: var(--f-head); font-size: 28.5px; line-height: 1.2; }
.obwin__chips { position: absolute; left: 14px; right: 10px; bottom: 14px; z-index: 3; display: flex; flex-wrap: wrap; gap: 5px; }
.obwin__chip { padding: 4px 8.5px; border-radius: 999px; font-size: 10.5px; color: #fff; white-space: nowrap;
  background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.obwin__cap.is-new, .obwin__chips.is-new { animation: capIn .6s .1s ease both; }
@keyframes capIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* 마우스·키보드로 줄에 가면 그 항목의 사진·이름·칩만 보여요(data-show) */
.obwin__view[data-show="romance"] .obwin__bg--romance { opacity: 1; z-index: 2; animation: none; }
.obwin__view[data-show="sightseeing"] .obwin__bg--sightseeing { opacity: 1; z-index: 2; animation: none; }
.obwin__view[data-show="relaxation"] .obwin__bg--relaxation { opacity: 1; z-index: 2; animation: none; }
.obwin__view[data-show="activity"] .obwin__bg--activity { opacity: 1; z-index: 2; animation: none; }
.obwin__view[data-show] .obwin__cap.is-on, .obwin__view[data-show] .obwin__chips.is-on { opacity: 0; animation: none; }
.obwin__view[data-show="romance"] .obwin__cap.obwin__cap--romance, .obwin__view[data-show="romance"] .obwin__chips.obwin__chips--romance { opacity: 1; }
.obwin__view[data-show="sightseeing"] .obwin__cap.obwin__cap--sightseeing, .obwin__view[data-show="sightseeing"] .obwin__chips.obwin__chips--sightseeing { opacity: 1; }
.obwin__view[data-show="relaxation"] .obwin__cap.obwin__cap--relaxation, .obwin__view[data-show="relaxation"] .obwin__chips.obwin__chips--relaxation { opacity: 1; }
.obwin__view[data-show="activity"] .obwin__cap.obwin__cap--activity, .obwin__view[data-show="activity"] .obwin__chips.obwin__chips--activity { opacity: 1; }
.obwin__list { list-style: none; display: grid; gap: 8px; min-width: 0; }
.obwin__i { display: flex; align-items: center; gap: 7px; min-height: 64px; padding: 6px 2px 6px 8px; border-radius: 20px;
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 245, 239, .1); color: #fff5ef; }
.obwin__i.is-top { background: rgba(255, 241, 197, .18); box-shadow: inset 0 0 0 1.5px rgba(255, 241, 197, .75); color: #fff1c5; }
.obwin__n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 245, 239, .14);
  font-family: var(--f-num); font-weight: 700; font-size: 14px; font-variant-numeric: lining-nums; }
.obwin__i.is-top .obwin__n { background: #fff1c5; color: #1c214d; }
.obwin__t { flex: 1; min-width: 0; white-space: nowrap; }
.obwin__t b { display: block; font-size: 15px; line-height: 1.3; }
.obwin__t small { display: block; margin-top: 1px; font-size: 11px; line-height: 1.35; color: rgba(255, 245, 239, .66); }
/* 휴대폰 폭: 사진과 목록을 반반으로(넓은 화면처럼 사진이 크게). 목록 설명은 두 줄까지 줄바꿈, 사진 위 글자는 카드 크기에 맞게 */
@media (max-width: 560px) {
  .obrank { grid-template-columns: 1fr 1fr; gap: 10px; }
  .obwin { width: 100%; margin-left: 0; }
  .obwin__t { white-space: normal; }
  .obwin__t small { font-size: 10.5px; }
  .obwin__i { min-height: 66px; }
  .obwin__cap { left: 12px; top: 11px; }
  .obwin__cap small { font-size: 12px; }
  .obwin__cap b { font-size: 21px; }
  .obwin__chips { left: 10px; bottom: 10px; }
  .obwin__chip { font-size: 10px; padding: 3px 7px; }
}
.obwin__b { display: flex; flex-direction: column; flex: none; }
.obwin__b button { width: 28px; height: 26px; display: grid; place-items: center; color: inherit; }
.obwin__b button svg { width: 17px; height: 17px; }
.obwin__b button[disabled] { opacity: .25; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .obwin__bg.is-new, .obwin__cap.is-new, .obwin__chips.is-new { 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: var(--r-lg); background: var(--paper); box-shadow: var(--edge); }
.rank__n { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: var(--on-person); font-family: var(--f-num); font-weight: 700; font-size: var(--fs-lg); 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: var(--fs-lg); line-height: 1.35; }
.rank__b { display: flex; gap: 6px; flex: none; }
.rank__b button { width: 40px; height: 40px; border-radius: var(--r-sm); 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: var(--fs-xs); font-weight: 700; color: var(--on-person); font-family: var(--f-num); }
.axis__r--me { background: var(--dusk); }
.axis__r--pt { background: var(--lagoon); }


.out button { text-align: left; }
/* 숙소 최저가 검색 시트 */
.stay-search { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; margin: 18px 0 6px; }
.stay-search b { font-size: var(--fs-lg); }
.stay-search__bar { position: relative; width: 100%; height: 6px; border-radius: 3px; background: var(--halo); overflow: hidden; }
.stay-search__bar i { position: absolute; inset: 0 auto 0 0; width: 36%; border-radius: 3px; background: var(--honey); animation: stay-search 1.2s ease-in-out infinite; }
@keyframes stay-search { 0% { transform: translateX(-100%); } 100% { transform: translateX(280%); } }
@media (prefers-reduced-motion: reduce) { .stay-search__bar i { animation: none; width: 100%; opacity: .6; } }
.stay-note { margin: 12px 0; padding: 10px 14px; border-radius: var(--r-md); background: var(--honey-soft); color: var(--honey-ink); font-size: var(--fs-sm); font-weight: 600; line-height: 1.5; }
#hotel-compare-dates .input { min-width: 0; padding-inline: 10px; font-size: var(--fs-base); }
.offer__live { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.offer__live b { font-size: var(--fs-lg); }
.sample { margin: 12px 0; padding: 10px 14px; border-radius: var(--r-md); background: var(--honey-soft); color: var(--honey-ink); font-size: var(--fs-sm); 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: var(--r-lg); background: var(--night); color: var(--on-dark); }
.low .t-cap { color: var(--on-dark-2); }
.low b { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
.offers { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 12px; }   /* 한 줄로 줄인 상품 이름이 카드를 화면 밖으로 밀지 않게 */
.offer, .offer .merch, .offer .merch a.chip { min-width: 0; }
.offer { padding: 14px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--edge); }
.offer__h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.offer__h b { font-size: var(--fs-lg); }
.off-note { font-size: var(--fs-xs); 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: var(--r-sm); background: var(--halo); }
.offer__p b { font-size: var(--fs-lg); }
.offer__p .is-best { background: var(--honey-soft); box-shadow: inset 0 0 0 1.5px var(--honey); }

/* 예약 모아보기 */
.booking-overview, .booking-overview__section, .booking-overview__item { display: grid; gap: 8px; }
.booking-overview { margin-top: 12px; gap: 6px; }
.booking-overview__section { margin-top: 12px; }
.booking-overview__items, .booking-overview__offers { display: grid; gap: 8px; list-style: none; }
.booking-overview__item { padding: 14px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--edge); }
.booking-overview__item-head { display: flex; align-items: start; justify-content: space-between; gap: 8px; }
.booking-overview__item-head .tag { flex: none; }
.booking-overview__assign { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.booking-overview__choices { display: flex; flex-wrap: wrap; gap: 4px; }
.booking-overview__choices button {
  min-height: 44px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--halo); color: var(--ink-2);
  font-size: var(--fs-md); font-weight: 600;
}
.booking-overview__choices button[aria-pressed="true"] { background: var(--night); color: var(--on-dark); }
.booking-overview__offer {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px;
  padding: 8px 12px; border-radius: var(--r-sm); background: var(--act); color: var(--act-ink);
  font-size: var(--fs-md); line-height: 1.5;
}
.booking-overview__offer small { display: block; font-size: var(--fs-sm); }
.booking-overview__record {
  justify-self: start; min-height: 44px; padding: 6px 0; color: var(--link); font-size: var(--fs-md); font-weight: 700;
  text-decoration: underline; text-underline-offset: .16em;
}
.booking-overview__empty { padding: 12px 0; }
/* 밤하늘 시트(투어 모아보기와 같은 모양): 예약 링크는 노란 빛나는 버튼, 담당자 고르기는 아이보리 고른 칸, 예약했어요는 아이보리 글자 */
.sheet--night .booking-overview__section > .t-h2 { font-family: var(--f-head); color: #fbedc2; }
.sheet--night .booking-overview__offer { border-radius: 14px; background: #fff1c5; color: #394d56; font-weight: 800;
  box-shadow: 0 0 14px rgb(255 241 197 / .38), 0 0 3px rgb(255 248 225 / .7), 0 6px 14px -8px rgb(0 0 0 / .45); }
.sheet--night .booking-overview__offer small { color: #394d56; opacity: .85; font-weight: 600; }
.sheet--night .booking-overview__offer:active { background: #f8e3a6; }
.sheet--night .booking-overview__choices button { background: rgb(255 255 255 / .08); color: var(--on-dark); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); }
.sheet--night .booking-overview__choices button[aria-pressed="true"] { background: rgb(251 237 194 / .16); color: #fbedc2; box-shadow: inset 0 0 0 1.5px rgb(251 237 194 / .75); }
.sheet--night .booking-overview__record { color: #fbedc2; }
.sheet--night .booking-overview .off-note { color: var(--ink-3); }
.merch { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip--off { color: var(--ink-3); background: transparent; box-shadow: var(--edge-strong); }
.chip--off small { font-weight: 500; font-size: var(--fs-xs); }

/* MBTI */
.mbpick { margin-top: 14px; display: grid; gap: 10px; --c: var(--dusk); }
.mbpick--pt { --c: var(--lagoon); }
.mbrow { padding: 12px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--edge); }
.mbrow__q { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.mbrow__q b { font-size: var(--fs-base); }
.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: var(--r-md); background: var(--halo); text-align: left; }
.mbrow__b b { font-family: var(--f-head); font-weight: 700; font-size: 30px; line-height: 1.1; } /* MBTI 영문은 제목 글꼴(학교안심 알림장)로 크게 */
.mbrow__b span { font-size: var(--fs-xs); line-height: 1.4; color: var(--ink-2); }
.mbrow__b button[aria-pressed="true"] { background: var(--c); color: var(--on-person); box-shadow: none; }
.mbrow__b button[aria-pressed="true"] span { color: rgb(var(--night-rgb) / .8); }
.mbtype { display: flex; align-items: baseline; gap: 12px; padding: 4px 4px 0; min-height: 40px; }
.mbtype b { font-family: var(--f-head); font-weight: 700; font-size: 44px; line-height: 1.1; letter-spacing: .04em; }
/* MBTI로 본 두 사람: 메인 화면 달(js/art.js moons)처럼 분홍(나·허니)·민트(짝꿍·무니) 유리 달 사진 + 같은 색 번짐 빛으로 입체감을 줘요.
   두 달은 살짝 겹치고, 달 위에 허니·무니가 둥실 떠 있어요. 이름은 학교안심 알림장, MBTI는 크게 */
.mbpair { display: flex; justify-content: center; align-items: center; margin-top: 66px; padding-bottom: 6px; }
.mbpair__i { position: relative; isolation: isolate; flex: none; width: min(42vw, 160px); aspect-ratio: 1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--on-person); }
.mbpair__i + .mbpair__i { margin-left: -14px; }
.mbpair__i::before { content: ''; position: absolute; inset: -14%; z-index: -2; border-radius: 50%; background: radial-gradient(circle, var(--mb-glow) 0%, transparent 68%); opacity: .55; filter: blur(10px); }   /* 바깥 번짐 빛 */
.mbpair__i::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--mb-moon) center / 100% 100% no-repeat; opacity: .9;
  box-shadow: 0 0 18px 2px var(--mb-glow-a), 0 16px 28px -12px rgb(0 0 0 / .6); }   /* 유리 달(메인 화면과 같은 사진) */
.mbpair__i--me { --mb-moon: url("../img/onboard-moon-pink.png"); --mb-glow: #e48daa; --mb-glow-a: rgb(228 141 170 / .45); }
.mbpair__i--pt { --mb-moon: url("../img/onboard-moon-mint.png"); --mb-glow: #86d4c2; --mb-glow-a: rgb(134 212 194 / .42); }
.mbpair__i b { max-width: 80%; font-family: var(--f-head); font-size: 19px; font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 0 rgb(255 255 255 / .35); }
.mbpair__i .num { margin-top: 2px; font-size: 36px; font-weight: 800; letter-spacing: .03em; line-height: 1.05; text-shadow: 0 1px 0 rgb(255 255 255 / .35); }
.mbpair__ch { position: absolute; z-index: 2; left: 50%; bottom: calc(100% - 14px); width: 56px; height: auto; transform: translateX(-50%); animation: mbFloat 3.2s ease-in-out infinite; filter: drop-shadow(0 6px 8px rgb(0 0 0 / .35)); pointer-events: none; }
.mbpair__i--pt .mbpair__ch { animation-delay: -1.6s; }
@keyframes mbFloat { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -6px); } }
@media (prefers-reduced-motion: reduce) { .mbpair__ch { animation: 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: var(--fs-2xs); font-weight: 800; }
.ob > .btn { position: sticky; bottom: 18px; flex: none; box-shadow: var(--sh-float); }

/* 투어 후보: 두 사람에게 맞춰 고른 상품 */
.pick { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.offer .pick { width: auto; height: auto; }
/* 투어 모아 보기의 상품 링크: 잘 보이게 '항공권 찾기'와 같은 노란 버튼(꽉 찬 줄, 판매처 굵게 + 상품 이름, 오른쪽 ↗) */
.offer .merch { flex-direction: column; align-items: stretch; gap: 8px; }
.offer .merch a.chip { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; height: auto; padding: 10px 14px; border-radius: 14px;
  background: #fff1c5; color: #394d56; box-shadow: 0 0 14px rgb(255 241 197 / .38), 0 0 3px rgb(255 248 225 / .7), 0 6px 14px -8px rgb(0 0 0 / .45); font-weight: 800; white-space: normal; text-align: left; }   /* 은은하게 빛나게 */
.offer .merch a.chip small { flex: 1; min-width: 0; font-weight: 600; color: #394d56; opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.offer .merch a.chip::after { content: '↗'; flex: none; font-weight: 800; }
.offer .merch a.chip:active { background: #f8e3a6; }
.offer__name { font-family: var(--f-head); font-size: 20px; font-weight: 700; line-height: 1.3; }   /* 투어 모아 보기 대분류(할 거리 이름): 제목 글꼴로 크게 */   /* 투어 시트의 추천 줄: 홈 추천 카드(.pick 214×276 고정)와 이름이 같아 생긴 빈 공간을 없애요 */
.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: var(--fs-sm); color: var(--on-dark-2); }
.plan-sum__row b { color: var(--on-dark); 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: var(--on-dark); width: 100%; }
.plan-tier { margin: 18px 0 14px; }   /* 위 예약 모아보기 버튼과 띄워요 */
/* 추천 숙소 기준: 제목·설명 + 버튼 세 개(이모티콘·이름 + 그 기준의 숙소 예상 합계) */
.plan-tier__h b { display: block; font-family: var(--f-head); font-size: 16px; color: #fbedc2; }
.plan-tier__h .t-cap { margin-top: 3px; }
.plan-tier__opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.tier { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px; border-radius: 14px; color: var(--on-dark);
  background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); }
.tier__t { font-size: var(--fs-sm); font-weight: 700; white-space: nowrap; }
.tier__p { font-size: var(--fs-xs); opacity: .78; white-space: nowrap; }
.tier.is-on { background: rgb(251 237 194 / .14); color: #fbedc2; box-shadow: inset 0 0 0 1.5px rgb(251 237 194 / .75), 0 0 12px rgb(251 237 194 / .15); }
.tier.is-on .tier__p { opacity: 1; }
.plan-tier__note { margin-top: 6px; }
.books { display: grid; gap: 12px; }
.book { padding: 16px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--edge); }
.book.is-done { background: var(--paper); }
/* 예약 카드: 할 일 버튼은 꿀색 하나, 완료는 초록 체크 글자만, 결제한 사람은 색 점 */
.book__done .tag--best { background: none; padding: 0; height: auto; font-size: var(--fs-md); font-weight: 700; color: var(--ok-ink); }
.book__done .tag--best::before { content: "✓"; font-weight: 800; }
.book__done .assign { height: 28px; min-width: 0; padding: 0 10px 0 8px; gap: 6px; background: var(--halo); color: var(--night); font-weight: 600; }
.book__done .assign::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.book__done .assign--me::before { background: var(--dusk); }
.book__done .assign--pt::before { background: var(--lagoon); }
.book__done .assign--both::before { background: linear-gradient(90deg, var(--dusk) 50%, var(--lagoon) 50%); }
.book__btns .btn--ghost { box-shadow: none; background: var(--halo); color: var(--ink-2); }
.book__h { display: flex; gap: 12px; align-items: center; }
.book__ic { width: 38px; height: 38px; border-radius: var(--r-sm); 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: var(--fs-lg); letter-spacing: -.01em; }
.hotel { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.hotel__n { font-weight: 700; font-size: var(--fs-lg); }
.book__est { margin-top: 10px; font-size: var(--fs-md); 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: var(--fs-base); }
.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: var(--fs-sm); font-weight: 700; color: var(--link); padding: 8px 0; }
.book .linkbtn { display: block; margin-top: 4px; }
.book__done .linkbtn { padding: 8px 4px; }
.paycard { padding: 6px 16px 16px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--edge); }
.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: var(--fs-xs); 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: var(--fs-sm); 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; }
button.it__time { background: none; border: 0; margin: 0; text-align: left; cursor: pointer; line-height: inherit; }
.it__time--ed { text-decoration: underline dotted; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.day__edited { margin: 6px 0 2px; }
.it__time { font-family: var(--f-num); font-variant-numeric: lining-nums tabular-nums; font-size: var(--fs-sm); 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(--ok); }
.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(--link); box-shadow: inset 0 0 0 2.5px var(--link); }
.it.is-free .it__t { color: var(--ink-3); font-weight: 600; }
.it__body { min-width: 0; }
.it__t { font-weight: 700; font-size: var(--fs-base); line-height: 1.45; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.it__s { font-size: var(--fs-sm); color: var(--ink-2); margin-top: 2px; line-height: 1.55; }
.it__m { font-size: var(--fs-xs); color: var(--ink-3); margin-top: 2px; line-height: 1.5; }
.it__map { font-size: var(--fs-xs); font-weight: 700; color: var(--link); }
.it__del { position: relative; flex: none; margin-left: auto; width: 28px; height: 28px; border-radius: 50%; font-size: 0; line-height: 0; color: var(--ink-3); background: var(--halo); }
/* ×는 글자 대신 두 선으로 그려요. 글자 ×는 글꼴마다 위아래로 치우쳐서 동그라미 한가운데에 오지 않았어요 */
.it__del::before, .it__del::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.8px; border-radius: 1px; background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg); }
.it__del::after { transform: translate(-50%, -50%) rotate(-45deg); }
/* 일정 줄의 X(빼기·지우기): 제목이 길어도 줄 오른쪽 위에 붙어 있어요 */
.it .it__t > .it__del { position: absolute; top: -2px; right: 0; margin: 0; }
.it:has(.it__t > .it__del) .it__body { padding-right: 36px; }
/* 줄 고치기(연필): X 왼쪽에 둬요. X 가 없는 줄(비행기·체크인)은 오른쪽 끝이에요 */
.it__ed { position: absolute; top: -2px; right: 0; width: 28px; height: 28px; border-radius: 50%; font-size: 14px; line-height: 28px; text-align: center; color: var(--ink-3); background: var(--halo); }
.it .it__t:has(> .it__del) > .it__ed { right: 34px; }
.it:has(.it__t > .it__ed) .it__body { padding-right: 36px; }
.it:has(.it__t > .it__ed + .it__del) .it__body { padding-right: 70px; }
.rowedit .field { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.rowedit textarea.input { height: auto; padding: 12px 16px; resize: vertical; min-height: 72px; font: inherit; }
.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: var(--fs-sm); }
.chip--go { background: var(--night); color: var(--on-dark); box-shadow: none; }
.spotbtns { display: flex; flex-wrap: wrap; gap: 0 8px; }
.spotbtn { display: flex; align-items: center; gap: 6px; margin: 2px 0 12px 0; padding: 10px 14px; border-radius: var(--r-md); font-size: var(--fs-sm); font-weight: 700; color: var(--link); background: rgb(var(--link-rgb) / .08); }
.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: var(--fs-md); 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(--ok-ink); }

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

/* 일정 보강: 오늘의 참고, 추천 줄(자료에 없는 자유 시간) */
.day__skipped { margin: 4px 0 2px; color: var(--ink-3); }
.day__skipped .linkbtn { margin-left: 4px; }
.sp-hint { min-height: 1.4em; margin-top: 6px; }
.day__tips { margin: 10px 0 2px; padding: 12px 14px; border-radius: var(--r-md); background: var(--halo); list-style: none; }
.day__tips li { font-size: var(--fs-sm); 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: var(--fs-xs); 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: var(--fs-xs); line-height: 1.5; color: var(--ink-2); }
.eat__meta i { font-style: normal; color: var(--ink-3); }
.eat__meta .num { font-size: var(--fs-sm); color: var(--ink); }
.eat__shut { font-weight: 700; color: var(--alert-ink); }
.eat__na { color: var(--ink-3); }
.eat__cui { font-weight: 700; color: var(--ink); }   /* 음식 분류(한식·이탈리아 음식·해산물…) */
.eats__h { margin-top: 10px; font-size: var(--fs-xs); 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: var(--r-md); background: var(--paper); box-shadow: var(--edge); scroll-snap-align: start; }
.eat.is-shut { opacity: .62; }
.eat__n { font-weight: 700; font-size: var(--fs-md); line-height: 1.4; }
.eat__s { margin-top: 3px; font-size: var(--fs-xs); 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: var(--fs-sm); }
.eat__b .chip.is-on { background: var(--halo); color: var(--ink-2); }
.shopc { width: min(64vw, 236px); }
/* 도시 쇼핑 리스트: 가게 → 살 것 */
.shopz { margin-top: 10px; padding: 12px 12px 10px; border-radius: var(--r-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.group .shopz + .shopz { margin-top: 10px; }
.shopz__h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: var(--fs-sm); }
.shopz__h span { font-size: var(--fs-xs); color: var(--ink-3); }
.shopz__shop { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.shopz__sn { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); }
.shopz__sn b { min-width: 0; overflow-wrap: anywhere; }
.shopz__sn .it__del { margin-left: auto; }
.shopz__it { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.shopz__it .check { width: 22px; height: 22px; }
.shopz__itn { flex: 1; min-width: 0; font-size: var(--fs-sm); overflow-wrap: anywhere; }
.shopz__it.is-done .shopz__itn { color: var(--ink-3); text-decoration: line-through; }
.shopz__it .assign { height: 26px; min-width: 46px; }
.shopz__it .it__del { margin-left: 0; flex: none; }
.shopz__add { display: flex; gap: 6px; margin-top: 8px; }
.shopz__add .input { flex: 1; min-width: 0; height: 36px; padding: 0 10px; font-size: var(--fs-sm); }
.shopz__add .chip { flex: none; height: 36px; }
.shopz__addshop { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line-strong); }
.buy { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.buy__b { min-height: 28px; padding: 3px 10px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 600; line-height: 1.4; text-align: left; color: var(--ink); background: var(--paper); box-shadow: var(--edge); }
.buy__b.is-on { color: var(--link); background: rgb(var(--link-rgb) / .1); box-shadow: inset 0 0 0 1px rgb(var(--link-rgb) / .35); }
.preg p { margin: 6px 0 0; font-size: var(--fs-sm); line-height: 1.55; }

.plan-downloads { display: flex; flex-wrap: wrap; gap: .5rem; }
.plan-downloads .btn { position: relative; font-size: var(--fs-sm); }
.plan-downloads .btn::after { content: ""; position: absolute; inset: -.2em 0; } /* 작은 버튼의 위아래도 누를 수 있게 해요. */
/* 잘 보여야 하는 보조 버튼(내려받기·예약 모아보기): 어두운 바탕에서 반투명 아이보리 바탕 + 아이보리 테두리·글씨(로고 색) + 앞 아이콘 */
.btn.btn--ivory { background: rgb(251 237 194 / .12); color: #fbedc2; font-weight: 700; box-shadow: inset 0 0 0 1.5px rgb(251 237 194 / .6), 0 0 12px rgb(251 237 194 / .12); }
.btn.btn--ivory:active { background: rgb(251 237 194 / .22); }
/* 여행지 바꾸기 확인('바꾸고 지우기'): 진한 빨강 대신 투명한 분홍(브랜드 분홍 #ff8f9d) */
.btn.btn--pinksoft { background: rgb(255 143 157 / .24); color: #ffc2ca; font-weight: 700; box-shadow: inset 0 0 0 1.5px rgb(255 143 157 / .65); }
.btn.btn--pinksoft:active { background: rgb(255 143 157 / .34); }
.btn.days-btn { flex: none; height: 34px; padding: 0 12px; font-size: var(--fs-sm); }   /* 여행지 상세 '○일 바꾸기': 제목 옆 작은 아이보리 버튼 */
#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: var(--night); }
  .pd h2 { font-size: 13pt; margin: 18px 0 6px; color: var(--night); border-bottom: 2px solid var(--night); 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: var(--night); 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: var(--night); }
  .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: var(--fs-xs); font-weight: 700; color: var(--ink-3); margin-right: 2px; }
.alts__b { display: inline-flex; align-items: center; gap: 4px; height: 28px; line-height: 1; padding: 0 10px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 600; background: var(--paper); box-shadow: var(--edge); color: var(--ink); }
.alts__b b { font-size: var(--fs-xs); color: var(--ink-2); }
.alts--dark .alts__h { color: var(--on-dark-2); }
.alts--dark .alts__b { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); color: var(--on-dark); backdrop-filter: blur(6px); gap: 0; }
.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: var(--r-md); 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: var(--r-lg); background: var(--paper); box-shadow: var(--edge); margin-top: 10px; }
/* 후기 장단점 제목: 어두운 카드 위에서도 잘 보이게 크고 굵게(학교안심 알림장), 밝은 민트·산호색 + 앞에 같은 색 점 */
.pc__h { display: flex; align-items: center; gap: 8px; font-family: var(--f-head); font-size: 17px; font-weight: 700; letter-spacing: 0; margin-bottom: 6px; }
.pc__h::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.pc--pro .pc__h { color: #9fe3d0; }
.pc--con .pc__h { color: #ffa08f; }
.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: var(--fs-md); line-height: 1.65; }
.pc__i a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
/* 후기에서 나온 곳(관광지·숙소·식당·주의점) */
.pc--find { margin-top: 14px; }
.pc--find .pc__h { color: var(--link); }
.pc--find .pc__h::before { content: none; }
.pc__n { display: block; font-size: var(--fs-md); font-weight: 600; margin-bottom: 2px; }

/* 장소 후기 요약 */
.rev__h { font-size: var(--fs-md); font-weight: 700; margin-top: 20px; }
.rev__h .t-cap { font-weight: 400; margin-left: 4px; }
.rev__h--pro { color: var(--ok-ink); }
.rev__h--con { color: var(--alert-ink); }
.sheet--night .rev__h--pro { color: var(--ok); }
.sheet--night .rev__h--con { color: var(--alert-hatch); }
.rev__l { margin: 6px 0 0; padding-left: 18px; font-size: var(--fs-md); line-height: 1.65; }
.rev__l li { margin-top: 4px; }
.rev__more { margin-top: 10px; }
.rev__more > summary { cursor: pointer; color: var(--link); }
.rev__more a { text-decoration: underline; text-underline-offset: 2px; }
.chip--rev { height: 32px; padding: 0 12px; font-size: var(--fs-sm); flex: none; }
.eat__rev { margin-top: 8px; }
.erow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rev-sum { margin: 0 0 12px; line-height: 1.7; }
.optcard__rt { display: block; margin-top: 4px; opacity: .85; }
.row > .chip--rev { margin-left: auto; align-self: center; }
.hotel .chip--rev { margin-top: 8px; }

/* ── 넓은 화면: 태블릿(768px~) · 데스크톱(1100px~) ─────────────────
   폭은 앱 상자(.device) 기준이에요. 폰(767px 이하)은 위 규칙 그대로예요.
   --col: 내용 폭 · --nav-w: 왼쪽 메뉴 폭 · --gut: 내용 양옆 최소 여백 */
@container app (min-width: 768px) {
  .app { --col: 720px; --nav-w: 0px; --gut: 32px; }
  .view:not(.view--flow) {
    left: var(--nav-w);
    padding-left: max(var(--gut), var(--safe-l), calc((100cqi - var(--nav-w) - var(--col)) / 2));
    padding-right: max(var(--gut), var(--safe-r), calc((100cqi - var(--nav-w) - var(--col)) / 2));
  }
  /* 머리 그림은 화면 끝까지 붙지 않고 둥근 카드로 떠 있어요 */
  .hero, .hero--plate, .today-hero { border-radius: var(--r-2xl); margin-top: 20px; }
  .today-hero { padding-top: 26px; }
  .hero--plate .hero__body { min-height: 400px; padding: 0 32px 32px; }
  .dhero { height: 420px; margin-top: 20px; border-radius: var(--r-2xl); overflow: hidden; }
  .dhero__body { left: 32px; right: 32px; bottom: 32px; }
  .dsheet { margin-top: 0; border-radius: 0; background: transparent; }
  .lead { height: 380px; }
  .cta-bar { justify-content: flex-end; }
  .cta-bar .btn { width: 340px; }
  /* 아래 탭바는 가운데 알약 모양 */
  .tabbar { left: 50%; right: auto; width: 520px; transform: translateX(-50%); }
  .toast { bottom: 104px; }
  /* 아래에서 올라오는 시트 → 가운데 대화상자 */
  .sheet {
    inset: 0; margin: auto; width: min(560px, calc(100% - 48px)); height: fit-content; max-height: 86%;
    border-radius: var(--r-xl); padding: 26px 28px 28px;
  }
  .sheet__grab { display: none; }
  /* 시작하기: 가운데 한 줄 기둥 */
  .view--flow { align-items: center; }
  .view--flow:has(.ob--dark) { background: var(--night); }
  .ob { width: 100%; max-width: 520px; padding-left: 28px; padding-right: 28px; }
  /* 첫 화면: 안쪽 그라데이션 상자는 없애고, 화면 전체 그라데이션 위에 가운데로 크게 놓아요 */
  .ob--intro { background: transparent; max-width: 640px; padding-top: 56px; }
  .ob--intro .ob__stage { align-items: center; text-align: center; }
  .ob1__logo img { height: 34px; }
  .splash--glass { height: min(260px, 30vh); margin-bottom: 32px; }
  .splash.splash--glass svg { width: min(260px, 30vh); }
  .ob1__title img { width: 300px; margin: 0 auto; }
  .ob1__sub { margin-top: 24px; font-size: 18px; line-height: 1.4; }
  .ob--intro > .btn { align-self: center; width: 360px; max-width: 100%; margin-top: 28px; font-size: 16px; }
}

@container app (min-width: 1100px) {
  .app { --col: 1120px; --nav-w: 240px; --gut: 40px; }
  .app.no-tabs:not([data-route="dest"]) { --nav-w: 0px; }
  .t-disp { font-size: 44px; }
  .t-h1 { font-size: 32px; }
  .ob--intro { max-width: 760px; padding-top: 56px; }
  .ob1__logo img { height: 40px; }
  .splash--glass { height: min(340px, 34vh); margin-bottom: 36px; }
  .splash.splash--glass svg { width: min(340px, 34vh); }
  .ob1__title img { width: 400px; }
  .ob1__sub { margin-top: 28px; font-size: 20px; }
  .ob--intro > .btn { width: 400px; font-size: 17px; }

  /* 왼쪽 옆 메뉴: 아래 탭바를 세로로 세운 거예요. 상세 화면에서도 남아요 */
  .tabbar {
    top: 0; bottom: 0; left: 0; right: auto; width: var(--nav-w); height: auto; transform: none;
    display: flex; flex-direction: column; gap: 4px; padding: 28px 16px;
    border-radius: 0; background: var(--paper); backdrop-filter: none; box-shadow: inset -1px 0 0 var(--line);
  }
  .app.no-tabs[data-route="dest"] .tabbar { display: flex; }
  .tabbar__brand { display: block; padding: 6px 14px 28px; }
  .tabbar__brand img { display: block; height: 22px; width: auto; }
  .tab { flex: none; flex-direction: row; justify-content: flex-start; gap: 12px; height: 50px; padding: 0 14px; border-radius: var(--r-md); font-size: var(--fs-base); }
  .tab svg { width: 24px; height: 24px; }
  @media (hover: hover) { .tab:hover { color: var(--night); background: var(--halo); } }
  .view { padding-bottom: 56px; }
  .view--full { padding-bottom: 0; }
  .toast { left: calc(50% + var(--nav-w) / 2); bottom: 32px; }
  .hero .topbar .wordmark-img { visibility: hidden; }   /* 로고는 옆 메뉴에 있어요 */

  /* 홈: 추천 카드는 옆으로 넘기지 않고 한 줄에 다 보여요 · 할 일은 두 단 */
  .rail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 4px 0 6px; }
  .rail .pick { width: auto; height: 300px; margin-top: 0; padding-top: 0; border-top: 0; }
  .app[data-route="home"] .rows { display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; }

  /* 찾기: 1등은 큰 카드, 나머지는 두 단 */
  .lead { height: 440px; }
  .app[data-route="find"] .rows { display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; }

  /* 상세: 내용을 신문처럼 두 단으로 흘려요 */
  .dhero { height: 480px; }
  .dhero__body { left: 40px; right: 40px; bottom: 40px; }
  .dsheet { columns: 2; column-gap: 48px; }
  .dsheet > * { break-inside: avoid; }

  /* 일정: 왼쪽 요약·예약 · 오른쪽 하루씩 */
  .plan-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 32px; align-items: start; }
  .plan-main { padding-top: 64px; }

  /* 준비: 기한 묶음을 두 단으로 */
  .groups { columns: 2; column-gap: 48px; }
  .group { break-inside: avoid; }
}
/* 같은 구간 안에서 날짜 바꾸기 */
.day__h { flex-wrap: wrap; }
.day__h .tag.day__moved { align-self: center; padding: 3px 8px; font-size: 11.5px; color: var(--honey-ink); }
.day__h .day__swap { margin-left: auto; padding: 4px 0; font-size: 13px; }
.gh__re { margin-top: 6px; }
.gh__re .linkbtn { padding: 4px 0; font-size: 13px; }
.dsw .offer { text-align: left; width: 100%; }
.dsw__warn { margin-top: 6px; color: var(--dusk-ink); }
.today-it { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.today-it li { display: flex; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.today-it .num { flex: none; width: 44px; font-weight: 700; color: var(--night); }

/* 준비한 일정보다 길게 잡은 여행: 비어 있는 날 안내 */
.blank { margin: 10px 0 4px; padding: 14px 16px; border-radius: var(--r-md); background: var(--halo-2); font-size: var(--fs-md); line-height: 1.6; }
.blank b { display: block; margin-bottom: 4px; }
.blank p { margin: 0; color: var(--ink-2); }
.blank__s { margin: 8px 0 2px; font-size: var(--fs-sm); color: var(--ink-3); }
.day--blank .day__h { opacity: .8; }

/* 호텔 사진(구글 장소 사진, js/hotel_photos.js) — 작가 이름·"Google Maps" 표기는 구글 규칙대로 */
.hotel__ph { margin-top: 2px; text-align: left; }
.ph-list { display: grid; gap: 14px; margin-top: 8px; }
.ph { margin: 0; }
.ph img { display: block; width: 100%; height: auto; max-height: 62vh; object-fit: cover; border-radius: var(--r-md); background: var(--line); }
.ph figcaption { margin-top: 6px; }
.ph figcaption a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
.ph-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.ph-foot .linkbtn { display: inline-block; margin: 0; }
.ph-gm { font: 500 13px/1 Roboto, Arial, sans-serif; color: var(--ink-2, #5f6368); white-space: nowrap; }

/* ── 진한 네이비 화면(온보딩과 같은 밤하늘 바탕) ─────────────────
   .view--night 안에서는 색 토큰을 어두운 바탕용으로 바꿔요(글씨는 달빛색, 카드·선은 반투명 흰색).
   홈·찾기·일정·준비·커뮤니티(여행 중 화면, 빈 화면 포함)에 써요 */
.view--night, .sheet--night {
  --ink: #fff; --ink-2: rgb(255 255 255 / .88); --ink-3: rgb(255 255 255 / .74);   /* 글씨는 흰색(보조 글씨도 충분히 밝게) */
  /* 카드·창: 위(왼쪽 위)는 더 밝고 아래로 갈수록 옅어지는 반투명 그라데이션이라 바탕에 부드럽게 스며들어요 */
  --paper: linear-gradient(160deg, rgb(255 255 255 / .17) 0%, rgb(255 255 255 / .1) 45%, rgb(255 255 255 / .05) 100%);
  --halo: rgb(255 255 255 / .14); --halo-2: rgb(255 255 255 / .18);
  /* 포인트 색(추천 배지·체크·진행 막대·점·강조 칩): 분홍 #ef8b98 */
  --honey: #ef8b98; --honey-soft: rgb(239 139 152 / .2); --honey-ink: #ffd0d6;
  --line: rgb(255 245 239 / .12); --line-strong: rgb(255 245 239 / .24);
  --link: #fff;   /* 글자 링크도 흰색 */
  color: var(--ink); }
.view--night { background: var(--sky) fixed; min-height: 100%; }
/* 아래에서 올라오는 창(우리 정보·여행 일정·우리 취향·비용·글쓰기…)도 같은 밤하늘. '예약했어요' 창만 아이보리 유리 그대로 */
.sheet--night { background: linear-gradient(180deg, #232859 0%, #0d0f26 100%); box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), 0 -20px 50px -20px rgb(0 0 0 / .6); }
.sheet--night .sheet__grab { background: rgb(255 255 255 / .28); }
/* 원래 네이비(--night)로 쓰던 글씨는 네이비 바탕에서 안 보여서 달빛색으로(바탕이 밝은 칩·노란 하트 등은 그대로) */
:is(.view--night, .sheet--night) .book__est b, :is(.view--night, .sheet--night) .costl__n, :is(.view--night, .sheet--night) .gh__o b, :is(.view--night, .sheet--night) .mo.is-now, :is(.view--night, .sheet--night) .opt__meta b,
:is(.view--night, .sheet--night) .cal__sum b, :is(.view--night, .sheet--night) .role b, :is(.view--night, .sheet--night) .typecard b, :is(.view--night, .sheet--night) .today-it .num, :is(.view--night, .sheet--night) .iconbtn--plain,
:is(.view--night, .sheet--night) .seg button[aria-pressed="true"], :is(.view--night, .sheet--night) .who-tabs button[aria-pressed="true"], :is(.view--night, .sheet--night) .book__done .assign, :is(.view--night, .sheet--night) .book__ic,
:is(.view--night, .sheet--night) .cm-card__t, :is(.view--night, .sheet--night) .cm-post__t, :is(.view--night, .sheet--night) .cm-menu__b, :is(.view--night, .sheet--night) .cm-reason, :is(.view--night, .sheet--night) .cm-nickwarn,
:is(.view--night, .sheet--night) .cm-rules__h, :is(.view--night, .sheet--night) .cm-agree, :is(.view--night, .sheet--night) .cm-brow__n, :is(.view--night, .sheet--night) .cm-select select, :is(.view--night, .sheet--night) .cm-input { color: #fff; }
:is(.view--night, .sheet--night) .cm-agree input { accent-color: #fff1c5; }
/* 커뮤니티 여행지 고르기 칸: 바탕(--paper)이 그라데이션이라 화살표 그림과 함께 다시 적어요 */
:is(.view--night, .sheet--night) .cm-select select, :is(.view--night, .sheet--night) .cm-wsel {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E") no-repeat right 16px center, var(--paper); }
/* 글자 링크(요금 달력 보기·구글 지도에서 사진 보기·다른 숙소 보기…)는 누르는 버튼인 게 보이게 반투명 아이보리 둥근 네모 */
:is(.view--night, .sheet--night) .linkbtn { display: inline-flex; align-items: center; min-height: 34px; margin: 6px 0; padding: 7px 14px; border-radius: 12px;
  background: rgb(255 241 197 / .14); box-shadow: inset 0 0 0 1px rgb(255 241 197 / .42); color: #fff1c5; text-decoration: none; line-height: 1.3; }
:is(.view--night, .sheet--night) .linkbtn:active { background: rgb(255 241 197 / .24); }
/* 하루씩 보기의 '+ 구글 지도에서 장소 넣기'·'+ 쇼핑 시간 넣기'도 같은 반투명 아이보리 둥근 네모 버튼 */
:is(.view--night, .sheet--night) .spotbtns { gap: 8px; margin: 4px 0 14px; }
:is(.view--night, .sheet--night) .spotbtn { margin: 0; padding: 9px 14px 9px 11px; border-radius: 12px; color: #fff1c5;
  background: rgb(255 241 197 / .14); box-shadow: inset 0 0 0 1px rgb(255 241 197 / .42); }
:is(.view--night, .sheet--night) .spotbtn:active { background: rgb(255 241 197 / .24); }
/* 일정 하루씩 보기: 굵고 큰 글씨(시간·일정 제목)는 아이보리로 통일(제목 옆 칩은 제 색 그대로) */
:is(.view--night, .sheet--night) .it__time, :is(.view--night, .sheet--night) .it__t { color: #fff1c5; }
/* 고른 칩: 온보딩처럼 반투명 아이보리 + 아이보리 테두리 */
:is(.view--night, .sheet--night) .chip[aria-pressed="true"], :is(.view--night, .sheet--night) .chip.is-on { background: rgb(255 241 197 / .18); box-shadow: inset 0 0 0 1.5px rgb(255 241 197 / .75); color: #fff1c5; }
/* 준비 화면 달: 아직 안 찬 부분·테두리가 네이비 바탕에서도 보이게 */
/* 점과 함께 쓰는 상태 글씨(3월 좋아요·일정이 짧아요…)는 어두운 바탕에서 읽히게 밝게(칩 안 글씨는 칩 바탕이 밝아서 그대로) */
:is(.view--night, .sheet--night) .fitline__i--ok { color: #9fe0cf; }
:is(.view--night, .sheet--night) .fitline__i--warn { color: #f3d27c; }
:is(.view--night, .sheet--night) .fitline__i--no { color: #ff9fae; }
/* 남색(--night)으로 칠하던 막대·상자·고른 칩은 밤하늘 바탕에 묻혀서 아이보리·반투명으로 */
:is(.view--night, .sheet--night) .axis__fill { background: #fff1c5; }
:is(.view--night, .sheet--night) .budget, :is(.view--night, .sheet--night) .low { background: rgb(255 241 197 / .12); box-shadow: inset 0 0 0 1px rgb(255 241 197 / .3); }
:is(.view--night, .sheet--night) .chip--go { background: #fff1c5; color: #394d56; }
:is(.view--night, .sheet--night) .btn--night { background: #fff1c5; color: #394d56; }
:is(.view--night, .sheet--night) .role[aria-pressed="true"], :is(.view--night, .sheet--night) .typecard[aria-pressed="true"] { background: rgb(255 241 197 / .18); box-shadow: inset 0 0 0 1.5px rgb(255 241 197 / .75); }
/* 여행지 자세히 아래 버튼 줄: 위로 갈수록 밤하늘로 스며들게(회색 띠 없이) */
.view--night .cta-bar { background: linear-gradient(180deg, rgb(0 0 0 / 0) 0%, rgb(8 9 24 / .92) 38%); }

/* 아래 탭 막대(홈·찾기·일정·준비·커뮤니티): 네이비 화면 위에 반투명 아이보리 유리 막대.
   글씨·아이콘은 옅은 달빛색, 지금 화면 탭은 조금 더 진한 아이보리 바탕 + 아이보리 글씨(데스크톱 옆 메뉴도 같아요) */
.tabbar, .app .tabbar { background: rgb(255 241 197 / .14); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 14px 30px -12px rgb(0 0 0 / .5), inset 0 0 0 1px rgb(255 241 197 / .3); }
.tab { color: rgb(255 245 239 / .66); }
.tab[aria-current="page"] { color: #fff1c5; background: rgb(255 241 197 / .2); box-shadow: inset 0 0 0 1px rgb(255 241 197 / .45); }
@media (hover: hover) { .tab:hover { color: #fff1c5; background: rgb(255 241 197 / .2); box-shadow: inset 0 0 0 1px rgb(255 241 197 / .45); } }   /* 손가락으로 누른 뒤 탭이 두 개 켜져 보이지 않게 마우스에서만 */
/* 넓은 화면 옆 메뉴: 밝은 바탕에 옅은 글씨라 안 보이던 걸 밤하늘 옆 메뉴로(로고는 크림색 로고) */
@container app (min-width: 768px) {
  .app .tabbar { background: linear-gradient(180deg, #1c214d 0%, #07081a 100%); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: inset -1px 0 0 rgb(255 255 255 / .1); }
}

/* 일정 화면 맨 위: 동선 글씨를 크게, 그 아래 이동 경로 지도(js/routemap.js) — 납작한 섬 윤곽 위에 핀이 차례로 켜지고 선이 그려진 뒤 빛나는 점이 경로를 따라 움직여요 */
.plan-route { display: block; margin-top: 6px; font-size: 15px; font-weight: 600; line-height: 1.6; color: var(--ink); }
/* 일정 맨 위 동선 상자: 정거장마다 둥근 네모(이름 + 분홍 박수), 상자 사이 작은 화살표. 줄이 바뀌어도 반듯해요 */
.rchips { display: flex; flex-wrap: wrap; gap: 7px 18px; margin-top: 8px; }
.rchip { position: relative; display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 9px;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; line-height: 1; color: var(--ink); white-space: nowrap; }
.rchip b { font-weight: 700; }
.rchip em { font-style: normal; font-weight: 700; font-size: 12px; color: #ef8b98; }
.rchip__fly { font-size: 12px; color: #fff1c5; }
.rchip__arr { position: absolute; left: -14px; top: 50%; width: 10px; height: 1.5px; background: rgb(255 255 255 / .55); }
.rchip__arr::after { content: ""; position: absolute; right: -1px; top: -3px; border: 3.5px solid transparent; border-left: 5px solid rgb(255 255 255 / .55); border-right: 0; }
.rmap { margin: 16px 0 4px; }
.rmap__map { position: relative; isolation: isolate; padding: 6px; border-radius: 24px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -18px rgb(0 0 0 / .6); }
.rmap svg { display: block; width: 100%; max-height: 460px; height: auto; overflow: visible; font-family: var(--f-ui); }
.rmap__sea { fill-opacity: 1; }
.rmap__gridline { stroke: rgb(255 255 255 / .05); stroke-width: .6; }
.rmap__coast { fill: none; stroke: rgb(141 191 177 / .2); stroke-width: 7; stroke-linejoin: round; }
.rmap__land { fill: url(#rmapLand); stroke: rgb(255 255 255 / .85); stroke-width: 1.2; stroke-linejoin: round; }
.rmap__leg { fill: none; stroke: #ef8b98; stroke-width: 2.8; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: rmapDraw .55s var(--d) ease-out forwards; }
.rmap__leg--fly { stroke: #fff1c5; stroke-width: 1.8; stroke-dasharray: .016 .02; stroke-dashoffset: 0; opacity: 0; animation: rmapFade .55s var(--d) ease-out forwards; }
.rmap__pin { opacity: 0; animation: rmapPin .45s var(--d) cubic-bezier(.3, 1.4, .5, 1) forwards; cursor: pointer; }
.rmap__core { fill: #ef8b98; stroke: #fff; stroke-width: 1.4; }
.rmap__halo { fill: rgb(239 139 152 / .25); transition: r .3s; }
.rmap__pin.is-on .rmap__halo { fill: rgb(239 139 152 / .45); r: 14; }
.rmap__hit { fill: transparent; }
.rmap__pin--side circle { fill: #fff1c5; }
.rmap__n { fill: #fff; font-size: 6.5px; font-weight: 800; pointer-events: none; }
.rmap__tag rect { fill: rgb(14 17 48 / .78); stroke: rgb(255 255 255 / .16); stroke-width: .6; }
.rmap__tag text { font-size: 10px; }
.rmap__tag { transition: opacity .25s; }
.rmap__tn { fill: #fff; font-family: var(--f-head); font-weight: 700; }   /* 지역명은 국문 제목 글꼴(학교안심 알림장) */
.rmap__ts { fill: #ef8b98; font-weight: 700; font-size: 9px; }
.rmap__tag--side rect { fill: rgb(14 17 48 / .6); }
.rmap__tag--side .rmap__tn { fill: #fff1c5; font-weight: 700; font-size: 9px; }
.rmap__dot circle { fill: #fff; }
.rmap__dot .rmap__dot-glow { fill: rgb(255 241 197 / .45); }
.rmap__legend path { fill: none; stroke-width: 2; } .rmap__lg-car { stroke: #ef8b98; } .rmap__lg-fly { stroke: #fff1c5; stroke-dasharray: 3 3; }
.rmap__legend text { fill: rgb(255 255 255 / .7); font-size: 8.5px; font-weight: 600; }
.rmap__compass path { fill: rgb(255 241 197 / .8); } .rmap__compass text { fill: rgb(255 255 255 / .7); font-size: 7.5px; font-weight: 700; }
.rmap.is-static .rmap__leg { animation: none; stroke-dashoffset: 0; }
.rmap.is-static .rmap__leg--fly, .rmap.is-static .rmap__pin { animation: none; opacity: 1; }
/* 사진 팝업: 정거장 핀 옆에 폴라로이드 사진이 스르륵 떠요 */
/* 지도 바탕: 맨 위 여행지 썸네일과 같은 사진을 꽉 차게 깔고 어둡게(위·아래는 더 진하게) */
.rmap__bgphoto { position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; }
.rmap__bgphoto img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.rmap__bgphoto::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(10 12 32 / .78) 0%, rgb(10 12 32 / .6) 40%, rgb(10 12 32 / .66) 70%, rgb(10 12 32 / .86) 100%); }
/* 지도 그림과 같은 크기의 틀: 팝업 자리(%)가 지도 그림 기준이라 핀 바로 옆에 붙어요 */
.rmap__stage { position: relative; margin: 0 auto; width: 100%; }
.rmap__stage svg { width: 100%; height: 100%; max-height: none; }
/* 폴라로이드 틀 하나: 정거장에 도착하면 그 옆 바다 자리(JS)에서 빠르게 톡 떠올라요. 움직이며 따라가지 않아요 */
.rmap__float { position: absolute; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); pointer-events: none; opacity: 0; transform: scale(.8); transform-origin: center; }
.rmap__float.is-on { animation: rmapPopIn .32s cubic-bezier(.2, 1.35, .45, 1) forwards; }
@keyframes rmapPopIn { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
.rmap__pop { grid-area: 1 / 1; min-width: 0; opacity: 0; }   /* 사진 원래 크기로 칸이 넓어지지 않게 */
.rmap__pop.is-on { opacity: 1; }
/* 동그라미 사진: 얇은 흰 테두리 원 + 은은한 빛, 아래에 흰 글씨(위치·박수 굵게, 할 거리 작게). 바탕 상자 없이 사진 위 그림자로 읽혀요 */
.rmap__polar { display: flex; flex-direction: column; align-items: center; text-align: center; }
.rmap__circ { position: relative; display: block; width: 78%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 5px rgb(255 255 255 / .14), 0 14px 30px -10px rgb(0 0 0 / .8); }
.rmap__circ img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 사진 위에 얹는 1px 아이보리 테두리(사진 가장자리를 덮어요) */
.rmap__circ::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--brand-ivory); pointer-events: none; }
.rmap__polar b { display: block; max-width: 100%; margin-top: calc(8px * var(--ps, 1)); font-family: var(--f-head); font-size: calc(12.5px * var(--ps, 1)); font-weight: 700; line-height: 1.25;
  color: #fff; letter-spacing: .01em; text-shadow: 0 1px 6px rgb(0 0 0 / .75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rmap__polar small { display: block; margin-top: 2px; font-size: calc(11.5px * var(--ps, 1)); font-weight: 600; line-height: 1.35;
  color: rgb(255 255 255 / .82); text-shadow: 0 1px 5px rgb(0 0 0 / .8); }
/* 좁은 지도(휴대폰): 사진 아래 글자를 조금 작게 */
.rmap__map { container-type: inline-size; }
@container (max-width: 440px) {
  .rmap__polar b { font-size: calc(10.5px * var(--ps, 1)); margin-top: 6px; }
  .rmap__polar small { font-size: calc(10px * var(--ps, 1)); }
}
/* 아래 카드 줄: 정거장마다 사진·이름·박수·할 거리(옆으로 넘겨 봐요) */
.rmap__cards { display: flex; gap: 10px; margin: 12px -22px 0; padding: 2px 22px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 22px; scrollbar-width: none; }   /* 카드가 멈출 때도 왼쪽 22px 여백(다른 상자들과 같은 선) */
.rmap__cards::-webkit-scrollbar { display: none; }
/* 가로로 넘기는 줄(js/dragscroll.js): 마우스로 끌어 넘기는 동안 */
:is(.rmap__cards, .pday__tabs, .eats)[data-drag] { cursor: grab; }
:is(.rmap__cards, .pday__tabs, .eats).is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
:is(.rmap__cards, .pday__tabs, .eats).is-drag > * { pointer-events: none; }
.rmap__card { flex: none; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; width: 168px; scroll-snap-align: start; text-align: left; border-radius: 18px; overflow: hidden; background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s, transform .25s; }
.rmap__card.is-on { box-shadow: inset 0 0 0 1.5px rgb(255 241 197 / .8); transform: translateY(-2px); }
.rmap__ph { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.rmap__ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rmap__cb { display: block; padding: 9px 11px 11px; }
.rmap__ch { display: flex; align-items: center; gap: 6px; }
.rmap__ch i { flex: none; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; display: grid; place-items: center; background: #ef8b98; color: #1c214d; font-style: normal; font-size: 11px; font-weight: 800; }
.rmap__card--side .rmap__ch i { background: #fff1c5; }
.rmap__ch b { font-family: var(--f-head); font-weight: 700; font-size: 14px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rmap__ch em { flex: none; margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; color: #ef8b98; }
.rmap__ca { display: block; margin-top: 5px; font-size: 11.5px; line-height: 1.35; color: rgb(255 255 255 / .82); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rmap__ca::before { content: "· "; color: #ef8b98; font-weight: 800; }
.rmap__cf { display: block; margin-top: 6px; font-size: 10.5px; color: rgb(255 241 197 / .8); font-weight: 600; }
@keyframes rmapDraw { to { stroke-dashoffset: 0; } }
@keyframes rmapFade { to { opacity: .9; } }
@keyframes rmapPin { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.rmap__pin { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: reduce) {
  .rmap__float.is-on { animation: none; opacity: 1; transform: none; }
  .rmap__leg { animation: none; stroke-dashoffset: 0; } .rmap__leg--fly, .rmap__pin { animation: none; opacity: 1; } .rmap__dot { display: none; } }

/* 일정 지역별 A안·B안 사진 카드(고르기). 고른 카드는 반투명 아이보리 테두리 + ✓, 안 고른 카드는 사진을 살짝 어둡게 */
.optcards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.optcard { position: relative; display: flex; flex-direction: column; text-align: left; border-radius: 16px; overflow: hidden;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, transform .2s; }
.optcard__ph { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: rgb(255 255 255 / .06); }
.optcard__ph img { display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(.62) saturate(.8); transition: filter .25s; }
.optcard.is-on .optcard__ph img { filter: none; }
.optcard__b { display: block; padding: 9px 11px 11px; }
.optcard__h { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.optcard__h b { font-size: 14px; font-weight: 800; color: var(--ink); }
.optcard small { display: -webkit-box; margin-top: 4px; font-size: 11.5px; line-height: 1.4; color: var(--ink-2); -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.optcard.is-on { box-shadow: 0 10px 24px -14px rgb(0 0 0 / .6); background: rgb(255 241 197 / .14);
}   /* 1px 아이보리 테두리는 아래 ::before 로 사진 위까지 둘러요 */
.optcard.is-on .optcard__h b { color: #fff1c5; }
.optcard.is-on::after { content: ""; position: absolute; z-index: 4; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%;
  background: #fff1c5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c214d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px 14px no-repeat; box-shadow: 0 4px 10px rgb(0 0 0 / .35); }   /* ✓는 그림으로(글자는 동그라미 가운데서 치우쳐요) */

/* 다른 추천 식당 카드 맨 위 대표 사진(예시 표시) */
.eat__ph { position: relative; display: block; margin: -12px -13px 10px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.eat__ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.eat__ph em { position: absolute; right: 6px; bottom: 6px; padding: 2px 6px; border-radius: 6px; font-style: normal; font-size: 10px; font-weight: 700;
  color: #fff; background: rgb(10 12 32 / .55); }

/* 식당 고르기: 지금 고른 식당 카드는 A안·B안 카드처럼 1px 아이보리 테두리(사진 위까지) + ✓, 다른 카드는 사진을 살짝 어둡게 */
.eat { position: relative; }
.eat.is-on { background: rgb(255 241 197 / .14); }
/* 1px 아이보리 테두리는 카드 맨 위에 덮어 그려요(사진 칸이 테두리를 가리지 않게 — 사진 위까지 둘러요) */
.eat.is-on::before, .optcard.is-on::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgb(255 241 197 / .95); }
.eat.is-on .eat__n { color: #fff1c5; }
.eat.is-on::after { content: ""; position: absolute; z-index: 4; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%;
  background: #fff1c5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c214d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px 14px no-repeat; box-shadow: 0 4px 10px rgb(0 0 0 / .35); }   /* ✓는 그림으로(글자는 동그라미 가운데서 치우쳐요) */
.eats:has(.eat.is-on) .eat:not(.is-on) .eat__ph img { filter: brightness(.62) saturate(.8); }
.chip--now { background: rgb(255 241 197 / .9); color: #1c214d; box-shadow: none; pointer-events: none; }

/* ── 하루 동선(js/dayroute.js): 번호 핀 · 장소 사이 거리 · 동선 지도 시트 ───────── */
.it__dot--n { width: 20px; height: 20px; margin: 0 0 0 -3px; display: grid; place-items: center; font-family: var(--f-num); font-size: 11px; font-weight: 800;
  font-variant-numeric: lining-nums tabular-nums; line-height: 1; color: var(--brand-cream); background: var(--night); box-shadow: 0 0 0 2px var(--paper); }
.it__dot--n.it__dot--act { background: var(--honey); color: var(--night); }
.it__dot--n.it__dot--meal { background: var(--dusk); color: var(--night); }
.it__dot--n.it__dot--stay { background: var(--lagoon); color: var(--night); }
.it__dot--n.it__dot--custom { background: var(--link); color: #fff; }
.view--night .it__dot--n { box-shadow: 0 0 0 2px rgb(var(--deep-rgb) / .9); }
.view--night .it__dot--n.it__dot--sight, .view--night .it__dot--n.it__dot--shop { background: var(--brand-cream); color: var(--night); }
.it-leg { list-style: none; margin: -8px 0 8px 68px; }
.it-leg span { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: var(--r-pill); font-family: var(--f-num); font-size: 11.5px; font-weight: 700;
  color: var(--ink-2); background: var(--halo-2); font-variant-numeric: lining-nums tabular-nums; }
.view--night .it-leg span { color: rgb(255 241 197 / .85); background: rgb(255 241 197 / .1); box-shadow: inset 0 0 0 1px rgb(255 241 197 / .22); }
.dr-days { display: flex; gap: 6px; overflow-x: auto; margin: 12px -22px 0; padding: 2px 22px 4px; scrollbar-width: none; }
.dr-days::-webkit-scrollbar { display: none; }
.dr-days .chip { height: 34px; padding: 0 13px; font-size: var(--fs-sm); flex: none; }
.dr-days .chip[aria-selected="true"] { background: var(--night); color: var(--on-dark); box-shadow: none; }
.dr-days .chip[disabled] { opacity: .4; }
.dr-map { position: relative; height: min(52vh, 440px); min-height: 260px; margin: 12px 0 10px; border-radius: var(--r-lg); overflow: hidden; background: var(--halo-2); box-shadow: var(--edge); }
.dr-map > .t-sub { padding: 18px; }
.dr-map.is-loading::after { content: "지도를 불러오는 중…"; position: absolute; inset: 0; display: grid; place-items: center; font-size: var(--fs-sm); color: var(--ink-3); pointer-events: none; }
.dr-map.is-failed { display: grid; place-items: center; padding: 18px; font-size: var(--fs-sm); color: var(--ink-2); text-align: center; }
.dr-map .maplibregl-ctrl-attrib { font-size: 10px; }
.dr-pin { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-num); font-size: 13px; font-weight: 800; color: var(--brand-cream);
  background: var(--night); box-shadow: 0 0 0 2.5px #fff, 0 4px 10px -2px rgb(var(--night-rgb) / .55); cursor: pointer; transition: transform .15s; z-index: 1; }
.dr-pin--act { background: var(--honey); color: var(--night); }
.dr-pin--meal { background: var(--dusk); color: var(--night); }
.dr-pin--stay { background: var(--lagoon); color: var(--night); }
.dr-pin--custom { background: var(--link); color: #fff; }
.dr-pin--approx { background: var(--brand-cream); color: var(--night); box-shadow: 0 0 0 2px var(--night) inset, 0 0 0 2.5px #fff, 0 4px 10px -2px rgb(var(--night-rgb) / .35); border: 2px dashed var(--night); }
.dr-pin.is-on { transform: scale(1.25); z-index: 2; }
.dr-list { list-style: none; margin: 4px 0 12px; }
.dr-list .it-leg { margin: 0 0 0 30px; padding: 2px 0; }
.dr-stop { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; width: 100%; padding: 8px 6px; border-radius: 12px; text-align: left; }
.dr-stop .it__dot--n { margin: 0; }
.dr-stop.is-on { background: var(--paper); box-shadow: var(--edge); }
.dr-stop__t { font-weight: 700; font-size: var(--fs-md); line-height: 1.35; }
.dr-stop__m { font-size: var(--fs-sm); font-weight: 700; color: var(--ink-3); }

/* ── 추천 일정 받기(js/tripstyle.js) ───────────────────────── */
.ts-cta { margin: 10px 0 4px; }
.ts-cta__btn { width: 100%; }
.ts-cta .t-cap { margin-top: 6px; }
.ts-cta.is-set { padding: 12px 14px; border-radius: 16px; background: var(--paper); box-shadow: var(--edge); }
.view--night .ts-cta.is-set { background: rgb(255 241 197 / .1); box-shadow: inset 0 0 0 1px rgb(255 241 197 / .3); }
.ts-cta__h { display: flex; align-items: center; justify-content: space-between; }
.ts-cta__h .linkbtn { margin: 0; }
.ts-cta__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.ts-chip { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 11px; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 700; background: var(--halo-2); color: var(--ink); }
.ts-chip--pace { background: var(--honey-soft); color: var(--honey-ink); }
.view--night .ts-chip { background: rgb(255 241 197 / .16); color: #fff1c5; }
.view--night .ts-chip--pace { background: var(--honey); color: var(--night); }
.ts-cta__apply { display: block; width: 100%; margin-top: 8px; padding: 10px 12px; border-radius: 12px; font-size: var(--fs-sm); font-weight: 700; text-align: left; background: var(--honey); color: var(--night); }
.ts-steps { display: flex; gap: 6px; margin: 2px 0 14px; }
.ts-steps i { width: 26px; height: 5px; border-radius: 3px; background: var(--line-strong); }
.ts-steps i.is-on { background: var(--night); }
.ts-q { font-family: var(--f-head); font-size: 22px; line-height: 1.3; margin-bottom: 4px; }
.ts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.ts-opt { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 10px 12px; border-radius: 14px; background: var(--paper); box-shadow: var(--edge); font-size: var(--fs-md); font-weight: 700; text-align: left; line-height: 1.3; }
.ts-opt__i { font-size: 20px; line-height: 1; flex: none; }
.ts-opt[aria-pressed="true"] { background: var(--night); color: var(--on-dark); box-shadow: none; }
.ts-pace { display: grid; gap: 10px; margin-top: 14px; }
.ts-pace__o { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 16px 18px; border-radius: 16px; background: var(--paper); box-shadow: var(--edge); text-align: left; }
.ts-pace__o b { font-size: var(--fs-lg); }
.ts-pace__o span { font-size: var(--fs-sm); color: var(--ink-2); }
.ts-pace__o[aria-checked="true"] { background: var(--night); color: var(--on-dark); box-shadow: none; }
.ts-pace__o[aria-checked="true"] span { color: rgb(255 245 239 / .8); }
.ts-recs { list-style: none; margin: 14px 0 16px; display: grid; gap: 8px; }
.ts-rec { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--paper); box-shadow: var(--edge); }
.ts-rec__d { font-family: var(--f-num); font-size: var(--fs-sm); font-weight: 800; color: var(--ink-3); padding-top: 2px; }
.ts-rec__n { font-weight: 800; font-size: var(--fs-base); }
.ts-rec__o { margin: 4px 0 3px; font-size: var(--fs-sm); line-height: 1.45; }
.ts-rec__o .tag { height: 20px; padding: 0 7px; }

/* ── 일정 화면 날짜 탭 + 동선 지도(고정): 스크롤해도 위에 붙어 있어요 ───────── */
.pday { position: sticky; top: var(--sb-h); z-index: 12; margin: 0 0 6px; padding: 8px 22px 10px;
  background: rgb(var(--halo-rgb) / .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 18px -16px rgb(var(--night-rgb) / .6); }
.view--night .pday { background: rgb(14 17 44 / .9); box-shadow: 0 12px 20px -14px rgb(0 0 0 / .7), inset 0 -1px 0 rgb(255 241 197 / .12); }
.pday__tabs { display: flex; gap: 6px; overflow-x: auto; margin: 0 -22px; padding: 2px 22px 8px; scrollbar-width: none; scroll-snap-type: x proximity; }
.pday__tabs::-webkit-scrollbar { display: none; }
.pday__t { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 62px; height: 46px; padding: 0 10px;
  border-radius: 14px; background: var(--paper); box-shadow: var(--edge); scroll-snap-align: center; }
.pday__t b { font-family: var(--f-num); font-size: var(--fs-md); font-weight: 800; line-height: 1.1; }
.pday__t span { font-family: var(--f-num); font-size: 11.5px; font-weight: 600; color: var(--ink-3); font-variant-numeric: lining-nums tabular-nums; }
.pday__t[aria-selected="true"] { background: var(--night); color: var(--on-dark); box-shadow: none; }
.pday__t[aria-selected="true"] span { color: rgb(255 245 239 / .8); }
.view--night .pday__t { color: #fff1c5; background: rgb(255 241 197 / .1); box-shadow: inset 0 0 0 1px rgb(255 241 197 / .3); }
.view--night .pday__t span { color: rgb(255 241 197 / .72); }
.view--night .pday__t[aria-selected="true"] { background: var(--brand-cream); color: var(--night); box-shadow: none; }
.view--night .pday__t[aria-selected="true"] span { color: var(--brand-slate); }
.pday__mapw { overflow: hidden; border-radius: 16px; box-shadow: var(--edge); }
.pday__map, .pday__mapbox { position: relative; width: 100%; height: clamp(170px, 28vh, 260px); background: var(--halo-2); }
.view--night .pday__map, .view--night .pday__mapbox { background: #2a2f5c; }
.pday__mapbox.is-loading::after { content: "지도를 불러오는 중…"; position: absolute; inset: 0; display: grid; place-items: center; font-size: var(--fs-sm); color: var(--ink-3); pointer-events: none; }
.pday__mapbox.is-failed { display: grid; place-items: center; padding: 14px; font-size: var(--fs-sm); text-align: center; color: var(--ink-2); }
.pday__mapbox .maplibregl-ctrl-attrib { font-size: 10px; }
.pday.is-folded .pday__mapw { display: none; }
.pday__bar { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.pday__sum { flex: 1; min-width: 0; font-size: var(--fs-sm); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.view--night .pday__sum { color: #fff1c5; }
.pday__btn { flex: none; height: 30px; padding: 0 11px; border-radius: 10px; font-size: 12.5px; font-weight: 700; background: var(--paper); box-shadow: var(--edge); }
.view--night .pday__btn { color: #fff1c5; background: rgb(255 241 197 / .12); box-shadow: inset 0 0 0 1px rgb(255 241 197 / .35); }
.dr-empty { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 8px 14px; border-radius: 12px; font-size: var(--fs-sm); font-weight: 700;
  color: var(--night); background: rgb(255 255 255 / .92); box-shadow: 0 6px 16px -8px rgb(var(--night-rgb) / .5); white-space: nowrap; }
.it.is-flash .it__body { animation: itflash 1.4s ease-out; border-radius: 10px; }
@keyframes itflash { 0%, 30% { background: rgb(243 201 95 / .35); box-shadow: 0 0 0 6px rgb(243 201 95 / .35); } 100% { background: transparent; box-shadow: 0 0 0 6px transparent; } }
@media (prefers-reduced-motion: reduce) { .it.is-flash .it__body { animation: none; outline: 2px solid var(--honey); } }
/* 이동이 긴 날: 지역별 지도 버튼(두바이 1–3 → 모리셔스 4–6) */
.dr-parts { display: flex; align-items: center; gap: 6px; overflow-x: auto; padding: 8px 10px; scrollbar-width: none; background: rgb(255 255 255 / .9); }
.dr-parts::-webkit-scrollbar { display: none; }
.sheet .dr-parts { margin: 10px 0 0; padding: 0; background: none; }
.dr-part { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: var(--r-pill); font-size: var(--fs-sm); color: #1c214d;
  background: #eceef8; box-shadow: inset 0 0 0 1px rgb(28 33 77 / .2); }   /* 지도 위 흰 띠에 놓여서 밤 화면에서도 밝은 색 그대로 써요 */
.dr-part span { font-family: var(--f-num); font-size: 12px; font-weight: 700; color: #575d8c; }
.dr-part[aria-pressed="true"] { background: var(--night); color: var(--brand-cream); box-shadow: none; }
.dr-part[aria-pressed="true"] span { color: rgb(255 241 197 / .8); }
.dr-part__to { flex: none; font-style: normal; font-size: 12px; color: #575d8c; }
.it-leg--far span { background: var(--honey-soft); color: var(--honey-ink); box-shadow: none; }
.view--night .it-leg--far span { background: rgb(243 201 95 / .22); color: #fff1c5; box-shadow: inset 0 0 0 1px rgb(243 201 95 / .5); }

/* 여행 중 '오늘' 화면: 오늘 동선 지도 + 구글 지도 길찾기, 일정 줄마다 '지도' 링크(구글 지도 앱·웹으로 바로 열려요) */
.today-map { margin: 14px 0 8px; border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -18px rgb(0 0 0 / .6); }
.today-map__slot, .today-map__box { position: relative; width: 100%; height: clamp(220px, 36vh, 320px); background: #2a2f5c; }
.today-map .dr-parts { background: rgb(14 17 44 / .9); }
.today-map__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 8px; }
.today-map__bar .linkbtn { margin: 0; }
.today-map__go { margin: 0 0 6px; }
.today-it { gap: 2px; }
.today-it li { align-items: center; gap: 10px; padding: 6px 8px; margin: 0 -8px; border-radius: 12px; transition: background .2s; }
.today-it li.is-on { background: rgb(255 241 197 / .12); }
.today-it .it__dot--n { flex: none; margin: 0; border: 0; cursor: pointer; }
.today-it__sp { flex: none; width: 20px; }
.today-it__t { flex: 1; min-width: 0; }
.today-it__map { flex: none; display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 10px; font-size: var(--fs-xs); font-weight: 700;
  color: #fff1c5; background: rgb(255 241 197 / .14); box-shadow: inset 0 0 0 1px rgb(255 241 197 / .42); text-decoration: none; }
.today-it__map:active { background: rgb(255 241 197 / .24); }
/* 크게 보기(하루 동선 창)가 밤하늘일 때 고른 날짜 칩: 반투명 아이보리 + 아이보리 테두리 */
.sheet--night .dr-days .chip[aria-selected="true"] { background: rgb(255 241 197 / .18); box-shadow: inset 0 0 0 1.5px rgb(255 241 197 / .75); color: #fff1c5; }
/* ── 직접 만드는 여행(js/own_trip.js) ── 입구 카드 · 일정표 머리 · 편집 시트 */
.owncard { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 12px; padding: 14px 16px; border-radius: var(--r-md); text-align: left;
  background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); color: var(--on-dark); }
.owncard b { display: block; font-size: var(--fs-md); }
.owncard .t-cap { display: block; margin-top: 2px; color: var(--on-dark-2); }
.owncard__ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--honey); color: var(--honey-ink); }
.owncard__ic svg { width: 18px; height: 18px; }
.couple-trip-card { text-align: start; }
.couple-trip-card__summary { display: block; }
.couple-trip-preview { margin-top: 16px; }
.couple-trip-preview details, details.couple-trip-preview { padding: 10px 0; border-bottom: 1px solid var(--line); }
.couple-trip-preview summary { cursor: pointer; }
.couple-trip-preview ul { padding-inline-start: 22px; }
.couple-trip-preview li { margin-top: 6px; }
#couple-trip-depart, #couple-trip-days { padding-inline: 10px; font-size: var(--fs-base); }
.plan-hero--own { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 18px 16px 16px; }
.plan-hero--own::before { display: none; }
.plan-hero--own .plan-hero__in { padding: 0; min-width: 0; }
.plan-hero__title { display: block; margin-top: 10px; font-size: 24px; line-height: 1.25; color: #fff; }
.plan-hero--own .plan-route { display: block; margin-top: 8px; font-size: var(--fs-sm); color: rgb(255 255 255 / .8); }
.plan-hero--own .btn { flex: none; }
.own { margin-top: 6px; }
.own__leg { margin: 8px 0 8px 14px; padding: 8px 0 8px 14px; border-left: 2px dashed var(--line); }
.own__leg .input, .own__stop .input { height: 44px; font-size: var(--fs-md); }
.own__leg > .input { margin-top: 6px; }
.own__lh { font-size: var(--fs-xs); font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.own__row { display: flex; align-items: center; gap: 6px; }
.own__row + .own__row { margin-top: 6px; }
.own__mode { flex: 0 0 96px; padding: 0 10px; }
.own__t { flex: 1 1 0; min-width: 0; padding: 0 10px; }
.own__tilde { color: var(--ink-2); }
.own__stop { padding: 12px; border-radius: var(--r-md); background: var(--paper); box-shadow: var(--edge); }
.own__stop .input { background: rgb(var(--night-rgb) / .04); box-shadow: none; }
.own__no { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--honey); color: var(--honey-ink); font-size: var(--fs-sm); }
.own__n { flex: 0 0 86px; display: flex; align-items: center; gap: 4px; font-weight: 700; color: var(--ink-2); }
.own__n .input { padding: 0 8px; text-align: center; }
.own__add { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; }
.own__sum { margin: 14px 0 10px; font-weight: 700; text-align: center; color: var(--ink-2); }
.pday__none { margin: 2px 0 6px; }   /* 직접 만든 여행에 좌표 있는 장소가 아직 없을 때: 지도 대신 안내 한 줄 */
/* 그림 제목(.ob-title img)이 없는 문구: 같은 학교안심 알림장 B 글자로 써요(커플여행 역할 고르기) */
.ob-title--text { font-family: var(--f-head); font-weight: 700; font-size: 31px; line-height: 1.22; letter-spacing: -.01em; color: #fff5ef; }
/* 상세 일정: 장소 이름 버튼 · 고르는 칸 칩 · 안 되는 날 안내 · 고르는 칸·장소 시트 */
.it__pl { font: inherit; color: inherit; text-align: left; padding: 0; background: none; text-decoration: underline dotted var(--ink-3); text-underline-offset: 3px; }
.it__slot { margin-top: 6px; }
.it__slot .chip { height: 32px; padding: 0 12px; font-size: var(--fs-sm); }
.day__warn { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 8px 0 2px; padding: 10px 14px; border-radius: var(--r-md); background: var(--honey-soft); color: var(--honey-ink); font-size: var(--fs-sm); line-height: 1.55; }
.day__warn .linkbtn { padding: 4px 0; color: var(--honey-ink); text-decoration: underline; }
.slotc__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.slotc__btns { display: flex; gap: 8px; margin-top: 12px; }
.slotc__btns .btn { flex: 1; }
.place__f { margin: 14px 0 0; display: grid; gap: 8px; }
.place__f > div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; font-size: var(--fs-md); line-height: 1.55; }
.place__f dt { color: var(--on-dark-2, var(--ink-3)); }
.place__f dd { margin: 0; }
.place__wk summary { cursor: pointer; font-size: var(--fs-sm); font-weight: 700; color: var(--link); padding: 4px 0; }
.place__btns { display: flex; gap: 8px; margin-top: 18px; }
.place__btns .btn { flex: 1; }

/* ── 선택(작업 27): 구간 다르게 가기 · 이 날 다른 하루로 · 여행에 더하기 ── */
.pvar { margin-top: 12px; }
.pvar__h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: var(--fs-sm); }
.pvar__h b { font-weight: 800; }
.pvar__h .linkbtn { padding: 4px 0; font-size: 13px; }
.pvar .optcard small + small { margin-top: 2px; }
.dalt { display: flex; align-items: center; gap: 4px 12px; flex-wrap: wrap; margin: -2px 0 8px; }
.dalt .linkbtn { padding: 4px 0; font-size: 13px; }
.dalt .tag { padding: 3px 8px; font-size: 11.5px; color: var(--honey-ink); }
.dalt__stops { line-height: 1.5; }
.dalt__warn { color: var(--honey-ink); }
.addons__h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.addon.is-off { opacity: .6; }
.addon__mo { opacity: .85; }
.addon__msg b { font-weight: 800; }
