/* ==========================================================================
   Smart Monitoring Frame & Photo Slideshow Portal
   Theme: Glassmorphism Dark / Ambient Smart Display
   ========================================================================== */

:root {
  --bg-dark: #07090e;
  --bg-panel: rgba(15, 23, 42, 0.72);
  --bg-panel-hover: rgba(30, 41, 59, 0.82);
  --bg-glass: rgba(15, 23, 42, 0.6);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-glass-subtle: rgba(255, 255, 255, 0.06);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-blue: #38bdf8;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --accent-purple: #a855f7;
  
  --shadow-lg: 0 10px 30px -5px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
  --shadow-glow: 0 0 25px rgba(56, 189, 248, 0.25);
  
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  
  --hud-radius: 16px;
  --card-radius: 18px;
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --slide-duration: 8s;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

html, body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-main);
  touch-action: pan-y pinch-zoom;
}

/* Kiosk Cursor Auto-Hide */
body.hide-cursor {
  cursor: none;
}
body.hide-cursor .hud-overlay,
body.hide-cursor .camera-overlay-controls {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.8s ease;
}

/* ==========================================================================
   Main App Container
   ========================================================================== */

#app {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  background: radial-gradient(circle at 50% 50%, #0f172a 0%, #05070b 100%);
}

/* ==========================================================================
   Photo Slideshow Layer
   ========================================================================== */

.slideshow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  background-color: #000;
  transition: width 0.5s var(--transition-smooth), transform 0.5s var(--transition-smooth);
}

.slide-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-layer.active {
  opacity: 1;
  z-index: 2;
}

.slide-layer.previous {
  opacity: 0;
  z-index: 1;
}

/* Ambient Blurred Backdrop for vertical / non-standard aspect ratios */
.slide-backdrop {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background-size: cover;
  background-position: center;
  filter: blur(40px) brightness(0.4) saturate(1.2);
  transform: scale(1.1);
  z-index: 1;
}

/* Foreground Photo with Ken Burns Animation */
.slide-image {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
  will-change: transform;
}

.slide-image.contain-fit {
  object-fit: contain;
}

/* Ken Burns Keyframes */
.kenburns-zoom-in {
  animation: kbZoomIn var(--slide-duration) ease-out forwards;
}
.kenburns-zoom-out {
  animation: kbZoomOut var(--slide-duration) ease-out forwards;
}
.kenburns-pan-left {
  animation: kbPanLeft var(--slide-duration) ease-out forwards;
}
.kenburns-pan-right {
  animation: kbPanRight var(--slide-duration) ease-out forwards;
}

@keyframes kbZoomIn {
  0% { transform: scale(1); }
  100% { transform: scale(1.12); }
}
@keyframes kbPanLeft {
  0% { transform: scale(1.08) translateX(2%); }
  100% { transform: scale(1.08) translateX(-2%); }
}
@keyframes kbPanRight {
  0% { transform: scale(1.08) translateX(-2%); }
  100% { transform: scale(1.08) translateX(2%); }
}

/* ==========================================================================
   Camera Monitoring Grid & Containers
   ========================================================================== */

.camera-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
  display: flex;
  transition: all 0.5s var(--transition-smooth);
}

/* --- Layout 1: Picture-in-Picture (PiP / Floating Dock - Bottom Right) --- */
.layout-pip .camera-stage {
  pointer-events: none;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 24px;
  padding-bottom: 78px;
}

.layout-pip .camera-card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 360px;
  max-width: 35vw;
  pointer-events: auto;
}

/* --- Layout 2: 50/50 Split View (Photo + Cameras) --- */
.layout-split .slideshow-container {
  width: 50vw;
  left: 0;
}

.layout-split .camera-stage {
  width: 50vw;
  left: 50vw;
  pointer-events: auto;
  padding: 20px;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--border-glass);
}

.layout-split .camera-card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  height: 100%;
  justify-content: space-evenly;
}

.layout-split .camera-card {
  flex: 1;
  max-height: 48%;
}

