/* =========================================================================
   FF44 ENGLISH DESIGN SYSTEM (PHASE 30)
   Universal Component Library & Token Standard
   Consistent Spacing, Typography, Interactions, and 6 States:
   Loading, Empty, Error, Disabled, Active, Hover
   ========================================================================= */

:root {
  /* Color Tokens */
  --ds-bg-main: #0B0F19;
  --ds-bg-surface: #111827;
  --ds-bg-card: rgba(17, 24, 39, 0.85);
  --ds-bg-elevated: #1F2937;
  --ds-bg-glass: rgba(17, 24, 39, 0.65);

  --ds-border-subtle: rgba(255, 255, 255, 0.08);
  --ds-border-default: rgba(255, 255, 255, 0.15);
  --ds-border-hover: rgba(56, 189, 248, 0.4);

  --ds-primary: #38BDF8;
  --ds-primary-hover: #0EA5E9;
  --ds-primary-glow: rgba(56, 189, 248, 0.35);

  --ds-success: #10B981;
  --ds-success-hover: #059669;
  --ds-warning: #F59E0B;
  --ds-danger: #EF4444;
  --ds-danger-hover: #DC2626;
  --ds-accent: #8B5CF6;

  --ds-text-main: #F9FAFB;
  --ds-text-secondary: #9CA3AF;
  --ds-text-muted: #6B7280;
  --ds-text-on-primary: #0B0F19;

  /* Spacing Tokens (8pt Grid System) */
  --ds-space-xs: 4px;
  --ds-space-sm: 8px;
  --ds-space-md: 16px;
  --ds-space-lg: 24px;
  --ds-space-xl: 32px;
  --ds-space-2xl: 48px;

  /* Radius Tokens */
  --ds-radius-sm: 6px;
  --ds-radius-md: 10px;
  --ds-radius-lg: 16px;
  --ds-radius-xl: 24px;
  --ds-radius-pill: 9999px;

  /* Shadow & Elevation Tokens */
  --ds-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --ds-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --ds-shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  --ds-shadow-glow: 0 0 20px var(--ds-primary-glow);

  /* Transitions */
  --ds-transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --ds-transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  /* Light Color Tokens */
  --ds-bg-main: #F8FAFC;
  --ds-bg-surface: #FFFFFF;
  --ds-bg-card: rgba(255, 255, 255, 0.95);
  --ds-bg-elevated: #F1F5F9;
  --ds-bg-glass: rgba(255, 255, 255, 0.88);

  --ds-border-subtle: rgba(15, 23, 42, 0.08);
  --ds-border-default: rgba(15, 23, 42, 0.14);
  --ds-border-hover: rgba(79, 70, 229, 0.4);

  --ds-primary: #4F46E5;
  --ds-primary-hover: #4338CA;
  --ds-primary-glow: rgba(79, 70, 229, 0.25);

  --ds-success: #059669;
  --ds-success-hover: #047857;
  --ds-warning: #D97706;
  --ds-danger: #DC2626;
  --ds-danger-hover: #B91C1C;
  --ds-accent: #7C3AED;

  --ds-text-main: #0F172A;
  --ds-text-secondary: #334155;
  --ds-text-muted: #64748B;
  --ds-text-on-primary: #FFFFFF;

  --ds-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --ds-shadow-md: 0 4px 14px rgba(15, 23, 42, 0.07);
  --ds-shadow-lg: 0 12px 28px -6px rgba(15, 23, 42, 0.12);
  --ds-shadow-glow: 0 0 20px rgba(79, 70, 229, 0.25);
}

/* =========================================================================
   1. BUTTON COMPONENT (.ds-btn)
   ========================================================================= */
.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ds-space-sm);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.25;
  padding: 10px 20px;
  min-height: 44px;
  border-radius: var(--ds-radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--ds-transition-fast);
  user-select: none;
  white-space: nowrap;
}

.ds-btn-primary {
  background: var(--ds-primary);
  color: var(--ds-text-on-primary);
  box-shadow: 0 2px 8px var(--ds-primary-glow);
}
.ds-btn-primary:hover:not(:disabled) {
  background: var(--ds-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--ds-primary-glow);
}

.ds-btn-secondary {
  background: var(--ds-bg-elevated);
  color: var(--ds-text-main);
  border-color: var(--ds-border-default);
}
.ds-btn-secondary:hover:not(:disabled) {
  background: #374151;
  border-color: var(--ds-border-hover);
  transform: translateY(-1px);
}

.ds-btn-success {
  background: var(--ds-success);
  color: #FFFFFF;
}
.ds-btn-success:hover:not(:disabled) {
  background: var(--ds-success-hover);
}

