/* RepShift — app web. Mise en page : une colonne façon iPhone (max 560 px), barre d'onglets fixée en bas. */

@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/Montserrat-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/Montserrat-Bold.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/Montserrat-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-style: italic; font-display: swap; src: url("fonts/Montserrat-ExtraBoldItalic.woff2") format("woff2"); }

:root {
  /* Sombre (par défaut) */
  --bg: #0B0B0D;
  --card: #17181B;
  --card2: #222428;
  --border: #33363C;
  --fg: #F8FAFC;
  --muted: #9299A5;
  --warning: #FF8A5B;
  --accent: #C6FF00;
  --accent-text: #C6FF00;
  --on-accent: #000000;
  --tabbar: rgba(16, 17, 19, 0.88);
  --display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}
:root[data-scheme="oled"] {
  --bg: #000000; --card: #111113; --card2: #1C1C1F; --border: #2A2B30; --tabbar: rgba(0, 0, 0, 0.9);
}
:root[data-scheme="light"] {
  --bg: #F8FAFC; --card: #FFFFFF; --card2: #EDF0F3; --border: #D8DCE2; --fg: #0B0B0D; --muted: #5F6673;
  --warning: #C2410C; --tabbar: rgba(248, 250, 252, 0.9);
  color-scheme: light;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

#app { max-width: 560px; margin: 0 auto; min-height: 100%; }

/* ---------- Écran et en-têtes ---------- */
.screen { padding: calc(var(--safe-top) + 8px) 20px calc(var(--safe-bottom) + 96px); display: flex; flex-direction: column; gap: 18px; }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 8px; }
.large-title { margin: 0; font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.1; letter-spacing: -0.3px; text-wrap: balance; }
.nav-title { font-family: var(--display); font-weight: 700; font-size: 17px; text-align: center; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 22px; border: 0; background: var(--card); color: var(--fg);
  display: grid; place-items: center; flex-shrink: 0;
}
.icon-btn.plain { background: transparent; color: var(--accent-text); }
.icon-btn svg { width: 20px; height: 20px; }
.text-btn { border: 0; background: none; color: var(--accent-text); font-weight: 600; font-size: 16px; padding: 10px 4px; min-height: 44px; }
.text-btn.muted { color: var(--muted); font-weight: 500; }

/* ---------- Logo ---------- */
.lockup { display: inline-flex; align-items: center; gap: 6px; }
.lockup svg { height: 17px; width: auto; display: block; }
.wordmark { font-family: var(--display); font-weight: 800; font-style: italic; white-space: nowrap; letter-spacing: -0.2px; }
.wordmark .shift { color: var(--accent-text); }
.rmark path { fill: var(--accent); }

/* ---------- Textes ---------- */
.label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.num { font-family: var(--display); font-weight: 700; font-variant-numeric: tabular-nums; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent-text); }

