:root {
  --bg: #07090e;
  --panel-bg: #0d121d;
  --card-bg: rgba(19, 25, 38, 0.75);
  --card-border: rgba(45, 58, 82, 0.6);
  --text: #e6edf3;
  --text-muted: #8b949e;
  --accent-ready: #00f090;
  --accent-warn: #ffaa00;
  --accent-alarm: #ff2255;
  --accent-cyan: #00e5ff;
  --accent-primary: #00e5ff;
  --accent-secondary: #00f090;
  --accent-blue: #388bfd;
  --font-family: 'Orbitron', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-card: 10px;
  --radius-btn: 8px;
  --glass-blur: 12px;
  --scanlines-opacity: 0.12;
  --grid-opacity: 0.15;
  --glow-intensity: 0.6;
  --eye-scale: 1;
  font-family: var(--font-family);
  font-size: 15px;
  color: var(--text);
  background-color: var(--bg);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-family: var(--font-family);
}

button, input, select, textarea {
  font-family: inherit;
}

/* App Grid & Layout Modes */
.app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  position: relative;
  transition: all 0.3s ease;
}

.app.layout-split {
  grid-template-columns: 1.15fr 0.85fr;
}

.app.layout-stacked {
  display: flex;
  flex-direction: column;
}

.app.layout-stacked .stage {
  min-height: 55vh;
  padding: 2.5rem 1.5rem;
}

.app.layout-stacked .panel {
  max-height: none;
  min-height: 45vh;
}

.app.layout-compact {
  grid-template-columns: 1fr 1fr;
  font-size: 14px;
}

.app.layout-compact .stage {
  padding: 1.8rem 1.5rem;
}

/* Main Security Stage */
.stage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 2.5rem;
  position: relative;
  text-align: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 229, 255, 0.04), transparent 32rem),
    radial-gradient(circle at 80% 20%, rgba(0, 240, 144, 0.03), transparent 24rem),
    #07090e;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.stage.ARMED {
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 240, 144, 0.08), transparent 32rem),
    #07090e;
}

.stage.TAMPER_PENDING {
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 170, 0, 0.12), transparent 34rem),
    #130d07;
}

.stage.ALARM {
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 34, 85, 0.16), transparent 36rem),
    #18080c;
  animation: alarmPulse 1.2s infinite alternate ease-in-out;
}

@keyframes alarmPulse {
  0% { box-shadow: inset 0 0 40px rgba(255, 34, 85, 0.3); }
  100% { box-shadow: inset 0 0 80px rgba(255, 34, 85, 0.6); }
}

.stage.gaze {
  box-shadow: inset 0 0 60px rgba(255, 170, 0, 0.4);
}

.stage-header {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  right: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sentinel-logo {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.state-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.state-disarmed {
  background: rgba(139, 148, 158, 0.2);
  color: var(--text-muted);
  border: 1px solid rgba(139, 148, 158, 0.3);
}

.state-arming {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
}

.state-armed {
  background: rgba(0, 240, 144, 0.15);
  color: var(--accent-ready);
  border: 1px solid var(--accent-ready);
  box-shadow: 0 0 12px rgba(0, 240, 144, 0.25);
}

.state-tamper_pending {
  background: rgba(255, 170, 0, 0.2);
  color: var(--accent-warn);
  border: 1px solid var(--accent-warn);
  animation: pulse 1s infinite;
}

.state-alarm {
  background: rgba(255, 34, 85, 0.25);
  color: var(--accent-alarm);
  border: 1px solid var(--accent-alarm);
  box-shadow: 0 0 16px rgba(255, 34, 85, 0.5);
  animation: pulse 0.8s infinite;
}

/* Eye Component Visuals */
.eye-wrapper {
  margin: 1.5rem 0;
  display: flex;
  justify-content: center;
}

.eye {
  width: min(26rem, 85vw);
  height: auto;
  filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.2));
  transition: all 0.3s ease;
}

.closed-eye {
  filter: drop-shadow(0 0 15px rgba(0, 240, 144, 0.35));
}

.lid-glow {
  animation: glowSweep 3s infinite ease-in-out;
}

@keyframes glowSweep {
  0%, 100% { opacity: 0.8; stroke: #00f090; }
  50% { opacity: 1; stroke: #00ffaa; }
}

.status-line {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.8rem 0 0.5rem;
  max-width: 22ch;
  line-height: 1.2;
}

.countdown-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.2rem 2rem;
  margin: 1rem 0;
  backdrop-filter: blur(12px);
  min-width: 16rem;
}

.countdown-card.tamper-card {
  border-color: var(--accent-warn);
  background: rgba(255, 170, 0, 0.1);
}

.countdown-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--text-muted);
}

.count {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 0.2rem 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.exit-count {
  color: var(--accent-cyan);
}

.tamper-count {
  color: var(--accent-warn);
}

.gaze-alert-box, .alarm-alert-box {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--card-bg);
  border: 1px solid var(--accent-warn);
  border-radius: 10px;
  padding: 0.9rem 1.2rem;
  margin: 1rem 0;
  max-width: 28rem;
  text-align: left;
}

.alarm-alert-box {
  border-color: var(--accent-alarm);
  background: rgba(255, 34, 85, 0.15);
}

.gaze-icon, .alarm-icon {
  font-size: 1.6rem;
}

.gaze-alert-box strong, .alarm-alert-box strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.gaze-alert-box p, .alarm-alert-box p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.honesty-line {
  position: absolute;
  bottom: 1.2rem;
  font-size: 0.75rem;
  color: rgba(139, 148, 158, 0.6);
  max-width: 40rem;
}

/* Control & Telemetry Panel (Right Side) */
.panel {
  background: var(--panel-bg);
  border-left: 1px solid var(--card-border);
  padding: 1.5rem 1.4rem 4rem;
  overflow-y: auto;
  max-height: 100vh;
}

h2, h3, h4 {
  margin: 0 0 0.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h2 { font-size: 1.3rem; }
h3 { font-size: 1.05rem; margin-top: 1.5rem; color: var(--text-muted); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.08em; }
h4 { font-size: 0.9rem; margin-top: 1rem; color: var(--accent-cyan); }

/* Banners */
.banner {
  padding: 0.75rem 1rem;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 0.9rem;
  line-height: 1.4;
}

.banner.bad {
  background: rgba(255, 34, 85, 0.12);
  border-color: rgba(255, 34, 85, 0.4);
  color: #ff7b90;
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-cyan);
  color: #07090e;
  font-weight: 700;
}

.btn-primary:hover {
  background: #33ecff;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
}

