@import "tailwindcss";

:root {
  --ink: #16352f;
  --ink-soft: #35564e;
  --sea: #0d8075;
  --sea-dark: #07665e;
  --sea-pale: #dff3ed;
  --sand: #f7f0e4;
  --coral: #e66a4f;
  --yellow: #f2c96b;
  --paper: #fffdfa;
  --line: #dfe6df;
  --muted: #6d7c77;
  --shadow: 0 20px 54px rgba(21, 53, 47, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #f7f9f6;
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid rgba(13, 128, 117, 0.32);
  outline-offset: 2px;
}

.site-header {
  height: 74px;
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  background: rgba(255, 253, 250, 0.94);
  border-bottom: 1px solid rgba(22, 53, 47, 0.09);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 12px; width: max-content; padding: 0; border: 0; background: none; color: inherit; text-decoration: none; cursor: pointer; }
.brand-mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: white; font-size: 12px; font-weight: 800; letter-spacing: .08em;
}
.brand strong, .brand small { display: block; }
.brand strong { font-family: Georgia, "Songti SC", serif; font-size: 17px; line-height: 1.1; }
.brand small { color: var(--muted); font-size: 11px; margin-top: 3px; letter-spacing: .06em; }
.site-header nav { display: flex; align-self: stretch; }
.site-header nav button {
  position: relative; border: 0; background: none; padding: 0 20px; color: var(--muted); font-weight: 650; cursor: pointer;
}
.site-header nav button::after {
  content: ""; position: absolute; left: 20px; right: 20px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--sea); transform: scaleX(0); transition: .2s;
}
.site-header nav button.active { color: var(--ink); }
.site-header nav button.active::after { transform: scaleX(1); }
.site-header nav span { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 5px; padding: 0 5px; border-radius: 999px; background: var(--coral); color: white; font-size: 10px; }
.print-button { justify-self: end; border: 1px solid var(--line); background: white; padding: 9px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; cursor: pointer; }

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 52px;
  min-height: 340px;
  padding: 64px max(24px, calc((100vw - 1240px) / 2)) 72px;
  background: var(--ink);
  color: white;
}
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 340px; height: 340px; right: -90px; top: -180px; border: 60px solid rgba(242, 201, 107, .11); }
.hero::after { width: 180px; height: 180px; left: 48%; bottom: -130px; background: rgba(13, 128, 117, .25); }
.hero-copy, .hero-route, .notice { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 12px; color: var(--sea); font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.hero .eyebrow { color: #7bd3c4; }
.hero h1 { margin: 0; font-family: Georgia, "Songti SC", "STSong", serif; font-size: clamp(42px, 6vw, 76px); font-weight: 500; line-height: .98; letter-spacing: -.035em; }
.hero-range { margin: 20px 0 8px; color: var(--yellow); font-family: Georgia, serif; font-size: 22px; letter-spacing: .07em; }
.hero-party { margin: 0; color: rgba(255,255,255,.66); font-size: 14px; }
.hero-route { display: flex; align-items: center; align-self: center; justify-content: center; gap: 12px; }
.hero-route div { display: grid; place-items: center; width: 88px; height: 88px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(255,255,255,.04); }
.hero-route b { font-family: Georgia, serif; font-size: 22px; font-weight: 500; }
.hero-route span { color: rgba(255,255,255,.58); font-size: 11px; margin-top: -12px; }
.hero-route i { width: 32px; height: 1px; background: rgba(255,255,255,.25); position: relative; }
.hero-route i::after { content: ""; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; border-top: 1px solid rgba(255,255,255,.5); border-right: 1px solid rgba(255,255,255,.5); transform: rotate(45deg); }
.notice { position: absolute; left: max(24px, calc((100vw - 1240px) / 2)); bottom: 20px; color: rgba(255,255,255,.55); font-size: 11px; }
.notice span { margin-right: 10px; padding: 4px 8px; border: 1px solid rgba(242,201,107,.5); border-radius: 999px; color: var(--yellow); font-weight: 750; }

.page-shell { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 64px 0 96px; }
.summary-grid { display: block; }
.summary-main, .flight-card, .confirmed-section, .days-section, .safety-strip, .day-detail, .pending-list {
  background: var(--paper); border: 1px solid var(--line); border-radius: 24px;
}
.summary-main { padding: 34px; }
.section-heading { display: flex; justify-content: space-between; gap: 48px; align-items: flex-end; }
.section-heading h2 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: 30px; font-weight: 500; letter-spacing: -.025em; }
.section-heading > p { width: 48%; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.section-heading.compact { align-items: center; }
.phase-track { display: flex; gap: 5px; margin-top: 42px; }
.phase { flex: 1 1 0; min-width: 62px; padding: 18px 16px; border-radius: 14px; }
.phase[data-days="2"] { flex-grow: 2; }
.phase[data-days="3"] { flex-grow: 3; }
.phase[data-days="4"] { flex-grow: 4; }
.phase[data-days="5"] { flex-grow: 5; }
.phase[data-days="6"] { flex-grow: 6; }
.phase[data-days="7"] { flex-grow: 7; }
.phase[data-days="8"] { flex-grow: 8; }
.phase[data-days="9"] { flex-grow: 9; }
.phase[data-days="10"] { flex-grow: 10; }
.phase b, .phase span { display: block; }
.phase b { font-family: Georgia, serif; font-size: 21px; font-weight: 500; }
.phase span { margin-top: 5px; font-size: 11px; font-weight: 750; }
.phase-flight { background: #eaf2f0; }
.phase-island { background: var(--sea-pale); color: var(--sea-dark); }
.phase-city { background: #f5ead7; color: #75582d; }
.phase-return { background: #f7e5e0; color: #9c4332; }
.flight-card { padding: 28px; background: var(--ink); border-color: var(--ink); color: white; }
.flight-card .eyebrow { color: #7bd3c4; }
.flight-row { display: grid; grid-template-columns: 48px 70px 1fr; gap: 10px; align-items: start; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); }
.flight-row > span { color: rgba(255,255,255,.5); font-size: 11px; padding-top: 5px; }
.flight-row strong { font-family: Georgia, serif; color: var(--yellow); font-size: 20px; font-weight: 500; }
.flight-row p { margin: 2px 0 0; font-size: 13px; line-height: 1.35; }
.flight-row small { color: rgba(255,255,255,.5); font-size: 10px; }

.confirmed-section, .days-section { margin-top: 20px; padding: 34px; }
.confirmed-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 30px; }
.confirmed-grid article { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 0 18px; border-left: 1px solid var(--line); }
.confirmed-grid article:first-child { padding-left: 0; border-left: 0; }
.confirmed-grid article > span { color: var(--coral); font-family: Georgia, serif; font-size: 13px; }
.confirmed-grid b { display: block; margin-bottom: 8px; font-size: 13px; }
.confirmed-grid p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.text-button { border: 0; background: none; color: var(--sea); font-size: 12px; font-weight: 750; cursor: pointer; }
.day-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 30px; }
.day-card { position: relative; display: grid; grid-template-columns: 80px 1fr auto; gap: 4px 18px; min-height: 190px; padding: 24px; text-align: left; border: 1px solid var(--line); border-radius: 18px; background: white; cursor: pointer; transition: transform .2s, border-color .2s, box-shadow .2s; }
.day-card:hover { transform: translateY(-3px); border-color: rgba(13,128,117,.35); box-shadow: 0 15px 30px rgba(21,53,47,.08); }
.day-date { grid-row: 1 / 5; padding-right: 18px; border-right: 1px solid var(--line); }
.day-date strong, .day-date span { display: block; }
.day-date strong { font-family: Georgia, serif; font-size: 24px; font-weight: 500; }
.day-date span { margin-top: 4px; color: var(--muted); font-size: 11px; }
.day-card > .status { justify-self: end; grid-column: 3; }
.day-card > small { grid-column: 2; color: var(--sea); font-size: 10px; font-weight: 700; }
.day-card h3 { grid-column: 2 / 4; margin: 5px 0 4px; font-family: Georgia, "Songti SC", serif; font-size: 18px; font-weight: 600; }
.day-card > p { grid-column: 2 / 4; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.day-card-foot { grid-column: 2 / 4; align-self: end; display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.day-card-foot b { color: var(--ink); }
.status { display: inline-flex; align-items: center; justify-content: center; width: max-content; padding: 5px 9px; border-radius: 999px; font-size: 9px; font-weight: 800; white-space: nowrap; }
.status-已确定 { background: #dceee6; color: #356c58; }
.status-方向已定 { background: var(--sea-pale); color: var(--sea-dark); }
.status-待确认 { background: #faebc9; color: #8b6517; }
.status-待打磨 { background: #f4e3dd; color: #9d4938; }
.safety-strip { display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr 1.3fr; align-items: center; gap: 18px; margin-top: 20px; padding: 28px 34px; background: var(--sea-pale); border-color: rgba(13,128,117,.2); }
.safety-strip span, .safety-strip b { display: block; }
.safety-strip span { color: var(--muted); font-size: 10px; }
.safety-strip b { margin-top: 5px; font-family: Georgia, serif; font-size: 17px; font-weight: 500; }
.safety-strip > i { height: 1px; background: rgba(13,128,117,.24); }
.safety-strip .safety-result b { color: var(--sea-dark); }
.safety-strip > p { margin: 0; padding-left: 24px; border-left: 1px solid rgba(13,128,117,.2); color: var(--muted); font-size: 10px; line-height: 1.6; }

.detail-page { display: grid; grid-template-columns: 116px 1fr; gap: 20px; align-items: start; }
.date-rail { position: sticky; top: 98px; display: grid; gap: 7px; }
.date-rail button { display: grid; grid-template-columns: 28px 1fr; grid-template-rows: 1fr 1fr; gap: 0 10px; align-items: center; min-height: 58px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 13px; background: white; cursor: pointer; }
.date-rail button:hover { border-color: rgba(13,128,117,.4); }
.date-rail button.active { background: var(--ink); border-color: var(--ink); color: white; }
.date-rail span { grid-row: 1 / 3; color: var(--muted); font-size: 9px; writing-mode: vertical-rl; }
.date-rail .active span, .date-rail .active small { color: rgba(255,255,255,.55); }
.date-rail b { font-family: Georgia, serif; font-size: 20px; font-weight: 500; }
.date-rail small { color: var(--muted); font-size: 8px; }
.day-detail { padding: 44px; }
.day-detail-heading { display: flex; justify-content: space-between; gap: 40px; align-items: flex-start; }
.detail-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--muted); font-size: 12px; }
.day-detail-heading h2 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(32px, 4vw, 50px); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; }
.detail-summary { max-width: 760px; margin: 20px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.info-cards { display: grid; grid-template-columns: .8fr 1.1fr 1.1fr; gap: 10px; margin-top: 36px; }
.info-cards article { min-height: 120px; padding: 20px; border-radius: 15px; background: #f4f7f3; }
.info-cards article:nth-child(2) { background: var(--sea-pale); }
.info-cards article:nth-child(3) { background: var(--sand); }
.info-cards span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.info-cards p { margin: 10px 0 0; font-size: 11px; line-height: 1.65; }
.activity-guide { margin-top: 42px; }
.activity-guide-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 18px; }
.activity-guide-heading h3 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: 26px; font-weight: 500; }
.activity-guide-heading > p { max-width: 420px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; text-align: right; }
.activity-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.activity-card { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, #fff 0%, #f8fbf8 100%); }
.activity-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.activity-track { color: var(--sea); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.activity-card h4 { margin: 14px 0 8px; font-family: Georgia, "Songti SC", serif; font-size: 17px; line-height: 1.35; }
.activity-card > p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.activity-card dl { display: grid; grid-template-columns: 62px 1fr; gap: 7px 10px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.activity-card dt { color: var(--muted); font-size: 9px; font-weight: 750; }
.activity-card dd { margin: 0; font-size: 10px; line-height: 1.55; }
.timeline-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin: 52px 0 30px; }
.timeline-heading h3 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: 26px; font-weight: 500; }
.track-switch { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: #edf1ed; }
.track-switch button { border: 0; border-radius: 999px; padding: 8px 13px; background: transparent; color: var(--muted); font-size: 10px; font-weight: 750; cursor: pointer; }
.track-switch button.active { background: white; color: var(--ink); box-shadow: 0 2px 7px rgba(21,53,47,.12); }
.timeline-list { max-width: 880px; }
.timeline-item { position: relative; display: grid; grid-template-columns: 105px 24px 1fr; min-height: 92px; }
.timeline-item time { padding-top: 4px; color: var(--muted); font-family: Georgia, serif; font-size: 13px; }
.timeline-dot { position: relative; display: grid; justify-items: center; }
.timeline-dot i { position: relative; z-index: 2; width: 10px; height: 10px; margin-top: 7px; border: 3px solid white; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.track-潜水组 .timeline-dot i { background: var(--sea); box-shadow: 0 0 0 1px var(--sea); }
.track-非潜水组 .timeline-dot i { background: var(--coral); box-shadow: 0 0 0 1px var(--coral); }
.timeline-line { position: absolute; left: 116px; top: 18px; bottom: -7px; width: 1px; background: var(--line); }
.timeline-copy { padding: 0 0 28px 14px; }
.timeline-copy > div { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.timeline-copy h4 { margin: 0; font-size: 14px; }
.timeline-copy p { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.track-label { padding: 4px 7px; border-radius: 999px; background: #edf1ed; color: var(--muted); font-size: 8px; font-weight: 750; }
.track-潜水组 .track-label { background: var(--sea-pale); color: var(--sea-dark); }
.track-非潜水组 .track-label { background: #f7e5e0; color: #9c4332; }
.day-note { margin-top: 12px; padding: 22px; border-left: 3px solid var(--yellow); border-radius: 0 12px 12px 0; background: #fff9eb; }
.day-note span { color: #8b6517; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.day-note p { margin: 8px 0 0; font-size: 11px; line-height: 1.65; }
.day-navigation { display: flex; justify-content: space-between; align-items: center; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.day-navigation button { border: 0; background: none; color: var(--sea); font-size: 11px; font-weight: 750; cursor: pointer; }
.day-navigation button:disabled { color: #bbc6c1; cursor: default; }
.day-navigation span { color: var(--muted); font-size: 10px; }

.pending-heading { align-items: flex-start; margin-bottom: 26px; }
.pending-list { overflow: hidden; }
.pending-list article { display: grid; grid-template-columns: 48px 1fr auto; gap: 22px; padding: 27px 32px; border-top: 1px solid var(--line); }
.pending-list article:first-child { border-top: 0; }
.pending-list article > span { color: var(--coral); font-family: Georgia, serif; font-size: 18px; }
.pending-list h3 { margin: 3px 0 8px; font-family: Georgia, "Songti SC", serif; font-size: 18px; font-weight: 600; }
.pending-list p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.pending-list .pending-category { color: var(--sea); font-size: 9px; font-weight: 800; letter-spacing: .08em; }

.map-page { padding-top: 48px; }
.map-intro { display: flex; justify-content: space-between; align-items: end; gap: 56px; margin-bottom: 24px; }
.map-intro h2 { max-width: 760px; margin: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(30px, 4vw, 48px); font-weight: 500; line-height: 1.12; letter-spacing: -.03em; }
.map-intro > p { width: min(420px, 38%); margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.resort-map { overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); }
.resort-map img { display: block; width: 100%; height: auto; aspect-ratio: 1160 / 760; object-fit: contain; background: #f7f4ed; }
.resort-map figcaption { padding: 14px 20px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.6; }
.map-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.map-notes article { min-height: 170px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.map-notes article:nth-child(2) { background: var(--sea-pale); }
.map-notes article:nth-child(3) { background: var(--sand); }
.map-notes span { color: var(--sea); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.map-notes h3 { margin: 14px 0 10px; font-family: Georgia, "Songti SC", serif; font-size: 18px; font-weight: 600; }
.map-notes p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }

.map-loading, .map-load-error { margin: 0; padding: 48px 24px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); color: var(--muted); text-align: center; }
.interactive-map { overflow: hidden; border: 1px solid rgba(23, 63, 57, .16); border-radius: 24px; background: #f7fbf8; box-shadow: var(--shadow); }
.map-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 15px; border-bottom: 1px solid rgba(23, 63, 57, .13); background: rgba(255, 253, 250, .96); }
.map-mode-switch, .map-zoom-controls { display: flex; align-items: center; gap: 5px; }
.map-mode-switch { padding: 4px; border-radius: 999px; background: #e7efea; }
.map-mode-switch button, .map-zoom-controls button { border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 750; cursor: pointer; }
.map-mode-switch button { padding: 9px 15px; }
.map-mode-switch button.active { background: var(--ink); color: white; box-shadow: 0 4px 12px rgba(22, 53, 47, .16); }
.map-zoom-controls button { min-width: 34px; height: 34px; padding: 0 10px; background: white; border: 1px solid var(--line); color: var(--ink); }
.map-zoom-controls button:disabled { opacity: .38; cursor: default; }
.map-zoom-controls span { min-width: 110px; color: var(--muted); font-size: 10px; text-align: center; font-variant-numeric: tabular-nums; }
.map-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; background: #1b6e8d; }
.map-stage.has-detail { grid-template-columns: minmax(0, 1fr) minmax(320px, 390px); }
.map-surface { position: relative; overflow: hidden; width: 100%; aspect-ratio: 1000 / 660; min-height: 430px; background: #1b6e8d; cursor: grab; touch-action: none; user-select: none; }
.map-surface:active { cursor: grabbing; }
.map-surface > svg { display: block; width: 100%; height: 100%; }
.map-surface path { vector-effect: non-scaling-stroke; }
.map-resort-land { fill: #87a96f; stroke: #2f6f4b; stroke-width: 1.2; }
.map-forest { fill: #2f6f4b; stroke: #23583b; stroke-width: 1; }
.map-beach-shape { fill: #f0d5a1; stroke: #d7b871; stroke-width: 2; }
.map-road-line { fill: none; stroke: #c9b28c; stroke-width: 2.2; stroke-linecap: round; opacity: .92; }
.map-building-wall { fill: #874634; stroke: #6f392d; stroke-width: 1; }
.map-building-roof { fill: #b85f47; stroke: #7d3e31; stroke-width: 1.2; }
.map-pool-shape { fill: #35b5cc; stroke: #177e98; stroke-width: 2; }
.map-island-halo { fill: none; stroke: #99e2d0; stroke-width: 38; opacity: .72; }
.map-island-land { fill: url(#forest-gradient); stroke: #214f36; stroke-width: 1.8; }
.map-route-family, .map-route-padi, .map-boat-route { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.map-route-family { stroke: #0b776c; stroke-width: 4; stroke-dasharray: 9 6; }
.map-route-padi { stroke: #e26f50; stroke-width: 4; }
.map-boat-route { stroke: rgba(255,255,255,.76); stroke-width: 2.3; stroke-dasharray: 7 6; }
.map-route-snorkel { stroke: #f7f2d4; }
.map-route-eco { stroke: #d5f0c8; }
.map-route-boat { stroke: #ffe0a5; }
.map-route-transport { stroke: #d8ecff; }
.map-marker { --marker-color: #173f39; cursor: pointer; outline: none; }
.map-marker > g > circle:first-child { fill: rgba(255, 253, 250, .96); stroke: var(--marker-color); stroke-width: 3; }
.map-marker-symbol { fill: none; stroke: var(--marker-color); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.map-marker-symbol .solid { fill: var(--marker-color); stroke: none; }
.map-marker text { fill: #173f39; stroke: rgba(255,253,250,.94); stroke-width: 5px; paint-order: stroke fill; font-size: 13px; font-weight: 800; letter-spacing: .01em; }
.map-area-label { pointer-events: none; opacity: .88; }
.map-area-label text { font-family: Georgia, "Songti SC", serif; font-size: 15px; font-weight: 800; letter-spacing: .08em; paint-order: stroke fill; stroke-width: 5px; }
.map-area-label.area-forest text { fill: #fff7df; stroke: rgba(35, 88, 59, .76); }
.map-area-label.area-land text { fill: #214f36; stroke: rgba(237, 242, 229, .86); }
.map-area-label.area-sand text { fill: #795c26; stroke: rgba(255, 245, 220, .9); }
.map-area-label.area-sea text { fill: #f7fdff; stroke: rgba(27, 110, 141, .72); }
.map-marker.selected > g > circle:first-child { stroke-width: 5; filter: drop-shadow(0 4px 5px rgba(14, 53, 47, .35)); }
.map-marker:focus-visible > g > circle:first-child { stroke: #fff; stroke-width: 6; }
.map-marker.marker-stay { --marker-color: #0d8075; }
.map-marker.marker-service { --marker-color: #173f39; }
.map-marker.marker-dive { --marker-color: #e26f50; }
.map-marker.marker-transport { --marker-color: #386ca4; }
.map-marker.marker-leisure, .map-marker.marker-beach { --marker-color: #c88b2b; }
.map-marker.marker-food { --marker-color: #b85f47; }
.map-marker.marker-trail, .map-marker.marker-eco { --marker-color: #2f6f4b; }
.map-marker.marker-snorkel { --marker-color: #228ca1; }
.map-marker.marker-boat { --marker-color: #8f6126; }
.map-north, .map-scale, .map-legend, .map-gesture-tip { position: absolute; z-index: 4; background: rgba(255, 253, 250, .9); color: #173f39; backdrop-filter: blur(8px); pointer-events: none; }
.map-north { top: 14px; right: 14px; display: grid; place-items: center; width: 42px; height: 54px; border-radius: 14px; }
.map-north span { font-family: Georgia, serif; font-size: 13px; font-weight: 700; }
.map-north i { width: 0; height: 0; margin-top: 3px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 15px solid #173f39; }
.map-scale { left: 14px; bottom: 47px; padding: 8px 10px 7px; border-radius: 10px; font-size: 9px; }
.map-scale i { display: block; width: 68px; height: 7px; margin-bottom: 4px; border: solid #173f39; border-width: 0 2px 2px; }
.map-legend { left: 14px; top: 14px; display: flex; gap: 13px; flex-wrap: wrap; padding: 8px 10px; border-radius: 10px; font-size: 8px; }
.map-legend span { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.map-legend i { display: inline-block; }
.legend-category { width: 11px; height: 11px; border: 2px solid white; border-radius: 50%; background: conic-gradient(#0d8075 0 25%, #e26f50 0 50%, #386ca4 0 75%, #c88b2b 0); box-shadow: 0 0 0 1px #173f39; }
.legend-route { width: 20px; border-top: 2px dashed #386ca4; }
.map-gesture-tip { left: 14px; bottom: 13px; margin: 0; padding: 7px 9px; border-radius: 9px; font-size: 8px; }
.map-detail { position: relative; z-index: 6; overflow-y: auto; min-width: 0; max-height: 660px; border-left: 1px solid rgba(23, 63, 57, .13); background: #fffdfa; color: var(--ink); }
.map-detail-topbar { display: flex; align-items: center; justify-content: space-between; padding: 13px 14px 9px; }
.map-category { display: inline-flex; padding: 5px 8px; border-radius: 999px; background: var(--sea-pale); color: var(--sea-dark); font-size: 9px; font-weight: 800; }
.map-detail-close { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.map-photo { position: relative; margin: 0 14px; overflow: hidden; border-radius: 15px; background: #e7efea; }
.map-photo picture, .map-photo img { display: block; width: 100%; }
.map-photo img { aspect-ratio: 16 / 10; object-fit: cover; }
.map-photo > a { display: block; padding: 8px 10px; color: var(--muted); background: rgba(255,253,250,.94); font-size: 8px; text-decoration: none; }
.map-photo-controls { position: absolute; left: 9px; right: 9px; top: 9px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.map-photo-controls button { pointer-events: auto; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(23,63,57,.82); color: white; cursor: pointer; }
.map-photo-controls span { padding: 4px 7px; border-radius: 999px; background: rgba(23,63,57,.76); color: white; font-size: 8px; }
.map-photo-empty { display: grid; place-items: center; min-height: 190px; padding: 28px; text-align: center; background: linear-gradient(145deg, #dce9e2, #f4e7d0); }
.map-photo-empty span { font-family: Georgia, "Songti SC", serif; font-size: 18px; }
.map-photo-empty p { max-width: 250px; margin: 9px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.map-detail-copy { padding: 21px 20px 24px; }
.map-accuracy { width: max-content; margin: 0 0 9px; padding: 4px 7px; border: 1px solid #b5c7bd; border-radius: 999px; background: #eef4f0; color: #31594e; font-size: 8px; font-weight: 800; }
.map-detail-copy h3 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: 24px; font-weight: 600; line-height: 1.2; }
.map-detail-copy > p:not(.map-accuracy) { margin: 12px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.map-detail-copy dl { display: grid; gap: 10px; margin: 17px 0 0; padding: 15px 0; border-block: 1px solid var(--line); }
.map-detail-copy dl div { display: grid; grid-template-columns: 60px 1fr; gap: 10px; }
.map-detail-copy dt { color: var(--muted); font-size: 9px; font-weight: 750; }
.map-detail-copy dd { margin: 0; font-size: 10px; line-height: 1.5; }
.map-source-link { display: inline-block; margin-top: 13px; color: var(--sea-dark); font-size: 9px; font-weight: 750; text-decoration: none; }
.map-caption { margin: 0; padding: 12px 16px 14px; border-top: 1px solid rgba(23, 63, 57, .13); background: #fffdfa; color: var(--muted); font-size: 9px; line-height: 1.6; }
.interactive-map:fullscreen, .interactive-map.fallback-fullscreen { display: flex; flex-direction: column; width: 100%; height: 100%; border-radius: 0; background: #fffdfa; }
.interactive-map:fullscreen .map-stage, .interactive-map.fallback-fullscreen .map-stage { flex: 1; min-height: 0; }
.interactive-map:fullscreen .map-surface, .interactive-map.fallback-fullscreen .map-surface { height: 100%; min-height: 0; aspect-ratio: auto; }
.interactive-map.fallback-fullscreen { position: fixed; inset: 0; z-index: 1000; }

.transport-page, .contact-page { padding-top: 48px; }
.countdown-banner { display: grid; grid-template-columns: 1fr auto; gap: 10px 32px; align-items: center; padding: 32px 36px; border-radius: 24px; background: var(--ink); color: white; box-shadow: var(--shadow); }
.countdown-banner h2 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: 30px; font-weight: 500; }
.countdown-banner > strong { color: var(--yellow); font-family: Georgia, "Songti SC", serif; font-size: clamp(28px, 4vw, 48px); font-weight: 500; }
.countdown-banner > p { grid-column: 1 / -1; margin: 4px 0 0; color: rgba(255,255,255,.58); font-size: 11px; }
.transport-section { margin-top: 20px; padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
.transport-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.transport-card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.transport-card-top { display: flex; justify-content: space-between; align-items: center; }
.transport-card-top span { color: var(--coral); font-family: Georgia, serif; font-size: 17px; }
.transport-card-top b { padding: 5px 9px; border-radius: 999px; background: #faebc9; color: #8b6517; font-size: 9px; }
.transport-kind { margin: 22px 0 7px; color: var(--sea); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.transport-card h3 { margin: 0; font-family: Georgia, serif; font-size: 23px; font-weight: 500; }
.transport-card h4 { margin: 8px 0 0; font-size: 13px; }
.transport-times { display: grid; grid-template-columns: 1fr 24px 1fr; gap: 10px; align-items: center; margin-top: 22px; padding: 18px; border-radius: 14px; background: #f4f7f3; }
.transport-times div { min-width: 0; }
.transport-times small, .transport-times strong, .transport-times span { display: block; }
.transport-times small { color: var(--muted); font-size: 8px; }
.transport-times strong { margin-top: 5px; font-family: Georgia, serif; font-size: 21px; font-weight: 500; }
.transport-times span { overflow: hidden; margin-top: 4px; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.transport-times i { color: var(--sea); font-style: normal; text-align: center; }
.transport-note { min-height: 38px; margin: 16px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.segment-countdown { margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--sea-dark); font-size: 11px; font-weight: 800; }
.contact-heading { align-items: flex-start; margin-bottom: 24px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contact-card { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.contact-card > span { color: var(--sea); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.contact-card h3 { margin: 12px 0 8px; font-family: Georgia, "Songti SC", serif; font-size: 21px; font-weight: 600; }
.contact-card > p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.contact-values { display: grid; gap: 10px; margin-top: 20px; }
.contact-values > div { padding: 15px; border-radius: 13px; background: #f4f7f3; }
.contact-values small, .contact-values b { display: block; }
.contact-values small { color: var(--muted); font-size: 8px; }
.contact-values b { overflow-wrap: anywhere; margin-top: 6px; font-size: 12px; }
.contact-values p { display: flex; gap: 8px; margin: 12px 0 0; }
.contact-values a, .contact-values button { padding: 7px 10px; border: 0; border-radius: 999px; background: var(--sea-pale); color: var(--sea-dark); font-size: 9px; font-weight: 800; text-decoration: none; cursor: pointer; }
.contact-reminder { margin-top: 16px; padding: 22px 26px; border-left: 3px solid var(--yellow); border-radius: 0 14px 14px 0; background: #fff9eb; }
.contact-reminder strong { font-size: 11px; }
.contact-reminder p { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.65; }

footer { display: flex; justify-content: space-between; gap: 20px; padding: 22px max(24px, calc((100vw - 1240px) / 2)); background: var(--ink); color: rgba(255,255,255,.58); font-size: 10px; }
footer p { margin: 0; }
footer strong { color: white; font-family: Georgia, serif; }


@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { order: 3; grid-column: 1 / -1; justify-content: center; height: 48px; background: var(--paper); margin: 0 -24px; }
  .site-header { height: 122px; padding-inline: 24px; }
  .print-button { grid-column: 2; grid-row: 1; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; }
  .hero-route { justify-content: flex-start; }
  .summary-grid { grid-template-columns: 1fr; }
  .confirmed-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .confirmed-grid article:nth-child(3) { padding-left: 0; border-left: 0; }
  .safety-strip { grid-template-columns: 1fr 24px 1fr 24px 1fr; }
  .safety-strip > p { grid-column: 1 / -1; padding: 14px 0 0; border-left: 0; border-top: 1px solid rgba(13,128,117,.2); }
  .detail-page { grid-template-columns: 1fr; }
  .date-rail { position: static; display: flex; overflow-x: auto; padding-bottom: 6px; }
  .date-rail button { flex: 0 0 88px; }
}

@media (max-width: 720px) {
  .site-header { padding-inline: 16px; }
  .site-header nav { margin-inline: -16px; overflow-x: auto; justify-content: flex-start; padding-inline: 8px; }
  .site-header nav button { white-space: nowrap; padding-inline: 15px; }
  .site-header nav button::after { left: 15px; right: 15px; }
  .print-button { display: none; }
  .brand { grid-column: 1 / -1; }
  .hero { min-height: 420px; padding: 46px 20px 78px; }
  .hero h1 { font-size: 43px; }
  .hero-route { gap: 5px; justify-content: space-between; }
  .hero-route div { width: 66px; height: 66px; }
  .hero-route b { font-size: 17px; }
  .hero-route span { font-size: 9px; margin-top: -8px; }
  .hero-route i { width: 14px; }
  .notice { left: 20px; right: 20px; bottom: 19px; line-height: 1.5; }
  .page-shell { width: min(100% - 24px, 1240px); padding: 28px 0 58px; }
  .summary-main, .flight-card, .confirmed-section, .days-section, .day-detail { border-radius: 18px; }
  .summary-main, .confirmed-section, .days-section, .day-detail { padding: 22px; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: 25px; }
  .section-heading > p { width: auto; margin-top: 14px; }
  .phase { padding: 13px 10px; }
  .phase b { font-size: 15px; }
  .phase span { font-size: 9px; }
  .confirmed-grid { grid-template-columns: 1fr; gap: 18px; }
  .confirmed-grid article, .confirmed-grid article:nth-child(3) { padding: 0; border-left: 0; }
  .day-grid { grid-template-columns: 1fr; }
  .day-card { grid-template-columns: 65px 1fr auto; padding: 18px; }
  .day-date { padding-right: 12px; }
  .day-date strong { font-size: 20px; }
  .safety-strip { grid-template-columns: 1fr; gap: 15px; padding: 22px; }
  .safety-strip > i { display: none; }
  .safety-strip div { padding-bottom: 13px; border-bottom: 1px solid rgba(13,128,117,.16); }
  .safety-strip > p { grid-column: auto; }
  .day-detail { padding: 25px 20px; }
  .day-detail-heading { display: block; }
  .day-detail-heading h2 { font-size: 33px; }
  .info-cards { grid-template-columns: 1fr; }
  .info-cards article { min-height: auto; }
  .activity-guide-heading { display: block; }
  .activity-guide-heading > p { margin-top: 10px; text-align: left; }
  .activity-guide-grid { grid-template-columns: 1fr; }
  .timeline-heading { display: block; margin-top: 38px; }
  .track-switch { margin-top: 16px; width: max-content; }
  .timeline-item { grid-template-columns: 75px 22px 1fr; }
  .timeline-line { left: 85px; }
  .timeline-item time { font-size: 10px; }
  .timeline-copy { padding-left: 10px; }
  .timeline-copy h4 { font-size: 13px; }
  .pending-heading { margin-inline: 10px; }
  .pending-list article { grid-template-columns: 34px 1fr; gap: 10px; padding: 22px 18px; }
  .pending-list article > .status { grid-column: 2; }
  .map-page { padding-top: 30px; }
  .map-intro { display: block; margin-inline: 8px; }
  .map-intro > p { width: auto; margin-top: 14px; }
  .interactive-map { border-radius: 18px; box-shadow: 0 12px 30px rgba(21, 53, 47, .08); }
  .map-toolbar { align-items: stretch; flex-direction: column; gap: 9px; padding: 11px; }
  .map-mode-switch button { flex: 1; padding-inline: 10px; }
  .map-zoom-controls { justify-content: space-between; }
  .map-zoom-controls button { min-width: 38px; }
  .map-stage.has-detail { grid-template-columns: minmax(0, 1fr); }
  .map-surface { min-height: 390px; aspect-ratio: 1 / 1; }
  .map-surface > svg { object-fit: cover; }
  .map-marker > g > circle:first-child { r: 18px; }
  .map-marker text { font-size: 16px; stroke-width: 7px; }
  .map-area-label text { font-size: 17px; stroke-width: 7px; }
  .map-detail { position: absolute; left: 8px; right: 8px; bottom: 8px; max-height: min(76%, 610px); border: 1px solid rgba(23, 63, 57, .16); border-radius: 18px; box-shadow: 0 -12px 38px rgba(21, 53, 47, .2); }
  .map-detail-topbar { position: sticky; top: 0; z-index: 2; background: rgba(255,253,250,.96); backdrop-filter: blur(10px); }
  .map-photo img { aspect-ratio: 16 / 9; }
  .map-legend { right: 66px; gap: 7px; }
  .resort-map { border-radius: 18px; box-shadow: 0 12px 30px rgba(21, 53, 47, .08); }
  .resort-map img { aspect-ratio: auto; }
  .resort-map figcaption { padding-inline: 15px; }
  .map-notes { grid-template-columns: 1fr; }
  .map-notes article { min-height: auto; padding: 20px; }
  .transport-page, .contact-page { padding-top: 30px; }
  .countdown-banner { grid-template-columns: 1fr; padding: 24px; border-radius: 18px; }
  .countdown-banner > strong { font-size: 31px; }
  .countdown-banner > p { grid-column: auto; }
  .transport-section { padding: 22px; border-radius: 18px; }
  .transport-grid, .contact-grid { grid-template-columns: 1fr; }
  .transport-card { padding: 20px; }
  .transport-times { padding: 15px; }
  .contact-heading { margin-inline: 8px; }
  .contact-card { padding: 22px; }
  footer { display: block; padding: 20px; line-height: 1.8; }
}

@media print {
  .site-header, .day-navigation, .text-button, .track-switch { display: none !important; }
  .hero { min-height: auto; padding: 35px; break-after: avoid; }
  .page-shell { width: 100%; padding: 20px 0; }
  .summary-main, .flight-card, .confirmed-section, .days-section, .safety-strip, .day-detail, .pending-list { box-shadow: none; break-inside: avoid; }
  .day-card { break-inside: avoid; }
  .resort-map, .map-notes article { box-shadow: none; break-inside: avoid; }
  footer { background: white; color: var(--muted); border-top: 1px solid var(--line); }
}
