/* ==========================================================================
   ALGORIZMS MASTER HEADER & NAVIGATION COMPONENT
   Precision geometry, zero-overlap mobile architecture & luxury glassmorphism
   Brand DNA Invariant: Pasajero & Libby for Big Titles, Wordmarks & Headlines
   ========================================================================== */
@import url('/src/styles/typography.css?v=210.0');

:root {
  --font-pasajero: 'Pasajero', 'Space Grotesk', -apple-system, sans-serif;
  --font-pasajero-complete: 'Pasajero Complete', 'Pasajero', 'Space Grotesk', sans-serif;
  --font-libby: 'Libby', 'Space Grotesk', sans-serif;
  --font-display: 'Libby', 'Space Grotesk', sans-serif;
  --font-heading: 'Libby', 'Space Grotesk', 'Montserrat', sans-serif;
}

/* ── Base Desktop Header ─────────────────────────────────────────────────── */
header.site-header {
  position: sticky;
  top: 14px;
  z-index: 100;
  margin: 14px auto 24px;
  max-width: 1260px;
  padding: 10px 24px;
  background: rgba(10, 8, 7, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55),
              0 0 20px rgba(2, 132, 199, 0.18),
              0 0 40px rgba(124, 58, 237, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-smooth);
}

[data-theme="marble-bling"] header.site-header,
[data-theme="light"] header.site-header {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(2, 132, 199, 0.22);
  box-shadow: 0 8px 32px rgba(180, 190, 205, 0.35),
              0 0 24px rgba(2, 132, 199, 0.15);
}

/* ── Decoupled Brand Group & Cockpit Architecture ── */
.brand-group-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* 1. Logo Icon Trigger (Button with 180° Rotation) */
.brand-logo-trigger {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  position: relative;
  border-radius: 50%;
  outline: none;
  transition: filter 0.3s ease;
}

.brand-logo-trigger:focus-visible {
  box-shadow: 0 0 0 2px #FCD34D;
}

.brand-logo-mini {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(252, 211, 77, 0.55));
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
  flex-shrink: 0;
  transform-origin: center center;
}

.brand-logo-trigger:hover .brand-logo-mini {
  filter: drop-shadow(0 0 20px rgba(252, 211, 77, 0.85));
  transform: scale(1.05) translateZ(0);
}

/* 180° ROTATION TOGGLE STATE: Opens Cockpit (Hardware-Accelerated 60 FPS) */
.brand-group-wrapper.is-open .brand-logo-trigger .brand-logo-mini,
.brand-logo-trigger.is-active .brand-logo-mini {
  transform: rotate(180deg) scale(1.08) translateZ(0) !important;
  filter: drop-shadow(0 0 24px rgba(252, 211, 77, 0.95))
          drop-shadow(0 0 12px rgba(124, 58, 237, 0.75)) !important;
}

/* Chevron indicator */
.logo-rotate-indicator {
  position: absolute;
  bottom: 0;
  right: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(13, 10, 8, 0.94);
  border: 1px solid rgba(252, 211, 77, 0.45);
  color: #FCD34D;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
  pointer-events: none;
}

.brand-group-wrapper.is-open .logo-rotate-indicator,
.brand-logo-trigger.is-active .logo-rotate-indicator {
  transform: rotate(180deg);
  background: #FCD34D;
  color: #080605;
}

/* 2. Wordmark Link: Direct Homepage Access */
.brand-text-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-decoration: none;
  min-width: 0;
  cursor: pointer;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}

.brand-title {
  transition: color 0.3s ease, text-shadow 0.3s ease;
  font-family: 'Pasajero', var(--font-brand), 'Space Grotesk', sans-serif !important;
  font-size: 1.42rem;
  font-weight: 400 !important;
  letter-spacing: 0.28em;
  word-spacing: 0.25em;
  color: #FAF8F4;
  text-transform: uppercase;
  line-height: 1.1;
  -webkit-text-stroke: 0 !important;
  text-shadow: 0 0 16px rgba(252, 211, 77, 0.2);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.brand-tag {
  font-family: 'Bebas Neue', var(--font-tagline), sans-serif !important;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-top: 4px;
  color: #FCD34D;
  transition: all 0.4s ease;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: #FCD34D;
  background-image: none;
  display: block;
}

.brand-text-link:hover .brand-title {
  color: #FCD34D;
  -webkit-text-stroke: 0.35px rgba(252, 211, 77, 0.85);
  text-shadow: 0 0 20px rgba(252, 211, 77, 0.6);
}

/* Tagline Gradient on Hover: Purple -> Fuchsia -> Yellow */
.brand-text-link:hover .brand-tag,
.brand-tag:hover {
  background-image: linear-gradient(90deg, #9333EA 0%, #D946EF 50%, #FCD34D 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: 0 0 14px rgba(217, 70, 239, 0.45);
}

/* ==========================================================================
   DROPDOWN MENUS INVARIANT: ZERO PASAJERO
   Permanently decommissions oversized Pasajero typography from all dropdown
   menus (Brand Cockpit, User Sovereign Dropdown, Product Menus, etc.).
   Enforces crisp, legible UI typography (Space Grotesk, Alexandria).
   ========================================================================== */
.brand-cockpit-dropdown,
.brand-cockpit-dropdown *:not(.cockpit-badge-pill):not(.cockpit-kbd):not(.cockpit-verified-icon),
.user-sovereign-dropdown,
.user-sovereign-dropdown *:not(.user-tier-badge):not(.user-handle):not(.sentinel-secure-tag):not(.gateway-badge),
.product-user-dropdown,
.product-user-dropdown *,
.staged-cockpit-card,
.staged-cockpit-card * {
  font-family: 'Space Grotesk', 'Alexandria', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.brand-cockpit-dropdown .cockpit-action-title,
.user-sovereign-dropdown .gateway-title,
.user-sovereign-dropdown .user-display-name {
  font-family: var(--font-libby), 'Libby', 'Alexandria', sans-serif !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.02em !important;
  word-spacing: normal !important;
}

[dir="rtl"] .brand-cockpit-dropdown .cockpit-action-title,
[dir="rtl"] .user-sovereign-dropdown .gateway-title,
[dir="rtl"] .user-sovereign-dropdown .user-display-name {
  font-family: 'Alexandria', 'Cairo', sans-serif !important;
  font-size: 0.90rem !important;
  letter-spacing: 0 !important;
}

/* ── ALGORIZMS EXECUTIVE COCKPIT DROPDOWN CARD ── */
.brand-cockpit-dropdown {
  position: absolute !important;
  top: calc(100% + 10px);
  right: 0;
  left: auto;
  width: 320px;
  max-width: calc(100vw - 24px);
  max-height: min(85vh, 640px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  background: rgba(13, 10, 8, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(252, 211, 77, 0.35);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 25px rgba(252, 211, 77, 0.10);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.25s ease;
  pointer-events: none;
}

.brand-cockpit-dropdown::-webkit-scrollbar {
  width: 5px;
}

.brand-cockpit-dropdown::-webkit-scrollbar-track {
  background: rgba(10, 8, 7, 0.5);
  border-radius: 999px;
}

.brand-cockpit-dropdown::-webkit-scrollbar-thumb {
  background: rgba(252, 211, 77, 0.35);
  border-radius: 999px;
}

.brand-cockpit-dropdown.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* User Signal & Dynamic Hints Header */
.cockpit-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 7px;
}

.cockpit-status-left {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.cockpit-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 6px #38BDF8;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.cockpit-status-dot.logged-in {
  background: #34D399;
  box-shadow: 0 0 8px #34D399;
}

.cockpit-status-text {
  font-family: 'Space Grotesk', 'Alexandria', -apple-system, sans-serif;
  font-size: 0.60rem;
  color: #E2E8F0;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cockpit-hint-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(252, 211, 77, 0.08);
  border: 1px solid rgba(252, 211, 77, 0.22);
  border-radius: 999px;
  padding: 1px 6px;
  max-width: 58%;
  min-width: 0;
  transition: all 0.2s ease;
}

.cockpit-hint-bulb {
  font-size: 0.62rem;
  line-height: 1;
  flex-shrink: 0;
}

.cockpit-hint-text {
  font-family: 'Space Grotesk', 'Alexandria', -apple-system, sans-serif;
  font-size: 0.56rem;
  color: #FCD34D;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Section Title */
.cockpit-section-title {
  font-family: 'Space Grotesk', 'Cairo', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  color: #FCD34D;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
}

/* 3 Capsules Rows (1 per row) */
.cockpit-capsules-rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 7px;
}

.cockpit-row-capsule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 5px 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: #FAF8F4;
  font-size: 0.70rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  user-select: none;
  box-sizing: border-box;
  min-height: 30px;
}

.cockpit-row-capsule:hover {
  background: rgba(252, 211, 77, 0.10);
  border-color: rgba(252, 211, 77, 0.4);
  color: #FCD34D;
  transform: translateX(2px);
}

.cockpit-search-capsule {
  cursor: text;
}

.cockpit-search-input {
  background: transparent;
  border: none;
  color: #FAF8F4;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 500;
  outline: none;
  width: 100%;
  padding: 0;
}

.cockpit-search-input::placeholder {
  color: #8E8679;
  font-size: 0.64rem;
}

.cockpit-capsule-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cockpit-capsule-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  color: #FCD34D;
  flex-shrink: 0;
}

.cockpit-capsule-label {
  font-family: var(--font-body, sans-serif);
  font-size: 0.70rem;
  font-weight: 600;
  color: inherit;
}

.cockpit-capsule-badge {
  font-family: var(--font-mono, monospace);
  font-size: 0.58rem;
  font-weight: 700;
  color: #A8A29E;
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 5px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cockpit-row-capsule:hover .cockpit-capsule-badge {
  color: #FCD34D;
  border-color: rgba(252, 211, 77, 0.35);
  background: rgba(252, 211, 77, 0.12);
}

.cockpit-kbd {
  font-family: var(--font-mono, monospace);
  font-size: 0.54rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 3px;
  padding: 1px 4px;
  color: #FCD34D;
}

.cockpit-lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-mono, monospace);
  font-size: 0.60rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 1px 5px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cockpit-lang-en.active,
.cockpit-lang-ar.active {
  color: #FCD34D;
  font-weight: 800;
}

.cockpit-lang-divider {
  opacity: 0.4;
  margin: 0 1px;
}

/* Divider */
.cockpit-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 7px 0 6px;
}

/* Actions List (Login & Waitlist) */
.cockpit-actions-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cockpit-action-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #FAF8F4;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
}

.cockpit-action-item:hover {
  background: rgba(252, 211, 77, 0.08);
  border-color: rgba(252, 211, 77, 0.35);
  transform: translateX(2px);
}

.cockpit-book-meeting-item {
  border-color: rgba(2, 132, 199, 0.28) !important;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08), rgba(124, 58, 237, 0.08)) !important;
}

.cockpit-book-meeting-item:hover {
  border-color: #38BDF8 !important;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.18), rgba(124, 58, 237, 0.18)) !important;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
}

.cockpit-action-icon {
  font-size: 0.95rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.cockpit-verified-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.gateway-hint-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
}

.notif-verified-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.cockpit-action-text {
  flex: 1;
  min-width: 0;
}

.cockpit-action-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #FAF8F4;
  line-height: 1.2;
}

.cockpit-action-sub {
  font-size: 0.58rem;
  color: #A8A29E;
  margin-top: 1px;
}

.cockpit-badge-pill {
  font-family: var(--font-mono, monospace);
  font-size: 0.54rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 999px;
  white-space: nowrap;
}

.cockpit-action-chevron {
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  color: #FCD34D;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.cockpit-action-item:hover .cockpit-action-chevron {
  transform: translateX(2px);
  opacity: 1;
}

