/* The art of one item, whatever it is (web/media.js). The box it sits in sets its size; nothing here changes that box. */
.mx{position:relative;width:100%;height:100%;min-width:0;overflow:hidden;background:var(--s2,#111)}
.mx>.mx-pic,.mx>.mx-vid,.mx>.mx-frame,.mx>.mx-blank{position:absolute;inset:0;width:100%;height:100%;display:block;border:0}
.mx>.mx-pic{object-fit:cover}
.mx-video{background:#000}.mx>.mx-vid{object-fit:contain;background:#000}
.mx-blank{display:grid;place-items:center;background:linear-gradient(135deg,var(--s2,#151515),var(--s1,#0d0d0d));color:var(--dim,#888)}
.mx-note svg{width:30%;height:30%;max-width:72px;max-height:72px;opacity:.6}
.mx>.mx-frame{background:#fff;z-index:3}
.mx-aud{position:absolute;left:10px;right:10px;bottom:10px;z-index:3;width:calc(100% - 20px);height:44px;border-radius:10px}
.mx-bar{position:absolute;left:10px;bottom:10px;z-index:4;display:flex;flex-wrap:wrap;gap:8px;max-width:calc(100% - 20px)}
.mx-bar[hidden]{display:none}
.mx-bar.mx-on{left:auto;right:10px;bottom:auto;top:10px}
.mx-btn,.mx-open{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 13px;border:0;border-radius:10px;background:color-mix(in srgb,#000 62%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;font:inherit;font-size:13px;font-weight:700;line-height:1;text-decoration:none;cursor:pointer;box-shadow:0 0 0 1px rgba(255,255,255,.14);white-space:nowrap}
.mx-btn svg,.mx-open svg{width:15px;height:15px;flex:none}
.mx-btn:hover,.mx-open:hover{background:color-mix(in srgb,#000 80%,transparent)}
.mx-btn:focus-visible,.mx-open:focus-visible{outline:2px solid var(--accent,#fff);outline-offset:2px}
.mx-btn[aria-label]{width:36px;padding:0;justify-content:center}
.mx-run{min-width:86px;justify-content:center}
.mx:fullscreen{background:#000}.mx:fullscreen>.mx-frame{inset:0}
/* the item page: the art takes the whole box, and the small number chip steps aside for players and frames */
.item-pic>.mx{position:absolute;inset:0;border-radius:inherit}
.item-pic:has(>.mx-video,>.mx-audio,>.mx-html,>.mx-model,>.mx-file){cursor:default}
.item-pic:has(>.mx-video,>.mx-audio,>.mx-html.mx-running) .ip-id{display:none}
.item-pic:has(>.mx-html,>.mx-model,>.mx-file) .ip-id{bottom:auto;top:12px}
.item-pic:has(>.mx-video,>.mx-audio,>.mx-html,>.mx-model,>.mx-file) .ip-sheen{display:none}
/* cards and the large art view hold a bare element */
.cx-img video{width:100%;height:100%;object-fit:cover;display:block}
.cx-img .mx-blank,.cx-mpic .mx-blank{width:100%;height:100%}
@media (pointer:coarse){.mx-btn,.mx-open{min-height:42px}.mx-btn[aria-label]{width:42px}.mx-aud{height:48px}}
html[data-dense="1"] .mx-btn,html[data-dense="1"] .mx-open{min-height:32px;padding:0 10px;font-size:12px}
html[data-dense="1"] .mx-btn[aria-label]{width:32px;padding:0}
html[data-dense="1"] .mx-bar{left:8px;bottom:8px;gap:6px}html[data-dense="1"] .mx-bar.mx-on{left:auto;right:8px;top:8px;bottom:auto}
@media (pointer:coarse){html[data-dense="1"] .mx-btn,html[data-dense="1"] .mx-open{min-height:40px}html[data-dense="1"] .mx-btn[aria-label]{width:40px}}

/* a small looping video standing where a small picture would (sale lists) */
video.av{object-fit:cover;background:var(--surface);pointer-events:none}
/* a film banner drawn large (OV.banner): it fills its frame and lets presses through to what lies over it */
video.mx-ban{object-fit:cover;pointer-events:none}
