.brand-switch { position:relative; display:inline-flex; align-items:center; gap:2px; width:max-content; max-width:100%; }
.brand-switch .logo img,.app-list img { display:block; width:clamp(112px,11vw,145px); height:43px; object-fit:contain; filter:var(--wordmark-ink); mix-blend-mode:normal; }
.app-picker summary { width:32px; height:44px; display:grid; place-items:center; list-style:none; cursor:pointer; color:#a7abb5; }
.app-picker summary::-webkit-details-marker { display:none; }
.app-picker summary span { width:8px; height:8px; border-right:1.7px solid; border-bottom:1.7px solid; transform:translateY(-2px) rotate(45deg); }
.app-picker[open] summary span { transform:translateY(2px) rotate(225deg); }
.app-list { position:absolute; top:100%; left:-6px; width:202px; z-index:10; padding:6px; border-radius:19px; }
.app-list a { display:flex; align-items:center; justify-content:space-between; gap:.6rem; padding:9px 10px; border-radius:13px; }
.app-list a[aria-current],.app-list a:hover,.app-list a:focus-visible { background:#ffffff12; text-decoration:none; }
.app-list img { width:98px; height:33px; }
.app-list a span { color:#cfd7e4; }

/* The translucent material samples the scene behind the surface. A separate
   bevel bends those pixels, leaving type and icons on the front face sharp. */
:where(.liquid) { position:relative; }
.liquid { isolation:isolate; --gleam-x:23%; --gleam-y:-14%;
  background:radial-gradient(ellipse farthest-side at var(--gleam-x) var(--gleam-y),#eef6ff24,transparent 78%),
    linear-gradient(145deg,#e7f2ff13,#14192244 48%,#dbeaff0c),rgb(17 22 31 / 48%);
  border:1px solid rgb(226 237 255 / 22%);
  box-shadow:inset 0 1px 1px #ffffff50,inset 1px 0 1px #e8f4ff25,inset 0 -1px 2px #b4c9ff2b,0 9px 28px #0005;
  -webkit-backdrop-filter:blur(13px) saturate(155%); backdrop-filter:blur(13px) saturate(155%); }
.liquid::before { content:""; position:absolute; z-index:-1; inset:0; border-radius:inherit; pointer-events:none;
  box-shadow:inset 0 0 4px #ddecff27,inset 0 -3px 8px #bed8ff0c; }
.liquid.lens-ready { -webkit-backdrop-filter:var(--lens) blur(3px) saturate(155%); backdrop-filter:var(--lens) blur(3px) saturate(155%); }
.mast nav.liquid,.search-trigger.liquid { background-color:#20252d66; box-shadow:inset 0 1px 2px #ffffff43,inset 0 -1px 1px #cfdeff29,0 5px 18px #0005; }
.glass-defs { position:absolute; width:0; height:0; pointer-events:none; }
.mast { z-index:12; background:radial-gradient(ellipse at 54% 0%,#262f402e,transparent 60%),var(--paper); }
.app-list.liquid,.star-card.liquid { background-color:rgb(22 28 39 / 76%); }
.brand-switch summary:focus-visible,.app-list a:focus-visible { outline:2px solid #a7c8ff; outline-offset:2px; }
@media (prefers-reduced-transparency: reduce), (forced-colors: active) {
  .liquid,.liquid.lens-ready { background:var(--surface); -webkit-backdrop-filter:none; backdrop-filter:none; }
}
