/* Text wrapping polish */
p, li, blockquote { text-wrap: pretty; }
h1, h2, h3, .lede { text-wrap: balance; }
.sub-msg:empty { display: none; }
.pick.star { box-shadow: 0 0 0 2px var(--sun), var(--shadow-1); }
@media (max-width: 560px) { .hide-sm { display: none; } }

/* This Weekend page */
.wk-hero { padding: 104px 0 var(--sp-32); position: relative; overflow: hidden;
  background: radial-gradient(90% 70% at 85% 0%, rgba(239, 161, 58, .22), transparent 60%), radial-gradient(70% 60% at 0% 10%, rgba(185, 71, 42, .10), transparent 60%), var(--paper); }
.wk-hero h1 { font-size: clamp(2.5rem, 5.6vw, 5rem); /* type-ok: display */ margin: var(--sp-8) 0 var(--sp-16); } /* compact masthead, Zach 2026-11-11 */
.wk-intro { display: grid; gap: var(--sp-16); max-width: 46em; }
.wk-intro .lede { margin: 0; color: var(--ink); font-size: 1.12rem; }
@media (max-width: 560px) {
  .wk-hero { padding-top: 92px; }
  .wk-hero h1 { font-size: 2.5rem; }
  .wk-intro .lede { text-wrap: pretty; }
}
.mypick { margin: 0; color: var(--ink-2); }
.mypick .kicker { color: var(--tile); margin-right: var(--sp-8); }
.mypick a { font-weight: 600; color: var(--ink); }
.tickets { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-16); margin-top: var(--sp-48); }
.ticket { --tc: var(--sea); position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "day day" "num n"; column-gap: var(--sp-16); row-gap: var(--sp-4); align-items: end;
  padding: var(--sp-24) var(--sp-24); border-radius: var(--radius); background: var(--tc); color: #fff8ee; text-decoration: none; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); box-shadow: 0 10px 30px -16px var(--tc); }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--paper); }
.ticket::before { left: -11px; } .ticket::after { right: -11px; }
.ticket:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 20px 40px -18px var(--tc); }
.t-sea { --tc: var(--sea); } .t-tile { --tc: var(--tile); } .t-sun { --tc: #d98a22; color: var(--ink); }
.t-sun .tk-n { border-left-color: rgba(24, 34, 46, .35); }
.t-dusk { --tc: var(--dusk); }
.tickets.n4 { grid-template-columns: repeat(4, 1fr); }
.tk-flag { display: block; margin-top: var(--sp-4); font-size: .75rem; font-weight: 600; }
/* a day tile counts its listings, then its picks: one line on a wide screen, two even lines on a phone */
.tk-picks::before { content: " · "; }
.ticket.over { opacity: .55; filter: saturate(.4); } /* a day already gone (planner.js syncPast) */
@media (max-width: 699px) { .tk-picks { display: block; } .tk-picks::before { content: none; } }
.tk-day { grid-area: day; font: 600 .75rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.tk-num { grid-area: num; font: 500 italic clamp(3.6rem, 6vw, 5.4rem)/.9 var(--serif); /* type-ok: display */ font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.tk-n { grid-area: n; font-size: .9rem; font-weight: 500; border-left: 1.5px dashed rgba(255, 255, 255, .45); padding-left: var(--sp-16); padding-bottom: var(--sp-8); }
@media (max-width: 680px) {
  .tickets { gap: var(--sp-8); }
  .ticket { padding: var(--sp-16) var(--sp-16); display: flex; flex-direction: column; align-items: flex-start; }
  .tk-num { margin-top: var(--sp-8); font-size: 3rem; }
  .tk-n { border: 0; padding: 0; margin-top: var(--sp-8); font-size: .75rem; }
  .tk-flag { font-size: .68rem; }
  .tickets.n4 { grid-template-columns: repeat(2, 1fr); }
}
/* Category shortcuts under the tickets (weekend.mjs catLinks): plain links that turn on a filter */
.wk-cats { display: flex; flex-wrap: wrap; gap: 0 var(--sp-16); margin: calc(-1 * var(--sp-8)) 0 var(--sp-16); font: 600 .9rem/1.2 var(--sans); }
@media (max-width: 680px) { .wk-cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .wk-cats::-webkit-scrollbar { display: none; } }
.wk-cats a { display: inline-flex; align-items: center; min-height: 32px; color: var(--tile); text-decoration: none; white-space: nowrap; }
.wk-cats a:hover { text-decoration: underline; }
.wk-cats a[aria-current="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.filterbar { position: sticky; top: 76px; z-index: 20; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.chips { display: flex; gap: var(--sp-8); padding: var(--sp-12) 0; overflow-x: auto; scrollbar-width: none; align-items: center; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; font: 600 .9rem/1 var(--sans); padding: .72em 1.1em; border-radius: var(--r-ctl); border: 1.5px solid var(--line); background: #fffaf2; color: var(--ink-2); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip-count { margin-left: auto; flex: none; font-size: .82rem; color: var(--ink-3); padding-left: var(--sp-12); }
.chip.tog[aria-pressed="true"], .chip.sel.on { background: var(--sea); border-color: var(--sea); color: #fff; }
.chip.sel { position: relative; display: inline-flex; align-items: center; padding: 0; }
.chip.sel select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: inherit; color: inherit; padding: .72em 2.2em .72em 1.1em; border-radius: var(--r-ctl); cursor: pointer; field-sizing: content; }
.chip.sel select:focus-visible { outline: 2.5px solid var(--tile); outline-offset: 2px; }
.chip.sel option { color: var(--ink); background: #fffaf2; }
.chip.sel::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; margin-top: -5px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); pointer-events: none; }
.chip-sep { flex: none; width: 1px; height: 26px; margin: 0 var(--sp-4); background: var(--line); }

/* Weekend switch and the planner's start line */
.wk-switch { display: inline-flex; gap: var(--sp-4); padding: var(--sp-4); margin: -8px 0 var(--sp-24); border-radius: calc(var(--r-ctl) + 3px); background: var(--paper-2); }
.wk-switch a { padding: var(--sp-8) var(--sp-16); border-radius: var(--r-ctl); font: 600 .9rem/1 var(--sans); color: var(--ink-2); text-decoration: none; transition: background .2s, color .2s; }
.wk-switch a:hover { color: var(--ink); }
.wk-switch a small { margin-left: var(--sp-4); font-weight: 500; font-size: .82rem; color: var(--ink-2); }
.wk-switch a[aria-current] { background: var(--ink); color: var(--paper); }
.wk-switch a[aria-current] small { color: rgba(250, 244, 234, .7); }
@media (max-width: 560px) { .wk-switch small { display: none; } }
.pl-start { display: flex; align-items: center; flex-wrap: wrap; gap: var(--sp-16) var(--sp-16); margin-top: var(--sp-32); }
.day-flags { display: flex; flex-wrap: wrap; gap: var(--sp-8); margin: -12px 0 var(--sp-16); }
.day-flags span { padding: var(--sp-8) var(--sp-12); border-radius: var(--r-tag); background: var(--paper-2); color: var(--ink-2); font: 600 .82rem/1 var(--sans); }

.wk-body { padding: var(--sp-32) 0 100px; }
.day-sec { padding-top: 70px; scroll-margin-top: 140px; }
.day-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-20); border-bottom: 1.5px solid var(--ink); padding-bottom: var(--sp-16); margin-bottom: var(--sp-32); }
.day-head h2 { display: flex; align-items: baseline; gap: var(--sp-16); flex-wrap: wrap; }
.day-head .dn { font-size: clamp(2.6rem, 6vw, 4.6rem); /* type-ok: display */ }
.day-head .dd { font: 500 italic clamp(1.3rem, 2.4vw, 2rem)/1 var(--serif); /* type-ok: display */ color: var(--tile); font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 1; }
.day-count { font-size: .9rem; color: var(--ink-3); font-weight: 500; white-space: nowrap; }
.day-picks { margin-bottom: var(--sp-48); }
.more-h { font: 600 .82rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 var(--sp-8); }
.evlist { list-style: none; margin: 0; padding: 0; }
.ev-all { display: none; }
.ev { display: grid; grid-template-columns: 112px minmax(0, 1.3fr) minmax(0, 1fr) 220px auto; gap: var(--sp-16); align-items: baseline; padding: var(--sp-16) var(--sp-8); border-bottom: 1px solid var(--line); border-radius: 8px; transition: background .2s; }
.ev:hover { background: #fffaf2; }
.ev-time { font: 600 .9rem/1.3 var(--sans); color: var(--tile); font-variant-numeric: tabular-nums; }
.ev-title { font: 600 1rem/1.35 var(--sans); text-decoration: none; color: var(--ink); }
.ev-title svg { display: inline; vertical-align: -1px; margin-left: var(--sp-8); opacity: 0; transition: opacity .2s; }
.ev:hover .ev-title svg, .ev-title:focus-visible svg { opacity: .6; }
.ev-where { font-size: .9rem; color: var(--ink-3); }
.ev-tags { display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: flex-end; }
.ev-tags .badge:last-child { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-3); }
.ev .pl-add { align-self: center; }
.ev-img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; margin-top: var(--sp-8); border-radius: 8px; background: #e9e1d2; }
@media (max-width: 860px) {
  .ev { grid-template-columns: 82px 1fr auto; row-gap: var(--sp-4); column-gap: var(--sp-16); }
  .ev-title, .ev-where { grid-column: 2 / -1; }
  .ev-tags { grid-column: 2; grid-row: 3; align-self: center; }
  .ev .pl-add { grid-column: 3; grid-row: 3; margin-top: var(--sp-4); }
  .ev-time:has(.ev-img) { grid-row: 1 / span 3; }
  .ev-tags { justify-content: flex-start; }
  .ev-tags .badge:last-child { display: none; }
}
.ongoing { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--sp-16); }
.ongoing a { display: grid; gap: var(--sp-8); padding: var(--sp-16) var(--sp-20); border-radius: var(--radius); background: #fffaf2; text-decoration: none; box-shadow: var(--shadow-1); height: 100%; transition: transform .3s var(--ease); }
.ongoing a:hover { transform: translateY(-3px); }
.ongoing li { position: relative; }
.ongoing li a { padding-bottom: var(--sp-64); }
.ongoing li .pl-add { position: absolute; right: 14px; bottom: 14px; }
.ongoing b { font: 600 1.12rem/1.3 var(--sans); font-variation-settings: "opsz" 24; }
.ongoing a span { font-size: .9rem; color: var(--ink-3); }
.is-hidden { display: none !important; }
.ticket.past { opacity: .4; pointer-events: none; }
.empty-note { text-align: center; font: 500 italic 1.3rem var(--serif); color: var(--ink-3); padding: var(--sp-64) 0; }
.fine-print { margin-top: 70px; font-size: .9rem; color: var(--ink-3); max-width: 46em; }
.cta-short { padding: clamp(90px, 11vw, 140px) 0; }


/* Sunset Score line under each day heading */
.day-sun { display: flex; gap: var(--sp-16); align-items: center; margin: -6px 0 var(--sp-24); color: var(--ink-2); font-size: .9rem; max-width: 52em; }
.ds-text b { color: var(--ink); font-weight: 600; }
.ds-best { color: var(--tile); font-weight: 600; }
/* swipe cue: a fade and arrow at the edge that has more chips past it (weekend.js sets .more-l / .more-r) */
.filterbar { --fb-bg: color-mix(in srgb, var(--paper) 96%, transparent); }
.filterbar::before, .filterbar::after { position: absolute; top: 0; bottom: 0; width: 44px; pointer-events: none; opacity: 0; transition: opacity .2s; display: flex; align-items: center; font: 600 1.12rem/1 var(--sans); color: var(--ink); z-index: 1; }
.filterbar::before { content: "‹"; left: 0; justify-content: flex-start; padding-left: var(--sp-8); background: linear-gradient(90deg, var(--fb-bg) 45%, transparent); }
.filterbar::after { content: "›"; right: 0; justify-content: flex-end; padding-right: var(--sp-8); background: linear-gradient(270deg, var(--fb-bg) 45%, transparent); }
.filterbar.more-l::before, .filterbar.more-r::after { opacity: 1; }
/* mouse: a wheel cannot scroll the row sideways, so the chips wrap instead of hiding past the edge */
/* narrow mouse windows: the wrapped bar runs several rows, so it scrolls away with the page instead of covering it */
@media (hover: hover) and (pointer: fine) and (max-width: 599px) { .filterbar { position: static; } }
@media (hover: hover) and (pointer: fine) {
  .chips { flex-wrap: wrap; overflow-x: visible; gap: var(--sp-4); padding: var(--sp-8) 0; }
  /* 14 event categories (2026-11-09): smaller chips keep the wrapped bar to two rows on a laptop */
  .chips .chip { font-size: .82rem; padding: .6em .78em; }
  .chips .chip.sel { padding: 0; }
  .chips .chip.sel select { padding: .6em 2em .6em .78em; }
  .filterbar::before, .filterbar::after { display: none; }
}

.filterbar { scroll-margin-top: 76px; }

/* A day with no picks yet: bigger draws, the rest, then the weekly regulars folded into one line (weekend.mjs sorted()) */
.more + .more { margin-top: var(--sp-32); }
.more-reg > summary { display: flex; align-items: center; gap: var(--sp-8); min-height: 44px; padding: 0 var(--sp-8); cursor: pointer; list-style: none; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.more-reg > summary::-webkit-details-marker { display: none; }
.more-reg > summary .more-h { margin: 0; line-height: 1.4; padding-block: var(--sp-8); }
.more-reg > summary::after { content: ""; width: 8px; height: 8px; margin-left: auto; margin-right: var(--sp-8); border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.more-reg[open] > summary::after { transform: rotate(-135deg) translateY(-3px); }
.more-reg[open] > summary { margin-bottom: var(--sp-8); }
.reg-n { font: 600 .82rem/1 var(--sans); color: var(--ink-3); font-variant-numeric: tabular-nums; }
/* Phones: the listings come before the photo (the answer first); the photo sits under the list */
@media (max-width: 759px) {
  .page-weekend main { display: flex; flex-direction: column; }
  .page-weekend main > * { min-width: 0; }
  .page-weekend main > .pband { order: 1; margin-top: var(--sp-32); }
  .page-weekend main > .wk-body ~ * { order: 2; }
}

/* Docked day tickets (weekend.js): phones only. It hangs under the stuck filter bar, so showing it moves nothing. */
.tk-dock { display: none; }
@media (max-width: 680px) {
  .tk-dock { position: absolute; top: 100%; left: 0; right: 0; display: flex; gap: var(--sp-8); padding: var(--sp-8) var(--sp-24) var(--sp-8);
    overflow-x: auto; scrollbar-width: none; background: color-mix(in srgb, var(--paper) 97%, transparent); border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 18px -16px rgba(24, 34, 46, .5);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s; }
  .tk-dock::-webkit-scrollbar { display: none; }
  .filterbar.docked .tk-dock { opacity: 1; visibility: visible; transform: none; transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s; }
  .tkd { flex: 1 1 0; min-width: 0; display: grid; gap: 2px; padding: var(--sp-8) var(--sp-8) var(--sp-8); border-radius: var(--radius-sm); border: 1.5px solid var(--tc, var(--sea));
    color: var(--ink); text-decoration: none; background: #fffaf2; transition: background .2s, color .2s; }
  .tkd b { font: 600 .75rem/1.1 var(--sans); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
  .tkd span { font-size: .75rem; line-height: 1.15; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tkd.on { background: var(--tc, var(--sea)); color: #fff8ee; }
  .tkd.on span { color: inherit; opacity: .88; }
  .tkd.t-sun.on { color: var(--ink); }
  .tkd.past { opacity: .4; pointer-events: none; }
  .tk-dock.n7 .tkd { flex: 0 0 auto; min-width: 80px; }
  .day-sec { scroll-margin-top: 204px; }
}
@media (hover: hover) and (pointer: fine) and (max-width: 599px) { .tk-dock { display: none; } }
.tk-dock-pin { height: 0; }
@media (prefers-reduced-motion: reduce) { .tk-dock, .filterbar.docked .tk-dock { transform: none; } }

/* phones: a day's long list shows ten rows until asked (or until a filter is on; weekend.js sets .all), and the Plan button rides beside the title instead of taking its own line */
@media (max-width: 560px) {
  .evlist.cap:not(.all) > .ev:nth-child(n+11) { display: none; }
  .ev-all { display: block; width: 100%; min-height: 46px; margin-top: var(--sp-12); border: 1.5px solid var(--line); border-radius: var(--r-ctl); background: none; color: var(--ink); font: 600 .9rem/1 var(--sans); cursor: pointer; }
  .evlist.all + .ev-all { display: none; }
  .ev .ev-title, .ev .ev-where { grid-column: 2; }
  .ev .pl-add.has-t { grid-column: 3; grid-row: 1 / span 2; align-self: start; margin-top: 0; min-width: 0; width: 38px; height: 38px; padding: 0; }
  .ev .pl-add-t { display: none; }
}

/* ---- 2026-11-13: photo-led opening, the picks map and poster, and shorter phone pages (weekend-lead.mjs) ---- */
/* Title, then the week switch on its own row, the cover photo at once. The switch always sits under the title
   (owner 2026-11-23, "why does the date selector jump?"): sharing the title's line, it wrapped under a long title
   ("This weekend") and stayed beside a short one ("This week"), so it moved between the pages. */
.wk-top { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-16); margin-bottom: var(--sp-16); }
.wk-hero .wk-top h1 { font-size: var(--h1-page); margin: var(--sp-8) 0 0; }
.wk-top .wk-switch { margin: 0; }
.wk-top > .wk-title { align-self: stretch; } /* the label line runs the full width: Share at its right end, as on the other hub pages (design review 2026-11-23) */
.wk-title .ph-top .eyebrow { margin: 0; }
.wk-lead { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 48px); align-items: start; }
.wk-lead.solo { grid-template-columns: minmax(0, 46em); }
.wk-side { display: grid; gap: var(--sp-24); align-content: start; }
.wk-side .wk-intro { gap: var(--sp-12); }
.wk-side .mypick { font-size: 1.12rem; line-height: 1.5; color: var(--ink); }
.wk-side .wk-intro .lede { font-size: 1rem; color: var(--ink-2); }
.wk-side .pl-start { margin-top: 0; gap: var(--sp-8) var(--sp-12); }
.wk-side .pl-start .btn { padding: .85em 1.25em; font-size: .9rem; }

/* The cover: the editor's pick as a photo with the email's headline on it */
.wk-cover { position: relative; isolation: isolate; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--ink); color: #fffaf2; text-decoration: none; }
.wk-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.wk-cover:hover img { transform: scale(1.025); }
.wk-cover::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(14, 22, 34, 0) 30%, rgba(14, 22, 34, .5) 62%, rgba(14, 22, 34, .92) 100%); }
.wkc-txt { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: grid; gap: var(--sp-8); padding: clamp(18px, 2.6vw, 30px); }
.wkc-txt .kicker { color: #f6c476; }
.wkc-h { font: 400 2.1rem/1.08 var(--serif); text-wrap: balance; max-width: 18em; }
.wkc-m { font: 500 .9rem/1.4 var(--sans); color: rgba(255, 250, 242, .88); }
.wk-cover:focus-visible { outline: 2.5px solid var(--tile); outline-offset: 3px; }
/* a flyer or logo (site.js marks it .fit) is shown whole with the words under it; a photo that failed leaves the words */
.wk-cover:has(img.fit), .wk-cover:not(:has(img)) { aspect-ratio: auto; }
.wk-cover:has(img.fit) img { position: static; height: auto; max-height: 380px; object-fit: contain; padding: var(--sp-16); background: var(--paper-2); }
.wk-cover:has(img.fit)::after, .wk-cover:not(:has(img))::after { display: none; }
.wk-cover:has(img.fit) .wkc-txt, .wk-cover:not(:has(img)) .wkc-txt { position: static; }
/* no photo at all: a light card in the page's own colors instead of a dark empty box */
.wk-cover:not(:has(img)) { align-self: start; background: #fffaf2; color: var(--ink); box-shadow: var(--shadow-1); }
.wk-cover:not(:has(img)) .kicker { color: var(--tile); }
.wk-cover:not(:has(img)) .wkc-m { color: var(--ink-3); }
@media (prefers-reduced-motion: reduce) { .wk-cover img { transition: none; } .wk-cover:hover img { transform: none; } }

/* Day tickets: a slim row under the cover */
.page-weekend .tickets { margin-top: var(--sp-32); }
.page-weekend .ticket { padding: var(--sp-16) var(--sp-24); }
.page-weekend .tk-num { font-size: 3rem; }
@media (max-width: 680px) {
  .wk-top { margin-bottom: var(--sp-16); }
  .wk-lead, .wk-lead.solo { grid-template-columns: minmax(0, 1fr); gap: var(--sp-16); }
  .wk-cover { aspect-ratio: 5 / 4; margin-inline: -24px; border-radius: 0; }
  .wk-cover:has(img.fit) img { max-height: 300px; }
  .wk-cover:not(:has(img)) { margin-inline: 0; border-radius: var(--radius); }
  .wkc-txt { padding: var(--sp-16) var(--sp-24) var(--sp-20); gap: var(--sp-8); }
  .wkc-h { font-size: 1.75rem; }
  .wk-side { gap: var(--sp-16); }
  .wk-side .mypick { font-size: 1rem; }
  .wk-side .wk-intro .lede { font-size: .9rem; }
  /* the plan builder: one main button, two beside each other, ready-made plans on one line that scrolls sideways */
  .wk-side .pl-start { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .wk-side .pl-start .btn { padding: .9em .6em; }
  .wk-side .pl-start [data-start-picks] { grid-column: 1 / -1; }
  .wk-side .pl-ready { grid-column: 1 / -1; } /* the ready-made plans wrap, all in view */
  .page-weekend .tickets { margin-top: var(--sp-16); gap: var(--sp-8); }
  .page-weekend .ticket { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 var(--sp-8); padding: var(--sp-12) var(--sp-12) var(--sp-8); }
  .page-weekend .ticket::before, .page-weekend .ticket::after { display: none; }
  .page-weekend .tk-num { margin: 0; font-size: 1.75rem; line-height: 1; }
  .page-weekend .tk-n { flex-basis: 100%; margin-top: var(--sp-4); }
  .page-weekend .tickets.n4 { grid-template-columns: repeat(4, 1fr); gap: var(--sp-8); }
  .page-weekend .tickets.n4 .ticket { padding: var(--sp-8) var(--sp-8) var(--sp-8); gap: 0 var(--sp-4); }
  .page-weekend .tickets.n4 .tk-num { font-size: 1.5rem; }
  .page-weekend .wk-hero { padding-bottom: var(--sp-20); }
}

/* The picks at a glance: numbered map, the weekend poster, the same numbers as a list */
.wk-glance { padding-top: var(--sp-48); }
.wk-glance h2 { font-size: 1.75rem; margin: 0 0 var(--sp-16); }
.wkg-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-areas: "map poster" "list list"; gap: var(--sp-24) clamp(24px, 3.4vw, 44px); align-items: center; }
.wkg-grid.noposter { grid-template-areas: "map list"; align-items: start; }
.wkg-grid.nomap { grid-template-areas: "list poster"; align-items: start; }
.wkg-grid.nomap.noposter { grid-template-columns: 1fr; grid-template-areas: "list"; }
.wkg-map { grid-area: map; margin: 0; }
.wkg-mapbox { position: relative; overflow: hidden; border-radius: var(--radius); background: #cfe0e2; box-shadow: var(--shadow-1); }
.wkg-mapbox img, .wkg-mapbox svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.wkg-map figcaption { margin-top: var(--sp-8); font-size: .75rem; color: var(--ink-3); text-align: right; }
.wkg-map figcaption a { color: inherit; }
.pm-b { font-family: var(--sans); font-weight: 600; letter-spacing: .08em; }
.pm-n { font-family: var(--sans); font-weight: 500; }
.pm-i { font-family: var(--serif); font-style: italic; }
.pm-pin { font-family: var(--sans); font-weight: 600; pointer-events: none; }
.wkg-mapbox a { cursor: pointer; }
.wkg-mapbox a:hover circle:nth-of-type(3), .wkg-mapbox a:focus-visible circle:nth-of-type(3) { fill: var(--tile); }
.wkg-mapbox a:focus-visible { outline: none; }
.wkg-mapbox a:focus-visible circle:nth-of-type(2) { fill: var(--sun); }
.wkg-poster { grid-area: poster; display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: var(--sp-20); align-items: center; }
.wkg-pimg { display: block; border-radius: var(--radius-sm); overflow: hidden; box-shadow: 0 18px 34px -20px rgba(24, 34, 46, .6), 0 0 0 1px var(--line); transition: transform .3s var(--ease); }
.wkg-pimg:hover { transform: translateY(-3px); }
.wkg-pimg img { display: block; width: 100%; height: auto; }
.wkg-ptxt h3 { font: 400 1.5rem/1.12 var(--serif); margin: 0 0 var(--sp-8); }
.wkg-ptxt p { margin: 0 0 var(--sp-16); font-size: .9rem; line-height: 1.45; color: var(--ink-2); }
.wkg-btns { display: flex; flex-wrap: wrap; gap: var(--sp-8); }
.wkg-btns .btn { padding: .85em 1.2em; font-size: .9rem; }
.wkg-list { grid-area: list; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 2px var(--sp-24); }
.wkg-grid.noposter .wkg-list, .wkg-grid.nomap .wkg-list { grid-template-columns: 1fr; }
.wkg-list a { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; column-gap: var(--sp-8); align-items: center; min-height: 40px; padding: var(--sp-4) var(--sp-8) var(--sp-4) 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.wkg-list a:hover .t { text-decoration: underline; text-underline-offset: 3px; }
.pn, .pick-n { flex: none; display: inline-block; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 600 .75rem/26px var(--sans); text-align: center; font-variant-numeric: tabular-nums; }
.pn.star, .pick-n.star { background: var(--tile); }
.wkg-list .t { font: 600 .9rem/1.3 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wkg-list .m { font-size: .75rem; color: var(--ink-3); white-space: nowrap; }
.page-weekend .pick { scroll-margin-top: 150px; }
.wk-glance a.gone { opacity: .4; pointer-events: none; }
@media (max-width: 860px) {
  .wkg-grid, .wkg-grid.noposter, .wkg-grid.nomap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "map" "list" "poster"; gap: var(--sp-16); }
  .wkg-grid.noposter { grid-template-areas: "map" "list"; } .wkg-grid.nomap { grid-template-areas: "list" "poster"; }
  .wkg-poster { grid-template-columns: minmax(0, 132px) minmax(0, 1fr); gap: var(--sp-16); margin-top: var(--sp-8); padding: var(--sp-16); border-radius: var(--radius); background: #fffaf2; box-shadow: var(--shadow-1); }
}
@media (max-width: 680px) {
  .wk-glance { padding-top: var(--sp-24); }
  .wk-glance h2 { font-size: 1.5rem; }
  .wkg-mapbox { margin-inline: -12px; }
  .wkg-list, .wkg-grid.noposter .wkg-list, .wkg-grid.nomap .wkg-list { grid-template-columns: 1fr 1fr; gap: 0 var(--sp-16); }
  .wkg-list a { grid-template-columns: 24px minmax(0, 1fr); column-gap: var(--sp-8); min-height: 38px; }
  .wkg-list .m { display: none; }
  .wkg-list .t { font-size: .82rem; }
  .pn { width: 24px; height: 24px; line-height: 24px; }
  .wkg-ptxt h3 { font-size: 1.3rem; }
  .wkg-btns .btn { padding: .8em 1em; }
  .page-weekend .pick { scroll-margin-top: 214px; }

  /* A day's picks, every one in view: compact cards down the page, photo at the left (owner 2026-11-13: a swipe row
     hid all but the first pick) */
  .page-weekend .day-picks { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-8); margin-bottom: var(--sp-24); }
  /* photo, time, title and place share the top; the write-up runs the card's full width under them */
  .page-weekend .day-picks .pick { grid-column: auto; display: grid; grid-template-columns: 114px minmax(0, 1fr); grid-auto-rows: auto; align-content: start; row-gap: var(--sp-8); padding-bottom: var(--sp-16); }
  .page-weekend .day-picks .pick-img { grid-row: 1 / span 3; align-self: start; width: 100px; height: 100px; aspect-ratio: auto; margin: var(--sp-16) 0 0 var(--sp-16); border-radius: var(--radius-sm); }
  .page-weekend .day-picks .pick-img:not(.has-bg):has(img.fit) { padding: var(--sp-8); }
  .page-weekend .day-picks .poster { grid-column: 2; padding: var(--sp-12) var(--sp-16) 0; }
  .page-weekend .day-picks .pick .body { display: contents; }
  .page-weekend .day-picks .pick .body > h3, .page-weekend .day-picks .pick .body > .meta { grid-column: 2; padding: 0 var(--sp-16); }
  .page-weekend .day-picks .pick .body > :not(h3):not(.meta) { grid-column: 1 / -1; margin-inline: var(--sp-16); }
  .page-weekend .day-picks .pick .body > div:empty { display: none; }
  .page-weekend .day-picks .pick:not(:has(.pick-img img)) :is(.poster, .body > h3, .body > .meta) { grid-column: 1 / -1; }
  /* the top line: number, day and time, and a round + (as on the cover cards); the category sits under them, so a long
     one never pushes Plan onto its own line and the title starts beside the photo */
  .page-weekend .day-picks .poster { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "n when add" "tag tag add"; align-items: center; gap: 2px var(--sp-8); }
  .page-weekend .day-picks .poster .pick-n { grid-area: n; }
  .page-weekend .day-picks .poster .when { grid-area: when; }
  .page-weekend .day-picks .poster .tag { grid-area: tag; margin-left: 0; }
  .page-weekend .day-picks .poster .pl-add { grid-area: add; align-self: start; min-width: 0; width: 38px; height: 38px; padding: 0; }
  .page-weekend .day-picks .poster .pl-add-t { display: none; }
  .page-weekend .day-picks .pick h3 { font-size: 1.3rem; line-height: 1.12; }
  .page-weekend .day-picks .pick .meta { font-size: .82rem; }
  .page-weekend .day-picks .pick .blurb, .page-weekend .day-picks .pick .why { font-size: .9rem; line-height: 1.45; }

  /* tighter day sections */
  .page-weekend .wk-body { padding-top: var(--sp-8); }
  .page-weekend .day-sec { padding-top: var(--sp-48); }
  .page-weekend .day-head { padding-bottom: var(--sp-8); margin-bottom: var(--sp-16); }
  .page-weekend .day-head .dn { font-size: 2.1rem; }
  .page-weekend .day-flags { margin: -6px 0 var(--sp-12); }
  .page-weekend .day-sun { margin: 0 0 var(--sp-16); }
  .page-weekend .fine-print { margin-top: var(--sp-48); }
}
/* phones: long lists on this page show ten rows, then "Show all" (a filter opens them; weekend.js) */
@media (max-width: 560px) {
  .page-weekend .evlist.cap:not(.all):not(.cap-js) > .ev:nth-child(n+11), .page-weekend .cap.cap-js:not(.all) > .cap-over { display: none; }
  .page-weekend .evlist.cap.cap-js:not(.all) > .ev:not(.cap-over):not(.is-hidden) { display: grid; }
  .page-weekend .cap.all + .ev-all { display: none; }
  /* exhibits and anytime spots as plain rows, not cards */
  .page-weekend .ongoing { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .page-weekend .ongoing a, .page-weekend .ongoing li a { gap: 2px; padding: var(--sp-12) 0; border-radius: 0; background: none; box-shadow: none; border-bottom: 1px solid var(--line); }
  .page-weekend .ongoing li:has(.pl-add) a { padding-right: var(--sp-48); }
  .page-weekend .ongoing a:hover { transform: none; }
  .page-weekend .ongoing b { font-size: 1rem; }
  .page-weekend .ongoing li .pl-add { right: 0; bottom: auto; top: 50%; margin-top: -19px; min-width: 0; width: 38px; height: 38px; padding: 0; }
  .page-weekend .ongoing .pl-add-t { display: none; }
  .page-weekend .ongoing.cap:not(.all):not(.cap-js) > li:nth-child(n+11) { display: none; }
}
/* Worth planning around: a twilight launch, a 9-10 sunset or beach day, under the day's sunset line */
.wk-moments { list-style: none; margin: -8px 0 var(--sp-24); padding: 0; display: grid; gap: var(--sp-8); max-width: 52em; }
.wkm { position: relative; display: grid; gap: var(--sp-4); padding: var(--sp-12) var(--sp-16) var(--sp-16); border-radius: var(--radius); background: #ffe9d2; }
.wkm-k { min-height: 34px; padding-right: 108px; font: 600 .75rem/1.25 var(--sans); color: var(--tile); text-transform: uppercase; letter-spacing: .04em; display: flex; align-items: center; gap: var(--sp-8); }
/* a featured moment's tier mark (tier.css) beside its kicker */
.wkm-k .tmark.wkm-m { --sz: 32px; }
.wkm-t { font: 600 1rem/1.3 var(--sans); color: var(--ink); }
.wkm-b { font-size: .9rem; color: var(--ink-2); }
.wkm .pl-add { position: absolute; top: 12px; right: 12px; }
.wk-switch a.wk-pick { color: var(--sea); }
.wk-switch a.wk-pick[aria-current] { color: var(--paper); }

/* ---- 2026-11-23: the magazine cover and one day + filter bar (owner "make it beautiful"; weekend.mjs magazine()) ----
   The weekend's top picks open the page (one lead photo, two beside it), each with its day, time, place, price and
   + Plan. Under them one bar holds the days, Filter, Plan my weekend and Map; Filter and Plan open a row beneath it. */
.page-weekend:has(.wk-bar) .wk-hero { padding-bottom: var(--sp-24); }
.page-weekend:has(.wk-bar) .wk-top { margin-bottom: var(--sp-20); }
.mag { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: var(--sp-20); min-height: clamp(400px, 32vw, 460px); }
.mag.n1, .mag:not(:has(.mag-card:not(.is-hidden))) { grid-template-columns: minmax(0, 1fr); }
.mag-a { color: inherit; text-decoration: none; }
.mag-a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.mag-a:focus-visible { outline: none; }
.mag-a:focus-visible::after { outline: 2.5px solid var(--tile); outline-offset: -4px; }
.mag .pcred { z-index: 3; }
.mag .pl-add { position: relative; z-index: 2; }
.mag-h { margin: 0; text-wrap: balance; }
.mag-m { margin: 0; }
.mag .pn { width: 22px; height: 22px; line-height: 22px; font-size: .68rem; margin-right: var(--sp-8); vertical-align: 1px; }

/* the lead: a full photo with its words on it */
.mag-lead { position: relative; display: grid; overflow: hidden; border-radius: var(--radius); background: var(--ink); color: #fffaf2; min-height: 0; }
.mag-lead > * { grid-area: 1 / 1; min-width: 0; }
.mag-lead .mag-img { aspect-ratio: auto; height: 100%; background: var(--ink); position: relative; }
.mag-lead .mag-img img { position: absolute; inset: 0; transition: transform .7s var(--ease); }
.mag-lead .mag-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 22, 34, 0) 34%, rgba(14, 22, 34, .5) 62%, rgba(14, 22, 34, .9) 100%); pointer-events: none; }
.mag-lead:hover .mag-img img { transform: scale(1.025); }
.mag-lead .mag-img img.fit { padding: var(--sp-16) var(--sp-16) 38%; }
.mag-lead .pcred { top: var(--sp-12); right: var(--sp-12); bottom: auto; }
.mag-lead .pcred-t { top: 34px; bottom: auto; }
.mag-lead .mag-txt { z-index: 2; align-self: end; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--sp-24); align-items: end; padding: clamp(20px, 2.6vw, 34px); }
.mag-lead .mag-txt > :not(.pl-add) { grid-column: 1; }
.mag-lead .kicker { margin: 0 0 var(--sp-8); color: #f6c476; }
.mag-lead .mag-h { font: 400 clamp(2.1rem, 3.4vw, 3rem)/1.04 var(--serif); /* type-ok: cover headline */ max-width: 15em; }
.mag-lead .mag-m { margin-top: var(--sp-12); font: 500 1rem/1.4 var(--sans); color: rgba(255, 250, 242, .92); }
.mag-lead .pl-add { grid-column: 2; grid-row: 1 / span 3; align-self: end; border-color: transparent; }
.mag-lead .pn { background: #fffaf2; color: var(--ink); }
.mag-lead .pn.star { background: var(--tile); color: #fffaf2; }
/* no photo: a light card in the page's own colors */
.mag-lead:not(:has(.mag-img img)) { background: #fffaf2; color: var(--ink); box-shadow: var(--shadow-1); }
.mag-lead:not(:has(.mag-img img)) .kicker { color: var(--tile); }
.mag-lead:not(:has(.mag-img img)) .mag-m { color: var(--ink-2); }
.mag-lead:not(:has(.mag-img img)) .pl-add { border-color: var(--ink-3); }
.mag-lead:not(:has(.mag-img img)) .pn { background: var(--ink); color: var(--paper); }

/* the two beside it: photo at the left, words at the right */
.mag-side { display: grid; grid-auto-rows: minmax(0, 1fr); gap: var(--sp-20); min-height: 0; }
.mag-card { position: relative; display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); overflow: hidden; border-radius: var(--radius); background: #fffaf2; box-shadow: var(--shadow-1); transition: box-shadow .2s; }
.mag-card:hover { box-shadow: 0 0 0 1.5px var(--ink-3); }
.mag-card:not(:has(.mag-img img)) { grid-template-columns: minmax(0, 1fr); }
.mag-card .mag-img { aspect-ratio: auto; height: 100%; min-height: 150px; position: relative; }
.mag-card .mag-img img { position: absolute; inset: 0; transition: transform .7s var(--ease); }
.mag-card:hover .mag-img img { transform: scale(1.03); }
.mag-card .mag-img img.fit { padding: var(--sp-8); }
.mag-card .mag-txt { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--sp-8); padding: var(--sp-20); min-width: 0; }
.mag-when { margin: 0; display: flex; align-items: center; font: 600 .82rem/1.2 var(--sans); color: var(--tile); }
.mag-card .mag-h { font: 400 1.5rem/1.12 var(--serif); }
.mag-card .mag-m { font-size: .9rem; line-height: 1.4; color: var(--ink-2); }
.mag-card .mag-b { margin: 0; font-size: .82rem; line-height: 1.45; color: var(--ink-3); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
/* + Plan rides at the card's top right, beside the day and time */
.mag-card .pl-add { position: absolute; top: var(--sp-16); right: var(--sp-16); margin: 0; }
.mag-card .pl-add.has-t { min-width: 0; width: 38px; height: 38px; padding: 0; }
.mag-card .pl-add-t { display: none; }
.mag-card :is(.mag-h, .mag-when) { padding-right: var(--sp-48); }
/* the credit opens toward the words, inside the card */
.mag-card .pcred-t { left: 0; right: auto; max-width: min(240px, 60vw); }
@media (prefers-reduced-motion: reduce) { .mag-lead .mag-img img, .mag-card .mag-img img { transition: none; transform: none !important; } }

/* intro under the cover */
.wk-note { display: grid; gap: var(--sp-8); max-width: 52em; margin-top: var(--sp-24); }
.wk-note p { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.wk-note .mypick { color: var(--ink); }
.wk-note .lede { font-size: 1rem; }

/* the bar: days, then Filter, Plan my weekend and Map */
.wk-bar { --wkb-top: 76px; top: var(--wkb-top); }
.wkb { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-16); padding-block: var(--sp-8); }
.wk-days { display: flex; gap: var(--sp-8); min-width: 0; }
.wk-days .ticket { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "num day" "num n"; column-gap: var(--sp-12); row-gap: 2px; align-items: center;
  padding: var(--sp-8) var(--sp-16) var(--sp-8) var(--sp-12); border-radius: var(--radius); background: #fffaf2; color: var(--ink); box-shadow: 0 0 0 1.5px var(--line); overflow: visible; transition: background .2s, box-shadow .2s, color .2s; }
.wk-days .ticket::before, .wk-days .ticket::after { display: none; }
.wk-days .ticket:hover { transform: none; box-shadow: 0 0 0 1.5px var(--tc); }
.wk-days .ticket:focus-visible { outline: 2.5px solid var(--tile); outline-offset: 2px; }
.wk-days .tk-day { grid-area: day; align-self: end; font: 600 .68rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.wk-days .tk-num { grid-area: num; font: 500 italic 2.1rem/1 var(--serif); color: var(--tc); margin: 0; }
.wk-days .tk-n { grid-area: n; align-self: start; border: 0; padding: 0; margin: 0; font: 500 .82rem/1.3 var(--sans); color: var(--ink-3); white-space: nowrap; }
.wk-days .tk-flag { display: block; margin: 0; font: 600 .75rem/1.3 var(--sans); color: var(--sea); }
.wk-days .ticket.on { background: var(--tc); box-shadow: 0 0 0 1.5px var(--tc); color: #fff8ee; }
.wk-days .ticket.on :is(.tk-num, .tk-day, .tk-n, .tk-flag) { color: inherit; }
.wk-days .ticket.t-sun { --tc: #d98a22; }
.wk-days .ticket.t-sun.on { color: var(--ink); }
.wkb-tools { flex: none; display: flex; gap: var(--sp-8); }
.wkb-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-8); min-height: 42px; padding: 0 var(--sp-16); border-radius: var(--r-ctl); border: 1.5px solid var(--line);
  background: #fffaf2; color: var(--ink); font: 600 .9rem/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.wkb-btn:hover { border-color: var(--ink-3); }
.wkb-btn:focus-visible { outline: 2.5px solid var(--tile); outline-offset: 2px; }
.wkb-btn[aria-controls]::after { content: ""; width: 6px; height: 6px; margin: -3px 0 0 2px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); transition: transform .2s; }
.wkb-btn[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 3px; } /* sp-ok: chevron nudge */
.wkb-plan { background: var(--tile); border-color: var(--tile); color: #fffaf2; }
.wkb-plan:hover { border-color: var(--ink); }
.wkb-btn[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.wkb-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 var(--sp-4); border-radius: 10px; background: var(--sea); color: #fff; font: 600 .75rem/1 var(--sans); }
.wkb-n[hidden] { display: none; }
.wkb-panel { position: relative; border-top: 1px solid var(--line); }
.wkb-panel .pl-start { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-8) var(--sp-12); margin-block: 0; padding-block: var(--sp-12); }
.wkb-panel .pl-start .btn { padding: .78em 1.2em; font-size: .9rem; }
.wkb-panel .pl-ready { flex-basis: auto; }
.wk-bar::before, .wk-bar::after { display: none; }
.wkb-panel::before, .wkb-panel::after { position: absolute; top: 0; bottom: 0; width: 44px; pointer-events: none; opacity: 0; transition: opacity .2s; display: flex; align-items: center; font: 600 1.12rem/1 var(--sans); color: var(--ink); z-index: 1; }
.wkb-panel::before { content: "‹"; left: 0; justify-content: flex-start; padding-left: var(--sp-8); background: linear-gradient(90deg, var(--fb-bg) 45%, transparent); }
.wkb-panel::after { content: "›"; right: 0; justify-content: flex-end; padding-right: var(--sp-8); background: linear-gradient(270deg, var(--fb-bg) 45%, transparent); }
.wkb-panel.more-l::before, .wkb-panel.more-r::after { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .wkb-panel::before, .wkb-panel::after { display: none; } }
.page-weekend:has(.wk-bar) :is(.wk-glance, .pick) { scroll-margin-top: calc(76px + var(--wkb-h, 64px) + var(--sp-16)); }
/* a day lands with its heading just under the bar (the section's own top padding sits under the bar) */
.page-weekend:has(.wk-bar) .day-sec { scroll-margin-top: calc(76px + var(--wkb-h, 64px) - var(--sp-32)); }
.page-weekend:has(.wk-bar) .wk-body { padding-top: var(--sp-8); }

/* the map list: whole titles, one per row on a phone */
.wkg-list .t { white-space: normal; overflow: visible; text-overflow: clip; }
.wkg-list a { align-items: start; padding-block: var(--sp-8); }
.wkg-list .pn { margin-top: -2px; }
.wkg-list .m { padding-top: 2px; }
.wk-cta { margin-top: var(--sp-64); }

@media (max-width: 1080px) and (min-width: 681px) {
  .wkb { flex-wrap: wrap; }
  .wk-days { flex: 1 1 100%; }
  .wk-days .ticket { flex: 1 1 0; }
}
@media (max-width: 860px) and (min-width: 681px) {
  .mag { grid-template-columns: minmax(0, 1fr); }
  .mag-lead { aspect-ratio: 16 / 10; }
  .mag-side { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
}
@media (max-width: 680px) {
  /* the cover: the lead runs edge to edge, the other two are compact rows */
  .mag { grid-template-columns: minmax(0, 1fr); gap: var(--sp-12); min-height: 0; }
  .mag-lead { margin-inline: -24px; border-radius: 0; height: clamp(280px, 76vw, 360px); }
  .mag-lead:not(:has(.mag-img img)) { margin-inline: 0; border-radius: var(--radius); height: auto; }
  /* the week switch: all four in view on a narrow phone (Pick dates ran off the edge at 360) */
  .wk-top .wk-switch { display: flex; width: 100%; }
  .wk-top .wk-switch a { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; padding: var(--sp-8) var(--sp-4); text-align: center; }
  .mag-lead .mag-txt { padding: var(--sp-16) var(--sp-24) var(--sp-20); column-gap: var(--sp-12); }
  .mag-lead .mag-h { font-size: 1.75rem; }
  .mag-lead .mag-m { margin-top: var(--sp-8); font-size: .9rem; }
  .mag-lead .kicker { margin-bottom: var(--sp-4); }
  .mag-side { gap: var(--sp-8); grid-auto-rows: auto; }
  .mag-card { grid-template-columns: 96px minmax(0, 1fr); align-items: start; }
  .mag-card .mag-img { width: 80px; height: 80px; min-height: 0; margin: var(--sp-12) 0 var(--sp-12) var(--sp-12); border-radius: var(--radius-sm); }
  .mag-card .mag-txt { gap: var(--sp-4); padding: var(--sp-12) var(--sp-64) var(--sp-12) var(--sp-4); }
  .mag-card:not(:has(.mag-img img)) .mag-txt { padding-left: var(--sp-16); }
  .mag-card .mag-h { font: 600 1rem/1.3 var(--sans); }
  .mag-card .mag-m { font-size: .82rem; }
  .mag-card .mag-b { display: none; }
  .mag-card .pl-add { position: absolute; top: var(--sp-12); right: var(--sp-12); margin: 0; }
  .mag-card .pl-add.has-t { min-width: 0; width: 38px; height: 38px; padding: 0; }
  .mag-card .pl-add-t { display: none; }
  .wk-note { margin-top: var(--sp-16); }
  .wk-note p, .wk-note .lede { font-size: .9rem; }

  /* the bar: Plan my weekend and Map on top, the days and Filter under them. Once it sticks, the top row tucks under
     the site header and the days and Filter stay in view (top = 76 px less that row, so nothing changes size or moves) */
  .wk-bar { --wkb-top: 22px; }
  .wk-bar.stuck :is(.wkb-plan, .wkb-tools > a) { visibility: hidden; }
  .wkb { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "plan map" "days filter"; gap: var(--sp-8); align-items: stretch; }
  .wkb:not(:has(.wkb-tools > a)) { grid-template-areas: "plan plan" "days filter"; }
  /* a four-day weekend: Filter joins the top row so the four days get the full width */
  .wkb:has(.wk-days.n4) { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "plan map filter" "days days days"; }
  .wkb:has(.wk-days.n4):not(:has(.wkb-tools > a)) { grid-template-areas: "plan plan filter" "days days days"; }
  .wkb:has(.wk-days.n4) .wkb-btn[aria-controls="wk-filters"] { flex-direction: row; min-height: 38px; }
  .wk-bar.stuck:has(.wk-days.n4) .wkb-btn[aria-controls="wk-filters"] { visibility: hidden; }
  .wkb-tools { display: contents; }
  .wkb-plan { grid-area: plan; }
  .wkb-tools > a { grid-area: map; }
  .wk-days { grid-area: days; }
  /* Filter keeps its button height beside the day tiles (stretched, it turned into a tall empty box) */
  .wkb-btn[aria-controls="wk-filters"] { grid-area: filter; align-self: center; flex-direction: column; gap: var(--sp-4); min-height: 56px; padding: 0 var(--sp-12); }
  .wkb-btn[aria-controls="wk-filters"]::after { margin: 0; }
  .wkb-btn[aria-controls="wk-filters"][aria-expanded="true"]::after { margin: 0; }
  .wkb-btn { min-height: 38px; padding: 0 var(--sp-8); font-size: .82rem; }
  .wk-days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-8); }
  .wk-days.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wk-days.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wk-days .ticket { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "day num" "n n"; column-gap: var(--sp-4); row-gap: 2px; align-items: baseline; padding: var(--sp-8) var(--sp-8); }
  .wk-days .tk-day { align-self: baseline; letter-spacing: .14em; }
  .wk-days .tk-num { font-size: 1.3rem; }
  .wk-days .tk-n { white-space: normal; font-size: .75rem; line-height: 1.25; }
  .wk-days .tk-sep { display: none; }
  .wk-days .tk-p, .wk-days .tk-l { display: block; }
  .wk-days .tk-flag { font-size: .68rem; line-height: 1.2; }
  .wk-days.n4 .tk-day { letter-spacing: .06em; }
  .wkb-panel .pl-start { padding-block: var(--sp-8) var(--sp-12); }
  .wkb-panel .pl-start .btn { flex: 1 1 auto; }
  .wkb-panel .pl-ready { flex-basis: 100%; }

  .wkg-list, .wkg-grid.noposter .wkg-list, .wkg-grid.nomap .wkg-list { grid-template-columns: minmax(0, 1fr); }
  .wkg-list a { grid-template-columns: 24px minmax(0, 1fr) auto; }
  .wkg-list .m { display: block; }
  .wkg-list .t { font-size: .9rem; }
  .wk-cta { margin-top: var(--sp-48); }
}
@media (hover: hover) and (pointer: fine) and (max-width: 599px) { .wk-bar { position: static; } }

/* /plan/ (pages/plan.mjs): up to 7 days in the bar, so the tickets scroll sideways instead of squeezing */
.wk-days.many { overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.wk-days.many::-webkit-scrollbar { display: none; }
.wk-days.many .ticket { flex: none; }
@media (max-width: 680px) {
  .wkb:has(.wk-days.many) { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "plan map filter" "days days days"; }
  .wkb:has(.wk-days.many):not(:has(.wkb-tools > a)) { grid-template-areas: "plan plan filter" "days days days"; }
  .wkb:has(.wk-days.many) .wkb-btn[aria-controls="wk-filters"] { flex-direction: row; }
  .wk-days.many { display: flex; }
  .wk-days.many .ticket { min-width: 76px; }
}
