/* ConcertGrid — one stylesheet, no build step. Tokens first, then layout, then pieces. */
:root {
    --bg: #f6f7fa;
    --surface: #ffffff;
    --surface-2: #eef1f6;
    --text: #0f172a;
    --muted: #5b6474;
    --border: #e4e7ee;
    --accent: #2156e8;
    --accent-strong: #1843c4;
    --accent-text: #ffffff;
    --accent-soft: #e9f0ff;
    /* Price movement. A falling price is good news for a buyer; a rising one is a caution,
       not an alarm, so it is amber rather than red. */
    --up: #a15c07;
    --up-soft: #fdf1dc;
    --down: #0f7b52;
    --down-soft: #e2f5ec;
    --hero: #0d1526;
    --hero-text: #f3f6fb;
    --hero-muted: #aab4c6;
    --hero-accent: #8fb0ff;
    /* Search suggestions: the selected row, and one soft pill per kind of result. */
    --row-active: #f0f5ff;
    --type-artist: #1f4fd1;
    --type-artist-soft: #e6eeff;
    --type-venue: #6340b8;
    --type-venue-soft: #f0ebff;
    --type-city: #0c6b61;
    --type-city-soft: #e3f5f1;
    --radius: 14px;
    --radius-sm: 9px;
    --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 6px 20px rgba(15, 23, 42, .05);
    --container: 1280px;
    /* Both themes are ours: the browser must not auto-darken the page on top of them. */
    color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0d1017;
        --surface: #151922;
        --surface-2: #1d222d;
        --text: #eceef3;
        --muted: #9aa3b2;
        --border: #262c38;
        --accent: #6f98ff;
        --accent-strong: #8fb0ff;
        --accent-text: #0b1020;
        --accent-soft: #1a2542;
        --up: #f0b45e;
        --up-soft: #33260f;
        --down: #6ddba8;
        --down-soft: #12301f;
        --hero: #111a2e;
        --row-active: #1a2233;
        --type-artist: #9db9ff;
        --type-artist-soft: #1b2745;
        --type-venue: #c3b0f7;
        --type-venue-soft: #261f40;
        --type-city: #7fd6c6;
        --type-city-soft: #132e2b;
        --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
    }
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); font-weight: 750; }
h2 { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.65rem); font-weight: 700; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 1024px) { .container { padding: 0 24px; } }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.tiny { font-size: .8rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.accent-link { color: var(--accent); font-weight: 600; }
.eyebrow { font-size: .78rem; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin: 0 0 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 20;
    background: color-mix(in srgb, var(--surface) 90%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; gap: 20px; min-height: 64px; flex-wrap: wrap; }
.logo { font-weight: 750; font-size: 1.2rem; letter-spacing: -.03em; display: flex; align-items: center; gap: 8px; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 24px; height: 24px; flex: none; color: var(--accent); }
.site-nav { display: flex; gap: 20px; margin-left: auto; font-size: .93rem; font-weight: 500; }
.site-nav a { color: var(--muted); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); text-decoration: none; }
@media (max-width: 640px) {
    .site-header .container { gap: 10px 16px; padding-top: 10px; padding-bottom: 10px; }
    .site-header .search-form { order: 3; flex-basis: 100%; max-width: none; }
}

/* Home page: the header search gives way to the hero's while that one is on screen (the
   script in the layout toggles .search-tucked). On a desktop it keeps its place and only
   fades, so nothing moves. On a phone it would be a whole extra row, so there it leaves
   the header altogether and comes back as a strip under the bar, outside the page flow:
   the sticky header never changes height while the page scrolls. It stays while in use. */
.js .home .site-header .search-form { transition: opacity .15s ease, visibility .15s; }
.js .home .site-header.search-tucked .search-form:not(:focus-within) { opacity: 0; visibility: hidden; }
@media (max-width: 640px) {
    .js .home .site-header .container { position: relative; }
    .js .home .site-header .search-form {
        position: absolute; left: 0; right: 0; top: 100%; padding: 0 16px 10px;
        background: var(--surface); border-bottom: 1px solid var(--border);
    }
}
@media (prefers-reduced-motion: reduce) { .js .home .site-header .search-form { transition: none; } }

/* Search */
.search-form { position: relative; flex: 1 1 260px; max-width: 440px; display: flex; }
.search-form input {
    width: 100%; padding: 10px 14px; font-size: .95rem; color: var(--text);
    background: var(--bg); border: 1px solid var(--border); border-radius: 999px;
}
.search-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.search-form.large { max-width: 640px; background: var(--surface); border-radius: var(--radius); padding: 6px; box-shadow: var(--shadow); }
.search-form.large input { padding: 12px 14px; font-size: 1.05rem; border: 0; border-radius: var(--radius-sm); background: transparent; }
.search-form.large input:focus { outline: none; }
.search-form.large:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.search-form .search-submit {
    flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-width: 48px; padding: 0 18px; border: 0; border-radius: var(--radius-sm);
    background: var(--accent); color: var(--accent-text); font-weight: 600; font-size: .95rem; cursor: pointer;
}
.search-form .search-submit:hover { background: var(--accent-strong); }
.search-form .search-submit svg { width: 18px; height: 18px; }
@media (max-width: 520px) { .search-form .search-submit .label { display: none; } .search-form .search-submit { padding: 0 14px; } }
.suggestions {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
    box-shadow: var(--shadow); overflow: hidden; color: var(--text);
}
.suggestions a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; font-size: .9rem; }
/* Hover and the keyboard's selection are one state. */
.suggestions a:hover, .suggestions a.active { background: var(--row-active); text-decoration: none; }
/* The selected row also carries a ring, so the keyboard's place is visible without relying on
   the tint (about 5:1 against the list in both themes). Moving the mouse selects too, so hover
   and keyboard still look the same. The radius keeps the ring inside the list's corners. */
