/* JLVD MUSIC v0.9.25: accessible share widget + contact page */
.jlvd-share,.jlvd-share *,.jlvd-contact-page,.jlvd-contact-page *{box-sizing:border-box}
.jlvd-share{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(19px,env(safe-area-inset-bottom));z-index:4500;font-family:inherit}
.jlvd-share-toggle{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:0 14px;background:#eeeae4;color:#090909;border:1px solid #eeeae4;font-weight:800;font-size:11px;letter-spacing:.12em;cursor:pointer;border-radius:0;box-shadow:0 8px 32px #000a}
.jlvd-share-toggle svg{width:18px;height:18px;flex:none}.jlvd-share-toggle:hover{background:#cfcac4}
.jlvd-share-panel[hidden]{display:none!important}
.jlvd-share-panel{position:absolute;bottom:calc(100% + 12px);right:0;background:#141414;border:1px solid #555;box-shadow:0 12px 45px #000d;min-width:220px;padding:12px;color:#eeeae4}
.jlvd-share-heading{font-size:10px;letter-spacing:.15em;color:#999;font-weight:700;padding:4px 7px 11px;white-space:nowrap}
.jlvd-share-panel a,.jlvd-share-panel button{display:block;box-sizing:border-box;width:100%;text-align:left;padding:11px 9px;color:#eeeae4;border:0;border-top:1px solid #303030;background:transparent;text-decoration:none;cursor:pointer;font-family:inherit;font-size:11px;letter-spacing:.08em;font-weight:750}
.jlvd-share-panel a:hover,.jlvd-share-panel button:hover{background:#262626;color:#fff}
.jlvd-share-status{font-size:11px;color:#bcbcbc;padding:0 7px;margin:6px 0 0}
.jlvd-contact-page{padding-top:clamp(40px,6vw,80px);padding-bottom:clamp(55px,8vw,120px);max-width:900px}
.jlvd-contact-intro{border-bottom:1px solid #444;padding-bottom:29px;margin-bottom:35px}
.jlvd-contact-intro h1{font-size:clamp(46px,8vw,92px);line-height:1;margin:17px 0 13px;overflow-wrap:anywhere}
.jlvd-contact-intro p{font-size:clamp(15px,2vw,20px);line-height:1.5;color:#bcbcbc;max-width:660px}
.jlvd-contact-form{display:grid;gap:24px;max-width:760px}
.jlvd-contact-form label{display:flex;flex-direction:column;gap:10px;font-size:11px;font-weight:700;letter-spacing:.13em;color:#aaa}
.jlvd-contact-form input,.jlvd-contact-form textarea{display:block;width:100%;box-sizing:border-box;min-width:0;background:#101010;border:1px solid #555;color:#f1f0ee;border-radius:0;font:400 16px/1.45 Arial,sans-serif;letter-spacing:normal;padding:15px;outline-offset:2px;resize:vertical}
.jlvd-contact-form input:focus,.jlvd-contact-form textarea:focus{border-color:#eee}
.jlvd-contact-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.jlvd-contact-foot{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.jlvd-contact-foot span{font-size:12px;color:#999}
.jlvd-contact-trap{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.jlvd-contact-notice{border:1px solid #626262;padding:17px;margin:20px 0;color:#eee;font-size:13px;letter-spacing:.06em}
.jlvd-contact-notice.is-error{border-color:#a66}
@media(max-width:560px){.jlvd-contact-cols{grid-template-columns:minmax(0,1fr)}.jlvd-share{bottom:max(13px,env(safe-area-inset-bottom));right:max(13px,env(safe-area-inset-right))}.jlvd-share-toggle{min-height:48px;padding:0 14px}.jlvd-share-panel{min-width:200px}}
/* Avoid covering the PWA installation prompt. */
body:has(.jlvd-pwa-banner:not([hidden])) .jlvd-share{bottom:180px}

/* v0.9.26: branded, responsive 404 and contact submission state */
.jlvd-error-page{min-height:clamp(500px,calc(100svh - 165px),790px);display:flex;align-items:center;position:relative;overflow:hidden;border-bottom:1px solid #292929;background:radial-gradient(ellipse at 14% 50%,#181818 0,#090909 58%)}
.jlvd-error-layout{width:100%;display:grid;grid-template-columns:minmax(0,.87fr) minmax(0,1.13fr);align-items:center;gap:clamp(28px,4vw,78px);padding-block:clamp(55px,7vw,105px)}
.jlvd-error-number{position:relative;min-width:0;font-family:var(--head);font-size:clamp(145px,21vw,360px);font-weight:900;line-height:.75;letter-spacing:-.065em;color:#262626;white-space:nowrap;user-select:none}
.jlvd-error-number span{display:block;font-family:var(--body);font-size:10px;letter-spacing:.22em;font-weight:750;line-height:1.6;color:#707070;margin-top:24px;margin-left:5px}
.jlvd-error-copy{position:relative;z-index:1;min-width:0}.jlvd-error-copy h1{font-size:clamp(52px,6vw,108px);line-height:.86;margin:19px 0 26px;overflow-wrap:break-word}.jlvd-error-copy p{font-size:clamp(15px,1.55vw,19px);line-height:1.55;max-width:490px;color:#aaa;margin-bottom:29px}.jlvd-error-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.jlvd-error-actions .btn{min-height:48px;padding:13px 19px;white-space:normal;text-align:center}.jlvd-error-bottom{border-top:1px solid #353535;margin-top:40px;padding-top:14px;font-size:10px;letter-spacing:.15em;font-weight:700;color:#737373}
.jlvd-contact-form[hidden],.jlvd-contact-success[hidden],.jlvd-contact-ajax-error[hidden]{display:none!important}
.jlvd-contact-success{padding:clamp(25px,5vw,46px);border:1px solid #575757;background:#141414;max-width:760px;margin-block:28px 44px}.jlvd-contact-success-mark{width:44px;height:44px;border:1px solid #b9b9b9;display:grid;place-items:center;margin-bottom:20px;color:#eee;font-size:24px}.jlvd-contact-success h2{font-size:clamp(34px,5vw,58px);line-height:.95;margin:0 0 15px}.jlvd-contact-success p{font-size:15px;line-height:1.5;max-width:470px;color:#aaa}.jlvd-contact-success .btn{margin-top:9px}
.jlvd-contact-ajax-error{border:1px solid #a66;padding:14px 16px;margin:12px 0;color:#f4dddd;font-size:13px}
.jlvd-contact-form.is-submitting{pointer-events:none}.jlvd-contact-form.is-submitting button[type="submit"]{opacity:.8;cursor:wait}
@media(max-width:780px){.jlvd-error-page{min-height:0}.jlvd-error-layout{grid-template-columns:1fr;padding-block:clamp(44px,8vw,70px);gap:32px}.jlvd-error-number{font-size:clamp(150px,35vw,270px)}.jlvd-error-number span{margin-top:13px}.jlvd-error-copy h1{font-size:clamp(52px,11vw,78px);margin-bottom:22px}.jlvd-error-actions .btn{flex:1 1 auto}}
@media(max-width:390px){.jlvd-error-number{font-size:clamp(128px,34vw,150px)}.jlvd-error-actions{display:grid;grid-template-columns:1fr}.jlvd-error-actions .btn{width:100%}}

/* Mobile / tablet drawer: music platforms followed by the live station panel. */
.jlvd-mobile-platform-links{display:none}
@media(max-width:1060px){
 .jlvd-mobile-platform-links{display:grid;gap:5px;margin-top:7px;padding-top:21px;border-top:1px solid var(--line)}
 .jlvd-mobile-platform-link{display:flex;align-items:center;gap:13px;min-height:44px;font-size:12px;letter-spacing:.12em;font-weight:800;color:#c9c9c9}
 .jlvd-mobile-platform-link:hover,.jlvd-mobile-platform-link:focus-visible{color:#fff}
 .jlvd-mobile-platform-icon{width:19px;height:19px;flex:none;background-color:currentColor;mask-repeat:no-repeat;mask-position:center;mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:contain}
 .jlvd-mobile-platform-icon--soundcloud{mask-image:url('/assets/icon-soundcloud.svg');-webkit-mask-image:url('/assets/icon-soundcloud.svg')}
 .jlvd-mobile-platform-icon--audius{mask-image:url('/assets/icon-audius.svg');-webkit-mask-image:url('/assets/icon-audius.svg')}
 .jlvd-mobile-platform-icon--tiktok{mask-image:url('/assets/icon-tiktok.svg');-webkit-mask-image:url('/assets/icon-tiktok.svg')}
 .jlvd-mobile-platform-arrow{margin-left:auto;color:#858585;font-size:15px}
}
/* Sharing destinations: compact inline brand icons using the existing panel. */
.jlvd-share-panel a[data-share-service]{display:flex;align-items:center;gap:12px}
.jlvd-share-brand-icon{display:inline-flex;width:18px;height:18px;align-items:center;justify-content:center;flex:none}
.jlvd-share-brand-icon svg{display:block;width:14px;height:14px;fill:currentColor}
.jlvd-share-panel button[data-share-action]{display:flex;align-items:center;gap:12px}
.jlvd-share-action-icon{display:inline-flex;width:18px;height:18px;align-items:center;justify-content:center;flex:none}
.jlvd-share-action-icon svg{display:block;width:14px;height:14px;fill:none;stroke:currentColor}
/* About page: separate the description section from the platform marquee. */
.section.container.about{border-bottom:1px solid var(--line)}

/* Inline BACKSTAGE edit shortcut for signed-in admins on release detail pages. */
.jlvd-release-crumb{align-items:center;flex-wrap:wrap}
.jlvd-release-admin-edit{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:27px;padding:5px 9px;margin-left:5px;border:1px solid #454545;background:#171717;color:#c9c9c9;font:700 10px/1 var(--body);letter-spacing:.09em;text-decoration:none;white-space:nowrap;transition:background .2s,color .2s,border-color .2s}
.jlvd-release-admin-edit svg{display:block;width:13px;height:13px;flex:none}
.jlvd-release-admin-edit:hover{background:#eeeae4;border-color:#eeeae4;color:#090909!important}
.jlvd-release-admin-edit:focus-visible{outline:2px solid #eeeae4;outline-offset:3px}

/* Clear progress feedback for MP3 uploads and contact messages. */
.jlvd-contact-upload-progress[hidden]{display:none!important}
.jlvd-contact-upload-progress{border:1px solid #4e5553;background:#151919;max-width:760px;padding:18px 20px;margin:0 0 14px}
.jlvd-contact-upload-progress-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:11px;letter-spacing:.1em;color:#e6e9e8}
.jlvd-contact-upload-progress-head strong{font-weight:800}
.jlvd-contact-upload-progress-head>[data-contact-progress-percent]{margin-left:auto;font-weight:900;font-variant-numeric:tabular-nums}
.jlvd-contact-upload-spinner{width:18px;height:18px;border:2px solid #525a58;border-top-color:#f1f1f1;border-radius:50%;animation:jlvd-contact-spin .7s linear infinite;flex:none}
.jlvd-contact-upload-track{height:5px;background:#343b38;margin-top:14px;overflow:hidden}
.jlvd-contact-upload-track span{display:block;height:100%;width:0;background:#e5e8e6;transition:width .15s linear}
.jlvd-contact-upload-progress p{font-size:11px;line-height:1.5;color:#9ca5a2;margin:12px 0 0}
@keyframes jlvd-contact-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.jlvd-contact-upload-spinner{animation:none}}

/* Mobile station overview under streaming links; populated from /radio/api/overview. */
.jlvd-mobile-radio-panel{display:none}
@media(max-width:1060px){
 .site-header .nav{max-height:calc(100dvh - 90px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
 .jlvd-mobile-radio-panel{display:block;margin-top:19px;padding:19px 0 0;border-top:1px solid #363636;min-width:0}
 .jlvd-mobile-radio-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
 .jlvd-mobile-radio-heading>span{display:inline-flex;align-items:center;gap:10px;font-size:11px;font-weight:900;letter-spacing:.13em;color:#f2f0eb}
 .jlvd-mobile-radio-heading>a{color:#aaa;font-size:10px;line-height:1.2;font-weight:800;letter-spacing:.07em;white-space:nowrap}
 .jlvd-mobile-radio-heading>a:hover,.jlvd-mobile-radio-heading>a:focus-visible{color:#fff}
 .jlvd-mobile-radio-stations{display:grid;gap:7px;min-width:0}
 .jlvd-mobile-radio-status{border:1px solid #353535;background:#151515;color:#999;font-size:12px;line-height:1.5;margin:0;padding:15px}
 .jlvd-mobile-radio-card{display:block;min-width:0;border:1px solid #333;padding:13px 15px;color:#eee;transition:background .2s,border-color .2s}
 .jlvd-mobile-radio-card:hover,.jlvd-mobile-radio-card:focus-visible{background:transparent;border-color:#888;color:#fff}
 .jlvd-mobile-radio-card-head{display:flex;align-items:center;gap:9px;min-width:0}
 .jlvd-mobile-radio-card-name{flex:1;min-width:0;font:800 13px/1.3 var(--body);letter-spacing:.04em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .jlvd-mobile-radio-card-audience{font:800 10px/1.2 var(--body);color:#c5c5c5;white-space:nowrap;font-variant-numeric:tabular-nums}
 .jlvd-mobile-radio-card-audience span{font-size:9px;color:#959595}
 .jlvd-mobile-radio-track{display:flex;align-items:baseline;gap:9px;min-width:0;margin:8px 0 0 17px;color:#b2b2b2;font-size:11px;line-height:1.4}
 .jlvd-mobile-radio-track-label{font-size:9px;font-weight:800;letter-spacing:.075em;color:#777;white-space:nowrap}
 .jlvd-mobile-radio-track-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
@media(max-width:780px){.site-header .nav{max-height:calc(100dvh - 70px)}}
@media(prefers-reduced-motion:reduce){.jlvd-mobile-radio-card{transition:none}}


/* 0041: Restore the fully opaque drawer and dim ONLY the page behind it.
   The overlay is below the open header/drawer but above the floating radio bar. */
@media (max-width:1060px) {
  .site-header .nav.open {
    background: #0e0e0e;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9920;
    background: rgb(0 0 0 / 90%);
    pointer-events: auto;
  }
  body.menu-open .site-header {
    z-index: 9921;
  }
}
