/* Copyright (c) 2026 Ed McBryde. All rights reserved. Proprietary and confidential. Unauthorized copying, modification, distribution or use of this file, via any medium, is strictly prohibited. */
/* Mo'zMuzik, 1 Dec 2026: "Free. No membership." badge, a playlist from one sentence, Compact mode. Same look as styles.css. */

/* Free, no membership badge */
.free{display:inline-block;background:#1ed760;color:#000;font-weight:800;font-size:14px;border-radius:999px;padding:4px 12px;margin:0 0 10px;letter-spacing:0;line-height:1.3}
.free.big{font-size:17px;padding:6px 16px;margin:0 0 22px}
.hfree{margin:10px 0 0}
#spnav .free.side{display:none}
@media (min-width:1000px){#spnav .free.side{display:inline-block;align-self:flex-start;margin:0 12px 12px;font-size:13px}.hfree{display:none}}

/* A playlist from one sentence */
form.aif{display:block;margin:6px 0 14px;padding:14px;border-radius:12px;background:linear-gradient(135deg,#5038a0,#1e3264 60%,#0d7a5f)}
.aif .aih{display:block;font-weight:800;font-size:17px;margin:0 0 10px}
.aif .air{display:flex;gap:8px}
.aif .air input{flex:1;min-width:0;background:#121212cc}
.aif .air button{background:#1ed760;color:#000;flex:none}
.aif .aist{margin:8px 2px 0;color:#ddd;font-size:13px}
#sai form.aif{margin:4px 0 12px}
.dsave{padding:0 16px 10px;margin:0}

/* Compact mode: a small corner player */
#bcompact{display:block;margin:8px 0 0;min-height:34px;padding:5px 14px;font-size:13px}
html.compact body{padding-bottom:0}
html.compact .wrap{display:block}
html.compact .wrap::before{content:"Compact mode · make this window small, or install the app and it moves to the corner by itself";position:fixed;left:50%;top:40%;transform:translateX(-50%);width:min(420px,80vw);text-align:center;color:#6a6a6a;font-size:14px;pointer-events:none}
@media (max-width:520px){html.compact .wrap::before{display:none}}
html.compact .wrap>.pane,html.compact #spnav,html.compact #msg{display:none!important}
html.compact #pz{position:fixed;top:auto;left:auto;right:12px;bottom:calc(84px + env(safe-area-inset-bottom));width:min(380px,calc(100vw - 24px));z-index:99999;padding:10px;background:#181818;border-radius:12px;box-shadow:0 10px 40px rgba(0,0,0,.7)}
html.compact #pz::before{display:none}
html.compact #pbox{min-height:200px;min-width:200px}
html.compact #now{display:block;font-size:14px;font-weight:700;margin:8px 2px 0}
html.compact #bcompact{margin:8px 0 0}
html.compact #spbar{left:auto;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));width:min(380px,calc(100vw - 24px));height:64px;border-radius:10px;padding:0 10px;background:#2b2b2b;gap:8px;box-shadow:0 6px 20px rgba(0,0,0,.5)}
html.compact #spbar .tt{flex:1 1 auto}
html.compact #spbar .c{flex:none;gap:2px;justify-content:flex-end}
html.compact #spbar .c button{width:36px;min-height:36px;font-size:18px}
html.compact #spbar img{width:42px;height:42px}
html.compact #spbar .pg{position:absolute;left:10px;right:10px;bottom:3px;height:3px;flex:none}
html.compact #spbar .tm{display:none}
