/* Happy hours (/eat/happy-hour/). Mobile first; every class starts with hh- because this file joins the shared site.css. */
.hh-sec { padding-top: clamp(24px, 4vw, 50px); }

/* Filters: one row that stays under the header while the list scrolls. On phones the row slides sideways, On now first. */
.hh-bar { position: sticky; top: 76px; z-index: 20; margin-bottom: var(--sp-16); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.hh-bar-in { display: flex; flex-wrap: nowrap; gap: var(--sp-8); padding: var(--sp-8) 0; }
.hh-bar-in > * { flex: none; }
.hh-tog[hidden] { display: none; }
@media (max-width: 759px) {
  .hh-bar-in { width: auto; margin: 0; padding: var(--sp-8) var(--sp-24); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
  .hh-bar-in::-webkit-scrollbar { display: none; }
  #hh-where { order: -1; }
  .hh-bar .hh-sel span { display: none; }
  .hh-bar .hh-sel select { padding-left: 1em; }
}
.hh-sel { position: relative; display: inline-flex; align-items: center; border-radius: var(--r-ctl); border: 1.5px solid var(--line); background: #fffaf2; color: var(--ink); font: 600 .9rem/1 var(--sans); }
/* The select fills the whole pill (label sits on its left padding), so the list opens under the pill's left edge at the pill's width */
.hh-sel span { position: absolute; left: 1em; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-weight: 500; pointer-events: none; }
.hh-sel select { flex: 1; min-width: 0; appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: inherit; color: inherit; padding: .78em 2.3em .78em 4.05em; border-radius: var(--r-ctl); cursor: pointer; min-height: 44px; }
.hh-sel select:focus-visible { outline: none; }
.hh-sel:has(select:focus-visible) { outline: 2.5px solid var(--tile); outline-offset: 2px; }
.hh-sel option { color: var(--ink); background: #fffaf2; }
.hh-sel::after { content: ""; position: absolute; right: 15px; top: 50%; width: 7px; height: 7px; margin-top: -5px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); pointer-events: none; }
.hh-sel:hover { border-color: var(--ink-3); }
.hh-tog { font: 600 .9rem/1 var(--sans); min-height: 44px; padding: .78em 1.15em; border-radius: var(--r-ctl); border: 1.5px solid var(--line); background: #fffaf2; color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.hh-tog:hover { border-color: var(--ink-3); color: var(--ink); }
.hh-tog[aria-pressed="true"] { background: var(--sea); border-color: var(--sea); color: #fff; }
#hh-late::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: var(--sp-8); border-radius: 50%; background: var(--night-2); vertical-align: 1px; }
.hh-countrow { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-8) var(--sp-16); margin: var(--sp-8) 0 var(--sp-24); }
.hh-count { margin: 0; font: 500 1rem var(--sans); color: var(--ink-3); }
.hh-count:focus { outline: none; }
/* list narrowed to the map view: the way back */
.hh-areaall { font: 600 .9rem/1 var(--sans); min-height: 40px; padding: .6em 1.05em; border-radius: var(--r-ctl); border: 1.5px solid var(--sea); background: #fffaf2; color: var(--sea); cursor: pointer; transition: background .2s, color .2s; }
.hh-areaall:hover { background: var(--sea); color: #fff; }

/* Towns and cards */
.hh-town + .hh-town { margin-top: clamp(40px, 6vw, 70px); }
.hh-th { font-size: var(--h2-sec); margin: 0 0 var(--sp-16); padding-bottom: var(--sp-12); border-bottom: 1.5px solid var(--line); }
.hh-tn { font: 500 1rem var(--sans); color: var(--ink-3); margin-left: var(--sp-8); } /* a quiet count, like the town pages' (.et-n), not a solid box */
.hh-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--sp-16); }
.hh-card { display: flex; flex-direction: column; gap: var(--sp-8); padding: var(--sp-20) var(--sp-20) var(--sp-16); border-radius: var(--radius); background: #fffaf2; box-shadow: var(--shadow-1); scroll-margin-top: 150px; }
/* The venue's own photo, edge to edge across the top of the card */
.hh-ph { display: block; margin: -20px -20px var(--sp-8); aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--paper-2); }
.hh-ph img, .hh-ph img.fit { display: block; width: 100%; height: 100%; object-fit: cover; }
.hh-card:target { box-shadow: 0 0 0 3px var(--sun), var(--shadow-2); }
.hh-name { font-size: 1.3rem; line-height: 1.12; margin: 0; }
.hh-addr { margin: -4px 0 0; color: var(--ink-3); font-size: .9rem; }
.hh-status { margin: 0; align-self: flex-start; font: 600 .82rem/1.2 var(--sans); padding: .45em .8em; border-radius: var(--r-tag); background: var(--paper-2); color: var(--ink-2); }
.hh-status.is-live { background: #fde9c7; color: #7a4600; }
.hh-status.is-live::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: var(--sp-8); border-radius: 50%; background: var(--sun); vertical-align: 1px; }
.hh-when { margin: 0; display: grid; gap: 2px; font-size: 1rem; }
.hh-when > div { display: grid; grid-template-columns: minmax(6.2em, auto) 1fr; gap: var(--sp-12); padding: var(--sp-4) var(--sp-8); margin: 0 -8px; border-radius: 8px; }
.hh-when dt { font-weight: 600; color: var(--ink); }
.hh-when dd { margin: 0; color: var(--ink-2); }
.hh-when > div.is-day { background: color-mix(in srgb, var(--sun-2) 32%, transparent); }
.hh-deals { list-style: none; margin: 2px 0 0; padding: var(--sp-8) 0 0; border-top: 1px dashed var(--line); display: grid; gap: var(--sp-4); font-size: 1rem; color: var(--ink); }
.hh-deals li { position: relative; padding-left: var(--sp-16); }
.hh-deals li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--tile); }
.hh-nodeals { margin: 2px 0 0; padding-top: var(--sp-8); border-top: 1px dashed var(--line); font-size: .9rem; font-style: italic; color: var(--ink-3); }
.hh-ceiling { margin: 0; font-size: .9rem; font-weight: 600; color: var(--sea); }
.hh-where { margin: 0; font-size: .9rem; color: var(--ink-2); }
.hh-where span { font: 600 .75rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-right: var(--sp-8); }
.hh-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-8); }
.hh-tags li { font: 600 .75rem/1 var(--sans); letter-spacing: .03em; padding: var(--sp-8) var(--sp-8); border-radius: var(--r-tag); background: var(--paper-2); color: var(--ink-2); }
.hh-foot { margin: auto 0 0; padding-top: var(--sp-8); border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: var(--sp-8) var(--sp-16); flex-wrap: wrap; font-size: .82rem; color: var(--ink-3); }
.hh-foot a { color: var(--sea); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: var(--sp-4); min-height: 32px; }
.hh-foot a:hover { text-decoration: underline; }
.hh-empty { color: var(--ink-3); font: 500 italic 1.12rem var(--sans); margin: var(--sp-8) 0 0; }
.hh-more { margin: var(--sp-32) 0 0; color: var(--ink-3); font-size: .9rem; }

