/* FD SMART DOCK V1 — Signature Split: one visual dock, original authorized controls */
@supports selector(body:has(*)) {
body:has(#fd-smart-dock) {--fds-a:0;--fds-p:0;--fds-m:0;--fds-w:49px;--fds-h:51px;--fds-n:calc(var(--fds-a) + var(--fds-p) + var(--fds-m));--fds-total:calc(var(--fds-h) * var(--fds-n));--fds-top:calc(50% - var(--fds-total) / 2);--fds-ink:var(--fd-theme-gold,var(--tt-dark,#fff));--fds-bg:var(--fd-theme-hero,var(--bg-gradient,#194655));}
body:has(#fd-smart-dock):has(#fda-live:not([hidden]) .fda-launch:not([hidden]):not([style*="display: none"]):not([style*="display:none"])){--fds-a:1}
body:has(#fd-smart-dock):has(#fdas-restore:not([hidden]):not([style*="display: none"]):not([style*="display:none"])){--fds-p:1}
body:has(#fd-smart-dock):has(.fdmc-entry:not(.fdmc-launcher-preview-button):not([hidden]):not([style*="display: none"]):not([style*="display:none"])){--fds-m:1}
#fd-smart-dock{display:none;position:fixed;left:0;top:50%;transform:translateY(-50%);width:var(--fds-w);height:var(--fds-total);background:var(--fds-bg);border-radius:0 12px 12px 0;box-shadow:0 6px 20px #0003;pointer-events:none;z-index:2147481498}
body:has(#fd-smart-dock):has(#fda-live:not([hidden]) .fda-launch:not([hidden]):not([style*="display: none"]):not([style*="display:none"])) #fd-smart-dock,body:has(#fd-smart-dock):has(#fdas-restore:not([hidden]):not([style*="display: none"]):not([style*="display:none"])) #fd-smart-dock,body:has(#fd-smart-dock):has(.fdmc-entry:not(.fdmc-launcher-preview-button):not([hidden]):not([style*="display: none"]):not([style*="display:none"])) #fd-smart-dock{display:block}
body:has(#fd-smart-dock) #fda-live{left:0;top:50%;height:0;transform:none;isolation:auto;z-index:2147481500}
body:has(#fd-smart-dock) #fda-live .fda-launch{position:absolute;left:0;top:calc(0px - var(--fds-total) / 2);width:var(--fds-w);height:var(--fds-h);min-width:0;min-height:0;padding:0;display:grid;place-items:center;background:transparent;border:0;border-radius:0 12px 0 0;color:var(--fds-ink);box-shadow:none;font-size:20px;margin:0}
body:has(#fd-smart-dock) #fda-live .fda-live-panel{left:calc(var(--fds-w) + 8px);top:0;transform:translateY(-50%);width:min(258px,calc(100vw - var(--fds-w) - 18px))}
body:has(#fd-smart-dock) #fdas-restore,body:has(#fd-smart-dock) .fdmc-entry:not(.fdmc-launcher-preview-button):not([hidden]):not([style*="display: none"]):not([style*="display:none"]){position:fixed!important;left:0!important;right:auto!important;bottom:auto!important;transform:none!important;width:var(--fds-w)!important;height:var(--fds-h)!important;min-width:0!important;min-height:0!important;max-width:var(--fds-w)!important;max-height:var(--fds-h)!important;margin:0!important;padding:0!important;box-sizing:border-box!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;color:var(--fds-ink)!important;z-index:2147481499!important;align-items:center!important;justify-content:center!important}
body:has(#fd-smart-dock) #fdas-restore{top:calc(var(--fds-top) + var(--fds-h) * var(--fds-a))!important}
body:has(#fd-smart-dock) .fdmc-entry:not(.fdmc-launcher-preview-button):not([hidden]):not([style*="display: none"]):not([style*="display:none"]){top:calc(var(--fds-top) + var(--fds-h) * (var(--fds-a) + var(--fds-p)))!important;gap:0!important;font-size:20px!important}
body:has(#fd-smart-dock):has(#fda-live:not([hidden]) .fda-launch:not([hidden]):not([style*="display: none"]):not([style*="display:none"])) #fdas-restore:not([hidden]):not([style*="display: none"]):not([style*="display:none"]),body:has(#fd-smart-dock):has(#fda-live:not([hidden]) .fda-launch:not([hidden]):not([style*="display: none"]):not([style*="display:none"])) .fdmc-entry:not(.fdmc-launcher-preview-button):not([hidden]):not([style*="display: none"]):not([style*="display:none"]),body:has(#fd-smart-dock):has(#fdas-restore:not([hidden]):not([style*="display: none"]):not([style*="display:none"])) .fdmc-entry:not(.fdmc-launcher-preview-button):not([hidden]):not([style*="display: none"]):not([style*="display:none"]){border-top:1px solid #ffffff35!important}
body:has(#fd-smart-dock) #fda-live .fda-launch:hover,body:has(#fd-smart-dock) #fdas-restore:hover,body:has(#fd-smart-dock) .fdmc-entry:not(.fdmc-launcher-preview-button):not([hidden]):not([style*="display: none"]):not([style*="display:none"]):hover{background:#ffffff18!important}
body:has(#fd-smart-dock) #fda-live .fda-launch:focus-visible,body:has(#fd-smart-dock) #fdas-restore:focus-visible,body:has(#fd-smart-dock) .fdmc-entry:not(.fdmc-launcher-preview-button):not([hidden]):not([style*="display: none"]):not([style*="display:none"]):focus-visible{outline:2px solid var(--fds-ink)!important;outline-offset:-3px!important}
body:has(#fd-smart-dock) #fdas-restore[hidden]{display:none!important}
body:has(#fd-smart-dock) #fda-live .fda-launch[hidden]{display:none!important}
body:has(#fd-smart-dock) .fdmc-entry:not(.fdmc-launcher-preview-button)[hidden]{display:none!important}
body:has(#fd-smart-dock) #fdas-restore svg{width:25px;height:25px}
/* Native launcher visibility and badge rendering are not replaced. */
@media(max-height:220px){body:has(#fd-smart-dock){--fds-h:44px}}
}
