@import "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap";
/* [project]/src/styles/theme-tokens.css [app-client] (css) */
:root {
  --bg-primary: #171717;
  --bg-secondary: #262626;
  --bg-tertiary: #404040;
  --bg-glass: #262626d9;
  --bg-glass-hover: #404040d9;
  --bg-glass-active: #525252e6;
  --border-subtle: #ffffff26;
  --border-medium: #ffffff40;
  --border-bright: #fff6;
  --border-glow: #fff3;
  --text-primary: #fff;
  --text-secondary: #e5e5e5;
  --text-muted: #a3a3a3;
  --text-accent: #fff;
  --accent-cyan: #fff;
  --accent-rgb: 255, 255, 255;
  --accent-teal: #e5e5e5;
  --accent-blue: #fff;
  --accent-purple: #a3a3a3;
  --accent-amber: #f59e0b;
  --accent-red: #ef4444;
  --accent-green: #22c55e;
  --glow-cyan: 0 0 24px #ffffff26;
  --glow-blue: 0 0 24px #ffffff1a;
  --discord-color: #8b9cf4;
  --discord-color-hover: #fff;
  --discord-bg: #5865f233;
  --discord-bg-hover: #5865f259;
  --discord-border: #5865f280;
  --discord-border-hover: #5865f2cc;
  --discord-glow: #5865f24d;
}

[data-theme="black"] {
  --bg-primary: #09090b;
  --bg-secondary: #18181b;
  --bg-tertiary: #27272a;
  --bg-glass: #09090bbf;
  --bg-glass-hover: #18181bd9;
  --bg-glass-active: #27272ae6;
  --border-subtle: #ffffff1a;
  --border-medium: #fff3;
  --border-bright: #ffffff4d;
  --border-glow: #ffffff40;
  --text-primary: #fff;
  --text-secondary: #e4e4e7;
  --text-muted: #a1a1aa;
  --text-accent: #fff;
  --accent-cyan: #fff;
  --accent-rgb: 255, 255, 255;
  --accent-teal: #e4e4e7;
  --accent-blue: #d4d4d8;
  --accent-purple: #a1a1aa;
  --accent-amber: #f59e0b;
  --accent-red: #ef4444;
  --accent-green: #22c55e;
  --glow-cyan: 0 0 24px #ffffff4d;
  --glow-blue: 0 0 24px #fff3;
  --discord-color: #8b9cf4;
  --discord-color-hover: #fff;
  --discord-bg: #5865f233;
  --discord-bg-hover: #5865f259;
  --discord-border: #5865f280;
  --discord-border-hover: #5865f2cc;
  --discord-glow: #5865f24d;
}

[data-theme="legacy"] {
  --bg-primary: #050914;
  --bg-secondary: #0b1121;
  --bg-tertiary: #121a2f;
  --bg-glass: #050914bf;
  --bg-glass-hover: #0b1121d9;
  --bg-glass-active: #121a2fe6;
  --border-subtle: #ffffff1a;
  --border-medium: #fff3;
  --border-bright: #ffffff4d;
  --border-glow: #22d3ee80;
  --text-primary: #fff;
  --text-secondary: #f1f5f9;
  --text-muted: #94a3b8;
  --text-accent: #22d3ee;
  --accent-cyan: #22d3ee;
  --accent-rgb: 34, 211, 238;
  --accent-teal: #2dd4bf;
  --accent-blue: #3b82f6;
  --accent-purple: #a855f7;
  --accent-amber: #f59e0b;
  --accent-red: #ef4444;
  --accent-green: #22c55e;
  --glow-cyan: 0 0 24px rgba(var(--accent-rgb), .5);
  --glow-blue: 0 0 24px #3b82f680;
  --discord-color: #8b9cf4;
  --discord-color-hover: #fff;
  --discord-bg: #5865f233;
  --discord-bg-hover: #5865f259;
  --discord-border: #5865f280;
  --discord-border-hover: #5865f2cc;
  --discord-glow: #5865f24d;
}

[data-theme="tactical"] {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111;
  --bg-tertiary: #1a1a1a;
  --bg-glass: #111;
  --bg-glass-hover: #1a1a1a;
  --bg-glass-active: #222;
  --border-subtle: #2a2a2a;
  --border-medium: #333;
  --border-bright: #444;
  --border-glow: #e67e224d;
  --text-primary: #d4d4d4;
  --text-secondary: #7a7a7a;
  --text-muted: #555;
  --text-accent: #e67e22;
  --accent-cyan: #e67e22;
  --accent-rgb: 230, 126, 34;
  --accent-teal: #d4d4d4;
  --accent-blue: #7a7a7a;
  --accent-purple: #555;
  --accent-amber: #e67e22;
  --accent-red: #e74c3c;
  --accent-green: #27ae60;
  --glow-cyan: 0 0 12px #e67e2233;
  --glow-blue: 0 0 8px #e67e221a;
  --discord-color: #e67e22;
  --discord-color-hover: #d4d4d4;
  --discord-bg: #e67e2226;
  --discord-bg-hover: #e67e2240;
  --discord-border: #e67e2266;
  --discord-border-hover: #e67e2299;
  --discord-glow: #e67e2233;
  --font-ui: "JetBrains Mono", "Fira Code", monospace;
}

:root {
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", monospace;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-2xl: 32px;
  --space-3xl: 48px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --ease-smooth: cubic-bezier(.25, 1, .5, 1);
  --ease-spring: cubic-bezier(.175, .885, .32, 1.275);
  --duration-fast: .15s;
  --duration-normal: .25s;
  --duration-slow: .4s;
  --glass-blur: 24px;
  --glass-border: 1px solid var(--border-subtle);
  --glass-border-inner: inset 0 1px 1px #ffffff1a;
  --glass-shadow: 0 8px 32px #0006, 0 2px 8px #0003;
}

