/*
 * NYC Happy Hours — square editorial production system
 * Shared component rules; data-theme swaps values only.
 */

:root {
  --font-display: "DM Serif Display", Georgia, serif;
  --font-name: "Fraunces", Georgia, serif;
  --font-ui: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;

  --page-gutter: 32px;
  --content-max: 1440px;
  --copy-max: 640px;
  --header-height: 56px;
  --filter-height: 56px;
  --control-height: 44px;
  --search-height: 48px;

  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #0d0c09;
  --surface: #11100b;
  --surface-raised: #171009;
  --surface-soft: #14120c;
  --surface-quiet: #1a170f;
  --text: #f4eadc;
  --text-soft: #c9b184;
  --text-muted: #a2937d;
  --accent: #e4ad51;
  --accent-ink: #171007;
  --border: rgba(228, 173, 81, 0.18);
  --border-medium: rgba(228, 173, 81, 0.28);
  --border-strong: rgba(228, 173, 81, 0.42);
  --leader: rgba(228, 173, 81, 0.35);
  --live: #2fc08a;
  --live-ink: #0c231a;
  --upcoming: #e4ad51;
  --last-call: #ff8d7d;
  --closed: #a2937d;
  --location: #4da3ff;
  --focus: #4da3ff;
  --danger: #ff8d7d;
  --scrim: rgba(7, 6, 4, 0.76);
  --sticky-surface: rgba(17, 16, 11, 0.96);
  --overlay-surface: rgba(17, 16, 11, 0.92);
  --shadow: rgba(0, 0, 0, 0.38);
  --hero-base: #11100b;
  --hero-text: #f4eadc;
  --hero-soft: #c9b184;
  --hero-muted: #a2937d;
  --hero-start: rgba(13, 10, 6, 0.98);
  --hero-middle: rgba(13, 10, 6, 0.84);
  --hero-end: rgba(13, 10, 6, 0.34);
  --map-canvas: #1a170f;
  --skeleton-a: #171009;
  --skeleton-b: #211b12;
}

[data-theme="light"] {
  color-scheme: light;
  --canvas: #f1e8d7;
  --surface: #f1e8d7;
  --surface-raised: #f7f0e2;
  --surface-soft: #ede0c8;
  --surface-quiet: #e7d8bd;
  --text: #33261a;
  --text-soft: #5c4c39;
  --text-muted: #6b5942;
  --accent: #8a5f19;
  --accent-ink: #fffaf0;
  --border: #e0d3b7;
  --border-medium: #cdbf9f;
  --border-strong: #a88f62;
  --leader: rgba(138, 95, 25, 0.45);
  --live: #1e7a56;
  --live-ink: #f7f0e2;
  --upcoming: #8a5f19;
  --last-call: #a84335;
  --closed: #6b5942;
  --location: #1767a7;
  --focus: #1767a7;
  --danger: #a84335;
  --scrim: rgba(51, 38, 26, 0.42);
  --sticky-surface: rgba(241, 232, 215, 0.97);
  --overlay-surface: rgba(247, 240, 226, 0.94);
  --shadow: rgba(51, 38, 26, 0.18);
  --hero-base: #f1e8d7;
  --hero-text: #33261a;
  --hero-soft: #5c4c39;
  --hero-muted: #6b5942;
  --hero-start: rgba(241, 232, 215, 0.99);
  --hero-middle: rgba(241, 232, 215, 0.91);
  --hero-end: rgba(241, 232, 215, 0.38);
  --map-canvas: #e7d8bd;
  --skeleton-a: #ede0c8;
  --skeleton-b: #f7f0e2;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--filter-height) + var(--space-4));
  background: var(--canvas);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: var(--weight-medium);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.drawer-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  margin: 0;
  border-radius: 0;
  color: inherit;
  font: inherit;
}

button,
summary,
select {
  cursor: pointer;
}

