/* Foot Culture — style « appli de scores » : l'info d'abord, couleurs des clubs, vert pelouse,
   cartons jaune/rouge pour les retours, bandeau de score télé pour les quiz. */

:root {
  --paper: #edf0ee;
  --card: #ffffff;
  --ink: #101614;
  --ink-2: #4e5a55;
  --ink-3: #87928d;
  --rule: #dde2df;
  --turf: #127a45;
  --turf-press: #0d6338;
  --turf-soft: #e2f1e7;
  --yellow: #f5c400;
  --red: #d52b2b;
  --red-soft: #fbe5e5;
  --bug: #000000;
  --radius: 12px;
  --tabbar: 62px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --text: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1312; --card: #181d1b; --ink: #eef2f0; --ink-2: #a5b0ab; --ink-3: #6f7a75; --rule: #29312d;
    --turf: #2aa565; --turf-press: #228a54; --turf-soft: #16301f; --red-soft: #3a1717; --bug: #000;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body { background: var(--paper); color: var(--ink); font: 400 16px/1.45 var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
input { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--turf); outline-offset: 2px; }
.ic { flex: none; display: block; }

#app { max-width: 560px; margin: 0 auto; min-height: 100dvh; padding: calc(var(--safe-t) + 10px) 16px calc(var(--tabbar) + var(--safe-b) + 28px); }
body.no-tabbar #app { padding-bottom: calc(var(--safe-b) + 20px); }
body.no-tabbar .tabbar { display: none; }

/* ------------------------------------------------------------ onglets du bas */
.tabbar { position: fixed; inset: auto 0 0 0; z-index: 20; height: calc(var(--tabbar) + var(--safe-b)); padding-bottom: var(--safe-b); background: var(--card); border-top: 1px solid var(--rule); display: flex; justify-content: center; }
.tabbar-inner { display: flex; width: 100%; max-width: 560px; }
.tab { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--ink-3); font-size: 12px; font-weight: 600; }
.tab svg { width: 24px; height: 24px; }
.tab.on { color: var(--turf); }
.tab.on::before { content: ""; position: absolute; top: -1px; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--turf); }

/* ------------------------------------------------------------ titres */
.topbar { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; min-height: 44px; }
.topbar-title { flex: 1; font-size: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-spacer { width: 40px; }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--rule); flex: none; }
.icon-btn:active { background: var(--rule); }

.page-title { font-size: 38px; margin: 6px 0 4px; }
.lede { color: var(--ink-2); margin-bottom: 18px; max-width: 34em; }
.h2 { display: flex; justify-content: space-between; align-items: baseline; margin: 26px 0 10px; }
.h2 h2 { font-size: 22px; }
.h2 a { color: var(--turf); font-weight: 600; font-size: 15px; }

/* ------------------------------------------------------------ blocs */
.panel { background: var(--card); border-radius: var(--radius); border: 1px solid var(--rule); overflow: hidden; }
.panel-pad { padding: 14px 16px; }
.prose { color: var(--ink); max-width: 36em; }
.prose p + p { margin-top: 10px; }
.note { color: var(--ink-3); font-size: 13px; margin-top: 8px; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }

/* « Sais-tu ? » : bordure jaune, comme un carton */
.fact { background: var(--card); border: 1px solid var(--rule); border-left: 5px solid var(--yellow); border-radius: 6px var(--radius) var(--radius) 6px; padding: 14px 16px; }
.fact + .fact { margin-top: 10px; }
.fact h3 { font-size: 19px; margin-bottom: 4px; }
.fact a { display: inline-block; margin-top: 8px; color: var(--turf); font-weight: 600; font-size: 15px; }