[data-theme="light"] {
  --bg-primary: #f4f4f5;
  --bg-secondary: #fff;
  --bg-tertiary: #18181b;
  --bg-glass: #ffffffd9;
  --bg-glass-hover: #f4f4f5e6;
  --bg-glass-active: #e4e4e7f2;
  --border-subtle: #0000001a;
  --border-medium: #0003;
  --border-bright: #0000004d;
  --border-glow: #0000000d;
  --text-primary: #18181b;
  --text-secondary: #3f3f46;
  --text-muted: #a1a1aa;
  --text-accent: #18181b;
  --accent-cyan: #18181b;
  --accent-rgb: 24, 24, 27;
  --accent-teal: #18181b;
  --accent-blue: #18181b;
  --accent-purple: #18181b;
  --accent-amber: #d97706;
  --accent-red: #dc2626;
  --accent-green: #16a34a;
  --glow-cyan: 0 0 16px #0000000d;
  --glow-blue: 0 0 16px #0000000d;
  --glass-border: 1px solid var(--border-subtle);
  --glass-border-inner: inset 0 1px 1px #fff;
  --glass-shadow: 0 4px 16px #00000014, 0 1px 4px #0000000a;
  --discord-color: #4752c4;
  --discord-color-hover: #3c45a5;
  --discord-bg: #606cfa2b;
  --discord-bg-hover: #5865f238;
  --discord-border: #5865f280;
  --discord-border-hover: #5865f2d9;
  --discord-glow: #5865f2c2;
}

/* [project]/src/app/globals.css [app-client] (css) */
*, :before, :after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  margin: 0;
  padding: 0;
}

html, body {
  background: var(--bg-primary);
  width: 100%;
  height: 100%;
  color: var(--text-primary);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 14px;
  line-height: 1.5;
  overflow: hidden;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: none;
}

::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border-bright);
}

.glass-panel {
  background: var(--bg-glass);
  border: var(--glass-border);
  box-shadow: var(--glass-border-inner), var(--glass-shadow);
  border-radius: var(--radius-lg);
  transition: all var(--duration-fast) var(--ease-smooth);
  -webkit-backdrop-filter: blur(24px) !important;
  backdrop-filter: blur(24px) !important;
}

.page-root {
  --ad-strip-inset: 0px;
  width: 100vw;
  height: 100vh;
  display: flex;
  overflow: hidden;
}

.app-shell {
  flex: 1;
  min-width: 0;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.app-shell__globe {
  z-index: 0;
  position: absolute;
  inset: 0;
}

.header {
  top: var(--space-lg);
  left: var(--space-lg);
  right: calc(var(--ad-strip-inset, 0px) + var(--space-lg));
  z-index: 100;
  padding: var(--space-md) var(--space-xl);
  height: 52px;
  transition: transform var(--duration-normal) var(--ease-smooth);
  justify-content: space-between;
  align-items: center;
  display: flex;
  position: fixed;
}

.header__brand {
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
  display: flex;
}

.header__logo {
  letter-spacing: -.02em;
  white-space: nowrap;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
}

.header__subtitle {
  color: var(--text-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 400;
}

.header__controls {
  align-items: center;
  gap: var(--space-sm);
  min-width: 0;
  display: flex;
  overflow: hidden;
}

.header__controls-scroll {
  align-items: center;
  gap: var(--space-sm);
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  min-width: 0;
  display: flex;
  overflow-x: auto;
}

.header__controls-scroll::-webkit-scrollbar {
  display: none;
}

.header__actions {
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
  display: flex;
}

.btn {
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  height: 36px;
  color: var(--text-secondary);
  font-family: var(--font-ui);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-spring);
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  box-shadow: inset 0 1px 1px #ffffff0d;
}

.btn:hover {
  background: var(--bg-glass-hover);
  color: var(--text-primary);
  border-color: var(--border-medium);
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(.97);
}

.btn--active, .btn--active:hover {
  background: rgba(var(--accent-rgb), .15);
  color: var(--accent-cyan);
  border-color: rgba(var(--accent-rgb), .4);
  box-shadow: var(--glow-cyan);
}

.btn--icon {
  width: 36px;
  padding: 0;
}

.btn--glow:hover {
  box-shadow: var(--glow-cyan), inset 0 1px 1px #ffffff1a;
}

.layers-tab-content {
  flex-direction: column;
  flex: 1;
  min-height: 0;
  display: flex;
}

.layers-tab-content__list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.sidebar {
  top: 80px;
  bottom: var(--sidebar-bottom, 140px);
  z-index: 50;
  width: 280px;
  padding: var(--space-lg);
  transition: transform var(--duration-slow) var(--ease-smooth),
              opacity var(--duration-slow) var(--ease-smooth),
              bottom var(--duration-slow) var(--ease-smooth);
  flex-direction: column;
  display: flex;
  position: fixed;
  overflow: hidden;
}

body.is-dragging-bottom-panel .sidebar {
  transition: transform var(--duration-slow) var(--ease-smooth),
              opacity var(--duration-slow) var(--ease-smooth);
}

body.sidebar-force-transition .sidebar {
  transition: transform var(--duration-slow) var(--ease-smooth),
              opacity var(--duration-slow) var(--ease-smooth),
              bottom var(--duration-slow) var(--ease-smooth) !important;
}

.sidebar--left {
  left: var(--space-lg);
}

.sidebar--left.sidebar--closed {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-320px);
}

.sidebar--right {
  right: calc(var(--ad-strip-inset, 0px) + var(--space-lg));
}

.sidebar--right.sidebar--closed {
  opacity: 0;
  pointer-events: none;
  transform: translateX(320px);
}

.sidebar__title {
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  font-size: 11px;
  font-weight: 600;
}

.panel-tabs {
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-subtle);
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  display: flex;
  overflow-x: auto;
}

.panel-tabs:hover {
  scrollbar-color: var(--border-medium) transparent;
}

.panel-tabs::-webkit-scrollbar {
  height: 4px;
}

.panel-tabs::-webkit-scrollbar-track {
  background: none;
}

.panel-tabs::-webkit-scrollbar-thumb {
  background: none;
  border-radius: 2px;
  transition: background .2s;
}

.panel-tabs:hover::-webkit-scrollbar-thumb {
  background: var(--border-medium);
}

.panel-tab {
  padding: var(--space-xs) var(--space-sm);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--duration-fast) var(--ease-smooth);
  background: none;
  border: none;
  justify-content: center;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  display: inline-flex;
}