.btn-arm {
  background: var(--accent-ready);
  color: #07090e;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.85rem 1.4rem;
  letter-spacing: 0.04em;
  box-shadow: 0 0 16px rgba(0, 240, 144, 0.3);
}

.btn-arm:hover {
  background: #20ff9f;
  box-shadow: 0 0 24px rgba(0, 240, 144, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--card-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-danger {
  background: rgba(255, 34, 85, 0.2);
  color: #ff4d6d;
  border: 1px solid rgba(255, 34, 85, 0.4);
}

.btn-danger:hover {
  background: rgba(255, 34, 85, 0.35);
}

.btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
}

.btn-push {
  background: #00d2ff;
  color: #07090e;
  font-weight: 700;
}

.row {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
  margin: 0.8rem 0;
}

.dev-sim-row {
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--card-border);
  border-radius: 8px;
}

/* Fields & Forms */
.field-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.field-input {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem 0.8rem;
  background: rgba(7, 9, 14, 0.8);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.field-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.25);
}

.pin-big-input {
  font-size: 1.5rem;
  letter-spacing: 0.4em;
  text-align: center;
  padding: 0.8rem;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
  color: var(--text);
  cursor: pointer;
  line-height: 1.4;
}

.check-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 0.85rem 1rem;
  border-radius: 10px;
}

.highlight-toggle {
  border-color: rgba(0, 229, 255, 0.35);
  background: rgba(0, 229, 255, 0.04);
}

.check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent-cyan);
  cursor: pointer;
}

/* Camera Feed Card */
.camera-feed-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.camera-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.camera-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #555;
}

.status-indicator.active {
  background: var(--accent-ready);
  box-shadow: 0 0 8px var(--accent-ready);
}

.camera-badges {
  display: flex;
  gap: 0.4rem;
}

.badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.badge-ready { background: rgba(0, 240, 144, 0.15); color: var(--accent-ready); }
.badge-warn { background: rgba(255, 170, 0, 0.15); color: var(--accent-warn); }
.badge-fps { background: rgba(0, 229, 255, 0.15); color: var(--accent-cyan); }

.video-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #030407;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.camera-video, .camera-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.camera-video {
  transform: scaleX(-1);
}

.camera-canvas {
  pointer-events: none;
  transform: scaleX(-1);
}

.camera-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-muted);
  gap: 0.4rem;
  font-size: 0.85rem;
}

.camera-icon {
  font-size: 2rem;
}

.camera-error {
  color: var(--accent-alarm);
  font-size: 0.8rem;
  margin: 0.4rem 0 0;
}

.camera-telemetry {
  margin-top: 0.8rem;
}

.telemetry-bar-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
}

.telemetry-label {
  color: var(--text-muted);
  white-space: nowrap;
}

.score-track {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.15s ease;
}

.score-fill.low { background: var(--accent-ready); }
.score-fill.high { background: var(--accent-alarm); box-shadow: 0 0 8px var(--accent-alarm); }

.score-val {
  font-weight: 700;
  font-family: monospace;
  width: 3ch;
  text-align: right;
}

.telemetry-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

.reticle-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}

.camera-actions {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.5rem;
}

/* Phone Pairing Card */
.pairing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin: 1.2rem 0;
}

.pairing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.pairing-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.qr-container {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

.qr-box {
  background: #ffffff;
  padding: 0.8rem 0.8rem 0.5rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.qr-image {
  width: 190px;
  height: 190px;
  display: block;
}

.qr-caption {
  color: #07090e;
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 0.4rem;
}

.url-copy-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.phone-url-input {
  flex: 1;
  background: rgba(7, 9, 14, 0.8);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 0.8rem;
  font-family: monospace;
}

.ntfy-push-box {
  background: rgba(0, 210, 255, 0.04);
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: 8px;
  padding: 0.8rem;
  margin-bottom: 0.8rem;
}

.ntfy-header {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 0.6rem;
}

.ntfy-icon {
  font-size: 1.3rem;
}

.ntfy-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0.2rem 0 0;
}

.ntfy-actions {
  display: flex;
  gap: 0.5rem;
}

.ntfy-qr-drawer {
  margin-top: 0.8rem;
  text-align: center;
  background: #07090e;
  padding: 0.8rem;
  border-radius: 8px;
}

.ntfy-qr-img {
  width: 140px;
  height: 140px;
  border-radius: 6px;
}

.ntfy-qr-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0.4rem 0 0;
}

.pairing-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

/* Enhanced Pairing UI Styles */
.pairing-tabs {
  display: flex;
  background: rgba(7, 9, 14, 0.6);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 3px;
  margin: 0.75rem 0 1rem;
  gap: 4px;
}

.pairing-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.pairing-tab-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.pairing-tab-btn.active {
  background: rgba(0, 229, 255, 0.15);
  color: #00e5ff;
  border: 1px solid rgba(0, 229, 255, 0.3);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.15);
}

.pairing-status-banner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  margin-bottom: 0.8rem;
  font-size: 0.82rem;
  font-weight: 500;
}

.pairing-status-banner.connected {
  background: rgba(0, 240, 144, 0.12);
  border: 1px solid rgba(0, 240, 144, 0.35);
  color: #00f090;
}

.pairing-status-banner.waiting {
  background: rgba(255, 170, 0, 0.08);
  border: 1px solid rgba(255, 170, 0, 0.25);
  color: #ffaa00;
}

.pairing-code-badge-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  background: rgba(0, 229, 255, 0.06);
  border: 1.5px dashed rgba(0, 229, 255, 0.35);
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  margin: 0.6rem 0;
  text-align: center;
}

.pairing-code-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.pairing-code-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: #ffffff;
}

.pairing-code-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.pairing-quick-hint {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0.75rem 0 0.5rem;
}

.pairing-quick-hint strong {
  color: #fff;
}

.pairing-steps-guide {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  margin: 0.75rem 0;
  font-size: 0.78rem;
}

.pairing-steps-guide ol {
  margin: 0.3rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.pairing-steps-guide li strong {
  color: var(--text);
}

.ntfy-explainer-card {
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.08) 0%, rgba(7, 9, 14, 0.8) 100%);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin: 0.8rem 0;
}

.ntfy-explainer-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #00d2ff;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.ntfy-explainer-list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.ntfy-explainer-list li {
  margin-bottom: 0.35rem;
}

.ntfy-explainer-list strong {
  color: #fff;
}

.test-push-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.8rem;
  flex-wrap: wrap;
}

