/* GestFoot — direction « couleurs du club » : flocage pochoir, panneau du 4e arbitre, barres d'équilibre. */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Stencil";
  src: url("/fonts/stencil/big-shoulders-stencil-latin-opsz-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

/* Couleurs du club (remplacées par celles réglées dans Admin) */
:root {
  --c1: #6e1530;
  --c2: #9cd3f0;
  --on-c1: #ffffff;
  --on-c2: #1c1e24;
  --c-light: #9cd3f0; /* la plus claire des deux : accent en nocturne */
  --on-light: #1c1e24;
  --c-dark: #6e1530;  /* la plus foncée des deux : accent en journée */

  --font-text: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-num: "Stencil", "Archivo", system-ui, sans-serif;
  --led-red: #ff4d3d;
  --led-green: #3ddc84;
  --board: #16181d;
  --radius: 12px;
}

/* Journée */
:root,
[data-theme="light"] {
  --bg: #f3f5f8;
  --surface: #ffffff;
  --surface-2: #eef1f5;
  --line: #dee2e8;
  --ink: #1c1e24;
  --muted: #5b616b;
  --accent: var(--c-dark);
  --accent-soft: color-mix(in oklab, var(--c-dark) 12%, transparent);
  --danger: #c8321f;
  --danger-soft: #fbe7e3;
  --warn: #9a6512;
  --warn-soft: #fbf0d9;
  --ok: #1a7f46;
  --ok-soft: #e1f3e8;
  --grass: #2f7d4f;
  --grass-line: rgba(255, 255, 255, 0.45);
  color-scheme: light;
}

/* Nocturne (thème sombre) */
[data-theme="dark"] {
  --bg: #0f1217;
  --surface: #171b22;
  --surface-2: #1f242d;
  --line: #2a303b;
  --ink: #e9ecf1;
  --muted: #9aa2ae;
  --accent: color-mix(in oklab, var(--c-light) 80%, white);
  --accent-soft: color-mix(in oklab, var(--c-light) 18%, transparent);
  --danger: #ff7a68;
  --danger-soft: #3a1d1a;
  --warn: #f2c063;
  --warn-soft: #3a2f17;
  --ok: #5fd896;
  --ok-soft: #173326;
  --grass: #1d4a32;
  --grass-line: rgba(255, 255, 255, 0.25);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.45 var(--font-text);
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--accent); text-decoration: none; }
h1, h2, h3 { margin: 0 0 0.5rem; line-height: 1.1; font-stretch: 78%; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: 1.9rem; color: var(--accent); }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.1rem; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.icon { flex: none; vertical-align: -0.2em; }
.num { font-family: var(--font-num); font-weight: 900; font-variant-numeric: tabular-nums; line-height: 0.9; }

.container { max-width: 720px; margin: 0 auto; padding: 14px 16px; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.center { text-align: center; }
.pad { padding: 2rem 0; }
.row { display: flex; align-items: center; gap: 8px; }
.row.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.stack > * + * { margin-top: 12px; }
.between { justify-content: space-between; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- En-tête et navigation ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; padding-top: calc(10px + env(safe-area-inset-top));
  background: var(--c1); color: var(--on-c1);
  border-bottom: 4px solid var(--c2);
}
.brand { font-weight: 800; font-stretch: 75%; color: inherit; font-size: 1.15rem; display: flex; align-items: center; gap: 10px; min-width: 0; }
.team-logo { object-fit: contain; flex: none; }
.topbar-user { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-stretch: 85%; }
.topbar-user a { color: inherit; }
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 20;
  display: flex; background: var(--surface); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 2px 9px; color: var(--muted); font-size: 0.72rem; font-stretch: 85%; font-weight: 600;
  border-top: 3px solid transparent; margin-top: -1px;
}
.tabbar a.active { color: var(--accent); border-top-color: var(--accent); }

/* ---------- Blocs ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px;
}
.card + .card { margin-top: 12px; }
.card.link { display: flex; align-items: center; gap: 8px; color: inherit; font-weight: 600; }
.card-title { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.card-title h3 { margin: 0; }
.section-title { margin: 22px 0 8px; font-size: 1.05rem; font-weight: 800; font-stretch: 78%; color: var(--ink); }

/* ---------- Boutons ---------- */
button, .btn {
  font: inherit; font-weight: 700; font-stretch: 85%; cursor: pointer; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--ink);
  padding: 10px 14px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
button:disabled { opacity: 0.5; cursor: default; }
button:active { transform: translateY(1px); }
.btn-primary { background: var(--c1); border-color: var(--c1); color: var(--on-c1); }
[data-theme="dark"] .btn-primary { background: var(--c-light); border-color: var(--c-light); color: var(--on-light); }
.btn-danger { background: var(--danger-soft); border-color: transparent; color: var(--danger); }
.btn-warn { background: var(--warn-soft); border-color: transparent; color: var(--warn); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-big { min-height: 56px; font-size: 1.1rem; }
.btn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }

.seg { display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { border: 0; border-radius: 999px; min-height: 34px; padding: 4px 12px; background: transparent; font-size: 0.9rem; }
.seg button.on { background: var(--surface); color: var(--ok); box-shadow: inset 0 0 0 2px var(--ok); }
.seg button.on.absent { color: var(--danger); box-shadow: inset 0 0 0 2px var(--danger); }
.seg button.on.maybe { color: var(--warn); box-shadow: inset 0 0 0 2px var(--warn); }
.seg.neutral button.on { color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }

/* ---------- Formulaires ---------- */
label { display: block; font-size: 0.88rem; font-weight: 600; font-stretch: 85%; color: var(--muted); margin-bottom: 4px; }
input, select, textarea {
  font: inherit; width: 100%; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); min-height: 44px;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
input[type="checkbox"] { width: 22px; height: 22px; min-height: 0; accent-color: var(--c1); }
input[type="color"] { padding: 2px; width: 56px; height: 44px; cursor: pointer; }
.field { margin-bottom: 14px; }
.check { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1rem; font-weight: 500; margin: 10px 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 480px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Pastilles, avatars ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px;
  font-size: 0.78rem; font-weight: 700; font-stretch: 85%; background: var(--surface-2); color: var(--muted); white-space: nowrap;
}
.badge.green { background: var(--ok-soft); color: var(--ok); }
.badge.red { background: var(--danger-soft); color: var(--danger); }
.badge.amber { background: var(--warn-soft); color: var(--warn); }
.badge.club { background: var(--c1); color: var(--on-c1); }
.badge.live { background: var(--led-red); color: #fff; }
.badge.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.4s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.avatar {
  border-radius: 50%; object-fit: cover; background: var(--surface-2); flex: none;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-stretch: 80%; color: var(--muted);
}

/* ---------- Listes ---------- */
.list { list-style: none; margin: 0; padding: 0; }
.list > li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.list > li:last-child { border-bottom: 0; }

.tabs { display: flex; gap: 0; overflow-x: auto; margin: 14px 0; border-bottom: 2px solid var(--line); scrollbar-width: none; }
.tabs button {
  flex: none; min-height: 42px; border: 0; border-radius: 0; background: transparent; color: var(--muted);
  padding: 6px 14px; margin-bottom: -2px; border-bottom: 3px solid transparent;
}
.tabs button.on { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- Bandeau du score (couleur du club, liseré de la couleur secondaire) ---------- */
.scoreband {
  position: relative; overflow: hidden;
  background: var(--c1); color: var(--on-c1);
  border-radius: var(--radius); padding: 14px 16px 16px;
  border-bottom: 4px solid var(--c2);
}
.scoreband .sb-team { display: flex; align-items: center; gap: 8px; font-weight: 800; font-stretch: 75%; font-size: 1rem; }
.scoreband .sb-score { display: flex; align-items: baseline; gap: 12px; margin-top: 8px; }
.scoreband .sb-us { font-size: 5.2rem; }
.scoreband .sb-them { font-size: 3rem; opacity: 0.6; }
.scoreband .sb-vs { font-size: 1.1rem; font-weight: 700; font-stretch: 80%; opacity: 0.8; }
.scoreband .sb-meta { margin-top: 8px; font-stretch: 80%; font-size: 0.95rem; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.scoreband .sb-clock { font-size: 2.4rem; }
.scoreband .sb-clock.paused { opacity: 0.55; }
.scoreband a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.scoreband .sb-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.scoreband .sb-actions .btn, .scoreband .sb-actions button {
  background: color-mix(in oklab, var(--on-c1) 14%, transparent); color: var(--on-c1); border-color: transparent;
}
.scoreband .sb-actions .sb-main { background: var(--c2); color: var(--on-c2); }

/* ---------- Panneau du 4e arbitre ---------- */
.sub-board {
  background: var(--board); color: #fff; border-radius: var(--radius); padding: 12px 14px; margin: 12px 0;
  display: flex; flex-direction: column; gap: 10px;
}
.sub-board.due { box-shadow: 0 0 0 3px var(--led-red); }
.sub-board .sb-head { display: flex; justify-content: space-between; align-items: baseline; font-stretch: 80%; font-weight: 700; }
.sub-board .sb-count { font-family: var(--font-num); font-weight: 900; font-size: 1.6rem; color: var(--c-light); }
.sub-board .pair { display: grid; grid-template-columns: auto auto 1fr; gap: 12px; align-items: center; }
.led { font-family: var(--font-num); font-weight: 900; font-size: 2.6rem; line-height: 1; min-width: 1.6ch; text-align: center; }
.led.out { color: var(--led-red); }
.led.in { color: var(--led-green); }
.sub-board .names { font-size: 0.9rem; font-stretch: 85%; line-height: 1.35; }
.sub-board select { background: #23262e; color: #fff; border-color: #343844; min-height: 38px; padding: 6px 8px; }
.sub-board .sb-edit { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sub-board button { background: #23262e; color: #fff; border-color: #343844; }
.sub-board .btn-primary { background: var(--led-green); border-color: var(--led-green); color: #0d2016; }
.next-sub { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: 0.92rem; font-stretch: 85%; margin: 12px 0; }

/* ---------- Joueurs et barres d'équilibre du temps de jeu ---------- */
.player-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.player-row:last-child { border-bottom: 0; }
.player-row .shirt { font-family: var(--font-num); font-weight: 900; font-size: 1.5rem; width: 2ch; text-align: center; color: var(--accent); flex: none; }
.player-row.off .shirt { color: var(--muted); }
.player-row .who { flex: 1; min-width: 0; }
.player-row .name { font-weight: 600; display: flex; gap: 6px; align-items: center; }
.player-row .times { text-align: right; font-variant-numeric: tabular-nums; font-size: 0.92rem; font-weight: 700; }
.player-row .times .muted { font-weight: 400; font-size: 0.78rem; }
.pt-bar { position: relative; height: 6px; background: var(--surface-2); border-radius: 3px; margin-top: 5px; }
.pt-bar .fill { height: 100%; border-radius: 3px; background: var(--accent); max-width: 100%; }
.player-row.off .pt-bar .fill { background: color-mix(in oklab, var(--accent) 45%, var(--surface-2)); }
.pt-bar .fair { position: absolute; top: -4px; width: 2px; height: 14px; background: var(--ink); border-radius: 1px; }
.legend { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--muted); }
.legend i { display: inline-block; width: 2px; height: 12px; background: var(--ink); }

/* ---------- Déroulé ---------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); align-items: center; }
.timeline li:last-child { border-bottom: 0; }
.timeline .min { width: 40px; flex: none; font-family: var(--font-num); font-weight: 900; font-size: 1.25rem; color: var(--accent); }
.timeline .ev { display: flex; align-items: center; gap: 8px; }
.timeline .ev .icon { color: var(--muted); }
.timeline .ev.goal .icon { color: var(--ok); }
.timeline .ev.against .icon { color: var(--danger); }
.in-txt { color: var(--ok); font-weight: 700; }
.out-txt { color: var(--danger); font-weight: 700; }

/* ---------- Liste des matchs (calendrier de club) ---------- */
.match-row {
  display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.match-row + .match-row { margin-top: 10px; }
.date-block {
  width: 66px; flex: none; background: var(--c1); color: var(--on-c1);
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 0; text-align: center;
}
.date-block.alt { background: var(--c2); color: var(--on-c2); }
.date-block.past { background: var(--surface-2); color: var(--muted); }
.date-block .d { font-family: var(--font-num); font-weight: 900; font-size: 2.1rem; line-height: 0.9; }
.date-block .m { font-size: 0.78rem; font-stretch: 80%; font-weight: 700; }
.match-row .mr-body { flex: 1; min-width: 0; padding: 10px 12px; }
.match-row .mr-link { color: inherit; display: block; }
.match-row .mr-title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.match-row .mr-title h2 { margin: 0; font-size: 1.2rem; }
.match-row .mr-score { font-size: 1.9rem; color: var(--accent); }
.match-row .mr-meta { color: var(--muted); font-size: 0.85rem; font-stretch: 88%; margin-top: 2px; }
.match-row .mr-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.match-row .mr-presence { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

/* ---------- Terrain avec placement libre ---------- */
.pitch-board {
  position: relative; width: 100%; max-width: 420px; margin: 0 auto; aspect-ratio: 68 / 95;
  background: var(--grass); border-radius: var(--radius); overflow: hidden;
  background-image: repeating-linear-gradient(180deg, transparent 0 10%, rgba(255, 255, 255, 0.04) 10% 20%);
}
.pb-half { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--grass-line); }
.pb-circle { position: absolute; left: 50%; top: 50%; width: 26%; aspect-ratio: 1; border: 2px solid var(--grass-line); border-radius: 50%; transform: translate(-50%, -50%); }
.pb-box { position: absolute; left: 25%; width: 50%; height: 13%; border: 2px solid var(--grass-line); }
.pb-box-top { top: -2px; }
.pb-box-bottom { bottom: -2px; }
.pb-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; }
.pb-token {
  position: absolute; transform: translate(-50%, -50%); z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 3px; width: 74px;
  color: #fff; font-size: 0.74rem; font-weight: 700; font-stretch: 85%; text-align: center;
}
.pb-token .ellipsis { max-width: 74px; background: rgba(0, 0, 0, 0.45); border-radius: 5px; padding: 0 5px; }
.pb-token .avatar { border: 3px solid var(--c1); box-sizing: content-box; }
.pb-token.gk .avatar { border-color: var(--c2); }
.pitch-board.editable .pb-token { cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.pitch-board.editable .pb-token img { pointer-events: none; }
.pb-token.dragging { z-index: 5; cursor: grabbing; transform: translate(-50%, -50%) scale(1.12); }

/* ---------- Notes ---------- */
.rate-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; margin-top: 6px; }
.rate-grid button { min-height: 38px; padding: 0; font-family: var(--font-num); font-size: 1.15rem; font-weight: 900; border-radius: 8px; }
.rate-grid button.on { background: var(--c1); color: var(--on-c1); border-color: var(--c1); }
.rate-avg { font-size: 2rem; color: var(--accent); }

/* ---------- Classements ---------- */
.rank { font-family: var(--font-num); font-weight: 900; font-size: 1.6rem; width: 2ch; text-align: center; color: var(--muted); flex: none; }
.rank.top { color: var(--accent); }
.rank-val { font-size: 2rem; color: var(--ink); }

/* ---------- Tableaux ---------- */
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { padding: 8px 6px; text-align: left; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 700; font-stretch: 85%; font-size: 0.82rem; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--font-text); font-weight: 600; line-height: 1.45; }
.table-wrap { overflow-x: auto; }

/* ---------- Vidéos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.video-tile {
  background: var(--board); color: #fff; border: 0; border-radius: 10px; padding: 12px; cursor: pointer;
  display: flex; flex-direction: column; gap: 4px; text-align: left; min-height: 96px; align-items: flex-start;
}
.video-tile .vt-min { font-family: var(--font-num); font-weight: 900; font-size: 1.5rem; color: var(--c-light); line-height: 1; }
.video-tile .muted { color: #a9b0bb; }
.video-tile button { background: transparent; color: #ffb4aa; border: 0; padding: 0; min-height: 0; font-size: 0.85rem; margin-top: auto; }
video { width: 100%; max-height: 70vh; border-radius: 10px; background: #000; }

/* ---------- Stats ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--surface); padding: 12px 10px; }
.stat .v { font-family: var(--font-num); font-weight: 900; font-size: 2.2rem; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.stat .l { font-size: 0.8rem; font-weight: 600; font-stretch: 85%; color: var(--muted); margin-top: 4px; }

.profile-head { display: flex; align-items: center; gap: 14px; }
.profile-head .big-shirt { font-family: var(--font-num); font-weight: 900; font-size: 4rem; line-height: 0.8; color: var(--accent); margin-left: auto; }

/* ---------- Dialogues ---------- */
dialog {
  border: 0; border-radius: 16px; background: var(--surface); color: var(--ink);
  padding: 0; width: min(520px, calc(100vw - 24px)); max-height: calc(100vh - 40px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
dialog::backdrop { background: rgba(10, 12, 16, 0.6); }
.dlg-head { padding: 16px 16px 0; font-weight: 800; font-stretch: 78%; font-size: 1.3rem; display: flex; align-items: center; gap: 8px; }
.dlg-body { padding: 12px 16px; overflow-y: auto; max-height: calc(100vh - 180px); }
.dlg-foot { padding: 0 16px 16px; display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Notifications et envois ---------- */
.toasts { position: fixed; top: calc(64px + env(safe-area-inset-top)); left: 0; right: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; }
.toast { background: var(--board); color: #fff; padding: 10px 16px; border-radius: 10px; max-width: 90vw; font-size: 0.95rem; font-weight: 600; border-left: 4px solid var(--led-green); }
.toast.error { border-left-color: var(--led-red); }
.uploads { position: fixed; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 30; display: flex; flex-direction: column; gap: 6px; max-width: 520px; margin: 0 auto; }
.upload-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 0.9rem; }
.progress { height: 6px; background: var(--surface-2); border-radius: 3px; overflow: hidden; margin-top: 6px; }
.progress > div { height: 100%; background: var(--accent); width: 0; transition: width 0.2s; }

/* ---------- Connexion ---------- */
.login-wrap { max-width: 380px; margin: 8vh auto 0; }
.login-hero {
  position: relative; overflow: hidden; isolation: isolate; background: var(--c1); color: var(--on-c1);
  border-radius: var(--radius); padding: 22px 18px; margin-bottom: 14px; display: flex; align-items: center; gap: 14px;
}
.login-hero::before { content: ""; position: absolute; z-index: -1; top: -50%; left: 62%; width: 54px; height: 220%; background: var(--c2); transform: rotate(28deg); }
.login-hero h1 { color: inherit; margin: 0; font-size: 1.8rem; }
.empty { padding: 24px; text-align: center; color: var(--muted); }

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