/* ═══════════════════════════════════════════════════════════════════════
   ooki-public.css  —  Universal public-page responsive layer
   Hamburger nav drawer: 3 breakpoints
     Desktop  ≥1025px  → 420px right-side slide-in panel + blurred backdrop
     Tablet   769–1024 → 360px right-side slide-in panel + blurred backdrop
     Mobile   ≤768px   → full-screen slide-UP sheet from bottom
   ═══════════════════════════════════════════════════════════════════════ */

/* ── CSS variables for drawer ─────────────────────────────────────────── */
:root {
  --nd-w-desk:   420px;
  --nd-w-tab:    360px;
  --nd-speed:    0.30s;
  --nd-ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --nd-bg-dark:  rgba(10, 10, 13, 0.98);
  --nd-bg-light: rgba(248, 248, 251, 0.99);
  --nd-sep-dark: rgba(255, 255, 255, 0.07);
  --nd-sep-light:rgba(0, 0, 0, 0.07);
}

/* ── Suppress shell elements on public pages ──────────────────────────── */
body:not(:has(.ooki-shell)) #mobile-bottom-nav {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Scroll lock when drawer open */
body.nd-locked {
  overflow: hidden !important;
  -webkit-overflow-scrolling: auto !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   ❶  HAMBURGER BUTTON  (.nav-hamburger)
   ═══════════════════════════════════════════════════════════════════════ */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;  /* equal-width bars, centered (matches index.html) */
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  border-radius: 10px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1100;
  flex-shrink: 0;
  transition: background var(--nd-speed) ease;
}
.nav-hamburger:hover {
  background: rgba(255,255,255,0.06);
}
[data-theme="light"] .nav-hamburger:hover {
  background: rgba(0,0,0,0.05);
}

/* Three bars — .nh-b, .nh-b2, .nh-b3
   NOTE: previously tapered (22/16/10px) + right-aligned with
   transform-origin:right — when combined with the rotate-to-X open
   animation this produced a lopsided chevron ("〉") instead of a
   clean X. Using equal-width, center-aligned bars (matching the
   .nav-hamburger implementation used on index.html/search.html/
   store.html) for a consistent, correctly-formed icon site-wide. */
.nh-b {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary, #fff);
  border-radius: 2px;
  transform-origin: center;
  transition:
    transform  var(--nd-speed) var(--nd-ease),
    opacity    0.18s ease;
}

/* Open state → animated X */
.nh-open .nh-b  { transform: translateY(7px) rotate(45deg); }
.nh-open .nh-b2 { opacity: 0; }
.nh-open .nh-b3 { transform: translateY(-7px) rotate(-45deg); }

/* Always visible — desktop keeps hamburger as extended menu button */
@media (max-width: 1024px) {
  .nav-hamburger { display: flex !important; }
}
@media (min-width: 1025px) {
  .nav-hamburger { display: flex; }  /* visible on desktop too */
}

/* ═══════════════════════════════════════════════════════════════════════
   ❷  BACKDROP  (.nd-backdrop)
   ═══════════════════════════════════════════════════════════════════════ */
.nd-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  pointer-events: none;
  transition:
    background        var(--nd-speed) var(--nd-ease),
    backdrop-filter   var(--nd-speed) var(--nd-ease),
    -webkit-backdrop-filter var(--nd-speed) var(--nd-ease);
}
.nd-backdrop.nd-backdrop-show {
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: all;
  cursor: pointer; /* indicate "click to close" */
}
[data-theme="light"] .nd-backdrop.nd-backdrop-show {
  background: rgba(0,0,0,0.28);
}

/* Mobile: no backdrop blur (performance) */
@media (max-width: 768px) {
  .nd-backdrop.nd-backdrop-show {
    background: rgba(0,0,0,0.50);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   ❸  DRAWER  (.nd-drawer)
   Desktop / Tablet: 420px / 360px right-side panel, slides in from right
   Mobile: full-screen bottom sheet, slides up from bottom
   ═══════════════════════════════════════════════════════════════════════ */
.nd-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--nd-w-desk);
  z-index: 1050;

  /* Layout */
  display: flex;
  flex-direction: column;
  overflow: hidden;

  /* Visual */
  background: var(--nd-bg-dark);
  border-left: 1px solid var(--nd-sep-dark);
  border-radius: 20px 0 0 20px;
  box-shadow: -16px 0 48px rgba(0,0,0,0.55), -4px 0 16px rgba(0,0,0,0.30);

  /* Slide in from RIGHT */
  transform: translateX(calc(100% + 2px)); /* +2px hides the border-radius edge */
  transition: transform var(--nd-speed) var(--nd-ease);
}
.nd-drawer.nd-open {
  transform: translateX(0);
}

