:root{color-scheme:dark}*{box-sizing:border-box}body{margin:0;background:#151715;color:#f4f2ed;font:16px Arial,sans-serif}main{max-width:1000px;margin:auto;padding:24px 20px 180px}header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:28px}header img{width:140px;border-radius:6px}a{color:#e2c486}h1{font-size:36px;margin:10px 0}h2{font-size:24px}.muted,small{color:#b8b9b5;line-height:1.5}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}.card,form,.panel{background:#222622;border:1px solid #3d423b;border-radius:16px;padding:20px}.card img{width:100%;aspect-ratio:1;object-fit:contain;border-radius:10px;background:#fff}.card h3{margin:16px 0 8px}button,.button{display:inline-block;background:#e2c486;color:#151715;border:0;padding:12px 16px;border-radius:9px;font:bold 15px Arial;cursor:pointer;text-decoration:none}button:disabled{background:#3b4039;color:#c3c5be;cursor:default}.secondary{background:transparent;border:1px solid #747a6d;color:#f4f2ed}input,select,textarea{width:100%;padding:12px;background:#151715;border:1px solid #61685a;border-radius:8px;color:#fff;font:16px Arial}label{display:block;margin:16px 0 7px}label.check{display:flex;align-items:center;gap:10px}input[type=checkbox]{width:22px;height:22px}form{margin:20px 0}form button{margin-top:18px}#message{white-space:pre-wrap;color:#e2c486}.track{display:flex;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid #3d423b}.track img{width:64px;height:64px;object-fit:contain;background:#fff;border-radius:7px}.track .info{flex:1}.track h3{font-size:17px;margin:0 0 6px}.player{position:fixed;bottom:0;left:0;right:0;background:#222622;border-top:1px solid #61685a;padding:12px 20px max(12px,env(safe-area-inset-bottom));z-index:3}.player-inner{max-width:1000px;margin:auto;display:flex;gap:16px;align-items:center}.player img{width:60px;height:60px;object-fit:contain;background:#fff;border-radius:7px}.player audio{width:100%;margin-top:6px}.player .info{flex:1;min-width:0}.credits{font-size:12px;text-align:right;max-width:360px;margin:40px 0 0 auto;color:#b8b9b5;line-height:1.5}[hidden]{display:none!important}.album-heading{display:flex;gap:20px;align-items:center}.album-heading img{width:150px;height:150px;object-fit:contain;background:#fff;border-radius:10px}.actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.row{display:flex;gap:10px;align-items:center;justify-content:space-between;margin:8px 0}.row button{padding:8px}.help{font-size:14px;color:#b8b9b5;line-height:1.5}@media(max-width:500px){h1{font-size:29px}.album-heading img{width:100px;height:100px}.track{flex-wrap:wrap}.track button{margin-left:78px}header img{width:110px}}

.track img{width:120px;height:120px;flex-shrink:0;cursor:zoom-in;background:transparent}
.player img{width:84px;height:84px;flex-shrink:0;cursor:zoom-in;background:transparent}
.card img,.album-heading img{cursor:zoom-in;background:transparent}
.cover-dialog{border:1px solid #61685a;border-radius:14px;background:#151715;padding:48px 12px 12px;max-width:94vw;max-height:92vh;max-height:92dvh;overflow:auto}
.cover-dialog::backdrop{background:rgba(0,0,0,.88)}
.cover-dialog>button{position:absolute;right:10px;top:8px;font-size:24px;padding:4px 12px}
.cover-dialog>img{display:block;max-width:86vw;max-height:76vh;max-height:76dvh;width:auto;height:auto;object-fit:contain}
@media(max-width:500px){.track img{width:100px;height:100px}.track button{margin-left:0}.player-inner{gap:10px}.player img{width:72px;height:72px}}

/* Capas MDD em 16:9 */
.card img{aspect-ratio:16/9;height:auto}
.track img{width:224px;height:126px;aspect-ratio:16/9}
.album-heading img{width:288px;height:162px;aspect-ratio:16/9;flex-shrink:0}
.player img{width:160px;height:90px;aspect-ratio:16/9}
.track .info{min-width:0;overflow-wrap:anywhere}
@media(max-width:650px){.track{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.track img{width:100%;height:auto;aspect-ratio:16/9}.track button{margin-left:0;justify-self:start}.album-heading{flex-direction:column;align-items:flex-start}.album-heading img{width:100%;height:auto;aspect-ratio:16/9}.player-inner{flex-wrap:wrap;gap:10px}.player img{width:128px;height:72px}.player .info{flex:1;min-width:130px}main{padding-bottom:240px}}