/* --- Layout 3: Surveillance Grid Mode --- */
.layout-grid .slideshow-container {
  opacity: 0.15;
  filter: blur(20px) grayscale(50%);
}

.layout-grid .camera-stage {
  pointer-events: auto;
  padding: 24px;
  padding-bottom: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.layout-grid .camera-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1500px;
  height: 100%;
  align-items: center;
}

.layout-grid .camera-card {
  height: 100%;
  max-height: calc(100vh - 160px);
}

/* --- Layout 4: Ambient Focus Mode (Photo pure, minimal badges) --- */
.layout-focus .camera-stage {
  padding: 24px;
  padding-bottom: 78px;
  justify-content: flex-end;
  align-items: flex-end;
}

.layout-focus .camera-card-list {
  display: flex;
  gap: 12px;
  pointer-events: auto;
}

.layout-focus .camera-card {
  width: 140px;
  height: 90px;
  opacity: 0.85;
  border-radius: 12px;
  transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

.layout-focus .camera-card .camera-header {
  padding: 8px 10px;
  background: none;
}

.layout-focus .camera-card .camera-title-badge {
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  padding: 0;
  box-shadow: none;
}

.layout-focus .camera-card .camera-title-text {
  display: none;
}

.layout-focus .camera-card .status-dot {
  width: 9px;
  height: 9px;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.9);
}

.layout-focus .camera-card .camera-actions {
  display: none;
}

.layout-focus .camera-card:hover {
  width: 320px;
  height: 200px;
  opacity: 1;
  transform: translateY(-8px) scale(1.02);
  z-index: 50;
}

.layout-focus .camera-card:hover .camera-title-text {
  display: inline-block;
}

.layout-focus .camera-card:hover .camera-title-badge {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass-subtle);
  padding: 4px 10px;
  border-radius: 20px;
}

.layout-focus .camera-card:hover .camera-actions {
  display: flex;
}

/* ==========================================================================
   Camera Card Component
   ========================================================================== */

.camera-card {
  position: relative;
  background: var(--bg-panel);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--transition-smooth);
}

.camera-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.camera-card.motion-detected {
  border-color: var(--accent-amber);
  animation: pulseMotion 1.5s infinite;
}

@keyframes pulseMotion {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* Video viewport */
.camera-video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 180px;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.camera-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.camera-video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Camera Overlay Header */
.camera-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 10;
  pointer-events: none;
}

.camera-title-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border-glass-subtle);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  transition: background-color 0.3s ease;
}

.status-dot.connecting {
  background-color: var(--accent-amber);
  box-shadow: 0 0 8px var(--accent-amber);
  animation: blink 1.2s infinite;
}

.status-dot.offline {
  background-color: var(--accent-rose);
  box-shadow: 0 0 8px var(--accent-rose);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.camera-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.camera-card:hover .camera-actions {
  opacity: 1;
}

.btn-cam-action {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.btn-cam-action:hover {
  color: var(--text-primary);
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--accent-blue);
  transform: scale(1.08);
}

/* Status & Error Overlay */
.camera-status-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 23, 0.88);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  gap: 12px;
  z-index: 5;
  transition: opacity 0.3s ease;
}

.camera-status-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(56, 189, 248, 0.2);
  border-top-color: var(--accent-blue);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.status-msg {
  font-size: 0.85rem;
  color: var(--text-secondary);
  max-width: 80%;
  line-height: 1.4;
}

.btn-retry {
  background: var(--accent-blue);
  color: #0f172a;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-retry:hover {
  background: #7dd3fc;
  transform: scale(1.05);
}

/* Fullscreen Modal View for Single Camera */
.camera-card.is-maximized {
  position: fixed !important;
  top: 20px !important;
  left: 20px !important;
  width: calc(100vw - 40px) !important;
  height: calc(100vh - 40px) !important;
  max-width: none !important;
  max-height: none !important;
  z-index: 100 !important;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.9) !important;
}

/* ==========================================================================
   Clock & Weather Widget (Smart Display Wall Frame)
   ========================================================================== */

