/* ============================================
   CHAMAN PAMOLI FILES — FBI INVESTIGATIVE PORTAL
   Shared Styles
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700;800&family=DM+Mono:wght@400;500&family=Playfair+Display:wght@700;900&display=swap');

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

:root {
  --navy:       #0d1b2a;
  --navy2:      #1b2838;
  --navy3:      #243447;
  --red:        #c62828;
  --red2:       #8e0000;
  --gold:       #d4a017;
  --gold2:      #f0c040;
  --cream:      #f5f0e8;
  --paper:      #ede7d7;
  --white:      #ffffff;
  --gray100:    #f8f7f4;
  --gray200:    #e0dcd5;
  --gray300:    #b8b0a5;
  --gray500:    #6b6b6b;
  --gray700:    #3d3d3d;
  --gray900:    #1a1a1a;
  --blue-accent:#1a56db;
  --green-acc:  #16a34a;
  --amber-acc:  #d97706;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--cream);
  color: var(--gray900);
  line-height: 1.6;
  min-height: 100vh;
}

/* ===== FBI HEADER ===== */
.fbi-header {
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.fbi-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 64px;
  gap: 20px;
}
.fbi-seal {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}
.fbi-title-group {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 0;
}
.fbi-title-agency {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.fbi-title-division {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}
.fbi-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.fbi-nav a {
  color: var(--gray300);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 4px;
  transition: all 0.15s;
  letter-spacing: 0.5px;
}
.fbi-nav a:hover, .fbi-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.fbi-nav a.active {
  color: var(--gold);
  background: rgba(212,160,23,0.12);
}

/* ===== FBI FOOTER ===== */
.fbi-footer {
  background: var(--navy);
  border-top: 2px solid var(--navy3);
  color: var(--gray500);
  padding: 32px 24px;
  margin-top: 60px;
  font-size: 12px;
  line-height: 1.8;
}
.fbi-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.fbi-footer a { color: var(--gray300); text-decoration: none; }
.fbi-footer a:hover { color: var(--gold); }
.fbi-footer .copyright { color: var(--gray500); }

/* ===== CASE BANNER ===== */
.case-banner {
  background: var(--gray900);
  color: var(--gray300);
  text-align: center;
  padding: 8px 16px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: 1px solid #333;
  font-family: 'DM Mono', monospace;
}

/* ===== PAGE CONTAINER ===== */
.page-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px;
}

/* ===== WANTED POSTER ===== */
.wanted-section {
  background: var(--navy2);
  border: 3px solid var(--gold);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.wanted-banner {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 14px 20px;
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 6px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--gold);
}
.wanted-banner small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  margin-top: 4px;
  opacity: 0.8;
}
.wanted-content {
  display: flex;
  gap: 32px;
  padding: 32px;
}
.wanted-photo-area {
  flex-shrink: 0;
  width: 280px;
}
.wanted-photo-frame {
  width: 280px;
  height: 340px;
  background: var(--navy3);
  border: 2px solid var(--gray500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}
.wanted-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wanted-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--gray500);
  font-size: 12px;
  gap: 8px;
}
.wanted-photo-placeholder .icon { font-size: 64px; opacity: 0.5; }
.wanted-photo-label {
  font-size: 9px;
  color: var(--gray500);
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.wanted-info {
  flex: 1;
}
.wanted-name {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 4px;
}
.wanted-aliases {
  font-size: 14px;
  color: var(--gold2);
  font-weight: 500;
  margin-bottom: 20px;
}
.wanted-details {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 6px 16px;
  font-size: 13px;
}
.wanted-details dt {
  color: var(--gold);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.wanted-details dd {
  color: var(--gray200);
  margin-bottom: 6px;
}
.wanted-charges {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--navy3);
}
.wanted-charges h3 {
  color: var(--red);
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.wanted-charges ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.wanted-charges li {
  background: rgba(198,40,40,0.15);
  border: 1px solid rgba(198,40,40,0.3);
  color: var(--red);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}
.wanted-warning {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(198,40,40,0.1);
  border: 1px solid rgba(198,40,40,0.3);
  border-left: 4px solid var(--red);
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ===== CASE OVERVIEW SECTION ===== */
.case-overview {
  background: var(--white);
  border: 1px solid var(--gray200);
  border-radius: 4px;
  padding: 28px 32px;
  margin-bottom: 32px;
}
.case-overview h2 {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red);
}
.case-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.stat-card {
  background: var(--gray100);
  border: 1px solid var(--gray200);
  border-radius: 3px;
  padding: 16px;
  text-align: center;
}
.stat-number {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray500);
  margin-top: 6px;
}

/* ===== EVIDENCE ROOM ===== */
.evidence-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.evidence-header h1 {
  font-family: 'Cinzel', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 1px;
}
.evidence-controls {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.evidence-controls input {
  background: var(--white);
  border: 1px solid var(--gray200);
  border-radius: 4px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--gray900);
  width: 220px;
  font-family: 'Inter', sans-serif;
}
.evidence-controls input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,160,23,0.15);
}
.filter-btn-group {
  display: flex;
  gap: 4px;
}
.filter-btn-e {
  background: var(--white);
  border: 1px solid var(--gray200);
  border-radius: 4px;
  padding: 7px 14px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  color: var(--gray700);
  font-family: 'Inter', sans-serif;
}
.filter-btn-e:hover {
  border-color: var(--gold);
  color: var(--navy);
}
.filter-btn-e.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.evidence-count {
  font-size: 12px;
  color: var(--gray500);
  margin-bottom: 16px;
}

