:root {
  color-scheme: light;
  --ink: #17332a;
  --muted: #4d6472;
  --sky: #e7f6ff;
  --paper: rgba(255, 255, 255, .9);
  --line: #d5e6f0;
  --sun: #ffd56a;
  --red: #e23b3b;
  --pine: #1e6b45;
  --wood: #e7b07a;
  --shadow: 0 18px 50px rgba(23, 51, 42, .12);
  font-family: Outfit, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 80% -10%, #fff 0%, transparent 55%),
    linear-gradient(#d7f3ff, #f4fbff 28%, #fff 70%);
  min-height: 100vh;
}
body.is-in { background: linear-gradient(#fff8ea, #e7f6ff 240px, #f7fbff 60%); }
img, svg { max-width: 100%; }
a { color: #0f6e8c; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #ef8a24; outline-offset: 2px; }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; font-weight: 560; letter-spacing: -.03em; margin: 0; }
p { margin: 0; }

.flakes { position: fixed; inset: 0; pointer-events: none; z-index: 8; overflow: hidden; }
.flakes span {
  position: absolute;
  top: -12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  opacity: .85;
  animation: fall linear infinite;
}
.flakes span:nth-child(1) { left: 6%; animation-duration: 11s; }
.flakes span:nth-child(2) { left: 14%; animation-duration: 15s; animation-delay: -4s; width: 5px; height: 5px; }
.flakes span:nth-child(3) { left: 24%; animation-duration: 13s; animation-delay: -8s; }
.flakes span:nth-child(4) { left: 33%; animation-duration: 17s; animation-delay: -2s; }
.flakes span:nth-child(5) { left: 42%; animation-duration: 12s; animation-delay: -6s; width: 4px; height: 4px; }
.flakes span:nth-child(6) { left: 51%; animation-duration: 16s; animation-delay: -9s; }
.flakes span:nth-child(7) { left: 60%; animation-duration: 10s; animation-delay: -3s; }
.flakes span:nth-child(8) { left: 69%; animation-duration: 18s; animation-delay: -7s; }
.flakes span:nth-child(9) { left: 76%; animation-duration: 14s; animation-delay: -1s; width: 5px; height: 5px; }
.flakes span:nth-child(10) { left: 84%; animation-duration: 12s; animation-delay: -5s; }
.flakes span:nth-child(11) { left: 91%; animation-duration: 15s; animation-delay: -10s; }
.flakes span:nth-child(12) { left: 97%; animation-duration: 11s; animation-delay: -2s; }
@keyframes fall { to { transform: translateY(105vh); } }

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; gap: 8px; align-items: center; color: inherit; text-decoration: none; }
.brand svg { width: 36px; height: 36px; }
.brand span { display: flex; flex-direction: column; font-weight: 700; line-height: 1; }
.brand small { font-weight: 500; color: var(--muted); font-size: 12px; margin-top: 3px; }
.mini { margin-left: auto; color: var(--muted); font-size: 14px; white-space: nowrap; }
.nav { display: flex; gap: 6px; overflow-x: auto; }
.nav a {
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  white-space: nowrap;
}
.primary, .ghost, .danger {
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  padding: 10px 16px;
  cursor: pointer;
  min-height: 44px;
}
.primary { background: var(--ink); color: #fff; }
.ghost { background: #fff; }
.danger { background: #fff; color: var(--red); border-color: var(--red); }
body:not(.is-in) .only-in { display: none !important; }
body.is-in .only-out { display: none !important; }
.primary:hover { background: #245246; }
.ghost:hover, .danger:hover { background: #fff6df; }

.hero { position: relative; }
.pano { display: block; width: 100%; height: auto; }
.hero-card {
  position: relative;
  z-index: 2;
  margin: -92px auto 0;
  width: min(920px, calc(100% - 28px));
  background: var(--paper);
  border: 1px solid #fff;
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 26px 28px 22px;
}
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--pine); font-weight: 700; }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: .95; margin: 6px 0 10px; }
.lead { font-size: 18px; max-width: 62ch; color: #244656; }
.count { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0 8px; max-width: 520px; }
.count div {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 8px 8px 10px;
  text-align: center;
}
.count b { display: block; font-family: Fraunces, Georgia, serif; font-size: 36px; line-height: 1; }
.count span { color: var(--muted); font-size: 13px; }
.until { margin-top: 6px; color: #245060; }
.until.soft { color: var(--muted); }

main { width: min(1120px, calc(100% - 28px)); margin: 28px auto 48px; display: flex; flex-direction: column; gap: 28px; }
.block {
  background: var(--paper);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.section-head { margin-bottom: 14px; }
.section-head h2 { font-size: clamp(32px, 4vw, 46px); }
.section-head p, .hint { color: var(--muted); margin-top: 4px; }
.section-head.tight { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.facts article, .stops article, .price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
}
.facts h3, .stops h3 { font-size: 26px; margin-bottom: 6px; }
.facts p + p, .price-card p + p { margin-top: 8px; }
.days-list { list-style: none; padding: 0; margin: 8px 0; }
.days-list li { padding: 4px 0; border-bottom: 1px dashed var(--line); }

.lock {
  border: 2px dashed #b7d0de;
  border-radius: 24px;
  padding: 28px 20px;
  text-align: center;
  background:
    linear-gradient(#fff, #fff) padding-box,
    repeating-linear-gradient(90deg, #f7fbff, #f7fbff 12px, #e7f3f8 12px 24px);
}
.lock h3 { font-size: 32px; margin-bottom: 8px; }
.lock p { max-width: 52ch; margin: 0 auto 14px; color: var(--muted); }

.counts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.counts b {
  background: #fff;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 6px 10px;
  font-weight: 600;
}
.tray-wrap h3 { font-size: 22px; margin-bottom: 8px; }
.tray {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 6px;
}
.sprite-btn {
  width: auto;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 4px 2px;
  cursor: pointer;
}
.sprite-btn:hover { transform: translateY(-2px); border-color: var(--ink); }
.sprite-btn svg { width: 44px; height: 54px; display: block; margin: 0 auto; }

.zones { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-top: 16px; }
.zone {
  min-height: 280px;
  background: #f5fbff;
  border: 2px dashed #c5d9e6;
  border-radius: 24px;
  padding: 12px;
  position: relative;
}
.zone header p { color: var(--muted); font-size: 14px; }
.zone.drop-hot { background: #fff4cc; border-color: #ef8a24; }
.cottage { background: #fff; border-style: solid; padding-top: 0; overflow: hidden; }
.roof { height: 54px; margin: 0 -12px 8px; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.unsure .roof { background: linear-gradient(#d7e8f2, #8fb4cc); }
.sure .roof { background: linear-gradient(#e7f3c4, #6aaa3c); }
.sure { box-shadow: inset 0 0 0 2px #c6e0a4; background: #f6fbf1; }
.bench { background: linear-gradient(#f8fbff, #fff); }
.seat {
  height: 18px;
  margin: 10px 12px 14px;
  background: #c9844a;
  border-radius: 6px 6px 2px 2px;
  box-shadow: 0 10px 0 #8a4b24, -8px 10px 0 -2px #8a4b24, 8px 10px 0 -2px #8a4b24;
}
.tokens {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 6px;
  align-content: start;
  min-height: 140px;
  max-height: 460px;
  overflow: auto;
  padding-bottom: 4px;
}
.token {
  width: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 6px;
  text-align: center;
  touch-action: none;
  cursor: grab;
  position: relative;
}
.token.is-dragging { opacity: .35; }
.token.is-fixed { cursor: default; touch-action: auto; }
.token svg { width: 52px; height: 64px; pointer-events: none; display: block; margin: 0 auto; }
.token-name, .token-more, .token-x {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  min-height: 0;
}
.token-name { display: block; width: 100%; font-weight: 700; }
.token-car { display: block; font-size: 11px; color: #0f6e8c; }
.token-more { font-size: 12px; color: var(--muted); text-decoration: underline; }
.token-x {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
}
.fly {
  position: fixed;
  z-index: 80;
  pointer-events: none;
  transform: rotate(-6deg) scale(1.05);
  filter: drop-shadow(0 12px 10px rgba(23, 51, 42, .25));
  margin: 0;
}

.parking { margin-top: 18px; }
.cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 10px; }
.car {
  background: #fff;
  border-radius: 20px;
  border: 2px solid var(--line);
  padding: 12px;
  min-height: 150px;
}
.car.drop-hot { border-color: #ef8a24; background: #fff8e6; }
.car-top { display: flex; justify-content: space-between; gap: 8px; align-items: start; }
.car-x {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--red);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.car-x:hover { background: #fff1f0; }
button:disabled { opacity: .4; cursor: default; }
.car-title { background: none; border: 0; padding: 0; font-family: Fraunces, Georgia, serif; font-size: 26px; cursor: pointer; text-align: left; }
.car-origin { color: var(--muted); font-size: 14px; }
.car svg { width: 140px; height: 54px; display: block; margin: 6px 0; }
.pick-crew { min-height: 36px; padding: 6px 12px; margin: 4px 0 8px; }
.crew-list { max-height: min(52vh, 420px); overflow: auto; display: flex; flex-direction: column; }
.crew-list label {
  display: flex; gap: 8px; align-items: center;
  padding: 8px 2px; border-bottom: 1px solid var(--line); font-weight: 600;
}
.crew-list input { width: auto; }
.slope-rider { pointer-events: none; }
.slope-rider text {
  font-family: Outfit, sans-serif;
  font-size: 13px;
  font-weight: 700;
  fill: #17332a;
}
.macster .pose { display: none; }
.macster.is-ride .pose-ride,
.macster.is-jump .pose-jump,
.macster.is-crash .pose-crash,
.macster.is-dust .pose-dust,
.macster.is-wave .pose-wave,
.macster.is-lift .pose-lift { display: inline; }
.macster .hello, .macster .pompom, .macster .brush, .macster .board-fly, .macster .puff {
  transform-box: fill-box;
  transform-origin: 0% 100%;
}
.macster .hello { animation: hello 1.05s ease-in-out infinite; }
.macster .pompom { animation: pom .55s ease-in-out infinite; }
.macster .brush { animation: brush .4s ease-in-out infinite; }
.macster .puff { animation: puff .7s ease-out infinite; }
.macster .board-fly { animation: boardfly .45s ease-in-out infinite alternate; }
@keyframes hello {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(26deg); }
}
@keyframes pom {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(22deg); }
}
@keyframes brush {
  50% { transform: translate(4px, 3px); }
}
@keyframes puff {
  to { opacity: 0; transform: translate(10px, -12px); }
}
@keyframes boardfly {
  to { transform: translate(10px, -14px) rotate(-16deg); }
}
.riders { display: flex; flex-wrap: wrap; gap: 6px; }
.rider {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f4f8fb;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 13px;
}
.rider button { border: 0; background: transparent; cursor: pointer; min-height: 0; padding: 0 0 0 4px; }
.tight-note { color: var(--red); font-size: 13px; margin-top: 6px; }
.empty { color: var(--muted); font-size: 14px; }

.summary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.summary article { background: #fff; border-radius: 16px; border: 1px solid var(--line); padding: 12px; }
.summary h3 { font-size: 20px; margin-bottom: 6px; }
.chip { display: inline-block; margin: 2px; background: #f4f8fb; border-radius: 999px; padding: 3px 8px; }

.route-wind { position: relative; margin: 0 0 14px; }
.wind { display: block; width: 100%; height: auto; overflow: visible; }
.stops { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.stops h3 { display: flex; align-items: center; gap: 8px; }
.eye {
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
}
.eye svg { width: 20px; height: 20px; display: block; }
.eye:hover { border-color: var(--ink); background: #fff6df; }
.stops .km { display: inline-block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--pine); font-weight: 700; }
.stops .pit { background: #fff8e4; }
.stops .goal { background: #eefaf3; }
.note-label { display: block; margin: 16px 0 6px; font-weight: 600; }
textarea, input, select {
  width: 100%;
  border: 1.5px solid #c5d6e0;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
}
textarea:disabled { background: #f4f7f8; }
.saved { min-height: 1.2em; color: var(--pine); font-size: 14px; margin-top: 4px; }

.cal {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}
.day {
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  min-height: 240px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.day header { display: flex; justify-content: space-between; align-items: baseline; }
.day header span { color: var(--muted); text-transform: uppercase; font-size: 12px; }
.day header strong { font-family: Fraunces, Georgia, serif; font-size: 28px; }
.day.ski { background: #f3fbff; }
.ribbon { margin: 0; font-size: 12px; font-weight: 700; color: #0f6e8c; }
.ribbon.travel { color: #8a4b24; }
.ribbon.spare { color: var(--pine); }
.events { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.event {
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid #2f7de1;
  border-radius: 10px;
  padding: 6px 8px;
  cursor: pointer;
  min-height: 0;
}
.event b { display: block; font-size: 12px; color: #0f6e8c; }
.day-add {
  border: 1px dashed #9db4c2;
  background: transparent;
  border-radius: 10px;
  min-height: 36px;
  cursor: pointer;
  font-size: 20px;
}
.day-add:hover { background: #fff; }

.win-wrap.block {
  width: min(1120px, calc(100% - 28px));
  margin: 12px auto 0;
  padding: 12px;
  border: 1px solid #b7c4ce;
  border-radius: 16px;
  background: #f4f7fa;
  box-shadow: 0 1px 0 #fff inset, 0 10px 24px rgba(23, 51, 42, .08);
}
.win-cal {
  display: grid;
  grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  font-family: "Segoe UI", system-ui, sans-serif;
}
.win-month {
  background: #fff;
  border: 1px solid #d5dee6;
  border-radius: 10px;
  padding: 4px 4px 6px;
}
.win-head { padding: 2px 8px 0; }
.win-head strong { font-size: 20px; font-weight: 600; letter-spacing: 0; }
.win-names, .win-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.win-names span { text-align: center; color: #5c6b76; font-size: 13px; padding: 6px 0 2px; }
.win-day {
  width: 40px;
  height: 40px;
  margin: 2px auto;
  border: 0;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  position: relative;
}
.win-day.in-trip { background: #e7f3fc; }
.win-day.is-selected { background: #0067c0; color: #fff; font-weight: 600; }
.win-day.has-note::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #0067c0;
  transform: translateX(-50%);
}
.win-day.is-selected.has-note::after { background: #fff; }
.win-agenda {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid #d5dee6;
  border-radius: 10px;
}
.win-meta { flex: 0 0 auto; display: flex; flex-direction: column; justify-content: center; min-width: 96px; }
.win-big { margin: 0; font-size: 72px; line-height: .85; font-weight: 600; }
.win-when { margin: 4px 0 0; color: #5c6b76; font-size: 16px; }
.win-mark { margin: 8px 0 0; color: #0067c0; font-weight: 700; }
.win-agenda .events {
  flex: 1 1 auto;
  flex-direction: row;
  align-items: stretch;
  min-width: 0;
  min-height: 140px;
}
.win-agenda .event {
  flex: 1 1 0;
  min-width: 0;
  font-size: 16px;
  white-space: normal;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.win-agenda .day-add { width: 52px; align-self: stretch; flex: 0 0 auto; }
.shots { display: grid; grid-template-columns: 1.5fr .75fr .75fr; gap: 10px; }
.shot { margin: 0; height: 280px; border-radius: 18px; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.credits { margin: 8px 2px 0; color: var(--muted); font-size: 11px; }
.kasa-photo { margin: -22px -22px 16px; height: 240px; overflow: hidden; border-radius: 28px 28px 0 0; }
.kasa-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; display: block; }
.pass-pick { display: grid; grid-template-columns: 1.25fr .85fr; gap: 10px; }
.pass-card {
  text-align: left;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px 16px;
  cursor: pointer;
}
.pass-card.is-on { border-color: var(--ink); box-shadow: 0 8px 24px rgba(23, 51, 42, .08); }
.pass-card[data-pass="kron"] { background: #f3fbf6; }
.pass-card[data-pass="kron"].is-on { background: #e7f6ee; }
.pass-mark { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #1f8a4c; }
.pass-card[data-pass="super"] .pass-mark { color: var(--muted); }
.pass-name { display: block; margin-top: 6px; font-size: 15px; }
.pass-card b { display: block; margin-top: 8px; font-family: Fraunces, Georgia, serif; font-size: 40px; line-height: 1; }
.pass-card[data-pass="super"] b { font-size: 32px; }
.pass-pln { display: block; margin-top: 6px; font-size: 18px; font-weight: 700; }
.pass-note { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
.stay-card {
  margin-top: 12px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px 16px;
}
.stay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-top: 10px; }
.stay-kind { display: block; font-weight: 700; }
.stay-math { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }
.stay-grid b { display: block; margin-top: 6px; font-family: Fraunces, Georgia, serif; font-size: 36px; line-height: 1; }
.spot-ask { margin-top: 16px; padding-top: 14px; border-top: 1px dashed #d7c4a2; }
.spot-open {
  width: 100%;
  text-align: left;
  background: #fff8ea;
  border: 2px dashed #e2b15a;
  border-radius: 16px;
  padding: 14px 16px;
  cursor: pointer;
}
.spot-open b { display: block; font-size: 18px; }
.spot-open span { display: block; margin-top: 4px; color: #8a5a18; font-size: 14px; }
.spot-open:hover { background: #fff1d4; }
.spot-list { display: grid; gap: 8px; margin-top: 10px; }
.spot-list:empty { display: none; }
.spot-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
}
.spot-item b { display: block; }
.spot-item span { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; }
.spot-drop {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  text-decoration: underline;
  padding: 6px;
}
.price-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.price-tiles article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
}
.price-tiles b { display: block; font-family: Fraunces, Georgia, serif; font-size: 34px; line-height: 1; }
.price-tiles span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.price-lead { font-size: 20px; margin: 8px 0; }
.price-lead span { color: var(--muted); font-size: 14px; padding: 0 4px; }
.table-wrap { overflow-x: auto; margin: 10px 0; }
table { border-collapse: collapse; width: 100%; min-width: 420px; }
th, td { text-align: left; padding: 8px 8px; border-bottom: 1px solid var(--line); }
th { font-size: 13px; color: var(--muted); }
.sums { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.sums div { background: #f4fbff; border-radius: 16px; padding: 12px; }
.sums b { display: block; font-family: Fraunces, Georgia, serif; font-size: 32px; }
.sums span, .sources { color: var(--muted); font-size: 14px; }
.next-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 8px 18px;
  align-items: center;
}
.next-mac svg { width: 128px; height: auto; display: block; margin: 0 auto; }
.next-mac .hello, .next-mac .pompom {
  transform-box: fill-box;
  transform-origin: 0% 100%;
}
.next-mac .hello { animation: hello 1.05s ease-in-out infinite; }
.next-mac .pompom { animation: pom .55s ease-in-out infinite; }
.next-card h2 { font-size: clamp(32px, 4vw, 46px); }
.next-card .who { font-size: 22px; font-weight: 700; margin-top: 4px; }
.next-card a { color: inherit; font-weight: 700; }
.next-card .later { margin-top: 10px; color: #245060; }
.foot { text-align: center; color: var(--muted); padding: 10px 16px 28px; }

.sheet { border: 0; padding: 0; background: transparent; }
.sheet::backdrop { background: rgba(23, 51, 42, .38); backdrop-filter: blur(5px); }
.city-sheet {
  width: min(860px, calc(100vw - 24px));
  background: #fff;
  border-radius: 24px;
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
}
.city-sheet h2 { font-size: 36px; line-height: 1; margin-bottom: 12px; }
.city-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.city-photos figure { margin: 0; }
.city-photos figure:first-child { grid-column: 1 / -1; }
.city-photos img { width: 100%; height: 200px; object-fit: cover; border-radius: 14px; display: block; }
.city-photos figure:first-child img { height: 280px; }
.city-photos figcaption { margin-top: 4px; color: var(--muted); font-size: 13px; }
.sheet form, .pass {
  width: min(440px, calc(100vw - 24px));
  background: #fff;
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.pass {
  position: relative;
  overflow: hidden;
  padding-top: 34px;
}
.pass::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0; height: 14px;
  background: repeating-linear-gradient(90deg, #e23b3b 0 14px, #fff 14px 20px, #17332a 20px 34px, #fff 34px 40px);
}
.pass-kicker { letter-spacing: .16em; text-transform: uppercase; font-size: 12px; color: var(--red); font-weight: 700; }
.pass h2 { font-size: 36px; line-height: 1; margin: 4px 0 12px; }
.sheet label, .swatches legend { display: block; margin: 10px 0 4px; font-weight: 600; }
.form-row { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.form-error { min-height: 1.2em; color: var(--red); margin-top: 6px; }
.sheet.shake { animation: shake .35s linear; }
@keyframes shake {
  25% { transform: translateX(-6px); }
  50% { transform: translateX(6px); }
  75% { transform: translateX(-3px); }
}
.preview svg { width: 72px; height: 90px; }
.swatches { border: 0; padding: 0; display: flex; gap: 8px; }
.swatches label { margin: 0; }
.swatches input { position: absolute; opacity: 0; }
.swatches i { display: block; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #c5d6e0; }
.swatches input:checked + i { box-shadow: 0 0 0 2px var(--ink); }
.move-menu {
  position: fixed;
  z-index: 60;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 6px;
  display: flex;
  flex-direction: column;
  min-width: 200px;
}
.move-menu button { text-align: left; background: none; border: 0; border-radius: 10px; padding: 8px 10px; cursor: pointer; min-height: 40px; }
.move-menu button:hover { background: #f4fbff; }
.toast {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  z-index: 90;
}
.noscript { width: min(720px, calc(100% - 24px)); margin: 12px auto; }

@media (max-width: 900px) {
  html { scroll-padding-top: 148px; }
  .facts, .price-grid, .summary, .zones, .stops, .price-tiles { grid-template-columns: 1fr; }
  .price-tiles { grid-template-columns: 1fr 1fr; }
  .shot { height: 200px; }
  .sprite-btn svg { width: 34px; height: 42px; }
  .win-big { font-size: 56px; }
  .win-cal { grid-template-columns: 1fr; }
  .sums { grid-template-columns: 1fr; }
  .hero-card { margin-top: -48px; padding: 18px; }
  .next-card { grid-template-columns: 1fr; text-align: center; }
  h1 { font-size: 38px; }
  .top { flex-wrap: wrap; }
  .mini { order: 3; margin-left: 0; }
  .count b { font-size: 28px; }
}
@media (max-width: 640px) {
  .shots, .pass-pick, .city-photos, .stay-grid { grid-template-columns: 1fr; }
  .city-photos figure:first-child { grid-column: auto; }
  .win-cal { grid-template-columns: 1fr; }
  .win-agenda { flex-direction: column; }
  .win-agenda .events { flex-direction: column; }
  .shot { height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .flakes, .macster .hello, .macster .pompom, .macster .brush, .macster .puff, .macster .board-fly, .next-mac .hello, .next-mac .pompom { animation: none; }
  html { scroll-behavior: auto; }
}
