:root {
  --bg-deep: #030508;
  --bg-card: rgba(10, 14, 22, 0.75);
  --bg-card-hover: rgba(15, 20, 32, 0.9);
  --bg-owner: rgba(10, 24, 20, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(0, 243, 255, 0.35);
  --border-owner: rgba(0, 255, 136, 0.4);
  --cyan-bright: #00f3ff;
  --cyan-glow: rgba(0, 243, 255, 0.5);
  --pink-neon: #ff0055;
  --green-neon: #00ff88;
  --amber-neon: #ffb700;
  --text-pure: #ffffff;
  --text-high: #e2e8f4;
  --text-muted: #79879c;
  --text-dark: #3a4556;
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Space Grotesk', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --shadow-cyber: 0 10px 40px -10px rgba(0, 0, 0, 0.9);
}

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

body {
  background-color: var(--bg-deep);
  color: var(--text-high);
  font-family: var(--font-body);
  min-height: 100vh;
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
}

/* Visibility */
.desktop-only { display: flex; }
.mobile-only { display: none !important; }

body.is-mobile .desktop-only { display: none !important; }
body.is-mobile .mobile-only { display: flex !important; }

/* Ambient Lighting Orbs */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(140px);
  opacity: 0.12;
}

.orb-1 {
  width: 600px;
  height: 600px;
  top: -150px;
  left: 10%;
  background: radial-gradient(circle, var(--cyan-bright), transparent);
}

.orb-2 {
  width: 550px;
  height: 550px;
  bottom: 5%;
  right: 5%;
  background: radial-gradient(circle, var(--pink-neon), transparent);
}

.orb-3 {
  width: 400px;
  height: 400px;
  top: 45%;
  left: 45%;
  background: radial-gradient(circle, #7000ff, transparent);
  opacity: 0.08;
}

.grid-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
}

/* Top Classified Ticker */
.live-ticker-wrap {
  position: relative;
  z-index: 10;
  background: rgba(3, 5, 8, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 5px 0;
  overflow: hidden;
  white-space: nowrap;
}

.live-ticker-inner {
  display: inline-flex;
  gap: 32px;
  animation: tickerScroll 24s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.neon-blink {
  color: var(--green-neon);
  animation: blinkDot 1.4s infinite;
}

@keyframes blinkDot {
  0%, 100% { opacity: 1; text-shadow: 0 0 6px var(--green-neon); }
  50% { opacity: 0.2; }
}

/* Container */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Floating Island Header */
.navbar-wrapper {
  position: sticky;
  top: 12px;
  z-index: 100;
  padding: 0 20px;
  max-width: 1220px;
  margin: 0 auto;
}

.navbar-island {
  background: rgba(8, 12, 18, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 243, 255, 0.06);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.brand-badge-ring {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(0, 243, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 243, 255, 0.05);
}

.brand-radar-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan-bright);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan-bright);
}

.brand-title {
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #fff;
  display: flex;
  align-items: center;
}

.brand-dot { color: var(--cyan-bright); }
.brand-accent {
  color: var(--cyan-bright);
  text-shadow: 0 0 14px var(--cyan-glow);
}

/* Header Status Group */
.header-status-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stream-status-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.25);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green-neon);
}

.pulse-ring {
  width: 7px;
  height: 7px;
  background: var(--green-neon);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green-neon);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.4; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.4; }
}

.status-timer {
  color: var(--text-muted);
  font-weight: 500;
}

