/* ChillSchedule — sky blue + soft mint & lavender (calm “chill” palette).
   Alternatives you can try in :root: dusty rose end #fce7f3, soft peach #ffedd5,
   sea-glass mint #ccfbf1, warm gray-lilac #f3e8ff. */

:root {
  --bg-start: #a8d4ef;
  --bg-mid: #d1e9f8;
  --bg-end: #eef6ff;
  --bg-chill-mint: rgba(204, 251, 241, 0.55);
  --bg-chill-lilac: rgba(237, 233, 254, 0.45);
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.12);
  --accent-2: #0d9488;
  --text: #0f172a;
  --text-muted: #475569;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 12px 40px rgba(37, 99, 235, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --font: "DM Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(120% 80% at 85% -10%, var(--bg-chill-lilac), transparent 50%),
    radial-gradient(90% 70% at -5% 60%, var(--bg-chill-mint), transparent 45%),
    linear-gradient(155deg, var(--bg-start) 0%, var(--bg-mid) 42%, var(--bg-end) 100%);
  background-attachment: fixed;
  line-height: 1.5;
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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");
  z-index: 0;
}

/* Publisher-style content (readable, calm editorial layout). */
.content-wrap {
  max-width: 42rem;
  margin: 1.35rem auto 0;
  padding: 0 clamp(0.25rem, 2vw, 0.5rem);
}

.content-wrap.content-card,
.publisher-site-guide {
  max-width: 52rem;
  padding: clamp(1.15rem, 2.8vw, 1.65rem) clamp(1.2rem, 3vw, 1.75rem);
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.88));
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.07);
}

.content-wrap h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--text);
}

.content-wrap h3 {
  margin: 1.35rem 0 0.45rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.content-wrap h3:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.content-wrap p {
  margin: 0.65rem 0 0;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.72;
}

.content-wrap p:first-of-type {
  margin-top: 0.35rem;
  color: var(--text);
}

.content-wrap ul {
  margin: 0.65rem 0 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  line-height: 1.72;
  font-size: 0.94rem;
}

.content-wrap li {
  margin: 0.35rem 0;
}

.content-wrap li::marker {
  color: var(--accent);
}

.content-wrap a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(37, 99, 235, 0.35);
}

.content-wrap a:hover {
  text-decoration-color: var(--accent);
}

.content-wrap--results-after {
  margin-top: 1.5rem;
}

.content-wrap__updated {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-form {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.85rem;
}

.contact-form__field {
  display: grid;
  gap: 0.35rem;
}

.contact-form__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font: inherit;
  font-size: 0.94rem;
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: 2px solid rgba(37, 99, 235, 0.35);
  outline-offset: 1px;
  border-color: rgba(37, 99, 235, 0.45);
}

.contact-form__submit {
  justify-self: start;
  margin-top: 0.25rem;
}

.contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.75rem;
  margin: 1.25rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid rgba(37, 99, 235, 0.14);
}

.contact-line__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-line__email {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  word-break: break-all;
}

.contact-line__email:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-hero .hero-inner h1 {
  margin-bottom: 0.35rem;
}

.page-hero .content-wrap.content-card {
  margin-top: 0.85rem;
}

.legal-meta {
  max-width: 52rem;
  margin: 0.75rem auto 0;
  padding: 0 clamp(1rem, 3vw, 1.5rem);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.legal-meta a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.legal-meta a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-supplement {
  max-width: 42rem;
  margin: 0 0 1.15rem;
  padding: 0.65rem 0 0.65rem 0.85rem;
  border-left: 3px solid rgba(37, 99, 235, 0.45);
}

.hero-supplement p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.58;
  color: var(--text-muted);
}

.hero-supplement a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  margin-left: 0.35rem;
}

.hero-supplement a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer .publisher-site-guide {
  margin: 1.5rem auto 0;
  text-align: left;
}

.tailor-cta-contact {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.tailor-cta-contact a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.tailor-cta-contact a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Hide auto-placed ads on tool/navigation screens until results are ready. */
body:not(.ads-allowed) ins.adsbygoogle,
body:not(.ads-allowed) iframe[id^="aswift_"],
body:not(.ads-allowed) iframe[src*="googlesyndication"],
body:not(.ads-allowed) iframe[src*="doubleclick.net"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1rem, 4vw, 1.75rem);
  max-width: 1220px;
  margin: 0 auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 8px;
}

