/* =====================================================
   ORBTAP • GLOBAL STYLE FOUNDATION (BILLION-DOLLAR BUILD)
   ===================================================== */

/* ------------- RESET ------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Inter", sans-serif;
  background: var(--bg);
  color: var(--fg);
}

/* Basic link styling */
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
/* =========================================
   ORBTAP • GLOBAL LOGO & ORB SAFETY CLAMP
   Prevent huge logos on any page
   ========================================= */

/* Main shield logo in header */
.ot-logo-hero {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Ensure all key logo/orb images stay small */
.ot-logo-hero img,
.bottom-dock img,
.ot-loader-shield img {
  display: block;
  width: 56px;
  height: 56px;
  max-width: 100%;
  object-fit: contain;
}

/* Slightly smaller inside the bottom dock so it feels tighter */
.bottom-dock img {
  width: 44px;
  height: 44px;
}

/* On really small screens, shrink a bit more */
@media (max-width: 480px) {
  .ot-logo-hero {
    width: 48px;
    height: 48px;
  }

  .ot-logo-hero img {
    width: 48px;
    height: 48px;
  }

  .bottom-dock img {
    width: 40px;
    height: 40px;
  }
}


/* ------------- THEME TOKENS (BASE = NIGHT) ------------- */

:root {
  /* Night (default) */
  --bg: #020617;
  --bg-soft: #020617;
  --bg-elevated: #020617;
  --fg: #f9fafb;
  --fg-soft: #9ca3af;
  --border-subtle: rgba(148, 163, 253, 0.35);

  --ot-orange: #f97316;
  --ot-blue: #38bdf8;
  --ot-blue-deep: #0ea5e9;
  --ot-violet: #8b5cf6;
  --ot-gold: #facc15;
  --ot-emerald: #22c55e;

  --accent: var(--ot-blue);
  --accent-soft: rgba(56, 189, 248, 0.16);
  --accent-strong: rgba(56, 189, 248, 0.9);

  --radius-lg: 1.25rem;
  --radius-md: 0.9rem;
  --radius-pill: 999px;

  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.85);
  --shadow-strong: 0 26px 70px rgba(15, 23, 42, 0.95);

  --glass-bg: rgba(15, 23, 42, 0.82);
  --glass-border: rgba(148, 163, 253, 0.5);

  --transition-fast: 0.16s ease-out;
  --transition-slow: 0.35s ease-out;
}

/* Night theme explicit */
html[data-theme="night"] {
  --bg: #020617;
  --bg-soft: #020617;
  --bg-elevated: #020617;
  --fg: #f9fafb;
  --fg-soft: #9ca3af;
  --border-subtle: rgba(148, 163, 253, 0.35);
  --glass-bg: rgba(15, 23, 42, 0.85);
}

/* Day theme (Apple-like, light grey + silver gradient) */
html[data-theme="day"] {
  --bg: #f3f4f6;
  --bg-soft: #e5e7eb;
  --bg-elevated: #f9fafb;
  --fg: #020617;
  --fg-soft: #6b7280;
  --border-subtle: rgba(148, 163, 253, 0.25);
  --glass-bg: rgba(248, 250, 252, 0.92);
  --glass-border: rgba(148, 163, 253, 0.35);
}

/* Accent modes (html[data-accent]) */

html[data-accent="emerald"] {
  --accent: #22c55e;
  --accent-soft: rgba(34, 197, 94, 0.16);
  --accent-strong: rgba(34, 197, 94, 0.95);
}
html[data-accent="violet"] {
  --accent: #8b5cf6;
  --accent-soft: rgba(139, 92, 246, 0.16);
  --accent-strong: rgba(139, 92, 246, 0.95);
}
html[data-accent="rose"] {
  --accent: #f97373;
  --accent-soft: rgba(244, 114, 182, 0.16);
  --accent-strong: rgba(244, 114, 182, 0.95);
}
html[data-accent="gold"] {
  --accent: #facc15;
  --accent-soft: rgba(250, 204, 21, 0.16);
  --accent-strong: rgba(250, 204, 21, 0.98);
}
html[data-accent="midnight"] {
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.16);
  --accent-strong: rgba(56, 189, 248, 0.98);
}

/* Calm mode (reduced motion) */
html[data-calm="true"] * {
  scroll-behavior: auto !important;
  animation-duration: 0.001s !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001s !important;
}

/* ------------- KILL LEGACY LOADERS / OVERLAYS ------------- */

#ot-loader-shell,
.ot-loader-shell,
.ot-loader,
.page-loader,
.orb-loader,
#page-loader,
#otLoader,
.ot-page-veil,
.page-overlay,
.page-veil,
.ot-loader-text {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ------------- GLOBAL LAYOUT ------------- */

.ot-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.22), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.28), transparent 60%),
    var(--bg);
  color: var(--fg);
  transition: background var(--transition-slow), color var(--transition-slow);
}

