/* ==========================================================================
   GHOSTWHISPER - CORE STYLESHEET
   Aesthetic: Deep Black, Neon Cyberpunk Glow (Emerald, Violet, Crimson)
   Features: Multi-radius geometries, fluid keyframes, glassmorphism
   ========================================================================== */

:root {
  --bg-pitch: #000000;
  --bg-deep: #05060a;
  --bg-surface: #0c0e17;
  --bg-surface-elevated: #131722;
  --bg-glass: rgba(12, 14, 23, 0.75);
  --bg-glass-card: rgba(18, 22, 36, 0.65);

  --neon-green: #00ff88;
  --neon-green-glow: rgba(0, 255, 136, 0.35);
  --neon-purple: #9d00ff;
  --neon-purple-glow: rgba(157, 0, 255, 0.4);
  --neon-crimson: #ff0055;
  --neon-crimson-glow: rgba(255, 0, 85, 0.35);
  --neon-cyan: #00e5ff;

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-subtle: #6b7280;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 255, 136, 0.3);

  /* All possible border radius design tokens */
  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;
  --radius-2xl: 48px;
  --radius-pill: 9999px;
  --radius-asym-1: 36px 12px 36px 12px;
  --radius-asym-2: 16px 38px 16px 38px;
  --radius-ticket: 24px 8px 24px 8px;
  --radius-morph: 30% 70% 70% 30% / 30% 30% 70% 70%;

  /* Designed sci-fi & modern geometric fonts vs. accurate sharp UI font */
  --font-sci-fi: 'Orbitron', -apple-system, sans-serif;
  --font-heading: 'Space Grotesk', 'Orbitron', -apple-system, sans-serif;
  --font-display: 'Orbitron', 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Space Mono', 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background-color: var(--bg-pitch);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  transition: background-color 0.35s ease, color 0.35s ease;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(157, 0, 255, 0.09) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(0, 255, 136, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(255, 0, 85, 0.08) 0%, transparent 50%),
    linear-gradient(to bottom, #000000, #040509, #000000);
}

/* Background Cyber Grid */
.cyber-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-size: 60px 60px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  z-index: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .container {
    padding: 0 14px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }
}

/* Typography Utilities & Fluid Responsive Scaling */
h1,
h2,
h3,
h4,
.brand-font {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.55rem, 3.6vw, 2.45rem);
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.25rem, 2.7vw, 1.95rem);
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.05rem, 2.1vw, 1.45rem);
  line-height: 1.25;
}

h4 {
  font-size: clamp(0.9rem, 1.5vw, 1.15rem);
  line-height: 1.3;
}

/* Sharp, accurate body & UI typography */
body,
input,
textarea,
select,
button,
.nav-item-btn,
.footer-links,
.whisper-body,
.reply-text {
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

p {
  font-size: clamp(0.85rem, 1.05vw, 0.98rem);
  line-height: 1.6;
}

/* Designed sci-fi telemetry & display elements */
.brand-text-title,
.archetype-num,
.telemetry-val,
.section-kicker {
  font-family: var(--font-sci-fi);
  letter-spacing: 0.05em;
}

.gradient-text-joker {
  background: linear-gradient(135deg, #00ff88 0%, #00e5ff 40%, #9d00ff 75%, #ff0055 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-green {
  background: linear-gradient(135deg, #00ff88 0%, #a7f3d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-purple {
  background: linear-gradient(135deg, #c084fc 0%, #9d00ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Alert Messages Banner */
.messages-banner {
  position: fixed;
  top: 88px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 90%;
  max-width: 600px;
}

.alert-pill {
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  background: rgba(15, 20, 30, 0.95);
  border: 1px solid var(--neon-green);
  box-shadow: 0 8px 30px var(--neon-green-glow);
  color: #fff;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  animation: slideDown 0.4s ease-out;
}

/* ==========================================================================
   NAVIGATION BAR (Floating Glass Pill)
   ========================================================================== */
.navbar-wrapper {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1140px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 255, 136, 0.05);
  transition: all 0.3s ease;
}

.navbar:hover {
  border-color: rgba(0, 255, 136, 0.25);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 255, 136, 0.12);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand-logo-img {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  filter: drop-shadow(0 0 8px var(--neon-green-glow));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-link:hover .brand-logo-img {
  transform: rotate(-10deg) scale(1.1);
}

.brand-text-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}

.brand-text-accent {
  color: var(--neon-green);
  text-shadow: 0 0 10px var(--neon-green-glow);
}

/* Navigation Utility Elements */
.mobile-only {
  display: none !important;
}

.desktop-only {
  display: inline-block !important;
}

.nav-item-icon {
  display: none;
}

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

.mobile-nav-backdrop {
  display: none;
}

.nav-links-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.nav-item-btn {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  transition: all 0.25s ease;
  position: relative;
}

.nav-item-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.nav-item-btn.active {
  color: var(--neon-green);
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.25);
}

/* Glowing Login Button */
.nav-login-btn {
  text-decoration: none;
  padding: 9px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #000;
  background: linear-gradient(135deg, #00ff88 0%, #00e5ff 100%);
  border: none;
  box-shadow: 0 0 18px var(--neon-green-glow);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-login-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 28px rgba(0, 255, 136, 0.65);
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
}

/* ==========================================================================
   BUTTONS & BORDER RADIUS VARIANTS
   ========================================================================== */
.btn-cyber-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #00ff88 0%, #9d00ff 100%);
  color: #000;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.35);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.btn-cyber-primary:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 0 35px rgba(0, 255, 136, 0.65);
  color: #ffffff;
}

.btn-cyber-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-asym-1);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.25s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.btn-cyber-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--neon-purple);
  box-shadow: 0 0 20px var(--neon-purple-glow);
  transform: translateY(-2px);
}

.btn-cyber-danger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-ticket);
  background: rgba(255, 0, 85, 0.15);
  border: 1px solid var(--neon-crimson);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.btn-cyber-danger:hover {
  background: var(--neon-crimson);
  color: #000;
  box-shadow: 0 0 20px var(--neon-crimson-glow);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 170px;
  padding-bottom: 110px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.3);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neon-green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.15);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
  animation: pulse-dot 1.8s infinite;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4.2vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.hero-sensitive-text {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 24px;
  line-height: 1.7;
  max-width: 580px;
  border-left: 3px solid var(--neon-purple);
  padding-left: 18px;
  background: linear-gradient(90deg, rgba(157, 0, 255, 0.06), transparent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.hero-quote-box {
  background: rgba(18, 22, 36, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 34px;
  font-style: italic;
  color: #94a3b8;
  font-size: 0.95rem;
  position: relative;
}

.hero-quote-box strong {
  color: var(--neon-green);
  font-style: normal;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 40px;
}

/* Live Telemetry Ticker */
.telemetry-bar {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.telemetry-item {
  display: flex;
  flex-direction: column;
}

.telemetry-val {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
}

.telemetry-lbl {
  font-size: 0.78rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Visual & Glowing Mask Presentation */
.hero-visual-card {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mask-artwork-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-2xl);
  padding: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(0, 255, 136, 0.15), rgba(157, 0, 255, 0.15));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 50px rgba(0, 255, 136, 0.15);
  animation: float 6s ease-in-out infinite;
}

.mask-inner-frame {
  position: relative;
  width: 100%;
  border-radius: calc(var(--radius-2xl) - 8px);
  overflow: hidden;
  background-color: #030407;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mask-hero-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  filter: contrast(1.1) brightness(0.95);
  transition: transform 0.6s ease;
}

.mask-artwork-container:hover .mask-hero-image {
  transform: scale(1.05);
}

.mask-scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
  box-shadow: 0 0 15px var(--neon-green);
  opacity: 0.7;
  animation: scan 4s linear infinite;
}

/* Floating Cyber Badges on Hero Mask */
.floating-badge {
  position: absolute;
  background: rgba(7, 9, 15, 0.88);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  padding: 10px 18px;
  border-radius: var(--radius-asym-2);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 2;
  transition: all 0.3s ease;
}

.floating-badge-1 {
  top: 15%;
  left: -20px;
  border-left: 3px solid var(--neon-green);
}

.floating-badge-2 {
  bottom: 12%;
  right: -20px;
  border-right: 3px solid var(--neon-crimson);
  border-radius: var(--radius-asym-1);
}

.floating-badge:hover {
  transform: scale(1.06);
  border-color: #fff;
}

/* ==========================================================================
   PHILOSOPHY & PILLARS SECTION (Multi-Border Radius Showcase)
   ========================================================================== */
.section-wrapper {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px auto;
}

.section-kicker {
  font-family: var(--font-sci-fi);
  font-size: clamp(0.72rem, 1vw, 0.84rem);
  text-transform: uppercase;
  color: var(--neon-green);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3.2vw, 2.5rem);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-lead {
  font-family: var(--font-body);
  font-size: clamp(0.86rem, 1.1vw, 1rem);
  color: var(--text-muted);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
}

/* Asymmetric Border Radius Cards */
.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-radius-1 {
  border-radius: 40px 14px 40px 14px;
}

.card-radius-2 {
  border-radius: 14px 40px 14px 40px;
}

.card-radius-3 {
  border-radius: 32px 32px 8px 8px;
}

.card-radius-4 {
  border-radius: 8px 8px 32px 32px;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 255, 136, 0.4);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 255, 136, 0.1);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
  border: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.pillar-card:hover .pillar-icon-box {
  background: rgba(0, 255, 136, 0.15);
  border-color: var(--neon-green);
  box-shadow: 0 0 20px var(--neon-green-glow);
  transform: rotate(6deg);
}

.pillar-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #fff;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Secret Drop Box (Terminal Style) */
.secret-drop-card {
  background: var(--bg-surface);
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: var(--radius-xl);
  padding: 34px 28px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 255, 136, 0.1);
  position: relative;
}

.terminal-header-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.t-dot.red {
  background-color: #ff5f56;
}

.t-dot.yellow {
  background-color: #ffbd2e;
}

.t-dot.green {
  background-color: #27c93f;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.cyber-input,
.cyber-textarea,
.cyber-select {
  width: 100%;
  background: rgba(4, 5, 8, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.cyber-input:focus,
.cyber-textarea:focus,
.cyber-select:focus {
  outline: none;
  border-color: var(--neon-green);
  box-shadow: 0 0 15px var(--neon-green-glow);
  background: rgba(10, 12, 18, 0.95);
}

.cyber-textarea {
  min-height: 110px;
  resize: vertical;
}

/* Whispers Feed Grid */
.whispers-feed-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-height: 750px;
  overflow-y: auto;
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding-right: 6px;
  overscroll-behavior: auto !important;
  overscroll-behavior-y: auto !important;
}

.whispers-feed-list::-webkit-scrollbar {
  width: 5px;
}

.whispers-feed-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 10px;
}

.whispers-feed-list::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

.whisper-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  position: relative;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  flex-shrink: 0 !important;
  height: auto !important;
  min-height: fit-content;
  overflow: hidden;
  word-wrap: break-word;
}

.whisper-card:hover {
  border-color: rgba(0, 255, 136, 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
  transform: translateY(-2px);
}

.whisper-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  width: 100%;
  min-width: 0;
}

.whisper-author {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
  max-width: 100%;
}

