/* RC49 — a single save for page-scoped media flags. Never affect upload or delete actions. */
body.admin-shell .vv49-savebar{position:sticky;bottom:calc(12px + env(safe-area-inset-bottom));z-index:15;display:flex;gap:12px;align-items:center;justify-content:space-between;min-width:0;border:1px solid #c4dfef4d;border-radius:12px;margin:15px 0;padding:10px 12px;background:#121e2bf5;box-shadow:0 8px 25px #0005;backdrop-filter:blur(10px)}
body.admin-shell .vv49-savebar p{flex:1 1 auto;min-width:0;margin:0;line-height:1.35}body.admin-shell .vv49-savebar strong{display:block;font-size:12px;font-weight:750;color:#f5f8fa}body.admin-shell .vv49-savebar small{display:block;font-size:11px;color:#bbcad7;overflow-wrap:anywhere;margin-top:2px}body.admin-shell .vv49-savebar small[data-error=true]{color:#ffbcb3}
body.admin-shell .vv49-savebar button{flex:0 0 auto;min-height:44px;white-space:normal;text-align:center;line-height:1.25}
body.admin-shell .vv49-gallery-card .vvg-toggle{margin:8px 0 5px;min-width:0;cursor:pointer}body.admin-shell .vv49-gallery-card .vvg-toggle input{flex:0 0 21px;width:21px;height:21px}body.admin-shell .vv49-gallery-card a{display:inline-block;min-height:33px;padding-top:7px}
body.admin-shell .vv49-media-tip{font-size:12px;line-height:1.5;margin:5px 0 0;max-width:70ch;color:#bbcad7}
body.admin-shell .vv49-media-flags{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:9px 0 3px}
body.admin-shell .vv49-media-flags label{display:flex;align-items:center;gap:7px;min-width:0;min-height:44px;margin:0;padding:7px 9px;border-radius:9px;border:1px solid #bdd5ef36;background:#09131ecc;color:#dae8ed;font-size:12px;line-height:1.2;cursor:pointer}
body.admin-shell .vv49-media-flags input{flex:0 0 19px;inline-size:19px;block-size:19px;min-inline-size:19px;accent-color:#d8ff3f}
body.admin-shell .vv49-media-flags span{min-width:0;overflow-wrap:anywhere}body.admin-shell [data-vv49-featured][hidden]{display:none!important}
@media(max-width:1100px){body.admin-shell .vv49-savebar{bottom:calc(82px + env(safe-area-inset-bottom))}}
@media(max-width:600px){body.admin-shell .vv49-savebar{gap:8px;padding:8px 10px;align-items:stretch}body.admin-shell .vv49-savebar button{font-size:12px;flex:0 1 55%;max-width:55%;padding:9px!important}body.admin-shell .vv49-media-flags{grid-template-columns:minmax(0,1fr);gap:5px}body.admin-shell .vv49-media-flags label{min-height:40px;padding:5px 8px;font-size:11px}body.admin-shell .vvg-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body.admin-shell .vv49-gallery-card{min-width:0}}
@media(max-width:345px){body.admin-shell .vv49-savebar{flex-wrap:wrap}body.admin-shell .vv49-savebar button{flex:1 1 100%;max-width:100%}body.admin-shell .vv49-media-flags label{font-size:10px}}
/* RC49 notice: nonmodal toast above content, on top right on mobile and top center on desktop. */
body .vv-notice-dialog.vv49-notice[open]{box-sizing:border-box!important;display:grid!important;position:fixed!important;inset:auto 12px auto auto!important;top:calc(10px + env(safe-area-inset-top))!important;right:12px!important;left:auto!important;bottom:auto!important;margin:0!important;width:min(340px,calc(100% - 24px))!important;max-width:calc(100% - 24px)!important;min-width:0!important;max-height:min(190px,28dvh)!important;padding:10px 10px 11px 13px!important;grid-template-columns:minmax(0,1fr) 40px;grid-template-rows:auto auto auto;gap:2px 5px;align-items:center;border:1px solid #d9ebff45;border-left:3px solid #d8ff3f;border-radius:11px;background:#101b27f9;color:#f8faff;box-shadow:0 6px 25px #0009;overflow:hidden!important;transform:none!important;z-index:2147483646;overscroll-behavior:contain}
body .vv-notice-dialog.vv49-notice::backdrop{display:none!important;background:transparent!important;backdrop-filter:none!important}
body .vv-notice-dialog.vv49-notice>h2{grid-column:1;grid-row:1;font-size:12px!important;line-height:1.3!important;font-weight:800!important;letter-spacing:0!important;margin:0!important;max-width:100%;color:#f3f9ff}
body .vv-notice-dialog.vv49-notice>p{grid-column:1;grid-row:2;font-size:12px!important;line-height:1.4!important;max-width:100%;max-height:75px!important;overflow:auto!important;white-space:pre-line;margin:1px 0 0!important;color:#d4deea!important;overflow-wrap:anywhere}
body .vv-notice-dialog.vv49-notice>.vv49-notice-close{grid-column:2;grid-row:1/span 2;align-self:start;justify-self:end;display:grid;place-items:center;width:40px;height:40px;min-height:40px!important;max-width:40px!important;border-radius:8px;border:0;background:#ffffff16!important;color:#f8fbfd!important;padding:0!important;font-size:22px!important;line-height:1!important;cursor:pointer}
body .vv-notice-dialog.vv49-notice>progress{grid-column:1/-1;grid-row:3;width:100%;height:4px!important;min-height:4px!important;margin:6px 0 0!important;accent-color:#d8ff3f}
body .vv-notice-dialog.vv49-notice>progress[hidden]{display:none!important}
body .vv-notice-dialog.vv49-notice[data-type=error]{border-left-color:#ff988b}body .vv-notice-dialog.vv49-notice[data-type=success]{border-left-color:#d8ff3f}
@media(min-width:701px){body .vv-notice-dialog.vv49-notice[open]{left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:min(420px,calc(100% - 32px))!important;max-width:calc(100% - 32px)!important;top:16px!important}}
@media(prefers-reduced-motion:no-preference){body .vv-notice-dialog.vv49-notice[open]{animation:vv49-toast-in .18s ease-out}@keyframes vv49-toast-in{from{opacity:.4}to{opacity:1}}}

/* RC50: page-scoped master checks above the media grid. */
.vv50-media-all{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0;padding:12px;border-radius:12px;border:1px solid #ffffff20;background:#ffffff08}
.vv50-media-all label{display:inline-flex;align-items:center;gap:9px;font-size:13px;line-height:1.35;padding:6px 8px;min-height:40px;cursor:pointer}
.vv50-media-all input{width:18px;height:18px;accent-color:#d8ff3f}
@media(max-width:480px){.vv50-media-all{display:grid;grid-template-columns:1fr}.vv50-media-all label{font-size:12px}}