.cockpit-badge-pill {
  font-family: var(--font-mono, monospace);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(252, 211, 77, 0.15);
  border: 1px solid rgba(252, 211, 77, 0.35);
  color: #FCD34D;
}

.cockpit-badge-vanguard {
  background: linear-gradient(135deg, rgba(252, 211, 77, 0.22) 0%, rgba(124, 58, 237, 0.28) 100%) !important;
  border: 1px solid rgba(252, 211, 77, 0.45) !important;
  color: #FCD34D !important;
  box-shadow: 0 0 10px rgba(252, 211, 77, 0.2);
}

/* ── Cockpit Section 3: Feedback & Ops Grid with 3D Branded Icons ── */
.cockpit-feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 6px;
}

.cockpit-feedback-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #FAF8F4;
  cursor: pointer;
  outline: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  user-select: none;
}

.cockpit-feedback-item:hover {
  transform: translateY(-2px);
}

.cockpit-feedback-item.btn-feedback-rate:hover {
  background: rgba(252, 211, 77, 0.14);
  border-color: rgba(252, 211, 77, 0.55);
  box-shadow: 0 4px 14px rgba(252, 211, 77, 0.25);
  color: #FCD34D;
}

.cockpit-feedback-item.btn-feedback-feature:hover {
  background: rgba(2, 132, 199, 0.14);
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
  color: #38BDF8;
}

.cockpit-feedback-item.btn-feedback-bug:hover {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.55);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25);
  color: #F87171;
}

.cockpit-feedback-3d-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.cockpit-feedback-item:hover .cockpit-feedback-3d-icon {
  transform: scale(1.18);
}

