/* Timetable at /tables/<slug>. The palette and reset come from css/app.css. */
html, body { height: 100%; }
body {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
/* The site navigation (js/shared-nav.js) sits on top and the app takes the rest.
   Its room is kept while it loads, so the timetable does not jump. */
#site-nav-placeholder { display: block; flex: none; min-height: 57px; }
@media (min-width: 701px) { #site-nav-placeholder { min-height: 93px; } }

/* ---------- phone shell ---------- */
.phone {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  background: var(--app);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
/* Tablets use the full width with the phone layout; desktop gets a side panel (end of file). */

/* ---------- app bar ---------- */
.appbar {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 6px;
}
/* Below the navigation, which already keeps clear of the notch. */
#site-nav-placeholder + .phone .appbar { padding-top: 10px; }
.icon-btn {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 12px;
}
.icon-btn:hover { background: var(--chip); }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.title-block { min-width: 0; text-align: left; border-radius: 10px; padding: 2px 4px; margin: -2px -4px; }
.title-block:hover { background: var(--chip); }
.title-block h1 { display: flex; align-items: center; gap: 4px; }
.title-block h1 span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.title-block h1 svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.4; flex: none; opacity: .6; }
.fest-list { display: flex; flex-direction: column; }
.fest-row {
  display: grid; grid-template-columns: 14px 1fr auto; gap: 12px; align-items: center;
  padding: 12px 2px; border-top: 1px solid var(--line-strong); text-align: left; width: 100%;
}
.fest-row:first-child { border-top: 0; }
.fest-row i { width: 14px; height: 14px; border-radius: 4px; background: var(--sw); box-shadow: inset 0 0 0 1px var(--line-strong); }
.fest-row b { font-family: var(--display); font-size: 19px; font-weight: 700; text-transform: uppercase; line-height: 1.05; display: block; }
.fest-row small { color: var(--muted); font-size: 12px; }
.fest-row em { font-style: normal; font-size: 11px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; line-height: 1.3; }
.fest-row[aria-current="true"] b { color: var(--accent); }
.title-block h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .01em;
  line-height: 1;
  text-transform: uppercase;
}
.title-block p { margin: 3px 0 0; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appbar-actions { display: flex; gap: 2px; }

.search-row { padding: 0 12px 8px; display: flex; gap: 8px; align-items: center; }
.search-row input {
  flex: 1; min-width: 0;
  height: 38px; border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--panel-2); color: var(--ink);
  padding: 0 12px; font: inherit;
}
.search-row span { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- day switch ---------- */
.days {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(66px, 1fr);
  gap: 4px;
  margin: 0 12px;
  padding: 4px;
  border-radius: 14px;
  background: var(--chip);
  overflow-x: auto; scrollbar-width: none;
}
.days::-webkit-scrollbar { display: none; }
.day {
  border-radius: 10px;
  padding: 6px 0 5px;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  position: relative;
}
.day b { font-family: var(--display); font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; line-height: 1; }
.day small { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.day[aria-pressed="true"] { background: var(--ink); color: var(--app); }
.day[aria-pressed="true"] small { color: inherit; opacity: .7; }
.day .dot {
  position: absolute; top: 6px; right: 8px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; background: var(--accent); color: var(--accent-ink);
  font-size: 10px; font-weight: 700; display: grid; place-items: center;
}

/* ---------- toolbar ---------- */
.tools {
  display: flex; gap: 6px;
  padding: 8px 12px;
  overflow-x: auto; scrollbar-width: none;
}
.tools::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  height: 32px; padding: 0 12px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  white-space: nowrap;
}
.chip[aria-pressed="true"] { background: var(--ink); color: var(--app); border-color: var(--ink); }
.chip .live { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.chip .num { font-variant-numeric: tabular-nums; opacity: .7; font-weight: 500; }
.zoom { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 16px; flex: none; height: 32px; overflow: hidden; }
.zoom button { width: 34px; font-size: 17px; font-weight: 600; }
.zoom button:disabled { opacity: .3; cursor: default; }
.zoom button + button { border-left: 1px solid var(--line-strong); }

/* ---------- views ---------- */
.view { flex: 1; min-height: 0; display: flex; flex-direction: column; }

/* ---------- grid ---------- */
.scroller {
  flex: 1; min-height: 0;
  overflow: auto;
  position: relative;
  overscroll-behavior: contain;
  scroll-snap-type: x proximity;
  scroll-padding-left: var(--gut);
  border-top: 1px solid var(--line-strong);
  background: var(--panel);
}
.canvas { position: relative; }
/* Dragging the field with a mouse (dragToScroll() in js/timetable-app.js). */
@media (hover: hover) and (pointer: fine) {
  .scroller.can-drag { cursor: grab; }
}
.scroller.is-dragging,
.scroller.is-dragging * { cursor: grabbing !important; user-select: none; }
.scroller.is-dragging .set:active { transform: none; }
.scroller.is-panning { scroll-snap-type: none; }
.head {
  position: sticky; top: 0; z-index: 5;
  display: flex;
  height: 50px;
  background: var(--panel);
  border-bottom: 1px solid var(--line-strong);
}
.corner {
  position: sticky; left: 0; z-index: 6;
  width: var(--gut); flex: none;
  background: var(--panel);
  display: grid; place-items: center;
  font-size: 10px; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.colhead {
  flex: none;
  width: var(--colw);
  scroll-snap-align: start;
  padding: 8px 8px 6px;
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center; gap: 1px;
  min-width: 0;
}
.colhead b {
  font-family: var(--display); font-weight: 700; font-size: 16px;
  text-transform: uppercase; letter-spacing: .03em; line-height: 1;
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.colhead b i { width: 10px; height: 10px; border-radius: 3px; background: var(--stage); flex: none; }
.colhead small { font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.rows { display: flex; position: relative; }
.gutter {
  position: sticky; left: 0; z-index: 4;
  width: var(--gut); flex: none;
  background: var(--panel);
  border-right: 1px solid var(--line-strong);
}
.gutter span {
  position: absolute; right: 6px;
  transform: translateY(-50%);
  font-size: 11px; font-weight: 600; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.gutter span.half { font-weight: 400; opacity: .6; font-size: 10px; }
.gutter span:first-child { transform: none; }
.cols {
  position: relative; flex: none;
  background-image:
    linear-gradient(to bottom, var(--line-strong) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px),
    linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: 100% var(--hour), 100% calc(var(--hour) / 2), var(--colw) 100%;
}

.set {
  position: absolute;
  padding: 5px 6px 4px 8px;
  border-radius: 8px;
  text-align: left;
  overflow: hidden;
  background: color-mix(in srgb, var(--stage) 13%, var(--panel-2));
  box-shadow: inset 3px 0 0 var(--stage), inset 0 0 0 1px color-mix(in srgb, var(--stage) 22%, transparent);
  display: flex; flex-direction: column; gap: 2px;
  transition: opacity .15s, transform .1s;
}
.set:active { transform: scale(.98); }
.set .n {
  font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1.02;
  text-transform: uppercase; letter-spacing: .01em;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--clamp, 3); overflow: hidden;
  overflow-wrap: anywhere;
}
.set .t { font-size: 10.5px; line-height: 1.2; color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 500; }
.set .tag {
  align-self: flex-start;
  font-size: 9px; line-height: 1.2; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 1px 5px; border-radius: 4px; background: var(--chip);
}
.set.tiny { padding-top: 2px; padding-bottom: 2px; justify-content: center; }
.set.tiny .t, .set.tiny .tag { display: none; }
.set.tiny .n { --clamp: 1; font-size: 13px; }
.set.picked {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: inset 3px 0 0 color-mix(in srgb, var(--stage) 70%, #fff);
}
.set.picked .t { color: inherit; opacity: .85; }
.set.picked .tag { background: rgba(255,255,255,.2); }
.set.picked::after {
  content: ""; position: absolute; top: 5px; right: 5px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent-ink);
}
.set.picked .ck {
  position: absolute; top: 5px; right: 5px; z-index: 1;
  width: 14px; height: 14px;
  display: grid; place-items: center;
  font-size: 10px; font-weight: 800; line-height: 1; color: var(--accent);
}
.set.picked .n { padding-right: 12px; }
/* Too short for the time under the name: it goes after the name on one line.
   The name gives way first; the right padding is set per set in timetable-app.js. */
.set.inline-time { flex-direction: row; align-items: center; justify-content: flex-start; gap: 5px; }
.set.inline-time .n { flex: 0 1 auto; min-width: 0; padding-right: 0; display: block; white-space: nowrap; text-overflow: ellipsis; }
.set.inline-time .t { display: block; flex: none; white-space: nowrap; }
.set.clash {
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.16) 0 6px, transparent 6px 12px);
  box-shadow: inset 3px 0 0 var(--warn), inset 0 0 0 2px var(--warn);
}
.set.clash .tag.clash-tag { background: var(--warn); color: #fff; }
.set .tag.soldout-tag { background: var(--warn-soft); color: var(--warn); }
.set.picked .tag.soldout-tag { background: rgba(255,255,255,.2); color: inherit; }
.set.off {
  background: repeating-linear-gradient(135deg, var(--chip) 0 5px, transparent 5px 10px);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  cursor: default;
}
.set.off .n { color: var(--muted); font-weight: 600; text-decoration: line-through; text-decoration-thickness: 1px; }
.set.past:not(.picked) { opacity: .42; }
.set.dim { opacity: .18; }
.set.flash { animation: flash 1.2s ease-out 2; }
@keyframes flash { 50% { box-shadow: inset 0 0 0 3px var(--ink); } }

.now-line {
  position: absolute; left: 0; right: 0; height: 2px;
  background: var(--accent); z-index: 3; pointer-events: none;
}
.now-line::before {
  content: ""; position: absolute; left: -5px; top: -4px;
  width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
}
.now-tag {
  position: absolute; left: 3px; z-index: 5;
  transform: translateY(-50%);
  background: var(--accent); color: var(--accent-ink);
  font-size: 10.5px; font-weight: 700; font-variant-numeric: tabular-nums;
  padding: 2px 4px; border-radius: 5px;
}

/* ---------- plan view ---------- */
.plan { flex: 1; overflow: auto; padding: 4px 16px 24px; }
.plan h2 {
  font-family: var(--display); font-weight: 800; font-size: 28px; text-transform: uppercase;
  margin: 8px 0 2px; line-height: 1;
}
.plan .lede { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.plan h3 {
  margin: 18px 0 8px;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700;
  display: flex; justify-content: space-between;
}
.plan-list { display: flex; flex-direction: column; gap: 6px; }
.prow {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center;
  padding: 10px 10px 10px 12px;
  border-radius: 12px;
  background: var(--panel-2);
  box-shadow: inset 3px 0 0 var(--stage), inset 0 0 0 1px var(--line-strong);
  text-align: left; width: 100%;
}
.prow .when { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 14px; line-height: 1.15; }
.prow .when small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; }
.prow .what b { font-family: var(--display); font-size: 17px; font-weight: 700; text-transform: uppercase; line-height: 1.05; display: block; }
.prow .what small { color: var(--muted); font-size: 12px; }
.prow .state { font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 6px; background: var(--chip); white-space: nowrap; }
.prow .state.on { background: var(--accent); color: var(--accent-ink); }
.warnrow {
  display: flex; gap: 8px; align-items: flex-start;
  padding: 8px 10px; border-radius: 10px;
  background: var(--warn-soft); color: var(--ink);
  font-size: 12.5px; line-height: 1.35;
}
.warnrow b { color: var(--warn); }
.gaprow { font-size: 12px; color: var(--muted); padding: 2px 0 2px 64px; font-variant-numeric: tabular-nums; }
.empty {
  padding: 28px 18px; border-radius: 16px; border: 1px dashed var(--line-strong);
  color: var(--muted); text-align: center; line-height: 1.5;
}

/* ---------- more / crew ---------- */
.page { flex: 1; overflow: auto; padding: 4px 16px 28px; }
.page h2 { font-family: var(--display); font-weight: 800; font-size: 28px; text-transform: uppercase; margin: 8px 0 4px; line-height: 1; }
.page .lede { margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.5; max-width: 60ch; }
.group { border-radius: 14px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line-strong); margin-bottom: 14px; }
.group-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; }
.group-row + .group-row { border-top: 1px solid var(--line-strong); }
.group-row label { font-weight: 600; }
.group-row small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; margin-top: 2px; }
.seg { display: inline-flex; background: var(--chip); border-radius: 10px; padding: 3px; }
.seg button { padding: 5px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 600; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--app); }
.group-row select, .group-row input[type="range"] { font: inherit; }
.group-row select { height: 32px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--panel); color: var(--ink); padding: 0 6px; }
.clock { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; }
.clock-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.clock output { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 18px; }
.clock input { width: 100%; accent-color: var(--accent); }
.btn-plain { font-weight: 600; color: var(--accent); padding: 12px 14px; width: 100%; text-align: left; }
.notes { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.notes li { padding: 12px 14px; line-height: 1.45; font-size: 13px; }
.notes li + li { border-top: 1px solid var(--line-strong); }
.notes li b { display: block; font-size: 13.5px; margin-bottom: 2px; }
.notes li span { color: var(--muted); }
.soon {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 6px; background: var(--chip); color: var(--muted); margin-bottom: 8px;
}
.crew-card { padding: 14px; display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; }
.crew-card + .crew-card { border-top: 1px solid var(--line-strong); }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 14px; }
.crew-card b { display: block; }
.crew-card small { color: var(--muted); font-size: 12.5px; }

