/* =========================================================================
   WALL - a wall of love for Enter Shikari
   ========================================================================= */

/* ---------------------------------------------------------------- fonts */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-wght-italic.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('/fonts/unbounded-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('/fonts/unbounded-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Permanent Marker';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/permanent-marker-latin-400-normal.woff2') format('woff2');
}

/* ---------------------------------------------------------------- tokens */

@property --led {
  syntax: '<color>';
  inherits: true;
  initial-value: #ff3b4e;
}

:root {
  color-scheme: dark;

  --bg: #07070b;
  --bg-raise: #0b0b11;
  --surface: #14141b;
  --surface-2: #1b1b24;
  --surface-3: #252531;
  --line: rgb(255 255 255 / 0.08);
  --line-2: rgb(255 255 255 / 0.14);
  --line-3: rgb(255 255 255 / 0.22);

  --ink: #f5f3ef;
  --ink-2: #c4c1cc;
  --ink-3: #9390a0;

  --accent: #ff3b4e;
  --accent-hi: #ff5b6b;
  --led: #ff3b4e;
  --paper: #f2eee4;
  --paper-ink: #17161a;
  --paper-ink-2: #5d5a55;

  --radius: 20px;
  --radius-sm: 12px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Unbounded', var(--font);
  --font-hand: 'Permanent Marker', 'Segoe Print', 'Bradley Hand', cursive;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --page-pad: clamp(16px, 4vw, 48px);
  --max: 1480px;

  --era: #c9c9d6;
}

