/* ==========================================================================
   HAVENSENSE RESIDENTIAL MONITORING v4.2.1
   Corporate Consumer Security Portal & Diagnostic Mesh Viewer
   "Peace of Mind, Room by Room."
   ========================================================================== */

:root {
  --hs-bg-dark: #070d1e;
  --hs-bg-surface: #0e172f;
  --hs-bg-card: #141f3d;
  --hs-border: #1e2e56;
  --hs-border-hover: #334b80;
  --hs-blue: #2563eb;
  --hs-blue-light: #3b82f6;
  --hs-green: #10b981;
  --hs-green-glow: rgba(16, 185, 129, 0.2);
  --hs-amber: #f59e0b;
  --hs-red: #ef4444;
  --hs-purple: #8b5cf6;
  --hs-text-main: #f1f5f9;
  --hs-text-muted: #94a3b8;
  --hs-text-dim: #64748b;
  --hs-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --hs-font-mono: "SF Mono", Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--hs-bg-dark);
  color: var(--hs-text-main);
  font-family: var(--hs-font-sans);
  min-height: 100vh;
  line-height: 1.4;
  overflow-x: hidden;
}

/* Subtle CRT & Scanline Texture for Camera Screens */
.cam-screen-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.15) 1px,
    transparent 1px,
    transparent 2px
  );
  z-index: 4;
}

/* --------------------------------------------------------------------------
   HEADER & CORPORATE CHROME
   -------------------------------------------------------------------------- */
.hs-header {
  background-color: var(--hs-bg-surface);
  border-bottom: 1px solid var(--hs-border);
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.hs-header-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.hs-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hs-logo-shield {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.hs-logo-shield svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.hs-brand-titles {
  display: flex;
  flex-direction: column;
}

.hs-brand-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hs-brand-tm {
  font-size: 0.65rem;
  color: var(--hs-text-muted);
  font-weight: 500;
}

.hs-brand-slogan {
  font-size: 0.76rem;
  color: var(--hs-text-muted);
  font-style: normal;
  transition: color 0.2s ease;
  user-select: none;
}

/* Glitch Slogan Mutation */
.hs-brand-slogan.glitched {
  color: #ff3366 !important;
  font-family: var(--hs-font-mono);
  letter-spacing: -0.02em;
  animation: textFlicker 0.15s infinite;
}

@keyframes textFlicker {
  0% { opacity: 1; }
  50% { opacity: 0.8; transform: translateX(1px); }
  100% { opacity: 1; transform: translateX(-1px); }
}

.hs-portal-tag {
  background-color: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #60a5fa;
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--hs-font-mono);
  margin-left: 8px;
}

.hs-header-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
}

.hs-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--hs-text-muted);
}

.hs-status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--hs-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--hs-green);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hs-user-chip {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hs-border);
  padding: 5px 12px;
  border-radius: 20px;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--hs-font-mono);
  font-size: 0.72rem;
}

/* --------------------------------------------------------------------------
   SUB-NAV & FILTER TOOLBAR
   -------------------------------------------------------------------------- */
.hs-toolbar {
  background-color: #0b1428;
  border-bottom: 1px solid var(--hs-border);
  padding: 10px 20px;
}

.hs-toolbar-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.hs-filters-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hs-filter-btn {
  background-color: var(--hs-bg-surface);
  border: 1px solid var(--hs-border);
  color: var(--hs-text-muted);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hs-filter-btn:hover {
  background-color: var(--hs-bg-card);
  border-color: var(--hs-border-hover);
  color: var(--hs-text-main);
}

.hs-filter-btn.active {
  background-color: #1e3a8a;
  border-color: #3b82f6;
  color: #fff;
  font-weight: 600;
}

.hs-filter-btn.badge-warn {
  border-color: rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}

.hs-filter-btn.badge-warn.active {
  background-color: rgba(245, 158, 11, 0.2);
  border-color: #f59e0b;
}

.hs-view-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hs-toggle-btn {
  background: none;
  border: 1px solid var(--hs-border);
  color: var(--hs-text-dim);
  font-size: 0.72rem;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--hs-font-mono);
}

.hs-toggle-btn.active {
  color: var(--hs-green);
  border-color: rgba(16, 185, 129, 0.4);
  background-color: rgba(16, 185, 129, 0.08);
}