/* ---------- tab bar ---------- */
.tabbar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
  background: var(--app);
  padding: 4px 6px calc(6px + env(safe-area-inset-bottom, 0px));
}
.tab {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 0 4px; border-radius: 12px;
  font-size: 11px; font-weight: 600; color: var(--muted);
  position: relative;
}
.tab svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tab[aria-current="page"] { color: var(--ink); }
.tab[aria-current="page"] svg { stroke: var(--accent); }
.tab .badge {
  position: absolute; top: 2px; left: calc(50% + 6px);
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 10px; font-weight: 700; display: grid; place-items: center;
}
.tab .badge.warn { background: var(--warn); }

/* ---------- sheet ---------- */
.scrim { position: absolute; inset: 0; background: var(--scrim); z-index: 20; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 21;
  background: var(--panel-2);
  border-radius: 22px 22px 0 0;
  padding: 8px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  max-height: 82%;
  overflow: auto;
  box-shadow: var(--shadow);
  animation: up .22s ease-out;
}
@keyframes up { from { transform: translateY(40px); opacity: .4; } }
.grabber { width: 40px; height: 5px; border-radius: 3px; background: var(--line-strong); margin: 0 auto 12px; }
.sheet .stagechip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
}
.sheet .stagechip i { width: 10px; height: 10px; border-radius: 3px; background: var(--stage); }
.sheet h2 {
  margin: 6px 0 4px;
  font-family: var(--display); font-weight: 800; font-size: 30px; line-height: .98; text-transform: uppercase;
  text-wrap: balance;
}
.sheet .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.sheet .meta b { color: var(--ink); }
.sheet .rel { color: var(--accent); font-weight: 700; }
.sheet .stack { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.sheet .next { font-size: 12.5px; color: var(--muted); padding: 10px 0 0; border-top: 1px solid var(--line-strong); margin-top: 4px; }
.sheet .next b { color: var(--ink); }
.primary {
  width: 100%; height: 50px; border-radius: 14px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 15px;
}
.primary.secondary { background: var(--chip); color: var(--ink); }
.primary.warnbtn { background: var(--warn); }
.stage-list { display: flex; flex-direction: column; }
.stage-toggle { display: flex; align-items: center; gap: 10px; padding: 11px 2px; border-top: 1px solid var(--line-strong); }
.stage-toggle:first-child { border-top: 0; }
.stage-toggle i { width: 12px; height: 12px; border-radius: 3px; background: var(--stage); flex: none; }
.stage-toggle span { flex: 1; font-weight: 600; }
.stage-toggle small { color: var(--muted); font-weight: 400; font-size: 12px; margin-left: 4px; }
.stage-toggle input { width: 20px; height: 20px; accent-color: var(--accent); }
.sheet-actions { display: flex; gap: 8px; margin-top: 8px; }
.sheet-actions button { flex: 1; }

.toast {
  position: absolute; left: 50%; bottom: 84px; z-index: 30;
  transform: translateX(-50%);
  background: var(--ink); color: var(--app);
  padding: 10px 14px; border-radius: 12px;
  font-size: 13px; font-weight: 600;
  max-width: calc(100% - 32px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  box-shadow: var(--shadow);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- test-page additions ---------- */
.loading, .load-error { flex: 1; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--muted); line-height: 1.5; }
.load-error b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 6px; }
.chip:disabled { opacity: .5; cursor: default; }
.sync-status { margin: 0; padding: 12px 14px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.sync-status[data-state="success"] { color: var(--ink); }
.sync-status[data-state="error"] { color: var(--warn); }
.btn-link { display: block; padding: 12px 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.btn-link + .btn-link { border-top: 1px solid var(--line-strong); }
.pick-list { flex: 1; overflow: auto; padding: 4px 16px 24px; }
.pick-list a { display: block; padding: 12px 14px; color: inherit; text-decoration: none; }
.pick-list a + a { border-top: 1px solid var(--line-strong); }
.pick-list a b { display: block; font-family: var(--display); font-size: 19px; font-weight: 700; text-transform: uppercase; line-height: 1.05; }
.pick-list a small { color: var(--muted); font-size: 12px; }
/* Festival picker: a year per edition, and past festivals with their years. */
.year-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.year-chips a {
  display: inline-flex; align-items: center; min-height: 32px; padding: 3px 12px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: var(--panel-2);
  color: inherit; text-decoration: none; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.year-chips a:hover { border-color: var(--accent); }
.year-chips a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pick-families { padding: 0; }
.pick-family { padding: 12px 14px 4px; }
.pick-family + .pick-family { border-top: 1px solid var(--line-strong); }
.pick-family b { display: block; margin-bottom: 8px; font-family: var(--display); font-size: 17px; font-weight: 700; text-transform: uppercase; line-height: 1.05; }

[hidden] { display: none !important; }
a.icon-btn { color: inherit; }

/* ---------- layout switch ---------- */
.viewswitch {
  flex: none; display: inline-flex; height: 32px; padding: 2px; gap: 2px;
  border-radius: 16px; background: var(--chip);
}
.viewswitch button {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 0 10px; border-radius: 14px;
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.viewswitch svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
.viewswitch button[aria-pressed="true"] { background: var(--ink); color: var(--app); }

/* ---------- stages view: one row per stage, time across ---------- */
.scroller.is-rows { scroll-snap-type: none; }
.rows-canvas { min-height: 100%; }
.taxis {
  position: sticky; top: 0; z-index: 5;
  height: 30px;
  background: var(--panel);
  border-bottom: 1px solid var(--line-strong);
}
.taxis span {
  position: absolute; top: 8px;
  transform: translateX(-50%);
  font-size: 11px; font-weight: 600; color: var(--muted);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.taxis span.half { font-weight: 400; opacity: .6; font-size: 10px; }
.taxis span:first-child { transform: none; }
.taxis span.end { transform: translateX(-100%); }
.taxis .now-tag { top: 15px; left: 0; transform: translateX(-50%); }
.srows {
  position: relative;
  background-image:
    linear-gradient(to right, var(--line-strong) 1px, transparent 1px),
    linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: var(--hour) 100%, calc(var(--hour) / 2) 100%;
  background-position: var(--pad) 0, var(--pad) 0;
}
.srow { position: relative; border-bottom: 1px solid var(--line); }
.srow-label {
  position: sticky; left: 0; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  height: 22px; max-width: min(78vw, 360px);
  margin: 2px 0 0 6px; padding: 0 9px 0 7px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  white-space: nowrap; overflow: hidden;
}
.srow-label i { width: 9px; height: 9px; border-radius: 3px; background: var(--stage); flex: none; }
.srow-label b {
  font-family: var(--display); font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: .03em; line-height: 1;
}
.srow-label small { font-size: 10.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.is-rows .set .n { font-size: 14.5px; }
.is-rows .set.tiny { justify-content: flex-start; padding-top: 5px; }
.is-rows .set.tiny .n { --clamp: 3; font-size: 12px; overflow-wrap: anywhere; }
.now-line.vertical { top: 0; bottom: 0; left: 0; right: auto; width: 2px; height: auto; }
.now-line.vertical::before { left: -4px; top: -4px; }
/* Long sets that started off-screen keep their name in view while scrolling across.
   `overflow: clip` (unlike hidden) doesn't make the block a scroll container, so sticky still works. */
.is-rows .set { overflow: clip; }
.is-rows .set .n, .is-rows .set .t { position: sticky; left: 8px; align-self: flex-start; max-width: min(100%, 60vw); }
.is-rows .set .n { display: block; white-space: normal; max-height: 2.04em; }

/* ---------- ratings ---------- */
.set.must.picked .ck { font-size: 11px; }
.set.must:not(.picked) { box-shadow: inset 3px 0 0 var(--stage), inset 0 0 0 2px var(--accent); }
.set.nope { opacity: .32; }
.set.nope .n { text-decoration: line-through; text-decoration-thickness: 1px; }
.rate { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.rate button {
  height: 40px; border-radius: 12px;
  border: 1px solid var(--line-strong);
  font-size: 13px; font-weight: 600;
}
.rate button[aria-pressed="true"] { background: var(--ink); color: var(--app); border-color: var(--ink); }
.rate button[data-pref="must"][aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* ---------- sheet link rows, artist info ---------- */
.sheet-links { margin-top: 14px; border-top: 1px solid var(--line-strong); }
.linkrow {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  width: 100%; padding: 11px 14px; text-align: left;
  color: inherit; text-decoration: none;
}
.sheet-links .linkrow { padding-inline: 2px; border-bottom: 1px solid var(--line-strong); }
.group .linkrow + .linkrow { border-top: 1px solid var(--line-strong); }
.linkrow span { font-weight: 600; color: var(--accent); }
.linkrow small { font-size: 12px; color: var(--muted); }
.linkrow[aria-expanded="true"] span::after { content: " ▴"; }
.artist-info { padding: 6px 0 4px; }
.artist-row { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 6px 0; }
.artist-row img, .artist-ph { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--chip); }
.artist-ph { display: grid; place-items: center; font-weight: 800; color: var(--muted); }
.artist-name { font-family: var(--display); font-weight: 700; font-size: 18px; text-transform: uppercase; line-height: 1; }
.artist-links { display: flex; gap: 14px; font-size: 13px; }
.artist-links a { color: var(--accent); font-weight: 600; text-decoration: none; }
.muted-line { margin: 6px 0; color: var(--muted); font-size: 13px; }

/* ---------- event panel ---------- */
.infonote { margin: 0 0 14px; padding: 10px 12px; border-radius: 12px; background: var(--chip); font-size: 13px; line-height: 1.4; }
.infonote b { display: block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.tickets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.ticket {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 12px;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; font-size: 14px;
}
.ticket.off { background: var(--chip); color: var(--muted); font-weight: 600; }
.sheet-h { margin: 16px 0 8px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pick-list a[aria-current="page"] b { color: var(--accent); }

/* ---------- my plan ---------- */
.summary { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 12px; }
.summary span { padding: 5px 10px; border-radius: 999px; background: var(--chip); font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.summary b { color: var(--ink); font-size: 14px; }
.summary .warn { background: var(--warn-soft); }
.summary .warn b { color: var(--warn); }
.nownext { display: flex; flex-direction: column; gap: 6px; margin-bottom: 6px; }
.nn-row {
  display: grid; grid-template-columns: 62px 1fr; gap: 10px; align-items: center; width: 100%; text-align: left;
  padding: 12px; border-radius: 14px; background: var(--panel-2);
  box-shadow: inset 3px 0 0 var(--stage), inset 0 0 0 1px var(--line-strong);
}
.nn-tag { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.nn-tag.live { color: var(--accent); }
.nn-what b { display: block; font-family: var(--display); font-size: 19px; font-weight: 700; text-transform: uppercase; line-height: 1.05; }
.nn-what small { color: var(--muted); font-size: 12.5px; }
.prow.must { box-shadow: inset 3px 0 0 var(--stage), inset 0 0 0 2px var(--accent); }
.star { font-style: normal; color: var(--accent); }
.keeprow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.keeprow button {
  max-width: 100%; padding: 6px 10px; border-radius: 9px; background: var(--panel-2);
  box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 12px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#remindersBox .btn-row { border-top: 1px solid var(--line-strong); }
#remindersBox select { height: 34px; border-radius: 9px; border: 1px solid var(--line-strong); background: var(--panel); color: var(--ink); padding: 0 6px; font: inherit; }
#reminderStatus { margin: 0; padding: 0 14px 12px; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.danger-link { display: block; margin: 18px auto 0; padding: 10px 14px; color: var(--warn); font-weight: 600; font-size: 13px; }
.page-h { margin: 18px 0 8px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.seg button { white-space: nowrap; }

/* ---------- offline ---------- */
.netstatus {
  margin: 0 12px 8px; padding: 8px 12px; border-radius: 12px;
  background: var(--chip); color: var(--ink);
  font-size: 12.5px; line-height: 1.4;
}
.netstatus::before { content: "●"; color: var(--warn); margin-right: 6px; }

/* ---------- forms (sign in, crew) ---------- */
.form { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.field { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: 13px; }
.field input, .field select, .code-input {
  height: 46px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--panel); color: var(--ink); padding: 0 12px; font: inherit; font-weight: 500; font-size: 16px;
  width: 100%;
}
.field small { font-weight: 400; color: var(--muted); font-size: 12px; }
.code-input { font-family: var(--display); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.form-error { margin: 0; padding: 9px 12px; border-radius: 10px; background: var(--warn-soft); color: var(--ink); font-size: 13px; line-height: 1.4; }
.primary.is-busy { opacity: .6; }
.form-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: 13px; }
.form-links button, .form-links a, .inline-link { color: var(--accent); font-weight: 600; text-decoration: none; font-size: inherit; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 4px; }
.acct-actions { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line-strong); }
.acct-actions > * { flex: 1; text-align: center; }
.lede.small { font-size: 12.5px; }

/* ---------- avatars ---------- */
.av {
  --c: #8a7a75;
  width: 36px; height: 36px; flex: none; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--c); color: #fff;
  font-style: normal; font-weight: 800; font-size: 13px; letter-spacing: .02em;
}
.av.sm { width: 24px; height: 24px; font-size: 9.5px; }
.av.xs { width: 16px; height: 16px; font-size: 7.5px; letter-spacing: 0; box-shadow: 0 0 0 1.5px var(--panel-2); }
.av.more { background: var(--ink); color: var(--app); }

/* ---------- crew ---------- */
.crewdots { position: absolute; right: 4px; bottom: 4px; display: flex; }
.crewdots .av + .av { margin-left: -4px; }
.set.tiny .crewdots { bottom: auto; top: 50%; transform: translateY(-50%); }
.set.picked .crewdots .av.xs { box-shadow: 0 0 0 1.5px var(--accent); }
.crew-going { display: flex; align-items: center; gap: 4px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.crew-going .av + .av { margin-left: -6px; box-shadow: 0 0 0 2px var(--panel-2); }
.crew-going span { margin-left: 6px; }
.crew-actions { display: grid; gap: 8px; margin: 6px 0 10px; }
.crew-code {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px; margin: 6px 0 14px; border-radius: 16px; background: var(--panel-2);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.crew-code small { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.crew-code b { font-family: var(--display); font-size: 34px; font-weight: 800; letter-spacing: .1em; line-height: 1; }
.crew-code-actions { display: flex; gap: 6px; }
.crew-code-actions .primary { width: auto; height: 40px; padding: 0 14px; font-size: 13.5px; }
.crew-row { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; padding: 11px 14px; }
.crew-row + .crew-row { border-top: 1px solid var(--line-strong); }
.crew-row b { display: block; font-size: 14px; }
.crew-row small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.crew-row small b { display: inline; color: var(--ink); font-size: inherit; }
.pill { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 6px; background: var(--chip); color: var(--muted); font-size: 10.5px; font-weight: 700; vertical-align: 1px; }
.prow .avs { display: flex; }
.prow .avs .av + .av { margin-left: -6px; box-shadow: 0 0 0 2px var(--panel-2); }
.crew-footer { display: flex; flex-direction: column; align-items: center; margin-top: 10px; }
.crew-footer .danger-link { margin-top: 4px; }

/* ---------- lineup (days without set times) ---------- */
.tools.is-lineup .viewswitch, .tools.is-lineup .zoom, .tools.is-lineup #nowBtn { display: none; }
.scroller.is-lineup { scroll-snap-type: none; }
.lineup { padding: 12px 12px 28px; display: flex; flex-direction: column; gap: 18px; }
.lineup-note { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--chip); font-size: 13px; line-height: 1.45; }
.lineup-note b { display: block; }
.lineup-stage h3 {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; gap: 8px; margin: 0 -12px 8px; padding: 8px 12px;
  background: var(--panel);
  font-family: var(--display); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: .03em;
}
.lineup-stage h3 i { width: 11px; height: 11px; border-radius: 3px; background: var(--stage); flex: none; }
.lineup-stage h3 small { font-family: var(--body); font-size: 12px; font-weight: 500; color: var(--muted); text-transform: none; letter-spacing: 0; }
.lineup-stage h3 span { margin-left: auto; font-family: var(--body); font-size: 12px; font-weight: 600; color: var(--muted); }
.acts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.act {
  position: relative; min-height: 58px; padding: 10px 12px 10px 14px; border-radius: 12px; text-align: left;
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  background: color-mix(in srgb, var(--stage) 12%, var(--panel-2));
  box-shadow: inset 3px 0 0 var(--stage), inset 0 0 0 1px color-mix(in srgb, var(--stage) 22%, transparent);
}
.act .n { font-family: var(--display); font-weight: 700; font-size: 16px; line-height: 1.05; text-transform: uppercase; overflow-wrap: anywhere; padding-right: 14px; }
.act .t { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.act.picked { background: var(--accent); color: var(--accent-ink); }
.act.picked .t { color: inherit; opacity: .85; }
.act .ck {
  position: absolute; top: 6px; right: 6px; width: 16px; height: 16px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent-ink); color: var(--accent); font-size: 10px; font-weight: 800;
}
.act.must:not(.picked) { box-shadow: inset 3px 0 0 var(--stage), inset 0 0 0 2px var(--accent); }
.act.nope { opacity: .32; }
.act.nope .n { text-decoration: line-through; text-decoration-thickness: 1px; }
.act.dim { opacity: .18; }
.act.off { opacity: .45; cursor: default; }
.act .crewdots { right: 6px; bottom: 6px; }
.linkrow.tba-row span { color: var(--ink); }

/* ---------- desktop: timetable left, My plan / Crew / More in a side panel ---------- */
@media (min-width: 1024px) {
  .phone {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    grid-template-rows: auto auto minmax(0, 1fr);
    grid-template-areas: "head head" "main tabs" "main side";
  }
  .phone > header { grid-area: head; border-bottom: 1px solid var(--line-strong); }
  #view-timetable { grid-area: main; min-height: 0; padding-top: 10px; }
  .phone > .view:not(#view-timetable) {
    grid-area: side; min-height: 0; overflow: auto;
    border-left: 1px solid var(--line-strong); background: var(--app);
  }
  .phone > .view:not(#view-timetable) > .plan,
  .phone > .view:not(#view-timetable) > .page { overflow: visible; }
  .tabbar {
    grid-area: tabs; grid-template-columns: repeat(3, 1fr); gap: 4px;
    padding: 8px 10px; border-top: 0; border-left: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong);
  }
  .tab[data-tab="timetable"] { display: none; }
  .tab { flex-direction: row; justify-content: center; gap: 7px; padding: 8px 0; font-size: 13.5px; }
  .tab svg { width: 19px; height: 19px; }
  .tab[aria-current="page"] { background: var(--chip); }
  .tab .badge { position: static; margin-left: 2px; }
  .days { grid-auto-columns: minmax(96px, 170px); justify-content: start; }
  .appbar { padding-inline: 20px; }
  .days, .tools { margin-inline: 8px; }
  .scrim { background: color-mix(in srgb, var(--scrim) 60%, transparent); }
  .sheet {
    left: auto; right: 24px; bottom: 24px; width: 440px; max-height: calc(100% - 48px);
    border-radius: 22px;
  }
  .grabber { display: none; }
  .toast { bottom: 24px; }
}
.host-line { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }

/* A whole party in a city-wide week (ADE): who runs it, genres, the lineup. */
.party-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -6px 0 12px; font-size: 13px; color: var(--muted); }
.party-meta .genre { padding: 2px 8px; border-radius: 999px; background: var(--chip); color: var(--ink); font-size: 12px; }
.party-meta .soldout { padding: 2px 8px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); font-size: 12px; font-weight: 700; }
.party-lineup { margin-bottom: 14px; }
.party-lineup .sheet-h { margin-top: 0; }
.party-lineup p { margin: 0; font-size: 14px; line-height: 1.5; }
.party-note { margin: 0 0 14px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.party-sets { margin: 0; padding: 0; list-style: none; font-size: 14px; }
.party-sets li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 0 10px; padding: 5px 0; border-top: 1px solid var(--line-strong); }
.party-sets li:first-child { border-top: 0; }
.party-sets span { color: var(--muted); font-variant-numeric: tabular-nums; }
.party-sets small { grid-column: 2; color: var(--muted); font-size: 12px; }

/* ---------- small icons in buttons ---------- */
.ico { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- lineup: "tell me when set times are out" ---------- */
.lineup-note p { margin: 0; }
.alert-cta { margin-top: 10px; }
.alert-btn {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  min-height: 40px; padding: 8px 14px; border-radius: 12px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 14px; font-weight: 700; text-align: left;
}
.alert-btn.is-on { background: var(--panel-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.alert-btn.is-on .ico { stroke: var(--accent); stroke-width: 2.6; }
.alert-note { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.4; }

/* ---------- your plan changed ---------- */
.moved-list { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.moved-list li {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px; border-radius: 12px; background: var(--panel);
  box-shadow: inset 3px 0 0 var(--stage), inset 0 0 0 1px var(--line-strong);
}
.moved-list b { font-family: var(--display); font-size: 17px; font-weight: 700; text-transform: uppercase; line-height: 1.05; overflow-wrap: anywhere; }
.moved-list span { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.moved-list small { font-size: 13px; font-weight: 600; }

/* ---------- plan my day ---------- */
.plan-day-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; margin: 0 0 12px; }
.route-days { display: flex; width: fit-content; max-width: 100%; overflow-x: auto; margin: 0 0 12px; }
.route-clashes { margin: 0 0 14px; padding: 10px 12px; border-radius: 12px; background: var(--chip); font-size: 13px; line-height: 1.45; }
.route-clashes b { display: block; margin-bottom: 4px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.route-clashes ul { margin: 0; padding-left: 18px; }
.route-clashes li + li { margin-top: 2px; }
.route-clashes p { margin: 0; font-weight: 600; }
.route { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.route-set {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: center;
  padding: 10px 12px; border-radius: 12px; background: var(--panel);
  box-shadow: inset 3px 0 0 var(--stage), inset 0 0 0 1px var(--line-strong);
}
.route-set .when { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 14px; line-height: 1.15; }
.route-set .when small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; }
.route-set .what b { display: block; font-family: var(--display); font-size: 17px; font-weight: 700; text-transform: uppercase; line-height: 1.05; overflow-wrap: anywhere; }
.route-set .what small { display: block; color: var(--muted); font-size: 12px; }
.route-step { padding: 0 0 0 74px; font-size: 12.5px; font-weight: 600; color: var(--muted); }

/* ---------- crew meet-ups ---------- */
.pin { width: .9em; height: .9em; flex: none; fill: currentColor; vertical-align: -.1em; margin-right: 3px; }
.set:not(.picked) .n .pin, .act:not(.picked) .n .pin, .prow .what .pin { color: var(--accent); }
.meetup { margin-top: 12px; }
.meetup-form label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 600; }
.meetup-row { display: flex; gap: 8px; }
.meetup-form input {
  flex: 1; min-width: 0; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--panel); color: var(--ink);
  padding: 0 12px; font: inherit; font-size: 16px;
}
.meetup-form .primary { width: auto; flex: none; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.meetup-form .primary .pin { width: 15px; height: 15px; margin: 0; color: var(--accent); }
.meetup.is-set { padding: 10px 12px; border-radius: 12px; background: var(--chip); }
.meetup-head { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 14px; }
.meetup-head .pin { width: 16px; height: 16px; margin: 0; color: var(--accent); }
.meetup-note { margin: 4px 0 0; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.meetup-by { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.meetup-remove { margin-top: 6px; padding: 6px 0; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.meet-row .what small { display: block; }
.meet-row .what .meet-note { color: var(--ink); overflow-wrap: anywhere; }

/* ---------- a whole day called off (showDayCancelled in js/timetable-app.js) ---------- */
#view-timetable { position: relative; }
.day-cancel-wrap {
  position: absolute; inset: 0; z-index: 12;
  display: grid; place-items: center; padding: 16px;
  background: color-mix(in srgb, var(--app) 62%, transparent);
  backdrop-filter: blur(2px);
}
.day-cancel {
  width: min(420px, 100%); padding: 22px 20px 18px; border-radius: 18px; text-align: center;
  background: var(--panel); box-shadow: 0 18px 50px rgba(0, 0, 0, .28), inset 0 0 0 1px var(--line-strong);
}
.day-cancel h2 { margin: 0 0 8px; font-family: var(--display); font-size: 28px; font-weight: 800; line-height: 1.05; text-transform: uppercase; color: var(--warn); }
.day-cancel p { margin: 0 0 16px; line-height: 1.5; overflow-wrap: anywhere; }
.day-cancel-actions { display: flex; flex-direction: column; gap: 8px; }
.day-cancel-actions .primary { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.day.is-cancelled b { text-decoration: line-through; }