.panel-tab:hover {
  color: var(--text-primary);
  background: var(--bg-glass-hover);
}

.panel-tab--active, .panel-tab--active:hover {
  color: var(--accent-cyan);
  background: rgba(var(--accent-rgb), .1);
  font-weight: 600;
}

.intel-panel__actions {
  gap: var(--space-sm);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-subtle);
  display: flex;
}

.intel-panel__action-btn {
  padding: var(--space-xs) var(--space-sm);
  color: var(--text-secondary);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-spring);
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  display: inline-flex;
  box-shadow: inset 0 1px 1px #ffffff0d;
}

.intel-panel__action-btn:hover {
  color: var(--text-primary);
  background: var(--bg-glass-hover);
  border-color: var(--border-medium);
  transform: translateY(-1px);
}

.intel-panel__action-btn:active {
  transform: scale(.97);
}

.intel-panel__action-btn--active, .intel-panel__action-btn--active:hover {
  color: var(--accent-cyan);
  background: rgba(var(--accent-rgb), .15);
  border-color: rgba(var(--accent-rgb), .4);
  box-shadow: inset 0 1px 1px #ffffff1a;
}

.timeline {
  bottom: var(--space-lg);
  left: var(--space-lg);
  right: calc(var(--ad-strip-inset, 0px) + var(--space-lg));
  z-index: 100;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  flex-direction: column;
  display: flex;
  position: fixed;
}

.timeline__row {
  align-items: center;
  gap: var(--space-lg);
  width: 100%;
  display: flex;
}

.timeline__playback {
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
  display: flex;
}

.timeline__play-btn {
  background: var(--accent-cyan);
  width: 28px;
  height: 28px;
  color: var(--bg-primary);
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-bounce),
              box-shadow var(--duration-fast) var(--ease-smooth);
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  display: flex;
}

.timeline__play-btn:hover:not(:disabled) {
  box-shadow: var(--glow-cyan);
  transform: scale(1.1);
}

.timeline__play-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.timeline__scrubber {
  flex: 1;
  align-items: center;
  min-width: 0;
  height: 20px;
  display: flex;
  position: relative;
}

.timeline__highlight-track {
  pointer-events: none;
  z-index: 0;
  background: #ffffff0f;
  border-radius: 3px;
  height: 6px;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
}

.timeline__highlight-segment {
  background: #3b82f680;
  border-radius: 3px;
  height: 100%;
  position: absolute;
  box-shadow: 0 0 6px #3b82f640;
}

.timeline__track {
  z-index: 1;
  background: var(--bg-tertiary);
  appearance: none;
  cursor: pointer;
  border-radius: 2px;
  outline: none;
  width: 100%;
  height: 4px;
  margin: 0;
  position: relative;
}

.timeline__track:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.timeline__track::-webkit-slider-thumb {
  -webkit-appearance: none;
  background: var(--accent-cyan);
  cursor: pointer;
  width: 14px;
  height: 14px;
  box-shadow: 0 0 6px rgba(var(--accent-rgb), .4);
  transition: transform var(--duration-fast) var(--ease-bounce), box-shadow var(--duration-fast) var(--ease-smooth);
  border-radius: 50%;
}

.timeline__track::-webkit-slider-thumb:hover {
  box-shadow: var(--glow-cyan);
  transform: scale(1.2);
}

.timeline__track:disabled::-webkit-slider-thumb {
  background: var(--text-muted);
  box-shadow: none;
}

.timeline__time-labels {
  color: var(--text-muted);
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  display: flex;
}

.timeline__time {
  font-family: var(--font-mono);
  color: var(--text-secondary);
  white-space: nowrap;
  font-size: 11px;
}

.timeline__time--current {
  color: var(--text-primary);
  font-weight: 600;
}

.timeline__controls-row {
  align-items: center;
  gap: var(--space-md);
  font-size: 12px;
  display: flex;
}

.timeline__mode-toggle {
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  color: var(--text-secondary);
  transition: color var(--duration-fast) var(--ease-smooth);
  -webkit-user-select: none;
  user-select: none;
  font-size: 12px;
  display: flex;
}

.timeline__mode-toggle--active {
  color: var(--accent-cyan);
}

.timeline__mode-toggle input[type="checkbox"] {
  accent-color: var(--accent-cyan);
  cursor: pointer;
}

.timeline__history-unavailable {
  align-items: center;
  gap: var(--space-xs);
  color: #f59e0bd9;
  border-radius: var(--radius-sm);
  -webkit-user-select: none;
  user-select: none;
  background: #f59e0b12;
  border: 1px solid #f59e0b33;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 500;
  display: flex;
}

.timeline__history-unavailable-icon {
  font-size: 12px;
  line-height: 1;
}

.timeline__history-unavailable-link {
  color: var(--accent-cyan);
  border-bottom: 1px solid rgba(var(--accent-rgb), .4);
  transition: color var(--duration-fast) var(--ease-smooth),
              border-color var(--duration-fast) var(--ease-smooth);
  text-decoration: none;
}

.timeline__history-unavailable-link:hover {
  color: var(--text-primary);
  border-bottom-color: var(--text-primary);
}

.timeline__window-selector {
  gap: var(--space-xs);
  flex-shrink: 0;
  display: flex;
}

.intel-panel__entity {
  padding: var(--space-md);
}

.intel-panel__entity-header {
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  display: flex;
}

.intel-panel__entity-icon {
  font-size: 24px;
}

.intel-panel__entity-title {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
}

.intel-panel__entity-subtitle {
  color: var(--text-muted);
  font-size: 11px;
}

.intel-panel__props {
  gap: var(--space-sm);
  flex-direction: column;
  display: flex;
}

.intel-panel__prop {
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--border-subtle);
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.intel-panel__prop-key {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 11px;
}

.intel-panel__prop-value {
  font-family: var(--font-mono);
  color: var(--text-primary);
  font-size: 12px;
}

.intel-panel__close {
  top: var(--space-md);
  right: var(--space-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-spring);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  display: flex;
  position: absolute;
}