.test-push-status {
  font-size: 0.78rem;
  font-weight: 600;
  animation: fadeIn 0.2s ease-out;
}

.test-push-status.success {
  color: #00f090;
}

.test-push-status.error {
  color: #ff3366;
}

.badge-pulse {
  animation: badgeGlow 2s infinite ease-in-out;
}

@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 5px rgba(0, 240, 144, 0.4); }
  50% { box-shadow: 0 0 14px rgba(0, 240, 144, 0.8); }
}

/* Settings Accordion */
.settings-accordion {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  margin: 0.9rem 0;
  overflow: hidden;
}

.settings-accordion summary {
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  background: rgba(255, 255, 255, 0.02);
  user-select: none;
}

.settings-accordion summary:hover {
  background: rgba(255, 255, 255, 0.05);
}

.settings-body {
  padding: 1rem 1.1rem;
  border-top: 1px solid var(--card-border);
}

/* Meme Picker Grid */
.meme-picker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.meme-choice {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0.85rem;
  background: rgba(7, 9, 14, 0.8);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.meme-choice input {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  accent-color: var(--accent-cyan);
}

.meme-choice.selected {
  border-color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.08);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.15);
}

.meme-choice-icon {
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}

.meme-choice-title {
  font-weight: 700;
  font-size: 0.88rem;
}

.meme-choice-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin: 0.8rem 0;
}

.save-settings-row {
  margin-top: 1.2rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--card-border);
  display: flex;
  gap: 0.8rem;
  align-items: flex-end;
}

.pin-save-label {
  flex: 1;
  margin-bottom: 0;
}

/* System Capabilities List */
.caps-section {
  margin: 1.4rem 0;
}

.caps {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0;
}

.cap-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.health-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}

.health-ready { background: var(--accent-ready); box-shadow: 0 0 8px var(--accent-ready); }
.health-degraded { background: var(--accent-warn); box-shadow: 0 0 8px var(--accent-warn); }
.health-unavailable { background: #555; }
.health-interrupted { background: var(--accent-alarm); box-shadow: 0 0 8px var(--accent-alarm); }

.cap-info {
  flex: 1;
}

.cap-title-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.2rem;
}

.cap-title-row strong {
  font-size: 0.88rem;
}

.health-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.health-tag.health-ready { color: var(--accent-ready); }
.health-tag.health-degraded { color: var(--accent-warn); }
.health-tag.health-unavailable { color: var(--text-muted); }
.health-tag.health-interrupted { color: var(--accent-alarm); }

.cap-desc {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Recent Security Log */
.recent-section {
  margin-top: 1.5rem;
}

.events-list {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0;
}

.event-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.7rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  font-size: 0.78rem;
  margin-bottom: 0.35rem;
}

.event-type {
  font-weight: 600;
  text-transform: capitalize;
}

.event-sim {
  background: rgba(255, 170, 0, 0.15);
  color: var(--accent-warn);
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  font-size: 0.65rem;
}

.event-time {
  color: var(--text-muted);
}

/* Modal Overlay */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 8, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal .pin-form-card {
  background: #0d121d;
  border: 1px solid var(--accent-cyan);
  border-radius: 14px;
  padding: 2rem;
  max-width: 24rem;
  width: 90%;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.25);
}

/* ========================================================
   FULL-SCREEN SHOCK / MEME GAZE WARNING OVERLAY
   ======================================================== */
.gaze-warning-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 2, 4, 0.94);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  animation: overlayFlash 0.35s ease-out;
}

@keyframes overlayFlash {
  0% { opacity: 0; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

.overlay-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%,
    rgba(0, 0, 0, 0.35) 50%
  );
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.6;
}

.overlay-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 120px rgba(255, 0, 68, 0.5), inset 0 0 250px rgba(0, 0, 0, 0.9);
  pointer-events: none;
  z-index: 3;
}

/* HUD Corners */
.hud-corner {
  position: absolute;
  width: 32px;
  height: 32px;
  border-color: #ff2255;
  border-style: solid;
  z-index: 4;
}

.hud-top-left { top: 2rem; left: 2rem; border-width: 4px 0 0 4px; }
.hud-top-right { top: 2rem; right: 2rem; border-width: 4px 4px 0 0; }
.hud-bottom-left { bottom: 2rem; left: 2rem; border-width: 0 0 4px 4px; }
.hud-bottom-right { bottom: 2rem; right: 2rem; border-width: 0 4px 4px 0; }

.overlay-content {
  position: relative;
  z-index: 5;
  max-width: 46rem;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.glitch-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.warning-badge {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  background: #ff2255;
  color: #fff;
  padding: 0.35rem 1rem;
  border-radius: 4px;
  animation: badgePulse 0.8s infinite alternate;
}

@keyframes badgePulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 10px #ff2255); }
  100% { transform: scale(1.04); filter: drop-shadow(0 0 24px #ff2255); }
}

.telemetry-pill {
  font-family: monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #ff88a3;
}

/* Meme Cards */
.meme-stage {
  margin: 1rem 0 1.5rem;
  min-height: 18rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.meme-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.meme-headline {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 1.2rem 0 0.5rem;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255, 34, 85, 0.8);
}

.meme-subtext {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 38ch;
  color: #ffccd5;
  margin: 0;
  line-height: 1.4;
  font-weight: 500;
}

/* 1. I See You Style */
.creepy-eye-container {
  position: relative;
  width: 170px;
  height: 170px;
}

.creepy-eye-svg {
  width: 100%;
  height: 100%;
}

.spin-slow {
  transform-origin: center;
  animation: spinClockwise 12s linear infinite;
}

@keyframes spinClockwise {
  100% { transform: rotate(360deg); }
}

.pupil-pulse {
  transform-origin: center;
  animation: pupilDilate 1.5s infinite alternate ease-in-out;
}

@keyframes pupilDilate {
  0% { r: 16; }
  100% { r: 24; }
}

.scan-beam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #ff0055;
  box-shadow: 0 0 12px #ff0055;
  animation: scanSweep 2s infinite ease-in-out;
}

@keyframes scanSweep {
  0%, 100% { top: 15%; opacity: 0.2; }
  50% { top: 85%; opacity: 0.9; }
}

/* 2. Cyber Lock Style */
.tactical-hud {
  width: 220px;
  height: 130px;
  border: 2px solid #00e5ff;
  position: relative;
  background: rgba(0, 229, 255, 0.05);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.target-box {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.5rem;
}

.crosshair-h {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(0, 229, 255, 0.6);
}

.crosshair-v {
  position: absolute;
  left: 50%;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: rgba(0, 229, 255, 0.6);
}

.target-label {
  font-family: monospace;
  font-size: 0.7rem;
  color: #00e5ff;
  font-weight: 700;
  text-align: left;
}

.target-coords {
  font-family: monospace;
  font-size: 0.65rem;
  color: #ffaa00;
  text-align: right;
}

.tactical-text {
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.8);
}

/* 3. Side-Eye Dog Style */
.dog-meme-visual {
  width: 200px;
  height: 150px;
}

.side-eye-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 16px rgba(255, 170, 0, 0.4));
}

