/* ==========================================================================
   GRUPPA-ALFA.TECH — OBSIDIAN FLAGSHIP & GOLD (VARIANT B) + EXECUTIVE IVORY
   ========================================================================== */
:root,
html.dark {
  --bg: #07080c !important;
  --bg2: #0d1017 !important;
  --card: #111520 !important;
  --card2: #171d2b !important;
  --line: rgba(255, 255, 255, 0.09) !important;
  --line2: rgba(229, 184, 75, 0.36) !important;
  --tx: #f8fafc !important;
  --sub: #cbd5e1 !important;
  --faint: #94a3b8 !important;
  --acc: #e5b84b !important;
  --acc2: #fcd34d !important;
  --acc-active: #f59e0b !important;
  --acc-soft: rgba(229, 184, 75, 0.14) !important;
  --tx-on-acc: #090b10 !important;
  --color-bg: #07080c !important;
  --color-bg-alt: #0d1017 !important;
  --color-surface-1: #111520 !important;
  --color-surface-2: #171d2b !important;
  --color-text: #f8fafc !important;
  --color-text-muted: #cbd5e1 !important;
  --color-text-subtle: #94a3b8 !important;
  --color-action: #e5b84b !important;
  --color-action-hover: #fcd34d !important;
  --color-on-action: #090b10 !important;
  --color-line: rgba(255, 255, 255, 0.09) !important;
  --color-line-strong: rgba(229, 184, 75, 0.36) !important;
  --header-bg: rgba(12, 15, 24, 0.82) !important;
  --bar-bg: rgba(12, 15, 24, 0.92) !important;
  --container: min(1840px, calc(100vw - 48px)) !important;
}

html[data-theme="light"] {
  --bg: #faf8f5 !important;
  --bg2: #f2ede4 !important;
  --card: #ffffff !important;
  --card2: #f5f0e6 !important;
  --line: rgba(15, 20, 31, 0.09) !important;
  --line2: rgba(180, 83, 9, 0.32) !important;
  --tx: #0f141f !important;
  --sub: #334155 !important;
  --faint: #526077 !important;
  --acc: #b45309 !important;
  --acc2: #92400e !important;
  --acc-active: #78350f !important;
  --acc-soft: rgba(180, 83, 9, 0.11) !important;
  --tx-on-acc: #090b10 !important;
  --color-bg: #faf8f5 !important;
  --color-bg-alt: #f2ede4 !important;
  --color-surface-1: #ffffff !important;
  --color-surface-2: #f5f0e6 !important;
  --color-text: #0f141f !important;
  --color-text-muted: #334155 !important;
  --color-text-subtle: #526077 !important;
  --color-action: #b45309 !important;
  --color-action-hover: #92400e !important;
  --color-on-action: #090b10 !important;
  --color-line: rgba(15, 20, 31, 0.09) !important;
  --color-line-strong: rgba(180, 83, 9, 0.32) !important;
  --header-bg: rgba(250, 248, 245, 0.88) !important;
  --bar-bg: rgba(250, 248, 245, 0.94) !important;
}

body {
  background-color: var(--bg) !important;
  color: var(--tx) !important;
  transition: background-color 0.3s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.max-w-6xl, .max-w-7xl, .max-w-5xl {
  max-width: min(1840px, calc(100vw - 48px)) !important;
}

.ob-floating-switch {
  position: fixed;
  top: 16px;
  right: 22px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line2);
  color: var(--tx);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
}