/* Quick answers and the method note */
.hh-faq { margin-top: clamp(60px, 8vw, 100px); max-width: 52em; }
.hh-faq > h2 { margin: 0 0 var(--sp-16); }
.hh-qa { padding: var(--sp-16) 0; border-top: 1px solid var(--line); }
.hh-qa h3 { font-size: 1.12rem; margin: 0 0 var(--sp-8); }
.hh-qa p { margin: 0; color: var(--ink-2); }
.hh-how { margin-top: clamp(40px, 6vw, 70px); padding: clamp(22px, 4vw, 40px); border-radius: var(--radius); background: var(--paper-2); display: grid; gap: var(--sp-8); }
.hh-how h2 { margin: 0; }
.hh-how p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.hh-how a { color: var(--tile-deep); font-weight: 600; }
.hh-tell { display: inline-block; padding: .2em 0; }
.hh-how p.hh-mapcredit { font-size: .82rem; color: var(--ink-2); }
.hh-how .hh-mapcredit a { color: inherit; font-weight: 500; }

/* Map: on by default, same places as the list; amber pins are on now */
.hh-maptog::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: var(--sp-8); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: currentColor; vertical-align: -1px; }
.hh-mapbox { margin: var(--sp-4) 0 var(--sp-16); }
.hh-mapel { height: min(52vh, 320px); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); background: #a9cfd5; }
.hh-mapfoot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--sp-8) var(--sp-16); margin-top: var(--sp-8); }
.hh-key { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-8) var(--sp-16); font: 500 .9rem var(--sans); color: var(--ink-2); }
.hh-key li::before { content: ""; display: inline-block; width: 11px; height: 11px; margin-right: var(--sp-8); border-radius: 50%; vertical-align: -1px; border: 2px solid #fffaf2; box-shadow: 0 0 0 1px var(--line); }
.hh-key .k-live::before { background: var(--sun); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sun) 30%, transparent); }
.hh-key .k-later::before { background: var(--sea); }
.hh-key .k-off::before { background: #a39d93; width: 9px; height: 9px; }
.hh-pop { padding: var(--sp-16) var(--sp-16) var(--sp-12); }
.hh-pop p { margin: 0; }
.hh-pop-n { font: 600 1.12rem/1.2 var(--sans); color: var(--ink); padding-right: var(--sp-24); }
.hh-pop-s { display: inline-block; margin-top: var(--sp-8) !important; font: 600 .82rem/1.2 var(--sans); padding: .35em .7em; border-radius: var(--r-tag); background: var(--paper-2); color: var(--ink-2); }
.hh-pop-s.is-live { background: #fde9c7; color: #7a4600; }
.hh-pop-d { list-style: none; margin: var(--sp-8) 0 0; padding: 0; display: grid; gap: var(--sp-4); font-size: .82rem; color: var(--ink-2); }
.hh-pop-d li { position: relative; padding-left: var(--sp-12); }
.hh-pop-d li::before { content: ""; position: absolute; left: 1px; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: var(--tile); }
.hh-pop-l { display: inline-block; margin-top: var(--sp-8); font: 600 .82rem var(--sans); color: var(--sea); }
@media (min-width: 760px) { .hh-mapel { height: 420px; } }

@media (min-width: 640px) {
  .hh-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--sp-16); }
}
@media (min-width: 760px) { .hh-bar { margin-bottom: var(--sp-16); } }
@media (min-width: 900px) {
  .hh-how { grid-template-columns: 1fr 2fr; column-gap: var(--sp-48); }
  .hh-how h2 { grid-row: span 4; }
}

