﻿:root {
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --bg: #f3ebe2;
  --bg2: #f4e6ec;
  --ink: #1c2422;
  --muted: #5a6763;
  --accent: #d4638a;
  --accent-2: #c45c3e;
  --card: rgba(255, 252, 248, 0.72);
  --line: rgba(28, 36, 34, 0.12);
  --salma: #d4638a;
  --hamse: #c45c3e;
  --radius: 1.25rem;
  --shadow: 0 18px 50px rgba(28, 36, 34, 0.08);
  color-scheme: light;
}

/* Location themes: warm pink/cream only - no blue washes */
body[data-theme="amsterdam"] {
  --bg: #f3ebe4;
  --bg2: #f5e4ec;
  --accent: #d4638a;
  --accent-2: #b85c38;
  --salma: #d4638a;
  --hamse: #b85c38;
}
body[data-theme="hanoi"] {
  --bg: #f4efe6;
  --bg2: #f3e6eb;
  --accent: #d4638a;
  --accent-2: #b33a2b;
  --salma: #d4638a;
  --hamse: #b33a2b;
}
body[data-theme="hargeisa"] {
  --bg: #f6ecd9;
  --bg2: #f3e6eb;
  --accent: #d4638a;
  --accent-2: #c45c3e;
  --salma: #d4638a;
  --hamse: #c45c3e;
}
body[data-theme="dubai"] {
  --bg: #efe9df;
  --bg2: #f3e6eb;
  --accent: #d4638a;
  --accent-2: #c45c3e;
  --salma: #d4638a;
  --hamse: #c45c3e;
}
body[data-theme="kualalumpur"] {
  --bg: #f3efe6;
  --bg2: #f4e6ec;
  --accent: #d4638a;
  --accent-2: #b4532a;
  --salma: #d4638a;
  --hamse: #b4532a;
}
body[data-theme="hongkong"] {
  --bg: #f2ebe6;
  --bg2: #f4e6ec;
  --accent: #d4638a;
  --accent-2: #b4532a;
  --salma: #d4638a;
  --hamse: #b4532a;
}
body[data-theme="london"] {
  --bg: #f1ebe7;
  --bg2: #f3e9e6;
  --accent: #d4638a;
  --accent-2: #a33b2f;
  --salma: #d4638a;
  --hamse: #a33b2f;
}
body[data-theme="split"] {
  --bg: #f0ebe4;
  --bg2: #f4e6ec;
  --accent: #d4638a;
  --accent-2: #c45c3e;
  --salma: #d4638a;
  --hamse: #c45c3e;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 10% -10%, var(--bg2), transparent 60%),
    radial-gradient(900px 600px at 100% 20%, color-mix(in srgb, var(--accent) 18%, white), transparent 55%),
    linear-gradient(165deg, var(--bg), var(--bg2));
  background-attachment: fixed;
  line-height: 1.5;
  transition: background 1.2s ease, color 0.6s ease;
}
body.map-open {
  cursor: default;
}

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-2); }

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  animation: drift 18s ease-in-out infinite alternate;
}
.orb-a {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  left: -8%;
  top: 8%;
  background: color-mix(in srgb, var(--salma) 55%, transparent);
}
.orb-b {
  width: min(50vw, 380px);
  height: min(50vw, 380px);
  right: -6%;
  top: 35%;
  background: color-mix(in srgb, var(--hamse) 50%, transparent);
  animation-delay: -6s;
}
.grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(24px, -30px) scale(1.08); }
}

.top, .deck, .foot {
  position: relative;
  z-index: 1;
}