[data-era='ttts'] { --era: #9fd18b; }
[data-era='cd'] { --era: #e5394f; }
[data-era='affoc'] { --era: #ff9a3c; }
[data-era='tm'] { --era: #8f6bff; }
[data-era='ts'] { --era: #7fd0ff; }
[data-era='niteip'] { --era: #ffd84d; }
[data-era='akftww'] { --era: #ff5fa2; }
[data-era='lys'] { --era: #2ee6c8; }
[data-era='singles'] { --era: #c9c9d6; }

/* ---------------------------------------------------------------- base */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* film grain over everything */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: color-mix(in oklab, var(--accent) 55%, transparent);
  color: #fff;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: #fff;
  color: #000;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
}

cite {
  font-style: italic;
}

/* little label used for song-title references */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px 3px 8px;
  border: 1px solid color-mix(in oklab, var(--accent) 45%, transparent);
  border-radius: 999px;
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  color: #ffd9dd;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 7px solid var(--accent-hi);
}

/* ---------------------------------------------------------------- buttons */

.btn {
  --btn-bg: var(--surface-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.2s var(--ease),
    background-color 0.2s,
    border-color 0.2s,
    box-shadow 0.3s;
}
.btn:hover {
  border-color: var(--line-3);
  background: var(--surface-3);
}
.btn:active {
  transform: translateY(1px) scale(0.99);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.btn--primary {
  border-color: transparent;
  background: linear-gradient(180deg, #ff5263, #e32b40);
  color: #fff;
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.25) inset,
    0 10px 30px -10px rgb(255 59 78 / 0.7);
}
.btn--primary:hover {
  border-color: transparent;
  background: linear-gradient(180deg, #ff6676, #ef3349);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.25) inset,
    0 14px 40px -10px rgb(255 59 78 / 0.9);
}

.btn--ghost {
  background: rgb(255 255 255 / 0.03);
}

.btn--small {
  height: 36px;
  padding: 0 14px;
  font-size: 13.5px;
}

.btn--large {
  height: 52px;
  padding: 0 26px;
  font-size: 16px;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgb(255 255 255 / 0.03);
  color: var(--ink-2);
  transition: background-color 0.2s, color 0.2s;
}
.icon-btn:hover {
  background: var(--surface-3);
  color: var(--ink);
}
.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* ---------------------------------------------------------------- top bar */

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
  padding: 0 var(--page-pad);
  transition:
    background-color 0.3s,
    border-color 0.3s,
    backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.topbar.is-solid {
  background: rgb(7 7 11 / 0.78);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
}

.topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.12em;
  text-decoration: none;
}

/* the triangle from the band's logo */
.mark {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgb(255 59 78 / 0.85));
}

.topbar__nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.topbar__nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.topbar__nav a:hover {
  color: var(--ink);
  background: rgb(255 255 255 / 0.06);
}

@media (max-width: 720px) {
  /* the hero button and the floating button cover "add" on phones */
  .topbar .btn {
    display: none;
  }
  .topbar {
    gap: 12px;
  }
  .topbar__nav {
    margin-left: auto;
  }
  .topbar__nav a {
    padding: 8px 7px;
    font-size: 13px;
    white-space: nowrap;
  }
}

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 40px;
  min-height: min(100svh, 1000px);
  padding: 110px var(--page-pad) 36px;
  overflow: hidden;
  /* app.js steps --led through each album's colour; this fades between them */
  transition: --led 2.4s ease;
}

.hero__fx {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.hero__fx::before {
  /* the dark wall behind the sign */
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 45% at 50% 42%, color-mix(in oklab, var(--led) 16%, transparent), transparent 70%),
    radial-gradient(120% 60% at 50% 110%, color-mix(in oklab, var(--led) 10%, transparent), transparent 60%),
    linear-gradient(180deg, #0a0a10 0%, var(--bg) 100%);
}

.hero__fx::after {
  /* faint brickwork */
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='56'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.035' stroke-width='1.5'%3E%3Cpath d='M0 .75h120M0 28.75h120M.75 0v28M60.75 28v28'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: radial-gradient(70% 70% at 50% 45%, #000 20%, transparent 85%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 45%, #000 20%, transparent 85%);
}

.beam {
  position: absolute;
  top: -20%;
  width: 60vmax;
  height: 140%;
  opacity: 0.55;
  background: conic-gradient(
    from 180deg at 50% 0%,
    transparent 0deg 168deg,
    color-mix(in oklab, var(--led) 32%, transparent) 180deg,
    transparent 192deg 360deg
  );
  filter: blur(18px);
  transform-origin: 50% 0;
  mix-blend-mode: screen;
}
.beam--left {
  left: -30vmax;
  animation: sweep-left 17s ease-in-out infinite alternate;
}
.beam--mid {
  left: calc(50% - 30vmax);
  opacity: 0.35;
  animation: sweep-mid 23s ease-in-out infinite alternate;
}
.beam--right {
  right: -30vmax;
  animation: sweep-right 19s ease-in-out infinite alternate;
}

@keyframes sweep-left {
  from { transform: rotate(-24deg); }
  to { transform: rotate(-6deg); }
}
@keyframes sweep-mid {
  from { transform: rotate(-9deg); }
  to { transform: rotate(9deg); }
}
@keyframes sweep-right {
  from { transform: rotate(24deg); }
  to { transform: rotate(5deg); }
}

.haze {
  position: absolute;
  inset: auto -10% -20% -10%;
  height: 60%;
  background:
    radial-gradient(40% 60% at 30% 70%, rgb(255 255 255 / 0.05), transparent 70%),
    radial-gradient(45% 60% at 70% 75%, rgb(255 255 255 / 0.04), transparent 70%);
  filter: blur(20px);
  animation: drift 30s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translateX(-3%); }
  to { transform: translateX(3%); }
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}

.eyebrow {
  margin: 0 0 clamp(18px, 3vw, 30px);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.sign {
  margin: 0;
  width: min(100%, 900px);
}

.sign__svg {
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 0 28px color-mix(in oklab, var(--led) 55%, transparent));
}

.sign__svg .led-core {
  stop-color: color-mix(in srgb, var(--led) 25%, #fff);
}
.sign__svg .led-edge {
  stop-color: var(--led);
}
.sign__svg .led-glow {
  fill: var(--led);
}
.sign__svg .led-off {
  fill: rgb(255 255 255 / 0.05);
}

.sign__svg .led {
  opacity: 0;
  animation: led-on 0.5s steps(1, end) var(--d, 0s) forwards;
}
.sign__svg .led.flicker {
  animation:
    led-on 0.5s steps(1, end) var(--d, 0s) forwards,
    flicker 7s steps(1, end) calc(var(--d, 0s) + 2s) infinite;
}

@keyframes led-on {
  0% { opacity: 0; }
  30% { opacity: 1; }
  45% { opacity: 0.2; }
  60%, 100% { opacity: 1; }
}
@keyframes flicker {
  0%, 92%, 100% { opacity: 1; }
  93% { opacity: 0.15; }
  95% { opacity: 1; }
  96% { opacity: 0.3; }
}

.hero__lede {
  margin: clamp(22px, 4vw, 40px) 0 10px;
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.hero__copy {
  max-width: 620px;
  margin: 0;
  color: var(--ink-2);
  font-size: clamp(15px, 1.7vw, 17.5px);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.hero__dash {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px 40px;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px clamp(18px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgb(14 14 20 / 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}

.countdown__title {
  display: grid;
  justify-items: start;
  gap: 6px;
  margin: 0;
}
.countdown__sub {
  color: var(--ink-3);
  font-size: 13px;
}

.countdown__grid {
  display: flex;
  gap: clamp(14px, 2.6vw, 28px);
}

.cd {
  display: grid;
  margin: 0;
  min-width: 3ch;
}
.cd__num {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.cd__unit {
  margin-top: 6px;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 500;
}

.countdown.is-done .countdown__grid {
  display: none;
}

.kpis {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  margin: 0;
}
.kpi {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
}
.kpi dt {
  color: var(--ink-3);
  font-size: 12.5px;
  font-weight: 500;
}
.kpi dd {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.02em;
}

@media (max-width: 980px) {
  .hero__dash {
    justify-content: flex-start;
  }
  .kpis {
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: auto;
    padding-top: 96px;
  }
  /* lighter on phones */
  .beam--mid {
    display: none;
  }
  .beam {
    filter: blur(10px);
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.16em;
  }
}

/* ---------------------------------------------------------------- ticker */

.ticker {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 52px;
  padding-left: var(--page-pad);
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, #0c0c12, #0a0a0f);
  overflow: hidden;
}

.ticker__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  margin: 0;
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ticker__label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  50% { opacity: 0.35; }
}

.ticker__window {
  position: relative;
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker var(--ticker-duration, 80s) linear infinite;
}
.ticker:hover .ticker__track {
  animation-play-state: paused;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-right: 34px;
  color: var(--ink-2);
  font-size: 14px;
  white-space: nowrap;
}
.ticker__item b {
  color: var(--ink);
  font-weight: 600;
}
.ticker__item::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--era);
  box-shadow: 0 0 8px var(--era);
}

/* ---------------------------------------------------------------- sections */

.section {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) var(--page-pad) 0;
}
.section:focus {
  outline: none;
}

.section__head {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.section__sub {
  max-width: 640px;
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
}

/* ---------------------------------------------------------------- toolbar */

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.seg {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-raise);
}
.seg__btn {
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 550;
  transition: background-color 0.2s, color 0.2s;
}
a.seg__btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.seg__btn:hover {
  color: var(--ink);
}
.seg__btn[aria-pressed='true'] {
  background: var(--surface-3);
  color: var(--ink);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.08) inset;
}

.search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 280px;
  min-width: 0;
  height: 46px;
  padding-left: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-raise);
  transition: border-color 0.2s;
}
.search:focus-within {
  border-color: var(--line-3);
}
.search__label {
  flex: none;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.search__icon {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0 4px 0 12px;
  fill: none;
  stroke: var(--ink-3);
  stroke-width: 2;
  stroke-linecap: round;
}
.search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 18px 0 6px;
  border: 0;
  background: transparent;
  font-size: 15px;
  outline: none;
}
.search input::placeholder {
  color: var(--ink-3);
}

.toolbar .seg:last-child {
  margin-left: auto;
}

@media (max-width: 720px) {
  .search {
    order: -1;
    flex-basis: 100%;
  }
  .toolbar .seg:last-child {
    margin-left: 0;
  }
}

.filters {
  display: flex;
  gap: 8px;
  margin: 0 calc(var(--page-pad) * -1) 20px;
  padding: 2px var(--page-pad) 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  height: 36px;
  padding: 0 14px 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.chip:hover {
  border-color: var(--line-3);
  color: var(--ink);
}
.chip small {
  color: var(--ink-3);
  font-size: 12px;
}
.chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--era);
  box-shadow: 0 0 8px color-mix(in oklab, var(--era) 70%, transparent);
}
.chip[aria-pressed='true'] {
  border-color: color-mix(in oklab, var(--era) 70%, transparent);
  background: color-mix(in oklab, var(--era) 16%, transparent);
  color: var(--ink);
}
.chip--all {
  --era: #f5f3ef;
}
.chip--photos {
  --era: #f5f3ef;
}
.chip svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.filter-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: -6px 0 18px;
  color: var(--ink-2);
  font-size: 14.5px;
}
.filter-note b {
  color: var(--ink);
}
.filter-note button {
  padding: 4px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.new-banner {
  position: sticky;
  top: 76px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 18px;
  padding: 10px 18px;
  border: 1px solid color-mix(in oklab, var(--accent) 60%, transparent);
  border-radius: 999px;
  background: rgb(20 10 14 / 0.9);
  backdrop-filter: blur(10px);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 30px -10px rgb(255 59 78 / 0.6);
  animation: drop-in 0.4s var(--ease);
}
.new-banner::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
@keyframes drop-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* ---------------------------------------------------------------- wall */

.wall {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  min-height: 200px;
  transition: opacity 0.25s;
}
.wall.is-refreshing {
  opacity: 0.45;
}

.wall__col {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.masonry-measure {
  position: absolute;
  left: 0;
  top: 0;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wall-status {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 40px 0 10px;
  color: var(--ink-3);
  font-size: 14px;
  text-align: center;
}
.wall-status__title {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
}
.wall-status p {
  margin: 0;
}
.wall-status .btn {
  margin-top: 12px;
}

.wall-sentinel {
  height: 1px;
}

.loader {
  display: inline-flex;
  gap: 6px;
}
.loader i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: loader 1s ease-in-out infinite;
}
.loader i:nth-child(2) {
  animation-delay: 0.15s;
}
.loader i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes loader {
  50% {
    opacity: 0.2;
    transform: translateY(-3px);
  }
}

/* ---------------------------------------------------------------- cards */

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 70% at 0% 0%, color-mix(in oklab, var(--era) 11%, transparent), transparent 55%),
    var(--surface);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.04) inset,
    0 24px 40px -28px rgb(0 0 0 / 0.9);
  overflow: hidden;
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s,
    box-shadow 0.35s;
}
.card::before {
  /* the strip of light along the top */
  content: '';
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, var(--era) 50%, transparent 95%);
  opacity: 0.85;
}
.card:hover,
.card:focus-within {
  transform: translateY(-3px);
  border-color: color-mix(in oklab, var(--era) 40%, transparent);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.05) inset,
    0 26px 60px -24px color-mix(in oklab, var(--era) 45%, transparent);
}
.card.is-entering {
  animation: card-in 0.6s var(--ease) both;
  animation-delay: var(--delay, 0s);
}
.card.is-highlighted {
  animation: highlight 2.4s var(--ease);
}
@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
}
@keyframes highlight {
  0%, 40% {
    box-shadow:
      0 0 0 2px var(--era),
      0 0 60px -6px var(--era);
  }
}

