/* ==========================================================================
   Avis interne — feuille de style unique
   Clair par défaut, sombre si le système le demande. Aucune dépendance.
   ========================================================================== */
:root {
  color-scheme: light dark;

  /* fonds : légèrement chauds, moins clinique qu'un gris pur */
  --bg: #f5f4f1;
  --bg-tint: #efeeea;
  --panel: #ffffff;
  --panel-2: #fbfaf8;

  --ink: #16181d;
  --ink-soft: #4a4f59;
  --muted: #7c8290;
  --line: #e6e4df;
  --line-strong: #d6d3cc;

  /* accent : dégradé indigo → violet, pour donner de l'allant */
  --accent: #5b5bf0;
  --accent-2: #8b5cf6;
  --accent-dark: #4442d6;
  --accent-soft: #eeeeff;
  --accent-ring: rgba(91, 91, 240, .18);
  --grad: linear-gradient(135deg, #5b5bf0, #8b5cf6);

  --ok: #0f7f5b;
  --ok-bg: #e3f6ee;
  --ok-line: #b9e5d3;
  --warn: #8a5a06;
  --warn-bg: #fdf3dc;
  --danger: #c4372b;
  --danger-bg: #fdeceb;
  --danger-line: #f3cdc8;

  --media: #14161c;          /* fond derrière vidéos et visuels */

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(20, 22, 30, .05);
  --shadow: 0 1px 3px rgba(20, 22, 30, .05), 0 12px 30px -14px rgba(20, 22, 30, .16);
  --shadow-lg: 0 2px 6px rgba(20, 22, 30, .06), 0 28px 56px -20px rgba(20, 22, 30, .26);
  --glow: 0 10px 30px -12px rgba(91, 91, 240, .55);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1116;
    --bg-tint: #15181f;
    --panel: #191d25;
    --panel-2: #1e222b;

    --ink: #f2f3f6;
    --ink-soft: #c3c7d1;
    --muted: #8d94a3;
    --line: #262b35;
    --line-strong: #333a47;

    --accent: #7b7bff;
    --accent-2: #a78bfa;
    --accent-dark: #6a6aff;
    --accent-soft: #1d2035;
    --accent-ring: rgba(123, 123, 255, .28);

    --ok: #4ade9f;
    --ok-bg: #10281f;
    --ok-line: #1d4636;
    --warn: #fbbf5a;
    --warn-bg: #2a2010;
    --danger: #ff8377;
    --danger-bg: #2c1614;
    --danger-line: #4a2320;

    --media: #05070b;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 1px 3px rgba(0, 0, 0, .4), 0 14px 32px -16px rgba(0, 0, 0, .8);
    --shadow-lg: 0 2px 8px rgba(0, 0, 0, .45), 0 30px 60px -22px rgba(0, 0, 0, .9);
    --glow: 0 12px 34px -14px rgba(123, 123, 255, .6);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1100px 520px at 12% -8%, var(--accent-soft), transparent 62%),
    radial-gradient(900px 460px at 100% 0%, rgba(139, 92, 246, .10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font: 16px/1.62 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .45rem; letter-spacing: -.018em; }
h1 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.1rem); font-weight: 760; }
h2 { font-size: 1.25rem; font-weight: 680; }
h3 { font-size: 1.08rem; font-weight: 660; }
h4 { font-size: .95rem; font-weight: 660; }
p { margin: 0 0 .85rem; }
p:last-child { margin-bottom: 0; }

