/* Spot and Travel — mobile-first */
:root {
  --bg: #0f1218;
  --surface: #1a1f2a;
  --text: #f4f1ea;
  --muted: #a8b0c0;
  --accent: #e8c47c;
  --stay: #2f9e6b;
  --stay-hover: #278a5c;
  --stray: #c45c4a;
  --stray-hover: #a84b3c;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --tap: 48px;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-ui: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fly-ms: 300ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: rgba(15, 18, 24, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

/* Right cluster: Travel/Skip counts + language (desktop top-right) */
.header-end {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  margin-left: auto; /* absorb mid gap; flush tools to trailing edge */
}
@media (min-width: 640px) {
  .site-header {
    flex-wrap: nowrap;
  }
  .header-end {
    gap: 0.65rem;
  }
}
@media (min-width: 900px) {
  .header-end {
    gap: 0.75rem;
  }
}
@media (max-width: 639px) {
  .header-end {
    gap: 0.35rem;
    max-width: min(100%, 46vw);
  }
  .lang-switcher-btn {
    min-height: 44px;
    min-width: 44px;
  }
}
.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  min-width: var(--tap);
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.home-btn[hidden] { display: none !important; }
.brand-block {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
  max-width: min(300px, 68vw);
}
.brand,
.site-logo {
  margin: 0;
  display: block;
  width: 100%;
  text-decoration: none;
  color: inherit;
  line-height: 0;
}
.site-logo img {
  display: block;
  height: 3.15rem;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  /* Locked brand lockup — sharp & clear, no blur/filters */
  filter: none;
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
  -webkit-user-drag: none;
  user-select: none;
}
.tagline {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.7rem;
  width: 100%;
  text-align: center;
  letter-spacing: 0.01em;
  line-height: 1.25;
}
.session-stats {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.session-stats strong { color: var(--text); font-weight: 600; }

.wrap {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
}

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}
.tab-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
}
.tab-nav a:hover,
.tab-nav a[aria-current="page"] {
  border-color: var(--accent);
  color: var(--accent);
}
.tab-nav a.featured {
  background: linear-gradient(135deg, rgba(232, 196, 124, 0.18), rgba(232, 196, 124, 0.05));
}

.deck-section-label {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.intro-blurb {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.intro-blurb strong { color: var(--text); }

.deck {
  position: relative;
  touch-action: pan-y;
}
.deck-stack {
  position: relative;
}
.card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--fly-ms) ease-out, opacity var(--fly-ms) ease-out;
  will-change: transform, opacity;
}
.card-active {
  position: relative;
  z-index: 2;
}
.card-next {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
  transform: scale(0.985);
  opacity: 0.92;
  /* Photo-only peek under the active card during fly-off */
}
.card-next .photo-stage {
  border-radius: var(--radius);
}
.card.fly-stay {
  transform: translateX(120%) rotate(8deg);
  opacity: 0;
}
.card.fly-stray {
  transform: translateX(-120%) rotate(-8deg);
  opacity: 0;
}
.card.dragging {
  transition: none;
}

.photo-stage {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #000;
  overflow: hidden;
  user-select: none;
}
@media (min-width: 640px) {
  .photo-stage { aspect-ratio: 4 / 3; max-height: 62vh; }
}
.photo-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 3.5rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
}
.place-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  line-height: 1.15;
  color: #f4f1ea;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.place-line {
  margin: 0.25rem 0 0;
  color: rgba(244, 241, 234, 0.85);
  font-size: 0.95rem;
}
.progress {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  font-size: 0.75rem;
  color: #fff;
}

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: var(--tap);
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
}
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-stray { background: var(--stray); }
.btn-stray:hover:not(:disabled) { background: var(--stray-hover); }
.btn-stay { background: var(--stay); }
.btn-stay:hover:not(:disabled) { background: var(--stay-hover); }
.btn-undo {
  grid-column: 1 / -1;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  font-weight: 600;
  min-height: 44px;
}
.btn-undo:hover:not(:disabled) { color: var(--text); border-color: var(--muted); }
.btn-undo[hidden] { display: none; }

