/* v0.33 — Blacklight desk lens, Lost & Found, magnetic tape archive, forensic chips */

.v33-forensic-mount:empty,
.v33-lost-found-mount:not(.has-items) {
  display: none;
}

.v33-forensic-mount:not(:empty) {
  display: block;
  margin: 0.35rem 0 0.5rem;
}

.v33-forensic-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: flex-start;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(120, 200, 255, 0.22);
  background: linear-gradient(135deg, rgba(8, 12, 28, 0.92), rgba(18, 8, 32, 0.88));
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35), inset 0 0 24px rgba(80, 40, 160, 0.12);
}

.v33-forensic-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(200, 220, 255, 0.75);
  margin-bottom: 0.2rem;
}

.v33-uv-control,
.v33-tape-panel {
  flex: 1 1 200px;
  min-width: 0;
}

.v33-forensic-hint {
  display: block;
  font-size: 0.72rem;
  margin-top: 0.25rem;
}

.v33-tape-panel {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 0.75rem;
}

@media (max-width: 720px) {
  .v33-tape-panel {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 0.5rem;
    width: 100%;
  }
}

.v33-tape-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.35rem;
  font-size: 0.82rem;
}

.v33-tape-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(230, 236, 255, 0.88);
}

.v33-tape-active {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.78rem;
  color: #f6d58a;
  animation: v33-tape-blink 1.1s ease-in-out infinite;
}

@keyframes v33-tape-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

.v33-tape-empty {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
}

/* App shell: subtle desk blacklight ambience (guest cards use companion classes) */
#app[data-uv-desk-lens='on'] #frontdesk-panel {
  box-shadow: inset 0 0 0 1px rgba(120, 80, 255, 0.12);
}

#app[data-tape-archive='recording'] #cameras-panel .panel-header h3,
#app[data-tape-archive='recording'] #shift-pressure-label {
  animation: v33-tape-blink 1.4s ease-in-out infinite;
}

/* Guest cards — latent traces when lens on */
.guest-card.v33-blacklight-context {
  position: relative;
}

.guest-card.v33-latent-uv::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 18px rgba(140, 100, 255, 0.18);
  opacity: 0.85;
}

.guest-card.v33-blacklight-context.v33-latent-uv {
  border-color: rgba(160, 120, 255, 0.45);
}

/* Lost & Found */
.v33-lost-found-mount.has-items {
  margin: 0.5rem 0 0.65rem;
}

.v33-lost-found-board {
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.v33-lost-found-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0.6rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(30, 20, 50, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.v33-lost-found-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.45rem 0.5rem 0.55rem;
  max-height: 220px;
  overflow-y: auto;
}

.v33-lost-item {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.45rem 0.5rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.v33-lf-risk {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.35);
}

.v33-lf-risk.risk-ordinary {
  color: rgba(200, 220, 200, 0.9);
}

.v33-lf-risk.risk-suspicious {
  color: #e8c86a;
}

.v33-lf-risk.risk-incriminating {
  color: #ff8a80;
}

.v33-lf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: flex-end;
}

.v33-lf-actions .button {
  font-size: 0.72rem;
  padding: 0.2rem 0.45rem;
}

/* Evidence locker + summary chips */
.v33-evidence-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0.15rem 0 0.2rem;
}

.v33-evidence-chip {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.08rem 0.3rem;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(220, 230, 255, 0.85);
}

.v33-evidence-chip.is-uv-confirmed {
  border-color: rgba(160, 120, 255, 0.55);
  color: #d4c4ff;
  box-shadow: 0 0 8px rgba(140, 100, 255, 0.25);
}

.v33-evidence-chip.is-uv-reactive {
  border-color: rgba(120, 200, 255, 0.35);
  color: #a8d8ff;
}

.v33-evidence-chip.is-tape {
  border-color: rgba(246, 213, 138, 0.45);
  color: #f6d58a;
}

.v33-summary-chip-wrap {
  margin-left: 0.35rem;
  white-space: nowrap;
}

.v33-summary-chip-wrap .v33-evidence-chip {
  font-size: 0.58rem;
  padding: 0.04rem 0.22rem;
}