.ds-btn-danger {
  background: var(--ds-danger);
  color: #FFFFFF;
}
.ds-btn-danger:hover:not(:disabled) {
  background: var(--ds-danger-hover);
}

.ds-btn-ghost {
  background: transparent;
  color: var(--ds-text-secondary);
}
.ds-btn-ghost:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ds-text-main);
}

.ds-btn-icon {
  padding: 10px;
  width: 44px;
  height: 44px;
  border-radius: var(--ds-radius-md);
}

/* =========================================================================
   2. INPUT COMPONENT (.ds-input, .ds-input-group)
   ========================================================================= */
.ds-input-group {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-xs);
  width: 100%;
  margin-bottom: var(--ds-space-md);
}

.ds-input-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ds-text-secondary);
}

.ds-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.ds-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  font-size: 0.9375rem;
  color: var(--ds-text-main);
  background: var(--ds-bg-surface);
  border: 1px solid var(--ds-border-default);
  border-radius: var(--ds-radius-md);
  outline: none;
  transition: all var(--ds-transition-fast);
}

.ds-input:focus {
  border-color: var(--ds-primary);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.ds-input::placeholder {
  color: var(--ds-text-muted);
}

.ds-input-hint {
  font-size: 0.75rem;
  color: var(--ds-text-muted);
}

.ds-input-error-msg {
  font-size: 0.75rem;
  color: var(--ds-danger);
  display: none;
}

.ds-input-group.has-error .ds-input {
  border-color: var(--ds-danger);
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}
.ds-input-group.has-error .ds-input-error-msg {
  display: block;
}

/* =========================================================================
   3. SELECT COMPONENT (.ds-select)
   ========================================================================= */
.ds-select {
  width: 100%;
  min-height: 44px;
  padding: 10px 36px 10px 16px;
  font-size: 0.9375rem;
  color: var(--ds-text-main);
  background-color: var(--ds-bg-surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239CA3AF'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  border: 1px solid var(--ds-border-default);
  border-radius: var(--ds-radius-md);
  outline: none;
  cursor: pointer;
  appearance: none;
  transition: all var(--ds-transition-fast);
}

.ds-select:focus {
  border-color: var(--ds-primary);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

/* =========================================================================
   4. CARD COMPONENT (.ds-card)
   ========================================================================= */
.ds-card {
  background: var(--ds-bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--ds-border-subtle);
  border-radius: var(--ds-radius-lg);
  padding: var(--ds-space-lg);
  box-shadow: var(--ds-shadow-md);
  position: relative;
  overflow: hidden;
  transition: all var(--ds-transition-normal);
}

.ds-card-interactive:hover {
  border-color: var(--ds-border-hover);
  transform: translateY(-2px);
  box-shadow: var(--ds-shadow-lg);
}

.ds-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--ds-space-md);
}

.ds-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ds-text-main);
  margin: 0;
}

.ds-card-body {
  color: var(--ds-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.ds-card-footer {
  margin-top: var(--ds-space-lg);
  padding-top: var(--ds-space-md);
  border-top: 1px solid var(--ds-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================================================================
   5. MODAL COMPONENT (.ds-modal)
   ========================================================================= */
.ds-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: var(--ds-space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ds-transition-fast);
}

.ds-modal-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}

.ds-modal-dialog {
  background: var(--ds-bg-surface);
  border: 1px solid var(--ds-border-default);
  border-radius: var(--ds-radius-xl);
  width: 100%;
  max-width: 540px;
  box-shadow: var(--ds-shadow-lg);
  transform: scale(0.95);
  transition: transform var(--ds-transition-normal);
  padding: var(--ds-space-xl);
}

.ds-modal-backdrop.is-active .ds-modal-dialog {
  transform: scale(1);
}

.ds-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--ds-space-md);
}

.ds-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ds-text-main);
  margin: 0;
}

.ds-modal-close {
  background: transparent;
  border: none;
  color: var(--ds-text-muted);
  cursor: pointer;
  font-size: 1.5rem;
  padding: 4px;
}
.ds-modal-close:hover {
  color: var(--ds-text-main);
}

/* =========================================================================
   6. PROGRESS BAR (.ds-progress)
   ========================================================================= */
.ds-progress-track {
  width: 100%;
  height: 8px;
  background: var(--ds-bg-elevated);
  border-radius: var(--ds-radius-pill);
  overflow: hidden;
  position: relative;
}

.ds-progress-bar {
  height: 100%;
  background: var(--ds-primary);
  border-radius: var(--ds-radius-pill);
  transition: width var(--ds-transition-normal);
}

.ds-progress-striped {
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.15) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.15) 75%,
    transparent 75%,
    transparent
  );
  background-size: 1rem 1rem;
}

/* =========================================================================
   7. LESSON CARD (.ds-lesson-card)
   ========================================================================= */
