/* 584 height-fit v5 (David, 2026-11-27). Reference = his approved 390x844
   playing picture (disc 260, live-583 look). Rules:
   1) h850+ / disc 260: pixel-identical to live 583 (min(px, cqw) below is
      exactly the live px at disc >= 260, so nothing changes there).
   2) Smaller heights/widths: same look scaled - every disc child is a fixed
      share of the disc (ratios measured from his 260px reference: border
      3/260, padding 6/260, pill 11px font 6/4 padding, number 11px bottom 6,
      badge 9px, ring inset -3/260, ring border 2/260).
   3) Short heights (<=765px phones): side-by-side layout - disc beside the
      title card, never a squashed disc (JS fit patch sizes it, see app patch).
   4) Pulse: 1.02->1.01 below 850h so it clears sponsor + title card; off at
      <=560h where it would touch the title card. Sm variant capped at .99.
   5) Video: 6px gap under the sponsor box (was 0, touching). */
@media(max-width:414px),(min-width:426px) and (max-width:430px){
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-main-disc-wrap{container-type:inline-size!important;max-width:calc(100vw - 40px)!important;max-height:calc(100vw - 40px)!important}
@container (max-width:259.5px){
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-main-disc-wrap>div.rounded-full{border-width:min(3px,1.1539cqw)!important;padding:min(6px,2.3077cqw)!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-main-disc-wrap .hv-ringw{inset:max(-3px,-1.1539cqw)!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-main-disc-wrap .hv-ringw .player-artwork-ring{border-width:min(2px,.7693cqw)!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-main-disc-wrap span.truncate{font-size:min(11px,4.23cqw)!important;line-height:min(11px,4.23cqw)!important;padding:min(6px,2.31cqw) min(4px,1.54cqw)!important;border-width:min(1px,.385cqw)!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-main-disc-wrap .hv-player-disc-number{font-size:min(11px,4.23cqw)!important;line-height:min(13px,5cqw)!important;bottom:min(6px,2.31cqw)!important}
}
}
@media(min-width:850px), (min-height:850px){
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-main-disc-wrap>.hv-main-feed-badge{left:calc(85.35534% - 3.1577px)!important;top:calc(14.64466% - 18.328px)!important}
}
@media(max-width:414px){
}
@media(max-width:414px) and (max-height:849px){@keyframes hvPhoneRing{0%,100%{transform:scale(1);opacity:.34}50%{transform:scale(1.01);opacity:.9}}}
@keyframes hvPhoneRingSm{0%,100%{transform:scale(.97);opacity:.34}50%{transform:scale(.99);opacity:.9}}
@media(max-width:414px) and (max-height:560px){html:not(#hv-a):not(#hv-b) body .hv-main-audio-shell .hv-main-disc-wrap .hv-ringw .player-artwork-ring{animation:none!important}}
@media(max-width:414px) and (max-height:765px){
.hv-main-video-shell .hv-player-video{margin-top:6px!important}
}
@media(max-width:414px) and (min-height:601px) and (max-height:690px){html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-main-disc-wrap{max-width:calc(100vh - 550px)!important;max-height:calc(100vh - 550px)!important}}
/* video <=560h: drop the Speed/PiP/Fullscreen/Lock row, let the shell size to
   content so the title card renders, shrink video to keep transport on screen */
/* video short-height compaction (David 2:43 goal: full-width video, pills
   below, title+date+Actions visible, no overlap, no scroll) */
@media(max-width:414px) and (max-height:849px){
html:not(#hv-a):not(#hv-b) body .hv-main-video-shell{height:auto!important;max-height:none!important}
html:not(#hv-a):not(#hv-b) body .hv-main-video-shell .hv-player-details-panel h1{-webkit-line-clamp:1!important;line-clamp:1!important}
}
@media(max-width:414px) and (max-height:765px){
html:not(#hv-a):not(#hv-b) body .hv-main-video-shell .hv-player-top-row{padding-top:0!important;padding-bottom:0!important}
}
@media(max-width:414px) and (max-height:650px){
html:not(#hv-a):not(#hv-b) body .hv-main-video-shell .hv-player-details-panel h1{-webkit-line-clamp:1!important;line-clamp:1!important}
}
@media(max-width:414px) and (max-height:560px){
html:not(#hv-a):not(#hv-b) body .hv-main-video-shell .hv-player-details-panel{padding-top:4px!important;padding-bottom:4px!important}
}
/* video 650-800h (David): move the series + 355 pills down off the video's
   bottom edge so they sit on the title card, never on the video */
@media(max-width:414px) and (max-height:750px){
html:not(#hv-a):not(#hv-b) body .hv-main-video-shell .hv-player-video{margin-top:3px!important}
html:not(#hv-a):not(#hv-b) body .hv-main-video-shell .hv-player-top-row{padding-top:0!important;padding-bottom:0!important}
html:not(#hv-a):not(#hv-b) body .hv-main-video-shell .hv-player-details-panel{padding-top:4px!important;padding-bottom:4px!important}
}
@media(max-width:414px) and (max-height:750px){
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d) body .hv-main-video-shell .hv-player-details-panel{padding-top:2px!important;padding-bottom:2px!important}
}
/* David: gold ring must stay concentric with the purple ring. Live shifts the
   artwork up 7% and scales .94 at 340-600w/<=800h, overshooting vs the
   reference (which is -6px / .9 at 260px). Restore reference proportions. */
/* short-height reclaim (David: disc/video as large as fits, nothing hidden,
   nothing touching) - trim paddings, keep every row */
@media(max-width:414px) and (max-height:765px){
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-pinned-controls>.rounded-2xl{padding-top:2px!important;padding-bottom:2px!important;margin-top:4px!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-pinned-controls>.px-4.flex-shrink-0{padding-top:0!important;padding-bottom:0!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-pinned-controls>.mt-1.px-1.flex-shrink-0{margin-top:2px!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-restored-video-transport{padding-top:2px!important;padding-bottom:2px!important;margin-top:4px!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-restored-video-transport .grid.grid-cols-4{margin-top:2px!important;padding-top:0!important;padding-bottom:0!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-pinned-player-actions{padding-top:0!important;padding-bottom:0!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-main-audio-shell .hv-player-top-row{padding-top:0!important;padding-bottom:0!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-main-audio-shell .hv-player-details-panel{padding-top:4px!important;padding-bottom:4px!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-sponsor-sync-wrap{margin-bottom:0!important}
}
/* tiny heights: sponsor box scales down so the disc stays the main element */
@media(max-width:414px) and (max-height:600px){
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-sponsor-sync-wrap{transform:scale(.82)!important;transform-origin:center top!important;margin-bottom:-4px!important}
}
/* extreme short heights: compress header + top row so every row + video stay visible */
@media(max-width:414px) and (max-height:620px){
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-main-audio-shell>header,html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-main-video-shell>header{min-height:44px!important;height:44px!important;padding-top:2px!important;padding-bottom:2px!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-player-top-row{padding-top:0!important;padding-bottom:0!important;min-height:28px!important}
}
/* wide screens at short heights (B5 slice): keep disc and video inside the shell */
@media(min-width:601px) and (max-height:700px){
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-main-audio-shell .hv-main-disc-wrap{max-width:calc(100vh - 362px)!important;max-height:calc(100vh - 362px)!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-main-video-shell{--hv-video-space:calc(100vh - 380px)!important;height:auto!important;max-height:none!important}
}
/* X7: 2-line title descenders clipped 3px */
@media(max-width:414px) and (max-height:779px){
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-main-audio-shell .hv-player-details-panel h1{max-height:calc(1.375em*2)!important}
}
/* X7: 2-line title descenders clipped 3px */
@media(max-width:414px) and (max-height:779px){
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-main-audio-shell .hv-player-details-panel h1{max-height:calc(1.375em*2)!important}
}
/* X5 merge: bigger video from real free height; feed number chip off in video only when short */
@media(max-width:414px) and (max-height:620px){
html:not(#hv-a):not(#hv-b) body .hv-main-video-shell{--hv-video-space:calc(100vh - 485px)!important}
}
@media(max-width:414px) and (min-height:621px) and (max-height:779px){
html:not(#hv-a):not(#hv-b) body .hv-main-video-shell{--hv-video-space:calc(100vh - 508px)!important}
html:not(#hv-a):not(#hv-b) body .hv-main-video-shell .hv-player-details-panel h1{-webkit-line-clamp:2!important;line-clamp:2!important}
}
@media(max-width:414px) and (min-height:780px) and (max-height:849px){
html:not(#hv-a):not(#hv-b) body .hv-main-video-shell .hv-player-details-panel h1{-webkit-line-clamp:2!important;line-clamp:2!important}
}
/* unified video short-height rules (B1 compaction + B1/X5/B4 K ladder,
   scoped to phones <=414w; Speed/PiP row kept; feed LABEL off in video only) */
@media(max-width:414px) and (max-height:765px){
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-pinned-controls>.mt-1.px-1 .cursor-pointer{height:20px!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-pinned-controls>.mt-1.px-1{margin-top:0!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-restored-video-transport{margin-top:2px!important;padding-top:0!important;padding-bottom:0!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-restored-video-transport .grid.grid-cols-4{margin-top:0!important;padding-top:0!important;padding-bottom:0!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-restored-video-transport .grid.grid-cols-4>button{padding-top:0!important;padding-bottom:0!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-pinned-player-actions>div,html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-pinned-player-actions button{height:36px!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-main-video-shell .hv-shiur-info{padding-top:0!important;padding-bottom:0!important}
}
@media(max-width:414px) and (min-height:621px) and (max-height:765px){
html:not(#hv-a):not(#hv-b) body .hv-main-video-shell{--hv-video-space:calc(100vh - 505px)!important}
}
@media(max-width:414px) and (max-height:620px){
html:not(#hv-a):not(#hv-b) body .hv-main-video-shell{--hv-video-space:calc(100vh - 494px)!important}
}
@media(max-width:414px) and (max-height:560px){
html:not(#hv-a):not(#hv-b) body .hv-main-video-shell{--hv-video-space:calc(100vh - 494px)!important}
html:not(#hv-a):not(#hv-b) body .hv-main-video-shell .hv-player-video{min-height:0!important}
}
@media(max-width:414px) and (max-height:560px){
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-main-video-shell .hv-player-pill-number>:not(.hv-player-feed-number){display:none!important}
}
@media(max-width:414px) and (min-height:766px) and (max-height:779px){
html:not(#hv-a):not(#hv-b) body .hv-main-video-shell{--hv-video-space:calc(100vh - 508px)!important}
html:not(#hv-a):not(#hv-b) body .hv-main-video-shell .hv-player-details-panel h1{-webkit-line-clamp:2!important;line-clamp:2!important}
}
@media(max-width:414px) and (min-height:780px) and (max-height:849px){
}

/* B1: live hv.css:1746 hides the 355 + series pill row in video at <=380w and <=660h; pills stay under the video, feed label may go only <=560h */
@media(max-width:380px) and (max-height:660px){
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-main-video-shell .hv-shiur-info>*:first-child:not(h1){display:flex!important}
}
/* B1: live caps the 320w video at 66px (<=339w, max-height:600); drive it from --hv-video-space like every other width */
@media(max-width:339px) and (max-height:600px){
html:not(#za):not(#zb):not(#zc):not(#zd):not(#ze):not(#zf):not(#zg):not(#zh):not(#zi):not(#zj):not(#zk):not(#zl):not(#zm):not(#zn) body .hv-main-video-shell .hv-player-video:not(:fullscreen){max-height:var(--hv-video-space)!important;width:min(100%,calc(var(--hv-video-space) * 16 / 9))!important}
}

/* X3: video 741-779h, phones<=430w: sponsor row padding 10->6px (reclaims 8px) so title card never touches the transport at full-width video */
@media(max-width:430px) and (min-height:741px) and (max-height:779px){
:root{--hv-sp-gap:6px}
}
/* X3: video, 415-440w phones, 741-849h: reclaim sponsor padding, size video to full width (vw-20) when it fits */
@media(min-width:415px) and (max-width:440px) and (min-height:741px) and (max-height:849px){
:root{--hv-sp-gap:6px}
html:not(#hv-a):not(#hv-b) body .hv-main-video-shell:has(.hv-sponsor-tag){--hv-video-space:min(calc(100vh - 559px),calc((100vw - 20px) * 9 / 16))!important}
html:not(#hv-a):not(#hv-b) body .hv-main-video-shell:not(:has(.hv-sponsor-tag)){--hv-video-space:min(calc(100vh - 530px),calc((100vw - 20px) * 9 / 16))!important}
}


/* B3 video fix v3 (slice: video, heights <=650, widths <=414): video box sized to what actually fits */
@media(max-width:414px) and (min-height:561px) and (max-height:650px){
html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8) body .hv-main-video-shell{--hv-video-space:calc(100vh - 520px)!important}
}
@media(max-width:414px) and (max-height:560px){
html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8) body .hv-main-video-shell{--hv-video-space:calc(100vh - 518px)!important}
}

/* video K reconciliation measured in this build (gap between title card and pinned controls >=1px, no scroll). Sponsor row costs ~26px. */
@media(max-width:414px) and (max-height:560px){
html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9) body .hv-main-video-shell{--hv-video-space:calc(100vh - 490px)!important}
html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9) body .hv-main-video-shell:has(.hv-sponsor-tag){--hv-video-space:calc(100vh - 518px)!important}
}
@media(max-width:414px) and (min-height:561px) and (max-height:620px){
html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9) body .hv-main-video-shell{--hv-video-space:calc(100vh - 500px)!important}
html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9) body .hv-main-video-shell:has(.hv-sponsor-tag){--hv-video-space:calc(100vh - 527px)!important}
}
@media(max-width:414px) and (min-height:561px) and (max-height:575px){
html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9) body .hv-main-video-shell:has(.hv-sponsor-tag){--hv-video-space:calc(100vh - 541px)!important}
}

@media(max-width:414px) and (min-height:621px) and (max-height:650px){
html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9) body .hv-main-video-shell{--hv-video-space:calc(100vh - 511px)!important}
html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9) body .hv-main-video-shell:has(.hv-sponsor-tag){--hv-video-space:calc(100vh - 538px)!important}
}
@media(max-width:414px) and (min-height:651px) and (max-height:740px){
html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9) body .hv-main-video-shell:has(.hv-sponsor-tag){--hv-video-space:calc(100vh - 537px)!important}
}
@media(max-width:414px) and (min-height:741px) and (max-height:779px){
html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9) body .hv-main-video-shell:has(.hv-sponsor-tag){--hv-video-space:calc(100vh - 544px)!important}
}

@media(min-width:381px) and (max-width:414px) and (min-height:621px) and (max-height:849px){html:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6):not(#y7):not(#y8):not(#y9) body .hv-main-video-shell .hv-shiur-info h1.line-clamp-2{-webkit-line-clamp:2!important;line-clamp:2!important}}


/* title clamp 1 line in compact phone range (beats components.css 3-line clamp) */
@media(max-width:414px) and (max-height:765px){
html:not(#z1):not(#z2):not(#z3):not(#z4):not(#z5):not(#z6):not(#z7):not(#z8):not(#z9) body .hv-main-video-shell .hv-shiur-info h1.line-clamp-2{-webkit-line-clamp:1!important;line-clamp:1!important}
}

/* 320-class audio titles: keep 2 lines unclipped at any height (390x844 etc stay live) */
@media(max-width:340px){
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-main-audio-shell .hv-player-details-panel h1{max-height:calc(1.375em*2)!important}
}

/* video 621-765h: date row needs a few px inside the title card; K above grew 3px to pay for it */
@media(max-width:414px) and (min-height:621px) and (max-height:765px){
html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9) body .hv-main-video-shell .hv-player-details-panel{padding-bottom:7px!important}
}
@media(max-width:414px) and (min-height:651px) and (max-height:765px){
html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9) body .hv-main-video-shell:not(:has(.hv-sponsor-tag)){--hv-video-space:calc(100vh - 510px)!important}
}

@media(max-width:414px) and (max-height:620px){
html:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8):not(#q9) body .hv-main-video-shell .hv-player-video{min-height:0!important}
}

/* X1 audio short-height block (header kept; audio-scoped) */

/* X1 slice fix (audio, w320-450, h480-600): hold disc at David's ~117-120px band
   and make the page fit without clipping. Beats the live hv.css disc ladder
   (72/62px) for w415+; w<=414 is covered by the app.js clamp change. */
@media (max-width:450px) and (max-height:600px){
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-main-audio-shell .hv-main-disc-wrap{width:120px!important;height:120px!important;max-width:120px!important;max-height:120px!important}
}
@media (max-width:450px) and (max-height:600px){
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-main-audio-shell .hv-main-disc-wrap{margin-top:2px!important;margin-bottom:2px!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-main-audio-shell>div.flex.items-center.justify-between{min-height:30px!important;height:30px!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body:has(.hv-main-audio-shell) .hv-player-details-panel{padding:2px 0!important;margin-bottom:6px!important}
}

/* X4 fixes vs v22 (phones <=414w):
   1) badge overlapped the ring ~10px; David: just touch (~1.8px). Move badge
      out to left:93% (keeps top 7.6923%); measured ring overlap 0.3-1.9px at
      105-151px discs (390x620/69px disc still ~3.5px).
   2) feed pill bottom:9% collided with the full-size number (13px, bottom:6)
      at h600-680. Anchor the pill 2px above the number: 21px minus the inner
      circle's border+padding (the pill's containing block is the white face,
      the number's is the wrap). */

/* X4: h601-620 phones: 8px shell scroll (title card clipped) - reclaim from details panel + transport */
@media(max-width:414px) and (min-height:601px) and (max-height:620px){
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-main-audio-shell .hv-player-details-panel{padding-top:0!important;padding-bottom:0!important}
html:not(#hv-a):not(#hv-b):not(#hv-c):not(#hv-d):not(#hv-e):not(#hv-f) body .hv-pinned-controls>.rounded-2xl{margin-top:2px!important}
}

/* audio shell: trailing 24px padding + card 10px margin counted as scroll height (S2) */
@media(max-width:414px) and (max-height:830px){html body .plyr>div.relative.z-10.hv-main-audio-shell{padding-bottom:0!important} html body .hv-main-audio-shell>.hv-player-details-panel{margin-bottom:0!important}}

/* badge: anchored to the ring circle at 45 degrees so it just touches (about -1.8px) at every disc size; <=820h only, 821h+ keeps live's formula */