.feedback-item-label {
  font-family: 'Space Grotesk', 'Alexandria', sans-serif;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

[dir="rtl"] .feedback-item-label,
html[lang="ar"] .feedback-item-label {
  font-family: 'Alexandria', 'Noto Kufi Arabic', sans-serif;
  font-size: 0.62rem;
}

/* RTL Support */
[dir="rtl"] .brand-cockpit-dropdown,
html[lang="ar"] .brand-cockpit-dropdown {
  left: 0 !important;
  right: auto !important;
  text-align: right;
  font-family: 'Noto Kufi Arabic', 'Alexandria', sans-serif !important;
}

[dir="rtl"] .cockpit-section-title,
html[lang="ar"] .cockpit-section-title {
  font-family: 'Cairo', sans-serif !important;
  font-weight: 800 !important;
  font-size: 0.68rem !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

[dir="rtl"] .cockpit-status-text,
html[lang="ar"] .cockpit-status-text {
  font-family: 'Alexandria', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.62rem !important;
  letter-spacing: normal !important;
}

[dir="rtl"] .cockpit-hint-text,
html[lang="ar"] .cockpit-hint-text {
  font-family: 'Alexandria', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.58rem !important;
  letter-spacing: normal !important;
}

[dir="rtl"] .cockpit-capsule-label,
html[lang="ar"] .cockpit-capsule-label {
  font-family: 'Alexandria', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.70rem !important;
}

[dir="rtl"] .cockpit-capsule-badge,
html[lang="ar"] .cockpit-capsule-badge {
  font-family: 'Alexandria', 'JetBrains Mono', sans-serif !important;
  font-weight: 700 !important;
}

[dir="rtl"] .slider-btn,
html[lang="ar"] .slider-btn,
[dir="rtl"] .slider-label,
html[lang="ar"] .slider-label {
  font-family: 'Alexandria', 'Noto Kufi Arabic', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.66rem !important;
  letter-spacing: normal !important;
}

[dir="rtl"] .cockpit-action-title,
html[lang="ar"] .cockpit-action-title {
  font-family: 'Alexandria', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.72rem !important;
}

[dir="rtl"] .cockpit-action-sub,
html[lang="ar"] .cockpit-action-sub {
  font-family: 'Noto Kufi Arabic', sans-serif !important;
  font-weight: 400 !important;
  font-size: 0.60rem !important;
  line-height: 1.4 !important;
}

[dir="rtl"] .cockpit-badge-pill,
html[lang="ar"] .cockpit-badge-pill {
  font-family: 'Alexandria', 'JetBrains Mono', sans-serif !important;
  font-weight: 700 !important;
}

[dir="rtl"] .nav-link,
html[lang="ar"] .nav-link {
  font-family: 'Alexandria', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

[dir="rtl"] .brand-tag,
html[lang="ar"] .brand-tag {
  font-family: 'Alexandria', var(--font-ar-tagline), sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.72rem !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  color: var(--text-gold, #FCD34D) !important;
}

[dir="rtl"] .cockpit-action-item {
  text-align: right;
}

[dir="rtl"] .cockpit-row-capsule:hover {
  transform: translateX(-2px);
}

[dir="rtl"] .cockpit-action-item:hover {
  transform: translateX(-3px);
}

[dir="rtl"] .cockpit-action-chevron {
  transform: scaleX(-1);
}

[dir="rtl"] .cockpit-action-item:hover .cockpit-action-chevron {
  transform: scaleX(-1) translateX(-3px);
}


.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.4vw, 24px);
  list-style: none;
  margin: 0 auto;
  padding: 0 10px;
  flex: 1;
  text-align: center;
}

.nav-links li {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.nav-link {
  font-family: var(--font-libby), 'Libby', 'Neoteric', 'Space Grotesk', sans-serif;
  font-size: clamp(0.78rem, 0.86vw, 0.90rem);
  font-weight: 700;
  color: #FAF8F4;
  text-decoration: none;
  letter-spacing: 0.06em;
  word-spacing: normal;
  text-transform: uppercase;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

.nav-link:hover {
  color: #FCD34D;
  text-shadow: 0 0 16px rgba(252, 211, 77, 0.6);
}

header.site-header .header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ── Universal Slider Controls (Theme & Language) ────────────────────────── */
.header-sliders-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.slider-control {
  position: relative;
  display: inline-flex;
  align-items: center;
  user-select: none;
  cursor: pointer;
  outline: none;
}

.slider-track {
  position: relative;
  display: flex;
  align-items: center;
  direction: ltr !important; /* Fixed coordinate system for deterministic slider physics */
  background: rgba(18, 15, 14, 0.88);
  border: 1px solid rgba(252, 211, 77, 0.28);
  border-radius: 9999px;
  padding: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 1px 2px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.slider-control:hover .slider-track,
.slider-control:focus-visible .slider-track {
  border-color: rgba(252, 211, 77, 0.6);
  box-shadow: 0 0 12px rgba(252, 211, 77, 0.22);
}

.slider-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 24px;
  padding: 0 9px;
  border: none;
  background: transparent;
  color: #8E8679;
  font-family: 'Space Grotesk', 'Alexandria', 'JetBrains Mono', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  border-radius: 9999px;
  transition: color 0.25s ease, opacity 0.25s ease;
  line-height: 1;
}

.slider-btn .slider-icon {
  font-size: 0.72rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.slider-btn.active {
  color: #FAF8F4;
}

.slider-btn.active .slider-icon {
  transform: scale(1.15);
}

.connected-dots-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.marble-dots-svg {
  display: block;
  overflow: visible;
  filter: drop-shadow(0 0 2px rgba(245, 158, 11, 0.4));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.slider-btn.active .marble-dots-svg {
  filter: drop-shadow(0 0 3px rgba(236, 72, 153, 0.6)) drop-shadow(0 0 2px rgba(245, 158, 11, 0.8));
  transform: scale(1.12);
}

/* Sliding Thumb Indicator */
.slider-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  bottom: 2px;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(252, 211, 77, 0.25) 0%, rgba(2, 132, 199, 0.2) 100%);
  border: 1px solid rgba(252, 211, 77, 0.55);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 8px rgba(252, 211, 77, 0.25);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1;
}

/* Theme Slider Calculations */
.theme-slider .slider-thumb {
  width: calc(50% - 2px);
  transform: translateX(0);
}

.theme-slider.is-light .slider-thumb,
[data-theme="marble-bling"] .theme-slider .slider-thumb,
[data-theme="light"] .theme-slider .slider-thumb {
  transform: translateX(100%);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.3) 0%, rgba(217, 119, 6, 0.2) 100%);
  border-color: rgba(217, 119, 6, 0.65);
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.25);
}

/* Language Slider Calculations */
.lang-slider .slider-btn {
  padding: 0 7px;
  min-width: 26px;
}

.lang-slider .slider-thumb {
  width: calc(50% - 2px);
  transform: translateX(0);
}

.lang-slider.is-ar .slider-thumb,
[dir="rtl"] .lang-slider .slider-thumb {
  transform: translateX(100%);
}

/* Light / Marble Mode Adaptive Styling */
[data-theme="marble-bling"] .slider-track,
[data-theme="light"] .slider-track {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(217, 119, 6, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

[data-theme="marble-bling"] .slider-btn,
[data-theme="light"] .slider-btn {
  color: #71717A;
}

[data-theme="marble-bling"] .slider-btn.active,
[data-theme="light"] .slider-btn.active {
  color: #0A0B0E;
}

/* Cockpit Slider Row Integration */
.cockpit-slider-capsule {
  display: flex;
  align-items: center;
  justify-content: space-between !important;
  width: 100%;
  cursor: default !important;
}

.cockpit-slider-capsule .slider-control {
  cursor: pointer;
}

.cockpit-slider-capsule .slider-track {
  padding: 1.5px;
}

.cockpit-slider-capsule .slider-btn {
  height: 20px;
  padding: 0 6px;
  font-size: 0.60rem;
  gap: 3px;
  letter-spacing: 0.02em;
}

.cockpit-slider-capsule .slider-icon {
  font-size: 0.62rem;
}

.cockpit-slider-capsule .lang-slider .slider-btn {
  padding: 0 5px;
  min-width: 22px;
  font-size: 0.60rem;
}

@media (max-width: 480px) {
  .header-sliders-group .theme-slider .slider-label {
    display: none;
  }
  .header-sliders-group .slider-btn {
    padding: 0 6px;
  }
}

header.site-header .shimmer-btn {
  flex-shrink: 0;
}

header.site-header .shimmer-btn-inner {
  padding: 8px 22px !important;
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 1.15rem !important;
  letter-spacing: 0.08em !important;
}

header.site-header .shimmer-btn-inner svg {
  display: none !important;
}

/* ── Right Actions: Sovereign Auth Capsule & User Journey ────────────────── */
.header-actions {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-auth-guest {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-login-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px 0 12px;
  background: rgba(10, 8, 7, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #FCD34D;
  font-family: var(--font-neoteric), 'Neoteric', 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  user-select: none;
  white-space: nowrap;
}

[dir="rtl"] .header-login-btn {
  padding: 0 12px 0 18px;
  font-family: 'Alexandria', var(--font-neoteric), sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Light up from Bottom to Top (Solar Surge on Hover) */
.header-login-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(252, 211, 77, 0.40) 0%, rgba(245, 158, 11, 0.20) 55%, rgba(2, 132, 199, 0.08) 100%);
  transform-origin: bottom center;
  transform: scaleY(0);
  opacity: 0;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

.header-login-btn:hover {
  border-color: rgba(252, 211, 77, 0.7);
  box-shadow: 0 0 20px rgba(252, 211, 77, 0.45), 0 0 40px rgba(245, 158, 11, 0.25);
  transform: translateY(-1px);
}

.header-login-btn:hover::before {
  transform: scaleY(1);
  opacity: 1;
}

.login-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Ankh Icon Container (Clean: Zero Enclosing Circle) */
.ankh-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  flex-shrink: 0;
}

.ankh-3d-glyph {
  position: relative;
  z-index: 2;
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

/* Rising Solar Flame Aura on Ankh Glyph (Bottom to Top) */
.header-login-btn .ankh-icon-wrap::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 42px;
  height: 48px;
  background: radial-gradient(ellipse at bottom, rgba(252, 211, 77, 0.95) 0%, rgba(245, 158, 11, 0.55) 50%, transparent 80%);
  transform: translateX(-50%) scaleY(0);
  transform-origin: bottom center;
  filter: blur(6px);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

.header-login-btn:hover .ankh-icon-wrap::after {
  transform: translateX(-50%) scaleY(1);
  opacity: 1;
}

.header-login-btn:hover .ankh-3d-glyph {
  transform: translateY(-1px) scale(1.15);
  filter: drop-shadow(0 -4px 14px #FCD34D) drop-shadow(0 0 24px #F59E0B) brightness(1.38) contrast(1.12);
}

.header-login-btn .login-btn-text {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.header-login-btn:hover .login-btn-text {
  color: #FFF;
  text-shadow: 0 0 12px rgba(252, 211, 77, 0.75);
}

/* Universal Control Menu Trigger Button */
.header-control-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(252, 211, 77, 0.35);
  color: #FCD34D;
  font-size: 1.05rem;
  cursor: pointer;
  outline: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.header-control-trigger:hover,
.header-control-trigger.is-active,
.header-control-trigger[aria-expanded="true"] {
  background: rgba(252, 211, 77, 0.16);
  border-color: #FCD34D;
  transform: scale(1.08) rotate(12deg);
  box-shadow: 0 0 18px rgba(252, 211, 77, 0.45);
}

.header-auth-user {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-topbar-quick-btn {
  position: relative;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  color: #F8FAFC;
  outline: none;
}

.header-topbar-quick-btn:hover {
  background: rgba(2, 132, 199, 0.2);
  border-color: #0284C7;
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.header-topbar-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: #EF4444;
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #05070E;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
  pointer-events: none;
}

.header-topbar-badge.is-active {
  display: inline-flex;
}

.header-user-avatar-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  border-radius: 50%;
  outline: none;
  transition: transform 0.2s ease;
}

.header-user-avatar-btn:hover {
  transform: scale(1.06);
}

.user-avatar-ring-frame {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(14, 11, 9, 0.8);
}

.user-avatar-ring-frame.status-active {
  border: 2px solid #10B981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.55);
}

.user-avatar-ring-frame.status-alert {
  border: 2px solid #FCD34D;
  box-shadow: 0 0 14px rgba(252, 211, 77, 0.65);
  animation: pulse-ring-gold 2s infinite ease-in-out;
}

.user-avatar-ring-frame.status-vanguard {
  border: 2px solid #38BDF8;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.65);
}

@keyframes pulse-ring-gold {
  0%, 100% {
    box-shadow: 0 0 10px rgba(252, 211, 77, 0.45);
  }
  50% {
    box-shadow: 0 0 20px rgba(252, 211, 77, 0.85);
  }
}

.user-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.user-status-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #080605;
}

.user-avatar-ring-frame.status-alert .user-status-indicator {
  background: #FCD34D;
}

.user-avatar-ring-frame.status-vanguard .user-status-indicator {
  background: #38BDF8;
}

/* ── User Sovereign Dropdown Menu (Housed on Left under Main Logo) ── */
.user-sovereign-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: auto;
  width: min(320px, calc(100vw - 20px));
  max-width: calc(100vw - 20px);
  max-height: min(85vh, 640px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  background: #0B0F19;
  background-image: linear-gradient(180deg, rgba(16, 22, 36, 0.99) 0%, rgba(10, 13, 22, 1) 100%);
  border: 1px solid rgba(252, 211, 77, 0.28);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95),
              0 0 25px rgba(2, 132, 199, 0.2);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.97);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.user-sovereign-dropdown::-webkit-scrollbar {
  width: 5px;
}

.user-sovereign-dropdown::-webkit-scrollbar-track {
  background: rgba(14, 11, 9, 0.5);
  border-radius: 999px;
}

.user-sovereign-dropdown::-webkit-scrollbar-thumb {
  background: rgba(252, 211, 77, 0.35);
  border-radius: 999px;
}

.user-sovereign-dropdown.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

[dir="rtl"] .user-sovereign-dropdown,
html[lang="ar"] .user-sovereign-dropdown {
  left: auto !important;
  right: 0 !important;
  text-align: right;
}

.user-dropdown-header.user-header-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  cursor: pointer;
  border-radius: 14px;
  padding: 8px 12px;
  margin: -2px -2px 6px -2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 12px;
}

.user-dropdown-header.user-header-link:hover {
  background: rgba(252, 211, 77, 0.06);
}

.user-header-chevron,
.user-chevron-left,
.user-chevron-right {
  display: none !important;
}

.user-header-avatar {
  flex-shrink: 0;
  margin-inline-start: 0;
}

.user-avatar-frame-large {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(135deg, #0284C7 0%, #7C3AED 50%, #FCD34D 100%);
  box-shadow: 0 0 18px rgba(252, 211, 77, 0.35),
              0 0 32px rgba(2, 132, 199, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.user-dropdown-header.user-header-link:hover .user-avatar-frame-large {
  transform: scale(1.06);
  box-shadow: 0 0 26px rgba(252, 211, 77, 0.55),
              0 0 40px rgba(124, 58, 237, 0.3);
}

.user-avatar-frame-large img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #0E0B09;
}

[data-theme="marble-bling"] .user-avatar-frame-large img {
  background: #F8FAFC;
}

.user-status-indicator-large {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #0E0B09;
  box-shadow: 0 0 8px #10B981;
}

[dir="rtl"] .user-status-indicator-large {
  right: auto;
  left: 2px;
}

.user-header-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.user-display-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Grotesk', 'Cairo', sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
  color: #FAF8F4;
  letter-spacing: -0.01em;
}

.user-verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #10B981;
  color: #080605;
  font-size: 0.64rem;
  font-weight: 900;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

.user-handle-tier {
  display: flex;
  align-items: center;
  gap: 6px;
}

.user-handle {
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  color: #A8A29E;
}

.user-tier-badge {
  font-family: var(--font-mono, monospace);
  font-size: 0.56rem;
  font-weight: 800;
  color: #FCD34D;
  background: rgba(252, 211, 77, 0.14);
  border: 1px solid rgba(252, 211, 77, 0.35);
  border-radius: 4px;
  padding: 0 5px;
  line-height: 1.4;
}

.user-fast-actions-grid.user-fast-actions-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.user-fast-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 4px;
  border-radius: 10px;
  background: rgba(22, 28, 45, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.user-fast-action-btn:hover,
.user-fast-action-btn.is-active {
  background: rgba(252, 211, 77, 0.12);
  border-color: rgba(252, 211, 77, 0.45);
  color: #FCD34D;
}

.fast-action-3d-wrap {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
  transition: transform 0.2s ease;
}

.user-fast-action-btn:hover .fast-action-3d-wrap {
  transform: scale(1.15) translateY(-1px);
}

.user-3d-icon-mini {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.fast-action-badge {
  position: absolute;
  top: 3px;
  right: 6px;
  background: #EF4444;
  color: #FFF;
  border-radius: 999px;
  font-size: 0.52rem;
  font-weight: 800;
  padding: 0 4px;
  line-height: 1.2;
}

[dir="rtl"] .fast-action-badge {
  right: auto;
  left: 6px;
}

.fast-badge-gold {
  background: rgba(252, 211, 77, 0.25) !important;
  border: 1px solid rgba(252, 211, 77, 0.5) !important;
  color: #FCD34D !important;
}

.user-riz-wallet-card {
  background: linear-gradient(135deg, rgba(252, 211, 77, 0.08), rgba(2, 132, 199, 0.08));
  border: 1px solid rgba(252, 211, 77, 0.25);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.riz-wallet-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.riz-wallet-title {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.64rem;
  color: #A8A29E;
  font-weight: 600;
}

.riz-balance-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.riz-amount {
  font-family: 'Space Grotesk', 'Alexandria', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #FCD34D;
}

.riz-ticker {
  font-size: 0.62rem;
  font-weight: 700;
  color: #38BDF8;
}

.riz-wallet-actions {
  display: flex;
  gap: 5px;
}

.riz-action-mini-btn {
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 0.62rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
}

.btn-riz-add {
  background: #FCD34D;
  color: #080605;
}

.btn-riz-add:hover {
  background: #FBBF24;
  box-shadow: 0 0 10px rgba(252, 211, 77, 0.5);
}

.btn-riz-log {
  background: rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-riz-log:hover {
  border-color: #38BDF8;
  color: #38BDF8;
}

.riz-3d-coin-mini {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(252, 211, 77, 0.45));
}

.user-dropdown-dynamic-content {
  min-height: 140px;
  position: relative;
}

.user-dynamic-view {
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: userViewFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.user-links-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.user-menu-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border-radius: 8px;
  color: #FAF8F4;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.2s ease;
}

.user-menu-link:hover {
  background: rgba(252, 211, 77, 0.09);
  border-color: rgba(252, 211, 77, 0.3);
  color: #FCD34D;
  transform: translateX(2px);
}

[dir="rtl"] .user-menu-link:hover {
  transform: translateX(-2px);
}

.user-3d-link-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.user-menu-link:hover .user-3d-link-icon {
  transform: scale(1.18);
}

.user-menu-link-text {
  flex: 1;
}

.user-menu-link-arrow {
  font-size: 0.72rem;
  color: #A8A29E;
  opacity: 0.7;
}

/* ── Messages & Notifications Subviews ───────────────────────────────────── */
.user-subview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 7px;
}

.subview-title {
  font-size: 0.65rem;
  font-weight: 800;
  color: #FCD34D;
  font-family: 'Space Grotesk', 'Cairo', sans-serif;
}

.subview-back-btn {
  background: none;
  border: none;
  color: #A8A29E;
  font-size: 0.75rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.subview-back-btn:hover {
  color: #FAF8F4;
  background: rgba(255, 255, 255, 0.12);
}

/* Contextual Notifications Dual-Tab Switcher */
.notif-context-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 7px;
}

.notif-tab-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 8px;
  font-family: var(--font-body, inherit);
  font-size: 0.64rem;
  font-weight: 700;
  color: #A8A29E;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.notif-tab-btn:hover {
  color: #FAF8F4;
  background: rgba(255, 255, 255, 0.06);
}

.notif-tab-btn.is-active {
  color: #FCD34D;
  background: rgba(252, 211, 77, 0.12);
  border-color: rgba(252, 211, 77, 0.35);
  box-shadow: 0 0 10px rgba(252, 211, 77, 0.15);
}

.notif-tab-icon {
  font-size: 0.72rem;
  line-height: 1;
}

.notif-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  font-family: var(--font-mono, monospace);
  font-size: 0.54rem;
  font-weight: 800;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #FAF8F4;
}

.notif-tab-btn.is-active .notif-tab-badge {
  background: #FCD34D;
  color: #060913;
}

.notif-product-tag {
  display: inline-block;
  font-family: var(--font-mono, monospace);
  font-size: 0.52rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 1px 5px;
  margin-inline-end: 5px;
  border-radius: 4px;
  background: rgba(2, 132, 199, 0.18);
  border: 1px solid rgba(2, 132, 199, 0.35);
  color: #38BDF8;
  vertical-align: middle;
}

.user-messages-list,
.user-notifs-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: 210px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.user-message-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-message-item:hover {
  background: rgba(2, 132, 199, 0.14);
  border-color: rgba(2, 132, 199, 0.4);
  transform: translateX(2px);
}

[dir="rtl"] .user-message-item:hover {
  transform: translateX(-2px);
}

.message-item-avatar {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.message-item-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(252, 211, 77, 0.4);
}

.online-pip {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  border: 1.5px solid #0E0B09;
  box-shadow: 0 0 6px #10B981;
}

[dir="rtl"] .online-pip {
  right: auto;
  left: 0;
}

.message-item-body {
  flex: 1;
  min-width: 0;
}

.message-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.message-sender {
  font-size: 0.68rem;
  font-weight: 700;
  color: #FAF8F4;
}

.message-time {
  font-family: var(--font-mono, monospace);
  font-size: 0.56rem;
  color: #A8A29E;
}

.message-snippet {
  font-size: 0.60rem;
  color: #A8A29E;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.user-notif-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.user-notif-item.unread {
  background: rgba(252, 211, 77, 0.07);
  border-color: rgba(252, 211, 77, 0.25);
}

.notif-item-icon {
  font-size: 0.85rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

.notif-item-content {
  flex: 1;
  min-width: 0;
}

.notif-item-text {
  font-size: 0.62rem;
  color: #FAF8F4;
  line-height: 1.35;
}

.notif-item-time {
  font-family: var(--font-mono, monospace);
  font-size: 0.54rem;
  color: #A8A29E;
  margin-top: 2px;
}

.user-subview-action-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 7px;
  background: rgba(2, 132, 199, 0.12);
  border: 1px solid rgba(2, 132, 199, 0.35);
  color: #38BDF8;
  font-size: 0.65rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 4px;
}

.user-subview-action-footer:hover {
  background: rgba(2, 132, 199, 0.25);
  border-color: #38BDF8;
  color: #FFF;
  box-shadow: 0 0 12px rgba(2, 132, 199, 0.4);
}

.user-feedback-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 4px;
  margin-bottom: 6px;
}

.feedback-label-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.feedback-live-pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 8px #38BDF8;
  display: inline-block;
  animation: pulseLivePip 2s infinite ease-in-out;
}

@keyframes pulseLivePip {
  0%, 100% { opacity: 0.7; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.15); box-shadow: 0 0 10px #38BDF8; }
}

.feedback-prompt {
  font-size: 0.60rem;
  color: #A8A29E;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.feedback-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.feedback-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FAF8F4;
  font-family: 'Space Grotesk', 'Cairo', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.feedback-pill-btn:hover {
  background: rgba(252, 211, 77, 0.14);
  border-color: rgba(252, 211, 77, 0.45);
  color: #FCD34D;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.feedback-pill-btn.btn-pill-bug:hover {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.45);
  color: #F87171;
}

.feedback-pill-btn.is-active,
.feedback-pill-btn.liked {
  background: rgba(252, 211, 77, 0.22);
  border-color: #FCD34D;
  color: #FCD34D;
  box-shadow: 0 0 10px rgba(252, 211, 77, 0.4);
}

.pill-btn-icon {
  font-size: 0.68rem;
}

.pill-btn-text {
  line-height: 1;
}

.user-dropdown-footer {
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.user-logout-btn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(10, 8, 7, 0.88);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #F87171;
  font-family: 'Space Grotesk', 'Alexandria', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Dimming from Top to Bottom (Descending Eclipse Veil on Logout Hover) */
.user-logout-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(239, 68, 68, 0.16) 0%, rgba(30, 10, 10, 0.25) 55%, rgba(10, 8, 7, 0.4) 100%);
  transform-origin: top center;
  transform: scaleY(0);
  opacity: 0;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

.user-logout-btn:hover {
  border-color: rgba(239, 68, 68, 0.65);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 14px rgba(239, 68, 68, 0.28);
}

.user-logout-btn:hover::before {
  transform: scaleY(1);
  opacity: 1;
}

/* Ankh Logout Glyph (Clean: Zero Enclosing Circle) */
.user-logout-btn .ankh-glyph-logout {
  position: relative;
  z-index: 2;
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(239, 68, 68, 0.55)) opacity(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease, opacity 0.4s ease;
}

/* Descending Eclipse Shadow on Ankh Glyph (Top to Bottom: ONLY Ankh Light Extinguishes) */
.user-logout-btn .ankh-icon-wrap::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  width: 26px;
  height: 30px;
  background: radial-gradient(ellipse at top, rgba(0, 0, 0, 0.98) 0%, rgba(30, 8, 8, 0.85) 60%, transparent 100%);
  transform: translateX(-50%) scaleY(0);
  transform-origin: top center;
  filter: blur(4px);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  pointer-events: none;
  z-index: 2;
}

.user-logout-btn:hover .ankh-icon-wrap::after {
  transform: translateX(-50%) scaleY(1);
  opacity: 1;
}

/* Dimming downwards strictly on Ankh hover */
.user-logout-btn:hover .ankh-glyph-logout {
  transform: translateY(1px) scale(0.92);
  filter: drop-shadow(0 4px 2px rgba(0, 0, 0, 0.95)) brightness(0.2) contrast(0.8) grayscale(0.8);
  opacity: 0.35;
}

/* Word remains 100% sharp and undimmed per Founder Directive */
.user-logout-btn .logout-btn-text {
  position: relative;
  z-index: 2;
  color: #F87171;
  opacity: 1 !important;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.user-logout-btn:hover .logout-btn-text {
  color: #EF4444 !important;
  opacity: 1 !important;
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.45);
}

/* ── Sovereign Access Gateway (Guest Dropdown Card) ────────────────────── */
.user-dropdown-guest-view {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 2px 0;
}

.gateway-hero-capsule {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(252, 211, 77, 0.22);
  border-radius: 14px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.gateway-ankh-icon-glow {
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: radial-gradient(circle, rgba(252, 211, 77, 0.2) 0%, transparent 70%);
  flex-shrink: 0;
}

.gateway-ankh-3d {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(252, 211, 77, 0.65));
  animation: ankhGlowPulse 3s ease-in-out infinite;
}

@keyframes ankhGlowPulse {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(252, 211, 77, 0.55)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 16px rgba(252, 211, 77, 0.9)) drop-shadow(0 0 26px rgba(245, 158, 11, 0.4)); transform: scale(1.05); }
}

.gateway-hero-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.gateway-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.64rem;
  font-weight: 800;
  color: #FCD34D;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gateway-title {
  margin: 0;
  font-family: var(--font-neoteric), 'Neoteric', 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #FAF8F4;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

[dir="rtl"] .gateway-title {
  font-family: 'Alexandria', var(--font-neoteric), sans-serif;
  font-weight: 700;
}

.gateway-subtitle {
  margin: 0;
  font-size: 0.72rem;
  color: #94A3B8;
  line-height: 1.35;
}

.user-gateway-login-btn {
  width: 100%;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(252, 211, 77, 0.22) 0%, rgba(245, 158, 11, 0.12) 100%);
  border: 1px solid rgba(252, 211, 77, 0.55);
  color: #FAF8F4;
  font-family: var(--font-neoteric), 'Neoteric', 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(252, 211, 77, 0.4);
}