/* Admin Toggle Button */
.admin-badge-btn {
  background: rgba(255, 183, 0, 0.08);
  border: 1px solid rgba(255, 183, 0, 0.3);
  color: var(--amber-neon);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.admin-badge-btn:hover {
  background: rgba(255, 183, 0, 0.18);
  box-shadow: 0 0 14px rgba(255, 183, 0, 0.3);
}

.admin-badge-btn.is-admin-active {
  background: linear-gradient(135deg, rgba(255, 183, 0, 0.25), rgba(255, 85, 0, 0.25));
  border-color: var(--amber-neon);
  color: #fff;
  box-shadow: 0 0 16px rgba(255, 183, 0, 0.4);
}

/* Drop Leak Button */
.btn-drop-glow {
  background: linear-gradient(135deg, var(--cyan-bright), #0077ff);
  color: #030810;
  border: none;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-drop-glow:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 30px rgba(0, 243, 255, 0.75);
}

.btn-drop-glow:active {
  transform: translateY(0);
}

/* Feed Controls Bar */
.feed-control-bar {
  margin: 32px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.search-box-cyber {
  position: relative;
  flex: 1;
  min-width: 280px;
  max-width: 520px;
}

.search-box-cyber .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-box-cyber input {
  width: 100%;
  background: rgba(12, 16, 25, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  padding: 12px 42px 12px 46px;
  border-radius: var(--radius-pill);
  color: var(--text-pure);
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.search-box-cyber input:focus {
  border-color: var(--cyan-bright);
  box-shadow: 0 0 18px rgba(0, 243, 255, 0.2);
}

.search-kbd {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  pointer-events: none;
}

.clear-search-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  display: none;
}

/* Feed Metrics Chip */
.feed-metrics-chip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 18px;
  background: rgba(12, 16, 25, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.metric-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.metric-val.metric-owner {
  color: var(--green-neon);
}

.metric-title {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.metric-sep {
  width: 1px;
  height: 16px;
  background: var(--border-subtle);
}

.btn-force-sync {
  background: none;
  border: none;
  color: var(--cyan-bright);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.btn-force-sync:hover {
  opacity: 1;
}

/* Leaks Feed Grid */
.leaks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
  margin-bottom: 70px;
}

/* Card */
.leak-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-cyber);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  cursor: pointer;
  animation: cardIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

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

.leak-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 36px -10px rgba(0, 243, 255, 0.25);
}

.leak-card.is-owner-card {
  background: var(--bg-owner);
  border-color: var(--border-owner);
}

.leak-card.is-admin-view {
  border-color: rgba(255, 183, 0, 0.35);
}

.leak-card-header {
  padding: 16px 18px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.author-avatar-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar-disc {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 243, 255, 0.2), rgba(255, 0, 85, 0.2));
  border: 1px solid rgba(0, 243, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--cyan-bright);
}

.author-name-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-pure);
  letter-spacing: 0.3px;
}

.creator-pill {
  background: rgba(0, 255, 136, 0.15);
  color: var(--green-neon);
  border: 1px solid rgba(0, 255, 136, 0.4);
  font-size: 0.65rem;
  font-weight: 800;
  font-family: var(--font-mono);
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.5px;
}

.admin-pill {
  background: rgba(255, 183, 0, 0.15);
  color: var(--amber-neon);
  border: 1px solid rgba(255, 183, 0, 0.4);
  font-size: 0.65rem;
  font-weight: 800;
  font-family: var(--font-mono);
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.5px;
}

.btn-card-delete {
  background: rgba(255, 0, 85, 0.12);
  color: var(--pink-neon);
  border: 1px solid rgba(255, 0, 85, 0.35);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 800;
  font-family: var(--font-mono);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.btn-card-delete:hover {
  background: var(--pink-neon);
  color: #fff;
  box-shadow: 0 0 14px rgba(255, 0, 85, 0.6);
}

/* Card Body */
.leak-card-body {
  padding: 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.leak-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
  word-break: break-word;
}

.leak-text {
  color: #b0bfd6;
  font-size: 0.92rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Image Attachment Frame */
.leak-media-frame {
  position: relative;
  width: 100%;
  height: 220px;
  background: #020406;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.leak-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.leak-media-frame:hover img {
  transform: scale(1.04);
}

.media-hover-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  background: linear-gradient(transparent, rgba(2, 4, 6, 0.95));
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Card Footer */
.leak-card-footer {
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6, 8, 12, 0.5);
}

.leak-time {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.card-actions-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-card-action {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 5px 11px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-mono);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.btn-card-action:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-pure);
}

.btn-card-action.is-upvoted {
  background: rgba(255, 0, 85, 0.15);
  border-color: var(--pink-neon);
  color: var(--pink-neon);
}

/* True Fullscreen Detail View Overlay */
.fullscreen-leak-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 5, 9, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: fadeInFullscreen 0.25s ease;
}

@keyframes fadeInFullscreen {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.fullscreen-leak-topbar {
  flex-shrink: 0;
  background: rgba(6, 9, 15, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 24px;
  z-index: 10;
}

.fullscreen-topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.btn-fullscreen-back {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-pure);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-fullscreen-back:hover {
  background: rgba(0, 243, 255, 0.15);
  border-color: var(--cyan-bright);
  color: var(--cyan-bright);
}

.fullscreen-brand-badge {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--cyan-bright);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 243, 255, 0.08);
  border: 1px solid rgba(0, 243, 255, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.btn-fullscreen-close-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
}

.btn-fullscreen-close-circle:hover {
  background: rgba(255, 0, 85, 0.2);
  border-color: var(--pink-neon);
  color: var(--pink-neon);
}

.fullscreen-leak-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 30px 20px 80px;
  -webkit-overflow-scrolling: touch;
}

