/* Two-Step Alberta: shared rules, loaded on every page right after the page's own <style>, so these win.
   Colours, fonts and the boots logo stay as set in each page (see STYLE-GUIDE.md).
   This file adds the square corners Curtis chose (Nov 12 2026) and the layout for the dance-list extras
   in /listing.js (week headings, Share button, "Willing to drive?"). */

/* ---------- Warmer colours (suggested Nov 12 2026): same brown and canola brand, warmer around them.
   The header brown stays #28170d because the boots logo is drawn on that exact brown ---------- */
:root {
  --paper: #faf6ee;   /* warm cream page (was cool grey-green #f2f3ee) */
  --ink: #2b2118;     /* dark brown text (was navy #1d2733) */
  --muted: #6b5d50;   /* warm grey small text (was slate #5b6573) */
  --rule: #e6dccb;    /* soft tan borders (was grey #d5d9d0) */
}
body { background: var(--paper); color: var(--ink); }
/* Keep the scrollbar's space on every page (Nov 19 2026), so the page doesn't slide sideways
   while the next page loads and its scrollbar pops in. */
html { scrollbar-gutter: stable; }

/* ---------- Square boxes: buttons, labels, toggles, tabs and cards ---------- */
.pill { border-radius: 3px !important; }
.ticket, .photo, .mast-photo, .add-box, .map, .cmt { border-radius: 4px !important; }
.more-btn, .sub-btn, .news-btn, .news-close, .cmt-more, .form-btn, .mast .cta,
.email-row button, .email-row input, .cmt-form button, .cmt-form input, .cmt-form textarea,
.search input, .drive-from select, .cal-choices a, .cal-choices button, .cv-nav, .cv-genre button,
.cv-cell, .region-tabs a, .card-actions .share-btn { border-radius: 4px !important; }
.view-toggle { border-radius: 4px !important; }
.news-dialog, .cal-dialog { border-radius: 6px !important; }
/* ---------- Filters: "tidy rows" (Option A, picked in Figma Nov 14 2026) ----------
   Regions are tabs with a line under the one you're on, so they don't look like the dance filters.
   Every label is the same small capitals. Every dance button looks the same. List / Calendar / Map
   sits by the list it changes, next to the Jump to links. */
.region { margin: 1.25rem 0 .25rem !important; }
.region-tabs { display: flex !important; flex-wrap: wrap; align-items: flex-end; gap: 0 1.4rem !important; border-bottom: 1px solid var(--rule); }
.region-tabs a { min-height: 44px; margin-bottom: -1px; padding: .5rem 0 .45rem !important; border: 0 !important; border-bottom: 3px solid transparent !important; border-radius: 0 !important;
  background: none !important; color: var(--muted) !important; font-size: 1.0625rem !important; font-weight: 600 !important; }
.region-tabs a:hover { background: none !important; color: var(--saddle) !important; border-bottom-color: var(--rule) !important; }
.region-tabs a[aria-current="page"] { color: var(--saddle) !important; font-weight: 800 !important; border-bottom-color: var(--saddle) !important; }
.region-tabs a:focus-visible { outline-offset: -3px; }
/* Stop the tabs shuffling sideways between pages (Nov 19 2026): the tab for the page you're on is bolder,
   so it was a few pixels wider and pushed the tabs after it over. Each label now holds room for its bold width. */
.region-tabs a > [data-b]:not([data-s]) { text-align: center; }
.region-tabs a > [data-b]::after { content: attr(data-b); content: attr(data-b) / ""; display: block; height: 0; overflow: hidden; visibility: hidden; font-weight: 800; }
@media (max-width: 30rem) {
  .region-tabs { gap: 0 .75rem !important; }
  .region-tabs a { padding: .45rem 0 !important; font-size: .875rem !important; }
  .region-tabs .opt { display: none; }
  .region-tabs a > [data-s]::after { content: attr(data-s); content: attr(data-s) / ""; }
}

