/* IMG_2106: 430 CSS px viewport, bar x22/width387/height60; 5 equal slots. */
.sg-reference-dock{box-sizing:border-box;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;width:100%;height:60px;padding:4px 5px;gap:0;border:1px solid #ffffff24;border-radius:999px;background:linear-gradient(180deg,#ffffff08,transparent 12%),#101518ed;box-shadow:inset 0 1px 1px #ffffff26,0 2px 8px #0003;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);color:#f5f6f7}
.sg-reference-dock .sg-reference-dock-tab{box-sizing:border-box;position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:50px;padding:0;margin:0;border:0;border-radius:999px;background:transparent;color:inherit;text-decoration:none;cursor:pointer;min-width:0;outline-offset:2px;-webkit-tap-highlight-color:transparent}
.sg-reference-dock .sg-reference-dock-tab[data-active=true]{background:#ffffff35;color:hsl(var(--primary));}
.sg-reference-dock .sg-reference-dock-tab:focus-visible{outline:2px solid hsl(var(--primary));}
.sg-reference-dock .sg-reference-dock-tab:active{background:#ffffff29}
.sg-reference-dock .sg-reference-dock-tab[aria-disabled=true]{opacity:.3;cursor:default}
.sg-reference-dock .sg-reference-dock-icon{display:block;width:25px;height:25px;flex:none;fill:none;transform:none;filter:none}
.sg-reference-dock .sg-reference-dock-avatar{display:block;width:30.36px;height:30.36px;object-fit:cover;border-radius:50%;flex:none;transform:scale(1);transform-origin:center;transition:transform 160ms cubic-bezier(.23,1,.32,1)}
.sg-reference-dock .sg-reference-dock-badge{position:absolute;top:2px;left:calc(50% + 7px);min-width:16px;height:16px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:0 3px;border:1px solid #101518;border-radius:999px;background:hsl(var(--primary));color:white;font-size:9px;line-height:1}
/* Explicit integration scope wins legacy shell dimensions and appearance cascade. */
[data-bottom-nav]{left:22px!important;right:22px!important;bottom:max(12px,calc(env(safe-area-inset-bottom) - 10px))!important;max-width:500px;margin-inline:auto}
[data-bottom-nav]>nav{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;overflow:visible!important}
.desktop-dock-shell:has(.sg-reference-dock){position:fixed!important;left:50%!important;right:auto!important;bottom:24px!important;transform:translateX(-50%)!important;width:430px!important;max-width:calc(100vw - 44px)!important;padding:0!important;z-index:50}
@media(max-width:767px){.desktop-dock-shell:has(.sg-reference-dock){display:none!important}}
@media(min-width:768px){[data-bottom-nav]:has(.sg-reference-dock){display:none!important}.desktop-dock-shell:has(.sg-reference-dock){display:block!important}}
@media(prefers-reduced-motion:reduce){[data-bottom-nav]:has(.sg-reference-dock){transition:none!important}}
/* Native legacy nav rules impose larger minimum heights; pin this named variant. */
.sg-reference-dock{min-height:60px!important;height:60px!important;max-height:60px!important}
[data-bottom-nav]:has(.sg-reference-dock)>nav{min-height:0!important;height:auto!important;max-height:none!important}
/* Appearance's later padding-block !important requires variant-specific specificity. */
.desktop-app-shell [data-bottom-nav]:has(.sg-reference-dock)>nav{padding-block:0!important;padding:0!important}
/* Native desktop shell disables hit testing unless its dock re-enables it. */
.desktop-dock-shell:has(.sg-reference-dock),.desktop-dock-shell .sg-reference-dock{pointer-events:auto!important}

/* Owner-approved photo emphasis; transforms preserve the dock and slot geometry. */
@media(hover:hover) and (pointer:fine){.sg-reference-dock .sg-reference-dock-tab:not([aria-disabled=true]):hover .sg-reference-dock-avatar{transform:scale(1.5)}}
.sg-reference-dock .sg-reference-dock-tab[data-active=true] .sg-reference-dock-avatar,.sg-reference-dock .sg-reference-dock-tab:not([aria-disabled=true]):active .sg-reference-dock-avatar,.sg-reference-dock .sg-reference-dock-tab[data-avatar-pressed=true] .sg-reference-dock-avatar{transform:scale(1.5)}
@media(prefers-reduced-motion:reduce){.sg-reference-dock .sg-reference-dock-avatar{transition:none}}