/* --------------------------------------------------------------------------
   9-CAMERA SURVEILLANCE GRID
   -------------------------------------------------------------------------- */
.hs-grid-wrap {
  max-width: 1600px;
  margin: 20px auto;
  padding: 0 20px;
}

.hs-camera-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 1200px) {
  .hs-camera-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hs-camera-grid {
    grid-template-columns: 1fr;
  }
}

/* Camera Card */
.hs-cam-card {
  background-color: var(--hs-bg-card);
  border: 1px solid var(--hs-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  position: relative;
}

.hs-cam-card:hover {
  transform: translateY(-2px);
  border-color: var(--hs-border-hover);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.hs-cam-card.flagged {
  border-color: rgba(245, 158, 11, 0.45);
}

.hs-cam-card.flagged:hover {
  border-color: var(--hs-amber);
}

.hs-cam-card.intrusion {
  border-color: rgba(239, 68, 68, 0.45);
}

.hs-cam-card.intrusion:hover {
  border-color: var(--hs-red);
}

/* Card Header */
.cam-card-header {
  background-color: var(--hs-bg-surface);
  padding: 8px 12px;
  border-bottom: 1px solid var(--hs-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
}

.cam-title-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cam-name {
  font-weight: 700;
  color: var(--hs-text-main);
  letter-spacing: -0.01em;
}

.cam-location {
  font-family: var(--hs-font-mono);
  font-size: 0.65rem;
  color: var(--hs-text-dim);
}

.cam-pill-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-family: var(--hs-font-mono);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 3px 7px;
  border-radius: 4px;
  color: var(--hs-text-muted);
}

.cam-pill-status.live {
  color: #4ade80;
}

.cam-live-indicator {
  width: 6px;
  height: 6px;
  background-color: #ef4444;
  border-radius: 50%;
  animation: pulseDot 1.5s infinite ease-in-out;
}

/* Viewport / Video Area */
.cam-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #030712;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cam-visual-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Live Corner Telemetry HUD */
.cam-hud-top-left {
  position: absolute;
  top: 8px;
  left: 8px;
  font-family: var(--hs-font-mono);
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.6);
  padding: 2px 6px;
  border-radius: 3px;
  z-index: 5;
  pointer-events: none;
}

.cam-hud-top-right {
  position: absolute;
  top: 8px;
  right: 8px;
  font-family: var(--hs-font-mono);
  font-size: 0.64rem;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.6);
  padding: 2px 6px;
  border-radius: 3px;
  z-index: 5;
  pointer-events: none;
}

/* Motion Bounding Box */
.motion-bounding-box {
  position: absolute;
  border: 1.5px solid var(--hs-green);
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.4);
  pointer-events: none;
  z-index: 6;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: all 0.3s ease;
}

.motion-bounding-box.flickering {
  border-color: var(--hs-amber);
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.5);
  animation: boxGlitch 0.25s infinite;
}

@keyframes boxGlitch {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.02); opacity: 0.8; }
  100% { transform: scale(0.99); opacity: 1; }
}

.motion-target-label {
  position: absolute;
  top: -16px;
  left: -1px;
  background-color: var(--hs-green);
  color: #000;
  font-family: var(--hs-font-mono);
  font-size: 0.55rem;
  font-weight: 700;
  padding: 1px 4px;
  white-space: nowrap;
  border-radius: 2px 2px 0 0;
}

.motion-bounding-box.flickering .motion-target-label {
  background-color: var(--hs-amber);
}

/* Card Footer / Status Strip */
.cam-card-footer {
  background-color: var(--hs-bg-surface);
  border-top: 1px solid var(--hs-border);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
}

