/* Écrans de démarrage AXDIA : animations décoratives, sans faux pourcentage ni délai ajouté. */
.axdia-launch{--launch-bg:#171310;--launch-card:#211b17;--launch-ink:#f5eee7;--launch-muted:#c4b6aa;--launch-line:#504137;--launch-accent:#ee9d7d;position:fixed;inset:0;z-index:2147483646;display:grid;place-items:center;box-sizing:border-box;padding:28px;background:radial-gradient(ellipse at 50% 38%,#3a251b55,transparent 58%),var(--launch-bg);color:var(--launch-ink);font:400 14px/1.6 system-ui,-apple-system,'Segoe UI',sans-serif;text-align:center;isolation:isolate;overflow:auto}
html[data-theme=light] .axdia-launch{--launch-bg:#f6f2ed;--launch-card:#fffdf9;--launch-ink:#30271f;--launch-muted:#68584b;--launch-line:#d6c7ba;--launch-accent:#a43418;background:radial-gradient(ellipse at 50% 38%,#e4c3a944,transparent 58%),var(--launch-bg)}
.axdia-launch__inner{width:min(100%,420px);margin:auto;display:grid;justify-items:center;gap:0}
.axdia-launch__brand{font:650 12px/1.4 system-ui,sans-serif;letter-spacing:.24em;margin:0 0 31px;color:var(--launch-muted)}
.axdia-launch__brand b{color:var(--launch-ink);letter-spacing:.12em;font-weight:750}
.axdia-launch__scene{position:relative;width:232px;height:174px;margin-bottom:30px;display:grid;place-items:center}
.axdia-launch__halo{position:absolute;inset:0;border:1px solid var(--launch-line);border-radius:50%;opacity:.35;transform:scale(.95)}
.axdia-launch__halo::after{content:'';position:absolute;inset:-1px;border-radius:50%;border:1px solid transparent;border-top-color:var(--launch-accent);border-right-color:var(--launch-accent);animation:launch-orbit 3.2s linear infinite}
.axdia-launch__window{position:relative;width:186px;height:128px;background:var(--launch-card);border:1px solid var(--launch-line);border-radius:13px;box-shadow:0 18px 45px #0002;overflow:hidden;transform:rotate(-4deg);animation:launch-float 4s ease-in-out infinite}
.axdia-launch__chrome{height:26px;display:flex;align-items:center;gap:4px;padding:0 10px;border-bottom:1px solid var(--launch-line)}
.axdia-launch__chrome i{width:4px;height:4px;background:var(--launch-muted);opacity:.55;border-radius:50%}.axdia-launch__chrome i:first-child{background:var(--launch-accent);opacity:1}
.axdia-launch__canvas{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;padding:12px}.axdia-launch__canvas i{height:25px;display:block;background:color-mix(in srgb,var(--launch-accent) 15%,var(--launch-card));border:1px solid var(--launch-line);border-radius:5px;animation:launch-tile 2.4s ease-in-out infinite}.axdia-launch__canvas i:nth-child(2){animation-delay:.2s}.axdia-launch__canvas i:nth-child(3){animation-delay:.4s}.axdia-launch__canvas i:first-child{height:26px;grid-column:1/-1;width:75%;background:var(--launch-accent);opacity:.7;transform-origin:left}.axdia-launch__canvas i:last-child{height:5px;grid-column:1/-1;width:62%;background:var(--launch-muted);opacity:.35;animation-delay:.6s}
.axdia-launch__badge{position:absolute;right:5px;bottom:6px;width:44px;height:44px;border:1px solid var(--launch-line);border-radius:13px;background:var(--launch-card);display:grid;place-items:center;color:var(--launch-accent);box-shadow:0 7px 18px #0002;font-size:23px;animation:launch-float 4s ease-in-out infinite reverse}
.axdia-launch .axdia-launch__title{font:400 clamp(27px,5vw,36px)/1.2 Georgia,serif;letter-spacing:-.035em;color:var(--launch-ink);margin:0 0 12px;max-width:100%;text-wrap:balance}
.axdia-launch .axdia-launch__detail{font:400 14px/1.7 system-ui,sans-serif;color:var(--launch-muted);margin:0 0 26px;max-width:310px}
.axdia-launch__activity{width:152px;height:2px;border-radius:2px;background:var(--launch-line);overflow:hidden;position:relative}.axdia-launch__activity::after{content:'';position:absolute;inset:0;background:var(--launch-accent);transform:translateX(-105%);animation:launch-sweep 1.8s cubic-bezier(.4,0,.2,1) infinite}
.axdia-launch__status{display:flex;align-items:center;gap:7px;margin:14px 0 0;font:500 12px/1.5 system-ui,sans-serif;color:var(--launch-muted)}.axdia-launch__status i{width:5px;height:5px;background:var(--launch-accent);border-radius:50%;animation:launch-dot 1.8s ease-in-out infinite}
.axdia-launch--inline{position:relative;inset:auto;z-index:0;min-height:410px;padding:32px 24px;border:1px solid var(--launch-line);border-radius:18px}.axdia-launch--inline .axdia-launch__brand{margin-bottom:18px}.axdia-launch--inline .axdia-launch__scene{transform:scale(.8);margin-block:-10px 8px}
#factory-launch{display:none}html.factory-booting #factory-launch{display:grid;visibility:visible}
@keyframes launch-orbit{to{transform:rotate(360deg)}}
@keyframes launch-float{0%,100%{translate:0 0}50%{translate:0 -6px}}
@keyframes launch-tile{0%,100%{opacity:.5}50%{opacity:1}}
@keyframes launch-sweep{0%{transform:translateX(-105%)}100%{transform:translateX(105%)}}
@keyframes launch-dot{0%,100%{opacity:.35}50%{opacity:1}}
@media(max-width:480px){.axdia-launch{padding:24px}.axdia-launch__scene{width:208px;height:160px}.axdia-launch__brand{margin-bottom:24px}.axdia-launch--inline{min-height:370px}}
@media(prefers-reduced-motion:reduce){.axdia-launch *,.axdia-launch *::before,.axdia-launch *::after{animation:none!important;translate:none!important}.axdia-launch__activity::after{transform:none;opacity:.65}.axdia-launch__window{transform:none}}

/* Le premier écran couvre le shell ; ses commandes deviennent disponibles avec le rendu réel. */
body:has(#app-launch) :is(.app-sidebar,.app-topbar,.app-footer){visibility:hidden}
/* Le lien d’évitement doit rester visible lorsqu’il reçoit le focus au-dessus du démarrage. */
body:has(#app-launch) .skip:focus{z-index:2147483647}