.logo-mark {
  height: 3rem;
  width: auto;
  max-width: min(11rem, 46vw);
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
  vertical-align: middle;
}

.logo-text {
  white-space: nowrap;
}

.logo:hover {
  color: var(--accent);
}

.logo:focus:not(:focus-visible) {
  outline: none;
}

.logo:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.45);
  outline-offset: 3px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.tier-badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.tier-badge[data-tier="member"] {
  background: linear-gradient(135deg, #dbeafe, #e0f2fe);
  color: var(--accent);
  border-color: rgba(37, 99, 235, 0.25);
}

.btn {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
  background: var(--surface-solid);
  color: var(--accent);
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.5);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.85);
}

.btn-wide {
  width: 100%;
  padding: 0.85rem 1.25rem;
}

.btn-inline {
  margin-top: 0.5rem;
  width: auto;
}

.hidden {
  display: none !important;
}

main {
  position: relative;
  z-index: 1;
  padding-bottom: 1.5rem;
}

/* Hero / landing */
.hero {
  padding: 1rem clamp(1rem, 4vw, 2rem) clamp(1.25rem, 3.6vw, 2rem);
  max-width: 1220px;
  margin: 0 auto;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.hero-inner h1 {
  font-size: clamp(1.35rem, 2.8vw + 0.3rem, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.55rem;
  line-height: 1.1;
}

.lede {
  font-size: clamp(0.92rem, 1.1vw + 0.72rem, 1.06rem);
  color: var(--text-muted);
  max-width: 38rem;
  margin: 0 0 1.35rem;
  line-height: 1.62;
  white-space: normal;
  letter-spacing: 0.01em;
}

/* Stack choice cards + picker + globe */
#landing-place {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

/* Landing: choose darts vs manual */
.landing-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .landing-choice {
    grid-template-columns: 1fr;
  }
}

.landing-option-card {
  margin: 0;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 100%;
  position: relative;
  overflow: hidden;
}

.landing-option-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 4px 0 0 4px;
}

.landing-option-card--darts::before {
  background: linear-gradient(180deg, #f97316, #ea580c);
}

.landing-option-card--manual::before {
  background: linear-gradient(180deg, #2563eb, #0d9488);
}

.landing-option-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
}

.landing-option-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.landing-option-desc {
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.landing-option-card .btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}

.landing-detail {
  max-width: 1120px;
  margin: 0 auto;
}

.landing-detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1rem, 2.5vw, 1.35rem);
  backdrop-filter: blur(12px);
}

.landing-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.landing-picker-hint {
  margin: 0;
  flex: 1;
  min-width: min(100%, 18rem);
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.landing-picker-hint strong {
  font-weight: 650;
  color: var(--text);
}

.landing-back {
  flex-shrink: 0;
}

.landing-left {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 0;
}

/* ─── Play darts: “arena” placement zone ─── */
.landing-panel--darts {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.landing-place--dart-mode .landing-picker-hint {
  opacity: 0.72;
}

.dart-zone {
  position: relative;
  border-radius: var(--radius);
  padding: 1rem 1.15rem 1.2rem;
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(15, 23, 42, 0.97) 0%, rgba(30, 41, 59, 0.94) 42%, rgba(15, 23, 42, 0.98) 100%);
  border: 1px solid rgba(249, 115, 22, 0.38);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 22px 48px rgba(2, 6, 23, 0.38),
    0 0 60px rgba(249, 115, 22, 0.14);
}

.dart-zone__glow {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(ellipse 55% 45% at 18% 12%, rgba(249, 115, 22, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 88% 78%, rgba(56, 189, 248, 0.12), transparent 50%);
  pointer-events: none;
  animation: dart-zone-glow-shift 7s ease-in-out infinite alternate;
}

@keyframes dart-zone-glow-shift {
  0% {
    opacity: 0.85;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 1;
    transform: translate(2%, -1%) scale(1.03);
  }
}

.dart-zone__scanlines {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.35) 2px, rgba(0, 0, 0, 0.35) 3px);
  pointer-events: none;
  mix-blend-mode: overlay;
}

.dart-zone__head {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 0.75rem;
}