code {
  background: var(--bg-tint); padding: .14em .42em; border-radius: 6px;
  font-size: .88em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

:focus-visible { outline: 3px solid var(--accent-ring); outline-offset: 3px; border-radius: 6px; }

@keyframes monte { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pousse { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ------------------------------------------------------------- en-tête ---- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .85rem clamp(1rem, 3vw, 2rem);
  background: color-mix(in srgb, var(--panel) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 30;
}
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 750; font-size: 1.02rem; color: var(--ink); letter-spacing: -.02em;
}
.brand:hover { text-decoration: none; }
.brand .dot {
  width: 26px; height: 26px; border-radius: 8px; display: block;
  box-shadow: var(--glow);
}
.topnav { display: flex; align-items: center; gap: .85rem; font-size: .92rem; flex-wrap: wrap; }
.topnav a:not(.btn) { color: var(--ink-soft); font-weight: 550; }
.topnav a:not(.btn):hover { color: var(--accent); text-decoration: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1rem, 3vw, 2rem) 4rem; }
.foot {
  text-align: center; color: var(--muted); font-size: .82rem;
  padding: 0 1.5rem 3rem; max-width: 62ch; margin: 0 auto;
}

/* -------------------------------------------------------------- titrage ---- */
.pagehead {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 1.25rem; margin-bottom: 1.9rem;
  animation: monte .32s ease both;
}
.title-row { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.title-row h1 { margin: 0; }
.title-row .badge { position: relative; top: 1px; }
.pagehead .title-row + p { margin: .3rem 0 0; font-size: 1.02rem; color: var(--ink-soft); }
.pagehead h1 + p { margin: .25rem 0 0; font-size: 1.02rem; color: var(--ink-soft); }
.back { margin: 0 0 1.35rem; font-size: .92rem; }
.back a { color: var(--muted); font-weight: 550; }
.back a:hover { color: var(--accent); text-decoration: none; }

.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow);
  padding: 1.5rem clamp(1.1rem, 2.5vw, 1.75rem); margin-bottom: 1.5rem;
  animation: monte .34s ease both;
}
.card.narrow {
  max-width: 452px; margin: clamp(1.5rem, 7vh, 4.5rem) auto; padding: 2rem 1.9rem;
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
}
.card.empty { text-align: center; padding: 3.75rem 1.5rem; }
.card.empty h2 { margin-bottom: .55rem; }

.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.brief { color: var(--ink-soft); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.badge {
  display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .09em;
  text-transform: uppercase; padding: .32rem .6rem; border-radius: 7px;
  background: var(--bg-tint); color: var(--muted);
}
.badge.admin { background: var(--grad); color: #fff; box-shadow: var(--glow); }

/* -------------------------------------------------------------- onglets ---- */
.tabs {
  display: inline-flex; flex-wrap: wrap; gap: .3rem;
  background: var(--bg-tint); padding: 5px; border-radius: 14px;
  border: 1px solid var(--line);
}
.tabs a {
  padding: .55rem 1.05rem; border-radius: 10px; font-size: .93rem; font-weight: 600;
  color: var(--ink-soft); transition: background .15s, color .15s, box-shadow .15s;
}
.tabs a:hover { text-decoration: none; color: var(--ink); background: color-mix(in srgb, var(--panel) 70%, transparent); }
.tabs a.on { background: var(--panel); color: var(--ink); box-shadow: var(--shadow-sm); cursor: default; }
.tabs .count {
  display: inline-block; margin-left: .4rem; padding: 0 .4rem;
  border-radius: 20px; background: var(--bg-tint); color: var(--muted);
  font-size: .76rem; font-weight: 800;
}
.tabs a.on .count { background: var(--accent-soft); color: var(--accent); }

/* ---------------------------------------------------------- formulaires ---- */
label { display: block; font-weight: 640; font-size: .93rem; margin: 1.15rem 0 .4rem; }
label .muted { font-weight: 450; }

input[type=text], input[type=password], input[type=file], textarea, select {
  width: 100%; padding: .78rem .95rem; font: inherit;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--panel-2); color: var(--ink);
  transition: border-color .14s, box-shadow .14s, background .14s;
}
textarea { resize: vertical; min-height: 5.5rem; line-height: 1.55; }
input[type=file] { padding: .62rem .7rem; background: var(--bg-tint); cursor: pointer; }
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-ring); background: var(--panel);
}
::placeholder { color: var(--muted); opacity: .75; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .78rem 1.25rem; border-radius: var(--r-sm);
  border: 1px solid var(--line-strong); background: var(--panel); color: var(--ink);
  font: inherit; font-weight: 640; cursor: pointer; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .12s, box-shadow .16s, background .14s, border-color .14s;
}
.btn:hover { background: var(--panel-2); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn.primary {
  background: var(--grad); border-color: transparent; color: #fff; box-shadow: var(--glow);
}
.btn.primary:hover { filter: brightness(1.07); box-shadow: 0 14px 34px -12px rgba(91, 91, 240, .7); }
.btn.big { padding: 1rem 1.7rem; font-size: 1.04rem; border-radius: 13px; }
.btn.small { padding: .46rem .8rem; font-size: .875rem; font-weight: 580; }
.btn.wide { width: 100%; }
.btn.danger { color: var(--danger); border-color: var(--danger-line); background: var(--panel); }
.btn.danger:hover { background: var(--danger-bg); }
form > .btn.primary { margin-top: 1.35rem; }
.linkbtn {
  border: none; background: none; padding: 0; font: inherit; color: var(--accent);
  cursor: pointer; text-decoration: underline;
}

.alert {
  display: flex; gap: .7rem; align-items: flex-start;
  background: var(--danger-bg); border: 1px solid var(--danger-line); color: var(--danger);
  padding: .9rem 1.1rem; border-radius: var(--r-sm); font-size: .93rem; margin: 0 0 1.15rem;
  animation: monte .3s ease both;
}
.alert.ok { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok); }
.alert::before {
  content: "!"; font-weight: 900; flex: none;
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem;
  background: color-mix(in srgb, currentColor 16%, transparent);
}
.alert.ok::before { content: "✓"; }