.fullscreen-leak-content-wrap {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.detail-fullscreen-title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 900;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.detail-image-box {
  position: relative;
  width: 100%;
  max-height: 520px;
  background: #020406;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 243, 255, 0.35);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 243, 255, 0.15);
  cursor: pointer;
}

.detail-image-box img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  display: block;
}

.detail-img-tap-hint {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  padding: 10px 16px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--cyan-bright);
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-text-content {
  font-size: 1.12rem;
  line-height: 1.8;
  color: #e2e8f4;
  white-space: pre-wrap;
  word-break: break-word;
  background: rgba(8, 12, 18, 0.75);
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.custom-share-box {
  background: rgba(0, 243, 255, 0.07);
  border: 1px solid rgba(0, 243, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 0 25px rgba(0, 243, 255, 0.08);
}

.custom-share-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--cyan-bright);
  letter-spacing: 0.5px;
}

.custom-share-row {
  display: flex;
  gap: 10px;
}

.share-url-field {
  flex: 1;
  background: rgba(3, 5, 8, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  outline: none;
}

.btn-copy-share {
  background: linear-gradient(135deg, var(--cyan-bright), #0077ff);
  color: #030810;
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-copy-share:hover { filter: brightness(1.15); transform: translateY(-1px); }

.detail-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 8px;
}

/* Empty State */
.empty-state-cyber {
  text-align: center;
  padding: 70px 20px;
  background: rgba(10, 14, 22, 0.6);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 520px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cyber-scanner-circle {
  position: relative;
  width: 90px;
  height: 90px;
  border: 2px solid rgba(0, 243, 255, 0.2);
  border-radius: 50%;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.scanner-sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: conic-gradient(from 0deg, rgba(0, 243, 255, 0.45) 0deg, transparent 65deg);
  border-radius: 50%;
  animation: sweepRotate 2.5s linear infinite;
}

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

.scanner-core {
  font-size: 2rem;
  position: relative;
  z-index: 2;
  color: var(--cyan-bright);
}

.empty-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.empty-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.hidden { display: none !important; }

/* Modals */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(2, 4, 7, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background: #090d14;
  border: 1px solid var(--border-hover);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 40px rgba(0, 243, 255, 0.15);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
}

.admin-modal-card {
  max-width: 480px !important;
  border-color: rgba(255, 183, 0, 0.4) !important;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 40px rgba(255, 183, 0, 0.2) !important;
}

.delete-modal-card {
  max-width: 500px !important;
  border-color: rgba(255, 0, 85, 0.45) !important;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 50px rgba(255, 0, 85, 0.25) !important;
}

.delete-confirm-text {
  color: var(--text-high);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.delete-target-preview {
  background: rgba(4, 6, 10, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--pink-neon);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin: 10px 0;
}

.delete-target-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.delete-target-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  word-break: break-word;
}

.modal-drag-indicator {
  width: 44px;
  height: 5px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  margin: 0 auto 16px;
}

.modal-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
}

.header-tag-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sub-badge {
  font-size: 0.65rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--cyan-bright);
  letter-spacing: 1px;
}

.modal-heading {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-pure);
}

.btn-close-modal {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.btn-close-modal:hover {
  color: var(--pink-neon);
}

/* Form */
.leak-input-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #94a3b8;
  font-family: var(--font-mono);
}

.accent-star { color: var(--pink-neon); }

input[type="text"], input[type="password"], textarea {
  background: rgba(4, 6, 10, 0.9);
  border: 1px solid var(--border-subtle);
  color: var(--text-pure);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
  border-color: var(--cyan-bright);
  box-shadow: 0 0 14px rgba(0, 243, 255, 0.25);
}

/* Dropzone */
.cyber-dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
  background: rgba(4, 6, 10, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
}

.cyber-dropzone:hover, .cyber-dropzone.drag-over {
  border-color: var(--cyan-bright);
  background: rgba(0, 243, 255, 0.05);
}

.hidden-file-input { display: none; }