.dart-zone__head-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.dart-zone__bullseye {
  margin: 0.15rem auto 0.4rem;
  filter: drop-shadow(0 6px 16px rgba(249, 115, 22, 0.35));
  animation: dart-bullseye-float 3.2s ease-in-out infinite;
}

@keyframes dart-bullseye-float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-3px) rotate(1deg);
  }
}

.dart-zone__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(105deg, #fff 0%, #fed7aa 45%, #fb923c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dart-zone__subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.78);
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

.dart-zone__location {
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 0 0 0.75rem;
  padding: 0.85rem 0.75rem 0.95rem;
  border-radius: var(--radius-sm);
  background: rgba(2, 6, 23, 0.35);
  border: 1px solid rgba(251, 191, 36, 0.22);
}

.dart-zone__location-kicker {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 191, 36, 0.8);
  margin-bottom: 0.35rem;
}

.dart-zone__location-name {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #f8fafc;
  transition: color 0.25s ease, transform 0.25s ease;
}

.dart-zone--has-location .dart-zone__location-name {
  background: linear-gradient(105deg, #fff 0%, #fed7aa 42%, #fb923c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dart-zone--throwing .dart-zone__location-name {
  color: rgba(226, 232, 240, 0.75);
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-weight: 700;
}

.dart-zone__location-meta {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(148, 163, 184, 0.95);
}

.place-globe-selected {
  margin: 0.15rem 0 0;
  flex: 1;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.25;
}

.landing-place--dart-mode .place-globe-head {
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.65rem;
}

.landing-place--dart-mode #map-panel-label {
  flex: 0 0 auto;
}

.landing-place--dart-mode .place-globe-selected:not([hidden]) {
  flex: 1 1 100%;
  order: 3;
  padding: 0.35rem 0 0;
}

.dart-zone__badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fed7aa;
  background: rgba(249, 115, 22, 0.18);
  border: 1px solid rgba(251, 191, 36, 0.35);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.dart-zone__pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  animation: dart-live-pulse 2s ease-out infinite;
}

@keyframes dart-live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.dart-zone__lede {
  position: relative;
  z-index: 1;
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(148, 163, 184, 0.95);
  text-align: center;
}

.dart-zone__actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-bottom: 0.65rem;
}

.btn-dart-throw {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  background: transparent;
  border-radius: 999px;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.btn-dart-throw:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.06);
}

.btn-dart-throw:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
}

.btn-dart-throw:disabled {
  cursor: wait;
  opacity: 0.88;
}

.btn-dart-throw__ring {
  position: absolute;
  z-index: 0;
  inset: -3px;
  border-radius: inherit;
  background: conic-gradient(from 210deg, #fb923c, #f97316, #fbbf24, #38bdf8, #fb923c);
  opacity: 0.85;
  animation: dart-btn-spin 3.5s linear infinite;
}

.dart-zone--throwing .btn-dart-throw__ring {
  animation-duration: 0.85s;
  opacity: 1;
}

@keyframes dart-btn-spin {
  to {
    transform: rotate(360deg);
  }
}

.btn-dart-throw__inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.58rem 1.15rem 0.58rem 0.95rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0f172a;
  background: linear-gradient(165deg, #fff7ed 0%, #fdba74 38%, #ea580c 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.45) inset,
    0 10px 28px rgba(234, 88, 12, 0.45);
}

.btn-dart-throw__icon {
  flex-shrink: 0;
  color: #9a3412;
  opacity: 0.95;
}

.dart-readout {
  margin: 0;
}

.map-shell--darts-arena {
  box-shadow:
    0 0 0 2px rgba(249, 115, 22, 0.35),
    0 0 40px rgba(249, 115, 22, 0.2),
    0 18px 40px rgba(2, 6, 23, 0.14);
  animation: dart-map-arena-pulse 2.8s ease-in-out infinite;
}

@keyframes dart-map-arena-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(249, 115, 22, 0.32),
      0 0 36px rgba(249, 115, 22, 0.16),
      0 18px 40px rgba(2, 6, 23, 0.14);
  }
  50% {
    box-shadow:
      0 0 0 3px rgba(251, 191, 36, 0.45),
      0 0 52px rgba(249, 115, 22, 0.28),
      0 18px 40px rgba(2, 6, 23, 0.14);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dart-zone__glow,
  .dart-zone__bullseye,
  .btn-dart-throw__ring,
  .map-shell--darts-arena {
    animation: none !important;
  }

  .dart-zone__pulse-dot {
    animation: none;
    box-shadow: none;
  }
}

 .hero-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
 }