/* Page-specific background hooks (optional overrides) */
.page-perks-marketplace {
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.24), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(251, 146, 60, 0.22), transparent 60%),
    var(--bg);
}
.page-orbcards {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.26), transparent 60%),
    radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.22), transparent 65%),
    var(--bg);
}
.page-orbcloud {
  background:
    radial-gradient(circle at top, rgba(34, 197, 94, 0.26), transparent 60%),
    radial-gradient(circle at bottom, rgba(56, 189, 248, 0.22), transparent 65%),
    var(--bg);
}
.page-orbflix {
  background:
    radial-gradient(circle at top, rgba(239, 68, 68, 0.24), transparent 60%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.24), transparent 60%),
    var(--bg);
}
.page-orbshop {
  background:
    radial-gradient(circle at top, rgba(251, 191, 36, 0.28), transparent 60%),
    var(--bg);
}
.page-orbvault {
  background:
    radial-gradient(circle at top, rgba(148, 163, 253, 0.32), transparent 60%),
    var(--bg);
}
.page-wallet {
  background:
    radial-gradient(circle at top, rgba(45, 212, 191, 0.26), transparent 60%),
    var(--bg);
}

/* ------------- HEADER (GLASSY BAR) ------------- */

.ot-shell-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.95),
    rgba(15, 23, 42, 0.84),
    transparent
  );
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}
html[data-theme="day"] .ot-shell-header {
  background: linear-gradient(
    to bottom,
    rgba(248, 250, 252, 0.98),
    rgba(248, 250, 252, 0.94),
    transparent
  );
  border-bottom-color: rgba(209, 213, 219, 0.95);
}

.ot-shell-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

/* Brand */

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--fg);
  cursor: pointer; /* will behave as menu button in JS */
  position: relative;
  z-index: 70; /* above everything in header */
}
.brand-lockup:hover {
  opacity: 0.9;
}
.brand-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.brand-wordmark {
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  text-transform: uppercase;
}

/* Header right controls: theme + accent */

.ot-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

#theme-toggle,
#accent-toggle,
#accent-toggle-mobile {
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
}

/* Simple header nav (text links) if present */
.ot-header-nav {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
}
.ot-header-nav a {
  color: var(--fg-soft);
  position: relative;
}
.ot-header-nav a:hover {
  color: var(--fg);
}
.ot-header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.22rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease-out;
}
.ot-header-nav a:hover::after {
  transform: scaleX(1);
}

/* Shell main */

.ot-shell-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 5rem;
}

/* ------------- PREMIUM HERO HIGHLIGHT ------------- */

.hero-highlight {
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, #38bdf8, #0ea5e9, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-highlight::before {
  content: "";
  position: absolute;
  inset: -0.25em -0.55em;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.7), transparent 60%);
  opacity: 0.7;
  filter: blur(12px);
  z-index: -1;
}

/* ------------- BUTTONS ------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  cursor: pointer;
  background: var(--accent);
  color: #0b1120;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast),
    filter var(--transition-fast);
}
.btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--accent-strong);
  color: #0b1120;
}
.btn-subtle {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(148, 163, 253, 0.6);
  color: var(--fg-soft);
}
html[data-theme="day"] .btn-subtle {
  background: rgba(248, 250, 252, 0.98);
  border-color: rgba(148, 163, 253, 0.45);
}
.btn-subtle:hover {
  background: rgba(15, 23, 42, 1);
  color: var(--fg);
}
html[data-theme="day"] .btn-subtle:hover {
  background: rgba(243, 244, 246, 1);
}
.btn-ghost,
.btn-ghost-sm {
  background: transparent;
  border-color: rgba(148, 163, 253, 0.7);
  color: var(--fg-soft);
}
.btn-ghost-sm {
  padding: 0.3rem 0.6rem;
  font-size: 0.76rem;
}
.btn-ghost:hover,
.btn-ghost-sm:hover {
  background: rgba(15, 23, 42, 0.9);
  color: var(--fg);
}
html[data-theme="day"] .btn-ghost:hover,
html[data-theme="day"] .btn-ghost-sm:hover {
  background: rgba(243, 244, 246, 1);
}
.btn-sm {
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
}

/* ------------- GENERIC CARDS / TILES ------------- */

.ot-glass-panel {
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  padding: 1rem 1.1rem;
  position: relative;
  overflow: hidden;
  transition:
    background var(--transition-slow),
    border-color var(--transition-slow),
    box-shadow var(--transition-slow);
}

html[data-theme="day"] .ot-glass-panel {
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.ot-tile-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.ot-tile {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.98));
  border: 1px solid var(--border-subtle);
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-slow);
}
html[data-theme="day"] .ot-tile {
  background: linear-gradient(145deg, rgba(248, 250, 252, 0.98), rgba(229, 231, 235, 0.98));
}

