/* COVER (Owner #1420/#1421): (1) the reframe dialog of creator/cover-fit.js; (2) the display rules of WORK / long-post covers on the public surfaces: the whole picture is shown inside its box (contain), never stretched or cropped by CSS.
   Cover selectors ONLY. Not touched on purpose: avatars, blurred decorative backgrounds, inline photos / galleries / albums, part and episode thumbnails, emoji and brand images. */
dialog.ffCoverFit{width:min(520px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;padding:18px;border:1px solid #2a3b54;border-radius:16px;background:#0d1729;color:#eaf1fb;box-sizing:border-box}
dialog.ffCoverFit::backdrop{background:rgba(3,8,18,.72)}
dialog.ffCoverFit h2{margin:0 0 6px;font-size:18px}
dialog.ffCoverFit p{margin:0 0 12px;color:#a9b9d2;font-size:14px;line-height:1.45}
.ffCoverFitFrame{position:relative;width:100%;max-height:60vh;overflow:hidden;border-radius:12px;background:#08101d;border:1px solid #2a3b54}
.ffCoverFit[data-cover-fit="tall"] .ffCoverFitFrame{width:auto;height:min(52vh,420px);margin:0 auto}
.ffCoverFitImg{display:block;user-select:none;pointer-events:none}
.ffCoverFit input[type=range]{width:100%;margin:14px 0 4px;min-height:44px}
.ffCoverFitNote{min-height:18px;color:#ffb4a8}
.ffCoverFitActions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}
.ffCoverFitActions button{min-width:44px;min-height:44px;padding:0 18px;border-radius:12px;border:1px solid #2a3b54;background:#132338;color:#eaf1fb;font-weight:650;cursor:pointer}
.ffCoverFitActions .ffCoverFitOk{background:#0a97ff;border-color:#0a97ff;color:#04101f}
/* public surfaces: cover boxes show the whole picture */
.smartThumb.ffCover>img,#feed .smartThumb.ffCover>img,body.mobilePreview #feed .smartThumb.ffCover>img,
.articleCover img,#feed .articleCover>img,.articleCover>img,
.ffProfile2 .ffpWorkCardMedia img,.ffProfile2 .ffpCardMedia.ffCover img,
.musicPlayerCard>img,.musicCoverV18 img,.fullMusicPlayer img,.trackPlayer img,
.libItem img.ffCoverImg,.mobileRailCard img.ffCoverImg,.railResume img.ffCoverImg,.railRelease img.ffCoverImg,.railDiscuss img.ffCoverImg,.exploreItemV42 img.ffCoverImg{object-fit:contain!important;background-color:#0b1422}
.smartThumb.ffCover,.articleCover,.ffProfile2 .ffpWorkCardMedia,.ffProfile2 .ffpCardMedia.ffCover,.musicPlayerCard,.musicCoverV18{background-color:#0b1422}
