/*-------------------------------------------------------------------
 * software: .... KM Play - Music player
 * version:  .... 1.0.0
 * content:  .... Responsive embedded audio preview card
 * author :  .... Donato Poggi, 2026
 * license:  .... Proprietary - All rights reserved
 * framework: ... © Aetheros PHP Framework by Donato Poggi
 *-------------------------------------------------------------------*/
.cover{height:auto}
:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:transparent;color:#f9f5fc}button,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #ff9bc7;outline-offset:3px}.embed{min-height:100vh;padding:20px 23px 17px;border:1px solid #68415e;border-radius:22px;background:radial-gradient(circle at 11% 42%,#6530449c 0,transparent 36%),linear-gradient(115deg,#261327,#20172d 55%,#1c1a32);box-shadow:inset 0 1px #ffffff1b;display:flex;flex-direction:column;justify-content:space-between;gap:14px;overflow:hidden}.embed-main{display:grid;grid-template-columns:clamp(115px,24%,185px) minmax(0,1fr);gap:22px;min-width:0}.cover{width:100%;aspect-ratio:1;object-fit:cover;border-radius:13px}.content{min-width:0;position:relative;padding-right:100px}.powered{position:absolute;top:0;right:0;display:flex;align-items:center;gap:5px;color:#d7cbda;font-size:11px;white-space:nowrap}.powered img{width:36px;height:36px;object-fit:contain}.artist{margin:2px 0 3px;color:#d1c6d9;font-size:clamp(12px,1.7vw,16px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}h1{font-size:clamp(18px,3vw,32px);line-height:1.14;letter-spacing:-.025em;margin:0 0 9px;max-width:95%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.badges{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 14px}.premiere,.duration-badge{display:inline-flex;align-items:center;height:24px;border-radius:7px;padding:0 9px;font-size:11px;font-weight:700;white-space:nowrap}.premiere{color:#ffd184;background:#39231f;border:1px solid #d9a24b;letter-spacing:.02em}.duration-badge{color:#e7dfe9;background:#ffffff1b;border:1px solid #ffffff39}.controls{display:flex;align-items:center;gap:11px;min-width:0}.play{width:49px;height:49px;flex:none;display:grid;place-items:center;border:0;border-radius:50%;color:#22132a;background:linear-gradient(145deg,#ffabc0,#ff8f55)}.play svg{width:25px;height:25px;fill:currentColor}.play .pause-icon{display:none}.play.is-playing .play-icon{display:none}.play.is-playing .pause-icon{display:block}.time{font-size:12px;color:#ddd2e2;white-space:nowrap}#seek{min-width:20px;flex:1;accent-color:#ff3e93;cursor:pointer}.share{display:grid;place-items:center;flex:none;background:transparent;color:#efe7f1;border:0;padding:8px}.share svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.footer{border-top:1px solid #ffffff30;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.footer p{min-width:0;margin:0;display:flex;align-items:center;gap:9px;color:#cec3d4;font-size:clamp(10px,1.5vw,13px)}.footer strong{color:#fff;font-size:clamp(11px,1.6vw,14px)}.headphones{width:21px;height:21px;flex:none;color:#ff3e93}.separator{color:#7e6d88}.open{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:none;padding:8px 13px;border:1px solid #ff3e93;border-radius:999px;color:#fff;text-decoration:none;font-size:12px;font-weight:700;white-space:nowrap;background:#ff3e9312}.open:hover{background:#ff3e9329}.open svg{width:15px;height:15px}audio{display:none}@media(max-width:540px){.embed{padding:12px;border-radius:13px;gap:9px}.embed-main{grid-template-columns:82px minmax(0,1fr);gap:11px}.cover{border-radius:8px}.content{padding-right:0}.powered{display:none}.artist{font-size:11px}h1{font-size:15px;margin-bottom:5px;-webkit-line-clamp:1}.badges{gap:4px;margin-bottom:6px}.premiere,.duration-badge{height:19px;padding:0 5px;font-size:9px}.controls{gap:5px}.play{width:30px;height:30px}.play svg{width:16px;height:16px}.time{font-size:10px}.share{padding:4px}.share svg{width:16px;height:16px}.footer{padding-top:8px}.footer p{display:block;line-height:1.25}.footer .headphones,.footer .separator,.footer p>span:last-child{display:none}.open{padding:6px 9px;font-size:10px}.open svg{width:12px;height:12px}}@media(max-width:350px){.embed-main{grid-template-columns:68px minmax(0,1fr)}.duration-badge{display:none}.share{display:none}.footer strong{font-size:10px}.open{font-size:9px;padding:5px 7px}}
@media(max-width:540px){.powered{display:flex;top:-3px;right:0;font-size:11px;gap:5px}.powered img{width:34px;height:34px}.artist{padding-right:120px}}
@media(max-width:540px){.footer p{display:flex;flex-wrap:wrap;align-items:center;gap:2px 7px}.footer p>span:last-child{display:inline}.footer .separator{display:inline}}@media(max-width:400px){.footer .separator{display:none}}
#share-fallback{width:min(360px,calc(100vw - 20px));max-height:calc(100vh - 16px);padding:14px;border:1px solid #80547b;border-radius:12px;background:#251b30;color:#fff;box-shadow:0 10px 35px #000b}#share-fallback::backdrop{background:#090512bd}#share-fallback strong{display:block;font-size:14px;margin-bottom:9px}#share-url{width:100%;min-width:0;padding:7px;border:1px solid #6d5271;border-radius:7px;background:#15111d;color:#fff;font-size:11px}#share-fallback>div{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}#share-fallback button{padding:6px 10px;border:1px solid #9a5a83;border-radius:999px;background:transparent;color:#fff;font-size:11px}#share-copy{background:#b82c72!important;border-color:#b82c72!important}