/* "Jump to" links are plain links, so they don't look like filters */
.jump a { background: none !important; color: var(--denim) !important; padding: .5rem .15rem !important; text-decoration: underline; text-underline-offset: 2px; font-weight: 600 !important; font-size: .95rem !important; }
@media (hover: hover) { .jump a:hover { background: none !important; color: var(--saddle) !important; } }

/* Search bar + Filters button (Option C, Curtis Nov 14 2026). The panel and tags are run by /filters.js. */
.finder { display: grid; gap: .75rem; margin: 1.1rem 0 0; align-items: start;
  grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-areas: "search btn view" "panel panel panel" "active jump jump"; }
.finder .search { grid-area: search; margin: 0 !important; max-width: none !important; gap: .35rem !important; }
.finder .search input { min-height: 48px; padding-left: 2.6rem !important;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b5d50' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E") no-repeat .8rem 50%; }
.finder .filters-btn { grid-area: btn; }
.finder .view-toggle { grid-area: view; margin: 0 !important; }
.finder .view-toggle button { min-height: 48px; padding: .5rem 1.1rem !important; }
.finder .filters-panel { grid-area: panel; }
.finder .active-filters { grid-area: active; }
.finder .jump { grid-area: jump; justify-self: end; margin: 0 !important; gap: 0 .6rem !important; align-items: center; }
.finder .jump::before { content: "Jump to:"; color: var(--muted); font-size: .95rem; margin-right: .1rem; }

.filters-btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: .5rem 1rem; font: inherit; font-weight: 700;
  background: var(--card); color: var(--saddle); border: 1.5px solid var(--saddle); border-radius: 4px; cursor: pointer; transition: background-color .15s ease; }
