:root {
  --bg: #171714; --panel: #24231e; --panel2: #302e27; --line: #48443a;
  --text: #fff4df; --muted: #c4bbaa; --accent: #ff7540; --accent2: #40c8c2; --good: #40c8c2; --warn: #ffd34d;
  --radius: 14px;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(900px 420px at 85% -10%, rgba(64,200,194,.14), transparent 65%), radial-gradient(800px 420px at 5% 0%, rgba(255,117,64,.1), transparent 70%), var(--bg); color: var(--text); min-height: 100vh; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, select, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--warn); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 14px; border-radius: 9px; background: var(--warn); color: #261a11; font-weight: 800; transform: translateY(-150%); }
.skip-link:focus-visible { transform: translateY(0); }
main { scroll-margin-top: 90px; }

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 24px; padding: 12px 24px;
  background: linear-gradient(90deg, rgba(255,117,64,.08), transparent 48%, rgba(64,200,194,.07)), rgba(23, 23, 20, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand-logo { display: block; width: auto; height: 52px; filter: drop-shadow(0 2px 2px rgba(0,0,0,.85)) drop-shadow(0 0 9px rgba(255,211,77,.18)); }
nav { display: flex; gap: 4px; flex: 1; }
nav a { padding: 8px 12px; border-radius: 999px; color: var(--muted); white-space: nowrap; }
nav a.on { background: var(--panel2); color: var(--text); }
.global-search { display: flex; flex: 0 1 220px; min-width: 150px; max-width: 260px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); overflow: hidden; }
.global-search:focus-within { border-color: var(--warn); box-shadow: 0 0 0 2px rgba(255,211,77,.15); }
.global-search input { width: 100%; min-width: 0; padding: 7px 4px 7px 12px; border: 0; outline: 0; background: transparent; font-size: 14px; }
.global-search button { width: 38px; border: 0; background: transparent; color: var(--warn); cursor: pointer; font-size: 20px; }
.nav-customize { position: relative; }
.nav-customize summary { padding: 8px 12px; border-radius: 999px; color: var(--muted); cursor: pointer; white-space: nowrap; list-style: none; }
.nav-customize summary::-webkit-details-marker { display: none; }
.nav-customize summary::after { content: "⌄"; margin-left: 6px; }
.nav-customize summary:hover, .nav-customize[open] summary, .nav-customize:has(a.on) summary { background: var(--panel2); color: var(--text); }
.nav-customize-links { position: absolute; top: calc(100% + 8px); right: 0; display: grid; min-width: 150px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.nav-customize-links a { border-radius: 8px; }
.account { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel2); cursor: pointer; font-weight: 700; }
.avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--panel2); display: inline-grid; place-items: center; font-weight: 700; }
.bell { position: relative; font-size: 20px; }
.bell .dot { position: absolute; top: -4px; right: -8px; background: var(--accent2); color: #fff; font-size: 11px; border-radius: 999px; padding: 1px 5px; }

main { max-width: 1100px; margin: 0 auto; padding: 24px; }
.loading, .empty { color: var(--muted); padding: 40px 0; text-align: center; }
h1 { font-size: 32px; margin: 8px 0 4px; letter-spacing: -.5px; }
h2 { font-size: 20px; margin: 32px 0 12px; }
.sub { color: var(--muted); margin: 0 0 20px; }

.btn { border: 1px solid var(--line); background: var(--panel2); padding: 8px 14px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: var(--accent); }
.btn.primary { background: linear-gradient(100deg, #ff7540, #ffd34d); border: 0; color: #261a11; font-weight: 700; }
.btn.on { background: var(--good); color: #0b1a14; border-color: var(--good); font-weight: 600; }
.btn.small { padding: 5px 10px; font-size: 13px; }
.btn.free-action { background: var(--good); border-color: var(--good); color: #0b1a14; font-weight: 800; cursor: default; }
a.btn.free-action { cursor: pointer; }

.filters { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 12px; }
.chip { padding: 5px 10px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); cursor: pointer; font-size: 13px; }
.chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.filters input[type=search], .filters select, .filters input[type=date] { background: var(--panel); border: 1px solid var(--line); padding: 6px 10px; border-radius: 999px; min-width: 0; }
.filters input[type=search] { flex: 0 1 300px; width: min(300px, 100%); }
.filters select { width: auto; max-width: 190px; }
#genre { max-width: 145px; }
#venue { max-width: 190px; }
.show-filters { align-items: center; }
.search-status { min-height: 20px; margin: -6px 0 6px; color: var(--muted); font-size: 13px; }
.artist-hits { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 16px; }
.artist-hits a { background: var(--panel2); padding: 6px 12px; border-radius: 999px; font-size: 14px; }

.day { margin: 28px 0 10px; font-size: 14px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); font-weight: 700; }
.card { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 12px; padding: 11px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 8px; }
.card .img { width: 96px; height: 80px; border-radius: 9px; object-fit: cover; background: linear-gradient(135deg, #374945, #69412d); }
.event-art-fallback { display: grid; place-content: center; gap: 2px; padding: 8px; text-align: center; overflow: hidden;
  background: radial-gradient(circle at 25% 15%, rgba(255,117,64,.5), transparent 30%), linear-gradient(135deg, #374945, #69412d) !important; }
.event-art-fallback span { color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: 2px; }
.event-art-fallback b { color: var(--text); font-size: 12px; line-height: 1.15; text-transform: uppercase; }
.image-fallback { display: grid !important; place-content: center; gap: 4px; padding: 10px; overflow: hidden; background: radial-gradient(circle at 25% 15%, rgba(255,117,64,.5), transparent 30%), linear-gradient(135deg, #374945, #69412d) !important; color: var(--text); text-align: center; }
.image-fallback span { color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: 2px; }
.image-fallback b { max-width: 100%; overflow: hidden; font-size: 12px; line-height: 1.15; text-overflow: ellipsis; text-transform: uppercase; }
.card h3 { margin: 0 0 4px; font-size: 17px; line-height: 1.3; }
.meta { color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.lineup { font-size: 14px; margin: 4px 0; }
.lineup a { color: var(--text); border-bottom: 1px dotted var(--muted); }
.lineup a.fav { color: var(--good); border-color: var(--good); }
.event-artist { display: inline-flex; align-items: center; gap: 7px; margin: 3px 12px 3px 0; max-width: 100%; }
.event-artist a { overflow-wrap: anywhere; }
.event-artist .btn { flex-shrink: 0; min-height: 32px; padding: 4px 9px; font-size: 12px; }
.more-artists summary { cursor: pointer; color: var(--muted); margin: 5px 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag { display: inline-flex; align-items: center; min-height: 26px; font-size: 12px; padding: 4px 8px; border-radius: 999px; background: var(--panel2); color: var(--muted); }
.tag.genre { color: var(--warn); }
.badge { font-size: 12px; padding: 2px 8px; border-radius: 6px; font-weight: 600; }
.badge.sale { background: rgba(255, 117, 64, .15); color: var(--accent); }
.badge.free { background: rgba(64, 200, 194, .15); color: var(--good); }
.badge.out { background: rgba(255, 117, 64, .15); color: #ff9977; }
.reasons { font-size: 13px; color: var(--good); margin-top: 6px; }
.actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.event-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
.event-grid .day { grid-column: 1 / -1; margin-bottom: 0; }
.event-grid .card { grid-template-columns: 80px minmax(0, 1fr); margin: 0; }
.event-grid .card .img { width: 80px; height: 80px; }
.event-grid .actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; justify-content: flex-end; }
.calendar-add { position: relative; }
.calendar-add summary { display: inline-block; list-style: none; }
.calendar-add summary::-webkit-details-marker { display: none; }
.calendar-add-menu { position: absolute; z-index: 5; right: 0; top: calc(100% + 5px); display: grid; min-width: 175px; padding: 5px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel2); box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.calendar-add-menu a { padding: 8px; border-radius: 6px; font-size: 13px; white-space: nowrap; }
.calendar-add-menu a:hover { background: var(--panel); }
.calendar-heading, .calendar-month-nav, .calendar-sync-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.calendar-heading .sub { margin-bottom: 8px; }
.calendar-sync p { margin: 6px 0 12px; color: var(--muted); }
.calendar-sync-actions { justify-content: flex-start; margin-bottom: 10px; }
.calendar-sync small { color: var(--muted); }
.calendar-month-nav { margin: 26px 0 12px; }
.calendar-month-nav h2 { margin: 0; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.calendar-weekday { padding: 4px; color: var(--muted); font-size: 12px; font-weight: 700; text-align: center; }
.calendar-cell, .calendar-blank { min-height: 76px; padding: 8px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
.calendar-cell { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; min-width: 0; text-align: left; cursor: pointer; }
.calendar-cell b { font-size: 15px; }
.calendar-cell .calendar-band { display: -webkit-box; overflow: hidden; color: var(--text); font-size: 12px; font-weight: 650; line-height: 1.2; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.calendar-cell small { color: var(--muted); font-size: 11px; }
.calendar-cell.has-shows { border-color: var(--accent2); background: linear-gradient(135deg, rgba(64,200,194,.18), var(--panel)); }
.calendar-cell.selected { outline: 2px solid var(--warn); outline-offset: -2px; }
.calendar-cell.today b { color: var(--accent); }
.dashboard-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.dashboard-section h2 { margin-top: 26px; }
.date-stamp { display: inline-flex; align-items: stretch; overflow: hidden; min-height: 30px; margin-left: 5px; vertical-align: middle; border: 1px solid rgba(255,255,255,.16); border-radius: 9px; box-shadow: 0 4px 14px rgba(0,0,0,.28); transform: translateY(-1px) rotate(-1deg); white-space: nowrap; }
.date-stamp-month, .date-stamp-weekday { display: grid; place-items: center; padding: 0 7px; font-size: 10px; font-weight: 900; letter-spacing: .8px; text-transform: uppercase; }
.date-stamp-month { background: linear-gradient(135deg, #ff7540, #ffd34d); color: #261a11; }
.date-stamp-day { display: grid; place-items: center; min-width: 31px; padding: 0 6px; background: #f4eee8; color: #17121c; font-size: 18px; font-weight: 950; line-height: 1; }
.date-stamp-weekday { background: var(--panel2); color: var(--muted); }
.dashboard-empty { padding: 18px; text-align: left; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

.hero { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; margin-bottom: 8px; }
.hero img, .hero .ph { width: 220px; height: 220px; border-radius: var(--radius); object-fit: cover; background: linear-gradient(135deg, #374945, #69412d); }
.hero .links { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.desc { color: #e0d4c2; line-height: 1.55; max-width: 720px; white-space: pre-line; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.tile { padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.tile small { color: var(--muted); display: block; }
.tile.dim { opacity: .55; }
.notice { padding: 14px 16px; border-radius: var(--radius); background: var(--panel2); border: 1px solid var(--line); margin: 12px 0; line-height: 1.5; }
.email-prefs label { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; cursor: pointer; }
.email-prefs input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); }
.email-prefs small { display: block; color: var(--muted); }
.notice code { background: var(--bg); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
.alert { padding: 12px 14px; border-bottom: 1px solid var(--line); display: flex; gap: 12px; }
.alert.unread { background: rgba(255, 117, 64, .09); }
.alert time { color: var(--muted); font-size: 12px; white-space: nowrap; }
.cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.playlist-strip { margin: 26px 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(120deg, rgba(30,215,96,.12), transparent 60%), var(--panel); }
.playlist-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.playlist-head h2 { margin: 0 0 2px; font-size: 18px; }
.playlist-head .sub { margin: 0; }
.spotify-embed { display: block; width: 100%; height: 152px; border: 0; border-radius: 12px; }
iframe.spotify { border: 0; border-radius: 12px; width: 100%; max-width: 720px; height: 152px; margin-top: 8px; }
.listen-title { margin: 18px 0 8px; }
.listen-links { margin-top: 0; }
.listen-direct { border-color: var(--accent); }
.listen-search { opacity: .78; }
.foot { text-align: center; color: var(--muted); font-size: 13px; padding: 40px 24px; }
.foot a { text-decoration: underline; }

/* Public landing page */
.landing-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: 36px; align-items: center; min-height: 430px; padding: 52px 46px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: radial-gradient(circle at 12% 8%, rgba(255,117,64,.24), transparent 32%), radial-gradient(circle at 92% 85%, rgba(64,200,194,.2), transparent 30%), linear-gradient(135deg, #2e2920, #1c211f); }
.landing-hero::after { content: ""; position: absolute; inset: auto -90px -130px auto; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.018), 0 0 0 110px rgba(255,255,255,.012); pointer-events: none; }
.landing-copy { position: relative; z-index: 1; }
.landing-copy h1 { max-width: 720px; margin: 8px 0 18px; font-size: clamp(42px, 6vw, 68px); line-height: .98; letter-spacing: -2.8px; }
.landing-lead { max-width: 690px; margin: 0 0 24px; color: #e0d4c2; font-size: 19px; line-height: 1.55; }
.landing-actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.landing-actions .btn { padding: 11px 18px; }
.landing-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.landing-poster { position: relative; z-index: 1; display: flex; min-height: 280px; padding: 28px; flex-direction: column; justify-content: space-between; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: linear-gradient(160deg, rgba(255,117,64,.88), rgba(255,211,77,.58) 44%, rgba(30,72,68,.95) 45%), #1e4844; box-shadow: 0 24px 60px rgba(0,0,0,.35); transform: rotate(2deg); }
.landing-poster-kicker { font-size: 11px; font-weight: 950; letter-spacing: 3px; }
.landing-poster strong { font-size: clamp(36px, 4.5vw, 56px); line-height: .86; letter-spacing: -2px; }
.landing-poster > span:last-child { max-width: 200px; color: #f7ebd7; font-size: 13px; line-height: 1.4; }
.landing-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 16px 0 8px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.landing-stats div { display: flex; gap: 8px; align-items: baseline; justify-content: center; padding: 15px 12px; background: var(--panel); }
.landing-stats strong { color: var(--accent); font-size: 22px; }
.landing-stats span { color: var(--muted); font-size: 13px; }
.landing-section { margin: 52px 0; }
.landing-section > h2 { max-width: 720px; margin-top: 7px; font-size: 30px; }
.landing-section-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 13px; }
.landing-section-head h2 { margin: 5px 0 0; font-size: 30px; }
.landing-section-head > a { color: var(--accent); font-weight: 700; }
.landing-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.landing-benefits article { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, var(--panel2), var(--panel)); }
.landing-benefits article > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: rgba(255,211,77,.13); color: var(--warn); font-size: 20px; font-weight: 900; }
.landing-benefits h3 { margin: 17px 0 8px; font-size: 18px; }
.landing-benefits p { margin: 0; color: var(--muted); line-height: 1.5; }
.landing-how { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: rgba(36,35,30,.78); }
.landing-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 22px; }
.landing-steps > div { display: flex; gap: 12px; align-items: flex-start; }
.landing-steps b { display: grid; flex: 0 0 34px; height: 34px; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #ff7540, #ffd34d); color: #261a11; }
.landing-steps span, .landing-steps strong { display: block; }
.landing-steps span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.landing-steps strong { margin: 2px 0 4px; color: var(--text); font-size: 15px; }
.landing-cta { margin: 52px 0 24px; padding: 38px; border-radius: 20px; background: radial-gradient(circle at 90% 0, rgba(64,200,194,.2), transparent 38%), linear-gradient(135deg, var(--panel2), var(--panel)); text-align: center; }
.landing-cta h2 { margin: 7px 0 20px; font-size: 32px; }
.landing-cta .landing-actions { justify-content: center; }

/* Crawlable Austin show, band, venue, and collection pages. */
.seo-page { padding-bottom: 52px; }
.seo-intro { margin: 12px 0 26px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: radial-gradient(circle at 90% 0, rgba(64,200,194,.18), transparent 34%), linear-gradient(135deg, var(--panel2), var(--panel)); }
.seo-intro h1 { max-width: 820px; margin-top: 3px; }
.seo-intro > p:not(.eyebrow) { max-width: 760px; color: #e0d4c2; line-height: 1.55; }
.eyebrow { margin: 0; color: var(--accent); font-size: 12px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; }
.breadcrumbs { display: flex; gap: 8px; align-items: center; margin: 4px 0 18px; color: var(--muted); font-size: 13px; overflow: hidden; }
.breadcrumbs span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seo-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 360px); gap: 28px; align-items: start; margin-bottom: 28px; }
.seo-detail-copy { padding-top: 10px; }
.seo-lead { color: #e0d4c2; font-size: 17px; line-height: 1.55; }
.seo-poster { width: 100%; max-height: 440px; border: 1px solid var(--line); border-radius: 18px; object-fit: cover; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.seo-artist-image { aspect-ratio: 1; }
.seo-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.seo-event-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.seo-event-card { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; min-height: 112px; padding: 11px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.seo-event-card img, .seo-event-fallback { width: 88px; height: 88px; border-radius: 9px; object-fit: cover; }
.seo-event-fallback { display: grid; place-content: center; background: linear-gradient(135deg, #374945, #69412d); color: var(--accent); text-align: center; font-size: 11px; font-weight: 900; letter-spacing: 1px; }
.seo-event-card h2 { margin: 2px 0 6px; font-size: 16px; line-height: 1.25; }
.seo-event-card p { margin: 0 0 8px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.seo-link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.seo-collection { position: relative; overflow: hidden; }
.seo-collection-banner { width: 100%; max-height: 340px; margin: 12px 0 20px; border-radius: 14px; object-fit: cover; }

@media (max-width: 1250px) {
  .top { flex-wrap: wrap; gap: 8px; padding: 10px 14px; }
  .top nav { display: none; order: 4; flex: 1 1 100%; overflow: visible; padding-top: 8px; border-top: 1px solid var(--line); }
  .top nav.open { display: flex; flex-direction: column; gap: 2px; }
  .top nav a { width: 100%; padding: 9px 11px; border-radius: 8px; }
  .nav-customize summary { padding: 9px 11px; border-radius: 8px; }
  .nav-customize-links { position: static; min-width: 0; margin: 3px 0 0 10px; padding: 2px 0 2px 10px; border: 0; border-left: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; }
  .account { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 720px) {
  .global-search { order: 3; flex: 1 1 100%; max-width: none; }
  .top nav { order: 4; }
  .calendar-cell, .calendar-blank { min-height: 74px; padding: 5px; }
  .calendar-cell .calendar-band { font-size: 10px; }
  .calendar-cell small { font-size: 9px; }
  main { padding: 14px; }
  .card { grid-template-columns: 80px minmax(0, 1fr); }
  .event-grid { grid-template-columns: 1fr; }
  .event-grid .day { grid-column: 1; }
  .event-grid .card { grid-template-columns: 80px minmax(0, 1fr); }
  .event-grid .card .img { width: 80px; height: 80px; }
  .card .img { width: 80px; height: 80px; }
  .actions { grid-column: 1 / -1; flex-direction: row; justify-content: flex-end; }
  .show-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .show-filters input[type=search] { grid-column: 1 / -1; width: 100%; max-width: none; }
  .show-filters select { width: 100%; max-width: 100%; }
  .show-filters #free { justify-self: start; }
  .hero { grid-template-columns: 1fr; }
  .hero img, .hero .ph { width: 100%; height: 240px; }
  .landing-hero { grid-template-columns: 1fr; min-height: 0; padding: 34px 24px; }
  .landing-copy h1 { font-size: clamp(39px, 12vw, 56px); letter-spacing: -2px; }
  .landing-lead { font-size: 17px; }
  .landing-poster { display: none; }
  .landing-stats { grid-template-columns: 1fr; }
  .landing-stats div { justify-content: flex-start; }
  .landing-section { margin: 40px 0; }
  .landing-section-head { align-items: flex-start; }
  .landing-benefits, .landing-steps { grid-template-columns: 1fr; }
  .landing-how, .landing-cta { padding: 24px 20px; }
  .seo-detail { grid-template-columns: 1fr; }
  .seo-poster { order: -1; max-height: 360px; }
  .seo-event-list, .seo-link-grid { grid-template-columns: 1fr; }
}

/* One-time nudge when a member saves competing shows on the same date. */
.poll-offer-modal { position: fixed; inset: 0; z-index: 115; display: grid; place-items: center; padding: 18px; }
.poll-offer-backdrop { position: absolute; inset: 0; background: rgba(5,3,8,.84); backdrop-filter: blur(5px); }
.poll-offer-dialog { position: relative; width: min(480px, 100%); padding: 28px; border: 1px solid rgba(64,200,194,.48); border-radius: 22px; text-align: center;
  background: radial-gradient(circle at 0 0, rgba(64,200,194,.28), transparent 48%), radial-gradient(circle at 100% 100%, rgba(255,117,64,.22), transparent 52%), var(--panel); box-shadow: 0 28px 90px rgba(0,0,0,.65); }
.poll-offer-mark { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 50%; background: linear-gradient(135deg, var(--accent2), var(--warn)); color: #171714; font-size: 34px; font-weight: 1000; }
.poll-offer-dialog h2 { margin: 0; font-size: clamp(27px, 6vw, 38px); line-height: 1.05; }
.poll-offer-shows { display: grid; gap: 6px; margin: 0 0 18px; text-align: left; }
.poll-offer-shows span { padding: 8px 11px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(5,3,8,.35); font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 430px) {
  .brand-logo { height: 42px; }
  .account .btn { padding-inline: 9px; font-size: 0; }
  .account .btn::after { content: "Sign in"; font-size: 12px; }
  .nav-toggle { padding-inline: 9px; }
  .landing-section-head { display: block; }
  .landing-section-head > a { display: inline-block; margin-top: 8px; }
}

@media (max-width: 360px) {
  .top { gap: 6px; padding-inline: 8px; }
  .brand-logo { height: 36px; }
}

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

/* Featured / holiday collections */
.featured { position: relative; margin: 18px 0 26px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(18,15,23,.28), rgba(18,15,23,.58)), var(--holiday-background, none) center / cover, var(--panel); overflow: hidden; }
.featured h1, .featured h2 { margin: 0 0 4px; }
.featured h1, .featured .sub, .holiday-head, .holiday-popup-head { text-shadow: 0 2px 8px rgba(0,0,0,.9); }
.theme-halloween { background: linear-gradient(135deg, rgba(20,5,25,.18), rgba(10,8,20,.48)), var(--holiday-background, none) center / cover, #1a1020 !important; border-color: #6b3a10 !important; }
.theme-thanksgiving { background: linear-gradient(135deg, rgba(80,35,8,.25), rgba(30,15,8,.58)), var(--holiday-background, none) center / cover, var(--panel) !important; }
.theme-christmas { background: linear-gradient(135deg, rgba(70,8,20,.25), rgba(4,45,25,.58)), var(--holiday-background, none) center / cover, var(--panel) !important; }
.theme-nye { background: linear-gradient(135deg, rgba(50,35,5,.22), rgba(22,15,70,.58)), var(--holiday-background, none) center / cover, var(--panel) !important; }
.holiday-strip { margin: 12px 0 18px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.holiday-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.holiday-head h2 { margin: 0; font-size: 16px; }
.holiday-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.holiday-item { flex: 1 0 220px; min-width: 0; display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 8px; padding: 6px; border-radius: 10px; background: rgba(5,3,8,.78); border: 1px solid rgba(255,255,255,.12); }
.holiday-item img, .holiday-thumb { width: 48px; height: 48px; border-radius: 7px; object-fit: cover; background: var(--panel2); }
.holiday-thumb { display: grid; place-items: center; }
.holiday-item b, .holiday-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.holiday-item b { font-size: 13px; }
.holiday-item small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.holiday-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 18px; }
.holiday-backdrop { position: absolute; inset: 0; background: rgba(5,3,8,.78); backdrop-filter: blur(4px); }
.holiday-dialog { position: relative; width: min(560px, 100%); max-height: min(680px, 90vh); overflow: auto; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); box-shadow: 0 24px 80px rgba(0,0,0,.55); }
.holiday-close { position: absolute; top: 8px; right: 10px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(0,0,0,.3); cursor: pointer; font-size: 24px; line-height: 1; }
.holiday-popup-head { display: flex; align-items: flex-start; gap: 10px; padding-right: 30px; }
.holiday-popup-head > span { font-size: 30px; }
.holiday-popup-head h2 { margin: 0 0 3px; }
.holiday-popup-head p { margin: 0; color: var(--muted); }
.holiday-popup-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 16px 0; }
.holiday-popup-list .holiday-item { min-width: 0; }

/* Membership invitation: appears for signed-out visitors after three distinct pages. */
.member-modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 18px; }
.member-backdrop { position: absolute; inset: 0; background: rgba(5,3,8,.82); backdrop-filter: blur(5px); }
.member-dialog { position: relative; width: min(500px, 100%); max-height: min(720px, 92vh); overflow: auto; padding: 30px;
  border: 1px solid rgba(255,211,77,.42); border-radius: 22px; text-align: center;
  background: radial-gradient(circle at 0 0, rgba(255,117,64,.27), transparent 48%), radial-gradient(circle at 100% 100%, rgba(64,200,194,.22), transparent 52%), var(--panel);
  box-shadow: 0 28px 90px rgba(0,0,0,.65); }
.member-close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(0,0,0,.28); color: var(--text); cursor: pointer; font-size: 25px; line-height: 1; }
.member-close:hover { background: rgba(0,0,0,.55); }
.member-mark { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 18px; transform: rotate(-3deg);
  background: linear-gradient(135deg, var(--accent), var(--warn)); color: #171714; font-size: 22px; font-weight: 1000; box-shadow: 0 9px 24px rgba(255,117,64,.28); }
.member-eyebrow { margin: 0 0 5px; color: var(--accent2); font-size: 12px; font-weight: 900; letter-spacing: 1.4px; }
.member-dialog h2 { margin: 0; font-size: clamp(27px, 6vw, 38px); line-height: 1.05; }
.member-lede { max-width: 410px; margin: 10px auto 18px; color: var(--muted); line-height: 1.45; }
.member-benefits { display: grid; gap: 10px; margin: 0 0 20px; padding: 0; list-style: none; text-align: left; }
.member-benefits li { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: rgba(5,3,8,.38); }
.member-benefits li > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: rgba(64,200,194,.14); color: var(--accent2); font-weight: 900; }
.member-benefits b, .member-benefits small { display: block; }
.member-benefits b { font-size: 15px; }
.member-benefits small { margin-top: 2px; color: var(--muted); font-size: 13px; line-height: 1.3; }
.member-join { display: block; width: 100%; padding: 12px 18px; font-size: 16px; }
.member-later { margin-top: 10px; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.member-later:hover { color: var(--text); }

@media (max-width: 600px) {
  .member-dialog { padding: 24px 16px 20px; }
  .member-dialog h2 { padding-inline: 16px; }
  .member-benefits li { padding: 9px 10px; }
}

@media (max-width: 600px) {
  .holiday-item { flex-basis: 200px; }
  .holiday-popup-list { grid-template-columns: 1fr; }
  .holiday-dialog { padding: 16px; }
}

/* Sign-in panel (public/signin.js): Apple, Google, phone, email */
.signin { display: grid; gap: 12px; max-width: 420px; }
.signin-buttons { display: grid; gap: 10px; }
.signin-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--panel2); color: var(--text); font-size: 16px; font-weight: 700; cursor: pointer; transition: transform .15s, border-color .15s; }
.signin-btn:hover { transform: translateY(-1px); border-color: var(--accent); color: var(--text); }
.signin-btn.apple { background: #000; border-color: #000; color: #fff; }
.signin-btn.google { background: #fff; border-color: #747775; color: #1f1f1f; font-family: Arial, sans-serif; font-size: 14px; font-weight: 500; min-height: 44px; }
.signin-btn.google:hover { background: #f8faff; border-color: #747775; color: #1f1f1f; }
.signin-btn[aria-expanded="true"] { border-color: var(--accent2); }
.signin-g { display: block; width: 20px; height: 20px; flex: 0 0 20px; object-fit: contain; }
.signin-form { display: grid; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.signin-form > div:not(.signin-row):not(.signin-tabs) { display: grid; gap: 6px; }
.signin-form label { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.signin-form input { padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); font-size: 16px; }
.signin-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.signin-link { border: 0; background: none; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.signin-tabs { display: flex; gap: 6px; margin-bottom: 4px; }
.signin-msg { min-height: 1.2em; margin: 4px 0 0; font-size: 14px; color: var(--accent2); }
.signin-msg.bad { color: #ff9b85; }
.signin-fine { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.signin-page { max-width: 520px; margin: 24px auto; }
.signin-page h1 { margin-bottom: 18px; }
.signin-new { margin-top: 20px; }
[hidden] { display: none !important; }

/* Privacy policy and terms (src/seo-legal.js) */
.legal { max-width: 760px; line-height: 1.65; }
.legal h2 { margin-top: 28px; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--accent2); text-decoration: underline; text-underline-offset: 3px; }
.foot-follow a { color: var(--accent2); font-weight: 700; }

/* Sign-up call to action on holiday guides */
.guide-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 18px 0; padding: 18px 20px; border-radius: var(--radius);
  border: 1px solid rgba(255,211,77,.45); background: radial-gradient(circle at 0 0, rgba(255,117,64,.25), transparent 55%), radial-gradient(circle at 100% 100%, rgba(64,200,194,.2), transparent 55%), var(--panel); }
.guide-cta b { display: block; font-size: 18px; }
.guide-cta span { display: block; color: var(--muted); margin-top: 4px; }
@media (max-width: 600px) { .guide-cta { flex-direction: column; align-items: flex-start; } }

/* Discover page */
.disc-hero { padding: 28px 0 6px; }
.disc-hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.05; margin: 8px 0; }
.disc-section { margin: 30px 0; }
.disc-head h2 { margin: 0 0 4px; }
.disc-head h2 a { color: var(--accent); }
.disc-head .sub { margin: 0 0 12px; }
.disc-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.disc-tile { scroll-snap-align: start; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.disc-img { display: block; aspect-ratio: 4 / 3; background: var(--panel2); }
.disc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.disc-img span { display: grid; place-items: center; height: 100%; font-weight: 900; color: var(--warn); letter-spacing: 2px; }
.disc-body { display: flex; flex-direction: column; gap: 5px; padding: 12px; flex: 1; }
.disc-body .btn { align-self: flex-start; margin-top: auto; }
.disc-tag { font-size: 12px; font-weight: 800; color: var(--accent2); text-transform: uppercase; letter-spacing: .6px; }
.disc-title { font-weight: 900; font-size: 17px; line-height: 1.2; }
.disc-meta { color: var(--muted); font-size: 13px; }
.disc-free { color: var(--accent2); }
.disc-playlists { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.disc-pl, .disc-genre-player { padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(140deg, rgba(30,215,96,.14), transparent 55%), var(--panel); }
.disc-pl-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.disc-embed { display: block; width: 100%; border: 0; border-radius: 12px; }
.disc-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.disc-person { display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.disc-person small { color: var(--muted); }
.disc-person .btn { align-self: flex-start; }
.disc-genre-player { margin-bottom: 12px; }
.disc-genres { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.disc-genre { display: flex; flex-direction: column; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.disc-genre.on { border-color: #1ed760; box-shadow: 0 0 0 2px rgba(30,215,96,.25); }
.disc-genre small { color: var(--muted); }
.disc-genre-actions { display: flex; gap: 6px; margin-top: 6px; }
@media (max-width: 600px) { .disc-row { grid-auto-columns: 78%; } }
.seo-about { margin: 18px 0; max-width: 640px; }
.seo-about h2 { font-size: 18px; margin: 0 0 6px; }
.seo-about p { color: var(--muted); line-height: 1.6; }

/* Free shows stand out everywhere: teal outline and glow, a FREE stamp on the poster. */
.card { position: relative; }
.card.is-free, .seo-event-card.is-free { border-color: var(--good); box-shadow: 0 0 0 1px var(--good), 0 0 22px rgba(64,200,194,.18); background: linear-gradient(100deg, rgba(64,200,194,.14), var(--panel) 45%); }
.free-ribbon { position: absolute; top: 4px; left: 4px; z-index: 1; padding: 3px 9px; border-radius: 7px; background: var(--good); color: #0b1a14; font-size: 13px; font-weight: 900; letter-spacing: 1.5px; transform: rotate(-7deg); box-shadow: 0 3px 10px rgba(0,0,0,.45); pointer-events: none; }
.card .btn.free-action { font-size: 15px; padding: 7px 16px; letter-spacing: 1px; }
.free-pill { display: inline-block; margin: 4px 0 0; padding: 2px 8px; border-radius: 6px; background: var(--good); color: #0b1a14; font-style: normal; font-size: 12px; font-weight: 900; letter-spacing: 1px; }
.disc-free { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 6px; background: var(--good); color: #0b1a14 !important; font-weight: 900; letter-spacing: 1px; }
.seo-event-card.is-free .badge.free { background: var(--good); color: #0b1a14; font-size: 13px; font-weight: 900; letter-spacing: 1px; }
.holiday-item.is-free { border-color: var(--good); box-shadow: 0 0 0 1px rgba(64,200,194,.6); }

/* Holiday cards: bigger and readable everywhere; stacked full-width on phones. */
.holiday-strip { padding: 14px; }
.holiday-head h2 { font-size: 19px; }
.holiday-item { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 10px; border-radius: 12px; }
.holiday-item img, .holiday-thumb { width: 64px; height: 64px; border-radius: 9px; }
.holiday-item b { font-size: 15px; line-height: 1.25; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.holiday-item small { font-size: 13px; line-height: 1.35; white-space: normal; }
@media (max-width: 600px) {
  .holiday-list { flex-direction: column; overflow: visible; gap: 10px; }
  .holiday-item { flex: 0 0 auto; grid-template-columns: 76px minmax(0, 1fr); padding: 12px; }
  .holiday-item img, .holiday-thumb { width: 76px; height: 76px; }
  .holiday-item b { font-size: 17px; }
  .holiday-item small { font-size: 14px; }
  .holiday-head { flex-wrap: wrap; }
  .holiday-head h2 { font-size: 20px; }
  .holiday-head .btn.small { font-size: 15px; padding: 8px 14px; }
  .holiday-dialog { padding: 18px 14px; }
  .holiday-popup-head h2 { font-size: 22px; }
  .holiday-popup-head p { font-size: 15px; }
  .free-ribbon { font-size: 12px; }
}

.holiday-head-actions { display: inline-flex; align-items: center; gap: 6px; }
.holiday-hide { width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(0,0,0,.35); color: var(--text); cursor: pointer; font-size: 20px; line-height: 1; }
.holiday-hide:hover { background: rgba(0,0,0,.6); }
.holiday-strip { animation: holiday-in .35s ease-out both; }
@keyframes holiday-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .holiday-strip { animation: none; } }

/* Dashboard sections: bright solid banners, one color per list, with a matching stripe beside the list. */
.dashboard-section { --sec: #ff7540; margin-top: 30px; padding-left: 12px; border-left: 4px solid var(--sec); }
.dashboard-section.sec-artists { --sec: #40c8c2; }
.dashboard-section.sec-genres { --sec: #ffd34d; }
.dashboard-section.sec-going { --sec: #f472b6; }
.dashboard-section h2.sec-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px 10px; margin: 0 0 12px -16px; padding: 12px 16px; border-radius: 0 14px 14px 0; background: var(--sec); color: #171714; font-size: 19px; font-weight: 900; line-height: 1.2; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.sec-icon { font-size: 22px; line-height: 1; }
.sec-title { min-width: 0; }
.sec-count { padding: 3px 10px; border-radius: 999px; background: rgba(23,23,20,.88); color: var(--sec); font-size: 13px; font-weight: 800; white-space: nowrap; }
.sec-head .date-stamp { grid-column: 2 / 4; grid-row: 2; justify-self: start; margin: 0; transform: rotate(-2deg); border-color: rgba(23,23,20,.35); }
.dashboard-section .dashboard-empty { border-color: var(--sec); }
@media (max-width: 600px) {
  .dashboard-section { padding-left: 8px; }
  .dashboard-section h2.sec-head { margin-left: -12px; padding: 11px 12px; font-size: 17px; }
}

.calendar-sync { margin-top: 22px; }
.calendar-sync p { margin: 4px 0 12px; }
.calendar-sync-help { margin-top: 2px; color: var(--muted); font-size: 13px; }
.calendar-sync-help summary { cursor: pointer; width: fit-content; }
.calendar-sync-help p { margin: 6px 0 0; font-size: 13px; }

/* Radio (#/radio): one big player, big station tiles. */
.radio-hero h1 { font-size: clamp(30px, 6vw, 44px); margin: 4px 0 6px; }
.radio-now { margin: 18px 0 8px; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: radial-gradient(circle at 10% 0%, rgba(255,117,64,.22), transparent 45%), radial-gradient(circle at 100% 100%, rgba(64,200,194,.18), transparent 45%), var(--panel); scroll-margin-top: 90px; }
.radio-now-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.radio-now-head .radio-emoji { font-size: 46px; }
.radio-now-head h2 { margin: 0; font-size: 28px; }
.radio-now-head .sub { margin: 2px 0 0; }
.radio-player { display: block; width: 100%; height: 380px; border: 0; border-radius: 14px; background: #121212; }
.radio-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.radio-actions .btn { padding: 11px 18px; font-size: 16px; }
.radio-stations-head { margin-top: 28px; }
.radio-stations { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.radio-station { position: relative; display: grid; justify-items: start; gap: 4px; min-height: 120px; padding: 16px; border: 2px solid transparent; border-radius: 18px; background: var(--c); color: #171714; text-align: left; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.3); transition: transform .15s ease, box-shadow .15s ease; }
.radio-station:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.4); }
.radio-station:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
.radio-station .radio-emoji { font-size: 32px; line-height: 1; }
.radio-name { font-size: 20px; font-weight: 900; line-height: 1.15; }
.radio-station small { font-size: 13px; font-weight: 700; opacity: .8; }
.radio-playing { display: none; position: absolute; top: 12px; right: 12px; padding: 3px 9px; border-radius: 999px; background: #171714; color: var(--c); font-size: 12px; font-weight: 900; }
.radio-station.on { border-color: #fff4df; box-shadow: 0 0 0 3px #171714, 0 0 0 5px var(--c), 0 12px 26px rgba(0,0,0,.4); }
.radio-station.on .radio-playing { display: inline-block; }
.radio-note { margin-top: 18px; }
@media (max-width: 600px) {
  .radio-now { padding: 14px; border-radius: 18px; }
  .radio-now-head .radio-emoji { font-size: 38px; }
  .radio-now-head h2 { font-size: 24px; }
  .radio-player { height: 352px; }
  .radio-actions .btn { flex: 1 1 auto; text-align: center; }
  .radio-stations { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .radio-station { min-height: 110px; padding: 14px; }
  .radio-name { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .radio-station { transition: none; } .radio-station:hover { transform: none; } }

/* Calendar: plans (solid orange) vs favorite artists' shows (dashed teal ♡). */
.calendar-chip { display: block; max-width: 100%; overflow: hidden; padding: 2px 6px; border-radius: 6px; font-size: 11.5px; font-weight: 800; line-height: 1.25; white-space: nowrap; text-overflow: ellipsis; }
.calendar-chip.going { background: var(--accent); color: #171714; }
.calendar-chip.fav { border: 1.5px dashed var(--accent2); color: var(--accent2); background: rgba(64,200,194,.08); font-weight: 700; }
.calendar-cell.has-shows { border-color: var(--accent); background: linear-gradient(135deg, rgba(255,117,64,.2), var(--panel)); }
.calendar-cell.has-favs { border-style: dashed; border-color: var(--accent2); background: linear-gradient(135deg, rgba(64,200,194,.1), var(--panel)); }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.calendar-legend .calendar-chip { font-size: 12.5px; padding: 4px 10px; }
.calendar-group { margin: 14px 0 8px; font-size: 15px; }
.calendar-group.going { color: var(--accent); }
.calendar-group.fav { color: var(--accent2); }
@media (max-width: 600px) { .calendar-chip { display: -webkit-box; width: 100%; font-size: 10px; padding: 1px 3px; white-space: normal; overflow-wrap: anywhere; line-height: 1.15; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } }

/* One calendar control: "Add to calendar" + a ▾ for one-off Google / .ics links. */
.plan { display: inline-flex; align-items: stretch; }
.plan .plan-btn { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.plan .calendar-add summary.plan-more { height: 100%; padding: 5px 9px; border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: -1px; }
.plan .plan-btn.on + .calendar-add summary.plan-more { border-color: var(--good); }

/* Post Studio (#/studio) */
.studio-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: 24px; align-items: start; }
.studio-step { margin-bottom: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.studio-step h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 18px; }
.studio-step h2 span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #171714; font-size: 15px; font-weight: 900; }
.studio-step input[type=search], .st-field input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.st-field { display: grid; gap: 6px; margin: 10px 0; font-weight: 700; }
.st-options { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.st-picked { display: grid; gap: 8px; margin-bottom: 12px; }
.st-pick { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: var(--panel2); }
.st-pick > b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--warn); color: #171714; }
.st-pick span small, .st-result small { display: block; color: var(--muted); font-size: 12px; }
.st-pick-btns { display: flex; gap: 4px; }
.st-results, .st-quick { display: grid; gap: 6px; margin-top: 8px; }
.st-result { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); text-align: left; cursor: pointer; }
.st-result:hover { border-color: var(--accent); }
.st-result b { color: var(--accent); font-size: 20px; }
.st-quick-label { margin: 8px 0 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.studio-preview { position: sticky; top: 90px; }
.st-canvas-wrap { position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #171714; box-shadow: 0 16px 40px rgba(0,0,0,.45); }
.st-canvas-wrap[data-format="feed"] { aspect-ratio: 4 / 5; }
.st-canvas-wrap canvas { display: block; width: 100%; height: 100%; }
.st-empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; color: var(--muted); text-align: center; font-weight: 700; }
.st-empty[hidden] { display: none; }
.st-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.st-actions .btn { flex: 1 1 auto; padding: 11px 14px; font-size: 15px; }
.st-actions .btn[disabled] { opacity: .5; cursor: not-allowed; }
.st-status { margin-top: 8px; min-height: 1.4em; }
@media (max-width: 820px) {
  .studio-grid { grid-template-columns: 1fr; }
  .studio-preview { position: static; order: -1; max-width: 340px; margin: 0 auto; width: 100%; }
}

.st-share-label { margin: 14px 0 0; color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.st-share-row { margin-top: 6px; }
.st-net { color: #fff; border: 0; font-weight: 800; }
.st-net.ig { background: linear-gradient(45deg, #f58529, #dd2a7b 55%, #8134af); }
.st-net.tt { background: #111; box-shadow: inset 0 0 0 2px #25f4ee, 3px 0 0 #fe2c55; }
.st-net.fb { background: #1877f2; }
.st-net:hover { filter: brightness(1.1); color: #fff; }
.st-net.st-ready { outline: 3px solid var(--warn); outline-offset: 2px; }

/* Show Picker: private calendar selections become graphics or public friend votes. */
.picker-head { max-width: 760px; margin-bottom: 20px; }
.picker-head h1 { margin-bottom: 8px; }
.picker-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 410px); gap: 24px; align-items: start; }
.picker-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.picker-mode { min-height: 102px; padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: var(--bg); color: var(--text); text-align: left; cursor: pointer; }
.picker-mode:hover, .picker-mode.on { border-color: var(--accent); background: linear-gradient(145deg, rgba(255,117,64,.18), var(--panel2)); }
.picker-mode b, .picker-mode small { display: block; }
.picker-mode small { margin-top: 6px; color: var(--muted); line-height: 1.3; }
.pk-search-label { display: block; margin: 12px 0 6px; font-weight: 800; }
#pk-search { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--text); }
.picker-preview { position: sticky; top: 90px; }
.pk-canvas-wrap { position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 18px; background: #171714; box-shadow: 0 16px 40px rgba(0,0,0,.42); }
.pk-canvas-wrap[data-format="story"] { aspect-ratio: 9 / 16; }
.pk-canvas-wrap canvas { display: block; width: 100%; height: 100%; }
.pk-created { margin-top: 14px; padding: 16px; border: 1px solid var(--accent2); border-radius: 16px; background: linear-gradient(145deg, rgba(64,200,194,.14), var(--panel)); }
.pk-created h2 { margin: 2px 0 8px; font-size: 20px; }
.pk-created p { overflow-wrap: anywhere; }
.vote-head { max-width: 720px; margin: 0 auto 22px; text-align: center; }
.vote-head h1 { margin: 3px 0 8px; }
.vote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; align-items: stretch; }
.vote-showdown { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 1120px; margin: 0 auto; }
.vote-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); transition: border-color .2s, transform .2s; }
.vote-card.selected { border-color: var(--good); box-shadow: 0 0 0 2px rgba(163,230,53,.18); }
.vote-art { position: relative; aspect-ratio: 16 / 10; overflow: visible; background: var(--panel2); }
.vote-art img, .vote-art-fallback { width: 100%; height: 100%; object-fit: cover; }
.vote-art-fallback { display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #171714; font-family: "Archivo Black", Impact, sans-serif; font-size: 30px; line-height: 1.05; text-align: center; }
.vote-copy { padding: 16px; }
.vote-copy h2 { margin: 3px 0 5px; font-size: clamp(20px, 3vw, 28px); }
.vote-copy > p { margin: 4px 0; color: var(--muted); }
.vote-copy .vote-date { color: var(--warn); font-weight: 800; text-transform: uppercase; }
.vote-result { height: 9px; margin-top: 14px; overflow: hidden; border-radius: 999px; background: var(--bg); }
.vote-result span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--warn)); transition: width .35s ease; }
.vote-copy .vote-count { margin-top: 6px; font-size: 13px; }
.vote-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.vote-actions .btn { flex: 1 1 140px; text-align: center; }
.vote-share { max-width: 720px; margin: 26px auto 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); text-align: center; }
.vote-share h2 { margin: 0; font-size: 20px; }
@media (max-width: 800px) {
  .picker-layout { grid-template-columns: 1fr; }
  .picker-preview { position: static; order: -1; width: min(100%, 390px); margin: 0 auto; }
  .picker-modes { grid-template-columns: 1fr; }
  .picker-mode { min-height: 0; }
  /* Keep the shortlist dense on tablets; phones become short scoreboard rows below. */
  .vote-head { margin-bottom: 12px; }
  .vote-head h1 { font-size: clamp(24px, 7vw, 31px); line-height: 1.05; }
  .vote-head > p { margin: 5px 0; }
  .vote-grid, .vote-showdown { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .vote-card { border-radius: 12px; }
  .vote-art { aspect-ratio: 4 / 3; overflow: hidden; }
  .vote-copy { padding: 9px; }
  .vote-copy h2 { display: -webkit-box; min-height: 35px; margin: 3px 0; overflow: hidden; font-size: 15px; line-height: 1.15; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .vote-copy > p { margin: 3px 0; overflow: hidden; font-size: 11px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
  .vote-result { height: 6px; margin-top: 7px; }
  .vote-copy .vote-count { margin-top: 4px; font-size: 11px; }
  .vote-actions { flex-wrap: nowrap; gap: 5px; margin-top: 7px; }
  .vote-actions .btn { flex: 1 1 0; min-width: 0; padding: 7px 4px; font-size: 11px; line-height: 1.1; }
  .vote-share { margin-top: 14px; padding: 12px; }
}
@media (max-width: 560px) {
  .vote-grid, .vote-showdown { grid-template-columns: 1fr; gap: 8px; }
  .vote-card { display: grid; grid-template-columns: clamp(96px, 29vw, 120px) minmax(0, 1fr); }
  .vote-art { width: 100%; height: 100%; min-height: 138px; aspect-ratio: auto; }
  .vote-copy h2 { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .vote-card, .vote-result span { transition: none; } }

/* Formula 1 theme: asphalt + race red, a checkered stripe on top, red/white curbs below, and a car that streaks
   across every few seconds. The guide page header also runs an F1 start sequence (five reds, then lights out). */
.theme-f1 { position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(225,6,0,.38), rgba(14,14,18,.88) 58%), repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 2px, transparent 2px 64px), #141418 !important;
  border-color: #e10600 !important; }
.theme-f1::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; z-index: 0; opacity: .9; pointer-events: none;
  background: repeating-conic-gradient(#fff 0 25%, #111 0 50%) 0 0 / 12px 12px; }
.holiday-strip.theme-f1, .holiday-dialog.theme-f1, .featured.theme-f1 { padding-top: 24px; padding-bottom: 54px; }
.holiday-strip.theme-f1 > *, .holiday-dialog.theme-f1 > *, .featured.theme-f1 > * { position: relative; z-index: 1; }
.theme-f1::after { content: "🏎️"; position: absolute; z-index: 2; bottom: 8px; left: 105%; font-size: 34px; line-height: 1; padding-right: 140px; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.7), rgba(255,255,255,0)) no-repeat 42px 36% / 120px 3px,
              linear-gradient(90deg, rgba(255,255,255,.45), rgba(255,255,255,0)) no-repeat 48px 64% / 90px 2px,
              linear-gradient(90deg, rgba(225,6,0,.55), rgba(225,6,0,0)) no-repeat 40px 50% / 140px 6px;
  animation: f1-zoom 5.5s cubic-bezier(.55,.05,.35,1) infinite; }
.holiday-strip.theme-f1, .holiday-dialog.theme-f1, .featured.theme-f1 { background-image: repeating-linear-gradient(90deg, #e10600 0 26px, #f4f4f4 26px 52px), linear-gradient(135deg, rgba(225,6,0,.38), rgba(14,14,18,.88) 58%), repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 2px, transparent 2px 64px) !important;
  background-size: 100% 7px, auto, auto !important; background-position: 0 calc(100% - 46px), 0 0, 0 0 !important; background-repeat: no-repeat, no-repeat, repeat !important; background-color: #141418 !important; }
@keyframes f1-zoom { 0%, 55% { left: 105%; } 85% { left: -40%; } 100% { left: -40%; } }
.holiday-dialog.theme-f1::after { animation-delay: .8s; }
.featured.theme-f1::after { font-size: 44px; animation-delay: 3.2s; animation-duration: 6s; }
/* Start sequence: five reds come on one by one, all go out, LIGHTS OUT flashes, then the car launches. */
.f1-lights { display: flex; align-items: center; gap: 8px; margin: 2px 0 10px; }
.f1-lights i { width: 22px; height: 22px; border-radius: 50%; background: #2a0b0b; box-shadow: inset 0 0 0 3px #0b0b0d, 0 0 0 2px #333; }
.f1-lights i:nth-child(1) { animation: f1-l1 6s infinite; } .f1-lights i:nth-child(2) { animation: f1-l2 6s infinite; }
.f1-lights i:nth-child(3) { animation: f1-l3 6s infinite; } .f1-lights i:nth-child(4) { animation: f1-l4 6s infinite; }
.f1-lights i:nth-child(5) { animation: f1-l5 6s infinite; }
@keyframes f1-l1 { 0%, 8% { background: #2a0b0b; } 8.01%, 50% { background: #ff1801; box-shadow: inset 0 0 0 3px #0b0b0d, 0 0 14px #ff1801; } 50.01%, 100% { background: #2a0b0b; } }
@keyframes f1-l2 { 0%, 16% { background: #2a0b0b; } 16.01%, 50% { background: #ff1801; box-shadow: inset 0 0 0 3px #0b0b0d, 0 0 14px #ff1801; } 50.01%, 100% { background: #2a0b0b; } }
@keyframes f1-l3 { 0%, 24% { background: #2a0b0b; } 24.01%, 50% { background: #ff1801; box-shadow: inset 0 0 0 3px #0b0b0d, 0 0 14px #ff1801; } 50.01%, 100% { background: #2a0b0b; } }
@keyframes f1-l4 { 0%, 32% { background: #2a0b0b; } 32.01%, 50% { background: #ff1801; box-shadow: inset 0 0 0 3px #0b0b0d, 0 0 14px #ff1801; } 50.01%, 100% { background: #2a0b0b; } }
@keyframes f1-l5 { 0%, 40% { background: #2a0b0b; } 40.01%, 50% { background: #ff1801; box-shadow: inset 0 0 0 3px #0b0b0d, 0 0 14px #ff1801; } 50.01%, 100% { background: #2a0b0b; } }
.f1-lights span { margin-left: 8px; color: #fff; font-weight: 900; letter-spacing: 2px; font-size: 14px; opacity: 0; animation: f1-out 6s infinite; }
@keyframes f1-out { 0%, 50% { opacity: 0; } 51%, 75% { opacity: 1; } 80%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .theme-f1::after { animation: none; left: auto; right: 14px; padding-right: 0; background: none; }
  .f1-lights i, .f1-lights span { animation: none; }
}

/* Event page calendar button (public/event-actions.js) */
.seo-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.seo-actions .plan .plan-more { padding-left: 11px; padding-right: 11px; }
.seo-signin-hint { margin: 4px 6px 6px; max-width: 220px; color: var(--muted); font-size: 13px; line-height: 1.4; white-space: normal; }
.seo-signin-hint a { color: var(--accent); font-weight: 700; }