.author-mask-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-crimson));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.author-alias {
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.whisper-category-pill {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  white-space: nowrap;
  flex-shrink: 0;
  max-width: 100%;
}

.whisper-body {
  font-size: 0.98rem;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 14px;
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  display: block;
}

.whisper-body>* {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.whisper-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 10px;
}

.react-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.react-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.react-btn.reacted-smile {
  border-color: var(--neon-green) !important;
  color: var(--neon-green) !important;
  background: rgba(0, 255, 136, 0.18) !important;
  box-shadow: 0 0 14px var(--neon-green-glow) !important;
  font-weight: 700 !important;
}

.react-btn.reacted-chaos {
  border-color: var(--neon-crimson) !important;
  color: #ff3377 !important;
  background: rgba(255, 0, 85, 0.18) !important;
  box-shadow: 0 0 14px var(--neon-crimson-glow) !important;
  font-weight: 700 !important;
}

/* ==========================================================================
   FOOTER (Deep Black, Futuristic, Status Indicators)
   ========================================================================== */
.footer-wrapper {
  background-color: #020305;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 35px 0;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 14px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: var(--neon-green);
  padding-left: 4px;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.25);
  font-size: 0.78rem;
  color: var(--neon-green);
  margin-top: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 25px;
  font-size: 0.85rem;
  color: var(--text-subtle);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@keyframes scan {
  0% {
    top: 0%;
    opacity: 0;
  }

  10% {
    opacity: 0.8;
  }

  90% {
    opacity: 0.8;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
  }

  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(0, 255, 136, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translate(-50%, -20px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes navBoardDrop {
  0% {
    opacity: 0;
    transform: translateY(-14px) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE DESIGN ARCHITECTURE
   Supports all screens: Small & Large iPhone, Tecno, Vivo, Samsung, Xiaomi,
   iPads (Mini, Air, Pro), Tablets, Laptops (13"-16"), Desktops & Ultrawides
   ========================================================================== */

/* Base Grid Utility Classes for Flexible Screens */
.group-chambers-grid,
.received-messages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.dashboard-profile-edit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.login-mask-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.admin-split-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: start;
}

/* ==========================================================================
   THEME STYLES (DARK / LIGHT / WHITE MODE)
   ========================================================================== */

/* Theme Toggle Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--neon-green);
  box-shadow: 0 0 15px var(--neon-green-glow);
  transform: translateY(-2px);
}

/* ==========================================================================
   LIGHT / WHITE MODE COMPREHENSIVE OVERRIDES (REALTIME DUAL-THEME ARCHITECTURE)
   ========================================================================== */
html[data-theme="light"],
body[data-theme="light"],
[data-theme="light"] {
  --bg-pitch: #f8fafc;
  --bg-deep: #ffffff;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --bg-glass-card: rgba(255, 255, 255, 0.96);

  --neon-green: #059669;
  --neon-green-glow: rgba(5, 150, 105, 0.25);
  --neon-purple: #7c3aed;
  --neon-purple-glow: rgba(124, 58, 237, 0.25);
  --neon-crimson: #e11d48;
  --neon-crimson-glow: rgba(225, 29, 72, 0.25);
  --neon-cyan: #0284c7;

  --text-main: #0f172a;
  --text-muted: #334155;
  --text-subtle: #64748b;

  --border-subtle: rgba(15, 23, 42, 0.1);
  --border-glow: rgba(5, 150, 105, 0.35);

  background-color: #f8fafc;
  color: #0f172a;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(124, 58, 237, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(5, 150, 105, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(225, 29, 72, 0.03) 0%, transparent 50%),
    linear-gradient(to bottom, #f8fafc, #f1f5f9, #ffffff);
}

/* Light mode ambient grid overlay */
[data-theme="light"] .cyber-grid-overlay {
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
}

/* Top Navbar in Light Mode */
[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .brand-text-title {
  color: #0f172a;
}

[data-theme="light"] .nav-item-btn {
  color: #475569;
}

[data-theme="light"] .nav-item-btn:hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .nav-item-btn.active {
  color: #059669;
  background: rgba(5, 150, 105, 0.1);
  border-color: rgba(5, 150, 105, 0.3);
}

[data-theme="light"] .nav-coin-pill {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

[data-theme="light"] .nav-hamburger span {
  background-color: #0f172a;
}

[data-theme="light"] .mobile-nav-drawer {
  background: rgba(255, 255, 255, 0.98);
  border-left-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .mobile-nav-link {
  color: #0f172a;
}

[data-theme="light"] .mobile-nav-link:hover {
  background: #f1f5f9;
  color: #059669;
}

/* Dashboard Persona Banner in Light Mode */
[data-theme="light"] .dashboard-persona-banner {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .dashboard-persona-banner h1,
[data-theme="light"] .dashboard-alias-title {
  color: #0f172a !important;
}

[data-theme="light"] .dashboard-bio-text {
  color: #475569 !important;
}

[data-theme="light"] .dashboard-active-pill {
  background: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
  color: #047857 !important;
}

[data-theme="light"] .dashboard-id-tag {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #0284c7 !important;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

[data-theme="light"] .dashboard-passkey-bar {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .passkey-label {
  color: #7c3aed !important;
}

[data-theme="light"] .passkey-val {
  color: #059669 !important;
}

[data-theme="light"] .btn-passkey-reveal {
  background: #f3e8ff !important;
  border: 1px solid #d8b4fe !important;
  color: #6b21a8 !important;
}

[data-theme="light"] .btn-passkey-copy {
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  color: #047857 !important;
}

/* Theme Toggle Button in Light Mode */
[data-theme="light"] .theme-toggle-btn {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .theme-toggle-btn:hover {
  background: #f1f5f9 !important;
  border-color: #059669 !important;
}

/* Dashboard Header Stat Boxes in Light Mode */
[data-theme="light"] .dashboard-stat-box {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .stat-box-lbl {
  color: #64748b !important;
}

[data-theme="light"] .dash-stat-get-coins-box {
  background: #fffbeb !important;
  border: 1px solid #fde68a !important;
}

[data-theme="light"] .btn-dash-get-coins,
[data-theme="light"] .btn-dash-get-coins span {
  color: #b45309 !important;
}

/* Dashboard Generate Link Section in Light Mode */
[data-theme="light"] .dashboard-link-section,
[data-theme="light"] .compact-link-card {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .link-card-short-bar {
  background: #f8fafc;
  border-radius: var(--radius-lg);
  padding: 10px 14px;
}

[data-theme="light"] .link-card-heading {
  color: #0f172a !important;
}

[data-theme="light"] .btn-point-down {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
}

[data-theme="light"] .link-card-expanded-body {
  border-top-color: #e2e8f0 !important;
}

[data-theme="light"] .link-mode-pills-container {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .auth-tab-btn {
  color: #64748b !important;
}

[data-theme="light"] .auth-tab-btn.active-personal-tab {
  background: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
  color: #047857 !important;
}

[data-theme="light"] .auth-tab-btn.active-group-tab {
  background: #f3e8ff !important;
  border-color: #d8b4fe !important;
  color: #6b21a8 !important;
}

[data-theme="light"] .dashboard-link-box {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] #shareUrlText,
[data-theme="light"] .dashboard-url-text {
  color: #059669 !important;
  font-weight: 700 !important;
}

[data-theme="light"] .share-label {
  color: #64748b !important;
}

[data-theme="light"] .social-whatsapp {
  background: #dcfce7 !important;
  border: 1px solid #86efac !important;
  color: #15803d !important;
}

[data-theme="light"] .social-x {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

[data-theme="light"] .social-telegram {
  background: #e0f2fe !important;
  border: 1px solid #7dd3fc !important;
  color: #0369a1 !important;
}

[data-theme="light"] .btn-regenerate-chip {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}

[data-theme="light"] .btn-regenerate-chip:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

[data-theme="light"] .personal-customization-drawer details {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 10px 14px;
}

[data-theme="light"] .customization-summary {
  color: #0f172a !important;
  font-weight: 600;
}

[data-theme="light"] .form-label {
  color: #334155 !important;
  font-weight: 600;
}

/* Deploy Group Form in Light Mode */
[data-theme="light"] .deploy-group-form {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: var(--radius-lg);
  padding: 16px;
}

[data-theme="light"] .group-deploy-kicker {
  color: #7c3aed !important;
}

[data-theme="light"] .group-timer-pill-green {
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  color: #047857 !important;
}

/* Group Chambers List in Light Mode */
[data-theme="light"] .group-chamber-item {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .grp-card-bar {
  background: #f8fafc !important;
  border-bottom: 1px solid #f1f5f9;
}

[data-theme="light"] .grp-card-name {
  color: #0f172a !important;
}

[data-theme="light"] .grp-code-tag {
  background: #e0f2fe !important;
  border: 1px solid rgba(2, 132, 199, 0.25) !important;
  color: #0284c7 !important;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

[data-theme="light"] .btn-copy-group-pro {
  background: #f0f9ff !important;
  border: 1px solid #bae6fd !important;
  color: #0369a1 !important;
}

[data-theme="light"] .btn-copy-group-pro:hover {
  background: #e0f2fe !important;
  color: #0284c7 !important;
}

[data-theme="light"] .btn-grp-conceal {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
}

[data-theme="light"] .grp-card-body {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .grp-meta-stat,
[data-theme="light"] .grp-body-desc {
  color: #475569 !important;
}

[data-theme="light"] .group-url-box {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .grp-url-text {
  color: #059669 !important;
}

[data-theme="light"] .btn-destruct-group {
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  color: #dc2626 !important;
}

[data-theme="light"] .empty-chamber-notice {
  color: #64748b !important;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-md);
}

/* Vault Section Headings & Buttons in Light Mode */
[data-theme="light"] .vault-section-heading {
  color: #0f172a !important;
}

[data-theme="light"] .btn-reveal-cyan {
  background: #f0f9ff !important;
  border: 1px solid #bae6fd !important;
  color: #0369a1 !important;
  box-shadow: 0 2px 8px rgba(3, 105, 161, 0.08);
}

[data-theme="light"] .btn-reveal-gold {
  background: #fffbeb !important;
  border: 1px solid #fde68a !important;
  color: #92400e !important;
  box-shadow: 0 2px 8px rgba(146, 64, 14, 0.08);
}

[data-theme="light"] .btn-reveal-green {
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  color: #047857 !important;
  box-shadow: 0 2px 8px rgba(4, 120, 87, 0.08);
}

/* Whispers Stack in Light Mode */
[data-theme="light"] .whisper-card {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .whisper-header {
  border-bottom: 1px solid #f1f5f9;
}

[data-theme="light"] .whisper-category-pill {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

[data-theme="light"] .whisper-time-label {
  color: #64748b !important;
}

[data-theme="light"] .stat-pill-smile {
  background: #f3e8ff !important;
  border: 1px solid #d8b4fe !important;
  color: #6b21a8 !important;
}

[data-theme="light"] .stat-pill-chaos {
  background: #ffe4e6 !important;
  border: 1px solid #fecdd3 !important;
  color: #be123c !important;
}

[data-theme="light"] .btn-shred-item {
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  color: #b91c1c !important;
}

[data-theme="light"] .whisper-body,
[data-theme="light"] .whisper-body div {
  color: #0f172a !important;
}

[data-theme="light"] .vault-empty-card {
  background: #f8fafc !important;
  border: 1px dashed #cbd5e1 !important;
  color: #475569 !important;
}

[data-theme="light"] .vault-empty-heading {
  color: #0f172a !important;
}

/* Sticker Packs Drawer in Light Mode */
[data-theme="light"] #stickersDrawerContent {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .dashboard-sticker-item {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .dashboard-sticker-item:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

[data-theme="light"] .dashboard-sticker-name {
  color: #0f172a !important;
}

[data-theme="light"] .sticker-usage-count-badge {
  background: #059669 !important;
  color: #ffffff !important;
}

/* Persona Messages Inbox in Light Mode */
[data-theme="light"] .live-sync-indicator {
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
}

[data-theme="light"] .live-status-text {
  color: #047857 !important;
}

[data-theme="light"] .dm-row-item {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .dm-row-item:hover,
[data-theme="light"] .dm-row-item:focus-visible {
  background: #f8fafc !important;
  border-color: #a7f3d0 !important;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.1) !important;
}

[data-theme="light"] .dm-row-preview {
  color: #0f172a !important;
  font-weight: 600 !important;
}

[data-theme="light"] .dm-row-delete-btn {
  color: #64748b !important;
}

[data-theme="light"] .dm-row-delete-btn:hover {
  background: #fef2f2 !important;
  border-color: #fecaca !important;
  color: #dc2626 !important;
}

/* NGL Whisper View Modal in Light Mode */
[data-theme="light"] .ngl-overlay-modal {
  background: rgba(15, 23, 42, 0.72) !important;
}

[data-theme="light"] .ngl-overlay-close-btn {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .ngl-sticker-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25) !important;
}

[data-theme="light"] .ngl-card-heading {
  background: linear-gradient(135deg, #059669, #0284c7) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

[data-theme="light"] .ngl-card-message {
  color: #0f172a !important;
}

/* Forms, Inputs and Selects in Light Mode */
[data-theme="light"] .cyber-input,
[data-theme="light"] .cyber-textarea,
[data-theme="light"] .cyber-select {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .cyber-input:focus,
[data-theme="light"] .cyber-textarea:focus,
[data-theme="light"] .cyber-select:focus {
  border-color: #059669 !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15) !important;
  background: #ffffff !important;
  color: #0f172a !important;
}

[data-theme="light"] .cyber-input::placeholder,
[data-theme="light"] .cyber-textarea::placeholder {
  color: #94a3b8 !important;
}

/* Secondary & Action Buttons in Light Mode */
[data-theme="light"] .btn-cyber-secondary,
[data-theme="light"] .btn-load-more-30 {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .btn-cyber-secondary:hover,
[data-theme="light"] .btn-load-more-30:hover {
  background: #e2e8f0 !important;
  color: #059669 !important;
  border-color: #059669 !important;
}

/* Footer in Light Mode */
[data-theme="light"] .footer-wrapper {
  background-color: #ffffff !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .footer-col h4 {
  color: #0f172a !important;
}

[data-theme="light"] .footer-links a {
  color: #475569 !important;
}

[data-theme="light"] .footer-links a:hover {
  color: #059669 !important;
}

[data-theme="light"] .footer-bottom {
  border-top: 1px solid #f1f5f9 !important;
  color: #64748b !important;
}

/* Group Chat in Light Mode */
.group-sender-name {
  color: #fff;
}

.group-silent-heading {
  color: #fff;
}

[data-theme="light"] .group-sender-name {
  color: #0f172a !important;
}

[data-theme="light"] .group-silent-heading {
  color: #0f172a !important;
}

[data-theme="light"] .group-chat-box {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
}

[data-theme="light"] .group-msg-bubble {
  background: #f8fafc !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  color: #0f172a !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .group-composer-box {
  background: #ffffff !important;
  border-top: 1px solid rgba(15, 23, 42, 0.1) !important;
}

/* Welcome Bonus Modal in Light Mode */
[data-theme="light"] #welcomeBonusModal {
  background: rgba(15, 23, 42, 0.75) !important;
}

[data-theme="light"] .welcome-bonus-dialog {
  background: #ffffff !important;
  border: 1px solid #fde68a !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25) !important;
}

[data-theme="light"] .welcome-bonus-dialog h2 {
  color: #b45309 !important;
}

[data-theme="light"] .welcome-bonus-dialog p {
  color: #334155 !important;
}

/* ==========================================================================
   ANONYMOUS PERSONAL LINK & SPECIAL INVITE BUTTON
   ========================================================================== */
.category-radio-pill {
  cursor: pointer;
  user-select: none;
}

.category-radio-pill input[type="radio"] {
  display: none;
}

.category-radio-pill span {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.category-radio-pill input[type="radio"]:checked+span {
  background: rgba(0, 255, 136, 0.15);
  border-color: var(--neon-green);
  color: #fff;
  box-shadow: 0 0 12px var(--neon-green-glow);
}

.special-invite-btn {
  display: block;
  position: relative;
  text-decoration: none;
  border-radius: 28px;
  padding: 3px;
  background: linear-gradient(135deg, #00ff88 0%, #9d00ff 50%, #ff0055 100%);
  background-size: 200% 200%;
  animation: gradientRotate 4s ease infinite;
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.35), 0 0 35px rgba(157, 0, 255, 0.3);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.special-invite-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 45px rgba(0, 255, 136, 0.6), 0 0 50px rgba(157, 0, 255, 0.5);
}

.special-btn-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #06080e;
  border-radius: 25px;
  padding: 18px 26px;
  position: relative;
  z-index: 1;
}

body[data-theme="light"] .special-btn-inner {
  background: #ffffff;
}

body[data-theme="light"] .special-btn-inner span span {
  color: #0f172a !important;
}

@keyframes gradientRotate {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ==========================================================================
   ADMIN MAINFRAME // CENTRAL COMMAND STYLES
   ========================================================================== */
.mainframe-header-card {
  background: linear-gradient(135deg, rgba(18, 10, 24, 0.95), rgba(7, 9, 15, 0.98));
  border: 1px solid rgba(255, 0, 85, 0.35);
  border-radius: var(--radius-2xl);
  padding: 38px 32px;
  margin-bottom: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 0, 85, 0.15);
  position: relative;
  overflow: hidden;
}

.mainframe-radar-beacon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 0, 85, 0.12);
  border: 2px solid var(--neon-crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 0 25px var(--neon-crimson-glow);
  animation: pulse-dot 2.5s infinite;
  flex-shrink: 0;
}

.admin-badge-pulse {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--neon-crimson);
  background: rgba(255, 0, 85, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 0, 85, 0.3);
}

.mainframe-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}

.telemetry-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  text-align: center;
  transition: all 0.25s ease;
}

.telemetry-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.telemetry-alert-card {
  border-color: rgba(255, 189, 46, 0.5);
  background: rgba(255, 189, 46, 0.06);
  box-shadow: 0 0 20px rgba(255, 189, 46, 0.2);
  animation: float 4s ease-in-out infinite;
}

.telemetry-number {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--font-display);
  line-height: 1.1;
  margin-bottom: 4px;
}

.telemetry-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.06em;
}

/* Interactive Admin Tabs */
.admin-tabs-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.admin-tabs-bar::-webkit-scrollbar {
  height: 4px;
}

.admin-tabs-bar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.admin-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  user-select: none;
}

.admin-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.admin-tab-btn.active {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.15), rgba(157, 0, 255, 0.15));
  border-color: var(--neon-green);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.tab-counter-badge {
  background: #ffbd2e;
  color: #000;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
}

/* Tab Panes */
.admin-tab-pane {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8);
  animation: slideDown 0.35s ease-out;
}

.admin-tab-pane.active {
  display: block;
}

.admin-pane-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 16px;
}

/* Admin Table Design */
.admin-table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th {
  padding: 14px 16px;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.3);
}

.admin-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
  font-size: 0.9rem;
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Status Pills */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-pill-active {
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  color: var(--neon-green);
}

.status-pill-banned {
  background: rgba(255, 0, 85, 0.12);
  border: 1px solid rgba(255, 0, 85, 0.35);
  color: var(--neon-crimson);
}

.status-pill-pending {
  background: rgba(255, 189, 46, 0.12);
  border: 1px solid rgba(255, 189, 46, 0.4);
  color: #ffbd2e;
}

/* Action Buttons */
.admin-act-btn {
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.act-approve {
  background: rgba(0, 255, 136, 0.15);
  border-color: var(--neon-green);
  color: var(--neon-green);
}

.act-approve:hover {
  background: var(--neon-green);
  color: #000;
  box-shadow: 0 0 15px var(--neon-green-glow);
}

.act-suspend {
  background: rgba(255, 0, 85, 0.12);
  border-color: rgba(255, 0, 85, 0.4);
  color: var(--neon-crimson);
}

.act-suspend:hover {
  background: var(--neon-crimson);
  color: #000;
}

.act-reject {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-subtle);
  color: #cbd5e1;
}

.act-reject:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.act-purge {
  background: rgba(255, 0, 85, 0.1);
  border-color: rgba(255, 0, 85, 0.25);
  color: #ff6b8b;
}

.act-purge:hover {
  background: #ff0055;
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 0, 85, 0.5);
}

.act-featured {
  background: rgba(255, 189, 46, 0.15);
  border-color: #ffbd2e;
  color: #ffbd2e;
}

.act-unfeatured {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-subtle);
  color: #64748b;
}

/* Light Mode Overrides for Admin Mainframe */
body[data-theme="light"] .mainframe-header-card {
  background: linear-gradient(135deg, #ffffff 0%, #fdf2f4 100%) !important;
  border-color: rgba(255, 0, 85, 0.25) !important;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08) !important;
}

body[data-theme="light"] .mainframe-header-card h1 {
  color: #0f172a !important;
}

body[data-theme="light"] .admin-tab-pane {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06) !important;
}

body[data-theme="light"] .admin-tab-pane h2 {
  color: #0f172a !important;
}

body[data-theme="light"] .admin-table th {
  background: #f8fafc !important;
  color: #475569 !important;
  border-bottom-color: #e2e8f0 !important;
}

body[data-theme="light"] .admin-table td {
  border-bottom-color: #f1f5f9 !important;
  color: #1e293b !important;
}

body[data-theme="light"] .admin-table td div {
  color: #1e293b;
}

body[data-theme="light"] .admin-tab-btn {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #475569;
}

body[data-theme="light"] .admin-tab-btn.active {
  background: #ffffff;
  border-color: #059669;
  color: #059669;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.15);
}

/* ==========================================================================
   REAL-TIME LIVE STREAM INDICATORS & INCOMING ANIMATIONS
   ========================================================================== */
.live-sync-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.3);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono, monospace);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--neon-green);
  text-transform: uppercase;
  user-select: none;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--neon-green);
  animation: liveHeartbeat 1.6s infinite ease-in-out;
}

@keyframes liveHeartbeat {
  0% {
    transform: scale(0.9);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.35);
    opacity: 1;
    box-shadow: 0 0 16px var(--neon-green);
  }

  100% {
    transform: scale(0.9);
    opacity: 0.5;
  }
}

.live-status-text {
  font-weight: 700;
}

/* Fresh transmission incoming animation */
.whisper-card.live-incoming {
  animation: liveIncomingDrop 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  position: relative;
}

@keyframes liveIncomingDrop {
  0% {
    opacity: 0;
    transform: translateY(-24px) scale(0.95);
    border-color: var(--neon-green) !important;
    box-shadow: 0 0 35px rgba(0, 255, 136, 0.6), inset 0 0 20px rgba(0, 255, 136, 0.25) !important;
  }

  50% {
    opacity: 1;
    transform: translateY(0) scale(1.02);
    border-color: var(--neon-green) !important;
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.45) !important;
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Light Mode Overrides for Live Indicators */
body[data-theme="light"] .live-sync-indicator {
  background: rgba(5, 150, 105, 0.1);
  border-color: rgba(5, 150, 105, 0.35);
  color: #059669;
}

body[data-theme="light"] .live-pulse-dot {
  background: #059669;
  box-shadow: 0 0 8px rgba(5, 150, 105, 0.8);
}

/* Light Theme Overrides for Group Chambers */
body[data-theme="light"] .deploy-group-form {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

body[data-theme="light"] .group-chat-box {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06) !important;
}

body[data-theme="light"] .group-msg-bubble {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #1e293b !important;
}

body[data-theme="light"] .group-msg-item span[style*="color: #fff"] {
  color: #0f172a !important;
}

/* ==========================================================================
   SHADOW NEXUS & GATEWAY STYLES & ANIMATIONS
   ========================================================================== */

/* 1. Home Gateway Card & Radar Pulse */
.nexus-gateway-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, rgba(16, 20, 32, 0.95), rgba(7, 9, 15, 0.98));
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: var(--radius-2xl);
  padding: 48px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 255, 136, 0.12);
  position: relative;
  overflow: hidden;
}

.nexus-gateway-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-green), var(--neon-cyan), transparent);
  animation: scanline-glow 4s ease-in-out infinite;
}

.gateway-radar-wrap {
  width: 240px;
  height: 240px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.gateway-radar-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 136, 0.25);
}

