/* =========================================================
   越南好好玩 — 全站樣式
   ========================================================= */
:root {
  --red: #E8392E; --red-dark: #C92A20; --red-soft: #FDECEA;
  --orange: #F28C28; --yellow: #F5B82E; --green: #1E9E5A; --blue: #1F6FD1; --purple: #7B4FD1;
  --ink: #1F2A37; --ink-2: #5B6472; --ink-3: #8A919C;
  --line: #ECE6E1; --bg: #FFFBF7; --card: #FFFFFF; --footer: #1E2B33;
  --radius: 14px; --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(31, 42, 55, .08);
  --shadow-h: 0 12px 32px rgba(31, 42, 55, .15);
  --font: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', system-ui, sans-serif;
  --hand: 'LXGW WenKai TC', 'Noto Serif TC', 'Kaiti TC', 'DFKai-SB', serif;
  --script: 'Caveat', 'LXGW WenKai TC', cursive;
  --wrap: 1320px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 15px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--ink-2); }
.small { font-size: 13px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid rgba(232, 57, 46, .45); outline-offset: 2px; border-radius: 6px; }
.link { color: var(--red); font-weight: 600; }
[data-icon] { display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; }
[data-icon] > svg { width: 1.25em; height: 1.25em; }

/* ---------- 照片：背景圖 + 漸層後備 ---------- */
.ph { background-color: #E9DCCD; background-image: linear-gradient(135deg, #F6C9A0, #D98F6A 55%, #8C6A5C); background-size: cover; background-position: center; position: relative; overflow: hidden; }
.ph.g2 { background-image: linear-gradient(135deg, #A7D8D0, #3E8E8A 60%, #2A5A66); }
.ph.g3 { background-image: linear-gradient(135deg, #F7E3A6, #E6A04E 55%, #B4562E); }
.ph.g4 { background-image: linear-gradient(135deg, #C9D8F2, #6B8FC7 60%, #3C5179); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; height: 72px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo svg { width: 58px; height: 34px; }
.logo b { display: block; font-family: var(--hand); font-size: 24px; letter-spacing: 2px; line-height: 1.1; }
.logo small { display: block; font-size: 11.5px; color: var(--ink-2); letter-spacing: .5px; }
.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav a { position: relative; padding: 24px 14px; font-size: 15px; font-weight: 500; color: var(--ink); transition: color .2s; }
.nav a:hover { color: var(--red); }
.nav a.active { color: var(--red); font-weight: 700; }
.nav a.active::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 12px; height: 3px; border-radius: 3px; background: var(--red); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; transition: .2s; }
.icon-btn:hover { border-color: var(--red); color: var(--red); }
.icon-btn svg { width: 20px; height: 20px; }
.burger { display: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn-red { background: linear-gradient(135deg, #F04A3B, #E0332A); color: #fff; box-shadow: 0 6px 16px rgba(232, 57, 46, .3); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-ghost { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.arrow-btn { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--red-soft); color: var(--red); flex-shrink: 0; transition: .2s; }
.arrow-btn svg { width: 14px; height: 14px; }
.card:hover .arrow-btn, a:hover > .arrow-btn { background: var(--red); color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 460px; color: var(--ink); overflow: hidden; }
.hero .ph { position: absolute; inset: 0; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255, 250, 244, .92) 0%, rgba(255, 250, 244, .72) 34%, rgba(255, 250, 244, 0) 62%); }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; z-index: 2; background: var(--bg); clip-path: ellipse(75% 100% at 50% 100%); }
.hero .wrap { position: relative; z-index: 3; padding-top: 48px; padding-bottom: 120px; }
.hero h1 { font-family: var(--hand); font-weight: 700; font-size: clamp(48px, 7vw, 92px); line-height: 1.12; letter-spacing: 4px; text-shadow: 0 2px 0 rgba(255, 255, 255, .6); }
.hero h1 .under { position: relative; display: inline-block; }
.hero h1 .under::after { content: ''; position: absolute; left: -6px; right: 10%; bottom: -4px; height: 8px; border-radius: 8px; background: var(--red); transform: rotate(-2deg); opacity: .9; }
.hero .lead { margin-top: 18px; font-size: clamp(16px, 1.6vw, 20px); font-weight: 700; letter-spacing: 1px; }
.hero .sub { margin-top: 10px; color: var(--ink-2); max-width: 520px; }
.hero-script { position: absolute; z-index: 3; font-family: var(--script); color: #fff; font-size: 30px; line-height: 1; transform: rotate(-14deg); text-shadow: 0 2px 8px rgba(0, 0, 0, .25); left: 18px; top: 34px; opacity: .95; }
.hero-note { position: absolute; z-index: 3; right: 5%; top: 40px; font-family: var(--hand); font-size: 24px; color: var(--ink); transform: rotate(-8deg); text-align: center; line-height: 1.5; background: rgba(255, 255, 255, .55); padding: 6px 16px; border-radius: 12px; }
.hero-note .heart { color: var(--red); }
.crumb { margin-top: 18px; font-size: 13px; color: var(--ink-2); }
.crumb a:hover { color: var(--red); }

/* ---------- Section titles ---------- */
.section { padding: 36px 0; }
.sec-head { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.sec-head h2 { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; }
.sec-head h2 svg { width: 30px; height: 30px; color: var(--red); }
.sec-head .desc { color: var(--ink-2); font-size: 13.5px; padding-bottom: 3px; }
.sec-head .more { margin-left: auto; color: var(--ink-2); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.sec-head .more:hover { color: var(--red); }
.sec-head .more svg { width: 16px; height: 16px; color: var(--red); }
.bar-title { font-size: 20px; font-weight: 800; padding-left: 12px; border-left: 4px solid var(--red); }
.under-title { font-size: 22px; font-weight: 800; position: relative; display: inline-block; padding-bottom: 6px; }
.under-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--red); border-radius: 3px; }

/* ---------- Cards ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
a.card:hover, .card.hoverable:hover { transform: translateY(-3px); box-shadow: var(--shadow-h); }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } .g5 { grid-template-columns: repeat(5, 1fr); } .g6 { grid-template-columns: repeat(6, 1fr); }

/* 功能入口卡（首頁 / 工具） */
.feature-row { position: relative; z-index: 5; margin-top: -110px; }
.feature { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 14px 20px; position: relative; }
.feature .ico { width: 56px; height: 56px; margin-bottom: 12px; }
.feature .ico svg { width: 100%; height: 100%; }
.feature h3 { font-size: 18px; font-weight: 800; }
.feature p { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.feature .arrow-btn { position: absolute; right: 14px; bottom: 16px; width: 24px; height: 24px; background: none; }

/* 圖卡 */
.photo-card { overflow: hidden; display: flex; flex-direction: column; }
.photo-card .ph { height: 180px; }
.photo-card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.photo-card h3 { font-size: 17px; font-weight: 800; }
.photo-card .meta { display: flex; gap: 16px; color: var(--ink-2); font-size: 13px; align-items: center; }
.photo-card .meta svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 4px; }
.photo-card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 6px; }
.price { color: var(--red); font-weight: 800; font-size: 19px; white-space: nowrap; }
.price small { font-size: 12px; font-weight: 600; margin-left: 2px; }
.badge { position: absolute; left: 12px; top: 12px; z-index: 2; background: var(--red); color: #fff; font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.badge.food { background: var(--red); } .badge.sea, .badge.orange { background: var(--orange); } .badge.classic { background: #E9672B; }

/* 目的地卡 */
.dest { position: relative; height: 230px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.dest-card { overflow: hidden; }
.dest .ph { position: absolute; inset: 0; transition: transform .5s; }
.dest-card:hover .dest .ph { transform: scale(1.06); }
.dest::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0, 0, 0, .55)); }
.dest h3 { position: absolute; left: 14px; bottom: 10px; z-index: 2; color: #fff; font-size: 20px; font-weight: 800; }
.dest-card .body { padding: 10px 14px 12px; display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--ink-2); }

/* 標籤 */
.tag { display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 999px; background: #FFF1E2; color: #B5651D; margin-right: 6px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: .2s; }
.chip svg { width: 16px; height: 16px; }
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.active { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 4px 10px rgba(232, 57, 46, .25); }
.chip-sm { padding: 3px 12px; font-size: 12.5px; background: rgba(255, 255, 255, .85); }

/* 小列表卡（出發前必看等） */
.mini { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.mini .ico { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); }
.mini .ico svg { width: 26px; height: 26px; }
.mini h3 { font-size: 16px; font-weight: 800; }
.mini p { font-size: 12.5px; color: var(--ink-2); }
.mini .arrow-btn { margin-left: auto; }

/* 手寫裝飾 */
.hand { font-family: var(--hand); font-size: 26px; line-height: 1.5; color: var(--ink); transform: rotate(-6deg); display: inline-block; }
.hand .heart, .heart { color: var(--red); }
.script { font-family: var(--script); }

/* ---------- Home ---------- */
.search-box { margin-top: 28px; display: flex; max-width: 540px; background: #fff; border-radius: 999px; box-shadow: var(--shadow-h); padding: 6px; }
.search-box svg { width: 20px; height: 20px; }
.search-box label { display: flex; align-items: center; gap: 10px; flex: 1; padding: 0 16px; color: var(--ink-3); }
.search-box input { border: 0; outline: 0; flex: 1; font-size: 15px; background: transparent; color: var(--ink); min-width: 0; }
.hot-search { margin-top: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; font-weight: 700; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.split > div + div { border-left: 1px solid var(--line); padding-left: 32px; }
.dest-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tour-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tour-grid .photo-card .ph { height: 120px; }
.tour-grid .photo-card h3 { font-size: 15.5px; }
.tour-grid .photo-card .body { padding: 10px 12px 12px; gap: 3px; }
.tour-grid .meta { font-size: 12px; gap: 10px; }
.tour-grid .price { font-size: 17px; }
.before-grid { display: grid; grid-template-columns: 1fr 260px; gap: 24px; align-items: center; }

/* ---------- Food map ---------- */
.food-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.food-list { display: flex; flex-direction: column; gap: 10px; }
.food-item { display: grid; grid-template-columns: 170px 1fr 36px; gap: 16px; align-items: center; overflow: hidden; cursor: pointer; border: 2px solid transparent; }
.food-item.active { border-color: var(--red); }
.food-item .ph { height: 100%; min-height: 100px; }
.food-item .num { position: absolute; left: 8px; top: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; border: 2px solid #fff; }
.food-item h3 { font-size: 18px; font-weight: 800; display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; }
.food-item .info { padding: 10px 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.food-item .loc { font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.food-item .loc svg { width: 14px; height: 14px; }
.food-item p { font-size: 13px; color: var(--ink-2); }
.stars { color: var(--ink); font-size: 14px; font-weight: 700; display: inline-flex; gap: 4px; align-items: center; }
.stars svg { width: 15px; height: 15px; color: var(--yellow); }
.stars small { color: var(--ink-3); font-weight: 400; font-size: 12px; }
.map-wrap { position: sticky; top: 86px; height: 660px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #E8EEF2; }
#map { position: absolute; inset: 0; z-index: 1; }
.map-search { position: absolute; z-index: 500; left: 14px; top: 14px; right: 150px; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: 10px 14px; }
.map-search svg { width: 18px; height: 18px; color: var(--ink-3); }
.map-search input { border: 0; outline: 0; flex: 1; background: transparent; min-width: 0; }
.map-city { position: absolute; z-index: 500; right: 14px; top: 14px; }
.map-city select, .select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231F2A37' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; border: 1px solid var(--line); border-radius: 10px; padding: 10px 34px 10px 14px; font-weight: 700; box-shadow: var(--shadow); cursor: pointer; }
.map-pop { position: absolute; z-index: 500; right: 14px; top: 70px; width: 250px; padding: 8px; display: none; }
.map-pop.show { display: block; animation: pop .25s ease; }
.map-pop .ph { height: 120px; border-radius: 10px; }
.map-pop h3 { font-size: 18px; font-weight: 800; margin: 8px 6px 2px; }
.map-pop .rows { padding: 0 6px; font-size: 12.5px; color: var(--ink-2); display: flex; flex-direction: column; gap: 3px; }
.map-pop .rows svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 4px; color: var(--red); }
.map-pop .btn { width: 100%; margin-top: 10px; }
.map-pop .close { position: absolute; right: 12px; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.map-pop .close svg { width: 14px; height: 14px; }
.map-hand { position: absolute; z-index: 400; right: 70px; bottom: 50px; font-family: var(--hand); font-size: 24px; transform: rotate(-12deg); line-height: 1.5; pointer-events: none; text-shadow: 0 0 6px #fff, 0 0 6px #fff; }
.marker { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--orange); border: 2px solid #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .3); display: grid; place-items: center; }
.marker span { transform: rotate(45deg); color: #fff; font-weight: 800; font-size: 12px; }
.marker.active { background: var(--red); width: 40px; height: 40px; }
.marker.active span { font-size: 14px; }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--ink-2); padding: 20px; background: repeating-linear-gradient(45deg, #EEF3F6, #EEF3F6 12px, #E6EDF1 12px, #E6EDF1 24px); }
.theme-card { overflow: hidden; }
.theme-card .ph { height: 100px; }
.theme-card .body { padding: 8px 12px 10px; display: flex; align-items: center; gap: 8px; }
.theme-card h3 { font-size: 15px; font-weight: 800; }
.theme-card p { font-size: 12px; color: var(--ink-2); }
.theme-card .arrow-btn { margin-left: auto; }
.finder { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.finder button { background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 14px 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; border: 2px solid transparent; transition: .2s; }
.finder button:hover { transform: translateY(-2px); }
.finder button.on { border-color: var(--red); background: var(--red-soft); }
.finder svg { width: 30px; height: 30px; }
.finder b { font-size: 14px; }
.finder small { font-size: 11px; color: var(--ink-2); }
.food-bottom { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.empty { text-align: center; padding: 40px; color: var(--ink-2); }

/* ---------- Itinerary ---------- */
.planner { margin-top: -150px; position: relative; z-index: 5; padding: 18px 26px 22px; }
.tabs3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.tab3 { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; text-align: left; transition: .2s; }
.tab3 svg { width: 30px; height: 30px; }
.tab3 b { display: block; font-size: 15px; } .tab3 small { font-size: 12px; color: var(--ink-2); }
.tab3.active { border: 2px solid var(--red); background: var(--red-soft); }
.tab3.active b { color: var(--red); }
.plan-form { display: grid; grid-template-columns: 1.3fr 1fr 2.2fr auto; gap: 20px; align-items: end; }
.field label { display: flex; align-items: center; gap: 6px; font-weight: 700; margin-bottom: 8px; }
.field label svg { width: 18px; height: 18px; color: var(--red); }
.field label small { font-weight: 400; color: var(--ink-3); }
.field .select, .input { width: 100%; box-shadow: none; font-weight: 500; }
.input { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; background: #fff; outline: none; }
.input:focus, .select:focus { border-color: var(--red); }
.prefs { display: flex; gap: 8px; flex-wrap: wrap; }
.pref { width: 60px; padding: 8px 2px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; transition: .2s; }
.pref svg { width: 24px; height: 24px; }
.pref.on { border: 2px solid var(--red); background: var(--red-soft); color: var(--red); font-weight: 700; }
.my-plan { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: start; }
.plan-board { display: grid; grid-template-columns: 210px 1fr; gap: 16px; align-items: start; }
.day-list { display: flex; flex-direction: column; gap: 10px; }
.day-btn { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); text-align: left; border-left: 4px solid transparent; transition: .2s; }
.day-btn .n { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; flex-shrink: 0; }
.day-btn b { display: block; font-size: 16px; } .day-btn small { font-size: 12.5px; color: var(--ink-2); }
.day-btn.active { background: var(--red-soft); border-left-color: var(--red); }
.day-btn.active .n { background: var(--red); }
.day-btn.active b { color: var(--red); }
.add-day { justify-content: center; color: var(--ink); font-weight: 700; gap: 8px; }
.add-day svg { width: 18px; height: 18px; color: var(--red); }
.timeline-card { padding: 14px 18px; }
.tl-head { display: flex; align-items: center; gap: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tl-head .daypill { background: var(--red-soft); color: var(--red); font-weight: 800; padding: 4px 14px; border-radius: 8px; font-size: 18px; }
.tl-head .acts { margin-left: auto; display: flex; gap: 6px; }
.tl-head .acts button { color: var(--red); font-size: 13px; font-weight: 700; display: inline-flex; gap: 4px; align-items: center; padding: 4px 8px; border-radius: 6px; }
.tl-head .acts button:hover { background: var(--red-soft); }
.tl-head .acts svg { width: 15px; height: 15px; }
.tl { list-style: none; margin: 0; padding: 0; position: relative; }
.tl li { display: grid; grid-template-columns: 70px 40px 1fr 170px 96px; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); position: relative; }
.tl li:last-child { border-bottom: 0; }
.tl .time { font-size: 13.5px; font-weight: 600; padding-left: 16px; position: relative; }
.tl .time::before { content: ''; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.tl .ticon svg { width: 26px; height: 26px; }
.tl b { font-size: 15px; display: block; } .tl small { font-size: 12px; color: var(--ink-2); }
.tl .place { font-size: 12.5px; display: flex; gap: 6px; align-items: center; }
.tl .place svg { width: 16px; height: 16px; color: var(--red); flex-shrink: 0; }
.tl .ph { height: 54px; border-radius: 6px; }
.tl .del { position: absolute; right: -6px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; display: none; place-items: center; }
.tl .del svg { width: 12px; height: 12px; }
.editing .tl .del { display: grid; }
.add-item { display: none; grid-template-columns: 90px 110px 1fr 1fr auto; gap: 8px; margin-top: 10px; }
.editing .add-item { display: grid; }
.cost-card { padding: 18px; }
.cost-card h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.cost-card h3 svg { width: 30px; height: 30px; color: var(--orange); }
.cost-total { color: var(--red); font-size: 22px; font-weight: 800; }
.cost-rows { margin: 10px 0; padding: 8px 12px; background: #FBF7F3; border-radius: 10px; font-size: 13px; }
.cost-rows div { display: flex; justify-content: space-between; padding: 3px 0; }
.side-block { display: flex; gap: 10px; padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--line); }
.side-block > svg { width: 28px; height: 28px; flex-shrink: 0; }
.side-block b { font-size: 15px; }
.side-block ul { margin: 6px 0 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--ink-2); }
.side-block li::before { content: '✓ '; color: var(--green); font-weight: 800; }

/* ---------- Guides ---------- */
.guide-tabs { position: relative; z-index: 5; margin-top: -100px; margin-bottom: 26px; }
.guides-layout { display: grid; grid-template-columns: 1fr 380px; gap: 22px; align-items: start; }
.article-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-card { overflow: hidden; display: flex; flex-direction: column; cursor: pointer; }
.article-card .ph { height: 180px; }
.article-card .body { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-card h3 { font-size: 18px; font-weight: 800; }
.article-card p { font-size: 13.5px; color: var(--ink-2); }
.article-card .meta { margin-top: auto; display: flex; gap: 18px; font-size: 13px; color: var(--ink-2); align-items: center; }
.article-card .meta svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 4px; }
.article-card .meta .arrow-btn { margin-left: auto; }
.topics { padding: 16px; }
.topics h3 { display: flex; gap: 8px; align-items: center; font-size: 19px; font-weight: 800; }
.topics h3 svg { width: 26px; height: 26px; color: var(--red); }
.topic { display: grid; grid-template-columns: 120px 1fr 26px; gap: 14px; align-items: center; margin-top: 12px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); cursor: pointer; transition: .2s; background: #fff; text-align: left; width: 100%; }
.topic:hover { box-shadow: var(--shadow); }
.topic .ph { height: 96px; }
.topic b { font-size: 16px; } .topic p { font-size: 12.5px; color: var(--ink-2); }
.subscribe { margin-top: 18px; padding: 22px; background: linear-gradient(135deg, #FFF6EE, #FFEFE6); }
.subscribe .hand { font-size: 28px; }
.sub-form { display: flex; margin-top: 14px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.sub-form input { flex: 1; border: 0; padding: 14px 16px; outline: none; min-width: 0; }
.sub-form button { background: var(--red); color: #fff; font-weight: 800; padding: 0 26px; }
.checks { display: flex; gap: 14px; margin-top: 12px; flex-wrap: wrap; font-size: 13px; }
.checks span::before { content: '✔'; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--red); color: #fff; font-size: 10px; margin-right: 5px; }
.article-body h4 { margin: 18px 0 6px; font-size: 17px; }
.article-body p, .article-body li { line-height: 1.85; }
.article-body ul, .article-body ol { padding-left: 22px; }

/* ---------- Emergency ---------- */
.contact-row { position: relative; z-index: 5; margin-top: -150px; }
.contact { display: flex; gap: 20px; align-items: center; padding: 24px; position: relative; overflow: hidden; }
.contact .big { width: 78px; height: 78px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.contact .big svg { width: 40px; height: 40px; }
.contact .flag { width: 64px; height: 44px; border-radius: 8px; flex-shrink: 0; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.contact h3 { font-size: 18px; font-weight: 800; }
.contact .num { color: var(--red); font-weight: 800; font-size: 30px; letter-spacing: .5px; line-height: 1.2; margin: 4px 0; display: block; }
.contact .num.sm { font-size: 24px; }
.contact p { font-size: 13px; color: var(--ink-2); }
.contact .arrow-btn { position: absolute; right: 16px; bottom: 16px; }
.contact .urgent { font-size: 13px; margin-top: 6px; }
.contact .urgent a { color: var(--red); font-weight: 800; }
.sit { padding: 20px; cursor: pointer; position: relative; text-align: left; display: flex; flex-direction: column; justify-content: flex-start; width: 100%; }
.sit .head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.sit .head .ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; color: #fff; }
.sit .head .ico svg { width: 28px; height: 28px; }
.sit h3 { font-size: 19px; font-weight: 800; }
.sit p { font-size: 13.5px; color: var(--ink-2); line-height: 1.8; padding-right: 20px; }
.sit .arrow-btn { position: absolute; right: 14px; bottom: 14px; }
.bg-red { background: var(--red); } .bg-orange { background: var(--orange); } .bg-green { background: var(--green); } .bg-blue { background: var(--blue); }
.notice { display: grid; grid-template-columns: auto 1px 1fr auto; gap: 24px; align-items: center; background: var(--red-soft); border-radius: var(--radius); padding: 18px 28px; }
.notice .ttl { display: flex; align-items: center; gap: 14px; font-size: 22px; font-weight: 800; color: var(--red); }
.notice .ttl span.ex { width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 28px; }
.notice .sep { width: 1px; height: 70%; background: rgba(232, 57, 46, .3); }
.notice ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.9; }
.notice li::marker { color: var(--red); }
.links-row { display: grid; grid-template-columns: repeat(4, 1fr) 1.3fr; gap: 14px; align-items: stretch; }
.link-card { display: flex; gap: 12px; padding: 16px; align-items: flex-start; position: relative; text-align: left; }
.link-card > [data-icon]:not(.arrow-btn) svg, .link-card > svg { width: 38px; height: 38px; flex-shrink: 0; }
.link-card b { font-size: 16px; display: block; } .link-card small { font-size: 12px; color: var(--ink-2); display: block; line-height: 1.5; }
.link-card .arrow-btn { position: absolute; right: 12px; bottom: 12px; width: 24px; height: 24px; }
.helpcard-cta { padding: 16px 18px; display: flex; gap: 12px; align-items: center; background: linear-gradient(135deg, #fff, #FFF4EF); }
.helpcard-cta > [data-icon] svg, .helpcard-cta > svg { width: 42px; height: 42px; color: var(--blue); flex-shrink: 0; }
.helpcard-cta b { font-size: 17px; }
.dial-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0; }
.dial-grid a { display: block; text-align: center; padding: 14px 6px; border-radius: 12px; background: var(--red-soft); }
.dial-grid a b { font-size: 28px; color: var(--red); display: block; }
.dial-grid a span { font-size: 13px; }
.help-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.help-table td { border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; }
.help-table td:first-child { width: 38%; color: var(--ink-2); }
.help-table td:last-child { font-size: 17px; font-weight: 700; }
.verified { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; }

/* ---------- Tools ---------- */
.tool-row { position: relative; z-index: 5; margin-top: -170px; }
.tool-entry { padding: 22px 16px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; position: relative; }
.tool-entry .ico { width: 60px; height: 60px; margin-bottom: 10px; }
.tool-entry .ico svg { width: 100%; height: 100%; }
.tool-entry h3 { font-size: 19px; font-weight: 800; }
.tool-entry p { font-size: 13px; color: var(--ink-2); }
.tool-entry .arrow-btn { position: absolute; right: 12px; bottom: 30px; width: 24px; height: 24px; }
.tools-main { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.panel { padding: 20px 22px; }
.panel-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.panel-head > [data-icon] svg, .panel-head > svg { width: 44px; height: 44px; }
.panel-head h3 { font-size: 22px; font-weight: 800; }
.panel-head p { font-size: 13px; color: var(--ink-2); }
.panel-head .right { margin-left: auto; font-size: 13px; color: var(--ink-2); display: inline-flex; gap: 4px; align-items: center; }
.panel-head .right svg { width: 15px; height: 15px; }
.fx { display: grid; grid-template-columns: 1fr 44px 1fr; gap: 12px; align-items: center; }
.fx-box { background: #FAF6F2; border-radius: 12px; padding: 12px; }
.fx-box label { font-size: 13px; color: var(--ink-2); display: block; margin-bottom: 6px; }
.fx-box .select { width: 100%; box-shadow: none; margin-bottom: 10px; }
.fx-box .input { font-size: 22px; font-weight: 700; }
.swap { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; transition: .3s; }
.swap:hover { background: var(--red-soft); color: var(--red); transform: rotate(180deg); }
.swap svg { width: 26px; height: 26px; }
.fx-rate { margin-top: 14px; padding: 10px 14px; background: var(--red-soft); border-radius: 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--red); font-weight: 700; }
.fx-rate input { width: 80px; padding: 4px 8px; border: 1px solid rgba(232, 57, 46, .3); border-radius: 6px; font-weight: 700; color: var(--red); background: #fff; }
.fx-rate .upd { margin-left: auto; font-weight: 400; color: var(--ink-2); font-size: 12.5px; }
.pack-wrap { display: grid; grid-template-columns: 1fr 200px; gap: 10px; }
.pack { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; max-height: 280px; overflow: auto; }
.pack li { display: grid; grid-template-columns: 28px 90px 1fr 22px; gap: 10px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 13px; }
.pack li:last-child { border-bottom: 0; }
.pack b { font-size: 15px; }
.pack li.done b { color: var(--ink-3); text-decoration: line-through; }
.pack .rm { color: var(--ink-3); } .pack .rm:hover { color: var(--red); }
.check { appearance: none; width: 22px; height: 22px; border: 2px solid #B9BEC5; border-radius: 5px; cursor: pointer; display: grid; place-items: center; margin: 0; }
.check:checked { background: var(--red); border-color: var(--red); }
.check:checked::after { content: '✓'; color: #fff; font-weight: 800; font-size: 14px; }
.pack-deco { border-radius: 12px; background: linear-gradient(160deg, #FFF3E6, #FBE3D6); display: flex; flex-direction: column; justify-content: space-between; padding: 14px; overflow: hidden; }
.pack-deco svg { width: 100%; height: auto; }
.pack-add { display: flex; gap: 8px; margin-top: 10px; }
.pack-add .input { flex: 1; padding: 8px 12px; }
.helpers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.helper { display: flex; gap: 16px; align-items: center; padding: 18px 20px; text-align: left; width: 100%; }
.helper .ico { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.helper .ico svg { width: 32px; height: 32px; }
.helper b { font-size: 18px; } .helper p { font-size: 13px; color: var(--ink-2); }
.helper .arrow-btn { margin-left: auto; }
.fav-band { display: grid; grid-template-columns: auto 1fr auto auto; gap: 22px; align-items: center; background: linear-gradient(90deg, #FDE5E1, #FFF4EE); border-radius: var(--radius); padding: 14px 28px; }
.fav-band b { color: var(--red); font-size: 20px; }
.phrase-list { display: grid; gap: 8px; max-height: 60vh; overflow: auto; }
.phrase { display: grid; grid-template-columns: 1fr 1.4fr 40px; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.phrase .vi { font-weight: 700; font-size: 17px; }
.speak { width: 36px; height: 36px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: grid; place-items: center; }
.speak svg { width: 18px; height: 18px; }
.addr-card { background: #fff; border: 4px solid var(--red); border-radius: 16px; padding: 28px; text-align: center; }
.addr-card .vi-big { font-size: clamp(26px, 5vw, 44px); font-weight: 800; line-height: 1.3; margin: 10px 0; word-break: break-word; }
.addr-card .please { font-size: 20px; color: var(--red); font-weight: 700; }
.split-rows { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.split-rows .r { display: grid; grid-template-columns: 1fr 1fr 1fr 30px; gap: 8px; }
.result-box { background: #FAF6F2; border-radius: 10px; padding: 12px 14px; margin-top: 10px; font-size: 14px; line-height: 1.9; }

/* ---------- About ---------- */
.story { position: relative; z-index: 5; margin-top: -170px; display: grid; grid-template-columns: 1fr 1fr 0.8fr; gap: 28px; align-items: center; padding: 26px 30px; }
.story .eyebrow { color: var(--red); font-size: 11px; letter-spacing: 3px; font-weight: 700; }
.story h2 { font-size: 28px; font-weight: 800; margin: 6px 0 14px; line-height: 1.4; }
.story p { color: var(--ink-2); font-size: 14px; line-height: 1.9; }
.story .ph { height: 300px; border-radius: 14px; }
.quote { font-family: var(--hand); font-size: 22px; line-height: 1.7; position: relative; padding: 20px 0; }
.quote::before, .quote::after { font-family: Georgia, serif; font-size: 70px; color: rgba(232, 57, 46, .35); position: absolute; line-height: 1; }
.quote::before { content: '“'; left: -24px; top: -20px; }
.quote::after { content: '”'; right: 0; bottom: -30px; }
.quote cite { display: block; text-align: right; font-size: 16px; color: var(--ink-2); font-style: normal; margin-top: 18px; font-family: var(--font); }
.value { text-align: center; padding: 22px 14px; }
.value svg { width: 48px; height: 48px; margin: 0 auto 10px; }
.value h3 { font-size: 20px; font-weight: 800; }
.value p { font-size: 13px; color: var(--ink-2); }
.steps { display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr; gap: 10px; align-items: center; }
.step { display: grid; grid-template-columns: 50px 46px 1fr; gap: 12px; align-items: start; }
.step .n { width: 46px; height: 46px; border-radius: 50%; background: var(--red-soft); color: var(--red); font-weight: 800; display: grid; place-items: center; font-size: 17px; }
.step > [data-icon] svg, .step > svg { width: 44px; height: 44px; }
.step b { font-size: 17px; } .step p { font-size: 13px; color: var(--ink-2); }
.dots { border-top: 2px dashed var(--red); position: relative; height: 0; }
.dots::after { content: ''; position: absolute; right: -2px; top: -6px; border: 5px solid transparent; border-left: 8px solid var(--red); }
.cta-band { position: relative; border-radius: 18px; overflow: hidden; min-height: 150px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; padding: 22px 30px; }
.cta-band .ph { position: absolute; inset: 0; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255, 250, 244, .9), rgba(255, 250, 244, .45)); }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { font-family: var(--hand); font-size: 44px; }
.follow { background: #fff; border-radius: 12px; padding: 14px 18px; box-shadow: var(--shadow); justify-self: end; }
.follow b { font-size: 16px; }
.socials { display: flex; gap: 12px; margin-top: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.socials a svg { width: 22px; height: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #fff; margin-top: 40px; }
.site-footer .wrap { display: grid; grid-template-columns: auto 1fr auto auto; gap: 30px; align-items: center; padding-top: 26px; padding-bottom: 26px; }
.site-footer .logo small { color: rgba(255, 255, 255, .7); }
.f-mid { text-align: center; }
.f-nav { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; font-size: 13px; }
.f-nav a:hover { color: #FFB4AE; }
.f-copy { font-size: 12px; color: rgba(255, 255, 255, .6); margin-top: 8px; }
.f-social { display: flex; gap: 14px; padding: 0 26px; border-left: 1px solid rgba(255, 255, 255, .2); border-right: 1px solid rgba(255, 255, 255, .2); }
.f-social a { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--footer); display: grid; place-items: center; transition: .2s; }
.f-social a:hover { background: var(--red); color: #fff; }
.f-social svg { width: 18px; height: 18px; }
.f-hand { font-family: var(--hand); font-size: 19px; line-height: 1.5; transform: rotate(-6deg); }

/* ---------- Modal / Toast / Search ---------- */
.modal-bg { position: fixed; inset: 0; z-index: 1000; background: rgba(20, 25, 32, .55); display: grid; place-items: center; padding: 20px; animation: fade .2s; }
.modal { background: #fff; border-radius: 18px; width: min(720px, 100%); max-height: 90vh; overflow: auto; position: relative; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); animation: pop .25s ease; }
.modal.wide { width: min(920px, 100%); }
.modal-inner { padding: 26px 28px 28px; }
.modal .x { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .95); display: grid; place-items: center; z-index: 3; box-shadow: var(--shadow); }
.modal .x svg { width: 18px; height: 18px; }
.modal h2 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.modal .cover { height: 240px; }
.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 14px 0; }
.steps-list li { counter-increment: s; position: relative; padding: 10px 0 10px 44px; border-bottom: 1px dashed var(--line); }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: 9px; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; z-index: 1100; opacity: 0; transition: .3s; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%); }
.search-results { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; max-height: 55vh; overflow: auto; }
.search-results a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 10px; align-items: center; }
.search-results a:hover { background: var(--red-soft); }
.search-results .kind { font-size: 11px; padding: 2px 8px; border-radius: 6px; background: #FFF1E2; color: #B5651D; flex-shrink: 0; }
.search-input { width: 100%; font-size: 18px; padding: 14px 18px; border-radius: 12px; border: 2px solid var(--red); outline: none; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } }

.hero .wrap.indent { padding-left: 150px; padding-top: 40px; }
.hero.tall { min-height: 560px; }
.hero.tall .wrap { padding-bottom: 190px; }
.hero.short { min-height: 220px; margin-bottom: 18px; }
.hero.short::after { display: none; }
.hero.short .wrap { padding: 28px 24px 30px; }
.hero.short h1 { font-size: clamp(44px, 5.5vw, 72px); }
.hero.short .lead { margin-top: 8px; }
.hero.tall + .feature-row { margin-top: -150px; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .nav a { padding: 24px 9px; font-size: 14px; }
  .g6 { grid-template-columns: repeat(3, 1fr); }
  .feature-row, .tool-row { margin-top: -90px; }
  .split { grid-template-columns: 1fr; } .split > div + div { border-left: 0; padding-left: 0; }
  .plan-form { grid-template-columns: 1fr 1fr; }
  .my-plan { grid-template-columns: 1fr; }
  .guides-layout { grid-template-columns: 1fr; }
  .links-row { grid-template-columns: repeat(2, 1fr); }
  .g5 { grid-template-columns: repeat(3, 1fr); }
  .story { grid-template-columns: 1fr 1fr; } .story .quote { grid-column: 1 / -1; }
  .site-footer .wrap { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .f-social { border: 0; }
}
@media (max-width: 900px) {
  .site-header .wrap { height: 64px; }
  .nav { position: fixed; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 8px 16px 16px; box-shadow: var(--shadow-h); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; } .nav a.active::after { left: 12px; right: auto; width: 30px; bottom: 6px; }
  .burger { display: grid; }
  .header-actions .btn span { display: none; }
  .header-actions .btn { padding: 11px; }
  .hero-note { display: none; }
  .hero .wrap.indent { padding-left: 24px; }
  .hero.tall + .feature-row { margin-top: -100px; }
  .hero::before { background: linear-gradient(180deg, rgba(255, 250, 244, .9), rgba(255, 250, 244, .55)); }
  .food-layout { grid-template-columns: 1fr; }
  .map-wrap { position: relative; top: 0; height: 420px; order: -1; }
  .map-pop { width: 210px; } .map-pop .ph { height: 80px; }
  .food-bottom { grid-template-columns: 1fr; }
  .g3, .g4, .article-grid, .tour-grid { grid-template-columns: repeat(2, 1fr); }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-board { grid-template-columns: 1fr; }
  .day-list { flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .day-btn { min-width: 170px; }
  .tl li { grid-template-columns: 60px 32px 1fr 80px; }
  .tl .place { display: none; }
  .tools-main { grid-template-columns: 1fr; }
  .helpers { grid-template-columns: 1fr; }
  .notice { grid-template-columns: 1fr; } .notice .sep, .notice .hand { display: none; }
  .fav-band { grid-template-columns: 1fr; text-align: center; justify-items: center; } .fav-band .hand { display: none; }
  .steps { grid-template-columns: 1fr; } .dots { display: none; }
  .cta-band { grid-template-columns: 1fr; text-align: center; justify-items: center; } .follow { justify-self: center; }
  .before-grid { grid-template-columns: 1fr; } .before-grid .hand { display: none; }
  .tabs3 { grid-template-columns: 1fr; gap: 8px; }
  .planner { margin-top: -120px; }
}
@media (max-width: 560px) {
  body { font-size: 14px; }
  .wrap { padding: 0 16px; }
  .logo svg { width: 44px; } .logo b { font-size: 20px; } .logo small { display: none; }
  .g2, .g3, .g4, .g5, .article-grid, .tour-grid, .links-row, .story, .plan-form { grid-template-columns: 1fr; }
  .g6 { grid-template-columns: repeat(2, 1fr); }
  .feature { padding: 18px 10px 16px; } .feature .ico { width: 44px; height: 44px; } .feature h3 { font-size: 16px; }
  .dest-grid { grid-template-columns: 1fr 1fr; } .dest { height: 160px; }
  .food-item { grid-template-columns: 100px 1fr 0; gap: 12px; } .food-item .arrow-btn { display: none; }
  .food-item h3 { font-size: 16px; } .food-item .loc .tag { display: none; }
  .finder { grid-template-columns: repeat(3, 1fr); }
  .fx { grid-template-columns: 1fr; } .swap { justify-self: center; transform: rotate(90deg); }
  .pack-wrap { grid-template-columns: 1fr; } .pack-deco { display: none; }
  .pack li { grid-template-columns: 26px 70px 1fr 20px; }
  .tl li { grid-template-columns: 54px 28px 1fr; } .tl .ph { display: none; }
  .add-item { grid-template-columns: 1fr 1fr; }
  .contact .num { font-size: 22px; } .contact .num.sm { font-size: 19px; }
  .contact { padding: 18px; gap: 14px; } .contact .big { width: 58px; height: 58px; } .contact .flag { width: 48px; height: 34px; }
  .topic { grid-template-columns: 90px 1fr 26px; }
  .dial-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-script { display: none; }
  .phrase { grid-template-columns: 1fr 40px; } .phrase .zh { grid-column: 1 / -1; font-size: 13px; color: var(--ink-2); }
  .modal-inner { padding: 20px; }
}

/* ---------- Print：只印求助卡 ---------- */
@media print {
  body.printing > *:not(.modal-bg) { display: none !important; }
  body.printing .modal-bg { position: static; background: none; padding: 0; }
  body.printing .modal { box-shadow: none; max-height: none; width: 100%; }
  body.printing .x, body.printing .no-print { display: none !important; }
}
#catChips { gap: 8px; } #catChips .chip { padding: 7px 13px; }

button.card { display: flex; justify-content: flex-start; }
button.tool-entry, button.sit { flex-direction: column; }
button.tool-entry { align-items: center; }
button.link-card { align-items: flex-start; }
.grid > *, .guides-layout > *, .food-layout > *, .my-plan > *, .plan-board > *, .tools-main > *, .split > * { min-width: 0; }
@media (max-width: 560px) {
  .search-box .btn { padding: 11px 14px; }
  .search-box .btn-txt { display: none; }
  .search-box label { padding: 0 10px; }
  .feature .arrow-btn { display: none; }
  .hero h1 { letter-spacing: 1px; }
}
@media (max-width: 560px) {
  #featuredGrid .photo-card { flex-direction: column !important; }
  #featuredGrid .photo-card > div:first-child { width: 100% !important; height: 160px; }
  .hero .lead[style*="margin-left"] { margin-left: 0 !important; }
}

/* ---------- SEO / 無障礙 ---------- */
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 12px; }
.h3 { font-size: 18px; font-weight: 800; }
.article-card h2 a:hover { color: var(--red); }
.article-card .thumb, .topic img { display: block; position: relative; overflow: hidden; background: linear-gradient(135deg, #F6C9A0, #D98F6A 55%, #8C6A5C); }
.article-card .thumb { height: 180px; }
.article-card .thumb img, .topic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.article-card:hover .thumb img { transform: scale(1.04); }
.topic { text-decoration: none; }
.topic img { height: 96px; }
.aside-title { font-size: 19px; font-weight: 800; }
.guides-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 90px; }
.guides-aside .subscribe { margin-top: 0; }
.pager { display: flex; gap: 8px; justify-content: center; margin: 26px 0 0; flex-wrap: wrap; }
.hero .crumb { margin: 0 0 10px; }

/* ---------- 文章頁 ---------- */
.article-head { padding-top: 34px; padding-bottom: 10px; }
.article-head h1, .article-lead { max-width: 900px; }
.article-head .crumb { margin: 0 0 14px; }
.article-head h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; line-height: 1.35; margin: 10px 0 12px; }
.article-meta { color: var(--ink-2); font-size: 14px; }
.article-lead { font-size: 17px; color: var(--ink-2); margin-top: 14px; padding-left: 14px; border-left: 4px solid var(--red); }
.article-cover { margin: 18px auto 6px; }
.article-cover img { width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); background: #EADBCB; }
.article-cover figcaption { text-align: center; color: var(--ink-3); font-size: 13px; margin-top: 8px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; margin-top: 22px; }
.article-body { font-size: 17px; line-height: 1.95; color: #263241; }
.article-body > * + * { margin-top: 1em; }
.article-body h2 { font-size: 26px; margin-top: 1.8em; padding-bottom: 6px; border-bottom: 2px solid var(--red-soft); scroll-margin-top: 90px; }
.article-body h3 { font-size: 21px; margin-top: 1.5em; scroll-margin-top: 90px; }
.article-body h4 { font-size: 19px; margin-top: 1.4em; padding-left: 10px; border-left: 4px solid var(--red); scroll-margin-top: 90px; }
.article-body a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.article-body ul, .article-body ol { padding-left: 1.4em; }
.article-body li + li { margin-top: .35em; }
.article-body img { max-width: 100%; height: auto; border-radius: 12px; }
.article-body figure { margin: 1.4em 0; }
.article-body figcaption { text-align: center; color: var(--ink-3); font-size: 14px; margin-top: 6px; }
.article-body blockquote { margin: 1.2em 0; padding: 12px 18px; background: #FBF5F0; border-left: 4px solid var(--red); border-radius: 0 10px 10px 0; color: var(--ink-2); }
.article-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 8px 10px; }
.article-body .muted { color: var(--ink-3); font-size: 15px; }
.article-tags { margin-top: 24px; }
.share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 700; }
.toc { padding: 18px; }
.toc ol { list-style: none; margin: 10px 0 0; padding: 0; font-size: 14px; }
.toc li { padding: 5px 0; border-bottom: 1px dashed var(--line); }
.toc li.l3 { padding-left: 14px; } .toc li.l4 { padding-left: 14px; }
.toc a:hover { color: var(--red); }
@media (max-width: 1000px) {
  .article-layout { grid-template-columns: 1fr; }
  .guides-aside { position: static; }
}

/* ---------- 餐廳詳情頁（/food/<slug>） ---------- */
.rd-hero { min-height: 470px; }
.rd-hero .ph { background-size: cover; background-position: center; }
.rd-hero::before { background: linear-gradient(90deg, rgba(255,250,244,.96) 0%, rgba(255,250,244,.86) 38%, rgba(255,250,244,.15) 70%, rgba(255,250,244,0) 100%); }
.rd-hero .wrap { padding-top: 30px; padding-bottom: 150px; }
.rd-hero .crumb { margin: 0 0 18px; }
.rd-hero h1 { font-size: clamp(40px, 5.2vw, 68px); letter-spacing: 1px; max-width: 760px; }
.rd-hero .lead { max-width: 560px; font-weight: 500; font-size: 17px; color: var(--ink); }
.rd-hero .hero-script { left: auto; right: 8%; top: auto; bottom: 150px; }
.rd-city { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink-2); background: rgba(255,255,255,.75); padding: 4px 12px 4px 8px; border-radius: 999px; margin-bottom: 10px; }
.rd-city svg { width: 18px; height: 18px; }
.rd-tags { margin-top: 14px; }
.rd-tags .tag { background: rgba(255,255,255,.9); border: 1px solid #F6D9BC; }
.rd-stats { position: relative; z-index: 5; margin-top: -110px; }
.rd-stat { display: flex; gap: 14px; align-items: flex-start; padding: 20px 18px; }
.rd-stat .ico { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; background: #FFF6EE; display: grid; place-items: center; }
.rd-stat .ico svg { width: 28px; height: 28px; }
.rd-stat div { display: flex; flex-direction: column; min-width: 0; }
.rd-stat small { color: var(--ink-3); font-size: 12.5px; font-weight: 700; }
.rd-stat b { font-size: 19px; font-weight: 800; line-height: 1.35; margin: 2px 0; }
.rd-stat b.addr { font-size: 14.5px; line-height: 1.5; }
.rd-stat span, .rd-stat a { font-size: 12.5px; color: var(--ink-2); }
.rd-stat a { color: var(--red); font-weight: 700; }
.rd-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 22px 0 6px; }
.rd-feat { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.rd-feat .chip { cursor: default; }
.rd-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; align-items: start; margin-top: 18px; }
.rd-layout > * { min-width: 0; }
.rd-main { display: flex; flex-direction: column; gap: 26px; }
.rd-card { padding: 24px 28px; }
.rd-card .sec-head, .rd-mapcard .sec-head, .rd-links .sec-head { margin-bottom: 12px; }
.rd-main .sec-head h2, .rd-side .sec-head h2, .rd-layout ~ .section .sec-head h2 { font-size: 22px; }
.rd-main .sec-head h2 svg, .rd-side .sec-head h2 svg, .section .sec-head h2 svg { width: 28px; height: 28px; }
.rd-card p { font-size: 16.5px; line-height: 1.95; color: #263241; }
.rd-card p + p { margin-top: .9em; }
.rd-sec .sec-head { margin-bottom: 14px; }
.rd-dishes { list-style: none; margin: 0; padding: 0; counter-reset: dish; }
.rd-dishes li { counter-increment: dish; padding: 20px 18px 18px; position: relative; }
.rd-dishes .n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--red-soft); color: var(--red); font-weight: 800; margin-bottom: 10px; }
.rd-dishes .n::before { content: counter(dish, decimal-leading-zero); font-size: 14px; }
.rd-dishes h3 { font-size: 16.5px; font-weight: 800; line-height: 1.4; }
.rd-dishes p { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
.rd-notice { display: grid; grid-template-columns: auto 1px 1fr; gap: 22px; align-items: center; background: var(--red-soft); border-radius: var(--radius); padding: 20px 26px; }
.rd-notice .ttl { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; color: var(--red); white-space: nowrap; }
.rd-notice .ex { width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 24px; }
.rd-notice .sep { width: 1px; height: 80%; background: rgba(232,57,46,.3); }
.rd-notice ul { margin: 0; padding-left: 18px; font-size: 15px; line-height: 1.9; }
.rd-notice li::marker { color: var(--red); }
.rd-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 90px; }
.rd-mapcard { padding: 18px; }
.rest-map { height: 250px; border-radius: 12px; overflow: hidden; background: #E8EEF2; position: relative; z-index: 0; margin-bottom: 8px; }
.rd-links { padding: 18px 18px 10px; }
.rd-links .mini { padding: 10px 4px; border-top: 1px solid var(--line); gap: 10px; }
.rd-links .mini b { display: block; font-size: 15px; } .rd-links .mini small { color: var(--ink-2); font-size: 12.5px; }
.rd-links .mini:hover b { color: var(--red); }
.rd-hand { text-align: center; font-size: 22px; align-self: center; }
.rd-near img { width: 100%; height: 140px; object-fit: cover; display: block; background: linear-gradient(135deg, #A7D8D0, #3E8E8A 60%, #2A5A66); }
.food-item h3 a:hover { color: var(--red); }
@media (max-width: 1100px) { .rd-stats.g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .rd-layout { grid-template-columns: 1fr; }
  .rd-side { position: static; }
  .rd-hero::before { background: linear-gradient(180deg, rgba(255,250,244,.92), rgba(255,250,244,.7)); }
  .rd-stats { margin-top: -90px; }
  .rd-feat { margin-left: 0; }
  .rd-notice { grid-template-columns: 1fr; } .rd-notice .sep { display: none; }
  .rd-dishes.g3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .rd-stats.g4 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rd-stat { padding: 14px 12px; gap: 10px; flex-direction: column; }
  .rd-stat:last-child { grid-column: 1 / -1; flex-direction: row; }
  .rd-stat .ico { width: 38px; height: 38px; } .rd-stat b { font-size: 16px; }
  .rd-hero h1 { font-size: 38px; }
  .rd-hero .wrap { padding-bottom: 120px; }
}

/* ---------- 行程規劃：常用行程與地圖模式 ---------- */
.tour-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.tour-chips:empty { display: none; }
.hot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.hot-item { display: flex; align-items: center; gap: 12px; justify-content: space-between; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; }
.hot-item b { font-size: 16px; }
.badge-inline { display: inline-block; font-size: 11.5px; font-weight: 700; color: #fff; background: var(--red); border-radius: 999px; padding: 1px 9px; vertical-align: 2px; }
.badge-inline.sea { background: var(--orange); } .badge-inline.classic { background: #E9672B; }
.plan-tools { margin-left: auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.start-date { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.start-date .input { width: auto; padding: 7px 10px; }
.view-toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; box-shadow: var(--shadow); }
.view-toggle button { padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--ink-2); transition: .2s; }
.view-toggle button.active { background: var(--red); color: #fff; box-shadow: 0 4px 10px rgba(232, 57, 46, .3); }
.map-mode { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 18px; align-items: start; }
.mm-list { padding: 16px; max-height: 640px; overflow: auto; }
.mm-days { gap: 6px; margin-bottom: 10px; position: sticky; top: -16px; background: #fff; padding: 6px 0 8px; z-index: 2; }
.mm-days .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 2px; }
.mm-days .chip.active .dot { background: #fff !important; }
.mm-day + .mm-day { margin-top: 14px; }
.mm-day h3 { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 15.5px; padding: 8px 0 6px; border-bottom: 2px solid var(--c); }
.mm-day h3 small { color: var(--ink-2); font-weight: 500; font-size: 13px; }
.mm-daytag { background: var(--c); color: #fff; border-radius: 6px; padding: 1px 8px; font-size: 13px; }
.mm-item { width: 100%; display: grid; grid-template-columns: 26px 48px 1fr; gap: 8px; align-items: center; text-align: left; padding: 8px 6px; border-radius: 10px; border-bottom: 1px dashed var(--line); transition: background .15s; }
.mm-item:hover { background: #FFF6F0; }
.mm-item.picking { background: #FFF2E2; outline: 2px solid var(--orange); }
.mm-num { width: 24px; height: 24px; border-radius: 50%; color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.mm-item.nopos .mm-num { background: #B9BEC5 !important; }
.mm-time { font-weight: 800; font-size: 14px; color: var(--ink); }
.mm-txt b { display: block; font-size: 14.5px; line-height: 1.35; }
.mm-txt small { color: var(--ink-2); font-size: 12.5px; }
.mm-txt em { color: var(--orange); font-style: normal; font-weight: 700; }
.mm-mapwrap { padding: 10px; position: relative; }
.plan-map { height: 600px; border-radius: 12px; overflow: hidden; background: #E8EEF2; position: relative; z-index: 0; }
.mm-legend { display: flex; flex-wrap: wrap; gap: 12px; padding: 10px 4px 2px; font-size: 13px; color: var(--ink-2); }
.mm-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.mm-pick { position: absolute; z-index: 600; left: 22px; right: 22px; top: 22px; background: #FFF2E2; color: #8A4B10; font-weight: 700; padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pm-pin { color: #fff; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 3px 8px; border: 2px solid #fff; box-shadow: 0 3px 8px rgba(0,0,0,.3); text-align: center; white-space: nowrap; position: relative; }
.pm-pin::after { content: ''; position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--c, #E8392E); }
.pm-pop { font-family: var(--font); min-width: 180px; line-height: 1.5; }
.pm-pop .pm-time { font-weight: 800; margin-top: 4px; } .pm-pop .pm-title { font-size: 15px; font-weight: 800; }
.pm-pop .pm-place, .pm-pop .pm-note { color: var(--ink-2); font-size: 12.5px; }
.pm-pop a { display: inline-block; margin-top: 6px; color: var(--red); font-weight: 700; }
@media (max-width: 1000px) {
  .map-mode { grid-template-columns: 1fr; }
  .mm-mapwrap { order: -1; }
  .plan-map { height: 420px; }
  .mm-list { max-height: none; }
  .plan-tools { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) { .hot-list { grid-template-columns: 1fr; } .hot-item { flex-direction: column; align-items: flex-start; } .plan-map { height: 340px; } }
.mm-leg { font-size: 12px; color: var(--ink-3); padding: 2px 0 2px 40px; position: relative; }
.mm-leg::before { content: ''; position: absolute; left: 18px; top: -4px; bottom: -4px; border-left: 2px dotted #D5D0CB; }
.mm-leg.far, .tl-leg.far { color: var(--red); font-weight: 700; }
.tl-leg { display: block; color: var(--ink-3); font-size: 11.5px; margin-top: 2px; }