button {
  appearance: none;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
fieldset,
legend {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 21px;
}

mark {
  background: transparent;
  color: var(--accent);
  font-weight: var(--weight-extrabold);
}

:where(
    a,
    button,
    input,
    select,
    textarea,
    summary,
    [tabindex]:not([tabindex="-1"])
  ):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  z-index: 3000;
  top: var(--space-2);
  left: var(--space-2);
  min-height: var(--control-height);
  padding: var(--space-3) var(--space-4);
  transform: translateY(calc(-100% - var(--space-4)));
  border: 1px solid var(--accent);
  background: var(--surface-raised);
  color: var(--text);
  font-size: 12px;
  font-weight: var(--weight-extrabold);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header and identity */

.site-header {
  position: sticky;
  z-index: 1100;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: var(--header-height);
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid var(--border);
  background: var(--sticky-surface);
  backdrop-filter: blur(14px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

.brand-lockup--header {
  gap: var(--space-2);
  min-height: var(--control-height);
}

.brand-wordmark,
.brand-lockup--footer strong {
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coaster-mark {
  --coaster-size: 28px;
  --coaster-ring-surface: var(--surface);
  display: inline-grid;
  flex: 0 0 auto;
  width: var(--coaster-size);
  height: var(--coaster-size);
  place-items: center;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  background: var(--surface-raised);
  box-shadow:
    inset 0 0 0 3px var(--coaster-ring-surface),
    inset 0 0 0 4px var(--border-strong);
  color: var(--accent);
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: var(--weight-extrabold);
  letter-spacing: 0.06em;
  line-height: 1;
}

.coaster-mark--hero {
  --coaster-size: 40px;
  --coaster-ring-surface: var(--hero-base);
  background: var(--surface-raised);
  font-size: 14px;
}

.coaster-mark--empty {
  --coaster-size: 48px;
  margin-inline: auto;
  font-size: 16px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.theme-toggle,
.menu-button {
  flex: 0 0 auto;
}

.header-button,
.icon-button,
.popover-close {
  display: inline-flex;
  min-width: var(--control-height);
  min-height: var(--control-height);
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0 var(--space-3);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: var(--weight-bold);
}

.header-button:hover,
.icon-button:hover,
.popover-close:hover {
  border-color: var(--border-strong);
  color: var(--accent);
}

.count-badge,
.active-count,
.venue-card__status,
.status-badge {
  border-radius: 999px;
}

.count-badge {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  padding: 0 var(--space-2);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: var(--weight-extrabold);
  line-height: 1;
}

.theme-toggle__icon {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.theme-toggle__icon::after {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.menu-glyph {
  display: grid;
  width: 18px;
  gap: var(--space-1);
}

.menu-glyph i {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
}

/* Slide-out site menu */

.site-menu {
  position: fixed;
  z-index: 2100;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    visibility 0s linear 220ms,
    opacity 180ms var(--ease-out);
}

.site-menu.is-open,
.site-menu[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.site-menu__scrim {
  position: absolute;
  inset: 0;
  background: var(--scrim);
}

.site-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  width: min(380px, 100%);
  height: 100%;
  flex-direction: column;
  padding: var(--space-6);
  border-left: 1px solid var(--border-strong);
  background: var(--surface-raised);
  box-shadow: -16px 0 40px var(--shadow);
  transform: translateX(100%);
  transition: transform 220ms var(--ease-out);
}

.site-menu.is-open .site-menu__panel,
.site-menu[aria-hidden="false"] .site-menu__panel {
  transform: translateX(0);
}

.drawer-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}

.drawer-kicker,
.filter-eyebrow,
.section-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: var(--weight-extrabold);
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-menu__panel > a,
.site-menu__panel > button {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 20px;
  text-align: left;
  text-decoration: none;
}

.site-menu__panel > a:hover,
.site-menu__panel > button:hover {
  color: var(--accent);
}

.site-menu__note {
  margin-top: auto;
  padding-top: var(--space-6);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Compressed working hero */

.working-hero {
  min-height: 236px;
  border-bottom: 1px solid var(--border);
  background-color: var(--hero-base);
  background-image:
    linear-gradient(
      90deg,
      var(--hero-start) 0%,
      var(--hero-middle) 46%,
      var(--hero-end) 100%
    ),
    url("../assets/happy-hour-banner.jpg");
  background-position:
    center,
    right 42%;
  background-repeat: no-repeat;
  background-size:
    cover,
    72% auto;
}

.working-hero__inner {
  display: flex;
  width: min(100%, calc(var(--copy-max) + (var(--page-gutter) * 2)));
  min-height: 236px;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-6) var(--page-gutter);
}

.hero-identity {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.hero-identity h1 {
  color: var(--hero-text);
  font-size: 28px;
}

.hero-stat {
  margin-top: var(--space-1);
  color: var(--hero-muted);
  font-size: 12px;
  font-weight: var(--weight-extrabold);
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 500px;
  margin-top: var(--space-3);
  color: var(--hero-soft);
  font-size: 15px;
  line-height: 1.5;
}

.search-form {
  display: flex;
  width: min(100%, 620px);
  align-items: stretch;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.search-field {
  display: flex;
  min-width: 0;
  min-height: var(--search-height);
  flex: 1 1 auto;
  align-items: center;
  gap: var(--space-3);
  padding: 0 var(--space-3);
  border: 1px solid var(--border-strong);
  background: var(--overlay-surface);
  color: var(--text-muted);
}

.search-field:focus-within {
  border-color: var(--accent);
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.search-field:focus-within input {
  outline: 0;
}

.search-glyph {
  position: relative;
  display: block;
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.search-glyph::after {
  position: absolute;
  right: -6px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
  transform-origin: left center;
}

.search-field input {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: var(--weight-semibold);
}

.search-field input::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.search-hint {
  flex: 0 0 auto;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: var(--weight-bold);
  white-space: nowrap;
}

.primary-button,
.secondary-button,
.clear-button,
.compact-button,
.map-overlay-button,
.map-expand-button {
  display: inline-flex;
  min-height: var(--control-height);
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-4);
  border-radius: 0;
  font-size: 12px;
  font-weight: var(--weight-extrabold);
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.primary-button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.primary-button:hover {
  filter: brightness(1.08);
}

.secondary-button,
.map-overlay-button,
.map-expand-button {
  border: 1px solid var(--border-strong);
  background: var(--surface-raised);
  color: var(--text);
}

.secondary-button:hover,
.map-overlay-button:hover,
.map-expand-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.search-submit {
  min-height: var(--search-height);
  padding-inline: var(--space-6);
}

/* Unified sticky filter instrument */

.filter-shell {
  position: sticky;
  z-index: 1000;
  top: var(--header-height);
  border-bottom: 1px solid var(--border);
  background: var(--sticky-surface);
  backdrop-filter: blur(14px);
}

.filter-bar {
  display: flex;
  width: min(100%, var(--content-max));
  min-height: var(--filter-height);
  align-items: center;
  gap: var(--space-2);
  margin-inline: auto;
  padding: var(--space-1) var(--page-gutter);
}

.filter-menu {
  position: relative;
  flex: 0 0 auto;
}

.filter-menu > summary {
  list-style: none;
}

.filter-menu > summary::-webkit-details-marker {
  display: none;
}

.filter-control,
.clear-button {
  display: inline-flex;
  min-height: var(--control-height);
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0 var(--space-3);
  border: 1px solid var(--border-medium);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-size: 12px;
  font-weight: var(--weight-bold);
  white-space: nowrap;
}

.filter-control:hover,
.filter-menu[open] > .filter-control {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-control--live {
  border-color: var(--live);
  background: var(--live);
  color: var(--live-ink);
  font-weight: var(--weight-extrabold);
}

.filter-control--live:hover,
.filter-control--live[aria-pressed="true"] {
  border-color: var(--live);
  color: var(--live-ink);
}

.filter-control--live[aria-pressed="false"] {
  border-color: var(--border-medium);
  background: transparent;
  color: var(--text);
}

.status-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
}

.clear-button {
  border-color: transparent;
  color: var(--text-muted);
}

.clear-button:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.filter-popover {
  position: absolute;
  z-index: 1300;
  top: calc(100% + var(--space-2));
  left: 0;
  width: min(380px, calc(100vw - (var(--page-gutter) * 2)));
  max-height: min(70vh, 620px);
  overflow: auto;
  padding: var(--space-4);
  border: 1px solid var(--border-strong);
  border-radius: 0;
  background: var(--surface-raised);
  box-shadow: 0 16px 40px var(--shadow);
}

.filter-menu--more .filter-popover {
  right: 0;
  left: auto;
}

.filter-popover--place,
.filter-popover--price {
  width: min(440px, calc(100vw - (var(--page-gutter) * 2)));
}

.filter-popover__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}

.filter-popover__header h2 {
  margin-top: var(--space-1);
  font-size: 22px;
}

.filter-popover fieldset {
  min-width: 0;
  padding: var(--space-4) 0 0;
  border: 0;
  border-top: 1px solid var(--border);
}

.filter-popover fieldset:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.filter-popover fieldset + fieldset {
  margin-top: var(--space-4);
}

.filter-popover legend,
.field-label > span {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: var(--weight-extrabold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.borough-options,
.neighborhood-options,
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
}

.neighborhood-options {
  max-height: 280px;
  margin-top: var(--space-4);
  overflow: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.choice-grid--price {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-grid--category {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.filter-popover--type {
  width: min(360px, calc(100vw - (var(--page-gutter) * 2)));
}

.borough-options button,
.neighborhood-options button,
.choice-grid button,
.filter-option,
.choice-button {
  min-height: var(--control-height);
  padding: var(--space-2);
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--surface);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: var(--weight-bold);
  text-align: left;
}

.borough-options button:hover,
.neighborhood-options button:hover,
.choice-grid button:hover,
.filter-option:hover,
.choice-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.borough-options button[aria-pressed="true"],
.neighborhood-options button[aria-pressed="true"],
.choice-grid button[aria-pressed="true"],
.filter-option.is-selected,
.choice-button.is-selected {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.field-label {
  display: block;
  margin-bottom: var(--space-4);
}

.field-label select,
.sort-control select {
  min-height: var(--control-height);
  border: 1px solid var(--border-medium);
  border-radius: 0;
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  font-weight: var(--weight-bold);
}

.field-label select {
  width: 100%;
  padding: 0 var(--space-3);
}

.filter-popover--more .secondary-button {
  width: 100%;
  margin-top: var(--space-2);
}

.filter-messages {
  width: min(100%, var(--content-max));
  margin-inline: auto;
  padding: 0 var(--page-gutter);
}

.filter-messages p {
  padding: 0 0 var(--space-2);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: var(--weight-semibold);
}

.filter-messages p:empty {
  display: none;
}

/* Shared section framing */

/* Source order keeps the editorial picks below results on mobile. Desktop
   retains the established picks-before-list composition. */
@media (min-width: 861px) {
  main {
    display: flex;
    flex-direction: column;
  }

  .working-hero {
    order: 1;
  }

  .filter-shell {
    order: 2;
  }

  .picks-section {
    order: 3;
  }

  .browse-section {
    order: 4;
  }

  .about-section {
    order: 5;
  }
}

.picks-section,
.browse-section,
.about-section,
.site-footer {
  width: min(100%, var(--content-max));
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.picks-section {
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}

.section-title-row,
.results-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
}

.section-title-row {
  margin-bottom: var(--space-3);
}

.section-title-row h2 {
  margin-top: var(--space-1);
  font-size: 24px;
}

.section-title-row > p {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: var(--weight-semibold);
}

.picks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

/* Square editorial cards */

.venue-card,
.featured-card,
.pick-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--border-medium);
  border-radius: 0;
  background: var(--surface-raised);
  color: var(--text);
}

.venue-card {
  display: flex;
  min-height: 286px;
  flex-direction: column;
  padding: var(--space-4);
}

.featured-card,
.pick-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  padding: var(--space-3);
}

.venue-card,
.venue-card[role="link"],
.featured-card[role="link"],
.pick-card[role="link"] {
  cursor: pointer;
}

.venue-card:hover,
.featured-card:hover,
.pick-card:hover {
  border-color: var(--accent);
}

.venue-card__header {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: var(--space-2);
}

.card-topline,
.featured-card-main,
.squared-card-top {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
}

.venue-card__identity {
  min-width: 0;
}

.squared-name-group {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: var(--space-2);
}

.venue-card__index,
.squared-index {
  flex: 0 0 auto;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
  line-height: 1;
  opacity: 0.72;
}

.venue-card__name,
.squared-name,
.venue-card h3,
.featured-card h3,
.pick-card h3 {
  min-width: 0;
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

/* Result-card venue names use a wider display serif than the rest of the headings. */
.venue-card h3.venue-card__name {
  font-family: var(--font-name);
}

.venue-card__details {
  display: flex;
  min-height: var(--control-height);
  align-items: flex-start;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: left;
}

.venue-card__details:hover {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.venue-card__status,
.status-badge {
  display: inline-flex;
  min-height: 28px;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-2);
  border: 1px solid var(--border-medium);
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: var(--weight-extrabold);
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.venue-card__status--mobile {
  display: none;
}

/* The desktop status chip is plain colored text, not an outlined pill. */
.venue-card__status--desktop {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.venue-card__status i,
.status-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.venue-card__status--live,
.venue-card__status.live,
.venue-card--live .venue-card__status,
.status-badge.open-badge {
  border-color: var(--live);
  color: var(--live);
}

.venue-card__status--upcoming,
.venue-card__status.upcoming,
.venue-card--upcoming .venue-card__status,
.status-badge.soon-badge {
  border-color: var(--upcoming);
  color: var(--upcoming);
}

.venue-card__status--last-call,
.venue-card__status.last-call,
.venue-card--last-call .venue-card__status {
  border-color: var(--last-call);
  color: var(--last-call);
}

.venue-card__status--closed,
.venue-card__status.closed,
.venue-card--closed .venue-card__status,
.venue-card__status--ended,
.venue-card__status.ended,
.venue-card--ended .venue-card__status,
.venue-card__status--planned,
.venue-card__status.planned,
.venue-card--planned .venue-card__status,
.status-badge.today-badge {
  border-color: var(--border-medium);
  color: var(--closed);
}

.venue-card__meta,
.venue-meta,
.featured-kicker,
.squared-meta {
  margin: var(--space-2) 0 0;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: var(--weight-semibold);
  line-height: 1.45;
}

.venue-card__meta-separator {
  color: var(--text-muted);
  white-space: nowrap;
}

.venue-card__deals,
.squared-deals {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.deal-row,
.venue-card__deal,
.squared-deal {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: var(--space-2);
}

.deal-row__label,
.venue-card__deal-label,
.squared-deal-label {
  min-width: 0;
  color: var(--text-soft);
  font-size: 13.5px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.deal-row__leader,
.venue-card__leader,
.squared-leader {
  min-width: var(--space-3);
  flex: 1 1 auto;
  border-bottom: 1px dotted var(--leader);
  transform: translateY(-3px);
}

.deal-row__price,
.venue-card__price,
.squared-price {
  flex: 0 0 auto;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1;
}

.venue-card__price {
  font-weight: 400;
}

.venue-card__price-missing {
  color: var(--text-muted);
}

.venue-card__unconfirmed,
.venue-card__quality {
  display: flex;
  width: max-content;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
  padding: var(--space-1) var(--space-2);
  border: 1px dashed var(--accent);
  color: var(--accent);
  font-size: 12px;
  font-weight: var(--weight-extrabold);
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.venue-card__unconfirmed {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: var(--weight-bold);
}

.venue-card__unconfirmed > span:first-child {
  padding: var(--space-1) var(--space-2);
  border: 1px dashed var(--accent);
  color: var(--accent);
  font-weight: var(--weight-extrabold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.venue-card__empty {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: var(--weight-semibold);
}

.venue-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: var(--weight-bold);
}

.venue-card__actions,
.card-actions,
.featured-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--space-3);
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}

.venue-card__footer .venue-card__actions {
  flex: 0 0 auto;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.venue-card__schedule {
  min-width: 0;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: var(--weight-bold);
}

.venue-card__actions a,
.venue-card__action,
.card-action,
.featured-actions a {
  display: inline-flex;
  min-height: var(--control-height);
  align-items: center;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: var(--weight-bold);
  text-decoration: none;
}

.venue-card__action {
  padding: 0;
  border: 0;
  background: transparent;
}

/* Generous invisible hit area so action taps don't fall through to the card. */
.venue-card__action {
  position: relative;
}

.venue-card__action::after {
  position: absolute;
  inset: -10px -5px;
  content: "";
}

.venue-card__actions a:first-child,
.venue-card__directions,
.card-action:first-child,
.featured-actions a:first-child {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}

.venue-card__actions a:hover,
.venue-card__action:hover,
.card-action:hover,
.featured-actions a:hover {
  color: var(--accent);
}

.venue-card__save.is-saved,
.venue-card__save[aria-pressed="true"],
.venue-card.is-saved .venue-card__save {
  color: var(--live);
}

/* Backward-compatible expandable specials */

.search-special-snippet {
  margin-top: var(--space-2);
  color: var(--accent);
  font-size: 12px;
  font-weight: var(--weight-bold);
}

.specials-control-stack {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}

.day-pills {
  display: flex;
  gap: var(--space-1);
  overflow-x: auto;
  padding-bottom: var(--space-1);
  scrollbar-width: thin;
}

.day-pill {
  min-width: var(--control-height);
  min-height: var(--control-height);
  flex: 0 0 var(--control-height);
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: var(--weight-extrabold);
}

.day-pill.is-selected,
.day-pill[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.day-pill:disabled,
.day-pill.is-muted {
  opacity: 0.38;
  cursor: not-allowed;
}

.specials {
  margin-top: var(--space-2);
}

.specials summary {
  display: flex;
  min-height: var(--control-height);
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: var(--weight-bold);
  list-style: none;
}

.specials summary::-webkit-details-marker {
  display: none;
}

.specials summary::after {
  color: var(--accent);
  content: "+";
  font-size: 18px;
  line-height: 1;
}

.specials[open] summary::after {
  content: "−";
}

.specials-panel {
  max-height: 300px;
  overflow: auto;
  padding: var(--space-3) 0;
  color: var(--text-soft);
  font-size: 12px;
}

.specials-panel h5 {
  margin-bottom: var(--space-2);
  color: var(--accent);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: var(--weight-extrabold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.special-section + .special-section {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.specials-panel ul {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.specials-panel li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
}

.specials-panel strong {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
}

.no-specials {
  color: var(--text-muted);
  font-size: 12px;
}

.special-chip {
  display: inline-block;
  margin: var(--space-1) var(--space-1) 0 0;
  padding: var(--space-1) var(--space-2);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 12px;
}

.special-chip-muted {
  color: var(--text-muted);
}

.picks-grid .featured-card .specials-control-stack,
.picks-grid .pick-card .specials-control-stack,
.picks-grid .deal-row:nth-child(n + 3),
.picks-grid .venue-card__deal:nth-child(n + 3),
.picks-grid .squared-deal:nth-child(n + 3) {
  display: none;
}

.picks-grid .venue-card {
  min-height: 220px;
  padding: var(--space-3);
}

/* Results toolbar and split browse instrument */

.browse-section {
  padding-bottom: var(--space-8);
  scroll-margin-top: calc(var(--header-height) + var(--filter-height));
}

.results-toolbar {
  position: sticky;
  z-index: 600;
  top: calc(var(--header-height) + var(--filter-height));
  min-height: 72px;
  padding: var(--space-3) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--sticky-surface);
  backdrop-filter: blur(14px);
}

.results-toolbar > div:first-child {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
}

.results-toolbar h2 {
  font-size: 24px;
}

.active-count {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: var(--space-1) var(--space-2);
  border: 1px solid var(--live);
  color: var(--live);
  font-size: 12px;
  font-weight: var(--weight-extrabold);
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.results-toolbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.sort-control {
  display: flex;
  min-height: var(--control-height);
  align-items: center;
  border: 1px solid var(--border-medium);
  background: var(--surface-raised);
}

.sort-control > span {
  padding-inline: var(--space-3);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: var(--weight-bold);
}

.sort-control select {
  min-width: 154px;
  padding: 0 var(--space-3);
  border: 0;
  border-left: 1px solid var(--border);
  background: transparent;
}

.compact-button {
  padding-inline: var(--space-3);
}

.browse-instrument {
  display: grid;
  height: calc(100dvh - var(--header-height) - var(--filter-height));
  min-height: 620px;
  max-height: 920px;
  grid-template-columns: minmax(0, 3fr) minmax(360px, 2fr);
  border: 1px solid var(--border-medium);
  border-top: 0;
  background: var(--surface);
}

.list-pane {
  min-width: 0;
  overflow: auto;
  padding: var(--space-3);
  overscroll-behavior: contain;
}

.venue-grid,
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  align-items: start;
  gap: var(--space-3);
}

.results-pagination {
  display: grid;
  justify-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding: var(--space-4) var(--space-2) var(--space-2);
  border-top: 1px solid var(--border-medium);
}

.results-pagination__summary {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.results-pagination__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
}

.results-pagination__button {
  min-width: var(--control-height);
  min-height: var(--control-height);
  padding: 0 var(--space-3);
  border: 1px solid var(--border-medium);
  border-radius: 0;
  background: var(--surface-raised);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: var(--weight-extrabold);
}

.results-pagination__button:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

.results-pagination__button.is-current {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  opacity: 1;
}

.results-pagination__button:disabled:not(.is-current) {
  opacity: 0.42;
}

.results-pagination__ellipsis {
  display: inline-grid;
  min-width: var(--control-height);
  min-height: var(--control-height);
  place-items: center;
  color: var(--text-muted);
  font-weight: var(--weight-extrabold);
}

.venue-group-divider {
  grid-column: 1 / -1;
  margin-top: var(--space-2);
  padding-bottom: var(--space-1);
  border-bottom: 1px solid var(--border);
  color: var(--accent);
  font-size: 12px;
  font-weight: var(--weight-extrabold);
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.skeleton-card {
  position: relative;
  min-height: 286px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--skeleton-a);
}

.skeleton-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--skeleton-b) 48%,
    transparent 100%
  );
  content: "";
  transform: translateX(-100%);
  animation: skeleton-sweep 1.4s infinite;
}

@keyframes skeleton-sweep {
  to {
    transform: translateX(100%);
  }
}

.empty-state {
  display: grid;
  min-height: 360px;
  place-content: center;
  gap: var(--space-3);
  padding: var(--space-8);
  text-align: center;
}

.empty-state h3 {
  font-size: 24px;
}

.empty-state p {
  color: var(--text-muted);
  font-size: 13px;
}

.empty-state .primary-button {
  justify-self: center;
}

/* Map and Leaflet */

.map-pane {
  position: relative;
  /* Own stacking context: keeps Leaflet's z-index:1000 controls (attribution)
     contained below the sticky header/filters when the map scrolls under them. */
  isolation: isolate;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-left: 1px solid var(--border-medium);
  background: var(--map-canvas);
}

#happy-hour-map {
  width: 100%;
  height: 100%;
  min-height: 100%;
  background: var(--map-canvas);
}

.map-fallback {
  position: absolute;
  z-index: 500;
  inset: 0;
  display: grid;
  place-content: center;
  padding: var(--space-6);
  background: var(--surface-soft);
  color: var(--text-muted);
  text-align: center;
}

.map-fallback p {
  max-width: 320px;
  font-size: 12px;
  font-weight: var(--weight-bold);
}

.map-peek-label {
  position: absolute;
  z-index: 520;
  top: var(--space-3);
  left: 50%;
  min-height: 28px;
  padding: var(--space-1) var(--space-3);
  transform: translateX(-50%);
  border: 1px solid var(--border-medium);
  border-radius: 0;
  background: var(--overlay-surface);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: var(--weight-extrabold);
  letter-spacing: 0.08em;
  line-height: 18px;
  text-transform: uppercase;
  white-space: nowrap;
}

.map-area-actions {
  position: absolute;
  z-index: 520;
  top: var(--space-3);
  right: var(--space-3);
  display: flex;
  gap: var(--space-2);
}

.map-overlay-button {
  background: var(--overlay-surface);
}

.map-legend {
  position: absolute;
  z-index: 520;
  bottom: var(--space-3);
  left: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--border-medium);
  background: var(--overlay-surface);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: var(--weight-bold);
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--closed);
}

.legend-dot--live {
  background: var(--live);
}

.legend-dot--upcoming {
  background: var(--upcoming);
}

.legend-dot--closed {
  background: var(--closed);
}

.map-expand-button {
  position: absolute;
  z-index: 520;
  right: var(--space-3);
  bottom: var(--space-3);
  display: none;
  background: var(--overlay-surface);
}

.leaflet-container {
  background: var(--map-canvas);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 12px;
}

.leaflet-bar,
.leaflet-control-layers,
.leaflet-popup-content-wrapper,
.leaflet-popup-tip,
.leaflet-tooltip {
  border-radius: 0 !important;
}

.leaflet-bar {
  border: 1px solid var(--border-strong) !important;
  box-shadow: 0 8px 24px var(--shadow) !important;
}

.leaflet-bar a {
  display: grid;
  width: var(--control-height) !important;
  height: var(--control-height) !important;
  place-items: center;
  border-bottom-color: var(--border) !important;
  background: var(--surface-raised) !important;
  color: var(--text) !important;
  font-size: 20px !important;
  line-height: 1 !important;
}

.leaflet-popup-content-wrapper,
.leaflet-tooltip {
  border: 1px solid var(--border-strong);
  background: var(--surface-raised);
  color: var(--text);
  box-shadow: 0 16px 40px var(--shadow);
}

.leaflet-popup-content {
  min-width: 180px;
  margin: var(--space-3);
  font-size: 12px;
}

.leaflet-popup-tip {
  background: var(--surface-raised);
}

.leaflet-control-attribution {
  border-radius: 0 !important;
  background: var(--overlay-surface) !important;
  color: var(--text-muted) !important;
  font-size: 12px !important;
}

.leaflet-control-attribution a {
  color: var(--accent) !important;
}

.leaflet-div-icon {
  border: 0 !important;
  background: transparent !important;
}

.hh-map-view,
.hh-map-panel {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.hh-map-panel--hairline {
  outline: 1px solid transparent;
}

.hh-map-view--unavailable {
  display: grid;
  place-items: center;
}

.hh-map-unavailable {
  position: absolute;
  z-index: 460;
  inset: 0;
  display: grid;
  place-content: center;
  padding: var(--space-6);
  background: var(--surface-soft);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: var(--weight-bold);
  text-align: center;
}

.hh-map-marker,
.hh-map-user-marker,
.hh-map-cluster {
  display: grid !important;
  place-items: center;
  border: 0 !important;
  background: transparent !important;
}

.hh-map-marker {
  transition: transform 160ms var(--ease-out);
}

.hh-map-marker:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.hh-map-marker__dot {
  display: block;
  width: 14px;
  height: 14px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--closed);
  box-shadow: 0 0 0 4px var(--border);
}

.hh-map-marker--live .hh-map-marker__dot {
  background: var(--live);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--live) 28%, transparent);
}

.hh-map-marker--upcoming .hh-map-marker__dot {
  background: var(--upcoming);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--upcoming) 24%, transparent);
}

.hh-map-marker--closed .hh-map-marker__dot {
  background: var(--closed);
}

.hh-map-marker--highlighted:not(.hh-map-marker--selected) {
  transform: scale(1.22);
}

.hh-map-marker__coaster {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--surface-raised);
  box-shadow:
    inset 0 0 0 4px var(--surface-raised),
    inset 0 0 0 5px var(--border-strong),
    0 0 0 5px color-mix(in srgb, var(--accent) 20%, transparent);
}

.hh-map-marker__monogram {
  color: var(--accent);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: var(--weight-extrabold);
  letter-spacing: 0.06em;
}

.hh-map-user-marker__dot {
  display: block;
  width: 16px;
  height: 16px;
  border: 3px solid var(--text);
  border-radius: 50%;
  background: var(--location);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--location) 24%, transparent);
}

.hh-map-cluster {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 20%, transparent) !important;
}

.hh-map-cluster__count {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: var(--weight-extrabold);
  line-height: 1;
}

.hh-map-cluster--medium .hh-map-cluster__count {
  width: 40px;
  height: 40px;
}

.hh-map-cluster--large .hh-map-cluster__count {
  width: 44px;
  height: 44px;
}

.venue-marker,
.map-marker,
.map-pin {
  width: 16px;
  height: 16px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--closed);
  box-shadow: 0 0 0 4px var(--border);
}

.venue-marker.open,
.venue-marker.live,
.venue-marker.is-live,
.venue-marker--live,
.map-marker.is-live,
.map-marker--live,
.map-pin.is-live {
  background: var(--live);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--live) 28%, transparent);
}

.venue-marker.business-open-no-happy-hour,
.venue-marker.upcoming,
.venue-marker.is-upcoming,
.venue-marker--upcoming,
.map-marker.is-upcoming,
.map-marker--upcoming,
.map-pin.is-upcoming {
  background: var(--upcoming);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--upcoming) 24%, transparent);
}

