/* Riso: halftone dots only where an edge would otherwise be harsh (shadows, sheet and header edges); never as
   texture inside an element.
   One stylesheet for every page; load it after the page's own styles and site-nav.css, with riso.js (which draws
   the dot screens these rules use as var(--…)).
   Each page says which it is on <html>: class="b2 b2-list" | b2-map | b2-directory | b2-venue | b2-artist. */

/* the bottom sheets throw a dot fade along their top edge instead of a flat shadow (riso.js places .b2-fade) */
.b2-fade{position:fixed;left:0;right:0;height:26px;display:none;pointer-events:none;background:var(--fade-sheet) left bottom/6px 24px repeat-x}
@media (max-width:999px){.b2-list .filters{box-shadow:none}}
@media (max-width:759px){.b2-map .sheet,.b2-map .filters{box-shadow:none}}

/* ---- type 1: a dot screen tucked behind the element (cards, chips, pills on a plain page) ---- */
.b2-list .gig,.b2-list .banner,.b2-list .chip,.b2-list .daynav a,.b2-list .fbar .done,
.b2-map .show,.b2-map .chip,
.b2-directory .venue,.b2-directory .tab,.b2-directory .toggle,.b2-directory .find,.b2-directory .stat,.b2-insights .card,
.b2-venue .fact,.b2-venue .board,.b2-venue .regs li{position:relative;box-shadow:none}
.b2-list .gig::before,.b2-list .banner::before,.b2-list .chip::before,.b2-list .daynav a::before,.b2-list .fbar .done::before,
.b2-map .show::before,.b2-map .chip::before,
.b2-directory .venue::before,.b2-directory .tab::before,.b2-directory .toggle::before,.b2-directory .find::before,.b2-directory .stat::before,.b2-insights .card::before,
.b2-venue .fact::before,.b2-venue .board::before,.b2-venue .regs li::before{content:"";position:absolute;z-index:-1;pointer-events:none;border-radius:inherit;
  inset:5px -6px -9px 5px;background:var(--ht-sh-s) left bottom/5px 1200px repeat-x}
/* the big cards get a deeper one */
.b2-list .gig::before,.b2-list .banner::before,.b2-venue .board::before{inset:8px -8px -15px 8px;background-image:var(--ht-sh)}
.b2-map .show::before,.b2-directory .venue::before,.b2-insights .card::before{inset:6px -7px -12px 6px;background-image:var(--ht-sh)}

/* ---- type 2: a plain plate + screen, for buttons that sit inside coloured boxes or float over the page ---- */
.b2-map .pill,.b2-venue .btn,.b2-artist .btn,.b2-artist .linkl a{position:relative}
.b2-list .filter-fab,.b2-map .pill,.b2-venue .btn,.b2-artist .btn,.b2-artist .linkl a{isolation:isolate;border-color:transparent;background:none;box-shadow:none}
.b2-list .filter-fab::after,.b2-map .pill::after,.b2-venue .btn::after,.b2-artist .btn::after,.b2-artist .linkl a::after{content:"";position:absolute;inset:-2.5px;z-index:-1;
  border:2.5px solid var(--ink);border-radius:inherit;background:var(--plate,var(--paper))}
.b2-list .filter-fab::before,.b2-map .pill::before,.b2-venue .btn::before,.b2-artist .btn::before,.b2-artist .linkl a::before{content:"";position:absolute;z-index:-2;pointer-events:none;
  inset:4px -8px -13px 4px;border-radius:inherit;background:var(--ht-sh) left bottom/5px 1200px repeat-x}
.b2 .btn.hot{--plate:var(--tomato)}
.b2 .btn.sun,.b2-map .pill.warm{--plate:var(--marigold)}
.b2 .btn:active{box-shadow:none}

