/* Návrh 63 · Gramatika obrazu (Peter 17. 11.): one look per meaning of a picture (ARCHITEKTURA.md, „Gramatika obrazu“).
   A video's tile is its own poster with ▶; a video without a poster yet is a neutral video tile, never the picture it
   was made from; a sketch outside the Storyboard is a grey plan with ✎ plán. Roles: portal/obraz_roly.json. */

/* the ▶ beside a poster (a sibling of the <img>, so `.x > img` rules keep working); the parent is positioned only when no
   rule of its own positions it (zero specificity) */
:where(:has(> .vp63)), :where(:has(> .pl63)) { position: relative; }
.vp63.vp63 { position: absolute; left: 5px; top: 4px; z-index: 2; display: block; padding: 2px 4px 2px 5px; border-radius: 999px;
  background: rgba(0, 0, 0, .58); color: #fff; font-size: 9px; line-height: 1.1; pointer-events: none; }
.rth > .vp63.vp63 { left: 2px; top: 2px; padding: 1px 2px 1px 3px; font-size: 7px; }

/* a video whose poster is not made yet: a calm dark tile with ▶ (the tracker makes the poster within seconds) */
.vnone63.vnone63 { display: grid; place-items: center; width: 100%; height: 100%; min-height: 100%; aspect-ratio: 16 / 9;
  background: repeating-linear-gradient(135deg, #1b1e22 0 8px, #202429 8px 16px); color: rgba(255, 255, 255, .55); }
.t13 > .vnone63.vnone63 { position: absolute; inset: 0; aspect-ratio: auto; }
.vnone63 .vp63n { font-size: 14px; line-height: 1; }
.rth > .vnone63 .vp63n { font-size: 9px; }

/* a sketch outside the Storyboard: grey, marked as a plan */
img.plan63 { filter: grayscale(1) contrast(.85) brightness(.85); opacity: .8; }
.pl63.pl63 { position: absolute; left: 4px; bottom: 3px; z-index: 2; display: block; padding: 0 4px; border-radius: 3px;
  background: rgba(0, 0, 0, .55); color: #ddd; font-size: 9px; line-height: 1.5; pointer-events: none; }
.rth > .pl63.pl63 { left: 1px; bottom: 1px; padding: 0 2px; font-size: 7px; }