.gateway-radar-circle.circle-1 {
  width: 90px;
  height: 90px;
  animation: radar-pulse 3s infinite ease-out;
}

.gateway-radar-circle.circle-2 {
  width: 160px;
  height: 160px;
  animation: radar-pulse 3s infinite ease-out 1s;
}

.gateway-radar-circle.circle-3 {
  width: 230px;
  height: 230px;
  animation: radar-pulse 3s infinite ease-out 2s;
}

.gateway-radar-sweep {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(0, 255, 136, 0.35) 0deg, transparent 60deg, transparent 360deg);
  animation: radar-spin 4s linear infinite;
}

.gateway-radar-center {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(0, 255, 136, 0.15);
  border: 2px solid var(--neon-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.5);
  z-index: 2;
  animation: pulse-dot 2s infinite;
}

@keyframes radar-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes radar-pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

.gateway-archetype-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.gateway-pill {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  transition: all 0.25s ease;
}

.gateway-pill.pill-jester:hover {
  border-color: var(--neon-green);
  color: var(--neon-green);
  box-shadow: 0 0 12px rgba(0, 255, 136, 0.3);
}

.gateway-pill.pill-phantom:hover {
  border-color: #a855f7;
  color: #c084fc;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.3);
}

.gateway-pill.pill-harlequin:hover {
  border-color: #ff0055;
  color: #ff0055;
  box-shadow: 0 0 12px rgba(255, 0, 85, 0.3);
}

.gateway-pill.pill-enigma:hover {
  border-color: #00e5ff;
  color: #00e5ff;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
}

.gateway-meta-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
}

.gateway-meta-item .meta-label {
  display: block;
  font-size: 0.68rem;
  font-family: monospace;
  color: #64748b;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.gateway-meta-item .meta-val {
  font-size: 0.88rem;
  font-weight: 700;
  font-family: monospace;
}

/* 2. Interactive Background Canvas for Nexus */
.nexus-canvas-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.nexus-page-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  padding-top: 86px;
  overflow-x: hidden;
}

/* 3. Holographic Mask Archetype Cards (Settings Pop-Up) */
.nexus-section {
  padding: 28px 0 48px;
}

.nexus-card {
  position: relative;
  background: linear-gradient(145deg, rgba(18, 22, 36, 0.85), rgba(8, 10, 18, 0.95));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 16px 14px;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nexus-card.card-jester:hover,
.nexus-card.card-jester.active-attuned {
  border-color: rgba(0, 255, 136, 0.55);
  box-shadow: 0 12px 32px rgba(0, 255, 136, 0.18), 0 0 18px rgba(0, 255, 136, 0.1);
}

.nexus-card.card-phantom:hover,
.nexus-card.card-phantom.active-attuned {
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: 0 12px 32px rgba(168, 85, 247, 0.18), 0 0 18px rgba(168, 85, 247, 0.1);
}

.nexus-card.card-harlequin:hover,
.nexus-card.card-harlequin.active-attuned {
  border-color: rgba(255, 0, 85, 0.55);
  box-shadow: 0 12px 32px rgba(255, 0, 85, 0.18), 0 0 18px rgba(255, 0, 85, 0.1);
}

.nexus-card.card-enigma:hover,
.nexus-card.card-enigma.active-attuned {
  border-color: rgba(0, 229, 255, 0.55);
  box-shadow: 0 12px 32px rgba(0, 229, 255, 0.18), 0 0 18px rgba(0, 229, 255, 0.1);
}

.archetype-num {
  font-size: 0.7rem;
  font-family: monospace;
  color: #64748b;
  letter-spacing: 0.1em;
}

.archetype-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  align-self: flex-start;
}

.tag-jester {
  background: rgba(0, 255, 136, 0.1);
  color: var(--neon-green);
  border: 1px solid rgba(0, 255, 136, 0.25);
}

.tag-phantom {
  background: rgba(168, 85, 247, 0.1);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.tag-harlequin {
  background: rgba(255, 0, 85, 0.1);
  color: #ff0055;
  border: 1px solid rgba(255, 0, 85, 0.25);
}

.tag-enigma {
  background: rgba(0, 229, 255, 0.1);
  color: #00e5ff;
  border: 1px solid rgba(0, 229, 255, 0.25);
}

.archetype-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.nexus-card:hover .archetype-img {
  transform: scale(1.05);
}

.archetype-name {
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
}

.btn-attune-mask {
  width: 100%;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #fff;
  transition: all 0.25s ease;
}

.active-attuned .btn-attune-mask {
  background: rgba(0, 255, 136, 0.15);
  border-color: var(--neon-green);
  color: var(--neon-green);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

/* 5. Quantum Transmission Chamber & Live Stream Grid */
.nexus-chamber-grid {
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.nexus-terminal-panel,
.nexus-stream-panel {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Terminal Shell */
.terminal-shell {
  background: linear-gradient(180deg, rgba(14, 18, 30, 0.95), rgba(7, 9, 16, 0.98));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 255, 136, 0.08);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.nexus-drop-form {
  padding: 16px 20px 22px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.btn-reroll-alias {
  background: none;
  border: 1px solid var(--border-subtle);
  color: #94a3b8;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.btn-reroll-alias:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.char-counter {
  font-size: 0.72rem;
  color: #64748b;
  flex-shrink: 0;
}

.btn-transmit-glow {
  width: 100%;
  max-width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.35);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.btn-transmit-glow span.transmit-text {
  text-align: center;
}

.btn-transmit-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  animation: laser-charge 3.5s infinite;
}

@keyframes laser-charge {
  0% {
    left: -100%;
  }

  30%,
  100% {
    left: 150%;
  }
}

/* Right Column: Live Stream Panel */
.nexus-stream-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.stream-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  width: 100%;
  min-width: 0;
}

.stream-title {
  font-size: clamp(1.2rem, 3.5vw, 1.45rem);
  font-weight: 800;
  color: #fff;
  overflow-wrap: break-word;
}

.stream-sub {
  font-size: 0.8rem;
  color: #64748b;
  overflow-wrap: break-word;
}

.live-sync-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.25);
  font-size: 0.72rem;
  color: var(--neon-green);
  flex-shrink: 0;
  white-space: nowrap;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green-glow);
  animation: pulse-dot 1.5s infinite;
}

.stream-filters-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
  flex-wrap: nowrap;
  box-sizing: border-box;
}

.stream-filters-bar::-webkit-scrollbar {
  height: 4px;
}

.stream-filters-bar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.stream-filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: #94a3b8;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.stream-filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.stream-filter-btn.active {
  background: #fff;
  color: #000;
  border-color: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}

/* Floating Physics Particle for Reactions */
.reaction-float-particle {
  position: fixed;
  pointer-events: none;
  font-size: 1.1rem;
  font-weight: 800;
  z-index: 9999;
  animation: floatUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes floatUpFade {
  0% {
    transform: translateY(0) scale(0.6);
    opacity: 1;
  }

  100% {
    transform: translateY(-70px) scale(1.3);
    opacity: 0;
  }
}

/* ==========================================================================
   MEDIA & FILE ATTACHMENTS (Images, Documents, Previews)
   ========================================================================== */
.btn-media-trigger {
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(0, 255, 136, 0.4);
  color: #cbd5e1;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-media-trigger:hover {
  background: rgba(0, 255, 136, 0.12);
  border-color: var(--neon-green);
  color: var(--neon-green);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.25);
  transform: translateY(-1px);
}