[dir="rtl"] .user-gateway-login-btn {
  font-family: 'Alexandria', var(--font-neoteric), sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.user-gateway-login-btn:hover {
  background: linear-gradient(135deg, rgba(252, 211, 77, 0.35) 0%, rgba(245, 158, 11, 0.25) 100%);
  border-color: #FCD34D;
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(252, 211, 77, 0.45);
}

/* ── Ankh Locking & Security Engine Sentinel Card (Inside Guest Dropdown) ── */
.gateway-sentinel-card {
  background: linear-gradient(145deg, rgba(16, 22, 36, 0.95), rgba(8, 11, 20, 0.98));
  border: 1px solid rgba(252, 211, 77, 0.35);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sentinel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sentinel-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono, monospace);
  font-size: 0.65rem;
  font-weight: 800;
  color: #FCD34D;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sentinel-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: sentinelPulse 2s infinite ease-in-out;
}

@keyframes sentinelPulse {
  0%, 100% { opacity: 0.7; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.25); }
}

.sentinel-secure-tag {
  font-family: var(--font-mono, monospace);
  font-size: 0.6rem;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.sentinel-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sentinel-ankh-icon {
  font-size: 0.95rem;
  color: #FCD34D;
  filter: drop-shadow(0 0 6px rgba(252, 211, 77, 0.6));
  line-height: 1;
}

.sentinel-title {
  font-family: var(--font-neoteric), 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  color: #FAF8F4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

[dir="rtl"] .sentinel-title {
  font-family: 'Alexandria', sans-serif;
  font-weight: 700;
}

.sentinel-defense-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sentinel-defense-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.68rem;
  line-height: 1.35;
  color: #CBD5E1;
}

.sentinel-defense-list .defense-check {
  font-size: 0.7rem;
  flex-shrink: 0;
  line-height: 1.3;
}


.gateway-access-radar {
  background: rgba(10, 8, 7, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gateway-radar-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.radar-header-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.radar-header-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  color: #A8A29E;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gateway-radar-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gateway-radar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: #FAF8F4;
  font-size: 0.76rem;
  transition: all 0.2s ease;
  cursor: pointer;
  width: 100%;
  text-align: inherit;
}

.gateway-radar-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

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

.radar-item-name {
  font-weight: 600;
}

.radar-item-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.64rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.radar-item-status.status-unlocked {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.radar-item-status.status-staging {
  background: rgba(245, 158, 11, 0.15);
  color: #FCD34D;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.radar-item-status.status-locked {
  background: rgba(148, 163, 184, 0.12);
  color: #94A3B8;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.gateway-footer-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: #64748B;
  line-height: 1.3;
}

/* ── Toast Notification ─────────────────────────────────────────────────── */
.algorizms-session-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(14, 11, 9, 0.94);
  border: 1px solid rgba(252, 211, 77, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(252, 211, 77, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px 18px;
  border-radius: 999px;
  color: #FAF8F4;
  font-family: 'Space Grotesk', 'Alexandria', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.algorizms-session-toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* ── Light Mode / Alabaster Marble Theme Overrides (marble-bling) ────────── */
[data-theme="marble-bling"] .header-login-btn,
[data-theme="light"] .header-login-btn {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08), rgba(245, 158, 11, 0.12));
  border: 1px solid rgba(217, 119, 6, 0.35);
  color: #92400E;
  box-shadow: 0 2px 10px rgba(180, 120, 20, 0.12);
}

[data-theme="marble-bling"] .header-login-btn:hover,
[data-theme="light"] .header-login-btn:hover {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.16), rgba(245, 158, 11, 0.22));
  border-color: #D97706;
  color: #78350F;
  box-shadow: 0 4px 18px rgba(217, 119, 6, 0.28), 0 0 24px rgba(245, 158, 11, 0.35);
  transform: translateY(-1px);
}

[data-theme="marble-bling"] .header-login-btn,
[data-theme="light"] .header-login-btn {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(2, 132, 199, 0.22);
  color: #B45309;
  box-shadow: 0 4px 16px rgba(180, 190, 205, 0.35);
}

[data-theme="marble-bling"] .header-login-btn::before,
[data-theme="light"] .header-login-btn::before {
  background: linear-gradient(to top, rgba(252, 211, 77, 0.55) 0%, rgba(245, 158, 11, 0.30) 60%, rgba(255, 255, 255, 0.1) 100%);
}

[data-theme="marble-bling"] .header-login-btn:hover .login-btn-text,
[data-theme="light"] .header-login-btn:hover .login-btn-text {
  color: #78350F;
  text-shadow: 0 0 10px rgba(252, 211, 77, 0.8);
}

[data-theme="marble-bling"] .ankh-3d-glyph,
[data-theme="light"] .ankh-3d-glyph {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

[data-theme="marble-bling"] .header-login-btn:hover .ankh-3d-glyph,
[data-theme="light"] .header-login-btn:hover .ankh-3d-glyph {
  filter: drop-shadow(0 -4px 12px rgba(217, 119, 6, 0.85)) drop-shadow(0 0 20px rgba(245, 158, 11, 0.5));
}

[data-theme="marble-bling"] .header-control-trigger,
[data-theme="light"] .header-control-trigger {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(217, 119, 6, 0.3);
  color: #92400E;
  box-shadow: 0 2px 8px rgba(180, 120, 20, 0.1);
}

[data-theme="marble-bling"] .header-control-trigger:hover,
[data-theme="light"] .header-control-trigger:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: #D97706;
  color: #78350F;
  box-shadow: 0 0 16px rgba(217, 119, 6, 0.35);
}

[data-theme="marble-bling"] .user-sovereign-dropdown,
[data-theme="light"] .user-sovereign-dropdown {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(217, 119, 6, 0.28);
  box-shadow: 0 24px 64px rgba(180, 120, 20, 0.18), 0 0 25px rgba(2, 132, 199, 0.10);
  color: #1C1917;
}

[data-theme="marble-bling"] .user-dropdown-header.user-header-link {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="marble-bling"] .user-dropdown-header.user-header-link:hover {
  background: rgba(245, 158, 11, 0.08);
}

[data-theme="marble-bling"] .user-header-chevron {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: #78716C;
}

[data-theme="marble-bling"] .user-dropdown-header.user-header-link:hover .user-header-chevron {
  color: #B45309;
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(217, 119, 6, 0.4);
}

[data-theme="marble-bling"] .user-display-name span,
[data-theme="light"] .user-display-name span {
  color: #0F172A;
}

[data-theme="marble-bling"] .user-handle,
[data-theme="light"] .user-handle {
  color: #78716C;
}

[data-theme="marble-bling"] .user-tier-badge,
[data-theme="light"] .user-tier-badge {
  color: #B45309;
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(217, 119, 6, 0.35);
}

[data-theme="marble-bling"] .user-fast-action-btn,
[data-theme="light"] .user-fast-action-btn {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #292524;
}

[data-theme="marble-bling"] .user-fast-action-btn:hover,
[data-theme="marble-bling"] .user-fast-action-btn.is-active,
[data-theme="light"] .user-fast-action-btn:hover,
[data-theme="light"] .user-fast-action-btn.is-active {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(217, 119, 6, 0.45);
  color: #92400E;
}

[data-theme="marble-bling"] .fast-action-label,
[data-theme="light"] .fast-action-label {
  color: inherit;
}

[data-theme="marble-bling"] .user-riz-wallet-card,
[data-theme="light"] .user-riz-wallet-card {
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.65), rgba(255, 255, 255, 0.90));
  border: 1px solid rgba(217, 119, 6, 0.32);
  box-shadow: 0 4px 16px rgba(180, 120, 20, 0.08);
}