.filters-btn .f-count { display: inline-block; min-width: 1.4em; padding: 0 .35em; border-radius: 3px; background: var(--saddle); color: var(--cream); font-size: .875rem; line-height: 1.5; text-align: center; }
.filters-btn .f-count[hidden] { display: none; }
.filters-btn .f-chev { width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 7px solid currentColor; }
.filters-btn[aria-expanded="true"] { background: var(--saddle); color: var(--cream); }
.filters-btn[aria-expanded="true"] .f-count { background: var(--canola); color: var(--saddle); }
.filters-btn[aria-expanded="true"] .f-chev { transform: rotate(180deg); }
.filters-btn:focus-visible { outline: 3px solid var(--canola); outline-offset: 2px; }
@media (hover: hover) { .filters-btn[aria-expanded="false"]:hover { background: #f3ebdc; } }

.filters-panel { display: grid; gap: 1.1rem; padding: 1.25rem 1.5rem; background: var(--card); border: 1.5px solid var(--saddle); border-radius: 4px;
  grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); grid-template-areas: "drive genre" "switch switch" "actions actions"; }
.filters-panel[hidden] { display: none; }
.filters-panel .drive-from { grid-area: drive; margin: 0 !important; max-width: none !important; gap: .35rem !important; }
.filters-panel .drive-from .from-row { display: grid !important; grid-template-columns: 1fr; gap: .35rem; }
.filters-panel .drive-from select { max-width: none !important; width: 100%; flex: none !important; }
.filters-panel .cv-genre { grid-area: genre; margin: 0 !important; gap: .5rem; }
.filters-panel .switch-wrap { grid-area: switch; display: grid; gap: .2rem; }
.filters-panel .area-switch { margin: 0 !important; }
.filters-panel .city-msg { margin: 0 -.4rem !important; }
.filters-panel .panel-actions { grid-area: actions; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; }
.panel-done { min-height: 44px; padding: .55rem 1.25rem; font: inherit; font-weight: 700; background: var(--canola); color: var(--saddle); border: 0; border-radius: 4px; cursor: pointer; transition: background-color .15s ease; }
@media (hover: hover) { .panel-done:hover { background: #ecb862; } }
.panel-done:focus-visible { outline: 3px solid var(--saddle); outline-offset: 2px; }
.panel-actions .link-btn[hidden] { display: none; }
/* One label style inside the panel */
.filters-panel .drive-from label, .filters-panel .cv-genre .lbl {
  font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); line-height: 1.3; }
.filters-panel .cv-genre .lbl { flex-basis: 100%; margin: 0 0 -.1rem; }
/* Dance buttons: all the same white-and-brown outline; the one you picked is filled brown */
.filters-panel .cv-genre button, .filters-panel .cv-genre button[data-g="swing"] {
  min-width: 0; padding: .45rem .9rem; border: 1.5px solid var(--saddle) !important; background: var(--card) !important; color: var(--saddle) !important; transition: background-color .15s ease; }
.filters-panel .cv-genre button[aria-pressed="true"], .filters-panel .cv-genre button[data-g="swing"][aria-pressed="true"] { background: var(--saddle) !important; color: var(--cream) !important; }
@media (hover: hover) { .filters-panel .cv-genre button[aria-pressed="false"]:hover { background: #f3ebdc !important; } }

/* "Showing: Swing ×  Clear" under the search box */
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin: 0; }
.active-filters[hidden] { display: none; }
.active-filters .f-lbl { color: var(--muted); font-size: .95rem; }
.f-tag { display: inline-flex; align-items: center; gap: .45rem; min-height: 36px; padding: .25rem .7rem; font: inherit; font-size: .95rem; font-weight: 600;
  background: #f1e8d8; color: var(--saddle); border: 1px solid var(--rule); border-radius: 3px; cursor: pointer; }
.f-tag .x { font-size: 1.15rem; line-height: 1; color: var(--muted); }
@media (hover: hover) { .f-tag:hover { border-color: var(--saddle); } }
.f-tag:focus-visible { outline: 3px solid var(--canola); outline-offset: 2px; }
.active-filters .link-btn { padding: .4rem 0; }
@media (prefers-reduced-motion: reduce) { .filters-btn, .panel-done, .filters-panel .cv-genre button { transition: none; } }

/* Base styles the filter pieces need on pages that don't carry the region pages' own copies (the NYE page) */
.finder .search input { font: inherit; width: 100%; padding: .65rem .8rem; border: 2px solid var(--saddle); border-radius: 4px; color: var(--ink); }
.finder .search input:focus-visible { outline: 3px solid var(--canola); outline-offset: 1px; }
.finder .search #q-msg { margin: 0; font-size: .93rem; color: var(--muted); }
.finder .search #q-msg:empty { display: none; }
.filters-panel .cv-genre { display: flex; flex-wrap: wrap; align-items: center; }
.filters-panel .cv-genre[hidden], .filters-panel .cv-genre button[hidden] { display: none; }
.filters-panel .cv-genre button { font: inherit; font-weight: 700; font-size: .95rem; min-height: 44px; border-radius: 4px; cursor: pointer; }
.filters-panel .cv-genre button:focus-visible { outline: 3px solid var(--canola); outline-offset: 2px; }
.finder .link-btn, .no-match .link-btn { font: inherit; font-weight: 600; color: var(--denim); background: none; border: 0; padding: .7rem 0; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.ticket[hidden], .no-match[hidden] { display: none; }
/* NYE page: no List / Calendar / Map (the map sits under the list), and Region + Dances in the panel */
.finder.nye-finder { margin: 0 0 1.25rem; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "search btn" "panel panel" "active active"; }
.nye-finder .filters-panel { grid-template-columns: minmax(0, 1fr); grid-template-areas: "region" "genre" "actions"; }
.nye-finder .region-filter { grid-area: region; margin: 0 !important; gap: .5rem; }
.nye-finder .region-filter .lbl { flex-basis: 100%; margin: 0 0 -.1rem; font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); line-height: 1.3; }

@media (max-width: 47.99rem) {
  .finder { grid-template-columns: minmax(0, 1fr) auto; gap: .6rem .5rem;
    grid-template-areas: "search btn" "panel panel" "active active" "view view" "jump jump"; }
  .finder .view-toggle { display: flex; }
  .finder .view-toggle button { flex: 1 1 0; padding: .5rem .5rem !important; }
  .finder .jump { justify-self: start; }
  .filters-btn { padding: .5rem .8rem; }
  .filters-panel { padding: 1rem; grid-template-columns: minmax(0, 1fr); grid-template-areas: "drive" "genre" "switch" "actions"; }
  .panel-done { flex: 1 1 auto; }
  #dances { padding-top: 1.25rem !important; }
}
#dances { padding-top: 1.75rem; }

/* ---------- Week headings in the dance list ---------- */
.dances > li.week { list-style: none; display: flex; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap;
  margin: 1.25rem 0 0; padding: 0 0 .35rem; border-bottom: 3px solid var(--saddle); }
.dances > li.week:first-child { margin-top: 0; }
.dances > li.week .wk { font-weight: 800; font-size: 1.2rem; line-height: 1.2; color: var(--saddle); }
.dances > li.week .wk-n { font-size: .95rem; color: var(--muted); }

/* ---------- "Willing to drive?" ---------- */
.drive-more { margin: 1.5rem 0 0; padding: 1.1rem 1.25rem; background: var(--saddle); color: var(--cream); border-radius: 4px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; }
.drive-more p { margin: 0; max-width: 34rem; }
.drive-more strong { display: block; font-size: 1.3rem; line-height: 1.2; font-weight: 800; }
.drive-more a { display: inline-flex; align-items: center; min-height: 44px; padding: .6rem 1.1rem; background: var(--canola); color: var(--saddle); border-radius: 4px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color .15s ease; }
@media (hover: hover) { .drive-more a:hover { background: #ecb862; } }
@media (prefers-reduced-motion: reduce) { .drive-more a { transition: none; } }

/* ---------- Shorter cards: Share sits beside Add to calendar ---------- */
.body { padding: .8rem 1.1rem .85rem !important; }
.where { margin: .1rem 0 .4rem !important; }
.notes { margin-top: .4rem !important; }
.card-actions { margin-top: .55rem !important; gap: .45rem !important; }
.card-actions .share-btn { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .45rem .75rem; font-size: .95rem; font-weight: 700;
  color: var(--denim); background: none; border: 1px solid var(--rule); text-decoration: none; transition: background-color .15s ease, border-color .15s ease; }
@media (hover: hover) { .card-actions .share-btn:hover { background: #eef2f6; border-color: var(--denim); } }
.card-actions .share-link::before { content: none; }
/* Computer: the link opens the dance's own page, so it says Details. Phone: it opens the phone's share menu (listing.js), so it says Share (Curtis, Nov 13). */
.card-actions .share-link::after { content: "Details"; }
.card-actions .share-btn svg { display: none; }
@media (max-width: 48rem) { .card-actions .share-link::after { content: "Share"; } .card-actions .share-btn svg { display: inline; } }
@media (max-width: 48rem) { .ticket:not(.open) .card-actions .share-btn { display: none; } }

/* ---------- Buttons: the outline style Curtis liked from the Nov 12 redesign, in his brown ---------- */
/* Main action stays canola. Everything else: white with a dark brown outline and dark text. */
.more-btn, .sub-btn, .cmt-more, .news-close, .cal-cancel, .card-actions .share-btn {
  background: var(--card) !important; color: var(--saddle) !important; border: 1.5px solid var(--saddle) !important;
  border-radius: 4px !important; font-weight: 700; text-decoration: none; transition: background-color .15s ease;
}
@media (hover: hover) { .more-btn:hover, .sub-btn:hover, .cmt-more:hover, .news-close:hover, .cal-cancel:hover, .card-actions .share-btn:hover { background: #f3ebdc !important; border-color: var(--saddle) !important; } }
.view-toggle { border-width: 1.5px !important; }
@media (prefers-reduced-motion: reduce) { .more-btn, .sub-btn, .card-actions .share-btn { transition: none; } }

/* ---------- Top links as real buttons, in capitals (Curtis, Nov 12) ---------- */
.mast .nav ul { gap: .45rem !important; align-items: center; }
.mast .nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: .35rem .8rem;
  border: 1.5px solid var(--cream); border-radius: 4px; color: var(--cream) !important; text-decoration: none !important;
  text-transform: uppercase; letter-spacing: .06em; font-weight: 700; font-size: .85rem; line-height: 1.1; transition: background-color .15s ease, color .15s ease;
}
@media (hover: hover) { .mast .nav a:hover { background: var(--cream); color: var(--saddle) !important; } }
.mast .nav a[aria-current="page"] { background: var(--cream); color: var(--saddle) !important; }
@media (max-width: 48rem) {
  .mast .nav ul { justify-content: flex-start !important; flex-wrap: wrap; gap: .3rem !important; }
  .mast .nav a { padding: .3rem .45rem; font-size: .75rem; letter-spacing: .02em; }
}
@media (prefers-reduced-motion: reduce) { .mast .nav a { transition: none; } }
/* Phones: all five top buttons on one line (Curtis, Nov 17 2026). The words shrink a little with the screen
   (about 11.4px on an iPhone 15); buttons stay 44px tall. Very narrow phones (under 340px) can still wrap. */
@media (max-width: 48rem) {
  .mast .nav ul { flex-wrap: nowrap !important; gap: .2rem !important; width: 100%; justify-content: space-between !important; }
  .mast .nav li { flex: 0 1 auto; min-width: 0; }
  .mast .nav a { padding: .3rem .3rem; font-size: clamp(.6rem, 2.9vw, .78rem); letter-spacing: 0; white-space: nowrap; justify-content: center; }
}
@media (max-width: 21.25rem) { .mast .nav ul { flex-wrap: wrap !important; } }

/* ---------- New Year's Eve: a metallic gold link at the end of the region tabs (Nov 14 2026), not a tab or a box.
   On phones it sits on its own line above the tabs. ---------- */
.region-tabs a.season-tab { margin-left: auto; border-bottom-color: transparent !important; background: none !important; color: #8a6417 !important; font-weight: 800 !important; }
.region-tabs a.season-tab > .gold {
  background: linear-gradient(100deg, #6e4f0e 0%, #9a6f1c 35%, #b8892b 50%, #8a6417 68%, #6e4f0e 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #8a6417;
}
.region-tabs a.season-tab > .gold::after { content: " \2192"; }
.region-tabs a.season-tab:hover, .region-tabs a.season-tab:focus-visible, .region-tabs a.season-tab:active, .region-tabs a.season-tab[aria-current="page"] {
  background: none !important; border-bottom-color: #b8892b !important;
}
@media (max-width: 30rem) { .region-tabs a.season-tab { order: -1; flex-basis: 100%; margin-left: 0; min-height: 40px; padding: .3rem 0 !important; } }

/* ---------- "Show Edmonton dances": say what it just did ---------- */
.city-msg { margin: 0; font-size: .95rem; font-weight: 600; color: var(--saddle); }
.city-msg:empty { display: none; }
.city-msg.flash { animation: city-flash 1.6s ease-out; }
@keyframes city-flash { 0% { background: #f6dfae; } 100% { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .city-msg.flash { animation: none; } }
.finder .city-msg { padding: .3rem .4rem; border-radius: 4px; }



/* "None here yet" note under a list: only when the list is empty. */
ol.dances:has(.ticket) ~ .empty-note { display: none; }

/* Genre filter (All / Country / Swing) in the finder: filters the list, calendar and map together (Curtis, Nov 13). */
.finder .genre-filter { margin: 0 !important; }
.finder .genre-filter button { min-width: 0; padding: .45rem .8rem; }
.card-actions .share-btn.copied::after { content: "Link copied"; }

/* ---------- "I'm going" button on each card (going.js, Curtis Nov 14) ---------- */
.card-actions { display: flex; flex-wrap: wrap; align-items: center; }
.card-actions .going { display: inline-flex; align-items: center; gap: .55rem; }
.card-actions .going-btn { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; margin: 0; padding: .45rem .75rem; font: inherit; font-size: .95rem; font-weight: 700; cursor: pointer; }
.card-actions .going-btn:focus-visible { outline: 3px solid var(--canola); outline-offset: 2px; }
.card-actions .going-btn svg { display: none; }
.card-actions .going-btn.on { background: var(--saddle) !important; color: var(--cream) !important; }
.card-actions .going-btn.on svg { display: inline; }
@media (hover: hover) { .card-actions .going-btn.on:hover { background: #3d2616 !important; } }
.card-actions .going-n { font-size: .95rem; color: var(--muted); white-space: nowrap; }
.card-actions .going-n b { color: var(--ink); }
/* ---------- Valentine's: same idea as the New Year's Eve link, in metallic pink (Curtis, Nov 14). A link at the end of the
   region tabs, not a box (filters redesign, Nov 14). ---------- */
.region-tabs a.season-tab.val { color: #8a2e55 !important; }
.region-tabs a.season-tab.val > .gold {
  background: linear-gradient(100deg, #6e1f40 0%, #9c3460 35%, #c24e7d 50%, #8a2e55 68%, #6e1f40 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #8a2e55;
}
.region-tabs a.season-tab.val:hover, .region-tabs a.season-tab.val:focus-visible, .region-tabs a.season-tab.val:active, .region-tabs a.season-tab.val[aria-current="page"] {
  background: none !important; border-bottom-color: #c24e7d !important;
}
.region-tabs a.season-tab:not([hidden]) + a.season-tab { margin-left: 1.4rem; }
@media (max-width: 30rem) { .region-tabs a.season-tab:not([hidden]) + a.season-tab { margin-left: 0; } }

/* ---------- Back button above the title on dance and hall pages (breadcrumb, Curtis chose Nov 14) ---------- */
.crumbs { padding-top: 1.25rem; }
.crumbs a { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .45rem 1rem; font-size: .95rem; font-weight: 700; color: var(--saddle); text-decoration: none; background: var(--card); border: 2px solid var(--saddle); border-radius: 999px; }
.crumbs a:hover, .crumbs a:focus-visible { background: var(--saddle); color: var(--cream); }
.going-check { margin-top: .5rem; }
.going-check .gc-note { margin: 0 0 .35rem; font-size: .95rem; color: var(--ink); }

/* ---------- Date Night: "Spin for a dance" in a box that opens from the top links (Curtis, Nov 15 and 17 2026). Run by /spin.js ---------- */
.spin-dialog { border: 0; border-radius: 6px; padding: 1.25rem; width: min(30rem, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto;
  background: var(--card); color: var(--ink); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.spin-dialog::backdrop { background: rgba(20, 12, 6, .55); }
.spin-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.spin-dialog h2 { font-size: 1.25rem; margin: 0; color: var(--saddle); }
.spin-x { flex: none; width: 44px; height: 44px; margin: -.5rem -.5rem -.5rem 0; font: inherit; font-size: 1.6rem; line-height: 1; background: none; border: 0; border-radius: 4px; color: var(--muted); cursor: pointer; }
.spin-x:hover { color: var(--saddle); background: #f3ebdc; }
.spin-dialog p { margin: 0; }
.spin-sub { color: var(--muted); font-size: .95rem; margin: .25rem 0 .5rem !important; }
.spin-lbl { font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); line-height: 1.3; margin: .9rem 0 .4rem !important; }
.spin-seg { display: flex; flex-wrap: wrap; gap: .4rem; }
.spin-seg button { display: inline-flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 44px; padding: .35rem .8rem; font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.25;
  background: var(--card); color: var(--saddle); border: 1.5px solid var(--saddle); border-radius: 4px; cursor: pointer; transition: background-color .15s ease; text-align: left; }
.spin-seg button .spin-dates { font-weight: 400; font-size: .875rem; }
.spin-seg button[aria-pressed="true"] { background: var(--saddle); color: var(--cream); }
@media (hover: hover) { .spin-seg button[aria-pressed="false"]:hover { background: #f3ebdc; } }
.spin-seg button:focus-visible, .spin-go:focus-visible, .spin-x:focus-visible, .spin-actions button:focus-visible { outline: 3px solid var(--canola); outline-offset: 2px; }
.spin-note { font-size: .875rem; color: var(--muted); margin-top: .5rem !important; }
.spin-note:empty { display: none; }
.spin-count { font-size: .95rem; margin-top: .9rem !important; }
.spin-go { display: block; width: 100%; min-height: 48px; margin-top: .75rem; font: inherit; font-weight: 700; background: var(--canola); color: var(--saddle); border: 0; border-radius: 4px; cursor: pointer; transition: background-color .15s ease; }
.spin-go[hidden] { display: none; }
@media (hover: hover) { .spin-go:hover { background: #ecb862; } }
.spin-go:disabled { opacity: .6; cursor: default; }
.spin-out:empty { display: none; }
.spin-card { display: flex; margin-top: .5rem; border: 1px solid var(--rule); border-radius: 4px; background: var(--card); overflow: hidden; }
.spin-stub { flex: 0 0 4rem; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: .6rem .3rem; background: var(--saddle); color: var(--cream);
  border-right: 2px dashed var(--paper); font-family: var(--font-data); font-variant-numeric: tabular-nums; }
.spin-card.city .spin-stub { background: var(--denim); }
.spin-stub .dow, .spin-stub .mon { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.spin-stub .day { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.05; }
.spin-body { padding: .6rem .8rem; min-width: 0; }
.spin-name { font-weight: 700; line-height: 1.3; }
.spin-meta { font-size: .875rem; color: var(--muted); line-height: 1.4; margin-top: .15rem !important; }
.spin-stage { overflow: hidden; }
.spin-stage .spin-card { opacity: .85; }
/* Each name rolls in from above like a reel, and the pick settles in place (off for reduced motion) */
.spin-card.roll { animation: spin-roll .09s ease-out; }
.spin-card.landed { animation: spin-land .45s cubic-bezier(.2, 1.4, .4, 1); box-shadow: 0 0 0 3px var(--canola); }
@keyframes spin-roll { from { transform: translateY(-60%); opacity: .2; } to { transform: none; opacity: .85; } }
@keyframes spin-land { 0% { transform: translateY(-30%); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .spin-card.roll, .spin-card.landed { animation: none; } }
.spin-actions { display: flex; gap: .5rem; margin-top: .5rem; }
.spin-actions button { flex: 1 1 0; min-height: 44px; font: inherit; font-weight: 700; font-size: .95rem; background: var(--card); color: var(--saddle); border: 1.5px solid var(--saddle); border-radius: 4px; cursor: pointer; }
.spin-actions .spin-see { background: var(--saddle); color: var(--cream); }
@media (hover: hover) { .spin-actions .spin-again:hover { background: #f3ebdc; } }
.ticket.spin-hit { outline: 3px solid var(--canola); outline-offset: 3px; transition: outline-color .6s ease; }
@media (prefers-reduced-motion: reduce) { .spin-seg button, .spin-go { transition: none; } }
/* Recurring date stubs ("Every Fri/Sat", "1st & 3rd Fri", "Expected Feb"): small plain text so it fits the stub on every page */
.stub.recurring .day { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; line-height: 1.25; }
@media (max-width: 30rem) { .stub.recurring .mon { font-size: .78rem; letter-spacing: .03em; } }
