:root {
  --bg-deep: #030508;
  --bg-card: rgba(12, 16, 26, 0.75);
  --bg-card-hover: rgba(16, 22, 36, 0.9);
  --bg-owner: rgba(10, 26, 20, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 243, 255, 0.4);
  --border-owner: rgba(0, 255, 136, 0.45);
  --cyan-bright: #00f3ff;
  --cyan-glow: rgba(0, 243, 255, 0.5);
  --pink-neon: #ff0055;
  --green-neon: #00ff88;
  --amber-neon: #ffb700;
  --purple-neon: #9d4edd;
  --text-pure: #ffffff;
  --text-high: #e2e8f4;
  --text-muted: #8896ab;
  --text-dark: #3a4556;
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Space Grotesk', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  --shadow-cyber: 0 12px 40px -10px rgba(0, 0, 0, 0.95);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-high);
  font-family: var(--font-body);
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
  touch-action: pan-y;
  overscroll-behavior-x: none;
}

/* Custom Cyber Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: rgba(3, 5, 8, 0.8);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 243, 255, 0.25);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 243, 255, 0.15);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--cyan-bright);
  box-shadow: 0 0 10px var(--cyan-bright);
}

img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

/* 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 with Subtle Breathing Animation */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(140px);
  opacity: 0.18;
  animation: orbDrift 14s ease-in-out infinite alternate;
}

@keyframes orbDrift {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.1) translate(20px, -15px); }
  100% { transform: scale(0.95) translate(-15px, 20px); }
}

.orb-1 {
  width: 650px;
  height: 650px;
  top: -160px;
  left: 8%;
  background: radial-gradient(circle, var(--cyan-bright), transparent);
  animation-duration: 18s;
}

.orb-2 {
  width: 580px;
  height: 580px;
  bottom: 5%;
  right: 5%;
  background: radial-gradient(circle, var(--pink-neon), transparent);
  animation-duration: 22s;
  animation-delay: -5s;
}

.orb-3 {
  width: 480px;
  height: 480px;
  top: 40%;
  left: 35%;
  background: radial-gradient(circle, var(--purple-neon), transparent);
  opacity: 0.12;
  animation-duration: 25s;
  animation-delay: -10s;
}

.grid-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Floating Island Header */
.navbar-wrapper {
  position: sticky;
  top: 14px;
  z-index: 100;
  padding: 0 20px;
  max-width: 1240px;
  margin: 0 auto;
}

.navbar-island {
  background: rgba(10, 14, 24, 0.82);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid rgba(0, 243, 255, 0.18);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 24px rgba(0, 243, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-island:hover {
  border-color: rgba(0, 243, 255, 0.35);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 32px rgba(0, 243, 255, 0.15);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-badge-ring {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(0, 243, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 243, 255, 0.08);
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.brand-radar-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan-bright);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan-bright);
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.brand-glitch {
  background: linear-gradient(180deg, #ffffff 30%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-dot { color: var(--cyan-bright); }
.brand-accent {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--cyan-bright);
  letter-spacing: 0.5px;
  margin-left: 2px;
}

/* Header Status Group */
.header-status-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stream-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  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: 800;
  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: blinkDot 1.4s infinite;
}

@keyframes blinkDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.85); }
}

.status-timer {
  color: var(--text-muted);
  font-size: 0.68rem;
}

.admin-badge-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-high);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.admin-badge-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.admin-badge-btn.is-admin-active {
  background: rgba(255, 183, 0, 0.15);
  border-color: var(--amber-neon);
  color: var(--amber-neon);
}

