*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    [hidden] { display: none !important; }

    :root {
      --bg: #050507;
      --bg-2: #0b0b0e;
      --line: rgba(255, 255, 255, 0.09);
      --line-2: rgba(255, 255, 255, 0.16);
      --text: #EDEDED;
      --muted: #8E8E97;
      --dim: #5E5E67;
      --bronze: #B8956A;
      --amber: #D2A15E;
      --ease: cubic-bezier(0.16, 1, 0.3, 1);
      --ease-press: cubic-bezier(0.3, 0, 0.2, 1);
      --font: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      --font-text: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
      --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .055 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    }

    html { background: var(--bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
    body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--font-text);
      font-size: 15px;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      overflow-x: hidden;
      max-width: 100%;
      -webkit-tap-highlight-color: transparent;
    }
    /* Aucun débordement horizontal. clip (et non hidden) : ne crée pas de conteneur de défilement,
       le défilement reste celui de la fenêtre. */
    @supports (overflow: clip) { html, body { overflow-x: clip; } }
    img, svg, video, canvas { max-width: 100%; }
    ::selection { background: rgba(237, 237, 237, 0.2); }
    a { color: inherit; }
    button, input, textarea { font: inherit; color: inherit; }
    button { background: none; border: 0; cursor: pointer; }
    svg { display: block; flex: none; }
    .ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
    .ico-sm { width: 15px; height: 15px; }
    :focus-visible { outline: 2px solid rgba(237, 237, 237, 0.85); outline-offset: 3px; border-radius: 6px; }
    .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .skip { position: fixed; top: 10px; left: 10px; z-index: 300; padding: 10px 14px; border-radius: 10px; background: var(--text); color: #060607; transform: translate3d(0, -80px, 0); transition: transform .4s var(--ease); }
    .skip:focus { transform: none; }

    /* ───────── BOUTONS ───────── */
    .btn {
      position: relative;
      display: inline-flex; align-items: center; justify-content: center; gap: 8px;
      height: 48px; padding: 0 22px;
      border-radius: 8px; border: 1px solid transparent;
      font: 500 15px/1 var(--font-text); letter-spacing: -0.01em;
      text-decoration: none; white-space: nowrap; user-select: none; -webkit-user-select: none;
      transition: transform .55s var(--ease), background-color .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease;
      touch-action: manipulation;
    }
    .btn:active { transform: scale(0.965); transition: transform .12s var(--ease-press); }
    .btn-primary {
      background: #EDEDED; color: #060607;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 1px 2px rgba(0, 0, 0, 0.5), 0 10px 28px -12px rgba(237, 237, 237, 0.35);
    }
    .btn-glass {
      background: rgba(255, 255, 255, 0.05); border-color: var(--line); color: var(--text);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    }
    .btn-sm { height: 36px; padding: 0 16px; font-size: 13.5px; }
    .btn-lg { height: 56px; padding: 0 30px; font-size: 16px; }
    /* Hauteur plancher : dans une colonne flex, « flex: 1 » écrasait la hauteur (bouton de 17 px). */
    .btn { min-height: 48px; flex-shrink: 0; }
    .btn-sm { min-height: 36px; }
    .btn-lg { min-height: 56px; }
    .btn .arrow { transition: transform .55s var(--ease); }
    .btn[disabled] { opacity: .45; pointer-events: none; }
    @media (hover: hover) and (pointer: fine) {
      .btn-primary:hover { background: #FFFFFF; transform: translate3d(0, -1px, 0); }
      .btn-glass:hover { background: rgba(255, 255, 255, 0.085); border-color: var(--line-2); }
      .btn:hover .arrow { transform: translate3d(3px, 0, 0); }
      .btn:active { transform: scale(0.965); }
    }

    /* ───────── TOPBAR ───────── */
    .topbar {
      position: fixed; inset: 0 0 auto 0; z-index: 100;
      height: 60px; padding: 0 max(20px, env(safe-area-inset-left));
      display: flex; align-items: center; justify-content: space-between; gap: 16px;
      background: rgba(5, 5, 7, 0.9);
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    @media (hover: hover) and (pointer: fine) {
      .topbar { background: rgba(5, 5, 7, 0.68); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
      body[data-view="studio"] .topbar { background: rgba(5, 5, 7, 0.9); -webkit-backdrop-filter: none; backdrop-filter: none; }
    }
    .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 15px/1 var(--font); letter-spacing: 0.16em; }
    .brand-mark { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: linear-gradient(145deg, #1d1d21, #0c0c0e); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
    .brand-mark svg { width: 13px; height: 13px; fill: none; stroke: #EDEDED; stroke-width: 2; stroke-linejoin: round; }
    .topnav { display: flex; gap: 4px; }
    .topnav a { text-decoration: none; font-size: 13.5px; color: var(--muted); padding: 8px 12px; border-radius: 8px; transition: color .2s ease, background-color .2s ease; }
    .topnav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.06); }
    @media (hover: hover) { .topnav a:hover { color: var(--text); } }
    @media (max-width: 720px) { .topnav { display: none; } }

    /* ───────── VUES (SPA) ───────── */
    .view { opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity .5s var(--ease), transform .8s var(--ease); }
    .view.is-active { opacity: 1; transform: none; }
    .view.is-leaving { opacity: 0; transform: translate3d(0, -6px, 0); transition: opacity .18s ease, transform .18s ease; }
    .view[hidden], [hidden] { display: none !important; }
    /* L'accueil est visible dans le HTML statique (crawl) ; masqué d'emblée sur les autres vues pour éviter un flash. */
    .no-home #view-home { display: none !important; }
    body[data-view="preview"] .topbar, body[data-view="preview"] .site-footer,
    body[data-view="locked"] .topbar, body[data-view="locked"] .site-footer,
    body[data-view="public"] .topbar, body[data-view="approve"] .topbar { display: none; }

    /* ───────── HERO + RÉVÉLATION 3D ───────── */
    /* Flux normal : aucun sticky, aucun blocage du défilement. */
    .hero { position: relative; padding: calc(60px + 9vh) 0 2vh; }
    .stage-glow {
      position: absolute; inset: 0; pointer-events: none;
      background:
        radial-gradient(50% 40% at 50% 62%, rgba(184, 149, 106, 0.075), transparent 72%),
        radial-gradient(80% 45% at 50% -5%, rgba(255, 255, 255, 0.06), transparent 70%),
        linear-gradient(180deg, #050507 0%, #08080a 60%, #050507 100%);
    }
    .hero-copy { position: relative; z-index: 2; padding: 0 24px; text-align: center; }
    .hero-copy > * { animation: rise 1.1s var(--ease) both; }
    .hero-copy > :nth-child(2) { animation-delay: .06s; }
    .hero-copy > :nth-child(3) { animation-delay: .16s; }
    .hero-copy > :nth-child(4) { animation-delay: .24s; }
    @keyframes rise { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
    .eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 11px/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
    .eyebrow i { width: 5px; height: 5px; border-radius: 50%; background: var(--bronze); box-shadow: 0 0 0 4px rgba(184, 149, 106, 0.14); }
    .hero-title {
      margin: 22px 0 22px;
      font: 600 clamp(52px, min(12.4vw, 21vh), 186px)/0.86 var(--font);
      letter-spacing: -0.058em;
      background: linear-gradient(180deg, #F6F6F6 0%, #C9C9CE 52%, #6F6F77 100%);
      -webkit-background-clip: text; background-clip: text; color: transparent;
      padding-bottom: 0.04em;
    }
    .hero-title .thin { font-weight: 250; letter-spacing: -0.045em; }
    /* Sous-titre sémantique du H1 : sur sa propre ligne, taille réduite, même dégradé épuré */
    .hero-title .hero-sub {
      display: block; max-width: 24em; margin: 20px auto 0;
      font-size: clamp(17px, 2.1vw, 26px); line-height: 1.25; letter-spacing: -0.02em; text-wrap: balance;
      background: linear-gradient(180deg, #E6E6EA 0%, #A4A4AC 100%);
      -webkit-background-clip: text; background-clip: text; color: transparent;
    }
    .hero-lede { max-width: 30em; margin: 0 auto; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.55; color: var(--muted); text-wrap: balance; }
    .hero-lede b { color: var(--text); font-weight: 500; }
    .hero-actions { display: flex; justify-content: center; gap: 10px; margin-top: 30px; flex-wrap: wrap; }

    .card-scene {
      position: relative; z-index: 1; height: clamp(340px, 60vh, 600px);
      display: grid; place-items: center;
      perspective: 1500px; pointer-events: none;
      animation: sceneIn 1.4s var(--ease) .2s both;
    }
    @keyframes sceneIn { from { opacity: 0; transform: translate3d(0, 60px, 0); } to { opacity: 1; transform: none; } }
    .card3d-wrap { position: relative; width: min(440px, 78vw); aspect-ratio: 1.586; transform-style: preserve-3d; will-change: transform; }
    .card3d { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
    .card3d-shadow {
      position: absolute; left: 8%; right: 8%; top: 104%; height: 30%;
      background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0) 100%);
      will-change: transform, opacity;
    }
    .kface { position: absolute; inset: 0; border-radius: 5.2% / 8.25%; }
    .kface { overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
    .kface--front { transform: translateZ(1.3px); }
    .kface--back { transform: rotateY(180deg) translateZ(1.3px); }
    .kmatte {
      background: var(--noise), radial-gradient(130% 110% at 18% 0%, #1e1e22 0%, #0d0d0f 46%, #070708 100%);
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.09);
    }
    .kface-ink { position: absolute; inset: 0; padding: 7.2% 7.6%; display: flex; flex-direction: column; justify-content: space-between; }
    .krow { display: flex; align-items: center; justify-content: space-between; }
    .klogo { display: inline-flex; align-items: center; gap: 9px; font: 600 clamp(11px, 1.05vw, 14px)/1 var(--font); letter-spacing: 0.34em; color: rgba(237, 237, 237, 0.74); }
    .klogo svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
    .knfc { width: clamp(16px, 1.6vw, 22px); height: clamp(16px, 1.6vw, 22px); fill: none; stroke: rgba(237, 237, 237, 0.42); stroke-width: 1.7; stroke-linecap: round; }
    .kchip {
      width: 13.5%; aspect-ratio: 1.28; border-radius: 16% / 21%;
      background: linear-gradient(140deg, #1b1b1e 0%, #0f0f11 60%, #19191c 100%);
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.07);
      position: relative;
    }
    .kchip::before, .kchip::after { content: ""; position: absolute; background: rgba(255, 255, 255, 0.07); }
    .kchip::before { left: 34%; right: 34%; top: 0; bottom: 0; border-left: 1px solid rgba(255,255,255,.08); border-right: 1px solid rgba(255,255,255,.08); background: transparent; }
    .kchip::after { left: 0; right: 0; top: 50%; height: 1px; }
    .kmicro { font: 500 clamp(7.5px, .68vw, 9.5px)/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: rgba(237, 237, 237, 0.26); }
    .kback-center { position: absolute; inset: 0; display: grid; place-items: center; }
    .ktap { width: 30%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 0 0 14px rgba(255, 255, 255, 0.012), 0 0 0 15px rgba(255, 255, 255, 0.04); }
    .ktap svg { width: 36%; height: 36%; fill: none; stroke: rgba(237, 237, 237, 0.34); stroke-width: 1.5; stroke-linecap: round; }
    .kback-foot { position: absolute; left: 0; right: 0; bottom: 8.5%; text-align: center; }
    #card3d .kmatte { background: #101012; }
    .kface-sheen {
      position: absolute; inset: 0;
      background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0));
      pointer-events: none;
    }

    /* L'objet en trois points (flux normal, révélation à l'entrée dans l'écran) */
    .section.chapters { padding-top: 56px; padding-bottom: 72px; }
    .chapters-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
    .chapter { padding: 6px 32px 0; text-align: center; }
    .chapter + .chapter { border-left: 1px solid var(--line); }
    .cap-k { font: 500 11px/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--bronze); }
    .chapter h3, .chapter .chapter-title { margin: 16px 0 10px; font: 600 clamp(22px, 2.3vw, 30px)/1.1 var(--font); letter-spacing: -0.035em; text-wrap: balance; }
    .chapter p:not(.cap-k) { color: var(--muted); font-size: 15px; line-height: 1.6; text-wrap: balance; }
    .js .rv { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .7s ease, transform 1s var(--ease); }
    .js .rv.in { opacity: 1; transform: none; }

    /* ───────── SECTIONS ───────── */
    .section { max-width: 1160px; margin: 0 auto; padding: 132px 24px; }
    .kicker { display: inline-flex; align-items: center; gap: 12px; font: 500 11px/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
    .kicker::before { display: none; }
    .h2 { margin: 20px 0 18px; max-width: 17ch; font: 600 clamp(34px, 4.8vw, 62px)/1.02 var(--font); letter-spacing: -0.045em; text-wrap: balance; }
    .h2 .mute { color: var(--muted); }
    .lede { max-width: 38em; color: var(--muted); font-size: 17px; line-height: 1.6; }

    .glass {
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.022));
      border: 1px solid var(--line);
      border-radius: 24px;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 40px 80px -40px rgba(0, 0, 0, 0.9);
    }

    /* Deux cadres */
    .frames { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
    .frame { padding: 28px; }
    .frame-tag { display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
    .frame-tag b { color: var(--text); font-weight: 500; }
    .frame-vis {
      height: 440px; margin: 22px 0 26px; border-radius: 18px; overflow: hidden; position: relative;
      display: grid; place-items: center;
      background: radial-gradient(70% 60% at 50% 45%, rgba(255,255,255,.045), transparent 70%);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
      perspective: 1100px;
    }
    .flat-card { position: relative; width: min(320px, 76%); aspect-ratio: 1.586; transform: rotateX(22deg) rotateZ(-8deg) rotateY(-10deg); box-shadow: 0 40px 60px -30px rgba(0,0,0,.95); border-radius: 5.2% / 8.25%; }
    .flat-card .kface { transform: none; }
    .frame h3, .frame .frame-title { font: 600 24px/1.15 var(--font); letter-spacing: -0.03em; }
    .frame > p { margin-top: 8px; color: var(--muted); line-height: 1.6; max-width: 34em; }
    .specs { margin-top: 22px; }
    .specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.06); font-size: 14px; }
    .specs dt { color: var(--muted); }
    .specs dd { text-align: right; }
    .mini-device-wrap { width: 194px; height: 400px; }
    .mini-device-wrap .device { transform: scale(0.54); transform-origin: 0 0; width: 360px; height: 740px; min-height: 0; }

    /* Galerie */
    .gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
    .look { padding: 12px; display: flex; flex-direction: column; }
    .look-stage { position: relative; aspect-ratio: 4 / 3.3; border-radius: 16px; overflow: hidden; display: grid; place-items: center; perspective: 900px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
    .look-stage > .bgl { position: absolute; inset: 0; }
    .look-card { position: relative; width: 72%; will-change: transform; transform-style: preserve-3d; }
    .look-meta { padding: 18px 10px 6px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
    .look-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
    .look-name { font: 600 19px/1.2 var(--font); letter-spacing: -0.025em; }
    .look-tag { font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
    .look-spec { font-size: 13.5px; color: var(--muted); }
    .look-person { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.06); }
    .mono-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 600 12px/1 var(--font); background: linear-gradient(145deg, #26272b, #111214); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
    .look-person b { display: block; font-size: 13.5px; font-weight: 500; }
    .look-person small { display: block; font-size: 12.5px; color: var(--muted); }
    .look .btn { margin: 16px 10px 8px; }
    .gallery-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 56px; text-align: center; }
    .gallery-cta p { color: var(--muted); font-size: 13.5px; max-width: 34em; }

    /* Étapes */
    .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
    .step { padding-top: 22px; border-top: 1px solid var(--line); }
    .step-n { font: 500 11px/1 var(--mono); letter-spacing: .2em; color: var(--bronze); }
    .step h3, .step .step-title { margin: 16px 0 8px; font: 600 20px/1.2 var(--font); letter-spacing: -0.025em; }
    .step p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

    /* En-tête de la section « L'objet » */
    .chapters-head { text-align: center; margin-bottom: 44px; }
    /* FAQ : questions et réponses toujours visibles (lisibles dès le premier crawl) */
    .faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin-top: 48px; }
    .faq-item { padding: 22px 0; border-top: 1px solid var(--line); }
    .faq-item h3 { font: 600 18px/1.3 var(--font); letter-spacing: -0.02em; text-wrap: balance; }
    .faq-item p { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
    @media (max-width: 960px) { .faq { grid-template-columns: minmax(0, 1fr); } }

    /* ───────── FONDS & FINITIONS (partagés) ───────── */
    .bgt-titanium { background: radial-gradient(90% 50% at 50% 0%, rgba(255,255,255,.085), transparent 70%), linear-gradient(180deg, #1b1c1f 0%, #0f1012 42%, #08080a 100%); }
    .bgt-nebula { background: radial-gradient(70% 42% at 18% 8%, rgba(128,118,106,.26), transparent 70%), radial-gradient(60% 40% at 92% 38%, rgba(184,149,106,.14), transparent 70%), radial-gradient(90% 50% at 50% 105%, rgba(255,255,255,.06), transparent 70%), #07070a; }
    .bgt-champagne { background: radial-gradient(95% 55% at 50% -6%, rgba(224,192,142,.32), rgba(224,192,142,.07) 45%, transparent 72%), linear-gradient(180deg, #15130f 0%, #0a0908 58%, #060605 100%); }
    .bgt-grid {
      background:
        radial-gradient(120% 75% at 50% 0%, rgba(6,6,7,0) 30%, #060607 88%),
        linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px),
        #060607;
      background-size: auto, 22px 22px, 22px 22px, auto;
    }
    .bgt-onyx { background: radial-gradient(80% 46% at 50% -4%, rgba(255,255,255,.045), transparent 70%), linear-gradient(180deg, #08080a 0%, #040405 55%, #020203 100%); }
    .bgt-emerald { background: radial-gradient(85% 50% at 50% -6%, rgba(104,168,146,.2), rgba(104,168,146,.045) 46%, transparent 72%), radial-gradient(60% 40% at 92% 96%, rgba(196,206,212,.06), transparent 70%), linear-gradient(180deg, #0c1211 0%, #070a0a 55%, #040505 100%); }
    .bgt-cyan { background: radial-gradient(70% 44% at 14% 0%, rgba(88,188,220,.17), transparent 70%), radial-gradient(60% 40% at 96% 44%, rgba(88,188,220,.07), transparent 70%), linear-gradient(180deg, #0b0f12 0%, #06080a 60%, #040506 100%); }

    .vcard { position: relative; aspect-ratio: 1.586; border-radius: 5.2% / 8.25%; overflow: hidden; isolation: isolate; transform: translateZ(0); box-shadow: 0 26px 44px -24px rgba(0,0,0,.95), 0 2px 6px rgba(0,0,0,.35); }
    .vcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), inset 0 1px 0 rgba(255,255,255,.1); pointer-events: none; z-index: 4; }
    .fin { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease); }
    .fin.is-on { opacity: 1; }
    .finish-matte { background: var(--noise), radial-gradient(130% 110% at 16% 0%, #1e1e22 0%, #0c0c0e 50%, #060607 100%); }
    .finish-titanium { background: repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, rgba(0,0,0,.05) 1px 2px, rgba(255,255,255,0) 2px 4px), linear-gradient(122deg, #5d6066 0%, #393b40 28%, #74777d 52%, #3a3c41 76%, #585b61 100%); }
    .finish-gold { background: linear-gradient(90deg, rgba(205,170,114,0) 7%, rgba(205,170,114,.55) 7.2%, rgba(205,170,114,.55) 7.6%, rgba(205,170,114,0) 7.8%), var(--noise), linear-gradient(135deg, #0e0d0b 0%, #17140f 58%, #0a0908 100%); box-shadow: inset 0 0 0 1px rgba(205,170,114,.32); }
    .finish-navy { background: var(--noise), radial-gradient(120% 100% at 15% 0%, #1b2540 0%, #0e1526 50%, #070b15 100%); }
    .finish-frost { background: radial-gradient(90% 90% at 20% 0%, rgba(255,255,255,.2), rgba(255,255,255,0) 60%), linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.05) 55%, rgba(255,255,255,.1)), #1b1c20; }
    .finish-obsidian { background: radial-gradient(120% 70% at 28% -12%, rgba(255,255,255,.16), rgba(255,255,255,0) 52%), linear-gradient(165deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,0) 38%), linear-gradient(160deg, #16171b 0%, #08090b 46%, #020203 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
    .finish-graphite { background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, rgba(0,0,0,.09) 1px 2px, rgba(255,255,255,0) 2px 4px), linear-gradient(122deg, #34363b 0%, #1d1e22 30%, #45484e 52%, #1e1f23 76%, #303237 100%); }
    .finish-carbon { background: radial-gradient(80% 70% at 88% 6%, rgba(96,200,230,.1), rgba(96,200,230,0) 60%), repeating-linear-gradient(45deg, rgba(255,255,255,.045) 0 2px, rgba(0,0,0,.28) 2px 4px), repeating-linear-gradient(-45deg, rgba(255,255,255,.03) 0 2px, rgba(0,0,0,.22) 2px 4px), linear-gradient(135deg, #1b1c1f 0%, #0c0d0f 60%, #16171a 100%); }
    .finish-champagne { background: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, rgba(0,0,0,.035) 1px 3px), linear-gradient(122deg, #b99c6d 0%, #8c744d 30%, #d6be92 52%, #8d7552 76%, #b39368 100%); }
    .finish-stealth { background: var(--noise), #050506; }
    .vcard-ink { position: absolute; inset: 0; z-index: 3; padding: 8% 7.5%; display: flex; flex-direction: column; justify-content: space-between; color: rgba(237,237,237,.8); transition: color .5s var(--ease); }
    .vcard-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
    .vcard-logo { display: inline-flex; align-items: center; gap: 7px; font: 600 11px/1 var(--font); letter-spacing: .32em; }
    .vcard-logo svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
    .vcard-nfc { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; opacity: .6; }
    .vcard-line { max-width: 42%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 8.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; opacity: .62; }
    .vcard-sheen { position: absolute; inset: 0; z-index: 2; background: linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.07) 46%, rgba(255,255,255,0) 60%); pointer-events: none; }
    [data-ink="gold"] .vcard-ink, .profile[data-finish="gold"] .vcard-ink { color: #CFAC74; }
    [data-ink="titanium"] .vcard-ink, .profile[data-finish="titanium"] .vcard-ink { color: rgba(255,255,255,.92); }
    [data-ink="navy"] .vcard-ink, .profile[data-finish="navy"] .vcard-ink { color: #C9D0DD; }

    /* ───────── PROFIL DIGITAL (composant) ───────── */
    .profile { position: absolute; inset: 0; overflow: hidden; color: var(--text); font-family: var(--font-text); }
    .p-bg { position: absolute; inset: 0; z-index: 0; }
    .p-bg .bgl { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease); }
    .profile[data-bg="titanium"] .bgl[data-l="titanium"],
    .profile[data-bg="nebula"] .bgl[data-l="nebula"],
    .profile[data-bg="champagne"] .bgl[data-l="champagne"],
    .profile[data-bg="grid"] .bgl[data-l="grid"],
    .profile[data-bg="onyx"] .bgl[data-l="onyx"],
    .profile[data-bg="emerald"] .bgl[data-l="emerald"],
    .profile[data-bg="cyan"] .bgl[data-l="cyan"] { opacity: 1; }
    .profile[data-finish="matte"] .fin[data-l="matte"],
    .profile[data-finish="titanium"] .fin[data-l="titanium"],
    .profile[data-finish="gold"] .fin[data-l="gold"],
    .profile[data-finish="navy"] .fin[data-l="navy"],
    .profile[data-finish="frost"] .fin[data-l="frost"],
    .profile[data-finish="obsidian"] .fin[data-l="obsidian"],
    .profile[data-finish="graphite"] .fin[data-l="graphite"],
    .profile[data-finish="carbon"] .fin[data-l="carbon"],
    .profile[data-finish="champagne"] .fin[data-l="champagne"],
    .profile[data-finish="stealth"] .fin[data-l="stealth"] { opacity: 1; }
    .p-watermark { position: absolute; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease); }
    .profile[data-watermark="on"] .p-watermark { opacity: 1; }
    .p-watermark-in { position: absolute; inset: -60%; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 64px 44px; transform: rotate(-28deg); }
    .p-watermark-in span { font: 600 10.5px/1 var(--mono); letter-spacing: .26em; color: rgba(255,255,255,.075); white-space: nowrap; }
    .p-scroll { position: absolute; inset: 0; z-index: 2; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding: 60px 20px 30px; -webkit-overflow-scrolling: touch; }
    .p-scroll::-webkit-scrollbar { display: none; }
    .p-banner { display: flex; justify-content: center; margin-bottom: 16px; }
    .profile[data-state="active"] .p-banner { display: none !important; }
    .p-banner span.pill { display: inline-flex; align-items: center; gap: 8px; height: 24px; padding: 0 11px; border-radius: 6px; background: rgba(0,0,0,.35); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); font: 500 9.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(237,237,237,.66); }
    .p-banner i { width: 5px; height: 5px; border-radius: 50%; background: #6B6B73; }
    .profile[data-state="pending"] .p-banner i, .profile[data-state="dirty"] .p-banner i { background: var(--amber); }
    .p-avatar {
      position: relative; z-index: 1; width: 84px; height: 84px; margin: -42px auto 14px; border-radius: 50%; overflow: hidden;
      display: grid; place-items: center; font: 600 26px/1 var(--font); letter-spacing: -0.02em;
      background: linear-gradient(145deg, #2a2b2f, #111214);
      box-shadow: 0 0 0 4px rgba(6,6,8,.94), 0 14px 26px -10px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.12);
    }
    .p-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    .p-name { text-align: center; font: 600 24px/1.15 var(--font); letter-spacing: -0.028em; overflow-wrap: anywhere; }
    .p-role { margin-top: 5px; text-align: center; font-size: 14.5px; color: rgba(237,237,237,.66); overflow-wrap: anywhere; }
    .is-ph { color: rgba(237,237,237,.3) !important; }
    .p-company { margin-top: 10px; text-align: center; font: 500 10.5px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(237,237,237,.45); overflow-wrap: anywhere; }
    .p-bio { margin: 14px auto 0; max-width: 30ch; text-align: center; font-size: 14px; line-height: 1.55; color: rgba(237,237,237,.66); overflow-wrap: anywhere; }
    .p-quick { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; margin: 22px 0 10px; }
    .p-q, .p-link {
      text-decoration: none; border-radius: 14px;
      background: rgba(255,255,255,.055); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), inset 0 1px 0 rgba(255,255,255,.05);
      transition: transform .5s var(--ease), background-color .2s ease, opacity .3s ease;
      touch-action: manipulation;
    }
    .p-q { height: 52px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 500; }
    .p-q[aria-disabled="true"] { opacity: .32; pointer-events: none; }
    .p-q:active, .p-link:active { transform: scale(.97); transition-duration: .12s; }
    .p-links { list-style: none; display: grid; gap: 8px; }
    .p-link { display: grid; grid-template-columns: 18px auto 1fr 14px; align-items: center; gap: 12px; height: 54px; padding: 0 16px; }
    .p-link-l { font-size: 14px; font-weight: 500; }
    .p-link-v { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; font-size: 12.5px; color: rgba(237,237,237,.5); }
    .p-link .chev { width: 14px; height: 14px; opacity: .35; }
    .p-save {
      width: 100%; height: 52px; margin-top: 14px; border-radius: 14px;
      display: flex; align-items: center; justify-content: center; gap: 8px;
      background: #EDEDED; color: #060607; font-size: 15px; font-weight: 600;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 12px 24px -14px rgba(0,0,0,.9);
      transition: transform .5s var(--ease); touch-action: manipulation;
    }
    .p-save:active { transform: scale(.975); transition-duration: .12s; }
    @media (hover: hover) and (pointer: fine) {
      .p-q:hover, .p-link:hover { background: rgba(255,255,255,.085); }
    }
    .p-foot { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 7px; font: 500 9.5px/1 var(--mono); letter-spacing: .22em; color: rgba(237,237,237,.3); }
    .p-foot svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }

    /* Profil plein écran (aperçu sécurisé) */
    .profile--full { position: relative; inset: auto; min-height: 100vh; min-height: 100svh; }
    .profile--full .p-scroll { position: relative; inset: auto; overflow: visible; max-width: 440px; margin: 0 auto; padding: 96px 22px 64px; }

    /* ─── KLYX : carte interactive, strictement limitée aux profils hors accueil ─── */
    .pc-scene { position: relative; width: 100%; aspect-ratio: 1.586; perspective: 1200px; }
    .pc-arrival { position: absolute; inset: 0; }
    .pc-hit { display: block; position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 5.2% / 8.25%; background: transparent; perspective: 1200px; touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none; }
    .pc-hit:focus-visible { outline: 2px solid var(--text); outline-offset: 5px; border-radius: 5.2% / 8.25%; }
    .pc-float, .pc-tilt, .pc-flip { display: block; position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
    /* Ne pas ajouter overflow, opacity, filter ou isolation sur la chaîne preserve-3d. */
    .pc-face { display: block; position: absolute; inset: 0; overflow: hidden; border-radius: 5.2% / 8.25%; background: #101012; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 26px 44px -24px rgba(0,0,0,.95), inset 0 0 0 1px rgba(255,255,255,.12); }
    .pc-front { transform: translateZ(1.3px); }
    .pc-back { transform: rotateY(180deg) translateZ(1.3px); }
    .pc-face::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), inset 0 1px 0 rgba(255,255,255,.12); pointer-events: none; }
    .pc-ink { position: absolute; inset: 0; padding: 7.2% 7.6%; color: rgba(237,237,237,.8); text-align: left; }
    .pc-ink .klogo { font-size: 12px; }
    .pc-ink .knfc { width: 20px; height: 20px; }
    .pc-chip { position: absolute; left: 7.6%; top: 34%; display: block; }
    .pc-engraving { position: absolute; left: 7.6%; right: 7.6%; bottom: 24%; color: #d4d5d8; font: 500 10px/1.35 var(--mono); letter-spacing: .1em; text-shadow: 0 1px 0 rgba(0,0,0,.75); overflow-wrap: anywhere; }
    .pc-micro { position: absolute; left: 7.6%; bottom: 8.5%; font: 500 8px/1.4 var(--mono); letter-spacing: .14em; color: #b0b0b9; }
    .pc-back .kback-foot { padding: 0 12px; }
    .pc-back .kmicro { color: #b0b0b9; font-size: 8px; letter-spacing: .12em; }
    .pc-back .ktap svg { stroke: #b0b0b9; }
    .pc-sheen { position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 28%, rgba(255,255,255,.075) 48%, transparent 67%); pointer-events: none; }
    .pc-motion { position: absolute; right: 4px; bottom: 2px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #b0b0b9; touch-action: manipulation; }
    .pc-motion svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
    .pc-motion:active { background: rgba(255,255,255,.08); }
    @media (hover: hover) { .pc-motion:hover { color: var(--text); background: rgba(255,255,255,.06); } }
    .pc-scene.pc-running .pc-float, .pc-scene.pc-running .pc-tilt, .pc-scene.pc-running .pc-flip, .pc-scene.pc-running .pc-sheen { will-change: transform; }
    .pc-type-visual > span { opacity: 0; }
    .k-engrave-toggle { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; margin-top: 18px; cursor: pointer; font-size: 13px; color: var(--text); }
    .k-engrave-toggle input { position: absolute; right: 0; width: 44px; height: 44px; opacity: 0; cursor: pointer; }
    .k-engrave-track { position: relative; flex: none; width: 42px; height: 26px; border: 1px solid var(--line-2); border-radius: 99px; background: #27272c; transition: background-color .18s ease; pointer-events: none; }
    .k-engrave-track::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #ededed; box-shadow: 0 2px 4px rgba(0,0,0,.3); transition: transform .24s var(--ease), background-color .18s ease; }
    .k-engrave-toggle input:checked + .k-engrave-track { background: #ededed; }
    .k-engrave-toggle input:checked + .k-engrave-track::after { transform: translateX(16px); background: #111214; }
    .k-engrave-toggle input:focus-visible + .k-engrave-track { outline: 2px solid var(--text); outline-offset: 4px; }
    .p-create { width: 100%; margin-top: 28px; height: auto; min-height: 52px; padding: 14px 18px; white-space: normal; text-align: center; line-height: 1.4; }
    @media (prefers-reduced-motion: reduce) { .pc-motion { display: none; } }

    /* ───────── APPAREIL ───────── */
    .device {
      position: relative; width: 360px; height: min(760px, calc(100svh - 140px)); min-height: 620px;
      padding: 11px; border-radius: 58px;
      background: linear-gradient(145deg, #2b2c30 0%, #111214 38%, #1d1e21 100%);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), inset 0 0 0 2.5px rgba(0,0,0,.7), 0 60px 110px -50px rgba(0,0,0,1), 0 24px 40px -24px rgba(0,0,0,.8);
    }
    .device-screen { position: relative; height: 100%; border-radius: 47px; overflow: hidden; background: #000; isolation: isolate; transform: translateZ(0); contain: layout paint style; }
    .device-island { position: absolute; top: 11px; left: 50%; width: 104px; height: 30px; margin-left: -52px; border-radius: 20px; background: #000; z-index: 6; }
    .device-status { position: absolute; top: 0; left: 0; right: 0; height: 52px; padding: 0 32px 0 36px; display: flex; align-items: center; justify-content: space-between; z-index: 5; pointer-events: none; font: 600 14.5px/1 var(--font); }
    .device-status svg { height: 11px; width: auto; fill: currentColor; }
    .device-status .sig { display: flex; gap: 6px; align-items: center; }

    /* ───────── STUDIO ───────── */
    .studio { max-width: 1220px; margin: 0 auto; padding: 108px 24px 80px; }
    .studio-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
    .studio-head h2, .studio-head .studio-title { font: 600 clamp(34px, 4.2vw, 52px)/1 var(--font); letter-spacing: -0.045em; margin-top: 16px; }
    .studio-head p { margin-top: 12px; color: var(--muted); max-width: 36em; }
    .status { display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 14px; border-radius: 8px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; }
    .status i { width: 7px; height: 7px; border-radius: 50%; background: #6B6B73; transition: background-color .3s ease; }
    .status[data-state="pending"] { color: var(--text); }
    .status[data-state="pending"] i { background: var(--amber); box-shadow: 0 0 0 4px rgba(210,161,94,.16); }
    .status[data-state="dirty"] i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--amber); }
    .studio-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; }
    .studio-config { padding: 10px; }
    .studio-preview { position: sticky; top: 84px; display: flex; flex-direction: column; align-items: center; gap: 18px; }

    .seg { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding: 4px; border-radius: 14px; background: rgba(0,0,0,.28); box-shadow: inset 0 0 0 1px var(--line); }
    .seg-ind { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 10px; background: rgba(255,255,255,.09); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 4px 12px -4px rgba(0,0,0,.6); transition: transform .55s var(--ease); will-change: transform; }
    .seg button { position: relative; z-index: 1; height: 40px; border-radius: 10px; font-size: 13.5px; font-weight: 500; color: var(--muted); transition: color .25s ease; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
    .seg button[aria-selected="true"], .seg button[aria-pressed="true"] { color: var(--text); }
    .seg button .n { font: 500 10px/1 var(--mono); color: var(--dim); }

    .tabpanel { padding: 26px 18px 10px; }
    .tabpanel:not([hidden]) { animation: panelIn .55s var(--ease) both; }
    @keyframes panelIn { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }
    .fset { border: 0; margin-bottom: 30px; }
    .fset legend { font: 500 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
    .fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
    .span2 { grid-column: 1 / -1; }
    .field label, .field .label { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; font-size: 13px; font-weight: 500; color: rgba(237,237,237,.78); }
    .field label .opt { color: var(--dim); font-weight: 400; }
    .inp {
      display: block; width: 100%; height: 46px; padding: 0 14px;
      border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.03);
      font-size: 16px; color: var(--text); outline: none;
      transition: border-color .2s ease, background-color .2s ease, box-shadow .25s ease;
      -webkit-appearance: none; appearance: none;
    }
    textarea.inp { height: 92px; padding: 12px 14px; resize: none; line-height: 1.5; }
    .inp::placeholder { color: #55555E; }
    .inp:focus { border-color: rgba(237,237,237,.32); background: rgba(255,255,255,.05); box-shadow: 0 0 0 4px rgba(237,237,237,.06); }
    .inp[aria-invalid="true"] { border-color: rgba(229,140,120,.7); }
    .inp-ico { position: relative; }
    .inp-ico .ico { position: absolute; left: 14px; top: 50%; margin-top: -8px; width: 16px; height: 16px; color: var(--dim); pointer-events: none; }
    .inp-ico .inp { padding-left: 40px; }
    .ferr { margin-top: 7px; font-size: 12.5px; color: #E8A596; }
    .hint { margin-top: 7px; font-size: 12.5px; color: var(--dim); }
    .photo-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
    .photo-av { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; position: relative; display: grid; place-items: center; background: linear-gradient(145deg, #26272b, #111214); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); font: 600 16px/1 var(--font); }
    .photo-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    .file-btn { position: relative; overflow: hidden; }
    .file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
    .file-btn:focus-within { outline: 2px solid rgba(237,237,237,.85); outline-offset: 3px; }

    .swatches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .swatch { position: relative; display: block; cursor: pointer; }
    .swatch input { position: absolute; opacity: 0; pointer-events: none; }
    .swatch-body { position: relative; display: block; padding: 8px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.022); transition: border-color .25s ease, background-color .25s ease, transform .55s var(--ease); }
    .swatch:active .swatch-body { transform: scale(.975); transition-duration: .12s; }
    @media (hover: hover) { .swatch:hover .swatch-body { border-color: var(--line-2); } }
    .swatch input:checked + .swatch-body { border-color: rgba(237,237,237,.55); background: rgba(255,255,255,.05); }
    .swatch input:focus-visible + .swatch-body { outline: 2px solid rgba(237,237,237,.85); outline-offset: 3px; }
    .swatch-vis { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 11px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
    .swatch-vis--card { background: radial-gradient(70% 70% at 50% 40%, rgba(255,255,255,.05), transparent 70%), #08080a; }
    .swatch-vis .vcard { width: 64%; box-shadow: 0 14px 22px -12px rgba(0,0,0,.95); }
    .swatch-txt { display: block; padding: 12px 6px 6px; }
    .swatch-txt b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
    .swatch-txt small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
    .swatch-check { position: absolute; top: 16px; right: 16px; z-index: 5; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #EDEDED; color: #060607; opacity: 0; transform: scale(.5); transition: opacity .2s ease, transform .5s var(--ease); }
    .swatch-check svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
    .swatch input:checked + .swatch-body .swatch-check { opacity: 1; transform: none; }
    .note-physical { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: rgba(0,0,0,.25); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; line-height: 1.5; color: var(--muted); }
    .note-physical b { color: var(--text); font-weight: 500; }
    .note-physical .mini-k { width: 62px; flex: none; aspect-ratio: 1.586; border-radius: 5px; position: relative; overflow: hidden; }
    .note-physical .mini-k .klogo { font-size: 5px; letter-spacing: .3em; position: absolute; left: 7px; top: 7px; gap: 3px; }

    .studio-foot { margin: 6px 8px 8px; padding: 18px 10px 8px; border-top: 1px solid rgba(255,255,255,.06); }
    .lockrow { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(0,0,0,.25); box-shadow: inset 0 0 0 1px var(--line); }
    .lockrow .lk { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); flex: none; }
    .lockrow .t { min-width: 0; flex: 1; }
    .lockrow .t b { display: block; font-size: 13.5px; font-weight: 500; }
    .lockrow .t code { display: block; margin-top: 3px; font: 500 12px/1.3 var(--mono); color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .lockrow .tag { font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--amber); padding: 6px 8px; border-radius: 7px; background: rgba(210,161,94,.08); box-shadow: inset 0 0 0 1px rgba(210,161,94,.22); }
    .foot-actions { display: flex; gap: 10px; margin-top: 14px; }
    .foot-actions .btn-primary { flex: 1; }
    .legal-note { margin-top: 14px; font-size: 12.5px; line-height: 1.55; color: var(--dim); }
    .linkish { color: var(--muted); text-decoration: underline; text-decoration-color: rgba(255,255,255,.2); text-underline-offset: 3px; font-size: inherit; }
    @media (hover: hover) { .linkish:hover { color: var(--text); } }
    .preview-caption { display: flex; align-items: center; gap: 12px; max-width: 360px; font-size: 12.5px; line-height: 1.5; color: var(--dim); }
    .preview-caption .mini-k { width: 46px; flex: none; aspect-ratio: 1.586; border-radius: 4px; }
    .preview-actions { display: none; width: 100%; max-width: 360px; gap: 10px; }
    .preview-actions .btn-primary { flex: 1; }
    .studio-switch { display: none; position: sticky; top: 68px; z-index: 20; margin: -12px 0 20px; }
    .studio-switch .seg { background: #0b0b0e; }
    [tabindex="-1"]:focus { outline: none; }

    /* ───────── APERÇU SÉCURISÉ & VUE VERROUILLÉE ───────── */
    .pv-bar { position: fixed; top: max(12px, env(safe-area-inset-top)); left: 12px; right: 12px; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 10px; pointer-events: none; }
    .pv-bar > * { pointer-events: auto; }
    .pv-bar .btn, .pv-bar .status { background: rgba(8,8,10,.82); }
    .locked { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 24px; background: radial-gradient(60% 45% at 50% 40%, rgba(255,255,255,.04), transparent 70%), var(--bg); }
    .locked-box { max-width: 420px; padding: 36px 30px; text-align: center; }
    .locked-box .lk { width: 52px; height: 52px; margin: 0 auto 22px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); }
    .locked-box h2, .locked-box .locked-title { font: 600 26px/1.15 var(--font); letter-spacing: -0.03em; }
    .locked-box p { margin: 12px 0 26px; color: var(--muted); line-height: 1.6; }

    /* ───────── ÉTATS DE VALIDATION ───────── */
    .status[data-state="update"] { color: var(--text); }
    .status[data-state="update"] i { background: var(--amber); box-shadow: 0 0 0 4px rgba(210,161,94,.16); }
    .status[data-state="active"] { color: var(--text); }
    .status[data-state="active"] i { background: #EDEDED; box-shadow: 0 0 0 4px rgba(237,237,237,.12); }
    .profile[data-state="update"] .p-banner i { background: var(--amber); }
    .profile[data-state="active"] .p-banner i { background: #EDEDED; }
    .sent-note { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(210,161,94,.06); box-shadow: inset 0 0 0 1px rgba(210,161,94,.2); font-size: 13.5px; line-height: 1.5; }
    .sent-note i { width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; background: var(--amber); flex: none; }
    .sent-note[data-state="active"] { background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line-2); }
    .sent-note[data-state="active"] i { background: #EDEDED; }
    .sent-note:not([hidden]) { animation: panelIn .55s var(--ease) both; }
    .lockrow[data-state="active"] .lk, .lockrow[data-state="active"] .t code { color: var(--text); }
    .lockrow[data-state="active"] .tag { color: var(--text); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-2); }
    .specs dd { overflow-wrap: anywhere; }
    .spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
    .is-busy .spin { display: inline-block; }
    .spin--lg { display: inline-block; width: 26px; height: 26px; color: var(--muted); }
    @keyframes spin { to { transform: rotate(360deg); } }
    .btn.is-busy[disabled] { opacity: .8; }
    .form-alert { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(229,140,120,.08); box-shadow: inset 0 0 0 1px rgba(229,140,120,.25); color: #F0B8AA; font-size: 13.5px; line-height: 1.5; }
    .form-alert:not([hidden]) { animation: panelIn .45s var(--ease) both; }

    /* Commande */
    .dlg--order .dlg-box { max-height: calc(100svh - 32px); overflow-y: auto; overscroll-behavior: contain; }
    .dlg-box > .kicker { margin-top: 0; }
    .dlg--order h2, .dlg--order .dlg-title { margin-top: 14px; }
    .dlg-box > .dlg-sub { margin-top: 8px; font-size: 14px; }
    .order-recap { display: flex; align-items: center; gap: 14px; margin: 20px 0 22px; padding: 12px 14px; border-radius: 14px; background: rgba(0,0,0,.25); box-shadow: inset 0 0 0 1px var(--line); }
    .order-recap .vcard { width: 60px; flex: none; box-shadow: 0 8px 14px -8px rgba(0,0,0,.9); }
    .order-recap b, .order-recap .val { display: block; font-size: 14px; font-weight: 600; }
    .order-recap small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
    .check { position: relative; display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; font-size: 13.5px; line-height: 1.55; color: var(--muted); cursor: pointer; }
    .check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
    .check .box { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); display: grid; place-items: center; transition: background-color .2s ease, border-color .2s ease, transform .5s var(--ease); }
    .check .box svg { width: 12px; height: 12px; fill: none; stroke: #060607; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.5); transition: opacity .15s ease, transform .45s var(--ease); }
    .check input:checked + .box { background: #EDEDED; border-color: #EDEDED; }
    .check input:checked + .box svg { opacity: 1; transform: none; }
    .check input:focus-visible + .box { outline: 2px solid rgba(237,237,237,.85); outline-offset: 3px; }
    .check input[aria-invalid="true"] + .box { border-color: rgba(229,140,120,.7); }
    .check:active .box { transform: scale(.9); transition-duration: .12s; }
    .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
    .dlg-actions--stack { flex-direction: column; }
    .dlg-actions--stack .btn { flex: none; width: 100%; }

    /* Validation administrateur */
    .admin { max-width: 1100px; margin: 0 auto; padding: 24px 24px 88px; }
    .admin-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
    .admin-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
    .admin-panel { padding: 32px; }
    .admin-panel .adm-title { margin-top: 14px; font: 600 clamp(28px, 3.4vw, 40px)/1.05 var(--font); letter-spacing: -0.04em; }
    .adm-sub { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.55; }
    .adm-sub b, .adm-sub .val { color: var(--text); font-weight: 500; font-family: var(--mono); font-size: 13px; }
    .adm-h { margin-top: 30px; font: 500 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
    .admin-panel .specs { margin-top: 12px; }
    .adm-go { width: 100%; margin-top: 28px; }
    .adm-state { padding: 36px 8px; text-align: center; }
    .adm-state .adm-title { margin-top: 0; }
    .adm-state p { max-width: 34em; margin: 14px auto 24px; color: var(--muted); line-height: 1.6; }
    .adm-lk { width: 52px; height: 52px; margin: 0 auto 20px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); }
    #adm-done .lockrow { margin-top: 24px; }
    #adm-done:not([hidden]), #adm-review:not([hidden]) { animation: panelIn .6s var(--ease) both; }
    #adm-done:not([hidden]) .ok-badge path { animation: draw .7s var(--ease) .15s forwards; }
    .admin-preview { position: sticky; top: 24px; display: flex; justify-content: center; }
    .admin-preview .device { width: min(360px, 100%); }
    @media (max-width: 960px) {
      .admin-grid { grid-template-columns: 1fr; gap: 32px; }
      .admin-preview { position: static; }
    }
    @media (max-width: 600px) { .admin-panel { padding: 24px 20px; } }

    /* Profil public */
    .pub-loading { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; }

    /* ───────── FOOTER ───────── */
    .site-footer { border-top: 1px solid rgba(255,255,255,.06); }
    .footer-in { max-width: 1160px; margin: 0 auto; padding: 36px 24px calc(36px + env(safe-area-inset-bottom)); display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 12.5px; color: var(--dim); }
    .footer-top { max-width: 1160px; margin: 0 auto; padding: 56px 24px 8px; display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); gap: 36px 28px; }
    .footer-brand p { margin-top: 14px; max-width: 26em; font-size: 13px; line-height: 1.6; color: var(--dim); }
    .footer-h { margin-bottom: 14px; font: 500 10.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
    .footer-col ul { list-style: none; display: grid; gap: 9px; }
    .footer-col a { font-size: 13.5px; line-height: 1.4; color: var(--muted); text-decoration: none; transition: color .2s ease; }
    .footer-col a[target="_blank"]::after { content: " ↗"; font-size: 11px; color: var(--dim); }
    @media (hover: hover) { .footer-col a:hover { color: var(--text); } }
    @media (max-width: 960px) { .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-brand { grid-column: 1 / -1; } }

    /* ───────── DIALOGUES ───────── */
    dialog.dlg {
      width: calc(100vw - 32px); max-width: 520px; max-height: calc(100svh - 32px);
      margin: auto; padding: 0; border: 0; background: transparent; color: var(--text); overflow: visible;
      opacity: 0; transform: translate3d(0, 14px, 0) scale(.97);
      transition: opacity .22s ease, transform .5s var(--ease);
    }
    dialog.dlg.is-open { opacity: 1; transform: none; }
    dialog.dlg::backdrop { background: rgba(3,3,5,.74); opacity: 0; transition: opacity .25s ease; }
    dialog.dlg.is-open::backdrop { opacity: 1; }
    .dlg-box { position: relative; padding: 30px; background: linear-gradient(180deg, #121215, #0b0b0e); border: 1px solid var(--line-2); border-radius: 26px; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 50px 100px -30px rgba(0,0,0,1); }
    .dlg-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: background-color .2s ease, color .2s ease, transform .5s var(--ease); }
    .dlg-x:active { transform: scale(.9); }
    @media (hover: hover) { .dlg-x:hover { background: rgba(255,255,255,.06); color: var(--text); } }
    .ok-badge { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px; background: rgba(210,161,94,.08); box-shadow: inset 0 0 0 1px rgba(210,161,94,.3), 0 0 0 8px rgba(210,161,94,.04); color: var(--amber); }
    .ok-badge svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .ok-badge path { stroke-dasharray: 24; stroke-dashoffset: 24; }
    dialog.is-open .ok-badge path { animation: draw .7s var(--ease) .18s forwards; }
    @keyframes draw { to { stroke-dashoffset: 0; } }
    .dlg-box h2, .dlg-box .dlg-title { font: 600 22px/1.2 var(--font); letter-spacing: -0.025em; padding-right: 30px; text-wrap: balance; }
    .dlg-status { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(210,161,94,.06); box-shadow: inset 0 0 0 1px rgba(210,161,94,.18); font-size: 14px; line-height: 1.5; }
    .dlg-status i { width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; background: var(--amber); flex: none; }
    .dlg-box > p { margin-top: 14px; color: var(--muted); line-height: 1.6; }
    .ref { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.06); font: 500 12px/1.4 var(--mono); color: var(--dim); letter-spacing: .06em; }
    .ref b { color: var(--muted); font-weight: 500; }
    .dlg-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
    .dlg-actions .btn { flex: 1; }
    .dlg-actions.dlg-actions--stack .btn { flex: none; width: 100%; }

    dialog.dlg--legal { max-width: 760px; }
    .legal-box { display: flex; flex-direction: column; max-height: calc(100svh - 32px); padding: 0; overflow: hidden; }
    .legal-head { padding: 22px 26px 16px; }
    .legal-head h2, .legal-head .legal-title { font: 600 19px/1.2 var(--font); letter-spacing: -0.02em; }
    .legal-tabs { display: flex; gap: 4px; padding: 0 20px 14px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid rgba(255,255,255,.06); }
    .legal-tabs::-webkit-scrollbar { display: none; }
    .legal-tab { flex: none; height: 34px; padding: 0 13px; border-radius: 8px; font-size: 13px; color: var(--muted); transition: color .2s ease, background-color .2s ease; }
    .legal-tab[aria-selected="true"] { color: var(--text); background: rgba(255,255,255,.08); }
    .legal-content { padding: 22px 26px 28px; overflow-y: auto; font-size: 14px; line-height: 1.7; color: #BDBDC4; overscroll-behavior: contain; }
    .legal-content h3, .legal-content .legal-h3 { margin: 18px 0 6px; font: 600 15px/1.35 var(--font); color: var(--text); letter-spacing: -0.01em; }
    .legal-content h3:first-child { margin-top: 0; }
    .legal-content p + p { margin-top: 8px; }
    .legal-content .btn { margin-top: 14px; }
    .legal-panel:not([hidden]) { animation: panelIn .45s var(--ease) both; }

    /* ───────── COOKIES (APD) ───────── */
    .cookie {
      position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 150;
      width: min(400px, calc(100vw - 32px)); padding: 20px;
      background: #0e0e11; border: 1px solid var(--line-2); border-radius: 20px;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 30px 60px -20px rgba(0,0,0,.95);
      opacity: 0; transform: translate3d(0, 18px, 0); pointer-events: none;
      transition: opacity .3s ease, transform .6s var(--ease);
    }
    .cookie.show { opacity: 1; transform: none; pointer-events: auto; }
    .cookie h2, .cookie .cookie-title { font: 600 14.5px/1.3 var(--font); }
    .cookie p { margin-top: 6px; font-size: 13px; line-height: 1.55; color: var(--muted); }
    .cookie-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
    .cookie-btns .btn { width: 100%; }

    .toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 160; padding: 11px 16px; border-radius: 8px; background: #EDEDED; color: #060607; font-size: 13.5px; font-weight: 500; transform: translate3d(-50%, 20px, 0); opacity: 0; transition: opacity .25s ease, transform .6s var(--ease); pointer-events: none; }
    .toast.show { opacity: 1; transform: translate3d(-50%, 0, 0); }

    /* ───────── MES CARTES (multi-cartes locales) ───────── */
    .cards-bar { position: relative; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -12px 0 28px; }
    .cards-pick { position: relative; min-width: 0; }
    .cards-toggle { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; height: 52px; padding: 0 14px 0 8px; border-radius: 16px; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px var(--line); text-align: left; transition: background-color .2s ease, box-shadow .2s ease, transform .5s var(--ease); touch-action: manipulation; }
    .cards-toggle:active { transform: scale(.98); transition-duration: .12s; }
    @media (hover: hover) { .cards-toggle:hover { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-2); } }
    .cards-toggle[aria-expanded="true"] { background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px var(--line-2); }
    .cards-mini { width: 40px; flex: none; border-radius: 4px; box-shadow: 0 6px 12px -6px rgba(0,0,0,.9); }
    .cards-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
    .cards-t small { font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
    .cards-t small b { color: var(--muted); font-weight: 500; }
    .cards-n { font-size: 14px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 22ch; }
    .cards-chev { color: var(--dim); transform: rotate(90deg); transition: transform .45s var(--ease); }
    .cards-toggle[aria-expanded="true"] .cards-chev { transform: rotate(-90deg); }
    .cards-menu { position: absolute; top: calc(100% + 8px); left: 0; width: min(380px, calc(100vw - 32px)); max-height: min(460px, 64svh); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 8px; border-radius: 20px; background: #0e0e11; border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 40px 80px -30px rgba(0,0,0,1); opacity: 0; transform: translate3d(0,-6px,0) scale(.98); transform-origin: 24px 0; transition: opacity .18s ease, transform .45s var(--ease); }
    .cards-menu.is-open { opacity: 1; transform: none; }
    .cards-menu-h { padding: 10px 10px 8px; font: 500 10px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
    .cards-list { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .cards-item { position: relative; display: flex; align-items: center; gap: 2px; min-width: 0; border-radius: 13px; transition: background-color .2s ease; }
    .cards-open .cards-t { flex: 1 1 auto; min-width: 0; }
    .cards-item[data-current="true"] { background: rgba(255,255,255,.05); }
    @media (hover: hover) { .cards-item:hover { background: rgba(255,255,255,.04); } }
    .cards-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 6px 8px 10px; border-radius: 13px; text-align: left; touch-action: manipulation; transition: transform .45s var(--ease); }
    .cards-open:active { transform: scale(.985); transition-duration: .12s; }
    .cards-open .cards-t small { font: 400 12px/1.3 var(--font-text); letter-spacing: 0; text-transform: none; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .cards-open .cards-n { max-width: none; }
    .cards-ok { margin-left: auto; opacity: 0; transform: scale(.6); transition: opacity .2s ease, transform .45s var(--ease); }
    .cards-open[aria-current="true"] .cards-ok { opacity: 1; transform: none; }
    .cards-del { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-right: 6px; padding: 0; border-radius: 12px; color: var(--dim); transition: color .2s ease, background-color .2s ease, transform .45s var(--ease); touch-action: manipulation; }
    .cards-del:active { transform: scale(.92); transition-duration: .12s; }
    @media (hover: hover) { .cards-del:hover { color: #F0B8AA; background: rgba(229,140,120,.1); } }
    .cards-new { display: flex; align-items: center; gap: 10px; width: 100%; height: 50px; margin-top: 6px; padding: 0 14px; border-radius: 13px; border: 1px dashed var(--line-2); color: var(--text); font-size: 14px; font-weight: 500; transition: background-color .2s ease, border-color .2s ease, transform .45s var(--ease); touch-action: manipulation; }
    .cards-new:active { transform: scale(.985); transition-duration: .12s; }
    @media (hover: hover) { .cards-new:hover { background: rgba(255,255,255,.04); border-color: rgba(237,237,237,.3); } }
    .cards-menu-foot { padding: 10px 10px 6px; font-size: 12px; line-height: 1.5; color: var(--dim); }

    /* ───────── PRESETS MÉTIERS ───────── */
    .presets { padding: 24px 18px 0; }
    .presets:not([hidden]) { animation: panelIn .55s var(--ease) both; }
    .presets-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; font: 500 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
    .presets-h span { font: 400 12px/1.2 var(--font-text); letter-spacing: 0; text-transform: none; color: var(--dim); }
    .presets-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
    .preset { position: relative; display: flex; flex-direction: column; padding: 6px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.022); text-align: left; transition: border-color .25s ease, background-color .25s ease, transform .55s var(--ease); touch-action: manipulation; }
    .preset:active { transform: scale(.97); transition-duration: .12s; }
    .preset[aria-pressed="true"] { border-color: rgba(237,237,237,.55); background: rgba(255,255,255,.05); }
    .preset-vis { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 11px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
    .preset-vis .vcard { width: 62%; box-shadow: 0 12px 20px -10px rgba(0,0,0,.95); transition: transform .6s var(--ease); }
    @media (hover: hover) and (pointer: fine) { .preset:hover { border-color: var(--line-2); } .preset:hover .preset-vis .vcard { transform: translate3d(0,-2px,0) rotate(-2deg); } }
    .preset-t { display: block; padding: 10px 6px 6px; }
    .preset-t b { display: block; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
    .preset-t small { display: block; margin-top: 3px; font-size: 11.5px; line-height: 1.35; color: var(--muted); }
    .preset .swatch-check { top: 12px; right: 12px; }
    .preset[aria-pressed="true"] .swatch-check { opacity: 1; transform: none; }
    @media (max-width: 1040px) and (min-width: 961px) { .presets-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

    /* ───────── AFFICHAGE : carte, typographie ───────── */
    .k-engrave-toggle > span:first-child { display: flex; flex-direction: column; gap: 3px; padding-right: 8px; }
    .k-toggle--lead { margin-top: 0; }
    .k-toggle-sub { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
    .typo-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; min-height: 52px; margin-top: 10px; font-size: 13px; }
    .typo-opts { display: inline-grid; grid-auto-flow: column; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(0,0,0,.28); box-shadow: inset 0 0 0 1px var(--line); }
    .topt { position: relative; cursor: pointer; touch-action: manipulation; }
    .topt input { position: absolute; opacity: 0; pointer-events: none; }
    .topt span { display: grid; place-items: center; height: 36px; padding: 0 16px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--muted); transition: color .2s ease, background-color .25s ease, box-shadow .25s ease, transform .45s var(--ease); }
    .topt span.fine { font-weight: 300; letter-spacing: .02em; }
    .topt input:checked + span { color: var(--text); background: rgba(255,255,255,.09); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 4px 12px -4px rgba(0,0,0,.6); }
    .topt input:focus-visible + span { outline: 2px solid rgba(237,237,237,.85); outline-offset: 2px; }
    .topt:active span { transform: scale(.96); transition-duration: .12s; }
    #fs-finish { transition: opacity .35s var(--ease); }
    .studio[data-card="off"] #fs-finish { opacity: .45; }
    .finish-off-hint { display: none; margin-top: 12px; }
    .studio[data-card="off"] .finish-off-hint { display: block; }

    /* Encres des nouvelles finitions */
    .profile[data-finish="graphite"] .vcard-ink { color: rgba(226,229,233,.9); }
    .profile[data-finish="champagne"] .vcard-ink, .profile[data-finish="champagne"] .pc-ink, .profile[data-finish="champagne"] .pc-ink .klogo,
    .profile[data-finish="champagne"] .pc-engraving, .profile[data-finish="champagne"] .pc-micro, .profile[data-finish="champagne"] .pc-back .kmicro { color: rgba(38,29,17,.82); text-shadow: 0 1px 0 rgba(255,255,255,.22); }
    .profile[data-finish="champagne"] .pc-back .ktap svg { stroke: rgba(38,29,17,.7); }
    .profile[data-finish="stealth"] .vcard-ink, .profile[data-finish="stealth"] .pc-ink, .profile[data-finish="stealth"] .pc-ink .klogo { color: rgba(237,237,237,.42); }
    .profile[data-finish="stealth"] .vcard-sheen, .profile[data-finish="stealth"] .pc-sheen { opacity: 0; }
    .profile[data-finish="carbon"] .pc-sheen { background: linear-gradient(115deg, transparent 28%, rgba(120,215,240,.07) 48%, transparent 67%); }

    /* Typographie fine */
    .profile[data-typo="fine"] .p-name { font-weight: 300; letter-spacing: -0.012em; }
    .profile[data-typo="fine"] .p-role, .profile[data-typo="fine"] .p-bio { font-weight: 300; }
    .profile[data-typo="fine"] .p-company { font-weight: 400; letter-spacing: .3em; }
    .profile[data-typo="fine"] .p-q, .profile[data-typo="fine"] .p-link-l { font-weight: 400; }

    /* WhatsApp */
    .p-quick[data-n="3"] .p-q { flex-direction: column; gap: 5px; height: 64px; font-size: 12.5px; }
    .p-q--wa svg { color: #8FC5A5; }
    .inp-ico--wa .ico { color: #6E8F7C; }

    /* ───────── PROFIL ÉPURÉ (carte 3D masquée) ───────── */
    .profile[data-card="off"] .pc-scene, .profile[data-card="off"] .p-scroll > .vcard { display: none; }
    .profile[data-card="off"] .p-banner { margin-bottom: 30px; }
    .profile[data-card="off"] .p-avatar { width: 112px; height: 112px; margin: 8px auto 22px; font-size: 34px; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 0 0 7px rgba(255,255,255,.028), 0 28px 50px -20px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.12); }
    .profile[data-card="off"] .p-name { font-size: 28px; }
    .profile[data-card="off"] .p-role { margin-top: 7px; font-size: 15px; }
    .profile[data-card="off"] .p-company { margin-top: 12px; }
    .profile[data-card="off"] .p-quick { margin-top: 30px; }
    .profile--full[data-card="off"] .p-scroll { display: flex; flex-direction: column; justify-content: center; min-height: 100vh; min-height: 100svh; }
    /* Entrée échelonnée (fill backwards : ne neutralise pas le retour tactile :active) */
    .profile[data-card="off"]:not([data-mode="demo"]) .p-scroll > * { animation: pIn .8s var(--ease) backwards; }
    .profile[data-card="off"] .p-scroll > :nth-child(3) { animation-delay: .04s; }
    .profile[data-card="off"] .p-scroll > :nth-child(4) { animation-delay: .08s; }
    .profile[data-card="off"] .p-scroll > :nth-child(5) { animation-delay: .12s; }
    .profile[data-card="off"] .p-scroll > :nth-child(6) { animation-delay: .15s; }
    .profile[data-card="off"] .p-scroll > :nth-child(7) { animation-delay: .18s; }
    .profile[data-card="off"] .p-scroll > :nth-child(8) { animation-delay: .21s; }
    .profile[data-card="off"] .p-scroll > :nth-child(n+9) { animation-delay: .24s; }
    @keyframes pIn { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }

    /* ───────── LIVING BACKGROUND — transform uniquement (compositeur GPU), ultra-lent ───────── */
    .lv { position: absolute; inset: 0; overflow: hidden; pointer-events: none; contain: layout paint; }
    .lv i { position: absolute; display: block; border-radius: 50%; will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
    .lv i:nth-child(1) { left: -30%; top: -35%; width: 110%; height: 90%; background: radial-gradient(closest-side, rgba(150,152,165,.1), rgba(150,152,165,.035) 55%, rgba(150,152,165,0)); animation: lvA 64s ease-in-out infinite alternate; }
    .lv i:nth-child(2) { right: -35%; top: 20%; width: 100%; height: 80%; background: radial-gradient(closest-side, rgba(176,148,112,.06), rgba(176,148,112,.02) 55%, rgba(176,148,112,0)); animation: lvB 82s ease-in-out infinite alternate; }
    .lv i:nth-child(3) { left: -10%; bottom: -40%; width: 120%; height: 75%; background: radial-gradient(closest-side, rgba(0,0,0,.5), rgba(0,0,0,0)); animation: lvC 96s ease-in-out infinite alternate; }
    @keyframes lvA { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(14%,12%,0) scale(1.12); } }
    @keyframes lvB { from { transform: translate3d(0,0,0) scale(1.06); } to { transform: translate3d(-16%,-10%,0) scale(.94); } }
    @keyframes lvC { from { transform: translate3d(0,0,0) rotate(0deg); } to { transform: translate3d(8%,-14%,0) rotate(18deg); } }
    .living-bg { position: fixed; inset: 0; z-index: 0; display: none; }
    body[data-view="studio"] .living-bg { display: block; }
    main, .site-footer { position: relative; z-index: 1; }
    .profile--full .p-live { position: fixed; }
    .profile[data-mode="demo"] .p-live { display: none; }
    @media (prefers-reduced-motion: reduce) { .lv i { animation: none !important; } }

    @media (max-width: 600px) {
      .cards-bar { margin: -8px 0 20px; }
      .cards-toggle { height: 50px; }
      .cards-n { max-width: 15ch; }
      .cards-add { width: 44px; height: 44px; padding: 0; flex: none; }
      .cards-add-l { display: none; }
      .presets { padding: 20px 8px 0; }
      .presets-h { flex-direction: column; gap: 6px; }
      .presets-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -8px; padding: 0 8px 4px; scroll-padding: 0 8px; -webkit-overflow-scrolling: touch; }
      .presets-row::-webkit-scrollbar { display: none; }
      .preset { flex: 0 0 46%; scroll-snap-align: start; }
    }

    /* ───────── RESPONSIVE ───────── */
    @media (max-width: 1040px) {
      .studio-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; }
      .studio-preview .device { width: 340px; }
    }
    @media (max-width: 960px) {
      .frames, .gallery, .steps { grid-template-columns: minmax(0, 1fr); }
      .chapters-grid { grid-template-columns: 1fr; }
      .chapter { padding: 0 8px; }
      .chapter + .chapter { border-left: 0; border-top: 1px solid var(--line); margin-top: 32px; padding-top: 32px; }
      .gallery { max-width: 460px; margin-left: auto; margin-right: auto; }
      .studio { padding-top: 88px; }
      .studio-switch { display: block; }
      .studio-grid { grid-template-columns: minmax(0, 1fr); }
      .studio-config, .studio-preview, .studio-head > div { min-width: 0; max-width: 100%; }
      .studio-preview { position: static; }
      .studio[data-pane="edit"] .studio-preview { display: none; }
      .studio[data-pane="preview"] .studio-config { display: none; }
      .studio-preview .device { width: min(360px, 100%); height: calc(100svh - 250px); min-height: 540px; }
      .preview-actions { display: flex; }
    }
    @media (max-width: 600px) {
      .section { padding: 96px 20px; }
      .frame { padding: 20px; }
      .frame-vis { height: 420px; }
      .fgrid, .swatches { grid-template-columns: 1fr; }
      .swatches { grid-template-columns: 1fr 1fr; gap: 10px; }
      .swatch-txt small { display: none; }
      .tabpanel { padding: 22px 8px 6px; }
      .inp { font-size: 16px; }
      .foot-actions { flex-direction: column-reverse; }
      .foot-actions .btn, .foot-actions .btn-primary { flex: none; width: 100%; }
      .hero-actions .btn { flex: 1; max-width: 220px; }
      .dlg-box { padding: 26px 22px; }
      .seg .n { display: none; }

      /* Studio mobile-first : une colonne, 16 px de marge, rien ne dépasse */
      .studio { width: 100%; max-width: 100%; padding: 80px 16px 56px; }
      .studio-head { margin-bottom: 24px; gap: 14px; }
      .studio-head h2, .studio-head .studio-title { font-size: 34px; }
      .studio-head .status { white-space: normal; height: auto; min-height: 34px; padding: 8px 14px; }
      .studio-config { padding: 6px; border-radius: 20px; }
      .studio-foot { margin: 4px 4px 6px; padding: 16px 6px 6px; }
      .seg button { padding: 0 4px; font-size: 13px; gap: 6px; }
      .fgrid { grid-template-columns: minmax(0, 1fr); }
      .field, .inp, .inp-ico { min-width: 0; max-width: 100%; }
      .lockrow { padding: 12px; gap: 10px; }
      .dlg-actions { flex-direction: column; }
      .dlg-actions .btn { flex: none; width: 100%; }
      .btn { max-width: 100%; }
    }

    /* Écrans tactiles : le téléphone de l'aperçu ne capture jamais le doigt.
       Le studio et la page admin affichent le profil en entier (hauteur auto) : c'est la page qui défile.
       Le mini-téléphone de l'accueil est simplement non défilable. */
    @media (hover: none), (pointer: coarse) {
      .device .p-scroll { overflow: hidden; overscroll-behavior: auto; touch-action: pan-y; }
      .studio-preview .device, .admin-preview .device { height: auto; min-height: 0; }
      .studio-preview .device-screen, .admin-preview .device-screen { height: auto; }
      .studio-preview .profile, .admin-preview .profile { position: relative; inset: auto; min-height: 560px; }
      .studio-preview .p-scroll, .admin-preview .p-scroll { position: relative; inset: auto; overflow: visible; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    }
    @media (prefers-reduced-transparency: reduce) {
      .topbar { background: #050507; -webkit-backdrop-filter: none; backdrop-filter: none; }
    }

    /* ───────── ESPACE CLIENT · CONNEXION PAR CODE (OTP) ───────── */
    .top-actions { display: flex; align-items: center; gap: 8px; }
    .acct-btn {
      position: relative; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 6px;
      border-radius: 8px; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px var(--line);
      color: var(--muted); font-size: 13.5px; font-weight: 500; white-space: nowrap;
      transition: color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .5s var(--ease);
      touch-action: manipulation; user-select: none; -webkit-user-select: none;
    }
    .acct-btn::before { content: ""; position: absolute; inset: -4px; }
    .acct-btn:active { transform: scale(.96); transition-duration: .12s; }
    @media (hover: hover) and (pointer: fine) { .acct-btn:hover { color: var(--text); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-2); } }
    .acct-btn[data-state="in"], .acct-btn[data-state="wait"] { color: var(--text); }
    .acct-av {
      position: relative; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
      background: linear-gradient(145deg, #2a2b2f, #111214); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), inset 0 1px 0 rgba(255,255,255,.08);
      color: var(--text); font: 600 11px/1 var(--font);
    }
    .acct-av .ico { width: 13px; height: 13px; color: var(--muted); }
    .acct-btn[data-state="in"] .acct-av::after, .acct-btn[data-state="wait"] .acct-av::after {
      content: ""; position: absolute; right: -1px; bottom: -1px; width: 8px; height: 8px; border-radius: 50%;
      background: #EDEDED; box-shadow: 0 0 0 2px #050507;
    }
    .acct-btn[data-state="wait"] .acct-av::after { background: var(--amber); }
    @media (max-width: 600px) { .acct-l { display: none; } .acct-btn { width: 36px; padding: 0; justify-content: center; } }
    /* Compte validé : « Compte actif » reste écrit dans la barre du menu, aussi sur téléphone. */
    @media (max-width: 600px) {
      .acct-btn[data-state="in"] { width: auto; padding: 0 12px 0 6px; justify-content: flex-start; }
      .acct-btn[data-state="in"] .acct-l { display: inline; font-size: 12.5px; }
    }
    @media (max-width: 400px) {
      .topbar { gap: 8px; }
      .top-actions { gap: 6px; }
      .acct-btn[data-state="in"] { padding: 0 10px 0 5px; gap: 6px; }
      .acct-btn[data-state="in"] .acct-l { font-size: 12px; }
    }
    @media (max-width: 350px) {
      .acct-btn[data-state="in"] .acct-l { font-size: 0; }
      .acct-btn[data-state="in"] .acct-l::after { content: "Actif"; font-size: 12px; }
    }

    dialog.dlg--auth { max-width: 440px; }
    .auth-step:not([hidden]) { animation: panelIn .45s var(--ease) both; }
    .auth-mark { width: 46px; height: 46px; margin-bottom: 20px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255,255,255,.06); color: var(--text); }
    .auth-step h2, .auth-step .dlg-title { margin-top: 14px; }
    .auth-sub { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--muted); }
    .auth-sub b, .auth-sub .val { color: var(--text); font-weight: 500; overflow-wrap: anywhere; }
    .auth-step .field { margin-top: 22px; }
    .auth-step .dlg-actions { margin-top: 20px; }
    .auth-step .legal-note { margin-top: 16px; }

    /* Code à 6 chiffres : un seul vrai champ (autofill SMS/Mail, collage, lecteur d'écran), six cases dessinées */
    .otp { position: relative; margin-top: 24px; }
    .otp-inp {
      position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; padding: 0; border: 0; outline: none;
      background: transparent; color: transparent; -webkit-text-fill-color: transparent; caret-color: transparent;
      font-size: 16px; letter-spacing: 1em; cursor: text;
    }
    .otp-inp::selection { background: transparent; }
    .otp-cells { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
    .otp-cells span {
      position: relative; display: grid; place-items: center; height: 60px; border-radius: 14px;
      background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line);
      font: 500 24px/1 var(--mono); color: var(--text); font-variant-numeric: tabular-nums;
      transition: box-shadow .2s ease, background-color .2s ease, color .2s ease, transform .45s var(--ease);
    }
    .otp-cells span.is-filled { background: rgba(255,255,255,.055); box-shadow: inset 0 0 0 1px var(--line-2); }
    .otp.is-focus .otp-cells span.is-caret { box-shadow: inset 0 0 0 1px rgba(237,237,237,.55), 0 0 0 4px rgba(237,237,237,.06); }
    .otp.is-focus .otp-cells span.is-caret::after { content: ""; width: 1.5px; height: 24px; border-radius: 1px; background: var(--text); animation: otpCaret 1.1s steps(1, end) infinite; }
    @keyframes otpCaret { 50% { opacity: 0; } }
    .otp.is-error .otp-cells { animation: otpShake .4s cubic-bezier(.23, 1, .32, 1); }
    .otp.is-error .otp-cells span { box-shadow: inset 0 0 0 1px rgba(229,140,120,.7); }
    @keyframes otpShake { 0%, 100% { transform: none; } 20% { transform: translate3d(-6px,0,0); } 40% { transform: translate3d(5px,0,0); } 60% { transform: translate3d(-3px,0,0); } 80% { transform: translate3d(2px,0,0); } }
    .otp.is-ok .otp-cells span { background: #EDEDED; color: #060607; box-shadow: none; transform: scale(.94); }
    .otp.is-ok .otp-cells span:nth-child(2) { transition-delay: .03s; }
    .otp.is-ok .otp-cells span:nth-child(3) { transition-delay: .06s; }
    .otp.is-ok .otp-cells span:nth-child(4) { transition-delay: .09s; }
    .otp.is-ok .otp-cells span:nth-child(5) { transition-delay: .12s; }
    .otp.is-ok .otp-cells span:nth-child(6) { transition-delay: .15s; }
    .auth-alt { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; font-size: 13px; }
    .auth-alt .linkish { display: inline-flex; align-items: center; min-height: 44px; font-variant-numeric: tabular-nums; touch-action: manipulation; }
    .linkish[disabled] { color: var(--dim); text-decoration-color: transparent; cursor: default; }
    @media (max-width: 380px) { .otp-cells { gap: 6px; } .otp-cells span { height: 54px; font-size: 21px; } }

    /* Compte */
    .acct-head { display: flex; align-items: center; gap: 14px; padding-right: 36px; }
    .acct-av--lg { width: 48px; height: 48px; font-size: 18px; }
    .acct-id { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
    .acct-id small { font: 500 10px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
    .acct-id b, .acct-id .val { font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; overflow-wrap: anywhere; }
    .acct-state { margin-top: 18px; }
    .acct-meter { display: flex; justify-content: space-between; align-items: baseline; margin-top: 24px; font: 500 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
    .acct-meter b, .acct-meter .val { font-weight: 500; color: var(--text); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
    .acct-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 10px; }
    .acct-seg i { height: 3px; border-radius: 2px; background: rgba(255,255,255,.1); transition: background-color .4s ease; }
    .acct-seg i.on { background: #EDEDED; }
    .acct-list { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-top: 14px; }
    .acct-card {
      width: 100%; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 12px 8px 10px; border-radius: 14px;
      background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); text-align: left;
      transition: background-color .2s ease, box-shadow .2s ease, transform .45s var(--ease); touch-action: manipulation;
    }
    .acct-card:active { transform: scale(.985); transition-duration: .12s; }
    @media (hover: hover) and (pointer: fine) { .acct-card:hover { background: rgba(255,255,255,.055); box-shadow: inset 0 0 0 1px var(--line-2); } }
    .acct-card .cards-t { flex: 1 1 auto; min-width: 0; }
    .acct-item { display: flex; align-items: center; gap: 6px; min-width: 0; }
    .acct-item .acct-card { flex: 1 1 0%; width: auto; min-width: 0; }
    .acct-item .cards-del { margin-right: 0; }
    .dlg--auth .dlg-box { max-height: calc(100svh - 32px); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
    .cards-del[disabled] { opacity: .5; pointer-events: none; }
    .acct-card .cards-n { max-width: none; }
    .acct-card .cards-t small { font: 400 12px/1.3 var(--font-text); letter-spacing: 0; text-transform: none; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .acct-card .chev { width: 14px; height: 14px; opacity: .4; }
    .acct-dot { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--amber); vertical-align: 1px; }
    .acct-dot.on { background: #EDEDED; }
    .acct-empty { padding: 16px 14px; border-radius: 14px; border: 1px dashed var(--line-2); font-size: 13px; line-height: 1.5; color: var(--muted); }
    .acct-note { margin-top: 14px; }
    #acct-logout.is-confirm { color: #F0B8AA; border-color: rgba(229,140,120,.35); background: rgba(229,140,120,.08); }

    /* Statuts d'une carte du compte */
    .status[data-state="live"], .status[data-state="live-dirty"] { color: var(--text); }
    .status[data-state="live"] i { background: #EDEDED; box-shadow: 0 0 0 4px rgba(237,237,237,.12); }
    .status[data-state="live-dirty"] i { background: transparent; box-shadow: inset 0 0 0 1.5px #EDEDED; }

    /* ───────── PERFORMANCE STUDIO ─────────
       Rien ne tourne en continu dans le studio : fond vivant et halos du simulateur figés,
       carte 3D endormie au repos (réveil au survol, au toucher ou au tap). */
    .living-bg i { animation: none !important; will-change: auto; } /* v3.1 : le fond vivant des profils tourne (transform GPU), suspendu hors écran */
    .profile:not([data-mode="public"]) .pc-motion { display: none; }

    /* ───────── CONFIRMATION DE SUPPRESSION ───────── */
    dialog.dlg--confirm { max-width: 460px; }
    .dlg--confirm .dlg-box { text-align: center; padding-top: 34px; }
    .dlg--confirm .dlg-box h2, .dlg--confirm .dlg-box .dlg-title { padding: 0 28px; }
    .cdel-badge { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line-2); }
    .cdel-badge .ico { width: 24px; height: 24px; }
    .dlg--confirm[data-kind="live"] .cdel-badge, .dlg--confirm[data-kind="account"] .cdel-badge { color: #F2A99B; background: rgba(229,72,77,.1); box-shadow: inset 0 0 0 1px rgba(229,72,77,.35), 0 0 0 8px rgba(229,72,77,.05); }
    .cdel-card { display: flex; align-items: center; gap: 12px; min-width: 0; margin-top: 20px; padding: 10px 14px; border-radius: 14px; background: rgba(0,0,0,.25); box-shadow: inset 0 0 0 1px var(--line); text-align: left; }
    .cdel-card .cards-t { flex: 1 1 auto; min-width: 0; }
    .cdel-card .cards-n { max-width: none; }
    .cdel-card .cards-t small { font: 400 12px/1.3 var(--font-text); letter-spacing: 0; text-transform: none; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .cdel-alert { margin-top: 16px; padding: 16px 18px; border-radius: 16px; text-align: left; background: rgba(229,72,77,.08); box-shadow: inset 0 0 0 1px rgba(229,72,77,.38); font-size: 14px; line-height: 1.55; color: #F3C4BA; }
    .cdel-alert b { display: block; margin-bottom: 6px; color: #FFDCD4; font-weight: 600; }
    .cdel-alert:not([hidden]) { animation: panelIn .45s var(--ease) both; }
    .dlg--confirm .ferr { color: #E8A596; }
    .btn-danger { background: #E5484D; color: #FFFFFF; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 1px 2px rgba(0,0,0,.5), 0 12px 30px -12px rgba(229,72,77,.6); }
    @media (hover: hover) and (pointer: fine) { .btn-danger:hover { background: #EE5A5F; transform: translate3d(0, -1px, 0); } }