.facts {
  padding: 0 1rem 1rem;
}
.one-liner {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.why-go { margin: 0 0 0.85rem; color: #d7dbe4; }
.why-more {
  display: none;
  margin: 0.35rem 0 0;
  padding: 0.35rem 0.65rem;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.meta-grid {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}
.meta-grid dt {
  margin: 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.meta-grid dd {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
}
.photo-credit {
  margin: 0.9rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}
.photo-credit a { color: var(--muted); }

.ad-slot {
  margin: 0 1rem 1.1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px dashed rgba(232, 196, 124, 0.45);
  background: rgba(232, 196, 124, 0.08);
}
.ad-slot .ad-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}
.ad-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}
.ad-cta:hover { text-decoration: underline; }
.ad-note {
  margin: 0.35rem 0 0;
  font-size: 0.7rem;
  color: var(--muted);
}

/* "Plan this trip" panel — location-focused partner links for the card shown */
.plan-trip .plan-kicker {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}
.plan-links {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}
.plan-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(232, 196, 124, 0.3);
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  text-decoration: none;
  line-height: 1.2;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.plan-link:hover,
.plan-link:focus-visible {
  border-color: var(--accent);
  background: rgba(232, 196, 124, 0.12);
}
.plan-ico { font-size: 1.15rem; flex: 0 0 auto; }
.plan-text { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.plan-label {
  font-weight: 700;
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}
.plan-brand { font-size: 0.7rem; color: var(--muted); }
.plan-arrow { color: var(--accent); flex: 0 0 auto; font-size: 0.85rem; }
.plan-note {
  margin: 0.5rem 0 0;
  font-size: 0.7rem;
  color: var(--muted);
}

/* Post-Travel sheet: fixed at the bottom, never over the swipe buttons for long */
.plan-sheet {
  position: fixed;
  left: 50%;
  bottom: 12px;
  z-index: 60;
  width: min(560px, calc(100vw - 20px));
  transform: translate(-50%, 130%);
  transition: transform 0.25s ease;
  padding: 0.75rem 0.85rem 0.6rem;
  border-radius: 14px;
  border: 1px solid rgba(232, 196, 124, 0.55);
  background: #141923;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
}
.plan-sheet.is-open { transform: translate(-50%, 0); }
.plan-sheet[hidden] { display: none; }
.plan-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.plan-sheet-title {
  margin: 0;
  font-weight: 700;
  color: var(--accent);
  font-size: 0.92rem;
}
.plan-sheet-close {
  min-width: 36px;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}
.plan-links--sheet .plan-link { min-height: 44px; }
@media (max-width: 420px) {
  .plan-links { gap: 0.4rem; }
  .plan-link { padding: 0.45rem 0.5rem; gap: 0.4rem; }
  .plan-label { font-size: 0.8rem; }
  .plan-sheet .plan-note { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .plan-sheet { transition: none; }
}

/* Klook affiliate rail — desktop fixed in far-right page gutter; mobile under Stay nearby */
.klook-rail {
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  border: 1px dashed rgba(232, 196, 124, 0.45);
  background: rgba(232, 196, 124, 0.08);
  touch-action: manipulation;
}
.klook-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}
.klook-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}
.klook-cta:hover { text-decoration: underline; }

.klook-widget-mount {
  min-height: 0;
  width: 100%;
  overflow: hidden;
  flex: 1 1 auto;
}
.klook-widget-mount iframe {
  max-width: 100% !important;
}
.klook-fallback--secondary {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  min-height: 40px;
}

/* Narrow / tablet: no gutter rail; unit under Stay nearby */
.klook-rail--desktop { display: none; }
.klook-rail--mobile {
  display: block;
  margin: 0 1rem 1.1rem;
}

/* Wide desktop: pin rail in far-right viewport gutter (below sticky header).
   ~720px centered wrap + gap + ~200–240px rail needs roughly ≥1200px.
   JS syncs top/height to deck chrome → Travel/Skip buttons. */
@media (min-width: 1200px) {
  .klook-rail--desktop {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    position: fixed;
    top: 5.5rem; /* overridden by syncKlookRailGeometry */
    right: 1.25rem;
    width: 220px;
    min-height: min(70vh, 36rem);
    max-height: none;
    overflow: auto;
    z-index: 30; /* below .site-header (40) so counts/lang stay clear */
    margin: 0;
    touch-action: manipulation;
    pointer-events: auto;
  }
  .klook-rail--desktop .klook-widget-mount {
    min-height: 12rem;
  }
  .klook-rail--mobile { display: none; }
}

.end-deck {
  text-align: center;
  padding: 2.5rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.end-deck h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4vw, 1.6rem);
  line-height: 1.3;
}
.end-deck p { color: var(--muted); margin: 0 0 1rem; }
.end-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.end-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}
.end-tabs a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.site-footer {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 1.5rem 1rem 2.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.75rem;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
.coffee-support {
  margin: 0.5rem 0 1.25rem;
  text-align: center;
}
.coffee-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  min-height: 52px;
  padding: 0 0.2rem 0 1.35rem;
  border: 2px solid #111;
  border-radius: 999px;
  background: #fff !important;
  color: #000 !important;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.coffee-link-text {
  line-height: 1.1;
  white-space: nowrap;
}
.coffee-link-icon {
  display: block;
  width: 44px;
  height: 44px;
  margin: 2px 2px 2px 0;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  /* keep yellow BMC mark readable inside the white pill */
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.coffee-link:hover,
.coffee-link:focus-visible {
  background: #fff !important;
  color: #000 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.disclosure { margin: 0 0 0.5rem; }
.about-blurb { margin: 0.75rem 0 0; max-width: 40rem; }
.legal-disclaimer { margin: 0.5rem 0 0; max-width: 40rem; color: var(--muted); font-size: 0.75rem; line-height: 1.45; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Collapse why_go after first 2 sentences on very small screens only */
@media (max-width: 380px) {
  .why-go.collapse-sm:not(.is-expanded) .why-rest {
    display: none;
  }
  .why-go.collapse-sm .why-more {
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 420px) {
  .session-stats { font-size: 0.68rem; }
  .brand-block {
    max-width: min(260px, 66vw);
  }
  .site-logo img {
    height: 2.9rem;
  }
  .tagline {
    font-size: 0.62rem;
    text-align: center;
  }
}

/* —— Language switcher (inside .header-end, desktop trailing edge) —— */
.lang-switcher {
  position: relative;
  flex-shrink: 0;
}
.lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: var(--tap);
  min-width: var(--tap);
  padding: 0 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.lang-switcher-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.lang-switcher-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.lang-caret { font-size: 0.65rem; opacity: 0.75; }
.lang-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 50;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  min-width: 9.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}
.lang-menu[hidden] { display: none !important; }
.lang-option {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 0.35rem 0.75rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.lang-option:hover,
.lang-option:focus-visible {
  background: rgba(232, 196, 124, 0.12);
  color: var(--accent);
  outline: none;
}
.lang-option.is-active {
  color: var(--accent);
  font-weight: 700;
}
.lang-option.is-active::after {
  content: "✓";
  margin-left: auto;
  padding-left: 0.5rem;
  font-size: 0.8rem;
}

/* —— Clickable Travel/Skip counts —— */
.session-stats {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.stat-btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: inherit;
  padding: 0.25rem 0.35rem;
  margin: 0;
  border-radius: 8px;
  cursor: pointer;
  min-height: 44px;
  white-space: nowrap;
}
.stat-btn:hover,
.stat-btn:focus-visible {
  border-color: var(--border);
  color: var(--text);
  outline: none;
}
.stat-btn.stat-stay:hover,
.stat-btn.stat-stay:focus-visible { color: var(--stay); }
.stat-btn.stat-stray:hover,
.stat-btn.stat-stray:focus-visible { color: var(--stray); }
.stat-btn strong { color: var(--text); font-weight: 600; }
.stat-sep { color: var(--muted); user-select: none; }

/* —— Travel/Skip list panel —— */
body.list-panel-open { overflow: hidden; }
.list-panel {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.list-panel[hidden] { display: none !important; }
.list-panel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.list-panel-sheet {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(85vh, 720px);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
  padding: 0.75rem 1rem 1.25rem;
}
@media (min-width: 640px) {
  .list-panel { align-items: center; }
  .list-panel-sheet {
    border-radius: 16px;
    max-height: min(80vh, 640px);
  }
}
.list-panel-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.list-panel-title {
  flex: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.list-panel-close {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  min-height: 44px;
  padding: 0 0.85rem;
  border-radius: 999px;
  cursor: pointer;
}
.list-panel-close:hover,
.list-panel-close:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  outline: none;
}
.list-panel-note {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.8rem;
}
.list-panel-body {
  overflow: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
.list-empty {
  margin: 1rem 0;
  color: var(--muted);
  text-align: center;
}
.place-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.place-list-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
}
.place-list-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #000;
}
.place-list-thumb.placeholder {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
}
.place-list-text {
  min-width: 0;
  flex: 1;
}
.place-list-name {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
}
.place-list-line {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.place-list-reorder {
  display: grid;
  grid-template-columns: repeat(2, minmax(44px, auto));
  grid-auto-rows: minmax(44px, auto);
  gap: 0.15rem;
  flex-shrink: 0;
  margin-left: auto;
  align-content: center;
}
.place-list-move {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
}
.place-list-move:hover:not(:disabled),
.place-list-move:focus-visible:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
  outline: none;
}
.place-list-move:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.daily-deck-note {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* —— Location Randomizer / prize wheel —— */
.randomizer {
  margin: 0 0 2rem;
}
.randomizer-intro {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.randomizer-controls {
  display: grid;
  gap: 1rem;
  margin: 0 0 1rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
@media (min-width: 720px) {
  .randomizer-controls {
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: end;
  }
}
.randomizer-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}
.randomizer-label {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.randomizer-select {
  appearance: none;
  min-height: var(--tap);
  padding: 0.5rem 2.25rem 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a8b0c0' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0.9rem center;
  color: var(--text);
  font: inherit;
  font-weight: 500;
  width: 100%;
}
.randomizer-select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.randomizer-fieldset {
  margin: 0;
  padding: 0;
  border: none;
  min-width: 0;
}
.randomizer-geo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.randomizer-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}
.randomizer-chip:has(input:checked) {
  border-color: var(--accent);
  color: var(--accent);
  background: linear-gradient(135deg, rgba(232, 196, 124, 0.18), rgba(232, 196, 124, 0.05));
}
.randomizer-chip input {
  accent-color: var(--accent);
}
.randomizer-pool {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.randomizer-empty {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(196, 92, 74, 0.35);
  background: rgba(196, 92, 74, 0.12);
  color: var(--text);
  font-size: 0.9rem;
}
.wheel-stage {
  position: relative;
  width: min(100%, 420px);
  margin: 0.5rem auto 1.25rem;
  aspect-ratio: 1;
}
.wheel-canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(232, 196, 124, 0.25), 0 12px 40px rgba(0, 0, 0, 0.45);
  background: var(--surface);
}
.wheel-pointer {
  position: absolute;
  top: -4px;
  left: 50%;
  z-index: 2;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 22px solid var(--accent);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}
.randomizer-actions {
  display: flex;
  justify-content: center;
  margin: 0 0 1.5rem;
}
.randomizer-actions .btn {
  min-width: min(100%, 220px);
  padding: 0 1.5rem;
  background: var(--accent);
  color: #1a1408;
}
.randomizer-actions .btn:hover:not(:disabled) {
  filter: brightness(1.05);
}
.randomizer-reset-wrap {
  margin: 0 0 1rem;
  text-align: center;
}
.randomizer-reset {
  display: inline-flex;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
}
.randomizer-reset:hover {
  color: var(--text);
  border-color: var(--muted);
}
/* Location Randomizer — gold pill with site navy letters */
.tab-nav a.tab-nav-wheel {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  font-weight: 700;
}
.tab-nav a.tab-nav-wheel:hover,
.tab-nav a.tab-nav-wheel[aria-current="page"] {
  background: var(--bg);
  color: var(--accent);
  border-color: var(--accent);
}

/* Submit a Place — visual opposite of dark surface pills */
.tab-nav a.tab-nav-submit {
  background: #f4f1ea;
  color: #0f1218;
  border-color: rgba(15, 18, 24, 0.35);
  font-weight: 700;
}
.tab-nav a.tab-nav-submit:hover,
.tab-nav a.tab-nav-submit[aria-current="page"] {
  background: #0f1218;
  color: #f4f1ea;
  border-color: var(--accent);
}

/* —— Submit a Place form —— */
.submit-place {
  margin: 0 0 2rem;
  max-width: 42rem;
}
.submit-place-intro {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.submit-place-form {
  display: grid;
  gap: 1rem;
  padding: 1.1rem 1.15rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.submit-row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .submit-row {
    grid-template-columns: 1fr 1fr;
  }
}
.submit-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}
.submit-label {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.submit-input,
.submit-select,
.submit-textarea {
  width: 100%;
  min-height: var(--tap);
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-weight: 500;
}
.submit-select {
  appearance: none;
  border-radius: 999px;
  padding-right: 2.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a8b0c0' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
}
.submit-textarea {
  min-height: 6.5rem;
  resize: vertical;
  line-height: 1.45;
}
.submit-input:focus-visible,
.submit-select:focus-visible,
.submit-textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.submit-fieldset {
  margin: 0;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: grid;
  gap: 0.55rem;
}
.submit-radio,
.submit-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--text);
  cursor: pointer;
}
.submit-radio input,
.submit-check input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--accent);
}
.submit-hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}
.submit-total {
  margin: 0.25rem 0 0;
  font-size: 1rem;
}
.submit-disclaimer {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}
.submit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.submit-actions .btn {
  min-width: 10rem;
  padding: 0 1.25rem;
}
.submit-review {
  margin: 0.25rem 0 0;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 0.45rem;
}
.submit-review-heading {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}
.submit-review-lines {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.25rem;
  font-size: 0.92rem;
  line-height: 1.4;
}
.submit-hold-summary {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.submit-checkout-notice {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 0.35rem;
}
.submit-checkout-notice[hidden] { display: none; }
.submit-checkout-notice.is-success {
  border-color: rgba(47, 158, 107, 0.55);
  background: rgba(47, 158, 107, 0.12);
}
.submit-checkout-notice.is-cancel {
  border-color: rgba(232, 196, 124, 0.5);
  background: rgba(232, 196, 124, 0.08);
}
.submit-checkout-notice p { margin: 0; line-height: 1.45; }
.submit-checkout-notice-ref { font-weight: 700; font-size: 0.92rem; }
.submit-continue-checkout {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.submit-continue-checkout[hidden] { display: none; }
.submit-acks {
  gap: 0.65rem;
}

.photo-drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  min-height: 9.5rem;
  padding: 0.85rem;
  border: 1.5px dashed var(--border);
  border-radius: 12px;
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.photo-drop:focus-visible,
.photo-drop.photo-drop-active {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}
.photo-drop.has-preview {
  border-style: solid;
}
.photo-drop-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.photo-drop-inner {
  display: grid;
  gap: 0.35rem;
  pointer-events: none;
}
.photo-drop-inner[hidden] {
  display: none !important;
}
.photo-drop-cta {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.photo-preview {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
}
.photo-preview[hidden] {
  display: none !important;
}
.photo-drop-error {
  margin: 0;
  font-size: 0.8rem;
  color: #f07178;
  line-height: 1.35;
}
.photo-drop-error[hidden] {
  display: none !important;
}


.wheel-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}
.wheel-modal[hidden] {
  display: none !important;
}
.wheel-modal-card {
  width: min(100%, 440px);
  max-height: min(92vh, 720px);
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.wheel-modal-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #000;
}
.wheel-modal-body {
  padding: 1rem 1.1rem 1.25rem;
}
.wheel-modal-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  line-height: 1.2;
}
.wheel-modal-line {
  margin: 0.25rem 0 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.wheel-modal-facts {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--text);
}
.wheel-modal-credit {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.wheel-modal-credit a {
  color: var(--muted);
}
.wheel-modal-hotel {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0 0 1rem;
  font-weight: 600;
}
.wheel-modal-actions {
  display: grid;
  gap: 0.55rem;
}
.wheel-modal-actions .btn,
.wheel-modal-actions .btn-undo {
  width: 100%;
}
.wheel-modal-actions .btn-undo {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 600;
  min-height: 44px;
  cursor: pointer;
}

/* Inner navy rings on special tabs */
.tab-nav a.tab-nav-wheel{box-shadow: inset 0 0 0 3px var(--accent), inset 0 0 0 5px var(--bg);}
.tab-nav a.tab-nav-wheel:hover,.tab-nav a.tab-nav-wheel[aria-current="page"]{box-shadow: inset 0 0 0 3px var(--bg), inset 0 0 0 5px var(--accent);}
.tab-nav a.tab-nav-submit{box-shadow: inset 0 0 0 3px #f4f1ea, inset 0 0 0 4px var(--bg);}
.tab-nav a.tab-nav-submit:hover,.tab-nav a.tab-nav-submit[aria-current="page"]{box-shadow: inset 0 0 0 3px var(--bg), inset 0 0 0 4px #f4f1ea;}