.top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 3vw, 2rem);
  pointer-events: none;
}
.top .mark,
.top .mark-sub { pointer-events: auto; }
.mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.mark-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.deck-backdrop {
  position: fixed;
  inset: 0;
  z-index: 25;
  background: color-mix(in srgb, var(--ink) 28%, transparent);
  backdrop-filter: blur(12px) saturate(1.05);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.deck-backdrop.is-on {
  opacity: 1;
  pointer-events: auto;
}

.deck-nav {
  position: fixed;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.55rem 0.5rem;
  border-radius: 1.35rem;
  background: color-mix(in srgb, var(--card) 94%, white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.deck-nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.deck-nav-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
/* Bottom-center pill — spear hub sits on top edge (all viewports) */
.deck-nav {
  bottom: max(0.55rem, env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
}
.deck-spear-menu {
  bottom: 100%;
  left: 50%;
}
@media (max-width: 640px) {
  .deck-nav {
    padding: 0.38rem 0.5rem 0.42rem;
    gap: 0.28rem;
    max-width: calc(100vw - 1rem);
  }
  .deck-nav-row { gap: 0.3rem; }
  .deck-nav-actions { gap: 0.28rem; }
  .deck-menu-btn {
    font-size: 0.62rem;
    padding: 0.24rem 0.55rem;
  }
  .deck-arrow {
    width: 1.4rem;
    height: 1.4rem;
  }
}

.deck-arrow {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.deck-arrow:hover {
  background: color-mix(in srgb, #d4638a 15%, transparent);
  color: #d4638a;
  transform: scale(1.12);
}
.deck-arrow:active {
  transform: scale(0.9);
  background: color-mix(in srgb, #d4638a 28%, transparent);
}
.deck-arrow[hidden] { display: none; }
.deck-arrow:disabled,
.deck-arrow[aria-disabled="true"] {
  opacity: 0.28;
  pointer-events: none;
  transform: none;
  background: transparent;
  color: var(--muted);
}

.deck-pips {
  display: flex;
  gap: 0.4rem;
}
.deck-pip {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 20%, transparent);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.deck-pip:hover {
  background: #d4638a;
  transform: scale(1.35);
}
.deck-pip:active { transform: scale(0.85); }
.deck-pip.is-active {
  background: #d4638a;
  transform: scale(1.4);
  box-shadow: 0 0 0 3px color-mix(in srgb, #d4638a 25%, transparent);
}
.deck-pip.is-past {
  background: color-mix(in srgb, #d4638a 45%, transparent);
}

.deck-menu-btn {
  appearance: none;
  border: 0;
  background: color-mix(in srgb, #d4638a 12%, white);
  color: #d4638a;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid color-mix(in srgb, #d4638a 28%, transparent);
  text-decoration: none;
  line-height: 1.2;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.deck-home-btn {
  background: color-mix(in srgb, var(--ink) 4%, white);
  color: var(--ink);
  border-color: var(--line);
}
.deck-home-btn:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--ink) 22%, transparent);
}
.deck-menu-btn:hover {
  background: #d4638a;
  color: white;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px color-mix(in srgb, #d4638a 35%, transparent);
}
.deck-menu-btn:active,
.deck-home-btn:active {
  transform: translateY(1px) scale(0.94);
  box-shadow: none;
}
.deck-menu-btn[aria-expanded="true"] {
  background: #d4638a;
  color: white;
}

.deck-spear-menu {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}
.deck-spear-menu:not([hidden]) {
  pointer-events: auto;
}
.deck-spear-menu:not([hidden])::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #d4638a;
  box-shadow: 0 0 0 3px color-mix(in srgb, #d4638a 28%, transparent);
  /* Sit on the top rim of the nav pill, centered with pips + home/map */
  transform: translate(-50%, 35%);
}
.deck-spear {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--spear-len, 10.5rem);
  height: 0;
  transform: rotate(var(--angle));
  transform-origin: left center;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.deck-spear-menu:not([hidden]) .deck-spear {
  opacity: 1;
  animation: spear-in 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.deck-spear-menu:not([hidden]) .deck-spear:nth-child(1) { animation-delay: 0.02s; }
.deck-spear-menu:not([hidden]) .deck-spear:nth-child(2) { animation-delay: 0.05s; }
.deck-spear-menu:not([hidden]) .deck-spear:nth-child(3) { animation-delay: 0.08s; }
.deck-spear-menu:not([hidden]) .deck-spear:nth-child(4) { animation-delay: 0.11s; }
.deck-spear-menu:not([hidden]) .deck-spear:nth-child(5) { animation-delay: 0.14s; }
.deck-spear-menu:not([hidden]) .deck-spear:nth-child(6) { animation-delay: 0.17s; }
@keyframes spear-in {
  from {
    opacity: 0;
    transform: rotate(var(--angle)) scaleX(0.35);
  }
  to {
    opacity: 1;
    transform: rotate(var(--angle)) scaleX(1);
  }
}
.deck-spear::before {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #d4638a, color-mix(in srgb, #d4638a 55%, transparent));
  border-radius: 999px;
}
.deck-spear::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #d4638a;
  margin-left: -1px;
  flex-shrink: 0;
}
/* Tip center sits past the spear end; counter-rotate around CENTER so
   left-side labels stay outward instead of flipping back onto the hub. */
.deck-spear-tip {
  position: absolute;
  left: calc(100% + 0.7rem);
  top: 0;
  margin: 0;
  transform: translate(-50%, -50%) rotate(calc(-1 * var(--angle))) scale(1);
  transform-origin: center center;
  display: grid;
  width: max-content;
  max-width: 11rem;
  padding: 0.34rem 0.55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card) 97%, white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  cursor: pointer;
  pointer-events: auto;
  text-align: center;
  appearance: none;
  font: inherit;
  color: inherit;
  transition:
    transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.22s ease;
  z-index: 1;
}
.deck-spear-tip:hover,
.deck-spear-tip:focus-visible {
  outline: none;
  z-index: 8;
  transform: translate(-50%, -50%) rotate(calc(-1 * var(--angle))) scale(1.1);
  background: #fff;
  border-color: color-mix(in srgb, #d4638a 45%, transparent);
  box-shadow: 0 12px 28px color-mix(in srgb, #d4638a 26%, transparent);
}
.deck-spear-tip:active {
  transform: translate(-50%, -50%) rotate(calc(-1 * var(--angle))) scale(1.02);
}
.deck-spear.is-current .deck-spear-tip,
.deck-spear.is-peek .deck-spear-tip {
  background: #d4638a;
  border-color: #d4638a;
  color: white;
}
.deck-spear.is-current .deck-spear-tip:hover,
.deck-spear.is-current .deck-spear-tip:focus-visible,
.deck-spear.is-peek .deck-spear-tip:hover,
.deck-spear.is-peek .deck-spear-tip:focus-visible {
  background: #c4557c;
  border-color: #c4557c;
  color: white;
}
.deck-spear-name {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1.2;
}

/* Floating cloud sneak preview (mini slide) */
.deck-cloud {
  position: fixed;
  z-index: 28;
  right: clamp(0.75rem, 3.5vw, 2.4rem);
  top: 48%;
  width: min(26rem, 38vw);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-46%) scale(0.86);
  filter: drop-shadow(0 22px 48px color-mix(in srgb, #d4638a 28%, transparent));
  transition:
    opacity 0.28s ease,
    transform 0.4s cubic-bezier(0.2, 0.85, 0.25, 1),
    visibility 0.28s;
}
.deck-cloud.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}
.deck-cloud-bubble {
  position: relative;
  padding: 0.85rem 0.9rem 0.7rem;
  background:
    radial-gradient(120% 90% at 12% 8%, color-mix(in srgb, #fff 88%, #d4638a), transparent 55%),
    color-mix(in srgb, var(--card) 96%, white);
  border: 1px solid color-mix(in srgb, #d4638a 22%, var(--line));
  border-radius: 2.1rem 2.6rem 2.2rem 2.5rem / 2.4rem 2rem 2.6rem 2.1rem;
  overflow: hidden;
}
.deck-cloud-bubble::before,
.deck-cloud-bubble::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: color-mix(in srgb, var(--card) 96%, white);
  border: 1px solid color-mix(in srgb, #d4638a 18%, var(--line));
  z-index: 0;
}
.deck-cloud-bubble::before {
  width: 2.4rem;
  height: 2.4rem;
  left: 1.1rem;
  bottom: -0.55rem;
}
.deck-cloud-bubble::after {
  width: 1.45rem;
  height: 1.45rem;
  left: 0.15rem;
  bottom: -1.05rem;
}
.deck-cloud-label,
.deck-cloud-stage,
.deck-cloud-hint {
  position: relative;
  z-index: 1;
}
.deck-cloud-label {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.deck-cloud-stage {
  position: relative;
  height: min(46vh, 22rem);
  border-radius: 1.15rem;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 10% -10%, var(--bg2), transparent 60%),
    linear-gradient(165deg, var(--bg), var(--bg2));
  border: 1px solid var(--line);
}
.deck-cloud-scale {
  transform-origin: top left;
  pointer-events: none;
  user-select: none;
}
.deck-cloud-scale .slide-inner {
  animation: none !important;
  max-height: none !important;
  overflow: visible !important;
  box-shadow: var(--shadow);
}
.deck-cloud-hint {
  margin: 0.45rem 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 720px) {
  /* Phone: MAP opens a chip sheet — radial spears overlap on S24-class screens */
  .deck-spear-menu:not([hidden]) {
    left: 50%;
    bottom: calc(100% + 0.55rem);
    width: min(22rem, calc(100vw - 1.25rem));
    height: auto;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    padding: 0.55rem;
    border-radius: 1.15rem;
    background: color-mix(in srgb, var(--card) 96%, white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    pointer-events: auto;
  }
  .deck-spear-menu:not([hidden])::before {
    display: none;
  }
  .deck-spear {
    position: static;
    width: auto !important;
    height: auto;
    transform: none !important;
    opacity: 1;
    display: block;
    animation: none !important;
  }
  .deck-spear::before,
  .deck-spear::after {
    display: none;
  }
  .deck-spear-tip {
    position: static;
    left: auto;
    top: auto;
    transform: none !important;
    width: 100%;
    max-width: none;
    padding: 0.55rem 0.6rem;
    border-radius: 0.85rem;
    text-align: left;
  }
  .deck-spear-tip:hover,
  .deck-spear-tip:focus-visible {
    transform: none !important;
  }
  .deck-spear-tip:active {
    transform: scale(0.98) !important;
  }
  .deck-spear-name {
    white-space: normal;
    font-size: 0.78rem;
    letter-spacing: 0.01em;
  }
  .deck-cloud {
    display: none !important;
  }
}

.deck {
  height: 100dvh;
  max-height: 100dvh;
  overflow-y: hidden;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  display: flex;
  flex-direction: row;
  scrollbar-width: none;
  overscroll-behavior: none;
}
.deck::-webkit-scrollbar { display: none; }

.slide {
  min-width: 100vw;
  width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.75rem clamp(0.75rem, 2vw, 1.25rem) 4.4rem;
  overflow: hidden;
  box-sizing: border-box;
  flex-shrink: 0;
}
.slide-inner {
  width: min(880px, 100%);
  margin: 0 auto;
  padding: clamp(0.7rem, 1.6vw, 1.05rem);
  border-radius: calc(var(--radius) + 0.15rem);
  background: color-mix(in srgb, var(--card) 92%, white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: rise 0.7s ease both;
  max-height: calc(100dvh - 7rem);
  overflow: hidden;
  overscroll-behavior: contain;
}
.slide.hero .slide-inner {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding-inline: 0;
  max-height: calc(100dvh - 7rem);
  overflow: hidden;
}

@media (max-width: 640px) {
  .slide {
    padding: 3.1rem 0.7rem 3.85rem;
  }
  .slide-inner {
    padding: 0.8rem 0.85rem;
    max-height: calc(100dvh - 6.4rem);
  }
  .slide.hero .slide-inner {
    max-height: calc(100dvh - 6.4rem);
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 8vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.7rem;
}
.brand .salma { color: var(--salma); }
.brand .hamse { color: var(--hamse); }
.brand .amp {
  font-size: 0.45em;
  color: var(--muted);
  font-weight: 500;
  align-self: center;
}

.lede {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  color: var(--muted);
}

.together {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: rise 1.1s 0.15s ease both;
}
@media (min-width: 720px) {
  .together {
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
  }
}

.together .side {
  padding: 1.35rem 1.35rem 1.5rem;
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.together .side:hover { transform: none; }
#card-salma {
  border-top: 3px solid var(--salma);
}
#card-hamse {
  border-top: 3px solid var(--hamse);
}
@media (min-width: 720px) {
  #card-salma {
    border-top: none;
    border-left: 3px solid var(--salma);
  }
  #card-hamse {
    border-top: none;
    border-right: 3px solid var(--hamse);
  }
}

.together .gap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.1rem 1.25rem;
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) {
  .together .gap {
    border-top: none;
    border-bottom: none;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    min-width: 11.5rem;
    max-width: 14rem;
  }
}

.delta-label {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.delta-value {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.delta-note {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 12rem;
}

.who {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}
.place {
  margin: 0.4rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.5vw, 1.55rem);
  letter-spacing: -0.02em;
  min-height: 2.7rem;
  line-height: 1.2;
}
.flight-track {
  margin: 0.65rem 0 0;
  max-width: 16rem;
  color: var(--accent, #d4638a);
  font-size: 0.82rem;
  line-height: 1.35;
}
.flight-track .flight-now {
  color: inherit;
  font-weight: 700;
  text-underline-offset: 0.15em;
}
.flight-track .flight-now.is-far { color: #c62828; }
.flight-track .flight-now.is-soon {
  color: #e65100;
  background: color-mix(in srgb, #e65100 14%, transparent);
  padding: 0.1em 0.45em;
  border-radius: 999px;
  text-decoration: none;
}
.flight-track .flight-now.is-live {
  color: #2e7d32;
  background: color-mix(in srgb, #2e7d32 14%, transparent);
  padding: 0.1em 0.45em;
  border-radius: 999px;
  text-decoration: none;
}
.flight-track .flight-now:hover {
  opacity: 0.85;
}
.flight-track .flight-note,
.timeline .flight-note {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9em;
  margin-left: 0.25em;
}
.timeline .flight-note.is-soon,
.flight-track .flight-note {
  color: #e65100;
}
.clock {
  margin: 0.75rem 0 0;
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.85rem, 5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-feature-settings: "tnum";
}
.tz, .phase {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.phase { font-style: italic; }

.slide h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.6vw, 1.9rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.slide h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.section-copy {
  margin: 0 0 0.85rem;
  color: var(--muted);
  max-width: 38rem;
  font-size: 0.92rem;
}

/* legacy clock card rules removed - combined into .together */

/* Combined chat board — content-sized card, big countdown */
.slide.chat .slide-inner {
  width: min(880px, 100%);
  height: auto;
  max-height: calc(100dvh - 7rem);
  display: flex;
  flex-direction: column;
}
.slide.chat .section-copy {
  flex-shrink: 0;
  margin-bottom: 1rem;
}
.chat-board {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.35rem 2.25rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  align-items: start;
}
.chat-next {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
  justify-items: start;
}
.chat-next > .count-label {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.chat-hms {
  display: grid;
  grid-template-columns: repeat(3, minmax(3rem, auto));
  gap: 0.65rem 1rem;
  text-align: center;
  justify-content: start;
}
.chat-hms span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 2.85rem);
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  line-height: 0.95;
  color: var(--ink);
}
.chat-hms small {
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.chat-locals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1.25rem;
  width: 100%;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
}
.chat-local {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}
.chat-local-who {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}
.chat-local.is-salma .chat-local-who { color: var(--salma); }
.chat-local.is-hamse .chat-local-who { color: var(--hamse); }
.chat-local-who span {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  margin-left: 0.15rem;
}
.chat-local-time {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.8vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.chat-local.is-salma .chat-local-time { color: var(--salma); }
.chat-local.is-hamse .chat-local-time { color: var(--hamse); }

.chat-schedule {
  display: grid;
  gap: 1rem;
  min-width: 0;
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
}
.chat-sched {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}
.chat-sched-head {
  margin: 0 0 0.15rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}
.chat-sched.is-next .chat-sched-head { color: var(--accent); }
.chat-sched-line {
  margin: 0;
  display: grid;
  grid-template-columns: 3.4rem 4.2rem auto;
  gap: 0.35rem;
  align-items: baseline;
}
.chat-sched-line span {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.chat-sched-line.is-salma span { color: var(--salma); }
.chat-sched-line.is-hamse span { color: var(--hamse); }
.chat-sched-line strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.chat-sched-line.is-salma strong { color: var(--salma); }
.chat-sched-line.is-hamse strong { color: var(--hamse); }
.chat-sched-line em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.72rem;
}
.chat-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: italic;
}

@media (max-width: 640px) {
  .slide.chat .slide-inner {
    padding: 0.75rem 0.8rem;
  }
  .slide.chat .section-copy {
    margin-bottom: 0.55rem;
    font-size: 0.84rem;
    line-height: 1.35;
  }
  .slide.chat h2 {
    font-size: clamp(1.35rem, 6vw, 1.65rem);
    margin-bottom: 0.25rem;
  }
  .chat-board {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .chat-next {
    gap: 0.55rem;
    justify-items: stretch;
  }
  .chat-hms {
    width: 100%;
    max-width: 16rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem 0.55rem;
  }
  .chat-hms span {
    font-size: clamp(1.75rem, 9vw, 2.25rem);
  }
  .chat-hms small {
    font-size: 0.55rem;
  }
  .chat-locals {
    gap: 0.45rem 1rem;
    padding-top: 0.5rem;
  }
  .chat-local-time {
    font-size: clamp(1.25rem, 6vw, 1.5rem);
  }
  .chat-schedule {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 0.85rem;
    padding-left: 0;
    border-left: 0;
    padding-top: 0.65rem;
    border-top: 1px solid var(--line);
  }
  .chat-sched {
    gap: 0.15rem;
  }
  .chat-sched-head {
    margin-bottom: 0.05rem;
    font-size: 0.58rem;
  }
  .chat-sched-line {
    grid-template-columns: 2.85rem auto;
    column-gap: 0.28rem;
    row-gap: 0;
  }
  .chat-sched-line strong {
    font-size: 0.95rem;
  }
  .chat-sched-line em {
    grid-column: 2;
    font-size: 0.6rem;
    line-height: 1.1;
  }
  .chat-note {
    font-size: 0.72rem;
  }

  /* Hero — fit clocks + gap in one phone viewport */
  .slide.hero .eyebrow { margin-bottom: 0.35rem; font-size: 0.68rem; }
  .slide.hero .brand {
    font-size: clamp(1.7rem, 8vw, 2.15rem);
    gap: 0.2rem 0.45rem;
  }
  .slide.hero .lede {
    margin-top: 0.45rem;
    font-size: 0.9rem;
    line-height: 1.35;
  }
  .together {
    margin-top: 0.7rem;
  }
  .together .side {
    padding: 0.7rem 0.8rem 0.75rem;
  }
  .together .gap {
    padding: 0.55rem 0.7rem;
  }
  .who { font-size: 0.68rem; }
  .place {
    font-size: clamp(1.05rem, 4.5vw, 1.25rem);
    min-height: 0;
    margin-top: 0.2rem;
  }
  .clock {
    font-size: clamp(1.4rem, 6.2vw, 1.7rem);
    margin-top: 0.35rem;
  }
  .tz, .phase {
    font-size: 0.72rem;
    margin-top: 0.2rem;
  }
  .flight-track {
    margin-top: 0.35rem;
    font-size: 0.7rem;
    max-width: none;
  }
  .delta-value {
    font-size: clamp(1.25rem, 5vw, 1.55rem);
  }
  .delta-note {
    font-size: 0.75rem;
    max-width: none;
  }

  .slide.distance h2,
  .slide.dates h2,
  .slide.itinerary h2,
  .slide.visits h2 {
    font-size: clamp(1.35rem, 6vw, 1.65rem);
  }
  .slide.distance .km {
    font-size: clamp(1.8rem, 8vw, 2.3rem);
  }
  .comparisons {
    gap: 0.45rem;
  }
  .dates-grid {
    gap: 0.55rem;
  }
  .date-card {
    padding: 0.7rem 0.75rem;
  }
  .top {
    padding: 0.55rem 0.75rem;
  }
  .mark-sub {
    font-size: 0.68rem;
    max-width: 55vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.countdown {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.count-label {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.count-value {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.count-note {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.km {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5.5vw, 2.7rem);
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(120deg, var(--salma), var(--hamse));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.comparisons {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.comparisons li {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.55rem;
  align-items: center;
  min-width: 0;
  padding: 0.55rem 0.65rem 0.55rem 0.55rem;
  border-radius: 0.85rem;
  background: color-mix(in srgb, var(--ink) 3%, white);
  border: 1px solid var(--line);
}
.cmp-media {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.65rem;
  background: color-mix(in srgb, var(--salma) 8%, white);
  border: 1px solid color-mix(in srgb, var(--salma) 18%, transparent);
  overflow: hidden;
}
.cmp-media img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  display: block;
}
.cmp-media img[src*="ns.png"] {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.comparisons li:has(img[src*="ns.png"]) .cmp-media {
  background: #fcc917;
  border-color: #e8b810;
}
.cmp-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}
.comparisons strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.comparisons span {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.3;
}
@media (max-width: 520px) {
  .comparisons {
    grid-template-columns: 1fr;
  }
}

.dates-grid {
  display: grid;
  gap: 0.65rem;
}
@media (min-width: 720px) {
  .dates-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    align-items: stretch;
  }
}

.date-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: clamp(0.8rem, 2vw, 1.1rem);
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.date-card > .eyebrow { margin: 0; font-size: 0.68rem; }
.date-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.date-card .section-copy,
.date-card #bday-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.date-reunion .love-count {
  margin-top: 0.2rem;
  padding: 0.55rem 0.35rem;
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--ink) 4%, white);
  border: 1px solid var(--line);
}

.love-count {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.25rem;
  text-align: center;
}
.love-count span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.5vw, 1.55rem);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}
.love-count small {
  color: var(--muted);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.love-note {
  margin: 0.1rem 0 0;
  color: var(--muted);
  font-style: italic;
  font-size: 0.8rem;
}

.date-bday {
  background:
    linear-gradient(145deg, color-mix(in srgb, #d4a017 28%, white), color-mix(in srgb, var(--accent) 14%, white));
  border-color: color-mix(in srgb, #d4a017 40%, transparent);
}
.date-bday::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -45px;
  top: -55px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.55), transparent 70%);
  pointer-events: none;
}
.date-bday > * { position: relative; z-index: 1; }
.date-bday.is-today {
  background:
    linear-gradient(145deg, color-mix(in srgb, #d4638a 22%, white), color-mix(in srgb, #d4a017 24%, white));
}
.date-bday.is-done {
  background:
    linear-gradient(160deg, color-mix(in srgb, #d4a017 35%, white), color-mix(in srgb, #d4638a 18%, white));
  text-align: center;
}
.bday-dual {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.35rem;
}
.bday-dual[hidden] { display: none; }
.bday-row {
  display: grid;
  gap: 0.2rem;
}
.bday-who {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}
.bday-who.salma { color: var(--salma); }
.bday-who.hamse { color: var(--hamse); }
.bday-who span {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  margin-left: 0.2rem;
}
.bday-count {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}
.bday-row .bday-count span {
  font-size: clamp(1.15rem, 3.2vw, 1.45rem);
}
.bday-row.salma-tone .bday-count span,
#bday-salma-row .bday-count span { color: var(--salma); }
#bday-hamse-row .bday-count span { color: var(--hamse); }
.bday-status {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.bday-status[hidden] { display: none; }
#bday-salma-status { color: var(--salma); }
#bday-hamse-status { color: var(--hamse); }
.bday-done {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  padding: 0.4rem 0.25rem 0.15rem;
}
.bday-done[hidden] { display: none; }
.bday-cake {
  font-size: clamp(3.4rem, 12vw, 5rem);
  line-height: 1;
  filter: drop-shadow(0 10px 18px color-mix(in srgb, #d4a017 35%, transparent));
  animation: bday-cake-pop 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}
@keyframes bday-cake-pop {
  from { opacity: 0; transform: scale(0.55) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.bday-done-msg {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
  max-width: 16rem;
}

.itin-grid {
  display: grid;
  gap: 1.15rem;
  min-width: 0;
}

.itin-grid > div {
  min-width: 0;
  max-width: 100%;
}

.itin-grid > div > h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.itin-rail {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  padding: 0.35rem 0.35rem 0.65rem;
  margin: 0;
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--ink) 3%, white);
  border: 1px solid var(--line);
  scrollbar-width: auto;
  scrollbar-color: #d4638a color-mix(in srgb, #d4638a 12%, white);
}
.itin-rail::-webkit-scrollbar {
  height: 8px;
}
.itin-rail::-webkit-scrollbar-track {
  background: color-mix(in srgb, #d4638a 12%, white);
  border-radius: 999px;
  margin: 0 0.25rem;
}
.itin-rail::-webkit-scrollbar-thumb {
  background: #d4638a;
  border-radius: 999px;
  border: 2px solid color-mix(in srgb, #d4638a 12%, white);
}
.itin-rail::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, #d4638a 80%, #1c2422);
}
.itin-rail::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0.65rem 0.1rem 0.1rem;
  display: flex;
  gap: 0;
  min-width: max-content;
  width: max-content;
  border-top: 2px solid var(--line);
}
.timeline li {
  position: relative;
  flex: 0 0 auto;
  min-width: 6.5rem;
  max-width: 8.5rem;
  padding: 0.7rem 0.75rem 0.05rem 0;
  border-radius: 0.7rem;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.timeline li:first-child {
  padding-left: 0.1rem;
}
.timeline li.active {
  padding: 0.7rem 0.7rem 0.45rem 0.55rem;
  margin-right: 0.35rem;
  background: color-mix(in srgb, #d4638a 11%, white);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, #d4638a 42%, transparent);
}
#timeline-hamse li.active {
  background: color-mix(in srgb, #c45c3e 11%, white);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, #c45c3e 42%, transparent);
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: -5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
  border: 2px solid white;
}
.timeline li.active::before {
  left: 0.55rem;
  width: 10px;
  height: 10px;
  top: -6px;
}
#timeline-salma li.active::before {
  background: #d4638a;
  box-shadow: 0 0 0 4px color-mix(in srgb, #d4638a 28%, transparent);
}
#timeline-hamse li.active::before {
  background: #c45c3e;
  box-shadow: 0 0 0 4px color-mix(in srgb, #c45c3e 28%, transparent);
}
.timeline li.done::before { background: var(--ink); opacity: 0.35; }
.timeline .city {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.timeline .now-pill {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d4638a;
  background: color-mix(in srgb, #d4638a 14%, white);
  border: 1px solid color-mix(in srgb, #d4638a 35%, transparent);
  border-radius: 999px;
  padding: 0.12rem 0.4rem;
  line-height: 1.2;
}
#timeline-hamse .now-pill {
  color: #c45c3e;
  background: color-mix(in srgb, #c45c3e 14%, white);
  border-color: color-mix(in srgb, #c45c3e 35%, transparent);
}
.timeline .place-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 1rem;
  line-height: 1;
}
.timeline .place-flag {
  width: 1.4rem;
  height: auto;
  aspect-ratio: 1024 / 797;
  object-fit: contain;
  object-position: center;
  border-radius: 0.15rem;
  display: block;
}
.timeline .city-name { min-width: 0; }
.timeline .meta {
  color: var(--muted);
  font-size: 0.72rem;
  margin-top: 0.15rem;
  line-height: 1.3;
}
.timeline .flight-link {
  color: #d4638a;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.timeline .flight-link:hover {
  text-decoration: underline;
  color: #b84f72;
}
.timeline .flight-link-muted {
  color: var(--muted);
  font-weight: 600;
}
.timeline li.done {
  opacity: 0.58;
  filter: blur(0.7px);
  pointer-events: none;
  user-select: none;
}
.timeline li.done .city-name,
.timeline li.done .meta {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}
.timeline li.done .flight-track-btn {
  pointer-events: none;
}
.timeline .flight-track-btn {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.12em 0.5em;
  border-radius: 999px;
}
.timeline .flight-track-btn.is-far {
  color: #c62828;
  background: color-mix(in srgb, #c62828 12%, transparent);
  cursor: default;
}
.timeline .flight-track-btn.is-soon {
  color: #e65100;
  background: color-mix(in srgb, #e65100 14%, transparent);
}
.timeline .flight-track-btn.is-soon:hover {
  background: color-mix(in srgb, #e65100 24%, transparent);
}
.timeline .flight-track-btn.is-live {
  color: #1b5e20;
  background: color-mix(in srgb, #2e7d32 18%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #2e7d32 45%, transparent);
}
.timeline .flight-track-btn.is-live:hover {
  background: color-mix(in srgb, #2e7d32 28%, transparent);
}
.timeline .flight-track-btn.is-ended {
  color: #2e7d32;
  background: color-mix(in srgb, #2e7d32 10%, transparent);
  text-decoration: line-through;
  filter: blur(0.55px);
  opacity: 0.75;
  pointer-events: none;
}
.timeline .flight-note {
  color: #e65100;
  font-weight: 600;
}

.slide.itinerary .slide-inner {
  padding: 0.85rem 0.95rem;
  overflow-x: hidden;
  overflow-y: auto;
  max-width: min(880px, calc(100vw - 2rem));
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, #d4638a 55%, transparent) transparent;
}
.slide.itinerary .slide-inner::-webkit-scrollbar { width: 6px; }
.slide.itinerary .slide-inner::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, #d4638a 55%, transparent);
  border-radius: 999px;
}
.slide.itinerary h2 {
  font-size: clamp(1.3rem, 3.4vw, 1.7rem);
  margin-bottom: 0.55rem;
}

.visit-total {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.5vw, 1.65rem);
  margin: 0 0 0.25rem;
}
.visit-updated {
  color: var(--muted);
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
}
.visit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.visit-list li {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 0.95rem;
}
.visit-list .where { font-weight: 600; }
.visit-list .when {
  color: var(--muted);
  font-size: 0.85rem;
}

.foot {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html, .deck { scroll-behavior: auto; }
}