.cam-event-badge {
  font-family: var(--hs-font-mono);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cam-event-badge.nominal {
  background-color: rgba(16, 185, 129, 0.12);
  color: #34d399;
}

.cam-event-badge.warning {
  background-color: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.cam-event-badge.critical {
  background-color: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.cam-inspect-btn {
  background: none;
  border: 1px solid var(--hs-border);
  color: var(--hs-text-muted);
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.65rem;
  transition: all 0.2s;
}

.hs-cam-card:hover .cam-inspect-btn {
  background-color: var(--hs-blue);
  border-color: var(--hs-blue);
  color: #fff;
}

/* --------------------------------------------------------------------------
   FOOTER NOTICE STRIP
   -------------------------------------------------------------------------- */
.hs-footer-strip {
  max-width: 1600px;
  margin: 30px auto 40px;
  padding: 0 20px;
}

.hs-notice-box {
  background-color: var(--hs-bg-surface);
  border: 1px solid var(--hs-border);
  border-left: 3px solid #3b82f6;
  border-radius: 6px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.74rem;
  color: var(--hs-text-muted);
}

.hs-notice-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hs-notice-right {
  font-family: var(--hs-font-mono);
  font-size: 0.68rem;
  color: var(--hs-text-dim);
}

/* --------------------------------------------------------------------------
   INTERACTIVE FEED INSPECTOR MODAL
   -------------------------------------------------------------------------- */
.hs-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hs-modal-backdrop.active {
  display: flex;
}

.hs-modal-window {
  background-color: var(--hs-bg-surface);
  border: 1px solid var(--hs-border);
  border-radius: 12px;
  width: 100%;
  max-width: 980px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
}

.hs-modal-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--hs-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #0b1428;
}

.hs-modal-title-box h3 {
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hs-modal-title-box p {
  font-size: 0.75rem;
  color: var(--hs-text-muted);
  font-family: var(--hs-font-mono);
}

.hs-modal-close-btn {
  background: none;
  border: 1px solid var(--hs-border);
  color: var(--hs-text-muted);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.hs-modal-close-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hs-modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hs-modal-screen-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--hs-border);
}

.hs-modal-screen-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hs-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 640px) {
  .hs-telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hs-tele-item {
  background-color: var(--hs-bg-card);
  border: 1px solid var(--hs-border);
  border-radius: 6px;
  padding: 10px 14px;
}

.hs-tele-label {
  font-size: 0.65rem;
  color: var(--hs-text-dim);
  font-family: var(--hs-font-mono);
  margin-bottom: 4px;
}

.hs-tele-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--hs-text-main);
  font-family: var(--hs-font-mono);
}

/* Scrubbable Timeline */
.hs-timeline-box {
  background-color: var(--hs-bg-card);
  border: 1px solid var(--hs-border);
  border-radius: 6px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hs-timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--hs-text-muted);
}

.hs-timeline-bar {
  width: 100%;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  position: relative;
  cursor: pointer;
}

.hs-timeline-progress {
  height: 100%;
  width: 72%;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  border-radius: 5px;
}

.hs-timeline-marker {
  position: absolute;
  top: -3px;
  width: 4px;
  height: 16px;
  background-color: #ef4444;
  border-radius: 2px;
}

/* Audio Player Toggle */
.hs-audio-toggle-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hs-border);
  border-radius: 6px;
}

.hs-audio-btn {
  background-color: var(--hs-bg-card);
  border: 1px solid var(--hs-border);
  color: var(--hs-text-main);
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.76rem;
  font-family: var(--hs-font-mono);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.hs-audio-btn.active {
  background-color: rgba(16, 185, 129, 0.2);
  border-color: var(--hs-green);
  color: var(--hs-green);
}

/* Clearances / Intrusion Prompt in Modal */
.hs-declassify-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(139, 92, 246, 0.15));
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.hs-declassify-info h4 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hs-declassify-info p {
  font-size: 0.78rem;
  color: var(--hs-text-muted);
}

.hs-btn-declassify {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
}

.hs-btn-declassify:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.6);
}

/* =========================================================================
   CCH MOTHERSHIP INTERCEPT STRIP & LEVEL 3 REDACTION STYLING
   ========================================================================= */

.cch-intercept-banner {
  background: #0d0414;
  border-bottom: 1px solid rgba(255, 42, 133, 0.4);
  padding: 8px 20px;
  position: relative;
  z-index: 60;
  box-shadow: 0 2px 14px rgba(255, 42, 133, 0.2);
}

.cch-intercept-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.cch-intercept-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--hs-font-mono);
  font-size: 0.78rem;
  color: #cbd5e1;
}

.cch-pulse-dot {
  color: #ff2a85;
  animation: pulseDot 1.5s infinite;
}

.cch-tag {
  color: #ff2a85;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.cch-desc {
  color: #94a3b8;
}