.dropzone-icon-box {
  width: 46px;
  height: 46px;
  background: rgba(0, 243, 255, 0.1);
  color: var(--cyan-bright);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.dropzone-primary-txt { font-size: 0.9rem; }
.dropzone-secondary-txt { font-size: 0.75rem; color: var(--text-muted); margin-top: 3px; }

kbd {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 5px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.dropzone-preview-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.dropzone-preview-view img {
  max-width: 100%;
  max-height: 220px;
  border-radius: var(--radius-md);
  object-fit: contain;
  border: 1px solid var(--border-subtle);
}

.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.btn-remove-evidence {
  background: rgba(255, 0, 85, 0.15);
  border: 1px solid rgba(255, 0, 85, 0.4);
  color: var(--pink-neon);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 800;
  font-family: var(--font-mono);
  cursor: pointer;
}

.creator-lock-notice {
  background: rgba(0, 243, 255, 0.06);
  border: 1px solid rgba(0, 243, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: #b5c7dc;
}

.creator-lock-notice svg {
  color: var(--cyan-bright);
  flex-shrink: 0;
}

.modal-btn-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

.btn-cancel-flat {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-high);
  border: 1px solid var(--border-subtle);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cancel-flat:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-danger-glow {
  background: linear-gradient(135deg, #ff0055, #cc0044);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 25px rgba(255, 0, 85, 0.6);
  transition: all 0.2s ease;
}

.btn-danger-glow:hover {
  background: linear-gradient(135deg, #ff2277, #e6004c);
  box-shadow: 0 0 35px rgba(255, 0, 85, 0.85);
  transform: translateY(-1px);
}

.btn-danger-glow:active {
  transform: scale(0.96);
}

/* Lightbox Modal */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-close-btn {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 2.5rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}

.lightbox-inner {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-inner img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.95);
}

.lightbox-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.lightbox-caption-txt {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

.lightbox-share-btn {
  background: rgba(0, 243, 255, 0.15);
  border: 1px solid var(--cyan-bright);
  color: var(--cyan-bright);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

/* Toast */
.toast-tray {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #0d121c;
  border: 1px solid var(--cyan-bright);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 18px rgba(0, 243, 255, 0.25);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 0.85rem;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.3s ease;
  min-width: 260px;
}

.toast.toast-error { border-color: var(--pink-neon); }
.toast.toast-success { border-color: var(--green-neon); }

@keyframes toastIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* --- MOBILE SPECIFICS --- */
@media (max-width: 768px) {
  body {
    padding-bottom: 90px;
  }

  .desktop-only { display: none !important; }
  .mobile-only { display: flex !important; }

  .navbar-wrapper {
    top: 8px;
    padding: 0 14px;
  }

  .navbar-island {
    padding: 8px 16px;
  }

  .brand-title {
    font-size: 1.3rem;
  }

  .container {
    padding: 0 14px;
  }

  .feed-control-bar {
    margin: 20px 0 16px;
    gap: 12px;
  }

  .search-box-cyber {
    max-width: 100%;
    width: 100%;
  }

  .feed-metrics-chip {
    width: 100%;
    justify-content: space-between;
    padding: 8px 14px;
  }

  .leaks-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .toast-tray {
    bottom: 84px;
    right: 14px;
    left: 14px;
  }

  .toast {
    min-width: unset;
    width: 100%;
  }

  /* Mobile Bottom Navigation Bar */
  .mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 68px;
    background: rgba(6, 9, 15, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-top: 1px solid var(--border-hover);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 16px;
    padding-bottom: env(safe-area-inset-bottom);
    z-index: 200;
  }

  .mobile-nav-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 0.68rem;
    font-family: var(--font-mono);
    font-weight: 700;
    cursor: pointer;
    flex: 1;
  }

  .mobile-nav-btn:active {
    color: var(--cyan-bright);
  }

  .mobile-nav-drop {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    margin-top: -24px;
    flex: 1;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--cyan-bright);
  }

  .drop-circle-glow {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--cyan-bright), #0077ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.7);
  }

  .mobile-nav-drop:active .drop-circle-glow {
    transform: scale(0.92);
  }

  /* Bottom sheet modal on phone */
  .modal-backdrop {
    padding: 0;
    align-items: flex-end;
  }

  .modal-card {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    max-height: 85vh;
    padding: 16px 20px 30px;
    animation: slideUpSheet 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes slideUpSheet {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }
}