/* ------------------------------------------------------------ boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 20px; border-radius: 10px; background: var(--card); border: 1px solid var(--rule); font-weight: 600; font-size: 16px; }
.btn:active { background: var(--rule); }
.btn-primary { background: var(--turf); border-color: var(--turf); color: #fff; }
.btn-primary:active { background: var(--turf-press); }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; gap: 10px; margin-top: 16px; }
.btn-row > * { flex: 1; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link { color: var(--turf); font-weight: 600; }

/* ------------------------------------------------------------ listes */
.row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; min-height: 58px; border-top: 1px solid var(--rule); width: 100%; }
.panel > .row:first-child, .panel > :first-child .row:first-child { border-top: 0; }
a.row:active, button.row:active { background: var(--paper); }
.row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.row-title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 6px; }
.row-sub { font-size: 14px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-no { width: 22px; text-align: right; font: 700 17px var(--display); color: var(--ink-3); font-variant-numeric: tabular-nums; flex: none; }
.row-val { font: 700 22px var(--display); font-variant-numeric: tabular-nums; }
.row-end { color: var(--ink-3); }
.row-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--turf-soft); color: var(--turf); flex: none; }

.crest { position: relative; flex: none; width: var(--s); height: var(--s); border-radius: 50% 50% 46% 46% / 40% 40% 60% 60%; overflow: hidden; display: grid; place-items: center; background: var(--c1); box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.12); }
.crest::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: var(--c2); }
.crest b { position: relative; z-index: 1; font: 700 calc(var(--s) * .36) / 1 var(--display); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.45); margin-top: -12%; }
.avatar { position: relative; flex: none; width: var(--s); height: var(--s); border-radius: 50%; overflow: hidden; background: var(--paper); border: 1px solid var(--rule); display: grid; place-items: center; font: 700 calc(var(--s) * .36) var(--display); color: var(--ink-3); }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.flag { line-height: 1; }

.tag { display: inline-flex; align-items: center; gap: 2px; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 4px; background: var(--paper); color: var(--ink-2); flex: none; }
.tag-cap { background: var(--ink); color: var(--card); }
.tag-star { background: none; color: #c79a00; padding: 0; }
.tag-pep { background: var(--turf-soft); color: var(--turf); }

/* ------------------------------------------------------------ onglets de page (soulignés) */
.tabs { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--rule); margin: 0 -16px 16px; padding: 0 16px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; padding: 12px 0 10px; font-weight: 600; color: var(--ink-3); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--ink); border-color: var(--turf); }