/* ---- list ---- */
.b2-list .chip[aria-pressed="true"]::before,.b2-list .chip.town-chip::before{background-image:var(--ht-sh-t)}
.b2-list .chip[data-room][aria-pressed="true"]::before{background-image:var(--ht-sh-s)}
.b2-list .chip,.b2-list .chip[aria-pressed="true"],.b2-list .chip.town-chip,.b2-list .chip[data-room][aria-pressed="true"]{box-shadow:none}
.b2-list .chip:hover,.b2-list .daynav a:hover{transform:none;box-shadow:none}
.b2-list .chip:disabled::before{display:none}
.b2-list .chips{gap:11px 12px;padding:0 6px 6px 0}
.b2-list .daynav{gap:11px;padding-bottom:13px}
.b2-list .gigs{gap:22px 18px}
.b2-list .gig{overflow:visible}
.b2-list .gig-time{border-radius:17px 0 0 17px} /* the card no longer clips it */
.b2-list .gig.cancelled{box-shadow:none}
.b2-list .gig.cancelled::before{opacity:.45}
.b2-list .block + .block{margin-top:38px}
/* the banner lets its dot shadow out; its corner planet is clipped by a layer of its own (riso.js) */
.b2-list .banner{isolation:auto;overflow:visible}
.b2-list .banner > *{position:relative;z-index:1}
.b2-list .banner > .b2-deco{position:absolute;inset:0;z-index:0;overflow:hidden;border-radius:inherit;pointer-events:none}
.b2-list .b2-deco svg.deco{z-index:0}
/* Filters button: a cream keyline so its edge survives the dark footer */
.b2-list .filter-fab::after{box-shadow:0 0 0 2px var(--cream)}
.b2-list .filter-fab::before{inset:5px -9px -15px 5px}
.b2-list .filter-fab.on{background:none;--plate:var(--marigold)}
.b2-list .filter-fab:hover{box-shadow:none}
@media (min-width:640px){
  .b2-list .banner{box-shadow:none}
  .b2-list .chip,.b2-list .chip[aria-pressed="true"],.b2-list .chip.town-chip,.b2-list .chip[data-room][aria-pressed="true"]{box-shadow:none}
}

/* ---- map (the sky is left alone) ---- */
/* the header bar is the frame's (the end of this file): the same bar as the List's */
/* the tab bar is site-nav.css's ink bar, plain-edged here too, as on every page */
.b2-map .pill:hover{transform:none;box-shadow:none}
.b2-map .stepper .pill:disabled{box-shadow:none}
.b2-map #filter-btn.on{background:none;--plate:var(--marigold)}
.b2-map .shows{gap:18px;padding:0 8px 10px 0}
.b2-map .show{overflow:visible}
.b2-map .show .when{border-radius:13.5px 0 0 13.5px}
.b2-map .show.picked{box-shadow:none}
.b2-map .show.picked::before{background-image:var(--ht-sh-t)}
.b2-map .chips{gap:11px 12px;padding:0 6px 6px 0}
.b2-map .chip[aria-pressed="true"]{box-shadow:none}
.b2-map .chip[aria-pressed="true"]::before{background-image:var(--ht-sh-t)}
.b2-map .chip:disabled::before{display:none}

/* ---- directory ---- */
.b2-directory .hero{isolation:isolate}
.b2-directory .stats{gap:14px}
.b2-directory .tools{padding-bottom:14px}
.b2-directory .tools .wrap{gap:13px 14px}
.b2-directory .tabs{gap:12px}
.b2-directory .tab:hover,.b2-directory .toggle:hover{transform:none;box-shadow:none}
.b2-directory .tab[aria-selected="true"],.b2-directory .toggle[aria-pressed="true"]{box-shadow:none}
.b2-directory .toggle[aria-pressed="true"]::before{background-image:var(--ht-sh-t)}
.b2-directory .venues{gap:20px 18px}

/* ---- venue ---- */
.b2-venue .facts{gap:16px 15px}
.b2-venue .board::before{background-image:var(--ht-sh-m)} /* its marigold shadow, in dots */
.b2-venue .regs{gap:11px 12px;padding:0 6px 8px 0}

/* ---- artist (the rocket keeps its shape and its own hull shadow) ---- */
.b2-artist .linkl{gap:16px;padding:0 8px 10px 0}
.b2-artist .linkl a{--plate:var(--cream)}
.b2-map .bottom{justify-content:flex-end} /* the readout moved onto the map: the buttons keep to the right */

/* ---- the Filters button: the same on Map and List, and left plain (a solid shadow, no dots) ---- */
.b2 #filter-btn{isolation:auto;display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:6px 18px 7px;border:var(--edge);border-color:var(--ink);border-radius:999px;
  background:var(--paper);color:var(--ink);box-shadow:3px 3px 0 var(--ink);font-weight:800;font-size:16px}