/* ---------- Cartes et listes ---------- */
.card { background: var(--card); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.card.tight { padding: 14px; gap: 10px; border-radius: 16px; }
.list { background: var(--card); border-radius: 16px; overflow: hidden; }
.list > .row + .row { border-top: 1px solid var(--border); }
.row { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px; width: 100%; background: none; border: 0; text-align: left; color: var(--fg); }
.row .grow { flex: 1; min-width: 0; }
.row .value { color: var(--muted); text-align: right; }
.row .chev { color: var(--muted); width: 16px; height: 16px; flex-shrink: 0; }
.section { display: flex; flex-direction: column; gap: 8px; }
.section > .label { padding-left: 4px; }
.section-foot { font-size: 13px; color: var(--muted); padding: 0 4px; }

/* ---------- Boutons ---------- */
.btn-primary, .btn-secondary {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  min-height: 52px; border-radius: 16px; font-weight: 700; font-size: 17px; border: 0; text-decoration: none;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:disabled { opacity: 0.4; }
.btn-primary:active { opacity: 0.85; }
.btn-secondary { background: var(--card); color: var(--fg); border: 1px solid var(--border); font-weight: 600; font-size: 15px; min-height: 48px; border-radius: 14px; }
.btn-danger { background: none; border: 0; color: #FF5A52; font-weight: 600; min-height: 48px; width: 100%; }
:root[data-scheme="light"] .btn-danger { color: #C81E1E; }
.btn-row { display: flex; gap: 10px; }
.btn-row > * { flex: 1; }
.chip { border: 0; border-radius: 999px; padding: 6px 12px; background: var(--card2); font-size: 13px; }
.tag { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, currentColor 15%, transparent); }
.tag.warn { color: var(--warning); }
.tag.ok { color: var(--accent-text); }

/* ---------- Semaine ---------- */
.week-head { display: flex; align-items: center; gap: 12px; }
.week-head .mid { flex: 1; text-align: center; border: 0; background: none; color: var(--fg); }
.week-head .mid b { display: block; font-size: 15px; font-weight: 600; }
.week-head .mid span { font-size: 13px; color: var(--muted); }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.day { border: 0; border-radius: 14px; background: var(--card); padding: 10px 0; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--fg); }
.day b { font-family: var(--display); font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.day i { width: 6px; height: 6px; border-radius: 3px; }
.day.has i { background: var(--accent-text); }
.day.today { color: var(--accent-text); }
.day.sel { background: var(--accent); color: var(--on-accent); }
.day.sel i { background: var(--on-accent); }
.workout-name { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.05; }
.ex-line { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.ex-line span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-line span:last-child { color: var(--muted); font-size: 13px; white-space: nowrap; }
.week-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1px solid transparent; width: 100%; text-align: left; color: var(--fg); }
.week-row.sel { border-color: color-mix(in srgb, var(--accent-text) 60%, transparent); }
.week-row .date { width: 40px; display: flex; flex-direction: column; align-items: center; }
.week-row .date small { font-size: 11px; color: var(--muted); }
.week-row .date b { font-family: var(--display); font-size: 18px; font-weight: 600; }
.week-row .bar { width: 3px; height: 34px; border-radius: 2px; background: var(--accent-text); }
.week-row .bar.moved { background: var(--warning); }
.resume { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--card2); }
.resume .pill { border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 700; padding: 0 16px; min-height: 40px; }

/* ---------- Séance ---------- */
.session { min-height: 100%; display: flex; flex-direction: column; }
.session-head { padding: calc(var(--safe-top) + 8px) 20px 0; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 0; background: var(--bg); z-index: 5; padding-bottom: 6px; }
.session-head .mid { flex: 1; text-align: center; }
.session-head .mid small { display: block; font-size: 13px; color: var(--muted); }
.session-head .clock { font-family: var(--display); font-weight: 600; font-size: 20px; font-variant-numeric: tabular-nums; }
.pill-btn { border: 0; border-radius: 999px; background: var(--card); color: var(--fg); font-weight: 600; font-size: 15px; padding: 0 16px; min-height: 44px; }
.progress { display: flex; gap: 4px; }
.progress button { flex: 1; border: 0; background: none; padding: 8px 0; }
.progress button i { display: block; height: 5px; border-radius: 3px; background: var(--card2); }
.progress button.cur i { background: color-mix(in srgb, var(--accent-text) 45%, transparent); }
.progress button.done i { background: var(--accent-text); }
.session-body { padding: 12px 20px calc(var(--safe-bottom) + 200px); display: flex; flex-direction: column; gap: 16px; }
.ex-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: 27px; line-height: 1.1; }
.sets { background: var(--card); border-radius: 20px; padding: 10px; display: flex; flex-direction: column; gap: 4px; }
.set-grid { display: grid; grid-template-columns: 34px minmax(0, 1fr) 70px 56px 44px; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 14px; }
.set-grid.head { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; padding-top: 8px; padding-bottom: 8px; }
.set-grid.head span:nth-child(3), .set-grid.head span:nth-child(4) { text-align: center; }
.set-grid.cur { background: var(--card2); }
.set-grid .n { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--muted); }
.set-grid.cur .n { color: var(--accent-text); }
.set-grid .planned { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.num-input {
  width: 100%; height: 42px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg);
  text-align: center; font-family: var(--display); font-weight: 600; font-size: 19px; font-variant-numeric: tabular-nums; padding: 0;
}
.set-grid.cur .num-input.kg { border-color: var(--accent-text); }
.num-input:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent-text) 35%, transparent); }
.check-btn { width: 44px; height: 44px; border-radius: 14px; border: 2px solid var(--border); background: transparent; display: grid; place-items: center; color: var(--muted); }
.set-grid.cur .check-btn { border-color: var(--accent-text); color: var(--accent-text); }
.check-btn.done { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.check-btn svg { width: 20px; height: 20px; }
.add-set { border: 1px dashed var(--border); border-radius: 12px; background: none; color: var(--muted); font-weight: 600; font-size: 14px; min-height: 44px; margin-top: 6px; }
.del-set { border: 0; background: none; color: var(--muted); font-size: 13px; padding: 4px 0 0; align-self: flex-end; }
.feedback { background: var(--card); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 12px; border: 1.5px solid transparent; transition: border-color 0.2s; }
.feedback.hl { border-color: var(--accent-text); }
.rating { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.rating button { border: 0; border-radius: 12px; background: var(--card2); color: var(--fg); min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 4px 2px; }
.rating button b { font-family: var(--display); font-size: 18px; }
.rating button span { font-size: 10px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.rating button.on { background: var(--accent); color: var(--on-accent); }
textarea.comment, .field textarea {
  width: 100%; min-height: 44px; resize: none; border: 0; border-radius: 12px; background: var(--bg); padding: 12px; font-size: 15px; line-height: 1.4;
}
.instructions { display: flex; gap: 10px; align-items: flex-start; background: var(--card); border-radius: 16px; padding: 14px; font-size: 15px; }
.next-line { display: flex; gap: 10px; align-items: baseline; font-size: 13px; color: var(--muted); }
.next-line span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.rest {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--safe-bottom) + 12px);
  width: min(536px, calc(100% - 24px)); z-index: 20;
  background: var(--accent); color: var(--on-accent); border-radius: 26px; padding: 16px;
  display: flex; flex-direction: column; gap: 6px; animation: rest-in 0.25s ease-out;
}
@keyframes rest-in { from { transform: translate(-50%, 30px); opacity: 0; } }
.rest .top { display: flex; align-items: center; gap: 8px; }
.rest .top .grow { flex: 1; min-width: 0; }
.rest .lbl { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.rest .time { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; }
.rest button { border: 0; border-radius: 14px; min-height: 44px; min-width: 48px; padding: 0 12px; font-weight: 700; font-size: 15px; background: rgba(0, 0, 0, 0.12); color: var(--on-accent); }
.rest button.solid { background: var(--on-accent); color: var(--accent); }
.rest .track { margin-top: 6px; height: 6px; border-radius: 3px; background: rgba(0, 0, 0, 0.15); overflow: hidden; }
.rest .track i { display: block; height: 100%; background: var(--on-accent); border-radius: 3px; }

/* ---------- Formulaires ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field input[type="text"], .field textarea.big, .text-input {
  width: 100%; min-height: 48px; border-radius: 14px; border: 1px solid var(--border); background: var(--card); padding: 0 14px; font-size: 16px;
}
textarea.paste {
  width: 100%; height: 220px; border-radius: 16px; border: 1px solid var(--border); background: var(--card); padding: 12px;
  font-family: ui-monospace, Menlo, monospace; font-size: 13px; line-height: 1.45; resize: vertical;
}
.stepper { display: flex; align-items: center; gap: 4px; background: var(--card2); border-radius: 12px; padding: 3px; }
.stepper button { width: 38px; height: 38px; border-radius: 10px; border: 0; background: var(--card); font-size: 20px; font-weight: 600; color: var(--fg); }
.stepper b { min-width: 52px; text-align: center; font-family: var(--display); font-variant-numeric: tabular-nums; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px; padding: 3px; border-radius: 12px; background: var(--card2); }
.seg button { border: 0; border-radius: 9px; background: transparent; min-height: 36px; font-weight: 600; font-size: 14px; color: var(--muted); }
.seg button.on { background: var(--card); color: var(--fg); box-shadow: 0 1px 2px rgba(0,0,0,0.15); }
:root[data-scheme="light"] .seg button.on { background: #fff; }
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 10px; padding: 16px 10px; background: var(--card); border-radius: 16px; }
.swatch { border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.swatch i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; outline: 2px solid transparent; outline-offset: 3px; }
.swatch.on { color: var(--fg); }
.swatch.on i { outline-color: var(--fg); }
.switch { position: relative; width: 51px; height: 31px; flex-shrink: 0; }
.switch input { opacity: 0; width: 100%; height: 100%; margin: 0; position: absolute; inset: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 16px; background: var(--card2); transition: background 0.2s; }
.switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.25); transition: transform 0.2s; }
.switch input:checked + i { background: var(--accent); }
.switch input:checked + i::after { transform: translateX(20px); }
.template-set { display: grid; grid-template-columns: 34px minmax(0, 1fr) 64px 16px 72px 24px 36px; gap: 6px; align-items: center; min-height: 52px; padding: 6px 14px; }
.template-set .num-input { height: 38px; font-size: 17px; background: var(--card2); border-color: transparent; }
.template-set .x { color: var(--muted); text-align: center; }
.template-set .del { width: 36px; height: 36px; border: 0; background: none; color: var(--muted); display: grid; place-items: center; }

.warn-box { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--warning) 14%, transparent); font-size: 14px; }
.warn-box svg { color: var(--warning); flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stats b { display: block; font-family: var(--display); font-size: 26px; font-weight: 700; }
.stats span { font-size: 12px; color: var(--muted); }
.chart { width: 100%; height: 170px; display: block; }
.chart .grid { stroke: var(--border); stroke-width: 1; }
.chart .line { fill: none; stroke: var(--accent-text); stroke-width: 2.5; }
.chart .area { fill: color-mix(in srgb, var(--accent-text) 14%, transparent); }
.chart .pt { fill: var(--accent-text); }
.chart text { fill: var(--muted); font-size: 11px; font-family: var(--body); }
.empty { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding: 40px 12px; }
.empty h2 { margin: 0; font-family: var(--display); font-size: 26px; font-weight: 700; }
.empty p { margin: 0; color: var(--muted); max-width: 34ch; }

/* ---------- Barre d'onglets ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  padding: 6px 12px calc(var(--safe-bottom) + 6px);
  background: var(--tabbar); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--border);
}
.tabbar nav { max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tabbar button { border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 0; font-size: 10px; font-weight: 600; color: var(--muted); min-height: 48px; }
.tabbar button svg { width: 24px; height: 24px; }
.tabbar button.on { color: var(--accent-text); }

/* ---------- Feuilles et boîtes de dialogue ---------- */
.overlay { position: fixed; inset: 0; z-index: 30; background: rgba(0, 0, 0, 0.5); display: flex; align-items: flex-end; justify-content: center; animation: fade 0.2s ease-out; }
@keyframes fade { from { opacity: 0; } }
.sheet {
  width: 100%; max-width: 560px; max-height: calc(100% - var(--safe-top) - 24px); overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: var(--bg); border-radius: 22px 22px 0 0; padding: 8px 20px calc(var(--safe-bottom) + 24px);
  display: flex; flex-direction: column; gap: 18px; animation: slide 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes slide { from { transform: translateY(40px); opacity: 0.6; } }
.sheet .grabber { width: 40px; height: 5px; border-radius: 3px; background: var(--border); align-self: center; flex-shrink: 0; }
.sheet-head { display: flex; align-items: center; gap: 8px; position: sticky; top: -8px; background: var(--bg); z-index: 2; padding: 4px 0; }
.dialog { margin: auto 16px; margin-bottom: calc(var(--safe-bottom) + 16px); width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 8px; animation: slide 0.25s ease-out; }
.dialog .box { background: var(--card); border-radius: 18px; overflow: hidden; }
.dialog .box h3 { margin: 0; padding: 18px 18px 4px; font-size: 15px; text-align: center; }
.dialog .box p { margin: 0; padding: 0 18px 14px; font-size: 13px; text-align: center; color: var(--muted); }
.dialog .box button { display: block; width: 100%; border: 0; border-top: 1px solid var(--border); background: none; min-height: 54px; font-size: 17px; color: var(--accent-text); }
.dialog .box button.destructive { color: #FF5A52; }
.dialog .cancel { border: 0; background: var(--card); border-radius: 18px; min-height: 56px; font-size: 17px; font-weight: 600; color: var(--accent-text); }
.toast { position: fixed; left: 50%; transform: translateX(-50%); top: calc(var(--safe-top) + 10px); z-index: 40; background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; animation: fade 0.2s; max-width: calc(100% - 32px); text-align: center; }
.banner-error { background: color-mix(in srgb, #FF5A52 18%, transparent); border-radius: 14px; padding: 12px 14px; font-size: 14px; }

/* Calendrier du déplacement */
.cal { background: var(--card); border-radius: 16px; padding: 12px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head b { font-weight: 600; text-transform: capitalize; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.cal-grid .dow { font-size: 11px; color: var(--muted); font-weight: 600; padding: 4px 0; }
.cal-grid button { border: 0; background: none; aspect-ratio: 1; border-radius: 50%; font-size: 16px; font-variant-numeric: tabular-nums; color: var(--fg); }
.cal-grid button:disabled { color: var(--border); }
.cal-grid button.today { color: var(--accent-text); font-weight: 700; }
.cal-grid button.on { background: var(--accent); color: var(--on-accent); font-weight: 700; }
.cal-grid button.has::after { content: ""; display: block; width: 4px; height: 4px; border-radius: 2px; background: var(--muted); margin: -2px auto 0; }
.quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.quick button { border: 0; border-radius: 999px; background: var(--card2); min-height: 38px; font-weight: 600; font-size: 14px; color: var(--fg); }
.quick button.on { background: var(--accent); color: var(--on-accent); }

/* ---------- Splash ---------- */
.splash { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.splash.out { animation: splash-out 0.35s cubic-bezier(0.42, 0, 0.58, 1) forwards; }
@keyframes splash-out { to { opacity: 0; transform: scale(1.06); } }
.splash .stack { display: flex; flex-direction: column; align-items: center; transform: translateY(-12px); }
.splash .wordmark { font-size: 40px; margin-top: 28px; }
.splash .tag { background: none; padding: 0; }
.splash .lines { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.splash .lines span { font-size: 12px; font-weight: 600; letter-spacing: 3.5px; color: var(--muted); }
.splash svg .fill { fill: var(--accent); }

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