/* Korea Check-in v10
   VOICE   calm, terse travel companion: the answer first, nothing to wade through.
   IDEA    Seoul station wayfinding + a boarding pass: white ground, black type, line-colour discs, yellow exit numbers, a check-in pass for your dates.
   COLOUR  white ground, ink #111418, Korea red #D62F3C for the pass and what's urgent, exit yellow #FFC72C on station signs only, subway line colours for lines.
   TYPE    Do Hyeon (Korean shop-sign lettering) for titles and big numbers, IBM Plex Sans KR for everything else.
   LAYOUT  one 480px column on every screen; no cards on grey, sections separated by air and hairlines. */
:root {
  --bg: #fff; --surface: #fff; --fill: #f3f4f5; --fill2: #f8f8f9; --ink: #111418; --ink2: #4b5159; --muted: #81878f; --line: #e8e9eb;
  --brand: #111418; --brand-dark: #000; --brand-soft: #f3f4f5;
  --red: #d62f3c; --red-soft: #fdeeef;
  --accent: #d62f3c; --accent-soft: #fdeeef;
  --ok: #0f7b55; --ok-soft: #e7f4ee;
  --wait: #a86300; --wait-soft: #fff3df;
  --exit: #ffc72c;
  --r: 18px; --r-sm: 12px;
  --font: "IBM Plex Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  --display: "Do Hyeon", "IBM Plex Sans KR", "Apple SD Gothic Neo", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: #e6e7e9; word-break: keep-all; overflow-wrap: anywhere; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid #ffc72c; outline-offset: 2px; border-radius: 6px; }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.3; letter-spacing: -0.2px; }
p { margin: 0 0 12px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- app frame */
.app { max-width: 480px; min-height: 100vh; margin: 0 auto; background: var(--bg); position: relative; padding-bottom: 84px; }
@media (min-width: 520px) { .app { box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 20px 60px rgba(17,20,24,.10); } }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 8px; z-index: 50; background: #fff; padding: 8px 12px; border-radius: 8px; }

.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 4px; height: 54px; padding: 0 6px 0 16px;
  background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; align-items: baseline; color: var(--ink); font-family: var(--display); font-size: 22px; line-height: 1; letter-spacing: -0.2px; margin-right: auto; white-space: nowrap; }
.logo i, .pass-brand i { font-style: normal; color: var(--red); }
.logo:hover { color: var(--ink); }
.back { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: -10px; color: var(--ink); font-size: 32px; line-height: 1; font-weight: 300; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); border-radius: 12px; cursor: pointer; }
.icon-btn:hover { background: var(--fill); }
.icon-btn svg { width: 23px; height: 23px; }

main { padding: 4px 20px 24px; }

.tabbar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; z-index: 30;
  display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
  padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; min-height: 52px; padding-top: 6px; color: #a2a7ae; font-size: 11px; font-weight: 500; }
.tabbar a svg { width: 24px; height: 24px; }
.tabbar a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.tabbar a[aria-current="page"]::before { content: ""; position: absolute; top: -5px; left: 50%; width: 24px; height: 3px; margin-left: -12px; border-radius: 0 0 3px 3px; background: var(--red); }

