/* ooki-nav-drawer.css - ONLY the shared right-side menu drawer (.nd-*) from ooki-public.css.
   Loaded by pages that keep their own page styles (store, artists, artist profile, Sonic Stories)
   so their hamburger opens the same drawer as every other page, without picking up the
   hamburger/footer/padding rules of ooki-public.css. Generated from ooki-public.css. */
: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);
}
body.nd-locked {
  overflow: hidden !important;
  -webkit-overflow-scrolling: auto !important;
}
.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);
}
@media (max-width: 768px) {
  .nd-backdrop.nd-backdrop-show {
    background: rgba(0,0,0,0.50);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
.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);
}
@media (max-width: 1024px) {
  .nd-drawer { width: var(--nd-w-tab); }
}
@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); }
}
.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);
}
@media (max-width: 768px) {
  .nd-hdr {
    padding-top: 8px;  /* pushes content below pill handle */
    height: 68px;
  }
}
.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; }
.nd-hdr-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}
.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;
}
.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); }
.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;
}
.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);
}
.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);
}
.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);
}
.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);
}
.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); }
.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); }
.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);
}
.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; }
.nd-link-label { flex: 1; min-width: 0; }
.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); }
.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; }
.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);
}
.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); }
.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);
}
.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;
}
.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); }

/* 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}