[data-theme="marble-bling"] .riz-wallet-title span,
[data-theme="light"] .riz-wallet-title span {
  color: #78350F;
}

[data-theme="marble-bling"] .riz-balance-display .riz-amount,
[data-theme="light"] .riz-balance-display .riz-amount {
  color: #92400E;
}

[data-theme="marble-bling"] .riz-balance-display .riz-ticker,
[data-theme="light"] .riz-balance-display .riz-ticker {
  color: #B45309;
}

[data-theme="marble-bling"] .riz-action-mini-btn,
[data-theme="light"] .riz-action-mini-btn {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(217, 119, 6, 0.3);
  color: #78350F;
}

[data-theme="marble-bling"] .riz-action-mini-btn:hover,
[data-theme="light"] .riz-action-mini-btn:hover {
  background: #FFFFFF;
  border-color: #D97706;
  color: #92400E;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.2);
}

[data-theme="marble-bling"] .user-menu-link,
[data-theme="light"] .user-menu-link {
  color: #292524;
  border: 1px solid transparent;
}

[data-theme="marble-bling"] .user-menu-link:hover,
[data-theme="light"] .user-menu-link:hover {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(217, 119, 6, 0.2);
  color: #0284C7;
}

[data-theme="marble-bling"] .user-menu-link-text,
[data-theme="light"] .user-menu-link-text {
  color: #292524;
}

[data-theme="marble-bling"] .user-menu-link:hover .user-menu-link-text,
[data-theme="light"] .user-menu-link:hover .user-menu-link-text {
  color: #0284C7;
}

[data-theme="marble-bling"] .user-subview-header,
[data-theme="light"] .user-subview-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="marble-bling"] .subview-title,
[data-theme="light"] .subview-title {
  color: #78350F;
}

[data-theme="marble-bling"] .subview-back-btn,
[data-theme="light"] .subview-back-btn {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #78716C;
}

[data-theme="marble-bling"] .subview-back-btn:hover,
[data-theme="light"] .subview-back-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #1C1917;
}

[data-theme="marble-bling"] .user-message-item,
[data-theme="light"] .user-message-item {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="marble-bling"] .user-message-item:hover,
[data-theme="light"] .user-message-item:hover {
  background: rgba(245, 158, 11, 0.06);
  border-color: rgba(217, 119, 6, 0.25);
}

[data-theme="marble-bling"] .message-sender,
[data-theme="light"] .message-sender {
  color: #0F172A;
}

[data-theme="marble-bling"] .message-snippet,
[data-theme="light"] .message-snippet {
  color: #57534E;
}

[data-theme="marble-bling"] .user-notif-item,
[data-theme="light"] .user-notif-item {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="marble-bling"] .user-notif-item.unread,
[data-theme="light"] .user-notif-item.unread {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(217, 119, 6, 0.3);
}

[data-theme="marble-bling"] .notif-item-text,
[data-theme="light"] .notif-item-text {
  color: #292524;
}

[data-theme="marble-bling"] .notif-item-time,
[data-theme="light"] .notif-item-time {
  color: #78716C;
}

[data-theme="marble-bling"] .user-subview-action-footer,
[data-theme="light"] .user-subview-action-footer {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(217, 119, 6, 0.25);
  color: #78350F;
}

[data-theme="marble-bling"] .user-subview-action-footer:hover,
[data-theme="light"] .user-subview-action-footer:hover {
  background: rgba(245, 158, 11, 0.16);
  color: #92400E;
}

[data-theme="marble-bling"] .user-feedback-bar,
[data-theme="light"] .user-feedback-bar {
  background: rgba(0, 0, 0, 0.02);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="marble-bling"] .feedback-prompt,
[data-theme="light"] .feedback-prompt {
  color: #78716C;
}

[data-theme="marble-bling"] .feedback-pill-btn,
[data-theme="light"] .feedback-pill-btn {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #44403C;
}

[data-theme="marble-bling"] .feedback-pill-btn:hover,
[data-theme="light"] .feedback-pill-btn:hover {
  background: #FFFFFF;
  border-color: #D97706;
  color: #92400E;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.16);
}

[data-theme="marble-bling"] .cockpit-feedback-item,
[data-theme="light"] .cockpit-feedback-item {
  background: rgba(2, 132, 199, 0.04);
  border-color: rgba(2, 132, 199, 0.16);
  color: #0F172A;
}

[data-theme="marble-bling"] .cockpit-feedback-item.btn-feedback-rate:hover,
[data-theme="light"] .cockpit-feedback-item.btn-feedback-rate:hover {
  background: rgba(252, 211, 77, 0.18);
  border-color: #D97706;
  color: #B45309;
}

[data-theme="marble-bling"] .cockpit-feedback-item.btn-feedback-feature:hover,
[data-theme="light"] .cockpit-feedback-item.btn-feedback-feature:hover {
  background: rgba(2, 132, 199, 0.14);
  border-color: #0284C7;
  color: #0369A1;
}

[data-theme="marble-bling"] .cockpit-feedback-item.btn-feedback-bug:hover,
[data-theme="light"] .cockpit-feedback-item.btn-feedback-bug:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: #DC2626;
  color: #B91C1C;
}

[data-theme="marble-bling"] .user-logout-btn,
[data-theme="light"] .user-logout-btn {
  background: rgba(254, 242, 242, 0.88);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: #DC2626;
}

[data-theme="marble-bling"] .user-logout-btn::before,
[data-theme="light"] .user-logout-btn::before {
  background: linear-gradient(to bottom, rgba(245, 245, 245, 0.95) 0%, rgba(254, 226, 226, 0.85) 100%);
}

[data-theme="marble-bling"] .user-logout-btn:hover,
[data-theme="light"] .user-logout-btn:hover {
  border-color: #DC2626;
  color: #7F1D1D;
}

[data-theme="marble-bling"] .algorizms-session-toast,
[data-theme="light"] .algorizms-session-toast {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(217, 119, 6, 0.35);
  box-shadow: 0 10px 30px rgba(180, 120, 20, 0.18), 0 0 15px rgba(2, 132, 199, 0.12);
  color: #1C1917;
}

/* ── Tablet Breakpoint (max-width: 960px) ────────────────────────────────── */
@media (max-width: 960px) {
  header.site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 12px 16px;
    padding: 10px 16px;
    align-items: center;
    overflow: visible;
  }

  .brand-group,
  .brand-group-wrapper {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    min-width: 0;
    gap: 12px;
  }

  .brand-logo-mini {
    width: 44px;
    height: 44px;
  }

  .brand-title {
    font-size: 1.15rem;
    letter-spacing: 0.16em;
  }

  .brand-tag {
    font-size: 0.48rem;
  }

  header.site-header .header-actions {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }

  .nav-links {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    display: flex;
    width: 100%;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 4px 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    font-size: 0.82rem;
    white-space: nowrap;
  }
}

