/* One continuous mobile navigation surface. The selection is a soft fill,
   without another glass layer, bevel or outline around the active item. */
@media screen and (max-width: 767px) {
  .bottom-nav {
    --mobile-nav-fill: rgba(255,255,255,.76);
    --mobile-nav-selection: rgba(110,118,132,.15);
    --mobile-nav-edge: rgba(255,255,255,.55);
    --mobile-nav-shadow: rgba(20,28,40,.13);
    height: var(--bottom-nav-h);
    padding: 4px;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--mobile-nav-fill);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
            backdrop-filter: blur(20px) saturate(140%);
    box-shadow: inset 0 0 0 .5px var(--mobile-nav-edge), 0 5px 20px var(--mobile-nav-shadow);
  }
  :root[data-theme="dark"] .bottom-nav {
    --mobile-nav-fill: rgba(31,31,35,.76);
    --mobile-nav-selection: rgba(235,235,245,.20);
    --mobile-nav-edge: rgba(255,255,255,.14);
    --mobile-nav-shadow: rgba(0,0,0,.30);
  }
  .bottom-nav-indicator {
    top: 4px; bottom: 4px;
    border: 0; border-radius: var(--radius-pill);
    background: var(--mobile-nav-selection);
    box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .bottom-nav::after, .bottom-nav-indicator::after { content: none; display: none; }
  .bottom-nav-item {
    min-height: 44px;
    gap: 3px; padding: 4px 2px;
    border-radius: var(--radius-pill);
  }
  .bottom-nav-item:active { transform: none; }
  .bottom-nav-item.is-selected,
  .bottom-nav-inner.is-dragging > .bottom-nav-item.is-drag-target { color: var(--label); }
  .bottom-nav-item svg { width: 21px; height: 21px; }
  .bottom-nav-item:focus-visible { outline-offset: -2px; }
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .bottom-nav { background: var(--bg-elevated); }
    .bottom-nav-indicator { background: var(--fill-2); }
  }
}
@media screen and (max-width: 767px) and (prefers-reduced-transparency: reduce) {
  .bottom-nav { background: var(--bg-elevated); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .bottom-nav-indicator { background: var(--fill-2); }
}
@media screen and (max-width: 767px) and (prefers-contrast: more) {
  .bottom-nav { background: var(--bg-elevated); border: 1px solid var(--label); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .bottom-nav-indicator { background: var(--bg-elevated); box-shadow: 0 0 0 1px var(--label); }
}
@media screen and (max-width: 767px) and (forced-colors: active) {
  .bottom-nav { background: Canvas; color: CanvasText; border: 1px solid CanvasText; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .bottom-nav-indicator { background: Highlight; border: 1px solid CanvasText; box-shadow: none; }
  .bottom-nav-item { color: ButtonText; }
  .bottom-nav-item.is-selected { color: HighlightText; }
}