/* ===== EVIDENCE LAYOUT (SPLIT VIEW) ===== */
.evidence-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.evidence-list {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.evidence-card {
  background: var(--white);
  border: 1px solid var(--gray200);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
}
.evidence-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}
.evidence-card.selected {
  border-color: var(--navy);
  box-shadow: 0 0 0 2px var(--gold), 0 4px 24px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}
.evidence-card.selected .evidence-header-bar {
  background: rgba(212,160,23,0.08);
}

/* Classification stripe */
.evidence-card .class-stripe {
  height: 3px;
}
.evidence-card .class-stripe.unclassified { background: var(--gray300); }
.evidence-card .class-stripe.confidential { background: var(--blue-accent); }
.evidence-card .class-stripe.top-secret { background: var(--red); }

.evidence-card .class-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 2px;
  z-index: 2;
}
.class-badge.confidential {
  background: rgba(26,86,219,0.12);
  color: var(--blue-accent);
  border: 1px solid rgba(26,86,219,0.3);
}
.class-badge.top-secret {
  background: rgba(198,40,40,0.12);
  color: var(--red);
  border: 1px solid rgba(198,40,40,0.3);
}

.evidence-header-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--gray100);
  border-bottom: 1px solid var(--gray200);
}
.evidence-id {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.5px;
}
.evidence-vibe {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.evidence-vibe.roast { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.evidence-vibe.drama { background: #fefce8; color: #ca8a04; border: 1px solid #fef08a; }
.evidence-vibe.tech { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.evidence-vibe.personal { background: #fdf4ff; color: #c026d3; border: 1px solid #f0abfc; }
.evidence-vibe.funny { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.evidence-vibe.chat { background: #fafafa; color: #6b7280; border: 1px solid #e5e7eb; }

.evidence-group {
  font-size: 9px;
  color: var(--gray500);
  margin-left: auto;
  letter-spacing: 0.3px;
}

.evidence-title {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray900);
  line-height: 1.4;
}

.evidence-preview {
  padding: 0 14px 10px;
  font-size: 11px;
  color: var(--gray500);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.evidence-meta {
  display: flex;
  gap: 8px;
  padding: 6px 14px 10px;
  font-size: 10px;
  color: var(--gray500);
}

/* ===== PREVIEW PANEL (RIGHT SIDE) ===== */
.preview-panel {
  width: 480px;
  flex-shrink: 0;
  position: sticky;
  top: 84px;
  background: var(--white);
  border: 1px solid var(--gray200);
  border-radius: 4px;
  min-height: 400px;
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.preview-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  color: var(--gray500);
}
.preview-placeholder-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.4;
}
.preview-placeholder-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray700);
  margin-bottom: 8px;
}
.preview-placeholder-sub {
  font-size: 12px;
  color: var(--gray500);
}
.preview-content {
  flex: 1;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.preview-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
  flex-shrink: 0;
}
.preview-evidence-id {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 4px;
}
.preview-evidence-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.preview-close {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--gray300);
  font-size: 18px;
  line-height: 1;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.preview-close:hover {
  background: var(--red);
  border-color: var(--red);
  color: white;
}
.preview-chat {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}
.preview-note {
  flex-shrink: 0;
  padding: 12px 16px;
  background: #fefce8;
  border-top: 1px solid #fde68a;
  border-left: 3px solid var(--gold);
  font-size: 12px;
  color: var(--gray700);
  line-height: 1.5;
}
.preview-note strong { color: var(--navy); }

/* ===== INSTAGRAM CHAT BUBBLES ===== */
.insta-chatroom {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 12px;
  max-height: 400px;
  overflow-y: auto;
}
.insta-chatroom .msg-row {
  display: flex;
  margin-bottom: 6px;
  align-items: flex-start;
}
.insta-chatroom .msg-row.pawan { justify-content: flex-start; }
.insta-chatroom .msg-row.other { justify-content: flex-end; }

.insta-chatroom .bubble {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 16px;
  font-size: 12px;
  line-height: 1.45;
  position: relative;
  word-wrap: break-word;
}
.insta-chatroom .msg-row.pawan .bubble {
  background: var(--red);
  color: white;
  border-bottom-left-radius: 4px;
}
.insta-chatroom .msg-row.other .bubble {
  background: white;
  color: var(--gray900);
  border: 1px solid #e0e0e0;
  border-bottom-right-radius: 4px;
}

.insta-chatroom .sender-label {
  font-size: 10px;
  font-weight: 600;
  margin-bottom: 2px;
  opacity: 0.8;
}
.insta-chatroom .time-label {
  font-size: 9px;
  color: var(--gray500);
  margin-top: 3px;
  text-align: right;
}

/* Exhibit note */
.exhibit-note-box {
  margin-top: 10px;
  padding: 10px 14px;
  background: #fefce8;
  border: 1px solid #fde68a;
  border-radius: 4px;
  border-left: 3px solid var(--gold);
  font-size: 11px;
  color: var(--gray700);
  line-height: 1.5;
}
.exhibit-note-box strong { color: var(--navy); }

/* ===== ABOUT PAGE ===== */
.about-header {
  margin-bottom: 32px;
}
.about-header h1 {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.about-header .subtitle {
  font-size: 14px;
  color: var(--gray500);
}
.about-section {
  background: var(--white);
  border: 1px solid var(--gray200);
  border-radius: 4px;
  padding: 28px 32px;
  margin-bottom: 24px;
}
.about-section h2 {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 1px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
}
.about-section p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray700);
  margin-bottom: 12px;
}
.about-section ul {
  list-style: none;
  padding: 0;
}
.about-section li {
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray700);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}
.about-section li::before {
  content: '►';
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 9px;
  top: 8px;
}

/* ===== REDACTED TEXT ===== */
.redacted {
  display: inline-block;
  background: black;
  color: black;
  padding: 0 6px;
  min-width: 60px;
  user-select: none;
  cursor: default;
}

/* ===== SUBMISSIONS PAGE ===== */
.sub-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.sub-gallery-item {
  background: var(--navy2);
  border: 1px solid var(--navy3);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
}
.sub-gallery-item:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.sub-gallery-item img {
  width: 100%;
  display: block;
  border-bottom: 1px solid var(--navy3);
}
.sub-gallery-item.expanded {
  grid-column: 1 / -1;
}
.sub-gallery-item.expanded img {
  max-width: 100%;
  width: auto;
  margin: 0 auto;
  max-height: 80vh;
  object-fit: contain;
}
.sub-gallery-label {
  padding: 10px 14px;
  font-size: 12px;
  color: var(--gray300);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Evidence submission cards */
.evidences-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.evidence-sub-card {
  background: var(--white);
  border: 1px solid var(--gray200);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.15s;
}
.evidence-sub-card:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.evidence-sub-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--gray100);
  border-bottom: 1px solid var(--gray200);
  font-size: 12px;
}
.evidence-sub-source {
  font-weight: 600;
}
.evidence-sub-date {
  color: var(--gray500);
  font-size: 11px;
}
.sub-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: auto;
  text-transform: uppercase;
}
.badge-whatsapp { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.badge-roblox { background: #f3e5f5; color: #7b1fa2; border: 1px solid #ce93d8; }
.badge-doc { background: #e3f2fd; color: #1565c0; border: 1px solid #90caf9; }
.evidence-sub-title {
  padding: 10px 14px 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray900);
}
.evidence-sub-desc {
  padding: 0 14px 10px;
  font-size: 12px;
  color: var(--gray500);
}
.evidence-sub-preview {
  padding: 0 14px 10px;
}
.evidence-sub-preview img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--gray200);
  cursor: pointer;
  transition: 0.15s;
}
.evidence-sub-preview img:hover {
  border-color: var(--gold);
  opacity: 0.9;
}
.ev-file-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--gray100);
  border: 1px solid var(--gray200);
  border-radius: 4px;
  padding: 14px;
}
.ev-file-icon {
  font-size: 32px;
  flex-shrink: 0;
}
.ev-file-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray700);
  word-break: break-all;
}
.ev-file-size {
  font-size: 10px;
  color: var(--gray500);
  margin-left: auto;
  flex-shrink: 0;
}
.evidence-sub-link {
  display: block;
  text-align: center;
  padding: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  background: var(--navy);
  color: var(--gold) !important;
  text-decoration: none !important;
  transition: 0.15s;
}
.evidence-sub-link:hover {
  background: var(--red);
  color: var(--white) !important;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
}
.lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--gray300);
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  transition: 0.15s;
}
.lightbox-close:hover { color: var(--white); }
.lightbox-download {
  background: var(--gold);
  color: var(--navy) !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 10px 24px;
  border-radius: 4px;
  transition: 0.15s;
}
.lightbox-download:hover { background: var(--white); }