.dog-text {
  color: #ffdd99;
  text-shadow: 0 0 20px rgba(255, 170, 0, 0.6);
}

/* 4. Self Destruct Style */
.hazard-symbol {
  font-size: 5rem;
  animation: strobe 0.5s infinite alternate;
}

@keyframes strobe {
  0% { transform: scale(0.95); opacity: 0.7; }
  100% { transform: scale(1.08); opacity: 1; }
}

.hazard-text {
  color: #ff3344;
  text-shadow: 0 0 30px #ff0022;
}

/* Overlay Controls */
.overlay-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.meme-selector-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.selector-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ff88a3;
  padding-left: 0.5rem;
}

.pill-btn {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pill-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.pill-btn.active {
  background: #ff2255;
  color: #fff;
  box-shadow: 0 0 10px rgba(255, 34, 85, 0.6);
}

.btn-dismiss-overlay {
  background: transparent;
  color: #ff88a3;
  border: 1px solid rgba(255, 136, 163, 0.4);
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
}

.btn-dismiss-overlay:hover {
  background: rgba(255, 136, 163, 0.15);
}

/* ========================================================
   GAZE WARNING PIN VERIFICATION POPUP MODAL
   ======================================================== */
.gaze-pin-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.2s ease-out;
}

.gaze-pin-modal-box {
  background: #0d111a;
  border: 1px solid rgba(0, 229, 255, 0.4);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.25), 0 20px 50px rgba(0, 0, 0, 0.9);
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  padding: 1.8rem;
  position: relative;
  animation: modalScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.pin-modal-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.pin-modal-icon {
  font-size: 2.2rem;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 12px;
  padding: 0.5rem;
  line-height: 1;
}

.pin-modal-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #00e5ff;
}

.pin-modal-desc {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.pin-input-group {
  margin-bottom: 1.2rem;
}

.gaze-pin-input {
  width: 100%;
  background: rgba(7, 9, 14, 0.9);
  border: 2px solid rgba(0, 229, 255, 0.3);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-align: center;
  color: #fff;
  font-family: monospace;
  box-sizing: border-box;
  transition: all 0.2s ease;
  outline: none;
}

.gaze-pin-input:focus {
  border-color: #00e5ff;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
  background: rgba(7, 9, 14, 1);
}

.gaze-pin-input.input-error {
  border-color: #ff2255;
  box-shadow: 0 0 20px rgba(255, 34, 85, 0.4);
  animation: shake 0.3s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.pin-error-alert {
  background: rgba(255, 34, 85, 0.15);
  border: 1px solid rgba(255, 34, 85, 0.4);
  color: #ff6688;
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1rem;
  animation: fadeIn 0.2s ease-out;
}

.pin-success-alert {
  background: rgba(0, 240, 144, 0.15);
  border: 1px solid rgba(0, 240, 144, 0.4);
  color: #00f090;
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

.pin-modal-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.btn-disable-warning {
  flex: 2;
  background: #00e5ff;
  color: #07090e;
  font-weight: 700;
}

.btn-disable-warning:hover:not(:disabled) {
  background: #33ecff;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.5);
}

.btn-disarm {
  flex: 1.5;
  background: rgba(255, 34, 85, 0.15);
  color: #ff6688;
  border: 1px solid rgba(255, 34, 85, 0.3);
}

.btn-disarm:hover:not(:disabled) {
  background: rgba(255, 34, 85, 0.25);
  border-color: #ff2255;
}

.btn-cancel {
  flex: 1;
}

.pin-modal-footer-hint {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Bottom Hint Bar on Warning Overlay */
.gaze-pin-hint-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: rgba(7, 9, 14, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  backdrop-filter: blur(8px);
}

.gaze-pin-hint-bar:hover {
  background: rgba(13, 17, 26, 0.95);
  border-color: #00e5ff;
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.3);
  transform: translateY(-2px);
}

.gaze-pin-hint-bar .hint-icon {
  font-size: 1.1rem;
}

.gaze-pin-hint-bar .hint-text {
  font-size: 0.82rem;
  color: #e6edf3;
}

.gaze-pin-hint-bar .hint-text strong {
  color: #00e5ff;
}

.btn-enter-pin-pill {
  background: rgba(0, 229, 255, 0.2);
  color: #00e5ff;
  border: 1px solid rgba(0, 229, 255, 0.4);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-enter-pin-pill:hover {
  background: #00e5ff;
  color: #07090e;
}

/* ==========================================================================
   UI / UX DESIGNER & THEME SYSTEM
   ========================================================================== */

/* Fullscreen CRT Scanlines Overlay */
.crt-scanlines-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, var(--scanlines-opacity, 0.12)),
    rgba(0, 0, 0, var(--scanlines-opacity, 0.12)) 1px,
    transparent 1px,
    transparent 3px
  );
}

/* Perspective Cyber Grid Overlay */
.cyber-grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: var(--grid-opacity, 0.15);
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, var(--accent-cyan) 1px, transparent 1px),
    linear-gradient(to bottom, var(--accent-cyan) 1px, transparent 1px);
  mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.8), transparent 75%);
}

/* Eye Keyframe Animations */
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin-slow {
  transform-origin: center center;
  animation: spinSlow 24s infinite linear;
}

@keyframes radarSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes radarBlip {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.3); }
}

.radar-sweep-beam {
  transform-origin: 120px 120px;
  animation: radarSweep 3.2s infinite linear;
}

.radar-blip {
  animation: radarBlip 2s infinite ease-in-out;
}

/* Header UI Designer Button */
.btn-designer-open {
  background: rgba(0, 229, 255, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.35);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-btn, 8px);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.btn-designer-open:hover {
  background: var(--accent-cyan);
  color: #07090e;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.4);
  transform: translateY(-1px);
}

/* UI / UX Designer Modal Backdrop */
.designer-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 12, 0.85);
  backdrop-filter: blur(16px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  animation: fadeIn 0.2s ease;
}

