/* SLS Phase 4A: shared top navigation. All rules isolated to this header. */
@font-face{font-family:SLSNavZag;src:url('../sublevel-video/assets/Zag-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:SLSNavIcons;src:url('../fonts/dripicons/fonts/dripicons-v2.woff') format('woff');font-weight:400;font-display:block}
.sls-site-header,.sls-site-header *{box-sizing:border-box}
.sls-site-header{position:relative;z-index:300;width:100%;color:#fff;font-family:Khand,'Arial Narrow',Arial,sans-serif;font-weight:400;line-height:1.4;text-transform:none}
.sls-site-header a{color:#fff;text-decoration:none;font-weight:400;float:none;letter-spacing:inherit}
.sls-site-header a:hover,.sls-site-header a:focus-visible{color:#fff;background:#dd0e34;text-decoration:none}
.sls-site-header a:focus-visible,.sls-site-header summary:focus-visible{outline:2px solid #fff;outline-offset:-3px}
.sls-site-header .sls-social{background:#454955;display:flex;justify-content:flex-end;align-items:center;gap:20px;min-height:30px;padding:0 12px;font-size:15px;text-transform:uppercase}
.sls-site-header .sls-social a{color:rgba(255,255,255,.75);line-height:30px}
.sls-site-header .sls-social a:hover{background:transparent;color:#64c9d9}
.sls-site-header .sls-nav{position:relative;display:block;width:100%;height:auto;min-height:68px;background:#101010;color:#fff;line-height:normal;margin:0;padding:0;box-shadow:none}
.sls-site-header .sls-nav-row{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:68px;gap:0}
.sls-site-header .sls-left,.sls-site-header .sls-links,.sls-site-header .sls-actions{display:flex;align-items:center;gap:0;min-width:0}
.sls-site-header .sls-nav-logo{display:block;font:400 36px/68px SLSNavZag,Arial,sans-serif;letter-spacing:.025em;padding:0 22px;white-space:nowrap}
.sls-site-header .sls-links>a,.sls-site-header .sls-dj-menu>a,.sls-site-header .sls-actions>a{display:flex;align-items:center;gap:8px;min-height:68px;padding:0 22px;font-size:16px;line-height:1.2;letter-spacing:.1em;white-space:nowrap;text-transform:uppercase}
.sls-site-header .sls-actions>a{border-left:1px solid rgba(255,255,255,.38)}
.sls-site-header .sls-links a[aria-current=page]{box-shadow:inset 0 -3px #dd0e34}
.sls-site-header .sls-dj-menu{position:relative}
.sls-site-header .sls-dj-sub{display:none;position:absolute;z-index:2;top:100%;left:0;min-width:250px;background:#101010;box-shadow:0 5px 10px #0004}
.sls-site-header .sls-dj-menu:hover .sls-dj-sub,.sls-site-header .sls-dj-menu:focus-within .sls-dj-sub{display:block}
.sls-site-header .sls-dj-sub a{display:block;font-size:16px;line-height:1.4;padding:10px 18px;letter-spacing:.1em;text-transform:uppercase}
.sls-site-header .sls-nav-dj-icon{width:20px;height:20px;flex:none;display:inline-block;color:currentColor}
.sls-site-header .sls-pop-icon{display:inline-block;flex:none;width:19px;height:20px;font:400 19px/20px SLSNavIcons,sans-serif;letter-spacing:0;text-transform:none;text-align:center}
.sls-site-header .sls-pop-icon::before{content:"\3b"}
.sls-site-header .sls-live-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#dd0e34;animation:sls-live-blink 1.6s steps(1,end) infinite}
.sls-site-header a:hover .sls-live-dot,.sls-site-header a:focus-visible .sls-live-dot{box-shadow:0 0 0 1px #fff}
@keyframes sls-live-blink{0%,100%{opacity:1}50%{opacity:0}}
.sls-site-header .sls-mobile-menu{display:none;margin:0;padding:0}
.sls-site-header .sls-mobile-menu summary{display:flex;align-items:center;justify-content:center;cursor:pointer;list-style:none;width:44px;height:44px;background:#dd0e34;color:#fff;margin:0;padding:0}
.sls-site-header .sls-mobile-menu summary::-webkit-details-marker{display:none}
.sls-site-header .sls-mobile-menu summary::marker{content:''}
.sls-site-header .sls-mobile-menu summary svg{width:25px;height:25px;display:block}
.sls-site-header .sls-mobile-links{position:absolute;top:100%;left:0;right:0;max-width:330px;max-height:calc(100vh - 105px);max-height:calc(100dvh - 105px);overflow:auto;background:#101010;padding:8px 0;box-shadow:0 6px 16px #0006}
.sls-site-header .sls-mobile-links a{display:flex;align-items:center;gap:8px;padding:9px 18px;line-height:1.35;font-size:17px;letter-spacing:.07em;text-transform:uppercase}
.sls-site-header .sls-mobile-djs a{padding-left:34px;font-size:15px}
@media(max-width:1200px){.sls-site-header .sls-social,.sls-site-header .sls-left,.sls-site-header .sls-actions{display:none}.sls-site-header .sls-nav,.sls-site-header .sls-nav-row{min-height:44px}.sls-site-header .sls-nav-row{display:block}.sls-site-header .sls-mobile-menu{display:block}}
@media(max-width:600px),(max-width:767px) and (orientation:landscape){.sls-site-header .sls-nav,.sls-site-header .sls-nav-row{min-height:40px}.sls-site-header .sls-mobile-menu summary{height:40px}}
@media(prefers-reduced-motion:reduce){.sls-site-header .sls-live-dot{animation:none;opacity:1}}

/* SLS vinyl platter navigation: no HTML or script changes. */
.sls-site-header .sls-nav-dj-icon{display:none}
.sls-site-header :is(.sls-links>a,.sls-dj-menu>a,.sls-mobile-links>a):is([href="https://sublevelsoul.com/#sls-resident-djs"],[href="https://sublevelsoul.com/music.html"],[href="https://sublevelsoul.com/#sls-schedule"])::before{
  content:"";display:inline-block;width:20px;height:20px;flex:0 0 20px;
  background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2210.5%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.5%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%227.6%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%22.8%22%20opacity%3D%22.8%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%225.8%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%22.8%22%20opacity%3D%22.65%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223.5%22%20fill%3D%22white%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%22.9%22%20fill%3D%22%23777%22%2F%3E%3Cpath%20d%3D%22M5.1%208.6A7.7%207.7%200%200%201%2011%204.4M7.3%209.6A5.3%205.3%200%200%201%2011%206.8%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E") center / 20px 20px no-repeat;
  transform-origin:center;
}
@keyframes sls-platter-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .sls-site-header :is(.sls-links>a,.sls-dj-menu>a,.sls-mobile-links>a):is([href="https://sublevelsoul.com/#sls-resident-djs"],[href="https://sublevelsoul.com/music.html"],[href="https://sublevelsoul.com/#sls-schedule"]):hover::before{animation:sls-platter-spin 1.8s linear infinite}
}
@media (prefers-reduced-motion:no-preference){
  .sls-site-header :is(.sls-links>a,.sls-dj-menu>a,.sls-mobile-links>a):is([href="https://sublevelsoul.com/#sls-resident-djs"],[href="https://sublevelsoul.com/music.html"],[href="https://sublevelsoul.com/#sls-schedule"]):focus-visible::before{animation:sls-platter-spin 1.8s linear infinite}
}

/* SLS archive player: remove theme focus fill, retain keyboard focus and playback colors. */
#hap-wrapper.hap-epic button.hap-contr-btn:focus,
#hap-wrapper.hap-epic button.hap-contr-btn:active {
  background-color: transparent;
}
#hap-wrapper.hap-epic button.hap-contr-btn:focus-visible {
  outline: 2px solid #454955;
  outline-offset: 2px;
}
#hap-wrapper.hap-epic .hap-playback-toggle .hap-btn-play svg {
  color: #777;
}
#hap-wrapper.hap-epic .hap-playback-toggle .hap-btn-pause svg {
  color: #60c8da;
}
@media (hover: hover) {
  #hap-wrapper.hap-epic .hap-playback-toggle:hover .hap-btn-play svg {
    color: #60c8da;
  }
}

/* SLS Mixcloud archive: portrait-only viewport scaling.
   Keep the complete official widget visible; do not hide its logo or controls.
   CSS zoom expands the iframe's internal viewport while preserving its
   displayed width and 200px height. No iframe reload or player commands. */
@supports (zoom: 0.55) {
  @media (max-width: 600px) and (orientation: portrait) {
    #sls-mixcloud-archive {
      --sls-mc-scale: 0.75;
      zoom: var(--sls-mc-scale);
      height: calc(200px / var(--sls-mc-scale));
    }
  }
  @media (max-width: 539px) and (orientation: portrait) {
    #sls-mixcloud-archive { --sls-mc-scale: 0.675; }
  }
  @media (max-width: 479px) and (orientation: portrait) {
    #sls-mixcloud-archive { --sls-mc-scale: 0.60; }
  }
  @media (max-width: 429px) and (orientation: portrait) {
    #sls-mixcloud-archive { --sls-mc-scale: 0.55; }
  }
  @media (max-width: 389px) and (orientation: portrait) {
    #sls-mixcloud-archive { --sls-mc-scale: 0.50; }
  }
  @media (max-width: 359px) and (orientation: portrait) {
    #sls-mixcloud-archive { --sls-mc-scale: 0.45; }
  }
}