.venue-marker.closed,
.venue-marker.is-closed,
.venue-marker--closed,
.map-marker.is-closed,
.map-marker--closed,
.map-pin.is-closed {
  background: var(--closed);
}

.venue-marker.is-selected,
.map-marker.is-selected,
.map-pin.is-selected {
  width: 20px;
  height: 20px;
  border: 3px solid var(--text);
  background: var(--location);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--location) 24%, transparent);
}

.marker-cluster,
.map-cluster,
.cluster-marker {
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 25%, transparent);
}

.marker-cluster div,
.map-cluster__count,
.cluster-marker__count {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  margin: var(--space-1);
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: var(--weight-extrabold);
}

.marker-cluster span {
  line-height: 1;
}

/* About and footer */

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr) auto;
  align-items: center;
  gap: var(--space-8);
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
  border-top: 1px solid var(--border);
}

.about-section h2 {
  max-width: 520px;
  margin-top: var(--space-2);
  font-size: 30px;
}

.about-section > p {
  max-width: 640px;
  color: var(--text-soft);
  font-size: 13px;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
  border-top: 1px solid var(--border);
}

.brand-lockup--footer {
  gap: var(--space-3);
}

.brand-lockup--footer > span:last-child {
  display: grid;
  gap: var(--space-1);
}