.hero-actions--inline {
  margin-top: 0.35rem;
}

.hero-actions--landing {
  width: 100%;
}

@media (min-width: 721px) {
  .btn-wide--landing {
    width: 100%;
    max-width: 17.5rem;
  }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 50;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.28);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  max-width: min(92vw, 520px);
  text-align: center;
}

.toast.is-showing {
  display: block;
}

.toast[hidden] {
  display: none !important;
}

 

/* Planner */
.planner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
}

.planner-inner {
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.planner-inner h2 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
}

.planner-sub {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}


.plan-form .field {
  display: block;
  margin-bottom: 1.25rem;
}

 .place-picker {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1rem 1.25rem;
  align-items: stretch;
 }

 @media (max-width: 720px) {
  .place-picker {
    grid-template-columns: 1fr;
  }
 }

 .place-suggestions {
  margin-top: 0.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-solid);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
 }

 .place-suggestion {
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: transparent;
  padding: 0.6rem 0.75rem;
  cursor: pointer;
  display: grid;
  gap: 0.15rem;
 }

 .place-suggestion:last-child {
  border-bottom: 0;
 }

 .place-suggestion:hover,
 .place-suggestion.is-active {
  background: rgba(37, 99, 235, 0.08);
 }

 .place-suggestion-title {
  font-weight: 650;
  color: var(--text);
 }

 .place-suggestion-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
 }

 .place-globe-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
 }

.place-globe-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.map-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.6);
  touch-action: manipulation;
}

.map-shell .map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  border: none;
  border-radius: 999px;
  overflow: hidden;
  background: transparent;
  z-index: 1;
}

.dart-flight-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  border-radius: inherit;
  overflow: visible;
}

/* Cinematic framing — subtle vignette + cool tint while the dart is in flight */
.dart-flight-overlay.dart-flight-overlay--active::before {
  content: "";
  position: absolute;
  inset: -12%;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 85% 75% at 50% 45%, transparent 0%, transparent 42%, rgba(15, 23, 42, 0.42) 100%),
    radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.06), transparent 55%);
  opacity: 0;
  animation: dart-vignette-reveal 380ms ease-out forwards;
  pointer-events: none;
  z-index: 0;
}

.dart-flight-overlay.dart-flight-overlay--active::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 80px rgba(14, 165, 233, 0.07);
  opacity: 0;
  animation: dart-vignette-reveal 500ms ease-out forwards;
  pointer-events: none;
  z-index: 0;
}

@keyframes dart-vignette-reveal {
  to {
    opacity: 1;
  }
}

.dart-trail-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.dart-trail-dot {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.65), rgba(249, 115, 22, 0.15) 55%, transparent 72%);
  filter: blur(0.5px);
  transform: translate(-50%, -50%);
}

.dart-flight-sprite {
  position: absolute;
  z-index: 2;
  will-change: transform, left, top;
}

.dart-flight-sprite__glow {
  filter:
    drop-shadow(0 0 4px rgba(251, 191, 36, 0.5))
    drop-shadow(0 0 8px rgba(249, 115, 22, 0.25))
    drop-shadow(1px 2px 4px rgba(15, 23, 42, 0.4));
}

.dart-flight-sprite svg {
  display: block;
}

.dart-impact-ring {
  position: absolute;
  z-index: 4;
  width: 30px;
  height: 30px;
  margin-left: -15px;
  margin-top: -15px;
  border-radius: 50%;
  border: 2px solid rgba(249, 115, 22, 0.9);
  background: radial-gradient(circle, rgba(251, 191, 36, 0.35), rgba(249, 115, 22, 0.08) 45%, transparent 68%);
  opacity: 0;
  transform: scale(0.35);
  animation: dart-impact-pop 560ms ease-out forwards;
  pointer-events: none;
}

.dart-impact-ring--delayed {
  width: 38px;
  height: 38px;
  margin-left: -19px;
  margin-top: -19px;
  border-width: 2px;
  border-color: rgba(251, 191, 36, 0.75);
  background: transparent;
  animation: dart-impact-wave 680ms ease-out 80ms forwards;
}

