/* The 22 Archetypes room (preview only, 29 Nov 2026). Linked only in builds made with --room=archetypes.
   It adds to gallery.css and changes nothing there. */

/* The hang: The Fool alone at the threshold, then three groups of seven. */
.sblg--travel .sblg-piece.sblr-gap--wide { margin-right: 22vw; }
.sblg--travel .sblg-piece.sblr-gap--group { margin-right: 17vw; }
.sblg--tall .sblg-piece.sblr-gap--wide { margin-right: 44vw; }
.sblg--tall .sblg-piece.sblr-gap--group { margin-right: 34vw; }
.sblg-piece.sblr-gap--wide, .sblg-piece.sblr-gap--group { margin-bottom: 4vh; }
.sblg--travel .sblg-piece.sblr-gap--wide, .sblg--travel .sblg-piece.sblr-gap--group { margin-bottom: 0; }

/* A doorway whose link still waits for the owner's yes. */
.sblr-pending { display: block; margin-top: .7rem; font-size: .75rem; line-height: 1.4; color: var(--ink-soft); font-style: italic; }

/* The shop wall's doorway into this room: The Fool hangs on the far wall, on the centre line, as a bare
   sheet of paper like the drawings inside. Centred, because this doorway is passed and seen from both sides. */
.sblg-door--archetypes .sblg-far-work {
  display: block;
  left: calc(50% - 13.1 * var(--s) * var(--u));
  top: calc(57 * var(--s) * var(--u));
  width: calc(26.2 * var(--s) * var(--u));
  height: calc(38 * var(--s) * var(--u));
  background: #fafaf8 url("/sbl-rooms/archetypes/art/00-fool.jpg") 50% 50% / cover;
  box-shadow:
    0 0 1px rgb(32 36 38 / .4),
    0 calc(1.2 * var(--s) * var(--u)) calc(2.4 * var(--s) * var(--u)) rgb(32 36 38 / .2);
}
/* Three doorways on the static wall (reduced motion, or a phone on its side): the third starts a new row. */
.sblg-exits > .sblg-door:nth-child(3) { --k: 20; margin-top: 8vh; }
.sblg--travel .sblg-exits > .sblg-door:nth-child(3) { --k: 0; margin-top: 0; }

/* The room's title is longer than the shop's: on the wide walk let it take the width it needs. */
.sblr.sblg--travel:not(.sblg--tall) .sblg-intro { max-width: none; }
/* On a phone the title column is narrow: size the longer word to fit it. */
.sblr.sblg--tall .sblg-vinyl { font-size: min(9.6vw, calc(var(--vh) * 20)); }
/* On a phone a doorway's words sit over its opening, so the far wall stays bare behind them. */
.sblg--tall .sblg-door--archetypes .sblg-far-work { display: none; }
