/* Dark Liquid Glass for the owner shell. Content uses svo-glass.css. */
:root {
  color-scheme: dark;
  --text: #f5f7fb;
  --hi: #f5f7fb;
  --mid: #b0b8c8;
  --dim: #96a2b4;
  --lq-i: .62;
  --lq-blur: calc(16px + 24px * var(--lq-i));
  --lq-sat: calc(120% + 45% * var(--lq-i));
  --shell-font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
}
body:not(.on-light) {
  background:
    radial-gradient(ellipse 72% 64% at 12% -12%, rgba(75,113,180,.16), transparent 70%),
    radial-gradient(ellipse 48% 66% at 104% 50%, rgba(78,99,139,.10), transparent 70%),
    radial-gradient(ellipse 50% 36% at 35% 110%, rgba(54,114,129,.07), transparent 75%),
    #080a0f;
}
body { font-family: var(--shell-font); }
.tb-title, .tb-uname, .tb-ava {
  font-family: var(--shell-font);
}
.topbar { height: 82px; padding: 0 32px; }
.tb-title { font-size: 28px; font-weight: 650; letter-spacing: -.035em; }
.tb-logo { width: 32px; height: 32px; border-radius: 10px; }
body:not(.on-light) .topbar {
  background: linear-gradient(180deg, rgba(20,24,32,.65), rgba(12,15,21,.38));
  border-bottom: 1px solid rgba(255,255,255,.055);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  backdrop-filter: blur(24px) saturate(145%);
}
body:not(.on-light) .topbar.scrolled {
  background: rgba(15,19,27,.86);
  box-shadow: 0 8px 28px -16px rgba(0,0,0,.7), inset 0 -1px 0 rgba(255,255,255,.035);
}
body:not(.on-light) .tb-user,
body:not(.on-light) .tb-glass,
body:not(.on-light) .tb-menu {
  background: linear-gradient(155deg, rgba(255,255,255,.10), rgba(255,255,255,.015) 48%),
    rgba(24,29,39,calc(.64 + .20 * var(--lq-i)));
  border: 1px solid rgba(211,225,255,.16);
  -webkit-backdrop-filter: blur(var(--lq-blur)) saturate(var(--lq-sat));
  backdrop-filter: blur(var(--lq-blur)) saturate(var(--lq-sat));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -1px 0 rgba(255,255,255,.035),
    0 18px 44px -20px rgba(0,0,0,.85);
}
.tb-user { padding: 5px 13px 5px 5px; }
.tb-ava { width: 30px; height: 30px; background: linear-gradient(145deg,#435b80,#28364d); }
.tb-uname { font-size: 13px; font-weight: 550; }
.tb-glass svg { color: #b0bcd1; }
.tb-glass { height: 42px; }
.tb-menu, .ns-close { min-width: 44px; min-height: 44px; }
.item:focus-visible, button:focus-visible, input:focus-visible, a:focus-visible {
  outline: 2px solid #9bc1ff; outline-offset: 4px;
}
@media (max-width: 720px) {
  .topbar { height: 64px; padding: 0 16px; }
  .tb-title { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media (prefers-reduced-transparency: reduce) {
  body:not(.on-light) .topbar,
  body:not(.on-light) .tb-user, body:not(.on-light) .tb-glass, .nav-sheet {
    background: #1b202b; -webkit-backdrop-filter: none; backdrop-filter: none;
  }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body:not(.on-light) .topbar { background: #1b202b; }
}

/* ── Photo wallpaper (owner pick: G-Class + jet). Fixed layer so iOS doesn't
     ignore background-attachment:fixed; dark scrim keeps numbers legible and
     gives the glass real shapes/contrast to refract. ── */
html { background: #080a0f; }
body:not(.on-light) { background: transparent !important; }
body:not(.on-light)::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6,8,12,.42) 0%, rgba(6,8,12,.58) 45%, rgba(6,8,12,.78) 100%),
    url(/bg-gclass.jpg?v=2) center 72% / cover no-repeat,
    #080a0f;
}