.intel-panel__close:hover {
  background: var(--bg-glass-hover);
  color: var(--text-primary);
  border-color: var(--border-medium);
  transform: scale(1.1)rotate(90deg);
}

.intel-panel__close:active {
  transform: scale(.9);
}

.intel-panel__img-popout {
  top: var(--space-sm);
  right: var(--space-sm);
  border-radius: var(--radius-sm);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #ffffffb3;
  cursor: pointer;
  opacity: 0;
  width: 28px;
  height: 28px;
  transition: opacity var(--duration-fast) var(--ease-smooth),
              background var(--duration-fast) var(--ease-smooth),
              color var(--duration-fast) var(--ease-smooth);
  z-index: 2;
  background: #0009;
  border: 1px solid #ffffff26;
  justify-content: center;
  align-items: center;
  display: flex;
  position: absolute;
}

:hover > .intel-panel__img-popout, .intel-panel__img-popout:hover {
  opacity: 1;
}

.intel-panel__img-popout:hover {
  color: var(--text-primary);
  border-color: var(--accent-cyan);
  background: #000c;
}

.status-badge {
  color: var(--text-secondary);
  align-items: center;
  gap: 6px;
  font-size: 11px;
  display: inline-flex;
}

.status-badge__dot {
  background: var(--accent-green);
  border-radius: 50%;
  width: 6px;
  height: 6px;
  animation: 2s ease-in-out infinite pulse;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .5;
    transform: scale(.8);
  }
}

.alpha-badge {
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #f59e0b;
  white-space: nowrap;
  background: #f59e0b1f;
  border: 1px solid #f59e0b4d;
  border-radius: 4px;
  flex-shrink: 0;
  align-items: center;
  padding: 2px 7px;
  font-size: 9px;
  font-weight: 700;
  animation: 3s ease-in-out infinite alpha-glow;
  display: inline-flex;
}

@keyframes alpha-glow {
  0%, 100% {
    box-shadow: 0 0 4px #f59e0b26;
  }

  50% {
    box-shadow: 0 0 8px #f59e0b4d;
  }
}

.mobile-hud-bar {
  z-index: 99;
  padding: var(--space-xs) var(--space-sm);
  position: fixed;
  top: 48px;
  left: 0;
  right: 0;
  border: none !important;
  border-bottom: 1px solid var(--border-subtle) !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.mobile-hud-bar__scroll {
  align-items: center;
  gap: var(--space-sm);
  scrollbar-width: none;
  -ms-overflow-style: none;
  display: flex;
  overflow-x: auto;
}

.mobile-hud-bar__scroll::-webkit-scrollbar {
  display: none;
}

.mobile-hud-bar__divider {
  background: var(--border-subtle);
  flex-shrink: 0;
  width: 1px;
  height: 20px;
}

.mobile-camera-stats {
  z-index: 98;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: all var(--duration-fast) var(--ease-smooth);
  border-top: none;
  justify-content: center;
  display: flex;
  position: fixed;
  top: 88px;
  left: 50%;
  transform: translateX(-50%);
}

.mobile-camera-stats--collapsed {
  padding: 2px var(--space-sm);
}

.mobile-camera-stats__tab {
  font-size: 9px;
  font-family: var(--font-ui);
  letter-spacing: .1em;
  color: var(--text-muted);
  text-transform: uppercase;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  font-weight: 600;
  display: flex;
}

.mobile-camera-stats__row {
  align-items: center;
  gap: var(--space-md);
  font-family: var(--font-mono);
  color: var(--text-secondary);
  padding: var(--space-xs) var(--space-md);
  font-size: 10px;
  display: flex;
}

.mobile-camera-stats__item {
  flex-direction: column;
  gap: 1px;
  display: flex;
}

.mobile-camera-stats__label {
  color: var(--text-muted);
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: 8px;
  font-weight: 700;
}

.mobile-camera-stats__value {
  color: var(--text-primary);
  min-width: 44px;
  font-size: 10px;
}

.mobile-camera-stats__sep {
  background: var(--border-subtle);
  width: 1px;
  height: 14px;
}

@media (max-width: 768px) {
  .header--mobile {
    height: 48px;
    padding: var(--space-sm) var(--space-md);
    justify-content: space-between;
    align-items: center;
    gap: var(--space-sm);
    display: flex;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
  }

  .header__logo--compact {
    letter-spacing: .08em;
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 800;
  }

  .header__search-center {
    flex: 1;
    max-width: 280px;
    margin: 0 auto;
  }

  .sidebar.sidebar--mobile {
    z-index: 150;
    width: 80vw;
    max-width: 320px;
    transition: transform var(--duration-slow) var(--ease-smooth),
                opacity var(--duration-slow) var(--ease-smooth);
    border-radius: 0;
    top: 0;
    bottom: 0;
  }

  .sidebar--left.sidebar--mobile {
    opacity: 0;
    pointer-events: none;
    border-left: none;
    left: 0;
    transform: translateX(-100%);
  }

  .sidebar--right.sidebar--mobile {
    opacity: 0;
    pointer-events: none;
    border-right: none;
    right: 0;
    transform: translateX(100%);
  }

  .sidebar--left.sidebar--mobile:not(.sidebar--closed), .sidebar--right.sidebar--mobile:not(.sidebar--closed) {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .panel-toggle-btn--mobile.panel-toggle-btn--left, .panel-toggle-btn--mobile.panel-toggle-btn--left.panel-toggle-btn--open {
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    z-index: 160;
    border-left: none;
    width: 44px;
    left: 0;
    transform: translate(-20px, -50%);
  }

  .panel-toggle-btn--mobile.panel-toggle-btn--left:hover, .panel-toggle-btn--mobile.panel-toggle-btn--left.panel-toggle-btn--open:hover {
    transform: translate(0, -50%);
  }

  .panel-toggle-btn--mobile.panel-toggle-btn--right, .panel-toggle-btn--mobile.panel-toggle-btn--right.panel-toggle-btn--open {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    z-index: 160;
    border-right: none;
    width: 44px;
    right: 0;
    transform: translate(20px, -50%);
  }

  .panel-toggle-btn--mobile.panel-toggle-btn--right:hover, .panel-toggle-btn--mobile.panel-toggle-btn--right.panel-toggle-btn--open:hover {
    transform: translate(0, -50%);
  }

  .timeline {
    left: var(--space-sm);
    right: var(--space-sm);
    bottom: var(--space-sm);
    padding: var(--space-sm) 48px var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
  }

  .timeline__controls-row, .camera-stats {
    display: none;
  }

  .btn {
    min-width: 44px;
    min-height: 44px;
    font-size: 13px;
  }

  .mobile-hud-bar .btn {
    min-width: auto;
    min-height: 36px;
    font-size: 12px;
  }

  .panel-tab {
    min-height: 40px;
    padding: var(--space-sm) var(--space-md);
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .header--mobile {
    padding: var(--space-xs) var(--space-sm);
    height: 44px;
  }

  .sidebar.sidebar--mobile {
    width: 85vw;
  }

  .timeline {
    left: var(--space-xs);
    right: var(--space-xs);
    bottom: var(--space-xs);
    padding: var(--space-xs) 40px var(--space-xs) var(--space-sm);
  }
}

.cesium-viewer {
  font-family: var(--font-ui) !important;
}

.cesium-viewer .cesium-widget-credits, .cesium-viewer .cesium-viewer-bottom {
  display: none !important;
}

.entity-info-card {
  z-index: 200;
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-border-inner), var(--glass-shadow);
  padding: var(--space-md);
  pointer-events: none;
  animation: infoCardFadeIn var(--duration-fast) var(--ease-smooth) both;
  position: fixed;
}

@keyframes infoCardFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px)scale(.97);
  }

  to {
    opacity: 1;
    transform: translateY(0)scale(1);
  }
}