.media-preview-container {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(4, 5, 8, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  max-width: 380px;
}

.media-preview-thumb-wrap {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.media-preview-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-clear-media {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ff0055;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
}

.btn-clear-media:hover {
  background: #ff0055;
  color: #fff;
}

.media-preview-name {
  font-size: 0.78rem;
  color: #94a3b8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.media-file-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: #00e5ff;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  max-width: 340px;
}

.media-file-chip .btn-clear-media {
  position: static;
  margin-left: 6px;
}

.whisper-media-frame {
  margin-bottom: 14px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #000;
  max-height: 320px;
}

.whisper-media-img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.whisper-media-img:hover {
  transform: scale(1.02);
}

.attachment-chip {
  transition: all 0.2s ease;
}

.attachment-chip:hover {
  background: rgba(0, 255, 136, 0.2) !important;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
  transform: translateY(-1px);
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE DESIGN ARCHITECTURE
   Supports all screens: Small & Large iPhone, Tecno, Vivo, Samsung, Xiaomi,
   iPads (Mini, Air, Pro), Tablets, Laptops (13"-16"), Desktops & Ultrawides
   ========================================================================== */

/* --------------------------------------------------------------------------
   A. Large Tablets & Small Laptops (max-width: 1200px)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding: 0 22px;
  }

  .nexus-chamber-grid {
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr) !important;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-headline {
    font-size: clamp(2rem, 4.2vw, 3.4rem);
  }

  /* Button fluid reduction - Laptops & Compact Desktops */
  .btn-cyber-primary {
    padding: 11px 24px;
    font-size: 0.90rem;
  }

  .btn-cyber-secondary {
    padding: 11px 22px;
    font-size: 0.90rem;
  }

  .btn-cyber-danger {
    padding: 9px 18px;
    font-size: 0.85rem;
  }
}

/* --------------------------------------------------------------------------
   B. Medium Tablets, iPad Air/Pro (Portrait), Foldables (max-width: 991px)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {

  /* Navbar & Mobile Tactical Navigation Board */
  .desktop-only {
    display: none !important;
  }

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

  .navbar-wrapper {
    top: 10px;
    padding: 0 12px;
    z-index: 10000;
  }

  .navbar {
    padding: 8px 18px;
    border-radius: var(--radius-xl);
    position: relative;
  }

  .nav-links-menu {
    display: none;
  }

  /* Frosted Glass Backdrop for Mobile Board */
  .mobile-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 4, 8, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
    pointer-events: none;
  }

  body.nav-drawer-active .mobile-nav-backdrop,
  .mobile-nav-backdrop.active,
  .navbar.mobile-nav-open~.mobile-nav-backdrop,
  .navbar-wrapper.mobile-nav-open~.mobile-nav-backdrop,
  body.mobile-nav-open .mobile-nav-backdrop {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  body.nav-drawer-active {
    overflow: hidden !important;
    touch-action: none;
  }

  /* Mobile Hamburger / Morphing Close Toggle Button */
  .mobile-nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    color: #fff;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
    flex-shrink: 0;
    z-index: 10002;
  }

  .mobile-nav-toggle:hover {
    background: rgba(0, 255, 136, 0.15);
    border-color: var(--neon-green);
    color: var(--neon-green);
  }

  .mobile-nav-toggle .nav-bar-line {
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease, stroke 0.22s ease;
    transform-origin: center;
  }

  .mobile-nav-open .mobile-nav-toggle,
  .mobile-nav-toggle.nav-active,
  body.mobile-nav-open .mobile-nav-toggle,
  body.nav-drawer-active .mobile-nav-toggle {
    background: rgba(255, 0, 85, 0.16) !important;
    border-color: var(--neon-crimson) !important;
    box-shadow: 0 0 16px var(--neon-crimson-glow) !important;
  }

  .mobile-nav-open .mobile-nav-toggle .line-1,
  .mobile-nav-toggle.nav-active .line-1,
  body.mobile-nav-open .mobile-nav-toggle .line-1,
  body.nav-drawer-active .mobile-nav-toggle .line-1 {
    transform: translateY(6px) rotate(45deg);
    stroke: #ff3377 !important;
  }

  .mobile-nav-open .mobile-nav-toggle .line-2,
  .mobile-nav-toggle.nav-active .line-2,
  body.mobile-nav-open .mobile-nav-toggle .line-2,
  body.nav-drawer-active .mobile-nav-toggle .line-2 {
    opacity: 0 !important;
  }

  .mobile-nav-open .mobile-nav-toggle .line-3,
  .mobile-nav-toggle.nav-active .line-3,
  body.mobile-nav-open .mobile-nav-toggle .line-3,
  body.nav-drawer-active .mobile-nav-toggle .line-3 {
    transform: translateY(-6px) rotate(-45deg);
    stroke: #ff3377 !important;
  }

  /* The Full Tactical Navigation Board Overlay */
  .mobile-nav-open .nav-links-menu,
  .nav-links-menu.nav-menu-open,
  body.nav-drawer-active .nav-links-menu,
  body.mobile-nav-open .nav-links-menu,
  .navbar-wrapper.mobile-nav-open .nav-links-menu {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + 68px) !important;
    left: 12px !important;
    right: 12px !important;
    background: linear-gradient(180deg, rgba(12, 16, 28, 0.98) 0%, rgba(5, 7, 13, 0.99) 100%) !important;
    backdrop-filter: blur(36px) !important;
    -webkit-backdrop-filter: blur(36px) !important;
    border: 1px solid rgba(0, 255, 136, 0.32) !important;
    border-radius: 26px !important;
    padding: 16px 14px 18px 14px !important;
    box-shadow: 0 30px 85px rgba(0, 0, 0, 0.98), 0 0 50px rgba(0, 255, 136, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
    gap: 8px !important;
    z-index: 10001 !important;
    max-height: calc(100dvh - 84px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    animation: navBoardDrop 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  }

  .mobile-nav-open .nav-links-menu::-webkit-scrollbar {
    width: 4px;
  }

  .mobile-nav-open .nav-links-menu::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 136, 0.3);
    border-radius: 10px;
  }

  /* Board Header */
  .mobile-board-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 6px 10px 12px 10px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-bottom: 2px !important;
    width: 100%;
    box-sizing: border-box;
  }

  .board-header-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    color: #cbd5e1;
    letter-spacing: 0.08em;
    font-weight: 700;
  }

  .board-live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--neon-green);
    box-shadow: 0 0 8px var(--neon-green);
    animation: pulseDot 2s infinite;
  }

  .board-protocol-tag {
    font-size: 0.68rem;
    color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.08);
    padding: 3px 8px;
    border-radius: 12px;
    border: 1px solid rgba(0, 240, 255, 0.2);
  }

  /* Board Authenticated Persona Badge */
  .mobile-board-user-card {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 14px !important;
    background: rgba(0, 255, 136, 0.06) !important;
    border: 1px solid rgba(0, 255, 136, 0.22) !important;
    border-radius: 16px !important;
    margin-bottom: 4px !important;
    width: 100%;
    box-sizing: border-box;
  }

  .board-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--neon-green);
    box-shadow: 0 0 12px var(--neon-green-glow);
    flex-shrink: 0;
  }

  .board-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .board-user-alias {
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff;
  }

  .board-user-sub {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.74rem;
    margin-top: 2px;
  }

  .user-sub-badge {
    color: var(--neon-green);
  }

  /* Board Item Rows */
  .mobile-nav-open .nav-links-menu li,
  .nav-links-menu.nav-menu-open li,
  body.nav-drawer-active .nav-links-menu li,
  body.mobile-nav-open .nav-links-menu li {
    width: 100% !important;
    list-style: none !important;
  }

  .mobile-nav-open .nav-item-btn,
  .nav-links-menu.nav-menu-open .nav-item-btn,
  body.nav-drawer-active .nav-item-btn,
  body.mobile-nav-open .nav-item-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 12px 16px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 14px !important;
    color: #e2e8f0 !important;
    font-size: 0.96rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
  }

  .mobile-nav-open .nav-item-btn:hover,
  .mobile-nav-open .nav-item-btn:active,
  .nav-links-menu.nav-menu-open .nav-item-btn:hover,
  .nav-links-menu.nav-menu-open .nav-item-btn:active {
    background: rgba(0, 255, 136, 0.12) !important;
    border-color: rgba(0, 255, 136, 0.35) !important;
    color: #ffffff !important;
    transform: translateX(4px) !important;
  }

  .mobile-nav-open .nav-item-btn.active,
  .nav-links-menu.nav-menu-open .nav-item-btn.active {
    background: rgba(0, 255, 136, 0.16) !important;
    border-color: var(--neon-green) !important;
    color: var(--neon-green) !important;
    box-shadow: 0 0 16px rgba(0, 255, 136, 0.2) !important;
  }

  .nav-item-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
  }

  .nav-item-left {
    display: flex !important;
    align-items: center;
    gap: 12px;
  }

  .nav-desc {
    font-size: 0.74rem;
    font-weight: 400;
    color: #94a3b8;
    font-family: var(--font-mono);
  }

  .nav-pill-live {
    display: flex !important;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--neon-green);
    background: rgba(0, 255, 136, 0.12);
    border: 1px solid rgba(0, 255, 136, 0.3);
    padding: 3px 9px;
    border-radius: 12px;
  }

  .nav-badge-admin {
    font-size: 0.7rem;
    font-weight: 700;
    color: #ff3377;
    background: rgba(255, 0, 85, 0.12);
    border: 1px solid rgba(255, 0, 85, 0.3);
    padding: 3px 9px;
    border-radius: 12px;
  }

  /* Admin Mainframe Button on Mobile */
  .mobile-nav-open .nav-admin-btn,
  .nav-links-menu.nav-menu-open .nav-admin-btn,
  body.nav-drawer-active .nav-admin-btn {
    border-color: rgba(255, 0, 85, 0.25) !important;
    background: rgba(255, 0, 85, 0.08) !important;
    color: #ff3377 !important;
  }

  .mobile-nav-open .nav-admin-btn:hover,
  .nav-links-menu.nav-menu-open .nav-admin-btn:hover {
    border-color: var(--neon-crimson) !important;
    background: rgba(255, 0, 85, 0.2) !important;
    color: #ffffff !important;
  }

  /* Logout Button on Mobile */
  .mobile-nav-open .nav-logout-btn,
  .nav-links-menu.nav-menu-open .nav-logout-btn,
  body.nav-drawer-active .nav-logout-btn {
    border-color: rgba(255, 0, 85, 0.25) !important;
    background: rgba(255, 0, 85, 0.06) !important;
    color: #ff3377 !important;
  }

  .mobile-nav-open .nav-logout-btn:hover,
  .mobile-nav-open .nav-logout-btn:active,
  .nav-links-menu.nav-menu-open .nav-logout-btn:hover,
  .nav-links-menu.nav-menu-open .nav-logout-btn:active {
    background: rgba(255, 0, 85, 0.18) !important;
    border-color: var(--neon-crimson) !important;
    color: #ffffff !important;
  }

  /* Login / Disguise Button on Mobile */
  .mobile-nav-open .nav-login-btn,
  .nav-links-menu.nav-menu-open .nav-login-btn,
  body.nav-drawer-active .nav-login-btn,
  body.mobile-nav-open .nav-login-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 13px 18px !important;
    border-radius: 14px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    margin-top: 4px !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
  }

  .nav-arrow {
    font-size: 1.15rem;
    font-weight: 700;
  }

  /* Board Tactical Footer */
  .mobile-board-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-top: 4px !important;
    width: 100%;
    box-sizing: border-box;
  }

  .board-util-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 8px 14px;
    color: #cbd5e1;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
  }

  .board-util-btn:hover,
  .board-util-btn:active {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
  }

  .board-security-tag {
    font-size: 0.72rem;
    color: #64748b;
    letter-spacing: 0.04em;
  }

  /* Hero Section */
  .hero-section {
    padding-top: 120px;
    padding-bottom: 70px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-sensitive-text {
    margin: 0 auto 24px auto;
    text-align: left;
    max-width: 640px;
  }

  .hero-quote-box {
    max-width: 640px;
    margin: 0 auto 30px auto;
    text-align: left;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .telemetry-bar {
    justify-content: center;
    gap: 20px;
  }

  .hero-visual-card {
    max-width: 400px;
    margin: 0 auto;
  }

  .floating-badge-1 {
    left: -10px;
  }

  .floating-badge-2 {
    right: -10px;
  }

  /* Manifesto Pillars */
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Nexus Gateway Card */
  .nexus-gateway-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 28px;
    gap: 30px;
  }

  .nexus-gateway-card .section-header {
    text-align: center !important;
  }

  .gateway-archetype-pills {
    justify-content: center;
  }

  .gateway-content div[style*="display: flex; gap: 16px;"] {
    justify-content: center;
  }

  /* Shadow Nexus Chamber */
  .nexus-chamber-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .nexus-terminal-panel,
  .nexus-stream-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .whispers-feed-list {
    max-height: 600px;
    overflow-x: hidden !important;
  }

  /* Dashboard Header */
  .dashboard-persona-banner {
    padding: 28px 24px;
  }

  .dashboard-header-flex {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 20px;
  }

  .dashboard-header-stats {
    width: 100%;
    align-items: flex-start !important;
  }

  .dashboard-header-stats div[style*="display: flex; gap: 14px;"] {
    width: 100%;
  }

  .dashboard-stat-box {
    flex: 1;
    min-width: 90px !important;
    padding: 12px 14px !important;
  }

  /* Admin Mainframe */
  .admin-split-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .mainframe-telemetry-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  /* Button fluid reduction - Tablets & iPads */
  .btn-cyber-primary {
    padding: 10px 20px;
    font-size: 0.86rem;
  }

  .btn-cyber-secondary {
    padding: 10px 18px;
    font-size: 0.86rem;
  }

  .btn-cyber-danger {
    padding: 8px 16px;
    font-size: 0.82rem;
  }

  .special-btn-inner {
    padding: 12px 18px;
  }

  .btn-attune-mask {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  .theme-toggle-btn {
    padding: 6px 14px;
    font-size: 0.80rem;
  }
}

/* --------------------------------------------------------------------------
   C. Small Tablets & Phablets (max-width: 767px)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .container {
    padding: 0 16px;
  }

  .section-wrapper {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .section-title {
    font-size: clamp(1.35rem, 4.8vw, 1.95rem);
  }

  .section-lead {
    font-size: 0.9rem;
  }

  /* Button fluid reduction - Phablets & Large Phones */
  .btn-cyber-primary {
    padding: 9px 18px;
    font-size: 0.84rem;
  }

  .btn-cyber-secondary {
    padding: 9px 16px;
    font-size: 0.84rem;
  }

  .btn-cyber-danger {
    padding: 7px 14px;
    font-size: 0.80rem;
  }

  .btn-attune-mask {
    padding: 8px 12px;
    font-size: 0.80rem;
  }

  .btn-transmit-glow {
    padding: 10px 18px;
    font-size: 0.84rem;
  }

  .special-btn-inner {
    padding: 10px 14px;
  }

  /* Pillars Grid */
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pillar-card {
    padding: 28px 22px;
  }

  /* Telemetry Bar in Hero */
  .telemetry-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    width: 100%;
  }

  .telemetry-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    text-align: center;
  }

  /* Hero Visual & Badges */
  .mask-artwork-container {
    padding: 8px;
    border-radius: var(--radius-xl);
  }

  .mask-hero-image {
    height: 360px;
  }

  .floating-badge {
    position: static;
    margin: 10px auto 0 auto;
    width: 90%;
    justify-content: center;
    border-radius: var(--radius-pill) !important;
  }

  .floating-badge-1,
  .floating-badge-2 {
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }

  /* Dashboard Form & Link Box */
  .group-form-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .group-form-grid button[type="submit"] {
    width: 100% !important;
  }

  .dashboard-link-box {
    border-radius: var(--radius-xl) !important;
    flex-direction: column;
    align-items: stretch !important;
    padding: 16px !important;
  }

  .dashboard-link-box #shareUrlText {
    text-align: center;
    padding: 4px 0 10px 0;
  }

  .dashboard-link-box div[style*="display: flex; gap: 8px;"] {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }

  .dashboard-link-box div[style*="display: flex; gap: 8px;"] button,
  .dashboard-link-box div[style*="display: flex; gap: 8px;"] a {
    justify-content: center;
    width: 100%;
  }

  .dashboard-profile-edit-grid {
    grid-template-columns: 1fr !important;
  }

  .group-chambers-grid,
  .received-messages-grid {
    grid-template-columns: 1fr !important;
  }

  /* Group Chat Chamber */
  .group-identity-row {
    flex-direction: column;
    align-items: stretch !important;
  }

  .group-alias-wrap,
  .group-mask-wrap {
    width: 100% !important;
    min-width: 0 !important;
  }

  .group-composer-row {
    flex-direction: column;
    align-items: stretch !important;
  }

  .group-composer-row button[type="submit"] {
    width: 100% !important;
    height: 48px !important;
  }

  /* Mainframe Telemetry */
  .mainframe-telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .mainframe-header-card {
    padding: 24px 18px;
  }

  /* Shadow Nexus Chamber Responsive (767px) */
  .nexus-chamber-grid {
    gap: 24px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .nexus-drop-form {
    padding: 12px 16px 20px;
  }

  .whispers-feed-list {
    max-height: 540px;
    gap: 14px;
    overflow-x: hidden !important;
  }

  .whisper-card {
    padding: 18px 18px;
    flex-shrink: 0 !important;
    height: auto !important;
  }

  .stream-filters-bar {
    margin-bottom: 16px;
    padding-bottom: 8px;
  }
}

/* --------------------------------------------------------------------------
   D. Standard & Large Smartphones (max-width: 576px)
   iPhone 13/14/15/16 Pro Max, Samsung Galaxy S22/S23/S24, Tecno, Vivo
   -------------------------------------------------------------------------- */
