[hidden]{display:none!important}
:root{--bg:#f4f5fb;--panel:#ffffff;--panel2:#f3f4fa;--text:#1c1d2b;--muted:#6b6d85;--border:#e4e5f0;--input:#ffffff;--accent:#6c5ce7;--accent2:#fd79a8;--grad:linear-gradient(135deg,#6c5ce7,#fd79a8);--shadow:0 8px 30px rgba(30,30,70,.08);--r:14px;color-scheme:light}
[data-theme=dark]{--bg:#0d0e1a;--panel:#171830;--panel2:#11122a;--text:#eceaf6;--muted:#9a9ab8;--border:#2a2b4d;--input:#0f1022;--shadow:0 8px 30px rgba(0,0,0,.35);color-scheme:dark}
*{box-sizing:border-box}html,body{height:100%}
body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;background:var(--bg);color:var(--text);display:grid;grid-template-columns:240px 1fr;transition:background .3s,color .3s;font-size:14px}
h1,h2,h3{margin:0;letter-spacing:-.01em}
/* --- Barre latérale --- */
.sidebar{background:var(--panel);border-right:1px solid var(--border);display:flex;flex-direction:column;padding:18px 12px;gap:18px;height:100vh;position:sticky;top:0}
.brand{display:flex;align-items:center;gap:10px;padding:0 8px}.brand b{display:block;font-size:1.15rem}.brand small{color:var(--muted)}
.logo-mark{width:40px;height:40px;border-radius:12px;background:var(--grad);display:grid;place-items:center;font-size:1.3rem;box-shadow:0 6px 18px rgba(108,92,231,.4)}
.menu-btn{display:none;margin-left:auto}
.side-nav{display:flex;flex-direction:column;gap:4px}
.side-nav button{display:flex;align-items:center;gap:10px;background:transparent;color:var(--text);padding:11px 12px;border-radius:10px;font-weight:500;text-align:left;transition:background .2s,transform .2s}
.side-nav button i{font-style:normal;width:24px;text-align:center}
.side-nav button:hover{background:var(--panel2)}.side-nav button.active{background:var(--grad);color:#fff;box-shadow:0 6px 16px rgba(108,92,231,.35)}
.side-foot{margin-top:auto;display:flex;flex-direction:column;gap:8px;padding:0 6px}.side-foot small{color:var(--muted);font-size:.72rem}
.badge-ai{font-size:.75rem;color:var(--muted)}
.content{height:100vh;overflow:auto;padding:22px 26px}
.module{animation:fade .35s ease}@keyframes fade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.mod-head{margin-bottom:14px}.mod-head h2{font-size:1.45rem}.mod-head p{color:var(--muted);margin:4px 0 0}
/* --- Accueil --- */
.hero-home{padding:34px;border-radius:22px;background:var(--grad);color:#fff;margin-bottom:22px;box-shadow:var(--shadow)}.hero-home h1{font-size:clamp(1.6rem,3vw,2.4rem);max-width:760px}.hero-home p{max-width:640px;opacity:.92;font-size:1.05rem}
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.mcard{text-align:left;background:var(--panel);color:var(--text);border:1px solid var(--border);border-radius:18px;padding:20px;display:flex;flex-direction:column;gap:8px;box-shadow:var(--shadow);transition:transform .25s,box-shadow .25s}
.mcard:hover{transform:translateY(-4px);box-shadow:0 14px 40px rgba(108,92,231,.18)}.mcard b{font-size:1.05rem}.mcard p{margin:0;color:var(--muted);font-size:.88rem;line-height:1.5}
.mi{width:50px;height:50px;border-radius:14px;background:var(--g);display:grid;place-items:center;font-size:1.5rem}
.center{text-align:center;margin-top:18px}
/* --- Contrôles --- */
label{display:flex;flex-direction:column;gap:4px;font-size:.82rem;font-weight:500;color:var(--text)}label.row,.row{flex-direction:row;display:flex;gap:8px;align-items:center}
.row2{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap}.row2>label{flex:1;min-width:90px}
.lbl{display:block;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);margin:6px 0}
fieldset{border:1px solid var(--border);border-radius:10px;padding:10px;display:flex;flex-direction:column;gap:8px;margin:0}legend{font-size:.78rem;color:var(--accent);padding:0 4px;font-weight:600}
textarea,input,select{background:var(--input);color:var(--text);border:1px solid var(--border);border-radius:8px;padding:8px 9px;font:inherit;font-size:.85rem;width:100%;transition:border-color .2s,box-shadow .2s}
textarea:focus,input:focus,select:focus{outline:0;border-color:var(--accent);box-shadow:0 0 0 3px rgba(108,92,231,.18)}
input[type=checkbox],input[type=radio]{width:auto;accent-color:var(--accent)}input[type=color]{padding:2px;height:34px;min-width:46px;cursor:pointer}input[type=range]{padding:0;accent-color:var(--accent);border:0}input[type=file]{font-size:.75rem;padding:5px}
button,.btnlike{cursor:pointer;border:1px solid var(--border);border-radius:9px;padding:8px 11px;font:inherit;font-size:.84rem;font-weight:500;background:var(--panel2);color:var(--text);text-align:center;transition:transform .15s,filter .2s,background .2s}
button:hover:not(:disabled),.btnlike:hover{filter:brightness(.97);transform:translateY(-1px)}button:disabled{opacity:.45;cursor:default}
.primary{background:var(--grad)!important;color:#fff!important;border:0!important;font-weight:700}.danger{background:#e74c3c!important;color:#fff!important;border:0!important}.ghost{background:transparent}
.small{padding:4px 8px;font-size:.74rem;align-self:flex-start}
.hint{font-size:.76rem;color:var(--muted);margin:0;line-height:1.45}.info{font-size:.8rem;color:var(--accent);margin:0;min-height:1em}
details{border:1px solid var(--border);border-radius:10px;padding:8px 10px}summary{cursor:pointer;font-weight:600;font-size:.85rem}details .stack,details>div{margin-top:8px}
.stack{display:flex;flex-direction:column;gap:8px}
.panel{background:var(--panel);border:1px solid var(--border);border-radius:var(--r);padding:14px;display:flex;flex-direction:column;gap:10px;min-height:0;box-shadow:var(--shadow)}
.panel.scroll,.stage.scroll{overflow:auto}.panel.narrow{max-width:620px}
.btn-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:6px}
.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,30px);background:#1c1d2b;color:#fff;padding:10px 18px;border-radius:99px;opacity:0;pointer-events:none;transition:all .3s;z-index:99;font-size:.85rem}.toast.show{opacity:1;transform:translate(-50%,0)}
/* --- Créateur de sites (structure reprise) --- */
.layout{display:grid;grid-template-columns:380px 1fr;gap:14px;height:calc(100vh - 120px);min-height:520px}
.ptabs{display:flex;flex-wrap:wrap;gap:4px}.ptabs button{padding:6px 8px;font-size:.78rem}.ptabs button.active{background:var(--accent);color:#fff;border-color:var(--accent)}
.pbody{flex:1;overflow:auto;padding-right:4px;min-height:0}.pbody section{display:flex;flex-direction:column;gap:10px}
.dl{display:flex;gap:8px}.dl button{flex:1}.btns{display:flex;flex-direction:column;gap:8px}.hist button{flex:1}
.examples{display:flex;flex-wrap:wrap;gap:6px}.examples span{font-size:.74rem;background:var(--panel2);border:1px solid var(--border);padding:4px 9px;border-radius:99px;cursor:pointer}.examples span:hover{border-color:var(--accent)}
.checks{display:grid;grid-template-columns:1fr 1fr;gap:6px}.add select{flex:1}
.palettes{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}.swatch{height:30px;padding:0;border-radius:8px;border:2px solid var(--border)}
.sec{background:var(--panel2);border:1px solid var(--border);border-radius:9px;margin-bottom:6px}.sec.off{opacity:.55}.sec.dragover{border-color:var(--accent2)}
.sec-head{display:flex;align-items:center;gap:6px;padding:6px 8px}.sec-head b{font-size:.8rem;white-space:nowrap}.sec-head small{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:.72rem}
.sec-head button{padding:3px 7px;font-size:.74rem}.grip{cursor:grab;color:var(--muted);user-select:none}
.sec-body{padding:8px;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:8px}
.item{border:1px dashed var(--border);border-radius:7px;padding:8px;display:flex;flex-direction:column;gap:6px}.item-head{display:flex;justify-content:space-between;font-size:.74rem;color:var(--accent)}
.imgrow{display:flex;gap:6px;align-items:center}.imgrow input[type=file]{width:110px}
.output{display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--border);border-radius:var(--r);overflow:hidden;min-height:0;box-shadow:var(--shadow)}
.tabs{display:flex;gap:4px;padding:8px;align-items:center;flex-wrap:wrap;border-bottom:1px solid var(--border)}.tabs button.active,.devices button.active{background:var(--accent);color:#fff;border-color:var(--accent)}.tabs select{width:auto;max-width:220px}.devices{display:flex;gap:2px;margin-left:8px}.copy{margin-left:auto}
.views{flex:1;position:relative;background:var(--panel2);display:flex;justify-content:center;overflow:auto;min-height:0}iframe{width:100%;height:100%;border:0;background:#fff;transition:width .3s}
pre{margin:0;width:100%;height:100%;overflow:auto;padding:16px;background:#0b0c18;color:#d8d8ea;font-size:.76rem;white-space:pre-wrap}
/* --- Images / vidéo --- */
.layout3{display:grid;grid-template-columns:290px 1fr 290px;gap:14px;height:calc(100vh - 120px);min-height:520px}
.stage{display:flex;flex-direction:column;gap:8px;min-width:0;min-height:0}
.toolbar{display:flex;gap:6px;align-items:center;flex-wrap:wrap;background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:8px}.toolbar .sp{flex:1}.toolbar input[type=range]{width:140px}.q{flex-direction:row;align-items:center;font-size:.75rem}.q input{width:70px!important}
.canvas-wrap{flex:1;display:grid;place-items:center;border-radius:var(--r);border:1px solid var(--border);overflow:hidden;min-height:0;padding:14px}
.canvas-wrap canvas{max-width:100%;max-height:100%;box-shadow:0 10px 40px rgba(0,0,0,.25);touch-action:none;cursor:move;object-fit:contain}
#mod-image .canvas-wrap canvas{max-height:calc(100vh - 220px)}#mod-video .canvas-wrap canvas{max-height:calc(100vh - 260px)}
.checker{background:repeating-conic-gradient(var(--panel2) 0 25%,var(--panel) 0 50%) 0 0/22px 22px}.dark{background:#0b0c18}
.emoji-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:3px}.emoji-grid button{padding:4px;font-size:1.2rem;background:transparent;border:0}
.layers{display:flex;flex-direction:column;gap:4px}.layer{display:flex;gap:3px;align-items:center;padding:5px 6px;border-radius:8px;border:1px solid var(--border);cursor:pointer;font-size:.78rem}.layer span{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.layer button{padding:2px 6px;font-size:.7rem}.layer.active{border-color:var(--accent);background:rgba(108,92,231,.1)}
.vslide{border:1px solid var(--border);border-radius:10px;margin-top:8px;background:var(--panel2)}.vslide-head{display:flex;gap:4px;align-items:center;padding:6px 8px}.vslide-head small{flex:1;color:var(--muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.vslide-head button{padding:2px 7px;font-size:.72rem}.vslide-body{padding:8px;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:8px}
/* --- Pub --- */
.ad-grid{display:grid;grid-template-columns:1fr 380px;gap:14px;align-items:start}
.variants{display:flex;flex-direction:column;gap:10px}.adcard{background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:8px;cursor:pointer}.adcard.active{border-color:var(--accent);box-shadow:0 0 0 3px rgba(108,92,231,.15)}
.adcard-head{display:flex;gap:6px;align-items:center}.adcard-head b{flex:1;font-size:.85rem}.lblrow{display:flex;justify-content:space-between}
.count{font-size:.72rem;font-weight:700;padding:1px 7px;border-radius:99px}.count.ok{background:#d1fae5;color:#065f46}.count.near{background:#fef3c7;color:#92400e}.count.over{background:#fee2e2;color:#991b1b}
.mocks{display:flex;flex-direction:column;gap:14px;position:sticky;top:0}
.fb-feed{background:#fff;color:#050505;border-radius:10px;border:1px solid #dddfe2;font-family:Helvetica,Arial,sans-serif;overflow:hidden}
.fb-head{display:flex;gap:8px;align-items:center;padding:10px 12px}.fb-head small{display:block;color:#65676b;font-size:.74rem}.fb-head .dots{margin-left:auto;color:#65676b}
.ad-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:700;flex-shrink:0}
.fb-text{padding:0 12px 10px;margin:0;font-size:.86rem;white-space:pre-wrap;line-height:1.4}.fb-text a{color:#65676b;font-weight:600;text-decoration:none}
.fb-feed canvas{width:100%;display:block}.fb-bottom{display:flex;gap:10px;align-items:center;background:#f0f2f5;padding:10px 12px}.fb-bottom>div{flex:1;min-width:0}.fb-bottom small{display:block;color:#65676b;font-size:.72rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fb-bottom b{display:block;font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fb-cta{background:#e4e6eb;padding:8px 12px;border-radius:6px;font-weight:600;font-size:.82rem;white-space:nowrap}.fb-actions{display:flex;justify-content:space-around;padding:8px;color:#65676b;font-size:.8rem;border-top:1px solid #dddfe2}
.fb-story{position:relative;width:220px;aspect-ratio:9/16;border-radius:16px;overflow:hidden;background:#111;align-self:center;color:#fff;font-family:Helvetica,Arial,sans-serif;display:flex;flex-direction:column;justify-content:center}
.fb-story canvas{width:100%}.st-bar{position:absolute;top:8px;left:8px;right:8px;height:3px;background:rgba(255,255,255,.5);border-radius:3px}.st-head{position:absolute;top:18px;left:10px;display:flex;gap:6px;align-items:center;font-size:.75rem}.st-head .ad-avatar{width:26px;height:26px;font-size:.7rem}
#ad-story-text{position:absolute;bottom:58px;left:10px;right:10px;text-align:center;font-weight:700;font-size:.85rem;margin:0;text-shadow:0 1px 4px #000}.st-cta{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);background:#fff;color:#111;padding:7px 14px;border-radius:99px;font-weight:700;font-size:.75rem;white-space:nowrap}
.card-lite{background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:12px}.target p{margin:6px 0;font-size:.82rem}
/* --- Bonus --- */
.bonus-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:14px}
.logos{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px}.logoCard{display:flex;flex-direction:column;gap:4px}.logoCv{width:100%;border-radius:10px;border:1px solid var(--border)}
.chips{display:flex;flex-wrap:wrap;gap:6px}.chip{border-radius:99px;font-size:.78rem;padding:5px 11px}.chip.ai{border-color:var(--accent)}
.pal{display:flex;border-radius:12px;overflow:hidden;height:110px}.palcol{flex:1;border:0;border-radius:0;font-weight:700;font-size:.75rem;display:flex;align-items:flex-end;justify-content:center;padding-bottom:10px}
#selftest{position:fixed;top:0;right:0;width:420px;height:auto;max-height:100vh;z-index:100}
/* --- Responsive --- */
@media(max-width:1200px){.layout3{grid-template-columns:260px 1fr;height:auto}.layout3>aside:last-child{grid-column:1/-1}.ad-grid{grid-template-columns:1fr}}
@media(max-width:900px){body{grid-template-columns:1fr;display:block}.sidebar{height:auto;position:sticky;top:0;z-index:50;padding:10px;gap:8px;border-right:0;border-bottom:1px solid var(--border)}
 .menu-btn{display:block}.side-nav,.side-foot{display:none}.menu-open .side-nav,.menu-open .side-foot{display:flex}
 .content{height:auto;overflow:visible;padding:14px}.layout,.layout3{grid-template-columns:1fr;height:auto}.panel{max-height:none}.output{height:80vh}.canvas-wrap{min-height:50vh}}
/* --- Galerie de modèles --- */
.gal-btn{margin-top:8px}
.gal{position:fixed;inset:0;background:rgba(10,10,25,.55);backdrop-filter:blur(4px);z-index:90;display:grid;place-items:center;padding:20px;animation:fade .25s}
.gal-box{background:var(--panel);border-radius:18px;width:min(1180px,100%);max-height:92vh;display:flex;flex-direction:column;box-shadow:0 30px 80px rgba(0,0,0,.4);overflow:hidden}
.gal-top{display:flex;gap:10px;align-items:center;padding:14px 18px;border-bottom:1px solid var(--border);flex-wrap:wrap}.gal-top h3{flex:1;min-width:200px}.gal-top input{max-width:260px}
.gal-cats{display:flex;gap:6px;flex-wrap:wrap;padding:10px 18px;border-bottom:1px solid var(--border)}.gal-cats button{border-radius:99px;font-size:.76rem;padding:5px 11px}.gal-cats button.active{background:var(--accent);color:#fff;border-color:var(--accent)}
.gal-grid{overflow:auto;padding:16px 18px;display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px}
.gal-item{display:flex;flex-direction:column;gap:6px;text-align:left;padding:8px;border-radius:12px;background:var(--panel2)}.gal-item:hover{border-color:var(--accent)}
.gal-item b{font-size:.82rem}.gal-item small{color:var(--muted);font-size:.7rem}
.gal-thumb{width:100%;aspect-ratio:4/3;border-radius:9px;overflow:hidden;display:grid;place-items:center;background:#ddd;position:relative}
.gal-thumb canvas{max-width:100%;max-height:100%;display:block}
.tsite{width:100%;height:100%;display:flex;flex-direction:column;font-size:9px;text-align:center}.tsite .tn{background:#fff;color:#222;padding:4px 6px;display:flex;justify-content:space-between;font-weight:700}.tsite .th{flex:1;display:flex;flex-direction:column;justify-content:center;gap:3px;color:#fff;padding:6px}.tsite .th b{font-size:14px;line-height:1.1}.tsite .tb{background:#fff;padding:5px;display:flex;gap:4px}.tsite .tb i{flex:1;height:16px;border-radius:3px;opacity:.35}
.tvid{width:100%;height:100%;display:grid;place-items:center;color:#fff;font-weight:800;font-size:15px;padding:10px;text-align:center;text-shadow:0 1px 4px rgba(0,0,0,.4)}.tvid span{position:absolute;bottom:6px;right:8px;font-size:10px;background:rgba(0,0,0,.5);padding:2px 6px;border-radius:5px}
.tad{width:100%;height:100%;padding:10px;color:#fff;display:flex;flex-direction:column;justify-content:space-between;font-size:11px}.tad b{font-size:14px}
.palpresets{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:6px}.palp{display:flex;flex-direction:column;gap:3px;padding:4px;font-size:.68rem}.palp div{display:flex;height:22px;border-radius:5px;overflow:hidden}.palp div i{flex:1}
/* Vignettes premium des sites */
.tp{background:#fbfbfc;text-align:left}.tp .tn{background:rgba(255,255,255,.7);backdrop-filter:blur(6px);font-size:8px;position:relative;z-index:2}
.tp-body{flex:1;display:grid;grid-template-columns:1.1fr 1fr;gap:6px;padding:8px;align-items:center;position:relative}
.tp-tx{display:flex;flex-direction:column;gap:3px;color:#111;z-index:1}.tp-tx i{font-style:normal;font-size:6.5px;color:var(--a);font-weight:700;text-transform:uppercase;letter-spacing:.08em}.tp-tx b{font-size:12px;line-height:1.04;letter-spacing:-.03em;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.tp-tx span{font-size:7px;opacity:.6;line-height:1.3}.tp-tx em{width:38px;height:9px;border-radius:9px;margin-top:3px}
.tp-ph{height:100%;min-height:70px;border-radius:8px;overflow:hidden;position:relative;box-shadow:0 6px 14px -6px rgba(0,0,0,.35)}.tp-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tp-editorial .tp-ph{border-radius:60px 60px 6px 6px}.tp-editorial .tp-tx b{font-size:13.5px}
.tp-mesh .tp-body{grid-template-columns:1fr;text-align:center}.tp-mesh .tp-tx{align-items:center}.tp-mesh .tp-ph{display:none}
.tp-glass .tp-body{display:block;padding:0}.tp-glass .tp-ph{position:absolute;inset:0;border-radius:0}.tp-glass .tp-tx{position:relative;margin:14px 18px;padding:8px;border-radius:8px;background:rgba(255,255,255,.2);backdrop-filter:blur(6px);color:#fff;border:1px solid rgba(255,255,255,.35);align-items:center;text-align:center}.tp-glass .tp-tx i{color:#fff}.tp-glass .tp-tx em{background:#fff!important}
.tp-tx span{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.tvid-c{padding:0;background:#111}.tvid-c canvas{max-width:100%;max-height:100%}
/* --- Aperçu : cadre d'appareil --- */
.devices{display:flex;gap:4px;align-items:center}.devices select{max-width:210px}
.devstage{width:100%;height:100%;display:flex;flex-direction:column;align-items:center}
.devstage.framed{height:auto;margin:16px auto 0;flex:none;width:auto;position:relative}
.devstage:not(.framed) .device,.devstage:not(.framed) .dev-screen{width:100%;height:100%}
.devstage:not(.framed) .dev-status,.devstage:not(.framed) .dev-home{display:none}
.devstage.framed .device{transform-origin:top left;position:relative;padding:14px;border-radius:58px;background:linear-gradient(145deg,#2b2d35,#0b0c10);box-shadow:0 0 0 2px #3a3d48,0 30px 80px rgba(10,10,30,.45),inset 0 0 0 2px #50535f}
.devstage.framed .dev-screen{border-radius:44px;overflow:hidden;background:#fff;position:relative}
.devstage.framed iframe{display:block;border:0}
.dev-status{position:absolute;z-index:3;top:14px;left:14px;right:14px;height:44px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;font:600 15px/1 -apple-system,system-ui,sans-serif;color:#111;pointer-events:none;background:rgba(255,255,255,.82);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-radius:44px 44px 0 0}
.dev-status span{font-size:11px;letter-spacing:1px}.dev-notch{position:absolute;left:50%;top:10px;width:120px;height:34px;margin-left:-60px;border-radius:20px;background:#000}
.dev-home{position:absolute;z-index:3;bottom:22px;left:50%;width:134px;height:5px;margin-left:-67px;border-radius:3px;background:rgba(0,0,0,.55);pointer-events:none}
.dev-ios .dev-screen iframe{margin-top:0}
.dev-ios-old{border-radius:48px!important;padding:64px 14px 74px!important}.dev-ios-old .dev-screen{border-radius:4px!important}.dev-ios-old .dev-status{top:64px;height:22px;font-size:12px;padding:0 10px}.dev-ios-old .dev-notch{display:none}.dev-ios-old .dev-home{width:52px;height:52px;bottom:12px;margin-left:-26px;border-radius:50%;background:none;border:2px solid #555}
.dev-android{border-radius:40px!important}.dev-android .dev-screen{border-radius:28px!important}.dev-android .dev-notch{width:14px;height:14px;margin-left:-7px;top:14px;border-radius:50%}.dev-android .dev-status{height:34px;font-size:13px;padding:0 22px}.dev-android .dev-home{width:110px;height:4px;margin-left:-55px;bottom:20px}
.dev-tablet{border-radius:36px!important;padding:24px!important}.dev-tablet .dev-screen{border-radius:12px!important}.dev-tablet .dev-notch{width:8px;height:8px;margin-left:-4px;top:8px}.dev-tablet .dev-status{top:24px;left:24px;right:24px;height:26px;font-size:12px;padding:0 14px}.dev-tablet .dev-home{display:none}
.device.land .dev-notch{display:none}.device.land .dev-status{display:none}.device.land .dev-home{display:none}
.dev-label{position:absolute;left:0;right:0;bottom:4px;text-align:center;font-size:.75rem;color:var(--muted)}
/* Plein écran */
.fullprev{position:fixed;inset:0;z-index:200;background:#fff;display:flex;flex-direction:column;transition:transform .2s;animation:sheet .25s}
.fp-bar{flex:none;display:flex;align-items:center;gap:10px;padding:8px 10px;padding-top:max(8px,env(safe-area-inset-top));background:var(--panel);border-bottom:1px solid var(--border);touch-action:none;position:relative}
.fp-bar b{flex:1;font-size:.9rem}.fp-grab{position:absolute;left:50%;top:4px;width:40px;height:4px;margin-left:-20px;border-radius:2px;background:var(--border)}
.fp-close{width:44px;height:44px;border-radius:50%;font-size:1.1rem}
.fp-body{flex:1;min-height:0}.fp-body iframe{width:100%!important;height:100%!important;border:0;display:block}
html.noscroll,html.noscroll body{overflow:hidden!important;height:100%}
@keyframes sheet{from{transform:translateY(40px);opacity:.4}to{transform:none;opacity:1}}
/* --- Appli / APK --- */
.apk-stage{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;align-items:start;padding:6px}
.apk-steps{background:var(--panel);border:1px solid var(--border);border-radius:18px;padding:20px;box-shadow:var(--shadow)}.apk-steps h3{margin-bottom:10px}.apk-steps ol{padding-left:20px;display:flex;flex-direction:column;gap:10px;line-height:1.5}.apk-steps details{margin-top:12px}.apk-steps summary{cursor:pointer;font-weight:600}
.btnlike.disabled{opacity:.5;pointer-events:none}#apk-pwab{display:inline-flex;margin-top:6px}
.apk-phones{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
.aphone{display:flex;flex-direction:column;align-items:center;gap:6px}.aphone small{color:var(--muted)}
.aph-screen{width:200px;height:420px;border-radius:32px;border:9px solid #111;box-shadow:0 20px 50px rgba(0,0,0,.3);position:relative;overflow:hidden;display:flex;flex-direction:column}
.aph-status{display:flex;justify-content:space-between;padding:8px 16px;color:#fff;font:600 11px system-ui}
.aph-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px 6px;padding:14px 10px}.aph-app{display:flex;flex-direction:column;align-items:center;gap:3px}
.aph-app i{width:38px;height:38px;border-radius:11px;background:rgba(255,255,255,.25);backdrop-filter:blur(6px);display:grid;place-items:center;font-style:normal;font-size:18px}.aph-app span{font:500 8px system-ui;color:#fff;height:9px;max-width:46px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.aph-app.me img{width:38px;height:38px;border-radius:11px;box-shadow:0 4px 12px rgba(0,0,0,.3);animation:pop 1.6s ease-in-out infinite alternate}@keyframes pop{to{transform:scale(1.08)}}
.aph-dock{margin-top:auto;margin:auto 8px 10px;padding:8px;border-radius:18px;background:rgba(255,255,255,.25);backdrop-filter:blur(8px);display:flex;justify-content:space-around}.aph-dock i{font-style:normal;font-size:18px}
.aph-screen.splash{align-items:center;justify-content:center;gap:14px}.splash img{width:84px;height:84px;border-radius:22px;box-shadow:0 10px 30px rgba(0,0,0,.2)}.splash b{font:700 14px system-ui;text-align:center;padding:0 10px}
.aph-spin{width:22px;height:22px;border-radius:50%;border:3px solid rgba(127,127,127,.25);border-top-color:#6c5ce7;animation:spin 1s linear infinite;position:absolute;bottom:40px}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:900px){.apk-stage{grid-template-columns:1fr}.aph-screen{width:160px;height:336px}}
/* Barre d'état au-dessus de la zone web (le viewport reste exactement à la taille annoncée) */
.devstage.framed .dev-status{position:relative;top:auto;left:auto;right:auto;border-radius:44px 44px 0 0;background:#fff}
.devstage.framed .dev-screen{border-top-left-radius:0!important;border-top-right-radius:0!important}
.devstage.framed .dev-android .dev-status{border-radius:28px 28px 0 0}.devstage.framed .dev-tablet .dev-status{top:auto;left:auto;right:auto;border-radius:12px 12px 0 0}
.devstage.framed .dev-ios-old .dev-status{top:auto;border-radius:4px 4px 0 0}
.devstage.framed .device.land .dev-screen{border-radius:40px!important}
.devstage.framed{align-items:flex-start}
label.chk{flex-direction:row!important;align-items:center;gap:8px}