.btn-chat-nav {
  background: rgba(0, 243, 255, 0.08);
  border: 1px solid rgba(0, 243, 255, 0.35);
  color: var(--cyan-bright);
  padding: 10px 18px;
  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 16px rgba(0, 243, 255, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-chat-nav:hover {
  background: rgba(0, 243, 255, 0.18);
  border-color: var(--cyan-bright);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(0, 243, 255, 0.4);
}

.btn-drop-glow {
  background: linear-gradient(135deg, var(--cyan-bright) 0%, #0077ff 60%, #9d4edd 100%);
  color: #02050b;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0, 243, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-drop-glow:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(0, 243, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  filter: brightness(1.12);
}

.btn-drop-glow:active {
  transform: scale(0.97);
}

/* Feed Control Bar */
.feed-control-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 32px 0 28px;
  gap: 16px;
  flex-wrap: wrap;
}

.search-box-cyber {
  position: relative;
  flex: 1;
  max-width: 480px;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 16px;
  color: var(--cyan-bright);
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.search-box-cyber:focus-within .search-icon {
  opacity: 1;
  transform: scale(1.1);
}

.search-box-cyber input {
  width: 100%;
  background: rgba(10, 15, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-pure);
  padding: 13px 44px 13px 46px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.94rem;
  outline: none;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-box-cyber input:focus {
  border-color: var(--cyan-bright);
  box-shadow: 0 0 28px rgba(0, 243, 255, 0.35), inset 0 0 12px rgba(0, 243, 255, 0.1);
  background: rgba(12, 18, 30, 0.95);
}

.search-kbd {
  position: absolute;
  right: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-muted);
  padding: 3px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.clear-search-btn {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  display: none;
  transition: color 0.15s;
}

.clear-search-btn:hover { color: #fff; }

.feed-metrics-chip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 9px 22px;
  background: rgba(10, 15, 26, 0.82);
  border: 1px solid rgba(0, 243, 255, 0.15);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.metric-val {
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.metric-val.metric-owner { color: var(--green-neon); text-shadow: 0 0 10px rgba(0, 255, 136, 0.4); }

.metric-title {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.6px;
}

.metric-sep {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.12);
}

.btn-force-sync {
  background: none;
  border: none;
  color: var(--cyan-bright);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  opacity: 0.88;
  transition: all 0.2s ease;
}

.btn-force-sync:hover {
  opacity: 1;
  transform: rotate(30deg);
  text-shadow: 0 0 8px var(--cyan-bright);
}

/* Leaks Feed Grid */
.leaks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
  margin-bottom: 75px;
}

/* Card */
.leak-card {
  background: linear-gradient(180deg, rgba(14, 20, 32, 0.78) 0%, rgba(8, 12, 20, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
  animation: cardIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.leak-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.4), transparent);
  pointer-events: none;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.leak-card:hover {
  transform: translateY(-6px) scale(1.008);
  border-color: rgba(0, 243, 255, 0.55);
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.95), 0 0 30px rgba(0, 243, 255, 0.22);
}

.leak-card.is-my-leak {
  border-color: rgba(0, 255, 136, 0.4);
  background: linear-gradient(180deg, rgba(12, 30, 24, 0.8) 0%, rgba(7, 20, 15, 0.94) 100%);
}

.leak-card.is-my-leak::before {
  background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.5), transparent);
}

.leak-card-inner {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.leak-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.author-avatar-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar-disc {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 243, 255, 0.25), rgba(157, 78, 221, 0.25));
  border: 1px solid rgba(0, 243, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--cyan-bright);
}

.author-name-tag {
  font-size: 0.88rem;
  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.45);
  font-size: 0.65rem;
  font-weight: 800;
  font-family: var(--font-mono);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  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.45);
  font-size: 0.65rem;
  font-weight: 800;
  font-family: var(--font-mono);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
}

.leak-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.leak-card-snippet {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Image Frame */
.leak-media-frame {
  position: relative;
  width: 100%;
  height: 200px;
  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.05);
}

.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 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.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 12px;
  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.12);
  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);
}

.btn-card-share {
  background: rgba(0, 243, 255, 0.08);
  border: 1px solid rgba(0, 243, 255, 0.25);
  color: var(--cyan-bright);
  padding: 5px 11px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 800;
  font-family: var(--font-mono);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.btn-card-share:hover {
  background: rgba(0, 243, 255, 0.2);
  box-shadow: 0 0 12px rgba(0, 243, 255, 0.4);
}

.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);
}

/* Empty State */
.empty-state-cyber {
  text-align: center;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background: radial-gradient(circle at 50% 30%, rgba(0, 243, 255, 0.05) 0%, transparent 60%);
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(0, 243, 255, 0.18);
  margin: 30px 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cyber-scanner-circle {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 243, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 8px;
  box-shadow: 0 0 30px rgba(0, 243, 255, 0.25), inset 0 0 15px rgba(0, 243, 255, 0.15);
}

.cyber-scanner-circle::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 243, 255, 0.3);
  animation: radarPulse 3s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes radarPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0.2; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.scanner-sweep {
  position: absolute;
  width: 100%;
  height: 100%;
  background: conic-gradient(from 0deg, rgba(0, 243, 255, 0.5) 0deg, transparent 75deg);
  border-radius: 50%;
  animation: sweepRotate 2.2s linear infinite;
}