[data-theme="light"] .nd-drawer {
  background: var(--nd-bg-light);
  border-left-color: var(--nd-sep-light);
  box-shadow: -16px 0 48px rgba(0,0,0,0.15), -4px 0 16px rgba(0,0,0,0.08);
}

/* ── Tablet ─────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nd-drawer { width: var(--nd-w-tab); }
}

/* ── Mobile: full-screen overlay ───────────────────────────────────────
   Previously this was a 92dvh "bottom sheet" with a visible peek of page
   content above it and a pill-handle — inconsistent with index.html's
   mobile drawer (and the user's reference design) which is a clean,
   full-screen panel covering the entire viewport. Standardized to match:
   full height, slides in from the right (same direction as desktop/
   tablet, just full-width), no peek-through, no pill handle. */
@media (max-width: 768px) {
  .nd-drawer {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    max-height: none;

    /* Override desktop side-panel styles */
    border-left: none;
    border-radius: 0;
    box-shadow: none;

    /* Slide in from the right, full width */
    transform: translateX(100%);
    transition: transform var(--nd-speed) var(--nd-ease);
  }
  .nd-drawer.nd-open { transform: translateX(0); }
}

/* ═══════════════════════════════════════════════════════════════════════
   ❹  DRAWER HEADER  (.nd-hdr)
   [Logo]  ···  [Theme ⊙]  [Close ✕]
   ═══════════════════════════════════════════════════════════════════════ */
.nd-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  height: 60px;
  border-bottom: 1px solid var(--nd-sep-dark);
  flex-shrink: 0;
}
[data-theme="light"] .nd-hdr {
  border-bottom-color: var(--nd-sep-light);
}

/* Mobile: account for pill handle */
@media (max-width: 768px) {
  .nd-hdr {
    padding-top: 8px;  /* pushes content below pill handle */
    height: 68px;
  }
}

/* Logo in drawer */
.nd-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  text-decoration: none;
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  line-height: 1;
  user-select: none;
}
.nd-logo-word {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary, #fff);
}
.nd-logo-dot {
  font-size: 20px;
  font-weight: 700;
  color: var(--ooki-red, #FF0A3D);
}
[data-theme="light"] .nd-logo-word { color: #0A0A0A; }

/* Header action buttons group */
.nd-hdr-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Theme + close buttons */
.nd-theme-btn,
.nd-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--text-muted, rgba(255,255,255,0.35));
  font-size: 15px;
  transition: background 0.15s, color 0.15s;
}
.nd-theme-btn:hover,
.nd-close-btn:hover {
  background: rgba(255,255,255,0.07);
  color: var(--text-primary, #fff);
}
[data-theme="light"] .nd-theme-btn,
[data-theme="light"] .nd-close-btn {
  color: rgba(10,10,10,0.38);
}
[data-theme="light"] .nd-theme-btn:hover,
[data-theme="light"] .nd-close-btn:hover {
  background: rgba(0,0,0,0.06);
  color: #0A0A0A;
}

/* Close button: two-span X mark */
.nd-close-btn {
  position: relative;
  font-size: 0; /* hide any text */
}
.nd-close-btn span {
  position: absolute;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}
.nd-close-btn span:nth-child(1) { transform: rotate(45deg); }
.nd-close-btn span:nth-child(2) { transform: rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════════════════
   ❺  AUTH ZONE  (#ndAuthZone) — rendered by JS
   Contains either .nd-user-strip (logged in) or .nd-guest-strip (guest)
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Logged-in strip ─────────────────────────────────────────────────── */
.nd-user-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--nd-sep-dark);
  flex-shrink: 0;
  background: rgba(255,255,255,0.025);
}
[data-theme="light"] .nd-user-strip {
  background: rgba(0,0,0,0.025);
  border-bottom-color: var(--nd-sep-light);
}

.nd-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ooki-red, #FF0A3D) 0%, #9C6DFF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: -0.02em;
  overflow: hidden;
}
.nd-avatar img { width: 100%; height: 100%; object-fit: cover; }

