/* PICTURE SLOTS (ui/PictureSlots.astro): its button and its small line, then its squares in a row; an empty one a plus,
   a filled one its picture covering it and a pencil in its corner. Tokens only. */
.g-slots { display: grid; gap: var(--g-3); }
.g-slots__head { display: grid; justify-items: start; gap: var(--g-1); }
.g-slots__note { color: var(--g-text-3); font-size: var(--g-t-caption); }
.g-slots__row { display: flex; flex-wrap: wrap; gap: var(--g-3); }
.g-slots__slot { position: relative; display: grid; place-items: center; width: 72px; aspect-ratio: 1; box-sizing: border-box; border-radius: var(--g-r-sm); background: var(--g-fill); color: var(--g-text-2); cursor: pointer; overflow: hidden; }
.g-slots--tall .g-slots__slot { width: 100%; height: 100%; aspect-ratio: auto; }
.g-slots__slot:hover { background: var(--g-fill-strong); }
.g-slots__slot:focus-visible { outline: none; box-shadow: var(--g-ring-in); }
.g-slots__plus svg { width: var(--g-icon); height: var(--g-icon); }
.g-slots__slot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.g-slots__slot > img[hidden] { display: none; }
.g-slots__pen { position: absolute; bottom: var(--g-1); display: none; place-items: center; width: var(--g-6); height: var(--g-6); border-radius: 50%; background: var(--g-bg); color: var(--g-text); box-shadow: 0 0 0 var(--g-hair) var(--g-text-3); }
.g-slots--pen-start .g-slots__pen { inset-inline-start: var(--g-1); } .g-slots--pen-end .g-slots__pen { inset-inline-end: var(--g-1); }
.g-slots__pen svg { width: 60%; height: 60%; }
.g-slots__slot.has-pic .g-slots__pen { display: grid; }
.g-slots__slot.has-pic .g-slots__plus { visibility: hidden; }
