/* One content-access badge across poster families. Keep existing positioned artwork. */
:where(.vip-poster){position:relative}
body.studio-theme :is(.vip-poster,.watch-tier-summary,.watch-vip-locked) > span.vip-badge[data-vip-badge]{
 position:absolute!important;inset:8px 8px auto auto!important;z-index:19;
 display:inline-flex!important;align-items:center;justify-content:center;gap:4px;
 width:max-content!important;max-width:calc(100% - 16px);height:25px!important;min-height:0!important;
 margin:0!important;padding:0 7px!important;border:1px solid #f8d67d!important;border-radius:7px!important;
 background:linear-gradient(135deg,#ffe5a2,#edbd50)!important;color:#392600!important;
 box-shadow:0 2px 8px #0004!important;opacity:1!important;transform:none!important;
 font:800 11px/1 var(--font-body,Arial,sans-serif)!important;letter-spacing:.02em;
 text-decoration:none!important;white-space:nowrap;pointer-events:none;overflow:hidden;direction:ltr;
}
body.studio-theme :is(.vip-poster,.watch-tier-summary,.watch-vip-locked) > span.vip-badge[data-vip-badge]>svg{display:block!important;position:static!important;flex:0 0 14px;width:14px!important;height:14px!important;margin:0!important;fill:none!important;stroke:currentColor!important;opacity:1!important;transform:none!important}
body.studio-theme :is(.vip-poster,.watch-tier-summary,.watch-vip-locked) > span.vip-badge[data-vip-badge]>span{display:block!important;position:static!important;inset:auto!important;width:auto!important;height:auto!important;padding:0!important;margin:0!important;border:0!important;background:none!important;color:inherit!important;font:inherit!important;line-height:1!important;opacity:1!important;transform:none!important;direction:auto}
body.studio-theme :is(.vip-poster,.watch-tier-summary,.watch-vip-locked) > span.vip-badge[data-vip-badge]::before,body.studio-theme :is(.vip-poster,.watch-tier-summary,.watch-vip-locked) > span.vip-badge[data-vip-badge]::after{content:none!important}
body.studio-theme :is(.vip-poster,.watch-tier-summary,.watch-vip-locked) > span.vip-badge--mixed[data-vip-badge]{font-size:10px!important;letter-spacing:0}
body.studio-theme :is(.vip-poster,.watch-tier-summary,.watch-vip-locked) > span.vip-badge--mixed[data-vip-badge]>svg{display:none!important}
body.studio-theme :is(.vip-poster,.watch-tier-summary,.watch-vip-locked) > span.vip-badge--compact[data-vip-badge]{inset:5px 5px auto auto!important;height:20px!important;padding:0 4px!important;font-size:9px!important;border-radius:5px!important}
body.studio-theme :is(.vip-poster,.watch-tier-summary,.watch-vip-locked) > span.vip-badge--compact[data-vip-badge]>svg{flex-basis:11px;width:11px!important;height:11px!important}
body.studio-theme :is(.vip-poster,.watch-tier-summary,.watch-vip-locked) > span.vip-badge--inline[data-vip-badge]{position:static!important;max-width:none}
body.studio-theme :is(.vip-poster,.watch-tier-summary,.watch-vip-locked) > span.vip-badge[data-vip-badge][hidden]{display:none!important}
/* Artwork metadata stays below the access badge, clear of the left-hand actions. */
.vip-poster.studio-card-art>i,.vip-poster.a2-card-img>.a2-card-badge,.vip-poster.member-work-art>em{top:auto;bottom:10px}
.vip-poster>span.vip-badge[data-vip-badge]~.studio-card-live,
.vip-poster>span.vip-badge[data-vip-badge]~.a2-discovery-badges{top:42px}
body.studio-theme .cine-page .cine-story.vip-poster>span.vip-badge[data-vip-badge]~.cine-story-badges{top:42px!important;bottom:auto!important}
.studio-exact-episode .vip-poster>span.vip-badge[data-vip-badge]~em{right:auto;left:10px}
.ticket-media>span.vip-badge[data-vip-badge]~mark{top:42px}
body.studio-theme .studio-hub-row__visual>span.vip-badge[data-vip-badge]{height:18px!important;font-size:8px!important;padding:0 3px!important;inset:3px 3px auto auto!important}
body.studio-theme .studio-hub-row__visual>span.vip-badge[data-vip-badge]>svg{display:none!important}
body.studio-theme .title-mobile-poster>span.vip-badge[data-vip-badge]{height:21px!important;padding:0 4px!important;font-size:9px!important;inset:5px 5px auto auto!important}
body.studio-theme .title-mobile-poster>span.vip-badge[data-vip-badge]>svg{width:11px!important;height:11px!important;flex-basis:11px}
body.studio-theme .w146-poster>span.vip-badge[data-vip-badge]>span{display:none!important}
body.studio-theme .w146 .w146-head .w146-poster>span.vip-badge[data-vip-badge]{color:#392600!important}
body.studio-theme .studio-search-results button>.studio-search-art{display:block;position:relative;flex:0 0 44px;width:44px;height:58px;min-width:44px;padding:0;border:0}
body.studio-theme .studio-search-art>span.vip-badge[data-vip-badge]{height:17px!important;inset:2px 2px auto auto!important;padding:0 3px!important;max-width:40px}
body.studio-theme .studio-search-art>span.vip-badge[data-vip-badge]>span{display:none!important}
body.studio-theme .studio-search-art>span.vip-badge--mixed[data-vip-badge]>svg{display:block!important}
body.studio-theme .universal-work-sheet__art>span.vip-badge[data-vip-badge]{inset:26px auto auto 24px!important}
body.studio-theme .universal-work-sheet.is-trailer-only span.vip-badge[data-vip-badge]{display:none!important}
@media(max-width:720px){
 .universal-work-sheet__art{container-type:inline-size}
 body.studio-theme .universal-work-sheet__art>span.vip-badge[data-vip-badge]{inset:calc(50% - 75cqw + 14px) 11px auto auto!important}
}
.watch-tier-summary{display:flex;align-items:center;gap:8px;min-height:40px;color:var(--text-secondary);font-size:12px;font-weight:800;white-space:nowrap}
.watch-tier-summary.is-vip{color:#dfb65d}
.watch-tier-summary>b{display:grid;place-items:center;min-width:23px;height:23px;border-radius:6px;background:var(--surface-elevated);font-size:11px}
.watch-vip-upgrade{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:6px 12px;border:1px solid #ad843d;border-radius:9px;color:#dfb65d;font-size:12px;font-weight:800;text-decoration:none}
body.studio-watch-page .w146-player.is-vip-locked{min-height:250px!important}
.watch-vip-locked{position:absolute;inset:0;gap:10px;padding:20px;text-align:center}
.watch-vip-locked h2{font-size:clamp(17px,2.3vw,25px);line-height:1.5;margin:0}
.watch-vip-locked p{max-width:460px;margin:0;line-height:1.7}
.watch-vip-locked>a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 20px;margin-top:5px;border:1px solid #f8d67d;border-radius:10px;background:#f4ce72;color:#392600;font-size:13px;font-weight:800;text-decoration:none}
.watch-vip-locked>a:focus-visible,.watch-vip-upgrade:focus-visible{outline:3px solid var(--color-primary,#60a5fa);outline-offset:3px}
@media(max-width:600px){
 body.studio-theme :is(.vip-poster,.watch-tier-summary,.watch-vip-locked) > span.vip-badge[data-vip-badge]{height:23px!important;font-size:10px!important;padding:0 6px!important}
 body.studio-theme :is(.vip-poster,.watch-tier-summary,.watch-vip-locked) > span.vip-badge--mixed[data-vip-badge]{font-size:9px!important}
 body.studio-theme :is(.vip-poster,.watch-tier-summary,.watch-vip-locked) > span.vip-badge--compact[data-vip-badge]{height:19px!important;font-size:8px!important;padding:0 4px!important}
 .watch-tier-summary{min-height:28px;font-size:11px;gap:6px}
 .watch-vip-locked{padding:12px;gap:6px}
 .watch-vip-locked p{font-size:11px;line-height:1.5}
}

/* The compact poster rail keeps full VIP labels on every film. */
@media(min-width:1101px){
body.studio-theme .movie-premiere__panel:not(.is-active) span.vip-badge[data-vip-badge]{padding:0 5px!important;font-size:9px!important;inset:8px 4px auto auto!important;max-width:calc(100% - 8px)}
body.studio-theme .movie-premiere__panel:not(.is-active) span.vip-badge[data-vip-badge]>svg{display:none!important}
}

/* Locked downloads remain distinct from genuinely missing sources. */
body.studio-theme .w146 .w148-download.w148-download-vip{background:linear-gradient(135deg,#ffe5a2,#edbd50)!important;border-color:#e6b343!important;color:#392600!important;opacity:1;transition:box-shadow .18s ease,transform .18s ease}
body.studio-theme .w146 .w148-download.w148-download-vip :is(i,small,b,strong){color:inherit!important}
body.studio-theme .w146 .w148-download.w148-download-vip svg{width:22px;height:22px;display:block}
body.studio-theme .w146 .w148-download.w148-download-vip b{white-space:normal;line-height:1.4}
body.studio-theme .w146 .w148-download.w148-download-vip[href]:is(:hover,:focus-visible){background:linear-gradient(135deg,#ffedbd,#f3c75f)!important;border-color:#e6b343!important;color:#392600!important;box-shadow:0 4px 16px #edbd5038;transform:translateY(-1px)}
body.studio-theme .w146 .w148-download.w148-download-vip:focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media(prefers-reduced-motion:reduce){body.studio-theme .w146 .w148-download.w148-download-vip{transition:none;transform:none}}
body.studio-theme .w146 .w148-download.w148-download-vip :is(i,strong){background:transparent!important;box-shadow:none!important}

/* Current episode and compact premium download hierarchy. */
body.studio-theme.studio-watch-page .w146 .w148-control-strip .w148-episode-switch{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(130px,.7fr) minmax(0,1fr)!important;gap:10px!important}
body.studio-theme.studio-watch-page .w146 .w148-episode-switch .w187-current-episode{min-width:0;min-height:76px;padding:10px 14px;display:grid!important;align-content:center;gap:4px;border-radius:13px;border:1px solid var(--studio-color-accent)!important;background:color-mix(in srgb,var(--studio-color-accent) 14%,var(--studio-color-card))!important;color:var(--studio-color-text)!important}
body.studio-theme.studio-watch-page .w146 .w187-current-episode small{font-size:12px!important;color:var(--studio-color-link)!important;white-space:nowrap}
body.studio-theme.studio-watch-page .w146 .w187-current-episode small i{font-size:10px;font-style:normal;margin-inline-end:4px}
body.studio-theme.studio-watch-page .w146 .w187-current-episode b{font-size:19px!important;line-height:1.4;color:var(--studio-color-text)!important;margin:0}
body.studio-theme.studio-watch-page .w146 .w187-current-episode em{font-size:12px!important;color:var(--studio-color-text-muted)!important}
body.studio-theme.studio-watch-page .w146 .w148-download.w148-download-vip{gap:8px!important;padding:10px 12px!important;min-width:0}
body.studio-theme.studio-watch-page .w146 .w148-download.w148-download-vip>span{min-width:0;gap:3px}
body.studio-theme.studio-watch-page .w146 .w148-download.w148-download-vip small{font-size:12px!important;line-height:1.4!important;white-space:nowrap}
body.studio-theme.studio-watch-page .w146 .w148-download.w148-download-vip b{font-size:14px!important;line-height:1.4!important;white-space:nowrap!important}
body.studio-theme.studio-watch-page .w146 .w148-download.w148-download-vip>i{width:26px!important;min-width:26px;height:30px!important}
body.studio-theme.studio-watch-page .w146 .w148-download.w148-download-vip>strong{font-size:16px!important;flex:none}
@media(max-width:1100px){body.studio-theme.studio-watch-page .w146 .w148-control-strip .w148-episode-switch{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}body.studio-theme.studio-watch-page .w146 .w148-episode-switch .w187-current-episode{grid-row:1!important;grid-column:1/-1!important}body.studio-theme.studio-watch-page .w146 .w148-episode-switch .w187-switch-card{grid-row:2!important}}

/* Compact popovers keep readable type without occupying half the screen. */
@media(max-width:1200px){
body.studio-theme .studio-site-header .studio-account-popover:not(.is-member){width:min(320px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;inset-inline-start:auto!important;inset-inline-end:12px!important;padding:10px!important}
body.studio-theme .studio-site-header .studio-tools-popover{width:min(380px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;inset-inline-start:auto!important;inset-inline-end:12px!important}
body.studio-theme .studio-account-popover:not(.is-member)>a{padding:10px 12px!important;min-height:54px!important}
body.studio-theme .studio-account-popover:not(.is-member)>a b{font-size:14px!important}
body.studio-theme .studio-account-popover:not(.is-member)>a small{font-size:11px!important;line-height:1.5!important}
body.studio-theme .studio-tools-popover>header{padding:12px!important}
body.studio-theme .studio-tools-popover>header strong{font-size:16px!important}
body.studio-theme .studio-tools-tabs button{padding:10px!important;font-size:13px!important}
body.studio-theme .studio-tools-grid>a{padding:10px!important;min-height:64px!important}
body.studio-theme .studio-tools-grid b{font-size:13px!important}
body.studio-theme .studio-tools-grid small{font-size:11px!important}
}
body.studio-theme .w146 .w237-progress-card{min-height:76px}
body.studio-theme .w146.is-movie .w203-movie-progress{grid-template-columns:minmax(0,1fr)!important}
body.studio-theme .w146.is-movie .w203-movie-progress [data-manual-summary]{font-size:14px!important}
