@font-face { font-family: "Titillium"; src: url("/static/fonts/tw-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Titillium"; src: url("/static/fonts/tw-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Titillium"; src: url("/static/fonts/tw-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Titillium"; src: url("/static/fonts/tw-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --bg: #0b0b0d; --bg2: #141418; --card: #17181d; --line: #25272e; --line2: #33363f;
  --text: #f4f4f6; --muted: #9a9fab; --dim: #636874;
  --red: #e10600; --red2: #ff2a1f;
  --purple: #b36bff; --green: #2fd36b; --yellow: #ffd21f; --blue: #3aa0ff;
  --font: "Titillium", "Segoe UI", system-ui, sans-serif;
  --gut: clamp(14px, 4vw, 56px); --head: 64px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; }
body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); min-height: 100vh; overflow-x: hidden; }
@media (min-width: 960px) { body { padding-bottom: 40px; } }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
.t { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.err { color: var(--red2); }
.ok, .ok-txt { color: var(--green); }

/* barre du haut : transparente sur l'image, noire quand on descend */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 30; display: flex; align-items: center; gap: 18px;
  height: calc(var(--head) + env(safe-area-inset-top)); padding: env(safe-area-inset-top) var(--gut) 0;
  background: linear-gradient(180deg, rgba(0,0,0,.8), rgba(0,0,0,0)); transition: background .3s; }
.top.solid { background: rgba(11, 11, 13, .97); box-shadow: 0 1px 0 var(--line); }
.brand { font-weight: 400; letter-spacing: .14em; font-size: 16px; display: flex; align-items: center; gap: 9px; flex: none; }
.brand b { font-weight: 900; color: var(--red2); }
.topnav { display: none; gap: 20px; align-items: center; }
.topnav a { position: relative; font-size: 15px; color: #d6d8de; white-space: nowrap; transition: color .2s; }
.topnav a:hover { color: #fff; }
.topnav a.on { color: #fff; font-weight: 700; }
.topnav .nbadge { position: static; display: inline-block; margin-left: 5px; vertical-align: 1px; }
@media (min-width: 960px) { .topnav:not(.hidden) { display: flex; } }
@media (max-width: 520px) { .brand-txt { font-size: 14px; } }
.live-pill { margin-left: auto; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 99px;
  background: rgba(47, 211, 107, .14); color: var(--green); border: 1px solid rgba(47, 211, 107, .4); white-space: nowrap; backdrop-filter: blur(6px); }
.live-pill::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  margin-right: 6px; vertical-align: 1px; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.me-link { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #d6d8de; white-space: nowrap; }
.live-pill.hidden + .me-link { margin-left: auto; }
.avatar { width: 32px; height: 32px; border-radius: 6px; display: grid; place-items: center; font-weight: 900; color: #fff; font-size: 16px; }
@media (max-width: 700px) { .me-name { display: none; } }

#view { padding: calc(var(--head) + env(safe-area-inset-top) + 14px) var(--gut) 0; }
#view.has-banner { padding-top: 0; }
#view > :not(.banner):not(.hero):not(.rails):not(.auth-bg) { max-width: 1240px; margin-left: auto; margin-right: auto; }
.loading { color: var(--muted); padding: 40px 0; text-align: center; }

/* navigation du bas (telephone) */
.nav { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(11, 11, 13, .97); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); backdrop-filter: blur(10px); }
.nav a { position: relative; display: grid; justify-items: center; gap: 1px; padding: 8px 0 9px; color: var(--dim); font-size: 12px; font-weight: 600; }
.nav a i { font-style: normal; font-size: 20px; filter: grayscale(1); opacity: .7; }
.nav a.on { color: var(--text); }
.nav a.on i { filter: none; opacity: 1; }
@media (min-width: 960px) { .nav { display: none !important; } }

/* titres */
h1 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; margin: 6px 0 14px; letter-spacing: .01em; text-transform: uppercase; font-style: italic; }
h1 small { display: block; font-size: 15px; font-weight: 400; font-style: normal; text-transform: none; color: #c9ccd4; letter-spacing: 0; margin-top: 4px; }
h2 { font-size: 15px; font-weight: 700; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
  display: flex; align-items: center; gap: 8px; }
h2::before { content: ""; width: 4px; height: 14px; background: var(--red); transform: skewX(-12deg); }
h3 { font-size: 16px; margin: 16px 0 8px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px; margin-bottom: 14px; }
.card.flat { padding: 0; overflow: hidden; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 720px) { .grid2 { grid-template-columns: 1fr; } }

/* ---------- facon Netflix : grande affiche d'accueil ---------- */
.hero { position: relative; margin: 0 calc(-1 * var(--gut)); min-height: min(86vh, 820px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-img, .banner-img, .tile-img, .auth-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-img { animation: zoom 24s ease-out both; }
@keyframes zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(11,11,13,.92) 0%, rgba(11,11,13,.55) 38%, rgba(11,11,13,0) 70%),
  linear-gradient(0deg, var(--bg) 0%, rgba(11,11,13,.6) 22%, rgba(11,11,13,0) 50%); }
.hero-in { position: relative; padding: 0 var(--gut) clamp(40px, 9vh, 110px); max-width: 760px; }
.hero-kicker { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #e6e7ea; }
.hero-title { font-size: clamp(38px, 7vw, 86px); line-height: .95; margin: 12px 0 14px; text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; font-size: 15px; font-weight: 600; color: #e6e7ea; }
.hero-meta .sep { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: #9a9fab; margin: 0 10px; }
.hero-desc { font-size: clamp(15px, 1.4vw, 18px); line-height: 1.45; color: #e6e7ea; margin: 14px 0 22px; text-shadow: 0 2px 12px rgba(0,0,0,.7); }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hbtn { display: inline-flex; align-items: center; font-size: clamp(15px, 1.3vw, 18px); font-weight: 700; padding: 11px 24px; border-radius: 6px; transition: opacity .2s; }
.hbtn:hover { opacity: .82; }
.hbtn.play { background: #fff; color: #000; }
.hbtn.info { background: rgba(110, 112, 120, .55); color: #fff; backdrop-filter: blur(6px); }

/* rangees de vignettes */
.rails { position: relative; margin: -40px calc(-1 * var(--gut)) 0; z-index: 2; }
.rail { margin: 0 0 clamp(22px, 3vw, 40px); }
.rail-head { display: flex; align-items: baseline; gap: 14px; padding: 0 var(--gut); }
.rail-head h2 { font-size: clamp(17px, 1.6vw, 22px); color: #e8e9ec; text-transform: none; letter-spacing: 0; font-weight: 700; margin-bottom: 10px; }
.rail-head h2::before { display: none; }
.rail-more { font-size: 14px; color: var(--muted); font-weight: 600; }
.rail-more:hover { color: #fff; }
.rail-wrap { position: relative; }
.rail-row { display: flex; gap: clamp(8px, .8vw, 12px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut);
  padding: 6px var(--gut) 14px; scrollbar-width: none; }
.rail-row::-webkit-scrollbar { display: none; }
.rail-row .tile { flex: none; width: clamp(230px, 22vw, 340px); scroll-snap-align: start; }
.rail-arr { display: none; position: absolute; top: 6px; bottom: 14px; z-index: 3; width: calc(var(--gut) - 4px); border: 0; cursor: pointer;
  background: rgba(11,11,13,.6); color: #fff; font-size: 40px; font-family: var(--font); opacity: 0; transition: opacity .2s; }
.rail-arr.l { left: 0; } .rail-arr.r { right: 0; }
@media (hover: hover) and (min-width: 960px) { .rail-arr { display: block; } .rail-wrap:hover .rail-arr { opacity: 1; } }
.rail-wrap.at-start .rail-arr.l, .rail-wrap.at-end .rail-arr.r { visibility: hidden; }

.tile { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #1b1c22;
  box-shadow: 0 6px 18px rgba(0,0,0,.35); transition: transform .25s, box-shadow .25s; isolation: isolate; }
.tile-img { transition: transform .5s; z-index: -2; }
.tile-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,0) 70%); }
.tile-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px; }
.tile-txt b { display: block; font-size: clamp(16px, 1.3vw, 19px); font-weight: 900; text-transform: uppercase; font-style: italic; line-height: 1.1; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.tile-txt span b { display: inline; font-size: inherit; font-style: normal; text-transform: none; text-shadow: none; }
.tile-txt span { display: block; font-size: 13px; color: #d4d6dc; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-badge { position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); }
.tile-badge.live { background: var(--green); color: #04140a; }
.tile-badge.red { background: var(--red); }
.tile-badge.green { background: #198a46; }
a.tile:hover { transform: scale(1.04); box-shadow: 0 14px 32px rgba(0,0,0,.6); z-index: 2; }
a.tile:hover .tile-img { transform: scale(1.06); }
a.tile:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }

/* bandeau image en haut des pages */
.banner { position: relative; margin: 0 calc(-1 * var(--gut)) 18px; min-height: clamp(210px, 38vh, 380px); display: flex; align-items: flex-end; overflow: hidden; }
.banner-shade { position: absolute; inset: 0; background:
  linear-gradient(0deg, var(--bg) 0%, rgba(11,11,13,.55) 40%, rgba(11,11,13,.15) 100%),
  linear-gradient(90deg, rgba(11,11,13,.75) 0%, rgba(11,11,13,0) 60%); }
.banner-in { position: relative; width: 100%; max-width: calc(1240px + 2 * var(--gut)); margin: 0 auto; padding: calc(var(--head) + 20px) var(--gut) 6px; }
.banner-in h1 { margin: 0; text-shadow: 0 3px 20px rgba(0,0,0,.6); }

/* fiche des parametres */
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.spec { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 8px; padding: 12px; border-radius: 8px; background: #0f1015; border: 1px solid var(--line); }
.spec i { grid-row: span 2; font-style: normal; font-size: 22px; align-self: center; text-align: center; }
.spec > span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.spec b { font-size: 17px; font-weight: 700; overflow-wrap: anywhere; }
.chips.wrap { flex-wrap: wrap; overflow: visible; }
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.img-slot .sub { font-size: 12px; color: var(--muted); margin: 6px 0; }
.tile.static { box-shadow: none; }

/* connexion : image plein ecran */
body.auth-mode #view { padding-top: 0; }
.auth-bg { position: fixed; z-index: 0; }
.auth { position: relative; z-index: 1; }
.auth-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 40%, rgba(0,0,0,.45), rgba(0,0,0,.88)); }
.flags.big i { height: 20px; width: 30px; }
.flags.big { justify-content: center; margin-bottom: 10px; }

/* boutons, champs */
.btn { font-family: var(--font); font-size: 15px; font-weight: 700; color: var(--text); background: #262a33; border: 1px solid var(--line2);
  border-radius: 8px; padding: 9px 14px; cursor: pointer; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; }
.btn.red { background: var(--red); border-color: var(--red); }
.btn.green { background: #198a46; border-color: #198a46; }
.btn.ghost { background: transparent; }
.btn.small { font-size: 13px; padding: 5px 10px; }
.btn.wide { width: 100%; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row > .grow { flex: 1; min-width: 0; }
label { display: block; font-size: 13px; color: var(--muted); margin: 0 0 10px; }
input, select, textarea { display: block; width: 100%; margin-top: 4px; font-family: var(--font); font-size: 16px; color: var(--text);
  background: #0f1116; border: 1px solid var(--line2); border-radius: 8px; padding: 10px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--red); }
input[type=checkbox] { display: inline-block; width: auto; margin: 0 6px 0 0; accent-color: var(--red); }
input[type=color] { padding: 2px; height: 40px; }
.chk { display: flex; align-items: center; color: var(--text); font-size: 15px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0 10px; }

/* puces / filtres */
.chips { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--muted); background: transparent;
  border: 1px solid var(--line2); border-radius: 99px; padding: 5px 12px; cursor: pointer; white-space: nowrap; }
.chip.on { color: #fff; background: var(--red); border-color: var(--red); }

/* tableau facon chrono */
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-size: 11px; font-weight: 600; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; padding: 8px 8px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 9px 8px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr.me td { background: rgba(225, 6, 0, .08); }
.tbl tr[data-href] { cursor: pointer; }
.tbl .num { text-align: right; }
.pos { width: 34px; font-weight: 900; font-style: italic; text-align: center; color: var(--muted); }
.pos.p1 { color: var(--yellow); } .pos.p2 { color: #d9dde5; } .pos.p3 { color: #e0915a; }
.time { font-weight: 700; font-size: 17px; }
.gap { color: var(--muted); font-size: 13px; }
.sec { font-size: 13px; color: var(--muted); }
.sec.best { color: var(--purple); font-weight: 700; }
.sec.pb { color: var(--green); }
.car { font-size: 12px; color: var(--muted); }
.drv { font-weight: 700; display: flex; align-items: center; gap: 7px; }
.dot { width: 4px; height: 18px; border-radius: 2px; background: var(--dim); flex: none; }
.hide-sm { }
@media (max-width: 560px) { .hide-sm { display: none; } .tbl td { padding: 8px 5px; } .tbl th { padding: 8px 5px; } }

/* grosses tuiles */
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-bottom: 12px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.kpi b { display: block; font-size: 24px; font-weight: 900; font-style: italic; }
.kpi span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* en direct */
.live-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.live-head .track { font-size: 22px; font-weight: 900; font-style: italic; text-transform: uppercase; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 5px; background: #262a33; color: var(--text); }
.tag.green { background: rgba(47, 211, 107, .15); color: var(--green); }
.tag.red { background: rgba(225, 6, 0, .2); color: #ff6b63; }
.tag.purple { background: rgba(179, 107, 255, .16); color: var(--purple); }
.tag.yellow { background: rgba(255, 210, 31, .14); color: var(--yellow); }

/* listes */
.list a, .list .it { display: flex; align-items: center; gap: 10px; padding: 11px 2px; border-bottom: 1px solid var(--line); }
.list > :last-child { border-bottom: 0; }
.list .grow { flex: 1; min-width: 0; }
.list .sub { font-size: 13px; color: var(--muted); }
.arrow::after { content: "›"; color: var(--dim); font-size: 22px; margin-left: 6px; }
.empty { color: var(--muted); padding: 10px 0; }

/* badges */
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.badge { display: flex; gap: 9px; align-items: center; padding: 9px; border-radius: 9px; border: 1px solid var(--line); background: #12141a; }
.badge i { font-style: normal; font-size: 24px; }
.badge b { display: block; font-size: 14px; }
.badge span { font-size: 11px; color: var(--muted); }
.badge.off { opacity: .35; filter: grayscale(1); }

/* duel */
.duel-head { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; text-align: center; }
.duel-head .who { font-weight: 900; font-size: 18px; }
.duel-head .vs { font-weight: 900; font-style: italic; color: var(--red); font-size: 22px; }
.bar-row { display: grid; grid-template-columns: 70px 1fr 1fr 70px; gap: 6px; align-items: center; margin: 7px 0; font-size: 14px; }
.bar-row .l { text-align: right; } .bar-row .r { text-align: left; }
.half { height: 14px; background: #0f1116; border-radius: 3px; position: relative; }
.half i { position: absolute; top: 0; bottom: 0; border-radius: 3px; }
.half.left i { right: 0; background: var(--green); } .half.right i { left: 0; background: var(--green); }

/* graphique */
.chart { width: 100%; height: auto; display: block; }
.chart .grid { stroke: rgba(255,255,255,.07); }
.chart .axis { fill: var(--dim); font-size: 11px; font-family: var(--font); }
.chart .line { fill: none; stroke: var(--red2); stroke-width: 2.2; stroke-linejoin: round; }
.chart .pt { fill: var(--red2); stroke: var(--card); stroke-width: 2; }

/* avis / toasts */
.toast { position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); bottom: calc(84px + env(safe-area-inset-bottom));
  background: #20232b; border: 1px solid var(--line2); border-left: 4px solid var(--green); border-radius: 8px; padding: 10px 14px; max-width: 92vw; font-size: 15px; }
.toast.bad { border-left-color: var(--red); }

/* connexion */
.auth { max-width: 400px; margin: 0 auto; padding-top: 12vh; }
.auth .card { background: rgba(0,0,0,.72); border-color: rgba(255,255,255,.08); backdrop-filter: blur(8px); padding: 22px; }
.auth .logo { font-size: 30px; letter-spacing: .14em; text-align: center; margin-bottom: 20px; }
.auth .logo b { font-weight: 900; }

/* admin */
.tabs { display: flex; gap: 4px; overflow-x: auto; margin-bottom: 12px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tabs button { flex: none; font-family: var(--font); font-size: 15px; font-weight: 700; color: var(--muted); background: none; border: 0; padding: 8px 12px; cursor: pointer; border-bottom: 2px solid transparent; }
.tabs button.on { color: var(--text); border-bottom-color: var(--red); }
pre.logs { background: #08090c; border: 1px solid var(--line); border-radius: 8px; padding: 10px; font-size: 12px; max-height: 50vh; overflow: auto; white-space: pre-wrap; word-break: break-all; }
.copy { display: flex; gap: 6px; margin: 8px 0; }
.copy input { margin: 0; font-size: 13px; }
.notice { border-left: 3px solid var(--yellow); background: rgba(255, 210, 31, .06); padding: 8px 10px; border-radius: 6px; font-size: 14px; margin: 0 0 12px; }
.ev-date { width: 54px; text-align: center; border-radius: 8px; background: #0f1116; border: 1px solid var(--line2); padding: 4px 0; flex: none; }
.ev-date b { display: block; font-size: 22px; font-weight: 900; line-height: 1; }
.ev-date span { font-size: 11px; text-transform: uppercase; color: var(--red2); font-weight: 700; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 12px; }
.sw { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; }
.sw.on { border-color: #fff; }

/* Assetto Transat : drapeaux France / Canada */
.flags { display: flex; gap: 4px; align-items: center; }
.flags i { height: 14px; display: block; border-radius: 2px; background-size: 100% 100%; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.flags .fr { width: 21px; background-image: url(flag-fr.svg?v=4); }
.flags .ca { width: 21px; background-image: url(flag-ca.svg?v=4); }
.nbadge { position: absolute; top: 4px; left: 50%; margin-left: 6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--red); color: #fff; font-size: 11px; font-weight: 900; line-height: 18px; text-align: center; }

/* carte en direct */
.map-wrap { position: relative; background: #0a0b0f; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.map-wrap svg { width: 100%; height: auto; display: block; }
.trk-out { fill: none; stroke: #2a2e38; stroke-width: 22; stroke-linejoin: round; stroke-linecap: round; }
.trk-in { fill: none; stroke: #3c4250; stroke-width: 12; stroke-linejoin: round; stroke-linecap: round; }
.trk-sf { stroke: #fff; stroke-width: 4; }
.car-dot { stroke: #0a0b0f; stroke-width: 3; transition: cx .9s linear, cy .9s linear; }
.car-lbl { font: 700 22px var(--font); fill: #fff; paint-order: stroke; stroke: #0a0b0f; stroke-width: 6px; transition: x .9s linear, y .9s linear; }
.ghost-dot { fill: #6b7180; stroke: #0a0b0f; stroke-width: 2; }
.tower .gauge { display: flex; gap: 2px; width: 46px; height: 8px; }
.tower .gauge i { display: block; height: 100%; border-radius: 2px; }
.tower .spd { font-weight: 700; }

/* telemetrie */
.tl-chart { width: 100%; height: auto; display: block; }
.tl-chart .grid { stroke: rgba(255,255,255,.06); }
.tl-chart .axis { fill: var(--dim); font-size: 11px; font-family: var(--font); }
.tl-chart .la { fill: none; stroke: var(--red2); stroke-width: 1.8; }
.tl-chart .lb { fill: none; stroke: #4fb2ff; stroke-width: 1.8; }
.tl-chart .zero { stroke: rgba(255,255,255,.25); stroke-dasharray: 3 3; }
.tl-chart .cross { stroke: rgba(255,255,255,.5); }
.tl-title { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 8px 0 2px; }
.tl-title b { color: var(--text); font-weight: 700; letter-spacing: 0; text-transform: none; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; margin: 4px 0 8px; }
.legend i { display: inline-block; width: 14px; height: 4px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }

/* chat */
.chat-wrap { display: flex; flex-direction: column; height: calc(100vh - 160px - env(safe-area-inset-bottom)); }
.chat-msgs { flex: 1; overflow-y: auto; padding: 6px 2px; }
.msg { max-width: 82%; margin: 6px 0; display: flex; flex-direction: column; }
.msg .b { background: #20232b; border: 1px solid var(--line2); border-radius: 14px 14px 14px 4px; padding: 7px 11px; font-size: 15px; white-space: pre-wrap; word-wrap: break-word; }
.msg .h { font-size: 12px; color: var(--muted); margin: 0 4px 2px; }
.msg.mine { margin-left: auto; align-items: flex-end; }
.msg.mine .b { background: #5a1210; border-color: #7a1a16; border-radius: 14px 14px 4px 14px; }
.msg .del { font-style: italic; color: var(--dim); }
.chat-in { display: flex; gap: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.chat-in textarea { margin: 0; resize: none; height: 44px; max-height: 120px; }
.unread { background: var(--red); color: #fff; font-size: 12px; font-weight: 900; border-radius: 10px; padding: 1px 8px; }
.online { color: var(--green); font-size: 12px; }
.zones { font-size: 13px; color: var(--muted); }
.zones b { color: var(--text); }
@media (min-width: 960px) { .toast { bottom: 28px; } }
.chat-wrap { height: calc(100vh - var(--head) - 110px - env(safe-area-inset-bottom)); }
@media (min-width: 960px) { .chat-wrap { height: calc(100vh - var(--head) - 70px); } }
input[type=file][hidden] { display: none; }
label.btn { display: inline-block; color: var(--text); }
@media (max-width: 560px) {
  .specs { grid-template-columns: 1fr 1fr; gap: 8px; }
  .spec { grid-template-columns: 1fr; padding: 10px; }
  .spec i { grid-row: auto; text-align: left; font-size: 18px; margin-bottom: 2px; }
  .spec b { font-size: 15px; }
  .hero-meta .sep:first-child { display: none; }
}
@media (max-width: 560px) {
  .tile-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile-grid .tile-txt { padding: 8px 9px; }
  .tile-grid .tile-txt b { font-size: 13px; }
  .tile-grid .tile-txt span { display: none; }
}
#editz { scroll-margin-top: 80px; }
/* traces des circuits */
.tile-trace { position: absolute; z-index: 0; right: 6%; top: 8%; height: 66%; max-width: 58%; object-fit: contain; opacity: .95;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); transition: transform .5s; }
a.tile:hover .tile-trace { transform: scale(1.06) rotate(-2deg); }
.banner-trace { position: absolute; right: max(var(--gut), calc(50% - 620px)); top: calc(var(--head) + 6px); bottom: 26px; height: calc(100% - var(--head) - 32px);
  max-width: 46%; object-fit: contain; opacity: .9; filter: drop-shadow(0 6px 16px rgba(0,0,0,.6)); }
.credits { font-size: 11px; color: var(--dim); margin-top: 18px; }
@media (max-width: 560px) { .banner-trace { opacity: .35; max-width: 70%; } }
/* photo d'accueil avec la voiture a gauche : le texte passe a droite sur grand ecran */
@media (min-width: 900px) {
  .hero-right .hero-in { margin-left: auto; }
  .hero-right .hero-shade { background:
    linear-gradient(270deg, rgba(11,11,13,.94) 0%, rgba(11,11,13,.6) 36%, rgba(11,11,13,0) 62%),
    linear-gradient(0deg, var(--bg) 0%, rgba(11,11,13,.5) 20%, rgba(11,11,13,0) 45%); }
}
@media (max-width: 899px) {
  .hero-right .hero-img { background-position: 30% center; }
  .hero-shade { background: linear-gradient(0deg, var(--bg) 0%, rgba(11,11,13,.85) 38%, rgba(11,11,13,.2) 70%, rgba(11,11,13,.35) 100%); }
}

/* ===================== vocal ===================== */
@media (max-width: 1180px) and (min-width: 960px) { .topnav a[data-nav=courses] { display: none; } }
.nbadge.green { background: var(--green); color: #04140a; }
.v-av { --c: #e10600; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: var(--c); color: #fff; font-weight: 900; font-size: 14px; box-shadow: 0 0 0 2px var(--bg); position: relative; transition: box-shadow .12s; }
.v-av.big { width: 76px; height: 76px; font-size: 32px; box-shadow: none; }
.v-av.muted::after { content: "🔇"; position: absolute; right: -4px; bottom: -4px; font-size: 10px; background: #000; border-radius: 50%; padding: 1px; line-height: 1; }
.v-av.big.muted::after { font-size: 16px; padding: 3px; }
.speaking > .v-av, .v-av.speaking, .speaking .v-ring .v-av { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--green), 0 0 16px rgba(47,211,107,.7); }

/* barre vocale flottante */
.v-dock { position: fixed; z-index: 40; left: 50%; transform: translateX(-50%); bottom: calc(76px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 14px; border-radius: 16px; width: min(560px, calc(100vw - 20px));
  background: rgba(20, 22, 28, .94); border: 1px solid rgba(47,211,107,.35); box-shadow: 0 12px 40px rgba(0,0,0,.6); backdrop-filter: blur(12px);
  animation: vin .25s ease-out; }
@keyframes vin { from { opacity: 0; transform: translate(-50%, 20px); } }
@media (min-width: 960px) { .v-dock { left: auto; right: 24px; transform: none; bottom: 24px; width: auto; max-width: 560px; } @keyframes vin { from { opacity: 0; transform: translateY(20px); } } }
body.in-voice { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
@media (min-width: 960px) { body.in-voice { padding-bottom: 100px; } }
body.in-voice .toast { bottom: calc(150px + env(safe-area-inset-bottom)); }
.v-dock-info { display: flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--text); font-family: var(--font); cursor: pointer; padding: 0; min-width: 0; }
.v-dock-ic { font-size: 20px; }
.v-dock-txt { display: grid; text-align: left; line-height: 1.15; }
.v-st { font-size: 14px; font-weight: 700; white-space: nowrap; }
.v-st.ok { color: var(--green); } .v-st.wait { color: var(--yellow); }
.v-time { font-size: 12px; color: var(--muted); }
.v-dock-avs { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; overflow: hidden; cursor: pointer; padding: 4px; }
.v-more { font-size: 12px; color: var(--muted); font-weight: 700; }
.v-dock-btns { display: flex; gap: 6px; }
.v-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; font-size: 18px; background: #2a2d36; color: #fff; display: grid; place-items: center; transition: background .15s, transform .1s; }
.v-btn:hover { background: #363a45; }
.v-btn:active { transform: scale(.94); }
.v-btn.on { background: #5a1210; box-shadow: inset 0 0 0 2px var(--red); }
.v-btn.red { background: var(--red); }
.v-btn.red:hover { background: var(--red2); }

/* salons */
.v-rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; margin-bottom: 14px; }
.v-room { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 12px; transition: border-color .2s; }
.v-room.here { border-color: rgba(47,211,107,.6); background: linear-gradient(180deg, rgba(47,211,107,.08), var(--card) 60%); }
.v-room-head { display: flex; gap: 12px; align-items: center; }
.v-room-head .grow { flex: 1; } .v-room-head .sub { font-size: 13px; color: var(--muted); }
.v-room-head b { font-size: 18px; font-weight: 900; font-style: italic; text-transform: uppercase; }
.v-room-ic { font-size: 30px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: #0f1015; }
.v-count { font-size: 13px; color: var(--muted); font-weight: 700; }
.v-room-avs { display: flex; flex-wrap: wrap; gap: 6px; min-height: 34px; align-items: center; }
.v-chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 2px; border-radius: 99px; background: #0f1015; font-size: 14px; font-weight: 600; }
.v-chip .v-av { width: 26px; height: 26px; font-size: 12px; }

/* scene : les pilotes du salon */
.v-stage { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.v-tile { background: #0f1015; border: 1px solid var(--line); border-radius: 14px; padding: 18px 12px 12px; text-align: center; display: grid; justify-items: center; gap: 4px; transition: border-color .15s, background .15s; }
.v-tile.speaking { border-color: rgba(47,211,107,.7); background: linear-gradient(180deg, rgba(47,211,107,.12), #0f1015); }
.v-ring { position: relative; margin-bottom: 6px; }
.v-tile.speaking .v-ring::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(47,211,107,.5); animation: vpulse 1s ease-out infinite; }
@keyframes vpulse { from { transform: scale(.92); opacity: 1; } to { transform: scale(1.18); opacity: 0; } }
.v-tile b { font-size: 16px; }
.v-tile-st { font-size: 12px; color: var(--muted); min-height: 16px; }
.v-q { font-size: 11px; font-weight: 700; }
.v-q.ok { color: var(--green); } .v-q.wait { color: var(--yellow); } .v-q.bad { color: var(--red2); }
.v-vol { display: flex; align-items: center; gap: 6px; width: 100%; margin: 6px 0 0; font-size: 14px; }
.v-vol input { margin: 0; padding: 0; accent-color: var(--green); }
.v-alone { grid-column: 1 / -1; color: var(--muted); text-align: center; padding: 24px 10px; border: 1px dashed var(--line2); border-radius: 14px; }
.v-ptt { margin-top: 12px; padding: 16px; font-size: 16px; user-select: none; touch-action: none; }
.v-ptt.down { background: #198a46; border-color: #198a46; }

/* vu-metre du micro */
.v-meter { position: relative; height: 12px; border-radius: 6px; background: #0f1015; border: 1px solid var(--line2); overflow: hidden; margin: 6px 0; }
.v-meter i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #5d6370; transition: width .05s linear; }
.v-meter i.open { background: var(--green); }
.v-meter b { position: absolute; top: -2px; bottom: -2px; width: 3px; background: #fff; border-radius: 2px; }
.v-tips { margin: 0; padding-left: 20px; line-height: 1.6; color: #c9ccd4; font-size: 15px; }
.v-tap { position: fixed; z-index: 70; left: 50%; top: 80px; transform: translateX(-50%); background: var(--green); color: #04140a; border: 0; border-radius: 99px;
  padding: 12px 20px; font: 700 16px var(--font); box-shadow: 0 10px 30px rgba(0,0,0,.5); cursor: pointer; }
#v-settings .form-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
input[type=range] { accent-color: var(--red); }
@media (max-width: 560px) {
  .v-stage { grid-template-columns: 1fr 1fr; gap: 8px; }
  .v-tile { padding: 12px 8px 10px; }
  .v-av.big { width: 56px; height: 56px; font-size: 24px; }
  .v-tile b { font-size: 14px; }
  .v-dock-avs .v-av:nth-child(n+5) { display: none; }
}

/* ===================== chat ===================== */
.chat2 { --ch: calc(100dvh - var(--head) - env(safe-area-inset-top) - 30px - 70px - env(safe-area-inset-bottom));
  display: grid; grid-template-columns: 340px 1fr; height: var(--ch); min-height: 420px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
@media (min-width: 960px) { .chat2 { --ch: calc(100dvh - var(--head) - 50px); } }
body.in-voice .chat2 { --ch: calc(100dvh - var(--head) - env(safe-area-inset-top) - 30px - 150px - env(safe-area-inset-bottom)); }
@media (min-width: 960px) { body.in-voice .chat2 { --ch: calc(100dvh - var(--head) - 120px); } }
.c-side { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; background: #131419; }
.c-side-head { padding: 14px 14px 10px; }
.c-side-head h1 { margin: 0 0 10px; font-size: 26px; }
.c-side-head input { margin: 0; padding: 9px 12px; border-radius: 99px; font-size: 15px; background: #0b0c10; }
.c-list { flex: 1; overflow-y: auto; padding: 0 6px 10px; }
.c-sep { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); padding: 14px 10px 6px; }
.c-th { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 10px; transition: background .15s; }
.c-th:hover { background: #1c1e25; }
.c-th.on { background: #23262f; }
.c-th-txt { flex: 1; min-width: 0; }
.c-th-top { display: flex; justify-content: space-between; gap: 8px; }
.c-th-top b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-th-top span { font-size: 12px; color: var(--dim); white-space: nowrap; }
.c-th-last { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.c-th-last.new { color: var(--text); font-weight: 600; }
.c-unread { background: var(--red); color: #fff; font-size: 11px; font-weight: 900; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 6px; }
.c-av { --c: #5d6370; width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--c); color: #fff; font-weight: 900; font-size: 18px; }
.c-av.gen { background: linear-gradient(135deg, #e10600, #7a0400); font-size: 20px; }
.c-av.big { width: 72px; height: 72px; font-size: 30px; }
.c-av-wrap { position: relative; flex: none; }
.c-dot { position: absolute; right: -1px; bottom: -1px; width: 13px; height: 13px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px #131419; }
.c-dot.v { background: var(--green); animation: pulse 1.6s infinite; }

.c-main { display: flex; flex-direction: column; min-height: 0; min-width: 0; position: relative;
  background: radial-gradient(900px 300px at 70% 0, rgba(225,6,0,.07), transparent 70%), #101116; }
.c-empty { margin: auto; text-align: center; padding: 20px; }
.c-empty span { font-size: 54px; display: block; margin-bottom: 8px; }
.c-empty b { font-size: 18px; }
.c-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(19,20,25,.9); }
.c-head .c-av { width: 40px; height: 40px; font-size: 17px; }
.c-head-txt { flex: 1; min-width: 0; }
.c-head-txt b { font-size: 17px; }
.c-head-sub { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-on { color: var(--green); font-weight: 700; }
.c-back { display: none; font-size: 34px; line-height: 1; padding: 0 6px 4px 0; color: var(--text); }
.c-msgs { flex: 1; overflow-y: auto; padding: 16px 16px 8px; overscroll-behavior: contain; }
.c-start { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 20px 0 26px; color: var(--muted); }
.c-start b { font-size: 18px; color: var(--text); }
.c-day { display: flex; justify-content: center; margin: 14px 0 8px; position: sticky; top: 0; z-index: 1; }
.c-day span { font-size: 12px; font-weight: 700; color: #c9ccd4; background: rgba(35,38,47,.92); padding: 4px 12px; border-radius: 99px; backdrop-filter: blur(6px); }
.c-day span::first-letter { text-transform: uppercase; }
.c-newline { display: flex; align-items: center; gap: 10px; margin: 12px 0; color: var(--red2); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.c-newline::before, .c-newline::after { content: ""; flex: 1; height: 1px; background: rgba(255,42,31,.5); }
.c-msg { display: flex; align-items: flex-end; gap: 8px; margin-top: 10px; }
.c-msg.cont { margin-top: 2px; }
.c-msg.mine { justify-content: flex-end; }
.c-msg-av { width: 34px; flex: none; }
.c-msg-av .c-av { width: 34px; height: 34px; font-size: 14px; }
.c-msg-col { display: flex; flex-direction: column; max-width: min(72%, 560px); min-width: 0; }
.c-msg.mine .c-msg-col { align-items: flex-end; }
.c-msg-name { font-size: 12.5px; font-weight: 700; margin: 0 0 3px 12px; }
.c-bub { position: relative; padding: 8px 12px 8px; border-radius: 18px; background: #23262f; font-size: 15px; line-height: 1.38; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); }
.c-msg:not(.mine) .c-bub { border-bottom-left-radius: 6px; }
.c-msg:not(.mine).cont .c-bub { border-top-left-radius: 6px; }
.c-msg.mine .c-bub { background: linear-gradient(135deg, #e10600, #b30500); color: #fff; border-bottom-right-radius: 6px; }
.c-msg.mine.cont .c-bub { border-top-right-radius: 6px; }
.c-bub a { color: inherit; text-decoration: underline; }
.c-bub.big { background: none !important; font-size: 40px; line-height: 1.1; padding: 0 2px; }
.c-bub.del { background: none !important; border: 1px dashed var(--line2); color: var(--dim); font-style: italic; font-size: 14px; }
.c-time { font-size: 10.5px; opacity: .6; margin-left: 8px; float: right; position: relative; top: 6px; }
.c-bub.big .c-time { font-size: 11px; top: 0; }
.c-del { opacity: 0; border: 0; background: none; cursor: pointer; font-size: 14px; padding: 4px; transition: opacity .15s; align-self: center; order: -1; }
.c-msg:hover .c-del { opacity: .6; }
.c-del:hover { opacity: 1 !important; }
@media (hover: none) { .c-del { opacity: .35; } }
.c-down { position: absolute; left: 50%; transform: translateX(-50%); bottom: 82px; z-index: 2; border: 0; border-radius: 99px; padding: 8px 16px; cursor: pointer;
  background: var(--red); color: #fff; font: 700 13px var(--font); box-shadow: 0 6px 20px rgba(0,0,0,.5); }
.c-in { display: flex; align-items: flex-end; gap: 10px; padding: 10px 14px 12px; border-top: 1px solid var(--line); background: rgba(19,20,25,.95); }
.c-in-box { flex: 1; min-width: 0; background: #0b0c10; border: 1px solid var(--line2); border-radius: 20px; padding: 4px 6px 4px 14px; transition: border-color .15s; }
.c-in-box:focus-within { border-color: var(--red); }
.c-in textarea { border: 0; background: none; padding: 8px 0 4px; margin: 0; resize: none; max-height: 140px; line-height: 1.35; font-size: 15px; }
.c-emo { display: flex; gap: 2px; padding-bottom: 2px; overflow-x: auto; scrollbar-width: none; }
.c-emo button { border: 0; background: none; font-size: 18px; padding: 2px 5px; border-radius: 8px; cursor: pointer; opacity: .75; transition: transform .1s, opacity .1s, background .1s; }
.c-emo button:hover { opacity: 1; background: #1c1e25; transform: scale(1.15); }
.c-send { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 0; cursor: pointer; background: var(--red); color: #fff; font-size: 19px; transition: transform .1s, opacity .15s; padding-left: 4px; margin-bottom: 4px; }
.c-send:disabled { opacity: .35; cursor: default; }
.c-send:not(:disabled):active { transform: scale(.92); }

/* telephone : une seule colonne (la liste, ou la discussion) */
@media (max-width: 959px) {
  .chat2 { grid-template-columns: 1fr; border-radius: 12px; }
  .chat2.has-peer .c-side { display: none; }
  .chat2:not(.has-peer) .c-main { display: none; }
  .c-back { display: block; }
  .c-msg-col { max-width: 80%; }
  .c-head { padding: 10px 12px; }
  .c-msgs { padding: 12px 10px 6px; }
  .c-in { padding: 8px 8px 10px; }
}
@media (max-width: 560px) { #view:has(.chat2) { padding-left: 8px; padding-right: 8px; } }

/* menu du profil */
.me-wrap { position: relative; }
.live-pill.hidden + .me-wrap { margin-left: auto; }
.me-link { background: none; border: 0; cursor: pointer; font-family: var(--font); padding: 4px; border-radius: 8px; }
.me-link:hover { background: rgba(255,255,255,.06); }
.me-caret { font-size: 11px; color: var(--muted); }
.me-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; width: 240px; padding: 6px; border-radius: 12px;
  background: rgba(23,24,29,.98); border: 1px solid var(--line2); box-shadow: 0 16px 40px rgba(0,0,0,.6); backdrop-filter: blur(10px); animation: vin2 .15s ease-out; }
@keyframes vin2 { from { opacity: 0; transform: translateY(-6px); } }
.me-menu-head { display: flex; gap: 10px; align-items: center; padding: 8px 8px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.me-menu-head .avatar { width: 38px; height: 38px; font-size: 18px; }
.me-menu-head b { display: block; font-size: 15px; }
.me-menu-head span.me-role { font-size: 12px; color: var(--muted); }
.me-menu a, .me-menu button { display: flex; width: 100%; align-items: center; gap: 8px; padding: 10px 10px; border-radius: 8px; font: 600 15px var(--font);
  color: var(--text); background: none; border: 0; cursor: pointer; text-align: left; }
.me-menu a:hover, .me-menu button:hover { background: #23262f; }
.me-menu .danger { color: var(--red2); border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; margin-top: 4px; }
.chk.v-filter { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 14px; padding: 12px; border-radius: 10px; background: #0f1015; border: 1px solid var(--line); font-size: 14px; line-height: 1.4; color: #c9ccd4; }
.chk.v-filter input { margin-top: 3px; accent-color: var(--green); width: 18px; height: 18px; flex: none; }
.chk.v-filter b { color: var(--text); }