/* gradient glow sweep */
.ot-tile::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25), transparent 55%);
  opacity: 0;
  transform: translate(-40%, -40%);
  animation: otTileGlow 14s ease-in-out infinite;
}
@keyframes otTileGlow {
  0%, 25% {
    opacity: 0;
    transform: translate(-40%, -40%);
  }
  40% {
    opacity: 0.35;
    transform: translate(0%, -10%);
  }
  60% {
    opacity: 0.22;
    transform: translate(40%, 10%);
  }
  80%, 100% {
    opacity: 0;
    transform: translate(80%, 40%);
  }
}
.ot-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.95);
}

.ot-tile-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-soft);
}

/* ------------- TABS SYSTEM (GENERIC) ------------- */

.ot-tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  border-radius: var(--radius-pill);
  padding: 0.18rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(31, 41, 55, 0.8);
}
html[data-theme="day"] .ot-tab-bar {
  background: rgba(243, 244, 246, 0.95);
  border-color: rgba(209, 213, 219, 0.95);
}
.ot-tab-button {
  border: none;
  background: transparent;
  padding: 0.32rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: var(--fg-soft);
  cursor: pointer;
}
.ot-tab-button-active {
  background: var(--accent);
  color: #0b1120;
}
.ot-tab-panel {
  display: none;
}
.ot-tab-panel-active {
  display: block;
}

/* ------------- FILTER CHIPS ------------- */

.ot-filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ot-filter-chip {
  border-radius: var(--radius-pill);
  padding: 0.32rem 0.7rem;
  border: 1px solid rgba(148, 163, 253, 0.6);
  font-size: 0.78rem;
  background: rgba(15, 23, 42, 0.9);
  color: var(--fg-soft);
  cursor: pointer;
}
html[data-theme="day"] .ot-filter-chip {
  background: rgba(248, 250, 252, 0.98);
}
.ot-filter-chip-active {
  background: var(--accent);
  color: #0b1120;
  border-color: transparent;
}

/* ------------- PERK CARDS (SMALL + FLIP) ------------- */

.perk-card {
  perspective: 1200px;
}
.perk-card-inner {
  position: relative;
  width: 100%;
  min-height: 190px;
  border-radius: var(--radius-lg);
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 0.25s ease;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.9);
}
.perk-card:hover .perk-card-inner {
  box-shadow: 0 22px 50px rgba(15, 23, 42, 1);
}
.perk-card.is-flipped .perk-card-inner {
  transform: rotateY(180deg) translateY(-2px);
}

.perk-card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: inherit;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 253, 0.55);
  padding: 0.75rem 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
html[data-theme="day"] .perk-card-face {
  background: rgba(248, 250, 252, 0.98);
}
.perk-card-back {
  transform: rotateY(180deg);
}

.perk-front-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.perk-partner-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, var(--accent), #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}
.perk-title {
  font-size: 0.92rem;
}
.perk-partner-name {
  font-size: 0.78rem;
  color: var(--fg-soft);
}
.perk-tier-pill {
  margin-left: auto;
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

/* Tier color edges */
.perk-card.perk-tier-rare .perk-card-face {
  border-left: 2px solid #38bdf8;
}
.perk-card.perk-tier-elite .perk-card-face {
  border-left: 2px solid #22c55e;
}
.perk-card.perk-tier-legendary .perk-card-face {
  border-left: 2px solid #facc15;
}
.perk-card.perk-tier-mythic .perk-card-face {
  border-left: 2px solid #a855f7;
}

.perk-front-copy {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--fg-soft);
}
.perk-front-meta {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: var(--fg-soft);
}
.perk-front-meta span strong {
  color: var(--fg);
}
.perk-tap-hint {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  color: var(--fg-soft);
}

/* Synergy row (OrbCards) */
.perk-synergy-row {
  margin-top: 0.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
  font-size: 0.72rem;
}
.perk-synergy-label {
  color: var(--fg-soft);
}
.perk-synergy-chip {
  border: 1px solid rgba(148, 163, 253, 0.7);
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-pill);
  padding: 0.15rem 0.5rem;
  font-size: 0.72rem;
  color: var(--fg);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.perk-synergy-chip:hover {
  background: rgba(56, 189, 248, 0.15);
  transform: translateY(-1px);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
}

/* ------------- ORBCARDS (FLIP) ------------- */

.orbcards-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.orbcards-card {
  perspective: 1200px;
}
.orbcards-card-inner {
  position: relative;
  width: 100%;
  height: 230px;
  border-radius: 1rem;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.25s ease;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}
.orbcards-card:hover .orbcards-card-inner {
  box-shadow: 0 22px 60px rgba(15, 23, 42, 1);
}
.orbcards-card.is-flipped .orbcards-card-inner {
  transform: rotateY(180deg);
}

