/* DM Sans and Space Grotesk, self-hosted (SIL Open Font License 1.1: static/fonts/OFL-DMSans.txt,
   static/fonts/OFL-SpaceGrotesk.txt). Same files, weights, subsets and unicode ranges as the
   Google Fonts css2 request this replaced (DM Sans 400/500/600/700, Space Grotesk 500/600/700).
   DM Sans Italic is the same family and license (latin and latin-ext, weights 400/500/600/700),
   also self-hosted. font-synthesis stays off so the browser does not slant the roman cut. */
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/dm-sans-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/dm-sans-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/dm-sans-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/dm-sans-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/dm-sans-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/dm-sans-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/dm-sans-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/dm-sans-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* italic latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/dm-sans-italic-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* italic latin */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/dm-sans-italic-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* italic latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/dm-sans-italic-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* italic latin */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/dm-sans-italic-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* italic latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/dm-sans-italic-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* italic latin */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/dm-sans-italic-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* italic latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/dm-sans-italic-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* italic latin */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/dm-sans-italic-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/space-grotesk-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/space-grotesk-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/space-grotesk-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/space-grotesk-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/space-grotesk-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/space-grotesk-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/space-grotesk-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/space-grotesk-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/space-grotesk-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  font-family: "DM Sans", sans-serif;
  color: #f4f1e8;
  background: #0d0d0c;
  font-synthesis: none;
  --acid: #d8ff43;
  --ink: #0d0d0c;
  --panel: #171715;
  --muted: #95958d;
  --event-size: clamp(1.375rem, 3vw, 1.75rem);
  --band-size: 0.9375rem;
}
/* Text size: Medium is the browser default (typically 16px) and must match today's live size.
   Small is 87.5% of Medium; Large is 115%. Typography uses rem so it scales; layout and tap targets stay in px. */
html[data-text="small"] { font-size: 87.5%; }
html[data-text="large"] { font-size: 115%; }
body:not(.calendar-phone) { --event-size: 1.0625rem; --band-size: 0.9375rem; }
body:not(.calendar-phone) #stage { padding-bottom: 96px; }

* { box-sizing: border-box; }
html { background: var(--ink); scroll-padding-bottom: calc(var(--tab-clear, 76px) + 28px); }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--ink); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }

.site-shell { min-height: 100vh; background: radial-gradient(circle at 50% -20%, #31341e 0, #121210 34%, #0d0d0c 62%); }
.nav {
  position: sticky; top: 0; z-index: 20; display: flex; height: 72px; align-items: center; justify-content: space-between;
  padding: 0 max(22px, calc((100vw - 1180px) / 2)); border-bottom: 1px solid #2b2b27; background: rgba(13,13,12,.88);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: "Space Grotesk", sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: .16em; text-decoration: none; }
.brand-wave { display: flex; height: 24px; align-items: center; gap: 2px; }
.brand-wave i { width: 3px; border-radius: 3px; background: var(--acid); }
.brand-wave i:nth-child(1) { height: 10px; }.brand-wave i:nth-child(2) { height: 22px; }.brand-wave i:nth-child(3) { height: 15px; }.brand-wave i:nth-child(4) { height: 7px; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.today-shortcut {
  height: 34px; padding: 0 15px; border: 1px solid #4a5226; border-radius: 99px; background: #202316;
  color: var(--acid); font-size: 0.75rem; font-weight: 700; cursor: pointer; transition: background .2s, transform .2s;
}
.today-shortcut:hover { background: #2a3018; transform: translateY(-1px); }
.city { display: flex; align-items: center; gap: 6px; color: #b8b8af; font-size: 0.8125rem; }
.nav-link { color: #b8b8af; font-size: 0.8125rem; font-weight: 600; text-decoration: none; }
.nav-link:hover, .nav-link:focus-visible { color: var(--acid); }
.about { max-width: 740px; }
.content.about { padding-top: 0; overflow-x: clip; }
.about-banner { width: 100%; max-width: 100%; margin: 0 0 28px; }
.about-banner img { display: block; width: 100%; height: auto; }
.about-kicker { margin: 0 0 14px; color: var(--acid); font-size: 0.6875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.about h1 { max-width: 18ch; font-size: clamp(2.5rem, 6vw, 4rem); }
.about-sign { margin: 28px 0 0; color: var(--acid); font-family: "Space Grotesk", sans-serif; font-size: clamp(1.375rem, 3vw, 1.75rem); font-weight: 600; letter-spacing: -.03em; }
.about-lead, .about > p { margin: 22px 0 0; color: #d8d6cc; font-size: 1.125rem; line-height: 1.6; }
.about-card { margin-top: 22px; padding: 22px 24px; border: 1px solid #292925; border-radius: 22px; background: var(--panel); }
.about-card h2 { margin: 0 0 8px; font-family: "Space Grotesk", sans-serif; font-size: 1.375rem; letter-spacing: -.03em; }
.about-card p { margin: 0; color: #c8c6bc; font-size: 1rem; line-height: 1.55; }
.about-points, .about-fine { margin: 0; padding: 0; list-style: none; }
.about-points li { color: #c8c6bc; font-size: 1rem; line-height: 1.55; }
.about-points li + li { margin-top: 8px; }
.about-fine { margin-top: 16px; }
.about-fine li { color: #8e8e85; font-size: 0.8125rem; line-height: 1.45; }
.about-fine li + li { margin-top: 8px; }
.about a:link, .about a:visited { color: var(--acid); }
.about a:hover, .about a:focus-visible { color: #f4f1e8; }
.about-gift {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; padding: 10px 14px 10px 10px;
  border: 1px solid #33332e; border-radius: 16px; background: #121210; text-decoration: none;
}
.about-gift img { width: 36px; height: 36px; object-fit: contain; }
.about-gift span { display: flex; flex-direction: column; gap: 2px; color: #f4f1e8; font-weight: 700; }
.about-gift strong { color: #8e8e85; font-size: 0.75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.about-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 22px; border-top: 1px solid #2b2b27; }
.about-foot p { margin: 0; color: #8e8e85; font-size: 0.8125rem; }

/* Help page: recorded help video. */
.help-launch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin: 22px 0 0;
}
.help-video {
  width: min(100%, 280px);
  max-height: min(70vh, 520px);
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  background: #14160c;
  object-fit: cover;
}
html[data-comfort="on"] .help-video {
  background: #f6f3ea;
  box-shadow: 0 10px 28px rgba(20, 22, 12, 0.12);
}
@media (max-width: 700px) {
  .help-launch { flex-direction: column; align-items: stretch; }
  .help-video { width: min(100%, 320px); margin: 0 auto; }
}
/* Phone playback fills the viewport, over the header and the tab bar. */
.help-video-overlay {
  position: fixed;
  z-index: 220;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  box-sizing: border-box;
  background: #000;
}
.help-video-overlay[hidden] { display: none; }
.help-video-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    env(safe-area-inset-top)
    env(safe-area-inset-right)
    env(safe-area-inset-bottom)
    env(safe-area-inset-left);
}
.help-video-overlay .help-video {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: contain;
  background: #000;
}
#help-video-close {
  position: absolute;
  z-index: 2;
  top: calc(12px + env(safe-area-inset-top));
  right: calc(12px + env(safe-area-inset-right));
  width: 64px;
  height: 64px;
  min-width: 64px;
  min-height: 64px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(20, 22, 12, 0.92);
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
#help-video-close:focus-visible { outline: 3px solid #d8ff43; outline-offset: 3px; }
html[data-comfort="on"] .help-video-overlay { background: #0d0d0c; }
html[data-comfort="on"] #help-video-close {
  background: #fff;
  color: #14160c;
  border-color: #14160c;
}
html[data-comfort="on"] #help-video-close:focus-visible { outline-color: #3d4a12; }
body.help-video-open { overflow: hidden; }
.powered { display: inline-flex; align-items: center; gap: 8px; color: #b8b8af; font-size: 0.8125rem; font-weight: 600; text-decoration: none; }
.powered:hover, .powered:focus-visible { color: var(--acid); }
.avatar { width: 36px; height: 36px; border: 1px solid #494941; border-radius: 50%; background: #262622; color: var(--acid); font-size: 0.6875rem; font-weight: 700; cursor: pointer; }

.content { width: min(100% - 40px, 1680px); margin: auto; padding: 20px 0 48px; }
.day-header { max-width: none; margin: 0; text-align: center; }
/* Header banner: scale to the header height, shrink width to keep the
   natural aspect ratio. Never cover or crop. The clip hugs the image so
   the dark plate is not a wide letterbox. */
.banner-frame {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 8px 0 22px;
  --banner-h: min(200px, 28vh);
}
.banner-clip {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  height: auto;
  overflow: hidden; /* rounds the corners; the box hugs the image */
  border: 1px solid #34342f;
  border-radius: 22px;
  background: #292925;
  box-shadow: 0 22px 60px rgba(0,0,0,.3);
  clip-path: none;
}
.header-banner {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: var(--banner-h);
  margin: 0;
  border: 0;
  object-fit: contain;
  object-position: center center;
  /* Do not scale/zoom: a transform with overflow:hidden would crop. */
  transform: none;
}
.day-controls {
  position: sticky; top: 56px; z-index: 15; margin: 0 0 18px; padding: 12px 0 8px;
  border-bottom: 1px solid #2b2b27; background: rgba(13, 13, 12, .96); scroll-margin-top: 56px;
}
.day-title-row { display: block; }
.title-cluster {
  display: grid; grid-template-columns: minmax(6rem, 1fr) minmax(0, auto) minmax(6rem, 1fr);
  align-items: center; column-gap: 8px;
}
.side { display: flex; align-items: center; min-width: 0; }
.side-left { justify-content: flex-start; }
.side-right { justify-content: flex-end; position: relative; }
.title-text { min-width: 0; text-align: center; }
.chev {
  display: grid; width: 36px; height: 36px; flex: none; place-items: center; border: 1px solid #353530; border-radius: 50%; background: #181816;
  cursor: pointer;
}
.date-line > .chev:hover, .date-line > .chev:focus-visible { border-color: var(--acid); }
h1 { margin: 0; font-family: "Space Grotesk", sans-serif; font-size: clamp(2.625rem, 7vw, 4.375rem); font-weight: 600; letter-spacing: -.055em; line-height: 1; }
.title-text h1 { overflow: hidden; font-size: 2.125rem; letter-spacing: -.04em; text-overflow: ellipsis; white-space: nowrap; }
.day-title-row p { margin: 4px 0 0; color: var(--muted); font-size: 0.875rem; }
.day-title-row p span { margin: 0 5px; color: #52524c; }
.tonight {
  height: 28px; max-width: 100%; padding: 0 10px; border: 1px solid #4a5226; border-radius: 99px; background: #202316;
  color: var(--acid); font-size: 0.75rem; font-weight: 700; white-space: nowrap; cursor: pointer;
}
.tonight:hover, .tonight:focus-visible { background: #2a3018; }
.date-line { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.rail-wrap { position: relative; flex: 1; min-width: 0; height: 64px; }
.sight {
  display: block; position: absolute; z-index: 2; left: 50%; top: 3px; width: 62px; height: 58px;
  transform: translateX(-50%); border: 1.5px solid rgba(216, 255, 67, .9); border-radius: 14px;
  box-shadow: 0 0 18px rgba(216, 255, 67, .22); pointer-events: none;
}
#rail {
  display: flex; width: 100%; height: 64px; max-width: none; margin: 0; gap: 8px; align-items: center;
  padding: 0 calc(50% - 27px); border: 0; border-radius: 0; background: transparent;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none;
}
#rail::-webkit-scrollbar { display: none; }
#rail button {
  display: flex; width: 54px; height: 52px; flex: 0 0 54px; flex-direction: column; align-items: center; justify-content: center;
  gap: 0; border: 0; border-radius: 12px; background: transparent; color: #85857d; cursor: pointer;
  scroll-snap-align: center; transform: scale(var(--s, .94)); transform-origin: center;
}
#rail span { font-size: 0.625rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
#rail strong { color: #d0d0c8; font-family: "Space Grotesk", sans-serif; font-size: 1.125rem; font-weight: 600; }
#rail button.active, #rail button.hot,
#rail button.active strong, #rail button.hot strong { background: transparent; box-shadow: none; color: var(--acid); }
.reduce-motion #rail button { transform: none; }

.toolbar {
  position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; margin: 0;
  padding: 10px max(20px, calc((100vw - 1680px) / 2));
  border-top: 1px solid #2b2b27; background: rgba(13, 13, 12, .96);
}
.toolbar-main { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sorts { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.sorts::-webkit-scrollbar { display: none; }
.sorts button, .map-button, .near-button { flex: 0 0 auto; height: 37px; padding: 0 16px; border: 1px solid #33332e; border-radius: 99px; background: #161614; color: #97978e; font-size: 0.75rem; font-weight: 600; cursor: pointer; }
.sorts button.active, .near-button.active { border-color: #f2f0e8; background: #f2f0e8; color: #11110f; }
.near-button[aria-pressed="true"] { border-color: var(--acid); color: var(--acid); background: #161614; }
.near-note { margin: -10px 0 18px; color: #8e8e85; font-size: 0.75rem; }
.map-button { display: flex; align-items: center; gap: 8px; margin-left: auto; color: var(--acid); border-color: #4a5226; }
.map-word { order: 1; }
.map-button svg { order: 2; }
.map-extra { display: none; }

.show-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.show-card { overflow: hidden; border: 1px solid #292925; border-radius: 22px; background: var(--panel); animation: rise .55s both; animation-delay: var(--delay); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.show-image { position: relative; height: 280px; overflow: hidden; background: #292925; }
.show-image.show-fill { height: 140px; }
.show-image::after { position: absolute; z-index: 1; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.58)); content: ""; pointer-events: none; }
.show-image.show-fill::after { inset: auto 0 0; height: 46%; }
.show-image img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%);
  transform: scale(var(--zoom, 1)); transform-origin: var(--pos, 50% 50%);
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.show-card:hover .show-image img { transform: scale(calc(var(--zoom, 1) * 1.035)); }
.time-row { position: absolute; z-index: 2; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px; }
.time-badge { padding: 8px 11px; border-radius: 8px; background: rgba(12,12,11,.86); color: #fff; font-family: "Space Grotesk", sans-serif; font-size: 0.75rem; font-weight: 700; backdrop-filter: blur(8px); }
.time-row .heart { position: static; width: 36px; height: 36px; }
.heart { position: absolute; z-index: 2; top: 14px; right: 14px; display: grid; width: 39px; height: 39px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(10,10,9,.5); cursor: pointer; backdrop-filter: blur(8px); }
.show-card.is-shared { outline: 2px solid var(--acid); outline-offset: -2px; }
.heart.liked { color: var(--acid); }
.poster-links { position: absolute; z-index: 2; display: flex; gap: 6px; }
.poster-links.donations { top: 14px; left: 14px; }
.poster-links.platforms { right: 14px; bottom: 16px; }
.poster-links a {
  display: grid; width: 44px; height: 44px; min-width: 44px; min-height: 44px; place-items: center;
  border: 0; border-radius: 10px; background: transparent;
}
.poster-links img { width: 24px; height: 24px; object-fit: contain; display: block; }
.show-info { padding: 22px; }
.artist-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.genre { display: block; margin-bottom: 7px; font-size: 0.625rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
h2 { margin: 0; font-family: "Space Grotesk", sans-serif; font-size: clamp(1.375rem, 3vw, 1.75rem); letter-spacing: -.035em; }
.card-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; padding-top: 23px; }
.distance { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; color: #8e8e85; font-size: 0.75rem; white-space: nowrap; text-align: right; }
.share-event {
  display: grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 1px solid #353530; border-radius: 12px;
  background: transparent; color: #f4f1e8; cursor: pointer;
}
.share-event:hover, .share-event:focus-visible { border-color: var(--acid); color: var(--acid); }
.copy-flash {
  position: fixed; z-index: 40; margin: 0; transform: translate(-50%, -100%);
  padding: 6px 10px; border-radius: 99px; background: var(--acid); color: #14160c;
  font-size: 0.75rem; font-weight: 700; line-height: 1.2; white-space: nowrap;
  pointer-events: none; opacity: 0; visibility: hidden;
}
.copy-flash.is-below { transform: translate(-50%, 0); }
.copy-flash.is-on { opacity: 1; visibility: visible; }
.share-page { width: min(100%, 440px); margin: 8px auto 0; overflow: hidden; border: 1px solid #292925; border-radius: 22px; background: var(--panel); }
.share-page .show-image { height: 280px; }
.share-page .share-body { padding: 18px 18px 22px; }
.share-page .when { margin: 0; color: var(--acid); font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.share-page h1 { margin: 8px 0 0; font-size: 2rem; letter-spacing: -.04em; }
.share-page .time { margin: 10px 0 0; font-family: "Space Grotesk", sans-serif; font-size: 1.125rem; font-weight: 600; }
.share-page .show-price { margin: 12px 0 0; font-weight: 700; }
.share-page .price-label {
  display: block; margin-bottom: 2px; color: var(--muted); font-size: 0.6875rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}
.share-page .price-note { font-weight: 700; }
.share-page .platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.share-page .platforms a {
  display: grid; width: 44px; height: 44px; min-width: 44px; min-height: 44px; place-items: center;
  border: 0; border-radius: 10px; background: transparent;
}
.share-page .platforms img { width: 24px; height: 24px; object-fit: contain; display: block; }
.share-page .act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.share-page .act a { color: #f4f1e8; font-weight: 700; text-decoration: none; }
.share-page .act a:hover, .share-page .act a:focus-visible { color: var(--acid); }
.share-page .act .platforms { margin-top: 0; }
.share-page .place { margin-top: 18px; padding-top: 16px; border-top: 1px solid #30302b; }
.share-page .place .venue { color: #e8e6de; font-size: 0.9375rem; font-weight: 700; text-decoration: none; }
.share-page .place .venue:hover, .share-page .place .venue:focus-visible { color: var(--acid); }
.share-page .place p { margin: 4px 0 0; color: #77776f; font-size: 0.8125rem; }
.share-page .share-actions { display: flex; gap: 8px; margin-top: 14px; }
.share-page .share-actions a {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px;
  border: 1px solid #33332e; border-radius: 99px; color: #f4f1e8; font-size: 0.8125rem; font-weight: 600; text-decoration: none;
}
.share-page .share-actions a:hover, .share-page .share-actions a:focus-visible { border-color: var(--acid); color: var(--acid); }
.share-page .share-back { display: inline-block; margin-top: 16px; color: var(--acid); font-size: 0.875rem; font-weight: 600; text-decoration: none; }
.name-heart { display: flex; align-items: center; gap: 8px; }
.act-names li { display: flex; align-items: center; gap: 8px; }
.band-heart { width: 36px; height: 36px; }
.distance .miles { color: #e8e6de; font-weight: 700; }
.venue-row { display: grid; grid-template-columns: 37px 1fr auto; align-items: center; gap: 11px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #30302b; color: #65655e; }
.venue-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.venue-icon { display: grid; width: 37px; height: 37px; place-items: center; border-radius: 10px; color: #111; }
a.venue-icon { color: #111; text-decoration: none; }
a.venue-icon:hover, a.venue-icon:focus-visible { color: #111; }
.venue-row strong, .venue-row span { display: block; }
.venue-row strong { margin-bottom: 3px; color: #e8e6de; font-size: 0.8125rem; }
.venue-row div span { color: #77776f; font-size: 0.6875rem; }

.map-modal { position: fixed; z-index: 55; top: 0; right: 0; left: 0; bottom: var(--tab-clear, 76px); display: flex; flex-direction: column; overflow: hidden; background: #181916; animation: fade .25s both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.map-topbar { position: relative; z-index: 3; display: flex; height: 78px; align-items: center; justify-content: space-between; padding: 0 28px; border-bottom: 1px solid #383a33; background: #11120f; }
.map-topbar div { display: flex; flex-direction: column; gap: 4px; }
.map-topbar span { color: var(--acid); font-size: 0.5625rem; font-weight: 700; letter-spacing: .18em; }
.map-topbar strong { font-family: "Space Grotesk", sans-serif; font-size: 1.125rem; }
.map-topbar button { width: 40px; height: 40px; border: 1px solid #41423b; border-radius: 50%; background: transparent; font-size: 1.625rem; line-height: 1; cursor: pointer; }
.map-stage { position: relative; flex: 1; min-height: 240px; display: flex; }
.map-canvas { flex: 1; min-height: 240px; background: #242720; }
.map-status { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 24px; color: #c8c8c0; text-align: center; }
.map-inapp { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 12px; padding: 24px; background: #242720; color: #c8c8c0; text-align: center; }
.map-inapp p { margin: 0; max-width: 28rem; }
.map-inapp button { height: 37px; padding: 0 16px; border: 0; border-radius: 99px; background: var(--acid); color: #48520e; font-size: 0.75rem; font-weight: 700; cursor: pointer; }
.map-inapp[hidden], #map-inapp-help[hidden] { display: none; }
.map-missing { max-height: 28vh; overflow: auto; padding: 12px 20px 4px; border-top: 1px solid #383a33; background: #141412; }
.map-missing h2 { margin: 0 0 8px; font-size: 0.8125rem; }
.map-missing ul { margin: 0; padding: 0; list-style: none; }
.map-missing li { margin: 6px 0; color: #c8c8c0; font-size: 0.8125rem; }
.map-missing a { color: var(--acid); font-weight: 700; }
.map-popup { max-width: 220px; color: #171715; }
.map-popup strong, .map-popup p { display: block; margin: 0 0 6px; }
.map-popup ul { margin: 0 0 8px; padding: 0; list-style: none; }
.map-popup li { font-size: 0.75rem; }
.map-popup a { color: #3d4a12; font-weight: 700; }
.popup-links { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.map-sheet { display: flex; flex-direction: column; align-items: center; padding: 12px 20px 16px; border-top: 1px solid #383a33; background: #11120f; }
.map-sheet strong { font-family: "Space Grotesk", sans-serif; }
.map-sheet > span:last-child { margin-top: 4px; color: #85857e; font-size: 0.6875rem; }

@media (max-width: 700px) {
  .nav { height: 62px; padding: 0 18px; }
  .city { display: none; }
  .content { width: 100%; padding: 34px 16px 60px; overflow: hidden; }
  .banner-frame { margin-bottom: 30px; }
  .banner-clip { border-radius: 14px; }
  .day-title-row { grid-template-columns: 35px 1fr 35px; gap: 6px; }
  .chev { width: 35px; height: 35px; }
  h1 { font-size: 2.75rem; }
  .day-title-row p { font-size: 0.75rem; }
  .date-rail { margin-top: 28px; padding: 5px; border-radius: 15px; }
  .date-rail button { height: 58px; }
  .date-rail strong { font-size: 1.125rem; }
  .toolbar { align-items: flex-end; margin-top: 36px; }
  .sorts { margin-right: 8px; }
  .sorts button, .near-button { padding: 0 13px; }
  .map-button { width: 40px; padding: 0; justify-content: center; border-radius: 50%; font-size: 0; }
  .show-list { grid-template-columns: 1fr; gap: 16px; }
  .show-image { height: 238px; }
  .show-image.show-fill { height: 140px; }
  .show-info { padding: 18px; }
  .sheet-handle { width: 35px; height: 3px; margin-bottom: 8px; border-radius: 4px; background: #55554f; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .beer-icon { animation: none !important; }
}

.band-poster { height: auto; aspect-ratio: 2 / 1; margin: 0 0 22px; border-radius: 22px; }
.band-poster::after { content: none; }

[hidden] { display: none !important; }
a.avatar { display: grid; place-items: center; color: var(--acid); text-decoration: none; }
a.venue-row { color: inherit; text-decoration: none; }
.empty { grid-column: 1 / -1; margin: 12px 0 40px; color: var(--muted); text-align: center; }
.empty-state {
  grid-column: 1 / -1; display: flex; min-height: 220px; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; margin: 0; border: 1px dashed #33332e; border-radius: 22px; color: var(--muted); text-align: center;
}
.empty-state strong { font-weight: 600; }
.empty-state button {
  min-height: 40px; padding: 0 16px; border: 1px solid #4a5226; border-radius: 99px; background: #202316;
  color: var(--acid); font-weight: 700; cursor: pointer;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.filter-chips[hidden] { display: none; }
.filter-chip {
  position: relative;
  display: inline-flex; align-items: center; gap: 3px; min-height: 26px; max-height: 28px; padding: 2px 6px 2px 7px; border: 0; box-shadow: inset 0 0 0 0.5px #33332e; border-radius: 99px;
  background: #161614; color: #f4f1e8; font-size: 0.6875rem; font-weight: 650; line-height: 1.2; cursor: pointer;
}
/* Invisible 44px tap target. Does not change the visual outline or flex layout. */
.filter-chip::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  min-width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
}
.filter-chip span { color: var(--acid); font-size: 0.8125rem; line-height: 1; font-weight: 700; }
.empty-state button:focus-visible, .filter-chip:focus-visible, .sheet :focus-visible {
  outline: 2px solid var(--acid); outline-offset: 2px;
}
.day-title-row p span { margin: 0 5px; }

.manage-body { background: #0d0d0c; color: #f4f1e8; }
.manage, .login { width: min(100% - 32px, 980px); margin: 0 auto; padding: 36px 0 80px; }
.manage h1, .login h1 { margin: 0 0 8px; font-family: "Space Grotesk", sans-serif; font-size: 2.625rem; letter-spacing: -.04em; }
.lede, .hint { color: var(--muted); font-size: 0.875rem; }
.lede.members { white-space: pre-line; }
.manage-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px 0 8px; }
.manage h2[id] { scroll-margin-top: 72px; }
.day-banner-preview {
  width: min(100%, 720px); margin: 8px 0 12px; overflow: hidden;
  border: 1px solid #33332e; border-radius: 12px; background: #F3E6C8;
}
.day-banner-preview img { display: block; width: 100%; height: auto; }
.manage-jump a, .manage button, .login button {
  height: 36px; padding: 0 14px; border: 1px solid #33332e; border-radius: 99px; background: #161614; color: #f4f1e8;
  font-size: 0.8125rem; font-weight: 600; text-decoration: none; cursor: pointer;
}
.manage section { margin-top: 36px; }
.manage h2 { margin: 0 0 12px; font-family: "Space Grotesk", sans-serif; font-size: 1.5rem; }
.manage .card-form { max-width: 980px; }
.card-form, .edit-row, .add-row, .login form {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin: 0 0 12px; padding: 14px;
  border: 1px solid #292925; border-radius: 16px; background: #171715;
}
.manage input, .manage select, .login input {
  min-width: 0; height: 38px; padding: 0 10px; border: 1px solid #33332e; border-radius: 10px; background: #10100e; color: #f4f1e8;
}
.manage textarea {
  width: 100%; min-height: 140px; padding: 10px; border: 1px solid #33332e; border-radius: 10px;
  background: #10100e; color: #f4f1e8; resize: vertical; line-height: 1.45; text-transform: none; letter-spacing: 0;
}
.save-row { display: flex; align-items: end; gap: 8px; width: 100%; }
.save-row > .field-wide { flex: 1 1 auto; width: auto; min-width: 0; }
.save-row > button { flex: none; }
.field-wide { width: 100%; }
.field-wide input, .field-wide textarea, .field-wide select,
.field-row input, .field-row select { width: 100%; text-transform: none; letter-spacing: 0; }
.field-row { display: flex; flex-wrap: nowrap; gap: 8px; align-items: end; width: 100%; }
.address-row > label:nth-child(1) { flex: 1.6 1 0; min-width: 0; }
.address-row > label:nth-child(2) { flex: 1.2 1 0; min-width: 0; }
.address-row > label:nth-child(3) { flex: 0 0 7rem; }
.address-row > label:nth-child(4) { flex: 0 0 8rem; }
.map-row > label:nth-child(1) { flex: 1.6 1 0; min-width: 0; }
.map-row > label:nth-child(2),
.map-row > label:nth-child(3) { flex: 0 0 11rem; }
.when-row > label:nth-child(1) { flex: 0 0 16rem; }
.when-row > label:nth-child(2) { flex: 1 1 0; min-width: 0; }
.card-form > .hint { width: 100%; margin: 0; }
button.save-ready:disabled { opacity: .45; color: #8e8e85; cursor: default; }
button.save-ready.is-dirty { background: var(--acid); border-color: var(--acid); color: #14160c; }
.manage label, .login label { display: flex; flex-direction: column; gap: 4px; color: #b8b8af; font-size: 0.6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.manage select[multiple] { height: auto; min-width: 220px; padding: 6px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; width: 100%; color: #b8b8af; font-size: 0.75rem; }
.check { display: flex; gap: 6px; align-items: center; text-transform: none; letter-spacing: 0; font-weight: 500; color: #f4f1e8; }
.check input { height: auto; }
button.danger { color: #ffb4a8; }
.error { margin: 12px 0; color: #ffb4a8; }
.link-list { margin: 0 0 8px; padding-left: 18px; color: #b8b8af; font-size: 0.8125rem; }
.link-list button { height: 28px; margin-left: 8px; }
.login { display: flex; min-height: 70vh; flex-direction: column; justify-content: center; }
.login .brand { margin-bottom: 18px; }

.brand-row { display: flex; align-items: center; gap: 8px; }
.beer { position: relative; display: inline-flex; }
.beer::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.beer-hit {
  display: block; padding: 0; border: 0; background: transparent; cursor: pointer;
  appearance: none; line-height: 0; overflow: visible;
}
.beer-icon {
  width: 64px; height: 64px; object-fit: contain; display: block;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.45));
  transform-origin: 50% 80%; animation: beer-shake 4.5s ease-in-out infinite;
}
.banner-beer .beer-hit,
.banner-beer .beer-icon { width: 84px; height: 84px; }
.poster-beer .beer-icon, .band-beer .beer-icon { width: 52px; height: 52px; }
.beer-tip {
  position: absolute; z-index: 5; top: calc(100% + 8px); left: 0; display: none; white-space: nowrap;
  padding: 6px 10px; border: 1px solid #33332e; border-radius: 8px; background: #171715; font-size: 0.8125rem;
}
.banner-beer:hover .beer-tip, .banner-beer:focus-within .beer-tip { display: block; }
.banner-beer.open .beer-tip { display: none; }
@keyframes beer-shake {
  0%, 72%, 100% { transform: rotate(0deg); }
  76% { transform: rotate(-8deg); }
  80% { transform: rotate(7deg); }
  84% { transform: rotate(-5deg); }
  88% { transform: rotate(3deg); }
  92% { transform: rotate(0deg); }
}
.beer-pop {
  position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; display: none; min-width: 210px;
  padding: 8px 10px 12px; border: 1px solid #4a4a43; border-radius: 14px; background: #171715; color: #f4f1e8;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.beer-pop .pop-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.beer-pop .pop-head strong { display: block; margin: 0; padding: 10px 4px 0 4px; font-size: 0.9375rem; font-weight: 800; color: inherit; }
.beer-pop a { color: inherit; font-size: 0.875rem; text-decoration: none; }
.pop-close {
  display: grid; place-items: center;
  width: 44px; height: 44px; min-width: 44px; min-height: 44px;
  margin: -2px -2px 0 0; padding: 0;
  border: 0; border-radius: 0; background: transparent; color: inherit;
  box-shadow: none; appearance: none; -webkit-appearance: none;
  font-size: 1.375rem; line-height: 1; cursor: pointer;
}
.pop-close:focus { outline: none; }
.pop-close:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.pay-row {
  display: flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 4px 10px 4px 6px;
  border: 1px solid #4a4a43; border-radius: 12px; background: #121210;
  color: inherit; font-weight: 700;
}
.pay-row img { width: 24px; height: 24px; object-fit: contain; display: block; }
.donation-icons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.donation-link {
  display: grid; width: 44px; height: 44px; place-items: center; overflow: hidden;
  border: 1px solid rgba(255,255,255,.25); border-radius: 10px; background: rgba(12,12,11,.86);
}
.donation-icon { width: 36px; height: 36px; object-fit: contain; }
.poster-link { position: absolute; inset: 0; z-index: 0; }
/* Only .show / .open display the popup. :hover and :focus-within used to
   redisplay it after closeBeers() moved the panel back under the mug. */
.beer.open > .beer-pop,
.beer-pop.show { display: flex; flex-direction: column; gap: 4px; }
.banner-beer { position: absolute; z-index: 3; right: 16px; bottom: 16px; }
@media (max-width: 700px) {
  .banner-beer {
    right: calc(16px - (84px / 2.5) / 2);
    bottom: calc(16px - ((84px / 2.5) / 3));
  }
  .banner-beer .beer-hit,
  .banner-beer .beer-icon { width: calc(84px / 2.5); height: calc(84px / 2.5); }
}
.banner-beer .beer-tip { top: auto; right: 0; bottom: calc(100% + 8px); left: auto; }
.beer-shout {
  position: fixed; z-index: 45; pointer-events: none;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.5));
}
.beer-shout svg { display: block; width: 100%; height: 100%; overflow: visible; }
.poster-beer { position: absolute; z-index: 3; top: 14px; left: 14px; }
.band-beer { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 8px; }
.band-beer ul { margin: 6px 0 0; padding-left: 18px; }
.show-info h2 a:link,
.show-info h2 a:visited,
.act-names a:link,
.act-names a:visited {
  color: #f4f1e8; text-decoration: none;
}
.show-info h2 a:hover,
.show-info h2 a:focus-visible,
.act-names a:hover,
.act-names a:focus-visible { color: var(--acid); }
.act-names { margin: 8px 0 0; padding: 0; list-style: none; }
.act-names li + li { margin-top: 6px; }
.act-names a {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9375rem; font-weight: 600; line-height: 1.25;
}
.act-names a i {
  flex: 0 0 auto; width: 3px; height: 14px; border-radius: 3px; background: var(--acid); font-style: normal;
}
.act-names.act-heading { margin-top: 0; }
.act-names.act-heading li + li { margin-top: 8px; }
.act-names.act-heading a {
  font-family: "Space Grotesk", sans-serif; font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 600; letter-spacing: -.035em;
}
.act-names.act-heading a i { height: 18px; }
.field-block { width: 100%; }
.field-label { display: block; margin-bottom: 6px; color: #b8b8af; font-size: 0.6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.bill { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.bill-add { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.bill-list { margin: 0; padding: 0; list-style: none; }
.bill-list li { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid #292925; }
.bill-list span { flex: 1; min-width: 140px; color: #f4f1e8; font-size: 0.875rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.hub { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0; }
.settings { flex-direction: column; align-items: stretch; }
.settings h2, .settings .hint, .settings .band-poster { width: 100%; }
.settings .band-poster { width: min(100%, 480px); }
.settings button { align-self: flex-start; }
main.manage:has(form.settings),
main.manage:has(.form-actions-page) { position: relative; }
main.manage:has(form.settings) > h1,
main.manage:has(.form-actions-page) > h1 { padding-right: 248px; }
.settings-bar { position: absolute; top: 36px; right: 0; z-index: 2; }
.manage {
  --form-action-min-width: 7rem;
  --form-action-height: 44px;
  --form-action-pad-x: 14px;
  --form-action-font: 0.8125rem;
}
.form-actions {
  display: flex; justify-content: flex-end; align-items: center;
  flex: 1 1 100%; width: 100%; margin: 0 0 12px;
}
.form-actions-page {
  position: absolute; top: 36px; right: 0; z-index: 6;
  width: auto; margin: 0; flex: none;
}
.form-actions-section { justify-content: flex-end; }
.form-action-pair {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  align-items: stretch; gap: 8px; width: max-content; max-width: 100%;
}
/* Cancel (a link) and Save (a button) share one box model so they stay the same size,
   including when Save is disabled and when a bottom Save sits next to another button. */
.form-cancel,
.manage button.save-ready:not(.fb-confirm) {
  box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center;
  width: auto;
  min-width: var(--form-action-min-width);
  height: var(--form-action-height);
  min-height: var(--form-action-height);
  max-height: var(--form-action-height);
  padding: 0 var(--form-action-pad-x);
  margin: 0;
  border: 1px solid #33332e; border-radius: 99px;
  background: #161614; color: #f4f1e8;
  font-family: inherit;
  font-size: var(--form-action-font); font-weight: 600; line-height: 1;
  letter-spacing: 0; text-transform: none; text-decoration: none;
  white-space: nowrap; cursor: pointer;
  appearance: none; -webkit-appearance: none;
}
.form-action-pair > .form-cancel,
.form-action-pair > button.save-ready {
  width: 100%;
}
.form-cancel:hover, .form-cancel:focus-visible { color: var(--acid); }
button.save-ready:disabled { opacity: .45; color: #8e8e85; cursor: default; }
.form-save-bottom { margin-top: 8px; flex: none; align-self: flex-start; width: auto; }
.manage button.save-ready:not(.fb-confirm) { flex: none; align-self: flex-start; }
.form-action-pair > .form-cancel,
.form-action-pair > button.save-ready { align-self: stretch; }
@media (max-width: 899px) {
  main.manage:has(.form-actions-page) > h1 { padding-right: 0; }
  .form-actions-page,
  .form-actions-section {
    position: sticky; top: 56px; z-index: 8;
    width: calc(100% + 28px); margin: -14px -14px 12px; padding: 8px 14px;
    border-bottom: 1px solid #292925; background: rgba(23, 23, 21, .96);
  }
}
@media (max-width: 700px) {
  .manage .form-cancel,
  .manage button.save-ready:not(.fb-confirm),
  .manage .card-form:not(.settings) > button.form-save-bottom,
  .manage .card-form:not(.settings) button.form-save-bottom {
    width: auto;
    min-width: var(--form-action-min-width);
    height: var(--form-action-height);
    min-height: var(--form-action-height);
    max-height: var(--form-action-height);
    padding: 0 var(--form-action-pad-x);
    font-size: var(--form-action-font);
  }
  .form-action-pair > .form-cancel,
  .form-action-pair > button.save-ready {
    width: 100%;
  }
}
.hub-link {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid #33332e;
  border-radius: 12px; background: #171715; color: #f4f1e8; font-weight: 600; text-decoration: none;
}
.grid-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.grid-table th, .grid-table td { padding: 10px 8px; border-bottom: 1px solid #292925; text-align: left; vertical-align: middle; }
.grid-table td { word-break: break-word; }
.manage .grid-table td.col-name,
.manage .grid-table td.col-street,
.manage .grid-table td.col-nowrap {
  white-space: nowrap; word-break: normal;
}
.manage .grid-table td.col-name { min-width: 20ch; }
.manage .grid-table td.col-street { min-width: 15ch; }
@media (min-width: 960px) {
  .manage .grid-table td.col-name { min-width: 30ch; }
  .manage .grid-table td.col-street { min-width: 20ch; }
}
.manage .grid-table td a:not(.icon-btn) { color: var(--acid); font-weight: 700; text-decoration: none; }
.manage .grid-table td a:not(.icon-btn):hover,
.manage .grid-table td a:not(.icon-btn):focus-visible { color: #f4f1e8; }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.icon-btn {
  display: grid; width: 34px; height: 34px; place-items: center; padding: 0; border: 1px solid #33332e;
  border-radius: 10px; background: #161614; color: #f4f1e8; text-decoration: none; cursor: pointer;
}
.confirm { position: relative; }
.popover {
  position: absolute; z-index: 4; right: 0; top: calc(100% + 6px); width: 190px; padding: 12px;
  border: 1px solid #33332e; border-radius: 12px; background: #171715;
}
.popover p { margin: 0 0 8px; }
.popover form { display: inline; }
.crop-stage {
  position: relative; width: min(100%, 560px); aspect-ratio: 2 / 1; overflow: hidden; flex: 1 1 100%;
  border-radius: 16px; background: #292925; touch-action: none; cursor: grab;
}
.crop-stage img { width: 100%; height: 100%; object-fit: cover; }
.crop-stage.banner-crop { aspect-ratio: 2.49 / 1; width: min(100%, 720px); }
.crop-stage.share-crop { aspect-ratio: 1200 / 630; width: min(100%, 720px); }
.card-banner-preview {
  width: min(100%, 480px); height: 140px; overflow: hidden; border-radius: 16px; background: #292925;
}
.card-banner-preview img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.thumb { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; background: #10100e; }
.streams { margin: 0; padding: 0; list-style: none; }
.stream { display: flex; gap: 12px; align-items: center; margin: 8px 0; }
.stream img { width: 120px; height: 68px; object-fit: cover; border-radius: 8px; }
.manage input[type="file"] { height: auto; padding: 8px 0; border: 0; background: transparent; }
.manage input[type="range"] { width: min(100%, 420px); padding: 0; }

.site-bar { z-index: 50; display: flex; height: 56px; align-items: center; gap: 8px; padding: 0 16px; }
.site-bar .brand { position: absolute; left: 50%; z-index: 1; letter-spacing: .12em; font-size: 0.9375rem; transform: translateX(-50%); }
.bar-end { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.icon-hit {
  display: grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 0; border-radius: 12px;
  background: transparent; color: #f4f1e8; font-size: 1.75rem; line-height: 1; cursor: pointer;
}
.icon-hit:hover, .icon-hit:focus-visible, .icon-hit[aria-expanded="true"] { color: var(--acid); }
.icon-hit:focus-visible, .drawer a:focus-visible, .drawer button:focus-visible, .map-jump:focus-visible, .web-jump:focus-visible, .venue-name:focus-visible {
  outline: 2px solid var(--acid); outline-offset: 2px;
}
.drawer {
  position: fixed; z-index: 40; top: 56px; bottom: 0; left: 0; width: min(320px, 88vw); padding: 12px 10px;
  border-right: 1px solid #2b2b27; background: #000; transform: translateX(-105%); transition: transform .25s ease;
}
.drawer.is-open { transform: none; }
.drawer a, .drawer button {
  display: flex; align-items: center; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 12px;
  background: transparent; color: #f4f1e8; font-size: 1rem; font-weight: 600; text-align: left; text-decoration: none; cursor: pointer;
}
@media (max-width: 959px) {
  .drawer { bottom: auto; width: max-content; max-width: min(320px, 88vw); border-right: 0; background: transparent; }
  .drawer a, .drawer button {
    width: max-content; min-width: 100%; margin: 4px 0; background: #000; white-space: nowrap;
  }
}
.drawer a:hover, .drawer a:focus-visible, .drawer button:hover, .drawer button:focus-visible, .drawer a[aria-current="page"] { color: var(--acid); }
.scrim { position: fixed; z-index: 35; inset: 0; background: rgba(0, 0, 0, .5); }
.sheet {
  position: fixed; z-index: 60; top: 0; right: 0; bottom: 0; width: min(400px, 100%); padding: 20px 16px 32px; overflow: auto;
  border-left: 1px solid #2b2b27; background: #121210;
}
.sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet h2 { margin: 0; font-family: "Space Grotesk", sans-serif; font-size: 1.75rem; }
.sheet .field { display: flex; flex-direction: column; gap: 8px; margin: 18px 0; color: #b8b8af; font-size: 0.75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sheet .field .hint, .sheet > .hint { color: #8e8e85; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0; line-height: 1.45; text-transform: none; }
.locate-permit {
  height: 44px; border: 1px solid #4a5226; border-radius: 12px; background: #202316;
  color: var(--acid); font-size: 0.875rem; font-weight: 700; letter-spacing: 0; text-transform: none; cursor: pointer;
}
.locate-permit:disabled { opacity: .55; cursor: default; }
.sheet input[type="number"], .sheet input[type="search"], .sheet select, .date-jump input, .range input, .grid-table .filters input, .grid-table .filters select, .phone-find > input[type="search"] {
  width: 100%; height: 44px; padding: 0 10px; border: 1px solid #33332e; border-radius: 10px; background: #10100e; color: #f4f1e8;
}
.choice-list { display: flex; flex-direction: column; gap: 6px; max-height: 200px; overflow: auto; text-transform: none; letter-spacing: 0; }
.choice-list label, .sheet .row-check { display: flex; flex-direction: row; align-items: center; gap: 8px; color: #f4f1e8; font-size: 0.875rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.choice-row, .picked { display: flex; flex-wrap: wrap; gap: 8px; }
.picked:empty { display: none; }
.choice-row .choice, .picked button {
  min-height: 34px; padding: 0 12px; border: 1px solid #33332e; border-radius: 99px; background: #161614;
  color: #f4f1e8; font-size: 0.8125rem; font-weight: 650; letter-spacing: 0; text-transform: none; cursor: pointer;
}
.choice-row .choice[aria-pressed="true"] { border-color: var(--acid); background: #202316; color: var(--acid); }
.picked button { color: var(--acid); }
.picked button span { margin-left: 6px; }
.suggest { display: flex; flex-direction: column; gap: 2px; }
.suggest:empty { display: none; }
.suggest button {
  height: 36px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: #f4f1e8;
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0; text-transform: none; text-align: left; cursor: pointer;
}
.suggest button:hover, .suggest button:focus-visible, .suggest button.is-active { background: #202316; color: var(--acid); }
.combo { position: relative; width: 100%; }
.combo-native {
  position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0);
}
.combo-search[aria-invalid="true"] { border-color: #ffb4a8; }
.combo .suggest, .filters .suggest, .phone-find .suggest {
  position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 4px);
  max-height: 280px; overflow: auto; padding: 4px; border: 1px solid #33332e; border-radius: 12px;
  background: #161614; box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}
.combo-empty {
  margin: 0; padding: 8px 10px; color: #8e8e85; font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0; text-transform: none;
}
.bill-add > label { flex: 1 1 240px; min-width: 0; }
.sheet a { color: var(--acid); }
.lock-scroll { overflow: hidden; }
.date-jump { display: flex; align-items: center; justify-content: flex-end; gap: 0; margin: 0; letter-spacing: 0; text-transform: none; }
.date-jump label, .date-jump input {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); border: 0; white-space: nowrap;
}
.date-jump .cal-field { gap: 0; }
.date-jump .cal-open { width: 36px; height: 36px; flex-basis: 36px; }
.change-note { max-width: 640px; margin: 28px auto 0; color: #8e8e85; font-size: 0.8125rem; line-height: 1.45; text-align: center; }
.change-note a { color: #b8b8af; }
.venue-name { display: block; margin-bottom: 3px; color: #e8e6de; font-size: 0.8125rem; font-weight: 700; text-decoration: none; }
.venue-name:hover, .venue-name:focus-visible { color: var(--acid); }
.map-jump {
  display: grid; width: 44px; height: 44px; flex: none; place-items: center; border: 1px solid #353530; border-radius: 12px;
  color: #f4f1e8; text-decoration: none;
}
.web-jump {
  display: grid; width: 44px; height: 44px; min-width: 44px; min-height: 44px; flex: none; place-items: center;
  border: 0; border-radius: 10px; background: transparent; color: #f4f1e8; text-decoration: none;
}
.map-jump:hover, .map-jump:focus-visible { border-color: var(--acid); color: var(--acid); }
.web-jump:hover, .web-jump:focus-visible { color: var(--acid); }
.map-jump img, .web-jump img { width: 22px; height: 22px; object-fit: contain; display: block; }
.map-fine { margin: 8px 0 0; color: #5c5c56; font-size: 0.6875rem; line-height: 1.35; }
.heart path { fill: none; }
.heart.liked path { fill: currentColor; }
.heart-inline { position: static; width: 44px; height: 44px; border: 1px solid #33332e; background: #161614; }
.list-search { display: none; }
.list-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.list-count { color: var(--muted); font-size: 0.8125rem; }
.table-wrap { overflow-x: auto; }
.grid-table th[data-kind="text"], .grid-table th[data-kind="number"], .grid-table th[data-kind="multi"], .grid-table th[data-kind="date"], .grid-table th[data-kind="band"], .browse .grid-table thead tr:first-child th { cursor: pointer; }
.grid-table th.sorted { color: var(--acid); }
.grid-table .filters th { position: relative; cursor: default; font-weight: 500; }
.grid-table .filters input, .grid-table .filters select { min-width: 0; height: 36px; }
.token-pick { margin-top: 6px; }
.token-pick summary { color: #b8b8af; font-size: 0.75rem; font-weight: 600; letter-spacing: 0; text-transform: none; cursor: pointer; }
.token-pick .check { margin-top: 4px; }
.mini { width: 36px; height: 36px; object-fit: cover; border-radius: 8px; vertical-align: middle; background: #10100e; }
.mini-name { display: inline-block; margin-right: 6px; color: #c8c6bc; font-size: 0.75rem; }
.pick-grid { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.pick-grid button {
  display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 10px; border: 1px solid #33332e; border-radius: 12px;
  background: #161614; color: #f4f1e8; cursor: pointer;
}
.pick-grid button.active, .pick-grid button:hover, .pick-grid button:focus-visible { border-color: var(--acid); color: var(--acid); }
.pick-grid img { width: 28px; height: 28px; object-fit: contain; }
select.pick-fallback.is-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.media-picks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.media-picks a { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 84px; color: #f4f1e8; font-size: 0.6875rem; text-decoration: none; }
.media-picks img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; background: #10100e; }
.mass-delete { margin-top: 16px; }
.phone-find { position: relative; display: none; }
.manage:has(.table-wrap) { width: calc(100% - 32px); }
.bar-end form { display: flex; margin: 0; }
@media (max-width: 700px) {
  .manage .grid-table thead { display: block; }
  .manage .grid-table thead tr:first-child { display: none; }
  .manage .grid-table thead tr.filters {
    display: flex; flex-direction: column; gap: 8px; margin: 0 0 12px;
  }
  .manage .grid-table thead tr.filters th { display: block; padding: 0; border: 0; }
  .manage .grid-table thead tr.filters th:not(:has(input)):not(:has(select)) { display: none; }
  .manage .grid-table thead tr.filters th:has(> input[type="checkbox"]) {
    display: flex; align-items: center; gap: 8px; min-height: 44px;
  }
  .manage .grid-table thead tr.filters th:has(> input[type="checkbox"])::before {
    content: "Select visible"; color: #8e8e85; font-size: 0.6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  }
  .manage .phone-find { display: flex; flex-direction: column; gap: 8px; margin: 0 0 12px; }
  .manage .phone-find .range { margin: 0; }
  .manage .grid-table thead tr.filters:not(:has(> th > input[type="checkbox"])) { display: none; }
  .manage .grid-table thead tr.filters th:not(:has(> input[type="checkbox"])) { display: none; }
  .manage .table-wrap { overflow: visible; }
  .manage .grid-table,
  .manage .grid-table tbody { display: block; width: auto; min-width: 0; }
  .manage .grid-table tbody tr {
    display: flex; flex-wrap: wrap; margin: 0 0 12px; padding: 12px 14px;
    border: 1px solid #292925; border-radius: 16px; background: #171715;
  }
  .manage .grid-table td {
    display: block; flex: 1 0 100%; width: auto; min-width: 0; max-width: none; padding: 4px 0; border: 0;
    white-space: normal; word-break: normal; overflow-wrap: break-word;
  }
  .manage .grid-table td.col-name,
  .manage .grid-table td.col-street,
  .manage .grid-table td.col-nowrap { white-space: normal; min-width: 0; max-width: none; }
  .manage .grid-table td[data-label="Web site"],
  .manage .grid-table td[data-label="Map URL"] { overflow-wrap: anywhere; }
  .manage .grid-table td[data-label]:not([data-label=""])::before {
    content: attr(data-label); display: block; margin-bottom: 2px; color: #8e8e85;
    font-size: 0.6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  }
  .manage .grid-table td[data-label="Name"]::before,
  .manage .grid-table td[data-label="Title"]::before { display: none; }
  .manage .grid-table td[data-label="Name"],
  .manage .grid-table td[data-label="Title"] { order: -2; font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
  .manage .grid-table td[data-label="Select"] { order: -1; }
  .manage .grid-table td:has(> input[type="checkbox"]) {
    display: flex; align-items: center; gap: 8px; min-height: 44px;
  }
  .manage .grid-table td > input[type="checkbox"] { width: 22px; height: 22px; }
  .manage .grid-table .row-actions { justify-content: flex-start; }
  .manage .grid-table .icon-btn { width: 44px; height: 44px; }
  .manage .card-form:not(.settings),
  .login form { flex-direction: column; align-items: stretch; }
  .manage .save-row { flex-direction: column; align-items: stretch; }
  .manage .save-row > .field-wide,
  .manage .save-row > button { width: 100%; }
  .manage .field-row { flex-direction: column; align-items: stretch; }
  .manage .field-row > label { width: 100%; flex: 1 1 auto; }
  .manage .card-form:not(.settings) > label,
  .manage .card-form:not(.settings) > .field-block,
  .manage .card-form:not(.settings) > .field-row,
  .manage .card-form:not(.settings) > button,
  .manage .bill-add,
  .manage .bill-add > label,
  .manage .bill-add > select,
  .manage .bill-add > button,
  .login form > label,
  .login form > button { width: 100%; }
  .manage .card-form:not(.settings) button,
  .manage .mass-delete,
  .manage .popover button,
  .manage .bill-list button,
  .login button { min-height: 44px; height: auto; }
  .manage button.save-ready:not(.fb-confirm),
  .manage .form-cancel,
  .manage .card-form:not(.settings) > button.form-save-bottom {
    width: auto; flex: none; align-self: flex-start;
    min-width: var(--form-action-min-width);
    height: var(--form-action-height);
    min-height: var(--form-action-height);
    max-height: var(--form-action-height);
  }
  .form-action-pair > .form-cancel,
  .form-action-pair > button.save-ready { width: 100%; align-self: stretch; }
  .manage select[multiple] { min-width: 0; max-width: 100%; }
}
.browse .grid-table a:not(.map-jump):not(.web-jump) { color: var(--acid); font-weight: 700; text-decoration: none; }
.browse .grid-table a:not(.map-jump):not(.web-jump):hover, .browse .grid-table a:not(.map-jump):not(.web-jump):focus-visible { color: #f4f1e8; }
.range { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 16px; }
.range label { display: flex; flex-direction: column; gap: 4px; color: #b8b8af; font-size: 0.6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.range input { width: auto; }
.band-public, .place-page { max-width: 760px; }
.band-title { display: flex; align-items: center; gap: 12px; }
.band-title h1, .place-page h1, .band-who h1 { margin: 0; }
.band-public h2, .place-page h2 { margin: 28px 0 12px; font-family: "Space Grotesk", sans-serif; font-size: 1.5rem; }
.band-public a, .place-page a { color: var(--acid); }
.place-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0 0; color: #c8c6bc; }
.place-title, .band-who, .band-who .band-id { min-width: 0; }
.place-page .place-name, .band-title h1, .band-who h1 {
  display: block; max-width: 100%; min-width: 0; overflow: visible; font-size: clamp(1.75rem, 6vw, 3rem); line-height: 1.15;
  word-break: normal; overflow-wrap: anywhere;
}
.name-narrow { display: none; }
.name-wide, .name-narrow { min-width: 0; }
.name-keep { white-space: normal; }
.place-town { white-space: nowrap; }
.browse .grid-table [data-col="name"] {
  width: 30ch; min-width: 30ch; max-width: 30ch; white-space: normal; word-break: normal; overflow-wrap: break-word;
}
body[data-page="venues"] .grid-table [data-col="town"] { white-space: nowrap; word-break: normal; overflow-wrap: normal; }
.install-pop {
  position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 24px 16px;
  background: rgba(0, 0, 0, .5);
}
.install-card {
  position: relative; width: min(420px, 100%); padding: 22px 52px 22px 20px;
  border: 1px solid #2b2b27; border-radius: 16px; background: #000; color: #f4f1e8;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
}
.install-card p { margin: 0; font-size: 1rem; font-weight: 500; line-height: 1.45; }
.install-card .icon-hit { position: absolute; top: 8px; right: 8px; }
.banner-preview { display: block; width: min(100%, 420px); height: auto; margin: 8px 0 12px; border-radius: 12px; }
.favicon-preview { width: 32px; height: 32px; object-fit: contain; }
.icon-previews { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin: 8px 0 12px; }
.icon-preview { margin: 0; }
.icon-preview img { display: block; width: 48px; height: 48px; object-fit: contain; background: #10100e; border-radius: 8px; }
.icon-preview.native img { width: auto; height: auto; max-width: 48px; max-height: 48px; }
.icon-preview figcaption { color: #8e8e85; font-size: 0.6875rem; text-align: center; }
@media (max-width: 700px) {
  .name-wide { display: none; }
  .name-narrow { display: inline; }
  .list-search {
    display: block; width: 100%; height: 44px; margin: 0 0 12px; padding: 0 12px;
    border: 1px solid #33332e; border-radius: 12px; background: #161614; color: #f4f1e8;
  }
  .browse .grid-table thead { display: none; }
  .browse .grid-table,
  .browse .grid-table tbody { display: block; width: auto; min-width: 0; }
  .browse .grid-table tr {
    display: flex; flex-wrap: wrap; margin: 0 0 12px; padding: 12px 14px;
    border: 1px solid #292925; border-radius: 16px; background: #171715;
  }
  .browse .grid-table td {
    display: block; flex: 1 0 100%; width: auto; min-width: 0; max-width: none;
    padding: 4px 0; border: 0; word-break: normal; overflow-wrap: break-word;
  }
  .browse .grid-table td[data-label]:not(.cell-icon)::before {
    content: attr(data-label); display: block; margin-bottom: 2px; color: #8e8e85;
    font-size: 0.6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  }
  .browse .grid-table td[data-label="Name"]::before,
  .browse .grid-table td[data-label="Artist"]::before { display: none; }
  .browse .grid-table td[data-label="Name"],
  .browse .grid-table td[data-label="Artist"] { order: -1; font-size: 1.25rem; line-height: 1.25; }
  .browse .grid-table td.show-when { order: -2; font-weight: 800; }
  .browse .grid-table td.show-when[data-label]::before { display: none; }
  .browse .grid-table td.cell-icon { order: 2; flex: 0 0 auto; width: auto; padding-right: 8px; }
  .browse .grid-table td.cell-icon::before { content: none; }
  .browse .grid-table [data-col="poster"] { display: none; }
  .browse .grid-table [data-col="name"],
  .browse .grid-table [data-col="town"] { width: auto; min-width: 0; max-width: none; white-space: normal; }
  .show-calendar li { flex-direction: column; align-items: flex-start; gap: 4px; }
}

.cal-field { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; }
.cal-field input { min-width: 0; }
.cal-field input::-webkit-calendar-picker-indicator { display: none; opacity: 0; width: 0; pointer-events: none; }
.range .cal-field { position: relative; }
.range .cal-native {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); border: 0; white-space: nowrap;
}
.cal-read { color: #f4f1e8; font-size: 0.875rem; font-weight: 700; text-transform: none; }
.filters .cal-field { display: flex; width: 100%; margin-bottom: 6px; }
.filters .cal-field:last-child { margin-bottom: 0; }
.cal-open, .cal-nav {
  display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; padding: 0;
  border: 1px solid #33332e; border-radius: 10px; background: #161614; color: #f4f1e8; cursor: pointer;
}
.filters .cal-open { width: 36px; height: 36px; flex-basis: 36px; }
.cal-open:hover, .cal-open:focus-visible, .cal-open[aria-expanded="true"], .cal-nav:hover, .cal-nav:focus-visible {
  border-color: var(--acid); color: var(--acid);
}
.cal-pop {
  position: fixed; z-index: 80; width: 280px; padding: 12px; border: 1px solid #33332e; border-radius: 16px;
  background: #171715; box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
}
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.cal-head strong { font-family: "Space Grotesk", sans-serif; font-size: 1rem; font-weight: 600; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-dow { margin-bottom: 4px; }
.cal-dow span { color: #8e8e85; font-size: 0.6875rem; font-weight: 700; text-align: center; }
.cal-grid button {
  height: 36px; border: 0; border-radius: 8px; background: transparent; color: #f4f1e8; cursor: pointer;
}
.cal-grid button.out { color: #5c5c56; }
.cal-grid button.today { box-shadow: inset 0 0 0 1px #5c5c56; }
.cal-grid button.picked { background: var(--acid); color: #14160c; font-weight: 700; }
.cal-grid button:hover, .cal-grid button:focus-visible { background: #2a2c22; color: var(--acid); }
.cal-grid button.picked:hover, .cal-grid button.picked:focus-visible { background: var(--acid); color: #14160c; }
.show-calendar { margin: 0; padding: 0; list-style: none; }
.show-calendar li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 0; border-bottom: 1px solid #292925; }
.show-calendar .when { color: #f4f1e8; font-weight: 700; }
.show-calendar .where { color: #c8c6bc; }
.show-calendar .miles { color: #e8e6de; font-size: 0.75rem; font-weight: 700; }
.platform-row { display: flex; flex-wrap: wrap; gap: 8px; }
.platform-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid #33332e; border-radius: 12px;
  color: #f4f1e8; text-decoration: none;
}
.platform-link img { width: 22px; height: 22px; object-fit: contain; }
.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

.site-splash {
  position: fixed; z-index: 90; inset: 0; display: grid; place-items: center; padding: 28px;
  background: #0d0d0c; transition: opacity .4s ease;
}
.site-splash img {
  display: block; width: min(86vw, 560px); height: auto; max-height: 48vh;
  object-fit: contain; object-position: center;
}
.site-splash.is-out { opacity: 0; }
body.splash-on { overflow: hidden; }

@media (max-width: 380px) {
  .site-bar .brand-wave { display: none; }
}
.bar-start { display: flex; align-items: center; gap: 4px; min-width: 0; }
.bar-links { display: none; align-items: center; gap: 2px; min-width: 0; overflow: auto; scrollbar-width: none; }
.bar-links::-webkit-scrollbar { display: none; }
.bar-links a {
  display: inline-flex; align-items: center; height: 36px; padding: 0 10px; border-radius: 10px;
  color: #b8b8af; font-size: 0.875rem; font-weight: 650; text-decoration: none; white-space: nowrap;
}
.bar-links a:hover, .bar-links a:focus-visible, .bar-links a[aria-current="page"] { color: var(--acid); }
@media (min-width: 1100px) {
  .bar-links { display: flex; }
}
body.calendar-phone .bar-links { display: none; }
@media (max-width: 700px), (orientation: landscape) and (max-height: 500px) {
  #site-bar { display: flex; }
  #site-bar .brand, #site-bar .bar-links { display: none; }
  #site-bar .bar-mark {
    display: flex; align-items: center; justify-content: center; flex: 1 1 auto; min-width: 0; height: 48px; margin: 0 auto;
    background: transparent; border: 0; box-shadow: none;
  }
  #site-bar .bar-mark img {
    display: block; height: auto; width: auto; max-height: 48px; max-width: 100%;
    object-fit: contain; object-position: center; background: transparent; border: 0; box-shadow: none;
  }
}
@media (min-width: 960px) {
  .site-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; }
  .bar-start { grid-column: 1; justify-self: start; }
  .site-bar .brand { position: static; grid-column: 2; justify-self: center; transform: none; }
  .bar-end { grid-column: 3; justify-self: end; margin-left: 0; }
}

.show-card h2 { font-size: var(--event-size); }
.show-card .act-names a { font-size: var(--band-size); }
.show-card .act-names.act-heading a { font-size: var(--event-size); }
.text-size { display: flex; gap: 6px; }
.text-size button {
  flex: 1; height: 36px; border: 1px solid #33332e; border-radius: 10px; background: #161614;
  color: #f4f1e8; font-size: 0.875rem; font-weight: 600; letter-spacing: 0; text-transform: none; cursor: pointer;
}
.text-size button[aria-pressed="true"] { border-color: #f2f0e8; background: #f2f0e8; color: #11110f; }

.bar-mark { display: none; }
/* Buy Us a Beer lives in the site bar, left of Comfort, not on the banner lettering. */
#site-beer { display: none; }
.bar-beer { display: flex; align-items: center; flex: none; }
.bar-beer .banner-beer { position: static; right: auto; bottom: auto; }
.bar-beer .banner-beer .beer-hit,
.bar-beer .banner-beer .beer-icon { width: 36px; height: 36px; }
.bar-beer .beer-icon { filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .3)); }
.bar-beer .beer-tip { top: auto; right: 0; bottom: calc(100% + 8px); left: auto; }


body.calendar-phone {
  --event-size: 1rem;
  --band-size: 0.9375rem;
}

body.calendar-phone .site-bar { display: flex; }
body.calendar-phone .site-bar .brand,
body.calendar-phone .banner-frame,
body.calendar-phone #today { display: none; }
body.calendar-phone .bar-mark {
  display: flex; align-items: center; justify-content: center; flex: 1 1 auto; min-width: 0; height: 48px; margin: 0 auto;
  background: transparent; border: 0; box-shadow: none;
}
body.calendar-phone .bar-mark img {
  display: block; height: auto; width: auto; max-height: 48px; max-width: 100%;
  object-fit: contain; object-position: center; background: transparent; border: 0; box-shadow: none;
}
body.calendar-phone .bar-beer { display: flex; align-items: center; flex: none; }
body.calendar-phone .bar-beer .banner-beer { position: static; right: auto; bottom: auto; }
body.calendar-phone .bar-beer .beer-hit,
body.calendar-phone .bar-beer .beer-icon { width: 32px; height: 32px; }

body.calendar-phone .content {
  width: 100%; max-width: none; margin: 0; overflow: visible;
  padding: 0 12px calc(96px + env(safe-area-inset-bottom));
}
body.calendar-phone #stage { touch-action: manipulation; }
body.calendar-phone .day-header {
  position: sticky; top: 56px; z-index: 15; max-width: none; margin: 0 -12px; padding: 8px 10px 6px;
  border-bottom: 1px solid #2b2b27; background: rgba(13, 13, 12, .96);
}
body.calendar-phone .day-controls { position: static; margin: 0; padding: 0; border: 0; background: transparent; }
body.calendar-phone .day-title-row { display: block; gap: 0; }
body.calendar-phone .title-cluster {
  display: grid; grid-template-columns: minmax(4.5rem, 1fr) minmax(0, auto) minmax(4.5rem, 1fr);
  align-items: center; column-gap: 4px;
}
body.calendar-phone .side { display: flex; align-items: center; min-width: 0; }
body.calendar-phone .side-left { justify-content: flex-start; }
body.calendar-phone .side-right { justify-content: flex-end; }
body.calendar-phone .title-text { min-width: 0; text-align: center; }
body.calendar-phone .title-text h1 {
  overflow: hidden; font-size: 1.375rem; letter-spacing: -.04em; text-overflow: ellipsis; white-space: nowrap;
}
body.calendar-phone .title-text p,
body.calendar-phone .day-title-row p { margin: 3px 0 0; font-size: 0.75rem; }
body.calendar-phone .tonight {
  height: 24px; max-width: 100%; padding: 0 7px; border: 1px solid #4a5226; border-radius: 99px; background: #202316;
  color: var(--acid); font-size: 0.625rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; cursor: pointer;
}
body.calendar-phone .tonight:hover { background: #2a3018; transform: none; }
body.calendar-phone .date-line {
  display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 6px;
}
body.calendar-phone .date-line > .chev { flex: none; width: 32px; height: 32px; }
body.calendar-phone .date-line > .chev:hover { transform: none; border-color: var(--acid); }
body.calendar-phone .date-line .rail-wrap {
  position: relative; flex: 1 1 auto; min-width: 0; height: 56px;
}
body.calendar-phone .sight {
  display: block; position: absolute; z-index: 2; left: 50%; top: 2px; width: 54px; height: 52px;
  transform: translateX(-50%); border: 1.5px solid rgba(216, 255, 67, .9); border-radius: 12px;
  box-shadow: 0 0 16px rgba(216, 255, 67, .22); pointer-events: none;
}
body.calendar-phone #rail {
  display: flex; width: 100%; height: 56px; flex: none; max-width: none; min-width: 0; margin: 0; gap: 6px;
  align-items: center; justify-content: flex-start;
  padding: 0 calc(50% - 24px); border: 0; border-radius: 0; background: transparent;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: 0;
  scrollbar-width: none; touch-action: pan-x; overscroll-behavior-x: contain;
}
body.calendar-phone #rail::-webkit-scrollbar { display: none; }
body.calendar-phone #rail button {
  flex: 0 0 48px; width: 48px; max-width: none; height: 46px; gap: 0; border-radius: 10px;
  background: transparent; color: #85857d; scroll-snap-align: center;
  transform: scale(var(--s, .94)); transform-origin: center;
}
body.calendar-phone.reduce-motion #rail button { transform: none; }
body.calendar-phone #rail button.active,
body.calendar-phone #rail button.hot,
body.calendar-phone #rail button.active strong,
body.calendar-phone #rail button.hot strong {
  background: transparent; box-shadow: none; color: var(--acid);
}
body.calendar-phone #rail strong { font-size: 0.9375rem; }
body.calendar-phone #rail span { letter-spacing: .08em; }
body.calendar-phone .date-jump { justify-content: flex-end; gap: 0; margin: 0; letter-spacing: 0; text-transform: none; }
body.calendar-phone .date-jump label,
body.calendar-phone .date-jump input {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); border: 0; white-space: nowrap;
}
body.calendar-phone .date-jump .cal-field { gap: 0; }
body.calendar-phone .date-jump .cal-open { width: 32px; height: 32px; flex-basis: 32px; }

body.calendar-phone .toolbar {
  position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; align-items: center; gap: 6px; margin: 0;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid #2b2b27; background: rgba(13, 13, 12, .96);
}
body.calendar-phone .toolbar-main { flex: 1 1 auto; min-width: 0; gap: 4px; }
body.calendar-phone .sorts { flex: 1 1 auto; gap: 4px; margin-right: 0; }
body.calendar-phone .sorts button,
body.calendar-phone .near-button { flex: 1 1 0; min-width: 0; height: 36px; padding: 0 4px; }
body.calendar-phone .sorts [data-sort="genre"] { display: none; }
body.calendar-phone .map-button {
  width: auto; height: 36px; margin-left: 0; padding: 0 10px; border-radius: 99px; font-size: 0.75rem; gap: 5px;
}
body.calendar-phone .map-extra { display: none; }
body.calendar-phone .map-word { order: 1; }
body.calendar-phone .map-button svg { order: 2; }
body.calendar-phone .near-note { margin: 8px 0; }
body.calendar-phone .show-list { grid-template-columns: 1fr; }

.phone-card { padding: 14px; border-radius: 16px; }
.phone-card .time-row { position: static; left: auto; bottom: auto; }
.phone-card .time-spacer { flex: 1; }
.phone-card .heart,
.phone-card .heart-inline { position: static; width: 32px; height: 32px; }
.phone-card .share-event,
.phone-card .map-jump { width: 32px; height: 32px; border-radius: 10px; }
.phone-card .web-jump { width: 44px; height: 44px; border-radius: 10px; }
.phone-card .event-title {
  margin: 8px 0 0; font-size: var(--event-size); letter-spacing: -.02em; line-height: 1.2;
}
.phone-card .band-block {
  display: flex; flex-direction: column; gap: 6px; margin-top: 8px; padding-top: 8px; border-top: 1px solid #30302b;
}
.phone-card .act { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.phone-card .act a {
  color: #f4f1e8; font-family: "Space Grotesk", sans-serif; font-size: var(--band-size); font-weight: 600;
  letter-spacing: -.03em; line-height: 1.2; text-decoration: none;
}
body:not(.calendar-phone) .phone-card .act a.lead { font-size: var(--event-size); }
.phone-card .act a:hover,
.phone-card .act a:focus-visible { color: var(--acid); }
.phone-card .poster-links { position: static; display: inline-flex; }
.phone-card .poster-links a { width: 44px; height: 44px; border: 0; background: transparent; }
.phone-card .poster-beer { position: static; margin: 0; flex: none; }
.phone-card .poster-beer .beer-hit,
.phone-card .poster-beer .beer-icon { width: 32px; height: 32px; }
.phone-card .phone-venue {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 4px; align-items: start;
  margin-top: 12px; padding-top: 10px; border-top: 1px solid #30302b;
}
.phone-card .phone-venue .venue-name { grid-column: 1; grid-row: 1; margin: 0; }
.phone-card .phone-venue .miles {
  grid-column: 2; grid-row: 1; color: #e8e6de; font-size: 0.75rem; font-weight: 700; text-align: right; white-space: nowrap;
}
.phone-card .phone-address { grid-column: 1; grid-row: 2; min-width: 0; }
.phone-card .phone-town,
.phone-card .phone-street,
.phone-card .phone-state { display: block; font-size: 0.75rem; }
.phone-card .phone-town { color: #c8c6bc; }
.phone-card .phone-street,
.phone-card .phone-state { color: #77776f; }
.phone-card .phone-venue .venue-actions {
  grid-column: 2; grid-row: 2; align-self: start; justify-content: flex-end; gap: 8px;
}

.list-search.is-open {
  display: block; width: 100%; height: 44px; margin: 0 0 12px; padding: 0 12px;
  border: 1px solid #33332e; border-radius: 12px; background: #161614; color: #f4f1e8;
}
.card-list { display: flex; flex-direction: column; gap: 12px; }
.card-list.venue-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); align-items: start; }
.venue-tile, .fav-card {
  margin: 0; padding: 14px; border: 1px solid #292925; border-radius: 16px; background: #171715; text-align: left;
}
.band-tile {
  display: flex; align-items: center; gap: 10px; min-height: 64px; margin: 0; padding: 10px 12px;
  border: 1px solid #292925; border-radius: 16px; background: #171715; text-align: left;
}
.band-tile .thumb-frame {
  display: block; width: 72px; height: 36px; flex: none; overflow: hidden; border-radius: 8px; background: #10100e;
}
.band-tile .thumb-frame img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%);
  transform: scale(var(--zoom, 1)); transform-origin: var(--pos, 50% 50%);
}
.band-tile .copy { min-width: 0; flex: 1; }
.band-tile .name {
  display: block; color: #f4f1e8; font-family: "Space Grotesk", sans-serif; font-size: 1rem; font-weight: 600;
  letter-spacing: -.03em; text-decoration: none;
}
.band-tile .name:hover, .band-tile .name:focus-visible { color: var(--acid); }
.band-tile .genres { margin: 2px 0 0; color: #95958d; font-size: 0.75rem; }
.band-tile .heart, .fav-card .heart { position: static; flex: none; width: 32px; height: 32px; }
.fav-date { margin: 0 0 8px; color: #95958d; font-size: 0.75rem; font-weight: 700; }
a.event-open { text-decoration: none; }
a.fav-date.event-open, a.event-title.event-open, a.gig-title.event-open { display: block; }
a.time-badge.event-open { text-decoration: none; }
button.cc-open, button.pin-title, button.fi-name {
  border: 0; background: transparent; padding: 0; font: inherit; color: inherit;
  text-align: left; cursor: pointer;
}
button.cc-open, button.pin-title { width: 100%; }
button.cc-open { display: flex; flex-direction: column; align-items: flex-start; gap: 0; min-width: 0; max-width: 100%; }
button.cc-open:focus-visible, button.pin-title:focus-visible, button.fi-name:focus-visible, a.event-open:focus-visible {
  outline: 2px solid var(--acid); outline-offset: 3px;
}
.fav-card .time-row { position: static; }
.fav-card .time-spacer { flex: 1; }
.fav-card .share-event { width: 32px; height: 32px; border-radius: 10px; }
.fav-card .event-title {
  margin: 8px 0 0; color: #f4f1e8; font-family: "Space Grotesk", sans-serif; font-size: 1rem; font-weight: 600;
  letter-spacing: -.03em;
}
.fav-card .band-block { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; padding-top: 8px; border-top: 1px solid #30302b; }
.fav-card .act { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fav-card .act a.band-link {
  color: #f4f1e8; font-family: "Space Grotesk", sans-serif; font-size: 0.9375rem; font-weight: 600;
  letter-spacing: -.03em; text-decoration: none;
}
.act-icons { display: inline-flex; flex-wrap: wrap; gap: 2px; }
.act-icons a {
  display: grid; width: 44px; height: 44px; min-width: 44px; min-height: 44px; place-items: center;
  border: 0; border-radius: 10px; background: transparent; text-decoration: none;
}
.act-icons img { width: 24px; height: 24px; object-fit: contain; display: block; }
.room-block {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 4px; align-items: start;
}
.fav-card .room-block { margin-top: 12px; padding-top: 10px; border-top: 1px solid #30302b; }
.room-block .venue-name { grid-column: 1; grid-row: 1; margin: 0; color: #f4f1e8; font-size: 0.875rem; }
.room-block .miles {
  grid-column: 2; grid-row: 1; color: #e8e6de; font-size: 0.75rem; font-weight: 700; text-align: right; white-space: nowrap;
}
.room-block .phone-address { grid-column: 1; grid-row: 2; min-width: 0; }
.room-block .phone-town,
.room-block .phone-street,
.room-block .phone-state { display: block; font-size: 0.75rem; }
.room-block .phone-town { color: #c8c6bc; }
.room-block .phone-street,
.room-block .phone-state { color: #77776f; }
.room-block .venue-actions { grid-column: 2; grid-row: 2; align-self: start; justify-content: flex-end; }
.room-block .map-jump { width: 32px; height: 32px; border-radius: 10px; }
.room-block .web-jump { width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; }
.room-block .web-jump img { width: 24px; height: 24px; }
.browse .card-section h2 {
  margin: 18px 0 8px; font-family: "Space Grotesk", sans-serif; font-size: 0.8125rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: #b8b8af;
}
.band-who { display: flex; align-items: flex-start; gap: 10px; }
.band-who .heart { position: static; flex: none; }
.band-who .band-id { min-width: 0; flex: 1; }
.band-quiet { margin: 8px 0 0; color: #95958d; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.platform-icons { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 8px; }
.platform-icons a {
  display: grid; width: 44px; height: 44px; min-width: 44px; min-height: 44px; place-items: center;
  border: 0; border-radius: 10px; background: transparent; color: inherit; text-decoration: none;
}
.platform-icons img { width: 24px; height: 24px; object-fit: contain; display: block; }
.band-public .section-label {
  margin: 22px 0 10px; font-family: "Space Grotesk", sans-serif; font-size: 0.8125rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: #b8b8af;
}
.band-public .show-calendar { display: flex; flex-direction: column; gap: 10px; }
.band-public .show-calendar li.gig {
  display: block; margin: 0; padding: 14px; border: 1px solid #292925; border-radius: 16px;
  background: #171715; text-align: left;
}
.band-public .gig .when { margin: 0; color: #95958d; font-size: 0.75rem; font-weight: 700; }
.band-public .gig-title {
  margin: 4px 0 0; color: #f4f1e8; font-family: "Space Grotesk", sans-serif; font-size: 1rem; font-weight: 600;
  letter-spacing: -.03em;
}
.band-public .gig .room-block { margin-top: 8px; }
.band-public .venue-name { color: #f4f1e8; }
.band-public .empty-show { display: block; padding: 0; border: 0; background: transparent; color: #95958d; }
.band-public .streams-quiet .stream img { width: 96px; height: 54px; }
@media (max-width: 700px) {
  .card-list.venue-grid { grid-template-columns: 1fr; }
}
@media (min-width: 860px) {
  .browse > h1 { font-size: 2rem; letter-spacing: -.04em; }
  .list-search.is-open { width: min(420px, 100%); }
  body[data-page="bands"] .card-list,
  body[data-page="favorites"] .card-list {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); align-items: start;
  }
  .band-public { max-width: none; display: grid; grid-template-columns: minmax(280px, 520px) minmax(0, 1fr); column-gap: 28px; align-items: center; }
  .band-public .band-poster { grid-column: 1; grid-row: 1; margin: 0; }
  .band-public .band-who { grid-column: 2; grid-row: 1; }
  .band-public .band-beer,
  .band-public > .lede,
  .band-public > section { grid-column: 1 / -1; }
  .band-public .show-calendar { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
  .sheet {
    top: 72px; bottom: 24px; left: 50%; right: auto; width: min(880px, calc(100% - 48px));
    transform: translateX(-50%); border: 1px solid #2b2b27; border-radius: 20px;
  }
}
body.calendar-phone .sheet {
  top: 0; right: 0; bottom: 0; left: auto; width: min(400px, 100%);
  transform: none; border: 0; border-left: 1px solid #2b2b27; border-radius: 0;
}

/* Compact card, bottom tabs, Comfort / day mode (2026-11-11). */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
:root { --tab-bar-height: 56px; --tab-safe: calc(env(safe-area-inset-bottom, 0px) + 20px); --tab-clear: calc(var(--tab-bar-height) + var(--tab-safe)); }
body:not(.calendar-phone) #stage { padding-bottom: calc(var(--tab-clear) + 28px); }
body.calendar-phone .content { padding-bottom: calc(var(--tab-clear) + 28px); }

.tab-bar {
  position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid #34342f; background: #0d0d0c;
  padding: 4px 0 var(--tab-safe);
  min-height: calc(var(--tab-bar-height) + var(--tab-safe));
}
.tab-bar button,
.tab-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-width: 0; min-height: 52px; padding: 6px 2px 4px; border: 0; border-radius: 0; background: transparent;
  color: #b0afa5; font-size: 0.6875rem; font-weight: 750; line-height: 1.15; text-decoration: none; cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tab-bar button svg,
.tab-bar a svg { width: 22px; height: 22px; flex: 0 0 auto; }
.tab-bar button[aria-selected="true"],
.tab-bar a[aria-selected="true"] { color: var(--acid); }
.tab-bar button:focus-visible,
.tab-bar a:focus-visible { outline: 2px solid #9ecbff; outline-offset: -4px; }

.day-tools { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 10px; margin: 0 0 14px; }
.day-tools .filter-chips:not([hidden]) { flex: 1 1 100%; margin: 0; overflow: visible; }
.sort-line {
  display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 0; border: 0; background: transparent;
  color: #b0afa5; font-size: 0.8125rem; font-weight: 650; text-align: left; cursor: pointer;
  min-height: 32px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(216, 255, 67, .45);
}
.sort-line:hover, .sort-line:focus-visible { color: var(--acid); }
.near-note { margin: 0; color: #8e8e85; font-size: 0.75rem; flex: 1 1 100%; }
.near-note[hidden] { display: none; }

/* Phone: chips start to the right of the sort line in one wrapping flow. No horizontal scroll. */
body.calendar-phone .day-tools {
  flex-wrap: wrap;
  align-items: center;
}
body.calendar-phone .sort-line {
  flex: 0 1 auto;
  min-height: 44px;
  white-space: nowrap;
}
body.calendar-phone .day-tools .filter-chips:not([hidden]) {
  display: contents;
}
body.calendar-phone .filter-chip {
  min-height: 26px;
  max-height: 28px;
  flex: 0 0 auto;
  padding: 2px 6px 2px 7px;
  gap: 3px;
}
.show-list { align-items: start; }

/* Ticket stub (approved frame option 4). Outer width stays the live width: a thicker
   border gives the difference back by shrinking horizontal padding. --lbw is the
   previous live border (1px dark, 3px comfort). Side notches are punched out so the
   page background shows through; a flat fill would miss the gradient on a long page. */
.card.cc {
  --pad: 16px;
  --lbw: 1px;
  --bw: 1.5px;
  --stub: #6a6a60;
  cursor: default;
  padding-inline: calc(var(--pad) + var(--lbw) - var(--bw));
  padding-block: max(0px, calc(var(--lbw) - var(--bw)));
  border: var(--bw) solid var(--stub);
  border-radius: 12px;
  background: #141413;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .02) inset;
  /* Holes are a mask, not a flat fill and not a blend-mode punch. A blend
     inside the clipped card composites to black. The mask shows whatever is
     actually behind the card (the page gradient and watermark). --tear-y is
     the tear line, set from the time row after layout. */
  --tear-y: 72px;
  --hole: calc(8px - var(--bw) + 0.5px);
  --notch-x: calc(var(--bw) / 2);
  overflow: hidden;
  mask-image:
    radial-gradient(circle at var(--notch-x) var(--tear-y), transparent var(--hole), #000 calc(var(--hole) + 0.5px)),
    radial-gradient(circle at calc(100% - var(--notch-x)) var(--tear-y), transparent var(--hole), #000 calc(var(--hole) + 0.5px));
  mask-composite: intersect;
  -webkit-mask-image:
    radial-gradient(circle at var(--notch-x) var(--tear-y), transparent var(--hole), #000 calc(var(--hole) + 0.5px)),
    radial-gradient(circle at calc(100% - var(--notch-x)) var(--tear-y), transparent var(--hole), #000 calc(var(--hole) + 0.5px));
  -webkit-mask-composite: source-in;
  min-width: 0; max-width: 100%;
}
.cc .cc-sec { padding: 11px 0; }
.cc .cc-sec + .cc-sec { border-top: 1px solid rgba(250, 249, 244, .09); }
.cc .cc-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 13px; }
.cc .cc-top + .cc-sec { position: relative; border-top: 2px dashed var(--stub, #6a6a60); }
.cc .cc-when { min-width: 0; flex: 1 1 auto; overflow: hidden; }
.cc-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.cc .share-event { width: 44px; height: 44px; min-width: 44px; min-height: 44px; border-radius: 12px; }
/* Design B: 44x44 confirm-on-calendar button in the top action row, before Share and Save. */
.cc-confirm {
  display: grid; place-items: center; flex: 0 0 auto; box-sizing: border-box;
  width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0;
  border: 1px solid #353530; border-radius: 12px;
  background: transparent; color: #f4f1e8; text-decoration: none; cursor: pointer;
}
.cc-confirm svg { width: 18px; height: 18px; display: block; pointer-events: none; }
.cc-confirm:hover, .cc-confirm:focus-visible { border-color: var(--acid); color: var(--acid); }
.cc-confirm:focus-visible { outline: 2px solid #9ecbff; outline-offset: 2px; }
.cc .cc-when.cc-confirm-clip .cc-sub {
  display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--cc-confirm-sub-lines, 1); overflow: hidden;
}
.cc .time { margin: 0; color: var(--acid); font-size: 1.0625rem; font-weight: 850; letter-spacing: .01em; line-height: 1.15; }
.cc .cc-sub { margin: 3px 0 0; color: #a9a89f; font-size: 0.8125rem; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.cc .cc-price {
  margin: 3px 0 0; min-width: 0; max-width: 100%; width: 100%; color: #a9a89f; font-size: 0.8125rem;
  font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cc .cc-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cc .cc-row + .cc-row, .cc .cc-x + .cc-row { margin-top: 8px; }
.cc-heart {
  display: grid; place-items: center; flex: 0 0 auto; padding: 0; border: 1px solid #3a3a35; background: #1c1c1a;
  color: #c9c8bf; cursor: pointer;
}
.cc-heart .hrt { fill: none; }
.cc-heart[aria-pressed="true"] { color: #14160c; background: var(--acid); border-color: var(--acid); }
.cc-heart[aria-pressed="true"] .hrt { fill: currentColor; }
.cc-heart:hover, .cc-heart:focus-visible { border-color: var(--acid); }
.cc-heart.sq { width: 46px; height: 46px; border-radius: 12px; }
.cc-heart.sq .hrt { width: 22px; height: 22px; }
.cc-heart.rd { width: 38px; height: 38px; border-radius: 50%; }
.cc-heart.rd .hrt { width: 18px; height: 18px; }
.cc h2.cc-band, .cc h3.cc-venue { margin: 0; min-width: 0; flex: 1 1 auto; }
.cc .cc-tog {
  display: block; width: 100%; min-height: 40px; margin: 0; padding: 4px 2px; border: 0; border-radius: 8px;
  background: transparent; color: #faf9f4; text-align: left; overflow-wrap: anywhere; cursor: pointer;
}
.cc h2 .cc-tog { font-size: 1.25rem; font-weight: 850; line-height: 1.15; letter-spacing: -.01em; }
/* Venue name only (option 6b). Band size and weight stay on h2. Real DM Sans Italic;
   font-synthesis stays off so a missing file does not become a slanted roman. */
.cc h3 .cc-tog {
  color: #a9a89f;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  font-style: italic;
  font-synthesis: none;
}
@media (hover: hover) { .cc .cc-tog:hover { color: var(--acid); } }
.cc .cc-tog::after {
  content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 2px 3px 9px; vertical-align: middle;
  border-right: 2px solid #7d7c74; border-bottom: 2px solid #7d7c74; transform: rotate(45deg);
}
.cc .cc-tog[aria-expanded="true"]::after { transform: rotate(-135deg); margin-bottom: -2px; }
.cc-pin {
  display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px;
  background: transparent; border: 1.6px solid var(--acid); color: var(--acid); text-decoration: none;
}
.cc-pin:hover, .cc-pin:focus-visible { background: rgba(216, 255, 67, .1); }
.cc .miles { flex: 0 0 auto; min-width: 3.6em; color: #b4b3aa; font-size: 0.875rem; font-weight: 700; text-align: right; white-space: nowrap; }
.cc-x { margin: 8px 0 2px 48px; display: grid; gap: 9px; }
.cc-x[hidden] { display: none; }
.cc-genre, .cc-addr { margin: 0; color: #d0cfc6; font-size: 0.875rem; font-weight: 600; line-height: 1.35; }
.cc-more {
  justify-self: start; padding: 2px 0; border: 0; background: transparent; color: #a9a89f; font-size: 0.75rem; font-weight: 700;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.cc-more:hover, .cc-more:focus-visible { color: var(--acid); }
.links-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 100%; padding-bottom: 2px; }
.links-row .platform-icons { display: flex; flex-wrap: wrap; gap: 2px; margin: 0; flex: 0 0 auto; }
.links-row .platform-icons a, .links-row .donation-icons a {
  display: grid; width: 44px; height: 44px; min-width: 44px; min-height: 44px; place-items: center;
  border: 0; border-radius: 10px; background: transparent; text-decoration: none;
}
.links-row .platform-icons img, .links-row .donation-icons img { width: 24px; height: 24px; object-fit: contain; display: block; }
.links-row .donation-icons { display: inline-flex; gap: 2px; }

/* Option C: On tap / Buy the band a beer. One shape, mug first, bare payment marks, direct links. */
.tip-tap {
  display: inline-flex; align-items: center; gap: 0;
  min-height: 44px; padding: 0 8px 0 2px;
  border-radius: 14px 999px 999px 14px; max-width: 100%;
  border: 1px solid #5a5340; background: #1a1913; color: #f4f1e8;
}
.tip-tap-handle {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  padding: 0; border: 0; background: transparent; color: inherit; text-decoration: none;
}
.tip-tap-handle .beer-icon, .tip-tap-handle img { width: 32px; height: 32px; object-fit: contain; display: block; }
.tip-tap-neck {
  width: 2px; height: 22px; margin: 0 6px 0 2px; flex: none;
  background: currentColor; opacity: .35; border-radius: 2px;
}
.tip-tap-marks { display: flex; align-items: center; gap: 0; }
.tip-tap-marks a {
  display: grid; place-items: center; width: 44px; height: 44px; min-width: 44px; min-height: 44px;
  padding: 0; border: 0; background: transparent; border-radius: 10px; text-decoration: none;
}
.tip-tap-marks img { width: 22px; height: 22px; object-fit: contain; display: block; }
.tip-tap-copy {
  display: flex; flex-direction: column; align-items: flex-start; margin-left: 6px; padding-right: 6px;
}
.tip-tap-kicker {
  font-size: 0.625rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #b4b3aa;
}
.tip-tap-label { font-size: 0.75rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
@media (max-width: 420px) {
  .card.cc { --pad: 13px; }
  .cc-x { margin-left: 0; }
  .cc h2 .cc-tog { font-size: 1.1875rem; }
}
/* Flash and keyboard focus stay inside the card. overflow and the notch mask
   clip an outer ring or a positive outline-offset. */
.card.cc.cc-flash { box-shadow: inset 0 0 0 2px var(--acid); }
.card.cc :focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: -3px;
}
.card.cc .cc-heart[aria-pressed="true"]:focus-visible { outline-color: #14160c; }
/* Ring around each notch. The mask hole is the inside of this circle, so the
   stroke stays and the page shows through the middle. Centered on the border
   at the middle of the 2px tear. */
.card.cc .cc-top + .cc-sec::before,
.card.cc .cc-top + .cc-sec::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: -9px;
  width: 16px;
  height: 16px;
  box-sizing: border-box;
  border-radius: 50%;
  border: var(--bw) solid var(--stub, #6a6a60);
  background: transparent;
  pointer-events: none;
}
.card.cc .cc-top + .cc-sec::before { left: calc(-1 * (var(--pad) + var(--lbw) - var(--bw)) - var(--bw) / 2 - 8px); }
.card.cc .cc-top + .cc-sec::after { right: calc(-1 * (var(--pad) + var(--lbw) - var(--bw)) - var(--bw) / 2 - 8px); }

body[data-tab="bands"] .day-header,
body[data-tab="venues"] .day-header,
body[data-tab="favs"] .day-header,
body[data-tab="bands"] .day-tools,
body[data-tab="venues"] .day-tools,
body[data-tab="favs"] .day-tools,
body[data-tab="bands"] #filters,
body[data-tab="venues"] #filters,
body[data-tab="favs"] #filters,
body[data-tab="bands"] #shows,
body[data-tab="venues"] #shows,
body[data-tab="favs"] #shows,
body[data-tab="bands"] .change-note,
body[data-tab="venues"] .change-note,
body[data-tab="favs"] .change-note { display: none !important; }
.browse-view { margin: 8px 0 24px; }
.browse-view[hidden] { display: none !important; }
.browse-view h2 { margin: 0 0 6px; font-family: "Space Grotesk", sans-serif; font-size: clamp(1.625rem, 6vw, 2.125rem); letter-spacing: -.03em; }
.browse-view .list-count { margin: 0 0 14px; color: #b0afa5; font-size: 0.8125rem; font-weight: 600; }
.browse-search {
  display: block; width: 100%; max-width: 28rem; height: 44px; margin: 0 0 14px; padding: 0 12px;
  border: 1px solid #34342f; border-radius: 12px; background: #1a1a17; color: #faf9f4; font: inherit;
}
.dir-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); align-items: start; list-style: none; margin: 0; padding: 0; }
.dir-card {
  display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 14px; border: 1px solid #34342f;
  border-radius: 16px; background: #1a1a17;
}
.dir-card .dir-body { flex: 1 1 auto; min-width: 0; }
.dir-card a.dir-name { color: #faf9f4; font-size: 1.0625rem; font-weight: 850; text-decoration: none; overflow-wrap: anywhere; }
.dir-card a.dir-name:hover, .dir-card a.dir-name:focus-visible { color: var(--acid); }
.dir-card .dir-meta { margin: 4px 0 0; color: #d0cfc6; font-size: 0.8125rem; font-weight: 600; }
.fav-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 14px 0 12px; }
.fav-tabs button {
  min-height: 44px; border: 1px solid #34342f; border-radius: 12px; background: #0d0d0c; color: #d0cfc6;
  font-size: 0.875rem; font-weight: 800; cursor: pointer;
}
.fav-tabs button[aria-selected="true"] { background: var(--acid); border-color: var(--acid); color: #14160c; }
.fav-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.fav-item { padding: 12px; border: 1px solid #34342f; border-radius: 14px; background: #141413; }
.fav-item .fi-head { display: flex; align-items: center; gap: 10px; }
.fav-item .fi-name {
  flex: 1 1 auto; min-width: 0; margin: 0; padding: 0; border: 0; background: transparent;
  color: #faf9f4; font: inherit; font-size: 1rem; font-weight: 850; text-align: left;
  overflow-wrap: anywhere; text-decoration: none; cursor: pointer; appearance: none;
}
.fav-item a.fi-name:hover, .fav-item a.fi-name:focus-visible { color: var(--acid); }
.fav-item .fi-meta { margin: 6px 0 0; color: #d0cfc6; font-size: 0.8125rem; font-weight: 600; }
.fav-item .fi-next {
  display: inline-block; margin-top: 8px; color: var(--acid); font-size: 0.8125rem; font-weight: 800;
  text-decoration: underline; text-underline-offset: 3px;
}
.fav-empty, .fav-note { color: #b0afa5; font-size: 0.875rem; }
.place-title { display: flex; align-items: center; gap: 10px; }
.place-title .place-name { margin: 0; }

html[data-comfort="on"] {
  --acid: #3d4a12;
  --lime: #d8ff43;
  --ink: #F3E6C8;
  --panel: #fff;
  --muted: #2a2a28;
  --page: #F3E6C8;
  --bar: #F7EED8;
  --text: #14160c;
  --border: #14160c;
  --quiet: #555555;
  --hover: #F7EED8;
  --sight-fill: rgba(255, 255, 255, .5);
  color: #14160c;
  background: #F3E6C8;
}
html[data-comfort="on"] body,
html[data-comfort="on"] .site-shell {
  background-color: #F3E6C8;
  background-image: linear-gradient(180deg, #F7EED4 0%, #F3E6C8 48%, #E8D7B0 100%);
  background-repeat: no-repeat;
  background-size: auto;
  color: #14160c;
}
html[data-comfort="on"] .site-bar,
html[data-comfort="on"] .day-controls,
html[data-comfort="on"] body.calendar-phone .day-header,
html[data-comfort="on"] .tab-bar,
html[data-comfort="on"] .drawer {
  background: #F7EED8;
  background-image: none;
  color: #14160c;
}
/* Day banner sits on the paper page (and its texture), not on a dark or cream plate. */
html[data-comfort="on"] .banner-clip {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
html[data-comfort="on"] .header-banner,
html[data-comfort="on"] a.bar-mark,
html[data-comfort="on"] a.bar-mark img {
  background: transparent;
}

/* Dark banner sits on the page watermark texture, not on a gray rounded plate.
   Light-mode banner and its container rules are unchanged. */
html[data-comfort="off"] .banner-clip {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
html[data-comfort="off"] .header-banner {
  background: transparent;
}

/* Montage texture: 10% multiply by day, 10% screen at night.
   Cards, bars, chips, and pop-ups stay solid.
   Do not set position: relative on .nav, .site-bar, .tab-bar, or .day-header. */
:root {
  --wm-image: url("/static/backgrounds/bg-montage-desktop.webp");
  --wm-image-phone: url("/static/backgrounds/bg-montage-phone.webp");
  --wm-image-dark: url("/static/backgrounds/bg-montage-desktop-dark.webp");
  --wm-image-dark-phone: url("/static/backgrounds/bg-montage-phone-dark.webp");
  --wm-size: cover;
  --wm-position: center center;
  --wm-repeat: no-repeat;
  --wm-opacity: 0.10;
  --wm-opacity-dark: 0.10;
}
html:not([data-comfort="on"]) {
  --wm-image: var(--wm-image-dark);
  --wm-image-phone: var(--wm-image-dark-phone);
}
.site-shell { position: relative; }
.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: var(--wm-image);
  background-size: var(--wm-size);
  background-position: var(--wm-position);
  background-repeat: var(--wm-repeat);
  background-color: transparent;
  mix-blend-mode: multiply;
  opacity: var(--wm-opacity);
}
html:not([data-comfort="on"]) .site-shell::before {
  mix-blend-mode: screen;
  opacity: var(--wm-opacity-dark);
}
@media (max-width: 700px) {
  .site-shell::before { background-image: var(--wm-image-phone); }
}

/* Light/day launch splash: Recycled Paper page, 10% multiply montage, no box.
   Dark splash (.site-splash) stays unchanged. */
html[data-comfort="on"] .site-splash {
  background-color: #F3E6C8;
  background-image: linear-gradient(180deg, #F7EED4 0%, #F3E6C8 48%, #E8D7B0 100%);
  background-repeat: no-repeat;
  background-size: auto;
}
html[data-comfort="on"] .site-splash::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: var(--wm-image);
  background-size: var(--wm-size);
  background-position: var(--wm-position);
  background-repeat: var(--wm-repeat);
  background-color: transparent;
  mix-blend-mode: multiply;
  opacity: var(--wm-opacity);
}
@media (max-width: 700px) {
  html[data-comfort="on"] .site-splash::before { background-image: var(--wm-image-phone); }
}
html[data-comfort="on"] .site-splash img {
  position: relative;
  z-index: 1;
  background: transparent;
  border: 0;
  box-shadow: none;
  object-fit: contain;
  object-position: center;
}
#stage, .content, .show-list, .card.cc, .day-tools, .filter-chips {
  position: relative;
  z-index: 1;
}
/* Night only: solid scrim behind the sort line so muted text stays AA. No other dark colors change. */
html:not([data-comfort="on"]) #day-tools,
html:not([data-comfort="on"]) .day-tools {
  background: #171715;
  border-radius: 8px;
}

html[data-comfort="on"] .site-bar,
html[data-comfort="on"] .tab-bar,
html[data-comfort="on"] body.calendar-phone .day-header,
html[data-comfort="on"] .day-controls { border-color: #111; }
html[data-comfort="on"] .brand,
html[data-comfort="on"] .bar-links a,
html[data-comfort="on"] h1,
html[data-comfort="on"] h2,
html[data-comfort="on"] h3 { color: #111; }
html[data-comfort="on"] .brand-wave i { background: #3d4a12; }
html[data-comfort="on"] .icon-hit[aria-pressed="true"] { background: #d8ff43; color: #111; }
html[data-comfort="on"] .sight { border-color: #111; box-shadow: none; }
html[data-comfort="on"] #rail button { color: #555; }
html[data-comfort="on"] #rail button strong { color: #222; }
html[data-comfort="on"] #rail button.active,
html[data-comfort="on"] #rail button.hot,
html[data-comfort="on"] #rail button.active strong,
html[data-comfort="on"] #rail button.hot strong { color: #111; }
html[data-comfort="on"] .tonight { border-color: #111; background: #fff; color: #111; }
html[data-comfort="on"] .sort-line { color: #2a2a28; text-decoration-color: #111; }
html[data-comfort="on"] .filter-chip { background: #fff; border-color: #111; box-shadow: inset 0 0 0 0.5px #111; color: #111; }
html[data-comfort="on"] .filter-chip span { color: #111; }
html[data-comfort="on"] .card.cc {
  --lbw: 3px;
  --bw: 3px;
  --stub: #111;
  background: #fff;
  border: 3px solid #111;
  color: #111;
}
html[data-comfort="on"] .cc .cc-sec + .cc-sec { border-top-color: rgba(17, 17, 17, .22); }
html[data-comfort="on"] .cc .cc-top + .cc-sec { border-top: 2px dashed rgba(17, 17, 17, .55); }
html[data-comfort="on"] .cc .cc-sub,
html[data-comfort="on"] .cc .cc-price,
html[data-comfort="on"] .cc .miles,
html[data-comfort="on"] .cc-more,
html[data-comfort="on"] .cc-genre,
html[data-comfort="on"] .cc-addr { color: #2a2a28; }
html[data-comfort="on"] .cc .cc-tog { color: #111; }
html[data-comfort="on"] .cc h3.cc-venue .cc-tog,
html[data-comfort="on"] .cc h3 .cc-tog {
  color: var(--quiet, #555);
  font-family: "DM Sans", sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  font-style: italic;
  font-synthesis: none;
}
html[data-comfort="on"] .cc .cc-tog::after { border-color: #111; }
html[data-comfort="on"] .cc-heart { background: #fff; border: 2px solid #111; color: #111; }
html[data-comfort="on"] .cc-heart[aria-pressed="true"] { background: #111; color: #fff; border-color: #111; }
html[data-comfort="on"] .card.cc :focus-visible {
  outline: 2px solid #111;
  outline-offset: -3px;
}
html[data-comfort="on"] .card.cc .cc-heart[aria-pressed="true"]:focus-visible { outline-color: #fff; }
html[data-comfort="on"] .cc-pin { background: transparent; border-color: #111; color: #111; }
html[data-comfort="on"] .cc-pin:hover,
html[data-comfort="on"] .cc-pin:focus-visible { background: rgba(17, 17, 17, .08); }
html[data-comfort="on"] .tab-bar button,
html[data-comfort="on"] .tab-bar a { color: #555; }
html[data-comfort="on"] .tab-bar button[aria-selected="true"],
html[data-comfort="on"] .tab-bar a[aria-selected="true"] { color: #111; font-weight: 850; }
html[data-comfort="on"] .links-row .platform-icons a,
html[data-comfort="on"] .links-row .donation-icons a,
html[data-comfort="on"] .platform-icons a,
html[data-comfort="on"] .act-icons a,
html[data-comfort="on"] .tip-tap-marks a {
  background: transparent; border: 0; color: #14160c;
}
html[data-comfort="on"] .tip-tap {
  background: #fff; border: 2px solid #14160c; color: #14160c;
}
html[data-comfort="on"] .tip-tap-kicker { color: #555; }
html[data-comfort="on"] .beer-pop {
  background: #fff; border: 2px solid #14160c; color: #14160c;
  box-shadow: 0 12px 28px rgba(20, 22, 12, .18);
}
html[data-comfort="on"] .pop-close { border: 0; background: transparent; color: #14160c; box-shadow: none; }
html[data-comfort="on"] .pay-row { background: #F7EED8; border: 2px solid #14160c; color: #14160c; }
html[data-comfort="on"] .browse-search,
html[data-comfort="on"] .dir-card,
html[data-comfort="on"] .fav-item { background: #fff; border-color: #111; color: #111; }
html[data-comfort="on"] .dir-card { border-width: 2px; }
html[data-comfort="on"] .dir-card a.dir-name,
html[data-comfort="on"] .fav-item .fi-name { color: #111; }
html[data-comfort="on"] .dir-card .dir-meta,
html[data-comfort="on"] .fav-item .fi-meta,
html[data-comfort="on"] .browse-view .list-count,
html[data-comfort="on"] .fav-note,
html[data-comfort="on"] .fav-empty,
html[data-comfort="on"] .near-note,
html[data-comfort="on"] .day-title-row p { color: var(--muted); }
html[data-comfort="on"] .cal-read { color: #14160c; }
html[data-comfort="on"] .near-button,
html[data-comfort="on"] .near-button[aria-pressed="true"] {
  background: #fff; color: #111; border-color: #111;
}
html[data-comfort="on"] .near-button[aria-pressed="true"] {
  background: #fff; color: var(--acid); border-color: var(--acid);
}
html[data-comfort="on"] .show-calendar .miles,
html[data-comfort="on"] .room-block .miles,
html[data-comfort="on"] .phone-card .phone-venue .miles,
html[data-comfort="on"] .distance .miles { color: var(--muted); }
html[data-comfort="on"] .fav-tabs button { background: #fff; border-color: #111; color: #111; }
html[data-comfort="on"] .fav-tabs button[aria-selected="true"] { background: #111; color: #fff; border-color: #111; }
html[data-comfort="on"] .fav-item .fi-next { color: #111; }
html[data-comfort="on"] .sheet,
html[data-comfort="on"] .cal-pop { background: #fff; color: #111; border-color: #111; }
html[data-comfort="on"] .about-lead,
html[data-comfort="on"] .about > p,
html[data-comfort="on"] .about-card p,
html[data-comfort="on"] .about-points li,
html[data-comfort="on"] .band-public,
html[data-comfort="on"] .place-page,
html[data-comfort="on"] .content.browse { color: #111; }
html[data-comfort="on"] .about-card,
html[data-comfort="on"] .band-public .show-calendar li.gig { background: #fff; border-color: #111; color: #111; }
html[data-comfort="on"] .about-fine li,
html[data-comfort="on"] .band-quiet,
html[data-comfort="on"] .band-public .gig .when,
html[data-comfort="on"] .band-public .empty-show { color: #444; }
html[data-comfort="on"] .band-public .venue-name,
html[data-comfort="on"] .band-public .gig-title,
html[data-comfort="on"] .place-page .venue-name { color: #111; }
html[data-comfort="on"] .change-note,
html[data-comfort="on"] .change-note a { color: #2a2a28; }
html[data-comfort="on"] .chev,
html[data-comfort="on"] .cal-open,
html[data-comfort="on"] .cal-nav { background: #fff; color: #111; border-color: #111; }

/* Header icons stay ink-colored in Comfort. .icon-hit hardcodes #f4f1e8, which sits at ~1:1 on the light bar. */
html[data-comfort="on"] .site-bar .icon-hit,
html[data-comfort="on"] .sheet .icon-hit,
html[data-comfort="on"] .drawer .icon-hit,
html[data-comfort="on"] .drawer a,
html[data-comfort="on"] .drawer button {
  color: #14160c;
}
html[data-comfort="on"] .site-bar .icon-hit:hover,
html[data-comfort="on"] .site-bar .icon-hit:focus-visible,
html[data-comfort="on"] .site-bar .icon-hit[aria-expanded="true"],
html[data-comfort="on"] .sheet .icon-hit:hover,
html[data-comfort="on"] .sheet .icon-hit:focus-visible {
  color: #14160c;
  background: rgba(20, 22, 12, .08);
}
html[data-comfort="on"] .site-bar .icon-hit[aria-pressed="true"],
html[data-comfort="on"] .site-bar .icon-hit[aria-pressed="true"]:hover,
html[data-comfort="on"] .site-bar .icon-hit[aria-pressed="true"]:focus-visible {
  background: #d8ff43;
  color: #14160c;
}
/* Joseph, 8:44 AM ET Nov 12, 2026: remove the yellow day-mode pill from the Comfort toggle only. */
html[data-comfort="on"] #comfort-btn.icon-hit[aria-pressed="true"],
html[data-comfort="on"] .site-bar #comfort-btn.icon-hit[aria-pressed="true"],
html[data-comfort="on"] .site-bar #comfort-btn.icon-hit[aria-pressed="true"]:hover,
html[data-comfort="on"] .site-bar #comfort-btn.icon-hit[aria-pressed="true"]:focus-visible {
  background: transparent;
  color: #14160c;
}
html[data-comfort="on"] .site-bar #comfort-btn.icon-hit[aria-pressed="true"]:hover,
html[data-comfort="on"] .site-bar #comfort-btn.icon-hit[aria-pressed="true"]:focus-visible {
  background: rgba(20, 22, 12, .08);
}
@media (max-width: 959px) {
  html[data-comfort="on"] .drawer a,
  html[data-comfort="on"] .drawer button { background: #fff; }
}

html[data-comfort="on"] .place-page .show-calendar,
html[data-comfort="on"] .place-page .show-calendar li,
html[data-comfort="on"] .place-page .show-calendar .when,
html[data-comfort="on"] .place-page .show-calendar .where {
  color: #1c1b16;
}
html[data-comfort="on"] .place-page .show-calendar li { border-bottom-color: rgba(20, 22, 12, .18); }

html[data-comfort="on"] .cal-dow span { color: #4a453c; }
html[data-comfort="on"] .cal-grid button { color: #14160c; background: transparent; }
html[data-comfort="on"] .cal-grid button.out,
html[data-comfort="on"] .cal-grid button.past { color: #5c564c; }
html[data-comfort="on"] .cal-grid button.today { box-shadow: inset 0 0 0 2px #3d4a12; }
html[data-comfort="on"] .cal-grid button:hover,
html[data-comfort="on"] .cal-grid button:focus-visible { background: #eef3d4; color: #14160c; }
html[data-comfort="on"] .cal-grid button.picked,
html[data-comfort="on"] .cal-grid button.picked.past,
html[data-comfort="on"] .cal-grid button.picked.out {
  background: #c6f24e; color: #14160c; font-weight: 700; box-shadow: none;
}
html[data-comfort="on"] .cal-grid button.picked:hover,
html[data-comfort="on"] .cal-grid button.picked:focus-visible { background: #d4f56a; color: #14160c; }
html[data-comfort="on"] .cal-head strong { color: #14160c; }

.card.cc { scroll-margin-top: 88px; scroll-margin-bottom: calc(var(--tab-clear, 76px) + 16px); }
@media (min-width: 701px) and (max-height: 860px) {
  .banner-frame { margin-top: 0; margin-bottom: 10px; --banner-h: min(140px, 24vh); }
}
@media (min-width: 701px) and (max-height: 640px) {
  .banner-frame { --banner-h: min(110px, 22vh); }
}

.gpin {
  width: 44px; height: 44px; border: 0; border-radius: 0; box-sizing: border-box;
  background: transparent; box-shadow: none; position: relative;
  transform: translateY(50%);
}
.gpin::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px;
  transform: translate(-50%, -50%); border-radius: 50%; box-sizing: border-box;
  background: #1e2314; border: 2px solid #c6f24e;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .45);
}
.gpin.is-sel::after {
  width: 28px; height: 28px; background: #c6f24e; border-color: #c6f24e;
}
html[data-comfort="on"] .gpin.is-sel { box-shadow: none; }
html[data-comfort="on"] .gpin.is-sel::after { box-shadow: 0 0 0 2px #14160c, 0 1px 4px rgba(0, 0, 0, .35); }

.pin-sheet {
  --pin-bg: #16190f;
  --pin-line: #2c3320;
  --pin-title: #f7f4ea;
  --pin-sub: #c6f24e;
  --pin-muted: #aaaaaa;
  --pin-note: #8a8a8a;
  --pin-chip: #1e2314;
  --pin-ib: #1e2314;
  --pin-ib-line: #3a4229;
  --pin-icon: #f4f1e8;
  --pin-dir: #c6f24e;
  --pin-ink: #14160c;
  --pin-grab: #444;
  position: absolute; z-index: 6; left: 10px; right: 10px; bottom: 16px;
  max-height: calc(100dvh - var(--tab-clear, 76px) - 96px); overflow: auto;
  padding: 14px 14px 10px; border: 1px solid var(--pin-line); border-radius: 18px;
  background: var(--pin-bg); color: var(--pin-title);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .45);
}
html[data-comfort="on"] .map-modal,
html[data-comfort="on"] .map-topbar,
html[data-comfort="on"] .map-sheet,
html[data-comfort="on"] .map-missing,
html[data-comfort="on"] .map-status,
html[data-comfort="on"] .map-inapp {
  background: var(--ink);
  color: inherit;
  border-color: var(--muted);
}
html[data-comfort="on"] .map-canvas { background: var(--panel); }
html[data-comfort="on"] .map-topbar strong,
html[data-comfort="on"] .map-topbar button,
html[data-comfort="on"] .map-sheet,
html[data-comfort="on"] .map-sheet strong,
html[data-comfort="on"] .map-missing,
html[data-comfort="on"] .map-missing li,
html[data-comfort="on"] .map-missing h2,
html[data-comfort="on"] .map-status,
html[data-comfort="on"] .map-inapp { color: inherit; }
html[data-comfort="on"] .map-topbar button {
  background: var(--panel);
  border-color: var(--muted);
  color: inherit;
}
html[data-comfort="on"] .map-topbar span,
html[data-comfort="on"] .map-missing a { color: var(--acid); }
html[data-comfort="on"] .map-sheet > span:last-child,
html[data-comfort="on"] .map-missing li { color: var(--muted); }
html[data-comfort="on"] .map-inapp button { color: var(--ink); }
html[data-comfort="on"] .share-page .place .venue,
html[data-comfort="on"] .share-page .share-actions a { color: inherit; }
html[data-comfort="on"] .share-page .share-actions a { border-color: var(--muted); }
/* Day mode: billed artist names were still the dark-theme cream (#f4f1e8) on the paper/white card. */
html[data-comfort="on"] .share-page .act > a,
html[data-comfort="on"] .share-page .act > a:link,
html[data-comfort="on"] .share-page .act > a:visited,
html[data-comfort="on"] .show-info h2 a:link,
html[data-comfort="on"] .show-info h2 a:visited,
html[data-comfort="on"] .act-names a:link,
html[data-comfort="on"] .act-names a:visited {
  color: #14160c;
}
html[data-comfort="on"] .share-page .act > a:hover,
html[data-comfort="on"] .share-page .act > a:focus-visible,
html[data-comfort="on"] .show-info h2 a:hover,
html[data-comfort="on"] .show-info h2 a:focus-visible,
html[data-comfort="on"] .act-names a:hover,
html[data-comfort="on"] .act-names a:focus-visible {
  color: #3d4a12;
}

html[data-comfort="on"] .pin-sheet {
  --pin-bg: #fbfaf4;
  --pin-line: #d5d0c3;
  --pin-title: #14160c;
  --pin-sub: #3d4a12;
  --pin-muted: #4a453c;
  --pin-note: #3f3c34;
  --pin-chip: #ffffff;
  --pin-ib: #ffffff;
  --pin-ib-line: #c9c3b2;
  --pin-icon: #14160c;
  --pin-dir: #c6f24e;
  --pin-ink: #14160c;
  --pin-grab: #b7b2a4;
  box-shadow: 0 -6px 24px rgba(20, 22, 12, .16);
}
.map-modal:has(#pin-sheet:not([hidden])) .map-sheet { visibility: hidden; }
.pin-top { position: relative; min-height: 16px; }
.pin-grab { width: 40px; height: 4px; margin: -4px auto 10px; border-radius: 4px; background: var(--pin-grab); }
.pin-x {
  position: absolute; top: -8px; right: -4px; width: 32px; height: 32px; padding: 0;
  border: 0; border-radius: 10px; background: transparent; color: var(--pin-muted);
  font-size: 1.375rem; line-height: 1; cursor: pointer;
}
.pin-x:hover, .pin-x:focus-visible { color: var(--pin-title); }
.pin-row { display: flex; align-items: center; gap: 10px; }
.pin-copy { flex: 1; min-width: 0; }
.pin-title { font-size: 1.25rem; font-weight: 800; line-height: 1.15; overflow-wrap: anywhere; }
.pin-sub {
  display: flex; align-items: center; gap: 6px; margin-top: 3px;
  color: var(--pin-sub); font-size: 0.875rem; font-weight: 700;
}
.pin-sub svg { flex: none; }
.pin-pager { display: flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--pin-muted); font-size: 0.75rem; font-weight: 700; }
.pin-pager button {
  width: 28px; height: 28px; padding: 0; border: 1px solid var(--pin-line); border-radius: 8px;
  background: var(--pin-chip); color: var(--pin-title); font-size: 1rem; line-height: 1; cursor: pointer;
}
.pin-ib {
  display: grid; width: 38px; height: 38px; flex: none; place-items: center; padding: 0;
  border: 1px solid var(--pin-ib-line); border-radius: 12px; background: var(--pin-ib);
  color: var(--pin-icon); text-decoration: none; cursor: pointer;
}
.pin-dir, .pin-heart[aria-pressed="true"] { background: var(--pin-dir); border-color: var(--pin-dir); color: var(--pin-ink); }
.pin-heart .hrt { width: 20px; height: 20px; fill: none; }
.pin-heart[aria-pressed="true"] .hrt { fill: currentColor; }
.pin-div { height: 1px; margin: 10px 0; background: var(--pin-line); }
.pin-room { display: grid; width: 22px; height: 22px; flex: none; place-items: center; color: var(--pin-title); }
.pin-room svg { width: 20px; height: 20px; }
.pin-venue { font-size: 0.9375rem; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.pin-addr { margin-top: 2px; color: var(--pin-muted); font-size: 0.8125rem; line-height: 1.3; overflow-wrap: anywhere; }
.pin-chips { display: flex; gap: 8px; margin-top: 10px; }
.pin-chip {
  display: flex; flex: 1; align-items: center; justify-content: center; gap: 6px; min-width: 0;
  min-height: 36px; padding: 8px 4px; border: 1px solid var(--pin-line); border-radius: 10px;
  background: var(--pin-chip); color: var(--pin-title); font-size: 0.75rem; font-weight: 600;
  text-decoration: none; cursor: pointer;
}
.pin-chip:hover, .pin-chip:focus-visible, .pin-ib:hover, .pin-ib:focus-visible, .pin-pager button:hover, .pin-pager button:focus-visible {
  border-color: var(--pin-sub);
}
.pin-note { margin: 8px 0 0; color: var(--pin-note); font-size: 0.65625rem; text-align: center; }
.pin-sheet :focus-visible { outline: 2px solid var(--pin-sub); outline-offset: 2px; }

/* Day-mode surfaces outside the calendar shell, and room for the shared tab bar. */
body:has(> .tab-bar) .content.browse,
body:has(> .tab-bar) .content.about {
  padding-bottom: calc(var(--tab-clear, 76px) + 36px);
}
.map-sheet strong { text-align: center; overflow-wrap: anywhere; }

html[data-comfort="on"] .browse .grid-table,
html[data-comfort="on"] .browse .grid-table th,
html[data-comfort="on"] .browse .grid-table td {
  color: #14160c;
  border-color: #14160c;
}
html[data-comfort="on"] .browse .grid-table tbody tr {
  background: #fff;
  color: #14160c;
}
html[data-comfort="on"] .browse .grid-table a:not(.map-jump):not(.web-jump),
html[data-comfort="on"] .browse .grid-table a:not(.map-jump):not(.web-jump):hover,
html[data-comfort="on"] .browse .grid-table a:not(.map-jump):not(.web-jump):focus-visible {
  color: #14160c;
}
html[data-comfort="on"] .browse .grid-table td[data-label]:not(.cell-icon)::before {
  color: #2a2a28;
}
@media (max-width: 700px) {
  html[data-comfort="on"] .browse .grid-table tr {
    background: #fff;
    border: 3px solid #111;
    color: #14160c;
  }
}
html[data-comfort="on"] .list-search,
html[data-comfort="on"] .list-search.is-open,
html[data-comfort="on"] .sheet input[type="number"],
html[data-comfort="on"] .sheet input[type="search"],
html[data-comfort="on"] .sheet select,
html[data-comfort="on"] .range input,
html[data-comfort="on"] .grid-table .filters input,
html[data-comfort="on"] .grid-table .filters select {
  background: #fff;
  color: #14160c;
  border: 2px solid #14160c;
}
html[data-comfort="on"] .range label { color: #14160c; }
html[data-comfort="on"] .sheet .field { color: #14160c; }
html[data-comfort="on"] .sheet .field .hint,
html[data-comfort="on"] .sheet > .hint { color: #2a2a28; }
html[data-comfort="on"] .sheet .row-check,
html[data-comfort="on"] .choice-list label { color: #14160c; }
html[data-comfort="on"] .sheet .row-check input {
  width: 18px;
  height: 18px;
  accent-color: #14160c;
}
html[data-comfort="on"] .text-size button {
  min-width: 0;
  height: auto;
  min-height: 44px;
  padding: 6px 8px;
  background: #fff;
  color: #14160c;
  border: 2px solid #14160c;
  line-height: 1.2;
}
html[data-comfort="on"] .text-size button[aria-pressed="true"] {
  background: #14160c;
  color: #fff;
  border-color: #14160c;
}
html[data-comfort="on"] .choice-row .choice,
html[data-comfort="on"] .picked button,
html[data-comfort="on"] .suggest button {
  background: #fff;
  color: #14160c;
  border-color: #14160c;
}
html[data-comfort="on"] .choice-row .choice[aria-pressed="true"] {
  background: #14160c;
  color: #fff;
  border-color: #14160c;
}
html[data-comfort="on"] .suggest button:hover,
html[data-comfort="on"] .suggest button:focus-visible,
html[data-comfort="on"] .suggest button.is-active {
  background: #eef3d4;
  color: #14160c;
}
html[data-comfort="on"] .locate-permit {
  background: #fff;
  color: #14160c;
  border: 2px solid #14160c;
}
html[data-comfort="on"] .heart,
html[data-comfort="on"] .heart-inline {
  background: #fff;
  border: 2px solid #14160c;
  color: #14160c;
}
html[data-comfort="on"] .heart.liked,
html[data-comfort="on"] .heart[aria-pressed="true"] {
  background: #14160c;
  color: #fff;
  border-color: #14160c;
}
html[data-comfort="on"] .map-jump:not(.cc-pin),
html[data-comfort="on"] .share-event,
html[data-comfort="on"] .cc-confirm {
  background: #fff;
  border-color: #14160c;
  color: #14160c;
}
html[data-comfort="on"] .cc-confirm:hover,
html[data-comfort="on"] .cc-confirm:focus-visible {
  border-color: #14160c;
  color: #14160c;
  background: rgba(20, 22, 12, .08);
}
.cal-jump {
  display: inline-block; margin-left: 0.4em; color: #d8ff43; font-size: 0.875rem; font-weight: 700;
  text-decoration: none; border-bottom: 1px solid currentColor;
}
.cal-jump:hover, .cal-jump:focus-visible { color: #f4f1e8; }
.share-actions a.show-confirm-calendar { margin-left: 0.75em; }
.show-confirm-note { margin: 10px 0 0; color: #8e8e85; font-size: 0.8125rem; line-height: 1.45; }
html[data-comfort="on"] .cal-jump { color: #14160c; }
html[data-comfort="on"] .cal-jump:hover,
html[data-comfort="on"] .cal-jump:focus-visible { color: #111; }
html[data-comfort="on"] .show-confirm-note { color: #2a2a28; }
html[data-comfort="on"] .web-jump {
  background: transparent;
  border: 0;
  color: #14160c;
}
html[data-comfort="on"] .map-jump:not(.cc-pin):hover,
html[data-comfort="on"] .map-jump:not(.cc-pin):focus-visible {
  background: rgba(20, 22, 12, .08);
  border-color: #14160c;
  color: #14160c;
}
html[data-comfort="on"] .web-jump:hover,
html[data-comfort="on"] .web-jump:focus-visible {
  background: transparent;
  color: #3d4a12;
}
html[data-comfort="on"] .band-tile,
html[data-comfort="on"] .venue-tile,
html[data-comfort="on"] .fav-card {
  background: #fff;
  border: 2px solid #14160c;
  color: #14160c;
}
html[data-comfort="on"] .band-tile .name,
html[data-comfort="on"] .band-tile .name:hover,
html[data-comfort="on"] .band-tile .name:focus-visible,
html[data-comfort="on"] .fav-card .event-title,
html[data-comfort="on"] .fav-card .act a.band-link,
html[data-comfort="on"] .room-block .venue-name {
  color: #14160c;
}
html[data-comfort="on"] .band-tile .genres,
html[data-comfort="on"] .fav-date,
html[data-comfort="on"] .room-block .phone-town,
html[data-comfort="on"] .room-block .phone-street,
html[data-comfort="on"] .room-block .phone-state,
html[data-comfort="on"] .phone-card .phone-town,
html[data-comfort="on"] .phone-card .phone-street,
html[data-comfort="on"] .phone-card .phone-state,
html[data-comfort="on"] .place-line,
html[data-comfort="on"] .place-line .place-town,
html[data-comfort="on"] .band-public .section-label,
html[data-comfort="on"] .browse .card-section h2,
html[data-comfort="on"] .band-quiet {
  color: #2a2a28;
}
html[data-comfort="on"] .band-public a:not(.map-jump):not(.web-jump),
html[data-comfort="on"] .place-page a:not(.map-jump):not(.web-jump),
html[data-comfort="on"] .about a:link,
html[data-comfort="on"] .about a:visited {
  color: #14160c;
}
html[data-comfort="on"] .band-public a:not(.map-jump):not(.web-jump):hover,
html[data-comfort="on"] .band-public a:not(.map-jump):not(.web-jump):focus-visible,
html[data-comfort="on"] .place-page a:not(.map-jump):not(.web-jump):hover,
html[data-comfort="on"] .place-page a:not(.map-jump):not(.web-jump):focus-visible,
html[data-comfort="on"] .about a:hover,
html[data-comfort="on"] .about a:focus-visible {
  color: #3d4a12;
}
html[data-comfort="on"] .act-icons a,
html[data-comfort="on"] .platform-icons a {
  background: transparent;
  border: 0;
  color: #14160c;
}

/* Facebook tonight approval page (admin only). */
.fb-region {
  margin: 0 0 2rem;
}
.fb-region h2 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
}
.fb-region .hint a {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.fb-tonight {

  display: grid;
  gap: 24px;
  margin: 18px 0 28px;
  align-items: start;
}
@media (min-width: 900px) {
  .fb-tonight { grid-template-columns: minmax(220px, 360px) 1fr; }
}
.fb-posters {
  display: grid;
  gap: 16px;
}
.fb-poster {
  margin: 0;
  background: #111;
  border: 1px solid #33332e;
  border-radius: 16px;
  overflow: hidden;
}
.fb-poster img {
  display: block;
  width: 100%;
  height: auto;
}
.fb-poster figcaption {
  margin: 0;
  padding: 8px 12px 10px;
  font-size: 0.8rem;
  color: #9a988e;
}
.fb-status {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 99px;
  border: 1px solid #4a5226;
  color: var(--acid);
  font-size: 0.875rem;
  font-weight: 600;
}
.fb-status[data-status="skipped"],
.fb-status[data-status="expired"],
.fb-status[data-status="zero_shows"],
.fb-status[data-status="error"] {
  border-color: #5a2e28;
  color: #ffb4a8;
}
.fb-status[data-status="posted"] {
  border-color: #2a6a4a;
  color: #9fe7bf;
}
.fb-tonight textarea {
  width: 100%;
  min-height: 22rem;
  font: inherit;
  line-height: 1.45;
  white-space: pre-wrap;
}
.fb-message {
  white-space: pre-wrap;
  background: #161614;
  border: 1px solid #33332e;
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  line-height: 1.45;
}
.fb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.fb-flag {
  border: 1px solid #5a2e28;
  background: #1a1210;
  color: #ffb4a8;
  border-radius: 12px;
  padding: 12px 16px;
  margin: 0 0 16px;
}
.fb-flag ul { margin: 8px 0 0; padding-left: 1.2em; }
html[data-comfort="on"] .fb-poster { background: #fff; border-color: #14160c; }
html[data-comfort="on"] .fb-poster figcaption { color: #14160c; }
html[data-comfort="on"] .fb-tonight textarea,
html[data-comfort="on"] .fb-message {
  background: #fff;
  border-color: #14160c;
  color: #14160c;
}
html[data-comfort="on"] .fb-tonight .card-form {
  background: #fff;
  border-color: #14160c;
  color: #14160c;
}
html[data-comfort="on"] .fb-status { color: #3d4a12; border-color: #14160c; }
html[data-comfort="on"] .fb-flag {
  background: #fff4f1;
  border-color: #8a3a30;
  color: #6c241c;
}


/* Manage UX: desktop nav, 44px targets, sticky delete bar, day-mode contrast.
   Scoped to .manage-body / .login so the public calendar is unchanged. */
.manage-desktop-nav { display: none; }
/* Keep the logo in normal flow so it does not sit under View site / Log out. */
.manage-body #manage-bar {
  display: flex;
}
.manage-body #manage-bar .brand {
  position: static;
  left: auto;
  transform: none;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-start;
}
.manage-view-site {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 12px; border-radius: 99px;
  color: inherit; font-size: 0.8125rem; font-weight: 600; text-decoration: none; white-space: nowrap;
}
@media (max-width: 419px) {
  .manage-view-site { padding: 0 8px; font-size: 0.75rem; }
}
.manage-view-site:hover, .manage-view-site:focus-visible { color: var(--acid); }
.manage-nav-label {
  margin: 12px 4px 4px; color: #8e8e85; font-size: 0.6875rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.hub-groups .manage-nav-label, .hub-groups h2.manage-nav-label {
  width: 100%; margin: 28px 0 8px; text-align: center;
}
.shows-range {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 12px;
}
.list-range-note { margin: 0; color: var(--muted); font-size: 0.875rem; }
.date-all {
  min-height: 44px; padding: 0 14px; border: 1px solid #33332e; border-radius: 99px;
  background: #161614; color: #f4f1e8; font-size: 0.8125rem; font-weight: 600; cursor: pointer;
}
.manage-sticky-bar {
  position: fixed; z-index: 25; right: 0; bottom: 0; left: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #33332e; background: rgba(23, 23, 21, .96);
  box-shadow: 0 -8px 24px rgba(0,0,0,.25);
}
.manage-sticky-bar .sticky-count { color: #c8c6bc; font-size: 0.875rem; font-weight: 600; }
.manage-sticky-bar .mass-delete { margin: 0; min-height: 44px; }
main.manage:has(#shows-sticky-bar) { padding-bottom: 96px; }
.manage-body .popover { position: fixed; z-index: 40; width: min(220px, calc(100vw - 16px)); }

.manage-body .icon-btn,
.manage .grid-table .icon-btn {
  width: 44px; height: 44px; min-width: 44px; min-height: 44px;
}
.manage-body .hub-link,
.manage-body .today-shortcut,
.manage-body .manage-jump a,
.manage-body .date-all,
.login button {
  min-height: 44px; height: auto;
}
.manage-body .manage input:not([type="range"]):not([type="file"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.manage-body .manage select,
.manage-body .grid-table .filters input,
.manage-body .grid-table .filters select,
.manage-body .phone-find > input[type="search"],
.login input[type="password"] {
  min-height: 44px; height: 44px;
}
.manage-body .check,
.manage-body td:has(> input[type="checkbox"]),
.manage-body .grid-table thead tr.filters th:has(> input[type="checkbox"]) {
  min-height: 44px;
}
.manage-body input[type="checkbox"] {
  width: 22px; height: 22px; min-width: 22px; min-height: 22px;
}
.manage-body .check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 0; }
.manage-body .check input { width: 22px; height: 22px; }

@media (min-width: 900px) {
  .manage-body #menu-btn { display: none; }
  .manage-body #manage-bar {
    height: auto; min-height: 56px; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  }
  .manage-body #manage-bar .brand {
    position: static; transform: none; left: auto; flex: none;
  }
  .manage-desktop-nav {
    display: flex; flex: 1 1 520px; flex-wrap: wrap; align-items: center; gap: 6px 14px; min-width: 0;
  }
  .manage-nav-primary { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
  .manage-nav-primary a,
  .manage-nav-list-links a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 10px;
    color: #f4f1e8; font-size: 0.8125rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  }
  .manage-nav-primary a:hover,
  .manage-nav-primary a:focus-visible,
  .manage-nav-primary a[aria-current="page"],
  .manage-nav-list-links a:hover,
  .manage-nav-list-links a:focus-visible,
  .manage-nav-list-links a[aria-current="page"] { color: var(--acid); }
  .manage-nav-lists {
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
    padding-left: 12px; border-left: 1px solid #33332e;
  }
  .manage-desktop-nav .manage-nav-label { margin: 0 4px 0 0; }
  .manage-nav-list-links { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
}

/* Day / Comfort mode for manage pages only. */
html[data-comfort="on"] .manage-body {
  background: #F3E6C8;
  color: #14160c;
}
html[data-comfort="on"] .manage-body .lede,
html[data-comfort="on"] .manage-body .hint,
html[data-comfort="on"] .manage-body .list-count,
html[data-comfort="on"] .manage-body .list-range-note,
html[data-comfort="on"] .manage-body .manage-nav-label,
html[data-comfort="on"] .manage-body .field-label,
html[data-comfort="on"] .manage-body .sticky-count { color: #3d3d36; }
html[data-comfort="on"] .manage-body .card-form,
html[data-comfort="on"] .login form,
html[data-comfort="on"] .manage-body .popover,
html[data-comfort="on"] .manage-body .hub-link,
html[data-comfort="on"] .manage-body .date-all {
  background: #fff;
  border-color: #14160c;
  color: #14160c;
}
html[data-comfort="on"] .manage-body .manage input,
html[data-comfort="on"] .manage-body .manage select,
html[data-comfort="on"] .manage-body .manage textarea,
html[data-comfort="on"] .login input,
html[data-comfort="on"] .manage-body .grid-table .filters input,
html[data-comfort="on"] .manage-body .grid-table .filters select,
html[data-comfort="on"] .manage-body .phone-find > input[type="search"] {
  background: #fff;
  border-color: #14160c;
  color: #14160c;
}
html[data-comfort="on"] .manage-body .manage label,
html[data-comfort="on"] .login label { color: #3d3d36; }
html[data-comfort="on"] .manage-body .check { color: #14160c; }
html[data-comfort="on"] .manage-body .icon-btn,
html[data-comfort="on"] .manage-body .today-shortcut,
html[data-comfort="on"] .manage-body .manage-jump a,
html[data-comfort="on"] .manage-body button:not(.danger) {
  background: #fff;
  border-color: #14160c;
  color: #14160c;
}
html[data-comfort="on"] .manage-body button.danger { background: #fff; border-color: #8a3a30; color: #8a3a30; }
html[data-comfort="on"] .manage-body .grid-table th,
html[data-comfort="on"] .manage-body .grid-table td { border-color: rgba(20, 22, 12, .2); color: #14160c; }
html[data-comfort="on"] .manage-body .grid-table td a:not(.icon-btn) { color: #3d4a12; }
html[data-comfort="on"] .manage-body .grid-table td a:not(.icon-btn):hover,
html[data-comfort="on"] .manage-body .grid-table td a:not(.icon-btn):focus-visible { color: #14160c; }
html[data-comfort="on"] .manage-body .manage-sticky-bar {
  background: rgba(243, 230, 200, .96);
  border-top-color: #14160c;
}
html[data-comfort="on"] .manage-nav-lists { border-left-color: #14160c; }
html[data-comfort="on"] .manage-nav-primary a,
html[data-comfort="on"] .manage-nav-list-links a,
html[data-comfort="on"] .manage-view-site,
html[data-comfort="on"] .manage-body #manage-bar .brand { color: #14160c; }
html[data-comfort="on"] .manage-nav-primary a:hover,
html[data-comfort="on"] .manage-nav-primary a:focus-visible,
html[data-comfort="on"] .manage-nav-primary a[aria-current="page"],
html[data-comfort="on"] .manage-nav-list-links a:hover,
html[data-comfort="on"] .manage-nav-list-links a:focus-visible,
html[data-comfort="on"] .manage-nav-list-links a[aria-current="page"],
html[data-comfort="on"] .manage-view-site:hover { color: #3d4a12; }
html[data-comfort="on"] .manage-body .drawer {
  background: #F3E6C8;
  border-right-color: #14160c;
}
html[data-comfort="on"] .manage-body .drawer a {
  background: #fff;
  color: #14160c;
}
@media (max-width: 959px) {
  html[data-comfort="on"] .manage-body .drawer a { background: #fff; color: #14160c; }
}
html[data-comfort="on"] .manage-body .drawer a[aria-current="page"] { color: #3d4a12; }
@media (max-width: 700px) {
  html[data-comfort="on"] .manage-body .grid-table tbody tr {
    background: #fff;
    border-color: #14160c;
    color: #14160c;
  }
  html[data-comfort="on"] .manage-body .grid-table td[data-label]:not([data-label=""])::before { color: #5c5c56; }
}


/* Scrape review (manage only). */
.scrape-filters {
  display: flex; flex-wrap: wrap; align-items: end; gap: 12px 16px;
  margin: 0 0 16px;
}
.scrape-filters label {
  display: flex; flex-direction: column; gap: 4px;
  color: var(--muted); font-size: 0.75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.scrape-filters .date-all { text-decoration: none; }
.scrape-filters select,
.scrape-filters input[type="date"],
.scrape-filters button {
  min-height: 44px; min-width: 44px;
}
.scrape-summary { margin: 0 0 16px; padding: 12px 16px; }
.scrape-pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 28px; padding: 0 10px; border-radius: 99px;
  border: 1px solid #33332e; background: #161614;
  font-size: 0.75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap;
}
.scrape-pill-new { color: #b6e3c5; border-color: #2d5a3c; }
.scrape-pill-updated { color: #e2c56b; border-color: #5a4a1e; }
.scrape-pill-imported { color: #c8c6bc; }
.scrape-diffs { margin: 6px 0 0; padding-left: 1.1em; color: #c8c6bc; font-size: 0.8125rem; }
.scrape-diffs .diff-field { font-weight: 700; color: #f4f1e8; }
.scrape-review-table td a { font-weight: 600; }

/* Scrape review table, phone cards, and filter fold. Scoped to this page. */
.scrape-review { overflow-x: hidden; }
.scrape-filter-panel { margin: 0 0 16px; }
.scrape-filter-check {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
#scrape-filter-toggle,
.manage .scrape-filter-toggle,
.scrape-filter-toggle {
  display: none;
  cursor: pointer;
  width: max-content;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #33332e;
  border-radius: 10px;
  background: #161614;
  color: #f4f1e8;
  font-weight: 700;
  font-size: 0.875rem;
}
.scrape-review-desktop { width: 100%; overflow: hidden; }
.scrape-review-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.scrape-review-table th,
.scrape-review-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #292925;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: normal;
  overflow-wrap: normal;
}
.scrape-review-table .scrape-col-kind { width: 7rem; }
.scrape-review-table .scrape-col-title { width: 22%; }
.scrape-review-table .scrape-col-band { width: 16%; }
.scrape-review-table .scrape-col-venue { width: 18%; }
.scrape-review-table .scrape-col-when { width: 11.5rem; }
.scrape-review-table .scrape-col-price { width: 6.5rem; }
.scrape-review-table .scrape-col-edit { width: 6.25rem; text-overflow: clip; }
.scrape-review-table .scrape-col-review { width: 12rem; }
.scrape-edit-btn {
  display: inline-block;
  white-space: nowrap;
  padding: 4px 10px;
  border: 1px solid #33332e;
  border-radius: 8px;
  background: #161614;
  color: var(--acid);
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1.2;
  text-decoration: none;
}
.scrape-edit-btn:hover,
.scrape-edit-btn:focus-visible { color: #f4f1e8; }
.scrape-review-cards { display: none; list-style: none; margin: 0; padding: 0; }
.scrape-card {
  display: block;
  padding: 12px 14px;
  margin: 0 0 8px;
  border: 1px solid #33332e;
  border-radius: 12px;
  background: #161614;
  color: inherit;
  text-decoration: none;
  min-height: 44px;
}
.scrape-card-line1,
.scrape-card-line2 {
  display: flex;
  gap: 8px;
  min-width: 0;
  align-items: baseline;
}
.scrape-card-line2 { margin-top: 2px; color: var(--muted); font-size: 0.875rem; }
.scrape-card-title,
.scrape-card-venue {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}
.scrape-card-when,
.scrape-card-band {
  flex: 0 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.scrape-card-static .muted { display: block; margin-top: 4px; font-size: 0.75rem; }
@media (min-width: 701px) {
  #scrape-filter-check,
  #scrape-filter-toggle,
  .manage .scrape-filter-check,
  .manage .scrape-filter-toggle {
    display: none !important;
  }
  .scrape-filter-panel > .scrape-filters { display: flex; }
}
@media (max-width: 700px) {
  .scrape-review-desktop { display: none; }
  .scrape-review-cards { display: block; }
  #scrape-filter-toggle,
  .manage .scrape-filter-toggle,
  .scrape-filter-toggle { display: inline-flex; align-items: center; }
  .scrape-filter-check:not(:checked) ~ .scrape-filters { display: none; }
  .scrape-filter-panel { margin: 0 0 12px; }
}

/* Platform and donation icon slot editor (manage only). */
.icon-slots {
  display: grid;
  gap: 16px;
  margin: 0 0 12px;
}
@media (min-width: 701px) {
  .icon-slots { grid-template-columns: 1fr 1fr; }
}
.icon-slot {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #33332e;
  border-radius: 12px;
  min-width: 0;
}
.icon-slot legend { padding: 0 6px; font-weight: 700; }
.icon-slot-thumbs { display: inline-flex; gap: 8px; align-items: center; }

/* Facebook region settings (from main / PR A). */
.region-settings { margin-top: 28px; }
.region-alerts {
  width: 100%;
  border: 1px solid #5a2e28;
  background: #1a1210;
  color: #ffb4a8;
  border-radius: 12px;
  padding: 12px 16px;
}
.region-alerts ul { margin: 0; padding-left: 1.2em; }
.region-alerts .region-error { font-weight: 600; }
.region-card {
  width: 100%;
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid #292925;
  border-radius: 16px;
  background: #121210;
  box-sizing: border-box;
}
.region-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  width: 100%;
  margin: 0 0 10px;
}
@media (min-width: 720px) {
  .region-grid { grid-template-columns: 1fr 1fr; }
}
.region-card .region-towns { min-height: 10rem; }
.region-actions { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; margin-top: 8px; }
.region-remove { background: #2a1614; border-color: #5a2e28; }
html[data-comfort="on"] .region-card,
html[data-comfort="on"] form.region-settings {
  background: #fff;
  border-color: #14160c;
  color: #14160c;
}
html[data-comfort="on"] form.region-settings input,
html[data-comfort="on"] form.region-settings select,
html[data-comfort="on"] form.region-settings textarea {
  background: #fff;
  border-color: #14160c;
  color: #14160c;
}
html[data-comfort="on"] .region-alerts {
  background: #fff4f1;
  border-color: #8a3a30;
  color: #6c241c;
}
html[data-comfort="on"] .region-remove {
  background: #fff4f1;
  border-color: #8a3a30;
  color: #6c241c;
}


/* Facebook tonight: auto-approve setting and recent post log. */
.fb-auto-approve {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  margin: 24px 0 16px; padding: 16px;
}
.fb-auto-approve .check { min-height: 44px; margin: 0; }
.fb-auto-approve input[type="time"],
.fb-auto-approve button { min-height: 44px; }
.fb-auto-approve .hint { flex: 1 1 100%; margin: 0; }
.fb-post-log { margin: 28px 0 12px; }
.fb-post-log h2 { margin: 0 0 12px; font-size: 1.15rem; }
.fb-log-pill {
  display: inline-flex; align-items: center; min-height: 24px; margin-left: 8px;
  padding: 0 8px; border: 1px solid #5a4a1e; border-radius: 99px;
  color: #e2c56b; font-size: 0.6875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
html[data-comfort="on"] .fb-auto-approve {
  background: #fff;
  border: 1px solid #14160c;
  color: #14160c;
}
html[data-comfort="on"] .fb-auto-approve .hint,
html[data-comfort="on"] .fb-auto-approve .check,
html[data-comfort="on"] .fb-post-log {
  color: #14160c;
}
html[data-comfort="on"] .fb-auto-approve input[type="time"],
html[data-comfort="on"] .fb-auto-approve button {
  background: #fff;
  border: 1px solid #14160c;
  color: #14160c;
}
html[data-comfort="on"] .fb-log-pill {
  background: #fff; border-color: #6a4e00; color: #6a4e00;
}
@media (max-width: 700px) {
  html[data-comfort="on"] .fb-post-log tbody tr {
    background: #fff;
    border-color: #14160c;
    color: #14160c;
  }
  html[data-comfort="on"] .fb-post-log td,
  html[data-comfort="on"] .fb-post-log a {
    color: #14160c;
  }
}

/* Manage theme tokens: one set of colors for every /manage page, in both modes.
   Scoped to .manage-body so the public calendar is unchanged. Visual only. */
.manage-body {
  --manage-bg: #0d0d0c;
  --manage-text: #f4f1e8;
  --manage-muted: #95958d;
  --manage-label: #b8b8af;
  --manage-panel: #171715;
  --manage-panel-border: #292925;
  --manage-input-bg: #10100e;
  --manage-input-border: #33332e;
  --manage-input-text: #f4f1e8;
  --manage-button-bg: #161614;
  --manage-button-border: #33332e;
  --manage-button-text: #f4f1e8;
  --manage-accent: #d8ff43;
  --manage-accent-text: #14160c;
  --manage-link: #d8ff43;
  --manage-link-hover: #f4f1e8;
  --manage-danger: #ffb4a8;
  --manage-danger-border: #8a3a30;
  --manage-danger-text: #ffb4a8;
  --manage-danger-bg: #2a1614;
  --manage-alert-bg: #1a1210;
  --manage-alert-border: #5a2e28;
  --manage-alert-text: #ffb4a8;
  --manage-ok: #9fe7bf;
  --manage-ok-border: #2a6a4a;
  --manage-warn: #e2c56b;
  --manage-warn-border: #5a4a1e;
  --manage-header-bg: rgba(13, 13, 12, .88);
  --manage-header-border: #2b2b27;
  --manage-sticky-bg: rgba(23, 23, 21, .96);
  --manage-drawer-bg: #000;
  --manage-focus: #d8ff43;
  --manage-hover: rgba(216, 255, 67, .12);
  --manage-table-border: #292925;
  --manage-table-text: #f4f1e8;
  --manage-thumb-bg: #10100e;
  --manage-crop-bg: #292925;
  --manage-icon: #f4f1e8;
  background: var(--manage-bg);
  color: var(--manage-text);
}

html[data-comfort="on"] .manage-body {
  --manage-bg: #F3E6C8;
  --manage-text: #14160c;
  --manage-muted: #3d3d36;
  --manage-label: #3d3d36;
  --manage-panel: #fff;
  --manage-panel-border: #14160c;
  --manage-input-bg: #fff;
  --manage-input-border: #14160c;
  --manage-input-text: #14160c;
  --manage-button-bg: #fff;
  --manage-button-border: #14160c;
  --manage-button-text: #14160c;
  --manage-accent: #3d4a12;
  --manage-accent-text: #14160c;
  --manage-link: #3d4a12;
  --manage-link-hover: #14160c;
  --manage-danger: #8a3a30;
  --manage-danger-border: #8a3a30;
  --manage-danger-text: #8a3a30;
  --manage-danger-bg: #fff4f1;
  --manage-alert-bg: #fff4f1;
  --manage-alert-border: #8a3a30;
  --manage-alert-text: #6c241c;
  --manage-ok: #1d5a32;
  --manage-ok-border: #1d5a32;
  --manage-warn: #6a4e00;
  --manage-warn-border: #6a4e00;
  --manage-header-bg: #F7EED8;
  --manage-header-border: #14160c;
  --manage-sticky-bg: #F7EED8;
  --manage-drawer-bg: #F7EED8;
  --manage-focus: #3d4a12;
  --manage-hover: rgba(20, 22, 12, .08);
  --manage-table-border: rgba(20, 22, 12, .2);
  --manage-table-text: #14160c;
  --manage-thumb-bg: #fff;
  --manage-crop-bg: #E8D7B0;
  --manage-icon: #14160c;
  background: var(--manage-bg);
  color: var(--manage-text);
}

.manage-body #manage-bar {
  background: var(--manage-header-bg);
  border-bottom-color: var(--manage-header-border);
  color: var(--manage-text);
}
.manage-body #manage-bar .brand,
.manage-body #manage-bar .icon-hit,
.manage-body .manage-view-site {
  color: var(--manage-icon);
}
.manage-body #manage-bar .icon-hit:hover,
.manage-body #manage-bar .icon-hit:focus-visible,
.manage-body #manage-bar .icon-hit[aria-expanded="true"],
.manage-body .manage-view-site:hover,
.manage-body .manage-view-site:focus-visible {
  color: var(--manage-accent);
  background: var(--manage-hover);
}

/* Same half-circle toggle as the public site: never a yellow pill background. */
.manage-body #comfort-btn.icon-hit,
.manage-body #comfort-btn.icon-hit[aria-pressed="true"],
.manage-body .login #comfort-btn.icon-hit,
html[data-comfort="on"] .manage-body #comfort-btn.icon-hit[aria-pressed="true"],
html[data-comfort="on"] .manage-body .site-bar #comfort-btn.icon-hit[aria-pressed="true"],
html[data-comfort="on"] .manage-body .login #comfort-btn.icon-hit[aria-pressed="true"] {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  color: var(--manage-icon);
}
.manage-body #comfort-btn.icon-hit:hover,
.manage-body #comfort-btn.icon-hit:focus-visible,
html[data-comfort="on"] .manage-body #comfort-btn.icon-hit[aria-pressed="true"]:hover,
html[data-comfort="on"] .manage-body #comfort-btn.icon-hit[aria-pressed="true"]:focus-visible,
html[data-comfort="on"] .manage-body .site-bar #comfort-btn.icon-hit[aria-pressed="true"]:hover,
html[data-comfort="on"] .manage-body .site-bar #comfort-btn.icon-hit[aria-pressed="true"]:focus-visible {
  background: var(--manage-hover);
  color: var(--manage-icon);
}

.manage-body .login-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-bottom: 18px;
}
.manage-body .login .brand,
.manage-body .login-top .brand { margin-bottom: 0; color: var(--manage-icon); }

.manage-body .lede,
.manage-body .hint,
.manage-body .list-count,
.manage-body .list-range-note,
.manage-body .manage-nav-label,
.manage-body .field-label,
.manage-body .sticky-count,
.manage-body .manage label,
.manage-body .login label { color: var(--manage-label); }

.manage-body .card-form,
.manage-body .edit-row,
.manage-body .add-row,
.manage-body .login form,
.manage-body .popover,
.manage-body .hub-link,
.manage-body .date-all,
.manage-body .scrape-summary,
.manage-body .region-card,
.manage-body form.region-settings,
.manage-body .fb-auto-approve,
.manage-body .fb-message,
.manage-body .fb-poster,
.manage-body .fb-tonight .card-form {
  background: var(--manage-panel);
  border-color: var(--manage-panel-border);
  color: var(--manage-text);
}

.manage-body .manage input:not([type="range"]):not([type="file"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.manage-body .manage select,
.manage-body .manage textarea,
.manage-body .login input,
.manage-body .grid-table .filters input,
.manage-body .grid-table .filters select,
.manage-body .phone-find > input[type="search"],
.manage-body .fb-tonight textarea,
.manage-body .fb-auto-approve input[type="time"],
.manage-body form.region-settings input,
.manage-body form.region-settings select,
.manage-body form.region-settings textarea {
  background: var(--manage-input-bg);
  border-color: var(--manage-input-border);
  color: var(--manage-input-text);
}

.manage-body .manage input:not([type="range"]):not([type="file"]):not([type="hidden"]):focus-visible,
.manage-body .manage select:focus-visible,
.manage-body .manage textarea:focus-visible,
.manage-body .login input:focus-visible,
.manage-body .login button:focus-visible,
.manage-body .manage button:focus-visible,
.manage-body .icon-hit:focus-visible,
.manage-body .icon-btn:focus-visible,
.manage-body .hub-link:focus-visible,
.manage-body .manage-view-site:focus-visible,
.manage-body .date-all:focus-visible,
.manage-body a:focus-visible {
  outline: 2px solid var(--manage-focus);
  outline-offset: 2px;
}

.manage-body .icon-btn,
.manage-body .today-shortcut,
.manage-body .manage-jump a,
.manage-body .date-all,
.manage-body .manage button:not(.danger):not(.icon-hit):not(.icon-btn),
.manage-body .login button:not(.icon-hit),
.manage-body .fb-auto-approve button {
  background: var(--manage-button-bg);
  border-color: var(--manage-button-border);
  color: var(--manage-button-text);
}
.manage-body #manage-bar .today-shortcut { white-space: nowrap; }
.manage-body .manage button.save-ready.is-dirty {
  background: var(--manage-accent);
  border-color: var(--manage-accent);
  color: var(--manage-accent-text);
}
.manage-body .form-cancel,
.manage-body .manage button.save-ready:not(.fb-confirm) {
  background: var(--manage-button-bg);
  border-color: var(--manage-button-border);
  color: var(--manage-button-text);
  box-sizing: border-box;
  min-width: var(--form-action-min-width);
  height: var(--form-action-height);
  min-height: var(--form-action-height);
  max-height: var(--form-action-height);
  padding: 0 var(--form-action-pad-x);
  font-size: var(--form-action-font);
  line-height: 1;
}
.form-action-pair > .form-cancel,
.form-action-pair > button.save-ready {
  width: 100%;
}
.manage-body .form-cancel:hover,
.manage-body .form-cancel:focus-visible { color: var(--manage-accent); }
@media (max-width: 899px) {
  .manage-body .form-actions-page,
  .manage-body .form-actions-section {
    background: var(--manage-sticky-bg);
    border-bottom-color: var(--manage-panel-border);
  }
}
.manage-body button.danger,
.manage-body .region-remove {
  background: var(--manage-danger-bg);
  border-color: var(--manage-danger-border);
  color: var(--manage-danger-text);
}
.manage-body .error,
.manage-body .region-alerts,
.manage-body .fb-flag {
  background: var(--manage-alert-bg);
  border-color: var(--manage-alert-border);
  color: var(--manage-alert-text);
}
.manage-body .error { background: transparent; border-color: transparent; }

.manage-body .check { color: var(--manage-text); }
.manage-body .grid-table th,
.manage-body .grid-table td {
  border-color: var(--manage-table-border);
  color: var(--manage-table-text);
}
.manage-body .grid-table th.sorted,
.manage-body .grid-table td a:not(.icon-btn),
.manage-body .fb-region .hint a,
.manage-body .fb-post-log a { color: var(--manage-link); }
.manage-body .grid-table td a:not(.icon-btn):hover,
.manage-body .grid-table td a:not(.icon-btn):focus-visible { color: var(--manage-link-hover); }

.manage-body .manage-sticky-bar {
  background: var(--manage-sticky-bg);
  border-top-color: var(--manage-panel-border);
  color: var(--manage-text);
}
.manage-body .drawer {
  background: var(--manage-drawer-bg);
  border-right-color: var(--manage-header-border);
  color: var(--manage-text);
}
.manage-body .drawer a,
.manage-body .drawer button { color: var(--manage-text); }
.manage-body .drawer a:hover,
.manage-body .drawer a:focus-visible,
.manage-body .drawer a[aria-current="page"] { color: var(--manage-accent); }
.manage-body .manage-nav-primary a,
.manage-body .manage-nav-list-links a { color: var(--manage-text); }
.manage-body .manage-nav-primary a:hover,
.manage-body .manage-nav-primary a:focus-visible,
.manage-body .manage-nav-primary a[aria-current="page"],
.manage-body .manage-nav-list-links a:hover,
.manage-body .manage-nav-list-links a:focus-visible,
.manage-body .manage-nav-list-links a[aria-current="page"] { color: var(--manage-accent); }
.manage-body .manage-nav-lists { border-left-color: var(--manage-header-border); }

.manage-body .thumb { background: var(--manage-thumb-bg); }
.manage-body .crop-stage,
.manage-body .card-banner-preview { background: var(--manage-crop-bg); }

.manage-body .scrape-diffs { color: var(--manage-muted); }
.manage-body .scrape-diffs .diff-field { color: var(--manage-text); }
.manage-body .scrape-review .muted { color: var(--manage-muted); }
.manage-body .scrape-pill {
  color: var(--manage-text);
  border-color: var(--manage-panel-border);
  background: var(--manage-panel);
}
.manage-body .scrape-pill-new { color: var(--manage-ok); border-color: var(--manage-ok-border); }
.manage-body .scrape-pill-updated { color: var(--manage-warn); border-color: var(--manage-warn-border); }
.manage-body .scrape-pill-imported { color: var(--manage-muted); }

.manage-body .scrape-filters label,
.manage-body .scrape-card-line2 { color: var(--manage-muted); }
.manage-body .scrape-filter-toggle,
.manage-body .scrape-edit-btn,
.manage-body .scrape-card {
  background: var(--manage-button-bg);
  border-color: var(--manage-button-border);
  color: var(--manage-button-text);
}
.manage-body .scrape-edit-btn { color: var(--manage-link); }
.manage-body .scrape-edit-btn:hover,
.manage-body .scrape-edit-btn:focus-visible { color: var(--manage-link-hover); }
.manage-body .scrape-review-table th,
.manage-body .scrape-review-table td {
  border-bottom-color: var(--manage-table-border);
  color: var(--manage-table-text);
}
.manage-body .icon-slot { border-color: var(--manage-panel-border); }

.manage-body .fb-poster figcaption { color: var(--manage-muted); }
.manage-body .fb-status {
  color: var(--manage-accent);
  border-color: var(--manage-panel-border);
}
.manage-body .fb-status[data-status="skipped"],
.manage-body .fb-status[data-status="expired"],
.manage-body .fb-status[data-status="zero_shows"],
.manage-body .fb-status[data-status="error"] {
  color: var(--manage-danger-text);
  border-color: var(--manage-danger-border);
}
.manage-body .fb-status[data-status="posted"] {
  color: var(--manage-ok);
  border-color: var(--manage-ok-border);
}
.manage-body .fb-log-pill {
  color: var(--manage-warn);
  border-color: var(--manage-warn-border);
  background: var(--manage-panel);
}

.manage-body .suggest,
.manage-body .combo .suggest,
.manage-body .filters .suggest,
.manage-body .phone-find .suggest {
  background: var(--manage-panel);
  border-color: var(--manage-panel-border);
  color: var(--manage-text);
}
.manage-body .suggest button { color: var(--manage-text); background: transparent; }
.manage-body .suggest button:hover,
.manage-body .suggest button:focus-visible,
.manage-body .suggest button.is-active {
  background: var(--manage-hover);
  color: var(--manage-text);
}

@media (max-width: 959px) {
  .manage-body .drawer { background: transparent; }
  .manage-body .drawer a,
  .manage-body .drawer button { background: var(--manage-drawer-bg); color: var(--manage-text); }
}
@media (max-width: 700px) {
  .manage-body .grid-table tbody tr,
  .manage-body .fb-post-log tbody tr {
    background: var(--manage-panel);
    border-color: var(--manage-panel-border);
    color: var(--manage-text);
  }
  .manage-body .grid-table td[data-label]:not([data-label=""])::before { color: var(--manage-muted); }
}