/* ===== HAMBURGER NAV TOGGLE ===== */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
  margin-left: auto;
  line-height: 1;
  border-radius: 4px;
  transition: 0.15s;
}
.hamburger:hover {
  background: rgba(255,255,255,0.08);
}
.nav-open .fbi-nav {
  display: flex !important;
}

/* ===== MOBILE INLINE CHAT ===== */
.card-chat-inline {
  background: var(--gray100);
  border: 1px solid var(--gray200);
  border-top: none;
  border-radius: 0 0 4px 4px;
  overflow: hidden;
  margin: -1px 0 8px;
}
.card-chat-inline .inline-chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--navy);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
}
.card-chat-inline .inline-chat-header .preview-evidence-id {
  color: var(--gold);
  opacity: 0.7;
  font-size: 10px;
  font-family: 'DM Mono',monospace;
  flex-shrink: 0;
}
.card-chat-inline .inline-chat-header .preview-evidence-title {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--gray300);
}
.card-chat-inline .inline-chat-header .preview-close {
  background: none;
  border: none;
  color: var(--gray300);
  font-size: 20px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  flex-shrink: 0;
}
.card-chat-inline .inline-chat-header .preview-close:hover {
  color: var(--red);
}
.card-chat-inline .preview-chat {
  max-height: 400px;
  overflow-y: auto;
  padding: 8px;
}
.card-chat-inline .preview-note {
  padding: 10px 12px;
  font-size: 11px;
  color: var(--gray500);
  border-top: 1px solid var(--gray200);
  background: var(--white);
}
.card-chat-inline .preview-note strong {
  color: var(--navy);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hamburger { display: block; }

  .fbi-header-inner { height: auto; min-height: 56px; flex-wrap: wrap; padding: 8px 0; }
  .fbi-nav {
    display: none !important;
    flex: 0 0 100%;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 4px;
  }
  .fbi-nav a {
    padding: 10px 12px;
    font-size: 13px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  .fbi-seal { font-size: 22px; }
  .fbi-title-division { font-size: 13px; }
  .fbi-title-agency { font-size: 9px; }

  .page-wrap { padding: 20px 16px; }

  .case-banner { font-size: 9px; letter-spacing: 1px; padding: 6px 12px; }

  /* WANTED PAGE */
  .wanted-content { flex-direction: column; padding: 16px; }
  .wanted-photo-area { width: 100%; }
  .wanted-photo-frame { width: 100%; height: 220px; }
  .wanted-name { font-size: 24px; letter-spacing: 1px; }
  .wanted-aliases { font-size: 12px; }
  .wanted-details { grid-template-columns: 1fr; font-size: 12px; }
  .wanted-banner { font-size: 14px; padding: 10px 16px; letter-spacing: 3px; }
  .wanted-banner small { font-size: 9px; }
  .wanted-charges ul { gap: 4px; }
  .wanted-charges li { font-size: 10px; padding: 3px 8px; }

  .case-overview { padding: 20px 16px; }
  .case-overview h2 { font-size: 15px; }
  .case-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-card { padding: 12px 8px; }
  .stat-number { font-size: 22px; }

  /* EVIDENCE ROOM */
  .evidence-header { flex-direction: column; align-items: stretch; gap: 10px; }
  .evidence-header h1 { font-size: 20px; }
  .evidence-controls { flex-direction: column; }
  .evidence-controls input { width: 100%; }
  .filter-btn-group { flex-wrap: wrap; }
  .filter-btn-e { font-size: 10px; padding: 6px 10px; }

  .evidence-layout { flex-direction: column; }
  .evidence-list { width: 100%; }
  .evidence-card { }
  .evidence-title { font-size: 12px; }
  .evidence-preview { font-size: 10px; }
  .preview-panel {
    width: 100%;
    position: static;
    max-height: none;
    min-height: 200px;
  }
  .preview-chat { max-height: 350px; }
  .preview-header { padding: 10px 12px; }
  .preview-evidence-title { font-size: 12px; }

  /* SUBMISSIONS PAGE */
  .sub-gallery { grid-template-columns: 1fr; }
  .sub-gallery-label { font-size: 11px; padding: 8px 10px; }
  .about-header h1 { font-size: 20px; }
  .about-section { padding: 20px 16px; }

  .evidence-sub-card { }
  .evidence-sub-title { font-size: 13px; }
  .evidence-sub-desc { font-size: 11px; }
  .evidence-sub-header { font-size: 11px; padding: 8px 10px; }
  .evidence-sub-preview img { max-height: 200px; }

  /* ABOUT PAGE */
  .about-section h2 { font-size: 14px; }
  .about-section p, .about-section li { font-size: 13px; }

  /* FOOTER */
  .fbi-footer-inner { flex-direction: column; gap: 16px; }
  .fbi-footer { padding: 24px 16px; font-size: 11px; }
}

@media (max-width: 480px) {
  .fbi-title-division { font-size: 11px; }
  .wanted-name { font-size: 20px; }
  .wanted-photo-frame { height: 180px; }
  .case-overview h2 { font-size: 13px; }
  .evidence-header h1 { font-size: 17px; }
  .preview-panel { min-height: 150px; }
  .preview-chat { max-height: 280px; }
  .stat-number { font-size: 18px; }
  .about-header h1 { font-size: 17px; }
}

/* ===== CURSOR ===== */
.clickable { cursor: pointer; }

/* ===== PRINT ===== */
@media print {
  .fbi-header, .fbi-footer { display: none; }
  .evidence-card { break-inside: avoid; }
}
