/* The Lagless menu bar panel, drawn to match the real SwiftUI panel (light appearance). */
.lg-pop {
  --blue: #007aff;
  width: 320px;
  box-sizing: border-box;
  padding: 14px;
  border-radius: 14px;
  background: rgba(246, 246, 248, 0.94);
  -webkit-backdrop-filter: blur(30px) saturate(1.6);
  backdrop-filter: blur(30px) saturate(1.6);
  color: #1d1d1f;
  font: 13px/1.25 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-align: left;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.16), 0 16px 44px rgba(20, 24, 40, 0.26), 0 2px 8px rgba(20, 24, 40, 0.1);
}
.lg-pop hr { border: 0; border-top: 1px solid rgba(0, 0, 0, 0.1); margin: 8px 0; }
.lg-head { display: flex; align-items: center; justify-content: space-between; }
.lg-head strong { font-size: 13px; font-weight: 700; }

.lg-switch { position: relative; flex: none; width: 32px; height: 19px; border-radius: 999px; background: rgba(0, 0, 0, 0.12); transition: background .25s ease; }
.lg-switch i { position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); transition: transform .25s ease; }
.lg-switch.on { background: var(--blue); }
.lg-switch.on i { transform: translateX(13px); }
.lg-switch.sm { width: 26px; height: 15px; }
.lg-switch.sm i { width: 11px; height: 11px; }
.lg-switch.sm.on i { transform: translateX(11px); }

.lg-out { display: flex; align-items: center; gap: 10px; }
.lg-dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 0, 0, 0.08); color: #1d1d1f; transition: background .25s ease, color .25s ease; flex: none; }
.lg-dot svg { width: 15px; height: 15px; }
.lg-dot.on { background: var(--blue); color: #fff; }
.lg-meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.lg-meta b { font-size: 13px; font-weight: 500; }
.lg-meta small, .lg-ms small { font-size: 11px; color: #6e6e73; }
.lg-ms { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.lg-ms b { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }

.lg-note { margin-top: 10px; padding: 10px; border-radius: 10px; background: rgba(0, 0, 0, 0.05); font-size: 11px; color: #6e6e73; }
.lg-note b { display: block; font-size: 12px; color: #1d1d1f; margin-bottom: 2px; }
.lg-note .lg-pick { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 500; font-size: 12px; color: #1d1d1f; }
.lg-note .lg-pick svg { width: 16px; height: 16px; color: var(--blue); }
.lg-undo { margin-top: 8px; font-size: 11px; color: #6e6e73; }
.lg-undo a { color: var(--blue); margin-left: 4px; }

.lg-sec { margin-top: 12px; font-weight: 600; }
.lg-seg { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 8px; padding: 2px; border-radius: 7px; background: rgba(0, 0, 0, 0.07); font-size: 12px; }
.lg-seg span { padding: 3px 0; text-align: center; border-radius: 5px; transition: background .2s ease, box-shadow .2s ease; }
.lg-seg span.on { background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18); }
.lg-cap { margin-top: 6px; font-size: 11px; color: #6e6e73; }
.lg-disc { margin-top: 8px; font-size: 12px; }
.lg-disc::before { content: "›"; display: inline-block; width: 12px; color: #6e6e73; }

.lg-row { display: flex; align-items: center; justify-content: space-between; padding: 3px 0; }
.lg-item { display: flex; justify-content: space-between; padding: 4px 0; }
.lg-item span { color: #6e6e73; }

.lg-hide { display: none; }