.ds-lesson-card {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-sm);
  background: var(--ds-bg-card);
  border: 1px solid var(--ds-border-subtle);
  border-radius: var(--ds-radius-lg);
  padding: var(--ds-space-md);
  transition: all var(--ds-transition-fast);
  cursor: pointer;
}
.ds-lesson-card:hover {
  border-color: var(--ds-border-hover);
  transform: translateY(-2px);
}
.ds-lesson-card.completed {
  border-left: 4px solid var(--ds-success);
}
.ds-lesson-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--ds-text-muted);
}

/* =========================================================================
   8. COURSE CARD (.ds-course-card)
   ========================================================================= */
.ds-course-card {
  background: var(--ds-bg-card);
  border: 1px solid var(--ds-border-subtle);
  border-radius: var(--ds-radius-xl);
  padding: var(--ds-space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-md);
  transition: all var(--ds-transition-normal);
}
.ds-course-card:hover {
  border-color: var(--ds-border-hover);
  box-shadow: var(--ds-shadow-lg);
}

/* =========================================================================
   9. QUIZ COMPONENT (.ds-quiz-option)
   ========================================================================= */
.ds-quiz-container {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-md);
  width: 100%;
}

.ds-quiz-option {
  display: flex;
  align-items: center;
  gap: var(--ds-space-md);
  padding: 14px 18px;
  min-height: 52px;
  background: var(--ds-bg-surface);
  border: 1px solid var(--ds-border-default);
  border-radius: var(--ds-radius-md);
  color: var(--ds-text-main);
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all var(--ds-transition-fast);
}

.ds-quiz-option:hover:not(.disabled) {
  border-color: var(--ds-primary);
  background: rgba(56, 189, 248, 0.05);
}

.ds-quiz-option.selected {
  border-color: var(--ds-primary);
  background: rgba(56, 189, 248, 0.12);
  box-shadow: 0 0 0 1px var(--ds-primary);
}

.ds-quiz-option.correct {
  border-color: var(--ds-success) !important;
  background: rgba(16, 185, 129, 0.15) !important;
  color: #34D399;
}

.ds-quiz-option.incorrect {
  border-color: var(--ds-danger) !important;
  background: rgba(239, 68, 68, 0.15) !important;
  color: #F87171;
}

/* =========================================================================
   10. BADGE COMPONENT (.ds-badge)
   ========================================================================= */
.ds-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--ds-radius-pill);
  border: 1px solid transparent;
}

.ds-badge-primary {
  background: rgba(56, 189, 248, 0.15);
  color: var(--ds-primary);
  border-color: rgba(56, 189, 248, 0.3);
}

.ds-badge-success {
  background: rgba(16, 185, 129, 0.15);
  color: var(--ds-success);
  border-color: rgba(16, 185, 129, 0.3);
}

.ds-badge-warning {
  background: rgba(245, 158, 11, 0.15);
  color: var(--ds-warning);
  border-color: rgba(245, 158, 11, 0.3);
}

.ds-badge-danger {
  background: rgba(239, 68, 68, 0.15);
  color: var(--ds-danger);
  border-color: rgba(239, 68, 68, 0.3);
}

/* =========================================================================
   11. AVATAR COMPONENT (.ds-avatar)
   ========================================================================= */
.ds-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ds-bg-elevated);
  border: 2px solid var(--ds-border-default);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ds-text-main);
  position: relative;
  user-select: none;
}
.ds-avatar-sm { width: 32px; height: 32px; font-size: 0.8125rem; }
.ds-avatar-lg { width: 56px; height: 56px; font-size: 1.375rem; }

.ds-avatar-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ds-success);
  border: 2px solid var(--ds-bg-surface);
}

/* =========================================================================
   12. NAVBAR COMPONENT (.ds-navbar)
   ========================================================================= */
.ds-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 var(--ds-space-xl);
  background: var(--ds-bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ds-border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
}

.ds-nav-brand {
  display: flex;
  align-items: center;
  gap: var(--ds-space-sm);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ds-text-main);
  text-decoration: none;
}

.ds-nav-links {
  display: flex;
  align-items: center;
  gap: var(--ds-space-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}

.ds-nav-link {
  color: var(--ds-text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--ds-transition-fast);
}
.ds-nav-link:hover,
.ds-nav-link.is-active {
  color: var(--ds-primary);
}

/* =========================================================================
   13. MOBILE NAVIGATION (.ds-mobile-nav)
   ========================================================================= */
.ds-mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--ds-bg-surface);
  border-top: 1px solid var(--ds-border-subtle);
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.ds-mobile-nav-items {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ds-mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ds-text-muted);
  text-decoration: none;
  min-width: 48px;
  min-height: 48px;
}
.ds-mobile-nav-item.is-active {
  color: var(--ds-primary);
}