/* ---------- common bits */
.small { font-size: 14px; color: var(--ink2); }
.lede { font-size: 16px; color: var(--ink2); }
.page-h { font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1.1; letter-spacing: -0.3px; margin: 18px 0 6px; text-wrap: balance; }
.sec { margin: 34px 0; }
.sec > h2:first-child, .sec-h { margin: 0 0 12px; font-size: 19px; font-weight: 700; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; letter-spacing: -0.3px; }
.sec-h a { font-size: 14px; font-weight: 500; color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 52px; padding: 0 22px; font: inherit; font-weight: 700; font-size: 16px;
  color: #fff; background: var(--ink); border: 0; border-radius: 14px; cursor: pointer; }
.btn:hover { background: #000; color: #fff; }
.btn:disabled { background: #c6c9cd; cursor: default; }
.btn-ghost { min-height: 38px; padding: 0 14px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--fill); border: 0; border-radius: 10px; cursor: pointer; }
.btn-ghost:hover { background: #e9eaec; }
.linklike { font: inherit; color: var(--ink2); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cta { display: flex; align-items: center; gap: 10px; min-height: 54px; margin: 18px 0; padding: 0 18px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 700; }
.cta:hover { color: #fff; background: #000; }
.cta span:last-child { margin-left: auto; font-size: 22px; line-height: 1; font-weight: 400; }
.cta .ei, .cta .ki-s { width: 20px; height: 20px; }

/* ---------- home: the check-in pass */
.pass { position: relative; margin: 16px 0 0; border: 1px solid #dfe1e4; border-radius: 22px; background: #fff; box-shadow: 0 1px 0 rgba(17,20,24,.03), 0 12px 32px rgba(17,20,24,.07); }
.pass-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 46px; padding: 0 18px; background: var(--red); color: #fff; border-radius: 21px 21px 0 0; }
.pass-brand { font-family: var(--display); font-size: 19px; line-height: 1; }
.pass-brand i { color: #fff; opacity: .7; }
.pass-d { font-family: var(--display); font-size: 22px; line-height: 1; letter-spacing: .3px; }
.pass form { padding: 18px 18px 20px; }
.pass-q { margin: 0 0 14px; font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.1; letter-spacing: -0.3px; }
.pass .fields { display: grid; grid-template-columns: minmax(0,1fr) 16px minmax(0,1fr); align-items: end; gap: 12px 8px; margin: 0 0 16px; }
.pass .fields .wide { grid-column: 1 / -1; }
.pass-arrow { display: grid; place-items: center; height: 52px; color: #b4b8bd; font-size: 18px; }
.pass .btn { width: 100%; }
.pass input[type="date"] { padding: 12px 10px; font-size: 15px; }
.trip-err { color: var(--red); font-weight: 600; font-size: 14px; margin: -6px 0 12px; }
.trip-out { padding: 16px 18px 18px; }
.trip-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 4px; }
.trip-dates { margin: 0; font-family: var(--display); font-size: 25px; line-height: 1.2; letter-spacing: -0.2px; text-wrap: balance; }
.trip-head .btn-ghost { flex: none; white-space: nowrap; }
.trip-rows { margin: 8px 0 4px; }
.trip-rows > div { padding: 14px 0; border-top: 1px solid var(--line); }
.trip-rows > div:first-child { border-top: 0; }
.trip-rows dt { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 3px; }
.trip-rows dd { margin: 0; font-size: 15px; }
.trip-rows ul { margin: 0 0 6px; padding-left: 18px; }
.trip-rows li { margin-bottom: 4px; }
.trip-rows p { margin: 6px 0 0; }
.trip-rows .tone-act .v-head, .trip-rows .tone-stop .v-head { color: var(--red); }
.trip-rows .tone-wait .v-head { color: var(--wait); }
.trip-out .cta { margin: 10px 0 6px; }
.trip-clear { margin: 10px 0 0; text-align: center; font-size: 13px; }
.v-head { font-weight: 700; margin: 0 0 6px; }
#route-chip { display: flex; align-items: center; gap: 8px; margin: 0 18px 14px; font-size: 14px; font-weight: 600; color: var(--ink); }
/* perforated stub */
.pass-stub { position: relative; display: flex; align-items: center; gap: 12px; padding: 15px 18px 16px; border-top: 1.5px dashed #d6d8db; font-size: 14px; color: var(--ink2); line-height: 1.4; }
.pass-stub::before, .pass-stub::after { content: ""; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 1px solid #dfe1e4; }
.pass-stub::before { left: -11px; clip-path: inset(0 0 0 50%); }
.pass-stub::after { right: -11px; clip-path: inset(0 50% 0 0); }
.pass-stub:hover { color: var(--ink); }
.deadline-n { margin-left: auto; flex: none; font-family: var(--display); font-weight: 400; font-size: 18px; color: var(--red); }

/* home: tools, cities, emergency */
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tool-t { display: flex; flex-direction: column; gap: 2px; min-height: 122px; padding: 14px; border-radius: 16px; background: var(--fill2); border: 1px solid #eceef0; color: var(--ink); }
.tool-t:hover { color: var(--ink); background: #f1f2f3; }
.tt-i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--c); color: #fff; margin-bottom: auto; }
.tt-i svg { width: 21px; height: 21px; }
.tool-t b { font-size: 16px; font-weight: 700; margin-top: 14px; }
.tool-t small { font-size: 13px; color: var(--muted); }
.hscroll { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 2px 20px 6px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; flex: none; }
.city-t { width: 36%; aspect-ratio: 4/5; border-radius: 16px; padding: 14px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; }
.city-t:hover { color: #fff; }
.city-t b { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; }
.city-t small { font-size: 12.5px; opacity: .85; margin-top: 4px; }
.c-seoul { background: #d62f3c; } .c-busan { background: #0f5fa8; } .c-jeju { background: #e8780c; }
.c-gyeongju { background: #7d5a3a; } .c-jeonju { background: #2f6d4f; } .c-gangneung { background: #3a6f8f; }
.sos ul, .sos-big { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.sos li, .sos-big li { margin: 0; }
.sos ul a, .sos-big a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 74px; border-radius: 14px; background: var(--fill2); border: 1px solid #eceef0; color: var(--ink); text-align: center; }
.sos-big a { min-height: 92px; background: var(--red-soft); border-color: #f6d6d9; }
.sos b, .sos-big b { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.1; color: var(--red); }
.sos a span, .sos-big a span { font-size: 12px; color: var(--ink2); line-height: 1.3; }

/* lists */
.rows { margin: 0; padding: 0; list-style: none; }
.row-link { display: flex; align-items: center; gap: 12px; padding: 13px 0; color: var(--ink); border-bottom: 1px solid var(--line); }
.rows li:last-child > .row-link { border-bottom: 0; }
.row-link:hover { color: var(--ink); }
.r-emoji { flex: none; width: 40px; height: 40px; display: grid; place-items: center; font-size: 20px; border-radius: 12px; background: var(--fill); }
.r-txt { flex: 1; min-width: 0; }
.r-txt b { display: block; font-size: 16px; font-weight: 600; line-height: 1.35; }
.r-txt small { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.r-chev { color: #c3c7cc; font-size: 22px; }
.r-tag { font-size: 11px; font-weight: 700; color: var(--ink2); background: var(--fill); border-radius: 6px; padding: 1px 6px; margin-left: 6px; vertical-align: 1px; }

/* ---------- station sign: line disc + station + yellow exit number */
.xt { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1; }
a.xt:hover { color: var(--ink); }
.xt span { margin: 0 2px 0 1px; }
.xt .ln { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 3px; border-radius: 10px; color: #fff; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: -.3px; }
.xt .ln.w { font-size: 9.5px; }
.xt .xl { font-size: 12px; font-weight: 500; color: var(--muted); margin: 0 1px 0 4px; }
.xt b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 4px; background: var(--exit); color: #111; font-size: 12.5px; font-weight: 700; }

/* ---------- article pages */
.doc { padding: 6px 0 4px; }
.doc > h1, .legacy h1 { margin: 18px 0 12px; font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1.12; letter-spacing: -0.3px; text-wrap: balance; }
.doc.is-tool > h1 { margin-bottom: 16px; }
.lead { font-size: 17.5px; line-height: 1.6; color: var(--ink); margin: 0 0 20px; }
.lead b { font-weight: 700; }
.doc h2 { font-size: 20px; font-weight: 700; margin: 34px 0 10px; letter-spacing: -0.3px; }
.doc h3 { font-size: 16px; font-weight: 700; margin: 18px 0 6px; }
.doc ul, .doc ol { padding-left: 20px; margin: 0 0 14px; }
.doc li { margin-bottom: 7px; }
.doc p > a:not([class]), .doc li > a:not([class]), .doc td a:not([class]), .doc dd > a:not([class]), .legacy p > a:not([class]), .legacy li > a:not([class]), .trip-rows a:not([class]), .result a:not([class]), .doc .lead a { text-decoration: underline; text-decoration-color: rgba(214,47,60,.55); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.answer { margin: 0 0 20px; font-size: 17px; }
.answer p:last-child { margin: 0; }
.tip { font-size: 15px; color: var(--ink2); }
.warning { background: var(--red-soft); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; color: #8e1c26; }
.table-wrap { overflow-x: auto; margin: 0 0 16px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; vertical-align: top; padding: 11px 10px 11px 0; border-bottom: 1px solid var(--line); }
th { font-size: 12.5px; font-weight: 600; color: var(--muted); border-bottom: 1.5px solid var(--ink); }
td:first-child { font-weight: 600; }
td .day, .tnote { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; }
.nowrap { white-space: nowrap; }
tr.sub td { color: var(--ink2); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 9px 16px; margin: 0 0 16px; font-size: 15px; }
.facts dt { font-weight: 600; color: var(--muted); }
.facts dd { margin: 0; }
.phrases { display: grid; gap: 0; margin: 0 0 16px; }
.phr { padding: 12px 0; border-bottom: 1px solid var(--line); }
.phr b { display: block; font-size: 19px; font-weight: 700; }
.phr .rom { font-size: 13px; color: var(--red); font-weight: 600; }
.phr .mean { display: block; font-size: 14px; color: var(--ink2); }
.place-list .r-txt small { color: var(--ink2); }
.pmap, .taxi-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--fill); border: 0; border-radius: 10px; cursor: pointer; }
.pmap .ki-s, .taxi-btn .ki-s { width: 17px; height: 17px; }
.pmap:hover, .taxi-btn:hover { color: var(--ink); background: #e9eaec; }
.dayc { padding: 4px 0 8px; margin: 0 0 18px; border-top: 1.5px solid var(--ink); }
.dayc header { display: flex; align-items: baseline; gap: 10px; padding-top: 12px; margin-bottom: 0; }
.dayc .dn { font-family: var(--display); font-size: 17px; color: var(--red); }
.dayc h3 { margin: 0; font-size: 17px; }
.dayc p { font-size: 14px; color: var(--ink2); margin: 8px 0 0; }

/* legacy pages (K-ETA, holidays, what's new, legal) */
.legacy h2 { font-size: 20px; font-weight: 700; margin: 34px 0 10px; }
.status { background: var(--fill2); border: 1px solid #eceef0; border-radius: 14px; padding: 16px; margin: 4px 0 20px; }
.status.warn { background: var(--wait-soft); border-color: #f6e2bd; }
.status-title { font-weight: 700; margin: 0 0 6px; }
.countdown { font-family: var(--display); font-size: 20px; color: var(--red); margin: 10px 0 0; }
.grid-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid-list h3 { margin: 10px 0 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.grid-list ul { margin: 0 0 8px; padding: 0; list-style: none; font-size: 15px; }
.grid-list li { margin: 0 0 3px; }
.note { font-size: 14px; color: var(--ink2); }
.change { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }
.change .when { font-size: 13px; font-weight: 600; color: var(--red); margin: 0; }
.change h2 { margin: 4px 0 8px !important; font-size: 18px; }
.change dt { font-weight: 600; font-size: 13px; color: var(--muted); }
.change dd { margin: 0 0 10px; }
.cards { display: grid; gap: 0; }
.card { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.card h2 { font-size: 16px !important; margin: 0 0 4px !important; }
.card p { font-size: 14px; color: var(--ink2); margin: 0; }
.card-date { display: none; }

/* ---------- forms and tools */
.field { display: block; min-width: 0; font-size: 13px; font-weight: 700; color: var(--ink2); }
.field input, .field select { display: block; width: 100%; min-width: 0; max-width: 100%; margin-top: 6px; min-height: 52px; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--ink); background: #f2f4f6; border: 1.5px solid transparent; border-radius: 14px; -webkit-appearance: none; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, #8b95a1 50%), linear-gradient(135deg, #8b95a1 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus { border-color: var(--brand); background: #fff; outline: none; }
.tool-form { background: var(--surface); border-radius: 20px; padding: 18px; display: grid; gap: 16px; margin: 12px 0; border: 1px solid var(--line); }
.doc .tool-form { border: 0; padding: 0; background: none; }
.tool-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.tool-form legend, .lbl { font-size: 13px; font-weight: 700; color: var(--ink2); margin-bottom: 8px; padding: 0; display: block; }
.pills, .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pills span, .chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: #f2f4f6; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink2); cursor: pointer; }
.pills input:checked + span, .chip.on { background: var(--ink); color: #fff; }
.pills input:focus-visible + span { outline: 3px solid #8fb2ff; outline-offset: 2px; }
.result { background: #f7f8fa; border-left: 4px solid var(--brand); border-radius: 16px; padding: 16px; margin: 0 0 8px; }
.result.empty { border-left-color: var(--line); color: var(--muted); }
.result ul { margin: 0 0 8px; padding-left: 20px; }
.result .small { margin: 0; }
.refine { margin: 4px 0 -6px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 800; color: var(--muted); }
.tone-ok, .tone-check { border-left-color: var(--brand) !important; }
.tone-wait { border-left-color: var(--wait) !important; }
.tone-wait .v-head { color: var(--wait); }
.tone-act, .tone-stop { border-left-color: var(--accent) !important; }
.tone-act .v-head, .tone-stop .v-head { color: var(--accent); }

.stepper { display: inline-flex; align-items: center; gap: 4px; background: #f2f4f6; border-radius: 14px; padding: 4px; }
.stepper button { width: 44px; height: 44px; border: 0; border-radius: 10px; background: #fff; font-size: 22px; font-weight: 700; color: var(--ink); cursor: pointer; }
.stepper output { min-width: 40px; text-align: center; font-size: 18px; font-weight: 800; }
.tool-form .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 15px; font-weight: 600; padding: 4px 0; }
.calc h3 { font-size: 14px; color: var(--muted); margin: 14px 0 6px; }
.calc h3:first-child { margin-top: 0; }
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cmp > div { background: #fff; border-radius: 14px; padding: 12px; border: 2px solid transparent; }
.cmp .win { border-color: var(--brand); }
.cmp .win::before { content: "✓ "; color: var(--brand); font-weight: 800; }
.cmp small { display: block; font-size: 12.5px; color: var(--ink2); }
.cmp b { font-size: 18px; }
.ex { font-style: normal; font-size: 11px; font-weight: 800; color: var(--wait); background: var(--wait-soft); border-radius: 6px; padding: 0 5px; }
.total { font-size: 16px; margin: 14px 0 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.total b { font-size: 22px; color: var(--brand); }

/* route planner */
.pl-step { margin: 0 0 18px; }
.pl-step h2 { margin: 18px 0 8px !important; }
.pl-step .field { margin: 12px 0; }
.city-tabs { display: flex; gap: 8px; overflow-x: auto; margin: 10px -18px 6px; padding: 0 18px 4px; scrollbar-width: none; }
.city-tabs::-webkit-scrollbar { display: none; }
.city { flex: none; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: #f2f4f6; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink2); cursor: pointer; }
.city.on { background: var(--brand); color: #fff; }
.city i { font-style: normal; font-size: 11px; background: rgba(255,255,255,.3); border-radius: 999px; padding: 1px 6px; margin-left: 2px; }
.city:not(.on) i { background: var(--brand); color: #fff; }
.city-how { margin: 6px 0; }
.pl-tools { font-size: 14px; margin: 6px 0 10px; color: var(--muted); }
.place-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.place { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 92px; text-align: left; padding: 12px; border: 2px solid transparent; border-radius: 16px; background: #f7f8fa; font: inherit; color: var(--ink); cursor: pointer; }
.place span { font-size: 22px; }
.place b { font-size: 14px; line-height: 1.3; }
.place small { font-size: 12px; color: var(--muted); }
.place.on { border-color: var(--brand); background: var(--brand-soft); }
.place.on::after { content: "✓"; position: relative; margin-top: -2px; font-weight: 800; color: var(--brand); }
.pl-bar { position: sticky; bottom: 76px; z-index: 5; display: flex; align-items: center; gap: 10px; margin: 14px -6px 0; padding: 10px 10px 10px 16px; background: var(--ink); color: #fff; border-radius: 18px; font-size: 14px; font-weight: 700; box-shadow: 0 8px 24px rgba(25,31,40,.25); }
.pl-bar .btn { margin-left: auto; min-height: 44px; padding: 0 16px; border-radius: 12px; font-size: 15px; }
.pl-out { margin-top: 18px; }
.pl-warn { background: var(--wait-soft); color: #7a4700; border-radius: 14px; padding: 12px 14px; font-weight: 700; font-size: 14.5px; }
.pl-note { background: #f7f8fa; border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.pl-day { background: #f7f8fa; border-radius: 18px; padding: 14px; margin: 0 0 10px; }
.pl-day header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.pl-num { font-size: 12px; font-weight: 800; color: #fff; background: var(--brand); border-radius: 999px; padding: 2px 9px; }
.pl-date { margin-left: auto; font-size: 13px; color: var(--ink2); font-weight: 700; }
.pl-travel, .pl-free { font-size: 14px; background: #fff; border-radius: 12px; padding: 8px 12px; margin: 6px 0; }
.pl-day ol { list-style: none; padding: 0; margin: 0; }
.pl-day li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid #eceff2; margin: 0; }
.pl-time { flex: none; width: 44px; font-size: 13px; font-weight: 800; color: var(--brand); }
.pl-emoji { flex: none; font-size: 20px; }
.pl-name { flex: 1; min-width: 0; }
.pl-name b { display: block; font-size: 15px; line-height: 1.3; }
.pl-name small { font-size: 12px; color: var(--muted); }
.pl-map { flex: none; font-size: 12.5px; font-weight: 700; padding: 6px 10px; border-radius: 10px; background: #fff; }
.pl-actions { display: flex; gap: 8px; align-items: center; margin-top: 12px; }

/* medicine */
.med-list { display: grid; gap: 6px; margin: 10px 0; max-height: 360px; overflow-y: auto; }
.med-item { display: flex; align-items: center; gap: 10px; text-align: left; padding: 10px 12px; border: 0; border-radius: 14px; background: #f7f8fa; font: inherit; color: var(--ink); cursor: pointer; }
.med-item:hover { background: var(--brand-soft); }
.med-item span { font-size: 18px; }
.med-item b { flex: 1; font-size: 14.5px; line-height: 1.35; }
.med-item small { flex: none; font-size: 12px; font-weight: 700; color: var(--ink2); }
.med-name { margin: 12px 0 8px; }
.med-not { margin-top: 12px; background: #f7f8fa; border-radius: 16px; padding: 12px 14px; }
.med-not summary { cursor: pointer; font-weight: 700; }
.med-not .q { margin: 10px 0 6px; font-size: 15px; font-weight: 600; }
.med-not .chip { background: #fff; }
.med-out2 { margin-top: 10px; }

/* search sheet */
.search-sheet { position: fixed; inset: 0; z-index: 60; background: rgba(25,31,40,.4); }
.s-panel { max-width: 480px; margin: 0 auto; background: var(--surface); min-height: 100%; padding: 10px 14px 24px; }
.s-top { display: flex; gap: 8px; align-items: center; }
.s-top input { flex: 1; min-height: 48px; padding: 0 16px; font: inherit; font-size: 16px; border: 0; border-radius: 14px; background: #f2f4f6; }
.s-top input:focus { outline: 2px solid var(--brand); }
.s-top button { border: 0; background: none; font: inherit; font-weight: 700; color: var(--ink2); padding: 8px; cursor: pointer; }
.s-head { font-size: 13px; font-weight: 800; color: var(--muted); margin: 16px 2px 4px; }
.s-item { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; padding: 12px 4px; border-bottom: 1px solid #f2f4f6; color: var(--ink); }
.s-item span { font-size: 20px; }
.s-item b { font-size: 15px; }
.s-item small { flex-basis: 100%; padding-left: 34px; font-size: 13px; color: var(--muted); }
.s-empty { color: var(--muted); padding: 24px 4px; }

/* footer */
.site-footer { padding: 8px 20px 24px; font-size: 13px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 10px 0; }
.site-footer nav a { color: var(--ink2); font-weight: 600; }

/* ---------- v4: subway tool, app install cards, figures */
.lb { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; color: #fff; font-size: 11.5px; font-weight: 800; line-height: 1; vertical-align: middle; margin-right: 3px; }
.lb-busan { background: #8b95a1; min-width: auto; padding: 0 8px; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: #e9ecef; border-radius: 16px; padding: 4px; margin: 4px 0 14px; position: sticky; top: 60px; z-index: 6; }
.seg button { display: flex; flex-direction: column; align-items: center; gap: 1px; min-height: 52px; border: 0; border-radius: 12px; background: none; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink2); cursor: pointer; }
.seg button span { font-size: 18px; line-height: 1.2; }
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(25,31,40,.08); }
.sub-panel { min-height: 120px; }
.sub-src { margin-top: 18px; font-size: 12px; color: var(--muted); }
.sub-h { font-size: 13px; font-weight: 800; color: var(--muted); margin: 14px 2px 8px; }
.rt-box { position: relative; background: #fff; border-radius: 18px; padding: 6px 54px 6px 14px; box-shadow: 0 1px 0 rgba(0,0,0,.03); }
.rt-f { display: flex; align-items: center; gap: 10px; min-height: 52px; border-bottom: 1px solid #f2f4f6; }
.rt-f:last-of-type { border-bottom: 0; }
.rt-f span { flex: none; width: 34px; font-size: 13px; font-weight: 800; color: var(--muted); }
.rt-f input { flex: 1; min-width: 0; border: 0; font: inherit; font-size: 16px; padding: 10px 0; background: none; color: var(--ink); }
.rt-f input:focus { outline: none; }
.rt-swap { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 12px; border: 0; background: #f2f4f6; font-size: 18px; cursor: pointer; }
.sg-box { position: relative; z-index: 8; background: #fff; border-radius: 14px; margin: 4px 0 8px; box-shadow: 0 8px 24px rgba(25,31,40,.14); overflow: hidden; }
.sg { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; width: 100%; text-align: left; padding: 10px 12px; border: 0; border-bottom: 1px solid #f2f4f6; background: #fff; font: inherit; color: var(--ink); cursor: pointer; }
.sg:hover { background: var(--brand-soft); }
.sg-i { font-size: 18px; }
.sg b { font-size: 15px; }
.sg small { flex: 1; font-size: 12.5px; color: var(--muted); }
.link-btn { display: inline-block; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--brand); padding: 10px 2px; cursor: pointer; }
.mini { display: inline-flex; align-items: center; gap: 4px; min-height: 34px; padding: 0 12px; border: 0; border-radius: 10px; background: #f2f4f6; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink2); cursor: pointer; text-decoration: none; }
.mini:hover { background: var(--brand-soft); color: var(--brand-dark); }
.rt-out { margin-top: 14px; }
.rt-sum { background: var(--ink); color: #fff; border-radius: 18px; padding: 14px 16px; margin-bottom: 10px; }
.rt-sum b { display: block; font-size: 18px; }
.rt-sum small { color: #cfd6de; font-size: 13px; }
.rt-steps { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: 18px; padding: 8px 14px; }
.rt-steps li { position: relative; display: flex; gap: 12px; padding: 10px 0; margin: 0; }
.rt-steps p { margin: 0 0 2px; }
.rt-leg { --lc: #888; }
.rt-bar { flex: none; width: 6px; border-radius: 6px; background: var(--lc); margin: 4px 7px 4px 7px; }
.rt-l { font-size: 14px; }
.rt-dir { font-size: 14px; color: var(--ink2); }
.rt-leg .mini { margin-top: 6px; }
.rt-dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 4px solid var(--ink); background: #fff; margin-top: 2px; }
.rt-dot.end { border-color: var(--accent); }
.rt-chg small, .rt-end small { display: block; color: var(--muted); font-size: 12.5px; }
.rt-exit { font-weight: 800; color: var(--ink); background: #fff7d1; border-radius: 10px; padding: 6px 10px; margin: 6px 0 !important; display: inline-block; }
.rt-apps { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.rt-apps .btn-ghost { flex: 1; text-align: center; }
.lmap { position: relative; width: 100%; height: 380px; background: #fbfcfd; border-radius: 18px; overflow: hidden; touch-action: none; border: 1px solid var(--line); }
.lmap svg { width: 100%; height: 100%; display: block; cursor: grab; }
.lmap .e path { fill: none; stroke-width: 3.5px; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; transition: opacity .2s; }
.lmap .d circle { fill: #fff; stroke: #4e5968; stroke-width: 1.2px; vector-effect: non-scaling-stroke; }
.lmap .d circle.x { stroke: #191f28; stroke-width: 1.8px; }
.lmap .z1 .d circle:not(.x) { display: none; }
.lmap .t text { display: none; fill: #191f28; font-weight: 600; paint-order: stroke; stroke: #fff; stroke-width: calc(var(--u, 1) * 3px); stroke-linejoin: round; pointer-events: none; }
.lmap .z2 .t text.x, .lmap .z3 .t text { display: block; }
.lmap .z2 .t text.x { font-weight: 800; }
.lmap .sel { fill: none; stroke: var(--brand); stroke-width: 3px; vector-effect: non-scaling-stroke; }
.lmap-btns { position: absolute; right: 10px; bottom: 10px; display: flex; flex-direction: column; gap: 6px; }
.lmap-btns button { width: 40px; height: 40px; border: 0; border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgba(25,31,40,.15); font-size: 20px; font-weight: 700; color: var(--ink); cursor: pointer; }
.st-card { background: #fff; border-radius: 18px; padding: 12px 14px; margin: 10px 0; box-shadow: 0 4px 16px rgba(25,31,40,.08); }
.st-h b { font-size: 18px; margin-right: 6px; }
.st-h small { color: var(--muted); }
.st-lines { font-size: 14px; margin: 6px 0 10px; line-height: 1.9; }
.st-act { display: flex; flex-wrap: wrap; gap: 6px; }
.st-act .btn-ghost { flex: 1; min-width: 92px; text-align: center; }
.lchips { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0 6px; scrollbar-width: none; }
.lchip { flex: none; display: inline-flex; align-items: center; gap: 2px; min-height: 38px; padding: 0 12px 0 6px; border: 0; border-radius: 999px; background: #fff; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink2); cursor: pointer; white-space: nowrap; }
.lchip.on { background: var(--ink); color: #fff; }
.lchip:first-child { padding-left: 14px; }
.line-list { background: #fff; border-radius: 18px; padding: 4px 14px 10px; }
.ll { list-style: none; margin: 0 0 6px; padding: 0 0 0 14px; border-left: 5px solid var(--lc); }
.ll li { margin: 0; }
.ll button { display: flex; align-items: center; gap: 4px; width: 100%; text-align: left; border: 0; background: none; font: inherit; font-size: 14.5px; padding: 7px 0; color: var(--ink); cursor: pointer; border-bottom: 1px solid #f5f6f8; }
.ll button b { font-weight: 600; margin-right: auto; }
.ll-br { font-size: 12.5px; font-weight: 800; color: var(--muted); margin: 10px 0 4px; }
.lv-h { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 14px 0 8px; }
.lv-h b { font-size: 19px; margin-right: 4px; }
.lv-h .mini { margin-left: auto; }
.ex-flag { background: var(--wait-soft); color: #7a4700; border-radius: 12px; padding: 8px 12px; font-size: 13.5px; font-weight: 700; }
.lv-list { background: #fff; border-radius: 18px; padding: 4px 12px; }
.lv-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #f2f4f6; }
.lv-row:last-child { border-bottom: 0; }
.lv-d { flex: 1; min-width: 0; }
.lv-d b { display: block; font-size: 15px; line-height: 1.3; }
.lv-d small { font-size: 12.5px; color: var(--muted); }
.lv-t { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.lv-t span { font-size: 14px; font-weight: 800; color: var(--accent); white-space: nowrap; }
.lv-t span + span { color: var(--ink2); font-weight: 700; font-size: 13px; }
.exp, .lst { font-style: normal; font-size: 11px; font-weight: 800; padding: 1px 6px; border-radius: 6px; background: #ffedee; color: var(--accent); }
.lst { background: #191f28; color: #fff; }
.ex-card { display: flex; align-items: flex-start; gap: 10px; background: #fff; border-radius: 16px; padding: 12px; margin: 0 0 8px; }
.ex-e { font-size: 22px; line-height: 1.3; }
.ex-b { flex: 1; min-width: 0; }
.ex-b b { font-size: 15px; }
.ex-b p { margin: 2px 0 0; }
.ex-st { font-size: 14px; }
.ex-no { display: inline-block; background: #ffd43b; color: #191f28; font-weight: 800; border-radius: 8px; padding: 0 8px; margin-left: 2px; }
.ex-st small { color: var(--muted); }
.ex-a { display: flex; flex-direction: column; gap: 6px; }
.fig { margin: 12px 0 16px; background: #fff; border-radius: 18px; padding: 12px; }
.fig svg { display: block; width: 100%; height: auto; }
.fig figcaption { font-size: 12.5px; color: var(--wait); font-weight: 700; margin-top: 8px; }
.apps { display: grid; gap: 10px; margin: 10px 0 16px; }
.app-card { background: #fff; border-radius: 18px; padding: 14px; }
.ac-h { display: flex; gap: 12px; align-items: flex-start; }
.ac-e { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #f2f4f6; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.ac-t { flex: 1; min-width: 0; }
.ac-t b { display: block; font-size: 16px; }
.ac-t small { display: block; font-size: 13.5px; color: var(--ink2); line-height: 1.5; }
.ac-done { flex: none; display: flex; flex-direction: column; align-items: center; font-size: 11px; font-weight: 700; color: var(--muted); cursor: pointer; }
.ac-done input { width: 22px; height: 22px; accent-color: var(--ok); }
.ac-set { font-size: 13px; background: #f7f8fa; border-radius: 10px; padding: 8px 10px; margin: 10px 0 0; }
.app-dl { display: flex; gap: 8px; margin-top: 12px; }
.dl { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 12px; background: #f2f4f6; color: var(--ink); font-weight: 800; font-size: 15px; line-height: 1.1; }
.dl svg { width: 22px; height: 22px; flex: none; }
.dl span small { display: block; font-size: 10px; font-weight: 600; color: var(--muted); }
.app-dl.is-ios .ios, .app-dl.is-android .and { background: var(--ink); color: #fff; }
.app-dl.is-ios .ios small, .app-dl.is-android .and small { color: #cfd6de; }
.app-dl.is-ios .and { order: 2; } .app-dl.is-android .ios { order: 2; }
.app-count { background: var(--ok-soft); color: #065f46; border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.r-sub, .pl-sub { display: block; font-size: 12.5px; color: var(--ink2); }
.r-sub a, .pl-sub a { font-weight: 700; }
.sub-hero { display: flex; align-items: center; gap: 12px; background: var(--brand); color: #fff; border-radius: 20px; padding: 16px; }
.sub-hero:hover { color: #fff; background: var(--brand-dark); }
.sh-i { font-size: 28px; }
.sub-hero b { display: block; font-size: 17px; }
.sub-hero small { color: #dbe6ff; font-size: 13px; }
.sh-go { margin-left: auto; font-size: 26px; }
.sub-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.sub-quick a { display: flex; flex-direction: column; align-items: center; gap: 2px; background: #fff; border-radius: 16px; padding: 10px 4px; font-size: 12.5px; font-weight: 700; color: var(--ink); text-align: center; }
.sub-quick a span { font-size: 22px; }
.chips.hs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips.hs .chip { flex: none; white-space: nowrap; }
.rt-out { scroll-margin-top: 130px; }

/* ===================================================== v5: Korean line icons, day-plan timeline, Food tab */
.ki { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #eef3fb; color: #1b4f8a; }
.ki svg, .ki-s { width: 58%; height: 58%; }
.t-red { background: #fdecec; color: #b42318; } .t-brown { background: #f6efe7; color: #8a5a2b; } .t-gold { background: #fdf6e3; color: #a46a00; }
.t-green { background: #e9f7ef; color: #16794c; } .t-blue { background: #e8f3fd; color: #1769aa; } .t-indigo { background: #eef0ff; color: #3b3fb6; }
.t-orange { background: #fff1e8; color: #c2410c; } .t-purple { background: #f4edfd; color: #7a3fc2; } .t-slate { background: #eef1f5; color: #3d4b5c; } .t-pink { background: #fdeef5; color: #b8326e; }
.place .ki { width: 36px; height: 36px; border-radius: 11px; margin-bottom: 4px; }
.place.on .ki { background: #fff; }
.city { display: inline-flex; align-items: center; gap: 6px; }
.city svg { width: 18px; height: 18px; flex: none; }
.city-card .ce svg { width: 40px; height: 40px; color: #fff; stroke-width: 1.6; }
.pl-day header .ki { width: 30px; height: 30px; border-radius: 9px; background: #fff; }
.sub-h + .chips { margin-top: 0; }
.stay-f { margin: 10px 0 0; }
.stay-f > span { display: flex; align-items: center; gap: 8px; }
.stay-f .ki { width: 28px; height: 28px; border-radius: 9px; }
/* timeline */
.pl-day ol.tl { list-style: none; padding: 0; margin: 6px 0 0; }
.pl-day .tl li { border-top: 0; padding: 0; align-items: flex-start; }
.tl-i { display: flex; gap: 10px; padding: 8px 0 !important; }
.tl-t { flex: none; width: 44px; padding-top: 11px; font-size: 13px; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.tl-i > .ki { width: 38px; height: 38px; border-radius: 12px; }
.tl-b { flex: 1; min-width: 0; padding-top: 1px; }
.tl-b > b { display: block; font-size: 15px; line-height: 1.35; }
.tl-b > small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.tl-night .tl-t { color: #3b3fb6; }
.tl-meal .tl-t { color: #c2410c; }
.tl-mv { display: flex; align-items: center; gap: 8px; margin: 0 0 0 73px; padding: 3px 0 3px 12px !important; border-left: 2px dotted #c9d1da; font-size: 12.5px; color: var(--ink2); }
.tl-mi { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: #fff; color: var(--muted); }
.tl-mi svg { width: 16px; height: 16px; }
.tl-sub .tl-mi { color: var(--brand); }
.tl-mt { min-width: 0; line-height: 1.5; }
.tl-mt a { font-weight: 700; }
.tl-mt small { display: block; color: var(--muted); font-size: 12px; }
.tl-mt .lb { margin-right: 0; }
.tl-ar { font-style: normal; color: var(--muted); margin: 0 2px; }
.tl-rs { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.tl-r { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 9px 10px; color: var(--ink); }
.tl-r:hover { color: var(--ink); box-shadow: 0 0 0 2px var(--brand-soft); }
.tl-r .ki { width: 32px; height: 32px; border-radius: 10px; }
.tl-r > span:last-child { min-width: 0; }
.tl-r b { display: block; font-size: 14px; line-height: 1.3; }
.tl-r small { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; }
.tl-r small.ko { color: var(--ink2); }
.tl-more { display: inline-block; margin-top: 5px; font-size: 12.5px; font-weight: 700; }
.tl-note { display: block !important; margin: 6px 0 6px 54px !important; padding: 8px 10px !important; border-radius: 10px; background: var(--wait-soft); color: #8a4b00; font-size: 12.5px; line-height: 1.45; }
.tl-hot { color: #c2410c !important; font-weight: 700; }
.tl-warn { color: var(--accent) !important; font-weight: 700; }
.fbs { display: block; margin-top: 4px; }
.fb { display: inline-block; font-style: normal; font-size: 11px; font-weight: 800; line-height: 1; padding: 4px 7px; border-radius: 999px; margin: 0 4px 2px 0; }
.b-late { background: #eef0ff; color: #3b3fb6; } .b-24 { background: #3b3fb6; color: #fff; } .b-halal { background: #e9f7ef; color: #16794c; }
.b-mich { background: #fdecec; color: #b42318; } .b-early { background: #fff4e0; color: #8a4b00; } .b-wait { background: #f2f4f6; color: var(--ink2); } .b-mkt { background: #fff1e8; color: #c2410c; }
/* food tab */
.food-hero { background: #e8590c; margin-bottom: 10px; }
.food-hero:hover { background: #c2410c; }
.food-hero small { color: #ffe3d1; }
.sh-i svg { width: 30px; height: 30px; display: block; }
.fd-cities .chip { display: inline-flex; align-items: center; gap: 6px; }
.fd-cities .chip svg { width: 17px; height: 17px; }
.fd-flags { margin: 8px 0 4px; }
.fd-h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; letter-spacing: -0.3px; margin: 20px 0 10px; }
.fd-h2 .ki { width: 36px; height: 36px; border-radius: 11px; }
.fd-h3 { font-size: 15px; font-weight: 800; color: var(--ink2); margin: 18px 2px 4px; }
.fd-dish { width: 70%; max-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.fd-dish .ki { width: 40px; height: 40px; }
.fd-dish b { display: block; font-size: 16.5px; margin-top: 10px; }
.fd-dish small { display: block; font-size: 13px; color: var(--muted); }
.fd-dish p { font-size: 13.5px; line-height: 1.5; color: var(--ink2); margin: 6px 0 8px; }
.fd-say { display: block; font-size: 12px; color: var(--muted); }
.fd-say b { display: inline; font-size: 15px; margin: 0; color: var(--ink); }
.fd-r { align-items: flex-start; }
.fd-r .r-txt small.fd-dishl { color: var(--ink2); }
.fd-r .r-txt small.fd-hrs { color: var(--ink2); }
.fd-p { font-weight: 800; color: var(--ink2); letter-spacing: 1px; }
.fd-maps { display: flex; gap: 8px; margin-top: 8px; }
.fd-maps a { font-size: 12.5px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 6px 10px; border-radius: 10px; }
.ki-sm { width: 30px; height: 30px; border-radius: 9px; }
.ki-xs { width: 20px; height: 20px; border-radius: 6px; vertical-align: middle; margin-right: 6px; }
.chip .ki-xs { margin-right: 5px; }
.ex-e .ki { width: 40px; height: 40px; }
.sub-h .ki-xs { margin-right: 6px; }
.tl-adds { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; }
.tl-adds small { width: 100%; color: var(--muted); font-size: 12px; }
.tl-add { min-height: 32px !important; padding: 0 12px !important; font-size: 12.5px !important; background: #fff !important; border: 1px dashed #b8c2cc !important; }
.doc .fd ul.rows { padding-left: 0; margin: 0; }
.doc .fd ul.rows li { margin: 0; padding: 0; }
.doc .fd ul.rows li::before { content: none; }
.fd-flags { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.fd-flags .chip { flex: none; min-height: 36px; padding: 0 14px; font-size: 13.5px; }
/* food tab v2: dish cards that filter, area chips, restaurant cards */
.fd-flags { margin: 8px 0 2px; }
.fd-tip { margin: -4px 0 8px; }
.fd-dish { display: flex; flex-direction: column; text-align: left; font: inherit; color: var(--ink); cursor: default; position: relative; }
.fd-dish.has { cursor: pointer; }
.fd-dish.has:hover { border-color: #c9d1da; }
.fd-dish.on { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.fd-n { margin-top: 10px; align-self: flex-start; font-size: 12.5px; font-weight: 800; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 5px 10px; }
.fd-dish.on .fd-n { background: var(--brand); color: #fff; }
.fd-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 20px 2px 6px; }
.fd-head .fd-h3 { margin: 0; font-size: 17px; color: var(--ink); }
.fd-cnt { display: inline-block; min-width: 22px; text-align: center; font-size: 12px; font-weight: 800; color: var(--ink2); background: #eef1f5; border-radius: 999px; padding: 2px 7px; vertical-align: 2px; }
.fd-near { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink2); cursor: pointer; }
.fd-near svg { width: 16px; height: 16px; }
.fd-near.on { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.fd-areas { margin-bottom: 6px; }
.fd-areas .chip { min-height: 34px; padding: 0 12px; font-size: 13px; }
.fd-active { font-size: 13px; font-weight: 700; color: var(--brand); margin: 4px 2px 8px; }
.doc .fd ul.fd-list { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 10px; }
.doc .fd ul.fd-list li { margin: 0; }
.fd-card { display: flex; align-items: flex-start; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.fd-card > .ki { width: 46px; height: 46px; }
.fd-c { flex: 1; min-width: 0; }
.fd-c > b { display: block; font-size: 16px; line-height: 1.3; }
.fd-ko { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; }
.fd-m { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.fd-m2 { margin: 2px 0 0; font-size: 13px; color: var(--ink2); }
.fd-hr { margin: 6px 0 0; font-size: 12.5px; color: var(--ink2); line-height: 1.45; }
.fd-hr.none { color: var(--muted); }
.fd-now { display: inline-block; font-size: 11px; font-weight: 800; border-radius: 6px; padding: 2px 6px; margin-right: 6px; vertical-align: 1px; }
.fd-now.open { background: #e9f7ef; color: #16794c; }
.fd-now.closed { background: #f2f4f6; color: var(--muted); }
.fd-go { flex: none; display: flex; flex-direction: column; align-items: center; gap: 2px; width: 52px; padding: 8px 0; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 800; }
.fd-go svg { width: 20px; height: 20px; }
.fd-card[hidden] { display: none; }
/* subway map v2 */
.lmap-q { margin-bottom: 8px; }
.lmap { background: #f8fafc; }
.lmap .ec path { fill: none; stroke: #fff; stroke-width: 6.5px; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.lmap .e path { stroke-width: 4px; }
.lmap .d circle { fill: #fff; stroke-width: 1.6px; }
.lmap .d circle.x { stroke: #191f28; stroke-width: 2px; }
.lmap .z1 .d circle:not(.x) { display: none; }
.lmap .t text { display: block !important; fill: #191f28; font-weight: 600; paint-order: stroke; stroke: #fff; stroke-width: calc(var(--u, 1) * 3.5px); stroke-linejoin: round; pointer-events: none; }
.lmap .t text.x { font-weight: 800; }
.lmap-full { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 0; border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgba(25,31,40,.15); font: inherit; font-size: 13px; font-weight: 700; color: var(--ink); cursor: pointer; }
.lmap-full span { font-size: 16px; line-height: 1; }
.lmap-hint { position: absolute; left: 10px; bottom: 10px; right: 60px; margin: 0; font-size: 11.5px; color: var(--muted); pointer-events: none; }
.lmap.full { position: fixed; inset: 0; z-index: 80; border-radius: 0; border: 0; height: 100vh !important; height: 100dvh !important; }
html.map-full, html.map-full body { overflow: hidden; }
.seg button svg { width: 22px; height: 22px; display: block; margin: 0 auto 2px; }
.xf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#xfer .result { margin-top: 16px; }
.rt-xfer { display: block; margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: var(--brand-soft); font-size: 13.5px; font-weight: 700; }
.lmap-q > span { white-space: nowrap; }
/* v6: drawn icons everywhere (emoji replaced) */
.ei { width: 1.2em; height: 1.2em; vertical-align: -0.22em; flex: none; }
.ic-red { color: #b42318; } .ic-brown { color: #8a5a2b; } .ic-gold { color: #a46a00; } .ic-green { color: #16794c; } .ic-blue { color: #1769aa; }
.ic-indigo { color: #3b3fb6; } .ic-orange { color: #c2410c; } .ic-purple { color: #7a3fc2; } .ic-slate { color: #3d4b5c; } .ic-pink { color: #b8326e; }
.r-emoji .ei { width: 24px; height: 24px; }
.icons a span .ei { width: 28px; height: 28px; }
.food-card span .ei { width: 32px; height: 32px; }
.sub-quick a span .ei { width: 24px; height: 24px; }
.chip-cat .ei { width: 15px; height: 15px; }
.cta > span:first-child .ei { width: 22px; height: 22px; }
.s-item span .ei { width: 22px; height: 22px; }
.dl-ico .ei { width: 22px; height: 22px; }
.callout .ei, .tip .ei, .warn .ei { width: 18px; height: 18px; }
.sg-i .ei { width: 20px; height: 20px; color: var(--brand); }
.hub-tabs .ei, .cat-tabs .ei { width: 16px; height: 16px; }
/* subway: official line-map apps */
.mp-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; margin: 10px 0; }
.mp-card b { display: block; font-size: 16px; }
.mp-card p { margin: 4px 0 10px; font-size: 13.5px; color: var(--ink2); line-height: 1.5; }
.mp-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-sm { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 12px; background: var(--brand); color: #fff !important; font-size: 13.5px; font-weight: 700; }
.btn-sm.ghost { background: var(--brand-soft); color: var(--brand) !important; }

/* ---------- v7: food by where you're from, trending, night walks from a picked spot */
.fd-from { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 14px 10px; margin: 0 0 12px; }
.fd-from-q { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 8px; }
.fd-from-q svg { width: 20px; height: 20px; stroke: var(--brand); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fd-from-q b { font-size: 15.5px; }
.fd-from-q span { flex-basis: 100%; font-size: 13.5px; color: var(--ink2); }
.fd-pal { margin: 0; }
.fd-why { margin: 10px 0 2px; font-size: 13.5px; line-height: 1.55; color: var(--ink); background: var(--brand-soft); border-radius: 12px; padding: 10px 12px; }
.fd-picks { margin: 8px 0 2px; font-weight: 700; color: var(--brand-dark); }
.b-pick { background: var(--brand); color: #fff; }
.fd-c > .b-pick { margin-bottom: 4px; }
.fd-dish .fd-pk { position: absolute; top: 12px; right: 12px; margin: 0; }
.fd-dish.pick { border-color: #b9cdfc; }
.fd-card.pick { border-color: #b9cdfc; }
.fd-buzz { margin: 6px 0 4px; font-size: 13px; line-height: 1.5; color: var(--ink); background: #fff8e6; border-radius: 10px; padding: 7px 9px; }
.fd-buzz .fb { display: inline-flex; align-items: center; gap: 3px; margin-right: 6px; vertical-align: 1px; }
.fd-buzz .fb svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; }
.b-buzz { background: #ffe8a3; color: #7a4a00; }
.b-tv { background: #ede4ff; color: #5b21b6; } .b-fav { background: #dff3ea; color: #0b6b4a; }
.fd-buzz:has(.b-tv) { background: #f6f1ff; } .fd-buzz:has(.b-fav) { background: #f0faf5; }
.fd-card { cursor: pointer; }
.fd-card:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.fd-card.sel { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.fd-selnote { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 12.5px; font-weight: 700; color: var(--brand-dark); }
.fd-selnote svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; flex: none; }
.fd-nh { margin-top: 22px; }
.fd-nfrom { margin: -4px 0 8px; }
.fd-nights .r-txt small.fd-nd { display: block; margin-top: 2px; font-weight: 700; color: var(--brand-dark); }
.fd-nights .r-txt small.fd-nd:empty { display: none; }
.fd-card { display: grid; grid-template-columns: 46px 1fr auto; column-gap: 12px; align-items: start; }
.fd-card > .ki { grid-column: 1; grid-row: 1 / span 3; }
.fd-card > .fd-go { grid-column: 3; grid-row: 1 / span 3; }
.fd-card > .fd-c { display: contents; }
.fd-c > .fd-pk, .fd-c > b, .fd-c > .fd-ko { grid-column: 2; }
.fd-c > b { font-size: 16px; line-height: 1.3; }
.fd-c > .fd-pk { justify-self: start; }
.fd-c > p, .fd-c > .fbs { grid-column: 1 / -1; }
.fd-c > .fd-m { margin-top: 10px; }
.fd-card { row-gap: 0; }
.fd-c > .fd-ko { margin: 0 0 2px; }
.fd-c > .fd-buzz { margin: 8px 0 2px; }
.sub-hero .sh-i .ei, .cta .ei, .btn .ei { color: #fff !important; }
.doc table td:first-child, .doc table th:first-child { min-width: 4.4em; }

/* ---------- v8: place details, where to stay */
.pd { margin: 6px 0 4px 58px; }
.pd summary { cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--brand); list-style: none; padding: 4px 0; }
.pd summary::-webkit-details-marker { display: none; }
.pd summary::after { content: " ▾"; font-size: 11px; }
.pd[open] summary::after { content: " ▴"; }
.pd p { margin: 6px 0; font-size: 13.5px; line-height: 1.55; color: var(--ink); }
.pd p b { display: inline-block; min-width: 4.6em; color: var(--muted); font-weight: 700; margin-right: 6px; }
.pd .pd-d { color: var(--muted); font-size: 12.5px; }
.st-list { display: grid; gap: 10px; margin: 8px 0 12px; }
.st-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.st-card h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 16px; }
.st-card h3 svg { width: 20px; height: 20px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st-card p { margin: 4px 0; font-size: 13.5px; line-height: 1.5; }
.st-who { font-weight: 700; color: var(--brand-dark); }
.st-g b, .st-b b { display: inline-block; width: 1.2em; font-weight: 800; }
.st-g b { color: var(--ok); } .st-b b { color: var(--accent); }
.stay-box { margin: 0 0 14px; }
.stay-why { margin: 6px 0; font-size: 13.5px; color: var(--ink); }
.stay-sy { margin: 6px 0; font-size: 13px; line-height: 1.55; color: var(--ink2); background: #f7f8fa; border-radius: 12px; padding: 10px 12px; }
.stay-more { font-size: 13.5px; font-weight: 700; }
.tl-fee, .tl-tip { display: block; font-size: 12.5px; color: var(--ink2); }
.tl-fee::before { content: "₩ "; font-weight: 800; color: var(--muted); }
.tl-tip::before { content: "· "; color: var(--muted); }
.chips.wrap { flex-wrap: wrap; overflow: visible; }
.pchip { font-size: 13px; }
.sr-list { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 10px; }
.sr { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.sr.best { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.sr-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sr-h b { font-size: 16px; }
.sr-h .fb { margin: 0; }
.sr-m { margin-left: auto; font-weight: 800; color: var(--brand-dark); font-size: 14px; }
.sr-bar { height: 6px; background: #eef1f4; border-radius: 99px; margin: 8px 0 2px; overflow: hidden; }
.sr-bar i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.sr-w { margin: 0; font-size: 12.5px; color: var(--muted); }
.sr p { margin: 4px 0; font-size: 13.5px; line-height: 1.5; }
.sr-who { font-weight: 700; color: var(--ink); margin-top: 8px !important; }
.sr-g { color: var(--ink); } .sr-b { color: var(--ink2); }
.sr-a { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.sr-hint { background: var(--brand-soft); border-radius: 12px; padding: 10px 12px; color: var(--ink); }
.stay-hero { margin-top: 12px; background: #0f766e; }
.stay-hero:hover { background: #0b5f59; }
.stay-hero .sh-i svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chip.pchip { min-height: 34px; padding: 0 12px; font-size: 13px; }
.chips.wrap { gap: 6px; }
#stay .chip svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-right: 4px; }

/* ---------- v9: pre-trip checklist, taxi card, plan export */
.ck .sec-h { display: flex; align-items: center; }
.ck-n { margin-left: auto; font-size: 14px; font-weight: 800; color: var(--brand-dark); }
.ck-bar { height: 6px; background: #eef1f4; border-radius: 99px; overflow: hidden; margin: 2px 0 6px; }
.ck-bar i { display: block; height: 100%; width: 0; background: var(--brand); border-radius: 99px; transition: width .25s; }
.ck-list { list-style: none; margin: 8px 0 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.ck-i { display: flex; align-items: center; border-top: 1px solid var(--line); }
.ck-i:first-child { border-top: 0; }
.ck-i label { flex: 1; display: flex; align-items: flex-start; gap: 12px; padding: 13px 4px 13px 14px; cursor: pointer; }
.ck-i input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ck-box { flex: none; width: 22px; height: 22px; border: 2px solid #c7ced8; border-radius: 7px; margin-top: 1px; display: grid; place-items: center; }
.ck-i input:focus-visible + .ck-box { outline: 2px solid var(--brand); outline-offset: 2px; }
.ck-i.on .ck-box { background: var(--brand); border-color: var(--brand); }
.ck-i.on .ck-box::after { content: ""; width: 10px; height: 6px; border: 2.5px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.ck-t b { display: block; font-size: 15px; line-height: 1.35; }
.ck-t small { display: block; font-size: 13px; line-height: 1.45; color: var(--ink2); margin-top: 2px; }
.ck-i.on .ck-t b { color: var(--muted); text-decoration: line-through; }
.ck-i.soon .ck-t small { color: #c2410c; font-weight: 700; }
.ck-go { flex: none; padding: 14px 16px; font-size: 20px; color: var(--muted); text-decoration: none; }
.ck-plain { display: flex; align-items: center; gap: 12px; padding: 13px 14px; width: 100%; color: var(--ink); text-decoration: none; }
.ck-ic .ei { width: 22px; height: 22px; color: var(--brand); }
.taxi-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 7px 12px; border-radius: 99px; border: 1px solid #f5c76b; background: #fff8e6; color: #7a4a00; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.taxi-btn::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 17h14l-1.5-6.5A2 2 0 0 0 15.6 9H8.4a2 2 0 0 0-1.9 1.5z'/%3E%3Cpath d='M9 9V6h6v3'/%3E%3Ccircle cx='7.5' cy='17.5' r='1.5'/%3E%3Ccircle cx='16.5' cy='17.5' r='1.5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 17h14l-1.5-6.5A2 2 0 0 0 15.6 9H8.4a2 2 0 0 0-1.9 1.5z'/%3E%3Cpath d='M9 9V6h6v3'/%3E%3Ccircle cx='7.5' cy='17.5' r='1.5'/%3E%3Ccircle cx='16.5' cy='17.5' r='1.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.tl .taxi-btn { display: inline-flex; }
.taxi-ov { position: fixed; inset: 0; z-index: 9999; background: rgba(15, 23, 42, .55); display: grid; place-items: center; padding: 16px; }
.taxi-in { width: min(448px, 100%); background: #fff; border-radius: 24px; padding: 28px 22px 22px; text-align: center; }
.taxi-k { margin: 0 0 14px; font-size: 14px; font-weight: 800; color: var(--muted); }
.taxi-big { margin: 0; font-size: 40px; line-height: 1.25; font-weight: 900; color: var(--ink); word-break: keep-all; }
.taxi-en { margin: 14px 0 4px; font-size: 16px; color: var(--ink2); }
.taxi-hint { margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.taxi-in .btn { width: 100%; }
.pd-act { margin-top: 8px !important; }
.pl-export { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0 4px; }
.pl-export .small { flex-basis: 100%; margin: 4px 0 0; }
.change.month { border-color: var(--brand); }
.change.month dt { font-weight: 700; margin-top: 10px; }
.change.month dd { margin: 2px 0 0; }
.change.month .src { font-size: 12px; color: var(--muted); margin-left: 4px; }

/* ===================================================== v10: flat, signage-led restyle of the older components */
.site-footer { padding: 28px 20px 28px; margin-top: 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 10px; }
.site-footer nav a { color: var(--ink2); font-weight: 600; font-size: 13px; }
.site-footer p { margin: 0 0 4px; }
.site-footer .credit { font-size: 11.5px; }
/* segmented tabs (subway tool) */
.seg { background: var(--fill); border-radius: 14px; top: 58px; margin: 0 0 16px; }
.seg button { border-radius: 10px; font-weight: 600; font-size: 12.5px; }
.seg button[aria-selected="true"] { box-shadow: 0 1px 4px rgba(17,20,24,.10); }
/* inputs */
.field { font-weight: 600; color: var(--muted); }
.field input, .field select { background: var(--fill); border-radius: 12px; font-weight: 500; }
.field input:focus, .field select:focus { border-color: var(--ink); }
.tool-form { border: 1px solid var(--line); border-radius: 16px; }
.chip { font-weight: 500; }
.result { background: var(--fill2); border: 1px solid #eceef0; border-left: 4px solid var(--ink); border-radius: 12px; }
/* icon tiles: one quiet shape, tone only in the stroke */
.ki { border-radius: 12px; }
/* hub chips */
.hub-chips { margin: 14px -20px 0; padding: 0 20px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.hub-chips::-webkit-scrollbar { display: none; }
.hub-chips .chip { flex: none; min-height: 38px; padding: 0 14px; font-size: 14px; }
.chips.hs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -20px; margin-right: -20px; padding: 0 20px; }
.chips.hs::-webkit-scrollbar { display: none; }
.chips.hs > * { flex: none; }

/* region places: the whole row opens the details */
.doc a.xt { text-decoration: none; }
.fd-m2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.place-list, .dayc .rows { margin: 0 0 8px; }
.pd { margin: 0; border-bottom: 1px solid var(--line); }
.rows li:last-child > .pd { border-bottom: 0; }
.pd summary { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; cursor: pointer; list-style: none; font-size: inherit; font-weight: inherit; color: var(--ink); }
.pd summary::-webkit-details-marker { display: none; }
.pd summary::after { content: none; }
.pd summary .ki { width: 40px; height: 40px; margin-top: 2px; }
.pd-chev { flex: none; width: 10px; height: 10px; margin: 16px 4px 0 0; border-right: 2px solid #b9bdc3; border-bottom: 2px solid #b9bdc3; transform: rotate(45deg); transition: transform .15s; }
.pd[open] .pd-chev { transform: rotate(-135deg); margin-top: 20px; }
.pd-body { padding: 0 0 16px 52px; }
.pd-body dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0 0 12px; font-size: 14px; line-height: 1.5; }
.pd-body dt { color: var(--muted); font-weight: 600; }
.pd-body dd { margin: 0; }
.pd .pd-d { color: var(--muted); font-size: 12.5px; }
.pd-act { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 !important; }
.taxi-btn { margin: 0; border: 0; background: var(--fill); color: var(--ink); border-radius: 10px; padding: 0 14px; font-weight: 600; font-size: 14px; }
.taxi-btn::before { content: none; }
.tl .taxi-btn { min-height: 34px; font-size: 13px; padding: 0 12px; }
.taxi-big { font-family: var(--display); font-weight: 400; font-size: 46px; line-height: 1.2; }
.taxi-in { border-radius: 20px; }
.taxi-k { font-weight: 600; }

/* where to stay */
.st-list { gap: 0; margin: 4px 0 16px; }
.st-list .st-card { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 14px 0; margin: 0; box-shadow: none; background: none; }
.st-list .st-card:last-child { border-bottom: 0; }
.st-list .st-card h3 svg { stroke: var(--ink); }
.st-who { color: var(--ink); font-weight: 600; }
.sr { border-radius: 14px; }
.sr.best { border-color: var(--ink); box-shadow: none; border-width: 1.5px; }
.sr-m { color: var(--ink); font-family: var(--display); font-weight: 400; font-size: 18px; }
.sr-bar i { background: var(--ink); }
.sr.best .sr-bar i { background: var(--red); }
.sr-hint, .stay-sy { background: var(--fill2); border: 1px solid #eceef0; }

/* checklist */
.ck-n { font-family: var(--display); font-weight: 400; font-size: 18px; color: var(--ink); }
.ck-bar { height: 4px; background: var(--fill); margin: 0 0 4px; }
.ck-bar i { background: var(--red); }
.ck-list { border: 0; border-radius: 0; margin: 4px 0 0; }
.ck-i label { padding: 13px 4px 13px 0; }
.ck-plain { padding: 13px 0; }
.ck-box { border-color: #c4c8cd; border-radius: 6px; }
.ck-i.on .ck-box { background: var(--ink); border-color: var(--ink); }
.ck-i.soon .ck-t small { color: var(--red); font-weight: 600; }
.ck-go { padding: 14px 4px 14px 14px; }
.ck-ic .ei { color: var(--ink); }

/* food */
.fd-from { border: 0; padding: 0; margin: 0 0 14px; background: none; }
.fd-from-q { margin: 0 0 8px; }
.fd-from-q b { font-size: 15px; font-weight: 600; color: var(--ink2); }
.fd-why { background: none; padding: 0; margin: 8px 0 0; color: var(--ink2); }
.fd-picks { color: var(--ink); font-weight: 600; }
.fd-cities { margin: 6px -20px 0; }
.fd-cities .chip { min-height: 40px; }
.fd-flags { margin: 8px -20px 4px; }
.fd-h2 { font-family: var(--display); font-weight: 400; font-size: 26px; margin: 26px 0 12px; }
.fd-h2 .ki { display: none; }
.fd-dishes { margin-bottom: 4px; }
.fd-dish { border-radius: 14px; border-color: #e6e7e9; width: 62%; }
.fd-dish.on { border-color: var(--ink); box-shadow: none; }
.fd-dish.pick, .fd-card.pick { border-color: inherit; }
.fd-n { background: var(--fill); color: var(--ink); font-weight: 600; }
.fd-dish.on .fd-n { background: var(--ink); }
.fd-say b { font-weight: 700; }
.fd-head { margin: 26px 0 6px; }
.fd-head .fd-h3 { font-size: 19px; font-weight: 700; }
.fd-cnt { background: none; color: var(--muted); font-weight: 500; font-size: 14px; padding: 0; vertical-align: 1px; }
.fd-near { border-color: #dcdee1; font-weight: 600; }
.fd-near.on { border-color: var(--ink); color: #fff; background: var(--ink); }
.fd-active { color: var(--ink); font-weight: 600; }
.doc .fd ul.fd-list { gap: 0; }
.fd-card { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 16px 0; background: none; }
.fd-card > .ki { width: 42px; height: 42px; }
.fd-card.sel { box-shadow: none; background: linear-gradient(90deg, var(--red-soft), #fff 70%); margin: 0 -20px; padding: 16px 20px; border-color: transparent; }
.fd-c > b { font-size: 16.5px; font-weight: 700; }
.fd-c > .fd-m { margin-top: 8px; font-weight: 600; }
.fd-m2 { color: var(--muted); }
.fd-p { color: var(--ink2); font-weight: 700; }
.fd-now { margin: 0 0 0 6px; font-weight: 700; }
.fd-now.open { background: none; color: var(--ok); padding: 0; }
.fd-now.closed { background: none; color: var(--muted); padding: 0; }
.fd-buzz { background: none !important; padding: 0; margin: 6px 0 0 !important; font-size: 13.5px; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fd-buzz .fb { background: none !important; padding: 0; margin-right: 5px; color: var(--red) !important; font-weight: 700; font-size: 12.5px; }
.fbs { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 8px; }
.fbs .fb { background: var(--fill) !important; color: var(--ink2) !important; font-weight: 600; font-size: 11.5px; border-radius: 6px; padding: 2px 7px; }
.fbs .b-halal { background: var(--ok-soft) !important; color: var(--ok) !important; }
.b-pick { background: var(--red) !important; color: #fff !important; }
.fd-go { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; background: var(--fill); color: var(--ink); }
.fd-go span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.fd-selnote { color: var(--red); font-weight: 600; }
.fd-nh { font-size: 19px !important; color: var(--ink) !important; font-weight: 700 !important; margin: 30px 0 4px !important; }
.fd-nights .r-txt small.fd-nd { color: var(--ink); font-weight: 600; }
.fd-nights .pmap { min-height: 36px; padding: 0 12px; font-size: 13px; }

/* subway line-map apps */
.mp-card { border-radius: 14px; }
.btn-sm { background: var(--ink); border-radius: 10px; font-weight: 600; }
.btn-sm.ghost { background: var(--fill); color: var(--ink) !important; }
.rt-xfer { background: var(--fill2); border: 1px solid #eceef0; font-weight: 600; }

/* route planner bits that used brand blue */
.pl-num { background: var(--red); }
.pl-time { color: var(--ink); font-family: var(--display); font-weight: 400; font-size: 15px; }
.place.on { border-color: var(--ink); background: #fff; }
.place.on::after { color: var(--ink); }
.pl-day { background: var(--fill2); border: 1px solid #eceef0; }
.city.on { background: var(--ink); }
.total b { color: var(--ink); font-family: var(--display); font-weight: 400; }
.cmp .win { border-color: var(--ink); }
.cmp .win::before { color: var(--ink); }
.change.month { border-color: var(--red); }
/* apps page */
.apps { gap: 0; }
.app-card { border-radius: 0; padding: 16px 0; border-bottom: 1px solid var(--line); background: none; box-shadow: none; }
.app-card:last-child { border-bottom: 0; }
.ac-set { background: var(--fill2); border: 1px solid #eceef0; }
.dl { background: var(--fill); font-weight: 700; }
.app-count { background: none !important; padding: 0 !important; color: var(--ink2) !important; font-size: 14px; }
.app-count b { font-family: var(--display); font-weight: 400; font-size: 18px; color: var(--ink); }
.doc .sos-big a, .doc .sos ul a { text-decoration: none; }
/* map app picker */
.ms-ov { position: fixed; inset: 0; z-index: 9998; background: rgba(17,20,24,.45); display: flex; align-items: flex-end; justify-content: center; }
.ms { width: 100%; max-width: 480px; background: #fff; border-radius: 20px 20px 0 0; padding: 18px 20px calc(16px + env(safe-area-inset-bottom)); }
.ms-k { margin: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.ms-t { margin: 2px 0 10px; font-family: var(--display); font-size: 24px; line-height: 1.2; }
.ms-row { border-top: 1px solid var(--line); }
.ms-a { display: flex; align-items: center; gap: 12px; padding: 14px 0; color: var(--ink); }
.ms-a:hover { color: var(--ink); }
.ms-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; }
.ms-tx { flex: 1; min-width: 0; }
.ms-tx b { display: block; font-size: 16px; font-weight: 700; }
.ms-tx b em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--red); margin-left: 4px; vertical-align: 1px; }
.ms-tx small { display: block; font-size: 13px; color: var(--ink2); line-height: 1.45; margin-top: 2px; }
.ms-go { color: #b9bdc3; font-size: 22px; }
.ms-sub { display: inline-flex; align-items: center; min-height: 36px; margin: -6px 0 12px 24px; padding: 0 12px; border-radius: 10px; background: var(--fill); color: var(--ink); font-size: 13.5px; font-weight: 600; }
.ms-sub:hover { color: var(--ink); background: #e9eaec; }
.ms-x { width: 100%; min-height: 46px; margin-top: 8px; }
/* text below a tool, related links, ad spots */
.after-tool { margin-top: 36px; padding-top: 4px; border-top: 1px solid var(--line); color: var(--ink2); }
.after-tool h2 { color: var(--ink); }
.more { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 36px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.more span { color: var(--muted); font-size: 13px; font-weight: 600; }
.more a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(214,47,60,.55); text-underline-offset: 3px; }
.ad { margin: 30px -20px; padding: 10px 20px 16px; background: var(--fill2); border-top: 1px solid #eceef0; border-bottom: 1px solid #eceef0; min-height: 290px; }
.ad-k { margin: 0 0 8px; font-size: 11px; font-weight: 600; color: var(--muted); }
.ad-demo { display: grid; place-items: center; height: 250px; border: 1.5px dashed #c9ccd0; border-radius: 10px; color: var(--muted); font-size: 13px; font-weight: 600; }
/* map buttons (open the app picker) */
button[data-map] { font: inherit; cursor: pointer; border: 0; text-align: left; }
button.tl-r { width: 100%; }
button.tl-more { background: none; padding: 0; color: var(--ink); font-size: 12.5px; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(214,47,60,.55); text-underline-offset: 3px; }
button.fd-go { position: relative; }
.rt-apps button.btn-ghost { text-align: center; }
/* partner offers: "book ahead" */
.offer { margin: 22px 0; padding: 14px 16px 12px; border: 1.5px solid var(--ink); border-radius: 16px; background: #fff; }
.offer-k { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--red); }
.offer-ex { font-style: normal; font-size: 11px; font-weight: 600; color: var(--muted); background: var(--fill); border-radius: 6px; padding: 1px 6px; margin-left: 4px; }
.offer-a { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none !important; }
.offer-k + .offer-a { border-top: 0; }
.offer-a:hover { color: var(--ink); }
.offer-t { flex: 1; min-width: 0; }
.offer-t b { display: block; font-size: 15.5px; font-weight: 700; line-height: 1.35; }
.offer-t small { display: block; font-size: 13px; color: var(--ink2); line-height: 1.45; margin-top: 1px; }
.offer-go { flex: none; display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.offer-d { margin: 6px 0 0; font-size: 11.5px; color: var(--muted); }
.pd-body .offer { margin: 14px 0 0; }
.pl-out .offer { margin: 18px 0; }
.st-hotels { display: inline-flex; align-items: center; margin-top: 8px; min-height: 36px; padding: 0 12px; border-radius: 10px; background: var(--ink); color: #fff !important; font-size: 13.5px; font-weight: 700; text-decoration: none !important; }
.ck-buy { display: inline-flex; align-items: center; margin-top: 6px; min-height: 30px; padding: 0 10px; border-radius: 8px; background: var(--ink); color: #fff !important; font-size: 12.5px; font-weight: 700; text-decoration: none !important; }
.ck-disc { padding: 8px 0 0; font-size: 11.5px; color: var(--muted); border-top: 0 !important; }
.sr-a .sr-hotels { background: var(--ink); color: #fff !important; }
/* keep ads clearly apart from buttons and buy boxes */
.ad + .cta, .cta + .ad, .ad + .offer, .offer + .ad, .ad + .more { margin-top: 40px; }
/* checklist: the box ticks, the text opens the guide */
.ck-i { display: grid; grid-template-columns: 44px minmax(0,1fr); align-items: start; border-bottom: 1px solid var(--line); }
.ck-i:last-child { border-bottom: 0; }
.ck-c { display: flex; align-items: flex-start; justify-content: flex-start; padding: 15px 0 13px; min-height: 52px; cursor: pointer; }
.ck-c input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ck-c .ck-box { width: 24px; height: 24px; margin-top: 1px; }
.ck-c input:focus-visible + .ck-box { outline: 3px solid #ffc72c; outline-offset: 2px; }
.ck-row { display: flex; align-items: center; gap: 8px; padding: 13px 0; color: var(--ink); min-width: 0; }
.ck-row:hover { color: var(--ink); }
.ck-row .ck-t { flex: 1; min-width: 0; }
.ck-row .ck-t b { display: block; font-size: 15.5px; font-weight: 700; }
.ck-row .ck-t small { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.ck-chev { flex: none; color: #b9bdc3; font-size: 22px; line-height: 1; }
.ck-buyw { grid-column: 2; padding: 0 0 13px; margin-top: -6px; }
.ck-buyw .ck-buy { margin-top: 0; }
.ck-i.on .ck-row .ck-t b { color: var(--muted); text-decoration: line-through; text-decoration-color: #c4c8cd; }
.ck-i.soon .ck-row .ck-t small { color: var(--red); font-weight: 600; }
/* where to stay: two ways in */
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--fill); border-radius: 14px; margin: 0 0 6px; }
.seg2 button { min-height: 44px; border: 0; border-radius: 10px; background: none; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink2); cursor: pointer; }
.seg2 button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(17,20,24,.10); }
.mh-form { display: grid; gap: 12px; margin: 14px 0 4px; }
.mh-form .btn { width: 100%; }
.mh-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 4px; padding: 14px 16px; border: 1.5px solid var(--ink); border-radius: 14px; }
.mh-t { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15.5px; }
.mh-t svg { width: 20px; height: 20px; flex: none; }
.mh-list { list-style: none; margin: 0 0 6px; padding: 0; }
.mh-list li { border-bottom: 1px solid var(--line); }
.mh-list li:last-child { border-bottom: 0; }
.mh-list > li > b, .mh-list > li > span { display: block; }
.mh-list > li:not(:has(button, a)) { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: 15px; }
.mh-list > li:not(:has(button, a)) span { color: var(--ink2); font-size: 13.5px; text-align: right; }
.mh-add, .mh-food { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 11px 0; border: 0; background: none; font: inherit; text-align: left; color: var(--ink); cursor: pointer; }
.mh-add b, .mh-food b { font-size: 15px; font-weight: 600; }
.mh-add span, .mh-food span { color: var(--ink2); font-size: 13px; text-align: right; flex: none; max-width: 55%; }

/* ===================== v11 · My trip: one trip, a home that follows the date, 3-step setup ===================== */
/* home before a trip */
.hero { margin: 22px 0 8px; }
.hero-h { margin: 0 0 12px; font-family: var(--display); font-weight: 400; font-size: 38px; line-height: 1.06; letter-spacing: -0.5px; text-wrap: balance; }
.hero-p { margin: 0 0 20px; font-size: 16px; color: var(--ink2); line-height: 1.6; }
.hero-btn { width: 100%; background: var(--red); }
.hero-btn:hover { background: #b9232f; }
.hero-note { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.hs-list { list-style: none; margin: 0; padding: 4px 16px; border: 1px solid var(--line); border-radius: 18px; }
.hs-list li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px dashed #dfe1e4; font-size: 15px; line-height: 1.45; }
.hs-list li:first-child { border-top: 0; }
.hs-n { flex: none; width: 54px; font-family: var(--display); font-size: 16px; color: var(--red); padding-top: 1px; }
.hs-use { margin-top: 10px; width: 100%; min-height: 46px; }
.mt-rows { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.mt-row { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 16px; border-top: 1px solid var(--line); color: var(--ink); font-size: 15px; font-weight: 600; }
.mt-rows li:first-child .mt-row { border-top: 0; }
.mt-row:hover { color: var(--ink); background: var(--fill2); }
.mt-row .ei { width: 22px; height: 22px; flex: none; }
.mt-row span:nth-of-type(1) { flex: 1; }
.mt-chev { margin-left: auto; color: #b4b8bd; font-size: 22px; line-height: 1; font-weight: 400; }

/* the trip card: a boarding pass with a perforated stub of actions */
.mt-pass { margin-top: 16px; }
.mt-body { padding: 16px 18px 18px; }
.mt-h { margin: 0; font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.12; letter-spacing: -0.3px; text-wrap: balance; }
.mt-sub { margin: 8px 0 0; font-size: 15px; color: var(--ink2); }
.mt-act { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px dashed #d6d8db; }
.mt-act::before, .mt-act::after { content: ""; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 1px solid #dfe1e4; }
.mt-act::before { left: -11px; clip-path: inset(0 0 0 50%); }
.mt-act::after { right: -11px; clip-path: inset(0 50% 0 0); }
.mt-a { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 6px; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); background: none; border: 0; cursor: pointer; text-align: center; line-height: 1.2; }
.mt-a + .mt-a { border-left: 1px solid var(--line); }
.mt-a:hover { color: var(--ink); background: var(--fill2); }
.mt-act .mt-a:first-child { border-bottom-left-radius: 21px; }
.mt-act .mt-a:last-child { border-bottom-right-radius: 21px; }
.mt-msg { margin: 8px 2px 0; min-height: 0; }
.mt-msg:empty { display: none; }
.mt-note { display: block; margin: 12px 0 0; padding: 13px 16px; border-radius: 14px; background: var(--wait-soft); color: var(--ink); font-size: 14px; line-height: 1.5; }
.mt-note b { color: var(--wait); white-space: nowrap; }
.mt-note:hover { color: var(--ink); }
.mt-date { margin-left: 6px; font-family: var(--font); font-size: 14px; font-weight: 500; color: var(--muted); }
.mt-tl { margin-top: 4px; }
.mt-plain { margin: 0; padding: 4px 0 0 20px; }
.mt-plain li { margin: 4px 0; }
.mt-rows2 { padding: 0 16px; border: 1px solid var(--line); border-radius: 18px; }
.mt-stay { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); }
.mt-stay:hover { color: var(--ink); }
.mt-stay > div { flex: 1; min-width: 0; }
.mt-stay b { display: block; font-size: 15px; line-height: 1.35; }
.mt-stay small { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
.mt-stay .btn-ghost { flex: none; min-height: 36px; padding: 0 12px; font-size: 13px; display: inline-flex; align-items: center; }
.mt-stay.none { background: var(--fill2); border-color: #eceef0; }
.mt-stay-i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #e9f6fb; color: #0a7fa8; }
.mt-stay-i .ei { width: 22px; height: 22px; }
.mt-qs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mt-q { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 84px; padding: 10px 4px; border-radius: 16px; background: var(--fill2); border: 1px solid #eceef0; color: var(--ink); font-size: 12.5px; font-weight: 600; line-height: 1.25; text-align: center; }
.mt-q:hover { color: var(--ink); background: #f1f2f3; }
.mt-q .ei { width: 24px; height: 24px; }
.mt-stats { margin: 0 0 14px; font-family: var(--display); font-size: 22px; line-height: 1.3; }
.mt-wide { width: 100%; }
.mt-shared { margin: 14px 0 0; padding: 16px; border-radius: 18px; background: var(--red-soft); border: 1px solid #f6d6d9; }
.mt-shared p { margin: 0 0 10px; font-size: 15px; }
.mt-shared-a { display: flex; gap: 8px; }
.mt-shared-a .btn { flex: 1; min-height: 46px; font-size: 15px; }
.mt-toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 60; max-width: 440px; width: calc(100% - 40px); padding: 14px 18px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.2); transition: opacity .4s, transform .4s; }
.mt-toast.out { opacity: 0; transform: translate(-50%, 8px); }
.ck-tog { border-top: 1px solid var(--line); }
.ck-tog button { width: 100%; min-height: 48px; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink2); background: none; border: 0; cursor: pointer; }
.ck-tog button:hover { background: var(--fill2); }
.ck-i[hidden] { display: none; }
.tool-grid.two { margin: 16px 0 0; }
.tool-grid.two .tool-t { min-height: 108px; }

/* planner: conditions that came from My trip, as one line */
.pl-sum { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--fill2); border: 1px solid #eceef0; }
.pl-sum p { flex: 1; margin: 0; font-size: 15px; line-height: 1.45; }
.pl-sum small { display: block; font-size: 12.5px; color: var(--muted); }
.pl-sum .btn-ghost { flex: none; }

/* setup: when → where → stay */
.wz { padding-bottom: 8px; }
.wz-top { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 6px; }
.wz-back { width: 40px; height: 40px; margin-left: -8px; border: 0; background: none; font-size: 30px; line-height: 1; color: var(--ink); cursor: pointer; border-radius: 12px; }
.wz-back:hover { background: var(--fill); }
.wz-k { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .2px; }
.wz-bar { height: 4px; border-radius: 99px; background: #eef0f2; overflow: hidden; }
.wz-bar i { display: block; height: 100%; background: var(--red); border-radius: 99px; transition: width .3s; }
.wz-h { margin: 22px 0 8px; font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1.1; letter-spacing: -0.3px; text-wrap: balance; }
.wz-hint { margin: 0 0 16px; color: var(--ink2); font-size: 15px; }
.wz-sum { margin: 14px 2px 6px; font-size: 15px; line-height: 1.5; }
.wz-sum span, .wz-sum.muted { color: var(--muted); }
.wz-alt { display: block; margin: 14px auto 0; font-size: 14px; }
.wz-days { display: flex; align-items: center; gap: 12px; margin: 18px 0 4px; }
.wz-unit { font-size: 16px; font-weight: 700; color: var(--ink2); }
.wz-foot { position: sticky; bottom: calc(66px + env(safe-area-inset-bottom)); z-index: 5; margin: 22px -20px 0; padding: 14px 20px 10px; background: linear-gradient(rgba(255,255,255,0), #fff 30%); }
.wz-foot .btn { width: 100%; }
.cal { border: 1px solid var(--line); border-radius: 18px; padding: 10px 10px 12px; margin-top: 14px; }
.cal-h { display: flex; align-items: center; justify-content: space-between; padding: 0 2px 6px; }
.cal-h b { font-size: 16px; }
.cal-nav { width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--fill); font-size: 22px; color: var(--ink); cursor: pointer; }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-w, .cal-g { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-w span { padding: 4px 0 6px; text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); }
.cal-g > span { min-height: 44px; }
.cal-d { position: relative; min-height: 44px; margin: 1px 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; border-radius: 12px; }
.cal-d:disabled { color: #c9ccd0; cursor: default; font-weight: 400; }
.cal-d.is-today { box-shadow: inset 0 0 0 1.5px #c9ccd0; }
.cal-d.in { background: var(--red-soft); border-radius: 0; }
.cal-d.is-a, .cal-d.is-b { background: var(--red); color: #fff; }
.cal-d.is-a { border-radius: 12px 0 0 12px; }
.cal-d.is-b { border-radius: 0 12px 12px 0; }
.cal-d.is-a:not(:has(~ .is-b)) { border-radius: 12px; }
.cal-d:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.wz-cities { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wz-city { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 104px; padding: 14px; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; font: inherit; text-align: left; color: var(--ink); cursor: pointer; }
.wz-cities.sm .wz-city { min-height: 76px; }
.wz-city b { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.1; margin-top: auto; }
.wz-cities.sm .wz-city b { font-size: 20px; }
.wz-city small { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.wz-sw { position: absolute; top: 14px; left: 14px; width: 22px; height: 6px; border-radius: 99px; }
.wz-tick { position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #d3d6da; }
.wz-city.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.wz-city.on .wz-tick { background: var(--ink); border-color: var(--ink); }
.wz-city.on .wz-tick::after { content: ""; position: absolute; left: 6px; top: 6px; width: 9px; height: 5px; border: 2.4px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg); }
.wz-max { margin: 10px 2px 0; }
.wz-alloc { margin: 18px 0 0; border: 1px solid var(--line); border-radius: 18px; padding: 4px 14px; }
.wz-al { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 60px; border-top: 1px solid var(--line); }
.wz-al:first-child { border-top: 0; }
.wz-al > span { font-weight: 700; }
.stepper.sm button { width: 38px; height: 38px; font-size: 20px; }
.stepper.sm button:disabled { opacity: .35; cursor: default; }
.stepper.sm output { min-width: 56px; font-size: 15px; }
.wz-opts { display: grid; gap: 10px; margin-top: 10px; }
.wz-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; font: inherit; text-align: left; color: var(--ink); cursor: pointer; }
.wz-opt b { font-size: 18px; }
.wz-opt small { font-size: 14px; color: var(--ink2); }
.wz-opt.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.wz-hotel { margin-top: 16px; }
.wz-hotel .small { margin: 8px 2px 0; }
@media (prefers-reduced-motion: reduce) { .wz-bar i, .mt-toast { transition: none; } }
.cal-d.is-a.is-b { border-radius: 12px; }
.mt-qs { grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); }
.mt-days li > span:last-child b { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 1px; }
/* languages without spaces between words: let lines break anywhere a native reader expects */
html:lang(ja) body, html:lang(zh-hans) body, html:lang(zh-hant) body, html:lang(th) body { word-break: normal; line-break: strict; }