.orbcards-face {
  position: absolute;
  inset: 0;
  padding: 0.7rem 0.75rem;
  border-radius: 1rem;
  backface-visibility: hidden;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(148, 163, 253, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
html[data-theme="day"] .orbcards-face {
  background: radial-gradient(circle at top, rgba(248, 250, 252, 0.98), rgba(229, 231, 235, 0.96));
}
.orbcards-back {
  transform: rotateY(180deg);
}

.orbcards-orb-ring {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin: 0.1rem 0;
  background: conic-gradient(from 180deg, #0ea5e9, #f97316, #a855f7, #22c55e, #0ea5e9);
  position: relative;
  overflow: hidden;
}
.orbcards-orb-ring::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 10%, rgba(248, 250, 252, 0.18), rgba(15, 23, 42, 0.95));
}

.orbcards-rarity-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-soft);
}
.orbcards-card-name {
  font-size: 0.9rem;
  margin-top: 0.35rem;
}
.orbcards-card-tagline {
  font-size: 0.8rem;
  color: var(--fg-soft);
  margin-top: 0.25rem;
}
.orbcards-card-mini {
  margin-top: 0.25rem;
  font-size: 0.76rem;
  color: var(--fg-soft);
}

/* Tier edges */
.orbcards-tier-common .orbcards-face {
  border-color: rgba(148, 163, 253, 0.65);
}
.orbcards-tier-rare .orbcards-face {
  border-color: #38bdf8;
}
.orbcards-tier-elite .orbcards-face {
  border-color: #22c55e;
}
.orbcards-tier-legendary .orbcards-face {
  border-color: #facc15;
}
.orbcards-tier-mythic .orbcards-face {
  border-color: #a855f7;
  box-shadow: 0 0 26px rgba(168, 85, 247, 0.9);
}

.orbcards-back-list {
  margin-top: 0.35rem;
  padding-left: 1.1rem;
  font-size: 0.78rem;
  color: var(--fg-soft);
}
.orbcards-back-footer {
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.45rem;
}
.orbcards-back-meta {
  font-size: 0.76rem;
  color: var(--fg-soft);
}

.orbcards-focus-pulse {
  animation: orbcardsFocusPulse 1.2s ease-out 1;
}
@keyframes orbcardsFocusPulse {
  0% {
    box-shadow: 0 0 0 rgba(56, 189, 248, 0);
  }
  50% {
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.9);
  }
  100% {
    box-shadow: 0 0 0 rgba(56, 189, 248, 0);
  }
}

/* ------------- ORBCLOUD (BOOST PODS) ------------- */

.orbcloud-orbit {
  position: relative;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.24), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.2), transparent 60%),
    rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 253, 0.6);
  box-shadow: var(--shadow-soft);
  padding: 1rem 1.1rem;
  overflow: hidden;
}
html[data-theme="day"] .orbcloud-orbit {
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.12), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.12), transparent 60%),
    rgba(248, 250, 252, 0.98);
}

.orbcloud-center {
  position: relative;
  margin: 0 auto;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, var(--accent), #0f172a);
  box-shadow: 0 0 20px var(--accent-soft);
}

.orbcloud-boost-pods {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.orbcloud-pod {
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 253, 0.6);
  font-size: 0.78rem;
  color: var(--fg-soft);
  cursor: pointer;
}
.orbcloud-pod.is-active {
  border-color: var(--accent);
  color: var(--accent);
}

/* ------------- TRI-DOCK NAV (3-ORB) ------------- */

.ot-dock {
  position: fixed;
  left: 50%;
  top: 0.9rem;
  transform: translateX(-50%);
  z-index: 9999; /* above headers and content */
  pointer-events: none; /* page stays clickable except inner */
}
.ot-dock-inner {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(148, 163, 253, 0.5);
  box-shadow: var(--shadow-soft);
  pointer-events: auto;
}
html[data-theme="day"] .ot-dock-inner {
  background: rgba(248, 250, 252, 0.98);
  border-color: rgba(148, 163, 253, 0.35);
}

/* shimmer for side orbs */
@keyframes dockSideShimmer {
  0% {
    box-shadow: 0 0 10px rgba(148, 163, 253, 0.1);
    background-position: 0% 50%;
  }
  50% {
    box-shadow: 0 0 18px rgba(148, 163, 253, 0.45);
    background-position: 100% 50%;
  }
  100% {
    box-shadow: 0 0 10px rgba(148, 163, 253, 0.1);
    background-position: 0% 50%;
  }
}

.ot-dock-orb {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #020617, #020617);
  border: 1px solid rgba(148, 163, 253, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.9);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease,
    background 0.18s ease;
}
.ot-dock-orb img {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  object-fit: contain;
}
.ot-dock-orb span {
  position: absolute;
  bottom: -1.1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--fg-soft);
}

