/* Shared by every directory site. These colors are the defaults (Tahoe's teal); a site changes them in its own
   src/site.css, which loads after this file. Keep site-specific rules out of here. */
:root {
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --motel: #c27c1a;
  --bg: #f6f8f7;
  --surface: #ffffff;
  --text: #17262b;
  --muted: #5b6b70;
  --line: #dde5e4;
  --brand: #1f6f8b;
  --brand-ink: #ffffff;
  --brand-soft: #e3f0f4;
  --pine: #2f5d46;
  --gold: #b7791f;
  --hero-a: #134b5f;
  --hero-b: #1f6f8b;
  --promo-a: #fff6e5; --promo-b: #fbe3b4; --promo-line: #ecc77f; --promo-ink: #4a3410; --promo-muted: #7a5a22;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 40, 48, .06), 0 4px 16px rgba(16, 40, 48, .06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1719; --surface: #172226; --text: #e4ecee; --muted: #9db0b5; --line: #26363b;
    --brand: #5bb3cf; --brand-ink: #0b1a1f; --brand-soft: #1b3139; --pine: #7cc29c; --gold: #e0a84c;
    --hero-a: #0c2a35; --hero-b: #134b5f; --shadow: none; color-scheme: dark;
    --promo-a: #2b2212; --promo-b: #3a2c12; --promo-line: #6b5120; --promo-ink: #f6e6c4; --promo-muted: #d9bf8a;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1719; --surface: #172226; --text: #e4ecee; --muted: #9db0b5; --line: #26363b;
  --brand: #5bb3cf; --brand-ink: #0b1a1f; --brand-soft: #1b3139; --pine: #7cc29c; --gold: #e0a84c;
  --hero-a: #0c2a35; --hero-b: #134b5f; --shadow: none; color-scheme: dark;
  --promo-a: #2b2212; --promo-b: #3a2c12; --promo-line: #6b5120; --promo-ink: #f6e6c4; --promo-muted: #d9bf8a;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5rem; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.01em; }
h2 { font-size: 1.3rem; margin-top: 2rem; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.fine { font-size: .85rem; color: var(--muted); }
[hidden] { display: none !important; }

/* buttons */
.btn {
  display: inline-block; background: var(--brand); color: var(--brand-ink); text-decoration: none;
  border: 1px solid var(--brand); border-radius: 8px; padding: .55rem 1rem; font-weight: 600; font-size: .95rem;
  cursor: pointer; font-family: inherit;
}
.btn:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-small { padding: .35rem .75rem; font-size: .88rem; }
.link { background: none; border: 0; color: var(--brand); cursor: pointer; padding: 0; font: inherit; text-decoration: underline; }

/* header / footer */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 60px; }
.logo { display: flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.15rem; color: var(--text); text-decoration: none; }
.main-nav { display: flex; align-items: center; gap: 1.1rem; }
.main-nav > a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; }
.site-footer { margin-top: 4rem; border-top: 1px solid var(--line); background: var(--surface); padding: 2rem 0; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; }
.footer-inner p { margin: .3rem 0; }
.social-links { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .7rem !important; }
.social-links a { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .9rem; }
.social-links a:hover { border-color: currentColor; }
.follow-box { display: flex; align-items: center; gap: .9rem 1.1rem; margin: 1.5rem 0; padding: .9rem 1.1rem; border: 1px solid #c9dcfb; border-left: 4px solid #1877f2; border-radius: 12px; background: #f1f6ff; color: #1c2b3a; }
.follow-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #1877f2; color: #fff; }
.follow-text { flex: 1; display: flex; flex-direction: column; gap: .15rem; line-height: 1.4; }
.follow-text strong { font-size: 1.08rem; }
.follow-btn { flex: none; padding: .65rem 1.15rem; border-radius: 9px; background: #1877f2; color: #fff !important; font-weight: 700; text-decoration: none !important; white-space: nowrap; }
.follow-btn:hover { background: #0d5fd0; }
@media (max-width: 640px) { .follow-box { flex-wrap: wrap; } .follow-text { flex-basis: calc(100% - 64px); } .follow-btn { flex-basis: 100%; text-align: center; } }

/* snow report ({{snowreport}} in a guide, filled by snow.js). Our own warm "lodge" look: cream cards, sunset header,
   one row of numbers. Fixed colors in both themes. */
.snow-report { --sr-ink: #3d2516; --sr-mute: #7a5a44; --sr-cream: #fffaf2; --sr-sand: #f7ead9; --sr-line: #ecd6bb; --sr-peach: #fff0db;
  --sr-amber: #e8913a; --sr-terra: #c2562a; --sr-terra-2: #a8461f; margin: 1.25rem 0 2rem; display: grid; gap: .9rem; }
.snow-updated { margin: 0; justify-self: center; padding: .35rem 1.1rem; border-radius: 999px; background: var(--sr-sand); color: var(--sr-ink); font-size: .92rem; text-align: center; }
.snow-stale { color: #9a3412; font-style: normal; }
.snow-card { border-radius: 14px; overflow: hidden; background: var(--sr-cream); color: var(--sr-ink); border: 1px solid var(--sr-line); box-shadow: 0 4px 14px rgba(90, 50, 20, .10); scroll-margin-top: 1rem; }
.snow-head { display: flex; align-items: center; justify-content: space-between; gap: .4rem .8rem; flex-wrap: wrap; padding: .55rem 1rem; background: linear-gradient(100deg, #b9481f 0%, #dc7a33 60%, #eda24a 100%); }
.guide-body .snow-head h3 { margin: 0; font-size: 1.12rem; font-weight: 800; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .18); }
.snow-tags { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.snow-status { padding: .18rem .65rem; border-radius: 999px; font-weight: 700; font-size: .8rem; white-space: nowrap; }
.snow-status.is-open { background: #fff; color: #1d7a46; }
.snow-status.is-open::before { content: "\25CF"; margin-right: .3rem; color: #22b573; }
.snow-status.is-soon { background: rgba(255, 255, 255, .22); color: #fff; }
.snow-drive { padding: .18rem .65rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .55); font-weight: 600; font-size: .8rem; color: #fff; white-space: nowrap; }
.snow-body { display: grid; grid-template-columns: minmax(220px, .85fr) 2fr; }
.snow-wx { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "icon main" "wind wind"; align-items: center; gap: .25rem .75rem; padding: .7rem 1rem; background: linear-gradient(160deg, #fff3e2, #fde2bf); border-right: 1px solid var(--sr-line); }
.wx-icon { grid-area: icon; display: grid; place-items: center; color: var(--sr-terra); }
.wx-icon svg { width: 44px; height: 44px; stroke-width: 1.5; }
.wx-main { grid-area: main; display: flex; flex-direction: column; line-height: 1.15; }
.wx-temp { font-size: 2rem; font-weight: 800; }
.wx-lbl { font-size: .85rem; font-weight: 600; color: var(--sr-mute); }
.wx-windline { grid-area: wind; display: flex; align-items: center; gap: .35rem; font-size: .84rem; color: var(--sr-mute); }
.wx-windline svg { width: 18px; height: 18px; color: var(--sr-amber); stroke-width: 1.8; }
.wx-windval { font-weight: 800; color: var(--sr-ink); }
.snow-nums { display: grid; grid-template-columns: repeat(4, 1fr); }
.snow-num { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; padding: .6rem .4rem; text-align: center; }
.snow-num + .snow-num { border-left: 1px solid var(--sr-line); }
.snow-val { order: 2; font-size: 1.75rem; font-weight: 800; line-height: 1.1; }
.snow-lbl { order: 1; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--sr-mute); }
.snow-num:first-child { background: var(--sr-peach); }
.snow-num:first-child .snow-val { color: var(--sr-terra); }
.snow-foot { display: flex; align-items: center; justify-content: space-between; gap: .4rem 1rem; flex-wrap: wrap; padding: .5rem 1rem; font-size: .82rem; background: var(--sr-sand); border-top: 1px solid var(--sr-line); }
.snow-src { color: var(--sr-mute); }
.snow-links { display: flex; align-items: center; gap: .4rem .9rem; flex-wrap: wrap; }
.snow-stay a, .guide-body .snow-stay a:not(.btn) { color: var(--sr-terra-2); font-weight: 700; }
.snow-stay a + a::before { content: "\00B7"; display: inline-block; margin: 0 .35rem 0 .1rem; color: var(--sr-mute); text-decoration: none; }
.snow-report a.snow-official { padding: .32rem .85rem; border-radius: 999px; background: var(--sr-terra); color: #fff !important; font-weight: 700; text-decoration: none; white-space: nowrap; }
.snow-report a.snow-official:hover { background: var(--sr-terra-2); }
@media (max-width: 760px) {
  .snow-body { grid-template-columns: 1fr; }
  .snow-wx { grid-template-columns: auto auto 1fr; grid-template-areas: "icon main wind"; border-right: 0; border-bottom: 1px solid var(--sr-line); padding: .55rem .9rem; }
  .wx-windline { justify-self: end; }
  .wx-temp { font-size: 1.7rem; }
  .snow-num { padding: .5rem .2rem; }
  .snow-val { font-size: 1.35rem; }
  .snow-lbl { font-size: .62rem; letter-spacing: .03em; min-height: 2.5em; display: flex; align-items: flex-end; justify-content: center; }
  .snow-head, .snow-foot { padding-left: .9rem; padding-right: .9rem; }
}
/* {{snowbox}}: link box to the snow report, same shape as the Facebook follow box, in the scoreboard's snow blues */
.snow-box { display: flex; align-items: center; gap: .9rem 1.2rem; margin: 1.5rem 0; padding: 1rem 1.2rem; border-radius: 14px;
  background: linear-gradient(120deg, #13284a 0%, #1d4f93 60%, #2a7fe0 100%); color: #fff; box-shadow: 0 10px 26px rgba(9, 30, 60, .22); }
.snow-box-icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.snow-box-text { flex: 1; display: flex; flex-direction: column; gap: .15rem; line-height: 1.4; }
.snow-box-text strong { font-size: 1.12rem; }
.snow-box-text > span { color: #dce8f7; }
.snow-box-live[hidden] { display: none; }
.snow-box .snow-box-live { align-self: flex-start; margin-top: .35rem; padding: .2rem .7rem; border-radius: 999px; background: #22c483; color: #062a1b; font-weight: 700; font-size: .88rem; }
.snow-box-btn, .guide-body a.snow-box-btn { flex: none; padding: .7rem 1.2rem; border-radius: 9px; background: #fff; color: #13284a !important; font-weight: 800; text-decoration: none !important; white-space: nowrap; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.snow-box-btn:hover { background: #e6f0ff; }
@media (max-width: 640px) { .snow-box { flex-wrap: wrap; } .snow-box-text { flex-basis: calc(100% - 72px); } .snow-box .snow-box-btn { flex: 1 1 100%; width: 100%; text-align: center; } }

/* town / area photo banner (data/town-photos.json) with the title on the photo */
.town-hero { position: relative; margin: .5rem 0 .35rem; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 5; display: flex; align-items: flex-end; background: #0e2a44; }
.town-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.town-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 20, 36, .78) 0%, rgba(8, 20, 36, .3) 50%, rgba(8, 20, 36, 0) 75%); }
.town-hero-text { position: relative; z-index: 1; padding: 1.3rem 1.6rem; color: #fff; }
.town-hero-text h1 { margin: 0 0 .3rem; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }
.page-inner main .town-hero-text .lead, .town-hero-text .lead { margin: 0; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 6px rgba(0, 0, 0, .5); max-width: 70ch; }
.photo-credit { margin: 0 0 1.2rem; font-size: .75rem; color: var(--muted); text-align: right; }
.photo-credit a { color: inherit; }
@media (max-width: 600px) {
  .town-hero { aspect-ratio: auto; min-height: 230px; }
  .town-hero-text { padding: 1rem; }
  .town-hero-text h1 { font-size: 1.6rem; }
  .town-hero-text .lead { font-size: .95rem; }
}
/* town pages: one gold offer while the top spot is unsold, and a slim line for the other open spots */
.town-offer { margin: 0 0 .6rem; }
.ad-more { display: flex; align-items: center; justify-content: center; gap: .5rem; flex-wrap: wrap; margin: 0 0 1.5rem; padding: .45rem .9rem; border: 1px dashed var(--promo-line, #e8ad43); border-radius: 999px; font-size: .88rem; color: var(--promo-muted, #725b37); background: rgba(255, 248, 233, .75); text-decoration: none; text-align: center; }
.ad-more strong { color: var(--brand); }
.ad-more:hover { background: var(--promo-a, #fff8e9); }
.ad-more-dots { display: inline-flex; gap: 3px; }
.ad-more-dots i { width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--gold, #e8ad43); }
.ad-strip.one { grid-template-columns: 1fr; }

/* hero */
.hero { background: linear-gradient(135deg, var(--hero-a), var(--hero-b)); color: #fff; padding: 1.75rem 0 1.6rem; }
.hero h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .3rem; }
.hero .lead { color: rgba(255, 255, 255, .85); font-size: 1rem; max-width: none; margin: 0; }
.hero-search { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-search input {
  flex: 1 1 320px; font: inherit; padding: .8rem 1rem; border-radius: 10px; border: 0; min-width: 0;
  background: #fff; color: #17262b;
}
.state-toggle { display: inline-flex; background: rgba(255, 255, 255, .14); border-radius: 10px; padding: 4px; }
.state-toggle button {
  font: inherit; font-weight: 600; color: #fff; background: transparent; border: 0; padding: .5rem .9rem;
  border-radius: 7px; cursor: pointer;
}
.state-toggle button span { opacity: .7; font-weight: 400; margin-left: .2rem; }
.state-toggle button.on { background: #fff; color: var(--hero-a); }
.tabs { display: inline-flex; gap: .25rem; background: rgba(255, 255, 255, .12); padding: 4px; border-radius: 12px; margin-bottom: 1rem; }
.tab { color: #fff; text-decoration: none; font-weight: 600; padding: .45rem 1.1rem; border-radius: 9px; }
.tab span { opacity: .7; font-weight: 500; margin-left: .25rem; }
.tab:hover { background: rgba(255, 255, 255, .12); }
.tab.on { background: #fff; color: var(--hero-a); }
.hero-stats { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; color: rgba(255, 255, 255, .8); font-size: .92rem; }
.hero-stats strong { color: #fff; font-size: 1.05rem; }

/* homepage quick links (site.json -> layout.quickLinks): one row of tiles, two per row on phones */
.quicklinks {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column;
  margin-top: 12px; margin-bottom: 12px; padding: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); overflow: hidden;
}
.quicklinks a {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: .75rem .6rem;
  color: var(--text); text-decoration: none; border-left: 1px solid var(--line); line-height: 1.25;
  transition: background-color .15s;
}
.quicklinks a:first-child { border-left: 0; }
.quicklinks a:hover { background: var(--brand-soft); }
.quicklinks svg { color: var(--brand); margin-bottom: 3px; }
.quicklinks strong { font-size: .88rem; }
.quicklinks small { font-size: .76rem; color: var(--muted); }
@media (max-width: 760px) {
  .quicklinks { grid-auto-flow: row; grid-template-columns: 1fr 1fr; margin-left: 16px; margin-right: 16px; }
  .quicklinks a { border-left: 0; border-top: 1px solid var(--line); }
  .quicklinks a:nth-child(-n+2) { border-top: 0; }
  .quicklinks a:nth-child(even) { border-left: 1px solid var(--line); }
  .quicklinks a:last-child:nth-child(odd) { grid-column: span 2; }
}

/* spotlight */
.spotlight { margin-top: 1.5rem; }
.eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 .6rem; }
.spot-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-bottom: .6rem; }
.spot-head .eyebrow { margin: 0; }
/* "2 of 4 spots left": one dot per spotlight space, taken ones filled, open ones glowing */
.seats {
  display: inline-flex; align-items: center; gap: .55rem; padding: .3rem .8rem .3rem .6rem; border-radius: 99px;
  background: linear-gradient(120deg, var(--promo-a), var(--promo-b)); border: 1px solid var(--promo-line);
  color: var(--promo-ink); font-weight: 700; font-size: .85rem; text-decoration: none; white-space: nowrap;
  transition: transform .15s, box-shadow .15s;
}
.seats:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(183, 121, 31, .25); }
.seat-dots { display: inline-flex; gap: 4px; }
.seat { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--gold); }
.seat.taken { background: var(--gold); }
.seat.open { animation: seat-glow 2.2s ease-in-out infinite; }
.seat.open:nth-child(2n) { animation-delay: .4s; }
@keyframes seat-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(183, 121, 31, .55); } 50% { box-shadow: 0 0 0 4px rgba(183, 121, 31, 0); } }
.seats-hot { background: var(--gold); border-color: var(--gold); color: #fff; }
.seats-hot .seat { border-color: #fff; }
.seats-hot .seat.taken { background: #fff; }
.seats-full { background: var(--surface); border-color: var(--line); color: var(--muted); }
.seats-full .seat { border-color: var(--muted); }
.seats-full .seat.taken { background: var(--muted); }
@media (prefers-reduced-motion: reduce) { .seat.open { animation: none; } .seats:hover { transform: none; } }
.plan .seats { margin: 0 0 .9rem; }
@media (max-width: 380px) { .seats { white-space: normal; } }
.spot-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }  /* 4 spots: 4 across, 2 x 2, then 1 */
@media (max-width: 1100px) { .spot-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .spot-row { grid-template-columns: 1fr; } }
.spot-empty {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem;
  border: 1px solid var(--promo-line); border-radius: var(--radius); text-decoration: none; color: var(--promo-ink);
  background: linear-gradient(120deg, var(--promo-a), var(--promo-b)); box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
.spot-empty:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(183, 121, 31, .25); }
.spot-icon {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: #fff; font-size: 1.3rem;
}
.spot-text { flex: 1; display: grid; gap: .1rem; }
.spot-text strong { font-size: 1.08rem; }
.spot-text span { color: var(--promo-muted); font-size: .95rem; }
.spot-text span strong { font-size: inherit; color: var(--promo-ink); }
.spot-cta {
  flex: none; background: var(--brand); color: var(--brand-ink); font-weight: 600; padding: .6rem 1.1rem;
  border-radius: 8px; white-space: nowrap;
}
.spot-empty:hover .spot-cta { filter: brightness(1.1); }
/* an unsold space inside a row of Premium cards */
.spot-tile { grid-column: auto; flex-direction: column; justify-content: center; text-align: center; padding: 1.5rem 1.25rem; }
.spot-tile .spot-text, .spot-tile .spot-cta { flex: none; }
.spot-tile .spot-text span strong { white-space: nowrap; }
.spot-fill { grid-column: span var(--span4, 1); }
@media (max-width: 1100px) { .spot-fill { grid-column: span var(--span2, 1); } }
@media (max-width: 600px) { .spot-fill { grid-column: auto; } }
@media (max-width: 560px) {
  .spot-empty { flex-wrap: wrap; }
  .spot-text { flex-basis: calc(100% - 60px); }
  .spot-cta { flex-basis: 100%; text-align: center; }
}

/* directory layout */
.directory { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; margin-top: 2rem; align-items: start; }
.filters {
  position: sticky; top: 76px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem; display: grid; gap: .85rem;
}
.filters-head { display: flex; justify-content: space-between; align-items: baseline; }
.filters-head h2 { margin: 0; font-size: 1.05rem; }
.filters label, .claim-form label { display: grid; gap: .25rem; font-size: .88rem; font-weight: 600; }
select, input, textarea {
  font: inherit; font-weight: 400; color: var(--text); background: var(--bg); border: 1px solid var(--line);
  border-radius: 8px; padding: .45rem .6rem; width: 100%;
}
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .3rem; }
legend { font-size: .88rem; font-weight: 600; margin-bottom: .3rem; }
.filters .check { display: flex; align-items: center; gap: .45rem; font-weight: 400; }
.check input { width: auto; accent-color: var(--brand); }

.map { height: 480px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--brand-soft); z-index: 0; }
.map.small { height: 220px; margin-bottom: 1rem; }
.map .leaflet-tile-pane { filter: saturate(.55) brightness(1.04); }
.pin {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand); color: var(--brand-ink); font-weight: 700; font-size: .78rem;
  border: 2px solid var(--surface); box-shadow: 0 1px 4px rgba(0, 0, 0, .35); cursor: pointer;
  transition: transform .12s;
}
.pin:hover { transform: scale(1.15); }
.pin.active { background: var(--gold); }
.map-wrap { position: relative; }
.area-map { height: 340px; margin: 0 0 1.5rem; }
.legend {
  position: absolute; z-index: 500; left: 10px; bottom: 10px; list-style: none; margin: 0; padding: .35rem .6rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px; display: flex; gap: .8rem; font-size: .8rem;
}
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: .35rem; vertical-align: -1px; background: var(--brand); }
.dot.cat-motel { background: var(--motel); }
.leaflet-popup-content { font: 14px/1.45 var(--font); }
.pop-title { font-weight: 700; color: var(--brand); }

.results-bar { display: flex; justify-content: space-between; align-items: center; margin: 1rem 0 .75rem; gap: 1rem; }
.results-bar p { margin: 0; font-weight: 600; }
.sort { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.sort select { width: auto; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.empty { padding: 2rem; text-align: center; color: var(--muted); }

/* cards */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem;
  display: flex; flex-direction: column; gap: .35rem; box-shadow: var(--shadow);
}
.card.plan-featured, .card.plan-premium { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow); }
.card-top { display: flex; align-items: center; gap: .5rem; }
.card-type { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--pine); font-weight: 700; margin: 0; }
.badge { font-size: .72rem; font-weight: 700; background: var(--gold); color: #fff; padding: .1rem .45rem; border-radius: 99px; }
.price { margin-left: auto; font-weight: 700; color: var(--muted); }
.card h3 { font-size: 1.08rem; margin: .1rem 0 0; }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a:hover { color: var(--brand); }
.where { margin: 0; color: var(--muted); font-size: .9rem; }
.desc { margin: .2rem 0; font-size: .93rem; }
.chips { list-style: none; padding: 0; margin: .2rem 0 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.chips li { font-size: .78rem; background: var(--brand-soft); color: var(--text); padding: .15rem .55rem; border-radius: 99px; }
.chips.big li { font-size: .9rem; padding: .3rem .75rem; }
.card-photo { display: block; margin: -1rem -1.1rem .5rem; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.card-photo img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .3s; }
.card-photo:hover img { transform: scale(1.03); }
.btn-direct { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-direct:hover { filter: brightness(1.08); }
.card.cat-motel .card-type { color: var(--motel); }
.addr { margin: 0; font-size: .9rem; }
.meta { margin: .1rem 0 0; display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .9rem; min-height: 1.4em; }
.meta-link { color: var(--brand); text-decoration: none; font-weight: 500; }
.meta-link:hover { text-decoration: underline; }
.rating { margin-left: auto; font-weight: 700; color: var(--gold); font-size: .88rem; }
.rating small { color: var(--muted); font-weight: 400; }
.price + .rating { margin-left: .5rem; }
.muted { color: var(--muted); font-weight: 400; }
.card-actions { margin-top: auto; padding-top: .6rem; display: flex; gap: .5rem; }
.card-actions .btn { flex: 1; text-align: center; padding: .45rem .5rem; }

/* detail */
.crumbs { margin: 1.5rem 0 1rem; font-size: .9rem; color: var(--muted); }
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; }
.detail-actions { display: flex; gap: .75rem; margin-top: 1.5rem; flex-wrap: wrap; }
.side { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; align-self: start; }
.owner-box { margin-top: 1rem; padding: 1rem; border-radius: 10px; background: var(--brand-soft); }
.owner-box p { margin: .3rem 0 .7rem; font-size: .9rem; }
.featured-box { background: linear-gradient(120deg, var(--promo-a), var(--promo-b)); color: var(--promo-ink); }
.featured-box p { margin-bottom: 0; color: var(--promo-muted); }
.detail-photo { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 340px; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.25rem; box-shadow: var(--shadow); }
.detail .card-type .badge { margin-left: .4rem; vertical-align: 1px; }
.contact { margin: 1.25rem 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.contact-row { display: grid; grid-template-columns: 100px 1fr; gap: 1rem; padding: .8rem 1rem; border-top: 1px solid var(--line); }
.contact-row:first-child { border-top: 0; }
.contact-row > :last-child { min-width: 0; overflow-wrap: anywhere; } /* long website addresses wrap instead of overflowing */
.contact-row .label { color: var(--muted); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; padding-top: .1rem; }
.main-nav a[aria-current="page"]:not(.btn) { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); padding-bottom: 2px; }

#claim, #sponsor { scroll-margin-top: 80px; }

/* sponsors: neutral on purpose, so they never read as a gold Featured hotel */
.sponsor-label {
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted);
  border: 1px solid var(--line); border-radius: 99px; padding: .05rem .5rem; align-self: flex-start; justify-self: start;
  white-space: nowrap;
}
.ad-logo { flex: none; width: 48px; height: 48px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.ad-logo.small { width: 36px; height: 36px; }
.ad-card { background: var(--brand-soft); box-shadow: none; }
.ad-head { display: flex; align-items: center; gap: .65rem; }
.ad-head h3 { margin: 0; }
.ad-empty { border-style: dashed; background: transparent; text-decoration: none; color: var(--text); }
a.ad-empty:hover { border-color: var(--brand); }
.card.ad-empty { border: 2px dashed var(--brand); background: var(--brand-soft); }
.card.ad-empty .btn { background: var(--brand); color: var(--brand-ink); }

/* homepage side banners: tall boxes in the page margins on wide screens, a strip under the map otherwise */
.side-box {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--text);
}
.side-text { flex: 1; display: grid; gap: .2rem; min-width: 0; }
.side-text > span:not([class]) { font-size: .92rem; color: var(--muted); }
.side-box .btn { flex: none; }
.ad-logo.big { width: 64px; height: 64px; }
.ad-open { text-decoration: none; border: 2px dashed var(--brand); background: var(--brand-soft); transition: transform .15s, box-shadow .15s; }
.ad-open:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(31, 111, 139, .2); }
.ad-open-icon {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--brand); color: var(--brand-ink); font-size: 1.4rem;
}
.ad-open-price { font-weight: 700; color: var(--brand); }
.ad-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.ad-strip .ad-open .side-text > span:not([class]) { display: none; } /* keep open spots short in the strip */
.rail { display: none; }
.directory, .has-rails { position: relative; }
.town-body .ad-strip { margin: 0 0 1.5rem; }
@media (min-width: 1720px) {
  .ad-strip { display: none; }
  .town-body { min-height: 480px; } /* towns with one or two hotels still fit a full-height banner */
  .rail { display: block; position: absolute; top: 0; bottom: 0; width: 200px; }
  .rail-left { right: calc(100% + 8px); }
  .rail-right { left: calc(100% + 8px); }
  .rail .side-box {
    position: sticky; top: 76px; flex-direction: column; text-align: center; justify-content: center;
    min-height: 460px; padding: 1.5rem 1.1rem;
  }
  .rail .ad-open-icon { width: 56px; height: 56px; }
  .rail .side-text { flex: none; justify-items: center; gap: .5rem; }
  .rail .side-text strong { font-size: 1.2rem; }
  .rail .btn { align-self: stretch; text-align: center; }
  /* an ad with an "image" shows just its banner in the tall side spot (the strip keeps the logo-and-text version) */
  div.rail .side-box.has-art { display: block; min-height: 0; padding: 0; overflow: hidden; background: #0b1d33; }
  div.rail .side-box.has-art > :not(.side-art) { display: none; }
  .rail .side-art { display: block; position: relative; }
  .rail .side-art img { display: block; width: 100%; height: auto; }
  .rail .side-art .sponsor-label {
    position: absolute; top: 6px; right: 6px; padding: 1px 6px; border-radius: 4px; background: rgba(0, 0, 0, .55); color: #fff;
  }
}
.side-art { display: none; }
@media (max-width: 760px) {
  .ad-strip { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ad-strip .side-box { flex-wrap: wrap; }
  .ad-strip .side-box .btn { flex-basis: 100%; text-align: center; }
}
.ad-empty h3 { font-size: 1.02rem; }
.town-sponsor {
  display: flex; align-items: center; gap: 1rem; margin: 1rem 0 1.5rem; padding: .85rem 1.1rem;
  background: var(--brand-soft); border: 1px solid var(--line); border-radius: var(--radius);
}
.town-sponsor.ad-empty { background: transparent; }
.ts-text { flex: 1; display: grid; gap: .15rem; min-width: 0; }
.ts-text span:not(.sponsor-label) { color: var(--muted); font-size: .92rem; }
.town-sponsor .btn { flex: none; }
.trip-box { margin-top: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 10px; }
.trip-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.trip-box ul { list-style: none; padding: 0; margin: .6rem 0 0; display: grid; gap: .75rem; }
.trip-box li { display: flex; gap: .6rem; align-items: flex-start; }
.trip-box li div { display: grid; gap: .1rem; font-size: .9rem; }
.trip-box li a { font-weight: 700; }
.trip-box li span { color: var(--muted); }
.trip-box.ad-empty p { margin: .4rem 0 .5rem; font-size: .9rem; color: var(--muted); }
.form-title { margin-top: 2rem; }
@media (max-width: 560px) {
  .town-sponsor { flex-wrap: wrap; }
  .town-sponsor .btn { flex-basis: 100%; text-align: center; }
}

/* text pages */
.prose { max-width: 72ch; padding-bottom: 3rem; }
.prose h1 { margin-top: 2rem; }
.prose h2 { font-size: 1.2rem; margin-top: 1.75rem; }
.prose a:not(.btn) { color: var(--brand); }

/* travel guides (guides/*.md): text at reading width, hotel cards and town tiles full width */
.guide-body { max-width: none; padding-bottom: 1rem; }
.guide-body > :is(p, ul, ol, h2, h3, .guide-tip, .guide-toc, .lead) { max-width: 72ch; }
.guide-body h1 { margin-top: .5rem; }
.guide-body h2 { font-size: 1.45rem; margin-top: 2.4rem; scroll-margin-top: 1rem; }
.guide-body h3 { font-size: 1.1rem; margin-top: 1.4rem; }
.town-guide { margin-top: 2.5rem; padding-top: .5rem; border-top: 1px solid var(--line, #e5e5e5); }
.town-intro { margin: 0 0 1.5rem; }
.guide-body.town-intro > *, .guide-body.town-guide > * { max-width: none; }
.town-intro p { margin: 0 0 .75rem; }
.town-more a { font-weight: 600; color: var(--brand); }
.guide-body p, .guide-body li { line-height: 1.7; }
.guide-body li { margin: .25rem 0; }
.guide-date { margin-top: -.25rem; }
.guide-toc { margin: 1.25rem 0 1.5rem; padding: .9rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--brand-soft); }
.guide-toc ol { margin: .4rem 0 0; padding-left: 1.2rem; columns: 2; column-gap: 2rem; }
.guide-toc li { margin: .15rem 0; break-inside: avoid; }
.guide-tip { margin: 1.25rem 0; padding: .85rem 1.1rem; border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; background: var(--promo-a); color: var(--promo-ink); }
.guide-grid { margin: 1rem 0 .5rem; }
.guide-more { margin: .5rem 0 1rem; }
.guide-towns { margin: 1rem 0; }
.guide-body .card h3 a { color: inherit; }
.guide-note { margin-top: 2rem; }
.guide-grid-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-top: 1rem; }
.guide-tile {
  display: flex; flex-direction: column; gap: .4rem; padding: 1.1rem 1.2rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; box-shadow: var(--shadow);
  transition: border-color .15s, transform .15s;
}
.guide-tile svg { color: var(--brand); }
.guide-tile strong { font-size: 1.05rem; line-height: 1.3; }
.guide-tile span { color: var(--muted); font-size: .9rem; }
.guide-tile em { margin-top: auto; padding-top: .3rem; font-style: normal; font-weight: 700; color: var(--brand); font-size: .9rem; }
.guide-tile em::after { content: " \2192"; }
.guide-tile:hover { border-color: var(--brand); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .guide-tile:hover { transform: none; } }
.guides-strip { margin-top: 2.5rem; }
.guides-strip h2 { margin: 0; }
@media (max-width: 560px) { .guide-toc ol { columns: 1; } }
/* intro + "On this page" side by side on wide screens, so the right half isn't empty space */
.guide-intro-text > .lead { max-width: 72ch; }
@media (min-width: 900px) {
  .guide-intro.has-toc { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
  .guide-intro.has-toc .guide-toc { margin: .3rem 0 0; }
  .guide-intro.has-toc .guide-toc ol { columns: 1; }
  .guide-intro.has-toc .lead { margin-top: .3rem; }
}
@media (min-width: 601px) { .guide-body .guide-hero { aspect-ratio: 16 / 5; } }

/* towns */
.town-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.town-tile {
  display: grid; gap: .2rem; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none; color: var(--text);
}
.town-tile span { color: var(--muted); font-size: .88rem; }
.town-tile em { font-style: normal; color: var(--brand); font-weight: 600; font-size: .9rem; }
.town-tile:hover { border-color: var(--brand); }

/* advertise */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.plan-hl { border: 2px solid var(--brand); }
.plan-price { font-size: 1.5rem; font-weight: 800; margin: .2rem 0 .6rem; }
.plan ul { padding-left: 1.1rem; margin: 0; }
.claim-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 760px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem;
}
.claim-form .full, .claim-form button { grid-column: 1 / -1; }
.claim-form button { justify-self: start; }

/* responsive: on phones and tablets the filters become a drawer opened from the results bar */
.filters-open, .filters-done { display: none; }
.results-bar { flex-wrap: wrap; }
@media (max-width: 900px) {
  .directory { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: .5rem; }
  .filters-open { display: inline-block; margin-left: auto; }
  .filters { display: none; }
  body.filters-shown .filters {
    display: grid; grid-template-columns: 1fr; position: fixed; inset: auto 0 0 0; z-index: 2000; max-height: 80vh; overflow: auto;
    border-radius: 16px 16px 0 0; box-shadow: 0 -8px 30px rgba(0, 0, 0, .25); padding: 1.25rem 16px 1.5rem;
  }
  body.filters-shown .filters fieldset { grid-template-columns: 1fr 1fr; }
  body.filters-shown .filters-done { display: block; width: 100%; }
  body.filters-shown::after { content: ""; position: fixed; inset: 0; background: rgba(0, 0, 0, .35); z-index: 1500; }
}
@media (max-width: 560px) {
  .main-nav > a:not(.btn) { display: none; }
  /* sites with Hotels / Motels tabs keep those in the header instead of the button */
  .main-nav.has-tabs { gap: .8rem; }
  .main-nav.has-tabs > a.nav-tab { display: inline; font-size: .92rem; }
  .main-nav.has-tabs .btn { display: none; }
  .tabs { display: flex; }
  .tab { flex: 1; text-align: center; padding: .45rem .4rem; }
  .map { height: 380px; }
  .map .leaflet-control-attribution { font-size: 9px; }
  .claim-form { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr; gap: .2rem; }
  .state-toggle { width: 100%; }
  .state-toggle button { flex: 1; padding: .5rem .3rem; }
}

/* small maps (hotel pages): keep the map credit line compact so it never hides the map */
.map.small .leaflet-control-attribution { font-size: 8.5px; line-height: 1.25; padding: 1px 5px; background: rgba(255, 255, 255, .78); max-width: 100%; }

/* guide tables (| a | b | lines in guides/*.md): scroll sideways on phones instead of squeezing */
.guide-table { margin: 1.25rem 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.guide-table table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .95rem; }
.guide-table th { text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--brand-soft); padding: .6rem .8rem; }
.guide-table td { padding: .65rem .8rem; border-top: 1px solid var(--line); vertical-align: top; line-height: 1.45; }
.guide-table td:first-child { font-weight: 600; }

/* seasonal homepage notice (site.json -> layout.notice): a white card with a gold badge and a button */
.site-notice { display: flex; align-items: center; gap: .9rem 1.1rem; margin-top: 12px; margin-bottom: 12px; padding: .8rem 1rem .8rem 1.1rem;
  background: var(--surface); color: var(--text); border-radius: var(--radius); border-left: 6px solid var(--gold); box-shadow: 0 6px 22px rgba(9, 45, 80, .22); }
.notice-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); }
.notice-text { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .7rem; font-size: 1.02rem; line-height: 1.4; }
.notice-label { padding: .2rem .65rem; border-radius: 999px; background: var(--gold); color: #3b2a0c; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.notice-btn { flex: none; padding: .6rem 1.1rem; border-radius: 9px; background: var(--brand); color: var(--brand-ink); font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color .15s; }
.notice-btn:hover { background: var(--brand-dark, var(--hero-a)); color: var(--brand-ink); }
@media (max-width: 640px) {
  .site-notice { flex-wrap: wrap; margin-left: 16px; margin-right: 16px; }
  .notice-icon { width: 38px; height: 38px; }
  .notice-text { flex-basis: calc(100% - 60px); font-size: .95rem; }
  .notice-btn { flex-basis: 100%; text-align: center; }
}

@media (max-width: 640px) {
  .guide-table { overflow: visible; border: 0; background: none; }
  .guide-table table { min-width: 0; }
  .guide-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .guide-table tr { display: block; margin-bottom: .75rem; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
  .guide-table td { display: grid; grid-template-columns: 7.5rem 1fr; gap: .5rem; padding: .2rem 0; border: 0; }
  .guide-table td::before { content: attr(data-label); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding-top: .1rem; }
  .guide-table td:first-child { display: block; font-size: 1.05rem; padding-bottom: .35rem; }
  .guide-table td:first-child::before { content: none; }
}

/* Guide banner photo (guide header "hero: name" -> src/name-1600.webp + name-900.webp) */
.guide-hero { position: relative; margin: .5rem 0 1.25rem; border-radius: var(--radius); overflow: hidden; aspect-ratio: 8 / 3; display: flex; align-items: flex-end; }
.guide-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.guide-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 20, 35, .72) 0%, rgba(10, 20, 35, .25) 45%, rgba(10, 20, 35, 0) 70%); }
.guide-body .guide-hero h1 { position: relative; z-index: 1; margin: 0; padding: 1.25rem 1.5rem; color: #fff; max-width: 30ch; text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }
@media (max-width: 600px) { .guide-hero { aspect-ratio: auto; height: 230px; } .guide-body .guide-hero h1 { font-size: 1.6rem; padding: 1rem; } }

/* Back-to-top button: appears after about one screen of scrolling (every page) */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 1000; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-content: center; justify-items: center; gap: 0; background: var(--brand); color: #fff;
  border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 8px 24px rgba(0, 0, 0, .45);
  font: 800 10px/1 system-ui, sans-serif; letter-spacing: .06em; text-decoration: none; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { filter: brightness(1.15); transform: scale(1.06); }
.to-top span { margin-top: 1px; }
@media (max-width: 640px) { .to-top { right: 14px; bottom: 14px; } }
.to-top:focus-visible { outline: 3px solid var(--gold, #e0a84c); outline-offset: 3px; }
@media print { .to-top { display: none; } }
@media (max-width: 600px) { .ad-more { border-radius: 12px; font-size: .84rem; } }

/* homepage: highlighted quick-link tile (quickLinks "hot": true) and the live snow chip in the notice bar */
.quicklinks a.ql-hot { background: linear-gradient(160deg, #13284a, #1f5fae); color: #fff; }
.quicklinks a.ql-hot svg { color: #9fd0ff; }
.quicklinks a.ql-hot strong { color: #fff; }
.quicklinks a.ql-hot small { color: #dce8f7; }
.quicklinks a.ql-hot:hover { background: linear-gradient(160deg, #0f2140, #1a539a); }
.site-notice .snow-box-live { display: inline-block; margin-top: .4rem; padding: .15rem .65rem; border-radius: 999px; background: #22c483; color: #062a1b; font-weight: 700; font-size: .85rem; }
.site-notice .snow-box-live[hidden] { display: none; }

/* hotel page: a bigger "Check rates" (the main thing a traveler came to do) */
.detail-actions .btn { padding: .8rem 1.7rem; font-size: 1.05rem; border-radius: 10px; }
@media (max-width: 600px) { .detail-actions { display: grid; } .detail-actions .btn { text-align: center; } }
.detail .snow-box { margin-top: 1.8rem; }

/* town tiles with the town's photo across the top */
.town-tile.has-photo { position: relative; overflow: hidden; padding-top: 142px; }
.town-tile .tile-photo { position: absolute; top: 0; left: 0; width: 100%; height: 126px; object-fit: cover; transition: transform .35s; }
.town-tile.has-photo:hover .tile-photo { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .town-tile.has-photo:hover .tile-photo { transform: none; } }
.town-offer .spot-text span strong { white-space: nowrap; }

/* Spotlight with no Premium yet: one wide, low gold box = sideways EXAMPLE card | what you get | price + button */
.spot-demo { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 370px) minmax(0, 1fr) auto; gap: 1rem 1.8rem; align-items: center;
  padding: 1rem 1.4rem; border: 2px solid var(--gold); border-radius: 16px; text-decoration: none; color: var(--promo-ink);
  background: linear-gradient(120deg, var(--promo-a), var(--promo-b)); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.spot-demo:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(183, 121, 31, .3); }
.spot-sample { display: grid; grid-template-columns: 120px minmax(0, 1fr); padding: 0; overflow: hidden; background: var(--surface); color: var(--text); transform: rotate(-1deg); }
.spot-demo:hover .spot-sample { transform: rotate(0); }
.sample-photo { position: relative; }
.sample-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sample-tag { position: absolute; top: .45rem; left: .45rem; padding: .12rem .45rem; border-radius: 5px; background: rgba(16, 32, 52, .85); color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.sample-body { display: flex; flex-direction: column; gap: .15rem; padding: .7rem .8rem; min-width: 0; }
.spot-sample .card-top { display: flex; align-items: center; gap: .4rem; font-size: .8rem; }
.spot-sample .price { margin-left: auto; }
.sample-name { font-size: 1rem; font-weight: 800; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spot-sample .where { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spot-sample .card-actions { display: flex; gap: .4rem; margin-top: .35rem; }
.spot-sample .card-actions .btn { flex: 1; padding: .3rem .4rem; font-size: .8rem; text-align: center; pointer-events: none; }
.demo-pitch { display: flex; flex-direction: column; gap: .55rem; min-width: 0; }
.demo-title { display: flex; align-items: center; gap: .6rem; font-size: 1.2rem; font-weight: 800; line-height: 1.2; }
.demo-title .spot-icon { width: 34px; height: 34px; font-size: 1rem; }
.demo-points { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .3rem 1.2rem; }
.demo-points li { position: relative; padding-left: 1.5rem; font-size: .9rem; line-height: 1.35; }
.demo-points li::before { content: "\2713"; position: absolute; left: 0; top: .05rem; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--gold); color: #fff; font-size: .65rem; font-weight: 900; display: grid; place-items: center; }
.demo-buy { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; }
.demo-price { color: var(--promo-muted); font-size: .9rem; white-space: nowrap; }
.demo-price strong { display: block; color: var(--promo-ink); font-size: 1.25rem; }
.spot-demo .spot-cta { padding: .65rem 1.3rem; }
@media (max-width: 1150px) {
  .spot-demo { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
  .demo-points { grid-template-columns: 1fr; }
  .demo-buy { grid-column: 2; flex-direction: row; justify-content: flex-start; }
  .demo-price strong { display: inline; }
}
@media (max-width: 760px) {
  .spot-demo { grid-template-columns: 1fr; padding: 1rem; }
  .spot-sample { transform: none; }
  .demo-buy { grid-column: auto; flex-direction: column; align-items: stretch; }
  .spot-demo .spot-cta { text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .spot-demo:hover, .spot-demo:hover .spot-sample { transform: none; } }
.spot-sample .card-actions .btn { white-space: nowrap; } @media (max-width: 760px) { .spot-sample { grid-template-columns: 100px minmax(0, 1fr); } }

/* advertise.html#badge: the free "Listed on" badge and its copy-paste code */
.badge-kit { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; max-width: 760px; margin: 1rem 0 2rem; padding: 1.25rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.badge-preview { flex: none; filter: drop-shadow(0 4px 10px rgba(16, 48, 77, .12)); }
.badge-code { flex: 1 1 300px; display: grid; gap: .8rem; }
.badge-code label { display: grid; gap: .3rem; font-weight: 600; }
.badge-code textarea { font: .82rem/1.45 ui-monospace, Consolas, monospace; resize: vertical; }
.badge-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 0; }

/* homepage: four small sponsor spots, two on each side, from the top banner down (HL + HL2 left, HR + HR2 right) */
.rail-zone { position: relative; }
.home-rails { display: none; }
@media (min-width: 1720px) {
  .home-rails { display: block; position: absolute; top: 0; bottom: 0; left: 0; right: 0; pointer-events: none; }
  .home-rails .rail { pointer-events: auto; top: 14px; --rail-gap: clamp(16px, calc((100vw - 1200px) / 2 - 230px), 60px); }
  .home-rails .rail-left { right: calc(100% + var(--rail-gap)); }
  .home-rails .rail-right { left: calc(100% + var(--rail-gap)); }
  .rail-stack { position: sticky; top: 76px; display: grid; gap: 14px; }
  .home-rails .side-box { position: static; min-height: 300px; padding: 1rem .9rem; gap: .5rem; }
  .home-rails .side-box.has-art { min-height: 0; }
  .home-rails .ad-open-icon { width: 42px; height: 42px; font-size: 1.15rem; }
  .home-rails .side-text { gap: .3rem; font-size: .88rem; line-height: 1.35; }
  .home-rails .side-text strong { font-size: 1.05rem; }
  .home-rails .btn { padding: .45rem .8rem; font-size: .9rem; }
  .home-rails .side-art img { max-height: 300px; object-fit: cover; }
}

/* site.json "logoImage": a round photo badge in the header logo instead of the favicon (Reno: the Arch) */
.logo img.logo-photo { width: 40px; height: 40px; margin: -6px 0; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #f5b942; }