.suggestions a.active { box-shadow: inset 0 0 0 2px var(--accent); border-radius: calc(var(--radius-sm) - 1px); }
.suggestions .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggestions .type {
    flex: none; padding: 1px 7px; border-radius: 5px; line-height: 1.5;
    font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
    color: var(--muted); background: var(--surface-2);
}
.suggestions .type-artist { color: var(--type-artist); background: var(--type-artist-soft); }
.suggestions .type-venue { color: var(--type-venue); background: var(--type-venue-soft); }
.suggestions .type-city { color: var(--type-city); background: var(--type-city-soft); }

/* Layout blocks */
main { padding: 20px 0 64px; }
.section { margin: 44px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-head h2 { margin: 0; }
.section-head a { color: var(--accent); font-size: .92rem; font-weight: 600; white-space: nowrap; }
.section-head .sub { color: var(--muted); font-size: .9rem; margin: 4px 0 0; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.sidebar { display: grid; gap: 20px; position: sticky; top: 88px; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.split.wide-first { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 36px; }
/* The home page's last row: its sections' own bottom margin would stack on main's padding. */
.split.wide-first > .section { margin-bottom: 0; }
@media (max-width: 900px) {
    .layout { grid-template-columns: minmax(0, 1fr); }
    .sidebar { position: static; }
    .split, .split.wide-first { grid-template-columns: 1fr; }
}

.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.panel h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.panel > :last-child { margin-bottom: 0; }
.panel h2 { font-size: 1.15rem; margin-bottom: 14px; }

/* Home hero: the one dark block of the site. */
.hero {
    background: var(--hero); color: var(--hero-text); border-radius: 20px;
    padding: clamp(28px, 5vw, 64px) clamp(20px, 5vw, 64px); margin: 4px 0 8px; position: relative; overflow: hidden;
}
.hero::before {
    /* A faint price grid behind the text: the product is price data. */
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}
.hero > * { position: relative; }
.hero h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.8rem); line-height: 1.05; letter-spacing: -.035em; max-width: 16ch; margin-bottom: 20px; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: color-mix(in srgb, var(--accent) 55%, #fff); }
.hero p { color: var(--hero-muted); font-size: 1.12rem; max-width: 62ch; margin-bottom: 28px; }
.hero .search-form.large { box-shadow: none; max-width: 760px; padding: 7px; }
@media (min-width: 701px) {
    .hero .search-form.large input { padding: 15px 16px; font-size: 1.12rem; }
    .hero .search-form.large .search-submit { padding: 0 26px; font-size: 1rem; }
}
.hero .stats-inline { margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.stats-inline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; }
.stats-inline .value { font-size: clamp(1.35rem, 1rem + 1.2vw, 1.9rem); font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stats-inline .label { font-size: .86rem; color: var(--hero-muted); }
@media (max-width: 700px) { .stats-inline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Desktop: the description runs as wide as the search box, and the hero sits a little tighter. */
@media (min-width: 1024px) {
    .hero { padding-top: 56px; padding-bottom: 54px; }
    .hero p { max-width: 760px; margin-bottom: 26px; }
    .hero .stats-inline { margin-top: 32px; padding-top: 24px; }
    .hero + .section { margin-top: 34px; }
}

/* Page hero: the header of a city, artist or venue page. */
.page-hero { position: relative; border-radius: 20px; margin-bottom: 20px; }
.page-hero.has-image, .page-hero.has-portrait { overflow: hidden; }
.page-hero .page-hero-body { position: relative; padding: 4px 0 0; }
.page-hero h1 { margin-bottom: 8px; }
.page-hero .facts { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .95rem; margin: 0; }
.page-hero .facts strong { color: var(--text); font-weight: 650; }
.page-hero.has-image { background: var(--hero); color: var(--hero-text); min-height: 260px; display: flex; align-items: flex-end; }
.page-hero.has-image .page-hero-media { position: absolute; inset: 0; }
.page-hero.has-image .page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-image .page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 12, 22, .88) 0%, rgba(8, 12, 22, .35) 60%, rgba(8, 12, 22, .1) 100%); }
.page-hero.has-image .page-hero-body { padding: clamp(20px, 4vw, 36px); width: 100%; }
.page-hero.has-image .facts, .page-hero.has-image .facts strong { color: var(--hero-text); }
.page-hero.has-image a { color: inherit; }
/* The accent is too dark to read on the hero's navy; the eyebrow uses the light accent there. */
.page-hero.has-image .eyebrow, .page-hero.has-portrait .eyebrow { color: var(--hero-accent); }
/* A portrait beside the text rather than behind it: artist photos are 370px high. */
.page-hero.has-portrait { background: var(--hero); color: var(--hero-text); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.page-hero.has-portrait .page-hero-body { padding: clamp(20px, 4vw, 40px); }
.page-hero.has-portrait .facts, .page-hero.has-portrait .facts strong { color: var(--hero-text); }
.page-hero.has-portrait .facts { color: var(--hero-muted); }
.page-hero.has-portrait .page-hero-portrait { height: 100%; max-height: 300px; }
.page-hero.has-portrait .page-hero-portrait img { height: 100%; width: auto; max-width: 420px; object-fit: cover; mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
@media (max-width: 700px) {
    .page-hero.has-portrait { grid-template-columns: 1fr; }
    .page-hero.has-portrait .page-hero-portrait { display: none; }
    .page-hero.has-image { min-height: 220px; }
}
/* The navy block without a picture: the home hero's price grid keeps it from looking empty. */
.page-hero.is-dark { background: var(--hero); color: var(--hero-text); overflow: hidden; }
.page-hero.is-dark::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}
.page-hero.is-dark .page-hero-body { padding: clamp(20px, 4vw, 40px); }
.page-hero.is-dark .facts { color: var(--hero-muted); }
.page-hero.is-dark .facts strong { color: var(--hero-text); }
/* The short hero, for a page whose own content has to start high. */
.page-hero.compact { align-items: center; }
.page-hero.compact .page-hero-body { padding: clamp(18px, 3vw, 32px) clamp(18px, 3.5vw, 36px); }
.page-hero.compact .page-hero-portrait { max-height: 240px; }

/* The event hero: the event head on navy. */
.event-hero .event-head { margin: 0; }
.event-hero h1 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); }
.event-hero .event-head .h1-sub, .event-hero .event-head .when { color: var(--hero-muted); }
.event-hero .event-head .h1-sub a, .event-hero .event-head .when a { color: var(--hero-text); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.event-hero .event-head .h1-sub a:hover, .event-hero .event-head .when a:hover { text-decoration-color: currentColor; }
.event-hero .date-block.large { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: var(--hero-text); }
.event-hero .date-block.large .m { color: var(--hero-accent); }
.event-hero .date-block.large .y { color: var(--hero-muted); }
.event-hero .hero-price { margin: 10px 0 0; color: var(--hero-muted); font-size: 1rem; }
.event-hero .hero-price strong { color: var(--hero-text); font-size: 1.35rem; font-weight: 750; font-variant-numeric: tabular-nums; }

/* Stat cards: the number first, the label under it. */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 20px 0 28px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; }
.stat .value { font-size: 1.6rem; font-weight: 750; letter-spacing: -.02em; line-height: 1.15; font-variant-numeric: tabular-nums; order: 1; overflow-wrap: anywhere; }
.stat .label { font-size: .86rem; color: var(--muted); order: 2; margin-top: 4px; }
.stat .note { font-size: .78rem; color: var(--muted); order: 3; opacity: .85; }
@media (max-width: 520px) {
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .stat { padding: 14px; }
    .stat .value { font-size: 1.3rem; }
    /* A row whose number of cards varies: an odd card out takes the whole row, no empty slot. */
    .stats.balanced > .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Tabs: links to the sections of the same page, or to sibling pages of a listing. */
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--border); margin: 0 0 24px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; padding: 12px 14px; font-size: .93rem; font-weight: 550; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover { color: var(--text); text-decoration: none; }
.tabs a.active, .tabs a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.tabs .count { color: var(--muted); font-weight: 450; }
.tabs + .layout > div > .section:first-child { margin-top: 8px; }

/* Cards */
.grid { display: grid; gap: 16px; }
.grid.cols-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.grid.cols-5 { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
@media (min-width: 701px) { .grid.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* Ten cards in rows that come out even: 5 × 2 from a tablet up, 3 × 3 below it, 2 × 3 on a phone. */
@media (min-width: 521px) and (max-width: 700px) {
    .grid.cols-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid.cols-5 > :nth-child(n+10) { display: none; }
}
.grid.cities { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.cities .card-body { padding: 14px 18px 16px; }
@media (max-width: 900px) { .grid.cities { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .grid.cities { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.grid.pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .grid.pairs { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
    .grid.cols-4, .grid.cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .grid.cols-5 > :nth-child(n+7) { display: none; } /* six are enough on a phone */
}

.card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease;
}
.card:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); box-shadow: var(--shadow); }
.card-body { padding: 12px 14px 14px; }
.card .title { font-weight: 650; margin: 0 0 2px; }
.card a:hover { text-decoration: none; }

.artist-card img, .artist-card .placeholder { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; height: auto; }
.placeholder { background: var(--surface-2); display: grid; place-items: center; color: var(--muted); font-size: .8rem; padding: 8px; text-align: center; }

/* Venue gallery. The photographs come in every shape from square to tall portrait, so
   the thumbnails are cropped to one ratio rather than resized to it. */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 8px; }
.gallery-item { display: block; border-radius: var(--radius-sm); overflow: hidden; }
.gallery-item img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: auto; transition: transform .2s; }
.gallery-item:hover img { transform: scale(1.04); }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* The large view, opened by :target so the gallery needs no JavaScript. */
.lightbox { display: none; }
.lightbox:target { display: grid; position: fixed; inset: 0; z-index: 50; place-items: center; padding: 24px; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .8); }
.lightbox figure { position: relative; margin: 0; max-width: min(900px, 100%); background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.lightbox figure img { width: 100%; height: auto; max-height: 80vh; object-fit: contain; display: block; }
.lightbox figcaption { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 14px; font-size: .85rem; color: var(--muted); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center;
    width: 44px; height: 44px; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff;
    font-size: 1.8rem; line-height: 1; text-decoration: none; user-select: none; }
.lightbox-nav:hover { background: rgba(0, 0, 0, .8); text-decoration: none; }
.lightbox-nav.prev { left: 12px; }
.lightbox-nav.next { right: 12px; }

/* Date block: month over day, the one piece every concert listing starts with. */
.date-block { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; text-align: center; font-variant-numeric: tabular-nums; }
.date-block .m { font-size: .72rem; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.date-block .d { font-size: 1.45rem; font-weight: 750; letter-spacing: -.02em; }
.date-block .y { font-size: .72rem; color: var(--muted); }
.date-block.large { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 18px; min-width: 88px; }
.date-block.large .m { font-size: .85rem; color: var(--accent); }
.date-block.large .d { font-size: 2.3rem; }
.date-block.large .y { font-size: .85rem; }

/* Event rows: one list, divided, not a stack of cards — a city can have hundreds. */
.events { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.event {
    display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center;
    padding: 12px 16px; border-top: 1px solid var(--border); position: relative;
}
.event:first-child { border-top: 0; }
.event.with-thumb { grid-template-columns: 56px 56px minmax(0, 1fr) auto; }
.event:hover { background: color-mix(in srgb, var(--accent-soft) 45%, var(--surface)); }
.event .thumb { width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; background: var(--surface-2); }
.event .thumb.placeholder { font-weight: 700; font-size: 1.1rem; }
.event .name { font-weight: 650; overflow-wrap: anywhere; }
/* What a ticket product is when it is not a plain concert: "2-Day Pass", "Saturday". */
.product-label {
    display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 5px; line-height: 1.5; vertical-align: .15em;
    font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap;
    color: var(--muted); background: var(--surface-2);
}
.event .name a::after { content: ""; position: absolute; inset: 0; } /* the whole row opens the concert */
.event .where { color: var(--muted); font-size: .9rem; }
.event .where a { position: relative; z-index: 1; }
.event .price { display: flex; align-items: center; gap: 14px; text-align: right; }
.event .price .amount { font-weight: 750; font-size: 1.05rem; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.event .price .amount .from { font-weight: 500; font-size: .85rem; }
.event .price .none { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.event .go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-sm); background: var(--bg); color: var(--text); }
.event .go svg { width: 16px; height: 16px; }
@media (max-width: 620px) {
    .event, .event.with-thumb { grid-template-columns: 48px minmax(0, 1fr); gap: 4px 12px; padding: 12px; }
    .event .thumb { display: none; }
    .event .price { grid-column: 2; text-align: left; }
    .event .go { display: none; }
}
.list-month { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 24px 0 8px; display: flex; gap: 8px; align-items: baseline; }
.list-month:first-child { margin-top: 0; }
.list-month .count { font-weight: 500; letter-spacing: 0; text-transform: none; }

/* Event cards: the compact two-column tiles of the home page. */
.event-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; position: relative; }
.event-card .date-block { border-right: 1px solid var(--border); padding-right: 14px; min-width: 56px; }
.event-card .name { font-weight: 650; overflow-wrap: anywhere; }
.event-card .name a::after { content: ""; position: absolute; inset: 0; }
.event-card .where { font-size: .88rem; color: var(--muted); }
.event-card .amount { color: var(--accent); font-weight: 750; white-space: nowrap; font-variant-numeric: tabular-nums; }
.event-card .amount .from { font-weight: 500; font-size: .85rem; }
.event-card .none { font-size: .85rem; color: var(--muted); white-space: nowrap; }

/* The city hero: the listing's figures on navy, as short as the event hero. */
.city-hero h1 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); }
.city-hero .hero-price { margin: 10px 0 0; color: var(--hero-muted); }
.city-hero .hero-price strong { color: var(--hero-text); font-size: 1.2rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.city-hero .hero-intro { margin: 8px 0 0; color: var(--hero-muted); font-size: .9rem; max-width: 70ch; }

/* Buttons and chips */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 20px; border-radius: var(--radius-sm); font-weight: 650; font-size: .95rem;
    background: var(--accent); color: var(--accent-text); border: 1px solid transparent; cursor: pointer; font-family: inherit;
}
.btn:hover { text-decoration: none; background: var(--accent-strong); }
.btn.secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn.secondary:hover { border-color: var(--accent); }
.btn.block { width: 100%; }
.btn.large { padding: 15px 26px; font-size: 1.05rem; }
.btn.small { padding: 8px 14px; font-size: .88rem; }
.btn.on-dark { background: transparent; color: var(--hero-text); border-color: rgba(255, 255, 255, .35); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip {
    flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; font-size: .88rem; font-weight: 550;
    border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text);
}
.chip:hover { text-decoration: none; border-color: var(--accent); }
.chip.active { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.chip .count { color: var(--muted); font-size: .78rem; font-weight: 450; }
.chip.active .count { color: inherit; opacity: .8; }

/* Quick filters: a quiet label, then a row of chips that wraps inside the page on a wide
   screen and scrolls sideways on a phone. "More genres" only exists with JavaScript. */
.quick-filters { display: grid; gap: 10px; margin: 0 0 20px; }
.quick-group { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: start; gap: 12px; }
.quick-label { font-size: .72rem; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-top: 10px; }
.chip.more { font-family: inherit; cursor: pointer; color: var(--accent); }
.js .chips.fit:not(.expanded) .chip.extra { display: none; }
html:not(.js) .chip.more { display: none; }
@media (max-width: 700px) {
    .quick-group { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .quick-label { padding-top: 0; }
    .chips.fit { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
    .chips.fit::-webkit-scrollbar { display: none; }
    .js .chips.fit:not(.expanded) .chip.extra { display: inline-flex; }
    .chips.fit .chip.more { display: none; }
}

.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--accent-soft); color: var(--accent); }
.badge.warn { background: var(--up-soft); color: var(--up); }
.delta.up { color: var(--up); }
.delta.down { color: var(--down); }

/* Price movement badge. */
.trend { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 12px; border-radius: var(--radius-sm); text-align: center; background: var(--surface-2); }
.trend .pct { font-weight: 750; font-size: 1.05rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.trend .vs { font-size: .75rem; color: var(--muted); }
.trend.down { background: var(--down-soft); } .trend.down .pct { color: var(--down); }
.trend.up { background: var(--up-soft); } .trend.up .pct { color: var(--up); }
.trend.early { max-width: 130px; } .trend.early .pct { font-size: .85rem; font-weight: 650; white-space: normal; line-height: 1.25; color: var(--text); }

/* Event page: the header, the price card and the chart beside it. */
.event-head { display: flex; gap: 20px; align-items: center; margin: 4px 0 24px; }
.event-head h1 { margin: 0 0 6px; }
.event-head .h1-sub { display: block; font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem); font-weight: 600; letter-spacing: -.01em; margin-top: 6px; color: var(--muted); }
.event-head .h1-sub a { color: var(--accent); }
.event-head .when { color: var(--muted); margin: 0; }
@media (max-width: 520px) { .event-head { align-items: flex-start; gap: 14px; } .event-head .date-block.large { min-width: 70px; padding: 10px 12px; } .event-head .date-block.large .d { font-size: 1.8rem; } }

.price-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 20px; align-items: start; margin-bottom: 8px; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { display: grid; gap: 18px; }
.price-card .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.price-card .kicker { font-size: .9rem; color: var(--muted); }
.price-card .big { font-size: clamp(2.6rem, 2rem + 2vw, 3.3rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; margin: 4px 0; }
.price-card .fees { font-size: .85rem; color: var(--muted); }
.price-card .disclosure { font-size: .78rem; color: var(--muted); margin: 0; line-height: 1.45; }
.metrics { list-style: none; margin: 0; padding: 0; }
.metrics li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--border); font-size: .93rem; }
.metrics li:first-child { border-top: 0; }
.metrics li span:first-child { color: var(--muted); }
.metrics li span:last-child { font-weight: 650; font-variant-numeric: tabular-nums; text-align: right; }

.chart-panel .chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.chart-panel .chart-head h2 { font-size: 1.05rem; margin: 0; }
.price-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.price-metric { background: var(--bg); border-radius: var(--radius-sm); padding: 12px 14px; }
.price-metric .label { font-size: .8rem; color: var(--muted); line-height: 1.35; }
.price-metric .label::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--muted); vertical-align: 1px; }
.price-metric.low .label::before { background: var(--down); }
.price-metric.high .label::before { background: var(--up); }
.price-metric.now .label::before { background: var(--accent); }
.price-metric .value { font-size: 1.3rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.price-metric .when { font-size: .78rem; color: var(--muted); }
@media (max-width: 520px) { .price-metrics { grid-template-columns: 1fr; } .price-metric { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; } .price-metric .label { flex-basis: 100%; } }

/* On a phone the price and the button stay in reach while the page scrolls. */
.sticky-cta { display: none; }
@media (max-width: 700px) {
    .has-sticky-cta { padding-bottom: 92px; }
    .sticky-cta {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; gap: 12px; align-items: center; justify-content: space-between;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -4px 16px rgba(15, 23, 42, .08);
    }
    .sticky-cta .amount { font-size: 1.3rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
    .sticky-cta .fees { font-size: .75rem; color: var(--muted); }
    .sticky-cta .cta { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: none; }
    .sticky-cta .commission { font-size: .7rem; color: var(--muted); line-height: 1.2; text-decoration: underline; text-underline-offset: 2px; }
}

/* Ranked lists: busiest venues, most booked artists. */
.rank-list { list-style: none; margin: 0; padding: 0; counter-reset: rank; }
.rank-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--border); font-size: .94rem; }
.rank-list li:first-child { border-top: 0; }
.rank-list li::before { counter-increment: rank; content: counter(rank); color: var(--muted); font-variant-numeric: tabular-nums; font-size: .85rem; }
.rank-list.plain li { grid-template-columns: minmax(0, 1fr) auto; }
.rank-list.plain li::before { content: none; }
.rank-list a { font-weight: 550; overflow-wrap: anywhere; }
.rank-list .figure { font-variant-numeric: tabular-nums; font-weight: 650; text-align: right; white-space: nowrap; }
.rank-list .figure .muted { font-weight: 450; }
/* A ranking read on its own, as on the home page: a little more room per row. */
.roomy .rank-list li { padding: 10px 0; font-size: .97rem; }
.roomy .rank-list a { font-weight: 600; }
.rank-name { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.rank-where { color: var(--muted); font-size: .86rem; }
.panel .more { display: inline-block; margin-top: 12px; color: var(--accent); font-weight: 600; font-size: .9rem; }

/* Callout: one sentence worth pulling out of the page. */

/* A recommended concert (x-cheapest-show): the whole block is one link to the event page. */
.pick { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label go" "where go" "price go";
    align-items: center; gap: 4px 20px; background: var(--accent-soft); border: 1px solid transparent; border-left: 3px solid var(--accent);
    border-radius: var(--radius); padding: 13px 20px; margin: 0 0 24px; color: inherit; }
.pick:hover { text-decoration: none; border-color: var(--accent); }
.pick:focus-visible { border-color: var(--accent); border-radius: var(--radius); outline-offset: 3px; }
.pick-label { grid-area: label; font-size: .78rem; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.pick-where { grid-area: where; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pick-when { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
.pick-lead { font-size: 1.15rem; font-weight: 700; overflow-wrap: anywhere; }
.pick-sep { color: var(--muted); }
.pick-date { font-weight: 600; font-variant-numeric: tabular-nums; }
.pick-product { font-weight: 600; }
.pick-detail { color: var(--muted); font-size: .95rem; overflow-wrap: anywhere; }
.pick-price { grid-area: price; font-size: 1.3rem; font-weight: 700; color: var(--accent); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pick-price .from { font-size: .9rem; font-weight: 400; color: var(--muted); }
.pick-go { grid-area: go; justify-self: end; padding: 8px 14px; border-radius: 999px; background: var(--accent); color: var(--accent-text); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.pick:hover .pick-go, .pick:focus-visible .pick-go { background: var(--accent-strong); }
@media (max-width: 520px) {
    .pick { grid-template-columns: minmax(0, 1fr); grid-template-areas: "label" "where" "price" "go"; gap: 4px; padding: 12px 16px; }
    .pick-when { flex-direction: column; gap: 2px; }
    .pick-sep { display: none; }
    .pick-go { justify-self: start; margin-top: 6px; }
}

/* Research promo on the home page and the research hero. */
.promo { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 56px; align-items: center; background: var(--accent-soft); border-radius: 20px; padding: clamp(24px, 4vw, 48px); margin: 52px 0; }
.promo h2 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.1rem); margin-bottom: 12px; max-width: 24ch; }
.promo p { color: var(--muted); max-width: 60ch; margin-bottom: 22px; }
.promo .figures { display: grid; grid-template-columns: repeat(2, auto); gap: 24px 44px; }
.promo .figures .value { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--accent); line-height: 1.1; white-space: nowrap; }
.promo .figures .label { font-size: .85rem; color: var(--muted); }
@media (max-width: 760px) { .promo { grid-template-columns: 1fr; } .promo .figures { gap: 18px 24px; } }

/* Research cards */
.research-list { display: grid; gap: 12px; }
.research-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: 18px 20px; position: relative; }
.research-card h3 { font-size: 1.12rem; margin: 0 0 4px; }
.research-card h3 a::after { content: ""; position: absolute; inset: 0; }
.research-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.research-card .aside { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: .82rem; color: var(--muted); white-space: nowrap; }
.research-card p.research-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 8px; font-size: .84rem; color: var(--text); font-variant-numeric: tabular-nums; }
.research-card .category { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.research-card .go { color: var(--accent); font-weight: 600; }
.research-card:hover .go { text-decoration: underline; }
/* The card is one link: its focus ring goes round the card, not just the title. */
.research-card:has(h3 a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.research-card h3 a:focus-visible { outline: none; }
@media (max-width: 620px) { .research-card { grid-template-columns: 1fr; } .research-card .aside { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 12px; white-space: normal; } }
.cite-note { margin: 16px 0 0; font-size: .9rem; color: var(--muted); }
.cite-note strong { color: var(--text); }

/* Research methodology: the prose, and beside it the facts it rests on. */
.method { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px 40px; align-items: start; }
.method .prose { max-width: 68ch; }
.method .prose > :last-child { margin-bottom: 0; }
.facts-list { margin: 0; }
.facts-list > div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px solid var(--border); font-size: .88rem; }
.facts-list > div:first-child { border-top: 0; padding-top: 0; }
.facts-list dt { color: var(--muted); }
.facts-list dd { margin: 0; font-weight: 550; overflow-wrap: anywhere; }
.definitions { margin-top: 28px; }
.definitions h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 12px; }
.definitions dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.definitions dl > div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.definitions dt { font-weight: 650; margin-bottom: 4px; }
.definitions dd { margin: 0; color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) {
    .method { grid-template-columns: minmax(0, 1fr); }
    .definitions dl { grid-template-columns: minmax(0, 1fr); }
}

/* Filters */
.filters { display: grid; gap: 12px; }
.filters .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.filters label, .field-label { font-size: .8rem; font-weight: 550; color: var(--muted); display: block; margin-bottom: 4px; }
.filters select, .filters input, .select {
    padding: 9px 12px; font-size: .92rem; color: var(--text); background: var(--surface); font-family: inherit;
    border: 1px solid var(--border); border-radius: var(--radius-sm); width: 100%; min-height: 40px;
}
.filters .field { flex: 1 1 150px; min-width: 0; }
.filters .field.narrow { flex: 1 1 120px; }
.filters .actions { display: flex; gap: 8px; flex: 0 0 auto; }
.list-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; margin: 24px 0 12px; }
.list-head h2 { margin: 0; font-size: 1.25rem; }
.list-head .sort { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); }
.list-head .sort select { width: auto; min-height: 36px; padding: 6px 10px; }

