/* Unified mockup: the wordmark up top, the views in a tab bar at the bottom, the window (+ a day strip) under the
   wordmark on Map and List. */
:root{--hv-tabs:calc(62px + env(safe-area-inset-bottom));
  /* the header band every page opens with: its colour, the text on it, the wordmark's second line, the small caps line */
  --band:#0b4a52;--band-ink:#f7ecd3;--band-accent:#f6b92b;--band-eyebrow:#9ed8c6}
/* the paper band, a preview: ?band=paper (site-nav.js keeps it for the session; ?band=teal goes back).
   Marigold is too light to read on paper (1.7:1), so the accent is a burnt marigold (5.1:1). */
:root[data-band="paper"]{--band:#fff8e6;--band-ink:#10282c;--band-accent:#9a5b00;--band-eyebrow:#0b4a52}

.hv-mark{display:inline-flex;flex-direction:column;align-self:flex-start;font-family:"Righteous","Jost",system-ui,sans-serif;font-size:clamp(17px,5.2vw,22px);line-height:.95;text-transform:lowercase;color:var(--band-ink);text-decoration:none;white-space:nowrap}
.hv-mark b{font-weight:400;color:var(--band-accent)}
@media (min-width:760px){.hv-mark{font-size:28px}}

/* the views */
.hv-tabs{position:fixed;left:0;right:0;bottom:0;z-index:25;display:flex;justify-content:center;gap:6px;background:#10282c;border-top:2.5px solid #10282c;
  padding:6px 10px max(6px,env(safe-area-inset-bottom));font-family:"Righteous","Jost",system-ui,sans-serif}
.hv-tabs a{flex:1;max-width:150px;display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 0 5px;border-radius:14px;color:#9ed8c6;text-decoration:none;font-size:13.5px;letter-spacing:.02em}
.hv-tabs svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hv-tabs a[aria-current="page"]{background:#f7ecd3;color:#10282c}
.hv-tabs a:focus-visible{outline:3px solid #f6b92b;outline-offset:2px}

/* the window: Tonight · Weekend · Week · Day */
.hv-daybtn span::before{content:"";display:inline-block;width:12px;height:12px;margin-right:5px;vertical-align:-1px;border:2px solid currentColor;border-top-width:4px;border-radius:3px}
/* a chevron: this one opens something (the day strip), the others just switch */
.hv-daybtn span::after{content:"";display:inline-block;width:6px;height:6px;margin-left:7px;vertical-align:3px;border:solid currentColor;border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}
[hidden]{display:none!important}
.hv-dayrow{display:flex;align-items:center;gap:8px;min-width:0;margin-right:-14px}
.hv-back{flex:none;display:grid;place-items:center;width:40px;height:40px;padding:0;border:2.5px solid #10282c;border-radius:999px;background:#10282c;color:#f7ecd3;box-shadow:2px 2px 0 #10282c;cursor:pointer}
.hv-back svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round}
.hv-back:focus-visible{outline:3px solid #f6b92b;outline-offset:2px}
.hv-strip{position:relative;flex:1;min-width:0;display:flex;align-items:stretch;gap:5px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;
  padding:2px calc(50% - 20px) 4px} /* the side padding lets the first and last dates reach the middle */
.hv-strip::-webkit-scrollbar{display:none}
.hv-day{flex:none;scroll-snap-align:center;width:44px;display:flex;flex-direction:column;align-items:center;gap:1px;padding:4px 0;border:2.5px solid #10282c;border-radius:12px;
  background:#f7ecd3;color:#10282c;box-shadow:2px 2px 0 #10282c;font:inherit;cursor:pointer}
.hv-day small{font:700 9.5px/1 "Jost",system-ui,sans-serif;letter-spacing:.07em;text-transform:uppercase}
.hv-day b{font:400 18px/1 "Righteous","Jost",system-ui,sans-serif}
.hv-day i{font:800 10.5px/1 "Jost",system-ui,sans-serif;font-style:normal;color:#e8502f}
.hv-day.wkd{background:#fff8e6}
.hv-day[data-empty]{opacity:.5}
.hv-day[aria-pressed="true"],.hv-strip .hv-day.mid{background:#e8502f;color:#fff8e6;opacity:1}
.hv-day[aria-pressed="true"] i,.hv-strip .hv-day.mid i{color:#fff8e6}
.hv-strip:has(.mid) .hv-day[aria-pressed="true"]:not(.mid){background:#f7ecd3;color:#10282c} /* mid-swipe: only the middle one lights */
.hv-strip:has(.mid) .hv-day[aria-pressed="true"]:not(.mid) i{color:#e8502f}
.hv-day:focus-visible{outline:3px solid #f6b92b;outline-offset:2px}

/* the band the wordmark sits in, on pages without a dark top of their own (venue, artist) */
.hv-band{background:var(--band);padding:max(12px,env(safe-area-inset-top)) 16px 12px} /* 16px: the wordmark sits where it does on the four tabs; riso.css gives the band its dotted lower edge */
.hv-band .hv-mark{display:flex;width:max-content}

/* "About", under the wordmark on every page (about.js). Its padding widens the tap target without moving the line. */
.hv-about{justify-self:start;align-self:start;margin:0 -8px -6px;padding:6px 8px;border:0;background:none;cursor:pointer;
  font:600 12.5px/1.25 "Jost",system-ui,sans-serif;letter-spacing:.01em;color:var(--band-ink);opacity:.78;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1.5px}
.hv-about:hover{opacity:1}
.hv-about:focus-visible{outline:3px solid var(--band-accent);outline-offset:0;border-radius:6px;opacity:1}
.hv-band .hv-about{display:block}
.b2-map .top .hv-about,.b2-list .u-top .hv-about,.b2-directory .hero .hv-about,.b2-insights .ins-top .hv-about{grid-column:1;grid-row:2}

/* the About panel: centred in the space above the tab bar */
.hv-aboutbox{inset:0 0 var(--hv-tabs);margin:auto;width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - var(--hv-tabs) - 32px);overflow:auto;
  padding:20px 22px 22px;border:2.5px solid #10282c;border-radius:22px;background:#fff8e6;color:#10282c;box-shadow:6px 6px 0 #10282c;
  font:500 15.5px/1.45 "Jost",system-ui,sans-serif}
.hv-aboutbox::backdrop{background:rgba(4,24,28,.62)}
.hv-aboutbox .ab-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.hv-aboutbox h2{margin:0;font:400 25px/1.1 "Righteous","Jost",sans-serif;text-transform:lowercase}
.hv-aboutbox h2 em{font-style:normal;color:#e8502f}
.hv-aboutbox .ab-x{flex:none;width:38px;height:38px;border:2.5px solid #10282c;border-radius:999px;background:#fff8e6;color:#10282c;font:700 22px/1 "Jost",sans-serif;cursor:pointer}
.hv-aboutbox p{margin:8px 0 0}
.hv-aboutbox .ab-lede{margin-top:10px;font-size:16.5px}
.hv-aboutbox .ab-lede+h3{margin-top:16px}
.hv-aboutbox .ab-nums{display:grid;grid-template-columns:1fr 1fr 1.6fr;gap:8px;margin:16px 0 0}
.hv-aboutbox .ab-nums div{padding:9px 10px;border:2px solid #10282c;border-radius:14px;background:#f7ecd3}
.hv-aboutbox dt{font:800 10.5px/1 "Jost",sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#4c6266}
.hv-aboutbox dd{margin:5px 0 0;font:400 22px/1 "Righteous","Jost",sans-serif}
.hv-aboutbox dd[data-n="updated"]{font:700 14px/1.2 "Jost",sans-serif}
.hv-aboutbox h3{margin:20px 0 0;font:800 12.5px/1 "Jost",sans-serif;letter-spacing:.13em;text-transform:uppercase;color:#e8502f}
.hv-aboutbox .ab-steps{margin:10px 0 0;padding:0;list-style:none;display:grid;gap:8px}
.hv-aboutbox .ab-steps li{position:relative;padding-left:20px}
.hv-aboutbox .ab-steps li::before{content:"✦";position:absolute;left:0;color:#e8502f}
.hv-aboutbox .ab-acts{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.hv-aboutbox .ab-btn{padding:9px 16px;border:2.5px solid #10282c;border-radius:999px;background:#fff8e6;color:#10282c;box-shadow:2px 2px 0 #10282c;font:700 15px "Jost",sans-serif;cursor:pointer;text-decoration:none;display:inline-block}
.hv-aboutbox .ab-hot{background:#f6b92b}
.hv-aboutbox button:focus-visible{outline:3px solid #f6b92b;outline-offset:2px}
/* the wordmark's row is as tall as Map's and List's (their date buttons), so About sits at one height on every page */
header .hv-mark,.hv-band .hv-mark{min-height:44px}

/* switching tabs swaps the body, not the page: the browser cross-fades between pages, and the header band, wordmark,
   site line and tab bar are held in place across the switch (cross-document view transitions; where they aren't
   supported, it's an ordinary page load) */
@view-transition{navigation:auto}
.hv-tabs{view-transition-name:hv-tabs}
header .hv-mark,.hv-band .hv-mark{view-transition-name:hv-mark}
.hv-about{view-transition-name:hv-about}
::view-transition-group(*){animation-duration:.2s}
::view-transition-old(hv-tabs),::view-transition-new(hv-tabs),::view-transition-old(hv-mark),::view-transition-new(hv-mark),
::view-transition-old(hv-about),::view-transition-new(hv-about){animation:none} /* the frame doesn't blink; only what changed fades */
@media (prefers-reduced-motion:reduce){@view-transition{navigation:none}}

/* tab-shell.js: the other tabs, each kept loaded in a full-screen frame under this page's tab bar */
.hv-pane{position:fixed;inset:0;width:100%;height:100%;border:0;z-index:40;visibility:hidden;pointer-events:none}
.hv-pane.on{visibility:visible;pointer-events:auto}
html.hv-away,html.hv-away body{overflow:hidden}
html.hv-away body>:not(.hv-tabs):not(.hv-pane){visibility:hidden} /* this page waits underneath, laid out as it was */
html.hv-away body .hv-tabs{z-index:41}
html[data-framed] .hv-tabs{visibility:hidden} /* inside a frame, the shell's tab bar stands in */

/* Accounts (account.js): "Saved" beside About, the ♥ buttons, the sign-in sheet */
.hv-links{display:flex;gap:16px;justify-self:start;align-self:start}
.hv-band .hv-links{display:flex}
.b2-map .top .hv-links,.b2-list .u-top .hv-links,.b2-directory .hero .hv-links,.b2-insights .ins-top .hv-links{grid-column:1;grid-row:2}
.hv-fav{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:6px 14px 6px 11px;border:2.5px solid #10282c;border-radius:999px;
  background:#fff8e6;color:#10282c;box-shadow:2px 2px 0 #10282c;font:700 15px "Jost",sans-serif;cursor:pointer}
.hv-fav svg{width:20px;height:20px;fill:none;stroke:#e8502f;stroke-width:2.2;stroke-linejoin:round}
.hv-fav[aria-pressed="true"]{background:#e8502f;color:#fff8e6}
.hv-fav[aria-pressed="true"] svg{fill:#fff8e6;stroke:#fff8e6}
.hv-fav.sm{width:40px;height:40px;min-height:0;padding:0;justify-content:center;box-shadow:2px 2px 0 #10282c}
.hv-fav:active{transform:translate(1px,1px);box-shadow:1px 1px 0 #10282c}
.hv-fav:focus-visible{outline:3px solid #f6b92b;outline-offset:2px}
.hv-acct label{display:block;margin:14px 0 6px;font:800 12.5px/1 "Jost",sans-serif;letter-spacing:.13em;text-transform:uppercase;color:#e8502f}
.hv-acct input[type=email]{width:100%;min-height:46px;padding:10px 14px;border:2.5px solid #10282c;border-radius:14px;background:#fff8e6;font:600 17px "Jost",sans-serif;color:#10282c}
.hv-acct input[type=email]:focus-visible{outline:3px solid #f6b92b;outline-offset:2px}
.hv-acct .acct-note{padding:9px 12px;border-radius:12px;background:#fbe6bf;font-weight:600}
.hv-acct .acct-status{min-height:1.4em;margin-top:12px}
.hv-acct .ab-btn[disabled]{opacity:.6;cursor:wait}
