:root {
  color-scheme: dark;
  --bg: #070707;
  --raise: #121110;
  --raise-2: #1c1916;
  --line: #3a3228;
  --bone: #f6f1e7;
  --muted: #b7aa9a;
  --gold: #e0b44a;
  --ember: #e3000f;
  --ink: #140c08;
  --display: "Teko", "Arial Narrow", Impact, sans-serif;
  --body: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html, body { margin: 0; min-height: 100%; }

body {
  font-family: var(--body);
  color: var(--bone);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 42% at 50% -12%, rgba(227, 0, 15, 0.38), transparent 58%),
    radial-gradient(ellipse 42% 28% at 100% 0%, rgba(224, 180, 74, 0.14), transparent 52%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 8px);
}

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

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

a { color: inherit; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.inner { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 7, 7, 0.94);
  border-bottom: 0;
  box-shadow: 0 3px 0 var(--ember), 0 4px 0 var(--gold);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 84px;
}

.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }

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

.brand-logo { height: 42px; width: auto; display: block; }

/* The sign-in card already shows the festival lockup. */
body:has(#join:not([hidden])) .brand-logo { display: none; }

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
  min-width: 0;
}

.header-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

.lang-picker {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.lang-picker .flag {
  display: block;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  line-height: 0;
  cursor: pointer;
}

.lang-picker .flag img {
  display: block;
  height: 20px;
  width: auto;
}

.lang-picker .flag.is-on {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold);
}

.synced { margin: 0; color: var(--muted); font-size: 13px; }

.me-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--raise);
  border: 1px solid var(--line);
  padding: 4px 10px 4px 4px;
  cursor: pointer;
  font-weight: 700;
}

.account { position: relative; }

.account-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 30;
  min-width: 11rem;
  display: flex;
  flex-direction: column;
  background: var(--raise);
  border: 1px solid #5c4a2c;
  box-shadow: 6px 6px 0 #4a0610;
  padding: 6px;
}

.account-menu button {
  background: transparent;
  border: 0;
  text-align: left;
  padding: 10px 12px;
  min-height: 44px;
  font-weight: 700;
  cursor: pointer;
}

.account-menu button:hover,
.account-menu button:focus-visible {
  background: #1c1916;
  color: var(--gold);
}

.join-wrap {
  min-height: calc(100dvh - 84px);
  display: grid;
  place-items: center;
  padding: 32px 16px 64px;
}

.join-card {
  width: min(520px, 100%);
  background:
    linear-gradient(180deg, rgba(224, 180, 74, 0.1), transparent 110px),
    var(--raise);
  border: 1px solid #5c4a2c;
  box-shadow: 8px 8px 0 #4a0610, inset 0 1px 0 rgba(224, 180, 74, 0.35);
  padding: 22px 22px 24px;
}

.hero-lockup {
  display: block;
  width: min(100%, 340px);
  height: auto;
  margin: 0 auto 12px;
}

.join-card h2, dialog h2 {
  margin: 6px 0 8px;
  font-family: var(--display);
  font-size: 52px;
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: 0.03em;
}

.lede { margin: 0; color: var(--muted); line-height: 1.45; }

.quiet, .hint, .fine { color: var(--muted); font-size: 13px; line-height: 1.45; }

.hint { margin: 8px 0 0; }

.field { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }

.field > span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--bone);
}

input[type="text"], input[type="search"], input[type="password"], input[type="email"],
input[type="tel"], input[type="time"], input[type="number"], textarea, select {
  background: #0c0c0d;
  border: 1px solid var(--line);
  padding: 10px 12px;
  width: 100%;
  max-width: 100%;
}

textarea { resize: vertical; }

.swatches { display: flex; flex-wrap: wrap; gap: 8px; }

.swatch {
  width: 28px;
  height: 28px;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
}

.swatch.is-on { border-color: var(--bone); box-shadow: 0 0 0 2px var(--ink), 0 0 0 3px var(--bone); }

.primary, .ghost, .danger, .tab, .day, .watch {
  cursor: pointer;
}