/* --------------------------------------------- liste des comparaisons ---- */
.rows { display: flex; flex-direction: column; gap: 1.6rem; }
.row-poll { margin: 0; padding: 0; overflow: hidden; transition: transform .16s, box-shadow .2s; }
.row-poll:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.row-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; padding: 1.4rem clamp(1.1rem, 2.5vw, 1.75rem) .3rem;
}
.row-head h2 { margin: 0; font-size: 1.3rem; }
.row-head h2 a { color: var(--ink); }
.row-head h2 a:hover { color: var(--accent); text-decoration: none; }
.row-poll .brief { padding: 0 clamp(1.1rem, 2.5vw, 1.75rem); margin: .4rem 0 0; }

.state {
  flex: none; display: inline-flex; align-items: center; gap: .35rem;
  font-size: .82rem; font-weight: 700; padding: .4rem .75rem;
  border-radius: 20px; white-space: nowrap;
}
.state.done { background: var(--ok-bg); color: var(--ok); border: 1px solid var(--ok-line); }
.state.todo { background: var(--warn-bg); color: var(--warn); border: 1px solid color-mix(in srgb, var(--warn) 28%, transparent); }

.strip { display: grid; gap: .85rem; padding: 1.25rem clamp(1.1rem, 2.5vw, 1.75rem) 0; }
.strip:hover { text-decoration: none; }
.strip.cols-1 { grid-template-columns: minmax(0, 1fr); }
.strip.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.strip.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mini {
  position: relative; display: block; aspect-ratio: 16/10; overflow: hidden;
  border-radius: 12px; background: var(--media); border: 2px solid transparent;
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.mini:hover { transform: scale(1.015); box-shadow: var(--shadow); }
.mini img, .mini video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mini img { object-fit: contain; }          /* une couverture portrait reste entière */
.mini video { object-fit: cover; }
.mini.is-video::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(10, 12, 18, .55) no-repeat center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='17' viewBox='0 0 15 17'%3E%3Cpath fill='%23fff' d='M2 1.5l11 7-11 7z'/%3E%3C/svg%3E");
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, .25);
  transition: transform .18s;
}
.mini.is-video:hover::after { transform: scale(1.1); }
.mini-tag {
  position: absolute; top: 9px; left: 9px; z-index: 2;
  background: rgba(10, 12, 18, .7); color: #fff; font-size: .74rem; font-weight: 800;
  width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center;
  backdrop-filter: blur(3px);
}
.mini.picked { border-color: var(--accent); box-shadow: var(--glow); }
.mini-pick {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  background: var(--grad); color: #fff; font-size: .76rem; font-weight: 700;
  text-align: center; padding: .3rem;
}
.row-foot {
  display: flex; flex-wrap: wrap; gap: .7rem; align-items: center;
  padding: 1.4rem clamp(1.1rem, 2.5vw, 1.75rem) 1.5rem;
}