/* ── Mobile Breakpoint (max-width: 600px) ────────────────────────────────── */
@media (max-width: 600px) {
  header.site-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    gap: 8px 10px !important;
    padding: 8px 12px !important;
    margin: 6px auto 14px !important;
    border-radius: 14px !important;
    align-items: center !important;
    overflow: visible !important;
  }

  .brand-group,
  .brand-group-wrapper {
    grid-column: 1 / 2 !important;
    grid-row: 1 / 2 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .brand-logo-mini {
    width: 34px !important;
    height: 34px !important;
    flex-shrink: 0 !important;
  }

  .brand-text-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .brand-title {
    font-size: 0.88rem !important;
    letter-spacing: 0.10em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .brand-tag {
    display: block !important;
    font-size: 0.42rem !important;
    letter-spacing: 0.03em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    margin-top: 2px !important;
    opacity: 0.88 !important;
    text-align: left !important;
  }

  header.site-header .header-actions {
    grid-column: 2 / 3 !important;
    grid-row: 1 / 2 !important;
    justify-self: end !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  header.site-header .lang-toggle-btn,
  header.site-header .lang-toggle-pill {
    height: 32px !important;
    padding: 3px 9px !important;
    border-radius: 9999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
  }

  header.site-header .lang-toggle-btn .lang-badge-segmented {
    display: inline-flex !important;
    font-size: 0.68rem !important;
    gap: 3px !important;
  }

  header.site-header .shimmer-btn {
    flex-shrink: 0 !important;
    padding: 1.5px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5) !important;
  }

  header.site-header .shimmer-btn-inner {
    padding: 5px 12px !important;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 0.88rem !important;
    letter-spacing: 0.06em !important;
    border-radius: 7px !important;
    white-space: nowrap !important;
    gap: 0 !important;
  }

  header.site-header .shimmer-btn-inner span,
  header.site-header .shimmer-btn-inner [data-i18n] {
    letter-spacing: 0.06em !important;
  }

  .nav-links {
    grid-column: 1 / 3 !important;
    grid-row: 2 / 3 !important;
    display: flex !important;
    width: 100% !important;
    justify-content: flex-start !important;
    gap: 16px !important;
    overflow-x: auto !important;
    padding: 8px 2px 2px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .nav-link {
    font-size: 0.74rem !important;
    letter-spacing: 0.08em !important;
    white-space: nowrap !important;
  }
}

/* ── Ultra-Compact Screen (max-width: 380px) ─────────────────────────────── */
@media (max-width: 380px) {
  header.site-header {
    padding: 6px 8px !important;
    gap: 6px 6px !important;
  }

  .brand-group {
    gap: 6px !important;
  }

  .brand-logo-mini {
    width: 28px !important;
    height: 28px !important;
  }

  .brand-title {
    font-size: 0.78rem !important;
    letter-spacing: 0.06em !important;
  }

  .brand-tag {
    display: none !important;
  }

  header.site-header .header-actions {
    gap: 5px !important;
  }

  header.site-header .lang-toggle-pill {
    width: 64px !important;
    height: 28px !important;
  }

  header.site-header .lang-toggle-pill .pill-slider {
    width: 28px !important;
    height: 22px !important;
  }

  header.site-header .lang-toggle-pill.is-ar .pill-slider,
  [dir="rtl"] header.site-header .lang-toggle-pill .pill-slider {
    transform: translateX(30px) !important;
  }

  header.site-header .lang-toggle-pill .pill-label {
    font-size: 0.58rem !important;
  }

  header.site-header .shimmer-btn-inner {
    padding: 4px 7px !important;
    font-size: 0.56rem !important;
  }

  .nav-links {
    gap: 12px !important;
  }

  .nav-link {
    font-size: 0.70rem !important;
  }

  .header-login-btn {
    height: 32px !important;
    padding: 0 12px !important;
    font-size: 0.72rem !important;
  }

  .user-avatar-ring-frame {
    width: 34px !important;
    height: 34px !important;
  }

  .user-sovereign-dropdown {
    width: calc(100vw - 32px) !important;
    max-width: 310px !important;
    left: 0 !important;
    right: auto !important;
  }

  [dir="rtl"] .user-sovereign-dropdown,
  html[lang="ar"] .user-sovereign-dropdown {
    right: 0 !important;
    left: auto !important;
  }

  .brand-cockpit-dropdown {
    width: calc(100vw - 32px) !important;
    max-width: 310px !important;
    right: 0 !important;
    left: auto !important;
  }

  [dir="rtl"] .brand-cockpit-dropdown,
  html[lang="ar"] .brand-cockpit-dropdown {
    left: 0 !important;
    right: auto !important;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   ALGORIZMS™ SOVEREIGN VAULT & FINTECH MODAL HUD (v2.0)
   ══════════════════════════════════════════════════════════════════════════════ */
.vault-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 3, 2, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.vault-modal-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.vault-modal-card {
  position: relative;
  width: 100%;
  max-width: 660px;
  max-height: 88vh;
  overflow-y: auto;
  background: linear-gradient(145deg, rgba(16, 12, 10, 0.98), rgba(9, 7, 6, 0.99));
  border: 1px solid rgba(252, 211, 77, 0.35);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9), 0 0 50px rgba(252, 211, 77, 0.12);
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: #FAF8F4;
  font-family: 'Space Grotesk', 'Cairo', sans-serif;
  scrollbar-width: thin;
}

.vault-modal-backdrop.is-visible .vault-modal-card {
  transform: scale(1);
}

.vault-modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FAF8F4;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

[dir="rtl"] .vault-modal-close-btn {
  right: auto;
  left: 18px;
}

.vault-modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #EF4444;
  color: #FFF;
}

.vault-modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vault-header-coin-wrap {
  position: relative;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.vault-header-coin-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(252, 211, 77, 0.5));
  animation: coinGlow 3s ease-in-out infinite alternate;
}

@keyframes coinGlow {
  from { filter: drop-shadow(0 0 10px rgba(252, 211, 77, 0.3)); }
  to { filter: drop-shadow(0 0 24px rgba(252, 211, 77, 0.7)); }
}

.vault-header-details {
  flex: 1;
}

.vault-badge-tag {
  display: inline-block;
  font-family: var(--font-mono, monospace);
  font-size: 0.62rem;
  font-weight: 800;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.vault-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FAF8F4;
  margin: 0;
  line-height: 1.2;
}

.vault-balance-hero {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 6px;
}

.vault-hero-amount {
  font-family: 'Space Grotesk', 'Alexandria', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: #FCD34D;
  text-shadow: 0 0 20px rgba(252, 211, 77, 0.4);
}

.vault-hero-ticker {
  font-size: 0.85rem;
  font-weight: 700;
  color: #38BDF8;
}

.vault-tabs-nav {
  display: flex;
  gap: 6px;
  margin: 16px 0;
  padding: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.vault-tab-btn {
  flex: 1;
  padding: 8px 12px;
  border-radius: 7px;
  background: none;
  border: none;
  color: #A8A29E;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.vault-tab-btn:hover {
  color: #FAF8F4;
}

.vault-tab-btn.is-active {
  background: rgba(252, 211, 77, 0.15);
  color: #FCD34D;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.vault-tab-pane {
  display: none;
  animation: userViewFadeIn 0.25s ease forwards;
}

.vault-tab-pane.is-active {
  display: block;
}

/* Tab 1: Ledger Table */
.vault-ledger-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ledger-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.ledger-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ledger-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.ledger-item-icon.credit {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
}

.ledger-item-icon.debit {
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
}

.ledger-item-desc {
  font-size: 0.78rem;
  font-weight: 700;
  color: #FAF8F4;
}

.ledger-item-meta {
  font-family: var(--font-mono, monospace);
  font-size: 0.62rem;
  color: #A8A29E;
  margin-top: 2px;
}

.ledger-item-amount {
  font-family: 'Space Grotesk', var(--font-mono, monospace);
  font-size: 0.90rem;
  font-weight: 800;
}

.ledger-item-amount.credit {
  color: #10B981;
}

.ledger-item-amount.debit {
  color: #EF4444;
}

/* Tab 2: Analytics HUD */
.vault-analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.analytics-card {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.analytics-metric-title {
  font-size: 0.68rem;
  color: #A8A29E;
  font-weight: 600;
}

.analytics-metric-val {
  font-family: 'Space Grotesk', 'Alexandria', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #FCD34D;
  margin-top: 4px;
}

.analytics-metric-sub {
  font-size: 0.60rem;
  color: #38BDF8;
  margin-top: 2px;
}

/* Tab 3: Top-up & Subscriptions */
.vault-freq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.freq-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #A8A29E;
  cursor: pointer;
}

.freq-label.is-active {
  color: #FCD34D;
}

.freq-switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.freq-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FCD34D;
  transition: transform 0.2s ease;
}

.freq-switch.is-yearly::after {
  transform: translateX(20px);
}

.vault-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.pricing-pack-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 14px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

.pricing-pack-card.popular {
  border-color: rgba(252, 211, 77, 0.5);
  background: linear-gradient(145deg, rgba(252, 211, 77, 0.08), rgba(2, 132, 199, 0.06));
  box-shadow: 0 0 20px rgba(252, 211, 77, 0.15);
}

.pricing-pop-badge {
  position: absolute;
  top: -9px;
  right: 12px;
  background: #FCD34D;
  color: #080605;
  font-size: 0.52rem;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 999px;
}

.pack-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #FAF8F4;
}

.pack-riz-amount {
  font-family: 'Space Grotesk', 'Alexandria', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: #FCD34D;
  margin: 4px 0;
}

.pack-price {
  font-family: var(--font-mono, monospace);
  font-size: 0.88rem;
  font-weight: 800;
  color: #E2E8F0;
  margin-bottom: 8px;
}

.pack-buy-btn {
  width: 100%;
  padding: 7px;
  border-radius: 7px;
  background: #FCD34D;
  color: #080605;
  border: none;
  font-size: 0.70rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: auto;
}

.pack-buy-btn:hover {
  background: #FBBF24;
  box-shadow: 0 0 12px rgba(252, 211, 77, 0.6);
}

/* ══════════════════════════════════════════════════════════════════════════════
   FLOATING CHAT CIRCLES DOCK (Bottom Right)
   ══════════════════════════════════════════════════════════════════════════════ */
.floating-chat-dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: auto;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[dir="rtl"] .floating-chat-dock {
  right: auto;
  left: 24px;
  align-items: flex-start;
}

.chat-dock-heads-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 11, 9, 0.94);
  border: 1px solid rgba(252, 211, 77, 0.35);
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.75), 0 0 20px rgba(2, 132, 199, 0.2);
  backdrop-filter: blur(20px);
  animation: slideInDock 0.25s ease;
}

@keyframes slideInDock {
  from { opacity: 0; transform: translateY(12px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-dock-head-item {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-dock-head-item:hover {
  transform: scale(1.18);
  box-shadow: 0 0 14px rgba(252, 211, 77, 0.6);
}

.chat-dock-head-item img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #FCD34D;
}

.chat-dock-pip {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #0E0B09;
}

.chat-dock-close-mini {
  background: none;
  border: none;
  color: #A8A29E;
  font-size: 14px;
  cursor: pointer;
  padding: 2px 4px;
}

.chat-dock-close-mini:hover {
  color: #FAF8F4;
}

/* ══════════════════════════════════════════════════════════════════════════════
   ELEVATED FEEDBACK & OPS MODALS (Review, Feature Request, Bug Report)
   ══════════════════════════════════════════════════════════════════════════════ */
.ops-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(8, 6, 5, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.ops-modal-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.ops-modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(145deg, rgba(16, 12, 10, 0.98), rgba(9, 7, 6, 0.99));
  border: 1px solid rgba(252, 211, 77, 0.35);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9), 0 0 50px rgba(252, 211, 77, 0.12);
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: #FAF8F4;
  font-family: 'Space Grotesk', 'Cairo', sans-serif;
  scrollbar-width: thin;
}

.ops-modal-backdrop.is-visible .ops-modal-card {
  transform: scale(1);
}

.ops-modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FAF8F4;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

[dir="rtl"] .ops-modal-close-btn {
  right: auto;
  left: 18px;
}

.ops-modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #EF4444;
  color: #FFF;
}

.ops-modal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.ops-modal-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(252, 211, 77, 0.1);
  border: 1px solid rgba(252, 211, 77, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.ops-modal-icon-wrap.bug-theme {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
}

.ops-modal-icon-wrap.feature-theme {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
}

.ops-modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FAF8F4;
  margin: 0;
}

.ops-modal-subtitle {
  font-size: 0.72rem;
  color: #A8A29E;
  margin-top: 3px;
}

.ops-context-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(252, 211, 77, 0.08);
  border: 1px solid rgba(252, 211, 77, 0.25);
  color: #FCD34D;
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 6px;
}

.ops-context-pill.feature-pill {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.25);
  color: #38BDF8;
}

.ops-context-pill.bug-pill {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.25);
  color: #F87171;
}

.ops-reward-estimate-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(252, 211, 77, 0.08);
  border: 1px solid rgba(252, 211, 77, 0.25);
  color: #FCD34D;
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 5px;
}

/* Review Stars Rating */
.review-stars-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px 0;
}

.review-star-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: #4B5563;
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease, filter 0.15s ease;
  padding: 4px;
}

.review-star-btn:hover,
.review-star-btn.is-active {
  color: #FCD34D;
  transform: scale(1.22);
  filter: drop-shadow(0 0 10px rgba(252, 211, 77, 0.65));
}