/* =========================================================================
   INTERACTIVE STATES (LOADING, EMPTY, ERROR, DISABLED, ACTIVE, HOVER)
   ========================================================================= */

/* State 1: Loading */
.ds-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: ds-spin 0.75s linear infinite;
}
@keyframes ds-spin {
  to { transform: rotate(360deg); }
}

.ds-skeleton {
  background: linear-gradient(90deg, #1F2937 25%, #374151 50%, #1F2937 75%);
  background-size: 200% 100%;
  animation: ds-shimmer 1.5s infinite;
  border-radius: var(--ds-radius-sm);
}
@keyframes ds-shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

/* State 2: Empty */
.ds-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--ds-space-2xl) var(--ds-space-lg);
  color: var(--ds-text-muted);
}
.ds-empty-icon {
  font-size: 3rem;
  margin-bottom: var(--ds-space-md);
  opacity: 0.7;
}
.ds-empty-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ds-text-main);
  margin-bottom: var(--ds-space-xs);
}
.ds-empty-desc {
  font-size: 0.875rem;
  max-width: 320px;
  margin-bottom: var(--ds-space-lg);
}

/* State 3: Error */
.ds-error-banner {
  display: flex;
  align-items: center;
  gap: var(--ds-space-md);
  padding: 14px 18px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--ds-radius-md);
  color: #FCA5A5;
  font-size: 0.875rem;
  margin-bottom: var(--ds-space-md);
}

/* State 4: Disabled */
:disabled,
[disabled],
.is-disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  box-shadow: none !important;
}

/* State 5: Active */
.is-active {
  color: var(--ds-primary);
}

/* State 6: Focus & Hover */
:focus-visible {
  outline: 2px solid var(--ds-primary);
  outline-offset: 2px;
}

/* =========================================================================
   14. STEALTH MEDIA PRIVACY SHIELD & SENSOR BLUR (MAXFIY PARDA)
   ========================================================================= */
.stealth-media-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  display: block;
  width: 100%;
  height: 100%;
  background: #090d16;
}

.stealth-media-target {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

/* Global censor blur when active */
body.stealth-media-mask-active .stealth-media-wrapper:not(.unmasked) .stealth-media-target {
  filter: blur(28px) brightness(0.20) contrast(1.15) !important;
  transform: scale(1.1) !important;
  user-select: none;
}
body.stealth-media-mask-active.stealth-mode-heavy .stealth-media-wrapper:not(.unmasked) .stealth-media-target {
  filter: blur(38px) brightness(0.35) contrast(1.05) !important;
}
body.stealth-media-mask-active.stealth-mode-mosaic .stealth-media-wrapper:not(.unmasked) .stealth-media-target {
  filter: blur(18px) contrast(2.2) saturate(0.15) brightness(0.25) !important;
}

body.stealth-media-mask-active .stealth-media-wrapper:not(.unmasked) .stealth-media-overlay {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* By default (or unmasked), overlay is hidden */
.stealth-media-overlay {
  display: none;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.84) 0%, rgba(9, 13, 22, 0.94) 100%);
  background-image: repeating-linear-gradient(0deg, rgba(0,0,0,0.3) 0px, rgba(0,0,0,0.3) 1px, transparent 1px, transparent 3px);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  z-index: 4;
  user-select: none;
  border-radius: inherit;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

/* Hover reveal on desktop */
@media (hover: hover) {
  body.stealth-media-mask-active .stealth-media-wrapper:not(.unmasked):hover .stealth-media-target {
    filter: blur(0px) brightness(1) contrast(1) !important;
    transform: scale(1.02) !important;
  }
  body.stealth-media-mask-active .stealth-media-wrapper:not(.unmasked):hover .stealth-media-overlay {
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* When clicked / unmasked */
.stealth-media-wrapper.unmasked .stealth-media-target {
  filter: blur(0px) brightness(1) contrast(1) !important;
  transform: scale(1) !important;
}
.stealth-media-wrapper.unmasked .stealth-media-overlay {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.stealth-overlay-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.15);
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  color: #38bdf8;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 5px;
}
.stealth-overlay-badge .stealth-overlay-icon {
  font-size: 13px;
}
.stealth-overlay-sub {
  font-size: 10.5px;
  color: #94a3b8;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  letter-spacing: 0.2px;
}

.stealth-remask-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #38bdf8;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  z-index: 6;
  backdrop-filter: blur(8px);
  transition: all 0.2s;
}
.stealth-remask-btn:hover {
  background: rgba(56, 189, 248, 0.3);
  border-color: #38bdf8;
  transform: scale(1.08);
}
body.stealth-media-mask-active .stealth-media-wrapper.unmasked .stealth-remask-btn {
  display: flex;
}