.designer-modal-box {
  background: var(--panel-bg);
  border: 1px solid var(--card-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 229, 255, 0.15);
  border-radius: var(--radius-card, 14px);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: scaleUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.designer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.6rem;
  border-bottom: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.2);
}

.designer-title-group {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.designer-icon {
  font-size: 1.8rem;
}

.designer-header h2 {
  font-size: 1.25rem;
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.designer-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0.15rem 0 0;
}

.designer-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-close-designer {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-btn, 8px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.15s ease;
}

.btn-close-designer:hover {
  background: rgba(255, 34, 85, 0.2);
  color: #ff3366;
  border-color: #ff3366;
}

/* Live Mini Preview Strip */
.designer-preview-strip {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  padding: 0.9rem 1.6rem;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--card-border);
  align-items: center;
}

.preview-eye-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.preview-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.preview-eye-box {
  width: 140px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card, 8px);
  overflow: hidden;
  padding: 0.5rem;
}

.preview-palette-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.preview-swatches-row {
  display: flex;
  gap: 0.5rem;
}

.palette-chip {
  width: 36px;
  height: 24px;
  border-radius: var(--radius-btn, 4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.preview-active-preset {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.preview-active-preset strong {
  color: var(--accent-cyan);
}

/* Designer Tabs Navigation */
.designer-tabs-nav {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.15);
  padding: 0 1rem;
}

.designer-tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.75rem 1.1rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

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

.designer-tab.active {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
}

/* Designer Tab Content Area */
.designer-tab-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.4rem 1.6rem;
}

.tab-pane h3 {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin: 0 0 0.8rem;
}

/* Presets Grid */
.presets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.8rem;
}

.preset-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card, 10px);
  padding: 0.85rem 1rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.6rem;
  color: var(--text);
}

.preset-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.preset-card.selected {
  border-color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.08);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.25);
}

.preset-card-top {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.preset-icon {
  font-size: 1.4rem;
}

.preset-info strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text);
}

.preset-info p {
  margin: 0.15rem 0 0;
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.preset-preview-pills {
  display: flex;
  gap: 0.35rem;
}

.preset-pill {
  width: 22px;
  height: 8px;
  border-radius: 999px;
}

/* Color Studio */
.custom-colors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.color-field-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card, 10px);
  padding: 0.9rem;
}

.color-field-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.color-field-header label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.color-picker-input {
  width: 38px;
  height: 28px;
  border: none;
  border-radius: var(--radius-btn, 4px);
  cursor: pointer;
  background: transparent;
  padding: 0;
}

.swatches-quick-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.swatch-btn {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-btn, 4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: transform 0.1s ease, border-color 0.15s ease;
}

.swatch-btn:hover {
  transform: scale(1.15);
  border-color: #ffffff;
}

.swatch-btn.active {
  transform: scale(1.2);
  border: 2px solid #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.bg-swatches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.bg-choice-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  padding: 0.4rem 0.6rem;
  text-align: left;
  border-radius: var(--radius-btn, 6px);
}

.swatch-mini {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-block;
}

/* Eye Styles Grid */
.eye-styles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.9rem;
}

.eye-choice-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card, 10px);
  padding: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.eye-choice-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.eye-choice-card.selected {
  border-color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.08);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.25);
}

.eye-choice-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.eye-choice-preview {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: var(--radius-card, 6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.eye-choice-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.35;
}

.eye-controls-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.slider-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card, 10px);
  padding: 0.9rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.slider-val {
  color: var(--accent-cyan);
  font-weight: 700;
}

.range-input {
  width: 100%;
  accent-color: var(--accent-cyan);
  cursor: pointer;
}

.slider-sublabels {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* FX Grid */
.fx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.fx-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card, 10px);
  padding: 0.9rem;
}

.fx-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.3rem;
}

.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* Layout & Typography */
.layout-modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.8rem;
}

.layout-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card, 10px);
  padding: 0.85rem 1rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text);
}

.layout-card:hover {
  border-color: var(--accent-cyan);
}

.layout-card.selected {
  border-color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.08);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
}

.layout-icon {
  font-size: 1.6rem;
  color: var(--accent-cyan);
}

.layout-info strong {
  display: block;
  font-size: 0.88rem;
}

.layout-info p {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.fonts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.8rem;
}

.font-choice-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card, 10px);
  padding: 0.85rem 1rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text);
}

.font-choice-card:hover {
  border-color: var(--accent-cyan);
}

.font-choice-card.selected {
  border-color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.08);
}

.font-choice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.font-sample-text {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--accent-cyan);
}

.branding-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Export / Import */
.export-box, .import-box {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.json-textarea {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  line-height: 1.4;
  resize: vertical;
}

/* Designer Footer */
.designer-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.6rem;
  border-top: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.25);
}

.btn-xs {
  font-size: 0.72rem;
  padding: 0.25rem 0.55rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* ==========================================================================
   ARMED SENTINEL FULLSCREEN DISPLAY (Disappearing Settings Bar)
   ========================================================================== */
.armed-sentinel-screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #000000;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: none;
}

.armed-fullscreen-visual,
.armed-eyes-visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.armed-image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 2rem 2.2rem;
  background: linear-gradient(
    to bottom,
    rgba(5, 7, 10, 0.85) 0%,
    rgba(5, 7, 10, 0.2) 30%,
    rgba(5, 7, 10, 0.1) 50%,
    rgba(5, 7, 10, 0.3) 70%,
    rgba(5, 7, 10, 0.9) 100%
  );
  pointer-events: none;
}

.armed-overlay-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.armed-overlay-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.armed-sentinel-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin: 0;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.95), 0 0 25px rgba(0, 0, 0, 0.85);
}

.armed-sentinel-subtitle {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 500;
  color: #e2e8f0;
  margin: 0;
  letter-spacing: 0.02em;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.95);
}

.armed-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(0, 229, 255, 0.45);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: #00e5ff;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.armed-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 10px #00e5ff;
  animation: armedPulse 1.8s infinite;
}

@keyframes armedPulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 16px #00e5ff; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.armed-keypress-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.04em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.armed-judge-panel {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.4rem;
  background: rgba(10, 16, 26, 0.92);
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: var(--radius-card, 2px);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.85), 0 0 18px rgba(0, 229, 255, 0.15);
  z-index: 120;
  max-width: 95vw;
  text-align: center;
}

.judge-panel-tag {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  color: #00e5ff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.judge-panel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 8px #00e5ff;
  animation: armedPulse 1.8s infinite;
}

.judge-panel-buttons {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: center;
}

