/* What the Banverkstad pages (games/<game>/bygg/) take from here: the base of a tool/colour button (.bv-paint – its look in
   css/bv-app.css), the folded help list and fullscreen. The layout and every button's look = css/bv-app.css (all three
   workshops have the same look since 2026-10-31; the older three-column layout is gone). */
.builder h1 { margin-bottom: 0.1rem; }

/* "Så bygger du" (folded, a smaller heading than a game page's) */
.bv-how-to { margin-block: 0.3rem 1rem; }
.bv-how-to > summary { font-size: 1.05rem; min-height: 2.75rem; }
.bv-how-to ul { color: var(--text-muted); font-size: 0.9rem; }

/* Fullscreen: the workshop fills the screen on the site's dark background; the title goes, so the grid grows */
.builder:fullscreen { max-width: none; padding: 0.5rem 1rem; overflow: auto; background: var(--bg); }

/* A tool or a colour: a picture. The chosen one is yellow. */
.bv-paint {
  display: flex; flex-direction: column; align-items: center; gap: 0.1rem;
  padding: 0.25rem 0.1rem; font: inherit; font-size: 0.72rem; font-weight: 700;
  color: var(--text); background: var(--bg-raised); border: 2px solid #5ef0ff55; cursor: pointer;
}
.bv-paint canvas { width: 32px; height: 32px; }
.bv-paint:hover, .bv-paint:focus-visible { border-color: var(--cyan); }
.bv-paint:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.bv-paint[aria-pressed="true"] { border-color: var(--yellow); box-shadow: 0 0 10px #ffe94d66; color: var(--yellow); }
.bv-paint.is-pixels canvas { image-rendering: pixelated; }