@keyframes sweepRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.scanner-core {
  font-size: 2.2rem;
  position: relative;
  z-index: 2;
  color: var(--cyan-bright);
  filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.7));
}

.empty-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(180deg, #ffffff 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.empty-desc {
  color: var(--text-muted);
  font-size: 0.96rem;
  max-width: 420px;
  line-height: 1.6;
}

.hidden { display: none !important; }

/* Modals Common */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 6, 12, 0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeInModal 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card {
  background: linear-gradient(180deg, rgba(14, 20, 32, 0.94) 0%, rgba(8, 12, 20, 0.98) 100%);
  border: 1px solid rgba(0, 243, 255, 0.28);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95), 0 0 45px rgba(0, 243, 255, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
  animation: modalScaleIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.6), transparent);
  pointer-events: none;
}

@keyframes modalScaleIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.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 Elements */
.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;
  transition: all 0.2s ease;
}

.btn-remove-evidence:hover {
  background: var(--pink-neon);
  color: #fff;
  box-shadow: 0 0 10px rgba(255, 0, 85, 0.5);
}

/* Watermark Tool Controls */
.watermark-controls-box {
  width: 100%;
  background: rgba(10, 16, 28, 0.85);
  border: 1px solid rgba(0, 243, 255, 0.28);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-align: left;
}

.watermark-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
}

.watermark-switch-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
}

.watermark-switch-label input[type="checkbox"] {
  display: none;
}

.watermark-toggle-slider {
  width: 38px;
  height: 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  position: relative;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.watermark-toggle-slider::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-radius: 50%;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.watermark-switch-label input[type="checkbox"]:checked + .watermark-toggle-slider {
  background: linear-gradient(135deg, var(--cyan-bright), #0077ff);
  border-color: var(--cyan-bright);
  box-shadow: 0 0 12px rgba(0, 243, 255, 0.5);
}

.watermark-switch-label input[type="checkbox"]:checked + .watermark-toggle-slider::after {
  transform: translateX(18px);
  background: #02050b;
}

.watermark-status-chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--cyan-bright);
  background: rgba(0, 243, 255, 0.12);
  border: 1px solid rgba(0, 243, 255, 0.35);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
}

.watermark-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

@media (max-width: 600px) {
  .watermark-options-grid {
    grid-template-columns: 1fr;
  }
}

.wm-option-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wm-option-group label {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: #94a3b8;
  font-weight: 700;
}

.wm-input-field,
.wm-select-field {
  background: rgba(4, 8, 16, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: var(--radius-sm) !important;
  color: #ffffff !important;
  padding: 8px 10px !important;
  font-size: 0.82rem !important;
  font-family: var(--font-mono) !important;
  outline: none;
  width: 100%;
  transition: all 0.2s ease;
}

.wm-input-field:focus,
.wm-select-field:focus {
  border-color: var(--cyan-bright) !important;
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.3) !important;
}

.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);
}

/* --- 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;
}

/* 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); }
  }
}

/* --- ADMIN PANEL CARD & MAINTENANCE STYLING --- */
.admin-panel-card {
  max-width: 640px !important;
  border-color: rgba(0, 243, 255, 0.4) !important;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 50px rgba(0, 243, 255, 0.18) !important;
}

.admin-panel-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.panel-section-box {
  background: rgba(4, 6, 10, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.panel-section-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.panel-section-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.panel-section-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.maint-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(2, 4, 7, 0.8);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.maint-status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--green-neon);
}

.maint-status-indicator.is-maintenance {
  color: var(--amber-neon);
}

.maint-status-dot {
  font-size: 0.8rem;
  animation: blinkDot 1.4s infinite;
}