/* Tables */
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--surface); }
table.data th, table.data td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); }
table.data tr:last-child td { border-bottom: 0; }
table.data th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.data tbody tr:hover { background: var(--bg); }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table.data tbody th[scope="row"] { font-size: inherit; text-transform: none; letter-spacing: normal; color: inherit; font-weight: 550; }

/* Prose for research and legal pages */
.prose { max-width: 72ch; }
/* About and the affiliate disclosure read as continuous text; a slightly wider column (704px)
   keeps their paragraphs from breaking into short lines on a desktop. Terms and Privacy keep 72ch. */
.prose.about, .prose.disclosure { max-width: 44rem; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.5em 0; padding: 12px 18px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose .lead, .lead { font-size: 1.12rem; color: var(--muted); }
.prose a { color: var(--accent); }
.prose .panel { margin: 16px 0 24px; }

/* Breadcrumbs and pagination */
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs span::after { content: "›"; margin-left: 6px; opacity: .6; }
.breadcrumbs span:last-child::after { content: ""; }
.breadcrumbs span:last-child { color: var(--text); }

.pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; justify-content: center; }
.pagination a, .pagination span {
    padding: 8px 13px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .9rem; color: var(--muted); background: var(--surface);
}
.pagination .active { background: var(--accent); color: var(--accent-text); border-color: transparent; }
.pagination a:hover { text-decoration: none; color: var(--text); border-color: var(--accent); }
.pagination .gap { border-color: transparent; background: none; padding-left: 4px; padding-right: 4px; }
.pagination .status { display: none; }
@media (max-width: 520px) {
    .pagination { flex-wrap: nowrap; justify-content: space-between; align-items: center; }
    .pagination .page { display: none; }
    .pagination .status { display: block; border: 0; background: none; font-variant-numeric: tabular-nums; }
}

