/* =====================================================================================
   Stagemuse Festivals - phone-first styles for /festivals pages
   Uses the design tokens from youtube4/css/design-tokens.css
   ===================================================================================== */

:root {
  --fest-bg: var(--bg-primary, #121212);
  --fest-surface: #1a1a1a;
  --fest-surface-2: #232323;
  --fest-surface-3: #2c2c2c;
  --fest-border: rgba(255, 255, 255, 0.08);
  --fest-border-strong: rgba(255, 255, 255, 0.16);
  --fest-text: #fff;
  --fest-text-2: #b3b3b3;
  --fest-text-3: #808080;
  --fest-accent: var(--accent-primary, #1DB954);
  --fest-accent-ink: #0b2a17;
  --fest-love: #ff4d7d;
  --fest-like: #1DB954;
  --fest-pass: #8a8a8a;
  --fest-warn: #f5b13d;
  --fest-radius: 16px;
  --fest-radius-sm: 10px;
  --fest-gutter: 16px;
  --fest-top: calc(36px + env(safe-area-inset-top, 0px));
  --fest-bottom: calc(52px + env(safe-area-inset-bottom, 0px));
  --fest-display-font: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fest-body-font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (min-width: 769px) {
  :root { --fest-top: 48px; --fest-bottom: 0px; --fest-gutter: 24px; }
}

body.fest-body { background: var(--fest-bg); color: var(--fest-text); font-family: var(--fest-body-font); overflow-x: clip; }
html:has(body.fest-body) { overflow-x: clip; }
.fest-body * { box-sizing: border-box; }
.fest-body [data-lucide], .fest-body svg.lucide { width: 18px; height: 18px; flex-shrink: 0; }
.fest-body button { font-family: inherit; }

.fest-page { max-width: 1180px; margin: 0 auto; padding: 16px var(--fest-gutter) 120px; }
.fest-display { font-family: var(--fest-display-font); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(28px, 6vw, 44px); line-height: 1.05; margin: 0; }
.fest-lede { color: var(--fest-text-2); font-size: 16px; line-height: 1.5; margin: 8px 0 0; max-width: 560px; }
.fest-h2 { font-family: var(--fest-display-font); font-size: 22px; font-weight: 700; margin: 0 0 12px; letter-spacing: -0.01em; }
.fest-muted { color: var(--fest-text-2); }
.fest-small { font-size: 13px; color: var(--fest-text-3); }
.fest-hidden { display: none !important; }
.fest-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- buttons, chips, badges ------------------------------------------------------ */
.fest-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--fest-border-strong); background: var(--fest-surface-2); color: var(--fest-text);
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .12s ease, background .15s ease, border-color .15s ease; white-space: nowrap; }
.fest-btn:hover { background: var(--fest-surface-3); color: var(--fest-text); text-decoration: none; }
.fest-btn:active { transform: scale(0.97); }
.fest-btn:disabled { opacity: .5; cursor: default; }
.fest-btn--primary { background: var(--fest-accent); border-color: var(--fest-accent); color: #08140c; }
.fest-btn--primary:hover { background: #1ed760; color: #08140c; }
.fest-btn--ghost { background: transparent; }
.fest-btn--block { width: 100%; }
.fest-btn--sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.fest-icon-btn { width: 44px; height: 44px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--fest-surface-2); border: 1px solid var(--fest-border); color: var(--fest-text); cursor: pointer; }
.fest-icon-btn:hover { background: var(--fest-surface-3); }
.fest-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px;
  background: var(--fest-surface-2); border: 1px solid var(--fest-border); color: var(--fest-text-2); font-size: 14px; font-weight: 500;
  cursor: pointer; text-decoration: none; white-space: nowrap; }
.fest-chip[aria-pressed="true"], .fest-chip.is-active { background: var(--fest-text); color: #111; border-color: var(--fest-text); }
.fest-chip [data-lucide], .fest-chip svg { width: 15px; height: 15px; }
.fest-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(0, 0, 0, 0.6); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.fest-badge svg, .fest-badge [data-lucide] { width: 13px; height: 13px; }
.fest-badge--accent { background: var(--fest-accent); color: #08140c; }
.fest-count { display: inline-flex; min-width: 22px; height: 22px; padding: 0 6px; align-items: center; justify-content: center; border-radius: 999px;
  background: var(--fest-surface-3); font-size: 12px; color: var(--fest-text-2); }

/* ---- browse ---------------------------------------------------------------------- */
.fest-browse__hero { display: flex; flex-direction: column; gap: 16px; padding: 8px 0 20px; }
@media (min-width: 640px) { .fest-browse__hero { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.fest-filters { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.fest-search { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-radius: 999px; background: var(--fest-surface);
  border: 1px solid var(--fest-border); color: var(--fest-text-3); }
.fest-search:focus-within { border-color: var(--fest-border-strong); }
.fest-search input { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; outline: 0; color: var(--fest-text); font-size: 16px; }
.fest-filter-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.fest-filter-row::-webkit-scrollbar { display: none; }
.fest-filter-row select { height: 40px; padding: 0 34px 0 14px; border-radius: 999px; border: 1px solid var(--fest-border); background: var(--fest-surface-2)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23b3b3b3' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--fest-text); font-size: 14px; appearance: none; -webkit-appearance: none; flex-shrink: 0; max-width: 220px; }

.fest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
@media (min-width: 640px) { .fest-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; } }
.fest-card { display: flex; flex-direction: column; border-radius: var(--fest-radius); overflow: hidden; background: var(--fest-surface);
  border: 1px solid var(--fest-border); color: var(--fest-text); text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
.fest-card:hover { transform: translateY(-2px); border-color: var(--fest-border-strong); color: var(--fest-text); text-decoration: none; }
.fest-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--fest-surface-2); overflow: hidden; }
.fest-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fest-card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--fest-display-font);
  font-size: 48px; font-weight: 700; color: rgba(255,255,255,.25); background: linear-gradient(135deg, #2b1f47, #123524); }
.fest-card__badges { position: absolute; top: 8px; left: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.fest-card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.fest-card__title { font-family: var(--fest-display-font); font-size: 17px; font-weight: 700; margin: 0 0 4px; line-height: 1.2; }
.fest-card__meta { display: flex; align-items: center; gap: 6px; color: var(--fest-text-2); font-size: 13px; }
.fest-card__meta svg, .fest-card__meta [data-lucide] { width: 14px; height: 14px; color: var(--fest-text-3); }
.fest-card__meta--dim { color: var(--fest-text-3); }
.fest-grid--past .fest-card { opacity: .8; }
.fest-past { margin-top: 32px; }
.fest-past summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; font-family: var(--fest-display-font);
  font-size: 18px; font-weight: 700; padding: 12px 0; color: var(--fest-text-2); }
.fest-past summary::-webkit-details-marker { display: none; }
.fest-past__chev { margin-left: auto; transition: transform .2s; }
.fest-past[open] .fest-past__chev { transform: rotate(180deg); }

.fest-empty { text-align: center; padding: 56px 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.fest-empty > svg, .fest-empty > [data-lucide] { width: 44px; height: 44px; color: var(--fest-text-3); }
.fest-empty h2 { font-family: var(--fest-display-font); font-size: 22px; margin: 6px 0 0; }
.fest-empty p { color: var(--fest-text-2); margin: 0 0 8px; max-width: 420px; }

/* ---- festival hero ------------------------------------------------------------------ */
.fest-hero { position: relative; overflow: hidden; isolation: isolate; }
.fest-hero__bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(40px) saturate(1.3); opacity: .45; z-index: -2; }
.fest-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,18,18,.2) 0%, var(--fest-bg) 100%); z-index: -1; }
.fest-hero__inner { max-width: 1180px; margin: 0 auto; padding: 20px var(--fest-gutter) 16px; display: flex; gap: 16px; align-items: flex-end; }
.fest-hero__poster { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; flex-shrink: 0; box-shadow: 0 10px 30px rgba(0,0,0,.5); background: var(--fest-surface-2); }
@media (min-width: 769px) { .fest-hero__poster { width: 160px; height: 160px; border-radius: 18px; } .fest-hero__inner { padding-top: 36px; gap: 24px; } }
.fest-hero__text { min-width: 0; flex: 1; }
.fest-hero__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--fest-text-2); font-size: 14px; margin-top: 8px; }
.fest-hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
.fest-hero__meta svg { width: 15px; height: 15px; }
.fest-hero__meta a { color: var(--fest-text-2); }
.fest-hero__actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

.fest-progress { max-width: 1180px; margin: 0 auto 4px; padding: 0 var(--fest-gutter); }
.fest-progress__box { background: var(--fest-surface); border: 1px solid var(--fest-border); border-radius: var(--fest-radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.fest-progress__row { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.fest-progress__bar { height: 6px; border-radius: 999px; background: var(--fest-surface-3); overflow: hidden; }
.fest-progress__fill { height: 100%; background: linear-gradient(90deg, var(--fest-accent), #8bf2b0); border-radius: 999px; transition: width .6s ease; }
.fest-spin { animation: fest-spin 1.2s linear infinite; }
@keyframes fest-spin { to { transform: rotate(360deg); } }
.fest-inline-form { display: flex; gap: 8px; flex-wrap: wrap; }
.fest-input { height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--fest-border-strong); background: var(--fest-surface-2);
  color: var(--fest-text); font-size: 16px; min-width: 0; flex: 1; }
.fest-input:focus { outline: none; border-color: var(--fest-accent); }
textarea.fest-input { height: auto; padding: 12px 14px; line-height: 1.5; resize: vertical; }

/* ---- tabs ----------------------------------------------------------------------------- */
.fest-tabs { position: sticky; top: var(--fest-top); z-index: 50; background: rgba(18,18,18,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--fest-border); }
.fest-tabs__inner { max-width: 1180px; margin: 0 auto; display: flex; padding: 0 calc(var(--fest-gutter) - 8px); overflow-x: auto; scrollbar-width: none; }
.fest-tabs__inner::-webkit-scrollbar { display: none; }
.fest-tab { position: relative; flex: 1 0 auto; min-height: 48px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: none; border: 0; color: var(--fest-text-2); font-weight: 600; font-size: 15px; cursor: pointer; }
@media (min-width: 769px) { .fest-tab { flex: 0 0 auto; padding: 0 18px; } }
.fest-tab[aria-selected="true"] { color: var(--fest-text); }
.fest-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--fest-accent); }
.fest-tab svg { width: 17px; height: 17px; }
.fest-tab__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fest-love); }
.fest-panel { max-width: 1180px; margin: 0 auto; padding: 16px var(--fest-gutter) 140px; }
.fest-panel[hidden] { display: none; }

.fest-toolbar { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.fest-toolbar .fest-chips { min-width: 0; max-width: 100%; }
.fest-toolbar .fest-search { flex: 1 1 220px; height: 44px; }
.fest-sort { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: 999px;
  background: var(--fest-surface); border: 1px solid var(--fest-border); color: var(--fest-text-2); flex: 0 0 auto; }
.fest-sort:focus-within { border-color: var(--fest-border-strong); }
.fest-sort svg { width: 16px; height: 16px; }
.fest-sort select { appearance: none; -webkit-appearance: none; background: transparent; border: 0; outline: 0; color: var(--fest-text);
  font: inherit; font-size: 14px; padding-right: 2px; cursor: pointer; }
.fest-sort select option { background: var(--fest-surface-2); color: var(--fest-text); }
.fest-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.fest-chips::-webkit-scrollbar { display: none; }

/* ---- artist tiles --------------------------------------------------------------------- */
.fest-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 14px 10px; }
@media (min-width: 640px) { .fest-tiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px 16px; } }
.fest-tile { position: relative; width: 100%; display: flex; flex-direction: column; gap: 8px; background: none; border: 0; padding: 0; color: var(--fest-text);
  text-align: left; cursor: pointer; min-width: 0; }
.fest-tile__img { position: relative; width: 100%; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--fest-surface-2); }
.fest-tile__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.fest-tile:hover .fest-tile__img img { transform: scale(1.04); }
.fest-initials { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--fest-display-font); font-weight: 700;
  font-size: 30px; color: rgba(255,255,255,.55); }