.judge-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  padding: 0.45rem 0.95rem !important;
  border-radius: var(--radius-btn, 2px) !important;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.judge-btn:hover {
  transform: translateY(-1px);
}

.judge-panel-hint {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.65);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: 0.02em;
}

.judge-panel-hint strong {
  color: #00e5ff;
  font-family: 'JetBrains Mono', monospace;
}

/* ==========================================================================
   FAKE BSOD (Blue Screen of Snooping)
   ========================================================================== */
.fake-bsod-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: #0078D7;
  color: #ffffff;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  animation: bsodFadeIn 0.25s ease-out;
}

@keyframes bsodFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.bsod-content {
  width: 100%;
  max-width: 960px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
}

.bsod-sad-face {
  font-size: 7.5rem;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 2rem;
  letter-spacing: -0.04em;
}

.bsod-header {
  font-size: 2.1rem;
  font-weight: 300;
  line-height: 1.35;
  margin: 0 0 1.2rem 0;
  max-width: 820px;
}

.bsod-subtext {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.45;
  margin: 0 0 2rem 0;
  opacity: 0.95;
}

.bsod-progress {
  font-size: 1.35rem;
  font-weight: 300;
  margin: 0 0 3rem 0;
  letter-spacing: 0.02em;
}

.bsod-details-row {
  display: flex;
  gap: 1.8rem;
  align-items: flex-start;
}

.bsod-qr-wrapper {
  background: #ffffff;
  padding: 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.bsod-qr-img {
  width: 130px;
  height: 130px;
  display: block;
}

.bsod-qr-placeholder {
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0078D7;
  font-weight: bold;
}

.bsod-error-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 0.88rem;
  line-height: 1.5;
}

.bsod-info-line {
  margin: 0 0 0.5rem 0;
}

.bsod-highlight {
  text-decoration: underline;
}

.bsod-info-support {
  margin: 0.3rem 0 0.6rem 0;
  opacity: 0.85;
}

.bsod-code-line {
  margin: 0.15rem 0;
  font-size: 0.88rem;
}

.bsod-mono {
  font-family: 'Consolas', 'Courier New', monospace;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.bsod-dismiss-hint {
  margin-top: 3.5rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ==========================================================================
   BOMBASTIC SIDE EYE GRAVITY RAIN
   ========================================================================== */
.bombastic-rain-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #06070a;
  z-index: 200;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bombastic-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.bombastic-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  pointer-events: none;
}

.bombastic-title-badge {
  background: #ff2255;
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  box-shadow: 0 0 25px rgba(255, 34, 85, 0.6);
  margin-bottom: 1.2rem;
  animation: bombasticStrobe 1s infinite alternate;
}

@keyframes bombasticStrobe {
  from { transform: scale(0.98); opacity: 0.85; }
  to { transform: scale(1.05); opacity: 1; box-shadow: 0 0 35px #ff2255; }
}

.bombastic-headline {
  font-family: 'Impact', 'Outfit', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #ffe600;
  margin: 0 0 0.3rem 0;
  text-transform: uppercase;
  text-shadow: 0 4px 0 #000, 0 0 25px rgba(255, 230, 0, 0.5);
}

.bombastic-subhead {
  font-family: 'Outfit', -apple-system, sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 1.8rem 0;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.bombastic-center-card {
  width: 240px;
  height: 240px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(255, 230, 0, 0.4), 0 20px 50px rgba(0, 0, 0, 0.9);
  border: 3px solid #ffe600;
  position: relative;
  background: #000;
  animation: bombasticFloat 2s ease-in-out infinite alternate;
}

@keyframes bombasticFloat {
  from { transform: translateY(-4px) rotate(-1deg); }
  to { transform: translateY(4px) rotate(1deg); }
}

.bombastic-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bombastic-card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.bombastic-dismiss-pill {
  margin-top: 2rem;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   PIN PROMPT MODAL (Keypress Modal for Armed / Warning)
   ========================================================================== */
.pin-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: pinBackdropFadeIn 0.2s ease-out;
}

@keyframes pinBackdropFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.pin-modal-card {
  width: 100%;
  max-width: 440px;
  background: #0e111a;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 229, 255, 0.15);
  animation: pinCardSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pinCardSlideUp {
  from { transform: translateY(20px) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.pin-modal-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.pin-modal-icon {
  font-size: 1.8rem;
  background: rgba(0, 229, 255, 0.1);
  padding: 0.5rem;
  border-radius: 10px;
}

.pin-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.25rem 0;
}

.pin-modal-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.pin-modal-close {
  position: absolute;
  top: -4px;
  right: -4px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
}

.pin-modal-close:hover {
  color: #fff;
}

.pin-modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.pin-text-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #06080e;
  border: 1.5px solid rgba(0, 229, 255, 0.3);
  border-radius: 10px;
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.8rem;
  letter-spacing: 0.35em;
  text-align: center;
  outline: none;
  transition: all 0.2s ease;
}

.pin-text-input:focus {
  border-color: #00e5ff;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.25);
}

.pin-text-input.has-error {
  border-color: #ff2255;
  box-shadow: 0 0 20px rgba(255, 34, 85, 0.3);
}

.pin-modal-error {
  color: #ff4d6d;
  font-size: 0.85rem;
  text-align: center;
  margin: -0.4rem 0 0 0;
  font-weight: 600;
}

.pin-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

/* ==========================================================================
   CLEAN SETUP TAB NAVIGATION
   ========================================================================== */
.setup-tabs-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  width: 100%;
}

.setup-tabs-list {
  display: flex;
  background: rgba(14, 17, 26, 0.85);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 4px;
  gap: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  flex-wrap: wrap;
  justify-content: center;
}

.setup-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.setup-tab-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.setup-tab-btn.active {
  background: rgba(0, 229, 255, 0.14);
  color: #00e5ff;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
}

.tab-badge {
  font-size: 0.65rem;
  background: rgba(0, 229, 255, 0.2);
  color: #00e5ff;
  padding: 2px 6px;
  border-radius: 999px;
  font-weight: 700;
}

.setup-tab-pane {
  animation: tabPaneFade 0.2s ease-out;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

@keyframes tabPaneFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Warning Meme Cards Selection Grid */
.warning-presets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.warning-preset-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid var(--card-border);
  border-radius: 12px;
  padding: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.warning-preset-card:hover {
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(0, 229, 255, 0.03);
  transform: translateY(-2px);
}

.warning-preset-card.active {
  border-color: #00e5ff;
  background: rgba(0, 229, 255, 0.08);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.12);
}

.warning-card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.warning-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.warning-preview-btn {
  margin-top: auto;
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--card-border);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  align-self: flex-start;
}

.warning-preview-btn:hover {
  background: #00e5ff;
  color: #000;
  border-color: #00e5ff;
}

/* Armed Visual Picker */
.armed-visual-picker {
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.visual-choice-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.8rem;
}

.visual-choice-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.visual-choice-label:hover {
  background: rgba(0, 229, 255, 0.05);
  border-color: rgba(0, 229, 255, 0.3);
  color: var(--text);
}

.visual-choice-label.active {
  background: rgba(0, 229, 255, 0.1);
  border-color: #00e5ff;
  color: #00e5ff;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.15);
}

/* Fullscreen Armed Container - Disappears the settings bar completely */
.armed-full-view {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  overflow: hidden;
}

.app.armed {
  display: block;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* Redesigned Disarmed Setup Layout */
.app.disarmed {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 2rem 3rem 2rem;
  width: 100%;
}

.disarmed-header-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  width: 100%;
}

.disarmed-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 0.75rem;
}

.disarmed-tab-content-area {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

.warning-tab-header {
  margin-bottom: 1rem;
}

.warning-tab-header h3 {
  margin: 0 0 0.4rem 0;
  color: #fff;
  font-size: 1.25rem;
}

.warning-tab-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

/* Armed Simulation & Developer Controls */
.armed-demo-banner {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 229, 255, 0.12);
  border: 1px dashed rgba(0, 229, 255, 0.4);
  color: #00e5ff;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  z-index: 50;
  backdrop-filter: blur(8px);
  max-width: 90%;
  text-align: center;
}

.armed-dev-sim-bar {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(7, 9, 14, 0.92);
  border: 1px dashed #00e5ff;
  border-radius: 8px;
  padding: 0.45rem 0.8rem;
  z-index: 100;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.dev-sim-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: #00e5ff;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.dev-sim-panel {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(0, 229, 255, 0.04);
  border: 1px dashed rgba(0, 229, 255, 0.35);
  border-radius: 8px;
}

/* ==========================================================================
   TACTILE ANIMATION STACK & HARDWARE TERMINAL STREAM
   ========================================================================== */
.terminal-pane-wrapper {
  background: #090d16;
  border: 1.5px solid rgba(0, 229, 255, 0.3);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 229, 255, 0.1);
  display: flex;
  flex-direction: column;
  margin: 0.5rem 0 1.5rem;
}