@media (max-width: 576px) {
  .container {
    padding: 0 14px;
  }

  /* Navbar */
  .brand-logo-img {
    width: 34px;
    height: 34px;
  }

  .brand-text-title {
    font-size: 1.05rem;
  }

  /* Buttons - Smartphone View */
  .btn-cyber-primary,
  .btn-cyber-secondary {
    padding: 8px 16px;
    font-size: 0.82rem;
  }

  .btn-cyber-danger {
    padding: 7px 13px;
    font-size: 0.78rem;
  }

  .btn-attune-mask {
    padding: 7px 12px;
    font-size: 0.78rem;
  }

  .btn-transmit-glow {
    padding: 8px 14px;
    font-size: 0.80rem;
  }

  .theme-toggle-btn {
    padding: 5px 11px;
    font-size: 0.74rem;
  }

  .react-btn {
    padding: 4px 10px;
    font-size: 0.74rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn-cyber-primary,
  .hero-cta-group .btn-cyber-secondary {
    width: 100%;
    justify-content: center;
  }

  /* Radar in Gateway */
  .gateway-radar-wrap {
    width: 180px;
    height: 180px;
  }

  .gateway-radar-circle.circle-3 {
    width: 170px;
    height: 170px;
  }

  .gateway-radar-circle.circle-2 {
    width: 120px;
    height: 120px;
  }

  .gateway-radar-center {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }

  .gateway-content div[style*="display: flex; gap: 16px;"] {
    flex-direction: column;
    width: 100%;
  }

  .gateway-content a {
    width: 100%;
    justify-content: center;
  }

  /* Personal Secret Page & Special Button */
  .special-invite-btn {
    border-radius: 20px;
  }

  .special-btn-inner {
    padding: 14px 16px;
    gap: 10px;
  }

  .special-btn-inner span span:last-child {
    font-size: 0.96rem !important;
    line-height: 1.4;
  }

  .special-btn-inner>span:first-child,
  .special-btn-inner>span:last-child {
    font-size: 1.15rem !important;
  }

  /* Category Radio Pills */
  .category-radio-pill span {
    padding: 5px 10px;
    font-size: 0.78rem;
  }

  /* Nexus Chamber & Terminal Shell (576px) */
  .nexus-chamber-grid {
    gap: 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .terminal-shell {
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 100%;
  }

  .nexus-drop-form {
    padding: 12px 12px 18px;
  }

  .btn-transmit-glow {
    padding: 12px 16px;
    font-size: 0.88rem;
  }

  /* Stream Panel & Filters */
  .stream-header-bar {
    gap: 10px;
    margin-bottom: 12px;
  }

  .stream-title {
    font-size: 1.25rem;
  }

  .stream-sub {
    font-size: 0.75rem;
  }

  .live-sync-indicator {
    padding: 4px 10px;
    font-size: 0.68rem;
  }

  .stream-filters-bar {
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    margin-bottom: 14px;
    gap: 6px;
    width: 100%;
    max-width: 100%;
  }

  .stream-filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 5px 12px;
    font-size: 0.74rem;
  }

  /* Whispers Cards on Phone */
  .whispers-feed-list {
    max-height: 480px;
    gap: 12px;
    overflow-x: hidden !important;
    padding-right: 4px;
    width: 100%;
  }

  .whisper-card {
    padding: 16px 14px;
    border-radius: var(--radius-md);
    flex-shrink: 0 !important;
    height: auto !important;
  }

  .whisper-header {
    gap: 8px;
    margin-bottom: 10px;
  }

  .author-mask-badge {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }

  .author-alias {
    font-size: 0.88rem;
  }

  .whisper-category-pill {
    font-size: 0.68rem;
    padding: 3px 8px;
  }

  .whisper-body {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  .whisper-media-frame {
    max-height: 220px;
    margin-bottom: 10px;
  }

  .whisper-media-img {
    max-height: 220px;
  }

  .whisper-actions {
    gap: 8px;
  }

  .react-btn {
    padding: 5px 12px;
    font-size: 0.78rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-status-pill {
    margin: 12px auto 0 auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   D2. Mid-Compact Smartphones & Foldables (max-width: 440px)
   -------------------------------------------------------------------------- */
@media (max-width: 440px) {
  .mobile-nav-open .nav-links-menu {
    left: 8px !important;
    right: 8px !important;
    padding: 14px 10px 16px 10px !important;
    gap: 6px !important;
  }

  .mobile-nav-open .nav-item-btn {
    padding: 11px 14px !important;
    font-size: 0.92rem !important;
  }

  .nav-desc {
    display: none !important;
  }

  .mobile-board-user-card {
    padding: 8px 10px !important;
  }

  .board-user-avatar {
    width: 38px !important;
    height: 38px !important;
  }

  .board-user-alias {
    font-size: 0.9rem !important;
  }

  .btn-media-trigger {
    width: 100%;
    justify-content: center;
  }

  /* Button reductions - Mid-compact smartphones */
  .btn-cyber-primary,
  .btn-cyber-secondary {
    padding: 7px 13px !important;
    font-size: 0.79rem !important;
  }

  .btn-cyber-danger {
    padding: 6px 11px !important;
    font-size: 0.75rem !important;
  }

  .special-btn-inner {
    padding: 7px 10px !important;
  }
}

/* --------------------------------------------------------------------------
   E. Compact Smartphones (max-width: 380px)
   iPhone SE, compact Androids, budget Tecno/Vivo
   -------------------------------------------------------------------------- */
@media (max-width: 380px) {

  /* Button reductions - Small smartphones */
  .btn-cyber-primary,
  .btn-cyber-secondary {
    padding: 6px 11px !important;
    font-size: 0.75rem !important;
    gap: 5px !important;
  }

  .btn-cyber-danger {
    padding: 5px 10px !important;
    font-size: 0.71rem !important;
  }

  .btn-attune-mask {
    padding: 6px 10px !important;
    font-size: 0.74rem !important;
  }

  .btn-transmit-glow {
    padding: 7px 12px !important;
    font-size: 0.75rem !important;
  }

  .react-btn {
    padding: 4px 8px !important;
    font-size: 0.70rem !important;
    gap: 3px !important;
  }

  .stream-filter-btn {
    padding: 4px 9px !important;
    font-size: 0.70rem !important;
  }

  .mobile-nav-open .nav-links-menu {
    left: 6px !important;
    right: 6px !important;
    border-radius: 20px !important;
  }

  .mobile-nav-open .nav-login-btn {
    padding: 12px 14px !important;
    font-size: 0.92rem !important;
  }

  .container {
    padding: 0 10px;
  }

  .brand-text-title {
    font-size: 0.95rem;
  }

  .hero-headline {
    font-size: 1.85rem;
  }

  .hero-badge-pill {
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .telemetry-bar {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .telemetry-val {
    font-size: 1.2rem;
  }

  .nexus-drop-form {
    padding: 10px 10px 16px;
  }

  .whispers-feed-list {
    max-height: 440px;
    padding-right: 2px;
  }

  .whisper-card {
    padding: 12px 10px;
    flex-shrink: 0 !important;
    height: auto !important;
  }

  .author-alias {
    font-size: 0.82rem;
  }

  .react-btn {
    padding: 4px 9px;
    font-size: 0.72rem;
    gap: 4px;
  }

  .login-mask-grid {
    grid-template-columns: 1fr !important;
  }

  .mainframe-telemetry-grid {
    grid-template-columns: 1fr;
  }

  .media-file-chip {
    max-width: 100%;
  }

  .media-preview-name {
    max-width: 140px;
  }
}

/* --------------------------------------------------------------------------
   F. Touch Screen Optimizations (Prevents tilt jank & improves scrolling)
   -------------------------------------------------------------------------- */
@media (hover: none) {
  .nexus-card:hover {
    transform: none !important;
  }

  .pillar-card:hover {
    transform: none !important;
  }

  .whisper-card:hover {
    transform: none !important;
  }
}

/* ==========================================================================
   G. NEXUS LIVE COMMUNITY: THREAD REPLIES & INFINITE SCROLL
   ========================================================================== */
.reply-toggle-btn {
  background: rgba(0, 240, 255, 0.08) !important;
  border-color: rgba(0, 240, 255, 0.25) !important;
  color: var(--neon-cyan) !important;
}

.reply-toggle-btn:hover {
  background: rgba(0, 240, 255, 0.18) !important;
  border-color: var(--neon-cyan) !important;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
}

.whisper-replies-drawer {
  background: rgba(10, 12, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-top: 14px;
  animation: fadeInDrawer 0.25s ease-out;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
}

@keyframes fadeInDrawer {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.replies-divider {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.replies-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  margin-bottom: 12px;
  padding-right: 4px;
}

.replies-list::-webkit-scrollbar {
  width: 4px;
}

.replies-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
}

.reply-item {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 8px 12px;
}

.reply-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 0.78rem;
}

.reply-badge {
  font-size: 0.85rem;
}

.reply-alias {
  font-weight: 700;
  color: #fff;
}

.reply-time {
  font-size: 0.7rem;
  color: #64748b;
  font-family: monospace;
}

.reply-text {
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.45;
  word-break: break-word;
}

.reply-media-thumb img {
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease;
}

.reply-media-thumb img:hover {
  transform: scale(1.03);
}

.inline-reply-form {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 10px;
  margin-top: 10px;
}

.reply-form-row {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 8px;
  margin-bottom: 8px;
}

.reply-alias-input {
  font-size: 0.82rem !important;
  padding: 6px 10px !important;
}

.reply-mask-select {
  font-size: 0.78rem;
  padding: 6px 8px;
  background: rgba(15, 18, 30, 0.95);
  color: #e2e8f0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  outline: none;
  cursor: pointer;
}

.reply-textarea-wrap {
  margin-bottom: 8px;
}

.reply-textarea {
  font-size: 0.85rem !important;
  padding: 8px 10px !important;
  min-height: 52px;
  resize: vertical;
}

.reply-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-reply-send {
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-crimson));
  color: #fff;
  font-weight: 700;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.btn-reply-send:hover {
  box-shadow: 0 0 14px rgba(255, 0, 85, 0.35);
  transform: translateY(-1px);
}

.feed-end-notice {
  text-align: center;
  padding: 18px;
  font-size: 0.74rem;
  color: #64748b;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   H. ADMIN MAINFRAME: DAILY BUNDLE SELECTOR & ARCHIVE CARDS
   ========================================================================== */
.daily-bundles-nav {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
}

.daily-bundles-nav::-webkit-scrollbar {
  height: 5px;
}

.daily-bundles-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.day-bundle-btn {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  min-width: 210px;
  color: #cbd5e1;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.day-bundle-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(0, 255, 136, 0.3);
  transform: translateY(-1px);
}

.day-bundle-btn.active {
  background: rgba(0, 255, 136, 0.08) !important;
  border-color: var(--neon-green) !important;
  box-shadow: 0 0 16px rgba(0, 255, 136, 0.2);
}

/* ==========================================================================
   I. EMERGENCY CAMOUFLAGE IDE OVERLAY (ESC & PANIC TRIGGER)
   ========================================================================== */
.camouflage-ide-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #1e1e1e;
  color: #d4d4d4;
  font-family: 'Consolas', 'Courier New', monospace;
  display: flex;
  flex-direction: column;
}

.camouflage-ide-topbar {
  background: #252526;
  border-bottom: 1px solid #3c3c3c;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.camouflage-ide-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
}

.ide-tab {
  background: #2d2d2d;
  color: #969696;
  padding: 5px 12px;
  font-size: 0.78rem;
  border-radius: 4px 4px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.ide-tab.active {
  background: #1e1e1e;
  color: #ffffff;
  border-top: 2px solid #007acc;
}

.ide-ts-badge {
  color: #3178c6;
  font-weight: 800;
  font-size: 0.7rem;
}

.ide-py-badge {
  color: #ffd43b;
  font-weight: 800;
  font-size: 0.7rem;
}

.camouflage-exit-btn {
  background: #333333;
  border: 1px solid #555555;
  color: #cccccc;
  padding: 4px 12px;
  font-size: 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
}

.camouflage-exit-btn:hover {
  background: #444444;
  color: #ffffff;
}

.camouflage-ide-body {
  flex: 1;
  padding: 18px 20px;
  overflow-y: auto;
  font-size: 0.9rem;
  line-height: 1.65;
}

.ide-code-line {
  display: flex;
  gap: 16px;
  white-space: pre-wrap;
  word-break: break-word;
}

.ide-ln {
  color: #858585;
  user-select: none;
  min-width: 30px;
  text-align: right;
  flex-shrink: 0;
}

.ide-src .kw {
  color: #569cd6;
}

.ide-src .type {
  color: #4ec9b0;
}

.ide-src .str {
  color: #ce9178;
}

.ide-src .cm {
  color: #6a9955;
}

.ide-src .fn {
  color: #dcdcaa;
}

.ide-src .prop {
  color: #9cdcfe;
}

.ide-src .arg {
  color: #9cdcfe;
}

.ide-src .var {
  color: #4fc1ff;
}

.ide-src .num {
  color: #b5cea8;
}

.camouflage-ide-statusbar {
  background: #007acc;
  color: #ffffff;
  padding: 4px 16px;
  font-size: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   J. REAL HYPERLINK STYLING & BEAUTIFIED SOCIAL SHARE PILLS
   ========================================================================== */
.real-cyber-link {
  color: #38bdf8 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  word-break: break-all;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.real-cyber-link:hover {
  color: #7dd3fc !important;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.45);
}

.social-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.22s ease;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
}

.social-pill-btn:hover {
  transform: translateY(-2px);
}

.social-whatsapp {
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.38);
  background: rgba(37, 211, 102, 0.09);
}

.social-whatsapp:hover {
  background: rgba(37, 211, 102, 0.2);
  box-shadow: 0 0 14px rgba(37, 211, 102, 0.3);
  color: #ffffff;
}

.social-x {
  color: #f1f5f9;
  border-color: rgba(241, 245, 249, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.social-x:hover {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.social-telegram {
  color: #38bdf8;
  border-color: rgba(34, 158, 217, 0.4);
  background: rgba(34, 158, 217, 0.1);
}

.social-telegram:hover {
  background: rgba(34, 158, 217, 0.22);
  box-shadow: 0 0 14px rgba(34, 158, 217, 0.32);
  color: #ffffff;
}

/* ==========================================================================
   K. USER DASHBOARD ARCHITECTURAL SYSTEM (DRY STYLES)
   ========================================================================== */
.dashboard-main-section {
  padding-top: 130px;
  padding-bottom: 70px;
}

.dashboard-persona-banner {
  background: linear-gradient(135deg, rgba(12, 14, 23, 0.95), rgba(4, 5, 8, 0.95));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-2xl);
  padding: 28px 26px;
  margin-bottom: 30px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 255, 136, 0.1);
}

.dashboard-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.dashboard-header-profile {
  display: flex;
  align-items: center;
  gap: 20px;
}

.dashboard-avatar-ring {
  width: 84px;
  height: 84px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  border: 2px solid var(--neon-green);
  box-shadow: 0 0 20px var(--neon-green-glow);
  flex-shrink: 0;
  transition: width 0.25s ease, height 0.25s ease;
}

.dashboard-avatar-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dashboard-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.dashboard-active-pill {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--neon-green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(0, 255, 136, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 255, 136, 0.25);
}

.dashboard-id-tag {
  font-size: 0.78rem;
  color: #64748b;
}

.dashboard-alias-title {
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  margin-bottom: 4px;
  color: #fff;
}

.dashboard-bio-text {
  color: #94a3b8;
  font-size: 0.9rem;
  max-width: 500px;
  font-style: italic;
  margin-bottom: 10px;
}

.dashboard-passkey-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(157, 0, 255, 0.35);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 0.8rem;
  flex-wrap: wrap;
}

.passkey-label {
  color: #c084fc;
  font-weight: 700;
}

.passkey-val {
  color: var(--neon-green);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.btn-passkey-chip {
  border-radius: var(--radius-pill);
  padding: 2px 9px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-passkey-reveal {
  background: rgba(157, 0, 255, 0.15);
  border: 1px solid rgba(157, 0, 255, 0.4);
  color: #c084fc;
}

.btn-passkey-copy {
  background: rgba(0, 255, 136, 0.12);
  border: 1px solid rgba(0, 255, 136, 0.35);
  color: var(--neon-green);
}

.dashboard-header-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.dashboard-stats-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.dashboard-stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  text-align: center;
  min-width: 96px;
}

.stat-box-num {
  font-size: 1.45rem;
  font-weight: 800;
}

.stat-box-lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.05em;
}

/* Generate Link & Collapsible Controls */
.compact-link-card {
  background: radial-gradient(circle at 10% 20%, rgba(0, 255, 136, 0.08), transparent 45%), var(--bg-surface);
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: var(--radius-2xl);
  padding: 16px 20px;
  margin-bottom: 28px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
  transition: all 0.3s ease;
}

.compact-link-card.mode-group {
  background: radial-gradient(circle at 10% 20%, rgba(157, 0, 255, 0.08), transparent 45%), var(--bg-surface);
  border-color: rgba(157, 0, 255, 0.35);
}

.link-card-short-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.link-card-heading {
  font-size: 1.2rem;
  color: #fff;
  margin: 0;
  font-weight: 700;
}

.btn-point-down {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.4);
  color: var(--neon-green);
  border-radius: var(--radius-pill);
  width: 32px;
  height: 32px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.btn-point-down.is-open .point-down-icon {
  transform: rotate(180deg);
  display: inline-block;
}

.link-card-expanded-body {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 14px;
  padding-top: 16px;
}

.link-mode-switcher-bar {
  display: flex;
  margin-bottom: 14px;
}

.link-mode-pills-container {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 4px;
}

.auth-tab-btn {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: transparent;
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-tab-btn.active-personal-tab {
  border-color: rgba(0, 255, 136, 0.4);
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.08));
  color: var(--neon-green);
}

.auth-tab-btn.active-group-tab {
  border-color: rgba(157, 0, 255, 0.4);
  background: linear-gradient(135deg, rgba(157, 0, 255, 0.2), rgba(157, 0, 255, 0.08));
  color: #c084fc;
}

.personal-share-bar {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

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

.share-label {
  font-size: 0.76rem;
  color: #94a3b8;
}

.personal-customization-drawer {
  margin-top: 14px;
}

.customization-summary {
  cursor: pointer;
  font-size: 0.8rem;
  color: #94a3b8;
}

.dashboard-profile-edit-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-compact-save {
  padding: 6px 18px;
  font-size: 0.8rem;
}

/* Group Chamber Deploy & Collapsed Cards with Green Countdown */
.deploy-group-form {
  margin-bottom: 18px;
}

.group-deploy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 8px;
}

.group-deploy-kicker {
  font-size: 0.76rem;
  font-weight: 700;
  color: #c084fc;
  text-transform: uppercase;
}

.group-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: flex-end;
}

.btn-deploy-group {
  height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
}

.group-chamber-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-bottom: 10px;
  overflow: hidden;
}

.grp-card-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 14px;
  gap: 10px;
  cursor: pointer;
  flex-wrap: wrap;
}

.grp-card-name-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.grp-card-name {
  font-weight: 700;
  color: #fff;
  font-size: 0.94rem;
}

.grp-code-tag {
  font-size: 0.72rem;
  color: #64748b;
}

.group-timer-pill-green {
  font-size: 0.72rem;
  color: var(--neon-green);
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.35);
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  white-space: nowrap;
}

.grp-bar-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-copy-group-pro {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-copy-group-pro:hover {
  background: rgba(56, 189, 248, 0.22);
  color: #ffffff;
}

.btn-copy-group-pro.copied-state {
  background: var(--neon-green);
  border-color: var(--neon-green);
  color: #000;
}

.btn-grp-conceal {
  background: rgba(157, 0, 255, 0.12);
  border: 1px solid rgba(157, 0, 255, 0.4);
  color: #c084fc;
  border-radius: var(--radius-pill);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-grp-conceal.is-open .grp-conceal-arrow {
  transform: rotate(180deg);
  display: inline-block;
}

.grp-card-body {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.2);
}

.grp-body-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.grp-meta-stat {
  font-size: 0.74rem;
  color: #94a3b8;
}

.grp-body-desc {
  font-size: 0.84rem;
  color: #94a3b8;
  font-style: italic;
  margin-bottom: 10px;
}

.group-url-box {
  background: rgba(4, 5, 8, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 6px 10px 6px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.grp-url-text {
  font-family: monospace;
  font-size: 0.78rem;
}

.group-card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

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

.btn-destruct-group {
  padding: 5px 12px;
  font-size: 0.75rem;
  background: rgba(255, 0, 85, 0.15);
  border: 1px solid rgba(255, 0, 85, 0.35);
  color: #ff3366;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.empty-chamber-notice {
  text-align: center;
  padding: 22px;
  color: #64748b;
  font-size: 0.84rem;
  font-style: italic;
}

/* Vault Sections: Whispers & Persona Messages */
.dashboard-vault-section {
  margin-top: 28px;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vault-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 10px;
  flex-wrap: wrap;
}

.vault-section-heading {
  font-size: 1.35rem;
  color: #fff;
  margin: 0;
}

.vault-trigger-row {
  margin-bottom: 16px;
}

.btn-vault-reveal-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
  background: rgba(255, 255, 255, 0.04);
  color: white;
}

.btn-reveal-cyan {
  border: 1px solid rgba(0, 229, 255, 0.45);
  color: #00e5ff;
}

.btn-reveal-cyan:hover,
.btn-reveal-cyan.is-open {
  background: rgba(0, 229, 255, 0.16);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.25);
}

.btn-reveal-green {
  border: 1px solid rgba(0, 255, 136, 0.45);
  color: var(--neon-green);
}

.btn-reveal-green:hover,
.btn-reveal-green.is-open {
  background: rgba(0, 255, 136, 0.16);
  box-shadow: 0 0 18px rgba(0, 255, 136, 0.25);
}

.vault-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.whisper-meta-left,
.whisper-meta-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.whisper-time-label {
  font-size: 0.72rem;
  color: #64748b;
}

.stat-pill-smile {
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.35);
  color: var(--neon-green);
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
}

.stat-pill-chaos {
  background: rgba(255, 0, 85, 0.1);
  border: 1px solid rgba(255, 0, 85, 0.35);
  color: var(--neon-crimson);
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
}

.btn-shred-item {
  background: rgba(255, 0, 85, 0.1);
  border: 1px solid rgba(255, 0, 85, 0.3);
  color: #ff4d79;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  cursor: pointer;
}

.vault-empty-card {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-xl);
  color: #94a3b8;
  font-size: 0.88rem;
}

/* ==========================================================================
   L. SEND SECRET PAGE (MINIMALIST & SUCCESS GOOD-MARK CARD)
   ========================================================================== */
.send-secret-section {
  padding-top: 120px;
  padding-bottom: 70px;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.send-secret-drop-card {
  border-radius: var(--radius-2xl);
  padding: 34px 28px;
  border-color: rgba(0, 255, 136, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 255, 136, 0.12);
}

.send-secret-profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.send-secret-avatar-ring {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  border: 2px solid var(--neon-purple);
  box-shadow: 0 0 20px var(--neon-purple-glow);
  flex-shrink: 0;
}

.send-secret-avatar-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.send-secret-recipient-name {
  font-size: clamp(1.25rem, 3.2vw, 1.65rem);
  color: #ffffff;
  margin: 0;
}

.send-secret-label {
  font-size: 0.82rem;
}

.send-secret-textarea {
  font-size: 0.95rem;
  padding: 14px 16px;
}

.send-secret-submit-btn {
  width: 100%;
  height: 50px;
  font-size: 1rem;
  cursor: pointer;
}

/* Success Good Mark & Sleek Send Another Button */
.secret-success-card {
  background: radial-gradient(circle at 50% 20%, rgba(0, 255, 136, 0.15), transparent 60%), var(--bg-surface);
  border: 1px solid var(--neon-green);
  border-radius: var(--radius-2xl);
  padding: 44px 30px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 50px rgba(0, 255, 136, 0.2);
}

.good-mark-ring {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.24), rgba(0, 255, 136, 0.08));
  border: 2.5px solid var(--neon-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px auto;
  color: var(--neon-green);
  box-shadow: 0 0 32px var(--neon-green-glow), inset 0 0 14px rgba(0, 255, 136, 0.25);
}

.success-confirmed-title {
  font-size: clamp(1.15rem, 3.2vw, 1.55rem);
  color: var(--neon-green);
  margin: 0;
  letter-spacing: 0.02em;
}

.special-cta-sub {
  font-size: 1.02rem;
}

.btn-send-another-pro {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 30px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 229, 255, 0.45);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.14), rgba(157, 0, 255, 0.18));
  color: #ffffff;
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6), 0 0 18px rgba(0, 229, 255, 0.16);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-send-another-pro:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: var(--neon-green);
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 229, 255, 0.2));
  box-shadow: 0 0 28px rgba(0, 255, 136, 0.35);
}