/* Tonight's sunset box: happy hours with an ocean view in the last hour of light */
.hh-sun[hidden] { display: none; }
.hh-sun { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-16); align-items: start; margin: var(--sp-4) 0 var(--sp-24); padding: var(--sp-20) var(--sp-24); border-radius: var(--radius); background: linear-gradient(135deg, #fff1db, #fbe0cf); box-shadow: var(--shadow-1); }
.hh-sun .eyebrow { margin: 0 0 var(--sp-4); }
.hh-sun-h { margin: 0 0 var(--sp-8); font-size: var(--h2-card); line-height: 1.25; }
.hh-sun-why { margin: 0 0 var(--sp-12); color: var(--ink-2); font-size: .9rem; }
.hh-sun-score .tmark { --sz: 52px; }
.hh-sun-sub { cursor: pointer; }
@media (max-width: 759px) { .hh-sun-sub { font-weight: 600; } }
.hh-sun-sub { margin: 0 0 var(--sp-8); color: var(--ink-2); font-size: 1rem; }
.hh-sun-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-8); font-size: 1rem; }
.hh-sun-list a { font-weight: 600; color: var(--ink); }
.hh-sun-list span { color: var(--ink-2); }
.hh-sun-list em { font-style: normal; font-size: .82rem; color: var(--ink-3); white-space: nowrap; }
.hh-sun-list em::before { content: '· '; }
.hh-sun-list em.is-on { color: #7a4600; font-weight: 600; }
.hh-sun-more { margin: var(--sp-8) 0 0; font-size: .9rem; }
.hh-sun-more a { color: var(--tile-deep); font-weight: 600; }
@media (max-width: 600px) {
  .hh-sun { grid-template-columns: 1fr; gap: var(--sp-8); }
  .hh-sun-list em { display: block; }
  .hh-sun-list em::before { content: none; }
}
.hh-name a { color: inherit; text-decoration: none; }
.hh-name a:hover, .hh-name a:focus-visible { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* Phone rows: under 640px a card in the list folds to a photo, the name, today's line and the first priced deal;
   its button (.hh-x, covering the row) opens the whole card. Without the script the cards stay whole. */
.hh-brief, .hh-top, .hh-x { display: none; }
@media (max-width: 639px) {
  html:not(.no-js) .hh-list .hh-grid { gap: 0; border-radius: var(--radius); background: #fffaf2; box-shadow: var(--shadow-1); overflow: hidden; }
  html:not(.no-js) .hh-list .hh-card { position: relative; border-radius: 0; box-shadow: none; background: none; }
  html:not(.no-js) .hh-list .hh-card + .hh-card { border-top: 1px solid var(--line); }
  html:not(.no-js) .hh-list .hh-card:not(.is-open) { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: var(--sp-12); row-gap: 2px; align-content: center; min-height: 84px; padding: var(--sp-8) var(--sp-32) var(--sp-8) var(--sp-12); }
  html:not(.no-js) .hh-list .hh-card[hidden] { display: none; }
  html:not(.no-js) .hh-list .hh-card:not(.is-open):not(:has(.hh-ph)) { grid-template-columns: minmax(0, 1fr); padding-left: var(--sp-16); }
  html:not(.no-js) .hh-list .hh-card:not(.is-open) > :is(.hh-addr, .hh-when, .hh-deals, .hh-nodeals, .hh-ceiling, .hh-where, .hh-tags, .hh-foot, .hh-meet) { display: none; }
  html:not(.no-js) .hh-list .hh-card:not(.is-open) > .hh-ph { grid-column: 1; grid-row: 1 / span 3; align-self: center; width: 64px; height: 64px; aspect-ratio: auto; margin: 0; border-radius: var(--radius-sm); }
  html:not(.no-js) .hh-list .hh-card:not(.is-open) > :is(.hh-name, .hh-status, .hh-brief, .hh-top) { grid-column: -2 / -1; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html:not(.no-js) .hh-list .hh-card:not(.is-open) > .hh-name { font: 600 1rem/1.3 var(--sans); }
  html:not(.no-js) .hh-list .hh-card:not(.is-open) > .hh-status { justify-self: start; max-width: 100%; padding: 0; background: none; font: 600 .82rem/1.35 var(--sans); color: var(--ink-2); }
  html:not(.no-js) .hh-list .hh-card:not(.is-open) > .hh-status.is-live { color: #7a4600; }
  html:not(.no-js) .hh-list .hh-card:not(.is-open) > .hh-status[hidden] + .hh-brief,
  html:not(.no-js) .hh-list .hh-card:not(.is-open) > .hh-top { display: block; font: 500 .82rem/1.35 var(--sans); color: var(--ink-3); }
  html:not(.no-js) .hh-list .hh-card:not(.is-open) > .hh-top { color: var(--ink-2); }
  html:not(.no-js) .hh-list .hh-x { display: block; position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  html:not(.no-js) .hh-list .hh-x::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border: solid var(--ink-3); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
  html:not(.no-js) .hh-list .hh-x:focus-visible { outline: 2.5px solid var(--tile); outline-offset: -3px; }
  html:not(.no-js) .hh-list .hh-card.is-open > .hh-ph { border-radius: 0; }
  html:not(.no-js) .hh-list .hh-card.is-open > .hh-x { inset: 10px 10px auto auto; width: 44px; height: 44px; border-radius: 50%; background: #fffaf2; box-shadow: var(--shadow-2); }
  html:not(.no-js) .hh-list .hh-card.is-open > .hh-x::after { right: 18px; margin-top: -2px; border-color: var(--ink); transform: rotate(-135deg); }
  html:not(.no-js) .hh-list .hh-card.is-open:not(:has(.hh-ph)) > .hh-name { padding-right: var(--sp-48); }
  .hh-town + .hh-town { margin-top: var(--sp-32); }
}

/* The leaderboard: one card per ranking, a first-place venue's photo on top, every row with the venue's own menu line.
   A sideways strip on phones and tablets, a three-column grid on wide screens. */
.hh-lb { padding-top: var(--sp-24); }
.hh-lb-h { font-size: var(--h2-sec); margin: 0 0 var(--sp-8); }
.hh-lb-sub { margin: 0 0 var(--sp-16); max-width: 44em; color: var(--ink-2); font-size: 1rem; }
.hh-lb-track { list-style: none; margin: 0; padding: 2px var(--sp-24) var(--sp-8); display: flex; align-items: flex-start; gap: var(--sp-16); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; scrollbar-width: none; overscroll-behavior-x: contain; }
.hh-lb-track::-webkit-scrollbar { display: none; }
.hh-lb-card { flex: 0 0 min(82vw, 340px); scroll-snap-align: start; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: #fffaf2; box-shadow: var(--shadow-1); scroll-margin-top: 150px; }
.hh-lb-top { position: relative; background: var(--sea); }
.hh-lb-ph { display: block; position: relative; aspect-ratio: 2 / 1; overflow: hidden; background: var(--paper-2); }
.hh-lb-ph img, .hh-lb-ph img.fit { display: block; width: 100%; height: 100%; object-fit: cover; }
.hh-lb-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 20, 36, .82), rgba(10, 20, 36, .05) 62%); }
.hh-lb-cap { position: absolute; z-index: 1; top: 10px; right: 10px; max-width: 70%; padding: .35em .7em; border-radius: var(--r-tag); background: rgba(10, 20, 36, .6); color: #fffaf2; font: 600 .75rem/1.2 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hh-lb-t { margin: 0; padding: var(--sp-16) var(--sp-16) var(--sp-12); font: 400 1.3rem/1.1 var(--serif); color: #fffaf2; text-wrap: balance; }
.hh-lb-ph + .hh-lb-t { position: absolute; inset: auto 0 0; }
.hh-lb-rows { list-style: none; margin: 0; padding: var(--sp-4) 0; flex: 1; }
.hh-lb-rows a { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; column-gap: var(--sp-8); align-items: center; padding: var(--sp-8) var(--sp-16); color: inherit; text-decoration: none; }
.hh-lb-rows li + li a { border-top: 1px solid var(--line); }
.hh-lb-rows a:hover b, .hh-lb-rows a:focus-visible b { text-decoration: underline; text-underline-offset: 3px; }
.hh-lb-r { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; font: 600 .82rem/1 var(--sans); color: var(--ink-3); }
.hh-lb-rows .is-first .hh-lb-r { background: var(--sun); color: var(--ink); }
.hh-lb-n b { display: block; font: 600 1rem/1.25 var(--sans); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hh-lb-n small { display: block; margin-top: 1px; font: 500 .82rem/1.3 var(--sans); color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hh-lb-v { font: 400 1.3rem/1 var(--serif); color: var(--ink); white-space: nowrap; }
.hh-lb-rows .is-first .hh-lb-v { font-size: 1.5rem; color: var(--tile); }
.hh-lb-v small { font: 500 .82rem/1 var(--sans); color: var(--ink-3); }
.hh-lb-foot { margin: 0; padding: var(--sp-8) var(--sp-16) var(--sp-12); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: var(--sp-12); font: 500 .75rem/1.2 var(--sans); color: var(--ink-3); }
@media (min-width: 1000px) {
  .hh-lb-track { width: min(var(--wrap), 100% - 48px); margin-inline: auto; padding: 2px 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: stretch; gap: var(--sp-16); overflow: visible; }
  .hh-lb-card { flex: none; grid-column: span 2; }
  /* three to a row; a count that leaves one or two over ends on rows of two, so no board sits alone (7 = 3 + 2 + 2) */
  .hh-lb-card:nth-child(3n+1):nth-last-child(4), .hh-lb-card:nth-child(3n+1):nth-last-child(4) ~ .hh-lb-card,
  .hh-lb-card:nth-child(3n+1):nth-last-child(2), .hh-lb-card:nth-child(3n+1):nth-last-child(2) ~ .hh-lb-card { grid-column: span 3; }
}
/* Meet me there on each card (js/meet.js; Zach 2026-11-23: Happy Hours only beyond event pages) */
.hh-meet { display: flex; flex-wrap: wrap; gap: var(--sp-8); margin: var(--sp-12) 0 0; }
.hh-meet .meet-btn { min-height: 44px; }
.hh-meet .meet-btn svg { margin: 0; width: 16px; height: 16px; vertical-align: 0; }
.hh-meet .meet-msg[hidden] { display: none; }
.hh-meet .meet-msg { flex-basis: 100%; display: grid; gap: var(--sp-4); padding: var(--sp-12) var(--sp-16); border-radius: var(--radius); background: color-mix(in srgb, var(--sea) 8%, transparent); font-size: .9rem; line-height: 1.45; }
.hh-meet .meet-k { font: 600 .75rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--sea); }
.hh-meet .meet-msg q { quotes: none; color: var(--ink); overflow-wrap: anywhere; }

/* ---------- "Where's happy hour right now?" (flagship 2026-11-24): the hero is the tool ----------
   Desktop: title and controls on the left, the answer card (photo on top, the count, the top three) on the right.
   Phones: title, then the answer, then the controls, so the first screen answers the question. */
.hh-hero .crumbs { margin: 0 0 var(--sp-8); }
.hh-hero h1 { max-width: 15ch; }
.hhn-grid { display: grid; gap: var(--sp-16); }
.hhn-head { min-width: 0; }
.hhn-head .lede { max-width: 40em; }
@media (min-width: 900px) {
  .hhn-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-rows: auto 1fr; grid-template-areas: "head ans" "ctl ans"; column-gap: clamp(24px, 4vw, 56px); row-gap: var(--sp-24); align-items: start; }
  .hhn-head { grid-area: head; }
  .hhn-ctl { grid-area: ctl; align-self: start; }
  .hhn-ans { grid-area: ans; align-self: stretch; }
}
@media (max-width: 899px) { .hhn-ans { order: 1; } .hhn-ctl { order: 2; } }
.no-js .hhn-ctl { display: none; }
.hhn-ctl { display: grid; align-content: start; gap: var(--sp-16); padding: var(--sp-16); border-radius: var(--radius); background: #fffaf2; border: 1px solid var(--line); }
@media (min-width: 900px) { .hhn-ctl { padding: var(--sp-20); } }
.hhn-f { display: grid; gap: var(--sp-8); min-width: 0; }
.hhn-l { margin: 0; font: 700 .68rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.hhn-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--sp-4); }
.hhn-day { display: grid; justify-items: center; gap: 2px; min-height: 52px; padding: var(--sp-8) 0; border-radius: var(--r-ctl); border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.hhn-day:hover { border-color: var(--ink-3); }
.hhn-day-d { font: 600 .68rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.hhn-day-n { font: 400 1.3rem/1 var(--serif); font-variant-numeric: tabular-nums; }
.hhn-day[aria-pressed="true"] { background: var(--tile); border-color: var(--tile); color: #fffaf2; }
.hhn-day[aria-pressed="true"] .hhn-day-d { color: #fde9c7; }
.hhn-time-row { display: flex; flex-wrap: wrap; gap: var(--sp-8); align-items: center; }
.hhn-sel { min-height: 46px; padding: 0 2.4em 0 .9em; border-radius: var(--r-ctl); border: 1.5px solid var(--line); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%2318222e' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right .8em center / 12px; color: var(--ink); font: 400 1.3rem/1 var(--serif); appearance: none; cursor: pointer; }
.hhn-sel:hover { border-color: var(--ink-3); }
.hhn-now { display: inline-flex; align-items: center; gap: var(--sp-8); min-height: 46px; padding: 0 1em; border-radius: var(--r-ctl); border: 1.5px solid var(--line); background: var(--paper); color: var(--ink-2); font: 600 .9rem/1 var(--sans); cursor: pointer; }
.hhn-now-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.hhn-now-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--sun); animation: hhn-ping 1.8s var(--ease) infinite; }
@keyframes hhn-ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.hhn-now[aria-pressed="true"] { background: #fde9c7; border-color: rgba(239, 161, 58, .6); color: #7a4600; }
.hhn-now[aria-pressed="false"] .hhn-now-dot::after { animation: none; display: none; }
.hhn-day:focus-visible, .hhn-sel:focus-visible, .hhn-now:focus-visible, .hhn-all:focus-visible, .hhn-top a:focus-visible, .hhn-ph a:focus-visible { outline: 2.5px solid var(--tile); outline-offset: 2px; }

/* the answer: a photo on top, then the count in big type over a sky that follows the hour (day, golden, night) */
.hhn-ans { position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: var(--radius); color: #fffaf2; box-shadow: var(--shadow-2);
  background: radial-gradient(110% 80% at 100% 0%, rgba(247, 197, 111, .5), transparent 60%), linear-gradient(160deg, #c2571a, #8d2f3b 70%, #4a2440); }
.hhn-ans[data-sky="day"] { background: radial-gradient(110% 80% at 100% 0%, rgba(247, 197, 111, .55), transparent 60%), linear-gradient(160deg, #1d6e83, #1d5a6e 60%, #17394f); }
.hhn-ans[data-sky="night"] { background: radial-gradient(120% 90% at 100% 0%, rgba(91, 76, 130, .55), transparent 60%), radial-gradient(80% 70% at 0% 100%, rgba(29, 90, 110, .5), transparent 65%), var(--night-2); }
.hhn-ph { position: relative; margin: 0; aspect-ratio: 16 / 7; overflow: hidden; background: rgba(0, 0, 0, .2); }
.hhn-ph-img, .hhn-ph-img img, .hhn-ph-img img.fit { display: block; width: 100%; height: 100%; object-fit: cover; }
.hhn-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 20, 36, .55), transparent 55%); pointer-events: none; }
.hhn-ph figcaption { position: absolute; z-index: 1; left: var(--sp-12); bottom: var(--sp-8); font: 600 .75rem/1.2 var(--sans); color: rgba(255, 250, 242, .9); }
.hhn-ph figcaption a { color: inherit; }
.hhn-ans-b { position: relative; display: grid; align-content: start; gap: var(--sp-8); padding: var(--sp-16) var(--sp-20) var(--sp-20); }
.hhn-ans-k { margin: 0; font: 700 .68rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sun-2); }
.hhn-ans-h { margin: 0; font: 400 1.5rem/1.15 var(--serif); }
.hhn-ans-h b { display: block; font-weight: 400; font-size: clamp(3.2rem, 7vw, 4.6rem); /* type-ok: display */ line-height: .95; color: var(--sun-2); font-variant-numeric: tabular-nums; }
.hhn-ans-s { margin: 0; font-size: .9rem; line-height: 1.45; color: rgba(255, 250, 242, .82); }
.hhn-top { list-style: none; margin: var(--sp-4) 0 0; padding: 0; display: grid; gap: var(--sp-8); }
.hhn-top:empty { display: none; }
.hhn-top li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: var(--sp-12); padding: var(--sp-8); border-radius: var(--radius-sm); background: rgba(255, 250, 242, .1); border: 1px solid rgba(255, 250, 242, .14); }
.hhn-top li:hover { background: rgba(255, 250, 242, .16); }
.hhn-top-ph { width: 44px; height: 44px; border-radius: 6px; overflow: hidden; background: rgba(255, 250, 242, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h14l-6 7v6h3v2H8v-2h3v-6z' fill='none' stroke='%23fffaf2' stroke-opacity='.6' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 22px; }
.hhn-top-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hhn-top-t { display: grid; min-width: 0; }
.hhn-top a { color: #fffaf2; font-weight: 600; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hhn-top a::after { content: ""; position: absolute; inset: 0; } /* the whole row opens the card */
.hhn-top small { font-size: .82rem; color: rgba(255, 250, 242, .75); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hhn-all { justify-self: start; margin: var(--sp-4) 0 0; color: var(--sun-2); font: 600 .9rem var(--sans); text-decoration: none; }
.hhn-all:hover { text-decoration: underline; text-underline-offset: 3px; }
.no-js .hhn-top { display: none; }
@media (max-width: 899px) { .hhn-ph { aspect-ratio: 16 / 8; } }
@media (prefers-reduced-motion: reduce) { .hhn-now-dot::after { animation: none; display: none; } }

/* ---------- the list, sorted: on now, starting soon, later, the rest ---------- */
.hh-bk + .hh-bk { margin-top: clamp(32px, 5vw, 56px); }
.hh-bk .hh-th { margin-bottom: var(--sp-4); }
.hh-bk-sub { margin: 0 0 var(--sp-16); font-size: .9rem; color: var(--ink-3); }
.hh-bk[data-k="now"] .hh-th::before, .hh-bk[data-k="soon"] .hh-th::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: var(--sp-12); border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 5px color-mix(in srgb, var(--sun) 28%, transparent); vertical-align: .12em; }
.hh-bk[data-k="soon"] .hh-th::before { background: #c2571a; box-shadow: none; }
.hh-bk[data-k="rest"] .hh-card { opacity: .78; }
.hh-status.is-soon { background: #fbe0cf; color: #8a3a12; }
.hh-left { position: relative; display: inline-block; width: 34px; height: 6px; margin-right: var(--sp-8); border-radius: 3px; background: rgba(122, 70, 0, .18); vertical-align: 1px; overflow: hidden; }
.hh-left::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 1) * 100%); border-radius: 3px; background: var(--sun); }
.hh-status.is-live:has(.hh-left)::before { content: none; }
.hh-rest { margin: var(--sp-24) 0 0; text-align: center; }
.hh-key .k-soon::before { background: #c2571a; }
.hh-pop-s.is-soon { background: #fbe0cf; color: #8a3a12; }
@media (max-width: 639px) {
  html:not(.no-js) .hh-list .hh-card:not(.is-open) > .hh-status.is-soon { color: #8a3a12; }
  .hh-bk + .hh-bk { margin-top: var(--sp-32); }
}
.hh-sec-end { padding-top: 0; }
@media (min-width: 760px) { .hh-sel:has(#hh-where) select { padding-left: 4.7em; } } /* "Where" is wider than the old "Day" and "Town" labels */

/* No photo: the venue's week, drawn (happyhour.mjs weekChart). Sea-dark band, a row a day, the happy hour in amber. */
.hh-tl { display: grid; place-items: center; background: radial-gradient(90% 80% at 100% 0%, rgba(247, 197, 111, .22), transparent 60%), linear-gradient(160deg, #1d5a6e, #17394f); }
.hh-tl svg { display: block; width: 100%; height: 100%; padding: var(--sp-8) var(--sp-12) var(--sp-4); }
.hh-tl text { font: 600 11px var(--sans); fill: rgba(255, 250, 242, .72); } /* type-ok: chart label inside an SVG viewBox */
.hh-tl .tl-tl { text-anchor: middle; font-size: 10px; fill: rgba(255, 250, 242, .55); } /* type-ok: chart tick */
.hh-tl .tl-tick { stroke: rgba(255, 250, 242, .12); stroke-width: 1; }
.hh-tl .tl-row { fill: rgba(255, 250, 242, .07); }
.hh-tl .tl-bar { fill: var(--sun-2); }
.hh-tl .tl-bar.is-open { fill: var(--sun-2); fill-opacity: .55; }
.hh-tl .tl-d.is-day .tl-row { fill: rgba(255, 250, 242, .18); }
.hh-tl .tl-d.is-day .tl-bar { fill: var(--sun); }
.hh-tl .tl-d.is-day .tl-dl { fill: #fffaf2; }
.hh-tl .tl-now { stroke: #fffaf2; stroke-width: 1.5; stroke-dasharray: 3 3; }