/* Charts */
.chart { width: 100%; height: auto; overflow: visible; }
.chart .grid-line { stroke: var(--border); stroke-width: 1; }
.chart .reference-line { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 4 4; opacity: .7; }
.chart .axis-label { fill: var(--muted); font-size: 11px; }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: var(--accent); opacity: .1; }
.chart .dot { fill: var(--accent); }
.chart .bar { fill: var(--accent); }
.chart .bar.muted { fill: var(--surface-2); }
.chart .value-label { fill: var(--text); font-size: 11px; font-weight: 600; }
.chart .bar.rising { fill: var(--up); }
.chart .bar.falling { fill: var(--accent); }
.chart .zero-line { stroke: var(--muted); stroke-width: 1; opacity: .5; }
/* A line chart is drawn 720 units wide and shrinks with the page; on a phone its labels
   are drawn larger so they still read at about 10px. */
@media (max-width: 560px) {
    .chart.line-chart .axis-label, .chart.line-chart .value-label { font-size: 21px; }
    .chart.line-chart .line { stroke-width: 4; }
    .chart.line-chart .dot { r: 6; }
    /* A bar chart's labels sit in a fixed column and cannot grow, so it keeps a readable
       width and scrolls inside its own frame instead. */
    .chart-scroll { overflow-x: auto; }
    .chart.bar-chart { min-width: 620px; }
}