.dart-impact-ring--outer {
  width: 52px;
  height: 52px;
  margin-left: -26px;
  margin-top: -26px;
  border-width: 1px;
  border-color: rgba(14, 165, 233, 0.35);
  background: transparent;
  animation: dart-impact-wave 820ms ease-out 140ms forwards;
}

@keyframes dart-impact-wave {
  0% {
    opacity: 0;
    transform: scale(0.25);
  }
  40% {
    opacity: 0.85;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

@keyframes dart-impact-pop {
  0% {
    opacity: 0;
    transform: scale(0.35);
  }
  35% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

.dart-impact-spark {
  position: absolute;
  z-index: 5;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  margin-top: -2px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fef9c3, #f97316 55%, #c2410c);
  box-shadow: 0 0 6px rgba(251, 191, 36, 0.85);
  animation: dart-spark-out 480ms ease-out forwards;
  pointer-events: none;
}

@keyframes dart-spark-out {
  from {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  to {
    transform: translate(var(--sx), var(--sy)) scale(0.15);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dart-flight-overlay.dart-flight-overlay--active::before,
  .dart-flight-overlay.dart-flight-overlay--active::after {
    animation: none;
    opacity: 0.7;
  }

  .dart-impact-ring,
  .dart-impact-ring--delayed,
  .dart-impact-ring--outer {
    animation: none;
    opacity: 0.75;
    transform: scale(1);
  }

  .dart-impact-spark {
    animation: none;
    opacity: 0;
  }
}

.map::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 70% 78%, rgba(15, 23, 42, 0.22), rgba(15, 23, 42, 0) 58%);
  mix-blend-mode: soft-light;
  opacity: 0.85;
}

.map::after {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  border-radius: 999px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.35),
    inset -22px -30px 70px rgba(15, 23, 42, 0.24),
    0 18px 40px rgba(2, 6, 23, 0.14);
}

.map .maplibregl-canvas,
.map .maplibregl-map {
  border-radius: 999px;
}

.map .maplibregl-canvas-container,
.map canvas.maplibregl-canvas {
  pointer-events: auto !important;
  touch-action: manipulation;
}

.map-load-hint {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
  max-width: 28rem;
}

.place-globe {
  position: relative;
}

.place-picker--landing .place-globe {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.place-picker--landing .map-shell {
  min-height: 220px;
  max-width: min(42vw, 420px);
  width: 100%;
  justify-self: end;
  align-self: start;
}

@media (max-width: 720px) {
  .place-picker--landing .map-shell {
    max-width: 100%;
    justify-self: stretch;
  }
}

.map .maplibregl-control-container .maplibregl-ctrl {
  font-family: var(--font);
}

.destination-picked {
  margin: 0.4rem 0 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.45);
}

.destination-picked-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.plan-form .subfield {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}


.plan-form .sub-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.field-calendar {
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--border);
}

.calendar-intro {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.date-pick-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.date-pick-tab {
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.6);
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.date-pick-tab:hover {
  border-color: rgba(37, 99, 235, 0.25);
  color: var(--text);
}

.date-pick-tab.is-active {
  background: var(--accent-soft);
  border-color: rgba(37, 99, 235, 0.35);
  color: var(--accent);
}

.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.btn-cal-nav {
  min-width: 2.25rem;
  padding: 0.35rem 0.5rem;
  font-size: 1.1rem;
  line-height: 1;
}

.calendar-month-label {
  font-size: 0.95rem;
  font-weight: 600;
  flex: 1;
  text-align: center;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.3rem;
}

.cal-cell.cal-cell--pad {
  min-height: 2.25rem;
}

.cal-day {
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  min-height: 2.25rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--text);
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.cal-day:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(37, 99, 235, 0.22);
}

.cal-day--past,
.cal-day:disabled {
  cursor: not-allowed;
  opacity: 0.38;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.35);
}

.cal-day--max {
  cursor: not-allowed;
  opacity: 0.38;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.35);
}

.cal-day--past:hover,
.cal-day:disabled:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: transparent;
}

.cal-day--range {
  background: rgba(37, 99, 235, 0.12);
  color: var(--accent);
}

.cal-day--start,
.cal-day--end {
  background: var(--accent);
  color: #fff;
  border-color: rgba(37, 99, 235, 0.5);
}

.cal-day--start.cal-day--end {
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
}