.brand-lockup--footer small {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: var(--weight-extrabold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-3);
}

.site-footer__meta p {
  max-width: 620px;
  color: var(--text-muted);
  font-size: 12px;
  text-align: right;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text);
  font-size: 12px;
  font-weight: var(--weight-extrabold);
  letter-spacing: 0.04em;
  text-decoration: none;
}

.footer-social__icon {
  flex: 0 0 auto;
  color: var(--accent);
}

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

/* App drawers */

.drawer-layer {
  position: fixed;
  z-index: 2200;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    visibility 0s linear 220ms,
    opacity 180ms var(--ease-out);
}

.drawer-layer[aria-hidden="false"],
.drawer-layer.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.drawer-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: var(--scrim);
}

.app-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(500px, 100%);
  height: 100%;
  overflow: auto;
  padding: var(--space-6);
  border-left: 1px solid var(--border-strong);
  border-radius: 0;
  background: var(--surface-raised);
  box-shadow: -16px 0 40px var(--shadow);
  transform: translateX(100%);
  transition: transform 220ms var(--ease-out);
}

.venue-drawer,
.night-drawer {
  overscroll-behavior: contain;
}

.drawer-layer[aria-hidden="false"] .app-drawer:not([hidden]),
.drawer-layer.is-open .app-drawer:not([hidden]),
.app-drawer.is-open {
  transform: translateX(0);
}