.entity-info-card__header {
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
}

.entity-info-card__icon {
  border-radius: var(--radius-sm);
  background: rgba(var(--accent-rgb), .1);
  width: 28px;
  height: 28px;
  color: var(--accent-cyan);
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  display: flex;
}

.entity-info-card__title-group {
  align-items: center;
  gap: var(--space-sm);
  flex: 1;
  min-width: 0;
  display: flex;
}

.entity-info-card__title {
  color: var(--text-primary);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
}

.entity-info-card__badge {
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(var(--accent-rgb), .12);
  white-space: nowrap;
  border-radius: 4px;
  flex-shrink: 0;
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 600;
}

.entity-info-card__props {
  flex-direction: column;
  gap: 2px;
  display: flex;
}

.entity-info-card__prop {
  justify-content: space-between;
  align-items: center;
  padding: 2px 0;
  display: flex;
}

.entity-info-card__prop-key {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 10px;
}

.entity-info-card__prop-value {
  font-family: var(--font-mono);
  color: var(--text-primary);
  font-size: 11px;
}

.entity-info-card__hint {
  margin-top: var(--space-sm);
  padding-top: var(--space-xs);
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  text-align: center;
  text-align: center;
  font-size: 10px;
  font-style: italic;
}

.panel-toggle-btn {
  z-index: 40;
  background: var(--bg-glass);
  width: 32px;
  height: 80px;
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-smooth);
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 4px 12px #0006;
}

body.is-resizing-sidebar .panel-toggle-btn, body.is-resizing-sidebar .sidebar {
  transition: none !important;
}

.panel-toggle-btn:after {
  content: "";
  z-index: -1;
  position: absolute;
  inset: -20px -25px;
}

.panel-toggle-btn--left:after {
  left: -60px;
}

.panel-toggle-btn--right:after {
  right: -60px;
}

.panel-toggle-btn:hover {
  background: var(--bg-glass-active);
  color: var(--text-primary);
  border-color: var(--accent-cyan);
}

.panel-toggle-btn--left {
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  border-left: none;
  left: 0;
  transform: translate(-20px, -50%);
}

.panel-toggle-btn--left:hover {
  box-shadow: var(--glow-cyan);
  transform: translate(0, -50%);
}

.panel-toggle-btn--left.panel-toggle-btn--open {
  left: calc(var(--left-sidebar-width, 280px) + var(--space-lg));
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  border-left: none;
  transform: translate(-8px, -50%);
}

.panel-toggle-btn--left.panel-toggle-btn--open:hover {
  transform: translate(-4px, -50%);
}

.panel-toggle-btn--right {
  right: var(--ad-strip-inset, 0px);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  border-right: none;
  transform: translate(20px, -50%);
}

.panel-toggle-btn--right:hover {
  box-shadow: var(--glow-cyan);
  transform: translate(0, -50%);
}

.panel-toggle-btn--right.panel-toggle-btn--open {
  right: calc(var(--right-sidebar-width, 320px) + var(--space-lg) + var(--ad-strip-inset, 0px));
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  border-right: none;
  transform: translate(8px, -50%);
}

.panel-toggle-btn--right.panel-toggle-btn--open:hover {
  transform: translate(4px, -50%);
}

@keyframes toggle-btn-glow {
  0%, 100% {
    color: var(--accent-cyan);
    border-color: #22d3ee80;
    box-shadow: 0 0 10px #22d3ee66;
  }

  50% {
    border-color: var(--accent-cyan);
    color: #fff;
    background: #22d3ee33;
    box-shadow: 0 0 25px #22d3eecc, inset 0 0 10px #22d3ee4d;
  }
}

.panel-toggle-btn--glow {
  animation: 2s ease-in-out infinite toggle-btn-glow !important;
}

.filter-badge--toggle {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  width: 20px;
  height: 20px;
  box-shadow: 0 0 10px rgba(var(--accent-rgb), .5);
  pointer-events: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  position: absolute;
  top: -6px;
  right: -6px;
}

.filter-section {
  margin-bottom: var(--space-md);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: #0003;
  overflow: hidden;
  box-shadow: inset 0 2px 4px #0003;
}

.filter-section__header {
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  color: var(--text-primary);
  font-family: var(--font-ui);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
  background: none;
  border: none;
  border-bottom: 1px solid #0000;
  font-size: 12px;
  font-weight: 500;
  display: flex;
}

.filter-section__header:hover {
  background: #ffffff08;
}

