:root {
  --bg: #f4f5f7;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-solid: #ffffff;
  --text: #0b0d12;
  --muted: #5a6170;
  --line: rgba(16, 24, 40, 0.1);
  --accent: #0a84ff;
  --accent-2: #4f46e5;
  --success: #16a34a;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
}

[data-theme="dark"] {
  --bg: #090b10;
  --surface: rgba(18, 22, 30, 0.72);
  --surface-solid: #12161e;
  --text: #f5f7ff;
  --muted: #98a0b3;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #4ea2ff;
  --accent-2: #8b7bff;
  --success: #3ddc84;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.62;
}

a { color: inherit; text-decoration: none; }

body.has-mobile-nav {
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}

.ambient {
  position: fixed;
  inset: auto;
  z-index: -1;
  filter: blur(65px);
  opacity: 0.5;
  pointer-events: none;
}
.ambient-a {
  width: 380px;
  height: 380px;
  top: -120px;
  left: -110px;
  background: radial-gradient(circle, #8ec5ff 0%, transparent 70%);
}
.ambient-b {
  width: 440px;
  height: 440px;
  right: -120px;
  bottom: -140px;
  background: radial-gradient(circle, #d6d1ff 0%, transparent 70%);
}

.wrap {
  width: min(1200px, calc(100% - 44px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 20%, transparent);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}
.site-nav a:hover { color: var(--text); }
.nav-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
[data-theme-toggle] {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}
.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.menu-btn span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 6px auto;
  background: var(--text);
}

.hero {
  padding: 84px 0 72px;
}
.hero-unified-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 30px;
}

.hero-top-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}
.eyebrow {
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 10px;
}
h1 {
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.04;
  margin: 0;
  letter-spacing: -0.035em;
  font-family: var(--font-display);
  font-weight: 700;
}
.lead {
  font-size: clamp(18px, 3vw, 23px);
  color: var(--muted);
  margin: 24px 0 30px;
  max-width: 720px;
}

.countdown {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.countdown i { color: var(--muted); font-style: normal; }
.countdown div { text-align: center; }
.countdown span {
  display: block;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.countdown small { color: var(--muted); font-size: 12px; }

.status-bar {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-top-row .status-bar {
  margin-top: 0;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 14px;
}
.status-pill.muted { color: var(--muted); }
.pulse {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--success);
  animation: pulse 1.8s infinite;
}
.pulse.flight { background: var(--accent); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.weather-card {
  margin-top: 16px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-solid) 62%, transparent);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
}

.weather-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.weather-head h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.weather-city {
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.weather-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.weather-day {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--surface);
}

.weather-day-title {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.weather-day-temp {
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.weather-alert {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.weather-alert.rain {
  color: #c2410c;
  font-weight: 700;
}

[data-theme="dark"] .weather-alert.rain {
  color: #fb923c;
}

.sticky-now {
  position: sticky;
  top: 68px;
  z-index: 18;
  margin: 10px auto 0;
  width: min(1200px, calc(100% - 44px));
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-solid) 82%, transparent);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.08);
}

.sticky-now-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  flex-shrink: 0;
}

.sticky-now-content {
  min-width: 0;
}

