/* v21.38 images: play art (one small SVG per CTF room, machine, practice lab and lab task). The SVG carries its own
   navy plate, so it reads the same on light and dark pages; width and height attributes keep the space reserved. */
.uos-art{display:block;width:100%;height:auto;aspect-ratio:16/9;border-radius:8px;background:#101828;box-shadow:0 0 0 1px rgba(140,180,255,.22);object-fit:contain}
.uos-art-card{max-width:100%}
.sbx-task>.uos-art-card,.uos-feature>.uos-art-card{margin-bottom:10px}
.uos-art-head{flex:0 0 auto;width:clamp(96px,18vw,240px);max-width:100%}
/* CTF room and machine heads: the art sits at the end of the header row */
.arena-roomhead>.uos-art-head{margin-left:auto;align-self:center}
/* lab workspace and reviewed task heads: the art floats beside the title */
.sbw-title>.uos-art-head,.uos-hero>.uos-art-head{float:right;margin:0 0 8px 16px;width:clamp(96px,22cqi,240px)}
.sbw-title>.uos-art-head{width:clamp(96px,14cqi,180px)}
@supports not (width:1cqi){.sbw-title>.uos-art-head,.uos-hero>.uos-art-head{width:clamp(96px,18vw,240px)}}
@media (max-width:575.98px){
    /* phones: the art gets its own row above the title, left aligned, so the title keeps the full width */
    .arena-roomhead:has(>.uos-art-head){flex-wrap:wrap}
    .arena-roomhead>.uos-art-head{order:-1;flex:0 0 auto;width:100%;height:clamp(72px,30vw,112px);aspect-ratio:auto;object-fit:contain;object-position:left center;margin:0;background:none;box-shadow:none}
    /* lab workspace and reviewed task heads: no float on phones, the art gets its own row between the back link and the h1,
       large enough that the kind tag and difficulty bars stay readable (a 95px float made the tag about 5px tall) */
    .sbw-title>.uos-art-head,.uos-hero>.uos-art-head{float:none;width:clamp(160px,60cqi,240px);margin:6px 0 10px}
    @supports not (width:1cqi){.sbw-title>.uos-art-head,.uos-hero>.uos-art-head{width:clamp(160px,60vw,240px)}}
    html[data-ui="2"] .arena-roomhead>.uos-art-head{box-shadow:none}
}
html[data-ui="2"] .uos-art{border-radius:var(--v2-radius,8px);box-shadow:0 0 0 1px var(--v2-glass-border,rgba(140,180,255,.22))}
