/* 071: whole cover, readable titles, no floating header over artwork. */
html[data-theme] #full.ritm-player-pro{padding:calc(12px + env(safe-area-inset-top,0px)) 20px calc(20px + env(safe-area-inset-bottom,0px));background:var(--bg);isolation:isolate;}
html[data-theme] #full.ritm-player-pro>.amb{position:fixed;inset:-12%;width:124%;height:124%;opacity:.32;filter:blur(70px) saturate(.8) brightness(.5);z-index:-1;pointer-events:none;transform:translateZ(0)}
html[data-theme=light] #full.ritm-player-pro>.amb{opacity:.16;filter:blur(70px) saturate(.7)}
html[data-theme] #full.ritm-player-pro>.top{position:relative;flex-shrink:0;background:none;box-shadow:none;border:0;backdrop-filter:none;border-radius:0;padding:0;margin:0 0 24px;min-height:48px;width:100%;max-width:640px}
html[data-theme] #full.ritm-player-pro>.top #cl{border:0;background:transparent;min-width:44px;min-height:44px;padding:8px;font-size:0}
html[data-theme] #full.ritm-player-pro>.top #cl span{display:none}
html[data-theme] #full.ritm-player-pro>.top small{letter-spacing:2px;font-size:11px}
html[data-theme] #full.ritm-player-pro>.art{width:100%;max-width:640px;height:auto;max-height:none;aspect-ratio:1;object-fit:contain;border-radius:18px;border:1px solid #ffffff12;margin:0;flex-shrink:0;box-shadow:0 20px 50px #0002}
html[data-theme] #full.ritm-player-pro>.meta{width:100%;max-width:640px;margin:28px 0 18px}
html[data-theme] #full.ritm-player-pro #ft{font-size:clamp(24px,6vw,36px);line-height:1.15;letter-spacing:-.7px;margin:0;overflow-wrap:anywhere}
html[data-theme] #full.ritm-player-pro #fa{font-size:17px;margin:10px 0 0;color:var(--mu);line-height:1.4}
html[data-theme] #full.ritm-player-pro>.act{display:flex;justify-content:flex-start;flex-wrap:nowrap;width:100%;max-width:640px;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;margin:0 0 14px;padding:3px 1px 8px;min-height:54px;flex-shrink:0;}
html[data-theme] #full.ritm-player-pro>.act::-webkit-scrollbar{display:none}
html[data-theme] #full.ritm-player-pro>.act button{flex:0 0 auto;width:auto;min-width:46px;min-height:46px;border-radius:25px;padding:10px 14px;display:flex;flex-direction:row;gap:8px;font-size:13px;font-weight:650;background:color-mix(in srgb,var(--card) 88%,transparent);color:var(--tx);border:1px solid var(--ui-border);white-space:nowrap}
html[data-theme] #full.ritm-player-pro>.act #hrt,html[data-theme] #full.ritm-player-pro>.act #player-dislike{width:46px;padding:10px;justify-content:center}
html[data-theme] #full.ritm-player-pro>.act svg{height:21px;width:21px;flex-shrink:0}
html[data-theme] #full.ritm-player-pro>.act [aria-pressed=true]{color:var(--rhythm);border-color:var(--rhythm);background:color-mix(in srgb,var(--rhythm) 14%,var(--card))}
html[data-theme] #full.ritm-player-pro>.bar,html[data-theme] #full.ritm-player-pro>.ctl,html[data-theme] #full.ritm-player-pro>canvas,html[data-theme] #full.ritm-player-pro>.lb{max-width:640px;width:100%}
html[data-theme] #full.ritm-player-pro>canvas{height:44px;margin:0 0 10px;flex-shrink:0}
html[data-theme] #full.ritm-player-pro>.ctl{gap:12px;margin:12px 0 8px;justify-content:space-between}
html[data-theme] #full.ritm-player-pro>.ctl .ib{background:transparent;border:0;width:48px;height:48px;padding:10px;color:var(--tx)}
html[data-theme] #full.ritm-player-pro>.ctl #pp{width:78px;height:78px;background:var(--rhythm);color:white;box-shadow:0 8px 30px color-mix(in srgb,var(--rhythm) 25%,transparent);flex-shrink:0}
html[data-theme] #full.ritm-player-pro>.ctl #pp svg{width:32px;height:32px}
html[data-theme] #full.ritm-player-pro .player-queue-handle{max-width:640px;margin-top:12px}
html[data-theme] .ritm-share-pro{justify-content:flex-end;padding:0;backdrop-filter:blur(5px)}
html[data-theme] .ritm-share-pro .share-panel{width:100%;max-width:640px;border-radius:26px 26px 0 0;margin:0;padding:22px 20px calc(24px + env(safe-area-inset-bottom,0px));max-height:85dvh;overflow:auto;text-align:left}
html[data-theme] .ritm-share-pro .share-actions{display:flex;gap:12px;overflow:auto;flex-wrap:nowrap;scrollbar-width:thin;padding-bottom:8px}
html[data-theme] .ritm-share-pro .share-actions>*{min-width:105px;flex:0 0 auto}
html[data-theme] .clean-queue-row.is-playing{background:var(--card);border-color:var(--active-red)}
@media(min-width:860px) and (min-height:600px){html[data-theme] #full.ritm-player-pro.open{grid-template-columns:minmax(320px,600px) minmax(300px,480px);grid-template-rows:auto auto auto 48px auto auto auto auto;gap:14px 48px;align-content:center}html[data-theme] #full.ritm-player-pro>.top{grid-column:1/-1;max-width:none;margin-bottom:12px}html[data-theme] #full.ritm-player-pro>.art{grid-column:1;grid-row:2/9;align-self:center}html[data-theme] #full.ritm-player-pro>.meta{grid-column:2;grid-row:2;margin:0}html[data-theme] #full.ritm-player-pro>.act{grid-column:2;grid-row:3}html[data-theme] #full.ritm-player-pro>canvas{grid-column:2;grid-row:4}html[data-theme] #full.ritm-player-pro>.bar{grid-column:2;grid-row:5}html[data-theme] #full.ritm-player-pro>.ctl{grid-column:2;grid-row:6}html[data-theme] #full.ritm-player-pro>.lb{grid-column:2;grid-row:7}html[data-theme] #full.ritm-player-pro>.player-queue-handle{grid-column:2;grid-row:8}}
@media(prefers-reduced-motion:reduce){html[data-theme] #full.ritm-player-pro .amb{transform:none}}
html[data-theme] #ov.share-overlay.ritm-share-pro{justify-content:flex-end;padding:0}
html[data-theme] #ov.share-overlay.ritm-share-pro .share-social-grid{display:flex;justify-content:flex-start;gap:14px;margin:18px 0}
html[data-theme] #ov.share-overlay.ritm-share-pro .share-network{flex:1;min-width:0;border-radius:16px}
html[data-theme] #full.ritm-player-pro>.amb{inset:0;width:100%;height:100%}
html[data-theme] #full.ritm-player-pro>.ctl{gap:6px}
html[data-theme] #full.ritm-player-pro>.ctl .ib{width:44px;min-width:44px;flex-shrink:0}
@media(max-width:360px){html[data-theme] #full.ritm-player-pro>.ctl{gap:4px}html[data-theme] #full.ritm-player-pro>.ctl #pp{width:68px;height:68px;min-width:68px}}
/* 073 — phone viewport: keep playback controls together and within the screen width. */
@media(max-width:859px){
html[data-theme] #full.ritm-player-pro{padding:calc(10px + env(safe-area-inset-top,0px)) 18px calc(16px + env(safe-area-inset-bottom,0px));scroll-padding-top:12px;scroll-padding-bottom:24px}
html[data-theme] #full.ritm-player-pro>.top{min-height:44px;margin-bottom:12px}
html[data-theme] #full.ritm-player-pro>.art{width:min(100%,max(230px,calc(100dvh - 470px)));max-width:520px;align-self:center}
html[data-theme] #full.ritm-player-pro>.meta{margin:18px 0 12px;max-width:520px}
html[data-theme] #full.ritm-player-pro #ft{font-size:clamp(22px,5.8vw,29px);line-height:1.2}
html[data-theme] #full.ritm-player-pro #fa{font-size:15px;margin-top:7px}
html[data-theme] #full.ritm-player-pro>.act{max-width:520px;min-height:50px;margin-bottom:8px;gap:8px;padding-bottom:4px}
html[data-theme] #full.ritm-player-pro>canvas{height:28px;max-width:520px;margin:0 0 6px}
html[data-theme] #full.ritm-player-pro>.bar{max-width:520px;margin:6px 0 10px;gap:10px}
html[data-theme] #full.ritm-player-pro>.ctl{max-width:520px;margin:4px 0 8px;gap:4px}
html[data-theme] #full.ritm-player-pro>.ctl #pp{width:72px;height:72px;min-width:72px}
html[data-theme] #full.ritm-player-pro>.player-queue-handle{margin-top:8px;min-height:62px;padding-top:8px;padding-bottom:calc(8px + env(safe-area-inset-bottom,0px));max-width:520px}
html[data-theme] #full.ritm-player-pro>.player-queue-handle span{font-size:13px}
html[data-theme] #full.ritm-player-pro>.player-queue-handle small{font-size:10px}
}
@media(max-width:360px){html[data-theme] #full.ritm-player-pro>.ctl #pp{width:66px;height:66px;min-width:66px}html[data-theme] #full.ritm-player-pro>.ctl .ib{min-width:42px;width:42px}}

/* 077: larger controls in two uncluttered rows. */
html[data-theme] #full.ritm-player-pro>canvas{display:none!important}
html[data-theme] #full.ritm-player-pro>.ctl{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;justify-items:center;gap:4px;margin:12px 0}
html[data-theme] #full.ritm-player-pro>.ctl .ib{width:48px;min-width:0;height:56px;padding:8px}
html[data-theme] #full.ritm-player-pro>.ctl .ib svg{width:30px;height:30px}
html[data-theme] #full.ritm-player-pro>.ctl #pp{width:72px;min-width:0;height:72px;padding:16px}
html[data-theme] #full.ritm-player-pro>.ctl #pp svg{width:36px;height:36px}
html[data-theme] #full.ritm-player-pro>.player-secondary-controls{display:flex;justify-content:center;gap:28px;width:100%;max-width:520px;margin:0 0 12px;flex-shrink:0}
html[data-theme] #full.ritm-player-pro>.player-secondary-controls .ib{width:52px;height:52px;padding:12px;background:transparent;border:0;color:var(--tx)}
html[data-theme] #full.ritm-player-pro>.player-secondary-controls svg{width:28px;height:28px}
html[data-theme] #full.ritm-player-pro>.act svg{width:26px;height:26px}
@media(min-width:860px) and (min-height:600px){html[data-theme] #full.ritm-player-pro>.player-secondary-controls{grid-column:2;grid-row:7}html[data-theme] #full.ritm-player-pro>.lb{grid-row:8}html[data-theme] #full.ritm-player-pro>.player-queue-handle{grid-row:9}}
@media(max-width:360px){html[data-theme] #full.ritm-player-pro>.ctl #pp{width:62px;height:62px;padding:13px}}
html[data-theme] #full.ritm-player-pro>.ctl>.ib{order:0;grid-row:1}
html[data-theme] #full.ritm-player-pro>.ctl #pv{grid-column:1}
html[data-theme] #full.ritm-player-pro>.ctl #seek-back{grid-column:2}
html[data-theme] #full.ritm-player-pro>.ctl #pp{grid-column:3}
html[data-theme] #full.ritm-player-pro>.ctl #seek-forward{grid-column:4}
html[data-theme] #full.ritm-player-pro>.ctl #nx{grid-column:5}
/* 078: clearer, larger phone playback icons. */
html[data-theme] #full.ritm-player-pro>.ctl .ib{width:56px;height:64px;padding:6px}
html[data-theme] #full.ritm-player-pro>.ctl .ib svg{width:40px;height:40px}
html[data-theme] #full.ritm-player-pro>.ctl #pp{width:84px;height:84px;padding:20px}
html[data-theme] #full.ritm-player-pro>.ctl #pp svg{width:44px;height:44px}
html[data-theme] #full.ritm-player-pro>.player-secondary-controls{gap:30px;margin:4px 0 12px}
html[data-theme] #full.ritm-player-pro>.player-secondary-controls .ib{width:64px;height:64px;padding:12px}
html[data-theme] #full.ritm-player-pro>.player-secondary-controls svg{width:40px;height:40px}
@media(max-width:360px){html[data-theme] #full.ritm-player-pro>.ctl .ib{width:48px;padding:5px}html[data-theme] #full.ritm-player-pro>.ctl .ib svg{width:36px;height:36px}html[data-theme] #full.ritm-player-pro>.ctl #pp{width:68px;height:68px;padding:13px}html[data-theme] #full.ritm-player-pro>.ctl #pp svg{width:42px;height:42px}}
/* 079: full square artwork and tighter phone spacing. */
@media(max-width:859px){
html[data-theme] #full.ritm-player-pro>.art{width:100%;max-width:520px;height:auto;max-height:none;aspect-ratio:1;object-fit:contain;flex-shrink:0}
html[data-theme] #full.ritm-player-pro>.meta{margin:14px 0 10px}
html[data-theme] #full.ritm-player-pro>.ctl{margin:8px 0}
html[data-theme] #full.ritm-player-pro>.player-secondary-controls{margin:0 0 4px}
html[data-theme] #full.ritm-player-pro>.player-queue-handle{margin-top:4px;min-height:54px}
}