.review-sentiment-label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #FCD34D;
  margin-bottom: 12px;
  min-height: 20px;
}

/* Sentiment Tag Pills */
.ops-tag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.ops-tag-pill {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #D6D3D1;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ops-tag-pill:hover,
.ops-tag-pill.is-selected {
  background: rgba(252, 211, 77, 0.18);
  border-color: #FCD34D;
  color: #FCD34D;
}

/* Form inputs & textareas */
.ops-form-group {
  margin-bottom: 14px;
}

.ops-form-label {
  display: block;
  font-size: 0.70rem;
  font-weight: 700;
  color: #A8A29E;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ops-form-input,
.ops-form-select,
.ops-form-textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 12px;
  color: #FAF8F4;
  font-family: inherit;
  font-size: 0.82rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.ops-form-input:focus,
.ops-form-select:focus,
.ops-form-textarea:focus {
  outline: none;
  border-color: #FCD34D;
  box-shadow: 0 0 14px rgba(252, 211, 77, 0.25);
}

.ops-form-textarea {
  min-height: 80px;
  resize: vertical;
}

.ops-telemetry-box {
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.25);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-family: var(--font-mono, monospace);
  font-size: 0.64rem;
  color: #7DD3FC;
  line-height: 1.5;
}

.ops-submit-btn {
  width: 100%;
  padding: 11px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
  color: #080605;
  border: none;
  font-family: 'Space Grotesk', 'Cairo', sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(252, 211, 77, 0.35);
}

.ops-submit-btn:hover {
  background: #FCD34D;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(252, 211, 77, 0.55);
}

.ops-submit-btn.bug-btn {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFF;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35);
}

.ops-submit-btn.bug-btn:hover {
  background: #EF4444;
  box-shadow: 0 6px 22px rgba(239, 68, 68, 0.55);
}

.ops-submit-btn.feature-btn {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFF;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
}

.ops-submit-btn.feature-btn:hover {
  background: #38BDF8;
  color: #080605;
  box-shadow: 0 6px 22px rgba(56, 189, 248, 0.55);
}

/* ==========================================================================
   ALGORIZMS™ 5-TIER SOVEREIGN ANKH PASS LEVEL SYSTEM (v3.0)
   Designed by Brandizer & Tiko: 5 Distinct Visual Tiers with
   Clean Upper Ribbons, 3D WebP Glyphs, Interactive Matrix Modal & Switcher
   ========================================================================== */

/* User Header Pass Tier Button (inside User Sovereign Dropdown) */
.user-pass-tier-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(252, 211, 77, 0.08);
  border: 1px solid rgba(252, 211, 77, 0.3);
  padding: 3px 8px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  vertical-align: middle;
}

.user-pass-tier-btn:hover {
  background: rgba(252, 211, 77, 0.18);
  border-color: rgba(252, 211, 77, 0.6);
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 14px rgba(252, 211, 77, 0.25);
}

.user-pass-ankh-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(252, 211, 77, 0.5));
  transition: transform 0.3s ease;
}

.user-pass-tier-btn:hover .user-pass-ankh-icon {
  transform: rotate(-10deg) scale(1.15);
}

.user-pass-ankh-text {
  font-family: 'Space Grotesk', 'Cairo', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #FCD34D;
  text-transform: uppercase;
}

/* Topbar Avatar Mini Pass Badge */
.user-avatar-ring-frame {
  position: relative;
}

.user-topbar-pass-pip {
  position: absolute;
  bottom: -3px;
  inset-inline-end: -4px;
  width: 17px;
  height: 17px;
  object-fit: contain;
  z-index: 4;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 4px rgba(252, 211, 77, 0.4));
  pointer-events: none;
  transition: transform 0.25s ease;
}

.header-user-avatar-btn:hover .user-topbar-pass-pip {
  transform: scale(1.2) rotate(12deg);
}

/* Guest View Pass Matrix Button */
.gateway-pass-matrix-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  margin-top: 10px;
  background: linear-gradient(135deg, rgba(252, 211, 77, 0.12) 0%, rgba(124, 58, 237, 0.12) 100%);
  border: 1px solid rgba(252, 211, 77, 0.35);
  border-radius: 12px;
  color: #FCD34D;
  font-family: 'Space Grotesk', 'Cairo', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.gateway-pass-matrix-btn:hover {
  background: linear-gradient(135deg, rgba(252, 211, 77, 0.25) 0%, rgba(124, 58, 237, 0.25) 100%);
  border-color: #FCD34D;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(252, 211, 77, 0.3);
  color: #FFF;
}

.gateway-pass-matrix-btn .matrix-btn-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(252, 211, 77, 0.6));
}

/* Ankh Pass Interactive Modal */
.ankh-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ankh-modal-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

.ankh-modal-card {
  position: relative;
  background: radial-gradient(120% 120% at 50% 0%, rgba(20, 26, 43, 0.98) 0%, rgba(8, 10, 18, 0.98) 100%);
  border: 1px solid rgba(252, 211, 77, 0.3);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.88), 0 0 50px rgba(252, 211, 77, 0.12);
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  transform: scale(0.94);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #FAF8F4;
}

.ankh-modal-backdrop.is-visible .ankh-modal-card {
  transform: scale(1);
}

.ankh-modal-close-btn {
  position: absolute;
  top: 20px;
  inset-inline-end: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FAF8F4;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.ankh-modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #EF4444;
  color: #FFF;
  transform: rotate(90deg);
}

.ankh-modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.ankh-modal-badge {
  display: inline-block;
  background: rgba(252, 211, 77, 0.12);
  border: 1px solid rgba(252, 211, 77, 0.4);
  color: #FCD34D;
  font-family: 'Space Grotesk', 'Cairo', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.ankh-modal-title {
  font-family: 'Pasajero', 'Cairo', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 1px;
  margin: 0 0 6px 0;
  color: #FFF;
}

.ankh-modal-subtitle {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.45;
}

/* 6-Tier Selector Tabs */
.ankh-tiers-nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.ankh-tier-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.25s ease;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
}

.ankh-tier-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.ankh-tier-tab.is-active {
  background: rgba(252, 211, 77, 0.12);
  border-color: #FCD34D;
  color: #FFF;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(252, 211, 77, 0.2);
}

.ankh-tier-tab-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin-bottom: 6px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
}

.ankh-tier-tab:hover .ankh-tier-tab-icon,
.ankh-tier-tab.is-active .ankh-tier-tab-icon {
  transform: scale(1.15);
}

.ankh-tier-tab-name {
  font-family: 'Space Grotesk', 'Cairo', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}

.ankh-tier-tab-level {
  font-size: 0.62rem;
  opacity: 0.6;
  text-transform: uppercase;
}

/* Active Tier Details Pane */
.ankh-tier-pane {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: center;
}

.ankh-pane-emblem-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ankh-pane-emblem-large {
  width: 140px;
  height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 25px rgba(252, 211, 77, 0.35));
  animation: ankhFloatGlow 4s ease-in-out infinite;
}

@keyframes ankhFloatGlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(2deg);
  }
}

.ankh-pane-material-tag {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 10px;
  max-width: 170px;
  line-height: 1.3;
}

.ankh-pane-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ankh-pane-tier-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ankh-pane-title {
  font-family: 'Space Grotesk', 'Cairo', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
  color: #FFF;
}

.ankh-pane-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.ankh-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ankh-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}

.ankh-feature-check {
  color: #10B981;
  font-weight: 800;
  flex-shrink: 0;
}

/* Interactive Switch Tier / Action CTA */
.ankh-pane-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.ankh-switch-tier-btn {
  padding: 8px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
  color: #080605;
  border: none;
  font-family: 'Space Grotesk', 'Cairo', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(252, 211, 77, 0.35);
}

.ankh-switch-tier-btn:hover {
  background: #FCD34D;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(252, 211, 77, 0.55);
}

