/* extavibers - page publique d'une démonstration. Palette du nav/footer du site : bleu #06348F (foncé #04246A), jaune #FBC20A, police Montserrat.
   Même langage visuel que les formulaires d'inscription / connexion : cartes blanches arrondies, champs de 44 px, anneau jaune au focus. */
:root{--navy:#06348F;--navy-d:#04246A;--navy-l:#0A44B5;--yellow:#FBC20A;--yellow-d:#D9A000;--line:#B5C0CE;--muted:#5B6788;--soft:#FFF8E0;--bg:#F3F6FC;--card-line:#E3E8F3;--ink:#14213D;--err:#b3261e;--err-bg:#fdecea;--ok:#1b7a3d;--ok-bg:#e8f6ed;--r:12px;--dv-font:"Montserrat",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;--dv-sticky:16px}
.dv-main,.dv-main *,.dv-main *::before,.dv-main *::after,.dv-toast,.dv-skip{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
.dvp{margin:0;background:var(--bg);color:var(--ink);font-family:var(--dv-font);font-size:15px;line-height:1.5}
.dv-main [hidden]{display:none!important}
.dv-main a{color:var(--navy)}
.dv-i{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dv-skip{position:absolute;left:12px;top:-60px;z-index:200;background:var(--navy);color:#fff!important;padding:10px 16px;border-radius:0 0 12px 12px;font-weight:700;text-decoration:none;transition:top .15s}
.dv-skip:focus{top:0}
.dv-main :focus-visible,.dv-skip:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}

/* ---------- Nav / footer intégrés (remplacés par ceux du site si config.php les indique) */
.dvn{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--card-line);padding-top:env(safe-area-inset-top,0)}
.dvn-in{max-width:1240px;margin:0 auto;padding:8px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.dvn-logo{display:flex;align-items:center}.dvn-logo img{height:40px;width:auto;display:block}
.dvn-links{display:flex;gap:4px}
.dvn-links a{padding:9px 14px;border-radius:10px;color:var(--navy);font-weight:700;font-size:14px;text-decoration:none}
.dvn-links a:hover{background:var(--soft)}
.dvf{margin-top:40px;background:var(--navy);color:#dfe7f7;border-top:4px solid var(--yellow);padding:32px 20px calc(24px + env(safe-area-inset-bottom,0))}
.dvf-in{max-width:1240px;margin:0 auto;display:grid;grid-template-columns:1.4fr 1fr;gap:20px 40px;align-items:start}
.dvf-brand b{display:block;color:#fff;font-size:20px;font-weight:800}
.dvf-brand p{margin:6px 0 0;max-width:46ch;font-size:13.5px;color:#b9c8e8}
.dvf-links{display:flex;flex-wrap:wrap;gap:6px 18px;justify-content:flex-end}
.dvf-links a{color:#fff;text-decoration:none;font-weight:600;font-size:14px;padding:6px 0}.dvf-links a:hover{color:var(--yellow);text-decoration:underline}
.dvf-copy{grid-column:1/-1;margin:8px 0 0;padding-top:16px;border-top:1px solid rgba(255,255,255,.14);font-size:12.5px;color:#9fb2da}

/* ---------- Mise en page */
.dv-main{display:block;width:100%;min-height:60vh}
.dv-wrap{max-width:1280px;margin:0 auto;padding:16px clamp(12px,3vw,40px) 24px}
.dv-bar{display:flex;align-items:center;gap:10px;margin-bottom:14px;min-height:44px}
.dv-back{flex:none;width:44px;height:44px;border-radius:50%;border:1.5px solid var(--line);background:#fff;color:var(--navy);display:grid;place-items:center;cursor:pointer;padding:0;transition:background .15s,border-color .15s,transform .05s}
.dv-back:hover{background:var(--soft);border-color:var(--yellow)}.dv-back:active{transform:translateX(-2px)}
.dv-back .dv-i{width:22px;height:22px}
.dv-crumbs{min-width:0}
.dv-crumbs ol{list-style:none;margin:0;padding:0;display:flex;align-items:center;flex-wrap:wrap;gap:2px 0;font-size:13px;color:var(--muted)}
.dv-crumbs li{display:inline-flex;align-items:center;min-width:0}
.dv-crumbs a{color:var(--muted);text-decoration:none;font-weight:600;padding:4px 2px;border-radius:6px}.dv-crumbs a:hover{color:var(--navy);text-decoration:underline}
.dv-crumbs .dv-i{width:15px;height:15px;margin:0 2px;color:#9aa6bd}
.dv-crumbs [aria-current]{color:var(--navy);font-weight:700}
.dv-grid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px;align-items:start}
.dv-col{min-width:0;display:flex;flex-direction:column;gap:16px}
.dv-side{position:sticky;top:var(--dv-sticky);align-self:start;min-width:0}

.dv-card{background:#fff;border:1px solid var(--card-line);border-radius:18px;box-shadow:0 6px 24px rgba(6,52,143,.08);padding:20px}

/* ---------- Titre */
.dv-head{display:flex;flex-direction:column;gap:10px}
.dv-kicker{display:inline-flex;align-items:center;gap:8px;margin:0;align-self:flex-start;background:var(--soft);color:#8a5d00;border-radius:999px;padding:4px 12px 4px 10px;font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.dv-kicker .dv-i{width:16px;height:16px}
.dv-head h1{margin:0;font-size:clamp(1.45rem,1.05rem + 1.7vw,2.15rem);line-height:1.2;font-weight:800;color:var(--navy);letter-spacing:-.01em;overflow-wrap:anywhere}
.dv-chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.dv-chips li{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--card-line);border-radius:999px;padding:5px 12px 5px 10px;font-size:13px;font-weight:600;color:var(--muted);max-width:100%}
.dv-chips li span,.dv-chips li a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dv-chips .dv-i{width:16px;height:16px;color:var(--navy)}
.dv-chips a{color:var(--navy);text-decoration:none;font-weight:700}.dv-chips a:hover{text-decoration:underline}

/* ---------- Boutons, champs */
.dv-actions{display:flex;flex-wrap:wrap;gap:10px}
.dv-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border:1.5px solid var(--line);border-radius:var(--r);background:#fff;color:var(--navy);font:700 14px/1 var(--dv-font);text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s,transform .05s;white-space:nowrap}
.dv-btn:hover{background:var(--soft);border-color:var(--yellow)}.dv-btn:active{transform:translateY(1px)}
.dv-btn-p{background:var(--navy);border-color:var(--navy);color:#fff}.dv-btn-p:hover{background:var(--navy-l);border-color:var(--navy-l)}
.dv-btn[disabled]{opacity:.55;cursor:not-allowed}
.dv-f{margin-bottom:14px;min-width:0}
.dv-f>label{display:block;font-size:13px;font-weight:700;color:var(--navy);margin-bottom:5px}
.dv-in{width:100%;min-height:44px;border:1.5px solid var(--line);border-radius:var(--r);padding:10px 12px;font:500 15px/1.45 var(--dv-font);color:var(--ink);background:#fff;transition:border-color .15s,box-shadow .15s}
textarea.dv-in{resize:vertical;min-height:110px}
.dv-in::placeholder{color:#9aa6bd}
.dv-in:focus{outline:none;border-color:var(--navy);box-shadow:0 0 0 4px rgba(246,178,32,.45)}
.dv-in.bad{border-color:var(--err);background:var(--err-bg)}
.dv-hint{display:block;margin-top:4px;color:var(--muted);font-size:12.5px}
.dv-count{text-align:right;color:var(--muted);font-size:12px;margin-top:3px;font-variant-numeric:tabular-nums}
.dv-err{margin:4px 0 0;color:var(--err);font-size:12.5px;font-weight:600}.dv-err:empty{display:none}
.dv-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ---------- Description */
.dv-desc h2,.dv-steps-head h2,.dv-fb-head h2{margin:0;font-size:18px;font-weight:800;color:var(--navy)}
.dv-desc-tag{margin:10px 0 6px;color:var(--navy);font-size:14px}
.dv-desc-tag b{background:var(--yellow);border-radius:999px;padding:2px 10px;font-size:12.5px;font-weight:800;margin-right:2px}
.dv-desc-tag span{font-weight:700}
.dv-desc-text{white-space:pre-line;overflow-wrap:anywhere;color:#1d2433;font-size:15.5px;line-height:1.65}
.dv-meta-line{margin:16px 0 0;padding-top:12px;border-top:1px solid #eef1f7;color:var(--muted);font-size:12.5px}
.dv-meta-line code{background:#eef1f7;border-radius:6px;padding:1px 6px;font-size:12px;color:var(--navy);word-break:break-all}

/* ---------- Détail (étapes) */
.dv-steps{padding:16px 12px 12px}
.dv-steps-head{padding:0 8px 10px}
.dv-steps-head p{margin:2px 0 0;color:var(--muted);font-size:13px}
.dv-steplist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;max-height:min(68vh,620px);overflow:auto;overscroll-behavior:contain}
.dv-step{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:12px;align-items:start;padding:10px;border:1.5px solid transparent;border-radius:14px;text-decoration:none;color:inherit;transition:background .15s,border-color .15s}
.dv-step:hover{background:#f6f8fc}
.dv-step.on{background:var(--soft);border-color:var(--yellow)}
.dv-step-n{width:36px;height:36px;border-radius:50%;background:#eef1f7;color:var(--navy);display:grid;place-items:center;font-weight:800;font-size:14px;transition:background .15s,color .15s}
.dv-step-n .dv-i{display:none;width:16px;height:16px;margin-left:2px;fill:currentColor}
.dv-step:hover .dv-step-n span,.dv-step.on .dv-step-n span{display:none}
.dv-step:hover .dv-step-n .dv-i,.dv-step.on .dv-step-n .dv-i{display:block}
.dv-step:hover .dv-step-n{background:var(--navy);color:#fff}
.dv-step.on .dv-step-n{background:var(--navy);color:var(--yellow)}
.dv-step-body{display:flex;flex-direction:column;gap:2px;min-width:0}
.dv-step-body b{font-size:14.5px;color:var(--navy);font-weight:800;line-height:1.3;overflow-wrap:anywhere}
.dv-step-body small{color:var(--muted);font-size:12.5px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dv-step-d{font-size:12px;font-weight:700;color:var(--muted);font-variant-numeric:tabular-nums;background:#eef1f7;border-radius:6px;padding:2px 7px;margin-top:2px}
.dv-step.on .dv-step-d{background:#fff}

/* ---------- Avis, sondages */
.dv-fb{margin-top:32px}
.dv-fb-head{margin-bottom:14px}.dv-fb-head p{margin:3px 0 0;color:var(--muted);font-size:13.5px;max-width:70ch}
.dv-polls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px}
.dv-poll h3{margin:0 0 12px;font-size:16px;font-weight:800;color:var(--navy);line-height:1.3}
.dv-poll-thumbs{grid-column:1/-1}
.dv-opts{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.dv-opt{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 16px;border-radius:999px;border:1.5px solid var(--line);background:#fff;color:var(--navy);font:700 13.5px/1.2 var(--dv-font);cursor:pointer;transition:background .15s,border-color .15s,color .15s,transform .05s}
.dv-opt:hover{border-color:var(--navy);background:var(--soft)}.dv-opt:active{transform:scale(.98)}
.dv-opt.on{background:var(--navy);border-color:var(--navy);color:#fff;box-shadow:0 0 0 3px rgba(246,178,32,.55)}
.dv-opt.on .dv-i{color:var(--yellow)}
.dv-opt[disabled]{opacity:.6;cursor:progress}
.dv-poll-thumbs .dv-opt{flex:1 1 230px;min-height:58px;border-radius:14px;font-size:15px}
.dv-poll-thumbs .dv-opt .dv-i{width:24px;height:24px}
.dv-res{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.dv-res li{display:grid;grid-template-columns:minmax(84px,34%) minmax(0,1fr) 44px;gap:10px;align-items:center;font-size:13px}
.dv-res-l{color:#1d2433;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dv-res li.on .dv-res-l{color:var(--navy);font-weight:800}
.dv-res-b{height:10px;border-radius:999px;background:#eef1f7;overflow:hidden}
.dv-res-b i{display:block;height:100%;border-radius:999px;background:var(--navy);transition:width .5s cubic-bezier(.2,.8,.2,1)}
.dv-res li.on .dv-res-b i{background:var(--yellow)}
.dv-res-p{text-align:right;font-weight:800;color:var(--navy);font-variant-numeric:tabular-nums}
.dv-poll-total{margin:12px 0 0;color:var(--muted);font-size:12.5px;font-weight:600}

/* ---------- Question libre */
.dv-ask-head{display:flex;gap:12px;align-items:flex-start;margin-bottom:16px}
.dv-ask-i{width:42px;height:42px;border-radius:12px;background:var(--soft);color:var(--navy);display:grid;place-items:center;flex:none}
.dv-ask-head h3{margin:0;font-size:17px;font-weight:800;color:var(--navy)}
.dv-ask-head p{margin:2px 0 0;color:var(--muted);font-size:13.5px}
.dv-ask form{max-width:640px}
.dv-ok{display:flex;align-items:center;gap:10px;margin:0;background:var(--ok-bg);color:var(--ok);padding:14px 16px;border-radius:var(--r);font-weight:700}

.dv-toast{position:fixed;left:50%;bottom:calc(20px + env(safe-area-inset-bottom,0));transform:translate(-50%,20px);background:var(--navy);color:#fff;padding:11px 18px;border-radius:12px;font-weight:600;font-size:14px;box-shadow:0 8px 28px rgba(6,52,143,.35);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:300;max-width:calc(100vw - 32px);text-align:center}
.dv-toast.show{opacity:1;transform:translate(-50%,0)}
.dv-toast.err{background:var(--err)}

.dv-nf{max-width:520px;margin:48px auto;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px}
.dv-nf-i{width:64px;height:64px;border-radius:18px;background:var(--soft);color:var(--navy);display:grid;place-items:center}.dv-nf-i .dv-i{width:30px;height:30px}
.dv-nf h1{margin:8px 0 0;font-size:22px;color:var(--navy)}.dv-nf p{margin:0 0 12px;color:var(--muted)}

/* =====================================================================
   LECTEUR VIDÉO  (.dvpl) : même ergonomie que YouTube, aux couleurs du site
   ===================================================================== */
.dvpl{position:relative;background:#000;border-radius:16px;overflow:hidden;aspect-ratio:16/9;width:100%;color:#fff;font-family:var(--dv-font);-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;outline:none;box-shadow:0 10px 30px rgba(6,52,143,.18)}
.dvpl-video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000;display:block}
.dvpl:fullscreen{border-radius:0;aspect-ratio:auto;width:100%;height:100%;box-shadow:none}
.dvpl:-webkit-full-screen{border-radius:0;aspect-ratio:auto;width:100%;height:100%}
.dvpl.is-fs-fallback{position:fixed;inset:0;z-index:1000;border-radius:0;aspect-ratio:auto;height:100%}
.dvpl-layer{position:absolute;inset:0;cursor:pointer;touch-action:manipulation}
.dvpl.is-idle .dvpl-layer{cursor:none}
.dvpl-shade{position:absolute;left:0;right:0;bottom:0;height:150px;background:linear-gradient(to top,rgba(4,24,70,.88),rgba(4,24,70,.45) 55%,rgba(4,24,70,0));pointer-events:none;opacity:1;transition:opacity .25s}
.dvpl-ui{position:absolute;left:0;right:0;bottom:0;padding:0 12px calc(6px + env(safe-area-inset-bottom,0));opacity:1;transition:opacity .25s}
.dvpl.is-idle .dvpl-shade,.dvpl.is-idle .dvpl-ui{opacity:0}
.dvpl.is-idle .dvpl-ui{pointer-events:none}

/* barre de progression */
.dvpl-prog{position:relative;height:20px;cursor:pointer;touch-action:none;outline:none}
.dvpl-rail{position:absolute;left:0;right:0;top:50%;height:4px;margin-top:-2px;border-radius:4px;background:rgba(255,255,255,.3);transition:height .12s,margin-top .12s}
.dvpl-prog:hover .dvpl-rail,.dvpl-prog.is-drag .dvpl-rail,.dvpl-prog:focus-visible .dvpl-rail{height:6px;margin-top:-3px}
.dvpl-buf,.dvpl-played{position:absolute;left:0;top:0;bottom:0;width:0;border-radius:4px}
.dvpl-buf{background:rgba(255,255,255,.5)}
.dvpl-played{background:var(--yellow)}
.dvpl-knob{position:absolute;top:50%;left:0;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;background:var(--yellow);box-shadow:0 0 0 3px rgba(6,52,143,.55);transform:scale(0);transition:transform .12s}
.dvpl-prog:hover .dvpl-knob,.dvpl-prog.is-drag .dvpl-knob,.dvpl-prog:focus-visible .dvpl-knob{transform:scale(1)}
.dvpl-prog:focus-visible{outline:3px solid var(--yellow);outline-offset:0;border-radius:6px}
.dvpl-tip{position:absolute;bottom:24px;left:0;transform:translateX(-50%);background:rgba(6,52,143,.96);color:#fff;font-size:12.5px;font-weight:700;padding:3px 8px;border-radius:6px;pointer-events:none;opacity:0;white-space:nowrap;font-variant-numeric:tabular-nums}
.dvpl-prog:hover .dvpl-tip,.dvpl-prog.is-drag .dvpl-tip{opacity:1}

/* rangée de boutons */
.dvpl-row{display:flex;align-items:center;gap:2px;height:46px}
.dvpl-sp{flex:1}
.dvpl-b{flex:none;width:40px;height:40px;border:0;border-radius:50%;background:transparent;color:#fff;display:grid;place-items:center;cursor:pointer;padding:0;transition:background .12s,color .12s}
.dvpl-b:hover{background:rgba(255,255,255,.16)}
.dvpl-b:focus-visible{outline:3px solid var(--yellow);outline-offset:-2px}
.dvpl-b .dv-i{width:24px;height:24px}
.dvpl-b .dv-i[data-fill]{fill:currentColor}
.dvpl-b.is-on{color:var(--yellow)}
.dvpl-vol{display:flex;align-items:center}
.dvpl-range{-webkit-appearance:none;appearance:none;width:0;height:4px;margin:0;border-radius:4px;background:linear-gradient(to right,#fff var(--v,100%),rgba(255,255,255,.3) var(--v,100%));cursor:pointer;opacity:0;transition:width .18s,opacity .18s,margin .18s}
.dvpl-vol:hover .dvpl-range,.dvpl-vol:focus-within .dvpl-range,.dvpl-range.is-open{width:72px;opacity:1;margin:0 8px 0 4px}
.dvpl-range::-webkit-slider-thumb{-webkit-appearance:none;width:13px;height:13px;border-radius:50%;background:#fff;border:0}
.dvpl-range::-moz-range-thumb{width:13px;height:13px;border-radius:50%;background:#fff;border:0}
.dvpl-range:focus-visible{outline:3px solid var(--yellow);outline-offset:4px}
.dvpl-time{margin:0 8px;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 1px 2px rgba(0,0,0,.5)}
.dvpl-time i{font-style:normal;opacity:.75}

/* superpositions */
.dvpl-big{position:absolute;left:50%;top:50%;width:76px;height:76px;margin:-38px 0 0 -38px;border-radius:50%;border:0;background:rgba(6,52,143,.88);color:var(--yellow);display:grid;place-items:center;cursor:pointer;box-shadow:0 8px 28px rgba(0,0,0,.35);transition:transform .15s,background .15s,opacity .2s}
.dvpl-big:hover{transform:scale(1.07);background:var(--navy)}
.dvpl-big .dv-i{width:34px;height:34px;fill:currentColor;margin-left:4px}
.dvpl-big.is-replay .dv-i{fill:none;margin-left:0}
.dvpl:not(.is-paused) .dvpl-big{opacity:0;pointer-events:none}
.dvpl-flash{position:absolute;left:50%;top:50%;width:68px;height:68px;margin:-34px 0 0 -34px;border-radius:50%;background:rgba(6,52,143,.72);display:grid;place-items:center;pointer-events:none;opacity:0}
.dvpl-flash .dv-i{width:30px;height:30px;fill:currentColor}
.dvpl-flash.go{animation:dvpl-flash .55s ease-out}
@keyframes dvpl-flash{0%{opacity:.95;transform:scale(.8)}100%{opacity:0;transform:scale(1.5)}}
.dvpl-fx{position:absolute;top:0;bottom:0;width:32%;display:grid;place-items:center;pointer-events:none;opacity:0}
.dvpl-fx-l{left:0;border-radius:0 100% 100% 0/0 50% 50% 0;background:rgba(255,255,255,.12)}
.dvpl-fx-r{right:0;border-radius:100% 0 0 100%/50% 0 0 50%;background:rgba(255,255,255,.12)}
.dvpl-fx span{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:13px;font-weight:800}
.dvpl-fx .dv-i{width:28px;height:28px}
.dvpl-fx.go{animation:dvpl-fx .6s ease-out}
@keyframes dvpl-fx{0%{opacity:1}70%{opacity:1}100%{opacity:0}}
.dvpl-spin{position:absolute;left:50%;top:50%;width:52px;height:52px;margin:-26px 0 0 -26px;pointer-events:none;color:var(--yellow)}
.dvpl-spin .dv-i{width:52px;height:52px;stroke-width:2.4;animation:dvpl-rot .8s linear infinite}
@keyframes dvpl-rot{to{transform:rotate(360deg)}}
.dvpl-err{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:rgba(4,24,70,.9);text-align:center;padding:20px;font-weight:700}
.dvpl-err button{min-height:44px;padding:0 20px;border:0;border-radius:12px;background:var(--yellow);color:var(--navy);font:800 14px var(--dv-font);cursor:pointer}
.dvpl-err button:hover{background:var(--yellow-d)}

/* menu des paramètres */
.dvpl-menu{position:absolute;right:12px;bottom:70px;width:min(250px,calc(100% - 24px));max-height:calc(100% - 90px);overflow:auto;background:rgba(4,36,106,.97);border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:6px;box-shadow:0 12px 36px rgba(0,0,0,.45)}
.dvpl-menu h4{margin:6px 10px 4px;font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#9fb2da}
.dvpl-mi{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:40px;padding:0 10px;border:0;border-radius:10px;background:transparent;color:#fff;font:600 14px var(--dv-font);cursor:pointer;text-align:left}
.dvpl-mi:hover{background:rgba(255,255,255,.1)}
.dvpl-mi .dv-i{width:18px;height:18px;color:var(--yellow);opacity:0}
.dvpl-mi[aria-checked="true"] .dv-i{opacity:1}
.dvpl-sw{flex:none;width:36px;height:20px;border-radius:999px;background:rgba(255,255,255,.3);position:relative;transition:background .15s}
.dvpl-sw::after{content:"";position:absolute;left:2px;top:2px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform .15s}
.dvpl-mi[aria-checked="true"] .dvpl-sw{background:var(--yellow)}
.dvpl-mi[aria-checked="true"] .dvpl-sw::after{transform:translateX(16px);background:var(--navy)}
.dvpl-sep{height:1px;margin:6px 4px;background:rgba(255,255,255,.12)}

/* ---------- Tablette / mobile */
@media (max-width:1000px){
  .dv-grid{grid-template-columns:minmax(0,1fr)}
  .dv-side{position:static}
  .dv-steplist{max-height:none}
  .dv-col{display:contents}      /* l'ordre visuel suit l'ordre du code : titre, vidéo, actions, description, puis détail */
  .dv-grid{gap:16px}
}
@media (max-width:720px){
  .dv-wrap{padding:10px 14px 16px}
  .dv-card{padding:16px;border-radius:16px}
  .dv-polls{grid-template-columns:minmax(0,1fr)}
  .dvf-in{grid-template-columns:1fr}.dvf-links{justify-content:flex-start}
  .dvn-links a{padding:8px 10px}
  .dv-actions .dv-btn{flex:1 1 calc(50% - 10px);padding:0 12px;white-space:normal;text-align:center}
  .dv-actions .dv-btn-p{flex-basis:100%}
  .dvpl{border-radius:12px;margin-left:-4px;margin-right:-4px;width:calc(100% + 8px)}
  .dvpl-b{width:38px;height:38px}.dvpl-b .dv-i{width:22px;height:22px}
  .dvpl-time{font-size:12px;margin:0 4px}
  .dvpl-big{width:64px;height:64px;margin:-32px 0 0 -32px}
  .dvpl-row{height:42px}
  [data-dvpl-pip]{display:none}
  .dvpl-ui{padding-left:8px;padding-right:8px}
}
@media (max-width:420px){
  .dv-res li{grid-template-columns:minmax(70px,36%) minmax(0,1fr) 40px;gap:8px}
  .dvn-logo img{height:34px}
  .dvn-links a:nth-child(2){display:none}
  .dvpl-b[data-dvpl-next]{display:none}
}
@media (hover:none){
  .dvpl-vol .dvpl-range{display:none}
  .dvpl-prog{height:28px}
}
@media (min-width:1001px){
  .dv-steps{max-height:calc(100vh - 2*var(--dv-sticky))}
}
@media (prefers-reduced-motion:reduce){
  *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  .dvpl-spin .dv-i{animation:none}
}
@media print{
  .dvn,.dvf,.dv-bar,.dvpl,.dv-actions,.dv-fb,.dv-skip,.dv-toast{display:none!important}
  .dvp{background:#fff}.dv-grid{display:block}.dv-card{box-shadow:none;border:0;padding:0}.dv-side{position:static}.dv-steplist{max-height:none;overflow:visible}
}