.card__photo {
  position: relative;
  margin: 0;
  background: var(--surface-2);
  overflow: hidden;
}
.card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), opacity 0.4s;
}
.card__photo img.is-loading {
  opacity: 0;
}
.card:hover .card__photo img {
  transform: scale(1.025);
}

.card__body {
  display: grid;
  gap: 12px;
  padding: 18px 20px 14px;
}

.song-line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
  margin: 0;
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.3;
}
.song-line__dot {
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--era);
  box-shadow: 0 0 10px var(--era);
}
.song-line__text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.song-line__title {
  color: var(--ink);
  font-weight: 650;
  overflow-wrap: anywhere;
}
.song-line__album {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.card__text {
  margin: 0;
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.62;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.card__text--big {
  font-size: clamp(19px, 1.6vw, 22px);
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -0.012em;
}
.card__text--big::before {
  content: '“';
  display: block;
  height: 0.55em;
  margin-bottom: 6px;
  color: var(--era);
  font-family: Georgia, serif;
  font-size: 2.4em;
  line-height: 1;
  opacity: 0.9;
}
.card__more {
  color: var(--era);
  font-weight: 600;
  white-space: nowrap;
}

.gig {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  border: 1px dashed var(--line-2);
  border-radius: 12px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.45;
}
.gig svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  fill: none;
  stroke: var(--era);
  stroke-width: 1.8;
  stroke-linejoin: round;
}
.gig span {
  overflow-wrap: anywhere;
}

.card__sig {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
}
.signature {
  font-family: var(--font-hand);
  font-size: 21px;
  line-height: 1.1;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.signature--anon {
  color: var(--ink-2);
}
.card__where {
  color: var(--ink-3);
  font-size: 12.5px;
}

.card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.card__time {
  flex: none;
  margin-top: 1px;
  color: var(--ink-3);
  font-size: 12px;
  white-space: nowrap;
}

.card__foot {
  position: relative;
  z-index: 2;
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* the whole card opens the message */
.card__open {
  text-decoration: none;
}
.card__open::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.card__open:focus-visible {
  outline: none;
}
.card:has(.card__open:focus-visible) {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ---------------------------------------------------------------- reactions */

.reacts {
  display: flex;
  flex: 1;
  gap: 6px;
}

.react {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition:
    border-color 0.2s,
    background-color 0.2s,
    color 0.2s,
    transform 0.2s var(--ease);
}
.react:hover {
  border-color: var(--line-3);
  color: var(--ink);
}
.react:active {
  transform: scale(0.94);
}
.react[aria-pressed='true'] {
  border-color: color-mix(in oklab, var(--era) 60%, transparent);
  background: color-mix(in oklab, var(--era) 18%, transparent);
  color: var(--ink);
}
.react__icon {
  display: inline-grid;
  place-items: center;
  width: 16px;
  font-size: 14px;
  line-height: 1;
}

/* the thumbs-down sits apart from the love, quietly, and never shows a count */
.react--down {
  margin-left: auto;
  padding: 0 9px;
  border-color: transparent;
  opacity: 0.55;
  filter: grayscale(1);
}
.react--down:hover,
.react--down:focus-visible {
  border-color: var(--line);
  opacity: 1;
  filter: none;
}
.react--down[aria-pressed='true'] {
  border-color: rgb(255 107 122 / 0.5);
  background: rgb(255 59 78 / 0.12);
  opacity: 1;
  filter: none;
}
.react__count:empty {
  display: none;
}
.react.is-popping .react__icon {
  animation: pop 0.45s var(--ease);
}
@keyframes pop {
  40% {
    transform: scale(1.6) rotate(-10deg);
  }
}

/* ---------------------------------------------------------------- constellations */

.sky {
  position: relative;
  height: min(78vh, 760px);
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(80% 60% at 50% 120%, rgb(143 107 255 / 0.12), transparent 70%),
    radial-gradient(60% 50% at 20% 0%, rgb(46 230 200 / 0.06), transparent 70%),
    linear-gradient(180deg, #05050a, #0a0912);
  overflow: hidden;
}
.sky__canvas {
  width: 100%;
  height: 100%;
  cursor: crosshair;
}
.sky__canvas.is-pointing {
  cursor: pointer;
}
.sky__hint {
  position: absolute;
  left: 20px;
  top: 16px;
  max-width: 420px;
  margin: 0;
  color: var(--ink-3);
  font-size: 12.5px;
  pointer-events: none;
}
.sky__tip {
  position: absolute;
  z-index: 2;
  width: min(300px, 80%);
  padding: 14px 16px;
  border: 1px solid color-mix(in oklab, var(--era) 45%, var(--line-2));
  border-radius: 16px;
  background: rgb(16 16 24 / 0.94);
  box-shadow: 0 20px 50px -20px #000;
  backdrop-filter: blur(8px);
  pointer-events: none;
  font-size: 13.5px;
  line-height: 1.5;
}
.sky__tip .song-line {
  margin-bottom: 8px;
}
.sky__tip p {
  margin: 0;
}
.sky__tip .signature {
  display: block;
  margin-top: 8px;
  font-size: 17px;
}

/* ---------------------------------------------------------------- setlist */

.setlist-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 980px) {
  .setlist-layout {
    grid-template-columns: 1fr;
  }
}

.setlist-paper {
  position: relative;
  margin: 14px 0 0;
  padding: clamp(30px, 4vw, 44px) clamp(24px, 3.5vw, 44px) 26px;
  border-radius: 3px;
  background:
    radial-gradient(120% 80% at 20% 0%, rgb(255 255 255 / 0.55), transparent 60%),
    linear-gradient(175deg, #f4f0e7, #e9e3d6);
  color: var(--paper-ink);
  box-shadow:
    0 2px 0 rgb(0 0 0 / 0.08),
    0 40px 60px -30px rgb(0 0 0 / 0.9);
  transform: rotate(-1.2deg);
}
.setlist-paper::before,
.setlist-paper::after {
  /* gaffer tape */
  content: '';
  position: absolute;
  top: -14px;
  width: 112px;
  height: 32px;
  background:
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0.03) 0 2px, transparent 2px 5px),
    rgb(32 32 36 / 0.92);
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.35);
}
.setlist-paper::before {
  left: 14px;
  transform: rotate(-9deg);
}
.setlist-paper::after {
  right: 14px;
  transform: rotate(7deg);
}

.setlist-paper__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--paper-ink);
  font-family: var(--font-hand);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.setlist {
  margin: 0;
  padding: 0;
  list-style: none;
}
.setlist li {
  margin: 0;
}
.setlist__song {
  display: flex;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  padding: 5px 4px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--paper-ink);
  text-align: left;
  transition: background-color 0.2s;
}
.setlist__song:hover {
  background: rgb(0 0 0 / 0.05);
}
.setlist__song:focus-visible {
  outline-color: var(--paper-ink);
}
.setlist__title {
  flex: 1;
  min-width: 0;
  font-family: var(--font-hand);
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.15;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.setlist__meta {
  flex: none;
  color: var(--paper-ink-2);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.setlist__encore {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 12px 0 8px;
  font-family: var(--font-hand);
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.setlist__encore::before,
.setlist__encore::after {
  content: '';
  flex: 1;
  border-top: 2px dashed rgb(0 0 0 / 0.35);
}
.setlist__empty {
  padding: 8px 4px 2px;
  color: var(--paper-ink-2);
  font-family: var(--font-hand);
  font-size: 19px;
  line-height: 1.6;
}
.setlist-paper__foot {
  margin: 16px 0 0;
  color: var(--paper-ink-2);
  font-size: 12.5px;
}

.insights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 620px) {
  .insights {
    grid-template-columns: 1fr;
  }
}

.panel {
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.panel--wide {
  grid-column: 1 / -1;
}
.panel__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 650;
}
.panel__note {
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 400;
}

.rank {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rank;
}
.rank li {
  display: grid;
  grid-template-columns: 22px 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: rank;
  font-size: 14px;
}
.rank li:last-child {
  border-bottom: 0;
}
.rank li::before {
  content: counter(rank);
  color: var(--ink-3);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.rank__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--era);
}
.rank__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rank__name small {
  margin-left: 6px;
  color: var(--ink-3);
  font-size: 12px;
}
.rank__n {
  color: var(--ink-2);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.rank--plain li {
  grid-template-columns: 22px minmax(0, 1fr) auto;
}
.rank__empty {
  color: var(--ink-3);
  font-size: 14px;
}

/* fan-since column chart */
.since {
  margin: 0;
}
.since__plot {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 150px;
  padding-top: 22px;
  border-bottom: 1px solid #383835;
}
.since__col {
  position: relative;
  display: flex;
  flex: 1 1 0;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.since__bar {
  width: 100%;
  max-width: 24px;
  min-height: 2px;
  border-radius: 4px 4px 0 0;
  background: var(--chart-1);
  transition: filter 0.2s;
}
.since__col:hover .since__bar,
.since__col:focus-visible .since__bar {
  filter: brightness(1.3);
}
.since__col:focus-visible {
  outline-offset: 1px;
}
.since__peak {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.since__axis {
  display: flex;
  gap: 2px;
  margin-top: 8px;
}
.since__tick {
  flex: 1 1 0;
  min-width: 0;
  color: var(--ink-3);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  text-align: center;
  white-space: nowrap;
  overflow: visible;
}
.since__tip {
  position: absolute;
  z-index: 3;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: #0d0d13;
  color: var(--ink-2);
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
}
.since__tip b {
  color: var(--ink);
  font-size: 13px;
}
.since details {
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 13px;
}
.since summary {
  width: max-content;
  cursor: pointer;
}
.since table {
  width: 100%;
  margin-top: 10px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.since th,
.since td {
  padding: 4px 6px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.since td:last-child,
.since th:last-child {
  text-align: right;
}
.since__empty {
  color: var(--ink-3);
  font-size: 14px;
}

.panel {
  --chart-1: #e8545f;
  /* ordinal ramp for the gigs buckets: one hue, dim to bright (validated for the dark panel) */
  --gigs-1: #80363f;
  --gigs-2: #a63c49;
  --gigs-3: #cc4555;
  --gigs-4: #ee5c6b;
  --gigs-5: #ff97a1;
}

/* how many gigs: horizontal bars, value at the tip */
.gigs {
  margin: 0;
}
.gigs__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gigs__row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
.gigs__label {
  color: var(--ink-2);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.gigs__track {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  border-left: 1px solid #383835;
}
.gigs__bar {
  height: 16px;
  max-width: calc(100% - 44px);
  border-radius: 0 4px 4px 0;
  background: var(--step);
  transition: filter 0.2s;
}
.gigs__row:hover .gigs__bar {
  filter: brightness(1.25);
}
.gigs__value {
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------- about */

.about {
  padding-bottom: clamp(64px, 9vw, 120px);
}
.about__card {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(28px, 5vw, 60px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(70% 90% at 0% 0%, rgb(143 107 255 / 0.12), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, rgb(255 59 78 / 0.08), transparent 60%),
    var(--surface);
}
@media (max-width: 860px) {
  .about__card {
    grid-template-columns: 1fr;
  }
}
.about__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.about__body p {
  margin: 0 0 16px;
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.7;
}
.about__body p:last-child {
  margin-bottom: 0;
}
.about__small {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px !important;
}

/* ---------------------------------------------------------------- footer */

.footer {
  border-top: 1px solid var(--line);
  background: #050508;
}
.footer__inner {
  display: grid;
  gap: 12px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px var(--page-pad) calc(48px + env(safe-area-inset-bottom));
  color: var(--ink-3);
  font-size: 13.5px;
}
.footer__inner p {
  max-width: 760px;
  margin: 0;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
}
.footer__care {
  color: var(--ink-2);
}
.footer a {
  color: var(--ink-2);
  text-underline-offset: 3px;
}
.footer a:hover {
  color: var(--ink);
}
.footer__credit {
  margin-top: 6px;
  color: #6f6c7c;
  font-size: 12px;
}
.footer__credit a {
  color: inherit;
}
.footer__top {
  width: max-content;
  margin-top: 8px;
  font-weight: 600;
  text-decoration: none;
}

/* ---------------------------------------------------------------- floating button */

.fab {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 54px;
  padding: 0 22px 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff5263, #e32b40);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.25) inset,
    0 16px 40px -12px rgb(255 59 78 / 0.85),
    0 4px 12px rgb(0 0 0 / 0.5);
  transform: translateY(120px);
  transition: transform 0.45s var(--ease);
}
.fab.is-visible {
  transform: none;
}
.fab svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
}

/* ---------------------------------------------------------------- dialogs */

.dialog {
  width: min(760px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}
.dialog::backdrop {
  background: rgb(3 3 6 / 0.74);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.dialog[open] {
  animation: dialog-in 0.4s var(--ease);
}
.dialog[open]::backdrop {
  animation: fade-in 0.3s ease;
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
}
body:has(.dialog[open]) {
  overflow: hidden;
}

.compose {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 24px);
  border: 1px solid var(--line-2);
  border-radius: 26px;
  background:
    radial-gradient(80% 50% at 100% 0%, rgb(255 59 78 / 0.1), transparent 60%),
    var(--surface);
  box-shadow: 0 40px 100px -30px #000;
  overflow: hidden;
}

.dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 28px 6px;
}
.dialog__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.dialog__sub {
  margin: 6px 0 0;
  color: var(--ink-3);
  font-size: 14px;
}

.dialog__body {
  display: grid;
  gap: 18px;
  padding: 18px 28px 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.dialog__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 16px 28px 22px;
  border-top: 1px solid var(--line);
  background: rgb(10 10 15 / 0.5);
}
.fineprint {
  flex: 1 1 260px;
  margin: 0;
  color: var(--ink-3);
  font-size: 12.5px;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .dialog {
    width: 100vw;
    max-height: 100dvh;
    margin: auto 0 0;
  }
  .compose {
    max-height: 94dvh;
    border-radius: 24px 24px 0 0;
    border-bottom: 0;
  }
  .dialog__head,
  .dialog__body,
  .dialog__foot {
    padding-left: 18px;
    padding-right: 18px;
  }
  .dialog__foot .btn {
    width: 100%;
  }
  @keyframes dialog-in {
    from {
      transform: translateY(40px);
    }
  }
}

/* ---------------------------------------------------------------- form */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 640px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  /* 16px stops iOS zooming in when a field gets focus */
  .field input,
  .field select,
  .field textarea,
  .search input {
    font-size: 16px;
  }
}

.field {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}
.field label,
.field__label {
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
}
.field__opt {
  margin-left: 4px;
  color: var(--ink-3);
  font-weight: 400;
}
.field__req {
  margin-left: 4px;
  color: #ff8a96;
  font-size: 12px;
  font-weight: 500;
}
.field__foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  color: var(--ink-3);
  font-size: 12.5px;
}
.counter {
  font-variant-numeric: tabular-nums;
}
.counter.is-near {
  color: #ffd84d;
}
.counter.is-over {
  color: #ff8a96;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--bg-raise);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #6f6c7c;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--line-3);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: color-mix(in oklab, var(--accent) 70%, #fff);
  box-shadow: 0 0 0 4px rgb(255 59 78 / 0.18);
}
.field [aria-invalid='true'] {
  border-color: #ff6b7a;
}
.field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239390a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}
.field select option,
.field select optgroup {
  background: #15151c;
  color: var(--ink);
}
.field__other {
  margin-top: 2px;
}
.field__hint {
  margin: 0;
  color: var(--ink-3);
  font-size: 12.5px;
}

/* type-ahead list for "Where are you writing from?" */
.combo {
  position: relative;
}
.combo__list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 5;
  max-height: 290px;
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: #17171f;
  box-shadow: 0 24px 50px -20px #000;
  list-style: none;
}
.combo__option {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 9px;
  cursor: pointer;
}
.combo__option:hover,
.combo__option[aria-selected='true'] {
  background: var(--surface-3);
}
.combo__town {
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
}
.combo__where {
  overflow: hidden;
  color: var(--ink-3);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropzone {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 22px 16px;
  border: 1.5px dashed var(--line-3);
  border-radius: 16px;
  background: rgb(255 255 255 / 0.015);
  color: var(--ink-2);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.dropzone:hover,
.dropzone.is-over {
  border-color: color-mix(in oklab, var(--accent) 70%, #fff);
  background: rgb(255 59 78 / 0.06);
}
.dropzone:focus-within {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.dropzone svg {
  width: 28px;
  height: 28px;
  margin-bottom: 4px;
  fill: none;
  stroke: var(--ink-3);
  stroke-width: 1.6;
  stroke-linejoin: round;
}
.dropzone__cta {
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
}
.dropzone__hint {
  color: var(--ink-3);
  font-size: 12.5px;
}

.photo-preview {
  display: flex;
  align-items: center;
  gap: 16px;
}
.photo-preview img {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--surface-2);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgb(255 107 122 / 0.45);
  border-radius: 12px;
  background: rgb(255 59 78 / 0.1);
  color: #ffd0d5;
  font-size: 14px;
}
.form-error b {
  color: #fff;
}

/* ---------------------------------------------------------------- ticket */

.ticket {
  display: flex;
  border-radius: 18px;
  background: linear-gradient(170deg, #f6f2e9, #e8e1d2);
  color: var(--paper-ink);
  box-shadow: 0 40px 100px -30px #000;
  overflow: hidden;
  animation: dialog-in 0.5s var(--ease);
}
.ticket__stub {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 74px;
  background: var(--accent);
  color: #fff;
}
.ticket__stub::after {
  /* perforation */
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: -5px;
  width: 10px;
  background: radial-gradient(circle at 5px 8px, #e8e1d2 3.5px, transparent 4px) 0 0 / 10px 16px repeat-y;
}
.ticket__stub span {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.ticket__main {
  flex: 1;
  padding: 30px clamp(20px, 4vw, 40px) 28px;
}
.ticket__kicker {
  margin: 0 0 4px;
  color: var(--accent);
  font-family: var(--font-hand);
  font-size: 20px;
}
.ticket__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.ticket__title:focus {
  outline: none;
}
.ticket__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  margin: 0 0 18px;
  padding: 14px 0;
  border-block: 2px dashed rgb(0 0 0 / 0.2);
}
.ticket__meta dt {
  color: var(--paper-ink-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ticket__meta dd {
  margin: 2px 0 0;
  font-size: 17px;
  font-weight: 700;
}
.ticket__note {
  margin: 0 0 20px;
  color: var(--paper-ink-2);
  font-size: 13.5px;
}
.ticket__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ticket .btn--ghost {
  border-color: rgb(0 0 0 / 0.18);
  background: transparent;
  color: var(--paper-ink);
}
.ticket .btn--ghost:hover {
  background: rgb(0 0 0 / 0.06);
}

/* ---------------------------------------------------------------- message detail */

.dialog--detail {
  width: min(980px, calc(100vw - 24px));
}

.detail {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  /* The row has to be capped at the window's height, or a long message just gets cut off
     instead of scrolling inside it. */
  grid-template-rows: minmax(0, 1fr);
  max-height: calc(100dvh - 24px);
  border: 1px solid color-mix(in oklab, var(--era) 30%, var(--line-2));
  border-radius: 26px;
  background:
    radial-gradient(90% 60% at 0% 0%, color-mix(in oklab, var(--era) 14%, transparent), transparent 60%),
    var(--surface);
  box-shadow:
    0 40px 100px -30px #000,
    0 0 80px -40px var(--era);
  overflow: hidden;
}
.detail.has-photo {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}
@media (max-width: 820px) {
  /* Photo on top, message below, and the whole card scrolls as one. */
  .detail.has-photo {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .detail.has-photo .detail__main {
    overflow: visible;
  }
}

.detail__photo {
  margin: 0;
  background: #000;
  min-height: 0;
}
.detail__photo img {
  width: 100%;
  height: 100%;
  max-height: calc(100dvh - 26px);
  object-fit: contain;
}
@media (max-width: 820px) {
  .detail__photo img {
    max-height: 60vh;
  }
}

.detail__main {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 0;
  padding: 28px 28px 22px;
  overflow-y: auto;
}

.detail__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.detail__songs {
  display: grid;
  gap: 8px;
}
.detail__songs .song-line {
  font-size: 13.5px;
}
.detail__songs .song-line__title {
  white-space: normal;
}
.song-line__kind {
  flex: none;
  min-width: 64px;
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail__text {
  margin: 0;
  color: var(--ink);
  font-size: clamp(17px, 1.8vw, 19px);
  line-height: 1.65;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.detail__text--big {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.detail__sig {
  display: grid;
  gap: 4px;
}
.detail__sig .signature {
  font-size: 26px;
}

.detail__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
}
.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 600;
}
.link-btn:hover {
  background: rgb(255 255 255 / 0.06);
  color: var(--ink);
}
.link-btn--danger:hover {
  color: #ff8a96;
}

.detail__nav {
  display: flex;
  gap: 6px;
}

.report-form {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--bg-raise);
}
.report-form fieldset {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
}
.report-form legend {
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
}
.report-form label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 14px;
}
.report-form input {
  accent-color: var(--accent);
}
.report-form__actions {
  display: flex;
  gap: 8px;
}

/* ---------------------------------------------------------------- toast */

/* Always in the page (so screen readers hear it), only visible while it has something to say. */
.toast {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 300;
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: #16161e;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 20px 40px -10px #000;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition:
    opacity 0.3s,
    transform 0.35s var(--ease);
}
.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%);
}

/* ---------------------------------------------------------------- 404 */

.lost {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 40px var(--page-pad);
  text-align: center;
}
.lost__inner {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 520px;
}
.lost h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(64px, 14vw, 140px);
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  text-shadow:
    0 0 20px rgb(255 59 78 / 0.6),
    0 0 60px rgb(255 59 78 / 0.4);
}
.lost p {
  margin: 0;
  color: var(--ink-2);
}

/* ---------------------------------------------------------------- motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .sign__svg .led {
    opacity: 1;
    animation: none;
  }
  .ticker__track {
    animation: none;
  }
  .ticker__window {
    overflow-x: auto;
  }
}

/* ---------------------------------------------------------------- map */

.map {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
.map__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.map__summary {
  flex: 1 1 260px;
  min-width: 0;
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
}
.map__stage {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(70% 80% at 50% 0%, rgb(255 59 78 / 0.07), transparent 70%),
    linear-gradient(180deg, #08080d, #0c0b12);
  overflow: hidden;
}
.map__svg {
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 448;
  min-height: 220px;
}
.map__land {
  fill: #1c1c27;
  stroke: #2d2d3c;
  stroke-width: 0.8px;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.map__halos circle {
  fill: rgb(255 59 78 / 0.16);
}
.map__dot {
  fill: #ff3b4e;
  stroke: #0c0b12;
  stroke-width: 1.5px;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 4px rgb(255 59 78 / 0.85));
}
.map__hit {
  fill: transparent;
  cursor: pointer;
}
.map__hit:focus {
  outline: none;
  stroke: #fff;
  stroke-width: 2px;
  vector-effect: non-scaling-stroke;
}
.map__tip {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 2px;
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgb(16 16 24 / 0.95);
  box-shadow: 0 16px 40px -16px #000;
  font-size: 13px;
  line-height: 1.35;
  pointer-events: none;
  white-space: nowrap;
}
.map__tip b {
  color: var(--ink);
  font-size: 14px;
}
.map__tip span {
  color: var(--ink-2);
}
.map__tip small {
  color: var(--ink-3);
  font-size: 11.5px;
}
.map__details {
  color: var(--ink-3);
  font-size: 13px;
}
.map__details summary {
  width: max-content;
  cursor: pointer;
}
.map__list {
  display: grid;
  gap: 2px;
  max-height: 320px;
  margin: 12px 0 0;
  padding: 0 6px 0 0;
  overflow-y: auto;
  list-style: none;
  font-variant-numeric: tabular-nums;
}
.map__list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
}
.map__place {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-2);
  font-size: 13px;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: var(--line-3);
  text-underline-offset: 3px;
}
.map__place:hover {
  color: var(--ink);
}

@media (max-width: 720px) {
  .map__stage {
    border-radius: 20px;
  }
  .map__bar .seg {
    max-width: 100%;
    overflow-x: auto;
  }
  .map__bar .seg__btn {
    padding: 0 11px;
    white-space: nowrap;
  }
}