.btn-maint-toggle {
  background: rgba(255, 183, 0, 0.15);
  border: 1px solid var(--amber-neon);
  color: var(--amber-neon);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-maint-toggle:hover {
  background: var(--amber-neon);
  color: #030508;
  box-shadow: 0 0 15px rgba(255, 183, 0, 0.5);
}

.btn-maint-toggle.is-active {
  background: rgba(0, 255, 136, 0.15);
  border-color: var(--green-neon);
  color: var(--green-neon);
}

.btn-maint-toggle.is-active:hover {
  background: var(--green-neon);
  color: #030508;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.admin-stat-card {
  background: rgba(2, 4, 7, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.stat-num.text-green { color: var(--green-neon); }
.stat-num.text-cyan { color: var(--cyan-bright); }

.stat-name {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.admin-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-panel-action {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-danger-action {
  background: rgba(255, 0, 85, 0.12);
  border: 1px solid var(--pink-neon);
  color: var(--pink-neon);
}

.btn-danger-action:hover {
  background: var(--pink-neon);
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 0, 85, 0.6);
}

.btn-logout-action {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-high);
}

.btn-logout-action:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* --- FULLSCREEN MAINTENANCE SCREEN FOR REGULAR USERS --- */
.maintenance-screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #020408;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.maint-center-box {
  max-width: 520px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: rgba(8, 12, 18, 0.85);
  border: 1px solid rgba(255, 183, 0, 0.4);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.95), 0 0 50px rgba(255, 183, 0, 0.2);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.maint-pulsar .scanner-core {
  font-size: 2.4rem;
}

.maint-subhead {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--amber-neon);
}

.maint-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
}

.maint-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.maint-badge-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--green-neon);
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.maint-admin-entry {
  margin-top: 10px;
  width: 100%;
}

.btn-maint-login {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 10px 20px;
  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-maint-login:hover {
  background: rgba(255, 183, 0, 0.15);
  border-color: var(--amber-neon);
  color: var(--amber-neon);
}

@media (max-width: 600px) {
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
  .admin-actions-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   STEALTH ADMIN TRIGGER
   ========================================================================== */
.stealth-admin-trigger {
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.stealth-admin-trigger:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px var(--cyan-bright));
}

.stealth-admin-trigger:active {
  transform: scale(0.95);
}

.admin-stealth-pill {
  background: rgba(255, 183, 0, 0.15);
  border: 1px solid var(--amber-neon);
  color: var(--amber-neon);
  padding: 4px 10px;
  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: 4px;
  box-shadow: 0 0 12px rgba(255, 183, 0, 0.2);
  transition: all 0.2s ease;
}

.admin-stealth-pill:hover {
  background: rgba(255, 183, 0, 0.25);
  transform: translateY(-1px);
}

/* ==========================================================================
   LIVE CHAT SYSTEM (CLOUDFLARE D1 SQL PERSISTENT)
   ========================================================================== */
.floating-chat-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 16, 26, 0.85);
  border: 1px solid rgba(0, 243, 255, 0.4);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 243, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-chat-pill:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: var(--cyan-bright);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 243, 255, 0.4);
}

.floating-chat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-neon);
  box-shadow: 0 0 8px var(--green-neon);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

/* Chat Drawer Box (Enlarged & Polished) */
.chat-drawer-container {
  position: fixed;
  bottom: 90px;
  right: 28px;
  width: 450px;
  max-width: calc(100vw - 36px);
  height: 600px;
  max-height: calc(100vh - 120px);
  background: linear-gradient(180deg, rgba(12, 18, 30, 0.95) 0%, rgba(6, 10, 18, 0.98) 100%);
  border: 1px solid rgba(0, 243, 255, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.95), 0 0 45px rgba(0, 243, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  display: flex;
  flex-direction: column;
  z-index: 850;
  overflow: hidden;
  animation: modalScaleIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-drawer-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--cyan-bright), transparent);
  pointer-events: none;
}

.chat-drawer-header {
  padding: 16px 18px;
  background: rgba(14, 22, 36, 0.9);
  border-bottom: 1px solid rgba(0, 243, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-status-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-neon);
  box-shadow: 0 0 12px var(--green-neon);
  animation: pulseGreen 1.5s infinite;
}

.chat-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.chat-subtitle {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--cyan-bright);
  opacity: 0.85;
  display: block;
}

.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-chat-purge {
  background: rgba(255, 0, 85, 0.15);
  border: 1px solid rgba(255, 0, 85, 0.4);
  color: var(--pink-neon);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-chat-purge:hover {
  background: rgba(255, 0, 85, 0.3);
  transform: scale(1.05);
}

.btn-chat-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-high);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.btn-chat-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: rotate(90deg);
}