.terminal-pane-header {
  background: rgba(7, 9, 14, 0.95);
  border-bottom: 1px solid rgba(0, 229, 255, 0.2);
  padding: 0.6rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.terminal-title-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.terminal-dot-group {
  display: flex;
  gap: 0.4rem;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.terminal-tab-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.terminal-pane-controls {
  display: flex;
  gap: 0.4rem;
}

.terminal-pane-body {
  padding: 0.8rem 1rem;
  height: 380px;
  min-height: 280px;
  background: #090d16;
  overflow: hidden;
}

.terminal-pane-body .xterm {
  height: 100%;
}

.agent-orb-container {
  transition: transform 0.2s ease;
}

.agent-orb-container:hover {
  transform: scale(1.05);
}

.agent-orb-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
  color: #00e5ff;
}

.active-tab-spring-pill {
  pointer-events: none;
}

/* ==========================================================================
   ARMING IN PROGRESS (CENTERED FULLSCREEN COUNTDOWN)
   ========================================================================== */
.app.arming {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 100vh;
  width: 100vw;
  margin: 0 auto;
  padding: 0;
  grid-template-columns: none !important;
}

.app.arming .stage.arming-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.arming-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background: #000;
}

.arming-video-bg .armed-fullscreen-visual {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  filter: contrast(1.05) brightness(0.85);
}

.arming-centered-box {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 440px;
  text-align: center;
  animation: armingBoxFadeIn 0.3s ease-out;
}

@keyframes armingBoxFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.countdown-card.arming-card {
  width: 100%;
  padding: 2.2rem 2.5rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 229, 255, 0.15);
  border: 1.5px solid rgba(0, 229, 255, 0.35);
  border-radius: 16px;
  background: rgba(14, 18, 28, 0.9);
  backdrop-filter: blur(16px);
}


/* ==========================================================================
   CLEAN / CRISP OVERRIDES: centered layout, square corners, readable badges,
   dark buttons, quick-start card, structured security log
   ========================================================================== */
:root {
  --radius-card: 2px;
  --radius-btn: 2px;
}

/* Straight, crisp edges everywhere except tiny status dots and media */
.app *:not(.health-dot):not(.armed-pulse-dot):not(input[type='checkbox']):not(input[type='radio']):not(canvas):not(video):not(img) {
  border-radius: 2px !important;
}