.b2 #filter-btn svg{width:17px;height:17px}
.b2 #filter-btn.on{background:var(--marigold)}
.b2 #filter-btn::before,.b2 #filter-btn::after{content:none;display:none}
.b2 #filter-btn:hover{transform:translate(-1px,-1px);box-shadow:4px 4px 0 var(--ink)}

/* ---- the frame, the same on every page: a header band with the wordmark in its top-left corner, the ink tab bar
   below. Map is the night sky; List, Directory and Insights are paper.
   The band's colours come from site-nav.css (--band and friends: teal, or paper under <html data-band="paper">).
   Its lower edge is never a rule: the last 36px break up into dots over whatever is below. ---- */
:root{--band-fade:var(--fade-teal-down);--band-edge:36px;
  --band-bg:var(--band-fade) left bottom/6px var(--band-edge) repeat-x,linear-gradient(var(--band),var(--band)) left top/100% calc(100% - var(--band-edge)) no-repeat}
:root[data-band="paper"]{--band-fade:var(--fade-paper-down)}

/* Map and List: one bar. The wordmark on the left, the date choice (or the day strip, once it's open) on the right;
   the same insets, sizes and height on both, so nothing moves when you switch between them. */
.b2-map .top,.b2-list .u-top{padding:max(12px,env(safe-area-inset-top)) 0 calc(18px + var(--band-edge));border:0;background:var(--band-bg);color:var(--band-ink)}
.b2-map .top,.b2-list .u-top .wrap{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:0 12px}
.b2-map .top{padding-left:16px;padding-right:16px}
.b2-map .top .hv-mark,.b2-list .u-top .hv-mark{grid-column:1;grid-row:1;align-self:start}
.b2-map .top .scope,.b2-list .u-top .scope,.b2-map .top .hv-dayrow,.b2-list .u-top .hv-dayrow{grid-column:2;grid-row:1;justify-self:end;align-self:center}
.b2-map .top .hv-dayrow,.b2-list .u-top .hv-dayrow{justify-self:stretch}
.b2-map .top .scope button,.b2-list .u-top .scope button{min-height:36px;padding:3px 9px 4px;font-size:14px;line-height:normal;letter-spacing:0}
@media (max-width:374px){.b2-map .top .scope button,.b2-list .u-top .scope button{padding:3px 7px 4px;font-size:13px}}

/* Directory and Insights: one bar like Map and List, the page name on the right of the wordmark */
.b2-directory .hero{padding-top:max(12px,env(safe-area-inset-top));padding-bottom:calc(18px + var(--band-edge));border:0;background:var(--band-bg);color:var(--band-ink)}
.b2-insights .ins-top{padding-bottom:calc(18px + var(--band-edge));background:var(--band-bg);color:var(--band-ink)}
.b2-directory .hero h1 em,.b2-insights .ins-top h1 em{color:var(--band-accent)}

/* venue and artist: the wordmark's strip. On the venue page it lies over the top of the dark hero, so its dots
   fall on the hero rather than on a sliver of paper; the hero's first row moves down clear of them. */
.hv-band{padding-bottom:calc(12px + var(--band-edge));background:var(--band-bg)}
.b2-venue .hv-band{position:relative;z-index:2;margin-bottom:calc(0px - var(--band-edge));pointer-events:none}
.b2-venue .hv-band .hv-mark,.b2-venue .hv-band .hv-about{pointer-events:auto}
.b2-venue .hero .in{padding-top:30px}
@media (min-width:760px){.b2-venue .hero .in{padding-top:32px}}

/* one set of side gutters */
@media (min-width:640px){
  .b2-map .top,.hv-band{padding-left:28px;padding-right:28px}
  .b2-directory .wrap,.b2-insights .wrap{padding-left:28px;padding-right:28px}
}
@media (min-width:1000px){
  .b2-map .top,.hv-band{padding-left:max(40px,50vw - 580px);padding-right:max(40px,50vw - 580px)} /* the paper pages' 1240px column */
  .b2-directory .wrap,.b2-insights .wrap{padding-left:40px;padding-right:40px}
}