.nd-user-info { flex: 1; min-width: 0; }
.nd-user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary, #fff);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-theme="light"] .nd-user-name { color: #0A0A0A; }

.nd-user-role {
  font-size: 11px;
  color: var(--text-muted, rgba(255,255,255,0.35));
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}
.nd-user-role i { font-size: 9px; }
[data-theme="light"] .nd-user-role { color: rgba(10,10,10,0.38); }

.nd-dash-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  color: var(--text-muted, rgba(255,255,255,0.38));
  font-size: 12px;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.nd-dash-btn:hover {
  background: rgba(255,255,255,0.13);
  color: var(--text-primary, #fff);
}
[data-theme="light"] .nd-dash-btn {
  background: rgba(0,0,0,0.06);
  color: rgba(10,10,10,0.40);
}
[data-theme="light"] .nd-dash-btn:hover {
  background: rgba(0,0,0,0.10);
  color: #0A0A0A;
}

/* ── Guest strip ─────────────────────────────────────────────────────── */
.nd-guest-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--nd-sep-dark);
  flex-shrink: 0;
}
[data-theme="light"] .nd-guest-strip {
  border-bottom-color: var(--nd-sep-light);
}

/* Primary CTA */
.nd-cta-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  padding: 9px 14px;
  border-radius: 22px;
  background: var(--ooki-red, #FF0A3D);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.nd-cta-primary:hover {
  background: #e00030;
  transform: scale(1.02);
}

/* Ghost CTA */
.nd-cta-ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 22px;
  border: 1px solid var(--nd-sep-dark);
  color: var(--text-secondary, rgba(255,255,255,0.60));
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.nd-cta-ghost:hover {
  border-color: rgba(255,255,255,0.20);
  color: var(--text-primary, #fff);
  background: rgba(255,255,255,0.04);
}
[data-theme="light"] .nd-cta-ghost {
  border-color: var(--nd-sep-light);
  color: rgba(10,10,10,0.60);
}
[data-theme="light"] .nd-cta-ghost:hover {
  border-color: rgba(0,0,0,0.18);
  color: #0A0A0A;
  background: rgba(0,0,0,0.03);
}

/* ═══════════════════════════════════════════════════════════════════════
   ❻  SCROLLABLE BODY  (.nd-body)
   ═══════════════════════════════════════════════════════════════════════ */
.nd-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.09) transparent;
}
.nd-body::-webkit-scrollbar       { width: 3px; }
.nd-body::-webkit-scrollbar-track { background: transparent; }
.nd-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.09); border-radius: 2px; }
[data-theme="light"] .nd-body {
  scrollbar-color: rgba(0,0,0,0.09) transparent;
}
[data-theme="light"] .nd-body::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.09);
}

/* ── Section wrapper  (.nd-sec) ─────────────────────────────────────── */
.nd-sec {
  border-bottom: 1px solid var(--nd-sep-dark);
  padding-bottom: 6px;
}
.nd-sec:last-child { border-bottom: none; }
[data-theme="light"] .nd-sec { border-bottom-color: var(--nd-sep-light); }

/* ── Section label  (.nd-sec-lbl) ──────────────────────────────────── */
.nd-sec-lbl {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted, rgba(255,255,255,0.30));
  pointer-events: none;
  user-select: none;
}
.nd-sec-lbl i {
  font-size: 9px;
  width: 11px;
  text-align: center;
  opacity: 0.6;
  flex-shrink: 0;
}
[data-theme="light"] .nd-sec-lbl { color: rgba(10,10,10,0.33); }