.cch-return-btn {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: rgba(255, 42, 133, 0.15);
  border: 1px solid rgba(255, 42, 133, 0.5);
  color: #ff80bf;
  text-decoration: none;
  font-family: var(--hs-font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.cch-return-btn:hover {
  background: #ff2a85;
  color: #fff;
  border-color: #ff2a85;
  box-shadow: 0 0 14px rgba(255, 42, 133, 0.6);
}

/* 5s Teaser Countdown Badge */
.hs-teaser-timer {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.82);
  border: 1px solid #fbbf24;
  color: #fbbf24;
  font-family: var(--hs-font-mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Modal Redacted Overlay */
.hs-redacted-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 13, 30, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  z-index: 12;
  border: 2px solid rgba(239, 68, 68, 0.6);
  animation: fadeIn 0.3s ease;
}

.redacted-shield-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.redacted-code {
  font-family: var(--hs-font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: #f87171;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.redacted-title {
  font-family: var(--hs-font-sans);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.redacted-text {
  max-width: 440px;
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 18px;
}

.btn-clearance-bridge {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  background: linear-gradient(135deg, #ff2a85, #e11d48);
  color: #fff;
  text-decoration: none;
  font-family: var(--hs-font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(255, 42, 133, 0.4);
  transition: all 0.2s ease;
}

.btn-clearance-bridge:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(255, 42, 133, 0.7);
}

/* =========================================================================
   ROUGHED-UP HIJACKED SURVEILLANCE & CANVA ASSET READINESS
   ========================================================================= */

/* Responsive 16:9 Canva Video Viewport Support */
.cam-viewport {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background-color: #020617;
}

.cam-visual-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Tracking Jitter Sweep */
.hs-tracking-jitter {
  position: absolute;
  left: 0;
  right: 0;
  height: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 42, 133, 0.14), transparent);
  pointer-events: none;
  z-index: 5;
  animation: trackingSweep 8s infinite linear;
}

@keyframes trackingSweep {
  0% { top: -20px; opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { top: 100%; opacity: 0; }
}

/* Sharpie Header Graffiti */
.hs-sharpie-tag {
  font-family: 'Permanent Marker', cursive, sans-serif;
  color: #ff2a85;
  font-size: 0.82rem;
  transform: rotate(-3deg);
  display: inline-block;
  margin-left: 10px;
  text-shadow: 0 0 8px rgba(255, 42, 133, 0.8);
}

.hs-sharpie-arrow {
  font-family: 'Permanent Marker', cursive, sans-serif;
  color: #39ff14;
  font-size: 0.76rem;
  margin-left: 6px;
  transform: rotate(2deg);
  display: inline-block;
  text-shadow: 0 0 8px rgba(57, 255, 20, 0.8);
}

/* Lens Taped Notes */
.hs-lens-tape {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(254, 240, 138, 0.9);
  color: #000;
  font-family: var(--hs-font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
  transform: rotate(-2.5deg);
  z-index: 6;
  box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  border: 1px dashed rgba(0, 0, 0, 0.4);
}

/* Cam 05 Post-it Note */
.hs-postit-note {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #ff5eaa;
  color: #000;
  font-family: 'Permanent Marker', cursive, sans-serif;
  font-size: 0.68rem;
  line-height: 1.3;
  padding: 8px 12px;
  width: 145px;
  transform: rotate(3deg);
  z-index: 7;
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  border-radius: 2px;
}

.hs-postit-note::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 35%;
  width: 32px;
  height: 10px;
  background: rgba(255, 255, 255, 0.45);
  transform: rotate(-1deg);
}

/* Grease Pencil Circles & Notes */
.hs-grease-ring {
  position: absolute;
  border: 2px dashed #ef4444;
  border-radius: 50%;
  pointer-events: none;
  z-index: 6;
  animation: greasePulse 2s infinite ease-in-out;
}

.hs-grease-note {
  position: absolute;
  font-family: var(--hs-font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: #ef4444;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(239, 68, 68, 0.5);
  padding: 2px 6px;
  border-radius: 2px;
  z-index: 6;
  pointer-events: none;
  letter-spacing: 0.05em;
}

@keyframes greasePulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

/* Hot-Pink Spray Paint Tag on Cam 09 */
.hs-spray-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-family: 'Permanent Marker', cursive, sans-serif;
  font-size: 1.15rem;
  color: #ff2a85;
  transform: rotate(-10deg);
  text-shadow: 0 0 10px #ff2a85, 0 0 20px #ff2a85;
  opacity: 0.9;
  z-index: 6;
  pointer-events: none;
}