/* ------------------------------------------------------------ fiche (liste clé / valeur) */
.dl .row { min-height: 52px; align-items: center; }
.dl .k { width: 112px; flex: none; color: var(--ink-2); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.dl .k .ic { color: var(--ink-3); }
.dl .v { flex: 1; min-width: 0; font-weight: 600; text-align: right; }
.dl a.row .v { color: var(--turf); }

/* ------------------------------------------------------------ accueil */
.home-top { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 16px; }
.wordmark { font: 800 30px/1 var(--display); letter-spacing: -.01em; }
.wordmark span { color: var(--turf); }
.streak { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 8px; background: var(--card); border: 1px solid var(--rule); font: 700 18px var(--display); }
.streak .ic { color: var(--ink-3); }
.streak.on .ic { color: #e07a00; }
.level-line { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
.level-line b { color: var(--ink); font-weight: 600; }
.meter { height: 6px; border-radius: 3px; background: var(--rule); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--turf); }

/* La « affiche » du défi du jour, présentée comme un match */
.fixture { display: block; margin-top: 18px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.fixture-head { display: flex; justify-content: space-between; padding: 10px 16px; font-size: 14px; color: var(--ink-2); border-bottom: 1px solid var(--rule); }
.fixture-head b { color: var(--ink); font-weight: 600; }
.fixture-body { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 18px 16px 8px; gap: 10px; }
.side { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-weight: 600; font-size: 15px; }
.side .me { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--turf); color: #fff; font: 700 20px var(--display); }
.side .them { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--card); }
.score { font: 800 46px/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.score.vs { font-size: 26px; color: var(--ink-3); font-weight: 700; }
.fixture-foot { padding: 8px 16px 16px; }
.dots { display: flex; gap: 4px; justify-content: center; margin: 2px 0 14px; }
.dots i { width: 18px; height: 6px; border-radius: 2px; background: var(--rule); }
.dots i.g { background: var(--turf); }
.dots i.r { background: var(--red); }

.crest-strip { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 4px; }
.crest-strip::-webkit-scrollbar { display: none; }
.crest-strip a { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 64px; flex: none; font-size: 13px; font-weight: 600; text-align: center; line-height: 1.15; }
.crest-strip .add { width: 48px; height: 48px; border-radius: 50%; border: 1.5px dashed var(--ink-3); display: grid; place-items: center; color: var(--ink-2); font-size: 24px; }

.mini-table .row { min-height: 50px; }
.mini-table .pos { width: 18px; font: 700 17px var(--display); color: var(--ink-3); text-align: center; }
.mini-table .pts { font: 700 19px var(--display); font-variant-numeric: tabular-nums; }
.league-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px 8px; font-weight: 600; }
.league-head .flag { font-size: 18px; }
.league-head .row-end { margin-left: auto; }

/* ------------------------------------------------------------ fiche club */
.club-band { margin: calc(-10px - var(--safe-t)) -16px 0; padding: calc(var(--safe-t) + 10px) 16px 20px; background: var(--c1); color: #fff; position: relative; }
.club-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--c2); }
.club-band .icon-btn { background: rgba(0,0,0,.22); border-color: transparent; color: #fff; }
.club-band .bar { display: flex; justify-content: space-between; align-items: center; }
.club-band .who { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.club-band h1 { font-size: 40px; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.club-band .sub { opacity: .92; font-size: 15px; margin-top: 2px; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.club-band .crest { box-shadow: 0 0 0 3px rgba(255,255,255,.85); }
.fav { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 10px; background: rgba(0,0,0,.22); color: #fff; font-weight: 600; font-size: 15px; }
.fav.on { background: #fff; color: var(--ink); }
.club-band + .tabs { margin-top: 0; background: var(--card); }
.legend { padding: 12px 16px; border-top: 1px solid var(--rule); }
.legend:first-child { border-top: 0; }
.legend b { display: block; font-weight: 600; }
.legend span { color: var(--ink-2); font-size: 15px; }
.honours { list-style: none; margin: 0; padding: 0; }
.honours li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 16px; border-top: 1px solid var(--rule); }
.honours li:first-child { border-top: 0; }
.honours .ic { color: #c79a00; margin-top: 2px; }
.results .row { display: grid; grid-template-columns: 1fr 64px 1fr; min-height: 46px; }
.results .h { text-align: right; }
.results .me { font-weight: 600; }
.results .sc { text-align: center; font: 700 19px var(--display); font-variant-numeric: tabular-nums; border-radius: 6px; padding: 2px 0; background: var(--paper); }
.results .sc.w { background: var(--turf); color: #fff; }
.results .sc.l { background: var(--red); color: #fff; }

/* ------------------------------------------------------------ fiche joueur */
.player-head { display: flex; gap: 16px; align-items: center; margin: 4px 0 18px; }
.player-head h1 { font-size: 34px; }
.player-head .sub { color: var(--ink-2); margin-top: 4px; }
.player-head .tags { display: flex; gap: 6px; margin-top: 8px; }

/* ------------------------------------------------------------ classement */
.table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table th { font-size: 13px; font-weight: 600; color: var(--ink-3); text-align: right; padding: 10px 8px 6px; }
.table th.l { text-align: left; }
.table td { padding: 8px; border-top: 1px solid var(--rule); text-align: right; font-size: 15px; }
.table td.pos { width: 34px; text-align: center; font: 700 17px var(--display); color: var(--ink-2); position: relative; }
.table td.club { text-align: left; }
.table td.club a { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.table td.pts { font: 700 19px var(--display); }
.table tr.eu td.pos::before, .table tr.rel td.pos::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 2px; }
.table tr.eu td.pos::before { background: var(--turf); }
.table tr.rel td.pos::before { background: var(--red); }
.table tr.me td { background: var(--turf-soft); }

/* ------------------------------------------------------------ recherche */
.search { position: relative; display: block; margin-bottom: 16px; }
.search input { width: 100%; height: 48px; border-radius: 10px; border: 1px solid var(--rule); background: var(--card); padding: 0 14px 0 44px; outline: none; }
.search input:focus { border-color: var(--turf); }
.search .ic { position: absolute; left: 14px; top: 13px; color: var(--ink-3); }

/* ------------------------------------------------------------ quiz : bandeau de score télé */
.bug-wrap { position: sticky; top: 0; z-index: 5; margin: calc(-10px - var(--safe-t)) -16px 18px; padding: calc(var(--safe-t) + 10px) 16px 10px; background: var(--paper); }
.bug { display: flex; align-items: stretch; height: 44px; border-radius: 8px; overflow: hidden; background: var(--bug); color: #fff; font-family: var(--display); }
.bug .quit { width: 44px; display: grid; place-items: center; color: #fff; border-right: 1px solid rgba(255,255,255,.15); }
.bug .label { flex: 1; display: flex; align-items: center; padding: 0 12px; font-weight: 600; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bug .q { display: flex; align-items: center; padding: 0 12px; background: var(--turf); font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.bug .sc { display: flex; align-items: center; gap: 6px; padding: 0 14px; font-weight: 800; font-size: 24px; font-variant-numeric: tabular-nums; }
.bug .sc i { width: 6px; height: 16px; border-radius: 1px; }
.timeline { display: flex; gap: 3px; margin-top: 8px; }
.timeline i { flex: 1; height: 4px; border-radius: 2px; background: var(--rule); }
.timeline i.g { background: var(--turf); }
.timeline i.r { background: var(--red); }
.timeline i.now { background: var(--ink-3); }

.q-kind { display: flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.q-text { font-size: 30px; line-height: 1.08; margin-bottom: 20px; }
.choices { display: grid; gap: 8px; }
.choice { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 14px; border-radius: 10px; background: var(--card); border: 1.5px solid var(--rule); font-weight: 600; font-size: 17px; }
.choice:active { border-color: var(--ink-3); }
.choice .k { width: 26px; height: 26px; flex: none; border-radius: 6px; display: grid; place-items: center; font: 700 15px var(--display); color: var(--ink-2); background: var(--paper); }
.choice.good { border-color: var(--turf); background: var(--turf-soft); }
.choice.good .k { background: var(--turf); color: #fff; }
.choice.bad { border-color: var(--red); background: var(--red-soft); }
.choice.bad .k { background: var(--red); color: #fff; }
.choices.done .choice:not(.good):not(.bad) { opacity: .45; }
.verdict { margin-top: 16px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 14px 16px; }
.verdict-title { display: flex; align-items: center; gap: 10px; font: 700 22px var(--display); margin-bottom: 6px; }
.verdict-title .card { width: 14px; height: 20px; border-radius: 2px; flex: none; }
.verdict.ok .card { background: var(--turf); }
.verdict.ko .card { background: var(--red); }
.verdict .again { margin-top: 10px; font-size: 14px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.verdict .again i { width: 10px; height: 14px; background: var(--yellow); border-radius: 1.5px; flex: none; }
.mini { display: flex; gap: 12px; align-items: center; margin: 12px -16px -14px; padding: 12px 16px; border-top: 1px solid var(--rule); background: var(--paper); }
.mini .t { font-weight: 600; }
.mini .s { font-size: 14px; color: var(--ink-2); }
.next-bar { position: sticky; bottom: 0; padding: 14px 0 calc(var(--safe-b) + 12px); margin-top: 4px; background: linear-gradient(to bottom, transparent, var(--paper) 30%); }

.final { text-align: center; padding: 18px 0 8px; }
.final .score { font-size: 84px; }
.final h2 { font-size: 28px; margin: 6px 0 4px; }
.final p { color: var(--ink-2); }
.recap .row { align-items: flex-start; min-height: 0; }
.recap .mark { width: 8px; height: 12px; border-radius: 1.5px; margin-top: 6px; flex: none; }

/* Qui suis-je */
.hints { display: grid; gap: 8px; margin-bottom: 14px; }
.hint { display: flex; gap: 12px; align-items: baseline; background: var(--card); border: 1px solid var(--rule); border-radius: 10px; padding: 12px 14px; font-weight: 500; }
.hint b { font: 700 18px var(--display); color: var(--turf); width: 14px; flex: none; }
.guess input { width: 100%; height: 52px; border-radius: 10px; border: 1.5px solid var(--rule); background: var(--card); padding: 0 14px; outline: none; font-weight: 600; }
.guess input:focus { border-color: var(--turf); }
.suggest:not(:empty) { margin-top: 8px; }
.pts-left { text-align: center; color: var(--ink-2); margin-top: 14px; font-size: 15px; }
.pts-left b { font: 700 20px var(--display); color: var(--ink); }

/* Plus ou moins */
.duel { display: grid; gap: 10px; }
.duel-card { width: 100%; background: var(--card); border: 1.5px solid var(--rule); border-radius: var(--radius); padding: 20px 16px; text-align: center; }
.duel-card b { display: block; font: 700 26px var(--display); }
.duel-card span { color: var(--ink-2); font-size: 15px; }
.duel-card .val { font: 800 40px var(--display); margin-top: 6px; font-variant-numeric: tabular-nums; }
.duel-card.good { border-color: var(--turf); background: var(--turf-soft); }
.duel-card.bad { border-color: var(--red); background: var(--red-soft); }
.duel .or { text-align: center; font: 700 18px var(--display); color: var(--ink-3); }

/* ------------------------------------------------------------ bienvenue */
.onb-league { margin-top: 22px; }
.onb-league h2 { font-size: 22px; margin-bottom: 10px; display: flex; gap: 8px; align-items: center; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.pick { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px 10px; border-radius: 10px; background: var(--card); border: 1.5px solid var(--rule); font-size: 14px; font-weight: 600; text-align: center; line-height: 1.15; position: relative; }
.pick.sel { border-color: var(--turf); background: var(--turf-soft); }
.pick.sel::after { content: ""; position: absolute; top: 6px; right: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--turf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat; }
.onb-footer { position: sticky; bottom: 0; padding: 14px 0 calc(var(--safe-b) + 12px); margin-top: 10px; background: linear-gradient(to bottom, transparent, var(--paper) 30%); }

/* ------------------------------------------------------------ divers */
.empty { text-align: center; color: var(--ink-2); padding: 40px 12px; }
.empty .btn { margin-top: 16px; }
.loading { display: grid; place-items: center; padding: 90px 0; }
.spinner { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--rule); border-top-color: var(--turf); animation: spin .8s linear infinite; }
.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar) + var(--safe-b) + 14px); transform: translate(-50%, 12px); background: var(--ink); color: var(--card); padding: 11px 16px; border-radius: 10px; font-weight: 600; font-size: 15px; opacity: 0; transition: .2s; z-index: 50; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.offline { background: var(--card); border: 1px solid var(--rule); border-left: 5px solid var(--yellow); color: var(--ink-2); font-size: 14px; padding: 8px 12px; border-radius: 6px; margin-bottom: 12px; }
.mt { margin-top: 16px; }
.center { text-align: center; }

@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
.row-ico.warn { background: color-mix(in srgb, var(--yellow) 22%, var(--card)); color: color-mix(in srgb, var(--yellow) 45%, var(--ink)); }
