/* Music mini player (site-music.js): an Apple-Music style card at the top of the sidebar footer, right above
   What's New and the notifications bell. In-flow (not floating), so no modal, dock or panel can overlap it. */
.sm-wrap { display: block; width: 100%; box-sizing: border-box; margin: 0 0 10px; padding: 10px; border-radius: 16px;
  background: linear-gradient(160deg, #3a1219 0%, #1d0a0e 55%, #12080a 100%); border: 1px solid rgba(255,72,104,.38);
  box-shadow: 0 8px 22px rgba(0,0,0,.45), 0 0 18px rgba(255,40,70,.12), inset 0 1px 0 rgba(255,255,255,.06); color: #f3e9ea; } /* owner 11/7: colored panel (red, matches the @diemasua credit), not gray */
.smp-top { display: flex; align-items: center; gap: 6px; }
.sm-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 !important; min-height: 0 !important;
  background: transparent !important; border: 0 !important; box-shadow: none !important; color: inherit; text-align: left; cursor: pointer; }
.sm-art { position: relative; flex: none; width: 42px; height: 42px; border-radius: 10px; overflow: hidden; display: block;
  background: radial-gradient(circle at 50% 40%, #2a2420, #0d0d0f); border: 1px solid rgba(255,255,255,.12); }
.sm-art img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 4px; box-sizing: border-box; }
.sm-art.u img { object-fit: cover; padding: 0; } /* Your music: the song's own cover fills the art */
.sm-art .sm-eq { position: absolute; right: 3px; bottom: 3px; display: none; align-items: flex-end; gap: 2px; height: 12px; padding: 2px 3px; border-radius: 5px; background: rgba(0,0,0,.6); }
.sm-wrap.playing .sm-art .sm-eq { display: flex; }
.sm-eq i { display: block; width: 2px; height: 3px; border-radius: 1px; background: #f2c36b; animation: smEq 1s ease-in-out infinite; }
.sm-eq i:nth-child(2) { animation-delay: -.35s; animation-duration: .85s; }
.sm-eq i:nth-child(3) { animation-delay: -.7s; animation-duration: 1.15s; }
@keyframes smEq { 0%,100% { height: 2px; } 50% { height: 9px; } }
.sm-meta { flex: 1; min-width: 0; display: block; line-height: 1.25; }
.sm-np-l { display: block; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.sm-marq { display: block; overflow: hidden; white-space: nowrap; margin: 1px 0; }
.sm-np-t { display: inline-block; font-size: 13px; color: #fff; white-space: nowrap; }
.sm-marq.scroll .sm-np-t { animation: smMarq 11s linear infinite alternate; animation-delay: 1.2s; }
@keyframes smMarq { 0%,10% { transform: translateX(0); } 90%,100% { transform: translateX(var(--sm-shift, 0)); } }
.sm-np-w { display: block; font-size: 10.5px; color: rgba(255,255,255,.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-np-w:empty { display: none; }
.sm-arrow { flex: none; width: 28px; height: 28px; min-height: 0 !important; min-width: 0 !important; padding: 0 !important; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: rgba(255,255,255,.55); cursor: pointer; transition: transform .2s, color .2s; }
.sm-arrow:hover { color: #fff; }
.sm-arrow svg { width: 14px; height: 14px; }
.sm-wrap.open .sm-arrow { transform: rotate(180deg); }
.sm-ctl { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 8px; }
.sm-skip, .sm-btn { min-height: 0 !important; min-width: 0 !important; padding: 0 !important; display: grid; place-items: center; border-radius: 50%; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .15s, color .15s, border-color .15s; }
.sm-skip { width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.07); color: #e8e8ea; }
.sm-skip:hover { background: rgba(242,195,107,.16); color: #f2c36b; }
.sm-skip svg { width: 14px; height: 14px; }
.sm-btn { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.1); color: #fff; }
.sm-btn:hover { border-color: rgba(255,255,255,.36); }
.sm-btn svg { width: 18px; height: 18px; display: block; }
.sm-btn.on { color: #f2c36b; border-color: rgba(242,195,107,.5); background: rgba(242,195,107,.12); }
.sm-btn.held { opacity: .6; }
.sm-open:focus-visible, .sm-btn:focus-visible, .sm-skip:focus-visible, .sm-arrow:focus-visible { outline: 2px solid #f2c36b; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .sm-eq i, .sm-marq.scroll .sm-np-t, .sm-credit { animation: none !important; } .sm-eq i { height: 6px; } }

/* expanded: volume + credit */
.sm-pop { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.sm-pop[hidden] { display: none; }
.sm-pop .sm-lv { display: flex; padding: 3px; margin: 0 0 12px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.06); }
.sm-pop .sm-lv button { flex: 1; min-height: 0 !important; border: 0; border-radius: 7px; background: transparent; color: rgba(255,255,255,.6); font-size: 12px; font-weight: 600; padding: 7px 0 !important; cursor: pointer; transition: background .15s, color .15s; }
.sm-pop .sm-lv button:hover { color: #fff; }
.sm-pop .sm-lv button.sel { background: rgba(255,255,255,.14); color: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.sm-pop input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 18px; margin: 0 0 10px; background: transparent; cursor: pointer; --fill: 24%; }
.sm-pop input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg,#f2c36b var(--fill),rgba(255,255,255,.16) var(--fill)); }
.sm-pop input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255,255,255,.16); }
.sm-pop input[type=range]::-moz-range-progress { height: 4px; border-radius: 4px; background: #f2c36b; }
.sm-pop input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 1px 6px rgba(0,0,0,.6); }
.sm-pop input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 1px 6px rgba(0,0,0,.6); }
.sm-pop small { display: block; font-size: 11px; line-height: 1.4; color: rgba(255,255,255,.5); }
.sm-credit { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 12px; padding: 9px 10px; border-radius: 10px; border: 1px solid rgba(255,40,60,.4); background: rgba(255,30,50,.08); color: #ff4d5e; font-weight: 800; font-size: 11.5px; letter-spacing: .06em; text-shadow: 0 0 6px rgba(255,40,60,.95), 0 0 16px rgba(255,20,40,.65); animation: smGlow 2.4s ease-in-out infinite; }
.sm-credit svg { width: 14px; height: 14px; filter: drop-shadow(0 0 4px rgba(255,40,60,.9)); flex: none; }
@keyframes smGlow { 0%,100% { box-shadow: 0 0 10px rgba(255,30,50,.22); text-shadow: 0 0 5px rgba(255,40,60,.8), 0 0 12px rgba(255,20,40,.5); } 50% { box-shadow: 0 0 18px rgba(255,30,50,.45); text-shadow: 0 0 8px rgba(255,60,80,1), 0 0 22px rgba(255,20,40,.8); } }

/* ---- credit avatar ---- */
.sm-credit .sm-av { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid rgba(255,70,90,.7); box-shadow: 0 0 8px rgba(255,40,60,.6); }

/* ---- Phones: slim one-row mini player + tighter menu (owner 11/7: the slide-out felt crowded) ---- */
@media (max-width: 767px) {
  .sm-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; margin: 0 0 6px; padding: 7px 8px; border-radius: 14px; }
  .sm-wrap .smp-top { flex: 1 1 0; min-width: 0; }
  .sm-wrap .sm-art { width: 34px; height: 34px; border-radius: 8px; }
  .sm-wrap .sm-open { gap: 8px; }
  .sm-wrap .sm-np-l, .sm-wrap .sm-np-w { display: none; }
  .sm-wrap .sm-np-t { font-size: 12.5px; }
  .sm-wrap .sm-ctl { margin: 0; gap: 6px; flex: none; }
  .sm-wrap .sm-ctl [data-skip="-1"] { display: none; }
  .sm-wrap .sm-btn { width: 34px; height: 34px; }
  .sm-wrap .sm-skip { width: 30px; height: 30px; }
  .sm-wrap .sm-pop { flex: 0 0 100%; margin-top: 8px; padding-top: 10px; }
  /* menu spacing */
  .site-sidebar .site-nav { gap: 1px !important; }
  .site-sidebar .site-nav a { padding-top: 7px !important; padding-bottom: 7px !important; }
  .site-sidebar .sidebar-brand { margin-bottom: 4px !important; }
  .site-sidebar .sidebar-foot { margin-top: 8px !important; padding-top: 8px !important; gap: 6px !important; }
}

/* ---- Visualizer entry points ---- */
.sm-vz { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 0 !important; cursor: pointer; color: rgba(255,255,255,.85); font-size: 11.5px; font-weight: 600; letter-spacing: .03em; -webkit-tap-highlight-color: transparent;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); border-radius: 10px; padding: 7px 12px !important; transition: background .15s, color .15s, border-color .15s; }
.sm-vz:hover { color: #f2c36b; border-color: rgba(242,195,107,.5); background: rgba(242,195,107,.1); }
.sm-vz svg { width: 14px; height: 14px; flex: none; }
.sm-vz-wide { width: 100%; margin-top: 10px; }
.sm-vz-ic { display: none; flex: none; width: 28px; height: 28px; padding: 0 !important; border-radius: 50%; }
.sm-vz-pop { display: none; width: 100%; margin-bottom: 4px; }
.sm-wrap.hint .sm-art { animation: smPulse 1.6s ease-in-out infinite; }
@keyframes smPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(242,195,107,.55); } 50% { box-shadow: 0 0 0 8px rgba(242,195,107,0); } }
.sm-wrap.hint .sm-open::after { content: "Tap for the music visualizer"; position: absolute; left: 12px; top: -34px; z-index: 5; white-space: nowrap; font-size: 11px; font-weight: 600; color: #111; background: #f2c36b; padding: 6px 10px; border-radius: 8px; box-shadow: 0 6px 16px rgba(0,0,0,.45); pointer-events: none; }
.sm-wrap { position: relative; }
.sm-wrap.hint .sm-open { position: static; }
@media (prefers-reduced-motion: reduce) { .sm-wrap.hint .sm-art { animation: none; box-shadow: 0 0 0 3px rgba(242,195,107,.5); } }

/* the "now playing" chip (home page only, 8 s) */
.sm-chip { position: fixed; z-index: 900; left: calc(var(--sm-side, 250px) + 16px); bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); display: flex; align-items: center; max-width: calc(100vw - 32px);
  border-radius: 999px; background: rgba(16,17,20,.94); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 10px 28px rgba(0,0,0,.55); color: #fff; opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; }
.sm-chip.on { opacity: 1; transform: none; }
.sm-chip-go { display: flex; align-items: center; gap: 10px; min-height: 0 !important; padding: 8px 6px 8px 14px !important; background: transparent !important; border: 0 !important; color: inherit; cursor: pointer; text-align: left; min-width: 0; }
.sm-chip .sm-eq { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.sm-chip-t { display: block; min-width: 0; line-height: 1.2; }
.sm-chip-t small { display: block; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.sm-chip-t b { display: block; font-size: 12.5px; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-chip-o { flex: none; font-size: 11px; font-weight: 700; color: #f2c36b; padding: 6px 10px; border-radius: 999px; background: rgba(242,195,107,.12); border: 1px solid rgba(242,195,107,.4); }
.sm-chip-x { flex: none; width: 30px; height: 30px; min-height: 0 !important; padding: 0 !important; margin-right: 6px; display: grid; place-items: center; border: 0; background: transparent !important; color: rgba(255,255,255,.55); font-size: 20px; line-height: 1; cursor: pointer; }
.sm-chip-x:hover { color: #fff; }


/* ---- owner 11/7: "the added open visualizer is a no" + "made my panels basic gray, no": the gray sidebar system is removed
   (Find a player / Online / Notifications / Get the app / profile keep their original look). Tap the song art to open the visualizer. ---- */
.sm-vz, .sm-vz-ic, .sm-vz-wide, .sm-vz-pop, .sm-chip { display: none !important; }
.sm-wrap.hint .sm-open::after, .sm-wrap .sm-art::after { content: none !important; display: none !important; }

/* What's New: a gold panel (matches the site's gold accents), sits above the music player */
.site-sidebar .sidebar-foot { display: flex; flex-direction: column; }
.site-sidebar .sidebar-foot > .wnew-btn { order: -2; }
.site-sidebar .sidebar-foot > .sm-wrap { order: -1; }
.site-sidebar .sidebar-foot .wnew-btn { background: linear-gradient(160deg, #3a2a0e 0%, #1c1508 60%, #120e06 100%) !important; border: 1px solid rgba(242,195,107,.45) !important;
  border-radius: 14px !important; box-shadow: 0 6px 18px rgba(0,0,0,.4), 0 0 16px rgba(242,175,60,.12), inset 0 1px 0 rgba(255,255,255,.06) !important;
  padding: 11px 14px !important; margin: 0 0 10px !important; color: #f6d99a !important; }
.site-sidebar .sidebar-foot .wnew-btn:hover { border-color: rgba(242,195,107,.75) !important; }

/* ---- Phone ---- */
@media (max-width: 767px) {
  .site-sidebar .sidebar-foot .wnew-btn { margin: 0 0 6px !important; padding: 9px 12px !important; }
  /* notifications moved out of the menu into the top bar bell */
  .site-sidebar .notification-button { display: none !important; }
}

/* ---- Mobile top bar bell (left of the centred logo) ---- */
.mobile-bell { display: none; }
@media (max-width: 767px) {
  .mobile-bell { position: relative; flex: none; width: 38px; height: 38px; min-height: 0 !important; padding: 0 !important; display: grid; place-items: center; border-radius: 10px; cursor: pointer;
    border: 1px solid rgba(255,181,43,.3); background: rgba(255,181,43,.07); color: rgba(255,181,43,.9); }
  .mobile-bell[hidden] { display: none; }
  .mobile-bell svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-bell span:not(:empty) { position: absolute; right: -5px; top: -5px; min-width: 18px; height: 18px; padding: 0 4px; box-sizing: border-box; display: grid; place-items: center; border-radius: 9px; background: var(--red, #ff4868); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 1; }
}.sm-wrap.hint .sm-art { animation: none !important; box-shadow: none !important; }

/* owner 11/7 "why is the notifications tab still gray": same gold panel family as What's New (desktop; phones use the top-bar bell) */
.site-sidebar .sidebar-foot .notification-button { background: linear-gradient(160deg, #33240c 0%, #1a1308 60%, #110d06 100%) !important; border: 1px solid rgba(242,195,107,.4) !important;
  border-radius: 14px !important; box-shadow: 0 6px 18px rgba(0,0,0,.4), 0 0 14px rgba(242,175,60,.1), inset 0 1px 0 rgba(255,255,255,.06) !important; color: #f6d99a !important; }
.site-sidebar .sidebar-foot .notification-button:hover { border-color: rgba(242,195,107,.75) !important; }
.site-sidebar .sidebar-foot .notification-button svg { color: #f2c36b !important; stroke: currentColor; }
/* ---- Phone top bar, one clean row (owner 11/7: bell warped, online pill off): hamburger | bell | [logo centred] | online | search, all 38 px ---- */
@media (max-width: 767px) {
  .mobile-topbar .mobile-bell { position: relative; box-sizing: border-box !important; flex: 0 0 38px !important; width: 38px !important; height: 38px !important; min-width: 38px !important; min-height: 38px !important; max-width: 38px !important;
    margin: 0 !important; padding: 0 !important; display: grid !important; place-items: center; overflow: visible; line-height: 1 !important; letter-spacing: 0; border-radius: 10px !important;
    border: 1px solid rgba(255,181,43,.3) !important; background: rgba(255,181,43,.07) !important; color: rgba(255,181,43,.9) !important; box-shadow: none !important; -webkit-appearance: none; appearance: none; }
  .mobile-topbar .mobile-bell[hidden] { display: none !important; }
  .mobile-topbar .mobile-bell > svg { position: static; display: block; width: 20px !important; height: 20px !important; margin: 0; fill: none !important; stroke: currentColor !important; stroke-width: 1.9; filter: none; }
  .mobile-topbar .mobile-bell > span#mobile-bell-count { position: absolute !important; right: -6px !important; top: -6px !important; left: auto !important; bottom: auto !important; box-sizing: border-box; min-width: 17px; width: auto; height: 17px; padding: 0 4px !important; margin: 0 !important;
    display: grid; place-items: center; border-radius: 9px; border: 2px solid #09080b; background: var(--red, #ff4868); color: #fff; font: 800 10px/1 system-ui, sans-serif; letter-spacing: 0; pointer-events: none; }
  .mobile-topbar .mobile-bell > span#mobile-bell-count:empty { display: none; }
  /* online pill: same 38 px row height, no wrapping, green dot + white count + gold label */
  .mobile-topbar .site-online-m { box-sizing: border-box; height: 38px; margin: 0 0 0 auto !important; padding: 0 11px !important; gap: 6px; flex-wrap: nowrap !important; align-items: center; flex: 0 0 auto; white-space: nowrap;
    border-radius: 10px; border: 1px solid rgba(242,195,107,.32); background: rgba(242,195,107,.07); }
  .mobile-topbar .site-online-m b { color: #fff; font: 800 13px/1 system-ui, sans-serif; }
  .mobile-topbar .site-online-m span { color: #f2c36b; font: 700 10px/1 system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
  .mobile-topbar .site-online-m em { display: none; }
  .mobile-topbar .site-online-m .site-online-dot { width: 8px; height: 8px; margin: 0; padding: 0; flex: none; }
  .mobile-topbar .site-online-m:not([hidden]) + .mobile-find { margin-left: 4px !important; } /* owner 11/7: pill sat too close to the logo → nudged right */
  .mobile-topbar .site-online-m { padding: 0 9px !important; gap: 5px; }
  .mobile-topbar .mobile-find { box-sizing: border-box; width: 38px !important; height: 38px !important; min-width: 38px !important; min-height: 38px !important; padding: 0 !important; border-radius: 10px !important; flex: 0 0 38px; }
  .mobile-topbar .mobile-find svg { width: 18px; height: 18px; }
}
@media (max-width: 379px) { .mobile-topbar .site-online-m span { display: none; } .mobile-topbar .site-online-m { padding: 0 9px !important; } } /* tiny phones: just "● 5" so it never touches the logo */

/* ---- popover: one visualizer button (red, matches the music card) in place of Low/Med/High ---- */
.sm-pop .sm-lv { display: none !important; }
.sm-pop .sm-vzb { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin: 0 0 12px; min-height: 0 !important; padding: 9px 12px !important; border-radius: 10px; cursor: pointer;
  border: 1px solid rgba(255,70,90,.5); background: linear-gradient(180deg, rgba(255,60,85,.18), rgba(255,30,60,.08)); color: #ff8f9b; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 0 14px rgba(255,40,70,.14); transition: background .15s, color .15s, border-color .15s; }
.sm-pop .sm-vzb:hover { color: #fff; border-color: rgba(255,90,110,.85); background: linear-gradient(180deg, rgba(255,60,85,.3), rgba(255,30,60,.14)); }
.sm-pop .sm-vzb svg { width: 15px; height: 15px; flex: none; }
.sm-pop input[type=range]::-webkit-slider-runnable-track { background: linear-gradient(90deg,#ff5468 var(--fill),rgba(255,255,255,.16) var(--fill)); }
.sm-pop input[type=range]::-moz-range-progress { background: #ff5468; }

/* owner 11/7: song titles + artists exactly as written (the site-wide button style forced the playlist rows into caps) */
.smv-list button, .smv-list button *, .smv-list b, .smv-list small, .smv-title, .smv-with, .sm-np-t, .sm-np-w { text-transform: none !important; letter-spacing: normal !important; }
.smv-lsub .r { text-transform: none !important; letter-spacing: .02em !important; }
/* Afterlife Radio (owner 11/7): live label in red, no skip buttons on the radio (everyone hears the same song) */
.sm-wrap.radio .sm-np-l { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; white-space: nowrap; margin-bottom: 3px; letter-spacing: .08em; }
.sm-live { display: inline-flex; align-items: center; gap: 5px; padding: 2px 7px 2px 6px; border-radius: 999px; background: #e8273f; color: #fff; font-size: 9px; font-weight: 900; letter-spacing: .1em; box-shadow: 0 0 10px rgba(232,39,63,.55); }
.sm-live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: smLive 1.4s ease-in-out infinite; }
@keyframes smLive { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.sm-lc { font-size: 9.5px; font-weight: 700; letter-spacing: .04em; text-transform: none; color: rgba(255,255,255,.7); }
.sm-wrap.radio .sm-skip { visibility: hidden; pointer-events: none; }