.night-drawer__heading {
  padding: var(--space-6) 0 var(--space-4);
}

.night-drawer__heading h2 {
  font-size: 30px;
}

.night-drawer__heading p {
  margin-top: var(--space-2);
  color: var(--text-muted);
  font-size: 12px;
}

#venue-drawer-content,
#night-drawer-content {
  padding-top: var(--space-4);
}

#venue-drawer-content h2,
#venue-drawer-content h3,
#night-drawer-content h3 {
  font-size: 26px;
}

#venue-drawer-content p,
#night-drawer-content p {
  color: var(--text-soft);
  font-size: 12px;
}

.drawer-card,
.night-card,
.saved-venue,
.saved-card {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
}

.drawer-meta,
.drawer-address,
.drawer-status,
.night-card__meta,
.saved-card__meta {
  margin-top: var(--space-2);
  color: var(--text-muted);
  font-size: 12px;
}

.drawer-deals,
.drawer-specials {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.drawer-actions,
.night-card__actions,
.saved-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.drawer-actions a,
.drawer-actions button,
.night-card__actions a,
.night-card__actions button,
.saved-card__actions a,
.saved-card__actions button {
  display: inline-flex;
  min-height: var(--control-height);
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-3);
  border: 1px solid var(--border-medium);
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  font-weight: var(--weight-bold);
  text-decoration: none;
}