.sticky-now-title {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.sticky-now-text {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-cta-row {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}
.btn-secondary {
  border-color: var(--line);
  background: var(--surface);
}

.hero-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 28px;
}
.hero-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.hero-card p { margin: 0 0 14px; color: var(--muted); }
.hero-card-note {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.route-map {
  margin-bottom: 14px;
  position: relative;
  padding: 24px 4px 8px;
}
.route-line {
  height: 3px;
  background: var(--line);
  border-radius: 999px;
}
.route-plane {
  position: absolute;
  top: 16px;
  left: 0;
  transform: translateX(-50%);
  transition: left 0.9s ease;
  color: var(--accent);
  font-size: 22px;
}
.route-cities {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.route-city {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  min-width: 0;
}

.route-city span {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.route-city.current span { color: var(--accent); font-weight: 600; }
.route-city.visited span { color: var(--text); }

.route-now-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 2px 0 14px;
}

.route-now-grid p {
  margin: 0;
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: color-mix(in srgb, var(--surface-solid) 58%, transparent);
  display: grid;
  gap: 4px;
}

.route-now-grid p:nth-child(-n + 2) {
  min-height: 84px;
  padding: 12px 14px;
}

.route-now-grid p:nth-child(-n + 2) strong {
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.route-now-grid p:nth-child(n + 3) {
  min-height: 58px;
}

.route-now-grid p:nth-child(n + 3) strong {
  font-size: 14px;
  color: var(--muted);
}

.route-now-grid span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.route-now-grid strong {
  font-size: 15px;
  line-height: 1.3;
}

.mini-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.section {
  padding: 74px 0;
}
.section.alt {
  background: color-mix(in srgb, var(--surface-solid) 72%, transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 5vw, 44px);
  letter-spacing: -0.03em;
  font-family: var(--font-display);
  font-weight: 700;
}
.sub {
  margin: -2px 0 30px;
  color: var(--muted);
  max-width: 780px;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.flight-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.flight-ops-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
}

.flight-ops-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.flight-ops-date {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.flight-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--line));
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.flight-chip.muted {
  color: var(--muted);
  border-color: var(--line);
  background: color-mix(in srgb, var(--surface-solid) 45%, transparent);
}

.flight-ops-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.flight-ops-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.flight-ops-grid p {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface-solid) 55%, transparent);
  padding: 8px 10px;
  display: grid;
  gap: 2px;
}

.flight-ops-grid span {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.flight-ops-grid strong {
  font-size: 14px;
  line-height: 1.2;
}

.flight-ops-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 6px;
  font-size: 14px;
}
.timeline-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.timeline-day {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.timeline-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.timeline-card p { margin: 0; color: var(--muted); }
.card-alert {
  margin-top: 12px !important;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, #ef4444 30%, var(--line));
  background: color-mix(in srgb, #ef4444 7%, transparent);
  color: color-mix(in srgb, var(--text) 86%, #5b1d1d) !important;
  font-size: 13px;
  line-height: 1.4;
}
.card-alert strong {
  color: #b91c1c;
}
.place-note {
  margin-top: 10px !important;
  min-height: 0 !important;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px dashed color-mix(in srgb, var(--accent) 38%, var(--line));
  background: color-mix(in srgb, var(--accent) 6%, transparent);
  font-size: 13px;
}

.city-title {
  margin: 44px 0 16px;
  font-size: 24px;
  letter-spacing: -0.02em;
  font-family: var(--font-display);
}
.places-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}
.place-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.place-card .emoji { font-size: 24px; }
.place-card h4 {
  margin: 8px 0 6px;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.place-card p { margin: 0; color: var(--muted); }
.place-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}

/* City guide blocks */
.where-map-panel {
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 14px;
}

.where-map-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.where-map-head h3 {
  margin: 0;
  font-size: 18px;
}

.where-map-head p {
  margin: 0;
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
}

.where-map-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-solid);
}

.where-map-frame iframe {
  width: 100%;
  height: 270px;
  border: 0;
  display: block;
}

.city-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 26px;
  margin-bottom: 20px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.city-block.active {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}
.city-head {
  margin-bottom: 14px;
}
.city-ops-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.city-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.city-head h3 {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.1;
}
.city-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 10px;
  width: min(640px, 100%);
}
.city-facts p {
  margin: 0;
  min-height: 68px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: color-mix(in srgb, var(--surface-solid) 55%, transparent);
  display: grid;
  gap: 4px;
}
.city-facts span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.city-facts strong {
  font-size: 15px;
  line-height: 1.3;
}
.city-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 14px;
}
.city-columns h4 {
  margin: 0 0 6px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.city-columns p {
  margin: 0;
  font-size: 15px;
}
.city-plan {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 15px;
}
.city-alerts li::marker {
  color: #d97706;
}

.city-spots {
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface-solid) 55%, transparent);
}