/* CENTER ORB: accent color */
.ot-dock-orb--center {
  background: radial-gradient(circle at 30% 20%, var(--accent), #020617);
}

/* SIDE ORBS: gray with shimmer, auto theme-adaptive */
.ot-dock-orb--side {
  background: linear-gradient(135deg, #111827, #4b5563, #111827);
  background-size: 220% 220%;
  border-color: rgba(148, 163, 253, 0.7);
  animation: dockSideShimmer 4s ease-in-out infinite;
}

/* light theme version of side orbs */
html[data-theme="day"] .ot-dock-orb--side {
  background: linear-gradient(135deg, #e5e7eb, #9ca3af, #e5e7eb);
  border-color: rgba(148, 163, 253, 0.6);
}

.ot-dock-orb-active {
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent-soft);
}

.ot-dock--idle .ot-dock-inner {
  opacity: 0.35;
  transform: scale(0.96);
}
.ot-dock--idle .ot-dock-orb {
  box-shadow: none;
}

/* Mobile: dock at bottom center */
@media (max-width: 768px) {
  .ot-dock {
    top: auto;
    bottom: 1.1rem;
  }
}

/* Dock menus (smooth dropdown glass panels) */

.dock-menu {
  position: fixed;
  z-index: 9998;
  min-width: 230px;
  max-width: 320px;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(148, 163, 253, 0.7);
  box-shadow: var(--shadow-strong);
  padding: 0.6rem 0.55rem;
  display: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
html[data-theme="day"] .dock-menu {
  background: rgba(248, 250, 252, 0.98);
  border-color: rgba(148, 163, 253, 0.45);
}

.dock-menu.is-open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dock-menu h4 {
  margin: 0 0 0.4rem;
  padding: 0.15rem 0.3rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-soft);
}

.dock-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.1rem;
}
.dock-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  padding: 0.32rem 0.55rem;
  border-radius: 0.65rem;
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--fg);
}
.dock-menu li a span {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
}
.dock-menu li a small {
  font-size: 0.7rem;
  color: var(--fg-soft);
}
.dock-menu li a:hover {
  background: rgba(15, 23, 42, 0.95);
}
html[data-theme="day"] .dock-menu li a:hover {
  background: rgba(243, 244, 246, 1);
}

/* ------------- HAMBURGER NAV (SLIDE-OUT) ------------- */

/* Hide the round hamburger button – logo will become the trigger */
.ot-hamburger-btn {
  display: none !important;
}

.ot-hamburger-panel {
  position: fixed;
  z-index: 10000; /* on top of everything */
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 78vw);
  background: rgba(15, 23, 42, 0.98);
  border-right: 1px solid rgba(148, 163, 253, 0.6);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-strong);
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.22s ease-out, opacity 0.18s ease-out;
  display: flex;
  flex-direction: column;
}
html[data-theme="day"] .ot-hamburger-panel {
  background: rgba(248, 250, 252, 0.98);
  border-right-color: rgba(209, 213, 219, 0.95);
}

.ot-hamburger-panel.is-open {
  transform: translateX(0);
  opacity: 1;
}

.ot-hamburger-header {
  padding: 0.9rem 0.9rem 0.5rem;
  border-bottom: 1px solid rgba(31, 41, 55, 0.95);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ot-hamburger-title {
  font-size: 0.9rem;
  font-weight: 600;
}
.ot-hamburger-sub {
  font-size: 0.76rem;
  color: var(--fg-soft);
}

.ot-hamburger-close {
  border: none;
  background: transparent;
  color: var(--fg-soft);
  cursor: pointer;
  font-size: 0.9rem;
}

.ot-hamburger-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.7rem 0.7rem 1.1rem;
  font-size: 0.82rem;
}

.ot-hamburger-section-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-soft);
  margin: 0.4rem 0 0.2rem;
}

.ot-hamburger-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ot-hamburger-item {
  border-radius: 0.7rem;
  overflow: hidden;
  margin-bottom: 0.1rem;
}

.ot-hamburger-link,
.ot-hamburger-parent {
  width: 100%;
  padding: 0.4rem 0.55rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  color: var(--fg);
  cursor: pointer;
  font-size: 0.82rem;
  text-decoration: none;
}
.ot-hamburger-link span,
.ot-hamburger-parent span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.ot-hamburger-link small {
  font-size: 0.7rem;
  color: var(--fg-soft);
}
.ot-hamburger-link:hover,
.ot-hamburger-parent:hover {
  background: rgba(15, 23, 42, 0.96);
}
html[data-theme="day"] .ot-hamburger-link:hover,
html[data-theme="day"] .ot-hamburger-parent:hover {
  background: rgba(243, 244, 246, 1);
}

.ot-hamburger-chevron {
  font-size: 0.82rem;
  color: var(--fg-soft);
}

/* Submenu sliding inside panel */

.ot-hamburger-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  padding-left: 0.6rem;
}
.ot-hamburger-submenu.is-open {
  max-height: 400px;
}

/* ------------- ORBI CHAT WIDGET ------------- */

.orbi-bubble {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #f97316, #4f46e5);
  box-shadow: 0 0 22px rgba(129, 140, 248, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 45;
  animation: orbiPulse 2s ease-in-out infinite;
}
html[data-calm="true"] .orbi-bubble {
  animation: none;
}
.orbi-bubble img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid rgba(248, 250, 252, 0.85);
}
@keyframes orbiPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 26px rgba(236, 72, 153, 0.9);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
  }
}

.orbi-panel {
  position: fixed;
  right: 1.4rem;
  bottom: 4.6rem;
  width: min(360px, 92vw);
  max-height: 70vh;
  border-radius: 1.1rem;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 253, 0.7);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 46;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