/* The city comparison: two ranked lists side by side, each bar's length its median. */
.city-bars { margin: 0; }
.bar-list { list-style: none; margin: 0; padding: 0; }
.bar-list li { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr) 5.5rem; gap: 4px 12px; align-items: center; padding: 7px 0; border-top: 1px solid var(--border); }
.bar-list li:first-child { border-top: 0; }
.bar-name { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.bar-name a { font-weight: 550; overflow-wrap: anywhere; }
.bar-track { height: 14px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.bar-value { text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.city-bars-note { margin-top: 10px; }
@media (max-width: 520px) {
    .bar-list li { grid-template-columns: minmax(0, 1fr) auto; }
    .bar-list .bar-name { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 40px 0; margin-top: 40px; }
.site-footer .columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.site-footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; }
.site-footer .legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; }

.notice { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); padding: 14px 16px; margin: 20px 0; font-size: .92rem; }
.notice.ended { border-left-color: var(--up); }
.empty { color: var(--muted); font-size: .92rem; padding: 28px 16px; text-align: center; background: var(--bg); border-radius: var(--radius-sm); }

/* Help: an ⓘ beside a label, its text shown on hover and focus. */
.help { position: relative; display: inline-grid; place-items: center; width: 15px; height: 15px; margin-left: 3px; vertical-align: 1px;
    border: 1px solid currentColor; border-radius: 50%; font-size: 10px; font-weight: 700; font-style: normal; line-height: 1;
    color: var(--muted); opacity: .75; cursor: help; text-transform: none; letter-spacing: 0; }
.help:hover, .help:focus { opacity: 1; outline: none; color: var(--accent); }
.help:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.help-text { display: none; position: absolute; z-index: 40; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
    width: max-content; max-width: min(260px, 70vw); padding: 8px 10px; border-radius: var(--radius-sm);
    background: var(--text); color: var(--bg); font-size: .78rem; font-weight: 450; line-height: 1.4; text-align: left; white-space: normal; box-shadow: var(--shadow); }
.help:hover .help-text, .help:focus .help-text { display: block; }

/* Secondary price figures on the event page, folded away under the chart. */
.price-details { margin-top: 16px; }
.price-details summary { cursor: pointer; font-size: .875rem; color: var(--muted); }
.price-help { margin: 10px 0 4px; font-size: .88rem; }
.price-help p { margin: 0 0 6px; }
.price-details .metrics { margin-top: 8px; }
.price-details .metrics li span:last-child { overflow-wrap: anywhere; }

/* The artist on an event page: a pointer to their page beside a small picture. */
.artist-mini { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; color: inherit; }
.artist-mini:hover { text-decoration: none; }
.artist-mini img, .artist-mini .placeholder { width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius-sm); font-size: 1.6rem; font-weight: 700; }
.artist-mini > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.artist-mini strong { font-weight: 650; overflow-wrap: anywhere; }
.artist-mini .go { color: var(--accent); font-size: .88rem; font-weight: 600; margin-top: 4px; }
.artist-mini:hover .go { text-decoration: underline; }
