/* DubMog extension setup demo (Oct 31 2026): a looping browser mock — pin DubMog from the puzzle menu, play a video, click the
   DubMog icon, pick a language, press Start dubbing, hear the dub. Built by /ext-demo.js inside any <div class="xdemo" data-lang="xx">.
   Labels are the panel's own strings (extension 0.7.15.3 _locales). Dark only, like the pages that use it. */
.xdemo{display:block;min-width:0;max-width:100%}
.xd{margin:0;width:100%;max-width:540px;min-width:0;font:13px/1.35 Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:#EAEDF3}
.xd-win{position:relative;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:#0E1218;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,.45);user-select:none}
.xd-tabs{height:30px;display:flex;align-items:flex-end;padding:0 10px;background:#0A0D12}
.xd-tab{display:flex;align-items:center;gap:6px;max-width:62%;background:#161B23;border-radius:8px 8px 0 0;padding:6px 12px;font-size:11px;color:#C9CFDA;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.xd-tab i{flex:0 0 9px;height:9px;border-radius:2px;background:#ff4d4d}
.xd-addr{height:34px;display:flex;align-items:center;gap:8px;padding:0 10px;background:#161B23;border-bottom:1px solid rgba(255,255,255,.06)}
.xd-url{flex:1;min-width:0;background:#0E1218;border-radius:999px;padding:4px 12px;font:11px/1.4 "JetBrains Mono",ui-monospace,monospace;color:#8B93A1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.xd-tools{display:flex;gap:6px;align-items:center}
.xd-pz,.xd-dm{width:24px;height:24px;border-radius:6px;display:grid;place-items:center;font-size:14px}
.xd-dm{transform:scale(0);transition:transform .35s cubic-bezier(.3,1.6,.5,1)}
.xd-dm i,.xd-mi{display:block;width:16px;height:16px;border-radius:5px;background:linear-gradient(135deg,#ff6a5c,#46D6C8)}
.xd.pinned .xd-dm{transform:scale(1)}
.xd-menu{position:absolute;right:8px;top:66px;width:190px;background:#1B212B;border:1px solid rgba(255,255,255,.12);border-radius:10px;padding:9px 10px;box-shadow:0 12px 30px rgba(0,0,0,.5);opacity:0;transform:translateY(-6px);transition:opacity .25s,transform .25s;z-index:3}
.xd.menu .xd-menu{opacity:1;transform:none}
.xd-mh{font-size:10px;color:#8B93A1;margin-bottom:7px}
.xd-mrow{display:flex;align-items:center;gap:8px;font-size:12px}
.xd-pin{margin-left:auto;width:20px;height:20px;display:grid;place-items:center;border-radius:5px;color:#8B93A1;transition:color .2s,background .2s}
.xd.pinned .xd-pin{color:#46D6C8;background:rgba(70,214,200,.14)}
.xd-body{display:flex;min-height:262px;container-type:inline-size}
.xd-vid{flex:1;min-width:0;position:relative;background:radial-gradient(120% 90% at 30% 25%,#2b3442,#10141a);display:flex;align-items:center;justify-content:center}
.xd-slide{position:absolute;left:0;right:0;top:22%;text-align:center;font:800 24px/1.1 "Bricolage Grotesque",Inter,system-ui,sans-serif;letter-spacing:-.02em;color:rgba(255,255,255,.17)}
.xd-slide small{display:block;margin-top:6px;font:500 11px/1.2 Inter,system-ui,sans-serif;letter-spacing:0;color:rgba(255,255,255,.15)}
.xd-play{width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.14);display:grid;place-items:center;font-size:15px;transition:opacity .3s,transform .3s}
.xd.play .xd-play{opacity:0;transform:scale(.6)}
.xd-wave{position:absolute;bottom:20px;display:flex;gap:3px;align-items:flex-end;height:30px;opacity:0;transition:opacity .35s,transform .45s;transform-origin:bottom}
.xd-wave.o{left:14px}.xd-wave.d{right:14px}
.xd-wave i{width:4px;height:30%;border-radius:2px;background:#8AB4FF;animation:xdw .8s ease-in-out infinite alternate}
.xd-wave.d i{background:#46D6C8}
.xd-wave i:nth-child(2){animation-delay:.15s}.xd-wave i:nth-child(3){animation-delay:.3s}.xd-wave i:nth-child(4){animation-delay:.45s}.xd-wave i:nth-child(5){animation-delay:.1s}.xd-wave i:nth-child(6){animation-delay:.35s}
@keyframes xdw{from{height:18%}to{height:100%}}
.xd.play .xd-wave.o{opacity:1}
.xd.run .xd-wave.o{opacity:.5;transform:scaleY(.35)}
.xd.run .xd-wave.d{opacity:1}
.xd-wl{position:absolute;bottom:4px;font:9.5px/1 "JetBrains Mono",ui-monospace,monospace;color:#8B93A1;opacity:0;transition:opacity .3s}
.xd-wl.o{left:14px}.xd-wl.d{right:14px;color:#46D6C8}
.xd.run .xd-wl{opacity:1}
.xd-prog{position:absolute;left:0;right:0;bottom:0;height:3px;background:rgba(255,255,255,.12)}
.xd-prog i{display:block;height:100%;width:0;background:#ff4d4d}
.xd.play .xd-prog i{width:72%;transition:width 11s linear}
.xd-panel{box-sizing:border-box;width:0;overflow:hidden;background:#141A22;border-left:1px solid rgba(255,255,255,.08);transition:width .45s cubic-bezier(.2,.8,.2,1)}
.xd.panel .xd-panel{width:54%}
.xd-pi{box-sizing:border-box;width:calc(54cqw - 1px);padding:9px 11px}
.xd-ph{display:flex;align-items:center;gap:6px;font-weight:700;font-size:12px;margin-bottom:7px}
.xd-ph b{width:8px;height:8px;border-radius:50%;background:#ff6a5c}
.xd-modes{display:flex;background:#0E1218;border-radius:8px;padding:2px;margin-bottom:7px}
.xd-modes span{flex:1;text-align:center;font-size:10.5px;padding:4px 0;border-radius:6px;color:#8B93A1}
.xd-modes span:first-child{background:#232B37;color:#EAEDF3}
.xd-lbl{font-size:10px;color:#8B93A1;margin-bottom:3px}
.xd-sel{display:flex;justify-content:space-between;border:1px solid rgba(255,255,255,.14);border-radius:8px;padding:5px 8px;font-size:12px;margin-bottom:8px;transition:border-color .25s,box-shadow .25s}
.xd.sel .xd-sel{border-color:#46D6C8;box-shadow:0 0 0 3px rgba(70,214,200,.18)}
.xd-btn{background:#EAEDF3;color:#0A0C10;border-radius:8px;padding:7px 8px;text-align:center;font-weight:600;font-size:11.5px;min-height:30px}
.xd-run{display:none;align-items:center;gap:6px;width:max-content;max-width:100%;min-height:30px;font-size:11px;background:#0E1218;border-radius:999px;padding:5px 9px}
.xd-run b{flex:0 0 7px;height:7px;border-radius:50%;background:#ff4d4d;animation:xdb 1.2s steps(2) infinite}
@keyframes xdb{50%{opacity:.3}}
.xd.run .xd-btn{display:none}.xd.run .xd-run{display:flex}
.xd-tr{margin-top:7px;border:1px solid rgba(255,255,255,.08);border-radius:8px;padding:6px 8px;min-height:92px}
.xd-trl{font-size:9.5px;color:#8B93A1;margin-bottom:4px;text-transform:uppercase;letter-spacing:.06em}
.xd-l{opacity:0;transform:translateY(4px);transition:opacity .4s,transform .4s;margin-bottom:5px}
.xd-l s{display:block;text-decoration:none;font-size:9.5px;color:#8B93A1}
.xd-l span{font-size:11.5px}
.xd.l1 .xd-l.a,.xd.l2 .xd-l.b{opacity:1;transform:none}
.xd-cur{position:absolute;left:0;top:0;width:18px;height:18px;z-index:5;transition:transform .7s cubic-bezier(.4,0,.2,1);pointer-events:none;filter:drop-shadow(0 2px 3px rgba(0,0,0,.6))}
.xd-rip{position:absolute;width:26px;height:26px;border-radius:50%;border:2px solid #46D6C8;opacity:0;pointer-events:none;z-index:4}
.xd-rip.on{animation:xdr .5s ease-out}
@keyframes xdr{from{opacity:.9;transform:scale(.4)}to{opacity:0;transform:scale(1.5)}}
.xd-steps{list-style:none;counter-reset:xs;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:12px 0 0;padding:0}
.xd-steps li{counter-increment:xs;font-size:12px;line-height:1.35;color:#8B93A1;border-top:2px solid rgba(255,255,255,.12);padding-top:7px;transition:color .3s,border-color .3s}
.xd-steps li::before{content:counter(xs) "  ";font-weight:700;color:#EAEDF3}
.xd-steps li.on{color:#EAEDF3;border-top-color:#46D6C8}
@media (max-width:560px){.xd-steps{grid-template-columns:1fr 1fr}.xd-body{min-height:272px}.xd-l s{display:none}.xd-l{margin-bottom:6px}.xd.panel .xd-panel{width:60%}.xd-pi{width:calc(60cqw - 1px)}}
@container (max-width:330px){.xd-wl{display:none}.xd.run .xd-wave.o{opacity:0}.xd-pi{min-height:312px}}
@container (max-width:250px){.xd.panel .xd-panel{width:66%}.xd-pi{width:calc(66cqw - 1px)}}
/* Nov 1 2026: data-variant="standard" (how to switch to free Standard; the uninstall card's "Too expensive" answer). The panel opens
   on Live (mlive), the cursor picks Standard (std), the one-time language download fills the button (dl), then Start (ready). */
.xd-modes span{transition:background .25s,color .25s}
.xd.mlive .xd-modes span:first-child{background:none;color:#8B93A1}
.xd.mlive .xd-modes span:last-child{background:#232B37;color:#EAEDF3}
.xd-btn{position:relative;overflow:hidden}.xd-btn>span{position:relative}
.xd-btn .xd-b1,.xd.std .xd-btn .xd-b2{display:none}
.xd.std .xd-btn .xd-b1{display:inline}
.xd.std.ready .xd-btn .xd-b1{display:none}.xd.std.ready .xd-btn .xd-b2{display:inline}
.xd-fill{position:absolute;left:0;top:0;bottom:0;width:0;background:rgba(70,214,200,.45)}
.xd.dl .xd-fill{width:100%;transition:width 1.6s linear}
@media (prefers-reduced-motion:reduce){.xd *,.xd{transition:none!important;animation:none!important}.xd-cur,.xd-rip{display:none}}