.city-spots h4 {
  margin: 0 0 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.city-spot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spot-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  font-size: 13px;
}

.spot-link:hover {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}
.resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.resource-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.resource-links a:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  color: var(--text);
}

.progress-line {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.3s ease;
}
.progress-text {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.check-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.check-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
}
.check-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}
.check-item:last-child { margin-bottom: 0; }
.check-item input { display: none; }
.check-item > span {
  width: 20px;
  height: 20px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: var(--surface-solid);
  position: relative;
}
.check-item input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
}
.check-item input:checked + span::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  transform: rotate(40deg);
}
.check-item input:checked + span + * {
  color: var(--text);
  text-decoration: line-through;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.tip-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.tip-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}
.tip-card p {
  margin: 0 0 8px;
  color: var(--muted);
}
.tip-card p:last-child { margin-bottom: 0; }

/* Card polish v2 */
.timeline-card,
.place-card,
.check-card,
.tip-card,
.city-block {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, color-mix(in srgb, #ffffff 12%, var(--surface)) 0%, var(--surface) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 0 0 1px color-mix(in srgb, var(--line) 65%, transparent),
    0 14px 30px rgba(16, 24, 40, 0.08);
  backdrop-filter: blur(8px);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.timeline-card:hover,
.place-card:hover,
.check-card:hover,
.tip-card:hover,
.city-block:hover {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 0 0 1px color-mix(in srgb, var(--accent) 32%, var(--line)),
    0 22px 40px rgba(16, 24, 40, 0.14);
}

[data-theme="dark"] .timeline-card,
[data-theme="dark"] .place-card,
[data-theme="dark"] .check-card,
[data-theme="dark"] .tip-card,
[data-theme="dark"] .city-block {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 0 0 1px color-mix(in srgb, var(--line) 70%, transparent),
    0 18px 36px rgba(0, 0, 0, 0.35);
}

.timeline-card .timeline-day {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.place-card .emoji {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, #fff), color-mix(in srgb, var(--accent-2) 14%, #fff));
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
}

.place-card h4 {
  margin-top: 12px;
}

.place-card p {
  min-height: 74px;
}

.place-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--line));
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.place-link::after {
  content: "→";
  font-size: 13px;
}

.place-link:hover {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}

.city-columns > div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface-solid) 55%, transparent);
}

.check-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-card h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.check-item {
  padding: 8px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.check-item:hover {
  border-color: var(--line);
  background: color-mix(in srgb, var(--surface-solid) 40%, transparent);
}

.check-item input:checked + span + * {
  text-decoration-thickness: 1.5px;
}

.tip-card h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.gallery-upload-zone {
  border: 1px dashed var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  padding: 26px;
  text-align: center;
  cursor: pointer;
}
.gallery-upload-zone.dragover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
}
.upload-title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.upload-subtitle,
.upload-hint { margin: 6px 0 0; color: var(--muted); }
.upload-hint { font-size: 13px; }

.gallery-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  aspect-ratio: 4 / 3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-delete {
  position: absolute;
  top: 8px;
  right: 8px;
  border: none;
  border-radius: 999px;
  width: 26px;
  height: 26px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
}
.gallery-date {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 10px;
  font-size: 12px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.58));
}
.gallery-empty {
  text-align: center;
  color: var(--muted);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(5, 8, 12, 0.9);
  display: grid;
  place-items: center;
}
.lightbox[hidden] { display: none; }
.lightbox-content {
  max-width: min(94vw, 1200px);
  max-height: 88vh;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 14px;
}
.lightbox-caption {
  text-align: center;
  color: #e9ecf8;
  margin-top: 8px;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  cursor: pointer;
}
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 16px 0 28px;
  color: var(--muted);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-row p { margin: 0; }