/* ------------------------------------------------- page de comparaison ---- */
.steps {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0 0 1.75rem;
  padding: 0; list-style: none; color: var(--muted); font-size: .93rem;
}
.steps li { display: flex; align-items: center; gap: .5rem; }
.steps b {
  display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%;
  background: var(--bg-tint); color: var(--muted); font-size: .8rem; font-weight: 800;
  border: 1px solid var(--line);
}
.steps li.done { color: var(--ok); }
.steps li.done b { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-line); }
.steps li.now { color: var(--ink); font-weight: 650; }
.steps li.now b { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--glow); }

.compare-form { margin-bottom: 2.25rem; }
.compare { display: grid; gap: 1.6rem; }
.compare.cols-1 { grid-template-columns: minmax(0, 780px); justify-content: center; }
.compare.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.compare.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.slot {
  background: var(--panel); border: 2px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .18s, box-shadow .2s, transform .18s;
  animation: monte .36s ease both;
}
.slot:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.slot.chosen {
  border-color: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-ring), var(--shadow-lg);
}
.slot-media {
  position: relative; background: var(--media); display: grid; place-items: center; min-height: 210px;
}
.slot-media video, .slot-media img { width: 100%; max-height: 62vh; object-fit: contain; display: block; }
.col-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(10, 12, 18, .72); color: #fff; font-weight: 800; font-size: .88rem;
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  backdrop-filter: blur(3px); border: 1px solid rgba(255, 255, 255, .2);
}
.col-tag.inline {
  position: static; display: inline-grid; background: var(--grad); color: #fff;
  margin-right: .55rem; vertical-align: middle; width: 24px; height: 24px;
  font-size: .76rem; border: none; box-shadow: none;
}
.slot-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: .25rem; flex: 1; }
.slot-body h2 { margin: 0; font-size: 1.1rem; }
.slot-body .btn.pick { margin-top: 1.05rem; width: 100%; }
.chosen-flag {
  margin: 1.05rem 0 0; padding: .85rem; text-align: center; border-radius: 12px;
  background: var(--grad); color: #fff; font-weight: 700; box-shadow: var(--glow);
}
.pick-hint { margin: 0 0 1.5rem; font-size: .95rem; }

.commentbox {
  max-width: 820px; margin-inline: auto; scroll-margin-top: 5.5rem;
  border-radius: var(--r-lg);
}
.commentbox .mine { border-top: 1px solid var(--line); margin-top: 1.9rem; padding-top: 1.1rem; }
.comment-grid {
  display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  margin-bottom: .6rem;
}
.comment-field label { margin-top: .7rem; display: flex; align-items: center; }
.comment-field textarea { min-height: 6.5rem; }
.newcomment .row {
  display: flex; align-items: center; justify-content: space-between;
  gap: .9rem; margin-top: 1rem; flex-wrap: wrap;
}
.newcomment .row .btn.primary { margin-top: 0; }
.hint { color: var(--muted); font-size: .88rem; margin: .5rem 0 0; }

/* ------------------------------------------------------------ résultats ---- */
.section-intro { margin: 0 0 1.6rem; }
.exports { display: flex; justify-content: flex-end; margin: .25rem 0 1.6rem; }
/* les trois boutons voyagent ensemble : ils basculent en bloc, jamais un par un */
.exports-group {
  display: inline-flex; gap: .5rem; flex-wrap: nowrap;
  padding: 5px; border-radius: 14px; background: var(--bg-tint); border: 1px solid var(--line);
}

.scores { width: 100%; border-collapse: collapse; margin: 1rem 0 0; }
.scores th, .scores td {
  padding: .8rem .5rem; border-bottom: 1px solid var(--line);
  text-align: left; font-weight: 500; vertical-align: middle;
}
.scores tr:last-child th, .scores tr:last-child td { border-bottom: none; }
.scores th { width: 34%; font-weight: 580; }
.scores .gauge { width: 46%; }
.scores .track {
  display: block; height: 14px; border-radius: 20px; background: var(--bg-tint);
  overflow: hidden; border: 1px solid var(--line);
}
.scores .track span {
  display: block; height: 100%; border-radius: 20px; background: var(--grad);
  transform-origin: left; animation: pousse .5s ease both;
}
.scores .num { text-align: right; white-space: nowrap; }
.scores .num strong { font-size: 1.2rem; font-weight: 750; }
.rtitle { margin: 0; font-size: 1.2rem; }
.rtitle a { color: var(--ink); }