html[data-theme="day"] .orbi-panel {
  background: rgba(248, 250, 252, 0.98);
}
.orbi-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.orbi-panel-header {
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid rgba(31, 41, 55, 0.95);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.orbi-header {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.orbi-acronym {
  font-size: 0.9rem;
  font-weight: 600;
}
.orbi-full {
  font-size: 0.75rem;
  color: var(--fg-soft);
}
.orbi-close-btn {
  border: none;
  background: transparent;
  color: var(--fg-soft);
  cursor: pointer;
  font-size: 0.85rem;
}

.orbi-messages {
  flex: 1;
  padding: 0.7rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.8rem;
  overflow-y: auto;
}
.orbi-msg {
  max-width: 90%;
  padding: 0.35rem 0.6rem;
  border-radius: 0.7rem;
}
.orbi-msg-orbi {
  align-self: flex-start;
  background: rgba(30, 64, 175, 0.65);
}
.orbi-msg-user {
  align-self: flex-end;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 253, 0.6);
}
html[data-theme="day"] .orbi-msg-orbi {
  background: rgba(59, 130, 246, 0.75);
}
html[data-theme="day"] .orbi-msg-user {
  background: rgba(248, 250, 252, 0.98);
}

.orbi-form {
  padding: 0.55rem 0.7rem;
  border-top: 1px solid rgba(31, 41, 55, 0.95);
  display: flex;
  gap: 0.4rem;
}
.orbi-form input {
  flex: 1;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 253, 0.7);
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  background: rgba(15, 23, 42, 0.96);
  color: var(--fg);
}
html[data-theme="day"] .orbi-form input {
  background: rgba(248, 250, 252, 0.98);
}
.orbi-form button {
  font-size: 0.78rem;
}

.orbi-trust-note {
  padding: 0.45rem 0.8rem 0.6rem;
  font-size: 0.72rem;
  color: var(--fg-soft);
}

/* ------------- RESPONSIVE TWEAKS ------------- */

@media (max-width: 640px) {
  .ot-shell-header-inner {
    flex-wrap: wrap;
  }
  .orbcards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ot-tile-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* =====================================================
   OT BLACK PAGE
   ===================================================== */

body.page-ot-black {
  /* Deeper, more luxe background */
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.18), transparent 60%),
    radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.22), transparent 60%),
    radial-gradient(circle at 0% 100%, rgba(34, 197, 94, 0.12), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(248, 250, 252, 0.02), transparent 70%),
    var(--bg);
  color: var(--fg);
}

/* Keep main content centered and breathing */
body.page-ot-black .ot-black-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1rem 4rem;
}

@media (min-width: 768px) {
  body.page-ot-black .ot-black-main {
    padding: 2.5rem 1.5rem 5rem;
  }
}

/* -------------------------------------
   HERO & TITLE GLOW
   ------------------------------------- */

body.page-ot-black .ot-black-hero {
  margin-top: 1rem;
  margin-bottom: 2.5rem;
}

body.page-ot-black .ot-black-hero-inner {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 900px) {
  body.page-ot-black .ot-black-hero-inner {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  }
}

body.page-ot-black .ot-black-title {
  font-size: clamp(2rem, 3vw + 1rem, 2.8rem);
  line-height: 1.05;
  margin: 0 0 0.75rem;
}

/* Animated gradient glow for title */
body.page-ot-black .ot-black-title-glow {
  display: inline-block;
  background: linear-gradient(
    120deg,
    #22d3ee,
    #22c55e,
    #a855f7,
    #f97316,
    #22d3ee
  );
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ot-black-title-pulse 8s ease-in-out infinite;
}

@keyframes ot-black-title-pulse {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

body.page-ot-black .ot-black-subtitle {
  margin: 0 0 0.5rem;
  color: var(--fg-soft);
  max-width: 36rem;
}

body.page-ot-black .ot-black-meta {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  color: var(--fg-soft);
  opacity: 0.85;
}

/* Hero buttons */
body.page-ot-black .ot-black-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

/* Quick actions (Switchboard) */
body.page-ot-black .ot-black-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

body.page-ot-black .ot-black-quick-actions .ot-chip {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 253, 0.4);
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(14px);
  font-size: 0.8rem;
}

/* HERO BLACK CARD */

body.page-ot-black .ot-black-hero-card {
  align-self: stretch;
}

body.page-ot-black .ot-black-card-sheen {
  position: relative;
  border-radius: 1.25rem;
  padding: 1.25rem 1.5rem;
  background:
    linear-gradient(135deg, rgba(248, 250, 252, 0.06), transparent),
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.3), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(132, 204, 22, 0.22), transparent 60%),
    rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 253, 0.4);
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.85),
    0 0 0 1px rgba(15, 23, 42, 0.9);
  overflow: hidden;
}