.fest-tile__name { font-size: 14px; font-weight: 600; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fest-tile__sub { font-size: 12px; color: var(--fest-text-3); margin-top: -4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fest-tile__react { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.6); backdrop-filter: blur(6px); }
.fest-tile__react svg { width: 15px; height: 15px; }
.fest-tile__react--love { background: var(--fest-love); color: #fff; }
.fest-tile__react--like { background: var(--fest-like); color: #08140c; }
.fest-tile__react--pass { background: rgba(0,0,0,.65); color: #bbb; }
.fest-tile--pass .fest-tile__img { opacity: .45; }
.fest-tile__state { position: absolute; left: 6px; bottom: 6px; }
.fest-tile--unmatched, .fest-tile--pending { cursor: default; }
.fest-tile--pending { opacity: .7; }
.fest-tile--unmatched .fest-tile__img { outline: 1px dashed var(--fest-border-strong); outline-offset: -1px; }
.fest-tile--unmatched .fest-initials { opacity: .5; }

/* picker */
.fest-picker .fest-tile__img::after { content: ""; position: absolute; inset: 0; border-radius: 14px; box-shadow: inset 0 0 0 0 var(--fest-like); transition: box-shadow .15s; }
.fest-picker .fest-tile.is-picked .fest-tile__img::after { box-shadow: inset 0 0 0 4px var(--fest-like); }
.fest-picker .fest-tile.is-picked .fest-tile__img img { filter: brightness(.7); }
.fest-pick-check { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; }
.fest-pick-check span { width: 44px; height: 44px; border-radius: 50%; background: var(--fest-like); color: #08140c; display: flex; align-items: center; justify-content: center; }
.fest-tile.is-picked .fest-pick-check { display: flex; }
.fest-intro { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.fest-intro h2 { font-family: var(--fest-display-font); font-size: 24px; margin: 0; letter-spacing: -0.01em; }
.fest-intro p { color: var(--fest-text-2); margin: 0; }
.fest-dock { position: fixed; left: 0; right: 0; bottom: calc(var(--fest-bottom) + var(--fest-player-h, 0px)); z-index: 60; padding: 10px var(--fest-gutter) 12px;
  background: linear-gradient(180deg, rgba(18,18,18,0) 0%, rgba(18,18,18,.95) 35%); pointer-events: none; }
.fest-dock__inner { max-width: 720px; margin: 0 auto; display: flex; gap: 10px; align-items: center; pointer-events: auto; }
.fest-dock__inner .fest-btn--primary { flex: 1; min-height: 52px; font-size: 16px; box-shadow: 0 8px 28px rgba(29,185,84,.35); }

/* ---- recommendation card ----------------------------------------------------------------- */
.fest-reco { max-width: 560px; margin: 0 auto; }
.fest-reco__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.fest-reco__progress { flex: 1; }
.fest-reco__progress-text { font-size: 13px; color: var(--fest-text-2); margin-bottom: 6px; }
.fest-rcard { background: var(--fest-surface); border: 1px solid var(--fest-border); border-radius: 22px; overflow: hidden; animation: fest-in .28s ease; }
@keyframes fest-in { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }
.fest-rcard__media { position: relative; aspect-ratio: 4 / 3; background: var(--fest-surface-2); overflow: hidden; }
.fest-rcard__media > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fest-rcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.85) 100%); pointer-events: none; }
.fest-rcard__overlay { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; }
.fest-rcard__name { font-family: var(--fest-display-font); font-size: 30px; font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -0.02em; text-shadow: 0 2px 16px rgba(0,0,0,.5); }
.fest-rcard__genres { color: rgba(255,255,255,.8); font-size: 14px; margin-top: 4px; }
.fest-rcard__tier { position: absolute; top: 12px; left: 12px; z-index: 2; }
.fest-tier { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.fest-tier svg { width: 14px; height: 14px; }
.fest-tier--great { background: rgba(29,185,84,.92); color: #08140c; }
.fest-tier--good { background: rgba(255,255,255,.88); color: #111; }
.fest-tier--maybe { background: rgba(0,0,0,.6); color: #ddd; }
.fest-tier--unlikely { background: rgba(60,60,60,.85); color: #bbb; }
.fest-rcard__media .fest-video { position: absolute; inset: 0; z-index: 3; }
.fest-rcard__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.fest-because { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--fest-text-2); line-height: 1.4; }
.fest-because svg { width: 16px; height: 16px; margin-top: 2px; color: var(--fest-accent); }
.fest-because strong { color: var(--fest-text); font-weight: 600; }
/* Verdict + reason in one line, two lines at most; the icon is green only for a match */
.fest-because b { color: var(--fest-text); font-weight: 700; }
.fest-because > span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; min-width: 0; }
.fest-because > svg { flex: none; }
.fest-because--maybe > svg { color: var(--fest-text-3); }
.fest-because--unlikely > svg { color: #f5b13d; }
.fest-seg { display: inline-flex; padding: 3px; background: var(--fest-surface-2); border-radius: 999px; border: 1px solid var(--fest-border); }
.fest-seg button { min-height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--fest-text-2); font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.fest-seg button svg { width: 15px; height: 15px; }
.fest-seg button[aria-pressed="true"] { background: var(--fest-text); color: #111; }
.fest-react-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.fest-react { min-height: 56px; border-radius: 16px; border: 1px solid var(--fest-border-strong); background: var(--fest-surface-2); color: var(--fest-text);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-weight: 700; font-size: 13px; cursor: pointer;
  transition: transform .1s ease, background .15s ease; }
.fest-react svg { width: 22px; height: 22px; }
.fest-react:active { transform: scale(.95); }
.fest-react--pass:hover, .fest-react--pass.is-on { background: #3a3a3a; }
.fest-react--like { color: var(--fest-like); }
.fest-react--like:hover, .fest-react--like.is-on { background: var(--fest-like); color: #08140c; border-color: var(--fest-like); }
.fest-react--love { color: var(--fest-love); }
.fest-react--love:hover, .fest-react--love.is-on { background: var(--fest-love); color: #fff; border-color: var(--fest-love); }
.fest-react-row--compact .fest-react { min-height: 44px; flex-direction: row; gap: 6px; font-size: 14px; }
.fest-react-row--compact .fest-react svg { width: 18px; height: 18px; }

/* song list */
.fest-songs { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.fest-song { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 4px 8px 4px 4px; border-radius: 12px; cursor: pointer; }
.fest-song:hover { background: var(--fest-surface-2); }
.fest-song.is-playing { background: rgba(29,185,84,.12); }
.fest-song__btn { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; position: relative; overflow: hidden; background: var(--fest-surface-3);
  display: flex; align-items: center; justify-content: center; border: 0; color: #fff; cursor: pointer; }
.fest-song__btn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.fest-song__btn svg { position: relative; width: 18px; height: 18px; }
.fest-song__title { flex: 1; min-width: 0; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fest-song.is-playing .fest-song__title { color: var(--fest-accent); font-weight: 600; }
.fest-song__ext { color: var(--fest-text-3); display: inline-flex; }
.fest-song__ext svg { width: 16px; height: 16px; }
.fest-eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 14px; position: relative; }
.fest-eq i { width: 3px; background: var(--fest-accent); animation: fest-eq 0.9s ease-in-out infinite; }
.fest-eq i:nth-child(2) { animation-delay: .2s; } .fest-eq i:nth-child(3) { animation-delay: .4s; }
@keyframes fest-eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }

/* videos */
.fest-video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; }
.fest-rcard__media .fest-video { border-radius: 0; aspect-ratio: auto; }
.fest-video img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; }
.fest-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fest-video__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; }
.fest-video__play span { width: 64px; height: 64px; border-radius: 50%; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; color: #fff; }
.fest-video__play svg { width: 28px; height: 28px; margin-left: 3px; }
.fest-video__label { position: absolute; top: 10px; left: 10px; z-index: 2; }
.fest-video-row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.fest-video-row::-webkit-scrollbar { display: none; }
.fest-vthumb { flex: 0 0 150px; display: flex; flex-direction: column; gap: 6px; background: none; border: 0; padding: 0; color: var(--fest-text); text-align: left; cursor: pointer; }
.fest-vthumb__img { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--fest-surface-2); }
.fest-vthumb__img img { width: 100%; height: 100%; object-fit: cover; }
.fest-vthumb.is-active .fest-vthumb__img { outline: 2px solid var(--fest-accent); outline-offset: 2px; }
.fest-vthumb__label { font-size: 12px; color: var(--fest-text-2); }
.fest-vthumb__title { font-size: 12px; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* list view of recommendations */
.fest-rlist { display: flex; flex-direction: column; gap: 8px; }
.fest-rrow { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; background: var(--fest-surface); border: 1px solid var(--fest-border); cursor: pointer; }
.fest-rrow:hover { border-color: var(--fest-border-strong); }
.fest-rrow__img { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--fest-surface-2); }
.fest-rrow__img img { width: 100%; height: 100%; object-fit: cover; }
.fest-rrow__main { flex: 1; min-width: 0; }
.fest-rrow__name { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fest-rrow__sub { font-size: 13px; color: var(--fest-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fest-rank { width: 26px; text-align: center; color: var(--fest-text-3); font-weight: 700; font-size: 14px; flex-shrink: 0; }

.fest-done { text-align: center; padding: 32px 8px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.fest-done h2 { font-family: var(--fest-display-font); margin: 0; font-size: 26px; }

/* ---- bottom sheet / side panel -------------------------------------------------------------- */
.fest-sheet-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 100000; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.fest-sheet-backdrop.is-open { opacity: 1; pointer-events: auto; }
.fest-sheet { position: fixed; left: 0; right: 0; bottom: 0; max-height: 92vh; max-height: 92dvh; z-index: 100001; background: #181818; border-radius: 22px 22px 0 0;
  transform: translateY(105%); transition: transform .28s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; box-shadow: 0 -10px 40px rgba(0,0,0,.5);
  padding-bottom: env(safe-area-inset-bottom, 0px); }
.fest-sheet.is-open { transform: none; }
@media (min-width: 900px) {
  .fest-sheet { left: auto; top: 0; width: 460px; max-height: none; border-radius: 0; transform: translateX(105%); }
  .fest-sheet.is-open { transform: none; }
}
.fest-sheet__grab { width: 40px; height: 5px; border-radius: 3px; background: #444; margin: 8px auto 0; flex-shrink: 0; }
@media (min-width: 900px) { .fest-sheet__grab { display: none; } }
.fest-sheet__close { position: absolute; top: 10px; right: 10px; z-index: 3; background: rgba(0,0,0,.55); border: 0; }
.fest-sheet__scroll { overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1; overscroll-behavior: contain; }
.fest-sheet__hero { position: relative; aspect-ratio: 16 / 10; background: var(--fest-surface-2); margin: 10px 12px 0; border-radius: 16px; overflow: hidden; }
@media (min-width: 900px) { .fest-sheet__hero { margin: 0; border-radius: 0; } }
.fest-sheet__hero > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fest-sheet__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.8)); pointer-events: none; }
.fest-sheet__title { position: absolute; left: 16px; right: 16px; bottom: 12px; z-index: 2; }
.fest-sheet__title h2 { font-family: var(--fest-display-font); font-size: 28px; margin: 0; line-height: 1.05; }
.fest-sheet__body { padding: 14px 16px 24px; display: flex; flex-direction: column; gap: 18px; }
.fest-section-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fest-text-3); margin: 0 0 8px; }
.fest-bio { color: var(--fest-text-2); font-size: 14px; line-height: 1.55; margin: 0; }
.fest-bio.is-clamped { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.fest-links { display: flex; gap: 8px; flex-wrap: wrap; }
.fest-similar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.fest-similar .fest-tile__name { font-size: 12px; }
.fest-setlist { display: flex; flex-direction: column; gap: 8px; }

/* ---- mini player ------------------------------------------------------------------------- */
.fest-player { position: fixed; left: 8px; right: 8px; bottom: calc(var(--fest-bottom) + 8px); z-index: 99990; max-width: 720px; margin: 0 auto;
  background: rgba(36,36,36,.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--fest-border-strong);
  border-radius: 16px; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 8px; box-shadow: 0 12px 40px rgba(0,0,0,.5);
  transform: translateY(150%); transition: transform .25s ease; overflow: hidden; }
.fest-player.is-visible { transform: none; }
.fest-player__img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--fest-surface-3); cursor: pointer; }
.fest-player__text { flex: 1; min-width: 0; cursor: pointer; }
.fest-player__song { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fest-player__artist { font-size: 12px; color: var(--fest-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fest-player__bar { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--fest-accent); width: 0; transition: width .25s linear; }
.fest-player .fest-icon-btn { width: 40px; height: 40px; background: transparent; border: 0; }
.fest-player .fest-icon-btn svg { width: 20px; height: 20px; }
.fest-player__toggle { background: #fff !important; color: #111 !important; }

/* ---- schedule ------------------------------------------------------------------------------- */
.fest-days { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 12px; }
.fest-days::-webkit-scrollbar { display: none; }
.fest-day { flex-shrink: 0; min-width: 72px; padding: 8px 14px; border-radius: 14px; border: 1px solid var(--fest-border); background: var(--fest-surface);
  color: var(--fest-text-2); cursor: pointer; text-align: center; }
.fest-day b { display: block; font-size: 15px; color: var(--fest-text); }
.fest-day span { font-size: 12px; }
.fest-day[aria-pressed="true"] { background: var(--fest-text); border-color: var(--fest-text); color: #333; }
.fest-day[aria-pressed="true"] b { color: #111; }
.fest-timeline { display: flex; flex-direction: column; gap: 0; }
.fest-slot { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid var(--fest-border); }
.fest-slot:first-child { border-top: 0; }
.fest-slot__time { font-size: 14px; font-weight: 700; color: var(--fest-text-2); padding-top: 10px; }
.fest-slot__sets { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fest-set { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 6px; border-radius: 14px; background: var(--fest-surface); border: 1px solid var(--fest-border); }
.fest-set.is-planned { border-color: rgba(29,185,84,.6); background: rgba(29,185,84,.08); }
.fest-set.is-clash { border-color: var(--fest-warn); box-shadow: inset 3px 0 0 var(--fest-warn); }
.fest-set.is-removed { opacity: .55; }
.fest-set__img { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--fest-surface-2); cursor: pointer; }
.fest-set__img img { width: 100%; height: 100%; object-fit: cover; }
.fest-set__img .fest-initials { font-size: 16px; }
.fest-set__main { flex: 1; min-width: 0; cursor: pointer; }
.fest-set__name { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 6px; min-width: 0; }
.fest-set__name span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fest-set__name svg { width: 14px; height: 14px; flex-shrink: 0; }
.fest-set__meta { font-size: 13px; color: var(--fest-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fest-set__add { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--fest-border-strong); background: transparent; color: var(--fest-text);
  display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.fest-set__add.is-on { background: var(--fest-accent); border-color: var(--fest-accent); color: #08140c; }
.fest-heart { color: var(--fest-love); } .fest-thumb { color: var(--fest-like); }
.fest-callout { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--fest-radius); background: var(--fest-surface); border: 1px solid var(--fest-border); }
.fest-callout > svg { width: 22px; height: 22px; color: var(--fest-accent); margin-top: 2px; }
.fest-callout--warn > svg { color: var(--fest-warn); }
.fest-callout h3 { margin: 0 0 4px; font-size: 16px; }
.fest-callout p { margin: 0; color: var(--fest-text-2); font-size: 14px; line-height: 1.5; }
.fest-stack { display: flex; flex-direction: column; gap: 12px; }

/* desktop stage grid */
.fest-grid-wrap { overflow-x: auto; border-radius: var(--fest-radius); border: 1px solid var(--fest-border); background: var(--fest-surface); }
.fest-sgrid { position: relative; display: grid; min-width: 100%; }
.fest-sgrid__head { position: sticky; top: 0; z-index: 2; background: #1f1f1f; padding: 10px 8px; font-weight: 700; font-size: 13px; border-bottom: 1px solid var(--fest-border);
  border-left: 1px solid var(--fest-border); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fest-sgrid__hour { font-size: 12px; color: var(--fest-text-3); padding: 2px 6px; border-top: 1px solid var(--fest-border); }
.fest-sgrid__cell { border-left: 1px solid var(--fest-border); border-top: 1px solid rgba(255,255,255,.04); }
.fest-gset { margin: 1px 3px; border-radius: 8px; padding: 4px 6px; background: var(--fest-surface-3); border: 1px solid var(--fest-border-strong); overflow: hidden;
  font-size: 12px; cursor: pointer; display: flex; flex-direction: column; z-index: 1; }
.fest-gset b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fest-gset span { color: var(--fest-text-2); }
.fest-gset.is-planned { background: rgba(29,185,84,.25); border-color: var(--fest-accent); }
.fest-gset.is-clash { border-color: var(--fest-warn); }
.fest-gset.is-love { box-shadow: inset 3px 0 0 var(--fest-love); }
.fest-gset.is-like { box-shadow: inset 3px 0 0 var(--fest-like); }

/* plan */
.fest-plan-day { margin-bottom: 22px; }
.fest-plan-day h3 { font-family: var(--fest-display-font); font-size: 18px; margin: 0 0 10px; }
.fest-alt { margin: -2px 0 6px 74px; font-size: 13px; color: var(--fest-text-2); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fest-alt button { background: none; border: 0; color: var(--fest-accent); font-weight: 600; cursor: pointer; padding: 6px 0; font-size: 13px; }
.fest-now { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.fest-now__card { padding: 12px 14px; border-radius: 14px; background: var(--fest-surface); border: 1px solid var(--fest-border); }
.fest-now__stage { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--fest-text-3); font-weight: 700; }
.fest-now__live { display: inline-flex; align-items: center; gap: 6px; color: var(--fest-love); font-size: 12px; font-weight: 700; }
.fest-now__live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--fest-love); animation: fest-pulse 1.4s infinite; }
@keyframes fest-pulse { 50% { opacity: .3; } }
.fest-artist-list { display: flex; flex-direction: column; gap: 6px; }

/* ---- add flow ------------------------------------------------------------------------------- */
.fest-add { max-width: 680px; margin: 0 auto; }
.fest-add__big { display: flex; gap: 10px; flex-direction: column; }
@media (min-width: 560px) { .fest-add__big { flex-direction: row; } }
.fest-add__big .fest-input { height: 56px; font-size: 18px; border-radius: 16px; }
.fest-add__big .fest-btn { min-height: 56px; }
.fest-card-box { background: var(--fest-surface); border: 1px solid var(--fest-border); border-radius: var(--fest-radius); padding: 16px; }
.fest-steps { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.fest-steps li { display: flex; align-items: center; gap: 10px; color: var(--fest-text-3); font-size: 15px; }
.fest-steps li.is-done { color: var(--fest-text-2); }
.fest-steps li.is-active { color: var(--fest-text); font-weight: 600; }
.fest-steps li svg { width: 18px; height: 18px; }
.fest-form-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) { .fest-form-grid { grid-template-columns: 1fr 1fr; } .fest-form-grid .is-wide { grid-column: 1 / -1; } }
.fest-field { display: flex; flex-direction: column; gap: 6px; }
.fest-field label { font-size: 13px; color: var(--fest-text-2); font-weight: 600; }
.fest-review-list { display: flex; flex-direction: column; gap: 4px; max-height: 420px; overflow-y: auto; padding-right: 4px; }
.fest-review-item { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; background: var(--fest-surface-2); }
.fest-review-item span { flex: 1; min-width: 0; }
.fest-review-item small { color: var(--fest-text-3); }
.fest-review-item button { background: none; border: 0; color: var(--fest-text-3); cursor: pointer; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.fest-review-item button:hover { color: var(--fest-love); background: rgba(255,77,125,.1); }
.fest-dropzone { border: 2px dashed var(--fest-border-strong); border-radius: var(--fest-radius); padding: 24px; text-align: center; color: var(--fest-text-2); cursor: pointer; display: block; }
.fest-dropzone.is-over { border-color: var(--fest-accent); background: rgba(29,185,84,.06); }
.fest-matches { display: flex; flex-direction: column; gap: 8px; }
.fest-sources { font-size: 12px; color: var(--fest-text-3); word-break: break-all; }
.fest-sources a { color: var(--fest-text-3); }
.fest-error { color: #ff8a8a; font-size: 14px; }
.fest-toast { position: fixed; left: 50%; bottom: calc(var(--fest-bottom) + 90px); transform: translateX(-50%) translateY(20px); opacity: 0; z-index: 100002;
  background: #f2f2f2; color: #111; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: all .2s ease; pointer-events: none; max-width: calc(100% - 32px); }
.fest-toast.is-visible { opacity: 1; transform: translateX(-50%); }

.fest-skel { background: linear-gradient(90deg, var(--fest-surface-2) 0%, var(--fest-surface-3) 50%, var(--fest-surface-2) 100%); background-size: 200% 100%;
  animation: fest-skel 1.2s infinite; border-radius: 12px; }
@keyframes fest-skel { to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
  .fest-body *, .fest-body *::before, .fest-body *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

@media (max-width: 480px) {
  .fest-rcard__media { aspect-ratio: 16 / 11; }
  .fest-rcard__name { font-size: 26px; }
  .fest-hero__poster { width: 84px; height: 84px; }
  .fest-hero .fest-display { font-size: 30px; }
}
@media (max-width: 480px) {
  .fest-tabs__inner { padding: 0 4px; }
  .fest-tab { flex: 1 1 0; padding: 0 4px; gap: 5px; font-size: 14px; min-width: 0; }
  .fest-tab svg { width: 15px; height: 15px; }
}
@media (max-width: 360px) { .fest-tab svg { display: none; } }
.fest-tile { align-items: stretch; }
.fest-tile > * { max-width: 100%; min-width: 0; }
.fest-tile__sub { display: block; }

.fest-song.is-unplayable { cursor: default; opacity: .55; }
.fest-song.is-unplayable:hover { background: none; }
.fest-song__note { display: block; font-size: 12px; color: var(--fest-text-3); }

/* ---- For You card on wide screens: image left, details right, all visible at once ---- */
@media (min-width: 900px) {
  .fest-reco { max-width: 1040px; }
  .fest-reco__top { max-width: 1040px; }
  .fest-rcard { display: grid; grid-template-columns: minmax(320px, 44%) 1fr; align-items: stretch; }
  .fest-rcard__media { aspect-ratio: auto; height: 100%; min-height: 440px; max-height: min(560px, calc(100vh - 230px)); }
  .fest-rcard__body { padding: 22px 24px; gap: 14px; justify-content: flex-start; max-height: min(560px, calc(100vh - 230px)); min-height: 440px; overflow-y: auto; }
  .fest-rcard__name { font-size: 34px; }
  .fest-rcard [data-role="card-content"] .fest-video { aspect-ratio: 16 / 9; }
  .fest-song { min-height: 44px; }
  .fest-song__btn { width: 36px; height: 36px; }
  .fest-react { min-height: 52px; }
}
@media (min-width: 900px) and (max-height: 760px) {
  .fest-rcard__media, .fest-rcard__body { min-height: 380px; }
}

/* picker: tap once = Like (green), twice = Love (pink) */
.fest-picker .fest-tile.is-love .fest-tile__img::after { box-shadow: inset 0 0 0 4px var(--fest-love); }
.fest-tile.is-love .fest-pick-check span { background: var(--fest-love); color: #fff; }
.fest-pick-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 6px; font-size: 14px; color: var(--fest-text-2); }
.fest-pick-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.fest-pick-dot { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.fest-pick-dot svg { width: 13px; height: 13px; }
.fest-pick-dot--like { background: var(--fest-like); color: #08140c; }
.fest-pick-dot--love { background: var(--fest-love); color: #fff; }
.fest-linkbtn { background: none; border: 0; padding: 0; color: var(--fest-accent); font: inherit; font-weight: 600; cursor: pointer; }
.fest-linkbtn:hover { text-decoration: underline; }

/* tile corner reaction control + menu */
.fest-tile__react { cursor: pointer; width: 32px; height: 32px; top: 6px; right: 6px; transition: transform .12s ease, opacity .15s ease; z-index: 2; }
.fest-tile__react:hover { transform: scale(1.12); }
.fest-tile__react:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.fest-tile__react--none { background: rgba(0,0,0,.55); color: #fff; opacity: 0; }
.fest-tile:hover .fest-tile__react--none, .fest-tile__react--none:focus-visible { opacity: 1; }
@media (hover: none) { .fest-tile__react--none { opacity: .85; } }
.fest-react-menu { position: absolute; z-index: 100003; min-width: 150px; padding: 6px; border-radius: 14px; background: #262626;
  border: 1px solid var(--fest-border-strong); box-shadow: 0 12px 32px rgba(0,0,0,.55); display: flex; flex-direction: column; gap: 2px;
  animation: fest-in .14s ease; }
.fest-react-menu__item { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 10px;
  background: none; color: var(--fest-text); font-size: 15px; font-weight: 600; cursor: pointer; text-align: left; }
.fest-react-menu__item:hover, .fest-react-menu__item:focus-visible { background: var(--fest-surface-3); outline: none; }
.fest-react-menu__item svg { width: 17px; height: 17px; }
.fest-react-menu__item--love svg { color: var(--fest-love); }
.fest-react-menu__item--like svg { color: var(--fest-like); }
.fest-react-menu__item--pass svg, .fest-react-menu__item--none svg { color: var(--fest-text-2); }
.fest-react-menu__item.is-on::after { content: "✓"; margin-left: auto; color: var(--fest-text-2); font-weight: 700; }
.fest-react-menu__item--none { color: var(--fest-text-2); border-top: 1px solid var(--fest-border); border-radius: 0 0 10px 10px; margin-top: 2px; }

/* picker: corner X = Not for me (pass) */
.fest-pick-pass { position: absolute; top: 6px; right: 6px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.55); color: #fff; cursor: pointer; opacity: .85; transition: transform .12s ease, background .15s ease; }
.fest-pick-pass:hover { transform: scale(1.1); background: rgba(0,0,0,.8); }
.fest-pick-pass svg { width: 15px; height: 15px; }
.fest-picker .fest-tile.is-pass .fest-tile__img img { filter: grayscale(1) brightness(.45); }
.fest-picker .fest-tile.is-pass .fest-tile__img::after { box-shadow: inset 0 0 0 3px #6b6b6b; }
.fest-tile.is-pass .fest-pick-check span { background: #5a5a5a; color: #fff; }
.fest-tile.is-pass .fest-pick-pass { background: #fff; color: #111; opacity: 1; }
.fest-tile.is-pass .fest-tile__name { color: var(--fest-text-2); } /* no strike-through: owner 2026-11-22, too hard to read */
.fest-pick-dot--pass { background: #5a5a5a; color: #fff; }

/* ---- phase 2: following row, suggestions, follow button, unannounced ---- */
.fest-section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.fest-following { margin-bottom: 26px; }
.fest-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 220px); gap: 14px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.fest-scroller .fest-card__media { aspect-ratio: 16 / 10; }
.fest-search-wrap { position: relative; }
.fest-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 70; background: #222; border: 1px solid var(--fest-border-strong);
  border-radius: 16px; padding: 6px; box-shadow: 0 16px 40px rgba(0,0,0,.55); max-height: 70vh; overflow-y: auto; }
.fest-suggest__item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; color: var(--fest-text); text-decoration: none;
  width: 100%; background: none; border: 0; font: inherit; text-align: left; cursor: pointer; }
.fest-suggest__item:hover, .fest-suggest__item.is-active { background: var(--fest-surface-3); color: var(--fest-text); text-decoration: none; }
.fest-suggest__item b { display: block; font-size: 15px; }
.fest-suggest__item small { display: block; font-size: 13px; color: var(--fest-text-2); }
.fest-suggest__icon { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--fest-surface-3); display: flex; align-items: center; justify-content: center; }
.fest-suggest__icon img { width: 100%; height: 100%; object-fit: cover; }
.fest-card--soon .fest-card__media img { filter: saturate(.7) brightness(.8); }
.fest-btn--follow.is-following { background: transparent; border-color: var(--fest-accent); color: var(--fest-accent); }
.fest-btn--follow.is-following:hover { border-color: var(--fest-love); color: var(--fest-love); }
.fest-soon { max-width: 640px; margin: 8px auto 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 28px 8px 40px; }
.fest-soon h2 { font-family: var(--fest-display-font); font-size: 26px; margin: 0; }
.fest-soon p { color: var(--fest-text-2); margin: 0; line-height: 1.5; }
.fest-soon .fest-btn--primary { min-height: 52px; font-size: 16px; padding: 0 26px; }
.fest-new { display: inline-flex; padding: 2px 8px; border-radius: 999px; background: var(--fest-accent); color: #08140c; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.fest-tile__new { position: absolute; left: 6px; top: 6px; z-index: 2; }
.fest-editions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.fest-save-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.6); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 300; }
.fest-save { position: fixed; left: 50%; bottom: 0; transform: translate(-50%, 105%); width: min(460px, 100%); background: #1f1f1f; border-radius: 22px 22px 0 0;
  padding: 28px 22px calc(22px + env(safe-area-inset-bottom)); z-index: 301; transition: transform .26s cubic-bezier(.2,.8,.2,1); text-align: center; box-shadow: 0 -10px 40px rgba(0,0,0,.5); }
.is-open > .fest-save-backdrop { opacity: 1; pointer-events: auto; }
.is-open > .fest-save { transform: translate(-50%, 0); }
@media (min-width: 640px) { .fest-save { bottom: 50%; border-radius: 22px; transform: translate(-50%, calc(50% + 60px)); opacity: 0; pointer-events: none; transition: transform .22s, opacity .22s; }
  .is-open > .fest-save { transform: translate(-50%, 50%); opacity: 1; pointer-events: auto; } }
.fest-save__close { position: absolute; right: 10px; top: 10px; }
.fest-save__icon { width: 52px; height: 52px; border-radius: 50%; background: rgba(29,185,84,.15); color: var(--fest-accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.fest-save__title { font-family: var(--fest-display-font); font-size: 24px; margin: 0 0 8px; }
.fest-save__text { color: var(--fest-text-2); margin: 0 0 20px; line-height: 1.5; }
.fest-save__google { background: #fff; color: #1f1f1f; border-color: #fff; gap: 10px; font-weight: 700; }
.fest-save__google:hover { background: #f0f0f0; color: #1f1f1f; }
.fest-save__or { display: flex; align-items: center; gap: 10px; color: var(--fest-text-3); font-size: 13px; margin: 14px 0; }
.fest-save__or::before, .fest-save__or::after { content: ''; flex: 1; height: 1px; background: var(--fest-border); }
.fest-save__form { display: flex; gap: 8px; }
.fest-save__form .fest-input { flex: 1; min-width: 0; }
.fest-save__msg { margin: 12px 0 0; color: var(--fest-text); line-height: 1.5; }
.fest-save__msg svg { width: 16px; height: 16px; vertical-align: -3px; color: var(--fest-accent); }
.fest-save__fine { font-size: 12px; color: var(--fest-text-3); margin: 14px 0 0; }
@media (max-width: 380px) { .fest-save__form { flex-direction: column; } }
/* Festival pages ask to save at meaningful moments (js/follow.js) instead of the site-wide banner */
.fest-body .auth-prompt-banner { display: none !important; }
.fest-hero__actions [data-follower-count] { align-self: center; }
/* ---- friends ---- */
.fest-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--fest-surface-3); display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--fest-text); overflow: hidden; flex-shrink: 0; text-transform: uppercase; }
.fest-avatar img { width: 100%; height: 100%; object-fit: cover; }
.fest-avatar--lg { width: 72px; height: 72px; font-size: 28px; }
.fest-friend-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--fest-surface-2); border: 1px solid var(--fest-border); }
.fest-friend-row__main { flex: 1; min-width: 0; color: var(--fest-text); text-decoration: none; }
.fest-friend-row__main:hover { color: var(--fest-text); text-decoration: none; }
.fest-friend-row__main b { display: block; }
.fest-friend-row__main small { display: block; color: var(--fest-text-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fest-check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.fest-check input { width: 20px; height: 20px; accent-color: var(--fest-accent); }
.fest-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--fest-text-2); }
.fest-mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; }
.fest-mini__img { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--fest-surface-3); }
.fest-mini__img img { width: 100%; height: 100%; object-fit: cover; }
.fest-mini__love { position: absolute; right: 4px; bottom: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--fest-love); display: flex; align-items: center; justify-content: center; }
.fest-mini__love svg { width: 13px; height: 13px; color: #fff; fill: #fff; }
.fest-mini__name { font-size: 13px; margin-top: 6px; line-height: 1.25; }
.fest-friends-dot { position: absolute; left: 6px; bottom: 6px; z-index: 2; display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px 2px 5px; border-radius: 999px;
  background: rgba(0,0,0,.72); color: #fff; font-size: 11px; font-weight: 700; }
.fest-friends-dot svg { width: 12px; height: 12px; }
.fest-friends-line { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--fest-text-2); margin-top: 6px; }
.fest-friends-line svg { width: 14px; height: 14px; color: var(--fest-accent); }
.fest-from-friends { margin-top: 22px; }
.fest-body input.fest-input { height: 44px; box-sizing: border-box; font-size: 16px; }
.fest-soon input.fest-input { width: 100%; max-width: 320px; text-align: center; }

/* One-tap follow bell on festival cards (follows the festival every year) */
.fest-card-wrap { position: relative; display: flex; flex-direction: column; min-width: 0; }
.fest-card-wrap > .fest-card { flex: 1; }
.fest-card__follow { position: absolute; top: 6px; right: 6px; width: 40px; height: 40px; border-radius: 999px; display: flex; align-items: center;
  justify-content: center; border: 1px solid rgba(255,255,255,.18); background: rgba(10,10,12,.62); color: #fff; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .15s ease, color .15s ease, transform .1s ease; }
.fest-card__follow svg, .fest-card__follow [data-lucide] { width: 18px; height: 18px; }
.fest-card__follow:hover { background: rgba(10,10,12,.85); }
.fest-card__follow:active { transform: scale(.92); }
.fest-card__follow:focus-visible { outline: 2px solid var(--fest-accent); outline-offset: 2px; }
.fest-card__follow.is-following { background: var(--fest-accent); border-color: var(--fest-accent); color: #0b0b0d; }
.fest-card-wrap:has(.fest-card__follow) .fest-card__badges { right: 52px; }

/* Festival matches (FestivalMatcher): badges, For you row, "who played last time", similar festivals */
.fest-badge--match { background: #f4d35e; color: #1c1503; }
.fest-card__match { color: var(--fest-text-2); align-items: flex-start; }
.fest-card__match span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fest-card__match svg, .fest-card__match [data-lucide] { color: #f4d35e; flex-shrink: 0; margin-top: 2px; }
.fest-foryou__why { color: var(--fest-text-3); margin: -6px 0 12px; max-width: 640px; }
.fest-lasttime { width: 100%; text-align: left; background: var(--fest-surface); border: 1px solid var(--fest-border); border-radius: var(--fest-radius); padding: 16px; }
.fest-lasttime__match { display: flex; gap: 8px; align-items: flex-start; color: var(--fest-text) !important; margin: 0 0 12px !important; }
.fest-lasttime__match svg, .fest-lasttime__match [data-lucide] { width: 16px; height: 16px; color: #f4d35e; flex-shrink: 0; margin-top: 3px; }
.fest-lasttime__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.fest-act { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; min-height: 32px; border-radius: 999px; background: var(--fest-surface-2);
  border: 1px solid var(--fest-border); font-size: 13px; color: var(--fest-text); }
.fest-act img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.fest-act:not(:has(img)) { padding-left: 12px; }
.fest-act--open { cursor: pointer; font: inherit; font-size: 13px; transition: border-color .15s, background .15s; }
.fest-act--open:hover, .fest-act--open:focus-visible { border-color: var(--fest-accent); background: var(--fest-surface); outline: none; }
.fest-act.is-love { border-color: var(--fest-love); }
.fest-act.is-like { border-color: var(--fest-like); }
.fest-act.is-pass { opacity: .55; }
.fest-act__r { width: 13px; height: 13px; margin-left: -2px; color: var(--fest-love); }
.fest-act.is-like .fest-act__r { color: var(--fest-like); }
.fest-lasttime__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.fest-lasttime__head .fest-section-label { margin: 0; }
.fest-lasttime__years { display: flex; gap: 6px; }
.fest-lasttime__years .fest-chip.is-on { border-color: var(--fest-accent); color: var(--fest-text); }
.fest-lasttime__more { margin: -4px 0 12px; }
.fest-alike { padding-top: 8px; padding-bottom: 40px; }
.fest-alike .fest-scroller { grid-auto-columns: minmax(200px, 240px); }

/* Festival posters: row of thumbnails + full-screen viewer */
.fest-posters { padding-top: 8px; padding-bottom: 8px; }
.fest-posters__row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.fest-poster { flex: 0 0 auto; width: 180px; padding: 0; border: 1px solid var(--fest-border); border-radius: var(--fest-radius); overflow: hidden;
  background: var(--fest-surface); color: var(--fest-text-2); cursor: zoom-in; text-align: center; font: inherit; font-size: 13px; }
.fest-poster:hover { border-color: var(--fest-border-strong); }
.fest-poster:focus-visible { outline: 2px solid var(--fest-accent); outline-offset: 2px; }
.fest-poster img { display: block; width: 100%; height: 240px; object-fit: cover; object-position: top; }
.fest-poster span { display: block; padding: 8px; }
@media (min-width: 640px) { .fest-poster { width: 220px; } .fest-poster img { height: 300px; } }
.fest-lightbox { position: fixed; inset: 0; z-index: 1200; background: rgba(0,0,0,.92); display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 56px 12px 12px; gap: 10px; cursor: zoom-out; }
.fest-lightbox[hidden] { display: none; }
.fest-lightbox img { max-width: 100%; max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); object-fit: contain; border-radius: 6px; cursor: default; }
.fest-lightbox__close { position: absolute; top: 10px; right: 10px; }
.fest-lightbox__cap { margin: 0; color: #ddd; font-size: 14px; text-align: center; cursor: default; }
.fest-lightbox__cap a { color: #fff; margin-left: 12px; text-decoration: underline; }

/* Top-of-page thumbnail opens the poster / image full screen */
.fest-hero__posterbtn { position: relative; padding: 0; border: 0; background: none; cursor: zoom-in; flex-shrink: 0; border-radius: 18px; line-height: 0; }
.fest-hero__posterbtn:focus-visible { outline: 2px solid var(--fest-accent); outline-offset: 3px; }
.fest-hero__posterbtn .fest-hero__poster { object-position: top; }
.fest-hero__postertag { position: absolute; left: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 999px;
  background: rgba(10,10,12,.78); color: #fff; font-size: 11px; font-weight: 600; line-height: 1.2; }
.fest-hero__postertag svg, .fest-hero__postertag [data-lucide] { width: 11px; height: 11px; }

/* ---------- Browse filters: primary row, Filters sheet, active chips (D7) ---------- */
.fest-filter-row .fest-select--sort { margin-left: auto; }
.fest-filter-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--fest-accent); color: #08140c; font-size: 11px; font-weight: 700; margin-left: 2px; }
.fest-chip.is-active .fest-filter-count { background: #111; color: #fff; }
.fest-active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 2px; }
.fest-active-chip { display: inline-flex; align-items: center; gap: 4px; min-height: 30px; padding: 0 8px 0 12px; border-radius: 999px;
  background: var(--fest-surface-2); border: 1px solid var(--fest-border-strong); color: var(--fest-text); font-size: 13px; text-decoration: none; }
.fest-active-chip svg { width: 14px; height: 14px; color: var(--fest-text-2); }
.fest-active-chip:hover svg, .fest-active-chip:focus-visible svg { color: var(--fest-text); }
.fest-active-clear { margin-left: 4px; color: var(--fest-text-2); }

.fest-filter-sheet { position: fixed; z-index: 100001; left: 0; right: 0; bottom: 0; max-height: 86vh; display: flex; flex-direction: column;
  background: var(--fest-surface); border: 1px solid var(--fest-border-strong); border-radius: 20px 20px 0 0;
  transform: translateY(100%); transition: transform .22s ease; padding-bottom: env(safe-area-inset-bottom, 0px); }
.fest-filter-sheet.is-open { transform: none; }
.fest-filter-sheet[hidden] { display: none; }
.fest-filter-sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--fest-gutter) 8px; }
.fest-filter-sheet__head .fest-h2 { margin: 0; }
.fest-filter-sheet__body { overflow-y: auto; padding: 0 var(--fest-gutter) 12px; overscroll-behavior: contain; }
.fest-filter-sheet__foot { display: flex; gap: 10px; justify-content: space-between; padding: 12px var(--fest-gutter);
  border-top: 1px solid var(--fest-border); }
.fest-filter-sheet__foot .fest-btn--primary { flex: 1; justify-content: center; }
.fest-filter-group { border: 0; margin: 0 0 14px; padding: 0; min-width: 0; }
.fest-filter-group legend { font-size: 13px; font-weight: 700; color: var(--fest-text-2); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; padding: 0; }
.fest-filter-group .fest-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fest-chip--check { position: relative; cursor: pointer; }
.fest-chip--check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fest-chip--check:has(input:checked) { background: var(--fest-text); color: #111; border-color: var(--fest-text); }
.fest-chip--check:has(input:focus-visible) { outline: 2px solid var(--fest-accent); outline-offset: 2px; }
.fest-chip--check.is-extra { display: none; }
@media (min-width: 760px) {
  /* Desktop: a panel instead of a bottom sheet */
  .fest-filter-sheet { left: auto; right: 24px; top: 90px; bottom: auto; width: 440px; max-height: calc(100vh - 120px); border-radius: 16px;
    transform: translateY(-8px); opacity: 0; transition: transform .18s ease, opacity .18s ease; }
  .fest-filter-sheet.is-open { transform: none; opacity: 1; }
}

/* ---------- Email preferences on /festivals/following (D4) ---------- */
.fest-emailprefs { margin: 0 0 20px; border: 1px solid var(--fest-border); border-radius: var(--fest-radius); background: var(--fest-surface); }
.fest-emailprefs summary { display: flex; align-items: center; gap: 8px; padding: 14px 16px; cursor: pointer; font-weight: 600; list-style: none; }
.fest-emailprefs summary::-webkit-details-marker { display: none; }
.fest-emailprefs summary svg { width: 18px; height: 18px; color: var(--fest-text-2); }
.fest-emailprefs__body { display: grid; gap: 14px; padding: 0 16px 16px; }
.fest-switch { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.fest-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fest-switch__track { flex: 0 0 40px; height: 24px; border-radius: 999px; background: var(--fest-surface-3); position: relative; transition: background .15s; margin-top: 2px; }
.fest-switch__track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; }
.fest-switch input:checked + .fest-switch__track { background: var(--fest-accent); }
.fest-switch input:checked + .fest-switch__track::after { transform: translateX(16px); }
.fest-switch input:focus-visible + .fest-switch__track { outline: 2px solid var(--fest-accent); outline-offset: 2px; }
.fest-switch b { display: block; font-size: 15px; }
.fest-switch small { display: block; color: var(--fest-text-2); font-size: 13px; line-height: 1.4; margin-top: 2px; }

/* ---------- Taste import (D6) ---------- */
.fest-import__steps { margin: 6px 0 8px 18px; padding: 0; line-height: 1.6; color: var(--fest-text-2); }
.fest-import__steps b { color: var(--fest-text); }
.fest-import kbd { font: inherit; font-size: 12px; padding: 1px 6px; border-radius: 6px; background: var(--fest-surface-3); border: 1px solid var(--fest-border-strong); }
.fest-import__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: var(--fest-radius-sm);
  background: var(--fest-surface); border: 1px solid var(--fest-border); }
.fest-getreco { margin-bottom: 20px; }

/* ---------- People badges (D9): tiny, discreet; never more than one stack per card / tile ---------- */
.fest-people { display: inline-flex; align-items: center; position: relative; padding: 2px; border-radius: 999px; background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px); line-height: 1; }
.fest-people__a { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.6); background: var(--fest-surface-3);
  display: inline-grid; place-items: center; font-size: 8px; font-weight: 700; color: var(--fest-text); }
.fest-people__a + .fest-people__a { margin-left: -5px; }
.fest-people__more { font-size: 10px; font-weight: 700; color: var(--fest-text); padding: 0 3px 0 4px; }
.fest-people__mark { position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(0,0,0,.6); }
.fest-people__mark svg { width: 6px; height: 6px; stroke-width: 3.5; }
.fest-people__mark--check { background: var(--fest-accent); color: #08140c; }
.fest-people__mark--heart { background: var(--fest-love); color: #fff; }
.fest-people--card { position: absolute; right: 6px; bottom: 6px; }
.fest-people--tile { position: absolute; left: 6px; bottom: 6px; }
@media (min-width: 900px) { .fest-people__a { width: 18px; height: 18px; } }
.fest-hero__people { display: flex; align-items: center; gap: 8px; margin: 2px 0 8px; font-size: 13px; color: var(--fest-text-2); }
.fest-hero__people .fest-people { background: transparent; backdrop-filter: none; padding: 0; }
.fest-hero__people a { color: inherit; }
.fest-btn--going.is-going { background: var(--fest-accent); color: var(--fest-accent-ink); border-color: var(--fest-accent); }
.fest-people--tile { z-index: 2; }

/* Profile page (/u/{handle}) */
.fest-profile { max-width: 1100px; }
.fest-profile__card { position: relative; margin: 8px 0 28px; padding: 22px; border-radius: 22px; border: 1px solid var(--fest-border, rgba(255,255,255,.08));
  background: radial-gradient(120% 140% at 0% 0%, rgba(29,185,84,.16), transparent 55%), var(--fest-surface, #1b1b1f); }
.fest-profile__top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.fest-profile__avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(255,255,255,.08); background: var(--fest-surface-2); }
.fest-profile__avatar--initials { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 30px; color: var(--fest-text); }
.fest-profile__id { flex: 1; min-width: 180px; }
.fest-profile__name { font-family: var(--fest-display-font, inherit); font-size: clamp(28px, 4vw, 40px); line-height: 1.05; margin: 0; }
.fest-profile__handle { margin: 6px 0 0; color: var(--fest-text-2); font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fest-profile__badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--fest-text-2); }
.fest-profile__badge svg { width: 13px; height: 13px; }
.fest-profile__badge--accent { background: rgba(29,185,84,.16); color: #5be08b; }
.fest-profile__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-left: auto; }
.fest-profile__more { position: relative; }
.fest-profile__more summary { list-style: none; cursor: pointer; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.07); }
.fest-profile__more summary::-webkit-details-marker { display: none; }
.fest-profile__more > div { position: absolute; right: 0; top: 42px; z-index: 5; min-width: 160px; padding: 8px; border-radius: 12px; background: var(--fest-surface-2, #26262b);
  box-shadow: 0 12px 30px rgba(0,0,0,.5); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.fest-profile__statrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.07); }
.fest-profile__stat { display: flex; flex-direction: column; line-height: 1.1; }
.fest-profile__stat b { font-size: 22px; color: var(--fest-text); }
.fest-profile__stat span { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--fest-text-2); margin-top: 3px; }
.fest-profile__genres { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.fest-profile__genre { font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); color: var(--fest-text); }
.fest-profile__since { margin: 12px 0 0; font-size: 13px; color: var(--fest-text-2); }
.fest-profile__share { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.07); }
.fest-profile-share .fest-inline-form { flex-wrap: wrap; gap: 8px; }
.fest-profile-share .fest-input { font-size: 14px; }
.fest-profile-share--compact p { margin-top: 6px; }
.fest-profile__section { margin-top: 30px; }
.fest-profile__artists { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.fest-profile__artist { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 8px 12px 8px 8px; border-radius: 14px; background: var(--fest-surface, #1b1b1f); border: 1px solid rgba(255,255,255,.06); }
.fest-profile__artist img, .fest-profile__artist-ph { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--fest-surface-2); }
.fest-profile__artist-ph { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--fest-text-2); }
.fest-profile__artist-name { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fest-profile__love { width: 16px; height: 16px; flex-shrink: 0; color: #ff5c8a; fill: #ff5c8a; }
@media (max-width: 600px) {
  .fest-profile__card { padding: 18px 16px; }
  .fest-profile__avatar { width: 68px; height: 68px; }
  .fest-profile__actions { margin-left: 0; width: 100%; }
  .fest-profile__genres { margin-left: 0; }
  .fest-profile__artists { grid-template-columns: 1fr 1fr; }
  .fest-profile__artist img, .fest-profile__artist-ph { width: 36px; height: 36px; }
}

/* Festival logos (D11): drawn contained on their own background colour */
.fest-card__logo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 14% 12%; }
.fest-card__logo img { width: 100%; height: 100%; object-fit: contain; }
.fest-hero__logo { width: 96px; height: 96px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  padding: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.fest-hero__logo img { width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 769px) { .fest-hero__logo { width: 160px; height: 160px; border-radius: 18px; padding: 18px; } }
.fest-profile__sechead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.fest-profile__sechead .fest-h2 { margin: 0; }
.fest-profile__tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--fest-surface, #1b1b1f); border: 1px solid rgba(255,255,255,.06); }
.fest-profile__tabs button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--fest-text-2); font: inherit; font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.fest-profile__tabs button svg { width: 14px; height: 14px; }
.fest-profile__tabs button span { opacity: .7; font-weight: 500; }
.fest-profile__tabs button.is-active { background: rgba(255,255,255,.1); color: var(--fest-text); }
.fest-profile__artists li { list-style: none; min-width: 0; }
button.fest-profile__artist { width: 100%; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: background .15s, border-color .15s; }
button.fest-profile__artist:hover, button.fest-profile__artist:focus-visible { background: var(--fest-surface-2, #26262b); border-color: rgba(255,255,255,.16); }
.fest-profile__rx { width: 16px; height: 16px; flex-shrink: 0; }
.fest-profile__rx--love { color: #ff5c8a; fill: #ff5c8a; }
.fest-profile__rx--like { color: #8ab4ff; }
.fest-profile__showall { margin-top: 14px; }
.fest-profile__plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.fest-profile__plan { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; text-decoration: none; color: inherit;
  background: var(--fest-surface, #1b1b1f); border: 1px solid rgba(255,255,255,.06); transition: border-color .15s, background .15s; }
.fest-profile__plan:hover { border-color: rgba(29,185,84,.5); background: var(--fest-surface-2, #26262b); }
.fest-profile__plan-icon { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(29,185,84,.15); color: #5be08b; }
.fest-profile__plan-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fest-profile__plan-body b { font-size: 15px; }
.fest-profile__plan-body small { color: var(--fest-text-2); font-size: 13px; }
.fest-profile__plan-acts { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fest-profile__plan-go { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 600; color: #5be08b; white-space: nowrap; }
.fest-profile__plan-go svg { width: 16px; height: 16px; }
/* Artist sheet */
.fest-artist-sheet { width: min(520px, calc(100vw - 24px)); max-height: min(86vh, 760px); padding: 0; border: 1px solid rgba(255,255,255,.1); border-radius: 20px;
  background: var(--fest-surface, #1b1b1f); color: var(--fest-text); overflow: auto; }
.fest-artist-sheet::backdrop { background: rgba(0,0,0,.6); backdrop-filter: blur(3px); }
.fest-artist-sheet__hero { position: relative; display: flex; align-items: flex-end; gap: 16px; padding: 22px; min-height: 150px;
  background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.75)), var(--sheet-bg, #222) center / cover; }
.fest-artist-sheet__hero img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.fest-artist-sheet__hero h3 { margin: 0; font-size: 26px; line-height: 1.1; }
.fest-artist-sheet__close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0,0,0,.5); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.fest-artist-sheet__body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 16px; }
.fest-artist-sheet__body h4 { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--fest-text-2); }
.fest-artist-sheet__rx { display: flex; gap: 8px; flex-wrap: wrap; }
.fest-artist-sheet__rx .is-on { background: rgba(255,92,138,.18); border-color: #ff5c8a; }
.fest-artist-sheet__rx [data-rx="like"].is-on { background: rgba(138,180,255,.16); border-color: #8ab4ff; }
.fest-artist-sheet__song { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.fest-artist-sheet__song img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; }
.fest-artist-sheet__song span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fest-artist-sheet__play { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #1DB954; color: #121212; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fest-artist-sheet__fests a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; color: inherit; text-decoration: none; border-top: 1px solid rgba(255,255,255,.06); }
.fest-artist-sheet__fests a small { color: var(--fest-text-2); }
.fest-artist-sheet__links { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 600px) { .fest-profile__tabs { width: 100%; justify-content: space-between; } .fest-profile__plans { grid-template-columns: 1fr; } }

/* Plan rows: labelled buttons, overlap note, removed-with-undo */
.fest-set__btn { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; height: 38px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--fest-border-strong); background: transparent; color: var(--fest-text); font: inherit; font-size: 13px; font-weight: 600; }
.fest-set__btn svg { width: 16px; height: 16px; }
.fest-set__btn.is-on { background: var(--fest-accent); border-color: var(--fest-accent); color: #08140c; }
.fest-set__btn--remove { color: var(--fest-text-2); }
.fest-set__btn--remove:hover, .fest-set__btn--remove:focus-visible { color: #ff7a7a; border-color: rgba(255,122,122,.6); background: rgba(255,122,122,.08); }
.fest-set.is-taken-out { opacity: .55; border-style: dashed; background: transparent; }
.fest-set.is-taken-out .fest-set__btn { opacity: 1; }
.fest-set__clash { display: flex; align-items: center; gap: 5px; margin-top: 3px; font-size: 12px; color: var(--fest-warn); }
.fest-set__clash svg { width: 13px; height: 13px; flex-shrink: 0; }
.fest-plan-legend { margin: -6px 0 16px; color: var(--fest-text-2); }
.fest-plan-legend__clash { color: var(--fest-warn); font-weight: 600; }
@media (max-width: 600px) { .fest-set__btn { padding: 0 10px; } .fest-set__btn--remove span { display: none; } }

/* Someone's picks on a festival (?with=handle) and on profile cards */
.fest-withpicks { max-width: calc(1180px - 2 * var(--fest-gutter)); margin: 4px auto 18px; width: calc(100% - 2 * var(--fest-gutter)); box-sizing: border-box; padding: 14px 16px; border-radius: 18px; background: var(--fest-surface, #1b1b1f); border: 1px solid rgba(255,92,138,.25); }
.fest-withpicks__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.fest-withpicks__head .fest-linkbtn { margin-left: auto; }
.fest-withpicks__who { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.fest-withpicks__who img, .fest-withpicks__who span { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; display: inline-flex; align-items: center; justify-content: center;
  background: var(--fest-surface-2); font-size: 12px; font-weight: 700; }
.fest-withpicks__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.fest-withpicks__artist { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600;
  color: var(--fest-text); background: var(--fest-surface-2, #26262b); border: 1px solid rgba(255,255,255,.08); }
.fest-withpicks__artist:not(:has(img)) { padding-left: 12px; }
.fest-withpicks__artist img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.fest-withpicks__artist:hover { border-color: rgba(255,255,255,.25); }
.fest-card__picks { color: #ff8fb0; }
.fest-card__picks svg { color: #ff5c8a; fill: #ff5c8a; }
.fest-card__picks small { color: var(--fest-text-2); }

/* Not running (paused / ended / skipping a year) */
.fest-badge--off { background: rgba(255,170,60,.18); color: #ffc27a; }
.fest-offstatus { display: flex; gap: 16px; align-items: flex-start; max-width: 720px; margin: 28px auto; padding: 20px 22px; border-radius: 18px;
  background: var(--fest-surface, #1b1b1f); border: 1px solid rgba(255,170,60,.35); }
.fest-offstatus__icon { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(255,170,60,.15); color: #ffc27a; }
.fest-offstatus__body { flex: 1; min-width: 0; }
.fest-offstatus h2 { margin: 2px 0 6px; font-size: 22px; }
.fest-offstatus p { margin: 0 0 8px; color: var(--fest-text-2); }
.fest-offstatus a { color: var(--fest-text); }
.fest-offstatus__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
.fest-offstatus__form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.fest-offstatus__form .fest-input { flex: 1 1 220px; }
@media (max-width: 600px) { .fest-offstatus { margin: 18px 16px; flex-direction: column; } }

/* Native search clear button: match the dark theme (was the browser's blue x) */
.fest-search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; cursor: pointer; opacity: .6;
  background: no-repeat center / 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3b3b3' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); }
.fest-search input[type="search"]::-webkit-search-cancel-button:hover { opacity: 1; }

/* ---- guided For You (add-festival-match-loop) ------------------------------------------------ */
.fest-start { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.fest-start__btn { min-height: 52px; padding: 0 26px; font-size: 17px; box-shadow: 0 8px 28px rgba(29,185,84,.3); }
.fest-start__btn svg { width: 20px; height: 20px; }
.fest-start__promise { margin: 0; font-size: 14px; color: var(--fest-text-2); }
@media (max-width: 600px) { .fest-start { align-items: stretch; } .fest-start__btn { width: 100%; justify-content: center; } .fest-start__promise { text-align: center; } }
.fest-linkbtn--accent { color: var(--fest-accent); text-decoration: underline; text-underline-offset: 3px; }

.fest-mute { position: absolute; top: 12px; right: 12px; z-index: 4; display: inline-flex; align-items: center; gap: 6px; justify-content: center; width: 36px; height: 36px; padding: 0;
  border-radius: 999px; border: 0; background: rgba(0,0,0,.6); color: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.fest-mute svg { width: 16px; height: 16px; }
.fest-mute[aria-pressed="true"] { background: rgba(245,177,61,.92); color: #1d1300; }
.fest-taplisten { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  border: 0; background: rgba(0,0,0,.35); color: #fff; font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }
.fest-taplisten span { width: 56px; height: 56px; border-radius: 50%; background: var(--fest-accent); color: #08140c; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.fest-taplisten svg { width: 24px; height: 24px; margin-left: 3px; }
.fest-yearstamp { position: absolute; z-index: 4; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 6px; background: var(--fest-warn); color: #1d1300;
  font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.fest-yearstamp--sm { right: 2px; bottom: 2px; padding: 1px 4px; font-size: 10px; border-radius: 4px; }

.fest-result__head { text-align: center; margin-bottom: 14px; }
.fest-result__title { font-family: var(--fest-display-font); font-size: 34px; line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
.fest-result__count { margin: 8px 0 0; color: var(--fest-text-2); font-size: 16px; }
.fest-result__count b { color: var(--fest-accent); font-size: 20px; }
.fest-toplist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.fest-toprow { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 4px; border-radius: 14px; background: var(--fest-surface); border: 1px solid var(--fest-border); cursor: pointer; }
.fest-toprow:hover { border-color: var(--fest-border-strong); }
.fest-toprow__rank { width: 28px; text-align: center; font-family: var(--fest-display-font); font-weight: 700; font-size: 18px; color: var(--fest-text-3); flex-shrink: 0; }
.fest-toprow:nth-child(-n+3) .fest-toprow__rank { color: var(--fest-accent); }
.fest-toprow__img { position: relative; width: 52px; height: 52px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--fest-surface-2); }
.fest-toprow__img img, .fest-toprow__img .fest-initials { width: 100%; height: 100%; object-fit: cover; }
.fest-toprow__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.fest-toprow__name { font-weight: 700; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fest-toprow__play { flex-shrink: 0; width: 44px; height: 44px; }
.fest-reason { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--fest-text-2); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fest-reason svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--fest-accent); }
.fest-reason--love svg { color: var(--fest-love); }
.fest-reason--like svg { color: var(--fest-like); }
.fest-result__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.fest-btn--block { width: 100%; justify-content: center; min-height: 50px; }

.fest-topstrip { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin-bottom: 14px; border-radius: 16px; cursor: pointer;
  background: linear-gradient(90deg, rgba(29,185,84,.16), rgba(29,185,84,.04)); border: 1px solid rgba(29,185,84,.35); color: var(--fest-text); font: inherit; text-align: left; }
.fest-topstrip > svg { width: 20px; height: 20px; color: var(--fest-text-2); flex-shrink: 0; }
.fest-topstrip__faces { display: flex; flex-shrink: 0; }
.fest-topstrip__faces span { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; border: 2px solid #121212; margin-left: -10px; background: var(--fest-surface-2); }
.fest-topstrip__faces span:first-child { margin-left: 0; }
.fest-topstrip__faces img, .fest-topstrip__faces .fest-initials { width: 100%; height: 100%; object-fit: cover; font-size: 11px; }
.fest-topstrip__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fest-topstrip__text span { font-size: 13px; color: var(--fest-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- past-year mode (D12): unmistakably a past lineup ---------------------------------------- */
.fest-tryold { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 6px; }
.fest-tryold__btn { background: var(--fest-warn); border-color: var(--fest-warn); color: #1d1300; box-shadow: 0 8px 28px rgba(245,177,61,.25); }
.fest-tryold__btn:hover { background: #ffc35c; color: #1d1300; }
.fest-pastyear { padding: 0 var(--fest-gutter, 16px) 40px; }
.fest-pastyear__banner { position: sticky; top: var(--fest-top); z-index: 50; display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 0 calc(-1 * var(--fest-gutter, 16px)) 16px; padding: 12px 16px; background: var(--fest-warn); color: #1d1300; font-size: 15px; text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.fest-pastyear__banner b { font-weight: 800; letter-spacing: .04em; }
.fest-pastyear__banner svg { width: 20px; height: 20px; flex-shrink: 0; }
.fest-pastyear .fest-dock { bottom: calc(var(--fest-bottom) + var(--fest-player-h, 0px)); }

/* ---- share a match card ---------------------------------------------------------------------- */
.fest-sharebox { margin-top: 16px; padding: 14px; border-radius: 16px; background: var(--fest-surface); border: 1px solid var(--fest-border-strong); display: flex; flex-direction: column; gap: 12px; }
.fest-sharebox__head { display: flex; align-items: center; gap: 8px; }
.fest-sharebox__head svg { width: 18px; height: 18px; color: var(--fest-accent); }
.fest-sharebox__close { margin-left: auto; width: 36px; height: 36px; }
.fest-sharebox__preview img { width: 100%; border-radius: 12px; display: block; }
.fest-sharebox__name { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.fest-sharebox__row { display: flex; gap: 8px; flex-wrap: wrap; }
.fest-sharebox__row .fest-btn { flex: 1 1 140px; justify-content: center; }
.fest-sharebox__fine { margin: 0; }
.fest-sharecard { max-width: 760px; }
.fest-sharecard__card img { width: 100%; height: auto; border-radius: 16px; display: block; box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.fest-sharecard__body { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.fest-sharecard__body h1 { margin: 0; font-size: clamp(26px, 6vw, 38px); }
.fest-sharecard__past { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--fest-warn); color: #1d1300; font-weight: 700; }
.fest-sharecard__past svg { width: 18px; height: 18px; }
.fest-sharecard__list { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; font-size: 17px; font-weight: 600; }
.fest-sharecard__list .fest-small { display: block; font-weight: 400; }
.fest-sharecard__cta { min-height: 54px; font-size: 17px; justify-content: center; }
@media (min-width: 641px) { .fest-sharecard__cta { align-self: flex-start; padding: 0 32px; } }
.fest-foryou__links { display: inline-flex; gap: 14px; align-items: center; }
.fest-matchres { margin: 4px 0 8px; }
.fest-matchres__grid .fest-matchres__item[hidden] { display: none; }
.fest-matchres__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.fest-matchres__actions .fest-btn { flex: 1 1 180px; justify-content: center; min-height: 48px; }

/* hidden always wins over component display rules (buttons, callouts) */
.fest-body [hidden] { display: none !important; }

/* ---- pages for search (add-festival-match-loop D7-D9) ----------------------------------------- */
.fest-faq { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 10px; margin: 0; }
.fest-faq__item { padding: 14px 16px; border-radius: 14px; background: var(--fest-surface); border: 1px solid var(--fest-border); }
.fest-faq dt { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.fest-faq dd { margin: 0; color: var(--fest-text-2); font-size: 15px; line-height: 1.45; }
.fest-editionlink { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fest-text); }
.fest-editionlink div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.fest-editionlink span { color: var(--fest-text-2); font-size: 14px; }
.fest-editionlink:hover { border-color: var(--fest-border-strong); color: var(--fest-text); text-decoration: none; }
.fest-crumbs a { color: var(--fest-text-2); text-decoration: none; }
.fest-crumbs a:hover { color: var(--fest-text); }
.fest-like__cta, .fest-place__cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 16px 0 24px; }
.fest-like__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.fest-like__item { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: start; padding: 12px; border-radius: 18px; background: var(--fest-surface); border: 1px solid var(--fest-border); }
@media (max-width: 640px) { .fest-like__item { grid-template-columns: 1fr; } }
.fest-like__name { font-size: 20px; margin: 4px 0 10px; font-family: var(--fest-display-font); }
.fest-like__name span { color: var(--fest-text-3); }
.fest-like__name a { color: var(--fest-text); text-decoration: none; }
.fest-like__why ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fest-like__why li { display: flex; gap: 8px; align-items: flex-start; color: var(--fest-text-2); font-size: 15px; line-height: 1.4; }
.fest-like__why li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--fest-accent); }
.fest-like__why b { color: var(--fest-text); font-weight: 600; }
.fest-like__tablewrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--fest-border); }
.fest-like__table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.fest-like__table th, .fest-like__table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--fest-border); white-space: nowrap; }
.fest-like__table thead th { color: var(--fest-text-3); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; background: var(--fest-surface); }
.fest-like__table tr.is-self { background: rgba(29,185,84,.08); }
.fest-like__table a { color: var(--fest-text); }
.fest-place__month { margin-top: 26px; }
.fest-place__month h2 { margin: 0 0 12px; }
.fest-place__near { margin-top: 32px; }
.fest-place__near .fest-chips { flex-wrap: wrap; }

/* Links into the place pages: "Festivals by place" on /festivals, "More festivals" on festival pages */
.fest-place__hub { margin-top: 36px; }
.fest-place__hub ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px 20px; }
@media (min-width: 700px) { .fest-place__hub ul { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); } }
.fest-place__hub li { line-height: 1.5; }
.fest-place__hub li > a { color: var(--text-primary, #fff); font-weight: 600; text-decoration: none; }
.fest-place__hub li > a:hover { text-decoration: underline; }
.fest-place__hub li { min-width: 0; }
.fest-place__hubcities { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 0.85rem; }
@media (max-width: 699px) { .fest-place__hubcities a:nth-child(n+3) { display: none; } }
.fest-place__hubcities a { color: var(--text-secondary, #b3b3b3); text-decoration: none; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.fest-place__hubcities a:hover { color: var(--text-primary, #fff); text-decoration: underline; }
.fest-explore { margin-top: 28px; }
.fest-explore .fest-chips { flex-wrap: wrap; }

/* Cards: small one-line badges that leave the image visible; artist lines clamp to two lines */
.fest-card__badges { top: 8px; left: 8px; gap: 4px; }
.fest-card__badges .fest-badge { padding: 2px 8px; font-size: 11px; line-height: 18px; gap: 4px; white-space: nowrap; }
.fest-card__badges .fest-badge svg, .fest-card__badges .fest-badge [data-lucide] { width: 11px; height: 11px; }
.fest-card__lineup { align-items: flex-start; }
.fest-card__lineup svg, .fest-card__lineup [data-lucide] { flex-shrink: 0; margin-top: 2px; }
.fest-card__lineup span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* A stand-in image we made (name set on a photo): show all of it, the square thumbnail would cut the name off */
.fest-hero__posterbtn .fest-hero__poster--whole { object-fit: contain; object-position: center; background: #0b0b0d; }
.fest-hero__posterbtn:has(.fest-hero__poster--whole) .fest-hero__postertag { top: 6px; bottom: auto; }

/* ====================================================================================
   Concert series (OpenSpec add-festival-concert-series D4 / D8): shows by date, tickets, My shows
   ==================================================================================== */
.fest-kind { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  letter-spacing: .02em; background: rgba(120, 170, 255, .14); color: #a9c8ff; border: 1px solid rgba(120, 170, 255, .3); }
.fest-kind svg { width: 13px; height: 13px; }
.fest-nextshow { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 14px; color: var(--fest-text); }
.fest-nextshow svg { width: 16px; height: 16px; color: var(--fest-accent); flex-shrink: 0; }
.fest-shows { display: flex; flex-direction: column; gap: 8px; }
.fest-show { display: flex; align-items: flex-start; gap: 12px; padding: 10px; border-radius: 16px; background: var(--fest-surface); border: 1px solid var(--fest-border); min-width: 0; }
.fest-show.is-past { opacity: .6; }
.fest-show.is-cancelled .fest-show__name { text-decoration: line-through; text-decoration-color: rgba(255,255,255,.45); }
.fest-show--sheet { background: var(--fest-surface-2); }
.fest-show__date { flex-shrink: 0; width: 52px; padding: 6px 0; border-radius: 12px; background: var(--fest-surface-2); text-align: center; line-height: 1.1;
  display: flex; flex-direction: column; align-items: center; gap: 1px; }
.fest-show__date span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--fest-text-2); }
.fest-show__date b { font-family: var(--fest-display-font); font-size: 22px; font-weight: 700; }
.fest-show__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.fest-show__head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fest-show__img { width: 48px; height: 48px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--fest-surface-2); cursor: pointer; }
.fest-show__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fest-show__img .fest-initials { font-size: 16px; }
.fest-show__who { flex: 1; min-width: 0; }
.fest-show__name { display: block; max-width: 100%; padding: 0; border: 0; background: none; color: var(--fest-text); font: inherit; font-weight: 700; font-size: 16px;
  text-align: left; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fest-show__name svg, .fest-show__support svg { width: 13px; height: 13px; vertical-align: -1px; }
.fest-show__support { font-size: 13px; color: var(--fest-text-2); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fest-show__support button { padding: 0; border: 0; background: none; color: var(--fest-text-2); font: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(255,255,255,.2); text-underline-offset: 2px; }
.fest-show__support button:hover { color: var(--fest-text); }
.fest-show__react { position: static; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.fest-show__react svg { width: 15px; height: 15px; }
.fest-show__react.fest-tile__react--none { background: var(--fest-surface-3); color: var(--fest-text); opacity: 1; }
.fest-show__play { flex-shrink: 0; }
.fest-show__save { flex-shrink: 0; align-self: center; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--fest-border-strong); background: transparent; color: var(--fest-text); font: inherit; font-size: 14px; font-weight: 600; }
.fest-show__save svg { width: 16px; height: 16px; }
.fest-show__save.is-on { background: var(--fest-accent); border-color: var(--fest-accent); color: #08140c; }
.fest-show__save--sm { height: 32px; width: 32px; padding: 0; justify-content: center; }
.fest-tix { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.fest-tixbtn { min-height: 32px; padding: 0 12px; font-size: 13px; }
.fest-tixbtn svg { width: 14px; height: 14px; }
.fest-tixprice { font-size: 13px; font-weight: 600; color: var(--fest-text); }
.fest-tixchip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--fest-surface-3); color: var(--fest-text-2); }
.fest-tixchip svg { width: 12px; height: 12px; }
.fest-tixchip--sold_out { background: rgba(255, 77, 125, .14); color: #ff8fae; }
.fest-tixchip--cancelled { background: rgba(255, 255, 255, .08); color: #d0d0d0; }
.fest-tixchip--free { background: rgba(29, 185, 84, .16); color: #6fe39a; }
.fest-tixchip--not_yet { background: rgba(245, 177, 61, .14); color: #f5c46d; }
.fest-earlier { margin-top: 18px; }
.fest-earlier summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; color: var(--fest-text-2); padding: 8px 0; list-style: none; }
.fest-earlier summary::-webkit-details-marker { display: none; }
.fest-earlier summary svg { width: 16px; height: 16px; }
.fest-earlier[open] summary { margin-bottom: 8px; }
.fest-tba { margin-top: 26px; }
.fest-showline { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--fest-text-2); margin: 2px 0 10px; }
.fest-showline svg { width: 15px; height: 15px; color: var(--fest-accent); flex-shrink: 0; }
.fest-showline b { color: var(--fest-text); }
.fest-rrow__date, .fest-toprow__date { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--fest-text-2); }
.fest-rrow__date svg, .fest-toprow__date svg { width: 12px; height: 12px; }
.fest-toprow__tix { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.fest-toprow__tix .fest-tix { gap: 6px; }
.fest-people--inline { margin-top: 4px; }
.fest-showcard .fest-show { margin-top: 2px; }
.fest-toast__btn { margin-left: 8px; padding: 4px 10px; border-radius: 999px; border: 0; background: var(--fest-accent); color: #08140c; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.fest-toast:has(.fest-toast__btn) { pointer-events: auto; }
@media (max-width: 520px) {
  .fest-show { gap: 10px; padding: 9px; flex-wrap: wrap; }
  .fest-show__date { width: 46px; }
  .fest-show__img { width: 40px; height: 40px; }
  .fest-show__main { flex-basis: calc(100% - 56px); }
  .fest-show__save { margin-left: 56px; height: 34px; }
  .fest-show__play { display: none; }
}
.fest-card__kind { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #a9c8ff; margin-bottom: 2px; }
.fest-card__kind svg { width: 12px; height: 12px; }
.fest-card__next { color: var(--fest-text); }
.fest-place__series { margin-top: 28px; }

/* Artist names inside reason lines ("Sounds like X", "Because you like Y") open that artist's panel */
.fest-namelink { display: inline; padding: 0; margin: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer;
  text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
.fest-namelink:hover, .fest-namelink:focus-visible { text-decoration-color: currentColor; color: var(--fest-text); outline: none; }
.fest-namelink strong { font-weight: 700; }

/* ---- Catalog parity (OpenSpec add-festival-catalog-parity) ------------------------------------------------------ */
/* Tickets + Add to calendar row in the festival hero (D1, D3) */
.fest-hero__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 10px; }
.fest-btn--tickets { background: #f4d35e; border-color: #f4d35e; color: #1c1503; font-weight: 700; }
.fest-btn--tickets:hover { background: #f7dd7f; color: #1c1503; }
.fest-btn__ext { width: 14px !important; height: 14px !important; margin-left: -4px; opacity: .7; }
.fest-buy__state { font-size: 13px; color: var(--fest-text-2); }
.fest-buy__state.is-on { color: var(--fest-accent); font-weight: 600; }
.fest-cal { position: relative; }
.fest-cal > summary { list-style: none; cursor: pointer; }
.fest-cal > summary::-webkit-details-marker { display: none; }
/* Floating layer: fixed-positioned by JS under the button (the hero clips anything absolutely positioned) */
.fest-cal__menu { position: fixed; z-index: 300; display: flex; flex-direction: column; gap: 2px; min-width: 230px; padding: 6px; border-radius: 12px;
  background: var(--fest-surface-2); border: 1px solid var(--fest-border-strong); box-shadow: 0 16px 40px rgba(0,0,0,.55); }
.fest-cal__menu a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--fest-text); text-decoration: none; font-size: 14px; }
.fest-cal__menu a:hover, .fest-cal__menu a:focus-visible { background: var(--fest-surface-3); outline: none; }
.fest-cal__menu svg { width: 16px; height: 16px; color: var(--fest-text-2); }
/* Small tickets link on cards (outside the card link) */
.fest-card__tix { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 0 10px;
  border-radius: 999px; border: 1px solid var(--fest-border-strong); background: var(--fest-surface-2); color: var(--fest-text-2);
  font-size: 12px; font-weight: 600; text-decoration: none; }
.fest-card__tix svg { width: 13px; height: 13px; }
.fest-card__tix:hover, .fest-card__tix:focus-visible { color: var(--fest-text); border-color: var(--fest-text-3); outline: none; }
.fest-card-wrap:has(.fest-card__tix) .fest-card__body { padding-bottom: 46px; }
/* Suggest a correction (D8) */
.fest-fixbar { padding-top: 0; padding-bottom: 0; }
.fest-fixbar .fest-linkbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--fest-text-2); font-weight: 500; font-size: 14px; }
.fest-fixbar .fest-linkbtn svg { width: 15px; height: 15px; }
.fest-fix { width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--fest-border-strong); border-radius: 18px;
  background: var(--fest-surface); color: var(--fest-text); }
.fest-fix::backdrop { background: rgba(0,0,0,.6); }
.fest-fix__form { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.fest-fix__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fest-fix__kinds { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fest-fix__kinds legend { margin-bottom: 6px; }
.fest-fix__field { display: flex; flex-direction: column; gap: 6px; }
.fest-fix__field textarea.fest-input { height: auto; padding: 10px 14px; resize: vertical; font: inherit; }
.fest-fix__msg:empty { display: none; }
.fest-fix__foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
@media (max-width: 600px) {
  .fest-fix { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 18px 18px 0 0; }
  .fest-fix__form { padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
}
.fest-fix__field .fest-input { flex: none; min-height: 44px; width: 100%; box-sizing: border-box; }
/* Artist page (D2) */
.fest-ap { max-width: 860px; }
.fest-ap__head { display: flex; gap: 20px; align-items: flex-start; margin: 14px 0 26px; }
.fest-ap__img { width: 148px; height: 148px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--fest-surface-2); }
.fest-ap__who { min-width: 0; flex: 1; }
.fest-ap__sub { color: var(--fest-text-2); margin: 6px 0 12px; font-size: 15px; }
.fest-ap__react { display: flex; flex-wrap: wrap; gap: 8px; }
.fest-ap__rx.is-on[data-rx="love"] { background: var(--fest-love); border-color: var(--fest-love); color: #fff; }
.fest-ap__rx.is-on[data-rx="like"] { background: var(--fest-like); border-color: var(--fest-like); color: #08140c; }
.fest-ap__rx.is-on[data-rx="pass"] { background: var(--fest-surface-3); border-color: var(--fest-text-3); }
.fest-ap__lovehint { margin: 8px 0 0; }
.fest-ap__songs { margin-bottom: 26px; }
.fest-ap__songlist { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.fest-ap__song { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 6px 12px 6px 6px; border-radius: 12px;
  border: 1px solid var(--fest-border); background: var(--fest-surface); color: var(--fest-text); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.fest-ap__song:hover { background: var(--fest-surface-2); }
.fest-ap__song.is-playing { border-color: var(--fest-accent); }
.fest-ap__songimg { position: relative; width: 44px; height: 44px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: var(--fest-surface-3);
  display: flex; align-items: center; justify-content: center; }
.fest-ap__songimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.fest-ap__songimg svg { position: relative; width: 18px; height: 18px; color: #fff; }
.fest-ap__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fest-ap__fest { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 12px 8px 8px; border-radius: 14px; background: var(--fest-surface);
  border: 1px solid var(--fest-border); color: var(--fest-text); text-decoration: none; }
a.fest-ap__fest:hover { background: var(--fest-surface-2); }
.fest-ap__thumb { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: var(--fest-surface-3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fest-ap__thumb img { width: 100%; height: 100%; object-fit: cover; }
.fest-ap__thumb svg { width: 20px; height: 20px; color: var(--fest-text-3); }
.fest-ap__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.fest-ap__main small { color: var(--fest-text-2); font-size: 13px; }
.fest-ap__chev { width: 18px; height: 18px; color: var(--fest-text-3); flex-shrink: 0; }
.fest-ap__list--past .fest-ap__fest { min-height: 52px; }
@media (max-width: 560px) {
  .fest-ap__head { flex-direction: column; align-items: center; text-align: center; }
  .fest-ap__img { width: 120px; height: 120px; }
  .fest-ap__react { justify-content: center; }
  .fest-ap__fest .fest-badge { display: none; }
}
.fest-ap__thumb--logo img { object-fit: contain; padding: 4px; box-sizing: border-box; }
.fest-ap a:not(.fest-ap__fest):not(.fest-btn) { color: var(--fest-text-2); }
/* Lineup names -> artist pages */
.fest-lineuplinks { padding-top: 0; padding-bottom: 0; }
.fest-lineuplinks summary { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; list-style: none; color: var(--fest-text-2); font-size: 14px; }
.fest-lineuplinks summary::-webkit-details-marker { display: none; }
.fest-lineuplinks summary svg { width: 16px; height: 16px; }
.fest-lineuplinks details[open] .fest-past__chev { transform: rotate(180deg); }
.fest-lineuplinks ul { list-style: none; margin: 6px 0 0; padding: 0; columns: 3 200px; column-gap: 20px; font-size: 14px; line-height: 1.9; }
.fest-lineuplinks a { color: var(--fest-text-2); text-decoration: none; }
.fest-lineuplinks a:hover { color: var(--fest-text); text-decoration: underline; }
.fest-sheet__lovehint { margin: 6px 0 0; color: var(--fest-text-3); font-size: 12px; }
.fest-filter-known { font-weight: 400; font-size: 12px; color: var(--fest-text-3); margin-left: 6px; }
/* List / Map (D4) */
.fest-viewtoggle { display: inline-flex; border: 1px solid var(--fest-border-strong); border-radius: 999px; overflow: hidden; flex-shrink: 0; }
.fest-viewtoggle__opt { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; color: var(--fest-text-2); text-decoration: none; font-size: 14px; font-weight: 600; }
.fest-viewtoggle__opt svg { width: 15px; height: 15px; }
.fest-viewtoggle__opt.is-on { background: var(--fest-text); color: #111; }
.fest-viewtoggle__opt:not(.is-on):hover { color: var(--fest-text); background: var(--fest-surface-2); }
.fest-mapwrap { margin-top: 12px; }
.fest-map { height: calc(100dvh - var(--fest-top) - var(--fest-bottom) - 230px); min-height: 360px; border-radius: var(--fest-radius); overflow: hidden;
  border: 1px solid var(--fest-border); background: #1b1d22; z-index: 0; }
.fest-mapnote { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 0 0; }
.fest-maplist { flex-shrink: 0; }
@media (max-width: 640px) {
  .fest-browse:has(.fest-mapwrap) .fest-browse__hero { display: none; }
  .fest-map { height: calc(100dvh - var(--fest-top) - var(--fest-bottom) - 190px); margin: 0 calc(-1 * var(--fest-gutter)); border-radius: 0; border-left: 0; border-right: 0; }
}
.fest-pin span { display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--fest-accent); border: 3px solid #0b0b0d; box-shadow: 0 1px 6px rgba(0,0,0,.5); box-sizing: border-box; }
.fest-pin--match span { background: #f4d35e; }
.fest-mappop .leaflet-popup-content-wrapper { background: var(--fest-surface-2); color: var(--fest-text); border-radius: 14px; padding: 0; }
.fest-mappop .leaflet-popup-content { margin: 0; width: auto !important; }
.fest-mappop .leaflet-popup-tip { background: var(--fest-surface-2); }
.fest-mappop a.leaflet-popup-close-button { color: var(--fest-text-2); }
.fest-mapcard { display: flex; gap: 10px; padding: 10px 26px 10px 10px; color: var(--fest-text) !important; text-decoration: none; font-family: var(--fest-body-font); }
.fest-mapcard__img { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--fest-surface-3); }
.fest-mapcard__img img { width: 100%; height: 100%; object-fit: cover; }
.fest-mapcard__img--logo img { object-fit: contain; padding: 4px; box-sizing: border-box; }
.fest-mapcard__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 13px; }
.fest-mapcard__body b { font-size: 15px; line-height: 1.25; }
.fest-mapcard__body small { color: var(--fest-text-2); font-size: 12px; }
.fest-mapcard__body .fest-badge { align-self: flex-start; margin-top: 4px; }
.leaflet-container .marker-cluster div { background: rgba(29,185,84,.85); color: #08140c; font-weight: 700; }
.leaflet-container .marker-cluster { background: rgba(29,185,84,.35); }
.fest-filter-known { text-transform: none; letter-spacing: 0; }
/* Just announced (D6) */
.fest-feed { max-width: 860px; }
.fest-feed__rss { display: inline-flex; align-items: center; gap: 4px; color: var(--fest-text-2); margin-left: 6px; white-space: nowrap; }
.fest-feed__rss svg { width: 14px; height: 14px; }
.fest-feed__places { margin: 14px 0 6px; }
.fest-feed__day { margin-top: 22px; }
.fest-feed__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fest-feed__item { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 14px; background: var(--fest-surface);
  border: 1px solid var(--fest-border); color: var(--fest-text); text-decoration: none; }
.fest-feed__item:hover { background: var(--fest-surface-2); }
.fest-feed__icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: var(--fest-surface-3); color: var(--fest-accent); }
.fest-feed__icon svg { width: 17px; height: 17px; }
.fest-feed__icon--tickets_on_sale { color: #f4d35e; }
.fest-feed__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.fest-feed__what { font-size: 14px; color: var(--fest-text); }
.fest-feed__names { font-size: 14px; color: var(--fest-text-2); }
.fest-feed__main small { color: var(--fest-text-3); font-size: 12px; }
.fest-feed__item .fest-badge { flex-shrink: 0; }
.fest-feed__pager { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
@media (max-width: 520px) { .fest-feed__item .fest-badge { display: none; } }
/* Cancelled (D6) */
.fest-cx { max-width: 860px; }
.fest-cx__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fest-cx__item { padding: 12px 14px; border-radius: 14px; background: var(--fest-surface); border: 1px solid var(--fest-border); }
.fest-cx__item p { margin: 6px 0 0; color: var(--fest-text-2); font-size: 14px; line-height: 1.45; }
.fest-cx__item .fest-small { font-size: 12px; }
.fest-cx__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.fest-cx__head a { color: var(--fest-text); text-decoration: none; }
.fest-cx a { color: var(--fest-text-2); }
/* Best of (D7) */
.fest-bo__how { margin: 6px 0 10px; max-width: 640px; }
.fest-bo__group { margin-top: 22px; }
.fest-bo .fest-count { margin-left: 4px; }
.fest-cataloglinks .fest-chip svg { width: 15px; height: 15px; }
.fest-bo p.fest-small a { color: var(--fest-text-2); }
/* Festivals section menu (partials/subnav.php) */
.fest-subnav { border-bottom: 1px solid var(--fest-border); background: var(--fest-bg); }
.fest-subnav__inner { max-width: 1180px; margin: 0 auto; padding: 0 var(--fest-gutter); display: flex; align-items: center; gap: 12px; }
.fest-subnav__items { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); }
.fest-subnav__items::-webkit-scrollbar { display: none; }
.fest-subnav__item, .fest-subnav__add { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px;
  color: var(--fest-text-2); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.fest-subnav__item svg, .fest-subnav__add svg { width: 16px; height: 16px; }
.fest-subnav__item:hover, .fest-subnav__add:hover { color: var(--fest-text); background: var(--fest-surface-2); text-decoration: none; }
.fest-subnav__item.is-active { color: #111; background: var(--fest-text); }
.fest-subnav__add { border: 1px solid var(--fest-border-strong); color: var(--fest-text); }
.fest-subnav__add.is-active { border-color: var(--fest-text); }
@media (max-width: 720px) {
  .fest-subnav__inner { padding-right: 8px; gap: 6px; }
  .fest-subnav__add span { display: none; }
  .fest-subnav__add { padding: 0; width: 36px; justify-content: center; }
}
/* Festivals menu search */
.fest-subnav__inner { position: relative; }
.fest-qs { position: relative; flex-shrink: 0; }
.fest-qs__open { display: none; width: 36px; height: 36px; border-radius: 999px; border: 0; background: transparent; color: var(--fest-text); cursor: pointer;
  align-items: center; justify-content: center; }
.fest-qs__open svg { width: 18px; height: 18px; }
.fest-qs__form { position: relative; display: flex; align-items: center; margin: 0; }
.fest-qs__icon { position: absolute; left: 12px; width: 16px; height: 16px; color: var(--fest-text-3); pointer-events: none; }
.fest-qs__input { width: 260px; height: 36px; padding: 0 12px 0 36px; border-radius: 999px; border: 1px solid var(--fest-border-strong);
  background: var(--fest-surface-2); color: var(--fest-text); font: inherit; font-size: 14px; transition: width .2s ease; }
.fest-qs__input:focus { outline: none; border-color: var(--fest-accent); }
.fest-qs__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.fest-qs__close { display: none; }
.fest-qs__list { position: absolute; top: calc(100% + 8px); right: 0; width: min(420px, calc(100vw - 24px)); max-height: 70vh; overflow-y: auto; z-index: 200;
  padding: 6px; border-radius: 14px; background: var(--fest-surface-2); border: 1px solid var(--fest-border-strong); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.fest-qs__item { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 8px; border-radius: 10px; color: var(--fest-text); text-decoration: none; }
.fest-qs__item:hover, .fest-qs__item.is-active { background: var(--fest-surface-3); text-decoration: none; }
.fest-qs__thumb { width: 36px; height: 36px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: var(--fest-surface-3); display: flex; align-items: center; justify-content: center; }
.fest-qs__thumb img { width: 100%; height: 100%; object-fit: cover; }
.fest-qs__thumb svg { width: 17px; height: 17px; color: var(--fest-text-2); }
.fest-qs__text { display: flex; flex-direction: column; min-width: 0; }
.fest-qs__text b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fest-qs__text small { font-size: 12px; color: var(--fest-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fest-qs__label { padding: 8px 8px 2px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fest-text-3); }
@media (max-width: 960px) { .fest-qs__input, .fest-qs__input:focus { width: 200px; } }
@media (max-width: 720px) {
  .fest-qs { position: static; }
  .fest-qs__open { display: inline-flex; }
  .fest-qs__form { display: none; }
  .fest-qs.is-open .fest-qs__form { display: flex; position: absolute; inset: 0; z-index: 210; padding: 0 8px 0 var(--fest-gutter); gap: 8px; background: var(--fest-bg); }
  .fest-qs.is-open .fest-qs__icon { left: calc(var(--fest-gutter) + 12px); }
  .fest-qs__input, .fest-qs__input:focus { width: 100%; flex: 1; font-size: 16px; }
  .fest-qs.is-open .fest-qs__close { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 0; background: transparent; color: var(--fest-text); flex-shrink: 0; }
  .fest-qs__list { left: 8px; right: 8px; width: auto; }
}
.fest-feed p.fest-small a, .fest-cx p.fest-small a { color: var(--fest-text-2); }
.fest-feed__pager:empty { display: none; }

/* ---- Taste import visibility (2026-11-21): illustrated Liked Songs steps, My music summary, menu dot, onboarding */
.fest-import__steps--shots { list-style: none; counter-reset: shot; margin: 0; }
.fest-import__steps--shots li { counter-increment: shot; position: relative; padding-left: 34px; margin-bottom: 18px; }
.fest-import__steps--shots li::before { content: counter(shot); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--fest-accent); border: 1px solid var(--fest-accent); }
.fest-import__steps--shots li > span { display: block; margin-bottom: 8px; }
.fest-import__shot { display: block; width: 100%; max-width: 560px; height: auto; border-radius: 12px; border: 1px solid var(--fest-border-strong); background: #000; }
.fest-import__steps--shots li:last-child .fest-import__shot { max-width: 380px; }
.fest-mymusic { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 14px 16px; margin-bottom: 18px;
  border-radius: var(--fest-radius); background: var(--fest-surface); border: 1px solid var(--fest-border); }
.fest-mymusic > div { display: flex; flex-direction: column; }
.fest-mymusic b { font: 700 22px/1.1 var(--fest-display-font); }
.fest-mymusic span { font-size: 12px; color: var(--fest-text-2); }
.fest-mymusic .fest-btn { margin-left: auto; }
.fest-subnav__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fest-accent); margin-left: 2px; flex: none; }
.fest-noscroll { overflow: hidden; }
.fest-onboard { position: fixed; inset: 0; z-index: 100002; display: grid; place-items: center; padding: 16px;
  background: rgba(0, 0, 0, .62); backdrop-filter: blur(3px); }
.fest-onboard[hidden] { display: none; }
.fest-onboard__card { position: relative; width: 100%; max-width: 440px; padding: 26px 22px 18px; border-radius: 20px; text-align: center;
  background: var(--fest-surface); border: 1px solid var(--fest-border-strong); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.fest-onboard__card > p { color: var(--fest-text-2); margin: 6px 0 16px; }
.fest-onboard__card .fest-h2 { margin: 6px 0 0; }
.fest-onboard__icon { width: 30px; height: 30px; color: var(--fest-accent); }
.fest-onboard__close { position: absolute; top: 10px; right: 10px; }
.fest-onboard__opts { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.fest-onboard__opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; color: var(--fest-text); text-decoration: none;
  background: var(--fest-surface-2); border: 1px solid var(--fest-border); }
.fest-onboard__opt:hover { text-decoration: none; border-color: var(--fest-border-strong); background: var(--fest-surface-3); }
.fest-onboard__opt svg { width: 20px; height: 20px; flex: none; color: var(--fest-text-2); }
.fest-onboard__opt span { display: flex; flex-direction: column; }
.fest-onboard__opt small { color: var(--fest-text-2); font-size: 12.5px; }
.fest-onboard__opt--main { background: var(--fest-accent); border-color: transparent; color: var(--fest-accent-ink); }
.fest-onboard__opt--main svg, .fest-onboard__opt--main small { color: var(--fest-accent-ink); }
.fest-onboard__opt--main:hover { background: var(--fest-accent); filter: brightness(1.08); }
.fest-onboard__skip { margin: 14px 0 4px; }
/* Festivals menu, priority+ (js/subnav-menu.js): the row never scrolls; the rest is under More / Menu */
.fest-subnav.is-fit .fest-subnav__items { overflow: hidden; -webkit-mask-image: none; mask-image: none; }
.fest-subnav__item[hidden], .fest-subnav__more[hidden], .fest-menu[hidden], .fest-menu__backdrop[hidden] { display: none !important; }
.fest-subnav__more { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px 0 12px; border-radius: 999px; flex-shrink: 0;
  border: 1px solid var(--fest-border-strong); background: transparent; color: var(--fest-text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.fest-subnav__more svg { width: 16px; height: 16px; }
.fest-subnav__more .fest-subnav__chev { width: 14px; height: 14px; transition: transform .15s ease; }
.fest-subnav__more[aria-expanded="true"] .fest-subnav__chev { transform: rotate(180deg); }
.fest-subnav__more:hover, .fest-subnav__more[aria-expanded="true"] { background: var(--fest-surface-2); }
.fest-subnav__more.is-active { background: var(--fest-text); color: #111; border-color: var(--fest-text); }
.fest-menu { position: absolute; top: calc(100% + 6px); right: var(--fest-gutter); z-index: 260; width: min(720px, calc(100vw - 32px));
  padding: 14px; border-radius: 16px; background: var(--fest-surface-2); border: 1px solid var(--fest-border-strong); box-shadow: 0 20px 48px rgba(0,0,0,.55); }
.fest-menu__head { display: none; }
.fest-menu__groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 14px; }
.fest-menu__glabel { margin: 4px 8px 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fest-text-3); }
.fest-menu__item { display: flex; align-items: flex-start; gap: 10px; padding: 8px; border-radius: 10px; color: var(--fest-text); text-decoration: none; }
.fest-menu__item:hover, .fest-menu__item:focus-visible { background: var(--fest-surface-3); text-decoration: none; outline: none; }
.fest-menu__item.is-active { background: var(--fest-surface-3); box-shadow: inset 0 0 0 1px var(--fest-border-strong); }
.fest-menu__icon { width: 34px; height: 34px; border-radius: 10px; background: var(--fest-surface-3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fest-menu__icon svg { width: 17px; height: 17px; }
.fest-menu__item.is-active .fest-menu__icon { background: var(--fest-text); color: #111; }
.fest-menu__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.fest-menu__text b { font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.fest-menu__text small { font-size: 12px; color: var(--fest-text-2); line-height: 1.35; }
.fest-menu__backdrop { position: fixed; inset: 0; z-index: 255; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .2s ease; }
.fest-menu__backdrop.is-open { opacity: 1; }
@media (max-width: 860px) { .fest-menu__groups { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .fest-subnav__more { padding: 0 10px; }
  .fest-subnav__more .fest-subnav__chev { display: none; }
  /* bottom sheet */
  .fest-menu { position: fixed; top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 82dvh; overflow-y: auto; border-radius: 20px 20px 0 0;
    padding: 8px 12px calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateY(100%); transition: transform .22s ease; }
  .fest-menu.is-open { transform: none; }
  .fest-menu__head { display: flex; align-items: center; justify-content: space-between; padding: 6px 4px 4px 8px; font-size: 17px; }
  .fest-menu__groups { grid-template-columns: 1fr; gap: 2px; }
  .fest-menu__item { min-height: 52px; align-items: center; }
}
@media (max-width: 720px) { /* sheet sits above the site's bottom bar (z-index 99999, inline) instead of under it */
  .fest-menu { z-index: 10010; bottom: var(--fest-bottom); max-height: calc(100dvh - var(--fest-bottom) - 40px); padding-bottom: 16px; }
  .fest-menu__backdrop { z-index: 10005; } }

/* ==== My ranking (OpenSpec add-festival-live-ranking): start strip, card + live ranked list, rating bar, celebration ==== */
/* Start strip, right under the festival heading */
.fest-quick { max-width: 1180px; margin: 0 auto; padding: 4px var(--fest-gutter) 12px; }
.fest-quick:empty { display: none; }
.fest-quick__inner { background: var(--fest-surface); border: 1px solid var(--fest-border-strong); border-radius: 18px; padding: 14px 16px 12px; }
.fest-quick__inner--go { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; }
.fest-quick__inner--go .fest-start__btn { gap: 10px; }
.fest-quick__inner--go .fest-topstrip__faces span { border-color: var(--fest-accent); width: 30px; height: 30px; }
.fest-quick__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.fest-quick__title { font-family: var(--fest-display-font); font-size: 20px; margin: 0; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 8px; }
.fest-quick__title svg { color: var(--fest-accent); width: 20px; height: 20px; }
.fest-quick__sub { margin: 0; color: var(--fest-text-2); font-size: 14px; }
.fest-quick__row { display: flex; gap: 10px; overflow-x: auto; padding: 12px 2px 8px; margin: 0 -2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.fest-quick__row::-webkit-scrollbar { display: none; }
.fest-face { flex: 0 0 76px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--fest-text); cursor: pointer; }
.fest-face__img { position: relative; width: 68px; height: 68px; border-radius: 50%; overflow: hidden; background: var(--fest-surface-2); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px transparent; transition: box-shadow .15s, transform .15s; }
.fest-face__img img, .fest-face__img .fest-initials { width: 100%; height: 100%; object-fit: cover; display: block; transition: filter .15s; }
.fest-face:hover .fest-face__img { transform: scale(1.05); }
.fest-face:active .fest-face__img { transform: scale(.94); }
.fest-face__check { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; color: #fff; }
.fest-face__check svg { width: 26px; height: 26px; }
.fest-face.is-on .fest-face__img { box-shadow: 0 0 0 3px var(--fest-like); }
.fest-face.is-on .fest-face__img img, .fest-face.is-on .fest-face__img .fest-initials { filter: brightness(.5); }
.fest-face.is-on .fest-face__check { display: flex; }
.fest-face__name { width: 76px; font-size: 12px; font-weight: 600; line-height: 1.2; text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fest-face--more .fest-face__img { border: 1px dashed var(--fest-border-strong); color: var(--fest-text-2); }
.fest-face--more .fest-face__name { color: var(--fest-text-2); }
.fest-quick__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; font-size: 14px; color: var(--fest-text-2); }
.fest-quick__count b { color: var(--fest-accent); }
@media (min-width: 769px) { .fest-face { flex-basis: 88px; } .fest-face__img { width: 76px; height: 76px; } .fest-face__name { width: 88px; font-size: 13px; } }

/* Layout: card + list. Phones: card, then the list below it ("Up next"), rating bar pinned */
.fest-rk { display: block; }
.fest-rk__side { margin-top: 18px; min-width: 0; }
@media (min-width: 900px) {
  .fest-rk { display: grid; grid-template-columns: minmax(360px, 440px) minmax(0, 1fr); gap: 28px; align-items: start; }
  .fest-rk__card { position: sticky; top: calc(var(--fest-top) + 64px); }
  .fest-rk__side { margin-top: 0; }
}
/* The card in this view is one column at every width */
.fest-rcard.fest-rcard--rk { display: block; }
.fest-rcard--rk .fest-rcard__media { aspect-ratio: 16 / 10; height: auto; min-height: 0; max-height: 32vh; width: 100%; }
.fest-rcard--rk .fest-rcard__body { min-height: 0; max-height: none; overflow: visible; padding: 14px 16px 16px; gap: 12px; }
.fest-rcard--rk .fest-rcard__name { font-size: 28px; }
/* The photo carries only the name, the genres and (bottom right) the place in the ranking: "#26/48" */
.fest-rcard--rk .fest-rcard__overlay { display: flex; align-items: flex-end; gap: 12px; }
.fest-rcard__id { flex: 1; min-width: 0; }
.fest-rcard__pos { flex: none; margin: 0; font-size: 13px; font-weight: 600; line-height: 1.2; color: rgba(255,255,255,.85); text-shadow: 0 1px 8px rgba(0,0,0,.6); white-space: nowrap; }
.fest-rcard__pos b { color: #fff; font-size: 18px; font-weight: 700; }
.fest-rcard__pos small { font-size: 12px; font-weight: 500; color: rgba(255,255,255,.6); margin-left: 1px; }
.fest-rcard__more { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--fest-border-strong); background: transparent; color: var(--fest-text-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.fest-rcard__more:hover { background: var(--fest-surface-2); color: var(--fest-text); }
.fest-rcard__more svg { width: 18px; height: 18px; }
.fest-rcard__modes { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
@media (max-width: 899px) {
  .fest-rcard--rk .fest-rcard__media { aspect-ratio: 16 / 9; max-height: 26vh; }
  .fest-rcard--rk .fest-rcard__body > .fest-react-row { display: none; } /* the pinned rating bar has them */
  .fest-rcard--rk .fest-songs > li:nth-child(n+4) { display: none; }
  .fest-rk { padding-bottom: 96px; }
}
@media (min-width: 900px) and (max-height: 860px) { .fest-rcard--rk .fest-songs > li:nth-child(n+5) { display: none; } .fest-rcard--rk .fest-rcard__media { max-height: 28vh; } }
@media (min-width: 900px) and (max-height: 740px) { .fest-rcard--rk .fest-songs > li:nth-child(n+4) { display: none; } .fest-rcard--rk .fest-rcard__media { max-height: 24vh; } }

/* Rating bar: always reachable on phones, above the mini player and the bottom bar */
.fest-ratebar { display: none; }
@media (max-width: 899px) {
  .fest-ratebar { display: block; position: fixed; left: 8px; right: 8px; bottom: calc(var(--fest-bottom) + var(--fest-player-h, 0px) + 8px); z-index: 99980;
    max-width: 720px; margin: 0 auto; padding: 8px 10px 10px; border-radius: 18px; background: rgba(28,28,28,.97); border: 1px solid var(--fest-border-strong);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 12px 40px rgba(0,0,0,.55); transition: bottom .25s ease; }
  .fest-ratebar__name { display: block; margin: 0 0 6px; text-align: center; font-size: 12px; font-weight: 600; color: var(--fest-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .fest-ratebar .fest-react { min-height: 46px; flex-direction: row; gap: 6px; font-size: 14px; }
  .fest-ratebar .fest-react svg { width: 19px; height: 19px; }
}

/* List header: what this is, the unlock meter, what the last rating changed */
.fest-rk-head__title { font-family: var(--fest-display-font); font-size: 24px; margin: 0; letter-spacing: -0.01em; }
.fest-rk-head__sub { margin: 6px 0 12px; color: var(--fest-text-2); font-size: 14px; line-height: 1.45; }
.fest-rk-head__start { margin-bottom: 8px; }
.fest-rk-unlock { display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; padding: 10px 12px; border-radius: 14px; background: var(--fest-surface); border: 1px solid var(--fest-border); }
.fest-rk-unlock__text { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--fest-text-2); }
.fest-rk-unlock__text b { color: var(--fest-text); }
.fest-rk-unlock__text svg { width: 16px; height: 16px; color: var(--fest-text-3); }
.fest-rk-unlock__meter { display: flex; gap: 4px; flex: 1 1 120px; min-width: 100px; }
.fest-rk-unlock__meter i { flex: 1; height: 6px; border-radius: 3px; background: var(--fest-surface-3); transition: background .3s; }
.fest-rk-unlock__meter i.is-on { background: var(--fest-accent); }
.fest-rk-unlock .fest-btn[disabled] { opacity: .45; cursor: default; }
.fest-rk-unlock.is-open { border-color: rgba(29,185,84,.45); background: rgba(29,185,84,.08); }
.fest-rk-unlock.is-open .fest-rk-unlock__text svg { color: var(--fest-accent); }
.fest-rk-unlock.is-open .fest-rk-unlock__text b { color: var(--fest-accent); font-size: 16px; }
.fest-rk-unlock__btns { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.fest-rk-status { display: flex; align-items: center; gap: 6px; min-height: 22px; margin: 8px 2px 4px; font-size: 13px; color: var(--fest-text-2); }
.fest-rk-status svg { width: 14px; height: 14px; color: var(--fest-accent); }
.fest-rk-status b { color: var(--fest-text); }
.fest-rk-status.is-flash { animation: fest-rk-flash 2.4s ease; }
@keyframes fest-rk-flash { 0% { color: var(--fest-accent); transform: translateY(4px); opacity: 0; } 15% { opacity: 1; transform: none; } 60% { color: var(--fest-accent); } 100% { color: var(--fest-text-2); } }

/* The ranked list */
.fest-rk-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.fest-rk-group { padding: 10px 4px 2px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fest-text-3); }
.fest-rk-group--btn button { display: inline-flex; align-items: center; gap: 4px; padding: 6px 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.fest-rk-group--btn button:hover { color: var(--fest-text); }
.fest-rk-group--btn svg { width: 14px; height: 14px; }
.fest-rk-row { position: relative; display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 4px; border-radius: 14px; background: var(--fest-surface); border: 1px solid var(--fest-border);
  cursor: pointer; outline: none; }
.fest-rk-row:hover, .fest-rk-row:focus-visible { border-color: var(--fest-border-strong); }
.fest-rk-row.is-current { border-color: var(--fest-accent); background: rgba(29,185,84,.10); }
.fest-rk-row.is-moving { z-index: 2; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
.fest-rk-row.is-entering, .fest-rk-div.is-entering, .fest-rk-group.is-entering { animation: fest-in .3s ease; }
.fest-rk-row--passed { opacity: .6; }
.fest-rk-row__n { width: 26px; flex-shrink: 0; text-align: center; font-family: var(--fest-display-font); font-weight: 700; font-size: 15px; color: var(--fest-text-3); }
.fest-rk-row.is-top .fest-rk-row__n { color: var(--fest-accent); }
.fest-rk-row__img { position: relative; width: 48px; height: 48px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--fest-surface-2); }
.fest-rk-row__img img, .fest-rk-row__img .fest-initials { width: 100%; height: 100%; object-fit: cover; display: block; }
.fest-rk-row__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.5); color: #fff; opacity: 0; transition: opacity .15s; }
.fest-rk-row__play svg { width: 18px; height: 18px; }
.fest-rk-row:hover .fest-rk-row__play, .fest-rk-row.is-playing .fest-rk-row__play { opacity: 1; }
.fest-rk-row__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fest-rk-row__name { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fest-rk-row__sub { font-size: 13px; color: var(--fest-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fest-rk-row__tier { flex-shrink: 0; }
.fest-rk-row__tier .fest-tier { padding: 4px 9px; font-size: 12px; gap: 4px; backdrop-filter: none; -webkit-backdrop-filter: none; }
.fest-rk-row__tier .fest-tier svg { width: 12px; height: 12px; }
@media (max-width: 420px) { .fest-rk-row__tier .fest-tier--maybe, .fest-rk-row__tier .fest-tier--unlikely { font-size: 0; gap: 0; padding: 6px; } }
.fest-rk-row__acts { display: none; gap: 6px; flex-shrink: 0; }
.fest-rk-act { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer;
  border: 1px solid var(--fest-border-strong); background: var(--fest-surface-2); color: var(--fest-text-2); transition: background .12s, color .12s, transform .12s; }
.fest-rk-act svg { width: 16px; height: 16px; }
.fest-rk-act:active { transform: scale(.9); }
.fest-rk-act--love { color: var(--fest-love); } .fest-rk-act--like { color: var(--fest-like); }
.fest-rk-act--love:hover, .fest-rk-act--love.is-on { background: var(--fest-love); border-color: var(--fest-love); color: #fff; }
.fest-rk-act--like:hover, .fest-rk-act--like.is-on { background: var(--fest-like); border-color: var(--fest-like); color: #08140c; }
.fest-rk-act--pass:hover, .fest-rk-act--pass.is-on { background: #4a4a4a; color: #fff; }
@media (hover: hover) and (min-width: 900px) {
  .fest-rk-row:hover .fest-rk-row__acts, .fest-rk-row:focus-within .fest-rk-row__acts { display: inline-flex; }
  .fest-rk-row:hover .fest-rk-row__tier, .fest-rk-row:focus-within .fest-rk-row__tier { display: none; }
}
.fest-rk-move { flex-shrink: 0; display: inline-flex; align-items: center; gap: 2px; padding: 3px 7px; border-radius: 999px; font-size: 12px; font-weight: 800; overflow: hidden;
  animation: fest-rk-move 4s ease forwards; }
.fest-rk-move svg { width: 12px; height: 12px; }
.fest-rk-move--up { background: rgba(29,185,84,.2); color: var(--fest-accent); }
.fest-rk-move--down { background: var(--fest-surface-3); color: var(--fest-text-2); }
@keyframes fest-rk-move { 0% { opacity: 0; transform: scale(.6); max-width: 60px; } 12% { opacity: 1; transform: scale(1.1); } 20% { transform: none; } 80% { opacity: 1; max-width: 60px; padding: 3px 7px; }
  100% { opacity: 0; max-width: 0; padding: 3px 0; } }
.fest-rk-div { display: flex; align-items: center; gap: 10px; padding: 4px 2px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fest-accent); }
.fest-rk-div::before, .fest-rk-div::after { content: ""; flex: 1; height: 1px; background: rgba(29,185,84,.4); }
.fest-rk-div span { display: inline-flex; align-items: center; gap: 6px; }
.fest-rk-div svg { width: 14px; height: 14px; }
.fest-rk-note { display: flex; align-items: center; gap: 8px; padding: 8px 4px; font-size: 13px; color: var(--fest-text-2); }
.fest-rk-note svg { width: 14px; height: 14px; }
.fest-people--row { flex-shrink: 0; }

/* Top 10 celebration */
.fest-celebrate { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: flex-end; justify-content: center; background: rgba(0,0,0,.74);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s ease; }
.fest-celebrate.is-open { opacity: 1; }
.fest-celebrate__card { position: relative; width: min(560px, 100%); max-height: 92vh; max-height: 92dvh; overflow-y: auto; background: #181818; border: 1px solid var(--fest-border-strong);
  border-radius: 22px 22px 0 0; padding: 22px 16px calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateY(28px); transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.fest-celebrate.is-open .fest-celebrate__card { transform: none; }
@media (min-width: 640px) { .fest-celebrate { align-items: center; padding: 24px; } .fest-celebrate__card { border-radius: 22px; padding: 26px 24px 24px; } }
.fest-celebrate__close { position: absolute; top: 10px; right: 10px; z-index: 2; }
.fest-celebrate__badge { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 5px 12px; border-radius: 999px; background: var(--fest-accent); color: #08140c;
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fest-celebrate__badge svg { width: 14px; height: 14px; }
.fest-celebrate .fest-toprow { cursor: default; }
.fest-celebrate.is-reveal .fest-celebrate__badge { animation: fest-pop .6s cubic-bezier(.2,1.6,.4,1) both; }
.fest-celebrate.is-reveal .fest-result__title { animation: fest-pop .7s cubic-bezier(.2,1.5,.4,1) .1s both; }
.fest-celebrate.is-reveal .fest-toprow { opacity: 0; animation: fest-reveal .45s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--i, 0) * 95ms + 350ms); }
.fest-celebrate.is-reveal .fest-result__actions, .fest-celebrate.is-reveal .fest-result__count { opacity: 0; animation: fest-reveal .4s ease forwards; animation-delay: 1.4s; }
.fest-celebrate.is-reveal .fest-result__count { animation-delay: .5s; }
@keyframes fest-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes fest-reveal { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.fest-confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 100003; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .fest-celebrate.is-reveal .fest-toprow, .fest-celebrate.is-reveal .fest-result__actions, .fest-celebrate.is-reveal .fest-result__count { opacity: 1; animation: none; }
  .fest-rk-move, .fest-rk-status.is-flash, .fest-rk-row.is-entering { animation: none; }
}

/* "Up next" peek under the card on phones (the list is one scroll away); tabs keep one line */
.fest-upnext { display: none; }
@media (max-width: 899px) {
  .fest-upnext { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 8px; padding: 9px 12px; border-radius: 14px; border: 1px solid var(--fest-border);
    background: var(--fest-surface); color: var(--fest-text); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
  .fest-upnext__label { flex-shrink: 0; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fest-text-3); }
  .fest-upnext__names { flex: 1; min-width: 0; display: flex; gap: 12px; overflow: hidden; white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .fest-upnext__names b { color: var(--fest-accent); margin-right: 2px; }
  .fest-upnext > svg { width: 16px; height: 16px; color: var(--fest-text-2); flex-shrink: 0; }
  .fest-upnext.is-flash { animation: fest-upnext-flash 1.8s ease; }
  .fest-rcard--rk .fest-rcard__body { padding: 12px 14px 12px; gap: 10px; }
  .fest-rcard--rk .fest-rcard__media { max-height: 24vh; }
}
@keyframes fest-upnext-flash { 0%, 40% { border-color: var(--fest-accent); background: rgba(29,185,84,.12); } 100% { border-color: var(--fest-border); background: var(--fest-surface); } }
.fest-tab { white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .fest-upnext.is-flash { animation: none; } }

/* ---- Festival-first header (add-festival-live-ranking D9): no Seattle menu, no Seattle bottom bar ---- */
body.fest-body--slim { margin: 0; padding: 0; --fest-top: 0px; --fest-bottom: env(safe-area-inset-bottom, 0px); }
.fest-slimhead { background: #0d0d0d; border-bottom: 1px solid var(--fest-border); padding-top: env(safe-area-inset-top, 0px); }
.fest-slimhead__inner { max-width: 1180px; margin: 0 auto; padding: 0 var(--fest-gutter); height: 44px; display: flex; align-items: center; gap: 10px; }
.fest-slimhead__logo { font-family: "Audiowide", var(--fest-display-font); font-size: 15px; letter-spacing: 1px; color: rgb(211, 115, 255); padding: 4px 8px; border-radius: 5px;
  text-decoration: none; line-height: 1.4;
  /* Stage lights behind the wordmark - the same look as the site icons */
  background:
    radial-gradient(60% 120% at 12% 0%, rgba(211,115,255,.32), transparent 70%),
    radial-gradient(45% 110% at 100% 60%, rgba(0,255,255,.16), transparent 70%),
    radial-gradient(50% 100% at 45% 115%, rgba(255,0,128,.20), transparent 70%),
    #111;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  text-shadow: 0 0 .6em rgba(211,115,255,.55); }
.fest-slimhead__tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fest-text-3); }
.fest-slimhead__space { flex: 1; }
.fest-slimhead__login { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--fest-border-strong); color: var(--fest-text);
  font-size: 14px; font-weight: 600; text-decoration: none; }
.fest-slimhead__login:hover { background: var(--fest-surface-2); }
.fest-slimhead__acct span { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #7c3aed; color: #fff; font-weight: 700; font-size: 14px; }
.fest-slimhead__acct { text-decoration: none; }

/* The toast sits above the pinned rating bar and the mini player */
.fest-toast { bottom: calc(var(--fest-bottom) + 90px + var(--fest-rate-h, 0px)); }

/* Top 10: your own picks vs predicted for you (add-festival-live-ranking, 2026-11-21 follow-up) */
.fest-rk-unlock__own { flex: 1 1 100%; display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.4; color: var(--fest-text-2); }
.fest-rk-unlock__own svg { width: 15px; height: 15px; margin-top: 2px; color: var(--fest-text-3); }
.fest-rk-unlock__own b { color: var(--fest-text); }
.fest-rk-unlock__own.is-all svg, .fest-rk-unlock__own.is-all b { color: var(--fest-accent); }
.fest-top-own { display: flex; align-items: flex-start; justify-content: center; gap: 8px; margin: 0 0 14px; font-size: 14px; line-height: 1.4; color: var(--fest-text-2); text-align: left; }
.fest-top-own svg { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; color: var(--fest-text-3); }
.fest-top-own b { color: var(--fest-text); }
.fest-top-own.is-all svg, .fest-top-own.is-all b { color: var(--fest-accent); }
.fest-top-split { display: flex; align-items: center; gap: 6px; padding: 8px 4px 2px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fest-text-3); }
.fest-top-split svg { width: 14px; height: 14px; }
.fest-top-split small { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--fest-text-3); }
.fest-top-split--mine { color: var(--fest-accent); }
.fest-toprow--predicted { border-style: dashed; }

/* Start strip: "Import from Spotify" sits in the top right corner of the box, in green, with a hover tip */
.fest-quick__head { align-items: center; }
.fest-quick__import { margin-left: auto; flex-shrink: 0; background: var(--fest-accent); border-color: var(--fest-accent); color: #08140c; font-weight: 700; }
.fest-quick__import:hover, .fest-quick__import:focus-visible { background: #1ed760; border-color: #1ed760; color: #08140c; }
.fest-quick__foot:has(.fest-quick__count:empty) { display: none; }
.fest-tip { position: relative; }
.fest-tip::after { content: attr(data-tip); position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; width: max-content; max-width: min(260px, 80vw); padding: 8px 12px;
  border-radius: 10px; background: #2a2a2a; border: 1px solid var(--fest-border-strong); color: var(--fest-text); font-size: 13px; font-weight: 500; line-height: 1.35; text-align: left;
  white-space: normal; box-shadow: 0 10px 30px rgba(0,0,0,.5); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .15s ease, transform .15s ease; }
@media (hover: hover) { .fest-tip:hover::after { opacity: 1; transform: none; transition-delay: .25s; } }
.fest-tip:focus-visible::after { opacity: 1; transform: none; }
@media (max-width: 640px) { .fest-quick__import { margin: 8px 0 0; order: 3; } }

/* Top 10 sheet, reworked (2026-11-21): what to do next sits in one row at the top and stays in view; the list scrolls */
.fest-celebrate__card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.fest-celebrate__top { flex-shrink: 0; padding: 18px 16px 10px; border-bottom: 1px solid var(--fest-border); }
.fest-celebrate__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 10px 16px calc(18px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 640px) { .fest-celebrate__card { padding: 0; } .fest-celebrate__top { padding: 20px 24px 12px; } .fest-celebrate__scroll { padding: 12px 24px 20px; } }
.fest-celebrate .fest-result__head { margin-bottom: 10px; }
.fest-celebrate__badge { margin-bottom: 6px; padding: 4px 10px; font-size: 11px; }
.fest-celebrate .fest-section-label { margin-bottom: 4px; }
.fest-celebrate .fest-result__title { font-size: 28px; }
.fest-celebrate .fest-result__count { margin-top: 4px; font-size: 15px; }
.fest-celebrate .fest-result__count b { font-size: 18px; }
.fest-celebrate__actions { display: flex; gap: 8px; }
.fest-celebrate__actions .fest-btn { flex: 1 1 auto; min-width: 0; min-height: 46px; padding: 0 10px; font-size: 15px; white-space: nowrap; }
.fest-celebrate__actions .fest-btn.is-lead { flex: 3 1 auto; box-shadow: 0 8px 24px rgba(29,185,84,.3); }
.fest-celebrate__actions .fest-btn svg { width: 17px; height: 17px; }
@media (max-width: 380px) { .fest-celebrate__actions .fest-btn { font-size: 14px; gap: 5px; padding: 0 6px; } }
.fest-celebrate__note { margin: 8px 0 0; font-size: 13px; color: var(--fest-text-2); text-align: center; }
.fest-celebrate .fest-top-own { margin: 10px 0 0; font-size: 13px; justify-content: flex-start; }
.fest-celebrate [data-role="share-box"]:not(:empty) { margin-bottom: 14px; }
/* rows a little less tall */
.fest-celebrate .fest-toplist { gap: 5px; }
.fest-celebrate .fest-toprow { padding: 5px 6px 5px 2px; gap: 10px; border-radius: 12px; }
.fest-celebrate .fest-toprow__img { width: 42px; height: 42px; border-radius: 8px; }
.fest-celebrate .fest-toprow__main { gap: 1px; }
.fest-celebrate .fest-toprow__name { font-size: 15px; line-height: 1.2; }
.fest-celebrate .fest-reason { font-size: 12px; gap: 4px; line-height: 1.2; }
.fest-celebrate .fest-reason svg { width: 12px; height: 12px; }
.fest-celebrate .fest-toprow__play { width: 36px; height: 36px; }
.fest-celebrate .fest-toprow__rank { font-size: 16px; }
.fest-celebrate .fest-top-split { padding: 6px 4px 0; }

/* List header, simplified (2026-11-22): title, one quiet line, one row for the top 10 */
.fest-rk-head__sub { margin: 4px 0 10px; }
.fest-rk-head__links { white-space: normal; }
.fest-rk-head__links .fest-linkbtn { color: var(--fest-text-2); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--fest-border-strong); }
.fest-rk-head__links .fest-linkbtn:hover { color: var(--fest-text); }
.fest-rk-unlock { padding: 8px 8px 8px 12px; flex-wrap: nowrap; }
.fest-rk-unlock.is-open { border-color: var(--fest-border-strong); background: var(--fest-surface); }
.fest-rk-unlock.is-open .fest-rk-unlock__text b { font-size: inherit; color: var(--fest-text); }
.fest-rk-unlock.is-open.is-all { border-color: rgba(29,185,84,.45); background: rgba(29,185,84,.08); }
.fest-rk-unlock.is-open.is-all .fest-rk-unlock__text b { color: var(--fest-accent); }
.fest-rk-unlock__text { min-width: 0; }
.fest-rk-unlock__btns { flex-shrink: 0; }
.fest-rk-unlock__btns .fest-btn svg { width: 15px; height: 15px; }
.fest-rk-unlock:not(.is-open) { padding: 10px 12px; }

/* Pick artists: the keyboard-highlighted result is clearly marked */
.fest-suggest__item.is-active { background: var(--fest-surface-3); box-shadow: inset 0 0 0 2px var(--fest-accent); }

/* ---- 2026-11-22: festival page on phones (shared links) ---------------------------------
   Hero: a full-width image banner, three buttons in view (Follow, Tickets, Share) and the rest behind "more".
   My ranking: a switch pinned under the tabs jumps between the artist card and the ranked list. */
.fest-hero__morebtn, .fest-heromore { display: none; }
@media (min-width: 769px) {
  .fest-hero__poster, .fest-hero__logo { width: 200px; height: 200px; }
}
@media (max-width: 768px) {
  .fest-hero__inner { flex-direction: column; align-items: stretch; gap: 0; padding-top: 0; }
  .fest-hero__posterbtn, .fest-hero__logo { display: block; width: auto; height: 210px; margin: 0 calc(-1 * var(--fest-gutter)); border-radius: 0; box-shadow: none; cursor: pointer;
    -webkit-mask-image: linear-gradient(#000 58%, transparent); mask-image: linear-gradient(#000 58%, transparent); }
  .fest-hero__posterbtn .fest-hero__poster, .fest-hero__posterbtn .fest-hero__poster--whole { width: 100%; height: 100%; border-radius: 0; box-shadow: none; object-fit: cover; object-position: top; background: none; }
  .fest-hero__posterbtn .fest-hero__poster--photo { object-position: center 30%; }
  .fest-hero__logo { display: flex; padding: 28px 48px 56px; }
  .fest-hero__postertag, .fest-hero__posterbtn:has(.fest-hero__poster--whole) .fest-hero__postertag { left: auto; right: 12px; top: 12px; bottom: auto; padding: 5px 10px; font-size: 12px; }
  .fest-hero__posterbtn + .fest-hero__text, .fest-hero__logo + .fest-hero__text { margin-top: -40px; position: relative; }
  .fest-hero__text { padding-top: 14px; }
  .fest-hero .fest-display { font-size: 30px; text-shadow: 0 2px 18px rgba(0,0,0,.6); }
  .fest-hero__sec { display: none !important; }
  .fest-hero__actions { flex-wrap: nowrap; }
  .fest-hero__actions .fest-btn { min-height: 42px; min-width: 0; padding: 0 12px; white-space: nowrap; }
  .fest-hero__actions .fest-btn--follow { order: 1; flex: 1 1 auto; justify-content: center; }
  .fest-hero__actions .fest-btn--tickets { order: 2; flex: 1 1 auto; justify-content: center; }
  .fest-hero__actions .fest-btn__ext { display: none; }
  .fest-hero__share { order: 3; }
  .fest-hero__share span { display: none; }
  .fest-hero__share, .fest-hero__morebtn { flex: 0 0 44px; padding: 0; justify-content: center; }
  .fest-hero__morebtn { display: inline-flex; order: 4; }
  .fest-heromore:not([hidden]) { display: flex; position: fixed; inset: 0; z-index: 100001; align-items: flex-end; background: rgba(0,0,0,.55); animation: fest-in .15s ease; }
  .fest-heromore__sheet { width: 100%; padding: 10px 10px calc(12px + env(safe-area-inset-bottom, 0px)); border-radius: 20px 20px 0 0; background: var(--fest-surface-2);
    border-top: 1px solid var(--fest-border-strong); display: flex; flex-direction: column; gap: 2px; }
  .fest-heromore__sheet > a, .fest-heromore__sheet > button { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 14px; border: 0; border-radius: 12px; background: none;
    color: var(--fest-text); font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; text-align: left; cursor: pointer; }
  .fest-heromore__sheet > a:active, .fest-heromore__sheet > button:active { background: var(--fest-surface-3); }
  .fest-heromore__sheet svg { width: 20px; height: 20px; color: var(--fest-text-2); flex-shrink: 0; }
  .fest-heromore__sheet .is-going, .fest-heromore__sheet .is-going svg { color: var(--fest-accent); }
  .fest-heromore__sheet .fest-heromore__close { justify-content: center; margin-top: 6px; background: var(--fest-surface-3); color: var(--fest-text-2); }
}

/* Start strip: one instruction in large type, one short line of why */
.fest-quick__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.fest-quick__say { flex: 1 1 220px; min-width: 0; }
.fest-quick__title { display: block; font-size: 26px; line-height: 1.1; }
.fest-quick__sub { margin-top: 4px; font-size: 15px; }
.fest-quick__dots { display: inline-flex; gap: 5px; vertical-align: middle; margin-right: 8px; }
.fest-quick__dots i { width: 22px; height: 6px; border-radius: 3px; background: var(--fest-surface-3); transition: background .2s; }
.fest-quick__dots i.is-on { background: var(--fest-accent); }
.fest-quick__taste { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--fest-border-strong);
  color: var(--fest-text-2); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.fest-quick__taste:hover, .fest-quick__taste:focus-visible { color: var(--fest-text); border-color: var(--fest-text-2); }
.fest-quick__taste svg { width: 14px; height: 14px; }
.fest-quick__taste-s { display: none; }
/* My ranking, not personal yet: one compact row (2026-11-22) */
.fest-rk-start { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 10px 8px 12px; margin-bottom: 8px; border-radius: 14px; background: var(--fest-surface); border: 1px solid var(--fest-border); }
.fest-rk-start__say { display: inline-flex; align-items: center; gap: 7px; margin-right: auto; font-size: 14px; font-weight: 700; white-space: nowrap; }
.fest-rk-start__say svg { width: 16px; height: 16px; color: var(--fest-accent); }
.fest-rk-start .fest-btn { min-height: 34px; padding: 0 12px; font-size: 13px; white-space: nowrap; }
@media (min-width: 769px) { .fest-quick__title { font-size: 30px; } }

/* My ranking on phones: artist / list switch pinned under the tabs */
.fest-rkswitch { display: none; }
@media (max-width: 899px) {
  .fest-rkswitch:not([hidden]) { display: flex; position: sticky; top: calc(var(--fest-top) + 49px); z-index: 40; gap: 4px; margin: -4px calc(-1 * var(--fest-gutter)) 12px; padding: 8px var(--fest-gutter);
    background: rgba(18,18,18,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--fest-border); }
  .fest-rkswitch button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; min-width: 0; padding: 0 14px; border-radius: 999px;
    border: 1px solid var(--fest-border); background: var(--fest-surface); color: var(--fest-text-2); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
  .fest-rkswitch button:first-child { flex: 1 1 0; }
  .fest-rkswitch button:last-child { flex: 0 0 auto; }
  .fest-rkswitch button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .fest-rkswitch button svg { width: 16px; height: 16px; flex-shrink: 0; }
  .fest-rkswitch button.is-on { background: var(--fest-text); border-color: var(--fest-text); color: #111; }
  .fest-ratebar { transition: bottom .25s ease, opacity .2s ease, transform .2s ease; }
  .fest-ratebar.is-away { opacity: 0; transform: translateY(16px); pointer-events: none; }
}

/* Festivals menu row (2026-11-22): items, then More as their extension, search at the far end.
   Phones: one item on the left, then search and Menu on the right edge. "Add a festival" is inside the menu. */
@media (min-width: 721px) {
  .fest-subnav__items { flex: 0 1 auto; }
  .fest-subnav__inner { gap: 4px; }
  .fest-qs { margin-left: auto; padding-left: 12px; }
}
@media (max-width: 720px) {
  .fest-subnav__inner { padding-right: var(--fest-gutter); }
  .fest-qs { order: 2; }
  .fest-subnav__more { order: 3; }
}

/* ---- Phones, above the fold (2026-11-22): heading, start strip and the tabs fit on the first screen ---- */
@media (max-width: 768px) {
  .fest-hero__posterbtn, .fest-hero__logo { height: 120px; }
  .fest-hero__logo { padding: 14px 48px 40px; }
  .fest-hero__back { display: none !important; }
  .fest-hero__text { padding-top: 6px; }
  .fest-hero .fest-display { font-size: 28px; }
  .fest-hero__inner { padding-bottom: 10px; }
  .fest-hero__meta { margin-top: 6px; gap: 4px 14px; }
  .fest-hero__actions { margin-top: 10px; }
  .fest-hero__note { margin-top: 6px !important; }
  .fest-quick { padding: 2px var(--fest-gutter) 10px; }
  .fest-quick__inner { padding: 12px 14px 8px; }
  .fest-quick__head { gap: 2px 12px; }
  .fest-quick__title { font-size: 22px; }
  .fest-quick__sub { font-size: 14px; margin-top: 2px; }
  .fest-quick__taste { margin: 0; min-height: 24px; padding: 0; border: 0; border-radius: 0; text-decoration: underline; text-underline-offset: 3px; }
  .fest-quick__taste .fest-quick__taste-l { display: none; }
  .fest-quick__taste .fest-quick__taste-s { display: inline; }
  .fest-quick__taste svg { display: none; }
  .fest-quick__row { padding: 8px 2px 6px; }
  .fest-face { flex-basis: 68px; gap: 4px; }
  .fest-face__img { width: 60px; height: 60px; }
  .fest-face__name { width: 68px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .fest-quick__foot { padding-bottom: 4px; }
}

/* ---- Phones, festival-first header: pinned, slides away going down, back when scrolling up (js/subnav-menu.js) ---- */
body.fest-chrome-pin .fest-slimhead { position: sticky; top: 0; z-index: 72; transition: transform .22s ease; }
body.fest-chrome-pin .fest-subnav { position: sticky; top: var(--fest-slim-h, 45px); z-index: 71; transition: transform .22s ease; }
body.fest-chrome-pin .fest-subnav.is-menu-open { z-index: 10010; }
body.fest-chrome-off .fest-slimhead, body.fest-chrome-off .fest-subnav { transform: translateY(calc(-1 * var(--fest-chrome-h, 100px) - 4px)); }
@media (prefers-reduced-motion: reduce) { body.fest-chrome-pin .fest-slimhead, body.fest-chrome-pin .fest-subnav { transition: none; } }

/* ---- Rank tab, list header (2026-11-22): title + top-10 button on one row, one line of text, no empty band ---- */
.fest-rk-head__row { display: flex; align-items: center; gap: 10px; }
.fest-rk-head__row .fest-rk-head__title { flex: 1; min-width: 0; }
.fest-rk-chip { display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0; min-height: 32px; padding: 0 10px; border-radius: 999px; border: 1px solid rgba(29,185,84,.5);
  background: rgba(29,185,84,.10); color: var(--fest-text); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.fest-rk-chip svg { width: 14px; height: 14px; color: var(--fest-accent); }
.fest-rk-chip svg:last-child { color: var(--fest-text-2); margin-left: -2px; }
.fest-rk-chip.is-all { background: var(--fest-accent); border-color: var(--fest-accent); color: #08140c; }
.fest-rk-chip.is-all svg { color: #08140c; }
.fest-rk-head__sub { margin: 4px 0 6px; min-height: 20px; }
.fest-rk-head__sub b { color: var(--fest-text); }
.fest-rk-head__sub .fest-linkbtn { color: var(--fest-text-2); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--fest-border-strong); }
.fest-rk-status { display: none; min-height: 20px; margin: 4px 0 6px; font-size: 14px; }
.fest-rk-head.has-status .fest-rk-head__sub { display: none; }
.fest-rk-head.has-status .fest-rk-status { display: flex; }
.fest-rk-group { padding: 6px 4px 2px; }
@media (max-width: 899px) {
  .fest-rk-head__title { font-size: 22px; }
  .fest-rk-head__sub, .fest-rk-status { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
  .fest-rk-status span { overflow: hidden; text-overflow: ellipsis; }
  .fest-rk-list { gap: 5px; }
  .fest-rk-row { padding: 4px 10px 4px 4px; }
  .fest-rk-row__img { width: 44px; height: 44px; }
  .fest-rk__side { margin-top: 14px; }
}

/* Touch screens keep :hover on the last thing tapped: after a rating the next artist's button looked already chosen.
   Only a real choice (.is-on) lights a rating button there. */
@media (hover: none) {
  .fest-react--pass:hover:not(.is-on) { background: var(--fest-surface-2); }
  .fest-react--like:hover:not(.is-on) { background: var(--fest-surface-2); color: var(--fest-like); border-color: var(--fest-border-strong); }
  .fest-react--love:hover:not(.is-on) { background: var(--fest-surface-2); color: var(--fest-love); border-color: var(--fest-border-strong); }
}

.fest-ratebar__wait { color: var(--fest-accent); animation: fest-pulse 1.1s ease-in-out infinite; }
@keyframes fest-pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }


/* ---- 2026-11-22: a calmer festival page ------------------------------------------------------------------
   Phones, festival-first header: ONE bar (logo, search, Menu) - the Stagemuse bar is hidden, its Log in / account and
   the section links are in the menu. Heading: name, when, where, three buttons. Facts moved to "Good to know". */
.fest-subnav__logo, .fest-subnav__burger, .fest-menu__item--acct { display: none; }
@media (max-width: 720px) {
  body.fest-body--slim .fest-slimhead { display: none; }
  body.fest-body--slim .fest-subnav { background: #0d0d0d; padding-top: env(safe-area-inset-top, 0px); }
  body.fest-body--slim .fest-subnav__inner { min-height: 56px; }
  body.fest-body--slim .fest-subnav__logo { display: inline-block; margin-right: auto; }
  body.fest-body--slim .fest-subnav__items { display: none; }
  body.fest-body--slim .fest-menu__item--acct { display: flex; }
}
/* The poster opens from the banner itself (and from "more" on phones); no chip on the image */
.fest-hero__postertag { display: none !important; }
/* Tickets button: yellow only when there is a ticket page to buy from; otherwise outline, with the on-sale month */
.fest-btn--tixwait { border-color: var(--fest-border-strong); }
.fest-btn--tixwait .fest-btn__when { color: var(--fest-text-2); font-weight: 500; }
.fest-tixdlg__acts { display: flex; flex-direction: column; gap: 8px; }
.fest-tixdlg__acts .fest-btn { justify-content: center; min-height: 46px; }
/* Tabs: the lineup's size next to its name */
.fest-tab__n { font-size: 12px; font-weight: 600; color: var(--fest-text-3); margin-left: -1px; }
.fest-tab[aria-selected="true"] .fest-tab__n { color: var(--fest-text-2); }
/* Good to know: the facts that used to sit under the festival name */
.fest-facts { margin: 0 0 16px; gap: 8px; }
.fest-facts > span { padding: 6px 12px; border-radius: 999px; background: var(--fest-surface); border: 1px solid var(--fest-border); }
/* "See my ranking": one row, no caption; not shown on the Rank tab (that is where it leads) */
.fest-quick__inner--go { background: none; border: 0; padding: 0; }
.fest-quick__inner--go .fest-start__btn { width: 100%; justify-content: flex-start; min-height: 48px; padding: 0 16px; font-size: 16px; box-shadow: none; }
.fest-quick__inner--go .fest-start__btn > span:last-of-type { flex: 1; text-align: left; }
.fest-quick__inner--go .fest-start__btn > svg:last-child { width: 18px; height: 18px; }
@media (min-width: 769px) { .fest-quick__inner--go .fest-start__btn { width: auto; padding: 0 20px; } }
body[data-fest-tab="for-you"] .fest-quick--go { display: none; }
/* Lineup: search and sort share a row */
.fest-toolbar { flex-wrap: nowrap; }
.fest-toolbar .fest-search { flex: 1 1 0; min-width: 0; }
.fest-toolbar .fest-sort { flex: none; }
@media (max-width: 768px) {
  .fest-hero__share { display: none !important; }
  .fest-hero__note { display: none !important; }
  .fest-hero__actions .fest-btn--tixwait { order: 2; flex: 1 1 auto; justify-content: center; }
  .fest-hero__morebtn { order: 4; }
}

/* ---- 2026-11-22: Info tab + a lighter button row -------------------------------------------------------------
   The Info tab's content is the server-drawn sections marked data-tabsec; each shows only under its tab. */
body[data-fest-tab] [data-tabsec] { display: none; }
body[data-fest-tab="info"] [data-tabsec="info"], body[data-fest-tab="lineup"] [data-tabsec="lineup"] { display: block; }
.fest-factsec { padding-bottom: 14px; }
.fest-factsec .fest-facts { margin: 0; }
.fest-btn--tixwait .fest-btn__when { margin-left: 5px; font-size: .86em; }
.fest-hero__infobtn { display: none; }
@media (max-width: 768px) {
  /* Tabs keep their icons; the row scrolls sideways and Info peeks at the right edge */
  .fest-tabs__inner { padding: 0 6px; }
  .fest-tab { flex: 0 0 auto; padding: 0 7px; gap: 5px; font-size: 14px; min-width: 0; } /* 390 px wide: Info shows its icon and first letters */
  .fest-tab svg { width: 16px; height: 16px; display: block; }
  /* Buttons as wide as their words; Info and More are round icons at the right end */
  .fest-hero__actions .fest-btn--follow, .fest-hero__actions .fest-btn--tickets, .fest-hero__actions .fest-btn--tixwait { flex: 0 1 auto; padding: 0 16px; }
  body:has(.fest-tab[data-tab="info"]) .fest-hero__infobtn { display: inline-flex; }
  .fest-hero__infobtn { order: 3; margin-left: auto; flex: 0 0 44px; padding: 0; justify-content: center; }
  .fest-hero__infobtn svg { width: 19px; height: 19px; }
  body:not(:has(.fest-tab[data-tab="info"])) .fest-hero__morebtn { margin-left: auto; }
  /* Following: the green bell says it - no word needed */
  .fest-hero__actions .fest-btn--follow.is-following { flex: 0 0 44px; padding: 0; font-size: 0; gap: 0; justify-content: center; }
  .fest-hero__actions .fest-btn--follow.is-following svg { width: 19px; height: 19px; }
}
/* The Info tab has no script-drawn panel of its own (its sections are further down the page) */
.fest-panel[data-panel="info"] { display: none !important; }
/* Narrow phones (iPhone SE): Follow is the bell alone so the four buttons fit */
@media (max-width: 360px) {
  .fest-hero__actions .fest-btn--follow { flex: 0 0 44px; padding: 0; font-size: 0; gap: 0; justify-content: center; }
  .fest-hero__actions .fest-btn--follow svg { width: 19px; height: 19px; }
}

/* ---- 2026-11-22: now playing + rating as one glass card (phones) ------------------------------------------------
   Glass: see-through, blurred, a light edge - close to Apple's look as far as a web page can go (no edge lensing). */
.fest-player { background: rgba(24,24,27,.62); backdrop-filter: blur(24px) saturate(1.7); -webkit-backdrop-filter: blur(24px) saturate(1.7);
  border-color: rgba(255,255,255,.14); box-shadow: 0 12px 40px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.10); }
@media (max-width: 899px) {
  .fest-ratebar { background: rgba(24,24,27,.62); backdrop-filter: blur(24px) saturate(1.7); -webkit-backdrop-filter: blur(24px) saturate(1.7);
    border-color: rgba(255,255,255,.14); box-shadow: 0 12px 40px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.10); }
  /* the three buttons stay readable over anything: a more solid fill than the card */
  .fest-ratebar .fest-react { min-height: 42px; background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.16); }
  .fest-rkswitch:not([hidden]) { background: rgba(18,18,18,.62); backdrop-filter: blur(22px) saturate(1.6); -webkit-backdrop-filter: blur(22px) saturate(1.6); }
  /* Joined: the artist row (player) on top, the rating row under it, one outline */
  body.fest-np-joined .fest-ratebar { bottom: calc(var(--fest-bottom) + 8px); border-radius: 0 0 18px 18px; border-top: 0; padding: 4px 10px 10px; box-shadow: 0 14px 40px rgba(0,0,0,.45); }
  body.fest-np-joined .fest-ratebar__name:not(:has(.fest-ratebar__wait)) { display: none; }
  body.fest-np-joined .fest-player { bottom: calc(var(--fest-bottom) + 8px + var(--fest-rate-px, 0px)); border-radius: 18px 18px 0 0; border-bottom: 0; padding: 8px 6px 8px 10px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.10); }
  body.fest-np-joined .fest-player [data-action="player-prev"], body.fest-np-joined .fest-player [data-action="player-close"] { display: none; }
  body.fest-np-joined .fest-player__text { display: flex; flex-direction: column-reverse; }
  body.fest-np-joined .fest-player__artist { font-size: 15px; font-weight: 700; color: var(--fest-text); }
  body.fest-np-joined .fest-player__song { font-size: 12px; font-weight: 500; color: var(--fest-text-2); }
  body.fest-np-joined .fest-player__song::before { content: "\266A\00a0"; }
  body.fest-np-joined .fest-player__bar { left: 10px; right: auto; max-width: calc(100% - 20px); }
}

/* ---- 2026-11-22: a shorter ranking card - no Listen / Watch row, no "Up next" strip, a one-line reason.
   The profile button (videos, about, links) is a round glass button on the photo, opposite the speaker. */
.fest-rcard__media .fest-rcard__more { position: absolute; top: 12px; left: 12px; z-index: 4; width: 36px; height: 36px; border: 0; border-radius: 999px;
  background: rgba(0,0,0,.6); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.fest-rcard__media .fest-rcard__more:hover { background: rgba(0,0,0,.75); color: #fff; }
.fest-rcard__media .fest-rcard__more svg { width: 17px; height: 17px; }
/* One line: the verdict and "like" always show in full; the artist name takes what is left and ends in "…" when it must */
.fest-rcard--rk .fest-because > span { display: flex; align-items: baseline; gap: 5px; min-width: 0; white-space: nowrap; overflow: hidden; -webkit-line-clamp: unset; line-clamp: unset; }
.fest-rcard--rk .fest-because > span > b, .fest-rcard--rk .fest-because__why { flex: none; }
.fest-rcard--rk .fest-because .fest-namelink, .fest-rcard--rk .fest-because__name { display: block; flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* The tab's content is no longer the end of the page (Similar festivals follow): the room for the floating player /
   rating bar moves from under each tab to the very end of the page, and only as much as those bars take. */
.fest-panel { padding-bottom: 28px; }
@media (max-width: 899px) { .fest-rk { padding-bottom: 0; } }
body.fest-body::after { content: ""; display: block; height: calc(var(--fest-player-h, 0px) + var(--fest-rate-h, 0px) + 24px); }

/* ---- 2026-11-22: the lineup is where you pick ---------------------------------------------------------------
   Tile: the image rates (tap = like, again = love, again = clear; hold = menu), the name row opens the profile. */
.fest-tile--rate { cursor: default; text-align: left; }
.fest-tile--rate .fest-tile__img { display: block; padding: 0; border: 0; cursor: pointer; font: inherit; color: inherit; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; touch-action: manipulation;
  transition: transform .12s ease, outline-color .15s ease; outline: 2px solid transparent; outline-offset: 2px; }
.fest-tile--rate .fest-tile__img:active { transform: scale(.96); }
.fest-tile--rate .fest-tile__img img { pointer-events: none; -webkit-user-drag: none; }
.fest-tile--rate.fest-tile--like .fest-tile__img { outline-color: var(--fest-like); }
.fest-tile--rate.fest-tile--love .fest-tile__img { outline-color: var(--fest-love); }
.fest-tile--rate .fest-tile__react { pointer-events: none; }
.fest-tile--rate .fest-tile__react--none { opacity: .8; background: rgba(0,0,0,.42); color: #fff; }
.fest-tile--rate .fest-tile__react--none svg { opacity: .9; }
.fest-tile__meta { position: relative; display: block; width: 100%; padding: 0 20px 0 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; min-width: 0; }
.fest-tile__meta .fest-tile__name { display: -webkit-box; }
.fest-tile__meta .fest-tile__sub { display: block; margin-top: 2px; }
.fest-tile__info { position: absolute; right: 0; top: 2px; width: 14px; height: 14px; color: var(--fest-text-3); }
.fest-tile__meta:hover .fest-tile__info, .fest-tile__meta:hover .fest-tile__name { color: var(--fest-text); }
.fest-tile__meta:hover .fest-tile__name { text-decoration: underline; text-underline-offset: 3px; }
/* The bill as tiers */
.fest-tiers__label { margin-top: 22px; }
.fest-tiles--head { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.fest-tiles--head .fest-tile__name { font-size: 17px; font-weight: 700; }
.fest-tiles--head .fest-tile__sub { font-size: 13px; }
@media (min-width: 700px) { .fest-tiles--head { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }
.fest-tiles--compact { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px 12px; }
.fest-tiles--compact .fest-tile { flex-direction: row; align-items: center; gap: 10px; }
.fest-tiles--compact .fest-tile__img { width: 48px; flex: none; border-radius: 10px; }
.fest-tiles--compact .fest-tile__react { width: 20px; height: 20px; top: 2px; right: 2px; }
.fest-tiles--compact .fest-tile__react svg { width: 11px; height: 11px; }
.fest-tiles--compact .fest-tile__react--none, .fest-tiles--compact .fest-tile__new, .fest-tiles--compact .fest-people { display: none; }
.fest-tiles--compact .fest-tile__meta { flex: 1; }
.fest-showall { display: flex; margin: 20px auto 0; min-height: 46px; padding: 0 22px; gap: 8px; }
/* Stands out from the plain buttons so people see the full lineup is there (owner, 2026-11-23): green outline + tint, still dark */
.fest-btn.fest-showall { color: var(--fest-accent); border-color: var(--fest-accent); background: rgba(29,185,84,.12); font-weight: 700; }
.fest-btn.fest-showall:hover { background: rgba(29,185,84,.22); color: #1ed760; }
.fest-showall svg { width: 17px; height: 17px; }
/* Prompt above the grid */
.fest-pickprompt { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; background: var(--fest-surface); border: 1px solid var(--fest-border-strong); font-size: 15px; line-height: 1.4; }
.fest-pickprompt > svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--fest-like); }
.fest-pickprompt__sub { display: block; margin-top: 2px; font-size: 13px; color: var(--fest-text-2); }
.fest-pickprompt__sub a { color: var(--fest-text-2); text-decoration: underline; text-underline-offset: 3px; }
.fest-pickprompt .fest-quick__dots { display: inline-flex; gap: 4px; margin-right: 6px; vertical-align: 1px; }
/* Pinned way into the ranking (Lineup tab, three picks or more) */
.fest-rankpill { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--fest-bottom) + var(--fest-player-h, 0px) + 12px); z-index: 99970; display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 0 16px 0 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); cursor: pointer; white-space: nowrap; max-width: calc(100vw - 24px);
  background: rgba(29,185,84,.92); color: #06130a; font: inherit; font-size: 15px; font-weight: 700; backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 12px 34px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.25); }
.fest-rankpill svg { width: 18px; height: 18px; flex: none; }
/* The third pick */
.fest-pick3 { position: fixed; inset: 0; z-index: 100002; display: flex; align-items: flex-end; justify-content: center; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .2s ease; }
.fest-pick3.is-open { opacity: 1; }
.fest-pick3__sheet { width: 100%; max-width: 480px; padding: 22px 18px calc(18px + env(safe-area-inset-bottom, 0px)); border-radius: 22px 22px 0 0; border: 1px solid rgba(255,255,255,.14); border-bottom: 0;
  background: rgba(26,26,29,.9); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); transform: translateY(24px); transition: transform .25s ease; }
.fest-pick3.is-open .fest-pick3__sheet { transform: none; }
@media (min-width: 600px) { .fest-pick3 { align-items: center; } .fest-pick3__sheet { border-radius: 22px; border-bottom: 1px solid rgba(255,255,255,.14); padding-bottom: 18px; } }
.fest-pick3__head { display: flex; align-items: center; gap: 12px; }
.fest-pick3__head h2 { margin: 0; font-family: var(--fest-display-font); font-size: 22px; line-height: 1.15; }
.fest-pick3__head .fest-topstrip__faces span { width: 34px; height: 34px; border-color: var(--fest-accent); }
.fest-pick3__say { margin: 10px 0 16px; color: var(--fest-text-2); font-size: 15px; line-height: 1.45; }
.fest-pick3__go { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 0; border-radius: 16px; background: var(--fest-accent); color: #06130a; font: inherit; text-align: left; cursor: pointer;
  box-shadow: 0 8px 28px rgba(29,185,84,.3); }
.fest-pick3__go > svg { width: 22px; height: 22px; flex: none; }
.fest-pick3__go span { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.fest-pick3__go b { font-size: 17px; }
.fest-pick3__go small { font-size: 13px; line-height: 1.35; opacity: .85; }
.fest-pick3__keep { display: block; margin: 14px auto 0; min-height: 40px; color: var(--fest-text-2); font-size: 15px; font-weight: 500; }
/* Schedule + My plan: one tab, a switch under the tabs once there are set times */
.fest-schedsw { max-width: 1180px; margin: 0 auto; padding: 14px var(--fest-gutter) 0; }
.fest-schedsw[hidden] { display: none; }
/* Larger screens: the same short button row as phones - Follow, Tickets, I'm going, and the rest behind "more" */
@media (min-width: 769px) {
  .fest-hero__actions .fest-hero__share, .fest-hero__actions > [data-poster], .fest-hero__actions .fest-cal { display: none; }
  .fest-hero__actions .fest-btn--follow { order: 1; }
  .fest-hero__actions .fest-btn--tickets, .fest-hero__actions .fest-btn--tixwait { order: 2; }
  .fest-hero__actions .fest-btn--going { order: 3; }
  .fest-hero__morebtn { display: inline-flex; order: 5; width: 40px; padding: 0; justify-content: center; }
  .fest-heromore:not([hidden]) { display: flex; position: fixed; inset: 0; z-index: 100001; align-items: center; justify-content: center; background: rgba(0,0,0,.55); animation: fest-in .15s ease; }
  .fest-heromore__sheet { width: 360px; max-width: calc(100vw - 32px); padding: 10px; border-radius: 18px; background: var(--fest-surface-2); border: 1px solid var(--fest-border-strong); display: flex; flex-direction: column; gap: 2px; }
  .fest-heromore__sheet > a, .fest-heromore__sheet > button { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 14px; border: 0; border-radius: 12px; background: none;
    color: var(--fest-text); font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; text-align: left; cursor: pointer; }
  .fest-heromore__sheet > a:hover, .fest-heromore__sheet > button:hover { background: var(--fest-surface-3); }
  .fest-heromore__sheet svg { width: 18px; height: 18px; color: var(--fest-text-2); }
  .fest-heromore__sheet > [data-going] { display: none; }
  .fest-heromore__sheet > .fest-heromore__close { justify-content: center; color: var(--fest-text-2); }
}

/* ---- 2026-11-22: Schedule tab before set times; "wrong times" link; tile tap labels; a two-line pick prompt ---- */
.fest-schedsoon__will { padding: 14px 16px; border-radius: 16px; background: var(--fest-surface); border: 1px solid var(--fest-border-strong); }
.fest-schedsoon__will p { margin: 0 0 10px; color: var(--fest-text-2); font-size: 14px; }
.fest-schedsoon__will ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fest-schedsoon__will li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.35; }
.fest-schedsoon__will li svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--fest-accent); }
.fest-schedsoon__will .fest-schedsoon__sofar { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--fest-border); color: var(--fest-text); }
.fest-schedsoon__sofar .fest-topstrip__faces span { width: 26px; height: 26px; border-color: var(--fest-accent); }
.fest-schedsoon__have { padding-top: 16px; border-top: 1px solid var(--fest-border); }
.fest-schedsoon__have [data-role="schedule-search-result"] p { margin: 10px 0 0; }
.fest-schedsoon__own { margin-top: 12px; }
.fest-schedsoon__own > summary { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; cursor: pointer; list-style: none; color: var(--fest-text-2); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.fest-schedsoon__own > summary::-webkit-details-marker { display: none; }
.fest-schedsoon__own > summary svg { width: 15px; height: 15px; transition: transform .15s ease; }
.fest-schedsoon__own[open] > summary svg { transform: rotate(90deg); }
.fest-schedsoon__own > .fest-card-box { margin-top: 8px; }
.fest-schedsw { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; }
.fest-schedsw__fix { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--fest-text-2); font-size: 14px; font-weight: 500; }
.fest-schedsw__fix svg { width: 15px; height: 15px; }
/* What a tap just did, on the tile itself */
.fest-tile__say { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; flex-direction: column; gap: 1px; padding: 18px 10px 8px; text-align: left; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.88) 45%); color: #fff; animation: fest-in .15s ease; transition: opacity .25s ease; }
.fest-tile__say.is-out { opacity: 0; }
.fest-tile__say b { font-size: 14px; font-weight: 700; line-height: 1.2; }
.fest-tile__say small { font-size: 11.5px; line-height: 1.2; color: rgba(255,255,255,.82); }
.fest-tile__say--like b { color: var(--fest-like); }
.fest-tile__say--love b { color: var(--fest-love); }
.fest-tile--rate.fest-tile--pass .fest-tile__img { opacity: 1; }
.fest-tile--rate.fest-tile--pass .fest-tile__img img { opacity: .4; }
/* Prompt: exactly two lines */
.fest-pickprompt { padding: 10px 14px; margin-bottom: 14px; }
.fest-pickprompt > div { min-width: 0; flex: 1; }
.fest-pickprompt__do, .fest-pickprompt__sub { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fest-pickprompt__sub { margin-top: 1px; }
.fest-schedsoon__will .fest-schedsoon__sofar:not(:has(.fest-topstrip__faces)) { display: block; }
.fest-schedsoon__sofar .fest-linkbtn { display: inline; min-height: 0; padding: 0; }
.fest-schedsoon__have:not(:has(.fest-section-label)) .fest-schedsoon__own { margin-top: 0; }
/* A passed artist must not look like an unrated one: black-and-white and dark, a solid white X badge, "Passed" on the
   image, and the name struck through. (Unrated = full colour with a faint heart outline.) */
.fest-tile--rate.fest-tile--pass .fest-tile__img { background: #0c0c0c; }
.fest-tile--rate.fest-tile--pass .fest-tile__img img { opacity: .28; filter: grayscale(1); }
.fest-tile--rate.fest-tile--pass .fest-tile__react { background: #fff; color: #111; opacity: 1; }
.fest-tile--rate.fest-tile--pass .fest-tile__react svg { stroke-width: 3; }
.fest-tile--rate.fest-tile--pass .fest-tile__img::after { content: "Passed"; position: absolute; left: 8px; bottom: 8px; z-index: 2; padding: 3px 9px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); color: #e6e6e6; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.fest-tile--rate.fest-tile--pass .fest-tile__img:has(.fest-tile__say)::after, .fest-tiles--compact .fest-tile--pass .fest-tile__img::after { display: none; }
.fest-tile--rate.fest-tile--pass .fest-tile__name { color: var(--fest-text-2); }
.fest-tile--rate.fest-tile--pass .fest-tile__sub { opacity: .6; }

/* ---- 2026-11-22: the joined player + rating card on every tab (phones), not only Rank ---- */
#festNpRate[hidden] { display: none !important; }
@media (max-width: 899px) {
  /* off Rank the card can be put away: the close button stays (previous stays hidden) */
  body.fest-np-joined.fest-np-other .fest-player [data-action="player-close"] { display: inline-flex; }
}
.fest-rankpill { bottom: calc(var(--fest-bottom) + var(--fest-player-h, 0px) + var(--fest-rate-h, 0px) + 12px); }
/* The "Listen and rank" pill: smaller, see-through glass with a green edge (it was a solid green block), and close to
   the player when one is showing */
.fest-rankpill { min-height: 38px; padding: 0 12px 0 14px; gap: 7px; font-size: 14px; font-weight: 600; color: #eafff1;
  background: rgba(18,44,28,.55); border-color: rgba(29,185,84,.65); backdrop-filter: blur(20px) saturate(1.7); -webkit-backdrop-filter: blur(20px) saturate(1.7);
  box-shadow: 0 8px 24px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.12);
  bottom: calc(var(--fest-bottom) + var(--fest-player-h, 0px) + var(--fest-rate-h, 0px) + 6px); }
.fest-rankpill svg { width: 16px; height: 16px; color: var(--fest-accent); }
.fest-rankpill:hover { background: rgba(22,60,36,.7); }
body.fest-np-joined .fest-rankpill { bottom: calc(var(--fest-bottom) + var(--fest-rate-px, 0px) + 75px); } /* 8 + the player row (61) + a 6 px gap */

/* ---- 2026-11-22: the playing artist's photo, blurred and dimmed, behind the player / rating card ----------------
   Keeps the imagery when the visitor is on the list. A dark veil over it keeps every label readable; the two joined
   parts paint the same oversized box, so the picture runs through both without a seam. */
.fest-player::before, body.fest-np-joined .fest-ratebar::before { content: ""; position: absolute; z-index: -1; left: -28px; right: -28px; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,12,.50), rgba(10,10,12,.72)), var(--fest-np-img, none) center 30% / cover no-repeat; filter: blur(18px) saturate(1.5); opacity: .92; }
.fest-player::before { top: -28px; bottom: -28px; }
.fest-player > * { position: relative; }
.fest-player .fest-player__bar { position: absolute; }
.fest-player__song, .fest-player__artist { text-shadow: 0 1px 6px rgba(0,0,0,.55); }
@media (max-width: 899px) {
  body.fest-np-joined .fest-ratebar { overflow: hidden; }
  body.fest-np-joined .fest-player::before { bottom: auto; height: calc(100% + var(--fest-rate-px, 0px) + 56px); }
  body.fest-np-joined .fest-ratebar::before { top: auto; bottom: -28px; height: calc(100% + 61px + 56px); }
  body.fest-np-joined .fest-ratebar .fest-react { background: rgba(0,0,0,.42); border-color: rgba(255,255,255,.2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
}
/* The photo behind the player was blurred to nothing: now only softened (3 px), so the artist is recognisable, with a
   veil that is light over the picture and darker towards the rating buttons; labels carry their own shadow. */
.fest-player::before, body.fest-np-joined .fest-ratebar::before { left: -8px; right: -8px; filter: blur(3px) saturate(1.15); opacity: 1;
  background: linear-gradient(180deg, rgba(8,8,10,.38) 0%, rgba(8,8,10,.50) 45%, rgba(8,8,10,.74) 100%), var(--fest-np-img, none) center 28% / cover no-repeat; }
.fest-player::before { top: -8px; bottom: -8px; }
.fest-player__song, .fest-player__artist { text-shadow: 0 1px 3px rgba(0,0,0,.9), 0 0 12px rgba(0,0,0,.6); }
@media (max-width: 899px) {
  body.fest-np-joined .fest-player::before { bottom: auto; height: calc(100% + var(--fest-rate-px, 0px) + 16px); }
  body.fest-np-joined .fest-ratebar::before { top: auto; bottom: -8px; height: calc(100% + 61px + 16px); }
  body.fest-np-joined .fest-player__song { color: rgba(255,255,255,.88); }
}
/* "Save your picks" (and the other account prompts) sit above everything that floats - the player / rating card
   (z 99990) used to cover the email field. */
.fest-save-backdrop { z-index: 100004; }
.fest-save { z-index: 100005; }
/* Readable over ANY artist photo, light or dark (2026-11-22). The photo is toned down a little and veiled more; the
   three rating buttons do not rely on what is behind them at all - a near-solid dark fill with a light edge - and the
   icon buttons of the top row get the same dark disc. */
.fest-player::before, body.fest-np-joined .fest-ratebar::before { filter: blur(3px) saturate(1.1) brightness(.82);
  background: linear-gradient(180deg, rgba(8,8,10,.50) 0%, rgba(8,8,10,.60) 45%, rgba(8,8,10,.80) 100%), var(--fest-np-img, none) center 28% / cover no-repeat; }
.fest-player [data-action="player-next"], .fest-player [data-action="player-prev"], .fest-player [data-action="player-close"] { background: rgba(0,0,0,.45); color: #fff; border-radius: 50%; }
@media (max-width: 899px) {
  body.fest-np-joined .fest-ratebar .fest-react, .fest-ratebar .fest-react { background: rgba(14,14,16,.86); border-color: rgba(255,255,255,.26); backdrop-filter: none; -webkit-backdrop-filter: none; text-shadow: none; }
  .fest-ratebar .fest-react--pass { color: #fff; }
  .fest-ratebar .fest-react.is-on { border-color: currentColor; background: rgba(14,14,16,.94); box-shadow: inset 0 0 0 1px currentColor; }
}
/* The CHOSEN rating in the card is a solid block of its colour with its own text colour (the dark fill above had left
   a liked artist with dark text on a dark button). Same for a finger resting on a button. */
@media (max-width: 899px) {
  body .fest-ratebar .fest-react--like.is-on, body .fest-ratebar .fest-react--like:hover { background: var(--fest-like); border-color: var(--fest-like); color: #08140c; box-shadow: none; }
  body .fest-ratebar .fest-react--love.is-on, body .fest-ratebar .fest-react--love:hover { background: var(--fest-love); border-color: var(--fest-love); color: #23040f; box-shadow: none; }
  body .fest-ratebar .fest-react--pass.is-on, body .fest-ratebar .fest-react--pass:hover { background: #e9e9ec; border-color: #e9e9ec; color: #111; box-shadow: none; }
}
/* Owner 2026-11-22: no bright block for the chosen rating - all three buttons stay dark. The chosen one is told apart
   by a ring and a faint tint in its own colour; its text keeps that colour (never dark on dark). */
@media (max-width: 899px) {
  body .fest-ratebar .fest-react--like.is-on, body .fest-ratebar .fest-react--like:hover { background: rgba(14,14,16,.9); color: var(--fest-like); border-color: var(--fest-like); }
  body .fest-ratebar .fest-react--love.is-on, body .fest-ratebar .fest-react--love:hover { background: rgba(14,14,16,.9); color: var(--fest-love); border-color: var(--fest-love); }
  body .fest-ratebar .fest-react--pass.is-on, body .fest-ratebar .fest-react--pass:hover { background: rgba(14,14,16,.9); color: #fff; border-color: #fff; }
  body .fest-ratebar .fest-react.is-on { box-shadow: inset 0 0 0 1.5px currentColor, inset 0 0 0 100px color-mix(in srgb, currentColor 13%, transparent); }
  body .fest-ratebar .fest-react:not(.is-on):hover { border-color: rgba(255,255,255,.26); box-shadow: none; }
}

/* ---- Designed stand-in art (2026-11-22): festivals with no logo or picture (fest_placeholder_art in partials/helpers.php).
   One look per genre family, hue shifted per festival via --ph-h. Sized with container units so cards and hero share it. */
.fest-ph { position: absolute; inset: 0; overflow: hidden; container-type: inline-size; isolation: isolate;
  background: linear-gradient(160deg, hsl(var(--ph-h) 45% 22%), hsl(calc(var(--ph-h) + 40) 50% 9%)); }
.fest-ph__fx { position: absolute; inset: 0; z-index: 0; }
.fest-ph svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.fest-ph__name { position: absolute; left: 8cqw; right: 8cqw; bottom: 8cqw; z-index: 2; font-family: var(--fest-display-font); font-weight: 700;
  color: #fff; line-height: 1.02; letter-spacing: -0.02em; text-shadow: 0 2px 16px rgba(0,0,0,.45); overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fest-ph__name--l { font-size: 13cqw; }
.fest-ph__name--m { font-size: 10cqw; }
.fest-ph__name--s { font-size: 7.6cqw; }
.fest-ph::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.5)); }
/* Electronic: coloured light beams from the top and a glowing floor */
.fest-ph--beams { background: radial-gradient(120% 60% at 50% 110%, hsl(calc(var(--ph-h) + 60) 90% 45% / .55), transparent 60%),
  linear-gradient(180deg, hsl(var(--ph-h) 60% 8%), hsl(var(--ph-h) 55% 16%)); }
.fest-ph--beams .fest-ph__fx { background:
  conic-gradient(from 165deg at 20% -10%, transparent 0deg, hsl(calc(var(--ph-h) + 70) 100% 65% / .55) 6deg, transparent 14deg),
  conic-gradient(from 180deg at 50% -10%, transparent 0deg, hsl(calc(var(--ph-h) - 40) 100% 70% / .5) 5deg, transparent 12deg),
  conic-gradient(from 195deg at 80% -10%, transparent 0deg, hsl(calc(var(--ph-h) + 140) 100% 65% / .5) 6deg, transparent 14deg),
  conic-gradient(from 150deg at 35% -10%, transparent 0deg, hsl(calc(var(--ph-h) + 20) 100% 70% / .3) 4deg, transparent 10deg),
  conic-gradient(from 205deg at 65% -10%, transparent 0deg, hsl(calc(var(--ph-h) + 100) 100% 70% / .3) 4deg, transparent 10deg);
  filter: blur(1.5px); }
/* Rock / metal / punk: warm spotlights cutting through haze */
.fest-ph--stage { background: linear-gradient(180deg, hsl(var(--ph-h) 55% 7%), hsl(var(--ph-h) 60% 14%)); }
.fest-ph--stage .fest-ph__fx { background:
  radial-gradient(40% 70% at 25% 0%, hsl(calc(var(--ph-h) + 25) 100% 60% / .65), transparent 70%),
  radial-gradient(35% 65% at 72% 0%, hsl(calc(var(--ph-h) + 5) 100% 55% / .55), transparent 70%),
  radial-gradient(90% 40% at 50% 100%, hsl(calc(var(--ph-h) + 30) 90% 50% / .35), transparent 70%),
  repeating-linear-gradient(100deg, rgba(255,255,255,.03) 0 2px, transparent 2px 9px); }
/* Folk / country / Americana / blues: low sun, layered hills */
.fest-ph--sunset { background: linear-gradient(180deg, hsl(calc(var(--ph-h) + 230) 45% 30%) 0%, hsl(calc(var(--ph-h) + 330) 70% 55%) 45%, hsl(var(--ph-h) 95% 62%) 70%); }
.fest-ph--sunset .fest-ph__fx { background: radial-gradient(circle at 62% 50%, hsl(calc(var(--ph-h) + 20) 100% 80%) 0 9cqw, hsl(calc(var(--ph-h) + 20) 100% 70% / .4) 9.5cqw, transparent 26cqw); }
.fest-ph__hill1 { fill: hsl(calc(var(--ph-h) + 300) 35% 24%); }
.fest-ph__hill2 { fill: hsl(calc(var(--ph-h) + 280) 40% 13%); }
/* Jazz / soul / R&B / classical: soft bokeh in deep blue-teal */
.fest-ph--bokeh { background: linear-gradient(150deg, hsl(var(--ph-h) 55% 16%), hsl(calc(var(--ph-h) + 30) 60% 7%)); }
.fest-ph--bokeh .fest-ph__fx { background:
  radial-gradient(circle at 18% 28%, hsl(40 100% 70% / .55) 0 5cqw, transparent 5.5cqw),
  radial-gradient(circle at 70% 18%, hsl(calc(var(--ph-h) - 20) 90% 70% / .4) 0 8cqw, transparent 8.5cqw),
  radial-gradient(circle at 84% 52%, hsl(35 100% 65% / .35) 0 4cqw, transparent 4.5cqw),
  radial-gradient(circle at 42% 50%, hsl(calc(var(--ph-h) + 20) 90% 75% / .25) 0 11cqw, transparent 11.5cqw),
  radial-gradient(circle at 60% 74%, hsl(45 100% 70% / .3) 0 3cqw, transparent 3.5cqw),
  radial-gradient(circle at 8% 66%, hsl(calc(var(--ph-h) - 30) 90% 70% / .3) 0 6cqw, transparent 6.5cqw);
  filter: blur(2px); }
/* Pop / hip-hop / Latin / reggae / world: bold overlapping shapes */
.fest-ph--pop { background: linear-gradient(135deg, hsl(var(--ph-h) 80% 52%), hsl(calc(var(--ph-h) + 50) 85% 45%)); }
.fest-ph--pop .fest-ph__fx { background:
  radial-gradient(circle at 85% 15%, hsl(calc(var(--ph-h) + 160) 95% 60%) 0 26cqw, transparent 26.5cqw),
  radial-gradient(circle at 12% 95%, hsl(calc(var(--ph-h) + 210) 90% 55% / .85) 0 30cqw, transparent 30.5cqw),
  repeating-linear-gradient(-45deg, rgba(255,255,255,.12) 0 2cqw, transparent 2cqw 5cqw); }
/* Anything else (and cruises): a waveform / swell line */
.fest-ph--wave .fest-ph__fx { background: radial-gradient(80% 60% at 30% 20%, hsl(calc(var(--ph-h) - 30) 70% 45% / .45), transparent 70%); }
.fest-ph--sea { background: linear-gradient(180deg, hsl(var(--ph-h) 60% 55%) 0%, hsl(calc(var(--ph-h) + 10) 65% 30%) 48%, hsl(calc(var(--ph-h) + 20) 70% 14%)); }
.fest-ph--sea .fest-ph__fx { background: radial-gradient(circle at 75% 26%, hsl(45 100% 85%) 0 6cqw, hsl(45 100% 75% / .35) 6.5cqw, transparent 18cqw); }
.fest-ph__line1, .fest-ph__line2 { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.fest-ph__line1 { stroke: hsl(calc(var(--ph-h) - 40) 95% 70% / .9); stroke-width: 3; }
.fest-ph__line2 { stroke: hsl(calc(var(--ph-h) + 40) 95% 70% / .45); stroke-width: 2; }
.fest-ph--sea .fest-ph__line1 { stroke: rgba(255,255,255,.55); }
.fest-ph--sea .fest-ph__line2 { stroke: rgba(255,255,255,.3); }
/* Hero: the art stands where the poster / logo would be */
.fest-hero__art { position: relative; width: 96px; height: 96px; border-radius: 14px; flex-shrink: 0; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
@media (min-width: 769px) { .fest-hero__art { width: 200px; height: 200px; border-radius: 18px; } }
@media (max-width: 768px) {
  .fest-hero__art { display: block; width: auto; height: 120px; margin: 0 calc(-1 * var(--fest-gutter)); border-radius: 0; box-shadow: none;
    -webkit-mask-image: linear-gradient(#000 58%, transparent); mask-image: linear-gradient(#000 58%, transparent); }
  .fest-hero__art + .fest-hero__text { margin-top: -40px; position: relative; }
}
/* Per-festival variation: shift / mirror the light layer and the hills (--ph-x, --ph-f set per festival) */
.fest-ph__fx { inset: 0 -25%; transform: translateX(var(--ph-x, 0%)) scaleX(var(--ph-f, 1)); }
.fest-ph--sunset svg { transform: scaleX(var(--ph-f, 1)); }
.fest-ph--pop .fest-ph__fx { background:
  radial-gradient(circle at 80% 12%, hsl(calc(var(--ph-h) + 35) 90% 64% / .9) 0 22cqw, transparent 22.5cqw),
  radial-gradient(circle at 22% 98%, hsl(calc(var(--ph-h) - 45) 85% 58% / .85) 0 28cqw, transparent 28.5cqw),
  repeating-linear-gradient(-45deg, rgba(255,255,255,.1) 0 2cqw, transparent 2cqw 5cqw); }

/* A press-and-hold (next = next artist; a lineup tile = the rating menu) must not select text or raise the iOS
   copy / look-up bubble: nothing in these floating controls or on the tiles is selectable. */
.fest-player, .fest-player *, .fest-ratebar, .fest-ratebar *, .fest-rankpill, .fest-tile--rate, .fest-tile--rate * {
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.fest-player .fest-icon-btn, .fest-ratebar .fest-react { touch-action: manipulation; }

/* Messages (toasts): as wide as the screen allows before wrapping. They were centred with left: 50%, which let them
   use only half the screen's width, so longer ones came out tall and narrow. Shown longer, too (see toast() in js). */
.fest-toast { left: 16px; right: 16px; width: fit-content; max-width: min(560px, calc(100% - 32px)); margin: 0 auto; transform: translateY(20px);
  text-align: center; border-radius: 22px; padding: 10px 18px; line-height: 1.35; text-wrap: balance; }
.fest-toast.is-visible { transform: none; }

/* ---------------------------------------------------------------- Lineup tools (OpenSpec add-festival-lineup-tools) */
/* Genre view in the Lineup tab: jump chips, share link, a heading per group */
.fest-genrejump { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 0 6px; padding-bottom: 2px; }
.fest-genrejump::-webkit-scrollbar { display: none; }
.fest-genrejump .fest-chip { flex: none; min-height: 34px; }
.fest-chip__n { color: var(--fest-text-3); font-variant-numeric: tabular-nums; font-weight: 600; }
.fest-genreshare { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--fest-text-2); font-weight: 500; font-size: 14px; }
.fest-genreshare svg { width: 15px; height: 15px; }
.fest-genrehead { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 12px; font-size: 20px; font-weight: 700; scroll-margin-top: 120px; }
.fest-genrehead:first-of-type { margin-top: 10px; }
.fest-genrehead__n { font-size: 13px; font-weight: 500; color: var(--fest-text-3); }

/* Genre mix (Info tab) and on the compare page: label, bar sized by count, number */
.fest-genremix__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; max-width: 640px; }
.fest-genremix__list a { display: grid; grid-template-columns: minmax(92px, 150px) 1fr 40px; align-items: center; gap: 12px; min-height: 40px;
  padding: 0 8px; margin: 0 -8px; border-radius: 10px; color: var(--fest-text); text-decoration: none; }
.fest-genremix__list a:focus-visible { outline: 2px solid var(--fest-accent); outline-offset: 0; }
@media (hover: hover) { .fest-genremix__list a:hover { background: var(--fest-surface); } }
.fest-genremix__label { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fest-genremix__bar { height: 10px; border-radius: 999px; background: var(--fest-surface-2); overflow: hidden; }
.fest-genremix__bar i { display: block; height: 100%; border-radius: 999px; background: var(--fest-accent); }
.fest-genremix__list li:nth-child(6n+2) .fest-genremix__bar i { background: #d373ff; }
.fest-genremix__list li:nth-child(6n+3) .fest-genremix__bar i { background: #f5b13d; }
.fest-genremix__list li:nth-child(6n+4) .fest-genremix__bar i { background: #38bdf8; }
.fest-genremix__list li:nth-child(6n+5) .fest-genremix__bar i { background: #f472b6; }
.fest-genremix__list li:nth-child(6n) .fest-genremix__bar i { background: #a3e635; }
.fest-genremix__list li.is-other .fest-genremix__bar i { background: #8a8a92; }
.fest-genremix__n { text-align: right; font-variant-numeric: tabular-nums; color: var(--fest-text-2); font-weight: 600; }
.fest-genremix__share { margin-top: 14px; }
.fest-genremix__list--compact a { grid-template-columns: minmax(80px, 120px) 1fr 32px; min-height: 34px; gap: 10px; }
.fest-genremix__list--compact .fest-genremix__label { font-size: 14px; }

/* Share the genre breakdown dialog */
.fest-gsdlg__img { width: 100%; height: auto; border-radius: 10px; background: var(--fest-surface-2); aspect-ratio: 1200 / 630; }
.fest-gsdlg__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.fest-gsdlg__acts .fest-btn { min-height: 44px; }

/* Compare with... dialog */
.fest-cmpdlg .fest-search { height: 46px; }
.fest-cmpdlg .fest-search .fest-input { border: 0; background: transparent; padding: 0; height: 100%; }
.fest-cmpdlg__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; min-height: 120px; }
.fest-cmpdlg__list a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; background: var(--fest-surface-2);
  color: var(--fest-text); text-decoration: none; }
.fest-cmpdlg__list a span { font-size: 13px; color: var(--fest-text-2); }
.fest-cmpdlg__list a:focus-visible { outline: 2px solid var(--fest-accent); }
@media (hover: hover) { .fest-cmpdlg__list a:hover { background: #2c2c2c; } }

/* "Compare" under each similar-festival card */
.fest-alike__item { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fest-alike__cmp { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 4px; font-size: 14px; font-weight: 500;
  color: var(--fest-text-2); text-decoration: none; align-self: flex-start; }
.fest-alike__cmp svg { width: 15px; height: 15px; }
.fest-alike__cmp:hover, .fest-alike__cmp:focus-visible { color: var(--fest-text); }

/* Compare page: two columns on desktop, stacked on phones with a pinned "A | B" bar */
.fest-cmp { max-width: 1040px; }
.fest-cmp__title { margin: 8px 0 6px; }
.fest-cmp__title a { color: inherit; text-decoration: none; }
.fest-cmp__vs { color: var(--fest-text-3); font-weight: 500; font-size: .6em; margin: 0 .15em; }
.fest-cmp__yearline { display: flex; align-items: center; gap: 8px; color: #f5b13d; margin: 8px 0 0; font-size: 14px; font-weight: 600; }
.fest-cmp__yearline svg, .fest-cmp__year svg { width: 15px; height: 15px; flex: none; }
.fest-cmp__yearline { margin: -4px 0 12px; }
.fest-cmp__bar { display: none; }
.fest-cmp__sec { margin-top: 34px; }
.fest-cmp__sec > .fest-h2 { display: flex; align-items: baseline; gap: 10px; }
.fest-cmp__n { font-size: 14px; font-weight: 600; color: var(--fest-text-3); }
.fest-cmp__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.fest-cmp__colhead { font-size: 17px; margin: 0 0 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.fest-cmp__colhead a { color: var(--fest-text); text-decoration: none; }
.fest-cmp__colhead a:hover { text-decoration: underline; }
.fest-cmp__year { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: #f5b13d; color: #2a1a00; }
.fest-cmp__year svg { color: #2a1a00; }
/* Past lineup used (owner 2026-11-22: must be noticed) */
.fest-cmp__pastbanner { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 0; padding: 14px 16px; border-radius: 14px;
  background: #f5b13d; color: #2a1a00; max-width: 760px; }
.fest-cmp__pastbanner > svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.fest-cmp__pastbanner b { display: block; font-size: 16px; }
.fest-cmp__pastbanner span { display: block; font-size: 14px; line-height: 1.45; margin-top: 2px; }
.fest-cmp__pastbanner a { display: inline-block; margin-top: 6px; color: #2a1a00; font-weight: 700; font-size: 14px; text-decoration: underline; }
.fest-cmp__bartag { font-style: normal; font-size: 11px; font-weight: 800; padding: 1px 6px; border-radius: 999px; background: #f5b13d; color: #2a1a00; margin-left: 4px; }
.fest-cmp__facts { width: 100%; border-collapse: collapse; font-size: 15px; }
.fest-cmp__facts th, .fest-cmp__facts td { text-align: left; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--fest-border); vertical-align: top; }
.fest-cmp__facts thead th { font-size: 13px; color: var(--fest-text-2); font-weight: 600; width: 40%; }
.fest-cmp__facts thead th:first-child { width: 20%; }
.fest-cmp__facts tbody th { color: var(--fest-text-2); font-weight: 500; white-space: nowrap; }
.fest-cmp__facts tbody th svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 6px; }
.fest-cmp__acts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fest-cmp__acts a, .fest-cmp__act { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 12px 4px 4px; border-radius: 999px;
  background: var(--fest-surface); border: 1px solid var(--fest-border); color: var(--fest-text); text-decoration: none; font-size: 14px; font-weight: 500; }
.fest-cmp__acts a:hover { border-color: var(--fest-border-strong); }
.fest-cmp__acts img, .fest-cmp__ini { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; background: var(--fest-surface-2); }
.fest-cmp__ini { display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--fest-text-2); }
.fest-cmp__acts--col { margin-bottom: 10px; }
.fest-cmp__more { margin-top: 10px; }
.fest-cmp__more summary { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; cursor: pointer; color: var(--fest-text-2); font-weight: 500; list-style: none; }
.fest-cmp__more summary::-webkit-details-marker { display: none; }
.fest-cmp__more summary svg { width: 16px; height: 16px; }
.fest-cmp__more[open] summary svg { transform: rotate(180deg); }
.fest-cmp__more .fest-cmp__acts { margin-top: 8px; }
.fest-cmp__you { padding: 16px; border-radius: var(--fest-radius); background: var(--fest-surface); border: 1px solid var(--fest-border); }
.fest-cmp__big { margin: 0; font-size: 18px; color: var(--fest-text-2); }
.fest-cmp__big b { font-size: 36px; color: var(--fest-accent); margin-right: 6px; font-variant-numeric: tabular-nums; }
.fest-cmp__split { margin: 4px 0 8px; }
.fest-cmp__names { margin: 0 0 10px; font-size: 14px; }
.fest-cmp__invite { display: flex; gap: 14px; padding: 16px; border-radius: var(--fest-radius); background: var(--fest-surface); border: 1px solid var(--fest-border); }
.fest-cmp__invite > svg { width: 22px; height: 22px; color: var(--fest-accent); flex: none; margin-top: 2px; }
.fest-cmp__invitebtns { display: flex; flex-wrap: wrap; gap: 8px; }
.fest-cmp__invitebtns .fest-btn { min-height: 44px; }
.fest-cmp__open { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 12px; }
@media (max-width: 720px) {
  .fest-cmp__bar { display: grid; grid-template-columns: 1fr 1fr; position: sticky; top: var(--fest-top, 0px); z-index: 40; margin: 16px calc(-1 * var(--fest-gutter, 16px)) 0;
    padding: 10px var(--fest-gutter, 16px); background: rgba(18,18,18,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--fest-border); font-size: 13px; font-weight: 700; }
  .fest-cmp__bar span { display: flex; align-items: center; min-width: 0; white-space: nowrap; }
  .fest-cmp__bar b { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .fest-cmp__bartag { flex: none; }
  .fest-cmp__bar span:first-child { padding-right: 10px; border-right: 1px solid var(--fest-border); }
  .fest-cmp__bar span:last-child { padding-left: 10px; }
  .fest-cmp__cols { grid-template-columns: 1fr; gap: 22px; }
  .fest-cmp__facts { font-size: 14px; }
  .fest-cmp__facts tbody th { white-space: normal; }
  .fest-cmp__facts th, .fest-cmp__facts td { padding-right: 8px; }
  .fest-genremix__list a { grid-template-columns: minmax(84px, 120px) 1fr 34px; gap: 10px; }
}

/* ---- Spotify playlists (add-festival-spotify-playlists, 2026-11-22): Info tab rows, picks sheet, Rank "..." menu ---- */
.fest-playlists .fest-h2 { margin-bottom: 10px; }
.fest-pl-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin-bottom: 8px; border: 1px solid var(--fest-border); border-radius: 14px;
  background: var(--fest-surface); color: var(--fest-text); text-decoration: none; }
a.fest-pl-row:hover, a.fest-pl-row:focus-visible { border-color: var(--fest-border-strong); outline: none; }
.fest-pl-row__icon { flex: 0 0 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(29,185,84,.12); }
.fest-pl-row__icon svg { width: 20px; height: 20px; color: var(--fest-accent); }
.fest-pl-row__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fest-pl-row__main b { font-size: 15px; }
.fest-pl-row__go { display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0; font-size: 13px; font-weight: 600; color: var(--fest-text-2); }
.fest-pl-row__go svg { width: 14px; height: 14px; }
@media (max-width: 480px) { .fest-pl-row__go { font-size: 0; gap: 0; } .fest-pl-row__go svg { width: 18px; height: 18px; } }
.fest-pl__songs { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fest-pl__chips { display: flex; gap: 6px; }
.fest-pl__chips .fest-chip { min-width: 44px; min-height: 40px; justify-content: center; cursor: pointer; }
.fest-pl__chips .fest-chip[aria-pressed="true"] { border-color: var(--fest-accent); box-shadow: inset 0 0 0 1px var(--fest-accent); background: rgba(29,185,84,.12); color: var(--fest-text); }
.fest-pl__note { display: flex; gap: 8px; align-items: flex-start; margin: 0; }
.fest-pl__note svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; color: var(--fest-text-3); }
.fest-pl__busy, .fest-pl__done { display: flex; align-items: center; gap: 10px; margin: 6px 0; font-weight: 600; }
.fest-pl__busy svg, .fest-pl__done svg { width: 20px; height: 20px; flex-shrink: 0; }
.fest-pl__done svg { color: var(--fest-accent); }
.fest-pl__open { align-self: flex-start; }
.fest-pl__keep { margin: 0; }
.fest-pl__list { margin: 0; padding: 0 0 0 22px; max-height: 46vh; overflow: auto; font-size: 14px; }
.fest-pl__list li { padding: 4px 0; }
.fest-pl__list a { color: var(--fest-text); text-decoration: none; }
.fest-pl__list a span { color: var(--fest-text-2); }
.fest-rk-head__row { position: relative; }
.fest-rk-more { flex-shrink: 0; width: 38px; height: 38px; min-height: 38px; }
.fest-rk-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; min-width: 240px; padding: 6px; border-radius: 14px;
  border: 1px solid var(--fest-border-strong); background: var(--fest-surface-2); box-shadow: 0 12px 32px rgba(0,0,0,.45); }
.fest-rk-menu button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 0 12px; border: 0; border-radius: 10px; background: none;
  color: var(--fest-text); font: inherit; font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; }
.fest-rk-menu button:hover, .fest-rk-menu button:focus-visible { background: var(--fest-surface-3); outline: none; }
.fest-rk-menu svg { width: 18px; height: 18px; color: var(--fest-text-2); }

/* =====================================================================================================================
   Plan and friends (OpenSpec add-festival-plan-and-friends, 2026-11-22)
   ===================================================================================================================== */
/* Rank list "..." menu: a few items now */
.fest-rk-head__row { position: relative; }
.fest-rk-menu { max-width: calc(100vw - 32px); }
.fest-rk-menu button { text-align: left; color: var(--fest-text); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }

/* ---- Fine-tune my order: a mode of the Rank tab. The card, rating bar and player card step aside; audio plays on. */
body.fest-tuning .fest-rk, body.fest-tuning .fest-ratebar, body.fest-tuning .fest-player, body.fest-tuning #festNpRate,
body.fest-tuning .fest-listenpill { display: none !important; }
.fest-tune { max-width: 640px; margin: 0 auto; padding-bottom: 24px; }
.fest-tune__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.fest-tune__head .fest-btn { flex-shrink: 0; }
.fest-tune__group { margin-bottom: 18px; }
.fest-tune__group h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 16px; }
.fest-tune__group h3 svg { width: 18px; height: 18px; }
.fest-tune__group h3 small { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--fest-text-3, var(--fest-text-2)); }
.fest-tune__group--love h3 svg { color: var(--fest-love); }
.fest-tune__group--like h3 svg { color: var(--fest-like); }
.fest-tune__group--pass h3 svg { color: var(--fest-text-2); }
.fest-tune__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.fest-tune__row { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 4px 6px 4px 0; border-radius: 14px; background: var(--fest-surface);
  border: 1px solid var(--fest-border); position: relative; }
.fest-tune__row.is-dragging { z-index: 5; background: var(--fest-surface-3); border-color: var(--fest-accent); box-shadow: 0 12px 30px rgba(0,0,0,.5); }
.fest-tune__row.is-moved { animation: fest-tune-moved .7s ease; }
@keyframes fest-tune-moved { from { background: rgba(29,185,84,.22); } to { background: var(--fest-surface); } }
.fest-tune__grip { flex-shrink: 0; width: 44px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none;
  color: var(--fest-text-2); cursor: grab; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.fest-tune__grip:active { cursor: grabbing; }
.fest-tune__grip svg { width: 20px; height: 20px; pointer-events: none; }
.fest-tune__n { flex-shrink: 0; width: 22px; text-align: right; font-size: 13px; font-weight: 700; color: var(--fest-text-2); font-variant-numeric: tabular-nums; }
.fest-tune__img { flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px; overflow: hidden; background: var(--fest-surface-3); }
.fest-tune__img img, .fest-tune__img .fest-initials { width: 100%; height: 100%; object-fit: cover; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.fest-tune__name { flex: 1; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fest-tune__btn { flex-shrink: 0; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px;
  border: 1px solid var(--fest-border-strong); background: var(--fest-surface-2); color: var(--fest-text); cursor: pointer; }
.fest-tune__btn svg { width: 20px; height: 20px; }
.fest-tune__btn:disabled { opacity: .28; cursor: default; }
.fest-tune__btn:focus-visible, .fest-tune__grip:focus-visible { outline: 2px solid var(--fest-accent); outline-offset: 2px; }
.fest-tune__saved { min-height: 18px; margin: 0 0 8px; color: var(--fest-accent); }
.fest-tune__foot { display: flex; justify-content: center; }
.fest-tune__foot .fest-btn { min-width: 160px; justify-content: center; }
body.fest-tune-dragging { -webkit-user-select: none; user-select: none; cursor: grabbing; }
.fest-group--pass .fest-tune__name { color: var(--fest-text-2); }

/* ---- Save or print my plan */
.fest-take__list { display: flex; flex-direction: column; gap: 8px; }
.fest-take__row { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 10px 14px; border-radius: 14px; box-sizing: border-box;
  border: 1px solid var(--fest-border); background: var(--fest-surface-2); color: var(--fest-text); font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.fest-take__row:hover, .fest-take__row:focus-visible { border-color: var(--fest-border-strong); background: var(--fest-surface-3); outline: none; }
.fest-take__row > svg:first-child { flex-shrink: 0; width: 24px; height: 24px; color: var(--fest-accent); }
.fest-take__row > svg:last-child { flex-shrink: 0; width: 18px; height: 18px; color: var(--fest-text-2); }
.fest-take__row span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fest-take__row b { font-size: 16px; }
.fest-take__row small { font-size: 13px; color: var(--fest-text-2); }
.fest-take__shots { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 10px; -webkit-overflow-scrolling: touch; }
.fest-take__shot { flex: 0 0 auto; width: min(52vw, 210px); margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; scroll-snap-align: center; }
.fest-take__shot img { width: 100%; height: auto; aspect-ratio: 1170 / 2532; border-radius: 22px; border: 1px solid var(--fest-border-strong); background: #0b0b0d; display: block; }
.fest-take__shot figcaption { font-size: 13px; color: var(--fest-text-2); text-align: center; }
.fest-take__email { display: flex; flex-direction: column; gap: 12px; }
.fest-take__email .fest-input { width: 100%; box-sizing: border-box; min-height: 46px; flex: none; }
.fest-take__msg { margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(245,165,36,.12); color: var(--fest-warn); font-size: 14px; }
.fest-schedsoon__acts, .fest-callout__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* ---- Gap suggestions inside My plan */
.fest-gap { margin: 2px 0 6px; padding: 10px 12px; border-radius: 14px; border: 1px dashed var(--fest-border-strong); background: rgba(255,255,255,.02); }
.fest-gap__head { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--fest-text-2); margin-bottom: 6px; }
.fest-gap__head svg { width: 14px; height: 14px; }
.fest-gap__row { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.fest-gap__row + .fest-gap__row { border-top: 1px solid var(--fest-border); }
.fest-gap__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; cursor: pointer; }
.fest-gap__main b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fest-gap__main span { font-size: 13px; color: var(--fest-text-2); }
.fest-gap__why { color: var(--fest-accent) !important; }
.fest-gap__why--passed { color: var(--fest-warn) !important; }

/* ---- Friends on the schedule */
.fest-schedbar { justify-content: space-between; flex-wrap: nowrap; gap: 10px; }
@media (max-width: 520px) { .fest-tune__btn { width: 40px; height: 40px; } .fest-tune__grip { width: 36px; } .fest-tune__row { gap: 6px; } }
.fest-schedbar__chips { flex: 1 1 auto; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.fest-schedbar__chips::-webkit-scrollbar { display: none; }
.fest-schedbar__chips .fest-chip, .fest-planbar .fest-chip { flex: none; cursor: pointer; }
.fest-schedbar .fest-seg { flex: none; }
.fest-planbar { display: flex; gap: 8px; margin: -6px 0 14px; }
.fest-chip--choose { padding: 0 10px; gap: 4px; color: var(--fest-text-2); }
.fest-chip--friends[aria-pressed="true"] { background: rgba(29,185,84,.16); color: var(--fest-text); border-color: var(--fest-accent); box-shadow: inset 0 0 0 1px var(--fest-accent); }
.fest-chip--friends[aria-pressed="true"] svg { color: var(--fest-accent); }
.fest-frdots { display: inline-flex; flex-shrink: 0; }
.fest-frdot { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 3px; box-sizing: border-box; border-radius: 999px;
  font-size: 10px; font-weight: 700; line-height: 1; color: #08140c; background: var(--fest-accent); border: 1.5px solid var(--fest-bg, #121212); margin-left: -5px; }
.fest-frdot:first-child { margin-left: 0; }
.fest-frdot.is-pick { background: var(--fest-surface-3); color: var(--fest-text); border-color: var(--fest-border-strong); }
.fest-frdot.is-more { background: var(--fest-surface-3); color: var(--fest-text-2); }
.fest-friends-line--set { gap: 8px; }
.fest-gset .fest-frdots { position: absolute; right: 3px; bottom: 3px; }
.fest-gset { position: relative; }
.fest-gset .fest-frdot { min-width: 16px; height: 16px; font-size: 9px; }
.fest-frdlg__list { display: flex; flex-direction: column; gap: 4px; max-height: 50vh; overflow-y: auto; }
.fest-frdlg__row { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 4px 8px; border-radius: 12px; cursor: pointer; }
.fest-frdlg__row:hover { background: var(--fest-surface-2); }
.fest-frdlg__row input { width: 20px; height: 20px; accent-color: var(--fest-accent); flex-shrink: 0; }
.fest-frdlg__row > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fest-frdlg__row small { font-size: 13px; color: var(--fest-text-2); }
.fest-frdlg__row .fest-frdot { min-width: 30px; height: 30px; font-size: 12px; margin: 0; }
.fest-frdlg .fest-fix__foot { justify-content: space-between; }

/* ---- Invite page */
.fest-invite h2 { text-wrap: balance; }
.fest-invite__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.fest-invite__undo { margin: 4px 0 0; color: var(--fest-text-2); }
.fest-invite [data-invite-done], .fest-invite [data-invite-wait], .fest-invite [data-invite-undone], .fest-invite [data-invite-fail] { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }
.fest-invite [hidden] { display: none !important; }

/* ---- Group plan page */
.fest-gp-who { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.fest-gp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fest-gp-chip { text-decoration: none; padding-left: 5px; gap: 8px; }
.fest-gp-chip:not(.is-active) { opacity: .7; }
.fest-gp-chip:not(.is-active) .fest-gp-face { filter: grayscale(1); }
.fest-gp-add { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; min-height: 36px; font-size: 14px; }
.fest-gp-add svg { width: 15px; height: 15px; }
.fest-gp-face { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; font-size: 10px; font-weight: 700; color: #fff;
  object-fit: cover; border: 2px solid var(--fest-bg, #121212); margin-left: -8px; flex-shrink: 0; box-sizing: border-box; }
.fest-gp-face:first-child { margin-left: 0; }
.fest-gp-face.is-love { box-shadow: 0 0 0 2px var(--fest-love); }
.fest-gp-going { display: flex; align-items: center; gap: 8px; margin-top: 5px; font-size: 13px; color: var(--fest-text-2); min-width: 0; }
.fest-gp-going > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fest-gp-day { margin-bottom: 26px; }
.fest-gp-block { margin-bottom: 12px; padding: 10px; border-radius: 16px; border: 1px solid var(--fest-border); display: flex; flex-direction: column; gap: 6px; }
.fest-gp-block.is-split { border-color: var(--fest-warn); background: rgba(245,165,36,.05); }
.fest-gp-block.is-all { border-color: rgba(29,185,84,.6); }
.fest-gp-block__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.fest-gp-block__time { font-size: 14px; font-weight: 700; }
.fest-gp-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--fest-text-2); }
.fest-gp-tag svg { width: 14px; height: 14px; }
.fest-gp-tag--split { color: var(--fest-warn); }
.fest-gp-tag--all { color: var(--fest-accent); }
.fest-gp-note, .fest-gp-foot { display: flex; align-items: center; gap: 6px; color: var(--fest-text-2); }
.fest-gp-note svg, .fest-gp-foot svg { width: 14px; height: 14px; flex-shrink: 0; }
.fest-gp-foot { margin-top: 24px; }
.fest-gp .fest-set__img { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--fest-surface-3); }
.fest-gp .fest-set__img img { width: 100%; height: 100%; object-fit: cover; }
/* Phones: the List / Stages switch shows its icons only, so the filter chips (and Friends) have the room */
@media (max-width: 520px) {
  .fest-schedbar .fest-seg button { font-size: 0; gap: 0; padding: 0 12px; }
  .fest-schedbar .fest-seg button svg { width: 18px; height: 18px; }
}
.fest-invite__acts { width: 100%; }
.fest-invite__acts .fest-btn { max-width: 100%; height: auto; min-height: 46px; padding-top: 10px; padding-bottom: 10px; white-space: normal; text-align: center; box-sizing: border-box; }
@media (max-width: 520px) { .fest-schedbar__chips .fest-chip--friends, .fest-schedbar__chips .fest-chip--choose { order: -1; } }
/* Fine-tune: rows can move between sections (a new rating) */
.fest-tune__list { min-height: 56px; }
.fest-tune__list:empty { border: 1px dashed var(--fest-border-strong); border-radius: 14px; align-items: center; justify-content: center; }
.fest-tune__list:empty::before { content: attr(data-empty); font-size: 13px; color: var(--fest-text-2); }
.fest-tune__to { display: none; font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--fest-accent); color: #08140c; }
.fest-tune__group.is-target .fest-tune__to { display: inline-block; }
.fest-tune__group.is-target .fest-tune__list { outline: 2px dashed var(--fest-accent); outline-offset: 4px; border-radius: 14px; }
.fest-tune { padding-bottom: 96px; }
.fest-tune__say { position: fixed; left: 50%; bottom: calc(var(--fest-bottom, 0px) + 16px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); z-index: 99995;
  display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 24px); box-sizing: border-box; padding: 10px 16px; border-radius: 999px; font-size: 14px;
  background: rgba(24,24,27,.86); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 12px 40px rgba(0,0,0,.5); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.fest-tune__say.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.fest-tune__say svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--fest-accent); }
.fest-tune__say span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fest-tune__say .fest-linkbtn { flex-shrink: 0; font-weight: 700; min-height: 32px; padding: 0 4px; }

/* Livestreams (add-festival-livestreams): heading chip + "Watch live" block in Info */
.fest-kind--stream { cursor: pointer; font-family: inherit; text-decoration: none; background: rgba(255, 255, 255, .08); color: var(--fest-text); border-color: rgba(255, 255, 255, .22); margin-left: 4px; }
.fest-kind--stream:hover { background: rgba(255, 255, 255, .14); }
.fest-kind--stream.is-live { background: rgba(255, 70, 70, .18); color: #ffb3b3; border-color: rgba(255, 90, 90, .5); }
.fest-watch { padding-bottom: 14px; scroll-margin-top: calc(var(--fest-top, 0px) + 64px); }
.fest-watch .fest-section-head { flex-wrap: wrap; gap: 4px 12px; }
.fest-watch__dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #ff5050; margin-right: 8px; vertical-align: middle; animation: festWatchPulse 1.6s ease-in-out infinite; }
@keyframes festWatchPulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .fest-watch__dot { animation: none; } }
.fest-watch__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.fest-watch__opt { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 12px 40px 12px 14px; border-radius: 14px; background: var(--fest-surface); border: 1px solid var(--fest-border); color: var(--fest-text); text-decoration: none; min-height: 44px; }
.fest-watch__opt:hover { border-color: rgba(255, 255, 255, .3); }
.fest-watch.is-live .fest-watch__opt { border-color: rgba(255, 90, 90, .45); }
.fest-watch__name { font-weight: 700; font-size: 15px; }
.fest-watch__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fest-watch__tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--fest-surface-3); color: var(--fest-text-2); }
.fest-watch__tag svg { width: 12px; height: 12px; }
.fest-watch__tag.is-free { color: #9fe0b0; }
.fest-watch__tag.is-paid { color: #ffd27a; }
.fest-watch__note { font-size: 12px; color: var(--fest-text-2); }
.fest-watch__go { position: absolute; right: 14px; top: 14px; width: 16px; height: 16px; color: var(--fest-text-2); }
.fest-watch__replay { margin: 10px 0 0; }
.fest-watch__replay a { display: inline-flex; align-items: center; gap: 6px; color: var(--fest-text); }
.fest-watch__replay svg { width: 14px; height: 14px; }
.fest-watch__foot { margin: 10px 0 0; color: var(--fest-text-2); }
.fest-card__kind--stream { color: var(--fest-text-2); margin-right: 8px; }
.fest-card__kind--stream.is-live { color: #ff8a8a; }
/* /festivals/livestreams */
.fest-streams__sec { margin-top: 28px; }
.fest-streams__say { margin: -4px 0 12px; color: var(--fest-text-2); }
.fest-streams__month { font-family: var(--fest-display-font); font-size: 15px; color: var(--fest-text-2); margin: 18px 0 8px; }
.fest-streams__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fest-streams__item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 14px; border-radius: 14px; background: var(--fest-surface); border: 1px solid var(--fest-border); }
.fest-streams__item.is-live { border-color: rgba(255, 90, 90, .45); }
.fest-streams__head { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 200px; }
/* Festival logo tile (2026-11-23): logo on its own background, else key art / photo cropped, else the initial */
.fest-streams__logo { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; display: flex; align-items: center;
  justify-content: center; padding: 7px; background: var(--fest-surface-2); border: 1px solid var(--fest-border); text-decoration: none; }
.fest-streams__logo img { width: 100%; height: 100%; object-fit: contain; }
.fest-streams__logo.is-photo { padding: 0; }
.fest-streams__logo.is-photo img { object-fit: cover; }
.fest-streams__logo span { font-family: var(--fest-display-font); font-size: 24px; color: var(--fest-text-2); }
.fest-streams__name { font-weight: 700; font-size: 16px; color: var(--fest-text); text-decoration: none; }
.fest-streams__name:hover { text-decoration: underline; }
.fest-streams__opts { display: flex; flex-wrap: wrap; gap: 6px; }
.fest-streams__opt { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--fest-border); color: var(--fest-text); text-decoration: none; font-size: 13px; }
.fest-streams__opt:hover { border-color: rgba(255, 255, 255, .3); }
.fest-streams__foot { margin-top: 26px; color: var(--fest-text-2); max-width: 640px; }

/* Desktop player bar: Love / Like / Pass for the artist that is playing (owner 2026-11-22 - the row under the card's
   songs could be scrolled out of view). Phones keep the joined card (.fest-ratebar). Dark buttons, ring when chosen. */
.fest-player__rate { display: none; }
.fest-player__nextartist { display: none !important; } /* desktop only: phones press and hold "next" */
@media (min-width: 900px) {
  .fest-player .fest-player__nextartist { display: inline-flex !important; background: rgba(0,0,0,.45); color: #fff; border-radius: 50%; }
  .fest-player { max-width: 900px; gap: 12px; padding: 8px 10px; }
  .fest-player__text { display: flex; flex-direction: column-reverse; }
  .fest-player__artist { font-size: 15px; font-weight: 700; color: var(--fest-text); }
  .fest-player__song { font-size: 12px; font-weight: 500; color: rgba(255,255,255,.88); }
  .fest-player__song::before { content: "\266A\00a0"; }
  .fest-player__rate { display: block; flex-shrink: 0; }
  .fest-player__rate:empty { display: none; }
  .fest-player__rate .fest-react-row { display: flex; gap: 8px; }
  body .fest-player__rate .fest-react { min-height: 42px; padding: 0 14px; flex-direction: row; gap: 6px; font-size: 14px; border-radius: 14px;
    background: rgba(14,14,16,.86); border-color: rgba(255,255,255,.26); box-shadow: none; }
  .fest-player__rate .fest-react svg { width: 18px; height: 18px; }
  body .fest-player__rate .fest-react--pass { color: #fff; }
  body .fest-player__rate .fest-react--like { color: var(--fest-like); }
  body .fest-player__rate .fest-react--love { color: var(--fest-love); }
  body .fest-player__rate .fest-react:hover { background: rgba(40,40,44,.92); border-color: rgba(255,255,255,.45); }
  body .fest-player__rate .fest-react.is-on { background: rgba(14,14,16,.94); border-color: currentColor; box-shadow: inset 0 0 0 1px currentColor; }
  /* the bar has them: no second copy under the card's songs while the card's artist is the one playing */
  body.fest-pl-rates-card .fest-rcard--rk .fest-rcard__body > .fest-react-row { display: none; }
}
@media (min-width: 900px) and (max-width: 1099px) { /* tight: icons only */
  body .fest-player__rate .fest-react { font-size: 0; gap: 0; padding: 0; width: 44px; }
}
.fest-streams__head .fest-small b { color: var(--fest-text); font-weight: 600; }
.fest-streams__cal { width: 13px; height: 13px; vertical-align: -2px; margin-right: 4px; }

/* "Wrong artist?" on the artist sheet - discreet on purpose (2026-11-23) */
.fest-wrongartist { display: block; margin: 18px auto 2px; padding: 4px 8px; background: none; border: 0; color: var(--fest-text-2); font: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; opacity: .75; }
.fest-wrongartist:hover { opacity: 1; }
.fest-wrongartist--done { text-decoration: none; cursor: default; text-align: center; }

/* Artist sheet "..." menu (2026-11-23) - same look as the Rank menu, anchored under the button beside the name */
.fest-sheet__titlerow { position: relative; display: flex; align-items: flex-end; gap: 10px; }
.fest-sheet__titlerow h2 { flex: 1; min-width: 0; }
.fest-sheet__more { flex-shrink: 0; width: 38px; height: 38px; min-height: 38px; background: rgba(0,0,0,.45); border-color: rgba(255,255,255,.18);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.fest-sheet-menu { left: auto; bottom: auto; }
.fest-sheet-menu a { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 0 12px; border-radius: 10px;
  color: var(--fest-text); text-decoration: none; font-weight: 600; font-size: 15px; }
.fest-sheet-menu a:hover, .fest-sheet-menu a:focus-visible { background: var(--fest-surface-3); outline: none; }
.fest-sheet-menu .fest-wrongartist--done { display: block; margin: 0; padding: 12px; font-size: 14px; color: var(--fest-text-2); text-align: left; }
.fest-sheet-menu__sep { height: 1px; margin: 6px 8px; background: var(--fest-border-strong, rgba(255,255,255,.12)); }

/* Best-of lists: the lineup as faces (2026-11-23) */
.fest-like__acts { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 12px 10px; margin-top: 12px; max-width: 620px; }
.fest-like__act { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; text-decoration: none; color: var(--fest-text); }
.fest-like__actimg { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: var(--fest-surface-2); display: flex; align-items: center;
  justify-content: center; font-family: var(--fest-display-font); font-size: 24px; color: var(--fest-text-2); border: 1px solid var(--fest-border); }
.fest-like__actimg img { width: 100%; height: 100%; object-fit: cover; }
.fest-like__actname { max-width: 100%; font-size: 13px; font-weight: 600; text-align: center; line-height: 1.2; overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
a.fest-like__act:hover .fest-like__actname { text-decoration: underline; }
@media (max-width: 600px) { .fest-like__acts { grid-template-columns: repeat(3, 1fr); } .fest-like__actimg { width: 64px; height: 64px; } }

/* ---- 2026-11-23: Rank tab picker, slimmer (owner) ----------------------------------------------------------------
   Two lines of intro, search as an icon, "Import taste", names on the photos, a small glass pill from the first pick. */
.fest-pickintro { margin: 0 0 12px; color: var(--fest-text-2); font-size: 16px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fest-pickintro b { color: var(--fest-text); font-weight: 700; }
.fest-picktools { display: flex; gap: 8px; align-items: center; justify-content: flex-end; margin-bottom: 14px; } /* owner: right-aligned, search last */
.fest-picktools__import { flex: none; }
/* Names sit on the photo (a dark fade at the bottom), so nothing floating can hide them */
.fest-picker .fest-tile { gap: 0; }
.fest-picker .fest-tile__sub { display: none; }
.fest-picker .fest-tile__name { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px 8px 7px; border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.82) 70%); color: #fff; font-size: 13px; line-height: 1.2; text-align: left;
  text-shadow: 0 1px 4px rgba(0,0,0,.6); pointer-events: none; }
.fest-picker .fest-tiles { padding-bottom: 84px; }
/* The pill: hidden until the first pick; dark glass, as wide as its words */
.fest-pickpill { position: fixed; left: 0; right: 0; bottom: calc(var(--fest-bottom) + var(--fest-player-h, 0px) + 14px); z-index: 60;
  display: flex; justify-content: center; pointer-events: none; }
.fest-pickpill[hidden] { display: none; }
.fest-pickpill__btn { pointer-events: auto; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 999px;
  background: rgba(24,24,24,.55); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.16); box-shadow: 0 8px 28px rgba(0,0,0,.45); color: var(--fest-text); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.fest-pickpill__btn svg { width: 18px; height: 18px; }
.fest-pickpill__btn.is-ready { border-color: rgba(29,185,84,.7); box-shadow: 0 0 0 1px rgba(29,185,84,.35), 0 8px 28px rgba(0,0,0,.45); }
.fest-pickpill__btn.is-ready svg { color: var(--fest-like); }
.fest-pickpill__dots { display: inline-flex; gap: 5px; }
.fest-pickpill__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); }
.fest-pickpill__dots i.is-on { background: var(--fest-like); }
/* Phones: Follow is the bell alone; Tickets is the ticket icon plus the on-sale month when one is known */
@media (max-width: 768px) {
  .fest-hero__actions .fest-btn--follow { flex: 0 0 44px; padding: 0; font-size: 0; gap: 0; justify-content: center; }
  .fest-hero__actions .fest-btn--follow svg { width: 19px; height: 19px; }
  .fest-hero__actions .fest-btn__word { display: none; }
  .fest-hero__actions .fest-btn--tickets, .fest-hero__actions .fest-btn--tixwait { flex: 0 0 auto; min-width: 44px; padding: 0 12px; justify-content: center; gap: 0; }
  .fest-hero__actions .fest-btn--tickets svg, .fest-hero__actions .fest-btn--tixwait svg { width: 19px; height: 19px; }
  .fest-hero__actions .fest-btn--tixwait .fest-btn__when { margin-left: 6px; font-size: 14px; color: var(--fest-text); }
  .fest-hero__morebtn { margin-left: auto; }
}
/* Picked (owner 2026-11-23): a small tick in the corner instead of a big thumb over the face; the green ring sits above
   the name fade so it goes all the way round */
.fest-picker .fest-tile__img::after { z-index: 3; pointer-events: none; }
.fest-picker .fest-pick-check { inset: 8px 8px auto auto; z-index: 4; }
.fest-picker .fest-pick-check span { width: 28px; height: 28px; box-shadow: 0 2px 8px rgba(0,0,0,.5); }
.fest-picker .fest-pick-check svg { width: 15px; height: 15px; }
.fest-picker .fest-tile.is-picked .fest-tile__img img { filter: none; }
.fest-pickpill__btn:disabled { cursor: default; }
.fest-pickpill__spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); border-top-color: var(--fest-like); animation: fest-spin .8s linear infinite; }
/* 2026-11-23 (owner): picker names up to three lines; ranked rows carry the match as a coloured word in the second line */
.fest-picker .fest-tile__name { -webkit-line-clamp: 3; }
.fest-rk-row__sub { font-size: 12px; }
.fest-rk-tier { display: inline; font-weight: 700; }
.fest-rk-tier svg { width: 12px; height: 12px; vertical-align: -1px; margin-right: 3px; }
.fest-rk-tier--great { color: var(--fest-like); }
.fest-rk-tier--good { color: var(--fest-text); }
.fest-rk-tier--maybe, .fest-rk-tier--unlikely { color: var(--fest-text-3); font-weight: 600; }
.fest-rk-row__sub .fest-namelink { display: inline; }
.fest-rk-row__nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* the name row is flex: the "…" needs its own box */
/* Match word: one look in the list and on the card (owner 2026-11-23); "Good" is blue so it doesn't read as a name */
.fest-rk-tier--good { color: #6cb4ff; }
.fest-because--line { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; color: var(--fest-text-2); }
.fest-rcard--rk .fest-because--line { display: block; }
.fest-because--line .fest-rk-tier svg { width: 15px; height: 15px; vertical-align: -2px; margin: 0 4px 0 0; color: currentColor; }
.fest-because--line .fest-namelink { display: inline; }
.fest-rcard--rk .fest-because--line > span { display: inline; white-space: nowrap; }
.fest-rcard--rk .fest-because--line .fest-namelink { display: inline; overflow: visible; }
/* The site-wide icon size (.fest-body svg.lucide = 18 px) beat the 12 px above: same specificity + 1 */
.fest-body .fest-rk-row__sub .fest-rk-tier svg.lucide { width: 13px; height: 13px; vertical-align: -2px; margin-right: 3px; stroke-width: 2.25; }

/* ---- 2026-11-23: swipe to rate on the Rank card (0_docs/PLAN_festival_swipe_rating.md) ------------------------- */
.fest-rcard--rk { transition: transform .22s ease; }
.fest-rcard--rk.is-swiping { transition: none; will-change: transform; }
.fest-rcard--rk.is-flying { transition: transform .17s ease-in; }
.fest-rcard--rk [data-role="card-media"] { touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.fest-rcard--rk [data-role="card-media"] img { -webkit-user-drag: none; pointer-events: none; }

.fest-swipehint { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px 0 0; color: var(--fest-text-2); font-size: 13px; }
.fest-body .fest-swipehint svg.lucide { width: 15px; height: 15px; }


/* Swipe stamps (owner 2026-11-23: easier to see; Pass in red), a JS wiggle replaces the CSS one (Swipe.nudge) */
.fest-swipestamp { position: absolute; top: 72px; z-index: 5; padding: 6px 16px; border: 4px solid; border-radius: 12px; font-family: var(--fest-display-font);
  font-size: 32px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1; opacity: 0; pointer-events: none;
  background: rgba(0,0,0,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.fest-swipestamp[data-k="like"] { left: 16px; color: #2ee06d; border-color: #2ee06d; transform: rotate(-12deg);
  text-shadow: 0 0 14px rgba(46,224,109,.55); box-shadow: 0 0 22px rgba(46,224,109,.45), inset 0 0 12px rgba(46,224,109,.25); }
.fest-swipestamp[data-k="pass"] { right: 16px; color: #ff4a4a; border-color: #ff4a4a; transform: rotate(12deg);
  text-shadow: 0 0 14px rgba(255,74,74,.5); box-shadow: 0 0 22px rgba(255,74,74,.4), inset 0 0 12px rgba(255,74,74,.22); }
@media (prefers-reduced-motion: reduce) { .fest-rcard--rk { transition: none; } }
/* Top-10 pop-up on phones (owner 2026-11-23): Get alerts and Share are round icons; the lead button keeps its words */
@media (max-width: 768px) {
  .fest-celebrate__actions .fest-btn:not(.is-lead) .fest-btn__word { display: none; }
  .fest-celebrate__actions .fest-btn:not(.is-lead):has(.fest-btn__word) { flex: 0 0 46px; width: 46px; padding: 0; gap: 0; justify-content: center; }
  .fest-celebrate__actions .fest-btn:not(.is-lead):has(.fest-btn__word) svg { width: 19px; height: 19px; }
  .fest-celebrate__actions .fest-btn.is-lead { flex: 1 1 auto; }
}

/* ---- 2026-11-23: picker intro row + import tile + list import line + menus that fit (owner) -------------------- */
.fest-picktools { justify-content: space-between; }
.fest-picktools .fest-pickintro { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 15px; }
@media (max-width: 370px) { .fest-picktools .fest-pickintro { font-size: 14px; } }
/* A soft light that runs across the instruction now and then, until the first pick */
.fest-shimmer { background: linear-gradient(100deg, var(--fest-text) 0%, var(--fest-text) 40%, #b9ffd2 50%, var(--fest-text) 60%, var(--fest-text) 100%);
  background-size: 250% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: fest-shimmer 7s ease-in-out .8s infinite; }
@keyframes fest-shimmer { 0% { background-position: 100% 0; } 22%, 100% { background-position: 0% 0; } }
.fest-picker.has-picks .fest-shimmer { animation: none; color: var(--fest-text); background: none; }
@media (prefers-reduced-motion: reduce) { .fest-shimmer { animation: none; color: var(--fest-text); background: none; } }
/* Import tile: dashed, no photo, so it never reads as a band */
.fest-importtile { text-decoration: none; color: var(--fest-text-2); transition: opacity .3s ease; }
.fest-importtile .fest-tile__img { border: 2px dashed var(--fest-border-strong); background: rgba(255,255,255,.03); display: flex; align-items: center; justify-content: center; }
.fest-importtile__in { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px; text-align: center; font-size: 13px; font-weight: 700; line-height: 1.2; }
.fest-body .fest-importtile__in svg.lucide { width: 26px; height: 26px; color: var(--fest-like); }
.fest-importtile:hover .fest-tile__img, .fest-importtile:focus-visible .fest-tile__img { border-color: var(--fest-like); }
.fest-picker.has-picks .fest-importtile { opacity: .55; }
/* The list header's import line */
.fest-rk-importline { display: flex; align-items: center; gap: 6px; margin: 4px 0 0; color: var(--fest-text-3); font-size: 13px; }
.fest-body .fest-rk-importline svg.lucide { width: 14px; height: 14px; flex: none; color: var(--fest-text-3); }
/* Menus scroll inside the room they have; "is-up" opens above the button */
.fest-rk-menu { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.fest-rk-menu.is-up { top: auto; bottom: calc(100% + 6px); }
/* Heading "..." sheet (owner 2026-11-23): ~17 options no longer fit a phone - it scrolls, Close stays at the bottom */
.fest-heromore__sheet { max-height: calc(100dvh - 40px - env(safe-area-inset-top, 0px)); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.fest-heromore__sheet > * { flex-shrink: 0; }
.fest-heromore__close { position: sticky; bottom: calc(-12px - env(safe-area-inset-bottom, 0px)); background: var(--fest-surface-2); box-shadow: 0 -10px 16px var(--fest-surface-2); z-index: 1; }
@media (min-width: 769px) { .fest-heromore__sheet { max-height: 82vh; } .fest-heromore__close { bottom: -10px; } }
/* Shimmer, easier to see (owner 2026-11-23): a green band sweeps across every 4.5 s; Safari needs text-fill-color */
.fest-shimmer { background: linear-gradient(100deg, #fff 0%, #fff 36%, #8dffb4 44%, #1DB954 50%, #8dffb4 56%, #fff 64%, #fff 100%);
  background-size: 300% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent; animation: fest-shimmer2 4.5s ease-in-out .6s infinite; }
@keyframes fest-shimmer2 { 0% { background-position: 100% 0; } 40%, 100% { background-position: 0% 0; } }
.fest-picker.has-picks .fest-shimmer { animation: none; background: none; color: var(--fest-text); -webkit-text-fill-color: currentColor; }
@media (prefers-reduced-motion: reduce) { .fest-shimmer { animation: none; background: none; color: var(--fest-text); -webkit-text-fill-color: currentColor; } }
/* Shimmer over the WHOLE intro (owner 2026-11-23): slower (2.6 s sweep), about 7.5 s between sweeps */
.fest-pickintro { position: relative; }
.fest-pickintro__glow { position: absolute; inset: 0; pointer-events: none; white-space: inherit;
  background: linear-gradient(100deg, transparent 0%, transparent 38%, rgba(141,255,180,.9) 45%, #1DB954 50%, rgba(141,255,180,.9) 55%, transparent 62%, transparent 100%);
  background-size: 300% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent; animation: fest-shimmer3 10s ease-in-out .8s infinite; }
.fest-pickintro__glow b { font-weight: 700; color: transparent; }
@keyframes fest-shimmer3 { 0% { background-position: 100% 0; } 26%, 100% { background-position: 0% 0; } }
.fest-picker.has-picks .fest-pickintro__glow { display: none; }
@media (prefers-reduced-motion: reduce) { .fest-pickintro__glow { display: none; } }
/* Intro shimmer: 2.6 s sweep, ~5 s rest (owner 2026-11-23) */
.fest-pickintro__glow { animation-name: fest-shimmer4; animation-duration: 7.6s; }
@keyframes fest-shimmer4 { 0% { background-position: 100% 0; } 34%, 100% { background-position: 0% 0; } }
/* Play button over the card photo (owner 2026-11-23): see-through, so the artist stays visible */
.fest-taplisten { background: rgba(0,0,0,.12); }
.fest-taplisten span { background: rgba(29,185,84,.68); backdrop-filter: blur(6px) saturate(1.3); -webkit-backdrop-filter: blur(6px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.28); box-shadow: 0 8px 24px rgba(0,0,0,.35); }

/* ---- 2026-11-23: Lineup tab tools in ONE row (owner) -------------------------------------------------------------
   chips (scroll, fade at the right end) | sort */
.fest-lutools { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; min-height: 44px; }
.fest-lutools__chips { flex: 1 1 auto; min-width: 0; margin: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent 100%); }
.fest-lutools__chips[hidden] { display: none; }
.fest-lutools__chips .fest-chip { flex: none; }
.fest-lutools__count { display: none; flex: 1 1 auto; color: var(--fest-text-3); font-size: 14px; white-space: nowrap; }
.fest-lutools__chips[hidden] ~ .fest-lutools__count { display: block; }
.fest-lutools__sort { flex: none; }
/* Narrow phones: sort is the icon alone; the invisible select over it still opens the list */
@media (max-width: 359px) {
  .fest-lutools__sort { width: 44px; padding: 0; justify-content: center; }
  .fest-lutools__sort select { position: absolute; inset: 0; width: 100%; opacity: 0; }
}

/* ---- 2026-11-23: Lineup tab uses the Rank tab's pattern (owner) ------------------------------------------------- */
/* Sort = an icon button with a menu; a green dot when the order is not Billing */
.fest-lutools__sortwrap { position: relative; flex: none; display: inline-flex; }
.fest-lutools__sortbtn { width: 44px; height: 44px; padding: 0; justify-content: center; position: relative; }
.fest-lutools__dot { display: none; position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--fest-like); box-shadow: 0 0 0 2px var(--fest-bg); }
.fest-lutools.is-sorted .fest-lutools__dot { display: block; }
.fest-sortmenu { min-width: 180px; }
.fest-sortmenu__head { margin: 4px 12px 6px; color: var(--fest-text-3); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.fest-sortmenu button[aria-checked="true"] { color: var(--fest-text); }
.fest-sortmenu button[aria-checked="true"] svg { color: var(--fest-like); }
.fest-sortmenu button[aria-checked="false"] svg { opacity: 0; }
/* The shared sentence above the lineup grid */
.fest-pickintro--lineup { margin: -2px 0 14px; font-size: 15px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fest-pickintro--lineup.is-quiet .fest-pickintro__glow { display: none; }
/* The Lineup pill looks like the Rank one: dark glass, dots, then a green edge for "Rank my lineup" */
.fest-rankpill.fest-pickpill__btn { min-height: 46px; padding: 0 20px; gap: 10px; font-size: 15px; font-weight: 700; color: var(--fest-text);
  background: rgba(24,24,24,.55); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 8px 28px rgba(0,0,0,.45); }
.fest-rankpill.fest-pickpill__btn:disabled { cursor: default; }
.fest-rankpill.fest-pickpill__btn.is-ready { border-color: rgba(29,185,84,.7); box-shadow: 0 0 0 1px rgba(29,185,84,.35), 0 8px 28px rgba(0,0,0,.45); }
.fest-rankpill.fest-pickpill__btn.is-ready svg { color: var(--fest-like); width: 18px; height: 18px; }
.fest-rankpill.is-new { animation: fest-pillglow 2.4s ease-out 1; }
@keyframes fest-pillglow { 0% { box-shadow: 0 0 0 0 rgba(29,185,84,.75), 0 8px 28px rgba(0,0,0,.45); } 35% { box-shadow: 0 0 0 10px rgba(29,185,84,.25), 0 8px 28px rgba(0,0,0,.45); }
  100% { box-shadow: 0 0 0 1px rgba(29,185,84,.35), 0 8px 28px rgba(0,0,0,.45); } }
@media (prefers-reduced-motion: reduce) { .fest-rankpill.is-new { animation: none; } }

/* ---- 2026-11-23: the phone header bar (owner, PLAN_festival_search part 2) ----------------------------------------
   56 px, search and Menu as 44 x 44 targets, a plain hamburger with the status dot on it; a roomier search box. */
.fest-body .fest-subnav__more .fest-subnav__burger { display: none; }
@media (max-width: 720px) {
  .fest-qs__open { width: 44px; height: 44px; }
  .fest-body .fest-qs__open svg.lucide { width: 22px; height: 22px; }
  .fest-qs.is-open .fest-qs__form { padding: 0 6px 0 12px; gap: 4px; align-items: center; }
  .fest-qs.is-open .fest-qs__icon { left: 26px; }
  .fest-qs__input, .fest-qs__input:focus { height: 44px; padding: 0 14px 0 42px; }
  .fest-qs.is-open .fest-qs__close { width: 44px; height: 44px; }
  .fest-body .fest-qs__close svg.lucide { width: 22px; height: 22px; }
  body.fest-body--slim .fest-subnav__inner { gap: 4px; padding-right: 6px; }
  body.fest-body--slim .fest-qs.is-open .fest-qs__form { background: #0d0d0d; }
  body.fest-body--slim .fest-subnav__more, body.fest-body--slim .fest-subnav__more:hover, body.fest-body--slim .fest-subnav__more.is-active, body.fest-body--slim .fest-subnav__more[aria-expanded="true"] {
    position: relative; width: 44px; height: 44px; min-height: 44px; padding: 0; justify-content: center; border: 0; background: none; color: var(--fest-text); }
  .fest-body--slim .fest-subnav__more .fest-subnav__grid, .fest-body--slim .fest-subnav__more .fest-subnav__morelabel { display: none; }
  .fest-body.fest-body--slim .fest-subnav__more .fest-subnav__burger { display: block; width: 25px; height: 25px; }
  .fest-body--slim .fest-subnav__more .fest-subnav__dot { position: absolute; top: 9px; right: 7px; width: 9px; height: 9px; margin: 0; box-shadow: 0 0 0 2px #0d0d0d; }
}

/* ---- 2026-11-23: festival-aware search (owner, PLAN_festival_search part 1) ---------------------------------------
   The header's icon, docked at the right of the sticky tabs row while the header is away. */
.fest-tabs__find { position: absolute; top: 0; right: max(2px, calc((100% - 1180px) / 2 + var(--fest-gutter) - 8px)); width: 46px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: none; color: var(--fest-text); cursor: pointer; animation: fest-dock .2s ease .08s backwards; }
.fest-tabs__find[hidden] { display: none; }
.fest-tabs__find:hover { color: var(--fest-accent); }
.fest-body .fest-tabs__find svg.lucide { width: 21px; height: 21px; }
@keyframes fest-dock { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .fest-tabs__find { animation: none; } }
.fest-tabs.is-docked .fest-tabs__inner.is-more { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 26px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 26px), transparent); }
@media (max-width: 768px) {
  .fest-tabs.is-docked .fest-tabs__inner { margin-right: 48px; }
  .fest-tabs.is-docked .fest-tab__n { display: none; }
}
/* The panel. Phones: the whole screen above the player; larger screens (docked icon): a card under the tabs row */
.fest-qslayer { position: fixed; z-index: 100001; display: flex; flex-direction: column; background: var(--fest-bg); color: var(--fest-text); overflow: hidden; }
.fest-qslayer.is-full { left: 0; right: 0; top: 0; height: 100vh; height: 100dvh; padding-top: env(safe-area-inset-top, 0px); }
/* what the keyboard uncovers while it moves is the panel's own colour, never the page */
.fest-qslayer.is-full::after { content: ""; position: fixed; inset: 0; z-index: -1; background: var(--fest-bg); pointer-events: none; }
.fest-qslayer.is-pop { width: 440px; max-width: calc(100vw - 16px); border-radius: 16px; background: var(--fest-surface-2); border: 1px solid var(--fest-border-strong); box-shadow: 0 20px 48px rgba(0,0,0,.6); }
.fest-qslayer .fest-qs__form { position: relative; inset: auto; display: flex; flex-wrap: wrap; align-content: flex-start; align-items: center; gap: 4px; width: 100%; min-height: 0; flex: 1 1 auto; padding: 8px 4px 0 12px; background: none; overflow: hidden; }
.fest-qslayer .fest-qs__icon { left: 26px; top: 23px; }
.fest-qslayer .fest-qs__input, .fest-qslayer .fest-qs__input:focus { flex: 1 1 0; width: auto; min-width: 0; height: 46px; padding: 0 14px 0 42px; font-size: 16px; }
.fest-qslayer .fest-qs__close { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 46px; border: 0; background: transparent; color: var(--fest-text); cursor: pointer; }
.fest-qslayer .fest-qs__list { position: static; flex: 1 1 100%; width: 100%; max-height: none; margin: 8px 0 0 -4px; padding: 0 4px calc(20px + env(safe-area-inset-bottom, 0px)); border: 0; border-radius: 0; background: none; box-shadow: none;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.fest-qslayer.is-full .fest-qs__list { height: calc(100% - 54px); }
.fest-qslayer.is-pop .fest-qs__form { flex: 0 1 auto; max-height: inherit; }
.fest-qslayer.is-pop .fest-qs__list { max-height: min(56vh, 520px); padding-bottom: 10px; }
.fest-qs__input { text-overflow: ellipsis; }
.fest-qs__input::placeholder { color: var(--fest-text-3); }
.fest-qs__none { margin: 2px 8px 8px; font-size: 14px; color: var(--fest-text-2); }
/* A result from this lineup: the row opens the artist, Like and Love rate in place */
.fest-ssrow { display: flex; align-items: center; gap: 2px; }
.fest-ssrow__main { flex: 1 1 auto; min-width: 0; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
.fest-ssrow__main:disabled { opacity: .55; cursor: default; }
.fest-ssrow .fest-qs__thumb { width: 44px; height: 44px; }
.fest-ssrow .fest-qs__thumb .fest-initials { width: 100%; height: 100%; font-size: 14px; }
.fest-ssrow .fest-qs__text { flex: 1 1 auto; gap: 1px; }
.fest-ssrow .fest-qs__text b { font-size: 15px; }
.fest-ssrow .fest-qs__text small { font-size: 13px; line-height: 1.35; }
.fest-ssrow .fest-reason, .fest-ssrow .fest-rk-tier { display: inline; font-size: 13px; white-space: nowrap; }
.fest-body .fest-ssrow small svg.lucide { width: 13px; height: 13px; vertical-align: -2px; margin-right: 3px; }
.fest-ssrow__passed { color: var(--fest-text-3); }
.fest-ssrow__acts { display: inline-flex; flex: none; gap: 2px; padding-right: 4px; }
.fest-ssrow__acts .fest-rk-act { width: 44px; height: 44px; }
.fest-qs__all { width: 100%; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--fest-accent); cursor: pointer; text-align: left; }
.fest-body .fest-qs__all svg.lucide { width: 16px; height: 16px; }
/* "See all": the words as a chip on the Lineup tools row; tap = clear */
.fest-chip--query { border-color: var(--fest-like); color: var(--fest-text); }
.fest-chip--query span { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fest-lutools[hidden] { display: none; }
/* Schedule: the set a result jumped to */
.fest-set.is-found, .fest-gset.is-found { animation: fest-found 2.4s ease-out 1; }
@keyframes fest-found { 0%, 45% { box-shadow: 0 0 0 3px var(--fest-accent); } 100% { box-shadow: 0 0 0 3px transparent; } }
/* Rank opens at its top: the panel is a screen tall from the start, so a short page cannot cut the jump short while the ranking loads */
.fest-panel[data-panel="for-you"]:not([hidden]) { min-height: 100vh; }