.footer-row div { display: inline-flex; gap: 14px; }

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  border-radius: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: var(--surface-solid);
  box-shadow: var(--shadow);
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.25s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-color: color-mix(in srgb, var(--success) 60%, var(--line)); }
.toast.error { border-color: #ef4444; }

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 980px) {
  .hero-top-row { grid-template-columns: 1fr; }
  .hero-top-row .status-bar { margin-top: 10px; }
  .city-ops-top { flex-direction: column; }
  .city-facts { width: 100%; }
  .city-columns { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .menu-btn { display: inline-block; }
  .site-nav {
    position: fixed;
    right: 12px;
    top: 74px;
    width: min(320px, calc(100% - 24px));
    background: var(--surface-solid);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }

  .key-cards {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(270px, 84vw);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .key-cards .timeline-card {
    scroll-snap-align: start;
  }

  .key-cards .flight-ops-card {
    scroll-snap-align: start;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface-solid) 92%, transparent);
    backdrop-filter: blur(12px);
    box-shadow: 0 14px 32px rgba(16, 24, 40, 0.18);
  }

  .mobile-bottom-nav a {
    min-height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    gap: 2px;
    padding: 4px 2px;
    color: var(--muted);
  }

  .mobile-bottom-nav a.active {
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 10%, transparent);
  }

  .mobile-bottom-nav span { font-size: 15px; line-height: 1; }
  .mobile-bottom-nav small { font-size: 11px; line-height: 1; }
}