/* Never show a browser-default white button */
button {
  background: #121a29;
  color: var(--text);
  border: 1px solid var(--card-border);
}
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Centering: every state centers its content on the page */
.app.arming,
.app.tamper_pending,
.app.alarm {
  display: flex;
  align-items: center;
  justify-content: center;
}
.app.arming .stage,
.app.tamper_pending .stage,
.app.alarm .stage {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}
.app.disarmed {
  align-items: center;
}
.disarmed-dashboard {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.disarmed-header-hero,
.disarmed-tab-content-area {
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.setup-tabs-bar {
  margin-left: auto;
  margin-right: auto;
}
.setup-tabs-list {
  justify-content: center;
}

/* Health tags: Ready text was green on a green fill. Use a dark fill with a bright border. */
.health-tag,
.health-tag.health-ready,
.health-tag.health-degraded,
.health-tag.health-unavailable,
.health-tag.health-interrupted {
  background: #0b111c;
  box-shadow: none;
  font-weight: 700;
  border: 1px solid currentColor;
}
.health-tag.health-ready { color: #ffffff; border-color: var(--accent-ready); }
.health-tag.health-degraded { color: #ffffff; border-color: var(--accent-warn); }
.health-tag.health-unavailable { color: #c9d1d9; border-color: #4a5568; }
.health-tag.health-interrupted { color: #ffffff; border-color: var(--accent-alarm); }

/* Quick start */
.quick-start {
  width: 100%;
  max-width: 600px;
  margin: 1.5rem auto;
  padding: 1.75rem;
  background: #0d121d;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
}
.quick-start-title {
  margin: 0 0 0.35rem 0;
  font-size: 1.5rem;
  color: #fff;
}
.quick-start-sub {
  margin: 0 0 1.4rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.quick-start-list {
  list-style: none;
  margin: 0 0 1.5rem 0;
  padding: 0;
  border: 1px solid var(--card-border);
}
.quick-start-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}
.quick-start-row + .quick-start-row {
  border-top: 1px solid var(--card-border);
}
.quick-start-label { color: var(--text); }
.quick-start-value { font-weight: 700; }
.quick-start-value.ok { color: var(--accent-ready); }
.quick-start-value.idle { color: var(--text-muted); }
.quick-start-arm {
  width: 100%;
  padding: 1.1rem 1.4rem;
  font-size: 1.1rem;
  background: var(--accent-ready);
  color: #07090e;
  border: none;
}
.quick-start-arm:hover { background: #20ff9f; }
.quick-start-note {
  margin: 1rem 0 0 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.more-options {
  width: 100%;
  max-width: 860px;
  margin: 1rem auto 0 auto;
  border: 1px solid var(--card-border);
  background: rgba(13, 18, 29, 0.7);
}
.more-options > summary {
  cursor: pointer;
  padding: 0.85rem 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  list-style: none;
}
.more-options > summary::-webkit-details-marker { display: none; }
.more-options[open] > summary { color: #fff; border-bottom: 1px solid var(--card-border); }
.more-options > :not(summary) { margin-left: 1rem; margin-right: 1rem; }
.more-options > :last-child { margin-bottom: 1rem; }

/* Recent security log: same card language as the other panels */
.log-card {
  margin-top: 1.5rem;
  background: #0d121d;
  border: 1px solid var(--card-border);
  padding: 0;
}
.log-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--card-border);
}
.log-card-header h3 {
  margin: 0;
  color: #fff;
}
.log-count {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.log-card .events-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.log-card .event-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr auto;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0.6rem 1rem;
  background: transparent;
  border-top: 1px solid rgba(45, 58, 82, 0.4);
  font-size: 0.8rem;
}
.log-card .event-row:first-child { border-top: none; }
.log-card .event-row:nth-child(even) { background: rgba(255, 255, 255, 0.02); }
.log-card .event-time {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.log-card .event-type {
  color: var(--text);
  font-weight: 600;
  text-transform: capitalize;
}

/* ==========================================================================
   QUICKSTART PRESETS & CUSTOM IMAGE RAIN DETERRENT STYLING
   ========================================================================== */
.quick-preset-section {
  margin: 0 0 1.5rem 0;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  text-align: left;
}

.quick-preset-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.8rem;
}

.quick-preset-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
}

.quick-preset-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Top pair: the 2 standard options side-by-side */
.quick-presets-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

@media (max-width: 520px) {
  .quick-presets-pair {
    grid-template-columns: 1fr;
  }
}

.quick-preset-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.75rem;
  background: #121a29;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-btn);
  color: #fff;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  min-height: 58px;
}

.quick-preset-btn:hover {
  border-color: rgba(0, 229, 255, 0.5);
  background: #162235;
}

.quick-preset-btn.active {
  border-color: #00e5ff;
  background: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.2);
}

/* Bottom card: the 3rd option spanning full width with embedded import image button */
.quick-preset-custom-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  background: #121a29;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-btn);
  color: #fff;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  min-height: 58px;
}

.quick-preset-custom-card:hover {
  border-color: rgba(0, 229, 255, 0.5);
  background: #162235;
}

.quick-preset-custom-card.active {
  border-color: #00e5ff;
  background: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.2);
}

.custom-card-main {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1;
}

.custom-card-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.btn-import-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.4rem 0.65rem;
  background: #18263a;
  color: #00e5ff;
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-import-custom:hover {
  background: rgba(0, 229, 255, 0.2);
  border-color: #00e5ff;
  color: #fff;
}

.btn-remove-custom {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.4rem 0.55rem;
  background: rgba(255, 80, 80, 0.15);
  color: #ff6b6b;
  border: 1px solid rgba(255, 80, 80, 0.4);
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-remove-custom:hover {
  background: rgba(255, 80, 80, 0.3);
  color: #fff;
}

.quick-preset-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  background: #000;
  border-radius: var(--radius-btn);
}

.custom-placeholder-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: rgba(0, 229, 255, 0.06);
  border: 1px dashed rgba(0, 229, 255, 0.4);
}

.quick-preset-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}

.preset-title-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.quick-preset-info strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.quick-preset-info span {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.25;
  white-space: normal;
}

.preset-selected-tag {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 800;
  background: #00e5ff;
  color: #07090e;
  padding: 0.1rem 0.35rem;
  letter-spacing: 0.06em;
  border-radius: 2px;
  line-height: 1.1;
  vertical-align: middle;
}

.quick-preset-actions {
  margin-top: 0.75rem;
  display: flex;
  justify-content: stretch;
}

.preview-warning-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  background: #121a29;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-btn);
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.15s ease;
}

.preview-warning-btn:hover {
  background: #182438;
  border-color: rgba(0, 229, 255, 0.4);
  color: #00e5ff;
}

.warning-card-thumb {
  width: 100%;
  height: 96px;
  object-fit: cover;
  border: 1px solid var(--card-border);
  margin-bottom: 0.4rem;
  background: #000;
}

.warning-card-rain-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  background: rgba(0, 229, 255, 0.04);
  border: 1px dashed rgba(0, 229, 255, 0.35);
  height: 96px;
  margin-bottom: 0.4rem;
}

/* Bombastic Dog Real Reference Image */
.dog-meme-visual {
  width: 280px;
  max-width: 90vw;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(255, 170, 0, 0.4), 0 8px 30px rgba(0, 0, 0, 0.8);
  border: 2px solid #ffaa00;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.dog-meme-img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  display: block;
}

.dog-text {
  color: #ffdd99;
  text-shadow: 0 0 20px rgba(255, 170, 0, 0.6);
}

/* Computer Monitoring Warning Poster Reference Image */
.monitoring-warning-visual {
  width: 340px;
  max-width: 90vw;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(255, 68, 68, 0.5), 0 8px 30px rgba(0, 0, 0, 0.8);
  border: 2px solid #ff3344;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.monitoring-warning-img {
  width: 100%;
  height: auto;
  max-height: 230px;
  object-fit: contain;
  display: block;
}

.monitoring-text {
  color: #ff4455;
  text-shadow: 0 0 20px rgba(255, 51, 68, 0.7);
}

/* Bombastic Rain Full Stage Container */
.bombastic-rain-stage {
  width: 100vw;
  height: 100vh;
  position: fixed;
  inset: 0;
  z-index: 9998;
}

.bombastic-rain-stage .bombastic-rain-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