.primary {
  margin-top: 18px;
  width: 100%;
  border: 1px solid #6e5018;
  background: linear-gradient(180deg, #f3d48a 0%, #d4a24a 46%, #a87828 100%);
  color: var(--ink);
  padding: 10px 16px 6px;
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: 0.06em;
  box-shadow: 3px 3px 0 #5c0610;
}

.primary:hover { background: linear-gradient(180deg, #ffe3a4, #e0b44a 50%, #c4922e); }

.ghost, .danger {
  background: transparent;
  border: 1px solid var(--line);
  padding: 8px 12px;
}

a.ghost {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.danger { border-color: #8a3a32; color: #ffb2a6; }

.error { color: #ffb2a6; margin: 12px 0 0; }

.app { padding-bottom: 48px; }

.banner {
  margin: 16px 0 0;
  padding: 10px 12px;
  background: #3a2218;
  border: 1px solid #8a3a32;
  color: #ffd0c6;
}

.section-nav { display: flex; margin: 16px 0 0; }

.plan-view .tabs, #plan-view > .tabs { margin: 14px 0 8px; }

.plan-block { max-width: 720px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }

.day-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.day-card, .plan-card {
  min-width: 0;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(224, 180, 74, 0.07), transparent 36px),
    var(--raise);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(224, 180, 74, 0.22);
}

.day-card h3, .plan-card h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0.04em;
}

.day-card .field { margin-top: 8px; }

.day-card .all-day { margin: 0; font-weight: 700; }

.day-card .ghost, .plan-card .ghost, .plan-card .danger { margin-top: 10px; }

.crew-card p, .plan-card p {
  margin: 4px 0;
  font-size: 18px;
  line-height: 1.35;
}

.crew-card .medical { white-space: pre-wrap; }

.editions {
  margin: 14px 0 0;
  padding: 10px 12px 12px;
  border: 1px solid var(--line);
  min-width: 0;
}

.editions legend {
  padding: 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.editions .fine { margin: 0 0 10px; }

.edition-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.edition-choices .check {
  border: 1px solid var(--line);
  padding: 6px 10px;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.edition-choices .check:has(input:checked) {
  border-color: var(--gold);
  color: var(--gold);
}

.taste-row {
  display: grid;
  grid-template-columns: minmax(7rem, 1.2fr) minmax(4rem, 2fr) auto;
  gap: 8px 12px;
  align-items: center;
}

.taste-name { overflow-wrap: anywhere; font-weight: 700; }

.taste-bar {
  height: 8px;
  background: #2a241c;
  min-width: 0;
}

.taste-bar > span {
  display: block;
  height: 100%;
  background: var(--gold);
}

.taste-count {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.buddy-who {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.buddy-who .avatar { width: 28px; height: 28px; flex: 0 0 auto; }

.crew-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 6px;
}

.crew-card-head h3 { margin: 0; font-size: 40px; }

.needs-ride { margin: 8px 0 0; font-weight: 700; }

.pack-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 10px;
  background: var(--raise);
  border: 1px solid var(--line);
}

.pack-row .check { flex: 1 1 180px; font-size: 16px; }

.pack-row select { flex: 1 1 160px; width: auto; }

.pack-title { overflow-wrap: anywhere; }

.pack-row.is-packed .pack-title { color: var(--muted); text-decoration: line-through; }

.ride-join { border-color: var(--gold); color: var(--gold); }

.clock-input { font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin: 18px 0 12px;
}

.changes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 14px;
  padding: 10px 12px;
  background: #1a1208;
  border: 1px solid #6e5018;
}

.changes p { margin: 0; }

.tabs { display: flex; }

.tab {
  background: transparent;
  border: 1px solid var(--line);
  padding: 6px 14px 4px;
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.05em;
}

.tab + .tab { margin-left: -1px; }

.tab[aria-selected="true"] {
  background: linear-gradient(180deg, #f2d078, #c4922e);
  color: var(--ink);
  border-color: var(--gold);
}

.search { flex: 1 1 200px; }

.days { display: flex; flex-wrap: wrap; gap: 6px; }

.day {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 700;
}

.day[aria-pressed="true"] {
  background: var(--ember);
  border-color: var(--ember);
  color: var(--bone);
}

.stage-label { min-width: 160px; }

.check input { accent-color: var(--gold); }

.summary { margin: 0 0 6px; font-weight: 650; }

.fine { margin: 0 0 14px; }

.day-head {
  margin: 22px 0 4px;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0.04em;
}

.stage-head {
  margin: 14px 0 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stage-block { display: flex; flex-direction: column; gap: 8px; }

.band {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(128px, auto) auto;
  gap: 8px 14px;
  align-items: center;
  padding: 10px;
  background: var(--raise);
  border: 1px solid var(--line);
  cursor: pointer;
}

.band.is-in {
  background: linear-gradient(90deg, rgba(227, 0, 15, 0.22), var(--raise) 46%);
  border-color: #6e2420;
  box-shadow: inset 3px 0 0 var(--ember);
}

.band.is-cancelled {
  background: #161311;
}

.band.is-cancelled .band-name,
tr.is-cancelled .band-name {
  text-decoration: line-through;
  color: var(--muted);
}

.band.is-cancelled .art { filter: grayscale(1) brightness(0.72); }

.art {
  width: 64px;
  height: 64px;
  object-fit: cover;
  background: #1a1816;
  display: block;
}

.art-fallback {
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 28px;
  color: var(--gold);
}

.band-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.band-name {
  font-weight: 700;
  text-decoration: none;
  font-size: 16px;
}

button.band-name,
.art-btn {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: left;
  line-height: 0;
}

button.band-name { line-height: inherit; font: inherit; font-weight: 700; font-size: 16px; }

.art-btn .art { width: 64px; height: 64px; }

.band-name:hover { color: var(--gold); }

.where { margin: 2px 0 0; color: var(--muted); font-size: 13px; }

.tag {
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 6px;
}

.tag-head { color: var(--ink); background: var(--gold); border-color: var(--gold); }

.tag-new { color: #1a120c; background: #8eae78; border-color: #8eae78; }

.tag-back { color: #1a120c; background: #6ea8c9; border-color: #6ea8c9; }

.tag-cancelled { color: #ffd0c6; background: transparent; border-color: var(--ember); }

.tag-clash { color: var(--bone); background: var(--ember); border-color: var(--ember); }

.rec {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex: 0 0 auto;
}

.rec svg { width: 16px; height: 16px; display: block; }

.tag-ticket { color: #1a120c; background: #8eae78; border-color: #8eae78; }

.tag-open { color: var(--muted); }

.clock { color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; }

.stack { position: relative; min-height: 32px; }

.faces {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  border: 2px solid #0c0c0d;
  letter-spacing: 0.02em;
  object-fit: cover;
}

.invite-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: end;
  margin-bottom: 8px;
}

.invite-form .field { flex: 1 1 220px; margin: 0; }

.crew-block { display: flex; flex-direction: column; gap: 8px; margin: 0 0 22px; }

.crew-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: var(--raise);
  border: 1px solid var(--line);
}

.crew-row .who { flex: 1; min-width: 0; }

.crew-row .email, .crew-row .meta {
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.crew-link {
  width: min(100%, 420px);
  background: transparent;
  border: 1px solid var(--line);
  padding: 8px;
}

.signup-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}

.signup-link .crew-link { flex: 1 1 16rem; }

.faces .avatar + .avatar { margin-left: -8px; }

.avatar.is-me { box-shadow: 0 0 0 2px var(--gold); }

.more { margin-left: 6px; color: var(--muted); font-size: 12px; font-weight: 800; }

.stack-names {
  display: none;
  position: absolute;
  z-index: 6;
  left: 0;
  top: calc(100% + 6px);
  margin: 0;
  width: max-content;
  max-width: 260px;
  padding: 8px 10px;
  background: #2a241f;
  border: 1px solid var(--line);
  box-shadow: 4px 4px 0 #000;
  font-size: 13px;
}

.stack.is-open .stack-names { display: block; }

@media (hover: hover) {
  .stack:hover .stack-names,
  .stack:focus-within .stack-names { display: block; }
}

.watch {
  min-width: 76px;
  height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.watch.is-on { background: var(--ember); color: var(--bone); border-color: var(--ember); }

.watch:disabled { color: var(--muted); cursor: not-allowed; }

.empty { color: var(--muted); padding: 12px 0 24px; }

.matrix-tools {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
}

.matrix-tools .fine { margin: 0; }

#panel-matrix {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: calc(100dvh - 196px);
  min-height: 320px;
}

.matrix-wrap {
  flex: 1;
  overflow: auto;
  border: 1px solid var(--line);
  background: var(--raise);
}

.matrix-wrap table {
  border-collapse: separate;
  border-spacing: 0;
  width: max-content;
  min-width: 100%;
}

.matrix-wrap th,
.matrix-wrap td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  background: var(--raise);
}

.matrix-wrap thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #0e0e10;
}

.matrix-wrap tbody th,
.matrix-wrap thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  text-align: left;
  min-width: 210px;
  max-width: 300px;
}

.matrix-wrap thead th:first-child { z-index: 3; }

.matrix-wrap td { text-align: center; width: 84px; }

.member-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 72px;
}

.member-name {
  max-width: 88px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
}

.member-count { color: var(--muted); font-size: 12px; }

.you-label {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

th.is-mine, td.is-mine { background: #1c1612; }

tr.is-hot th, tr.is-hot td { background: #241416; }

tr.is-cancelled { opacity: 0.78; }

tr.is-hot td.is-mine, tr.is-hot th.is-mine { background: #30181c; }

tr.section th, tr.section td {
  background: #14080a;
  color: var(--gold);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding-top: 12px;
  padding-bottom: 4px;
}

.matrix-name { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }

.cell-btn, .pip {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #4a4036;
  background: transparent;
  padding: 0;
  display: inline-block;
}

.cell-btn { width: 28px; height: 28px; cursor: pointer; }

.cell-btn.is-on, .pip.is-on {
  background: var(--member);
  border-color: var(--member);
}

dialog {
  width: min(440px, calc(100vw - 32px));
  border: 1px solid #5c4a2c;
  background: var(--raise);
  color: var(--bone);
  box-shadow: 8px 8px 0 #4a0610, inset 0 1px 0 rgba(224, 180, 74, 0.35);
  padding: 22px;
}

dialog::backdrop { background: rgba(8, 6, 5, 0.72); }

dialog h2 { font-size: 42px; }

#card-dialog {
  width: min(640px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
}

#card-dialog h2 { margin-top: 0; }

#band-card {
  width: min(520px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  padding: 0;
}

#band-card h2 {
  font-size: 34px;
  letter-spacing: 0.04em;
  line-height: 0.95;
  overflow-wrap: anywhere;
}

#band-card.is-cancelled #band-card-name {
  text-decoration: line-through;
  color: var(--muted);
}

#band-card.is-cancelled .art { filter: grayscale(1) brightness(0.72); }

.band-card-top {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 16px 0;
}

.band-card-top .art,
.band-card-top .art-fallback { width: 128px; height: 128px; }

.band-card-body { padding: 8px 16px 16px; }

.band-facts {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 6px 12px;
  margin: 10px 0 4px;
}

.band-facts dt {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.band-facts dd { margin: 0; overflow-wrap: anywhere; }

.band-years { display: flex; flex-wrap: wrap; gap: 8px 10px; }

.band-years a { color: var(--gold); font-weight: 700; }

.band-bio { margin: 8px 0; font-size: 14px; line-height: 1.45; }

.band-bio p { margin: 0 0 8px; }

.band-socials { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }

.band-socials a {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--line);
  padding: 4px 8px;
  text-decoration: none;
}

.band-people { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 4px; }

.band-person { display: flex; align-items: center; gap: 10px; font-weight: 700; }

#band-card-site {
  color: var(--gold);
  font-weight: 700;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}

.dialog-save { width: auto; margin-top: 8px; padding-left: 18px; padding-right: 18px; }

.site-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 16px 40px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.site-foot p { margin: 0; }

#toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(12px);
  background: var(--bone);
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  max-width: min(520px, calc(100% - 24px));
}

#toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

.noscript {
  margin: 16px;
  color: var(--gold);
}

@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; }
  .taste-row { grid-template-columns: minmax(0, 1fr) auto; }
  .taste-bar { grid-column: 1 / -1; }
  .crew-card-head h3, .day-head { overflow-wrap: anywhere; }
  h1 { font-size: 18px; letter-spacing: 0.16em; }
  .brand-logo { height: 34px; }
  .hero-lockup { width: min(100%, 280px); }
  .header-inner { min-height: 72px; padding: 10px 0; align-items: flex-start; flex-wrap: wrap; }
  .site-foot { letter-spacing: 0.06em; }
  .join-card h2 { font-size: 42px; }
  .band {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    grid-template-areas:
      "art copy watch"
      "people people people";
  }
  .art-btn { grid-area: art; }
  .art-btn .art, .art, .art-fallback { width: 52px; height: 52px; }
  .band-card-top .art, .band-card-top .art-fallback { width: 96px; height: 96px; }
  .band-card-top { grid-template-columns: 96px minmax(0, 1fr); }
  #band-card h2 { font-size: 28px; }
  .band-copy { grid-area: copy; }
  .watch { grid-area: watch; justify-self: end; }
  .stack { grid-area: people; min-width: 0; }
  .stack.has-people { padding-left: 66px; }
  .stack:not(.has-people) { display: none; }
  .matrix-wrap tbody th,
  .matrix-wrap thead th:first-child { min-width: 150px; max-width: 190px; }
  .matrix-wrap td { width: 68px; }
  .member-head { min-width: 60px; }
  tr.section th { font-size: 18px; }
  #panel-matrix { height: calc(100dvh - 220px); }
}

@media (prefers-reduced-motion: reduce) {
  #toast { transition: none; }
}