@media (max-width: 640px) {
  body.has-mobile-nav {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }
  .countdown { width: 100%; justify-content: center; }
  .status-pill.muted { display: none; }
  .route-cities { font-size: 11px; }
  .hero-cta-row .btn {
    width: 100%;
  }
  .route-now-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .route-now-grid p {
    min-height: 0;
    padding: 10px;
  }
  .route-now-grid strong { font-size: 14px; }
  .route-now-grid p:nth-child(-n + 2) {
    min-height: 0;
    padding: 10px;
  }
  .route-now-grid p:nth-child(-n + 2) strong {
    font-size: 17px;
  }
  .route-now-grid p:nth-child(n + 3) strong {
    font-size: 14px;
  }
  .weather-head { flex-direction: column; align-items: flex-start; }
  .weather-grid { grid-template-columns: 1fr; }
  .where-map-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .where-map-frame iframe {
    height: 220px;
  }
  .city-spot-links {
    display: grid;
    grid-template-columns: 1fr;
  }
  .spot-link {
    justify-content: center;
    min-height: 36px;
  }
  .sticky-now {
    top: 62px;
    width: calc(100% - 24px);
    margin-top: 8px;
    padding: 9px 10px;
    border-radius: 12px;
  }
  .sticky-now-text { font-size: 13px; }
  .section { padding: 48px 0; }
  .hero { padding: 62px 0 48px; }
  .hero-unified-card { padding: 16px; border-radius: 14px; }
  .hero-card,
  .timeline-card,
  .flight-ops-card,
  .place-card,
  .check-card,
  .tip-card,
  .city-block {
    padding: 16px;
    border-radius: 14px;
  }
  .city-head h3 { font-size: 28px; }
  .city-facts {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .city-facts p {
    min-height: 0;
    padding: 10px;
  }
  .city-plan {
    font-size: 14px;
    gap: 6px;
  }
  .timeline-card h3,
  .flight-ops-card h3,
  .place-card h4,
  .check-card h3,
  .tip-card h3 { font-size: 19px; }

  .flight-ops-grid {
    grid-template-columns: 1fr;
  }

  .flight-ops-grid strong {
    font-size: 15px;
  }

  .flight-ops-list {
    font-size: 13px;
  }
  .resource-links { gap: 8px; }
  .resource-links a {
    width: 100%;
    justify-content: center;
    min-height: 36px;
  }
  .place-card p { min-height: 0; }
  .place-link {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .wrap { width: calc(100% - 24px); }
  h1 { font-size: 34px; }
  h2 { font-size: 30px; }
  .countdown span { font-size: 24px; }
  .status-pill { width: 100%; }
  .mobile-bottom-nav {
    left: 8px;
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    gap: 4px;
    padding: 7px;
  }
  .mobile-bottom-nav a { min-height: 44px; }
  .mobile-bottom-nav small { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== Bangkok day plan timeline ===== */
.bkk-day-plan {
  margin-bottom: 18px;
}
.bkk-day-plan h4 {
  margin: 18px 0 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.bkk-day-plan h4:first-child {
  margin-top: 0;
}
.bkk-timeline {
  display: grid;
  gap: 0;
  border-left: 3px solid var(--line);
  margin-left: 8px;
  padding-left: 0;
}
.bkk-time-slot {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 10px 0 10px 16px;
  position: relative;
}
.bkk-time-slot::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 16px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--surface-solid);
  border: 3px solid var(--accent);
}
.bkk-time-slot.bkk-birthday::before {
  background: #f59e0b;
  border-color: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.25);
}
.bkk-time-slot.bkk-birthday {
  background: color-mix(in srgb, #f59e0b 8%, transparent);
  border-radius: 12px;
  margin: 4px 0;
  padding: 12px 12px 12px 16px;
}
.bkk-time {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  padding-top: 2px;
  white-space: nowrap;
}
.bkk-activity strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}
.bkk-activity p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* Birthday check-card accent */
.birthday-card {
  border-color: color-mix(in srgb, #f59e0b 40%, var(--line)) !important;
}

@media (max-width: 640px) {
  .bkk-time-slot {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .bkk-time {
    font-size: 12px;
  }
  .bkk-activity strong {
    font-size: 14px;
  }
  .bkk-activity p {
    font-size: 13px;
  }
}

/* ===== Hotel info cards ===== */
.hotel-info-card {
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: color-mix(in srgb, var(--surface-solid) 62%, transparent);
}
.hotel-info-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.hotel-info-head h4 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.hotel-checkin {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.hotel-checkin strong {
  color: var(--text);
}
.hotel-note {
  margin: 10px 0 0;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px dashed color-mix(in srgb, #f59e0b 40%, var(--line));
  background: color-mix(in srgb, #f59e0b 6%, transparent);
  font-size: 13px;
  color: var(--muted);
}

/* Taxi show card */
.taxi-show-card {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 4%, transparent);
  cursor: pointer;
  overflow: hidden;
}
.taxi-show-title {
  margin: 0;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.taxi-show-title::after {
  content: "▼";
  font-size: 10px;
  color: var(--muted);
  transition: transform 0.2s ease;
}
.taxi-show-card.expanded .taxi-show-title::after {
  transform: rotate(180deg);
}
.taxi-show-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 14px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.taxi-show-card.expanded .taxi-show-content {
  max-height: 300px;
  padding: 0 14px 14px;
}
.thai-name {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
}
.thai-address {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.4;
}
.taxi-note {
  margin: 4px 0;
  font-size: 13px;
  color: var(--muted);
}
.taxi-map-link {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.taxi-map-link:hover {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}

/* ===== Services grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.1);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
}
.service-icon {
  font-size: 28px;
  margin-bottom: 6px;
}
.service-card strong {
  font-size: 15px;
  margin-bottom: 2px;
}
.service-card p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

/* ===== Thai phrases ===== */
.thai-phrases-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  background: var(--surface);
}
.thai-phrases-card h3 {
  margin: 0 0 14px;
  font-size: 18px;
}
.thai-phrases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}
.thai-phrase {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface-solid) 55%, transparent);
}
.phrase-ru {
  font-size: 14px;
  font-weight: 600;
}
.phrase-th {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}
.phrase-read {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

/* ===== Mobile fixes for new elements ===== */
@media (max-width: 640px) {
  .hotel-info-head {
    flex-direction: column;
  }
  .hotel-checkin {
    gap: 8px;
  }
  .thai-name {
    font-size: 19px;
  }
  .thai-address {
    font-size: 14px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .service-card {
    padding: 14px 8px;
  }
  .service-icon {
    font-size: 24px;
  }
  .service-card strong {
    font-size: 13px;
  }
  .service-card p {
    font-size: 11px;
  }
  .thai-phrases-grid {
    grid-template-columns: 1fr;
  }
  .phrase-th {
    font-size: 18px;
  }
}