/* ==========================================================================
   M. GLOBAL SMALL-SCREEN TEXT SCALING & PROFILE AVATAR RESIZING
   ========================================================================== */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .dashboard-main-section {
    padding-top: 105px;
  }

  .dashboard-persona-banner {
    padding: 20px 18px;
  }

  .dashboard-avatar-ring {
    width: 64px;
    height: 64px;
  }

  .dashboard-header-stats {
    width: 100%;
    align-items: flex-start;
  }

  .dashboard-stat-box {
    flex: 1;
    min-width: 80px;
    padding: 10px 12px;
  }

  .stat-box-num {
    font-size: 1.2rem;
  }

  .group-form-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-profile-edit-grid {
    grid-template-columns: 1fr;
  }

  .btn-deploy-group {
    width: 100%;
  }

  .send-secret-section {
    padding-top: 105px;
  }

  .send-secret-drop-card {
    padding: 24px 18px;
  }

  .send-secret-avatar-ring {
    width: 54px;
    height: 54px;
  }

  .btn-category-chip {
    font-size: 0.74rem !important;
    padding: 5px 11px !important;
  }

  .special-cta-sub {
    font-size: 0.88rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 13px;
  }

  h1 {
    font-size: 1.35rem;
  }

  h2 {
    font-size: 1.15rem;
  }

  .dashboard-avatar-ring {
    width: 52px;
    height: 52px;
  }

  .dashboard-header-profile {
    gap: 14px;
  }

  .dashboard-bio-text {
    font-size: 0.82rem;
  }

  .dashboard-passkey-bar {
    font-size: 0.72rem;
    padding: 4px 10px;
  }

  .link-card-heading,
  .vault-section-heading {
    font-size: 1.05rem;
  }

  .grp-card-name {
    font-size: 0.84rem;
  }

  .btn-copy-group-pro {
    font-size: 0.7rem;
    padding: 3px 9px;
  }

  .group-timer-pill-green {
    font-size: 0.66rem;
    padding: 2px 7px;
  }

  .social-pill-btn {
    font-size: 0.72rem;
    padding: 5px 10px;
  }

  .send-secret-avatar-ring {
    width: 46px;
    height: 46px;
  }

  .send-secret-textarea {
    font-size: 0.86rem;
    padding: 11px 14px;
  }

  .btn-send-another-pro {
    font-size: 0.84rem;
    padding: 10px 22px;
    width: 100%;
  }

  .camouflage-ide-body {
    font-size: 0.76rem;
    padding: 12px 10px;
  }
}

/* ==========================================================================
   N. GROUP CHAMBER CREATOR CONTROLS & CRYPTO-VERIFIED CREATOR BADGE
   ========================================================================== */
.btn-creator-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  font-family: var(--font-mono, monospace);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-creator-toggle.is-on {
  background: rgba(0, 255, 136, 0.14);
  border: 1px solid rgba(0, 255, 136, 0.45);
  color: var(--neon-green);
  box-shadow: 0 0 12px rgba(0, 255, 136, 0.18);
}

.btn-creator-toggle.is-off {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #94a3b8;
}

.btn-creator-toggle:hover {
  transform: translateY(-1px);
  filter: brightness(1.12);
}

.creator-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffd700;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.16), rgba(0, 255, 136, 0.12));
  border: 1px solid rgba(255, 215, 0, 0.55);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.25);
  text-transform: uppercase;
}

.media-disabled-pill {
  font-size: 0.74rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   NEXUS COMPACT IDENTITY BAR & FULL-PAGE SETTINGS POP-UP MODAL
   ========================================================================== */
.nexus-identity-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
  min-width: 0;
}

.nexus-active-preview {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  flex: 1 1 auto;
}

.nexus-preview-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 255, 136, 0.12);
  border: 1px solid rgba(0, 255, 136, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(0, 255, 136, 0.2);
}

.nexus-preview-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}

.nexus-preview-alias {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nexus-preview-cat {
  font-size: 0.72rem;
  color: var(--neon-green);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nexus-settings-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 255, 136, 0.45);
  background: rgba(0, 255, 136, 0.1);
  color: var(--neon-green);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.22s ease;
  box-shadow: 0 0 14px rgba(0, 255, 136, 0.14);
}

.nexus-settings-trigger:hover {
  background: rgba(0, 255, 136, 0.2);
  border-color: var(--neon-green);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.35);
  transform: translateY(-1px);
}

/* Full-Page Settings Modal Overlay */
.nexus-settings-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.nexus-settings-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 12, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 0;
}

.nexus-settings-dialog {
  position: relative;
  z-index: 1;
  width: min(94vw, 860px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, rgba(16, 20, 34, 0.98), rgba(7, 9, 16, 0.99));
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: var(--radius-2xl);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85), 0 0 40px rgba(0, 255, 136, 0.12);
  overflow: hidden;
  animation: nexusSettingsModalIn 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes nexusSettingsModalIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.nexus-settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
}

.nexus-settings-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.nexus-settings-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 255, 136, 0.14);
  border: 1px solid rgba(0, 255, 136, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.nexus-settings-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: 0.02em;
}

.nexus-settings-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #cbd5e1;
  font-size: 1.35rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.nexus-settings-close:hover {
  background: rgba(255, 0, 85, 0.18);
  border-color: rgba(255, 0, 85, 0.5);
  color: #ff4d88;
}

.nexus-settings-body {
  padding: 22px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.nexus-settings-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nexus-settings-masks-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.nexus-mask-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #020307;
}

.nexus-mask-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nexus-settings-controls-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
}

.nexus-control-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.nexus-settings-dialog .cyber-select {
  cursor: pointer;
}

.nexus-settings-dialog .cyber-select option {
  background: #0b0f1a;
  color: #f8fafc;
}

.nexus-settings-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.025);
  border-top: 1px solid var(--border-subtle);
}

.nexus-settings-summary {
  font-size: 0.82rem;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nexus-settings-save-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Light Theme Counterparts */
body[data-theme="light"] .nexus-identity-bar {
  background: #f8fafc;
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

body[data-theme="light"] .nexus-preview-alias {
  color: #0f172a;
}

body[data-theme="light"] .nexus-preview-cat {
  color: #059669;
}

body[data-theme="light"] .nexus-settings-trigger {
  background: rgba(5, 150, 105, 0.1);
  border-color: rgba(5, 150, 105, 0.4);
  color: #059669;
}

body[data-theme="light"] .nexus-settings-backdrop {
  background: rgba(15, 23, 42, 0.5);
}

body[data-theme="light"] .nexus-settings-dialog {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.22);
}

body[data-theme="light"] .nexus-settings-header,
body[data-theme="light"] .nexus-settings-footer {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
}

body[data-theme="light"] .nexus-settings-title,
body[data-theme="light"] .nexus-settings-summary {
  color: #0f172a;
}

body[data-theme="light"] .nexus-settings-close {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: #0f172a;
}

body[data-theme="light"] .nexus-settings-dialog .nexus-card {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.1);
}

body[data-theme="light"] .nexus-settings-dialog .cyber-select option {
  background: #ffffff;
  color: #0f172a;
}

body[data-theme="light"] .nexus-settings-dialog .btn-attune-mask {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: #0f172a;
}

body[data-theme="light"] .nexus-settings-dialog .active-attuned .btn-attune-mask {
  background: rgba(5, 150, 105, 0.15);
  border-color: #059669;
  color: #059669;
}

/* Responsive Scaling for Settings Modal & Identity Bar */
@media (max-width: 768px) {
  .nexus-settings-modal {
    padding: 12px;
  }

  .nexus-settings-dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: var(--radius-xl);
  }

  .nexus-settings-header,
  .nexus-settings-footer {
    padding: 14px 16px;
  }

  .nexus-settings-body {
    padding: 16px;
    gap: 16px;
  }

  .nexus-settings-masks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .nexus-settings-controls-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .nexus-settings-title {
    font-size: 1.02rem;
  }

  .archetype-name {
    font-size: 0.92rem;
  }
}

@media (max-width: 480px) {
  .nexus-identity-bar {
    padding: 10px 12px;
    gap: 8px;
  }

  .nexus-preview-badge {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .nexus-preview-alias {
    font-size: 0.8rem;
  }

  .nexus-preview-cat {
    font-size: 0.68rem;
  }

  .nexus-settings-trigger {
    padding: 6px 12px;
    font-size: 0.76rem;
  }

  .nexus-settings-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .nexus-settings-summary {
    text-align: center;
    font-size: 0.76rem;
  }

  .nexus-settings-save-btn {
    width: 100%;
    justify-content: center;
  }

  .nexus-card {
    padding: 12px 10px;
    gap: 8px;
  }

  .btn-attune-mask {
    padding: 7px 10px;
    font-size: 0.76rem;
  }
}

/* ==========================================================================
   SUSPENDED ACCOUNT PAGE & LOGIN SUSPENSION HINT
   ========================================================================== */
.login-suspended-hint {
  margin-top: 16px;
  text-align: center;
  font-size: 0.82rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.login-suspended-hint a {
  color: #fbbf24;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed rgba(251, 191, 36, 0.45);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.login-suspended-hint a:hover {
  color: #fcd34d;
  border-bottom-color: #fcd34d;
}

.suspended-section {
  padding-top: 130px;
  padding-bottom: 90px;
  min-height: 82vh;
  display: flex;
  align-items: center;
}

.suspended-card {
  background: linear-gradient(155deg, rgba(20, 12, 18, 0.96), rgba(9, 10, 16, 0.99));
  border: 1px solid rgba(255, 0, 85, 0.4);
  border-radius: var(--radius-2xl);
  padding: 38px 34px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.85), 0 0 45px rgba(255, 0, 85, 0.14);
  text-align: center;
}

.suspended-emblem {
  width: 74px;
  height: 74px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(255, 0, 85, 0.14);
  border: 2px solid rgba(255, 0, 85, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 0 28px rgba(255, 0, 85, 0.28);
}

.suspended-emblem.reinstated {
  background: rgba(0, 255, 136, 0.14);
  border-color: var(--neon-green);
  color: var(--neon-green);
  box-shadow: 0 0 28px rgba(0, 255, 136, 0.3);
}

.suspended-kicker {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff4d88;
  font-weight: 700;
  margin-bottom: 8px;
}

.suspended-kicker.reinstated {
  color: var(--neon-green);
}

.suspended-title {
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  color: #f8fafc;
  margin-bottom: 10px;
}

.suspended-lead {
  font-size: 0.92rem;
  color: #94a3b8;
  max-width: 520px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.suspended-identity-box {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 14px 16px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
}

.suspended-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 0, 85, 0.55);
  flex-shrink: 0;
}

.suspended-identity-meta {
  min-width: 0;
  flex: 1 1 auto;
}

.suspended-alias-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.suspended-alias {
  color: #f8fafc;
  font-size: 1rem;
}

.suspended-code {
  font-size: 0.78rem;
  color: #94a3b8;
}

.suspended-date {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 3px;
}

.suspended-reason-box {
  text-align: left;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 0, 85, 0.08);
  border: 1px solid rgba(255, 0, 85, 0.28);
  margin-bottom: 18px;
}

.suspended-reason-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: #ff6b9d;
  margin-bottom: 6px;
}

.suspended-reason-text {
  font-size: 0.92rem;
  color: #f1f5f9;
  line-height: 1.5;
  word-break: break-word;
}

.suspended-appeal-status {
  text-align: left;
  padding: 13px 16px;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.09);
  color: #fde68a;
}

.suspended-appeal-status.status-rejected {
  border-color: rgba(255, 0, 85, 0.4);
  background: rgba(255, 0, 85, 0.1);
  color: #fecdd3;
}

.suspended-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.btn-suspended-appeal,
.btn-suspended-login,
.btn-suspended-back {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 700;
}

/* Light Theme Counterparts */
body[data-theme="light"] .suspended-card {
  background: #ffffff;
  border-color: rgba(225, 29, 72, 0.3);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.1);
}

body[data-theme="light"] .suspended-title,
body[data-theme="light"] .suspended-alias,
body[data-theme="light"] .suspended-reason-text {
  color: #0f172a;
}

body[data-theme="light"] .suspended-lead {
  color: #475569;
}

body[data-theme="light"] .suspended-identity-box {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.1);
}

body[data-theme="light"] .suspended-reason-box {
  background: rgba(225, 29, 72, 0.06);
  border-color: rgba(225, 29, 72, 0.25);
}

body[data-theme="light"] .suspended-reason-label,
body[data-theme="light"] .suspended-kicker {
  color: #e11d48;
}

body[data-theme="light"] .login-suspended-hint {
  color: #475569;
}

body[data-theme="light"] .login-suspended-hint a {
  color: #b45309;
  border-bottom-color: rgba(180, 83, 9, 0.4);
}

@media (max-width: 576px) {
  .suspended-section {
    padding-top: 104px;
    padding-bottom: 60px;
  }

  .suspended-card {
    padding: 26px 18px;
    border-radius: var(--radius-xl);
  }

  .suspended-emblem {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }

  .suspended-avatar {
    width: 44px;
    height: 44px;
  }

  .suspended-lead,
  .suspended-reason-text {
    font-size: 0.84rem;
  }
}

/* ==========================================================================
   COMPACT GROUP CHAMBER BAR, OVERLAYS & DISCONNECTED STATUS
   ========================================================================== */
.group-chat-section {
  padding-top: 108px;
  padding-bottom: 64px;
}

.group-compact-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 18px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(15, 17, 28, 0.94), rgba(6, 8, 14, 0.96));
  border: 1px solid rgba(157, 0, 255, 0.35);
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
}

.group-compact-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

.group-compact-title {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.32rem);
  color: #f8fafc;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.group-compact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.btn-group-compact-action,
.btn-group-creator-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-group-compact-action {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #e2e8f0;
}

.btn-group-compact-action:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(157, 0, 255, 0.45);
  color: #ffffff;
}

.btn-group-creator-trigger {
  background: rgba(0, 255, 136, 0.11);
  border: 1px solid rgba(0, 255, 136, 0.45);
  color: var(--neon-green);
  box-shadow: 0 0 12px rgba(0, 255, 136, 0.14);
}

.btn-group-creator-trigger:hover {
  background: rgba(0, 255, 136, 0.2);
  border-color: var(--neon-green);
  box-shadow: 0 0 18px rgba(0, 255, 136, 0.3);
}

.live-sync-indicator.is-disconnected {
  background: rgba(255, 0, 85, 0.12);
  border-color: rgba(255, 0, 85, 0.45);
  color: #ff4d88;
}

.live-sync-indicator.is-disconnected .live-pulse-dot {
  background: #ff3366;
  box-shadow: 0 0 10px rgba(255, 51, 102, 0.7);
  animation: none;
}

.group-overlay-dialog {
  width: min(94vw, 540px);
}

.group-info-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.group-info-item {
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

.group-info-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 5px;
}

.group-info-val {
  font-size: 0.94rem;
  color: #e2e8f0;
  line-height: 1.5;
  word-break: break-word;
}

.group-info-name {
  font-size: 1.12rem;
  font-weight: 700;
  color: #ffffff;
}

.group-info-host {
  color: var(--neon-green);
  font-weight: 700;
}

.creator-modal-settings-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.creator-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

.creator-setting-info {
  min-width: 0;
  flex: 1 1 auto;
}

.creator-setting-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 3px;
}