body.page-ot-black .ot-black-card-sheen::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(
    from 220deg,
    rgba(56, 189, 248, 0.2),
    rgba(129, 140, 248, 0.12),
    rgba(16, 185, 129, 0.24),
    transparent 60%
  );
  opacity: 0.5;
  mix-blend-mode: screen;
  transform: translate3d(-20%, -10%, 0);
  animation: ot-black-card-sheen 12s linear infinite;
  pointer-events: none;
}

@keyframes ot-black-card-sheen {
  0% { transform: translate3d(-40%, -20%, 0) rotate(0deg); }
  100% { transform: translate3d(10%, 10%, 0) rotate(360deg); }
}

body.page-ot-black .ot-black-card-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

body.page-ot-black .ot-black-card-text {
  position: relative;
  z-index: 1;
}

body.page-ot-black .ot-black-card-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-soft);
  margin-bottom: 0.15rem;
}

body.page-ot-black .ot-black-card-tier {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
}

body.page-ot-black .ot-black-card-tagline {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: var(--fg-soft);
}

body.page-ot-black .ot-black-card-note {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--fg-soft);
  opacity: 0.85;
}

/* -------------------------------------
   SNAPSHOT CARD
   ------------------------------------- */

body.page-ot-black .ot-black-snapshot {
  margin-bottom: 2.5rem;
}

body.page-ot-black .ot-black-snapshot-card {
  border-radius: 1.25rem;
  padding: 1.25rem 1.25rem 1.3rem;
  background: linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.98),
      rgba(15, 23, 42, 0.92)
    );
  border: 1px solid rgba(148, 163, 253, 0.45);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.75);
}

body.page-ot-black .ot-black-snapshot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

body.page-ot-black .ot-black-status-pill {
  font-size: 0.75rem;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.7);
  background: radial-gradient(circle at 0% 0%, rgba(52, 211, 153, 0.18), transparent 60%);
  color: #bbf7d0;
}

body.page-ot-black .ot-black-snapshot-grid {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  body.page-ot-black .ot-black-snapshot-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

body.page-ot-black .ot-snapshot-item strong {
  display: block;
  font-size: 0.75rem;
  color: var(--fg-soft);
  margin-bottom: 0.15rem;
}

body.page-ot-black .ot-snapshot-value {
  font-size: 0.95rem;
}

body.page-ot-black .ot-black-snapshot-note {
  font-size: 0.75rem;
  color: var(--fg-soft);
}

/* -------------------------------------
   SECTION HEADERS (SCOPED)
   ------------------------------------- */

body.page-ot-black .ot-section {
  margin-bottom: 2.75rem;
}

body.page-ot-black .ot-section-header {
  margin-bottom: 1.25rem;
}

body.page-ot-black .ot-section-title {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
}

body.page-ot-black .ot-section-subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: var(--fg-soft);
}

/* -------------------------------------
   LANE ORBS
   ------------------------------------- */

body.page-ot-black .ot-black-orb-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  body.page-ot-black .ot-black-orb-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

body.page-ot-black .ot-black-orb {
  border: none;
  padding: 0;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

body.page-ot-black .ot-black-orb-inner {
  position: relative;
  border-radius: 999px;
  padding: 0.9rem 1rem;
  min-height: 4.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.25), transparent 65%),
    rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 253, 0.5);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.75);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

body.page-ot-black .ot-black-orb-nightlife .ot-black-orb-inner {
  background:
    radial-gradient(circle at 0% 0%, rgba(251, 191, 36, 0.28), transparent 65%),
    rgba(15, 23, 42, 0.97);
}

body.page-ot-black .ot-black-orb-dating .ot-black-orb-inner {
  background:
    radial-gradient(circle at 0% 0%, rgba(244, 114, 182, 0.28), transparent 65%),
    rgba(15, 23, 42, 0.97);
}

body.page-ot-black .ot-black-orb-mmj .ot-black-orb-inner {
  background:
    radial-gradient(circle at 0% 0%, rgba(52, 211, 153, 0.28), transparent 65%),
    rgba(15, 23, 42, 0.97);
}

body.page-ot-black .ot-black-orb:hover .ot-black-orb-inner,
body.page-ot-black .ot-black-orb:focus-visible .ot-black-orb-inner {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  border-color: var(--accent);
}

body.page-ot-black .ot-black-orb-label {
  font-size: 0.95rem;
  font-weight: 600;
}

body.page-ot-black .ot-black-orb-tag {
  font-size: 0.75rem;
  opacity: 0.9;
  color: var(--fg-soft);
}

body.page-ot-black .ot-black-orb-desc {
  font-size: 0.8rem;
  color: var(--fg-soft);
}

/* -------------------------------------
   NIGHTLIFE CONSOLE / BLACK NIGHTS
   ------------------------------------- */

body.page-ot-black .ot-black-events-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.65rem 0.8rem;
  border-radius: 999px;
  border: 1px dashed rgba(251, 191, 36, 0.65);
  background: radial-gradient(circle at 0% 0%, rgba(251, 191, 36, 0.14), transparent 65%);
  font-size: 0.8rem;
}