.smart-clock-widget {
  position: absolute;
  z-index: 15;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  pointer-events: none;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  transition: all 0.4s ease;
}

/* Positioning */
.clock-pos-bottom-left { bottom: 0; left: 0; }
.clock-pos-bottom-right { bottom: 0; right: 0; align-items: flex-end; text-align: right; }
.clock-pos-top-left { top: 0; left: 0; }
.clock-pos-top-right { top: 0; right: 0; align-items: flex-end; text-align: right; }
.clock-pos-center-bottom { bottom: 20px; left: 50%; transform: translateX(-50%); align-items: center; text-align: center; }

.time-display {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.time-main {
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.time-period {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.date-weather-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.2rem;
  font-weight: 400;
  color: #e2e8f0;
}

.weather-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-glass-subtle);
  font-size: 0.95rem;
}

.weather-icon {
  font-size: 1.2rem;
}

/* Analog Clock Option */
.analog-clock-container {
  width: 140px;
  height: 140px;
  position: relative;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px solid var(--border-glass);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  margin-bottom: 8px;
}

.analog-face {
  width: 100%;
  height: 100%;
  position: relative;
}

.analog-hand {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom center;
  border-radius: 4px;
}

.hand-hour {
  width: 4px;
  height: 38px;
  background: var(--text-primary);
  margin-left: -2px;
}

.hand-minute {
  width: 3px;
  height: 52px;
  background: var(--accent-blue);
  margin-left: -1.5px;
}

.hand-second {
  width: 1.5px;
  height: 60px;
  background: var(--accent-rose);
  margin-left: -0.75px;
}

.analog-center-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--accent-rose);
  border: 2px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* ==========================================================================
   HUD Bottom Dock Bar
   ========================================================================== */

/* Bottom HUD Control Dock */
.hud-bottom-dock {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  padding: 8px 14px;
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
  opacity: 1;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hud-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.hud-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.hud-btn.active {
  color: var(--accent-blue);
  background: rgba(56, 189, 248, 0.15);
}

.hud-divider {
  width: 1px;
  height: 20px;
  background: var(--border-glass);
  margin: 0 4px;
}

/* ==========================================================================
   Settings Modal Window
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background: #0f172a;
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  width: 100%;
  max-width: 820px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9);
  transform: scale(0.95);
  transition: transform 0.3s var(--transition-smooth);
}

.modal-backdrop.open .modal-window {
  transform: scale(1);
}

.modal-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-glass-subtle);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-close-modal {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.4rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.btn-close-modal:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

/* Modal Tabs */
.modal-tabs {
  display: flex;
  background: rgba(15, 23, 42, 0.6);
  border-bottom: 1px solid var(--border-glass-subtle);
  padding: 0 24px;
  gap: 8px;
  overflow-x: auto;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 16px;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease;
}

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

.tab-btn.active {
  color: var(--accent-blue);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-blue);
  box-shadow: 0 0 10px var(--accent-blue);
}

/* Modal Body */
.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tab-content {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.tab-content.active {
  display: flex;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-group .hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: normal;
}

.form-input, .form-select {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus, .form-select:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.25);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Camera Config Card inside Settings */
.cam-settings-card {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid var(--border-glass-subtle);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cam-settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--accent-blue);
}

/* Modal Footer */
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-glass-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  padding: 10px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Night Mode Overlay Filter */
body.night-mode #app {
  filter: brightness(0.35) sepia(0.2) contrast(1.1);
}

/* ==========================================================================
   Responsive Adjustments (iPad / Tablets / Mobile)
   ========================================================================== */

@media (max-width: 840px) {
  .layout-split .slideshow-container {
    width: 100vw;
    height: 50vh;
  }
  .layout-split .camera-stage {
    width: 100vw;
    height: 50vh;
    left: 0;
    top: 50vh;
    border-left: none;
    border-top: 1px solid var(--border-glass);
  }
  .layout-pip .camera-card-list {
    width: 280px;
  }
  .time-main {
    font-size: 3.6rem;
  }
}