.creator-setting-sub {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* Light Theme Counterparts */
body[data-theme="light"] .group-compact-bar {
  background: #ffffff;
  border-color: rgba(147, 51, 234, 0.25);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

body[data-theme="light"] .group-compact-title,
body[data-theme="light"] .group-info-name,
body[data-theme="light"] .creator-setting-title {
  color: #0f172a;
}

body[data-theme="light"] .group-info-val {
  color: #334155;
}

body[data-theme="light"] .group-info-host {
  color: #059669;
}

body[data-theme="light"] .group-info-item,
body[data-theme="light"] .creator-setting-row {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.1);
}

body[data-theme="light"] .btn-group-compact-action {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

body[data-theme="light"] .btn-group-creator-trigger {
  background: rgba(5, 150, 105, 0.1);
  border-color: rgba(5, 150, 105, 0.4);
  color: #059669;
}

body[data-theme="light"] .live-sync-indicator.is-disconnected {
  background: rgba(225, 29, 72, 0.08);
  border-color: rgba(225, 29, 72, 0.35);
  color: #e11d48;
}

body[data-theme="light"] .live-sync-indicator.is-disconnected .live-pulse-dot {
  background: #e11d48;
}

@media (max-width: 576px) {
  .group-chat-section {
    padding-top: 90px;
    padding-bottom: 44px;
  }

  .group-compact-bar {
    padding: 10px 12px;
    gap: 10px;
  }

  .btn-group-compact-action,
  .btn-group-creator-trigger {
    padding: 5px 10px;
    font-size: 0.72rem;
  }

  .creator-setting-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Paginated Load Next 30 Button */
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.btn-load-more-30 {
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================================================
   NGL-STYLE COMPACT PERSONA MESSAGE ROWS & FULL-PAGE TOP LAYER MODAL
   ========================================================================== */
.dm-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 8px;
  user-select: none;
}

.dm-row-item:hover,
.dm-row-item:focus-visible {
  background: rgba(0, 255, 136, 0.06);
  border-color: rgba(0, 255, 136, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), 0 0 16px rgba(0, 255, 136, 0.12);
  outline: none;
}

.dm-row-body {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.dm-row-bubble-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
  opacity: 0.9;
}

.dm-row-preview {
  color: #e2e8f0;
  font-size: clamp(0.82rem, 2.5vw, 0.95rem);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  transition: font-size 0.2s ease;
}

.dm-row-delete-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  font-size: 1.05rem;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.15s ease;
  flex-shrink: 0;
  line-height: 1;
}

.dm-row-delete-btn:hover {
  background: rgba(255, 0, 85, 0.15);
  border-color: rgba(255, 0, 85, 0.4);
  color: #ff0055;
  transform: scale(1.1);
}

/* Fullscreen Top Layer Overlay */
.ngl-overlay-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(5, 7, 14, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px;
  animation: nglFadeIn 0.25s ease-out;
}

/* Collapse Button OUTSIDE the Card */
.ngl-overlay-close-btn {
  position: absolute;
  top: 28px;
  right: 32px;
  z-index: 1000000;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ngl-overlay-close-btn:hover {
  background: rgba(255, 0, 85, 0.25);
  border-color: rgba(255, 0, 85, 0.6);
  color: #ff0055;
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 0, 85, 0.35);
}

.ngl-card-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 480px;
  pointer-events: auto;
}

/* NGL-Style High Impact Card */
.ngl-sticker-card {
  width: 100%;
  background: linear-gradient(155deg, #1b2030 0%, #0d1019 100%);
  border-radius: 32px;
  border: 2.5px solid rgba(0, 255, 136, 0.4);
  padding: 48px 36px 54px;
  text-align: center;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.85), 0 0 45px rgba(0, 255, 136, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: nglPopIn 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.ngl-sticker-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 15%, rgba(0, 255, 136, 0.12), transparent 60%);
  pointer-events: none;
}

.ngl-card-heading {
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 900;
  letter-spacing: -2px;
  margin: 0 0 24px 0;
  line-height: 1;
  text-transform: lowercase;
  font-family: var(--font-heading, inherit);
  background: linear-gradient(135deg, #ffffff 15%, var(--neon-green, #00ff88) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
  position: relative;
  z-index: 1;
  transition: font-size 0.2s ease;
}

.ngl-card-body {
  position: relative;
  z-index: 1;
  max-height: 52vh;
  overflow-y: auto;
  padding: 4px 6px;
}

.ngl-card-message {
  font-size: clamp(1rem, 3.8vw, 1.35rem);
  line-height: 1.55;
  font-weight: 600;
  color: #f1f5f9;
  margin: 0;
  word-break: break-word;
  white-space: pre-wrap;
  letter-spacing: -0.2px;
  transition: font-size 0.2s ease;
}

@keyframes nglFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes nglPopIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Light theme adaptations */
body[data-theme="light"] .dm-row-item {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.1);
}

body[data-theme="light"] .dm-row-item:hover {
  background: #ffffff;
  border-color: var(--neon-green);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

body[data-theme="light"] .dm-row-preview {
  color: #0f172a;
}

body[data-theme="light"] .ngl-overlay-modal {
  background: rgba(241, 245, 249, 0.92);
}

body[data-theme="light"] .ngl-overlay-close-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

body[data-theme="light"] .ngl-sticker-card {
  background: linear-gradient(155deg, #ffffff 0%, #f1f5f9 100%);
  border-color: rgba(5, 150, 105, 0.4);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.15), 0 0 30px rgba(5, 150, 105, 0.15);
}

body[data-theme="light"] .ngl-card-heading {
  background: linear-gradient(135deg, #0f172a 15%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body[data-theme="light"] .ngl-card-message {
  color: #0f172a;
}

/* Responsive typography scaling as the screen gets smaller */
@media (max-width: 768px) {
  .dm-row-item {
    padding: 12px 16px;
    gap: 12px;
  }

  .dm-row-preview {
    font-size: 0.9rem;
  }

  .ngl-card-heading {
    font-size: clamp(1.8rem, 6.5vw, 2.5rem);
    margin-bottom: 20px;
  }

  .ngl-card-message {
    font-size: clamp(0.96rem, 3.4vw, 1.2rem);
  }
}

@media (max-width: 576px) {
  .dm-row-item {
    padding: 10px 14px;
    gap: 10px;
  }

  .dm-row-bubble-icon {
    font-size: 1rem;
  }

  .dm-row-preview {
    font-size: 0.84rem;
  }

  .dm-row-delete-btn {
    font-size: 0.95rem;
    padding: 4px 8px;
  }

  .ngl-overlay-close-btn {
    top: 16px;
    right: 16px;
    padding: 8px 16px;
    font-size: 0.82rem;
  }

  .ngl-sticker-card {
    padding: 34px 20px 38px;
    border-radius: 24px;
    width: 92%;
    max-width: 380px;
  }

  .ngl-card-heading {
    font-size: clamp(1.6rem, 6.5vw, 2.1rem);
    letter-spacing: -1.2px;
    margin-bottom: 16px;
  }

  .ngl-card-message {
    font-size: clamp(0.9rem, 3.6vw, 1.05rem);
    line-height: 1.45;
  }
}

@media (max-width: 380px) {
  .dm-row-item {
    padding: 8px 10px;
    gap: 8px;
  }

  .dm-row-bubble-icon {
    font-size: 0.9rem;
  }

  .dm-row-preview {
    font-size: 0.76rem;
  }

  .dm-row-delete-btn {
    font-size: 0.85rem;
    padding: 3px 6px;
  }

  .ngl-overlay-close-btn {
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .ngl-sticker-card {
    padding: 24px 14px 28px;
    border-radius: 18px;
    width: 95%;
  }

  .ngl-card-heading {
    font-size: 1.45rem;
    letter-spacing: -1px;
    margin-bottom: 12px;
  }

  .ngl-card-message {
    font-size: 0.82rem;
    line-height: 1.4;
  }
}

/* ==========================================================================
   SPECIAL INACTIVE LINK PRESENTATION (NO NAV, NO FOOTER)
   ========================================================================== */
.inactive-page-body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 25%, #181124 0%, #080a12 70%, #05060a 100%);
  color: #f8fafc;
  font-family: var(--font-body, 'Inter', sans-serif);
  overflow-x: hidden;
  position: relative;
}

.inactive-viewport-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
  position: relative;
  z-index: 2;
}

.inactive-special-card {
  width: 100%;
  max-width: 520px;
  background: linear-gradient(165deg, rgba(26, 29, 44, 0.88) 0%, rgba(13, 16, 26, 0.96) 100%);
  border: 1.5px solid rgba(255, 0, 85, 0.35);
  border-radius: 32px;
  padding: 52px 38px 46px;
  text-align: center;
  position: relative;
  box-shadow: 0 35px 80px -15px rgba(0, 0, 0, 0.85),
    0 0 50px rgba(255, 0, 85, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  animation: nglPopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.inactive-special-card::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle at 50% 15%, rgba(255, 0, 85, 0.12), transparent 60%);
  pointer-events: none;
}

.inactive-radar-orb {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(255, 0, 85, 0.22) 0%, rgba(255, 0, 85, 0.04) 70%);
  border: 1.5px solid rgba(255, 0, 85, 0.45);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 30px rgba(255, 0, 85, 0.3);
}

.inactive-radar-pulse {
  position: absolute;
  inset: -6px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 0, 85, 0.5);
  animation: pulseGhost 2.4s ease-out infinite;
}

.inactive-icon {
  font-size: 2.6rem;
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.inactive-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 0, 85, 0.12);
  border: 1px solid rgba(255, 0, 85, 0.4);
  color: var(--neon-crimson, #ff0055);
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}

.inactive-pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--neon-crimson, #ff0055);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-crimson, #ff0055);
  animation: pulseGhost 1.8s infinite;
}

.inactive-main-heading {
  font-size: clamp(2rem, 6.5vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  text-transform: lowercase;
  margin: 0 0 16px;
  font-family: var(--font-heading, inherit);
  background: linear-gradient(135deg, #ffffff 30%, #ff4d88 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 25px rgba(255, 0, 85, 0.35);
}

.inactive-lead-message {
  font-size: clamp(0.95rem, 3.2vw, 1.05rem);
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0 0 32px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.inactive-cta-wrapper {
  margin-bottom: 22px;
}

.btn-create-link-special {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 380px;
  background: linear-gradient(135deg, var(--neon-green, #00ff88) 0%, #00cc6a 100%);
  color: #05070d;
  font-weight: 800;
  font-size: clamp(0.95rem, 3.4vw, 1.1rem);
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.38), 0 0 20px rgba(0, 255, 136, 0.2);
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-create-link-special:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 255, 136, 0.55), 0 0 35px rgba(0, 255, 136, 0.35);
  color: #000;
}

.inactive-sub-action {
  margin-top: 14px;
}

.inactive-home-link {
  color: #94a3b8;
  font-size: 0.82rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.18s ease;
}

.inactive-home-link:hover {
  color: #f1f5f9;
  text-decoration: underline;
}

/* Light theme support */
body[data-theme="light"] .inactive-page-body {
  background: radial-gradient(circle at 50% 25%, #f1f5f9 0%, #e2e8f0 70%, #cbd5e1 100%);
}

body[data-theme="light"] .inactive-special-card {
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  border-color: rgba(225, 29, 72, 0.35);
  box-shadow: 0 35px 80px -15px rgba(0, 0, 0, 0.12), 0 0 35px rgba(225, 29, 72, 0.12);
}

body[data-theme="light"] .inactive-main-heading {
  background: linear-gradient(135deg, #0f172a 30%, #e11d48 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body[data-theme="light"] .inactive-lead-message {
  color: #475569;
}

body[data-theme="light"] .inactive-home-link {
  color: #64748b;
}

body[data-theme="light"] .inactive-home-link:hover {
  color: #0f172a;
}

@media (max-width: 576px) {
  .inactive-special-card {
    padding: 42px 24px 36px;
    border-radius: 26px;
  }

  .inactive-radar-orb {
    width: 74px;
    height: 74px;
    margin-bottom: 18px;
  }

  .inactive-icon {
    font-size: 2.1rem;
  }

  .btn-create-link-special {
    padding: 14px 24px;
  }
}

/* ==========================================================================
   GHOSTWHISPER 100 CLASSIC ANIMATED STICKERS & WHISPER COIN MARKETPLACE
   ========================================================================== */

/* --- 1. SVG Keyframe Animations (Hardware-Accelerated 60fps) --- */
@keyframes animHeartPulse {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 6px rgba(255, 0, 85, 0.45));
  }

  14% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 14px rgba(255, 0, 85, 0.75));
  }

  28% {
    transform: scale(1);
    filter: drop-shadow(0 0 6px rgba(255, 0, 85, 0.45));
  }

  42% {
    transform: scale(1.12);
    filter: drop-shadow(0 0 18px rgba(255, 0, 85, 0.85));
  }

  70% {
    transform: scale(1);
    filter: drop-shadow(0 0 6px rgba(255, 0, 85, 0.45));
  }

  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 6px rgba(255, 0, 85, 0.45));
  }
}

@keyframes animDiamondSparkle {
  0% {
    transform: rotate(0deg) scale(1);
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.5));
  }

  25% {
    transform: rotate(1deg) scale(1.04);
    filter: drop-shadow(0 0 18px rgba(180, 250, 255, 0.85)) drop-shadow(0 0 28px rgba(0, 240, 255, 0.6));
  }

  50% {
    transform: rotate(-1deg) scale(1.02);
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5));
  }

  75% {
    transform: rotate(0.5deg) scale(1.05);
    filter: drop-shadow(0 0 22px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 30px rgba(0, 240, 255, 0.7));
  }

  100% {
    transform: rotate(0deg) scale(1);
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.5));
  }
}

@keyframes animGoldGleam {
  0% {
    transform: translateY(0);
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.45));
  }

  30% {
    transform: translateY(-2px) scale(1.03);
    filter: drop-shadow(0 0 16px rgba(255, 215, 0, 0.8)) drop-shadow(0 0 26px rgba(255, 170, 0, 0.6));
  }

  60% {
    transform: translateY(1px) scale(1.01);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
  }

  100% {
    transform: translateY(0);
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.45));
  }
}

@keyframes animSilverShimmer {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 6px rgba(200, 220, 240, 0.4));
  }

  35% {
    transform: scale(1.03) rotate(-1deg);
    filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 22px rgba(160, 190, 220, 0.6));
  }

  70% {
    transform: scale(1.01) rotate(1deg);
    filter: drop-shadow(0 0 8px rgba(200, 220, 240, 0.5));
  }

  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 6px rgba(200, 220, 240, 0.4));
  }
}

.anim-heart-pulse {
  animation: animHeartPulse 2.4s ease-in-out infinite;
  transform-origin: center center;
}

.anim-diamond-sparkle {
  animation: animDiamondSparkle 3.2s ease-in-out infinite;
  transform-origin: center center;
}

.anim-gold-gleam {
  animation: animGoldGleam 2.8s ease-in-out infinite;
  transform-origin: center center;
}

.anim-silver-shimmer {
  animation: animSilverShimmer 3s ease-in-out infinite;
  transform-origin: center center;
}

.sticker-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  transition: transform 0.25s ease;
}

/* --- 2. Stickers Hero & Wallet Card --- */
.stickers-main-section {
  padding-top: 100px;
  padding-bottom: 80px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.stickers-hero-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 36px 36px;
  gap: 20px;
  padding: 28px 24px;
  background: linear-gradient(135deg, rgba(16, 20, 32, 0.85) 0%, rgba(8, 10, 18, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  margin-bottom: 28px;
  border-radius: 24px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.5);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.stickers-hero-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.stickers-hero-left {
  max-width: 620px;
  min-width: 0;
  box-sizing: border-box;
}

.vault-kicker-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.25);
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.vault-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
}

.stickers-vault-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 10px;
  word-break: break-word;
}

.stickers-vault-sub {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

/* Wallet Card inside Hero */
.stickers-wallet-card {
  min-width: 310px;
  padding: 22px 24px;
  width: 100%;
  max-width: 360px;
  min-width: 0;
  padding: 18px 20px;
  background: linear-gradient(145deg, rgba(24, 28, 44, 0.9) 0%, rgba(12, 15, 26, 0.95) 100%);
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 215, 0, 0.12);
  flex-shrink: 0;
  flex-shrink: 1;
  box-sizing: border-box;
  overflow: hidden;
}

.wallet-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 6px;
}

.wallet-label {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: #ffd700;
  font-weight: 700;
}

.country-detect-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.wallet-balance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.wallet-coin-display {
  display: flex;
  align-items: baseline;
  gap: 8px;
  gap: 6px;
}

.wallet-coin-icon {
  font-size: 1.8rem;
  font-size: 1.6rem;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.wallet-coin-num {
  font-size: 2.2rem;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 900;
  color: #ffd700;
  line-height: 1;
  text-shadow: 0 0 18px rgba(255, 215, 0, 0.4);
}

.wallet-coin-unit {
  font-size: 0.85rem;
  font-size: 0.82rem;
  color: #e2e8f0;
  font-weight: 600;
}

.btn-topup-trigger {
  background: linear-gradient(135deg, #ffd700 0%, #ff9900 100%);
  color: #0b0d14;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 10px 18px;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.35);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-topup-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.5);
  filter: brightness(1.1);
}

.wallet-meta-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.74rem;
  font-size: 0.72rem;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
}

/* --- 3. Filter Controls Bar & Search --- */
.stickers-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}

.stickers-category-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.stickers-category-pills::-webkit-scrollbar {
  display: none;
}

.sticker-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticker-cat-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.sticker-cat-pill.active {
  background: #fff;
  color: #0b0d14;
  border-color: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
}

.sticker-cat-pill.cat-pill-love.active {
  background: linear-gradient(135deg, #ff0055 0%, #ff5588 100%);
  color: #fff;
  border-color: #ff0055;
  box-shadow: 0 0 20px rgba(255, 0, 85, 0.5);
}

.sticker-cat-pill.cat-pill-diamond.active {
  background: linear-gradient(135deg, #00f0ff 0%, #70ffff 100%);
  color: #050b14;
  border-color: #00f0ff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.sticker-cat-pill.cat-pill-gold.active {
  background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
  color: #0b0d14;
  border-color: #ffd700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.sticker-cat-pill.cat-pill-silver.active {
  background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
  color: #0b0d14;
  border-color: #cbd5e1;
  box-shadow: 0 0 20px rgba(200, 220, 240, 0.5);
}

.sticker-cat-pill.cat-pill-unlocked.active {
  background: linear-gradient(135deg, var(--neon-green) 0%, #00cc6a 100%);
  color: #0b0d14;
  border-color: var(--neon-green);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.cat-pill-count {
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.25);
  font-weight: 700;
}

.sticker-cat-pill.active .cat-pill-count {
  background: rgba(0, 0, 0, 0.2);
}

.stickers-search-wrap {
  position: relative;
  min-width: 260px;
}

.stickers-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 0.85rem;
  pointer-events: none;
}

.stickers-search-input {
  width: 100%;
  padding: 10px 38px 10px 38px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: 0.85rem;
  outline: none;
  transition: all 0.2s ease;
}

.stickers-search-input:focus {
  border-color: var(--neon-green);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

.btn-clear-search {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  font-size: 0.8rem;
}

.btn-clear-search:hover {
  color: #fff;
}

/* Active Status & Pricing Legend Bar */
.stickers-active-count-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  margin-bottom: 24px;
}

.stickers-pricing-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.74rem;
}

.legend-chip {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.legend-diamond {
  color: #00f0ff;
  border: 1px solid rgba(0, 240, 255, 0.25);
}

.legend-gold {
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.25);
}

.legend-love {
  color: #ff5588;
  border: 1px solid rgba(255, 0, 85, 0.25);
}

.legend-silver {
  color: #cbd5e1;
  border: 1px solid rgba(200, 220, 240, 0.25);
}

/* --- 4. 100 Classic Animated Stickers Grid --- */
.stickers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
}