/* Sender Name Bar */
.chat-sender-bar {
  padding: 10px 16px;
  background: rgba(10, 16, 28, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-sender-icon {
  font-size: 0.95rem;
  opacity: 0.85;
}

.chat-sender-bar input {
  background: transparent;
  border: none;
  color: var(--cyan-bright);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  width: 100%;
  outline: none;
}

.chat-sender-bar input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

/* Messages Container */
.chat-messages-area {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

.chat-loading-notice, .chat-empty-notice {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  margin: auto;
  line-height: 1.6;
}

/* Chat Bubbles */
.chat-bubble {
  display: flex;
  flex-direction: column;
  background: rgba(18, 26, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px 14px;
  position: relative;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.chat-bubble:hover {
  border-color: rgba(0, 243, 255, 0.25);
  transform: translateY(-1px);
}

.chat-bubble.is-admin-msg {
  background: rgba(255, 183, 0, 0.08);
  border-color: rgba(255, 183, 0, 0.4);
  box-shadow: 0 0 16px rgba(255, 183, 0, 0.12);
}

.chat-bubble.is-my-msg {
  border-color: rgba(0, 243, 255, 0.35);
  background: rgba(0, 243, 255, 0.07);
}

.chat-msg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.chat-msg-author-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-avatar-mini {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 243, 255, 0.18);
  border: 1px solid rgba(0, 243, 255, 0.5);
  color: var(--cyan-bright);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chat-avatar-mini.is-admin-avatar {
  background: rgba(255, 183, 0, 0.25);
  border-color: var(--amber-neon);
  font-size: 0.75rem;
}

.chat-msg-author {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--cyan-bright);
}

.chat-bubble.is-admin-msg .chat-msg-author {
  color: var(--amber-neon);
}

.chat-admin-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 800;
  background: rgba(255, 183, 0, 0.22);
  color: var(--amber-neon);
  border: 1px solid rgba(255, 183, 0, 0.4);
  padding: 1px 6px;
  border-radius: 4px;
}

.chat-you-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 800;
  background: rgba(0, 243, 255, 0.18);
  color: var(--cyan-bright);
  border: 1px solid rgba(0, 243, 255, 0.35);
  padding: 1px 5px;
  border-radius: 4px;
}

.chat-msg-time {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

.chat-msg-text {
  font-size: 0.94rem;
  line-height: 1.5;
  color: #f0f4fc;
  word-break: break-word;
  letter-spacing: 0.2px;
}

.chat-delete-msg-btn {
  background: none;
  border: none;
  color: var(--pink-neon);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0 4px;
  opacity: 0.65;
  transition: opacity 0.15s ease;
}

.chat-delete-msg-btn:hover {
  opacity: 1;
}

/* Chat Input Bar */
.chat-input-bar {
  padding: 14px 18px;
  background: rgba(12, 18, 30, 0.95);
  border-top: 1px solid rgba(0, 243, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-input-bar input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  padding: 12px 20px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-input-bar input:focus {
  border-color: var(--cyan-bright);
  background: rgba(0, 243, 255, 0.05);
  box-shadow: 0 0 18px rgba(0, 243, 255, 0.25);
}

.btn-chat-send {
  background: linear-gradient(135deg, var(--cyan-bright), #0077ff);
  border: none;
  color: #030508;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.45);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-chat-send:hover {
  transform: scale(1.08);
  box-shadow: 0 0 30px rgba(0, 243, 255, 0.7);
}

.btn-chat-send:active {
  transform: scale(0.95);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .chat-drawer-container {
    bottom: 75px;
    right: 10px;
    left: 10px;
    width: auto;
    max-width: 100vw;
    height: 520px;
    border-radius: var(--radius-md);
  }
}

/* ==========================================================================
   GLOBAL ANNOUNCEMENT BANNER (PROMINENT & HIGH-VISIBILITY IN SCREEN)
   ========================================================================== */
.announcement-banner-wrapper {
  position: relative;
  width: 100%;
  margin: 20px 0 16px;
  background: linear-gradient(135deg, rgba(255, 183, 0, 0.16) 0%, rgba(255, 75, 0, 0.26) 50%, rgba(14, 18, 28, 0.95) 100%);
  border: 1.5px solid var(--amber-neon);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.75), 0 0 35px rgba(255, 183, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 50;
  overflow: hidden;
  animation: bannerSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.announcement-banner-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber-neon), transparent);
  box-shadow: 0 0 10px var(--amber-neon);
}

@keyframes bannerSlideDown {
  from { transform: translateY(-30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.announcement-banner-inner {
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.announcement-left-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.announcement-beacon-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber-neon);
  box-shadow: 0 0 12px var(--amber-neon);
  animation: pulseAmber 1.3s infinite;
}

@keyframes pulseAmber {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

.announcement-badge {
  background: linear-gradient(135deg, #ffb700, #ff5500);
  color: #05070a;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 16px rgba(255, 183, 0, 0.7);
  flex-shrink: 0;
  white-space: nowrap;
}

.announcement-text-content {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-shadow: 0 0 14px rgba(255, 183, 0, 0.5);
  flex: 1;
  line-height: 1.45;
}

.btn-close-announcement {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-close-announcement:hover {
  background: rgba(255, 0, 85, 0.6);
  border-color: var(--pink-neon);
  transform: scale(1.1);
  box-shadow: 0 0 14px rgba(255, 0, 85, 0.7);
}

@media (max-width: 768px) {
  .announcement-banner-inner {
    padding: 12px 16px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .announcement-text-content {
    font-size: 0.95rem;
    width: 100%;
    order: 3;
  }
}

/* ==========================================================================
   FEED FILTER TABS (DARK CYBER THEME - STRICTLY NO WHITE BOXES)
   ========================================================================== */
.feed-tabs-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 24px;
  flex-wrap: wrap;
}

.feed-tab-btn {
  background: rgba(10, 16, 26, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--radius-pill) !important;
  color: var(--text-muted) !important;
  padding: 9px 18px !important;
  font-family: var(--font-mono) !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

.feed-tab-btn:hover {
  border-color: rgba(0, 243, 255, 0.5) !important;
  color: #ffffff !important;
  background: rgba(0, 243, 255, 0.14) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 243, 255, 0.25);
}

.feed-tab-btn:active {
  transform: translateY(0);
}

.feed-tab-btn.is-active {
  background: linear-gradient(135deg, rgba(0, 243, 255, 0.28), rgba(0, 119, 255, 0.35)) !important;
  border-color: var(--cyan-bright) !important;
  color: var(--cyan-bright) !important;
  box-shadow: 0 0 24px rgba(0, 243, 255, 0.38), inset 0 0 12px rgba(0, 243, 255, 0.18) !important;
  font-weight: 800 !important;
}

/* ==========================================================================
   DESKTOP NAV CHAT BUTTON
   ========================================================================== */
.btn-chat-nav {
  background: rgba(0, 243, 255, 0.08);
  border: 1px solid rgba(0, 243, 255, 0.35);
  color: var(--cyan-bright);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-chat-nav:hover {
  background: rgba(0, 243, 255, 0.2);
  border-color: var(--cyan-bright);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.35);
  transform: translateY(-1px);
}

/* ==========================================================================
   ADMIN ANNOUNCEMENT FORM & LEAKS MODERATION LIST
   ========================================================================== */
.admin-announcement-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.announcement-input-wrap input {
  width: 100%;
  background: rgba(2, 4, 7, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: all 0.2s ease;
}

.announcement-input-wrap input:focus {
  border-color: var(--amber-neon);
  box-shadow: 0 0 16px rgba(255, 183, 0, 0.3);
  background: rgba(4, 8, 14, 0.95);
}

.announcement-btns-row {
  display: flex;
  gap: 10px;
}

.btn-save-action {
  background: linear-gradient(135deg, #ffb700, #ff5500);
  border: none;
  color: #030508;
  flex: 1;
}

.btn-save-action:hover {
  filter: brightness(1.18);
  box-shadow: 0 0 22px rgba(255, 183, 0, 0.5);
}

.btn-neutral-action {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 10px 18px;
}

.btn-neutral-action:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.admin-leaks-table-wrap {
  max-height: 250px;
  overflow-y: auto;
  background: rgba(2, 4, 7, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 10px;
}

.admin-leaks-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-leak-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(14, 22, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px 14px;
  transition: all 0.2s ease;
}

.admin-leak-row:hover {
  background: rgba(18, 28, 44, 0.85);
  border-color: rgba(0, 243, 255, 0.2);
}

.admin-leak-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}

.admin-leak-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-leak-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.btn-admin-del {
  background: rgba(255, 0, 85, 0.15);
  border: 1px solid var(--pink-neon);
  color: var(--pink-neon);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.btn-admin-del:hover {
  background: var(--pink-neon);
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 0, 85, 0.6);
}

.admin-table-loading {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  padding: 24px;
}

