/* EvenSong Planner. Gold on black like the presentation app; each date carries the colour
   of its season in the church year (purple Advent and Lent, white feasts, red Holy Week
   and Pentecost, green Ordinary Time). The logo takes the season's colour too, but stays
   gold in Ordinary Time. */
:root {
  color-scheme: dark;
  --bg: #0b0b0b;
  --panel: #151515;
  --raise: #1f1f1f;
  --line: #2c2c2c;
  --line-strong: #3a3a3a;
  --ink: #f2efe8;
  --muted: #a9a49a;
  --subtle: #8a857c;
  --gold: #e3b55b;
  --accent: var(--gold);
  --on-accent: #16120a;
  --danger: #f08c7a;
  --ok: #7fcf9a;
  --wait: #e3c27a;
  --radius: 12px;
  --radius-sm: 8px;
  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --sans: Inter, -apple-system, 'Segoe UI', Roboto, system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --tabbar: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }
[hidden] { display: none !important; }
.icon { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.logo { color: var(--logo, var(--gold)); display: inline-flex; }

.muted { color: var(--muted); }
.subtle { color: var(--subtle); }
.small { font-size: 14px; }
.fine { font-size: 13px; color: var(--subtle); }
.center { text-align: center; }
.right { display: flex; justify-content: flex-end; }
.pad { padding: 12px 2px; }
.prewrap { white-space: pre-wrap; }
.block { display: block; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---------- shell ---------- */
.shell { min-height: 100vh; }
main { padding: calc(16px + var(--safe-t)) 16px calc(var(--tabbar) + var(--safe-b) + 28px); max-width: 1040px; margin: 0 auto; outline: none; }
.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tabbar) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: rgba(16, 16, 16, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.rail-brand, .rail-foot { display: none; }
.tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  text-decoration: none; color: var(--muted); font-size: 11.5px; font-weight: 500; letter-spacing: 0.01em;
}
.tab.active { color: var(--accent); }
.tab-icon { position: relative; display: inline-flex; }
.badge {
  position: absolute; top: -6px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--danger); color: #1a0d0a; font-size: 11px; font-weight: 700;
  display: grid; place-items: center;
}

@media (min-width: 900px) {
  .shell { display: grid; grid-template-columns: 232px 1fr; }
  .tabs {
    position: sticky; top: 0; height: 100vh; bottom: auto; padding: 22px 14px;
    display: flex; flex-direction: column; gap: 4px; border-top: 0; border-right: 1px solid var(--line);
    background: var(--bg); backdrop-filter: none;
  }
  .rail-brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 22px; text-decoration: none; font: 600 24px var(--serif); }
  .tab { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 15px; }
  .tab:hover { background: var(--panel); color: var(--ink); }
  .tab.active { background: var(--panel); }
  .rail-foot { display: block; margin-top: auto; padding: 10px 12px; color: var(--subtle); font-size: 13px; }
  main { padding: 36px 40px 56px; }
}