.toast {
  position: fixed;
  z-index: 2600;
  right: var(--space-4);
  bottom: var(--space-4);
  max-width: min(420px, calc(100vw - (var(--space-4) * 2)));
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--accent);
  border-radius: 0;
  background: var(--surface-raised);
  box-shadow: 0 12px 32px var(--shadow);
  color: var(--text);
  font-size: 12px;
  font-weight: var(--weight-bold);
  animation: toast-enter 180ms var(--ease-out);
}

/* Final application-rendered contracts */

.filter-helper {
  grid-column: 1 / -1;
  padding: var(--space-3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
}

.choice-button.is-active,
.secondary-button.is-active,
.secondary-button[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.filter-menu.has-active-filter > .filter-control {
  border-color: var(--accent);
  color: var(--accent);
}

.pick-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  gap: 0;
  padding: 16px 20px 15px;
  border-top: 2px solid var(--accent);
}

.pick-card__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.pick-card__index {
  flex: 0 0 auto;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
  line-height: 1;
  opacity: 0.55;
}

.pick-card__dot {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--closed);
}

.pick-card__live {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--closed);
}

.pick-card__place {
  margin: 0;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 28px;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.pick-card__name {
  display: block;
  width: 100%;
  margin: 6px 0 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.05;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.pick-card__name:hover {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.pick-card__deal {
  display: inline-flex;
  align-self: flex-start;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--border-strong);
}

.pick-card__deal-label {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.pick-card__deal-price {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 15px;
}

/* The status kind colors the dot + label at the top of each pick. */
.pick-card--live .pick-card__dot {
  background: var(--live);
}
.pick-card--live .pick-card__live {
  color: var(--live);
}
.pick-card--upcoming .pick-card__dot {
  background: var(--upcoming);
}
.pick-card--upcoming .pick-card__live {
  color: var(--upcoming);
}
.pick-card--last-call .pick-card__dot {
  background: var(--last-call);
}
.pick-card--last-call .pick-card__live {
  color: var(--last-call);
}
.pick-card--ended .pick-card__dot,
.pick-card--planned .pick-card__dot,
.pick-card--closed .pick-card__dot {
  background: var(--closed);
}
.pick-card--ended .pick-card__live,
.pick-card--planned .pick-card__live,
.pick-card--closed .pick-card__live {
  color: var(--closed);
}

.venue-card.is-selected {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.venue-card.is-map-highlighted:not(.is-selected) {
  border-color: var(--live);
  box-shadow: inset 0 0 0 1px var(--live);
}

.coaster-mark--detail {
  --coaster-size: 48px;
  flex: 0 0 auto;
  font-size: 15px;
}

.venue-detail__heading {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.venue-detail__heading > div {
  min-width: 0;
}

.venue-detail__heading h2 {
  margin-top: var(--space-1);
  color: var(--text);
  font-size: 30px;
  overflow-wrap: anywhere;
}

.venue-detail__meta,
.venue-detail__window,
.venue-detail__address {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: var(--weight-semibold);
}

.venue-detail__meta {
  line-height: 1.4;
}

.venue-detail__status {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-top: var(--space-4);
  padding: var(--space-1) var(--space-2);
  border: 1px solid var(--border-medium);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: var(--weight-extrabold);
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.venue-detail__status--live {
  border-color: var(--live);
  color: var(--live);
}

.venue-detail__status--upcoming {
  border-color: var(--upcoming);
  color: var(--upcoming);
}

.venue-detail__status--last-call {
  border-color: var(--last-call);
  color: var(--last-call);
}

.venue-detail__status--ended,
.venue-detail__status--planned,
.venue-detail__status--closed {
  color: var(--closed);
}

.venue-detail__window {
  margin-top: var(--space-3);
  color: var(--text-soft);
  font-weight: var(--weight-bold);
}

.venue-detail__address {
  margin-top: var(--space-1);
}

.venue-detail__section {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}

.venue-detail__section-heading {
  display: grid;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.venue-detail__section-heading h3 {
  font-size: 22px;
}

.venue-detail__section-heading--schedule {
  margin-bottom: 0;
}

.venue-schedule-toggle {
  display: inline-flex;
  width: fit-content;
  min-height: var(--control-height);
  align-items: center;
  gap: var(--space-2);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
  text-align: left;
}

.venue-schedule-toggle:hover {
  color: var(--accent);
}

.venue-schedule-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.venue-schedule-toggle__chevron {
  width: 9px;
  height: 9px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms var(--ease-out);
}

.venue-schedule-toggle[aria-expanded="true"] .venue-schedule-toggle__chevron {
  margin-top: 4px;
  transform: rotate(225deg);
}

.venue-detail__deals {
  display: grid;
  gap: var(--space-2);
}

.drawer-deal-row {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: var(--space-2);
}

.drawer-deal-row > span {
  min-width: 0;
  color: var(--text-soft);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.drawer-deal-row > i {
  min-width: var(--space-3);
  flex: 1 1 auto;
  border-bottom: 1px dotted var(--leader);
  transform: translateY(-3px);
}

.drawer-deal-row > strong {
  flex: 0 0 auto;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
}

.venue-detail__empty {
  padding: var(--space-3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
}

.weekly-schedule {
  display: grid;
  margin: var(--space-4) 0 0;
}

.weekly-schedule__row {
  display: grid;
  min-height: var(--control-height);
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  gap: var(--space-3);
  border-top: 1px solid var(--border);
}

.weekly-schedule__row:last-child {
  border-bottom: 1px solid var(--border);
}

.weekly-schedule__row dt,
.weekly-schedule__row dd {
  margin: 0;
  font-size: 12px;
}

.weekly-schedule__row dt {
  color: var(--text);
  font-weight: var(--weight-extrabold);
}

.weekly-schedule__row dd {
  color: var(--text-muted);
  text-align: right;
}

.weekly-schedule__row.is-today {
  border-color: var(--accent);
  color: var(--accent);
}

.weekly-schedule__row.is-today dt,
.weekly-schedule__row.is-today dd {
  color: var(--accent);
}

.venue-detail__quality {
  margin-top: var(--space-6);
  padding: var(--space-3);
  border: 1px dashed var(--accent);
  color: var(--text-muted);
  font-size: 12px;
}

.venue-detail__quality strong {
  color: var(--accent);
}

.venue-detail__primary-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.venue-detail__primary-actions > * {
  width: 100%;
}

.venue-detail__secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-4);
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}

.venue-detail__secondary-actions a {
  display: inline-flex;
  min-height: var(--control-height);
  align-items: center;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: var(--weight-bold);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 4px;
}

.venue-detail__secondary-actions a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.night-empty {
  display: grid;
  min-height: 360px;
  place-content: center;
  justify-items: center;
  gap: var(--space-3);
  padding: var(--space-6);
  text-align: center;
}

.night-empty h3 {
  font-size: 24px;
}

.night-empty p {
  color: var(--text-muted);
  font-size: 12px;
}

.night-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.night-list > li {
  display: grid;
  min-width: 0;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  grid-template-areas:
    "index name remove"
    ". meta remove";
  align-items: center;
  gap: var(--space-1) var(--space-2);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
}

.night-list__index {
  grid-area: index;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
}

.night-list__name {
  display: flex;
  min-width: 0;
  min-height: var(--control-height);
  grid-area: name;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.15;
  text-align: left;
  overflow-wrap: anywhere;
}

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

.night-list__meta {
  min-width: 0;
  grid-area: meta;
  color: var(--text-muted);
  font-size: 12px;
}

.night-list__remove {
  min-height: var(--control-height);
  grid-area: remove;
  padding: 0 var(--space-3);
  border: 0;
  background: transparent;
  color: var(--danger);
  font-size: 12px;
  font-weight: var(--weight-bold);
}

.night-list__remove:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.crawl-builder {
  margin-top: var(--space-6);
  padding: var(--space-4);
  border: 1px solid var(--border-medium);
  background: var(--surface-soft);
}

.crawl-builder h3 {
  margin-top: var(--space-1);
  font-size: 22px;
}

.crawl-builder > p:not(.drawer-kicker) {
  margin-top: var(--space-2);
  color: var(--text-muted);
  font-size: 12px;
}

.crawl-builder .primary-button {
  margin-top: var(--space-4);
}

.night-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.text-button {
  display: inline-flex;
  min-height: var(--control-height);
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-3);
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: var(--weight-bold);
}

.text-button:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.text-button--danger {
  color: var(--danger);
}

.count-badge.is-bumping {
  animation: count-bump 420ms var(--ease-out);
}

@keyframes count-bump {
  0%,
  100% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.28);
  }
}

@keyframes toast-enter {
  from {
    opacity: 0;
    transform: translateY(var(--space-2));
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Medium and mobile layout */

@media (max-width: 1100px) {
  :root {
    --page-gutter: 24px;
  }

  .about-section {
    grid-template-columns: 1fr 1fr;
  }

  .about-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  :root {
    --page-gutter: 16px;
  }

  .filter-bar {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .filter-shell {
    backdrop-filter: none;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-bar > *,
  .filter-control,
  .clear-button {
    flex: 0 0 auto;
  }

  .filter-popover,
  .filter-popover--place,
  .filter-popover--price,
  .filter-menu--more .filter-popover {
    position: fixed;
    top: calc(var(--header-height) + var(--filter-height) + var(--space-2));
    right: var(--page-gutter);
    left: var(--page-gutter);
    width: auto;
    max-height: calc(100dvh - var(--header-height) - var(--filter-height) - (var(--space-4) * 2));
  }

  .picks-grid {
    grid-auto-columns: min(78vw, 360px);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: var(--space-2);
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .picks-grid > * {
    scroll-snap-align: start;
  }

  .results-toolbar {
    position: static;
  }

  .browse-instrument {
    display: flex;
    height: auto;
    min-height: 0;
    max-height: none;
    flex-direction: column;
  }

  .map-pane {
    order: -1;
    height: 160px;
    min-height: 160px;
    border-bottom: 1px solid var(--border-medium);
    border-left: 0;
    transition:
      height 220ms var(--ease-out),
      min-height 220ms var(--ease-out);
  }

  #browse-instrument.is-map-expanded .map-pane {
    height: 60dvh;
    min-height: 360px;
  }

  .map-expand-button {
    display: inline-flex;
  }

  .map-area-actions {
    top: auto;
    right: var(--space-3);
    bottom: calc(var(--control-height) + var(--space-4));
    flex-direction: column;
    align-items: flex-end;
  }

  .map-legend {
    display: none;
  }

  .list-pane {
    overflow: visible;
    padding: var(--space-3);
    overscroll-behavior: auto;
  }

  .venue-grid,
  .skeleton-grid {
    grid-template-columns: 1fr;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .about-actions {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  .section-title-row {
    align-items: flex-start;
  }

  .section-title-row > p {
    max-width: 150px;
    text-align: right;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__meta {
    align-items: flex-start;
  }

  .site-footer__meta p {
    text-align: left;
  }

  .app-drawer,
  .site-menu__panel {
    width: 100%;
  }

}

@media (max-width: 560px) {
  .site-header {
    padding-inline: var(--space-3);
  }

  .brand-wordmark {
    max-width: 148px;
    font-size: 17px;
  }

  .header-actions {
    gap: var(--space-1);
  }

  .header-button {
    width: var(--control-height);
    padding: 0;
    gap: 0;
    font-size: 0;
  }

  .header-button .count-badge {
    min-width: 20px;
    height: 20px;
    padding: 0 var(--space-1);
    font-size: 12px;
  }

  .working-hero,
  .working-hero__inner {
    min-height: 204px;
  }

  .working-hero {
    background-position:
      center,
      68% center;
    background-size:
      cover,
      cover;
  }

  .working-hero__inner {
    justify-content: center;
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
  }

  .coaster-mark--hero {
    --coaster-size: 36px;
    font-size: 12px;
  }

  .hero-identity h1 {
    font-size: 24px;
  }

  .hero-stat {
    font-size: 12px;
    letter-spacing: 0.08em;
  }

  .hero-copy {
    max-width: 340px;
    margin-top: var(--space-2);
    font-size: 13px;
    line-height: 1.4;
  }

  .search-form {
    margin-top: var(--space-3);
  }

  .search-submit {
    display: none;
  }

  .search-field {
    width: 100%;
  }

  .filter-messages {
    padding-inline: var(--space-3);
  }

  .picks-section {
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
  }

  .section-title-row h2,
  .results-toolbar h2 {
    font-size: 22px;
  }

  .section-title-row > p {
    display: none;
  }

  .results-toolbar {
    min-height: 0;
    align-items: stretch;
    flex-direction: column;
    padding-block: var(--space-3);
  }

  .results-toolbar > div:first-child {
    justify-content: space-between;
  }

  .results-toolbar__actions {
    width: 100%;
  }

  .sort-control {
    min-width: 0;
    flex: 1 1 auto;
  }

  .sort-control select {
    min-width: 0;
    width: 100%;
  }

  .compact-button {
    flex: 0 0 auto;
  }

  .map-peek-label {
    top: var(--space-2);
    max-width: calc(100% - (var(--space-4) * 2));
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .map-expand-button {
    right: var(--space-2);
    bottom: var(--space-2);
  }

  .map-area-actions {
    right: var(--space-2);
    bottom: calc(var(--control-height) + var(--space-3));
  }

  .list-pane {
    padding: var(--space-2);
  }

  .venue-grid,
  .skeleton-grid {
    gap: var(--space-2);
  }

  .venue-card {
    min-height: 0;
    padding: var(--space-3);
  }

  .venue-card__index,
  .squared-index {
    display: none;
  }

  .venue-card__name,
  .squared-name,
  .venue-card h3 {
    font-size: 18px;
  }

  /* Larger on phones for presence; the flex header wraps it if it meets the status. */
  .venue-card h3.venue-card__name {
    font-size: 22px;
  }

  .venue-card__status,
  .status-badge {
    min-height: 26px;
    padding: var(--space-1) var(--space-2);
    font-size: 12px;
    letter-spacing: 0.04em;
  }

  /* On a phone the header is a flex row: the name wraps in the free space while the
     status stays a fixed-size label pinned top-right, so a long name can never clip it. */
  .venue-card__header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
  }

  .venue-card__index {
    flex: 0 0 auto;
  }

  .venue-card__identity {
    flex: 1 1 auto;
    min-width: 0;
  }

  .venue-card__status--desktop {
    flex: 0 0 auto;
    display: inline-flex;
    white-space: nowrap;
    font-size: 12px;
    letter-spacing: 0.04em;
  }

  .venue-card__status--mobile {
    display: none;
  }

  .venue-card__meta,
  .venue-meta,
  .squared-meta {
    margin-top: var(--space-1);
  }

  .venue-card__deals,
  .squared-deals {
    gap: var(--space-2);
    margin-top: var(--space-3);
  }

  .deal-row__label,
  .venue-card__deal-label,
  .squared-deal-label {
    font-size: 12.5px;
  }

  .deal-row__price,
  .venue-card__price,
  .squared-price {
    font-size: 14px;
  }

  .venue-card > .card-actions,
  .venue-card > .specials-control-stack {
    display: none;
  }

  .venue-card__footer {
    align-items: flex-end;
    gap: var(--space-2);
    margin-top: var(--space-3);
  }

  .featured-card {
    min-height: 204px;
  }

  .pick-card {
    padding: 16px 18px 15px;
  }

  .venue-detail__heading {
    align-items: flex-start;
  }

  .coaster-mark--detail {
    --coaster-size: 40px;
    font-size: 13px;
  }

  .venue-detail__heading h2 {
    font-size: 26px;
  }

  .venue-detail__primary-actions {
    grid-template-columns: 1fr;
  }

  .venue-detail__secondary-actions {
    flex-direction: column;
  }

  .venue-detail__secondary-actions a {
    width: 100%;
  }

  .weekly-schedule__row {
    grid-template-columns: minmax(92px, auto) minmax(0, 1fr);
    gap: var(--space-2);
  }

  .night-empty {
    min-height: 320px;
    padding: var(--space-4);
  }

  .night-list > li {
    grid-template-columns: 24px minmax(0, 1fr) auto;
  }

  .night-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .night-actions > * {
    width: 100%;
  }

  .about-section {
    padding-top: var(--space-6);
    padding-bottom: var(--space-6);
  }

  .about-section h2 {
    font-size: 26px;
  }

  .about-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer {
    padding-top: var(--space-6);
    padding-bottom: var(--space-6);
  }

  .app-drawer,
  .site-menu__panel {
    padding: var(--space-4);
  }

  .toast {
    right: var(--space-3);
    bottom: var(--space-3);
    max-width: calc(100vw - (var(--space-3) * 2));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  :root {
    --page-gutter: 0;
  }

  html,
  body {
    background: #fff !important;
    color: #000 !important;
  }

  .site-header,
  .working-hero,
  .filter-shell,
  .picks-section,
  .map-pane,
  .results-toolbar__actions,
  .about-actions,
  .site-menu,
  .drawer-layer,
  .toast,
  .card-actions,
  .venue-card__actions {
    display: none !important;
  }

  .browse-section,
  .about-section,
  .site-footer {
    width: 100%;
    padding-inline: 0;
  }

  .results-toolbar {
    position: static;
    border-color: #777;
    background: #fff;
  }

  .browse-instrument {
    display: block;
    height: auto;
    min-height: 0;
    max-height: none;
    border: 0;
  }

  .list-pane {
    overflow: visible;
    padding: 0;
  }

  .venue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .venue-card,
  .featured-card,
  .pick-card {
    break-inside: avoid;
    border: 1px solid #777;
    background: #fff;
    color: #000;
    box-shadow: none;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