.ankh-tier-current-tag {
  font-size: 0.76rem;
  color: #10B981;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

@media (max-width: 640px) {
  .ankh-tiers-nav {
    grid-template-columns: repeat(3, 1fr);
  }
  .ankh-tier-pane {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .ankh-pane-emblem-wrap {
    margin-bottom: 8px;
  }
  .ankh-features-list {
    text-align: start;
  }
}

/* ==========================================================================
   ALGORIZMS UNIVERSAL DUAL-HEADER ARCHITECTURE EXTENSIONS
   Canonical support for Home Header & Product Labs HUD Templates
   ========================================================================== */

/* 1. Ankh Login Bold Standard */
.header-login-btn .login-btn-text.font-bold,
.user-gateway-login-btn .gateway-btn-text.font-bold {
  font-weight: 800 !important;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 0.88rem;
  color: #FCD34D;
  text-shadow: 0 0 14px rgba(252, 211, 77, 0.45);
}

.ankh-dropdown-indicator {
  font-size: 0.72rem;
  color: #FCD34D;
  opacity: 0.8;
  margin-inline-start: 4px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-login-btn[aria-expanded="true"] .ankh-dropdown-indicator,
.header-login-btn.is-active .ankh-dropdown-indicator {
  transform: rotate(180deg);
}

/* 2. User Dropdown Header Sovereign Alignment (Ankh + Name [Right-Aligned] / Rank + @handle [Right-Aligned] -> Avatar Far Right) */
.user-dropdown-header.user-header-link {
  direction: ltr !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 14px !important;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.user-dropdown-header.user-header-link:hover {
  background: rgba(252, 211, 77, 0.06);
  border-color: rgba(252, 211, 77, 0.25);
}

.user-dropdown-header .user-header-info {
  flex: 1;
  min-width: 0;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  text-align: right !important;
  justify-content: center !important;
  gap: 4px !important;
  direction: ltr !important;
}

.user-dropdown-header .user-display-name {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  direction: ltr !important;
  font-family: var(--font-body, 'Plus Jakarta Sans', -apple-system, sans-serif);
  font-size: 0.96rem;
  font-weight: 800;
  color: #FAF8F4;
  letter-spacing: -0.01em;
}

[dir="rtl"] .user-dropdown-header .user-display-name {
  font-family: var(--font-arabic-body, 'Noto Kufi Arabic', 'Cairo', sans-serif);
  letter-spacing: normal;
}

.user-dropdown-header .user-pass-tier-ankh {
  order: 1 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.user-dropdown-header .user-pass-ankh-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(252, 211, 77, 0.5));
}

.user-dropdown-header #user-display-name-text,
.user-dropdown-header .user-display-name > span:not(.user-pass-tier-ankh) {
  order: 2 !important;
  text-align: right;
  white-space: nowrap;
}

.user-dropdown-header .user-handle-tier {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  direction: ltr !important;
}

.user-dropdown-header .user-tier-badge {
  order: 1 !important;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 2px 7px;
  border-radius: 5px;
  font-family: var(--font-mono, monospace);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: rgba(252, 211, 77, 0.12);
  border: 1px solid rgba(252, 211, 77, 0.4);
  color: #FCD34D;
}

.user-dropdown-header #user-handle-text,
.user-dropdown-header .user-handle {
  order: 2 !important;
  font-family: var(--font-mono, monospace);
  font-size: 0.70rem;
  color: #A8A29E;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.user-dropdown-header .user-header-avatar {
  order: 3 !important;
  flex-shrink: 0;
}

/* AR RTL Mirror: Avatar on LEFT, Name & @handle aligned next to photo */
[dir="rtl"] .user-dropdown-header.user-header-link,
html[lang="ar"] .user-dropdown-header.user-header-link {
  justify-content: flex-start !important;
}

[dir="rtl"] .user-dropdown-header .user-header-avatar,
html[lang="ar"] .user-dropdown-header .user-header-avatar {
  order: 1 !important;
}

[dir="rtl"] .user-dropdown-header .user-header-info,
html[lang="ar"] .user-dropdown-header .user-header-info {
  order: 2 !important;
  align-items: flex-start !important;
  text-align: left !important;
}

[dir="rtl"] .user-dropdown-header .user-display-name,
html[lang="ar"] .user-dropdown-header .user-display-name,
[dir="rtl"] .user-dropdown-header .user-handle-tier,
html[lang="ar"] .user-dropdown-header .user-handle-tier {
  justify-content: flex-start !important;
}

[dir="rtl"] .user-dropdown-header #user-display-name-text,
[dir="rtl"] .user-dropdown-header .user-display-name > span:not(.user-pass-tier-ankh),
[dir="rtl"] .user-dropdown-header #user-handle-text,
[dir="rtl"] .user-dropdown-header .user-handle,
html[lang="ar"] .user-dropdown-header #user-display-name-text,
html[lang="ar"] .user-dropdown-header .user-display-name > span:not(.user-pass-tier-ankh),
html[lang="ar"] .user-dropdown-header #user-handle-text,
html[lang="ar"] .user-dropdown-header .user-handle {
  order: 1 !important;
  text-align: left !important;
}

[dir="rtl"] .user-dropdown-header .user-pass-tier-ankh,
[dir="rtl"] .user-dropdown-header .user-tier-badge,
html[lang="ar"] .user-dropdown-header .user-pass-tier-ankh,
html[lang="ar"] .user-dropdown-header .user-tier-badge {
  order: 2 !important;
}

/* 3. Product HUD Header Specification */
.hud-header.product-site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(6, 9, 19, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.product-header-inner {
  max-width: 1720px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.product-identity-group {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.product-identity-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 12px;
  transition: background 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.product-identity-trigger:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

.product-main-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-identity-trigger:hover .product-main-logo-img {
  transform: scale(1.08) rotate(-4deg);
}

.product-titles-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

[dir="rtl"] .product-titles-wrap {
  align-items: flex-start;
  text-align: right;
}

.product-wordmark {
  font-family: 'Pasajero Complete', 'Pasajero', var(--font-brand), sans-serif !important;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #FAF8F4;
  text-transform: uppercase;
  line-height: 1.1;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.2);
}

.product-tagline {
  font-family: 'Bebas Neue', var(--font-display), 'JetBrains Mono', sans-serif !important;
  font-size: 0.72rem;
  color: #38BDF8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-top: 2px;
}

[dir="rtl"] .product-tagline,
html[lang="ar"] .product-tagline {
  font-family: 'Alexandria', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.74rem !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

[dir="rtl"] .product-wordmark,
html[lang="ar"] .product-wordmark {
  font-family: 'Cairo', sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

.product-dropdown-indicator {
  font-size: 0.72rem;
  color: #A8A29E;
  margin-inline-start: 4px;
  transition: transform 0.25s ease;
}

.product-identity-trigger[aria-expanded="true"] .product-dropdown-indicator {
  transform: rotate(180deg);
}

/* 4. Product Dynamic Feature Slot in Cockpit */
.cockpit-product-features-slot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.cockpit-product-feature-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #FAF8F4;
  font-family: inherit;
  font-size: 0.84rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cockpit-product-feature-btn:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateX(2px);
}

[dir="rtl"] .cockpit-product-feature-btn:hover {
  transform: translateX(-2px);
}

/* 5. Product Topbar Right & Streamlined User Dropdown */
.product-topbar-right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  flex-shrink: 0;
}

.product-user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-start: 0;
  width: 320px;
  max-width: 90vw;
  background: rgba(10, 14, 26, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.65), 0 0 24px rgba(56, 189, 248, 0.1);
  z-index: 1000;
  display: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.product-user-dropdown.is-visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* 6. Universal Product Pipeline Stages (Brand Standard) */
.swb-topbar-stages-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  min-width: 0;
  padding: 0 8px;
}

.sts-pipeline-container {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.sts-stage-arrow {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #D6D3D1;
  border-radius: 8px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  flex-shrink: 0;
}

.sts-stage-arrow:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.5);
  color: #38BDF8;
  transform: scale(1.06);
}

.sts-pipeline-track {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sts-stage-node {
  display: inline-flex;
  align-items: center;
  gap: 5px !important;
  padding: 3px 8px !important;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: #A8A29E;
  font-family: 'Bebas Neue', 'Space Grotesk', sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.05em !important;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  text-decoration: none;
}

[dir="rtl"] .sts-stage-node,
html[lang="ar"] .sts-stage-node {
  font-family: 'Cairo', 'Alexandria', sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
}

.sts-stage-node:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #FAF8F4;
  border-color: rgba(255, 255, 255, 0.12);
}

.sts-stage-node.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(124, 58, 237, 0.18));
  border-color: rgba(56, 189, 248, 0.55);
  color: #38BDF8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

.sts-stage-node.completed {
  color: #10B981;
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.08);
}

.cmd-stage-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  line-height: 17px;
  border-radius: 4px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  color: #D6D3D1;
  transition: all 0.2s ease;
}

.sts-stage-node.active .cmd-stage-badge {
  background: #38BDF8;
  color: #04060A;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

.sts-stage-node.completed .cmd-stage-badge {
  background: #10B981;
  color: #04060A;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.sts-pipeline-conn {
  width: 8px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.sts-pipeline-conn.active {
  background: linear-gradient(90deg, #38BDF8, #C084FC);
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.5);
}

.stage-name-short { display: none; }
@media (max-width: 1540px) {
  .stage-name-full { display: none; }
  .stage-name-short { display: inline; }
}

/* 7. Mobile Responsiveness & Zero-Blowout Invariant */
@media (max-width: 1024px) {
  .swb-topbar-stages-center {
    display: none;
  }
}

@media (max-width: 480px) {
  .product-tagline {
    display: none;
  }
  .product-wordmark {
    font-size: 0.85rem;
  }
  .header-login-btn .login-btn-text {
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   8. OPTION 1 CANONICAL ARCHITECTURE (LEFT COCKPIT | RIGHT SOVEREIGN ANKH)
   ========================================================================== */

/* Left Axis: Platform / Product Command Cockpit (#brand-cockpit-dropdown) */
#brand-group-wrapper .brand-cockpit-dropdown,
#product-identity-group .brand-cockpit-dropdown {
  left: 0 !important;
  right: auto !important;
}

[dir="rtl"] #brand-group-wrapper .brand-cockpit-dropdown,
html[lang="ar"] #brand-group-wrapper .brand-cockpit-dropdown,
[dir="rtl"] #product-identity-group .brand-cockpit-dropdown,
html[lang="ar"] #product-identity-group .brand-cockpit-dropdown {
  right: 0 !important;
  left: auto !important;
}

/* Right Axis: Sovereign Identity, Ecosystem & Ankh Security Menu (#user-sovereign-dropdown) */
#header-actions .user-sovereign-dropdown,
.product-topbar-right .user-sovereign-dropdown {
  right: 0 !important;
  left: auto !important;
}

[dir="rtl"] #header-actions .user-sovereign-dropdown,
html[lang="ar"] #header-actions .user-sovereign-dropdown,
[dir="rtl"] .product-topbar-right .user-sovereign-dropdown,
html[lang="ar"] .product-topbar-right .user-sovereign-dropdown {
  left: 0 !important;
  right: auto !important;
}

/* Single-Row Compact Utility Split Bar: Lang (EN|AR) | Theme (🌙|☀️) */
.cockpit-utility-split-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  min-height: 36px;
  box-sizing: border-box;
}

.cockpit-split-half {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.cockpit-utility-divider {
  width: 1px;
  height: 20px;
  background: rgba(252, 211, 77, 0.25);
  flex-shrink: 0;
}

.cockpit-split-half .theme-slider,
.cockpit-split-half .lang-slider {
  width: 100%;
  justify-content: center;
}

[data-theme="marble-bling"] .cockpit-utility-split-row,
[data-theme="light"] .cockpit-utility-split-row {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(180, 130, 40, 0.24);
}

/* Screen-reader-only helper for preserved i18n accessibility labels */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Cockpit Section 3: Live Broadcast News Bar & Insights Radar */
.cockpit-status-bar.cockpit-status-bar-bottom {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  margin-top: 8px !important;
  margin-bottom: 0 !important;
  padding: 8px 10px !important;
  border-radius: 12px !important;
  background: rgba(14, 11, 9, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

[data-theme="marble-bling"] .cockpit-status-bar.cockpit-status-bar-bottom,
[data-theme="light"] .cockpit-status-bar.cockpit-status-bar-bottom {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(180, 130, 40, 0.25) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
}

.cockpit-news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.cockpit-news-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono, monospace);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 1.5px 6px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10B981;
  text-transform: uppercase;
}

.cockpit-status-bar-bottom .cockpit-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  flex-shrink: 0;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.cockpit-status-bar-bottom .cockpit-status-text {
  font-family: 'Space Grotesk', 'Alexandria', -apple-system, sans-serif;
  font-size: 0.62rem;
  color: #A8A29E;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cockpit-status-bar-bottom .cockpit-hint-pill {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(252, 211, 77, 0.08) !important;
  border: 1px solid rgba(252, 211, 77, 0.28) !important;
  border-radius: 8px !important;
  padding: 6px 9px !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.cockpit-status-bar-bottom .cockpit-hint-pill:hover {
  background: rgba(252, 211, 77, 0.14) !important;
  border-color: rgba(252, 211, 77, 0.5) !important;
  transform: translateY(-1px);
}

.cockpit-status-bar-bottom .cockpit-hint-bulb {
  font-size: 0.82rem !important;
  line-height: 1;
  flex-shrink: 0;
  animation: pulseBeacon 2.5s infinite ease-in-out;
}

@keyframes pulseBeacon {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.8; }
}

.cockpit-status-bar-bottom .cockpit-hint-text {
  font-family: var(--font-body, 'Plus Jakarta Sans', -apple-system, sans-serif);
  font-size: 0.68rem !important;
  color: #FAF8F4 !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  flex: 1;
  word-break: break-word;
}

[data-theme="marble-bling"] .cockpit-status-bar-bottom .cockpit-hint-text,
[data-theme="light"] .cockpit-status-bar-bottom .cockpit-hint-text {
  color: #0F172A !important;
}

.cockpit-news-cycle-cue {
  font-family: var(--font-mono, monospace);
  font-size: 0.65rem;
  color: #FCD34D;
  opacity: 0.75;
  flex-shrink: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cockpit-status-bar-bottom .cockpit-hint-pill:hover .cockpit-news-cycle-cue {
  opacity: 1;
  transform: rotate(45deg);
}

/* Compact Feedback Ops Row inside Right Sovereign Identity Dropdown */
.user-feedback-ops-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.user-feedback-ops-label {
  font-family: 'Space Grotesk', 'Cairo', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  color: #D6D3D1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.user-feedback-ops-bar .cockpit-feedback-grid {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 0;
}

.user-feedback-ops-bar .cockpit-feedback-item {
  flex-direction: row;
  padding: 4px 7px;
  border-radius: 8px;
  min-width: 30px;
  min-height: 28px;
  font-size: 0.68rem;
  white-space: nowrap;
}

[data-theme="marble-bling"] .user-feedback-ops-bar,
[data-theme="light"] .user-feedback-ops-bar {
  background: rgba(15, 23, 42, 0.035);
  border-color: rgba(180, 130, 40, 0.22);
}

[data-theme="marble-bling"] .user-feedback-ops-label,
[data-theme="light"] .user-feedback-ops-label {
  color: #334155;
}