.card h4 { margin: 1.8rem 0 .9rem; color: var(--ink-soft); }

.clist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.clist li {
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 13px; padding: 1rem 1.1rem;
}
.clist li p { margin: .55rem 0 0; color: var(--ink-soft); }
.chead { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; font-size: .9rem; }
.chead time { color: var(--muted); font-size: .82rem; }
.chead .del { margin-left: auto; }
.chead .del button {
  border: none; background: none; color: var(--muted); cursor: pointer;
  font-size: 1rem; padding: .15rem .4rem; border-radius: 7px; line-height: 1;
}
.chead .del button:hover { color: var(--danger); background: var(--danger-bg); }
.anon {
  width: 32px; height: 32px; flex: none; border-radius: 50%;
  background: var(--grad); color: #fff;
  display: grid; place-items: center; font-size: .88rem; font-weight: 800;
}
.tagline {
  font-size: .78rem; color: var(--muted); background: var(--bg-tint);
  padding: .2rem .6rem; border-radius: 20px; border: 1px solid var(--line);
}
.tagline.vote { background: var(--accent-soft); color: var(--accent); border-color: transparent; font-weight: 700; }

/* ---------------------------------------------------------------- admin ---- */
.slots-form {
  display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); margin-top: 1.35rem;
}
.slots-form fieldset {
  border: 1.5px dashed var(--line-strong); border-radius: 14px; padding: 1rem 1.1rem 1.2rem;
  margin: 0; display: flex; flex-direction: column; gap: .65rem; background: var(--bg-tint);
  transition: border-color .16s, background .16s;
}
.slots-form fieldset:hover { border-color: var(--accent); background: var(--accent-soft); }
.slots-form legend { font-size: .86rem; font-weight: 800; padding: 0 .45rem; color: var(--ink-soft); }
.slots-form label { margin: 0; }

.manage {
  border: 1px solid var(--line); border-radius: 14px; margin-bottom: .9rem; background: var(--panel-2);
  transition: border-color .16s;
}
.manage:hover { border-color: var(--line-strong); }
.manage summary {
  cursor: pointer; padding: 1rem 1.15rem; border-radius: 14px;
  display: flex; flex-wrap: wrap; gap: .55rem; align-items: baseline;
}
.manage summary:hover { background: var(--bg-tint); }
.manage[open] summary { border-bottom: 1px solid var(--line); border-radius: 14px 14px 0 0; }
.manage-body {
  display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  padding: 1.35rem 1.15rem;
}
.manage-actions { display: flex; flex-wrap: wrap; gap: .55rem; align-items: flex-start; }
.inlineform { display: flex; flex-direction: column; gap: .35rem; }
.inlineform label { margin: .55rem 0 0; }
.inlineform .btn { align-self: flex-start; margin-top: .8rem; }
form.inline { display: inline; }
.shareurl {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92rem;
  background: var(--bg-tint); cursor: text;
}

/* ----------------------------------------------------------- connexion ---- */
.login { position: relative; overflow: hidden; }
.login .badge { margin-bottom: .9rem; }
.login h1 { margin-bottom: .55rem; }
.login .btn.primary { width: 100%; margin-top: 1.6rem; padding: .95rem; font-size: 1.02rem; }
.login.door-admin::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--grad);
}
.login .switch { margin: 1.6rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line); }

/* --------------------------------------------------------- responsive ---- */
@media (max-width: 900px) {
  .compare.cols-2, .compare.cols-3 { grid-template-columns: minmax(0, 1fr); }
  .slot-media video, .slot-media img { max-height: 48vh; }
  .scores th { width: auto; }
  .scores .gauge { width: 36%; }
}
@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .card { padding: 1.2rem 1.1rem; }
  h1 { font-size: 1.45rem; }
  .row-head h2 { font-size: 1.15rem; }
  .strip.cols-2, .strip.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row-foot .btn { flex: 1 1 auto; }
  .steps { gap: .45rem 1rem; font-size: .88rem; }
}
@media (max-width: 560px) {
  .exports { justify-content: stretch; }
  .exports-group { width: 100%; }
  .exports-group .btn { flex: 1 1 0; }
}