body.page-ot-black .ot-black-events-label {
  font-weight: 600;
}

body.page-ot-black .ot-black-events-text {
  flex: 1 1 auto;
}

body.page-ot-black .ot-black-nightlife-console {
  border-radius: 1.25rem;
  padding: 1.1rem 1rem 1.3rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 253, 0.45);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
}

body.page-ot-black .ot-nightlife-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

body.page-ot-black .ot-card-nightlife {
  background: rgba(15, 23, 42, 0.98);
}

body.page-ot-black .ot-nightlife-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  body.page-ot-black .ot-nightlife-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

body.page-ot-black .ot-nightlife-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* -------------------------------------
   BOOSTS STRIP
   ------------------------------------- */

body.page-ot-black .ot-black-boosts-inner {
  border-radius: 1.25rem;
  padding: 1.1rem 1.1rem 1.25rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.18), transparent 60%),
    rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(59, 130, 246, 0.5);
}

body.page-ot-black .ot-boosts-grid {
  display: grid;
  gap: 0.7rem;
  margin: 0.75rem 0 0.5rem;
}

@media (min-width: 768px) {
  body.page-ot-black .ot-boosts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

body.page-ot-black .ot-boost-pill {
  padding: 0.65rem 0.75rem;
  border-radius: 0.85rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 253, 0.5);
  font-size: 0.8rem;
}

body.page-ot-black .ot-boost-pill strong {
  display: block;
  margin-bottom: 0.15rem;
}

body.page-ot-black .ot-black-boosts-note {
  font-size: 0.75rem;
  color: var(--fg-soft);
}

/* -------------------------------------
   ORBI BLACK
   ------------------------------------- */

body.page-ot-black .ot-black-orbi-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  body.page-ot-black .ot-black-orbi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.page-ot-black .ot-card-orbi {
  background: rgba(15, 23, 42, 0.97);
}

body.page-ot-black .ot-black-orbi-note {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--fg-soft);
}

/* -------------------------------------
   DATING / MMJ / CREATORS LAYOUT
   ------------------------------------- */

body.page-ot-black .ot-black-dating-layout {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  body.page-ot-black .ot-black-dating-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
}

body.page-ot-black .ot-card-dating,
body.page-ot-black .ot-card-mmj,
body.page-ot-black .ot-card-creators {
  background: rgba(15, 23, 42, 0.97);
}

body.page-ot-black .ot-card-dating-paid {
  border: 1px solid rgba(244, 114, 182, 0.6);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.8);
}

/* MMJ grid */
body.page-ot-black .ot-black-mmj-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  body.page-ot-black .ot-black-mmj-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

body.page-ot-black .ot-card-body-small {
  font-size: 0.8rem;
  color: var(--fg-soft);
}

/* Creators grid */
body.page-ot-black .ot-black-creators-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  body.page-ot-black .ot-black-creators-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* -------------------------------------
   CONTROLS + TRUST STRIP (SCOPED)
   ------------------------------------- */

body.page-ot-black .ot-black-controls {
  border-radius: 1.1rem;
  padding: 1rem 1.1rem 1.2rem;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(148, 163, 253, 0.45);
  margin-bottom: 1rem;
}

body.page-ot-black .ot-controls-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.65rem;
}

body.page-ot-black .ot-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
}

body.page-ot-black .ot-toggle-label {
  flex: 1 1 auto;
  color: var(--fg-soft);
}

/* Simple toggle structure (scoped) */
body.page-ot-black .ot-toggle {
  position: relative;
  border: none;
  width: 2.5rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.9);
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: background 0.2s ease;
}

body.page-ot-black .ot-toggle[aria-pressed="true"] {
  background: var(--accent-strong, rgba(249, 115, 22, 0.95));
}

body.page-ot-black .ot-toggle-thumb {
  position: relative;
  left: 0.15rem;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: #f9fafb;
  transition: transform 0.2s ease;
}

body.page-ot-black .ot-toggle[aria-pressed="true"] .ot-toggle-thumb {
  transform: translateX(1.05rem);
}

body.page-ot-black .ot-black-trust-strip {
  border-radius: 0.9rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(148, 163, 253, 0.45);
  background: rgba(15, 23, 42, 0.96);
}

body.page-ot-black .ot-black-trust-text {
  font-size: 0.75rem;
  color: var(--fg-soft);
}

/* =====================================================
   OT BLACK TEASER TILE (HOMEPAGE)
   Apply this class to your OT Black tile on index.html
   ===================================================== */

.ot-black-teaser {
  position: relative;
  overflow: hidden;
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 253, 0.4);
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.14), transparent 60%),
    rgba(15, 23, 42, 0.96);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.ot-black-teaser::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.2), transparent 60%);
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
}

.ot-black-teaser:hover,
.ot-black-teaser:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.9);
  border-color: var(--accent, #f97316);
}

.ot-black-teaser:hover::before,
.ot-black-teaser:focus-visible::before {
  opacity: 1;
}