/* Full-width outlined image navigation. Scoped to this optional decoration style. */
html[data-ds-theme][data-ds-nav="flat-line"] .custom-tabbar-wrap {
  position:fixed!important;left:max(5%,env(safe-area-inset-left,0px))!important;right:max(5%,env(safe-area-inset-right,0px))!important;bottom:calc(10px + env(safe-area-inset-bottom,0px))!important;
  width:auto!important;max-width:520px!important;margin:0 auto!important;box-sizing:border-box!important;
  height:58px!important;max-height:58px!important;
  padding:0!important;overflow:hidden!important;
  background:rgba(255,255,255,.48)!important;border:0!important;border-radius:999px!important;box-shadow:0 -3px 14px #2824140a!important;
}
html[data-ds-theme][data-ds-nav="flat-line"] .custom-tabbar-wrap .custom-tabbar {
  position:relative!important;display:flex!important;align-items:stretch!important;justify-content:space-around!important;
  width:100%!important;max-width:none!important;height:58px!important;box-sizing:border-box!important;margin:0!important;padding:0 4px!important;
  border:var(--ds-nav-border-width,0px) solid var(--ds-nav-border-color,transparent)!important;
  border-radius:999px!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
html[data-ds-theme][data-ds-nav="flat-line"] .custom-tabbar::before {display:none!important;}
html[data-ds-theme][data-ds-nav="flat-line"] .custom-tabbar .tabbar-item {
  display:flex!important;position:relative!important;flex:1 1 0!important;flex-direction:column!important;
  justify-content:center!important;align-items:center!important;gap:3px!important;height:100%!important;
  min-width:0!important;margin:0!important;padding:5px 0!important;box-sizing:border-box!important;border-radius:0!important;
  color:#606266!important;transform:none!important;
}
html[data-ds-theme][data-ds-nav="flat-line"] .custom-tabbar .tabbar-item::before {display:none!important;}
html[data-ds-theme][data-ds-nav="flat-line"] .custom-tabbar .tabbar-item[data-ds-flat-icon]:not([data-ds-flat-icon=""])::before {
  content:''!important;display:block!important;position:static!important;flex:0 0 auto!important;
  width:24px!important;height:24px!important;margin:0!important;transform:none!important;
  background:var(--ds-flat-nav-image) center/contain no-repeat!important;-webkit-mask:none!important;mask:none!important;
}
html[data-ds-theme][data-ds-nav="flat-line"] .custom-tabbar .tabbar-item .tabbar-icon {
  display:block!important;width:24px!important;height:24px!important;transform:none!important;filter:none!important;opacity:1!important;
}
html[data-ds-theme][data-ds-nav="flat-line"] .custom-tabbar .tabbar-item[data-ds-flat-icon]:not([data-ds-flat-icon=""]) .tabbar-icon {display:none!important;}
html[data-ds-theme][data-ds-nav="flat-line"] .custom-tabbar .tabbar-item .tabbar-text,
html[data-ds-theme][data-ds-nav="flat-line"] .custom-tabbar .tabbar-item--raised::after {
  display:block!important;font-size:11px!important;line-height:15px!important;font-weight:400!important;
  letter-spacing:0!important;white-space:nowrap!important;color:#606266!important;margin:0!important;text-shadow:none!important;
}
html[data-ds-theme][data-ds-nav="flat-line"] .custom-tabbar .tabbar-item.active .tabbar-text,
html[data-ds-theme][data-ds-nav="flat-line"] .custom-tabbar .tabbar-item--raised.active::after {color:#ffeb3b!important;font-weight:700!important;text-shadow:0 0 8px #ffeb3b55!important;}
html[data-ds-theme][data-ds-nav="flat-line"] .custom-tabbar .tabbar-item--raised .raised-btn {display:none!important;}
html[data-ds-theme][data-ds-nav="flat-line"] .custom-tabbar .tabbar-item--raised::after {content:attr(aria-label)!important;}

/* The outlined version keeps the rounded artwork and subtle selected highlight. */
html[data-ds-theme][data-ds-nav="flat-line"] .custom-tabbar-wrap {
  backdrop-filter:blur(16px) saturate(1.3)!important;-webkit-backdrop-filter:blur(16px) saturate(1.3)!important;
}
html[data-ds-theme][data-ds-nav="flat-line"] .custom-tabbar .tabbar-item.active[data-ds-flat-icon]:not([data-ds-flat-icon=""])::before,
html[data-ds-theme][data-ds-nav="flat-line"] .custom-tabbar .tabbar-item.active .tabbar-icon {
  transform:translateY(-1px)!important;filter:drop-shadow(0 2px 3px #e4b52526)!important;
}