/* ---------- type ---------- */
.page { display: flex; flex-direction: column; gap: 22px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.page-head h1, .service-title h1, .song-head h1, .hero h1 { font: 600 34px/1.1 var(--serif); letter-spacing: -0.005em; }
.page-actions, .row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.row-actions.end { justify-content: flex-end; margin-top: 8px; }
.section-title { font: 600 15px var(--sans); color: var(--muted); margin-bottom: 10px; display: flex; align-items: baseline; gap: 10px; }
.section-title .count { font-weight: 500; color: var(--subtle); }
.section-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.sub-title { font: 600 15px var(--sans); margin-top: 18px; }
.meta { color: var(--muted); font-size: 14.5px; }
.meta.subtle { color: var(--subtle); font-size: 13.5px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 42px; padding: 0 16px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--raise); color: var(--ink);
  font-weight: 550; font-size: 15px; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn:hover { border-color: #4a4a4a; }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; }
.btn.danger { background: var(--danger); border-color: var(--danger); color: #1a0d0a; }
.btn.danger.ghost { background: transparent; color: var(--danger); border-color: transparent; margin-right: auto; }
.btn.small { min-height: 36px; padding: 0 12px; font-size: 14px; }
.btn.wide { width: 100%; }
.btn.link { background: none; border: 0; min-height: 0; padding: 4px 2px; color: var(--accent); font-weight: 550; }
.btn.on { border-color: var(--accent); color: var(--accent); }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  background: transparent; border: 1px solid transparent; color: var(--muted); cursor: pointer; font-weight: 600;
}
.icon-btn:hover { background: var(--raise); color: var(--ink); }
.icon-btn:disabled { opacity: 0.3; cursor: default; background: none; }
.icon-btn.flip .icon { transform: scaleX(-1); }
.icon-btn.big { font-size: 18px; }

.segmented { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 11px; padding: 3px; gap: 2px; align-self: flex-start; }
.segmented button { border: 0; background: transparent; padding: 7px 14px; border-radius: 8px; color: var(--muted); font-weight: 550; cursor: pointer; font-size: 14.5px; }
.segmented button.on { background: var(--raise); color: var(--ink); }

/* ---------- cards & lists ---------- */
.list { display: flex; flex-direction: column; gap: 8px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; text-decoration: none; color: inherit; text-align: left; width: 100%;
}
a.card:hover, button.card:hover { border-color: var(--line-strong); background: #181818; }
button.card { cursor: pointer; font: inherit; }
.service-card, .assign-card, .row-card { display: flex; align-items: center; gap: 14px; }
.assign-card { align-items: flex-start; }
.card-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.card-main h3 { font-size: 16.5px; font-weight: 600; }
.row-card > .icon:last-child { color: var(--subtle); }
.title-link { text-decoration: none; }
.title-link:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* The date block: the season colour is the one bold thing on the page. */
.date-block {
  flex: none; width: 56px; display: flex; flex-direction: column; align-items: center;
  padding: 7px 0 6px; border-radius: 10px; background: var(--raise);
  border-left: 3px solid var(--season, var(--gold));
}
.date-block .dow, .date-block .mon { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; }
.date-block .dnum { font: 600 27px/1 var(--serif); color: var(--season, var(--gold)); margin: 2px 0 1px; }

.chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: var(--raise); border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.chip.status-accepted { color: var(--ok); border-color: rgba(127, 207, 154, 0.35); }
.chip.status-pending { color: var(--wait); border-color: rgba(227, 194, 122, 0.35); }
.chip.status-declined { color: var(--danger); border-color: rgba(240, 140, 122, 0.35); }
.chips.editable .chip { color: var(--ink); padding-right: 3px; }
.chip-x { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.chip-x:hover { background: var(--line); color: var(--ink); }

.avatar { flex: none; display: inline-grid; place-items: center; border-radius: 50%; background: var(--raise); border: 1px solid var(--line-strong); color: var(--ink); font-weight: 600; }
.avatar.md { width: 40px; height: 40px; font-size: 14px; }
.avatar.sm { width: 28px; height: 28px; font-size: 11px; }
.person { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; }
.you { margin-left: 8px; font: 600 11px var(--sans); color: var(--accent); vertical-align: 2px; }

.empty { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 28px 20px; text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.empty h3 { font: 600 22px var(--serif); }

.respond { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.team-row .respond { margin-top: 0; }

/* ---------- home ---------- */
.hero { padding: 6px 2px 4px; display: flex; flex-direction: column; gap: 6px; }
.hero h1 { font-size: 40px; }
.eyebrow-season, .season-note span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 550; color: var(--season); }
.swatch { width: 10px; height: 10px; border-radius: 3px; background: var(--season); display: inline-block; }

/* ---------- service ---------- */
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); text-decoration: none; font-size: 14.5px; margin-bottom: 4px; align-self: flex-start; }
.back:hover { color: var(--ink); }
.service-head { display: flex; flex-direction: column; gap: 12px; }
.service-title { display: flex; gap: 16px; align-items: flex-start; }
.service-title .date-block { width: 64px; }
.service-title .date-block .dnum { font-size: 32px; }
.service-cols { display: grid; gap: 28px; }
.only-narrow { display: inline-flex; }
@media (max-width: 899px) {
  .service-page.tab-order .col-team { display: none; }
  .service-page.tab-team .col-order, .service-page.tab-team .notes { display: none; }
  .service-page.tab-notes .col-order, .service-page.tab-notes .team { display: none; }
}
@media (min-width: 900px) {
  .only-narrow { display: none; }
  .service-cols { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
  .col-team { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 24px; }
}

.order { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.order-item { display: flex; align-items: center; gap: 10px; padding: 12px 10px 12px 16px; border-top: 1px solid var(--line); }
.order-item:first-child { border-top: 0; }
.item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.item-main h3 { font-size: 16px; font-weight: 600; }
.kind { font-size: 11.5px; font-weight: 600; color: var(--subtle); letter-spacing: 0.02em; }
.kind-song { color: var(--accent); }
.kind-row-header { background: var(--raise); padding-top: 9px; padding-bottom: 9px; }
.item-heading { font: 600 19px var(--serif) !important; color: var(--ink); }
.item-tools { display: flex; align-items: center; gap: 0; flex: none; }
.add-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.team { display: flex; flex-direction: column; gap: 10px; }
.team-group { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; }
.team-position { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.team-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 6px 0; }
.team-row + .team-row { border-top: 1px solid var(--line); }
.team-note { width: 100%; }
.notes { display: flex; flex-direction: column; gap: 8px; }

/* ---------- songs ---------- */
.search-wrap { display: flex; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; color: var(--muted); }
.search-wrap:focus-within { border-color: var(--accent); }
.search { flex: 1; border: 0; background: transparent; min-height: 48px; outline: none; font-size: 16px; }
.song-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.chart-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; position: sticky; top: var(--safe-t); z-index: 5; background: var(--bg); padding: 8px 0; border-bottom: 1px solid var(--line); }
.inline-field { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.inline-field select { min-height: 36px; }
.size-tools { margin-left: auto; display: flex; }
.chart { --chart-size: 18px; font-size: var(--chart-size); line-height: 1.45; display: flex; flex-direction: column; gap: 1.1em; }
.chart-label { font: 600 calc(var(--chart-size) * 0.72) var(--sans); color: var(--accent); margin-bottom: 0.25em; letter-spacing: 0.02em; }
.lyric-line { white-space: pre-wrap; }
.lyric-line.with-chords { display: flex; flex-wrap: wrap; align-items: flex-end; white-space: normal; margin-top: 0.15em; }
.chunk { display: inline-flex; flex-direction: column; white-space: pre; }
.chord { font: 700 calc(var(--chart-size) * 0.82) / 1.2 var(--sans); color: var(--gold); padding-right: 0.45em; min-height: 1.2em; }
.lyric { white-space: pre; }
.song-notes, .used-in { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.song-notes h3, .used-in h3 { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.song-foot { padding-top: 6px; }

/* ---------- calendar ---------- */
.month-bar { display: flex; align-items: center; gap: 6px; }
.month-bar h2 { font: 600 26px var(--serif); min-width: 200px; text-align: center; }
.month-bar .btn { margin-left: auto; }
.season-note { display: flex; flex-wrap: wrap; gap: 16px; }
.month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.dow-head { text-align: center; font-size: 12px; font-weight: 600; color: var(--subtle); padding-bottom: 4px; }
.day {
  position: relative; min-height: 58px; padding: 9px 6px 6px; border-radius: 10px; text-align: left;
  background: var(--panel); border: 1px solid var(--line); cursor: pointer; display: flex; flex-direction: column; gap: 3px; overflow: hidden;
}
.day::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--season); opacity: 0.85; }
.day.other { opacity: 0.38; }
.day .num { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.day.today .num { color: var(--on-accent); background: var(--accent); border-radius: 6px; padding: 0 6px; align-self: flex-start; }
.day.selected { border-color: var(--ink); }
.day.mine { box-shadow: inset 0 0 0 1px var(--accent); }
.marks { display: flex; flex-wrap: wrap; gap: 3px; }
.mark { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.mark.service { background: var(--gold); }
.mark.event { border: 1.5px solid var(--muted); }
.mark.big { width: 10px; height: 10px; flex: none; }
.mark-text { display: none; }
.more { font-size: 11px; color: var(--subtle); }
@media (min-width: 700px) {
  .day { min-height: 92px; }
  .marks { flex-direction: column; flex-wrap: nowrap; }
  .marks .mark { width: auto; height: auto; border-radius: 5px; padding: 1px 6px; font-size: 12px; line-height: 1.5; overflow: hidden; }
  .marks .mark.service { background: rgba(227, 181, 91, 0.16); color: var(--gold); }
  .marks .mark.event { border: 0; background: var(--raise); color: var(--muted); }
  .mark-text { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
.day-detail .section-title { color: var(--ink); font-size: 16px; }
.season-tag { font-weight: 550; font-size: 13.5px; color: var(--season); }

/* ---------- people ---------- */
.invite { display: flex; flex-direction: column; gap: 14px; }
.invite h2 { font: 600 26px var(--serif); }
.code-row { display: flex; align-items: center; gap: 6px; }
.join-code { font: 600 28px var(--mono); letter-spacing: 0.18em; color: var(--accent); }
.person-card { align-items: flex-start; }
.blockouts { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-direction: column; gap: 4px; }
.blockouts li { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line); padding: 4px 0; }
.profile { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.profile form { width: 100%; }
.inline-add { display: flex; gap: 8px; margin-top: 10px; }
.inline-add input { flex: 1; }

/* ---------- forms ---------- */
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-tight { display: flex; flex-direction: column; gap: 8px; }
.row-2, .row-3 { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.row-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 520px) { .row-3 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field-label { font-size: 13.5px; font-weight: 550; color: var(--muted); padding: 0; }
.hint { font-size: 12.5px; color: var(--subtle); }
input:not([type=checkbox]), select, textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); font-size: 16px;
}
textarea { resize: vertical; line-height: 1.45; }
textarea.mono { font: 14.5px/1.55 var(--mono); }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; }
input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--accent); }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.code-input { font-family: var(--mono) !important; letter-spacing: 0.15em; text-transform: uppercase; }
.form-error { color: var(--danger); font-size: 14.5px; }
.import-hint { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ---------- dialogs ---------- */
dialog.sheet {
  width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 40px); padding: 0;
  background: var(--panel); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 16px;
}
dialog.sheet.wide { width: min(780px, calc(100vw - 24px)); }
dialog::backdrop { background: rgba(0, 0, 0, 0.66); }
dialog.sheet form { display: flex; flex-direction: column; max-height: calc(100vh - 40px); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 12px 8px 20px; }
.sheet-head h2 { font: 600 24px var(--serif); }
.sheet-body { padding: 8px 20px 16px; overflow-y: auto; }
dialog .form-error { padding: 0 20px 8px; }
.sheet-foot { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; padding: 12px 20px calc(16px + var(--safe-b)); border-top: 1px solid var(--line); }
@media (max-width: 600px) {
  dialog.sheet, dialog.sheet.wide { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 18px 18px 0 0; border-bottom: 0; max-height: 92vh; }
  dialog.sheet form { max-height: 92vh; }
}

/* ---------- auth & splash ---------- */
.auth, .splash { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(60% 45% at 50% 0%, rgba(227, 181, 91, 0.12), transparent 70%), var(--bg); }
.splash { align-content: center; gap: 14px; text-align: center; }
.splash h2 { font: 600 26px var(--serif); }
.auth-card { width: min(420px, 100%); display: flex; flex-direction: column; gap: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; }
.auth-brand { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.auth-brand h1 { font: 600 34px var(--serif); }
.auth-card h2 { font: 600 24px var(--serif); }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--tabbar) + var(--safe-b) + 16px); transform: translate(-50%, 20px);
  background: var(--ink); color: #111; padding: 11px 16px; border-radius: 12px; font-weight: 550; font-size: 14.5px;
  opacity: 0; pointer-events: none; transition: opacity 0.18s, transform 0.18s; z-index: 100; max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: var(--danger); color: #1a0d0a; }
@media (min-width: 900px) { .toast { bottom: 24px; } }

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

/* ---------- lyric checks ---------- */
.eyebrow-plain { font-size: 13.5px; font-weight: 600; color: var(--accent); margin-bottom: 2px; }
.review-status { color: var(--muted); }
.review-comment { margin: 0; padding: 10px 14px; border-left: 3px solid var(--accent); background: var(--panel); border-radius: 0 10px 10px 0; }
.slides { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.slide {
  margin: 0; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line-strong); border-radius: 10px;
  display: flex; flex-direction: column; padding: 10px 12px; position: relative; overflow: hidden;
}
.slide figcaption { font-size: 12px; font-weight: 600; color: var(--subtle); display: flex; justify-content: space-between; gap: 8px; }
.slide-text { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 2px; font-size: 16.5px; line-height: 1.35; color: #fff; }
.slide.changed { border-color: var(--danger); aspect-ratio: auto; min-height: 158px; }
.changed-tag { color: var(--danger); }
.diff-new { background: rgba(240, 140, 122, 0.16); border-radius: 4px; padding: 0 4px; }
.was { font-size: 13px; color: var(--subtle); margin-top: 6px; }
.was summary { cursor: pointer; }
.was p { text-align: center; }
.slide.editing { aspect-ratio: auto; background: var(--panel); }
.slide-edit { margin-top: 6px; text-align: center; font-size: 16px; line-height: 1.4; background: #000; min-height: 96px; }
.review-actions { display: flex; flex-direction: column; gap: 12px; position: sticky; bottom: calc(var(--tabbar) + var(--safe-b)); background: linear-gradient(transparent, var(--bg) 22%); padding: 22px 0 8px; }
@media (min-width: 900px) { .review-actions { bottom: 0; } }
.lyric-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--raise); display: grid; place-items: center; color: var(--accent); flex: none; }
a.chip { text-decoration: none; }