/* ── Individual nav link ────────────────────────────────────────────── */
.nd-sec a {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 1px 10px;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary, rgba(255,255,255,0.65));
  text-decoration: none;
  transition: background 0.12s ease, color 0.12s ease, transform 0.12s ease;
  cursor: pointer;
}
.nd-sec a:hover {
  background: rgba(255,255,255,0.055);
  color: var(--text-primary, #fff);
  transform: translateX(2px);
}
.nd-sec a.nd-active {
  background: rgba(255,10,61,0.08);
  color: var(--ooki-red, #FF0A3D);
}
.nd-sec a.nd-active .nd-link-icon i {
  color: var(--ooki-red, #FF0A3D);
  opacity: 1;
}
[data-theme="light"] .nd-sec a { color: rgba(10,10,10,0.65); }
[data-theme="light"] .nd-sec a:hover {
  background: rgba(0,0,0,0.04);
  color: #0A0A0A;
}
[data-theme="light"] .nd-sec a.nd-active {
  background: rgba(255,10,61,0.06);
  color: var(--ooki-red, #FF0A3D);
}

/* Link icon box  (.nd-link-icon) */
.nd-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  flex-shrink: 0;
  transition: background 0.12s ease;
}
.nd-link-icon i {
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  transition: color 0.12s ease;
}
.nd-sec a:hover .nd-link-icon {
  background: rgba(255,255,255,0.10);
}
.nd-sec a:hover .nd-link-icon i { color: var(--text-primary, #fff); }
[data-theme="light"] .nd-link-icon { background: rgba(0,0,0,0.05); }
[data-theme="light"] .nd-link-icon i { color: rgba(10,10,10,0.38); }
[data-theme="light"] .nd-sec a:hover .nd-link-icon { background: rgba(0,0,0,0.08); }
[data-theme="light"] .nd-sec a:hover .nd-link-icon i { color: #0A0A0A; }

/* Link label  (.nd-link-label) */
.nd-link-label { flex: 1; min-width: 0; }

/* Animated chevron  (.nd-link-arrow) */
.nd-link-arrow {
  font-size: 9px;
  color: rgba(255,255,255,0.16);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.12s ease, transform 0.12s ease;
  flex-shrink: 0;
}
.nd-sec a:hover .nd-link-arrow {
  opacity: 1;
  transform: translateX(0);
}
[data-theme="light"] .nd-link-arrow { color: rgba(10,10,10,0.16); }

/* ── OMG Radio link  (.nd-radio-link) — purple, gated ─────────────── */
.nd-radio-link {
  color: #9C6DFF !important;
}
.nd-radio-link .nd-link-icon {
  background: rgba(156,109,255,0.10) !important;
}
.nd-radio-link .nd-link-icon i {
  color: #9C6DFF !important;
  opacity: 1 !important;
}
.nd-radio-link .nd-link-label { color: #9C6DFF !important; }
.nd-sec a.nd-radio-link:hover { background: rgba(156,109,255,0.09) !important; }

/* ── Creator CTA links  (data-cta="red" | data-cta="ghost") ─────────── */
.nd-sec a[data-cta="red"] {
  background: var(--ooki-red, #FF0A3D) !important;
  color: #fff !important;
  font-weight: 600;
  margin: 2px 10px;
}
.nd-sec a[data-cta="red"] .nd-link-icon {
  background: rgba(255,255,255,0.16) !important;
}
.nd-sec a[data-cta="red"] .nd-link-icon i { color: #fff !important; opacity: 1 !important; }
.nd-sec a[data-cta="red"] .nd-link-label  { color: #fff !important; }
.nd-sec a[data-cta="red"] .nd-link-arrow  { color: rgba(255,255,255,0.45) !important; opacity: 0; }
.nd-sec a[data-cta="red"]:hover {
  background: #e00030 !important;
  transform: translateX(2px);
}
.nd-sec a[data-cta="red"]:hover .nd-link-arrow { opacity: 1; }

.nd-sec a[data-cta="ghost"] {
  border: 1px solid var(--nd-sep-dark);
  margin: 2px 10px;
}
[data-theme="light"] .nd-sec a[data-cta="ghost"] {
  border-color: var(--nd-sep-light);
}

/* ═══════════════════════════════════════════════════════════════════════
   ❼  DRAWER FOOTER  (.nd-ftr)
   Sign-out · Social icons · Copyright
   ═══════════════════════════════════════════════════════════════════════ */
.nd-ftr {
  border-top: 1px solid var(--nd-sep-dark);
  padding: 12px 18px 16px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
[data-theme="light"] .nd-ftr { border-top-color: var(--nd-sep-light); }

/* Sign-out button row */
.nd-signout-row {
  display: flex;
}
.nd-signout-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,80,80,0.18);
  background: rgba(255,80,80,0.06);
  color: rgba(255,110,110,0.80);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.nd-signout-btn i { font-size: 12px; flex-shrink: 0; }
.nd-signout-btn:hover {
  background: rgba(255,50,50,0.11);
  color: #ff5a5a;
  border-color: rgba(255,80,80,0.32);
}

/* Social icon row */
.nd-soc-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nd-soc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255,255,255,0.05);
  color: var(--text-muted, rgba(255,255,255,0.35));
  font-size: 14px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.nd-soc-btn:hover {
  background: rgba(255,255,255,0.10);
  color: var(--text-primary, #fff);
  transform: translateY(-2px);
}
[data-theme="light"] .nd-soc-btn {
  background: rgba(0,0,0,0.05);
  color: rgba(10,10,10,0.35);
}
[data-theme="light"] .nd-soc-btn:hover {
  background: rgba(0,0,0,0.09);
  color: #0A0A0A;
}

/* Copyright text */
.nd-copy {
  font-size: 11px;
  color: var(--text-muted, rgba(255,255,255,0.25));
  line-height: 1.5;
}
.nd-copy a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.15s;
}
.nd-copy a:hover { opacity: 0.8; text-decoration: underline; }
[data-theme="light"] .nd-copy { color: rgba(10,10,10,0.28); }

/* ═══════════════════════════════════════════════════════════════════════
   ❽  INLINE NAV ELEMENT VISIBILITY BY BREAKPOINT
   Desktop ≥1025px: hamburger shown (accesses extra drawer) + full top nav
   Tablet 769–1024: hamburger shown, top nav links hidden
   Mobile ≤768px:   hamburger shown, all inline groups hidden
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Tablet (769–1024px): hide desktop nav link rows ────────────────── */
@media (min-width: 769px) and (max-width: 1024px) {
  .public-nav  .nav-links,
  .public-nav  .nav-cta-group,
  .story-nav   .nav-links,
  .top-nav     .nav-links { display: none !important; }

  .main-nav    > div:not(:first-child):not(.nav-mobile-menu) { display: none !important; }
  .store-nav   > div:not(:first-child):not(.nav-mobile-menu) { display: none !important; }
}

/* ── Mobile (≤768px): hide all inline nav groups ────────────────────── */
@media (max-width: 768px) {
  /* Tighten padding */
  .public-nav, .main-nav, .story-nav, .top-nav, .pt-nav,
  .portals-nav, .store-nav, .search-nav, .inv-nav, .legal-nav {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Named link groups */
  .public-nav  .nav-links,
  .public-nav  .nav-cta-group,
  .story-nav   .nav-links,
  .story-nav   .nav-cta-group,
  .pt-nav      .nav-links-row,
  .pt-nav      .nav-actions,
  .top-nav     .nav-links,
  /* sonic-capsules.html's custom inline auth/account button group.
     The hamburger drawer (ooki-public-nav.js) already renders its own
     self-contained auth zone (#ndAuthZone: Sign In / Get Started, or the
     logged-in user-strip + Dashboard + Sign Out) inside the drawer, so
     this inline copy is pure duplication on narrow screens — and at
     390px wide it has nowhere to go, overlapping/crowding the
     logo+hamburger ("Crowded & overlapping nav bar" / "Button cutoff"). */
  #auth-container { display: none !important; }

  /* Generic div children (exclude hamburger button — it's a <button>) */
  .main-nav    > div:not(:first-child):not(.nav-mobile-menu) { display: none !important; }
  .store-nav   > div:not(:first-child):not(.nav-mobile-menu) { display: none !important; }
  .inv-nav     > div:not(:first-child):not(.nav-mobile-menu) { display: none !important; }
  .portals-nav > div:not(:first-child):not(.nav-mobile-menu) { display: none !important; }
  .search-nav  .nav-actions                                  { display: none !important; }
  .search-nav  > div:nth-child(3):not(.nav-mobile-menu)      { display: none !important; }
  .legal-nav   > div:not(.nav-mobile-menu)                   { display: none !important; }

  /* Always show hamburger */
  .public-nav .nav-hamburger, .main-nav .nav-hamburger, .story-nav .nav-hamburger,
  .top-nav .nav-hamburger, .pt-nav .nav-hamburger, .portals-nav .nav-hamburger,
  .store-nav .nav-hamburger, .search-nav .nav-hamburger, .inv-nav .nav-hamburger,
  .legal-nav .nav-hamburger { display: flex !important; }

  
}

/* ═══════════════════════════════════════════════════════════════════════
   ❾  PUBLIC PLAYER BAR
   Fixed to bottom on all public (non-shell) pages
   ═══════════════════════════════════════════════════════════════════════ */
body:not(:has(.ooki-shell)) { padding-bottom: 80px; }



/* ── text / icons inside the public fixed-bottom player ─────────── */
























/* ── .ooki-player-public (injected when no .ooki-player exists) ──────── */


/* ── text / icons inside the injected .ooki-player-public ─────────── */
































/* ── OMG Radio link in existing .ooki-player bars ─────────────────────── */




/* ── Footer OMG Radio placeholder links ────────────────────────────────── */
.footer-omg-radio-link {
  display: none; align-items: center; gap: 6px; color: #9C6DFF;
  text-decoration: none; font-size: 13px; font-weight: 600; transition: opacity 0.15s;
}
.footer-omg-radio-link.visible { display: flex; }
.footer-omg-radio-link:hover { opacity: 0.8; }

/* ═══════════════════════════════════════════════════════════════════════
   ❿  PUBLIC FOOTER — collapse on mobile
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .public-footer .footer-top { display: none !important; }
  .public-footer .footer-bottom {
    display: flex !important; flex-direction: column !important;
    align-items: center !important; gap: 8px !important;
    padding: 16px !important; text-align: center !important;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .public-footer .footer-top { grid-template-columns: 1fr 1fr !important; gap: 24px !important; }
  .public-footer .footer-brand { grid-column: span 2 !important; }
}

/* ══════════════════════════════════════════════════════════════════
   NUCLEAR PLAYER LIGHT MODE — ooki-public.css final override
   Must appear AFTER body:not(:has(.ooki-shell)) .ooki-player block
   so source-order wins the !important tiebreaker.
   ══════════════════════════════════════════════════════════════════ */

/* New Ooki Music lockup in drawer (light/dark SVG pair) */
.nd-logo-img{height:28px;width:auto;display:block}
.nd-logo .lg-l{display:none}
[data-theme="light"] .nd-logo .lg-l{display:block}
[data-theme="light"] .nd-logo .lg-d{display:none}

/* Sonic Voices icon (formerly Podcasts): studio mic with sound waves. Use <i class="fa-solid fa-sonic-voices"></i>. */
.fa-sonic-voices{display:inline-block;width:1em;height:1em;vertical-align:-0.125em;background-color:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'%3E%3Crect x='9' y='2' width='6' height='11' rx='3'/%3E%3Cpath d='M9 6h6M9 9h6' stroke-width='1.4'/%3E%3Cpath d='M6.2 10.5v.8a5.8 5.8 0 0 0 11.6 0v-.8'/%3E%3Cpath d='M12 17.2v3.6M8.6 20.8h6.8'/%3E%3Cpath d='M3.7 8.2c-.8 1.4-.8 2.8 0 4.2M20.3 8.2c.8 1.4.8 2.8 0 4.2' stroke-width='1.6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'%3E%3Crect x='9' y='2' width='6' height='11' rx='3'/%3E%3Cpath d='M9 6h6M9 9h6' stroke-width='1.4'/%3E%3Cpath d='M6.2 10.5v.8a5.8 5.8 0 0 0 11.6 0v-.8'/%3E%3Cpath d='M12 17.2v3.6M8.6 20.8h6.8'/%3E%3Cpath d='M3.7 8.2c-.8 1.4-.8 2.8 0 4.2M20.3 8.2c.8 1.4.8 2.8 0 4.2' stroke-width='1.6'/%3E%3C/svg%3E") center/contain no-repeat}
.fa-sonic-voices::before{content:none!important}