.filter-section__icon {
  color: var(--accent-cyan);
  flex-shrink: 0;
  align-items: center;
  display: flex;
}

.filter-section__name {
  text-align: left;
  flex: 1;
}

.filter-section__chevron {
  color: var(--text-muted);
  transition: transform var(--duration-fast) var(--ease-smooth);
  font-size: 10px;
}

.filter-section__chevron--open {
  transform: rotate(90deg);
}

.filter-section__body {
  padding: var(--space-md);
  gap: var(--space-md);
  flex-direction: column;
  display: flex;
}

.filter-control {
  gap: var(--space-xs);
  flex-direction: column;
  display: flex;
}

.filter-control--row {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.filter-control__label {
  color: var(--text-secondary);
  letter-spacing: .02em;
  font-size: 11px;
  font-weight: 500;
}

.filter-control__input {
  width: 100%;
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-ui);
  transition: all var(--duration-fast) var(--ease-smooth);
  background: #0003;
  outline: none;
  font-size: 12px;
  box-shadow: inset 0 1px 3px #0000004d;
}

.filter-control__input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .2);
}

.filter-control__input::placeholder {
  color: var(--text-muted);
}

.filter-chips {
  flex-wrap: wrap;
  gap: 4px;
  display: flex;
}

.filter-chip {
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-ui);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-spring);
  background: #0003;
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 11px;
}

.filter-chip:hover {
  border-color: var(--border-medium);
  color: var(--text-primary);
  background: #ffffff0d;
  transform: translateY(-1px);
}

.filter-chip:active {
  transform: scale(.95);
}

.filter-chip--active, .filter-chip--active:hover {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: var(--bg-primary);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), .2);
}

.filter-range {
  align-items: center;
  height: 20px;
  margin-top: 4px;
  display: flex;
  position: relative;
}

.filter-range__track-bg {
  background: var(--bg-tertiary);
  z-index: 1;
  border-radius: 2px;
  width: 100%;
  height: 4px;
  position: absolute;
}

.filter-range__track-highlight {
  background: var(--accent-cyan);
  z-index: 2;
  height: 4px;
  box-shadow: 0 0 8px rgba(var(--accent-rgb), .3);
  border-radius: 2px;
  position: absolute;
}

.filter-range__slider {
  appearance: none;
  cursor: pointer;
  z-index: 3;
  pointer-events: none;
  background: none;
  outline: none;
  width: 100%;
  height: 0;
  position: absolute;
}

.filter-range__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  background: var(--accent-cyan);
  cursor: pointer;
  border: 2px solid var(--bg-primary);
  pointer-events: auto;
  width: 14px;
  height: 14px;
  transition: transform var(--duration-fast) var(--ease-bounce);
  border-radius: 50%;
  box-shadow: 0 0 6px #0006;
}

.filter-range__slider::-webkit-slider-thumb:hover {
  box-shadow: var(--glow-cyan);
  transform: scale(1.2);
}

.filter-range__slider::-moz-range-thumb {
  background: var(--accent-cyan);
  cursor: pointer;
  border: 2px solid var(--bg-primary);
  pointer-events: auto;
  width: 14px;
  height: 14px;
  transition: transform var(--duration-fast) var(--ease-bounce);
  border-radius: 50%;
  box-shadow: 0 0 6px #0006;
}

.filter-range__slider::-moz-range-thumb:hover {
  box-shadow: var(--glow-cyan);
  transform: scale(1.2);
}

.filter-range__slider--min {
  z-index: 4;
}

.filter-range__slider--max {
  z-index: 3;
}

.filter-toggle {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-ui);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-spring);
  text-align: center;
  background: #0003;
  min-width: 40px;
  padding: 2px 10px;
  font-size: 11px;
}

.filter-toggle:hover {
  border-color: var(--border-medium);
  color: var(--text-primary);
  background: #ffffff0d;
  transform: translateY(-1px);
}

.filter-toggle:active {
  transform: scale(.95);
}

.filter-toggle--on, .filter-toggle--on:hover {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: var(--bg-primary);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), .2);
}

.filter-toggle--off {
  color: var(--accent-red);
  background: #ef44441f;
  border-color: #ef44444d;
  box-shadow: inset 0 1px 1px #ffffff1a;
}

.filter-badge {
  background: rgba(var(--accent-rgb), .2);
  min-width: 18px;
  height: 18px;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  border-radius: 9px;
  justify-content: center;
  align-items: center;
  padding: 0 5px;
  font-size: 10px;
  font-weight: 600;
  display: inline-flex;
}

.filter-badge--header {
  background: var(--accent-cyan);
  min-width: 16px;
  height: 16px;
  color: var(--bg-primary);
  border-radius: 8px;
  padding: 0 4px;
  font-size: 9px;
  position: absolute;
  top: -4px;
  right: -4px;
}

.filter-clear-btn {
  width: 100%;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  color: var(--accent-red);
  font-family: var(--font-ui);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-spring);
  background: #ef444414;
  border: 1px solid #ef444433;
  font-size: 11px;
  box-shadow: inset 0 1px 1px #ffffff0d;
}

.filter-clear-btn:hover {
  color: #fca5a5;
  background: #ef444426;
  border-color: #ef44444d;
  transform: translateY(-1px);
}

.filter-clear-btn:active {
  transform: scale(.97);
}

.imagery-picker {
  gap: var(--space-lg);
  flex-direction: column;
  flex: 1;
  min-height: 0;
  margin-top: 0;
  padding: 0;
  display: flex;
  overflow-y: auto;
}

.imagery-picker__section {
  gap: var(--space-md);
  flex-direction: column;
  display: flex;
}

.imagery-picker__title {
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
}

.imagery-picker__modes {
  gap: var(--space-sm);
  display: flex;
}

.mode-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  height: 40px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
  flex: 1;
  justify-content: center;
  align-items: center;
  display: flex;
}