.sticker-card {
  background: linear-gradient(160deg, rgba(20, 24, 38, 0.85) 0%, rgba(10, 12, 22, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.sticker-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 35px -10px rgba(0, 0, 0, 0.6);
}

/* Category Specific Border Highlights */
.sticker-card.sticker-cat-love:hover {
  border-color: rgba(255, 0, 85, 0.45);
  box-shadow: 0 14px 35px -10px rgba(255, 0, 85, 0.25);
}

.sticker-card.sticker-cat-diamond:hover {
  border-color: rgba(0, 240, 255, 0.45);
  box-shadow: 0 14px 35px -10px rgba(0, 240, 255, 0.25);
}

.sticker-card.sticker-cat-gold:hover {
  border-color: rgba(255, 215, 0, 0.45);
  box-shadow: 0 14px 35px -10px rgba(255, 215, 0, 0.25);
}

.sticker-card.sticker-cat-silver:hover {
  border-color: rgba(200, 220, 240, 0.45);
  box-shadow: 0 14px 35px -10px rgba(200, 220, 240, 0.2);
}

.sticker-card.is-unlocked {
  border-color: rgba(0, 255, 136, 0.3);
  background: linear-gradient(160deg, rgba(16, 32, 28, 0.8) 0%, rgba(8, 18, 16, 0.95) 100%);
}

.sticker-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.sticker-badge-category {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.badge-cat-love {
  background: rgba(255, 0, 85, 0.15);
  color: #ff5588;
  border: 1px solid rgba(255, 0, 85, 0.3);
}

.badge-cat-diamond {
  background: rgba(0, 240, 255, 0.15);
  color: #00f0ff;
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.badge-cat-gold {
  background: rgba(255, 215, 0, 0.15);
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.badge-cat-silver {
  background: rgba(200, 220, 240, 0.15);
  color: #cbd5e1;
  border: 1px solid rgba(200, 220, 240, 0.3);
}

.sticker-badge-tier {
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  color: #64748b;
  font-weight: 700;
}

/* Sticker Art Stage */
.sticker-art-stage {
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.35) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  margin-bottom: 12px;
}

.sticker-svg-render-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticker-click-hint {
  position: absolute;
  bottom: 6px;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.2s ease;
  pointer-events: none;
}

.sticker-art-stage:hover .sticker-click-hint {
  opacity: 1;
  transform: translateY(0);
}

/* Card Footer & Action Button */
.sticker-card-footer {
  margin-top: auto;
}

.sticker-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticker-action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.sticker-price-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  font-weight: 800;
  color: #ffd700;
}

.price-coin-icon {
  font-size: 1rem;
}

.btn-sticker-unlock {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 170, 0, 0.3) 100%);
  border: 1px solid rgba(255, 215, 0, 0.5);
  color: #ffd700;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-sticker-unlock:hover {
  background: #ffd700;
  color: #0b0d14;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
  transform: scale(1.04);
}

.btn-sticker-unlocked {
  background: rgba(0, 255, 136, 0.12);
  border: 1px solid rgba(0, 255, 136, 0.4);
  color: var(--neon-green);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  cursor: default;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

/* --- 5. Coin Top-Up Modal --- */
.topup-dialog {
  max-width: 680px;
}

.topup-intro-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 20px;
}

.topup-rate-notice {
  font-size: 0.78rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.topup-bundles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.topup-bundle-card {
  background: linear-gradient(150deg, rgba(22, 26, 42, 0.9) 0%, rgba(12, 14, 24, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 18px 14px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.22s ease;
}

.topup-bundle-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.6);
}

.topup-bundle-card.bundle-recommended {
  border-color: rgba(255, 215, 0, 0.6);
  background: linear-gradient(150deg, rgba(32, 34, 48, 0.95) 0%, rgba(18, 18, 30, 0.98) 100%);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.15);
}

.bundle-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ffd700 0%, #ff9900 100%);
  color: #0b0d14;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
  white-space: nowrap;
}

.bundle-coins-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 8px 0 4px;
}

.bundle-coin-icon {
  font-size: 1.3rem;
}

.bundle-coins-count {
  font-size: 1.6rem;
  font-weight: 900;
  color: #ffd700;
  line-height: 1;
}

.bundle-coins-lbl {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
}

.bundle-name {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 12px;
}

.bundle-price-tag {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
}

.btn-purchase-bundle {
  margin-top: auto;
  font-size: 0.8rem;
  padding: 9px 14px;
  width: 100%;
}

.topup-security-notice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  color: #94a3b8;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- 6. Sticker Detail & Preview Modal --- */
.sticker-preview-dialog {
  max-width: 440px;
  width: 100%;
  box-sizing: border-box;
}

.preview-stage-container {
  width: 180px;
  height: 180px;
  margin: 0 auto;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.4) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.preview-svg-box {
  width: 100%;
  height: 100%;
}

/* --- 7. Sticker Picker Drawer in Group Chat & Whisper Sending --- */
.btn-sticker-picker-trigger {
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: #ffd700;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-sticker-picker-trigger:hover {
  background: rgba(255, 215, 0, 0.2);
  border-color: #ffd700;
  transform: translateY(-1px);
}

.sticker-drawer-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.sticker-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.sticker-drawer-dialog {
  position: relative;
  background: #0f121d;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.sticker-drawer-body {
  padding: 16px 20px;
  overflow-y: auto;
  flex: 1;
}

.sticker-drawer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 12px;
}

.drawer-sticker-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

.drawer-sticker-item:hover {
  transform: scale(1.06);
  border-color: var(--neon-green);
  background: rgba(0, 255, 136, 0.08);
}

.drawer-sticker-item.is-locked {
  opacity: 0.55;
  filter: grayscale(0.5);
}

.drawer-sticker-thumb {
  width: 52px;
  height: 52px;
  margin-bottom: 4px;
}

.drawer-sticker-name {
  font-size: 0.64rem;
  color: #cbd5e1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.selected-sticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.35);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  color: #ffd700;
  margin-bottom: 8px;
}

.selected-sticker-preview {
  width: 24px;
  height: 24px;
}

.btn-remove-selected-sticker {
  background: none;
  border: none;
  color: #ffd700;
  cursor: pointer;
  font-size: 0.8rem;
}

/* In-Message Sticker Display */
.message-attached-sticker {
  width: 90px;
  height: 90px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.message-attached-sticker svg {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
}

/* NGL Modal Sticker Display */
.ngl-modal-sticker,
#nglModalSticker {
  width: 140px;
  height: 140px;
  margin: 0 auto 16px;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ngl-modal-sticker svg,
#nglModalSticker svg {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  display: block;
  margin: 0 auto;
  overflow: visible;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.6));
}

.selected-sticker-preview svg {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  display: block;
}

/* ==========================================================================
   COMPACT STICKER STOREFRONT GRID (100% FLUID RESPONSIVE, ZERO OVERFLOW-X)
   ========================================================================== */
.stickers-grid-compact {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 14px;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .stickers-grid-compact {
    grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
    gap: 6px;
  }
}

@media (max-width: 340px) {
  .stickers-grid-compact {
    grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
    gap: 4px;
  }
}

.sticker-compact-card,
.sticker-card-compact {
  position: relative;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px 4px 6px;
  cursor: pointer;
  text-align: center;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  user-select: none;
  box-sizing: border-box;
  overflow: hidden;
}

.sticker-compact-card:hover,
.sticker-card-compact:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: #ffd700;
  background: rgba(255, 215, 0, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 215, 0, 0.25);
  z-index: 3;
}

.sticker-compact-card.sticker-is-unlocked,
.sticker-compact-card.is-unlocked,
.sticker-card-compact.sticker-is-unlocked,
.sticker-card-compact.is-unlocked {
  border-color: rgba(0, 255, 136, 0.3);
  background: rgba(0, 255, 136, 0.04);
}

.sticker-compact-card.sticker-is-unlocked:hover,
.sticker-compact-card.is-unlocked:hover,
.sticker-card-compact.sticker-is-unlocked:hover,
.sticker-card-compact.is-unlocked:hover {
  border-color: var(--neon-green);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 255, 136, 0.3);
}

.sticker-compact-art {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 3px;
  flex-shrink: 0;
  max-width: 100%;
  overflow: hidden;
}

.sticker-compact-art svg {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  display: block;
}

.sticker-compact-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  margin-top: 2px;
  box-sizing: border-box;
}

.sticker-compact-name {
  font-size: 0.58rem;
  color: #fff;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;
  text-align: center;
  line-height: 1.15;
  word-break: break-word;
  box-sizing: border-box;
}

.sticker-compact-price {
  font-size: 0.65rem;
  color: #ffd700;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.sticker-compact-price-pill {
  font-size: 0.65rem;
  color: #ffd700;
  font-weight: 700;
  line-height: 1;
}

.sticker-compact-unlocked-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--neon-green);
  color: #04090e;
  font-size: 0.58rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 6px rgba(0, 255, 136, 0.6);
}

/* Scaling down sizes for smaller mobile phone viewports */
@media (max-width: 520px) {

  .sticker-compact-card,
  .sticker-card-compact {
    min-height: 70px;
    padding: 6px 3px 5px;
    border-radius: 10px;
  }

  .sticker-compact-art {
    width: 34px;
    height: 34px;
    margin-bottom: 2px;
  }

  .sticker-compact-name {
    font-size: 0.46rem !important;
    line-height: 1.1;
  }

  .sticker-compact-price {
    font-size: 0.50rem !important;
  }

  .sticker-compact-unlocked-dot {
    width: 12px;
    height: 12px;
    font-size: 0.52rem;
    top: 2px;
    right: 2px;
  }
}

@media (max-width: 360px) {

  .sticker-compact-card,
  .sticker-card-compact {
    min-height: 64px;
    padding: 4px 2px 4px;
    border-radius: 8px;
  }

  .sticker-compact-art {
    width: 28px;
    height: 28px;
  }

  .sticker-compact-name {
    font-size: 0.42rem !important;
    line-height: 1.05;
  }

  .sticker-compact-price {
    font-size: 0.46rem !important;
  }
}

/* ==========================================================================
   GREEN USAGE COUNT BADGE (5 USES PER PURCHASED STICKER, NO TEXT DESCRIPTION)
   ========================================================================== */
.sticker-usage-count-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--neon-green, #00ff88);
  color: #04090e;
  font-weight: 900;
  font-size: 0.68rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
  z-index: 2;
  line-height: 1;
}

/* ==========================================================================
   GET COINS BUTTON (DASHBOARD) - PURE GOLD TEXT, NEVER BLUE LINK
   ========================================================================== */
.btn-dash-get-coins,
.btn-dash-get-coins:link,
.btn-dash-get-coins:visited,
.btn-dash-get-coins:active,
.btn-dash-get-coins:focus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.22), rgba(255, 165, 0, 0.16));
  border: 1px solid rgba(255, 215, 0, 0.5);
  color: #ffd700 !important;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none !important;
  transition: all 0.25s ease;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.15);
  white-space: nowrap;
}

.btn-dash-get-coins span {
  color: #ffd700 !important;
  text-decoration: none !important;
}

.btn-dash-get-coins:hover {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.38), rgba(255, 165, 0, 0.32));
  border-color: #ffd700;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.45);
  transform: translateY(-2px);
  color: #ffffff !important;
}

.btn-dash-get-coins:hover span {
  color: #ffffff !important;
}

[data-theme="light"] .btn-dash-get-coins,
[data-theme="light"] .btn-dash-get-coins:link,
[data-theme="light"] .btn-dash-get-coins:visited,
[data-theme="light"] .btn-dash-get-coins:active,
[data-theme="light"] .btn-dash-get-coins:focus,
[data-theme="light"] .btn-dash-get-coins span {
  color: #b45309 !important;
  background: #fffbeb !important;
  border-color: #fde68a !important;
  box-shadow: 0 0 10px rgba(180, 83, 9, 0.15) !important;
}

[data-theme="light"] .btn-dash-get-coins:hover,
[data-theme="light"] .btn-dash-get-coins:hover span {
  background: #fef3c7 !important;
  color: #78350f !important;
  border-color: #f59e0b !important;
}

/* Responsive Button Scaling Across Website */
@media (max-width: 991px) {

  .btn-dash-get-coins,
  .btn-cyber-primary,
  .btn-cyber-secondary {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .btn-dash-get-coins {
    padding: 6px 12px;
    font-size: 0.78rem;
    gap: 4px;
  }

  .btn-cyber-primary,
  .btn-cyber-secondary {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .btn-dash-get-coins {
    padding: 5px 10px;
    font-size: 0.72rem;
  }

  .btn-cyber-primary,
  .btn-cyber-secondary {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   SEND A HAPPY STICKER BUTTON & CHOICE MODAL (OPTION 1 & OPTION 2)
   ========================================================================== */
.btn-happy-sticker-trigger {
  background: linear-gradient(135deg, rgba(255, 0, 85, 0.15), rgba(255, 215, 0, 0.15));
  border: 1px solid rgba(255, 215, 0, 0.45);
  color: #ffd700;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.15);
}

.btn-happy-sticker-trigger:hover {
  background: linear-gradient(135deg, rgba(255, 0, 85, 0.25), rgba(255, 215, 0, 0.3));
  border-color: #ffd700;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.35);
  color: #fff;
}

@media (max-width: 520px) {
  .btn-happy-sticker-trigger {
    padding: 6px 12px;
    font-size: 0.75rem;
    gap: 5px;
  }
}

.happy-sticker-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .happy-sticker-options-grid {
    grid-template-columns: 1fr;
  }
}

.happy-choice-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.happy-choice-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.happy-choice-icon {
  font-size: 1.6rem;
}

.happy-choice-title {
  font-size: 0.95rem;
  color: #fff;
  margin: 0;
}

.happy-choice-sub {
  font-size: 0.68rem;
  color: var(--neon-green);
}

.happy-choice-desc {
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 0 0 12px;
  line-height: 1.4;
}

.happy-unlocked-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 10px;
  max-height: 220px;
  overflow-y: auto;
}

.happy-unlocked-item {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 6px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.happy-unlocked-item:hover {
  border-color: var(--neon-green);
  transform: scale(1.05);
  background: rgba(0, 255, 136, 0.1);
}

.happy-unlocked-thumb {
  width: 40px;
  height: 40px;
  margin: 0 auto 4px;
}

.happy-unlocked-name {
  display: block;
  font-size: 0.65rem;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.happy-direct-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
  gap: 8px;
}

.happy-direct-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 6px 4px;
  cursor: pointer;
  text-align: center;
  transition: all 0.18s ease;
}

.happy-direct-item:hover {
  border-color: #ffd700;
  background: rgba(255, 215, 0, 0.1);
  transform: scale(1.05);
}

.happy-direct-thumb {
  width: 38px;
  height: 38px;
  margin: 0 auto 3px;
}

.happy-direct-meta {
  display: flex;
  flex-direction: column;
}

.happy-direct-name {
  font-size: 0.62rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.happy-direct-price {
  font-size: 0.65rem;
  color: #ffd700;
  font-weight: 700;
}

/* Mobile Responsiveness for Stickers */
@media (max-width: 768px) {
  .stickers-main-section {
    padding-top: 80px;
    padding-bottom: 50px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .stickers-main-section .container {
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .stickers-hero-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 14px;
    border-radius: 18px;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .stickers-vault-title {
    font-size: 1.6rem;
    text-align: center;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .stickers-wallet-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 14px 12px;
    border-radius: 16px;
    box-sizing: border-box;
  }

  .stickers-search-wrap {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .topup-bundles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .stickers-main-section {
    padding-top: 72px;
  }

  .stickers-main-section .container {
    padding-left: 8px;
    padding-right: 8px;
  }

  .stickers-hero-banner {
    padding: 14px 10px;
  }

  .stickers-vault-title {
    font-size: 1.35rem;
  }
}

@media (max-width: 340px) {
  .stickers-main-section .container {
    padding-left: 4px;
    padding-right: 4px;
  }

  .stickers-hero-banner {
    padding: 12px 8px;
  }

  .stickers-vault-title {
    font-size: 1.2rem;
  }
}