/* Pages /activer et /account de tytotv.com (maquette du 08/11/2026, direction B). Même allure que le site : sombre,
   Inter, doré #C99736, arrondi 8 px. Aucun style en ligne (CSP). Le rouge n'apparaît que sur « Supprimer le compte ». */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/fonts/inter-regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/fonts/inter-semibold.woff2") format("woff2"); }

:root {
  --nuit-haut: #1A1B20; --nuit-bas: #0A0A0C; --or: #C99736; --ivoire: #F2EEE6; --gris: #9A978F;
  --trait: #22232a; --trait-2: #26272d; --trait-3: #1f2026; --champ: #34353C; --bord: #3A3B42;
  --or-fond: #523F1C; --halo: rgba(201, 151, 54, .16); --danger: #EC9484; --danger-bord: #5a2f2a;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--nuit-bas) linear-gradient(var(--nuit-haut), var(--nuit-bas)) fixed;
  color: var(--ivoire); font: 16px/1.45 "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2 { font-weight: 600; margin: 0; }
.tnum { font-variant-numeric: tabular-nums; }
.gr { color: var(--gris); }
.sm { font-size: 13px; }
.code { font-variant-numeric: tabular-nums; letter-spacing: .06em; font-weight: 600; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }

/* Boutons */
.b {
  display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 54px; border-radius: 8px;
  border: 1px solid; font: 600 17px "Inter", sans-serif; white-space: nowrap; padding: 0 16px; cursor: pointer;
  text-decoration: none; background: transparent; color: var(--ivoire);
}
.b.g { background: #131314; border-color: #8E918F; color: #E3E3E3; }
.b.g svg { width: 20px; height: 20px; flex: none; }
.b.m, .b.s { border-color: var(--bord); }
.b.p { background: var(--or-fond); border-color: var(--or); }
.b.t { border: 0; height: 44px; color: var(--gris); font-weight: 400; }
.b.d { border-color: var(--danger-bord); color: var(--danger); }
.b.auto { width: auto; display: inline-flex; padding: 0 22px; }
.b:hover { filter: brightness(1.12); }
.lnk {
  color: var(--or); font: 600 15px "Inter", sans-serif; white-space: nowrap; background: none; border: 0; padding: 0;
  cursor: pointer; text-decoration: none;
}
.lnk.g2 { color: var(--gris); font-weight: 400; }
.lnk.d { color: var(--danger); }
.lnk:focus-visible { outline-offset: 6px; border-radius: 2px; }
.lnk.g2:focus-visible { color: var(--ivoire); }
.lnk:hover { text-decoration: underline; text-underline-offset: 3px; }
form.inline { display: inline; margin: 0; }

/* Champs */
.fl { display: block; margin-top: 16px; }
.fl .l { display: block; font-size: 13px; color: var(--gris); margin-bottom: 6px; }
.in {
  width: 100%; height: 50px; border: 1px solid var(--champ); border-radius: 8px; background: rgba(0, 0, 0, .28);
  padding: 0 14px; font: 16px "Inter", sans-serif; color: var(--ivoire); caret-color: var(--or);
}
.in.big { height: 56px; font-size: 17px; }
.in::placeholder { color: #5f5d58; }
.in:focus { outline: none; border-color: var(--or); box-shadow: 0 0 0 3px var(--halo); }
.in.code { letter-spacing: .06em; font-weight: 600; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.otp { display: flex; gap: 8px; align-items: center; }
.otp input {
  width: 46px; height: 58px; border: 1px solid var(--champ); border-radius: 8px; background: rgba(0, 0, 0, .28);
  text-align: center; font: 600 24px "Inter", sans-serif; font-variant-numeric: tabular-nums; color: var(--ivoire);
  caret-color: var(--or); padding: 0;
}
.otp input:focus { outline: none; border-color: var(--or); box-shadow: 0 0 0 3px var(--halo); }
.otp .sep { width: 10px; text-align: center; color: #5f5d58; }
.msg { margin: 14px 0 0; padding-left: 10px; border-left: 2px solid var(--or); font-size: 14px; color: var(--ivoire); }
.dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #7FD18B; box-shadow: 0 0 0 3px rgba(127, 209, 139, .16);
  margin-right: 8px; vertical-align: 1px;
}

/* Pied : confidentialité et langue (comme le site) */
.foot { display: flex; gap: 22px; font-size: 13px; color: var(--gris); margin-top: 22px; align-items: center; }
.foot a { color: var(--gris); text-decoration: none; }
details.langue { position: relative; }
details.langue summary { list-style: none; cursor: pointer; color: var(--gris); text-decoration: underline; text-underline-offset: 2px; }
details.langue summary::-webkit-details-marker { display: none; }
details.langue .menu {
  position: absolute; bottom: calc(100% + 10px); left: 0; background: var(--nuit-haut); border: 1px solid #2E2F35;
  border-radius: 8px; padding: 6px 0; display: flex; flex-direction: column; min-width: 150px; z-index: 2;
}
details.langue .menu a, details.langue .menu span { padding: 6px 16px; white-space: nowrap; text-decoration: none; }
details.langue .menu a { color: var(--gris); }
details.langue .menu a:hover { color: var(--ivoire); }
details.langue .menu span { color: var(--or); font-weight: 600; }

/* ---------- /activer et connexion : grande typographie ---------- */
.act { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; padding: 18px 24px; max-width: 480px; }
.act .logo { height: 34px; width: auto; align-self: flex-start; margin: 6px 0 0 -4px; }
.act .main { flex: 1; display: flex; flex-direction: column; }
.kick { margin-top: 52px; font-size: 13px; color: var(--gris); letter-spacing: .02em; display: flex; align-items: center; gap: 8px; }
.kick .code { color: #cfccc5; font-weight: 400; }
.kick.ok { color: var(--or); }
.kick.ok svg { width: 18px; height: 18px; stroke-width: 2.2; }
.act h1 { font-size: 40px; line-height: 1.06; letter-spacing: -.02em; margin: 10px 0 0; }
.act h1 .gr { color: var(--gris); }
.act h1.mid { font-size: 36px; }
.act h1.small { font-size: 32px; margin-top: 30px; }
.act .sub { font-size: 17px; color: var(--gris); margin: 14px 0 0; max-width: 340px; }
.act .top { margin-top: 28px; }
.act form.grow { flex: 1; display: flex; flex-direction: column; }
.act .hint { font-size: 13px; color: var(--gris); margin: 12px 0 0; }
.act .hint .lnk { font-size: 13px; }
.act .body { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.act .legal { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: var(--gris); text-align: center; text-wrap: pretty; }
.act .legal a { color: var(--gris); text-decoration: underline; text-underline-offset: 2px; }
.act .row-links { display: flex; gap: 26px; padding: 16px 0 0; border-top: 1px solid var(--trait); }
.pair { margin-top: 28px; border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); padding: 14px 0;
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pair .code { font-size: 20px; }
.split { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--trait); color: var(--gris); }
.codeform { display: flex; gap: 12px; }
.codeform .in { flex: 1; min-width: 0; }
.codeform .b { width: auto; padding: 0 24px; }
.tvart { margin: 22px -24px 0; display: flex; justify-content: center;
  background: radial-gradient(55% 60% at 50% 50%, rgba(201, 151, 54, .14), rgba(201, 151, 54, 0) 70%); }
.tvart img { width: 290px; height: auto; }
.tvart + .kick { margin-top: 22px; }
.hh { display: flex; justify-content: space-between; margin-top: 18px; padding-bottom: 8px; border-bottom: 1px solid var(--trait); }
.hrow { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--trait); }
.hrow .who { flex: 1; min-width: 0; }
.hrow .nm { font-weight: 600; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hrow .st { font-size: 13px; color: var(--gris); }
.hrow .st.on { color: var(--ivoire); }

@media (min-width: 768px) {
  .act { max-width: none; padding: 40px 120px; }
  .act .logo { margin-left: -10px; }
  .act .main { width: 560px; flex: none; margin-top: 70px; }
  .act .kick { margin-top: 50px; }
  .act h1 { font-size: 56px; }
  .act h1.mid, .act h1.small { font-size: 48px; }
  .act .sub { font-size: 19px; max-width: none; margin-top: 16px; }
  .act .body { margin-top: 0; max-width: 420px; }
  .act .foot { margin-top: auto; padding-top: 40px; }
  .codeform .in { height: 64px; font-size: 28px; }
  .codeform .b { height: 64px; padding: 0 30px; font-size: 18px; }
  .tvart { margin: 0; justify-content: flex-start; background: none; }
}

/* ---------- /account ---------- */
.hd { height: 58px; display: flex; align-items: center; padding: 0 24px; justify-content: space-between; }
.hd img { height: 30px; width: auto; margin-left: -6px; }
.av {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--or); color: var(--or); display: flex;
  align-items: center; justify-content: center; font-weight: 600; font-size: 15px; flex: none; text-decoration: none;
}
.shell main { padding: 0 24px 96px; }
.pt { display: flex; align-items: baseline; justify-content: space-between; margin: 28px 0 6px; }
.pt h1 { font-size: 32px; letter-spacing: -.015em; }
.pt .n { font-size: 17px; color: var(--gris); font-variant-numeric: tabular-nums; }
.lead { display: none; }
.note { font-size: 13px; color: var(--gris); margin: 14px 0; }
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; height: 60px; display: flex; border-top: 1px solid var(--trait);
  background: #0c0d0f; z-index: 3; padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 12px;
  color: var(--gris); position: relative; text-decoration: none;
}
.tabbar a[aria-current] { color: var(--or); font-weight: 600; }
.tabbar a[aria-current]::before {
  content: ""; position: absolute; top: -1px; left: 50%; width: 36px; margin-left: -18px; height: 2px; background: var(--or);
  border-radius: 0 0 2px 2px;
}
.tabbar svg.ic { width: 22px; height: 22px; }
.side { display: none; }

/* Appareils : lignes sur smartphone, tableau sur ordinateur (même balisage) */
.dev {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name ver" "model model" "state state" "acts acts";
  padding: 18px 0; border-bottom: 1px solid var(--trait);
}
.dev .c-name { grid-area: name; font-size: 18px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dev .c-model { grid-area: model; font-size: 15px; color: var(--gris); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dev .c-type { display: none; }
.dev .c-state { grid-area: state; font-size: 15px; color: var(--gris); margin-top: 2px; }
.dev .c-state.on { color: var(--ivoire); }
.dev .c-ver { grid-area: ver; font-size: 14px; color: var(--gris); font-variant-numeric: tabular-nums; align-self: baseline; padding-left: 12px; }
.dev .c-acts { grid-area: acts; display: flex; gap: 22px; margin-top: 10px; align-items: center; flex-wrap: wrap; }
.dev.head { display: none; }
.dev form.edit { display: flex; gap: 10px; width: 100%; align-items: center; flex-wrap: wrap; }
.dev form.edit .in { flex: 1; min-width: 160px; height: 44px; }
.dev .ask { width: 100%; font-size: 15px; }
.only-d { display: none; }

/* Compte */
.kv { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--trait); }
.kv .k { font-size: 13px; color: var(--gris); }
.kv .v { font-size: 17px; margin-top: 2px; overflow-wrap: anywhere; }
.kv .a { flex: none; }
.methods span { display: inline-flex; gap: 8px; align-items: center; }
.methods svg { width: 17px; height: 17px; }
.methods .sub { color: var(--gris); font-size: 14px; }
/* « Aider à améliorer le tri » : interrupteur sans JavaScript (bouton role=switch d'un formulaire) */
.kv .s { font-size: 13px; color: var(--gris); margin: 4px 0 0; max-width: 520px; text-wrap: pretty; }
.kv .s .lnk { font-size: 13px; white-space: normal; }
.sw {
  position: relative; display: block; width: 46px; height: 28px; border-radius: 14px; border: 1px solid var(--bord);
  background: var(--champ); padding: 0; cursor: pointer;
}
.sw::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gris); transition: transform .15s;
}
.sw[aria-checked="true"] { background: var(--or-fond); border-color: var(--or); }
.sw[aria-checked="true"]::after { transform: translateX(18px); background: var(--or); }
.sw:focus-visible { outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .sw::after { transition: none; } }
.mrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mrow + .mrow { margin-top: 10px; }
.msg.err { border-left-color: var(--danger); }
/* Parcours pas à pas (maquette du 09/11, compte-pas-a-pas) : changer d'adresse, délier ou lier Google, un écran par
   action à la place des lignes de la page Compte */
.wiz { max-width: 560px; margin-top: 18px; }
.wiz .kick { margin-top: 0; }
.steps3 { display: flex; gap: 6px; margin-top: 12px; }
.steps3 i { height: 4px; flex: 1; max-width: 56px; border-radius: 2px; background: var(--trait-2); }
.steps3 i.on { background: var(--or); }
.wiz h2 { font-size: 28px; line-height: 1.12; letter-spacing: -.015em; margin: 18px 0 0; text-wrap: balance; }
.wiz .sub { font-size: 17px; color: var(--gris); margin: 12px 0 0; overflow-wrap: anywhere; }
.wiz .sub b { color: var(--ivoire); font-weight: 600; }
.wiz .top { margin-top: 26px; }
.wiz .hint { font-size: 13px; color: var(--gris); margin: 12px 0 0; }
.wiz form { margin: 0; }
.wiz .acts { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.wiz .acts .lnk { align-self: center; }
.wiz .acts .b { width: 100%; }
.sep-or { display: flex; align-items: center; gap: 12px; color: var(--gris); font-size: 13px; }
.sep-or::before, .sep-or::after { content: ""; flex: 1; height: 1px; background: var(--trait); }
.wiz.done .okc {
  width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--or); color: var(--or); display: flex;
  align-items: center; justify-content: center; margin-top: 26px;
}
.wiz.done .okc svg { width: 34px; height: 34px; stroke-width: 2.4; }
.wiz.done .kick svg { width: 18px; height: 18px; stroke-width: 2.4; }
.wiz.done h2 { margin-top: 18px; }
.kv.session { display: none; }
.logout-m { padding: 16px 0; border-bottom: 1px solid var(--trait); }
.danger { margin-top: 36px; }
.danger .t { display: none; }
.danger .s { font-size: 13px; color: var(--gris); margin-top: 2px; }
.danger .b.d { display: none; }
.danger.ask .t { display: block; font-size: 17px; font-weight: 600; }
.danger.ask .acts { display: flex; gap: 22px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.danger.ask .b.d { display: inline-flex; }
.shell .foot { margin-top: 24px; }

@media (min-width: 900px) {
  .shell { display: flex; min-height: 100vh; }
  .hd, .tabbar { display: none; }
  .side {
    display: flex; flex-direction: column; width: 272px; flex: none; border-right: 1px solid var(--trait-3);
    padding: 34px 32px 26px; position: sticky; top: 0; height: 100vh;
  }
  .side img { height: 30px; width: auto; align-self: flex-start; margin-left: -9px; }
  .side nav { margin-top: 56px; display: flex; flex-direction: column; gap: 18px; font-size: 20px; }
  .side nav a { color: var(--gris); text-decoration: none; }
  .side nav a[aria-current] { color: var(--or); font-weight: 600; }
  .side .me { margin-top: auto; font-size: 13px; }
  .side .me .lnk { font-size: 13px; }
  .side .me .who { color: var(--gris); overflow-wrap: anywhere; }
  .side .foot { margin-top: 22px; }
  .shell main { flex: 1; padding: 44px 64px; min-width: 0; max-width: 1060px; }
  .shell main > .foot { display: none; }
  .pt { margin: 0; }
  .pt h1 { font-size: 44px; letter-spacing: -.02em; }
  .pt .n { font-size: 20px; }
  .lead { display: block; color: var(--gris); margin: 6px 0 34px; font-size: 17px; }
  .dev {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, .5fr) minmax(0, 1.3fr) minmax(0, .5fr) 210px;
    grid-template-areas: "name type state ver acts" "model type state ver acts"; padding: 16px 12px; border-bottom-color: var(--trait-3);
    align-items: center; column-gap: 12px;
  }
  .dev.head { display: grid; grid-template-areas: "name type state ver acts"; padding: 0 12px 10px; border-bottom-color: var(--trait-2); }
  .dev.head > div { font-size: 12.5px; color: var(--gris); font-weight: 400; margin: 0; }
  .dev .c-name { font-size: 16px; }
  .dev .c-model { font-size: 14px; margin: 0; }
  .dev .c-type { display: block; grid-area: type; color: var(--gris); }
  .dev .c-state { font-size: 16px; margin: 0; }
  .dev .c-ver { text-align: right; font-size: 16px; padding: 0; align-self: center; }
  .dev .c-acts { margin: 0; justify-content: flex-end; }
  .dev.editing .c-acts, .dev.asking .c-acts { grid-column: 1 / -1; grid-row: 3; margin-top: 12px; justify-content: flex-start; }
  .only-m { display: none; }
  .only-d { display: initial; }
  .note { margin: 16px 12px; }
  .acc { border-top: 1px solid var(--trait-3); margin-top: 30px; }
  .kv { padding: 20px 0; border-bottom-color: var(--trait-3); justify-content: flex-start; }
  .kv > div:first-child { display: flex; align-items: center; flex: 1; min-width: 0; }
  .kv .k { width: 240px; flex: none; font-size: 16px; }
  .kv .v { margin: 0; flex: 1; }
  /* Une option (« Aider à améliorer le tri ») : son nom puis sa phrase, l'un sous l'autre, l'interrupteur à droite. */
  .kv.opt > div:first-child { display: block; }
  .kv.opt .s { font-size: 14px; max-width: 600px; }
  .kv.opt .s .lnk { font-size: 14px; }
  .methods svg { width: 18px; height: 18px; }
  .kv.session { display: flex; }
  .logout-m { display: none; }
  .danger { margin-top: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .danger .t { display: block; font-size: 17px; font-weight: 600; }
  .danger .lnk.d { display: none; }
  .danger .b.d { display: inline-flex; }
  .danger.ask { display: block; }
  .wiz { margin-top: 34px; }
  .wiz h2 { font-size: 34px; }
  .wiz .acts { max-width: 400px; }
}

/* ---------- /account/playlists (maquette du 08/11 : cadres 9 à 9f, d9 à d9d) ---------- */
.hd .back { display: flex; align-items: center; gap: 2px; margin-left: -6px; color: var(--gris); text-decoration: none; font-size: 16px; }
.hd .back svg { width: 20px; height: 20px; }
.ok { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--or); margin: 6px 0 12px; }
.ok svg { width: 16px; height: 16px; stroke-width: 2.2; }

/* Lignes sur smartphone, tableau sur ordinateur (même balisage) */
.pl {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name badge" "desc desc" "acts acts";
  padding: 15px 0; border-bottom: 1px solid var(--trait);
}
.pl .c-name { grid-area: name; font-size: 18px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl .c-badge { grid-area: badge; font-size: 14px; color: var(--gris); align-self: baseline; padding-left: 12px; }
.pl .c-desc { grid-area: desc; font-size: 15px; color: var(--gris); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl .c-type, .pl .c-date { display: none; }
.pl .c-acts { grid-area: acts; display: flex; gap: 22px; margin-top: 8px; align-items: center; flex-wrap: wrap; }
.pl .ask { width: 100%; font-size: 15px; }
.pl.head { display: none; }
.pl-add { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.pl-add .halves { display: flex; gap: 10px; }
.pl-add .halves .b { flex: 1; min-width: 0; width: auto; height: 46px; font-size: 15px; padding: 0 8px; }
.pl-add .b svg, .pt .b svg { width: 20px; height: 20px; }
.pt .add-d { display: none; }
.shell main.adding .pl-list { display: none; }

/* Ajouter, modifier */
.panel .ph { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 0 12px; }
.panel h2 { font-size: 32px; letter-spacing: -.015em; }
.tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--trait-2); overflow-x: auto; scrollbar-width: none; }
.tabs a {
  font-size: 16px; color: var(--gris); padding: 10px 0 12px; border-bottom: 2px solid transparent; margin-bottom: -1px;
  white-space: nowrap; text-decoration: none;
}
.tabs a[aria-current] { color: var(--or); font-weight: 600; border-color: var(--or); }
.plf { margin: 0; }
.plf .acts { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.plf .acts .lnk { align-self: center; }
.pw { position: relative; }
.pw .in { padding-right: 48px; }
.pw .eye {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: flex;
  align-items: center; justify-content: center; background: none; border: 0; color: var(--gris); cursor: pointer; border-radius: 8px;
}
.pw .eye[hidden] { display: none; }
.pw .eye[aria-pressed="true"] { color: var(--or); }
details.more { margin-top: 18px; }
details.more summary { cursor: pointer; color: var(--gris); font-size: 14px; list-style: none; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::before { content: "+ "; color: var(--or); font-weight: 600; }
details.more[open] summary::before { content: "− "; }
details.more .fl:first-child { margin-top: 6px; }

/* Plusieurs d'un coup */
.ta {
  height: 104px; padding: 10px 12px; font-size: 13px; line-height: 1.6; resize: vertical; white-space: pre; overflow: auto;
  font-variant-numeric: tabular-nums; color: #d8d5ce;
}
.found-h {
  display: flex; justify-content: space-between; margin-top: 18px; padding-bottom: 8px; border-bottom: 1px solid var(--trait);
  font-size: 13px; color: var(--gris);
}
.ckrow { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--trait); cursor: pointer; }
.ckrow > div { min-width: 0; }
.ckrow .nm { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ckrow .ds { font-size: 13px; color: var(--gris); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
input.ck {
  appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; border-radius: 4px; border: 1.5px solid #6b6962;
  flex: none; display: grid; place-content: center; cursor: pointer; background: transparent;
}
input.ck:checked { background: var(--or); border-color: var(--or); }
input.ck:checked::after {
  content: ""; width: 10px; height: 5px; border: solid #0A0A0C; border-width: 0 0 2.4px 2.4px; transform: translate(0, -1px) rotate(-45deg);
}
.multi .hint { font-size: 13px; color: var(--gris); margin: 12px 0 0; }

/* Fichier : bouton sur smartphone, zone de dépôt sur ordinateur ; sans script, le sélecteur du navigateur reste visible */
.file .intro { color: var(--gris); margin: 22px 0 0; }
.js .file:not(.picking) .intro { display: none; }
.drop {
  margin-top: 20px; height: 54px; border: 1px solid var(--bord); border-radius: 8px; display: flex; align-items: center;
  justify-content: center; cursor: pointer; font-weight: 600; font-size: 17px;
}
.drop .btn { display: flex; align-items: center; gap: 12px; }
.drop.over { border-color: var(--or); box-shadow: 0 0 0 3px var(--halo); }
.native { display: block; margin-top: 10px; font: 14px "Inter", sans-serif; color: var(--gris); max-width: 100%; }
.native::file-selector-button {
  font: 600 14px "Inter", sans-serif; color: var(--ivoire); background: transparent; border: 1px solid var(--bord);
  border-radius: 8px; padding: 8px 14px; margin-right: 12px; cursor: pointer;
}
.js .native { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; margin: 0; }
.chosen { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--trait); margin-top: 8px; }
.chosen[hidden] { display: none; }
.chosen svg { color: #cfccc5; }
.chosen .who { flex: 1; min-width: 0; }
.chosen .nm { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chosen .ds { font-size: 13px; color: var(--gris); }
.chosen .pick { cursor: pointer; }
.drop[hidden] { display: none; }
.js .file.picking .after .grid2, .js .file.picking .after .acts .b { display: none; }
.js .file.picking .after .acts { margin-top: 14px; }
.legend { display: flex; gap: 8px; font-size: 13px; color: var(--gris); margin: 0; }
.legend svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }

@media (min-width: 900px) {
  .pt .add-d { display: inline-flex; height: 50px; font-size: 16px; padding: 0 20px; align-self: center; }
  .pl-add { display: none; }
  .drop .only-m { display: none; }
  .pl {
    grid-template-columns: minmax(0, 2fr) minmax(0, .8fr) minmax(0, 1fr) 300px;
    grid-template-areas: "name type date acts" "desc type date acts"; padding: 16px 12px; border-bottom-color: var(--trait-3);
    align-items: center; column-gap: 12px;
  }
  .pl.head { display: grid; grid-template-areas: "name type date acts"; padding: 0 12px 10px; border-bottom-color: var(--trait-2); }
  .pl.head > div { font-size: 12.5px; color: var(--gris); font-weight: 400; }
  .pl .c-name { font-size: 16px; }
  .pl .c-badge { display: none; }
  .pl .c-desc { font-size: 14px; margin: 0; }
  .pl .c-type, .pl .c-date { display: block; color: var(--gris); }
  .pl .c-type { grid-area: type; }
  .pl .c-date { grid-area: date; font-variant-numeric: tabular-nums; }
  .pl .c-acts { margin: 0; justify-content: flex-end; }
  .pl.asking .c-acts { grid-column: 1 / -1; grid-row: 3; margin-top: 12px; justify-content: flex-start; }
  .shell main.adding .pl-list { display: block; }
  .panel { margin-top: 30px; }
  .panel .ph { margin: 0 0 8px; }
  .panel h2 { font-size: 22px; letter-spacing: 0; }
  .tabs { gap: 26px; }
  .plf { max-width: 720px; }
  .grid2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .plf .acts { flex-direction: row; align-items: center; gap: 24px; margin-top: 20px; }
  .plf .acts .b { width: auto; padding: 0 22px; }
  .plf .acts .lnk { align-self: auto; }
  .drop {
    height: 176px; border: 1.5px dashed #3e3f46; background: rgba(255, 255, 255, .02); flex-direction: column; gap: 8px;
    font-weight: 400;
  }
  .drop .dz { color: var(--or); display: flex; }
  .drop .dz svg { width: 30px; height: 30px; }
  .drop .dt { font-size: 17px; }
  .drop .gr { font-size: 16px; }
  .drop .lnk { font-size: 16px; }
  .file .after .grid2 { margin-top: 0; }
  .chosen { margin-top: 20px; }
  .js .file:not(.picking) { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; align-items: end; }
  .js .file:not(.picking) > * { grid-column: 1 / -1; }
  .js .file:not(.picking) > .chosen { grid-column: 1; border-bottom: 0; }
  .js .file:not(.picking) .after { display: contents; }
  .js .file:not(.picking) .after .grid2 { display: block; grid-column: 2; }
  .js .file:not(.picking) .after .acts { grid-column: 1 / -1; }
}

/* Synchro, lot 7 : « Profils supprimés », « Mes données », résumé d'une sauvegarde (maquette 2026-11-14-synchro-ecrans) */
.kv.del-k > div:first-child { flex: 1; min-width: 0; }
.del .pf { display: flex; flex-direction: column; min-width: 0; }
.del .pf .nm { font-size: 17px; }
.del .pf .dt { font-size: 13px; color: var(--gris); margin-top: 1px; }
.del .mrow + .mrow { margin-top: 14px; }
.methods.del, .methods.data { display: block; }
.data .mrow { justify-content: flex-start; }
.data .lnk { display: inline-flex; gap: 10px; align-items: center; font-size: 16px; }
.data .lnk svg.ic { width: 19px; height: 19px; stroke-width: 1.8; }
.data .s { margin-top: 10px; }
.wiz .chosen { height: 56px; border: 1px solid var(--champ); border-radius: 8px; background: rgba(0, 0, 0, .28); padding: 0 14px; margin-top: 26px; }
.wiz .chosen .ds { display: none; }
.wiz .drop { margin-top: 26px; }
.sum { margin-top: 26px; border-top: 1px solid var(--trait); }
.sum .r { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--trait); font-size: 17px; }
.sum .r span:last-child { font-variant-numeric: tabular-nums; }
.sum .h { font-size: 13px; color: var(--gris); padding: 12px 0 0; }
.msg form.inline { display: inline; }
@media (min-width: 900px) { .data .s { font-size: 14px; } }

/* ====================================================================================================================
   Maquette A2 du 18/11/2026 (docs/superpowers/specs/2026-11-18-site-compte) : colonne de gauche en cartes, Compte en trois
   tuiles puis des cartes, Playlists en lignes à trois colonnes fixes, Appareils en cartes dépliables, connexion à la une.
   Placé après le reste : il l'emporte, à égalité de poids. Aucun style en ligne (CSP).
   ==================================================================================================================== */
:root {
  --a-bg: #131315; --a-card: #1c1c1e; --a-card2: #242427; --a-line: #2c2c30; --a-tx: #ECEAE6; --a-tx2: #9B9893; --a-tx3: #5f5d5a;
  --a-or: #C99736; --a-ort: #D9AE5A; --a-fill: #5D4A27; --a-ok: #7FD18B; --a-dg: #FF8A7E;
}
.shell { position: relative; background: var(--a-bg); min-height: 100vh; }
.shell::before { content: ""; position: absolute; left: -10%; top: -30%; width: 70%; height: 80%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(201, 151, 54, .10), transparent 75%); }
.shell > * { position: relative; }
.shell main { padding: 14px 16px 96px; }
.tn, .tile b, .n, .meter { font-variant-numeric: tabular-nums; }

/* Boutons */
.bt {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 18px; border: 0; border-radius: 8px;
  background: var(--a-card2); color: var(--a-tx); font: 600 14.5px "Inter", sans-serif; white-space: nowrap; text-decoration: none; cursor: pointer;
}
.bt svg { width: 18px; height: 18px; flex: none; }
.bt.pri { background: var(--a-or); color: #1a1405; }
.bt.lt { background: var(--a-tx); color: #18181a; }
.bt.gh { background: transparent; box-shadow: inset 0 0 0 1px var(--a-line); }
.bt.dgh { background: transparent; color: var(--a-dg); }
.bt.sm { height: 36px; padding: 0 14px; font-size: 13.5px; }
.bt.big { width: 100%; height: 50px; font-size: 15px; }
.bt.big svg { width: 20px; height: 20px; }
.bt:hover { filter: brightness(1.12); }
form.inline .bt, form.inline .bt.dgh { display: inline-flex; }

/* Colonne de gauche (ordinateur) */
.side { padding: 36px 20px 28px; gap: 3px; border-right: 1px solid var(--a-line); }
.side img { margin: 0 0 34px 14px; }
.side nav { margin-top: 0; gap: 3px; font-size: 15px; }
.side nav a.nv, .nv {
  display: flex; align-items: center; gap: 14px; height: 56px; padding: 0 14px; border-radius: 8px; background: var(--a-card);
  color: var(--a-tx); text-decoration: none;
}
.nv svg.ic { color: var(--a-tx2); }
.nv b { display: block; font-weight: 600; font-size: 15px; }
.nv small { display: block; color: var(--a-tx2); font-size: 12.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.side nav a.nv[aria-current] { background: var(--a-fill); color: var(--a-tx); font-weight: 400; }
.nv[aria-current] svg.ic, .nv[aria-current] small { color: #e9dcc2; }
.side .me { margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 14px; border-top: 1px solid var(--a-line); }
.side .me .av { background: #3a3122; border: 0; color: var(--a-ort); width: 36px; height: 36px; }
.side .me .who { color: var(--a-tx); font-size: 13.5px; overflow-wrap: anywhere; min-width: 0; }
.side .links { padding: 6px 14px 0; font-size: 12.5px; }
.side .links .lnk { color: var(--a-tx2); font-weight: 400; font-size: 12.5px; }
.side .foot { margin: 8px 14px 0; font-size: 12.5px; }

/* En-tête de page */
.shell .pt {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 8px 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--a-line);
}
.shell .pt h1 { font-size: 26px; letter-spacing: -.01em; }
.shell .pt .lead { display: block; margin: 4px 0 0; color: var(--a-tx2); font-size: 13.5px; }
.shell .pt .pe { flex: none; }
.dvp .pt .lead { display: none; }
.pt .bt .lbl { display: none; }
.pt .bt { width: 44px; padding: 0; }
.foyer { text-align: right; }
.foyer b { font-size: 15px; font-weight: 600; }
.foyer .meter { width: 110px; margin: 6px 0 0 auto; }
.meter { display: flex; gap: 3px; margin: 16px 0 10px; }
.meter i { flex: 1; height: 5px; border-radius: 3px; background: #34343a; }
.meter i.on { background: var(--a-or); }

/* Compte : tuiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 22px; }
.tile { background: var(--a-card); border-radius: 8px; padding: 12px; min-width: 0; }
.tile .t { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.tile .t span { color: var(--a-tx2); font-size: 12px; white-space: nowrap; }
.tile .t span em { display: none; font-style: normal; }
.tile .t b { font-size: 24px; font-weight: 600; line-height: 1; letter-spacing: -.01em; align-self: flex-end; }
.tile .t b i { font-style: normal; color: var(--a-tx2); font-weight: 400; font-size: 14px; }
.tile .meter, .tile .prog, .tile .pdots { margin: 10px 0 0; }
.tile small { display: none; }
.prog { height: 5px; border-radius: 3px; background: #34343a; overflow: hidden; }
.prog i { display: block; height: 100%; background: var(--a-or); border-radius: 3px; }
.pdots { display: flex; gap: 6px; height: 5px; }
.pdots i { flex: 1; border-radius: 3px; }
.pc0 { background: #D98C5F; } .pc1 { background: #6E9BD1; } .pc2 { background: #8CC084; } .pc3 { background: #C99736; }
.pc4 { background: #B58AD6; } .pc5 { background: #D9738A; } .pc6 { background: #5FB8B0; } .pc7 { background: #A8A39A; }
.w0 { width: 0; } .w5 { width: 5%; } .w10 { width: 10%; } .w15 { width: 15%; } .w20 { width: 20%; } .w25 { width: 25%; } .w30 { width: 30%; }
.w35 { width: 35%; } .w40 { width: 40%; } .w45 { width: 45%; } .w50 { width: 50%; } .w55 { width: 55%; } .w60 { width: 60%; } .w65 { width: 65%; }
.w70 { width: 70%; } .w75 { width: 75%; } .w80 { width: 80%; } .w85 { width: 85%; } .w90 { width: 90%; } .w95 { width: 95%; } .w100 { width: 100%; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 24px; }
.cols > div { min-width: 0; }
.int { font-size: 13px; font-weight: 600; color: var(--a-ort); margin: 22px 0 8px; }
.cols > div:first-child > .int:first-child { margin-top: 0; }
.list { display: flex; flex-direction: column; gap: 3px; }

/* Lignes (cartes de réglages) */
.r {
  display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 9px 14px; background: var(--a-card); border-radius: 8px;
  color: var(--a-tx); text-decoration: none; width: 100%; margin: 0; border: 0;
}
.r > svg.ic, .r > svg { color: var(--a-tx2); width: 20px; height: 20px; flex: none; }
.r > svg[viewBox="0 0 48 48"] { color: inherit; }
.r .l { flex: 1; min-width: 0; display: block; }
.r .l b { display: block; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r .l small { display: block; color: var(--a-tx2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r .v { color: var(--a-tx2); display: flex; }
.r .v svg.ic { width: 20px; height: 20px; }
.r.dg .l b, .r.dg > svg { color: var(--a-dg); }
.r.lo { padding: 0; }
.rb {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 52px; padding: 9px 14px; background: none; border: 0; color: inherit;
  font: inherit; text-align: left; cursor: pointer; border-radius: 8px;
}
.rb > svg.ic { color: var(--a-tx2); }
.r.opt { align-items: center; }
.r.opt .l b { white-space: normal; }
.r.opt .s { font-size: 13px; color: var(--a-tx2); margin-top: 2px; max-width: 520px; text-wrap: pretty; }
.r.opt .s .lnk { font-size: 13px; }
.r.opt form { flex: none; margin: 0; }
a.r:hover, .rb:hover { background: var(--a-card2); }
a.r:focus-visible, .rb:focus-visible { outline: 2px solid var(--a-or); outline-offset: 0; }
.r .bt { flex: none; }
.shell .kv { background: var(--a-card); border: 0; border-radius: 8px; padding: 14px 18px; margin-bottom: 12px; }
.shell .kv .k { width: auto; font-size: 13px; }
.shell .danger.ask { margin-top: 24px; padding: 18px; background: var(--a-card); border-radius: 8px; display: block; }

/* Playlists : une ligne par playlist, trois colonnes fixes */
.plg { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; }
.plh { display: none; padding: 0 14px 6px; font-size: 12.5px; color: var(--a-tx2); }
.plh span { text-align: right; }
.plh::before { content: ""; }
.plh .c0, .plh .c1, .plh .c5 { display: none; }
.plist { display: flex; flex-direction: column; gap: 3px; }
.plr {
  background: var(--a-card); border-radius: 8px; padding: 12px 14px 10px; row-gap: 10px; position: relative;
  grid-template-columns: 1fr 1fr 1fr; grid-template-areas: "m m m" "a b c" "o o o" "x x x";
}
.plr:has(details[open]) { z-index: 5; }
.plr .pm { grid-area: m; }
.plr .pacts { grid-area: x; display: flex; gap: 8px; flex-wrap: nowrap; }
.plr .pacts .bt { flex: 0 0 auto; padding: 0 12px; }
.plr .ord { grid-area: o; flex-direction: row; gap: 6px; justify-self: start; }
.plr .n1 { grid-area: a; } .plr .n2 { grid-area: b; } .plr .n3 { grid-area: c; }
.ord { display: flex; align-items: center; }
.ord form { margin: 0; }
.ord button {
  width: 34px; height: 28px; border: 0; border-radius: 6px; background: var(--a-card2); color: var(--a-tx2); display: grid; place-items: center;
  padding: 0; cursor: pointer;
}
.ord button svg { width: 16px; height: 16px; }
.ord button:disabled { color: var(--a-tx3); cursor: default; }
.pm { display: flex; align-items: center; gap: 12px; min-width: 0; }
.psw { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.pm .who { min-width: 0; display: block; }
.pm b { display: block; font-weight: 600; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm small { display: block; color: var(--a-tx2); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.n { text-align: right; font-size: 15px; font-weight: 600; }
.n.z { color: var(--a-tx3); font-weight: 400; }
.n .lb { display: none; }
.plr .n, .plt .n { text-align: center; min-width: 0; }
.plr .n .lb, .plt .n .lb { display: block; font-size: 12px; font-weight: 400; color: var(--a-tx2); margin-top: 2px; }
.plt { padding: 4px 14px; color: var(--a-tx2); }
.plt .c0, .plt > span:last-child { display: none; }
.plt { row-gap: 6px; }
.plt .pm { grid-column: 1 / -1; padding-left: 0; font-size: 13px; }
.plt .n { color: var(--a-tx2); font-weight: 400; }
details.mo { position: relative; }
details.mo summary { list-style: none; cursor: pointer; width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; color: var(--a-tx2); }
details.mo summary::-webkit-details-marker { display: none; }
details.mo[open] summary { color: var(--a-tx); }
.mo .menu {
  position: absolute; right: 0; top: 40px; width: 248px; background: #26262a; border-radius: 8px; padding: 6px; z-index: 6;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55), 0 0 0 1px #34343a;
}
.mo .menu a { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; border-radius: 6px; white-space: nowrap; text-decoration: none; color: var(--a-tx); }
.mo .menu a svg { color: var(--a-tx2); }
.mo .menu a:hover, .mo .menu a:focus-visible { background: var(--a-fill); }
.mo .menu a.dg, .mo .menu a.dg svg { color: var(--a-dg); }
.mo .menu hr { border: 0; height: 1px; background: #3a3a3e; margin: 6px 4px; }
.plr .ask { grid-column: 1 / -1; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.plr .ask form { margin: 0; }
.pl-add { margin-top: 18px; }
.pl-add .b { height: 46px; }

/* Appareils : une carte par appareil, dépliable */
.dv { background: var(--a-card); border-radius: 8px; }
.dvh {
  display: grid; grid-template-columns: 44px 1fr auto auto; grid-template-areas: "i n x x" ". s v v"; gap: 2px 12px; padding: 14px; list-style: none;
  cursor: pointer; align-items: center;
}
.dvh::-webkit-details-marker { display: none; }
.ico { grid-area: i; width: 44px; height: 44px; border-radius: 8px; background: var(--a-card2); display: grid; place-items: center; }
.ico svg { width: 24px; height: 24px; stroke-width: 1.5; }
.dvn { grid-area: n; min-width: 0; display: block; }
.dvn b { display: block; font-size: 15.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dvn small { color: var(--a-tx2); font-size: 13px; white-space: nowrap; }
.dvh .chev { grid-area: x; justify-self: end; color: var(--a-tx2); display: flex; }
.dv[open] .chev svg { transform: rotate(180deg); }
.st { grid-area: s; display: flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 13.5px; margin-top: 8px; }
.st.old { color: var(--a-tx2); }
.dot { margin: 0; width: 8px; height: 8px; box-shadow: none; background: #4a4946; }
.dot.on { background: var(--a-ok); }
.st.old .dot:not(.on) { background: #8a8780; }
.vr { grid-area: v; text-align: right; }
.vr b { display: block; font-weight: 600; font-size: 13.5px; margin-top: 8px; text-align: right; font-variant-numeric: tabular-nums; }
.vr small { display: none; }
.vr em { display: block; font-style: normal; font-size: 12.5px; margin-top: 2px; }
.vr em.upd { color: var(--a-ort); }
.vr em.utd { color: var(--a-tx2); }
.dvx { margin: 0 14px; padding: 14px 0 14px; border-top: 1px solid var(--a-line); }
.facts { display: flex; gap: 28px; color: var(--a-tx2); font-size: 13px; margin-bottom: 14px; white-space: nowrap; }
.facts b { color: var(--a-tx); font-weight: 600; }
.facts:empty { display: none; }
.dvx .acts { display: flex; flex-direction: column; gap: 8px; align-items: stretch; margin: 0; }
.dvx .acts .sp { display: none; }
.dvx .acts form { margin: 0; }
.dvx .acts .bt { width: 100%; }
.dvx .acts.ask .askt { font-size: 14px; }
.dvx form.edit { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0; }
.dvx form.edit .in { flex: 1; min-width: 160px; height: 40px; }
.free { margin-top: 12px; border: 1.5px dashed #3a3a3e; border-radius: 8px; padding: 16px; display: grid; grid-template-columns: 1fr; gap: 14px; align-items: center; }
.slots { display: none; gap: 8px; }
.slots span { width: 44px; height: 32px; border-radius: 6px; border: 1.5px dashed #4a4a50; display: grid; place-items: center; color: var(--a-tx3); font-size: 18px; }
.free .ft { font-size: 16px; font-weight: 600; margin: 0; }
.free > * { min-width: 0; }
.free form.code { min-width: 0; }
.free .fs { color: var(--a-tx2); font-size: 13.5px; margin: 3px 0 0; }
.free form.code { display: flex; gap: 8px; align-items: center; margin: 0; letter-spacing: 0; font-weight: 400; }
.free .in.code { flex: 1; min-width: 0; height: 42px; font-size: 17px; font-weight: 600; letter-spacing: .08em; text-align: center; width: auto; }
.free .bt { height: 42px; }

/* Connexion (compte pas connecté) */
.login {
  position: relative; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  background: var(--a-bg); overflow: hidden; padding: 40px 24px 90px;
}
.login::before {
  content: ""; position: absolute; left: 50%; top: -38%; width: 1100px; height: 900px; margin-left: -550px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(201, 151, 54, .13), transparent 72%);
}
.lb { position: relative; width: 100%; max-width: 420px; display: flex; flex-direction: column; margin-top: 8px; }
.lb .logo { height: 34px; width: auto; align-self: flex-start; margin: 0 0 34px -4px; }
.lb .kick { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--a-ort); letter-spacing: 0; display: block; }
.lb h1 { font-size: 32px; line-height: 1.1; font-weight: 600; letter-spacing: -.02em; }
.lb h1 em { font-style: normal; color: var(--a-ort); }
.lb .lead { display: block; color: var(--a-tx2); margin: 12px 0 24px; font-size: 15px; line-height: 1.5; }
.or { display: flex; align-items: center; gap: 12px; color: var(--a-tx2); font-size: 13px; margin: 16px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--a-line); }
.lf { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.lf .in { height: 50px; font-size: 15px; }
.login .hint { color: var(--a-tx2); font-size: 13px; margin: 10px 0 0; display: flex; align-items: center; gap: 8px; }
.login .hint svg { width: 16px; height: 16px; }
.tvc { margin-top: 28px; }
.proof { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--a-line); }
.proof div { font-size: 11.5px; color: var(--a-tx2); }
.proof div b { display: block; color: var(--a-tx); font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.login .legal { margin: 20px 0 0; font-size: 12px; line-height: 1.5; color: var(--a-tx2); text-wrap: pretty; }
.login .legal a { color: var(--a-tx2); text-decoration: underline; text-underline-offset: 2px; }
.login .foot { position: absolute; bottom: 22px; left: 0; right: 0; justify-content: center; margin: 0; }

@media (min-width: 900px) {
  .shell main { padding: 52px 64px 48px; max-width: 1128px; }
  .shell main > .foot { display: none; }
  .side { width: 288px; }
  .side nav { margin-top: 0; }
  .shell .pt { margin: 0 0 28px; padding-bottom: 22px; }
  .shell .pt h1 { font-size: 32px; }
  .shell .pt .lead { font-size: 15px; }
  .dvp .pt .lead { display: block; }
  .pt .bt { width: auto; padding: 0 18px; }
  .pt .bt .lbl { display: inline; }
  .foyer b { font-size: 15px; }
  .foyer .meter { width: 180px; margin-top: 8px; }
  .tiles { gap: 12px; margin-bottom: 36px; }
  .tile { padding: 18px 20px; }
  .tile .t { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 8px; }
  .tile .t span { font-size: 13.5px; }
  .tile .t span em { display: inline; }
  .tile .t b { font-size: 30px; align-self: auto; }
  .tile .t b i { font-size: 18px; }
  .tile .meter, .tile .prog, .tile .pdots { margin: 16px 0 10px; }
  .tile small { display: block; color: var(--a-tx2); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .int { margin: 28px 0 10px; }
  .cols > div > .int:first-child { margin-top: 0; }
  .r { min-height: 56px; padding: 10px 18px; }
  .plg { grid-template-columns: 52px 1fr 104px 104px 104px 280px; }
  .plh { display: grid; padding: 0 0 8px; }
  .plr .n, .plt .n { text-align: right; }
  .plr .n .lb, .plt .n .lb { display: none; }
  .plt { row-gap: 0; }
  .plt .pm { grid-column: auto; }
  .plh::before { display: none; }
  .plh .c0, .plh .c1, .plh .c5 { display: block; }
  .plr { min-height: 76px; padding: 0; row-gap: 0; grid-template-areas: none; grid-template-columns: 52px 1fr 104px 104px 104px 280px; }
  .plr > * { grid-area: auto !important; margin: 0; justify-self: auto; }
  .plr .ord { flex-direction: column; gap: 2px; justify-self: center; }
  .plr .pacts { justify-self: end; padding-right: 14px; }
  .plr .pm { padding: 12px 0; }
  .plr .pm b { font-size: 16px; }
  .plr .pm small { font-size: 13px; }
  .ord button { width: 30px; height: 22px; background: transparent; }
  .n { font-size: 16px; font-weight: 500; }
  .plr .ask { grid-column: 1 / -1 !important; padding: 0 18px 16px 52px; }
  .plt { grid-template-columns: 52px 1fr 104px 104px 104px 280px; min-height: 44px; padding: 0; }
  .plt .c0, .plt > span:last-child { display: block; }
  .plt .pm { padding-left: 26px; }
  .plt .n { font-weight: 500; }
  .mo .menu { top: 40px; right: 8px; }
  .dvh { grid-template-columns: 52px 1fr 220px 190px 40px; grid-template-areas: none; gap: 0 16px; padding: 0 12px 0 18px; min-height: 80px; }
  .dvh > * { grid-area: auto !important; margin: 0 !important; }
  .ico { width: 52px; height: 52px; }
  .ico svg { width: 28px; height: 28px; }
  .dvn b { font-size: 16px; }
  .dvn small { font-size: 13px; }
  .st { font-size: 14px; }
  .vr { display: block; text-align: right; white-space: nowrap; }
  .vr b { display: block; font-size: 15px; font-weight: 500; text-align: right; }
  .vr small { display: block; font-size: 13px; color: var(--a-tx2); }
  .vr em { display: block; font-style: normal; font-size: 13px; }
  .dvx { margin: 0 18px; padding: 16px 0 18px 68px; }
  .dvx .acts { flex-direction: row; align-items: center; gap: 8px; }
  .dvx .acts .sp { display: block; flex: 1; }
  .dvx .acts .bt { width: auto; height: 36px; padding: 0 14px; font-size: 13.5px; }
  .free { margin-top: 20px; padding: 22px 24px; grid-template-columns: auto 1fr auto; gap: 24px; }
  .slots { display: flex; }
  .free .in.code { flex: none; width: 190px; height: 44px; }
  .free .bt { height: 44px; }
  .login { justify-content: center; padding: 40px 24px 40px; }
  .lb { margin-top: 0; }
  .lb .logo { margin-bottom: 44px; height: 38px; }
  .lb h1 { font-size: 40px; }
  .lb .lead { font-size: 16px; margin: 14px 0 30px; }
  .proof { margin-top: 30px; padding-top: 20px; }
  .proof div { font-size: 12.5px; white-space: nowrap; }
  .proof div b { font-size: 14px; }
  .shell .kv { padding: 18px 20px; }
}
.tvc .l b, .tvc .l small { white-space: normal; }
