/* Shared mobile navigation: one glass surface, selection through color only. */
@media(max-width:1000px){
  :is(html:root[data-theme],html:root:not([data-theme])) body :is(.cc-mobile-bottom-nav,.mobile-bottom-nav){
    --cc-glass-panel:#ffffff;--cc-glass-ink:#576174;--cc-glass-active:color-mix(in srgb,var(--cc-editor-accent,var(--accent,#6d28d9)) 50%,#172033);
    isolation:isolate;border:1px solid rgba(255,255,255,.65)!important;border-radius:26px!important;
    background:rgba(248,250,255,.62)!important;
    box-shadow:0 12px 36px rgba(15,23,42,.16),inset 0 1px 1px rgba(255,255,255,.9),inset 0 -1px 0 rgba(255,255,255,.22)!important;
    backdrop-filter:blur(28px) saturate(180%)!important;
    -webkit-backdrop-filter:blur(28px) saturate(180%)!important;
  }
  html:root[data-theme="dark"] body :is(.cc-mobile-bottom-nav,.mobile-bottom-nav){
    --cc-glass-panel:#202127;--cc-glass-ink:#bec5d1;--cc-glass-active:color-mix(in srgb,var(--cc-editor-accent,#8b5cf6) 60%,white);
    border-color:rgba(255,255,255,.20)!important;background:rgba(24,27,35,.65)!important;
    box-shadow:0 12px 36px rgba(0,0,0,.30),inset 0 1px 1px rgba(255,255,255,.22),inset 0 -1px rgba(255,255,255,.05)!important;
  }
  :is(html:root[data-theme],html:root:not([data-theme])) body :is(.cc-mobile-nav-item,.mobile-nav-item,.mobile-bottom-nav>button),
  :is(html:root[data-theme],html:root:not([data-theme])) body :is(.cc-mobile-nav-item,.mobile-nav-item,.mobile-bottom-nav>button):is(:hover,:focus-visible,.active){
    color:var(--cc-glass-ink)!important;background:transparent!important;background-image:none!important;box-shadow:none!important;
    transition:color .22s ease!important;-webkit-tap-highlight-color:transparent;
  }
  :is(html:root[data-theme],html:root:not([data-theme])) body :is(.cc-mobile-nav-item,.mobile-nav-item,.mobile-bottom-nav>button):is(.active,:focus-visible){color:var(--cc-glass-active)!important}
  :is(html:root[data-theme],html:root:not([data-theme])) body :is(.cc-mobile-nav-item,.mobile-nav-item,.mobile-bottom-nav>button):focus-visible{outline:2px solid currentColor!important;outline-offset:-3px}
  :is(html:root[data-theme],html:root:not([data-theme])) body :is(.cc-mobile-nav-item,.mobile-nav-item,.mobile-bottom-nav>button) .cc-icon-shell,
  :is(html:root[data-theme],html:root:not([data-theme])) body :is(.cc-mobile-nav-item,.mobile-nav-item,.mobile-bottom-nav>button):is(:hover,:focus-visible,.active) .cc-icon-shell{
    color:inherit!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;filter:none!important;transform:none!important;
  }
  :is(html:root[data-theme],html:root:not([data-theme])) body :is(.cc-mobile-nav-item,.mobile-nav-item,.mobile-bottom-nav>button) .cc-icon-shell::before{display:none!important}
  :is(html:root[data-theme],html:root:not([data-theme])) body :is(.cc-mobile-nav-item,.mobile-nav-item,.mobile-bottom-nav>button) .cc-power-icon,
  :is(html:root[data-theme],html:root:not([data-theme])) body :is(.cc-mobile-nav-item,.mobile-nav-item,.mobile-bottom-nav>button):is(:hover,:focus-visible,.active) .cc-power-icon{
    color:inherit!important;filter:none!important;transform:none!important;stroke-width:1.8!important;
  }
  :is(html:root[data-theme],html:root:not([data-theme])) body :is(.cc-mobile-nav-item,.mobile-nav-item) .cc-power-direct{
    width:22px!important;height:22px!important;min-width:22px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important;filter:none!important;
  }
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  :is(html:root[data-theme],html:root:not([data-theme])) body :is(.cc-mobile-bottom-nav,.mobile-bottom-nav){background:var(--cc-glass-panel,#fff)!important}
}
@media(prefers-reduced-transparency:reduce){
  :is(html:root[data-theme],html:root:not([data-theme])) body :is(.cc-mobile-bottom-nav,.mobile-bottom-nav){background:var(--cc-glass-panel,#fff)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
}
@media(prefers-reduced-motion:reduce){
  :is(html:root[data-theme],html:root:not([data-theme])) body :is(.cc-mobile-nav-item,.mobile-nav-item,.mobile-bottom-nav>button),
  :is(html:root[data-theme],html:root:not([data-theme])) body :is(.cc-mobile-nav-item,.mobile-nav-item,.mobile-bottom-nav>button):is(:hover,:focus-visible,.active){transition:none!important}
}

@media(prefers-contrast:more){
  :is(html:root[data-theme],html:root:not([data-theme])) body :is(.cc-mobile-bottom-nav,.mobile-bottom-nav){background:var(--cc-glass-panel,#fff)!important;border-color:currentColor!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
}
@media(forced-colors:active){
  :is(html:root[data-theme],html:root:not([data-theme])) body :is(.cc-mobile-bottom-nav,.mobile-bottom-nav){background:Canvas!important;color:CanvasText!important;border:1px solid CanvasText!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
  :is(html:root[data-theme],html:root:not([data-theme])) body :is(.cc-mobile-nav-item,.mobile-nav-item,.mobile-bottom-nav>button){color:ButtonText!important}
  :is(html:root[data-theme],html:root:not([data-theme])) body :is(.cc-mobile-nav-item,.mobile-nav-item,.mobile-bottom-nav>button):is(.active,:focus-visible){color:LinkText!important}
}
