.profile-page.has-player{min-height:650px;flex-direction:column;gap:16px;padding-bottom:68px}
.profile-player{position:relative;z-index:2;flex:none;width:min(760px,100%);min-height:62px;display:grid;grid-template-columns:minmax(120px,.8fr) minmax(180px,1.5fr) minmax(80px,.4fr);align-items:center;gap:10px;padding:6px 10px;background:#090a0e;border:1px solid rgba(255,255,255,.16);border-radius:9px;color:#fff;box-shadow:0 14px 34px rgba(0,0,0,.3)}
.player-info{display:flex;align-items:center;gap:12px;min-width:0}.player-cover{display:block;flex:none;width:56px;height:56px;object-fit:cover;border-radius:5px;background:#24252b}.player-titles{display:flex;flex-direction:column;gap:4px;min-width:0}.player-titles strong{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.player-titles span{font-size:11px;color:#aeb0ba;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.player-center{display:flex;flex-direction:column;gap:7px;min-width:0}.player-controls{display:flex;align-items:center;justify-content:center;gap:16px;min-height:34px}.player-button{position:relative;display:grid;place-items:center;flex:none;width:30px;height:30px;padding:0;border:0;background:transparent;color:#b5b7c0}.player-button:hover,.player-button[aria-pressed=true]{color:#fff}.player-button:focus-visible{outline:2px solid var(--profile-accent);outline-offset:2px}.player-button[hidden]{display:none}.player-button.player-play{width:35px;height:35px;border-radius:50%;background:#fff;color:#0c0d11}.player-button.player-play:hover{background:var(--profile-accent);color:var(--accent-ink)}.player-button.player-play svg{width:18px;height:18px;fill:currentColor;stroke:none}.player-button.player-play[aria-label="Tạm dừng nhạc"] svg{fill:none;stroke:currentColor;stroke-width:2.5}.player-button[data-mode=one]::after{content:"1";position:absolute;margin:18px 0 0 12px;font-size:9px;font-weight:700}
.player-timeline{display:grid;grid-template-columns:31px minmax(0,1fr) 31px;align-items:center;gap:9px;font-size:10px;color:#c4c5ce;font-variant-numeric:tabular-nums}.player-timeline span:last-child{text-align:right}.player-timeline input,.player-volume input{width:100%;height:14px;margin:0;padding:0;border:0;accent-color:#fff;cursor:pointer}.player-volume{display:flex;align-items:center;gap:7px;justify-content:flex-end}.player-volume input{max-width:74px}.player-error{display:block;text-align:center;color:#ffc2ba;font-size:10px;line-height:1.2}.player-error[hidden]{display:none}
.profile-page .profile-enter{z-index:3}
@media(max-width:850px){.profile-player{grid-template-columns:minmax(150px,1fr) minmax(220px,1.4fr);gap:14px}.player-volume{display:none}}
@media(max-width:650px){.profile-page.has-player{min-height:720px;padding-bottom:215px}.profile-player{left:12px;right:12px;bottom:12px;min-height:168px;grid-template-columns:1fr;grid-template-rows:auto auto auto;gap:8px;padding:10px 12px;border-radius:10px}.player-cover{width:43px;height:43px}.player-titles strong{font-size:12px}.player-info{gap:9px}.player-center{display:contents}.player-controls{grid-column:1;grid-row:2;gap:12px}.player-controls .player-button{width:27px;height:27px}.player-controls .player-button.player-play{width:32px;height:32px}.player-timeline{grid-column:1;grid-row:3}.player-error{grid-column:1;grid-row:4}.preview-stage .profile-page.has-player{min-height:650px}.profile-page .profile-panel{max-width:100%}}

/* Compact music bar */
.player-cover{width:42px;height:42px}.player-info{gap:9px}.player-controls{gap:10px;min-height:28px}.player-button{width:26px;height:26px}.player-button.player-play{width:30px;height:30px}.player-timeline{gap:6px;font-size:9px}.player-volume input{max-width:58px}
.public-view .profile-page.has-player{min-height:100dvh}
@media(max-width:850px){.profile-player{grid-template-columns:minmax(130px,1fr) minmax(190px,1.3fr);gap:10px}}
@media(max-width:650px){.profile-page.has-player{min-height:680px;padding-bottom:170px}.profile-player{left:10px;right:10px;bottom:10px;min-height:132px;grid-template-columns:1fr;grid-template-rows:auto auto auto;gap:4px;padding:8px 10px}.player-cover{width:34px;height:34px}.player-info{gap:8px}.player-titles strong{font-size:11px}.player-titles span{font-size:10px}.player-controls{gap:9px}.player-controls .player-button{width:24px;height:24px}.player-controls .player-button.player-play{width:28px;height:28px}.player-timeline{font-size:9px}.preview-stage .profile-page.has-player{min-height:610px}}

@media(max-width:650px){.profile-player{left:auto;right:auto;bottom:auto;width:100%;min-height:120px;grid-template-columns:1fr;grid-template-rows:auto auto auto;gap:3px;padding:7px 9px}.profile-page.has-player{padding-bottom:68px}}
/* A compact player that follows the card instead of spanning the preview. */
.profile-page.has-player{gap:10px}
.profile-player{width:min(440px,100%);min-height:52px;grid-template-columns:minmax(90px,.9fr) minmax(150px,1.7fr) minmax(62px,.55fr);gap:8px;padding:5px 8px;border-radius:8px}
.player-cover{width:34px;height:34px}.player-info{gap:7px}.player-titles strong{font-size:11px}.player-titles span{font-size:9px}.player-controls{gap:7px;min-height:24px}.player-button{width:22px;height:22px}.player-button.player-play{width:26px;height:26px}.player-timeline{gap:4px;font-size:9px}.player-volume{gap:3px}.player-volume input{max-width:38px}
@media(max-width:850px){.profile-player{grid-template-columns:minmax(100px,.9fr) minmax(175px,1.6fr);gap:8px}}
@media(max-width:650px){.profile-player{width:100%;min-height:100px;grid-template-columns:1fr;grid-template-rows:auto auto auto;gap:2px;padding:6px 8px}.player-cover{width:30px;height:30px}.player-controls{gap:8px}.profile-page.has-player{gap:8px}}