.mode-btn:hover {
  background: var(--bg-glass-hover);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.mode-btn--active {
  background: rgba(var(--accent-rgb), .15);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(var(--accent-rgb), .2);
}

.imagery-picker__divider {
  background: var(--border-subtle);
  height: 1px;
  margin: 0 calc(-1 * var(--space-lg));
}

.imagery-picker__grid {
  gap: var(--space-sm);
  grid-template-columns: repeat(2, 1fr);
  display: grid;
}

.imagery-item {
  gap: var(--space-xs);
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-smooth);
  flex-direction: column;
  display: flex;
}

.imagery-item:hover {
  transform: translateY(-2px);
}

.imagery-item__thumbnail {
  aspect-ratio: 16 / 10;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all var(--duration-fast) var(--ease-smooth);
  justify-content: center;
  align-items: center;
  display: flex;
}

.imagery-item:hover .imagery-item__thumbnail {
  border-color: var(--border-bright);
  background: var(--bg-glass-hover);
}

.imagery-item--active .imagery-item__thumbnail {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), .2);
  background: rgba(var(--accent-rgb), .05);
}

.imagery-item--active .imagery-item__icon {
  color: var(--accent-cyan);
}

.imagery-item__name {
  color: var(--text-secondary);
  text-align: center;
  font-size: 11px;
  font-weight: 500;
}

.imagery-item--active .imagery-item__name {
  color: var(--text-primary);
}

.imagery-item--failed .imagery-item__thumbnail {
  background: #ef44440d;
  border-color: #ef444499;
  box-shadow: 0 0 10px #ef444433;
}

.imagery-item--failed .imagery-item__name {
  color: var(--accent-red);
}

.imagery-item--fallback .imagery-item__thumbnail {
  background: #22c55e0d;
  border-color: #22c55ecc;
  box-shadow: 0 0 10px #22c55e33;
}

.imagery-item--fallback .imagery-item__icon, .imagery-item--fallback .imagery-item__name {
  color: #22c55e;
}

.camera-stats {
  top: calc(var(--space-lg) + 40px);
  left: calc(50% - (var(--ad-strip-inset, 0px) / 2));
  align-items: center;
  gap: var(--space-lg);
  padding: 16px var(--space-xl) var(--space-md);
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  font-family: var(--font-mono);
  color: var(--text-secondary);
  z-index: 90;
  pointer-events: auto;
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-bounce);
  border-top: none;
  font-size: 11px;
  display: flex;
  position: fixed;
  transform: translateX(-50%);
  box-shadow: 0 4px 20px #0006;
}

.camera-stats:hover {
  background: var(--bg-glass-hover);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(var(--accent-rgb), .15);
  color: var(--text-primary);
  transform: translateX(-50%)translateY(2px);
}

.camera-stats--collapsed {
  padding: 16px var(--space-lg) var(--space-sm);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  gap: var(--space-sm);
}

.camera-stats--collapsed:hover {
  background: var(--bg-glass-hover);
  transform: translateX(-50%)translateY(4px);
}

.camera-stats__collapsed-label {
  font-size: 10px;
  font-family: var(--font-ui);
  letter-spacing: .1em;
  color: var(--text-muted);
  text-transform: uppercase;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-weight: 600;
  display: flex;
}

.camera-stats:hover .camera-stats__collapsed-label {
  color: var(--accent-cyan);
}

.camera-stats__group {
  flex-direction: column;
  gap: 1px;
  display: flex;
}

.camera-stats__label {
  color: var(--text-muted);
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 700;
}

.camera-stats__value {
  color: var(--text-primary);
  min-width: 60px;
}

.camera-stats__divider {
  background: var(--border-subtle);
  width: 1px;
  height: 16px;
}