.calendar-summary {
  margin: 0.65rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 520px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

.label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-family: var(--font);
  font-size: 1rem;
  background: var(--surface-solid);
}

.field textarea {
  resize: vertical;
  min-height: 80px;
}

.hint {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}


.form-error {
  color: #b91c1c;
  font-size: 0.875rem;
  margin: -0.5rem 0 1rem;
}

.member-upsell {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid rgba(37, 99, 235, 0.2);
  font-size: 0.9rem;
  color: var(--text);
}

/* Results */
.results {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.results-inner h2 {
  margin: 0 0 0.5rem;
}

.results-intro {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.weather-strip {
  margin-bottom: 2rem;
}

.weather-loc-note {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.weather-strip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.weather-strip-head h3 {
  margin: 0;
}

.weather-strip h3 {
  font-size: 1rem;
}

.btn-sm {
  font-size: 0.8rem;
  padding: 0.4rem 0.75rem;
}

.weather-source {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.weather-source a {
  color: var(--accent);
  font-weight: 600;
}

.weather-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.weather-card {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  min-width: 120px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.weather-card--nodata .weather-snapshot-svg {
  color: var(--text-muted);
}

.weather-snapshot-icon {
  flex-shrink: 0;
  line-height: 0;
}

.weather-snapshot-svg {
  width: 2.5rem;
  height: 2.5rem;
  display: block;
}

.weather-card-body {
  min-width: 0;
  flex: 1;
}

.weather-card .date {
  font-weight: 600;
  font-size: 0.85rem;
}

.weather-card .temp {
  font-size: 1.1rem;
  color: var(--accent);
}

.weather-card .cond {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.schedule {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Shown once under the results weather strip, before the first day card */
.schedule-top-picks {
  width: 100%;
  max-width: 100%;
}

.schedule-top-picks .day-top-picks {
  margin-bottom: 0;
}

.day-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--surface);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}

.day-card > .day-card-weather-snapshot,
.day-card > .day-card-schedule {
  width: 100%;
  max-width: 100%;
  flex: 0 0 auto;
}

.day-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
}

.day-card-head h3 {
  margin: 0 0 0.25rem;
  flex: 1;
  min-width: min(100%, 12rem);
}

.activity-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.25rem;
}

.activity-title-block {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.activity-time-slot {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-2);
  border: 1px solid rgba(13, 148, 136, 0.35);
  background: rgba(13, 148, 136, 0.1);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  line-height: 1.2;
  margin-top: 0.1rem;
}

.activity-item-head .activity-title {
  flex: 1;
  min-width: 0;
  margin: 0;
}

.activity-regenerate-btn {
  flex-shrink: 0;
  max-width: 100%;
  text-align: center;
  line-height: 1.25;
  white-space: nowrap;
  cursor: pointer;
}

.activity-item--updated {
  animation: activity-item-updated 1.5s ease-out;
  outline: 2px solid rgba(37, 99, 235, 0.45);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

@keyframes activity-item-updated {
  0% {
    background: rgba(37, 99, 235, 0.14);
  }
  100% {
    background: transparent;
  }
}

.day-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.day-festival {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-2);
  white-space: normal;
}

.day-badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: rgba(13, 148, 136, 0.15);
  color: var(--accent-2);
}

.reason {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  border-left: 3px solid var(--accent);
  padding-left: 0.75rem;
}

.day-card-weather-snapshot {
  margin-bottom: 1rem;
}

.day-weather-snapshot {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.day-weather-snapshot--muted {
  background: rgba(248, 250, 252, 0.85);
  border-style: dashed;
}

.day-weather-snapshot--muted .day-inline-forecast {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
}

.day-weather-snapshot-body {
  min-width: 0;
  flex: 1;
}

.day-weather-snapshot-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 0.2rem;
}

.day-weather-snapshot-temp {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.2;
}

.day-weather-snapshot-cond {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.day-inline-forecast {
  margin: 0.35rem 0 0.65rem;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.4;
}

.day-inline-forecast--muted {
  color: var(--text-muted);
  font-style: italic;
}

.day-inline-forecast-label {
  font-weight: 700;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-2);
  margin-right: 0.35rem;
}

.day-suggestions-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.day-suggestions-intro {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.day-card-schedule {
  min-width: 0;
}

.day-top-picks {
  margin: 0 0 1.1rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(165deg, rgba(241, 245, 249, 0.9) 0%, rgba(248, 250, 252, 0.95) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.day-top-picks-heading {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.day-top-picks-lede {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.day-top-picks-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.day-top-pick-body {
  min-width: 0;
}

.day-top-pick-title {
  margin: 0 0 0.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.day-top-pick-desc {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.activity-item {
  padding: 0.85rem 0;
  border-top: 1px solid var(--border);
}

.activity-item:first-child {
  border-top: none;
  padding-top: 0;
}

.activity-title {
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.activity-place-block {
  margin: 0 0 0.5rem;
}

.activity-location {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
}

.activity-location-note {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0.25rem 0 0;
  line-height: 1.35;
}

.activity-location-label {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.activity-location-text {
  flex: 1 1 14rem;
  color: var(--text);
  min-width: 0;
}

.activity-map-link {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--accent);
  text-decoration: none;
}

.activity-map-link:hover {
  text-decoration: underline;
}

.activity-what {
  margin: 0 0 0.65rem;
}

.activity-what-label {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.activity-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.activity-visitor-meta {
  margin: 0.5rem 0 0.65rem;
  padding: 0.5rem 0.7rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.activity-visitor-meta__block {
  display: block;
}

.activity-visitor-meta__block + .activity-visitor-meta__block {
  margin-top: 0.35rem;
}

.activity-visitor-meta__label {
  font-weight: 600;
  color: var(--text);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 0.2rem;
}

.activity-visitor-meta__value {
  color: var(--text-muted);
}

.activity-visitor-meta__hours-stack {
  display: block;
}

.activity-visitor-meta__hours-base {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.activity-visitor-meta__hours-date-note {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--text-muted);
  font-style: italic;
}

.activity-visitor-meta__block--tickets .activity-visitor-meta__label {
  display: block;
  margin-bottom: 0.35rem;
}

.activity-visitor-meta__ticket-rows {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.activity-visitor-meta__ticket-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  font-size: 0.8rem;
  line-height: 1.4;
}

.activity-visitor-meta__sublabel {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.72rem;
  min-width: 3.25rem;
}

.activity-restaurant-rec {
  margin: 0.65rem 0 0.75rem;
  padding: 0.65rem 0.75rem;
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.45) 0%, rgba(255, 251, 235, 0.9) 100%);
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-radius: var(--radius-sm);
}

.activity-restaurant-rec__label {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #b45309;
}

.activity-restaurant-rec__name {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.activity-restaurant-rec__blurb {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.activity-restaurant-rec__map {
  margin: 0 0 0.35rem;
}

.activity-restaurant-rec__note {
  margin: 0;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.35;
}

.activity-links {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.activity-links a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: var(--accent-soft);
}

.activity-links a:hover {
  text-decoration: underline;
}

.locked-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.15rem 0.85rem 1.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.site-footer p {
  margin: 0;
  max-width: 32rem;
  margin-inline: auto;
}

.tailor-cta {
  position: relative;
  margin: 1.2rem auto 0;
  max-width: min(56rem, calc(100% - 1.5rem));
  text-align: left;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.38), rgba(13, 148, 136, 0.34), rgba(167, 139, 250, 0.28));
  box-shadow:
    0 10px 32px rgba(37, 99, 235, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

/* FormSubmit iframe lives outside .tailor-cta-inner so it never steals a grid column. */
.tailor-cta > .tailor-formsubmit-frame {
  z-index: 0;
}

.tailor-cta-inner {
  position: relative;
  z-index: 1;
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.94), rgba(241, 245, 249, 0.96));
  border-radius: calc(var(--radius) - 1px);
  padding: clamp(1rem, 2.5vw, 1.35rem);
  display: grid;
  gap: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: clip;
}

.tailor-cta-intro {
  min-width: 0;
}

.tailor-cta-heading {
  margin: 0 0 0.5rem;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.2;
}

.tailor-cta-lede {
  margin: 0;
  font-size: clamp(0.86rem, 1.15vw, 0.94rem);
  line-height: 1.58;
  color: var(--text-muted);
}

@media (min-width: 840px) {
  .tailor-cta-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    align-items: stretch;
    gap: 0;
    padding: 0;
  }

  .tailor-cta-intro {
    padding: clamp(1.15rem, 2.8vw, 1.75rem) clamp(1.1rem, 2.5vw, 1.6rem);
    border-right: 1px solid rgba(148, 163, 184, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
  }

  .tailor-form {
    padding: clamp(1.15rem, 2.8vw, 1.75rem) clamp(1.1rem, 2.5vw, 1.6rem);
    background: rgba(241, 245, 249, 0.72);
    border-radius: 0 calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0;
  }
}

/* Hidden target for FormSubmit — avoid display:none (some browsers skip POST to target). */
.tailor-formsubmit-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tailor-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.65rem 0.85rem;
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.tailor-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
  min-width: 0;
  max-width: 100%;
}

.tailor-field--full {
  grid-column: 1 / -1;
}

.tailor-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
}

.tailor-field input,
.tailor-field textarea {
  font: inherit;
  font-size: 0.82rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.tailor-field textarea {
  resize: vertical;
  min-height: 5rem;
  line-height: 1.42;
}

.tailor-field input:focus,
.tailor-field textarea:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.tailor-submit {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 14rem;
  justify-self: start;
}

@media (min-width: 840px) {
  .tailor-submit {
    max-width: 12.5rem;
  }
}

.tailor-status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  line-height: 1.4;
}

.tailor-cta-glow {
  position: absolute;
  inset: -25% -10% -20%;
  background:
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(37, 99, 235, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 45% at 95% 100%, rgba(13, 148, 136, 0.12), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 839px) {
  .tailor-form {
    padding: clamp(0.85rem, 2vw, 1.1rem);
    background: rgba(241, 245, 249, 0.55);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(148, 163, 184, 0.2);
  }
}

@media (max-width: 560px) {
  .tailor-cta {
    margin-top: 1rem;
  }

  .tailor-cta-inner {
    grid-template-columns: 1fr;
  }

  .tailor-form {
    grid-template-columns: 1fr;
  }
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal {
  background: var(--surface-solid);
  border-radius: var(--radius);
  padding: 1.75rem;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
}

.modal h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.modal-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
  border-radius: 8px;
}

.modal-close:hover {
  background: var(--border);
  color: var(--text);
}

/* —— PDF / print export (Export PDF → browser print → Save as PDF) —— */
.results-top-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.results-top-bar .back-link {
  margin-bottom: 0;
}

.results-top-bar .results-export-actions {
  margin-left: auto;
  justify-content: flex-end;
}

@media (max-width: 520px) {
  .results-top-bar .results-export-actions {
    width: 100%;
    flex-basis: 100%;
    justify-content: flex-end;
  }
}

.results-export-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.print-watermark {
  display: none;
}

@media print {
  body.print-results-only .print-watermark {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
  }

  body.print-results-only .print-watermark__grid {
    position: absolute;
    width: 140%;
    height: 140%;
    left: -20%;
    top: -20%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    align-items: center;
    justify-items: center;
    gap: 1rem;
    transform: rotate(-38deg);
    transform-origin: center center;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 700;
    color: rgba(37, 99, 235, 0.14);
    letter-spacing: 0.04em;
    user-select: none;
  }

  body.print-results-only .bg-noise,
  body.print-results-only .site-header,
  body.print-results-only .site-footer {
    display: none !important;
  }

  body.print-results-only #section-landing,
  body.print-results-only #section-planner {
    display: none !important;
  }

  body.print-results-only #section-results {
    display: block !important;
    position: relative;
    z-index: 1;
  }

  body.print-results-only #section-results.hidden {
    display: block !important;
  }

  body.print-results-only main {
    padding: 0 !important;
    max-width: none !important;
  }

  body.print-results-only .results-inner {
    padding: 0 0.5rem !important;
  }

  body.print-results-only .results-top-bar,
  body.print-results-only .activity-regenerate-btn,
  body.print-results-only #btn-refresh-weather {
    display: none !important;
  }

  body.print-results-only .weather-strip-head {
    justify-content: flex-start;
  }

  body.print-results-only .schedule-top-picks,
  body.print-results-only .schedule-top-picks .day-top-picks {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  body.print-results-only .day-card,
  body.print-results-only .spotlight-card,
  body.print-results-only .activity-item {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  body.print-results-only a[href]::after {
    content: none !important;
  }

  body.print-results-only {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