.timeline-toggle-wrapper {
  bottom: var(--space-lg);
  z-index: 100;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-toggle-btn {
  border: 1px solid var(--border-subtle);
  width: 44px;
  height: 44px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: #0a0a0a80;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  display: flex;
  box-shadow: 0 4px 12px #0003;
}

[data-theme="light"] .timeline-toggle-btn {
  background: #ffffff80;
}

[data-theme="light"] .timeline-toggle-btn:hover {
  background: #ffffffa6;
}

.timeline-toggle-btn:hover {
  color: var(--text-primary);
  background: #141414a6;
  transform: scale(1.05);
  box-shadow: 0 6px 16px #0000004d;
}

.timeline-close-btn {
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  transition: color var(--duration-fast), background var(--duration-fast);
  z-index: 2;
  background: none;
  border: none;
  justify-content: center;
  align-items: center;
  display: flex;
  position: absolute;
  top: 4px;
  right: 4px;
}

.timeline-close-btn:hover {
  color: var(--text-primary);
  background: #ffffff1a;
}

.bottom-panel-system {
  bottom: var(--space-lg, 20px);
  left: var(--space-lg, 20px);
  right: calc(var(--ad-strip-inset, 0px) + var(--space-lg, 20px));
  z-index: 1000;
  pointer-events: none;
  flex-direction: column;
  align-items: center;
  display: flex;
  position: absolute;
}

.bottom-panel-dock {
  pointer-events: auto;
  transition: transform var(--duration-normal) var(--ease-smooth), gap var(--duration-fast) var(--ease-smooth);
  scrollbar-width: none;
  -ms-overflow-style: none;
  justify-content: safe center;
  gap: -4px;
  max-width: 100%;
  margin-bottom: 0;
  padding: 0 12px;
  display: flex;
  overflow: auto hidden;
}

.bottom-panel-dock::-webkit-scrollbar {
  display: none;
}

.dock-btn {
  height: 36px;
  color: var(--text-secondary);
  cursor: pointer;
  letter-spacing: .05em;
  text-transform: uppercase;
  isolation: isolate;
  transition: color var(--duration-fast) var(--ease-smooth), padding var(--duration-fast) var(--ease-smooth);
  background: none;
  border: none;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  font-size: 11px;
  font-weight: 500;
  display: flex;
  position: relative;
}

.dock-btn:before {
  content: "";
  z-index: -1;
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(var(--glass-blur, 24px));
  backdrop-filter: blur(var(--glass-blur, 24px));
  border: var(--glass-border);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transform-origin: bottom;
  transition: all var(--duration-fast) var(--ease-smooth);
  opacity: .6;
  border-bottom: none;
  position: absolute;
  inset: 0;
  transform: perspective(20px)rotateX(5deg);
}

.dock-btn:hover {
  color: var(--text-primary);
}

.dock-btn:hover:before {
  background: var(--bg-glass-hover);
  opacity: .85;
}

.dock-btn.active {
  color: var(--accent-cyan);
  z-index: 2;
  font-weight: 600;
}

.dock-btn.active:before {
  background: var(--bg-glass-active);
  border-color: rgba(var(--accent-rgb), .5);
  box-shadow: inset 0 0 40px rgba(var(--accent-rgb), .08), 0 -4px 15px rgba(var(--accent-rgb), .15);
  opacity: 1;
}

.dock-btn-label {
  white-space: nowrap;
}

.bottom-panel-dock.floating-pills {
  gap: 8px;
}

.bottom-panel-dock.floating-pills .dock-btn {
  padding: 0 16px;
}

.bottom-panel-dock.floating-pills .dock-btn:before {
  border-radius: var(--radius-full);
  border-bottom: var(--glass-border);
  transform: none;
}

.bottom-panel {
  pointer-events: auto;
  width: 100%;
  transition: height var(--duration-slow) var(--ease-smooth), opacity var(--duration-normal) var(--ease-smooth);
  flex-direction: column;
  margin-top: -1px;
  display: flex;
  position: relative;
  overflow: hidden;
}

body.is-dragging-bottom-panel .bottom-panel {
  transition: opacity var(--duration-normal) var(--ease-smooth);
}

.bottom-panel.closed {
  opacity: 0;
  pointer-events: none;
  border: none;
}

.bottom-panel.open {
  opacity: 1;
}

.bottom-panel-resize-handle {
  cursor: ns-resize;
  z-index: 10;
  background: none;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 12px;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
}

.bottom-panel-resize-handle:hover .resize-grip {
  background: #ffffff80;
}

.resize-grip {
  background: #fff3;
  border-radius: 2px;
  width: 40px;
  height: 4px;
  transition: background .2s;
}

.bottom-panel-close-btn {
  color: #ffffff80;
  cursor: pointer;
  z-index: 10;
  background: none;
  border: none;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  padding: 4px;
  transition: all .2s;
  display: flex;
  position: absolute;
  top: 12px;
  right: 12px;
}

.bottom-panel-close-btn:hover {
  color: #fff;
  background: #ffffff1a;
}

.bottom-panel-content {
  flex-direction: column;
  flex: 1;
  margin-top: 12px;
  padding: 24px;
  display: flex;
  overflow-y: auto;
}

.timeline__content {
  flex-direction: column;
  gap: 12px;
  height: 100%;
  display: flex;
}

.legal-footer {
  z-index: 10;
  padding: 4px var(--space-lg, 1.5rem);
  border-top: 1px solid var(--border-subtle);
  gap: var(--space-lg, 1.5rem);
  color: var(--text-muted);
  background: #09090bb3;
  justify-content: center;
  font-size: 11px;
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

.legal-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.legal-footer a:hover {
  color: var(--text-secondary);
  text-decoration: underline;
}

/* [project]/src/styles/hud-animations.css [app-client] (css) */
@keyframes hudSlideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hudSweepLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes hudSweepRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes hudRiseUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hudSlideUpFade {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hudTextFlicker {
  0% {
    opacity: 0;
  }

  10% {
    opacity: .6;
  }

  20% {
    opacity: .1;
  }

  40% {
    opacity: .8;
  }

  55% {
    opacity: .3;
  }

  70% {
    opacity: .9;
  }

  100% {
    opacity: 1;
  }
}

.app-shell:not(.boot-done) .header, .app-shell:not(.boot-done) .sidebar, .app-shell:not(.boot-done) .bottom-panel-system, .app-shell:not(.boot-done) .panel-toggle-btn, .app-shell:not(.boot-done) .camera-stats, .app-shell:not(.boot-done) .entity-info-card, .app-shell:not(.boot-done) .floating-video-manager {
  opacity: 0;
}

.app-shell.boot-header .header {
  animation: hudSlideDown .6s var(--ease-smooth) both;
}

.app-shell.boot-header .header__logo {
  animation: hudTextFlicker .8s var(--ease-smooth) .1s both;
}

.app-shell.boot-header .header__subtitle {
  animation: hudTextFlicker .8s var(--ease-smooth) .3s both;
}

.app-shell.boot-sidebar .sidebar--left {
  animation: hudSweepLeft .7s var(--ease-smooth) both;
}

.app-shell.boot-sidebar .sidebar--right {
  animation: hudSweepRight .7s var(--ease-smooth) both;
}

@media (max-width: 768px) {
  .app-shell.boot-sidebar .sidebar--left, .app-shell.boot-sidebar .sidebar--right {
    opacity: 0;
    animation: none !important;
  }

  .app-shell:not(.boot-done) .sidebar {
    opacity: 0 !important;
  }
}

.app-shell.boot-sidebar .sidebar__title {
  animation: hudTextFlicker .8s var(--ease-smooth) .2s both;
}

.app-shell.boot-timeline .bottom-panel-system {
  animation: hudRiseUp .6s var(--ease-smooth) both;
}

.app-shell.boot-timeline .timeline__time {
  animation: hudTextFlicker .6s var(--ease-smooth) .15s both;
}

.app-shell.boot-controls .panel-toggle-btn {
  animation: hudFadeIn .5s var(--ease-smooth) both;
}

@keyframes hudFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.app-shell.boot-controls .camera-stats {
  animation: hudCameraStatsIn .5s var(--ease-smooth) both;
}

@keyframes hudCameraStatsIn {
  from {
    opacity: 0;
    transform: translateX(-50%)translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%)translateY(0);
  }
}

.app-shell.boot-controls .entity-info-card, .app-shell.boot-controls .floating-video-manager {
  animation: hudSlideUpFade .5s var(--ease-smooth) both;
}

.app-shell.boot-header .status-badge__dot {
  animation: hudSlideUpFade .4s var(--ease-smooth) .4s both;
}

/*# sourceMappingURL=src_1of8y1u._.css.map*/