/*
  The design system every page of brickworks.diy shares (docs/DESIGN_SYSTEM.md):
  its tokens, then its components. The app is a canvas and has its own
  look; this follows it: near-black by default, warm yellow for the way
  in, and the mark from web/icon.svg.

  Its controls are here and nowhere else: a field (text box, dropdown,
  text area, file picker), a checkbox, the buttons, the dialog, the card,
  the badge, the callout, a plan's card. A page lays them out; it does not
  restyle them. Each unit used to copy the styles it needed, and what a
  copy missed was drawn by the browser: the age question's month was a
  bare dropdown beside a full-size year box. tools/web/design_flow.mjs
  keeps it so.

  Contrast is measured, not eyeballed: every text colour here is at least
  4.5:1 on each surface it sits on, and an edge that marks a state 3:1, in
  both themes (WCAG AA; tests/test_site_contrast.py).

  Two themes, the person's choice (System, Light or Dark: web/theme.js
  sets data-theme on <html> before the page is drawn). Dark is the set
  below; the light set is chosen, or the system's when nothing was.

  site356 (2026-10-29, the owner: "next level UI/UX"): a deeper ground, a
  line that is quieter and one that is firmer, three steps of elevation
  (--shadow-1, --shadow-2, --shadow), a top-edge highlight on every raised
  surface, the yellow as a soft tint (--accent-soft) and as words
  (--accent-ink), and a fifth corner for the largest surfaces.
*/
:root {
	--bg: #0b0c0e;
	--bg-soft: #101215;
	--panel: #15171b;
	--panel-hi: #1c1f24;
	--line: rgba(255, 255, 255, 0.08);
	/* A firmer edge: a control's at rest, a card under the pointer. */
	--line-strong: rgba(255, 255, 255, 0.16);
	--ink: #f3f4f6;
	--ink-soft: #b4b9c2;
	--ink-faint: #8b929d;
	--red: #d0332f;
	/* Words on the red (a LIVE tag), the same in both themes. */
	--on-red: #ffffff;
	--yellow: #f2cd37;
	--blue: #2a6fc4;
	--green: #57c97e;
	--accent: var(--yellow);
	/* The top of a primary button: the yellow lit from above. */
	--accent-hi: #ffdc55;
	--on-accent: #17130a;
	/* An edge in the accent that marks a state (a pressed toggle, the New
	   pill, the older-version box): the yellow is 1.33:1 on the light
	   pages, so the light set darkens it to 3:1. A yellow button keeps
	   the yellow. */
	--accent-edge: var(--yellow);
	/* The accent as words (an eyebrow, a plan's saving): 4.5:1 on every
	   surface, so darker again in light. */
	--accent-ink: var(--yellow);
	/* The accent as a ground: a badge, an icon's tile, the chosen plan. */
	--accent-soft: rgba(242, 205, 55, 0.12);
	--focus: #7cb8ff;
	--bad: #ef7a72;
	/* The two grounds a minifig is shown on side by side (the minifig
	   maker), each theme's page, the same in both themes. */
	--ground-light: #fbfbfa;
	--ground-dark: #0b0c0e;
	/* The 404's wall: four bricks, the same in both themes. */
	--brick-red: #b40000;
	--brick-yellow: var(--yellow);
	--brick-blue: #1e5aa8;
	--brick-green: #00852b;
	/* A brick's shading (the 404's wall, a colour's dot): its lower edge in
	   shadow, its top in light. And the dim behind an open dialog. */
	--shade: rgba(0, 0, 0, 0.3);
	--shine: rgba(255, 255, 255, 0.18);
	/* A colour's swatch in plastic that is not flat (the minifig maker):
	   metallic and pearl lit along its top left and falling to shadow, a
	   see-through one's glint. The same in both themes, as the plastic is. */
	--sheen-metal: linear-gradient(135deg, rgba(255, 255, 255, 0.6), transparent 45%, rgba(0, 0, 0, 0.3));
	--glint-clear: linear-gradient(135deg, rgba(255, 255, 255, 0.7), transparent 55%);
	--scrim: rgba(0, 0, 0, 0.6);
	/* What a model's picture stands on (a card's frame, its page's picture):
	   the app draws it with nothing behind the model since 2026-10-24
	   (docs/SOCIAL.md U15), so the ground is the theme's, lighter at the top
	   as a studio's is. A dark one lit enough that a black model still
	   shows against it; the light one the ground the app drew before, so a
	   picture published before then and a new one look alike there. */
	--picture-ground: linear-gradient(180deg, #333a45, #1d222a);
	/* The ground a picture published before then carries, in either theme:
	   carried on above and below one drawn smaller than its frame
	   (web/model-page.js fitPicture). */
	--render-top: #edeff4;
	--render-foot: #ccd3dd;
	/* An avatar made from a handle (web/kit.js avatarHtml): one of eight
	   tiles, its letter in white, 4.5:1 or more on each, in both themes. */
	--avatar-1: #b42318; --avatar-2: #1f5fbf; --avatar-3: #1f7a3d; --avatar-4: #7a3fb0;
	--avatar-5: #9a4a00; --avatar-6: #0e6f8a; --avatar-7: #a3175a; --avatar-8: #4b5563;
	--on-avatar: #ffffff;
	/* A set's own picture (Rebrickable's) stands on the white it was
	   photographed on, in both themes (web/directory.css .set-page). */
	--photo-ground: #ffffff;
	/* Controls: a field and a button side by side are the same height,
	   with the same corners; every field has the same fill, and the same
	   edge: 3:1 or more on every surface a field sits on, its own fill
	   too, as WCAG 1.4.11 asks of what shows a control is there (the
	   firmer line it had was 1.5:1, sifix 2026-11-15). */
	--field: var(--bg-soft);
	--field-edge: #6b717b;
	--control-h: 44px;
	/* Five corners: small (a chip, a code box), a control's, a card's or a
	   panel's, a large surface's (a plan, the app's picture, a band), and a
	   pill's; a circle is 50%. */
	--r-1: 6px;
	--r-2: 10px;
	--r-3: 14px;
	--r-4: 20px;
	--r-pill: 999px;
	--control-radius: var(--r-2);
	--radius: var(--r-3);
	/* A page's width: one for every page, the header's and the footer's
	   too, the window less its gutters (--gutter: 16, 24 from 600 px, 32 from
	   1200 px; sitepolish) up to --page-wide (homefix,
	   2026-11-23, the owner: Talk "does not have the same page width as
	   the other pages"; a page of words had kept 1,140 px, so its edges
	   sat 54 px inside the header's at 1280). A page of words keeps its
	   lines to a measure inside it (.prose, .lede, a setting's line), not
	   by a narrower page. tools/web/design_flow.mjs fails a page whose
	   main container's edges are not the header's. */
	--page-wide: 1600px;
	/* The room between a page and the window's edge: a phone's 16 px, and
	   more as the window grows, so a page of cards on a laptop does not run
	   to its edge (sitepolish, 2026-11-23: the gallery, a model, a person
	   and a set sat 16 px from a 1280 window's edge, as no other site's do). */
	--gutter: 16px;
	/* One type scale for every page (docs/DESIGN_SYSTEM.md): the landing
	   page's one line, a page's title, a section's, a card's; the lede;
	   then the words, small print, the smallest, and a count's. Each page
	   used to size its own titles, from 26 to 74 px. */
	--t-display: clamp(42px, 7vw, 76px);
	--t-h1: clamp(32px, 4.6vw, 48px);
	--t-h2: clamp(22px, 2.4vw, 26px);
	--t-h3: 18px;
	/* An object page's title (.obj-title): two lines at most in its column. */
	--t-title: clamp(24px, 2.1vw, 30px);
	--t-lede: clamp(17px, 1.9vw, 19px);
	--t-body: 16px;
	--t-small: 14.5px;
	--t-tiny: 13px;
	--t-micro: 12px;
	/* A section's title on the landing pages (home, plans, download): the
	   step between a page's title and a section's. */
	--t-section: clamp(28px, 3.6vw, 40px);
	/* Code in a line of words: a monospace face looks larger at one size. */
	--t-code: 0.92em;
	/* And one rhythm: the space above a page's title, between its sections,
	   and the steps between. */
	--s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
	--page-top: clamp(40px, 6vw, 72px);
	--section: clamp(64px, 9vw, 112px);
	/* Elevation, three steps: resting on the page (a card, a ghost
	   button), raised (a card under the pointer, a menu), and floating (a
	   dialog, the app's picture). And the light along a raised surface's
	   top edge, and a primary button's. */
	--shadow-1: 0 1px 2px rgba(0, 0, 0, 0.35);
	--shadow-2: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -12px rgba(0, 0, 0, 0.7);
	--shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8);
	--highlight: inset 0 1px 0 rgba(255, 255, 255, 0.05);
	--shine-btn: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(0, 0, 0, 0.12);
	/* The warm light over a landing page's opening and its last offer. */
	--glow: radial-gradient(60% 55% at 50% 0%, rgba(242, 205, 55, 0.14), transparent 70%);
	/* The baseplate under it: a grid of studs, faint. */
	--studs: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.07) 1px, transparent 1.5px);
	/* Motion (docs/DESIGN_SYSTEM.md "Motion"): how long a control takes to
	   answer the pointer, and an opening's; one easing for both. None of it
	   under reduced motion. */
	--motion: 150ms;
	--motion-open: 180ms;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	/* Charts (/admin › Analytics): the one series, a muted line, the grid
	   and the axis; and a six-step ramp, little to much, each step with the
	   ink a share on it is read in. */
	--viz-1: #3987e5;
	--viz-muted: #6b717c;
	--viz-grid: rgba(255, 255, 255, 0.07);
	--viz-axis: rgba(255, 255, 255, 0.2);
	--viz-seq-1: #184f95;
	--viz-seq-2: #1c5cab;
	--viz-seq-3: #256abf;
	/* The range before, beside --viz-1's (the console's loop): a quieter step of the series' blue. */
	--viz-before: var(--viz-seq-2);
	--viz-seq-4: #3987e5;
	--viz-seq-5: #6da7ec;
	--viz-seq-6: #9ec5f4;
	--viz-seq-ink-1: var(--ink);
	--viz-seq-ink-2: var(--ink);
	--viz-seq-ink-3: var(--ink);
	--viz-seq-ink-4: var(--ink);
	--viz-seq-ink-5: var(--bg);
	--viz-seq-ink-6: var(--bg);
	/* The header's height (.bar's 60 px and its line), which main fills the
	   window under. */
	--head-h: 61px;
	color-scheme: dark;
}
/* The light set, twice: chosen (data-theme="light"), and the system's
   when nothing was chosen. CSS cannot say "this attribute or this media
   query" in one rule; tests/test_site_contrast.py fails if they differ. */
:root[data-theme="light"] {
	--bg: #fbfbfa;
	--bg-soft: #f3f3f1;
	--panel: #ffffff;
	--panel-hi: #f7f7f5;
	--line: rgba(17, 19, 23, 0.1);
	--line-strong: rgba(17, 19, 23, 0.2);
	--field-edge: #80868f;
	--ink: #111317;
	--ink-soft: #454a54;
	--ink-faint: #5b616b;
	--green: #1f7a3d;
	--accent-edge: #a67c00;
	--accent-ink: #7a5b00;
	--accent-soft: rgba(242, 205, 55, 0.22);
	--focus: #1f5fbf;
	--bad: #b42318;
	--scrim: rgba(17, 19, 23, 0.45);
	--shadow-1: 0 1px 2px rgba(16, 24, 40, 0.07);
	--shadow-2: 0 1px 2px rgba(16, 24, 40, 0.06), 0 12px 32px -12px rgba(16, 24, 40, 0.2);
	--shadow: 0 30px 60px -32px rgba(20, 30, 50, 0.35);
	--highlight: inset 0 1px 0 rgba(255, 255, 255, 0.9);
	--glow: radial-gradient(60% 55% at 50% 0%, rgba(242, 205, 55, 0.3), transparent 70%);
	--studs: radial-gradient(circle at 1px 1px, rgba(17, 19, 23, 0.08) 1px, transparent 1.5px);
	--picture-ground: linear-gradient(180deg, #edeff5, #ccd4de);
	--viz-1: #2a78d6;
	--viz-muted: #9aa0a8;
	--viz-grid: rgba(17, 19, 23, 0.07);
	--viz-axis: rgba(17, 19, 23, 0.25);
	--viz-seq-1: #cde2fb;
	--viz-seq-2: #9ec5f4;
	--viz-seq-3: #6da7ec;
	--viz-before: var(--viz-seq-3);
	--viz-seq-4: #3987e5;
	--viz-seq-5: #256abf;
	--viz-seq-6: #184f95;
	--viz-seq-ink-1: var(--ink);
	--viz-seq-ink-2: var(--ink);
	--viz-seq-ink-3: var(--ink);
	--viz-seq-ink-4: var(--bg);
	--viz-seq-ink-5: var(--bg);
	--viz-seq-ink-6: var(--bg);
	color-scheme: light;
}
@media (prefers-color-scheme: light) {
	:root:not([data-theme]) {
		--bg: #fbfbfa;
		--bg-soft: #f3f3f1;
		--panel: #ffffff;
		--panel-hi: #f7f7f5;
		--line: rgba(17, 19, 23, 0.1);
		--line-strong: rgba(17, 19, 23, 0.2);
		--field-edge: #80868f;
		--ink: #111317;
		--ink-soft: #454a54;
		--ink-faint: #5b616b;
		--green: #1f7a3d;
		--accent-edge: #a67c00;
		--accent-ink: #7a5b00;
		--accent-soft: rgba(242, 205, 55, 0.22);
		--focus: #1f5fbf;
		--bad: #b42318;
		--scrim: rgba(17, 19, 23, 0.45);
		--shadow-1: 0 1px 2px rgba(16, 24, 40, 0.07);
		--shadow-2: 0 1px 2px rgba(16, 24, 40, 0.06), 0 12px 32px -12px rgba(16, 24, 40, 0.2);
		--shadow: 0 30px 60px -32px rgba(20, 30, 50, 0.35);
		--highlight: inset 0 1px 0 rgba(255, 255, 255, 0.9);
		--glow: radial-gradient(60% 55% at 50% 0%, rgba(242, 205, 55, 0.3), transparent 70%);
		--studs: radial-gradient(circle at 1px 1px, rgba(17, 19, 23, 0.08) 1px, transparent 1.5px);
		--picture-ground: linear-gradient(180deg, #edeff5, #ccd4de);
		--viz-1: #2a78d6;
		--viz-muted: #9aa0a8;
		--viz-grid: rgba(17, 19, 23, 0.07);
		--viz-axis: rgba(17, 19, 23, 0.25);
		--viz-seq-1: #cde2fb;
		--viz-seq-2: #9ec5f4;
		--viz-seq-3: #6da7ec;
		--viz-before: var(--viz-seq-3);
		--viz-seq-4: #3987e5;
		--viz-seq-5: #256abf;
		--viz-seq-6: #184f95;
		--viz-seq-ink-1: var(--ink);
		--viz-seq-ink-2: var(--ink);
		--viz-seq-ink-3: var(--ink);
		--viz-seq-ink-4: var(--bg);
		--viz-seq-ink-5: var(--bg);
		--viz-seq-ink-6: var(--bg);
		color-scheme: light;
	}
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 var(--t-body)/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI",
		Roboto, Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	font-optical-sizing: auto;
}
::selection { background: var(--accent); color: var(--on-accent); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
code { font: var(--t-code)/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
/* A command to type: a box of its own that wraps, so a long one never
   pushes the page sideways or hides its end past the edge of a phone. */
code.cmd {
	display: block; margin: 6px 0; padding: 8px 10px; border-radius: var(--r-1);
	background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink);
	font-size: var(--t-tiny); white-space: pre-wrap; overflow-wrap: anywhere;
}
[hidden] { display: none !important; }

/* Keyboard focus, visible on every control in both schemes. The ring
   follows a control's own corners; it does not change them. */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
a:focus-visible { border-radius: var(--r-1); }

@media (width >= 600px) { :root { --gutter: 24px; } }
@media (width >= 1200px) { :root { --gutter: 32px; } }
.wrap { width: min(100% - 2 * var(--gutter), var(--page-wide)); margin-inline: auto; }
.skip {
	position: absolute; left: 12px; top: -60px; z-index: 50;
	background: var(--accent); color: var(--on-accent);
	padding: 10px 14px; border-radius: var(--r-2); font-weight: 650; text-decoration: none;
}
.skip:focus { top: 12px; }

/* -- the bar --------------------------------------------------------- */

.site-head {
	position: sticky; top: 0; z-index: 20;
	backdrop-filter: saturate(1.6) blur(16px);
	-webkit-backdrop-filter: saturate(1.6) blur(16px);
	background: color-mix(in srgb, var(--bg) 78%, transparent);
	border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.mark {
	display: inline-flex; align-items: center; gap: 10px;
	font-weight: 700; letter-spacing: -0.025em; font-size: var(--t-h3);
	text-decoration: none; padding: 6px 4px;
}
/* The mark (web/icon.svg): a cube with a corner cut away. The .chip every
   page's header has, so a page shows it with no markup of its own. */
.chip { width: 26px; height: 26px; flex: none; background: url(/icon.svg) center / contain no-repeat; }
/* In the bar everything is a finger's 44 px: the mark, the links, Open the
   app (the regular .cta, not a size of its own: it was 42 px at 14.5),
   Menu and your avatar's button. Where the bar has no room for the word
   (a phone under about 390 px), the word wraps onto a second line the
   mark's height hides, and the mark is the cube alone, its name still
   "Brickworks": no breakpoint of its own, only the room the rest leaves. */
.site-head .mark {
	flex: 0 1 auto; min-width: 44px; height: var(--control-h); padding: 0 4px; overflow: hidden;
	flex-wrap: wrap; align-content: flex-start; row-gap: 0; line-height: var(--control-h);
}
/* The header's chip at rest is icon.svg; .turning (web/mark.js: once the
   page is in as a visit begins, and on a hover or a focus) is our mark built
   in bricks turning once (herostudio, 2026-11-26; tools/site/mark_turn.mjs):
   30 frames side by side in one picture, the first the mark as icon.svg
   draws it. The picture is asked for after the page's load, never in the
   first screen's bytes, and never for someone who asked for less motion. */
.site-head .mark .chip { width: 30px; height: 30px; margin-block: 7px; }
/* 30 frames of 30 px: the last step's end is the first frame again. */
@keyframes mark-turn { from { background-position-x: 0; } to { background-position-x: -900px; } }
@media (prefers-reduced-motion: no-preference) {
	.site-head .mark .chip.turning {
		background: url(/img/hero/mark-turn.webp) 0 0 / 900px 30px no-repeat;
		animation: mark-turn 1.15s steps(30);
	}
}
/* The nav fills the bar after the mark: its four links in the middle of
   what is left, Open the app and your account at the far right (the
   first link and Open the app each take half the room that is over). */
.nav { flex: 1; display: flex; align-items: center; gap: 2px; }
.nav > a:not(.cta) {
	display: inline-flex; align-items: center; min-height: var(--control-h);
	text-decoration: none; color: var(--ink-soft); font-size: var(--t-small); font-weight: 520;
	padding: 0 14px; border-radius: var(--r-pill); white-space: nowrap;
}
.nav > a:not(.cta):first-child { margin-left: auto; }
.nav > a:not(.cta):hover { color: var(--ink); background: var(--panel); }
.nav > a:not(.cta)[aria-current="page"] { color: var(--ink); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.nav > .cta { margin-left: 8px; }
.nav > .cta:not(.ghost) { margin-left: auto; }

/* On a phone: the mark, the way in, and a menu for the rest. A <details>
   so it opens with no script, which the site's security policy would
   not run inline anyway. */
.menu { display: none; position: relative; }
.menu summary {
	list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: var(--control-h);
	padding: 0 14px; border-radius: var(--control-radius);
	border: 1px solid var(--line-strong); font-size: var(--t-body); color: var(--ink); background: var(--panel);
	box-shadow: var(--highlight);
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--panel); }
.menu-list {
	position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px;
	display: grid; padding: 6px; border-radius: var(--r-3);
	background: var(--panel); border: 1px solid var(--line-strong); box-shadow: var(--highlight), var(--shadow);
}
.menu-list nav { display: grid; }
.menu-list a { text-decoration: none; padding: 10px 12px; border-radius: var(--r-1); color: var(--ink-soft); }
.menu-list a:hover { background: var(--panel-hi); color: var(--ink); }
/* The theme on Menu, under the links: the whole width, a button a third. */
.menu-list .theme-choice { display: grid; gap: var(--s-2); margin: 6px 0 0; padding: 12px 6px 6px; border-top: 1px solid var(--line); }
.menu-list .segmented { display: grid; grid-template-columns: repeat(3, 1fr); }
/* What came into your feed since you opened it (web/follow.js): a small
   count on Account, and on Menu where Account is behind it. */
.site-head .count {
	display: inline-block; min-width: 18px; padding: 0 5px; border-radius: var(--r-pill);
	background: var(--accent); color: var(--on-accent); font-size: var(--t-micro); font-weight: 700;
	line-height: 18px; text-align: center; font-variant-numeric: tabular-nums;
}
/* On Menu, over its corner: the header has no room at 390 px for more. */
.site-head .menu summary { position: relative; }
.site-head .menu summary .count { position: absolute; top: -7px; right: -7px; }
/* Your account, signed in (web/follow.js, docs/SOCIAL.md U7): your avatar
   where Sign in was, last at the far right after Open the app, what is
   new for you over its corner, opening the account menu (a .more-menu
   with the header Menu's panel): who you are, your places with their
   counts, the theme, Sign out. On a phone Menu is the avatar and holds
   the same, under the site's links. 12 px from Open the app with the
   nav's gap, as Menu is on a phone (.bar's gap). */
.account-menu { margin-left: 10px; }
.site-head .account-btn {
	position: relative; display: inline-grid; place-items: center; min-width: var(--control-h); min-height: var(--control-h);
	padding: 0; border: 0; border-radius: 50%; background: none; list-style: none; cursor: pointer;
}
.site-head .account-btn::-webkit-details-marker { display: none; }
.site-head .account-btn .avatar { width: 36px; height: 36px; font-size: var(--t-body); }
.account-menu[open] .account-btn .avatar, .menu[open] .account-btn .avatar { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent-edge); }
.site-head .account-btn .count { position: absolute; top: -1px; right: -3px; }
.account-menu .menu-list { min-width: 240px; }
.menu-who { display: flex; align-items: center; gap: var(--s-3); margin: 0; padding: 8px 12px 10px; }
.menu-who span { display: grid; min-width: 0; }
.menu-who b { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-who small { color: var(--ink-faint); font-size: var(--t-tiny); overflow-wrap: anywhere; }
/* Your name and handle before the server has said them: a line's height each. */
.menu-who .bone { height: 0.95em; }
.menu-who .bone.wide { width: 128px; }
.menu-who .bone.short { width: 88px; }
.account-part nav { display: grid; }
.account-part nav a { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.account-part nav a[aria-current="page"] { color: var(--ink); background: var(--panel-hi); }
.menu .account-part { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
/* The newest five notifications (inbox, 2026-11-23), under your places:
   each its picture (or its icon) on the picture ground, its name, and its
   newest line a line of small words; not opened yet edged in the accent. */
.menu-latest { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.menu-latest-h { margin: 0; padding: 4px 12px; color: var(--ink-faint); font-size: var(--t-tiny); font-weight: 600; }
.menu-latest ul { list-style: none; margin: 0; padding: 0; display: grid; }
.menu-latest a { display: flex; align-items: center; gap: var(--s-2); min-height: 44px; }
.menu-latest .pic { flex: none; display: grid; place-items: center; width: 48px; aspect-ratio: 4 / 3; overflow: hidden;
	border-radius: var(--r-1); background: var(--picture-ground); color: var(--ink-soft); }
.menu-latest .pic img { width: 100%; height: 100%; object-fit: cover; }
.menu-latest .pic .icon { width: 20px; height: 20px; }
.menu-latest a.unread .pic { box-shadow: 0 0 0 2px var(--accent-edge); }
.menu-latest .words { display: grid; min-width: 0; max-width: 220px; }
.menu-latest .words b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-latest .words small { color: var(--ink-soft); font-size: var(--t-tiny); overflow: hidden; text-overflow: ellipsis;
	white-space: nowrap; }
.menu-latest .none { padding: 6px 12px; color: var(--ink-faint); font-size: var(--t-small); }
/* The console, for the site's owner alone (web/follow.js adminPart): at
   the menu's foot above Sign out, under a line, its gauge before its name. */
.menu-owner { display: grid; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.menu-owner a { display: flex; align-items: center; gap: var(--s-2); }
.menu-owner .icon { width: 18px; height: 18px; }
/* Sign out last, a menu's button as any other, under a line. */
.menu-list > :has(+ .sign-out) { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.menu-list > .sign-out { margin-top: 6px; }
/* A header's menu taller than the window scrolls in itself, its foot never
   past the window's: the header is sticky, so the page's scroll never
   brought Sign out up, and at 375 x 667 it was out of reach. Open, it is
   over the beta bar, as it is over the page: the bar covered Sign out at
   390 x 844 once Report a bug was in the menu (bugbar, 2026-11-13). */
.site-head .menu-list { max-height: calc(100dvh - var(--head-h) - var(--s-4)); overflow-y: auto; overscroll-behavior: contain; }
/* The beta's strip over the header puts the menu that much lower, so it
   fits the window less the strip: its foot was 1 px past the window at
   430 x 844 and 375 x 667 (the lead, 2026-11-23). */
:root[data-betabar] .site-head .menu-list { max-height: calc(100dvh - var(--betabar-row) - var(--head-h) - var(--s-4)); }
.site-head:has(details[open]) { z-index: 55; }
/* Under 900 px the mark, Open the studio and Menu fill the bar (the four
   links and Sign in are on Menu), and the last keeps the page's 16 px
   gutter (design_flow.mjs fails it closer). On a phone the bar's gaps
   close to 8 px, and Open the studio and Menu give a little a side.
   Open the studio stays on one line in every language (the lead,
   2026-12-06: two lines beside Menu at 390 read as a cramped bar): it
   never shrinks, so where the bar is short of room the mark gives it up,
   its word wrapping out of sight to leave the cube (the mark's rule
   above), never the button's words. Under 320 px (a folded phone), where
   the cube alone still leaves no room for one line beside Menu, the words
   take two balanced lines rather than push the page sideways. The whole
   bar fits from 900 px (site356: four links and two buttons, where it was
   two and two from 600). */
@media (width < 900px) {
	.nav > a:not(.cta), .nav > a[data-account], .nav .account-menu { display: none; }
	.menu { display: block; }
}
@media (width < 600px) {
	.site-head .bar { gap: var(--s-2); }
	.site-head .nav .cta { flex: none; margin-left: auto; padding: 3px 10px; white-space: nowrap; }
	.site-head .menu summary:not(.account-btn) { padding-inline: 10px; }
}
@media (width < 320px) {
	.site-head .mark { flex: none; width: 44px; }
	.site-head .nav .cta { flex: 0 1 auto; white-space: normal; text-wrap: balance; text-align: center; line-height: 1.1; }
}

/* -- buttons ------------------------------------------------------- */

/* Primary (.cta, yellow: the way in), secondary (.cta.ghost, and any
   button with no class of its own) and quiet (.link, words underlined);
   .small for a row of actions on a card or a list, .big for a page's
   opening offer. A toggle that is on (aria-pressed) has the accent edge. */
.cta, :where(button) {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: var(--control-h); padding: 9px 20px; border-radius: var(--control-radius);
	font: inherit; font-weight: 640; font-size: var(--t-body); line-height: 24px; white-space: nowrap;
	text-decoration: none; cursor: pointer;
	background: var(--accent); color: var(--on-accent); border: 1px solid transparent;
}
/* The primary one lit from above, with its own edge of light and a
   shadow under it: it is the way in, and looks pressable. */
.cta:not(.ghost) {
	background: linear-gradient(180deg, var(--accent-hi), var(--accent));
	box-shadow: var(--shine-btn), var(--shadow-1);
}
.cta:hover { filter: brightness(1.06); }
.cta.ghost, :where(button) { background: transparent; color: var(--ink); border-color: var(--line-strong); }
/* A secondary button that stands on the page as a primary one does: on
   the panel's ground, with an edge of light and a shadow. */
.cta.ghost { background: var(--panel); box-shadow: var(--highlight), var(--shadow-1); }
/* Not a primary button's: :where(button):hover weighs as much as .cta, and
   came after it, so a yellow button went white under the pointer. */
.cta.ghost:hover, :where(button:not(.cta)):hover { background: var(--panel-hi); filter: none; }
.cta.ghost[aria-pressed="true"] { border-color: var(--accent-edge); }
.cta.small { min-height: 36px; padding: 5px 12px; font-size: var(--t-small); }
.cta.big { min-height: 52px; padding: 13px 26px; font-size: var(--t-h3); border-radius: var(--control-radius); }
/* orangecheck's button (ocbutton, 2026-12-05) is one of the site's own
   buttons with orangecheck's tile before its words: the orange check on
   its own ink square, the variant orangecheck draws for any ground, light
   or dark. It and Google's and GitHub's marks are each 20 px, 10 px from
   their words (Google's own spacing), so the ways in read as one family.
   Its name in the visitor's language wraps, balanced and centred, rather
   than run out of a phone's dialog in French; and while its window is
   open it says "Signing in…" with a ring turning after the words. */
[data-oc-sign-in] {
	--oc-mark-size: 20px; --oc-mark-gap: 10px;
	white-space: normal; max-inline-size: 100%; text-wrap: balance; text-align: center;
}
.cta[data-oc-sign-in], .cta.way-in { gap: 10px; }
[data-oc-sign-in][aria-busy="true"]::after {
	content: ""; flex: none; width: 1em; height: 1em; border-radius: 50%;
	border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite;
}
/* A button the width of what holds it: each way into the sign-in dialog,
   one under the other at one size. */
.cta.wide { display: flex; width: 100%; }
/* Busy: a ring turning before its words (a code being checked, a code
   being sent), and still at rest under reduced motion. */
.spinner {
	display: inline-block; flex: none; width: 1em; height: 1em; border-radius: 50%;
	border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite;
}
.cta[aria-busy="true"] { cursor: progress; }
/* A way on, its arrow after the words, nudged under the pointer. */
.cta .arrow { display: inline-block; transition: transform var(--motion) var(--ease); }
.cta:hover .arrow { transform: translateX(3px); }
summary.cta { width: fit-content; list-style: none; }
summary.cta::-webkit-details-marker { display: none; }
button.link, a.link {
	display: inline; min-height: 0; padding: 0; border: 0; border-radius: 0; white-space: normal;
	font: inherit; color: var(--ink-soft); background: none;
	text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer;
}
button.link:hover, a.link:hover { color: var(--ink); background: none; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.actions.center { justify-content: center; }

/* A choice of a few, side by side: buttons in a row, the one chosen
   pressed (aria-pressed) and edged in the accent. The theme (System,
   Light, Dark: web/theme.js) in the footer, on Menu and in Settings.
   As tall as a field, with its buttons inside. */
.segmented {
	/* A long one (/admin's six "where it stands") wraps inside its frame
	   rather than push a phone's page sideways. */
	display: inline-flex; flex-wrap: wrap; max-width: 100%; gap: 2px; padding: 3px; margin: 0;
	border: 1px solid var(--line); border-radius: var(--r-2); background: var(--bg-soft);
}
.segmented button {
	min-height: 36px; padding: 5px 12px; border-radius: var(--r-1); border: 1px solid transparent;
	font-size: var(--t-small); font-weight: 600; line-height: 24px; color: var(--ink-soft); background: transparent; box-shadow: none;
}
.segmented button:hover { color: var(--ink); background: var(--panel); }
.segmented button[aria-pressed="true"] { color: var(--ink); background: var(--panel); border-color: var(--accent-edge); box-shadow: var(--shadow-1); }
/* On a phone its buttons are a finger's 44 px (the footer's theme too). */
@media (width < 600px) { .segmented button { min-height: var(--control-h); } }
/* Its words beside it: what is being chosen. */
.theme-choice { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); font-size: var(--t-small); color: var(--ink-soft); }

/* -- fields ---------------------------------------------------------
   A text box, a dropdown, a text area and a file picker are one box. By
   element at zero specificity (:where), so no field is ever left to the
   browser, and a page can still size one (flex: 1, a width). */

:where(input:not([type="checkbox"], [type="radio"], [type="hidden"]), select, textarea) {
	min-width: 0; max-width: 100%; min-height: var(--control-h); margin: 0; padding: 9px 12px;
	font: inherit; font-size: var(--t-body); line-height: 24px; color: var(--ink);
	background-color: var(--field); border: 1px solid var(--field-edge); border-radius: var(--control-radius);
}
:where(input:not([type="checkbox"], [type="radio"], [type="hidden"]), select, textarea):hover { border-color: var(--ink-faint); }
/* A field being typed in is ringed in the accent's edge as well as the
   keyboard's ring, so a mouse's click shows where the words go too. */
:where(input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="file"]), select, textarea):focus {
	border-color: var(--accent-edge); box-shadow: 0 0 0 3px var(--accent-soft);
}
:where(input, textarea)::placeholder { color: var(--ink-faint); }
/* A dropdown is the text box with an arrow in the page's ink; its first,
   hidden choice ("Month") in the quieter ink until one is made. */
:where(select) {
	appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
	background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
		linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
	background-position: right 18px center, right 13px center;
	background-size: 5px 5px; background-repeat: no-repeat;
}
:where(select:invalid) { color: var(--ink-soft); }
:where(textarea) { line-height: 1.5; resize: vertical; }
/* A search: the box with a magnifier inside its start and, until it is
   used, the "/" that puts the cursor in it at its end (the gallery's and
   the home page's; landing, 2026-11-22, from web/gallery.html's own). A
   page sizes it. */
.search { position: relative; display: block; }
.search input { width: 100%; padding-left: 40px; padding-right: 40px; }
.search .icon { position: absolute; left: 12px; top: 12px; color: var(--ink-faint); pointer-events: none; }
.search .hint {
	position: absolute; right: 10px; top: 11px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
	border: 1px solid var(--line); border-radius: var(--r-1); background: var(--panel); color: var(--ink-faint);
	font: inherit; font-size: var(--t-micro); line-height: 1; pointer-events: none;
}
.search:focus-within .hint, .search:has(input:not(:placeholder-shown)) .hint { display: none; }
/* A file picker: the box, its button the secondary one. */
:where(input[type="file"]) { height: var(--control-h); padding: 5px 12px 5px 5px; line-height: 32px; color: var(--ink-soft); cursor: pointer; }
:where(input[type="file"])::file-selector-button {
	box-sizing: border-box; height: 32px; margin: 0 12px 0 0; padding: 0 12px; cursor: pointer;
	font: inherit; font-size: var(--t-small); font-weight: 640; color: var(--ink);
	background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-1);
}
/* A checkbox or radio: the browser's own, which every keyboard and screen
   reader knows, at one size and in the accent. With its words, a
   label.choice (or .tick): the box on the first line, then the words. */
:where(input[type="checkbox"], input[type="radio"]) {
	width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--accent-edge); cursor: pointer;
}
.choice, .tick {
	display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 6px 0;
	font-size: var(--t-small); line-height: 24px; color: var(--ink); cursor: pointer;
}
.choice > input, .tick > input { margin-top: 3px; }
/* In a form, a field's words above it. */
:where(form) label { display: grid; gap: 6px; font-size: var(--t-small); color: var(--ink-soft); }
:where(form) label small { font-size: var(--t-tiny); font-weight: 400; color: var(--ink-faint); }
/* A date: day, month and year, three dropdowns side by side under its
   words (fieldset.date, its legend the words). Never the browser's own date
   box, which draws itself, and differently in every browser. */
fieldset.date { min-width: 0; margin: 0; padding: 0; border: 0; }
fieldset.date legend { padding: 0; margin: 0 0 6px; font-size: var(--t-small); color: var(--ink-soft); }
fieldset.date .dropdowns {
	display: grid; gap: 8px; grid-template-columns: minmax(76px, 2fr) minmax(0, 4fr) minmax(88px, 3fr);
}

/* -- dialogs --------------------------------------------------------
   What a page opens over itself: sign in and the age question
   (account.js), report it (report.js). */

dialog {
	width: min(420px, calc(100vw - 32px)); border: 1px solid var(--line-strong); border-radius: var(--r-4);
	background: var(--panel); color: var(--ink); padding: var(--s-5); box-shadow: var(--highlight), var(--shadow);
}
dialog::backdrop { background: var(--scrim); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
dialog h2 { margin: 0 0 6px; }
dialog p { color: var(--ink-soft); margin: 0 0 14px; }
dialog form label { margin-bottom: 14px; }
dialog .said { margin: 10px 0 0; color: var(--ink); min-height: 1em; }
/* The refusal itself, as large as the lines after it: directory.css makes
   a .said small on the pages that load it (/profile). */
dialog .said.too-young { margin: 0 0 14px; font-size: inherit; }
/* Sign in (account.js; signinux, 2026-11-13): the email and the other ways
   in (Google, GitHub and orangecheck since signin3), each a .wide button of
   one size, "or" between them as the best sign-ins have it, each with its
   mark; the code a box per digit (.code-boxes); while orangecheck's window
   is open, the wait for it in their place; and the line that signing in
   also makes the orangecheck account, above Not now. */
dialog.sign-in .lead { margin-bottom: var(--s-5); }
dialog .elsewhere { display: grid; gap: var(--s-2); }
dialog .way-mark { flex: none; }
/* In the stack of ways in, each mark stands 12 px in from its button's
   start, in one column down the stack, and the words are centred as Email
   me a code's are, with room for the mark on both sides: the app's form
   draws them so (ocbutton, 2026-12-05). */
dialog .cta.wide.way-in, dialog .cta.wide[data-oc-sign-in] { position: relative; padding-inline: 42px; }
/* On a phone the words centre in the room right of the mark: "Se
   connecter avec orangecheck" and "Iniciar sesión con orangecheck" broke
   onto two lines, 68 px tall, with room kept for a mark on both sides. */
@media (width < 480px) {
	dialog .cta.wide.way-in, dialog .cta.wide[data-oc-sign-in] { padding-inline: 42px 12px; }
}
dialog .cta.wide.way-in > .way-mark, dialog .cta.wide[data-oc-sign-in] > [data-oc-mark] {
	position: absolute; inset-inline-start: 12px; top: 50%; translate: 0 -50%;
}
dialog .made-line { margin: var(--s-4) 0 0; text-align: center; font-size: var(--t-small); }
dialog .or {
	display: flex; align-items: center; gap: var(--s-3); margin: var(--s-4) 0;
	font-size: var(--t-small); color: var(--ink-faint);
}
dialog .or::before, dialog .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
dialog .elsewhere .note { margin: 0; }
/* How orangecheck's window ended: calm when it was closed, a callout when
   the browser blocked it (what to do, in orangecheck's words), the
   trouble's colour when it failed. */
dialog .oc-said { margin: var(--s-2) 0 0; min-height: 0; }
dialog .oc-said:empty { display: none; }
dialog .said[data-tone="calm"] { color: var(--ink-soft); }
dialog .said[data-tone="bad"] { color: var(--bad); }
dialog .said[data-tone="blocked"] {
	padding: var(--s-3) var(--s-4); color: var(--ink); background: var(--bg-soft);
	border: 1px solid var(--line); border-left: 3px solid var(--accent-edge); border-radius: var(--r-2);
}
dialog .code-step > label { margin-bottom: var(--s-3); }
dialog .code-step > .note { margin: 0 0 var(--s-4); text-align: center; }
dialog .code-links {
	display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2) var(--s-5);
	margin: var(--s-3) 0 0; font-size: var(--t-small);
}
dialog .foot { margin: var(--s-4) 0 0; text-align: center; font-size: var(--t-small); }
/* A model too big for a phone, asked about before the studio opens it
   (web/phone-warn.js): Not now first, Open it anyway beside it. */
dialog.phone-warn .actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
dialog .waiting { padding: var(--s-3) 0 0; text-align: center; }
dialog .waiting .spinner { display: block; width: 28px; height: 28px; margin: 0 auto var(--s-4); color: var(--accent-edge); }
dialog .waiting-said { margin: 0 0 var(--s-1); font-size: var(--t-h3); font-weight: 640; color: var(--ink); }
dialog .waiting .note { margin: 0 0 var(--s-5); }
@media (width < 480px) { dialog.sign-in { padding: var(--s-5) var(--s-4); } }
/* The code from the email, a box per digit (web/code-boxes.js): a row as
   wide as the dialog, each box a thumb's 56 px tall, an eight-digit code
   in two fours. Read-only while it is checked; a refused code shakes the
   row once (not under reduced motion). */
/* min-width 0: a form's label is a grid, whose column would otherwise
   hold the row at six boxes' widest past a phone's panel. */
.code-boxes { display: flex; justify-content: center; gap: var(--s-2); margin: 0 0 var(--s-3); min-width: 0; }
.code-boxes .code-box {
	flex: 1 1 0; min-width: 0; max-width: 48px; height: 56px; padding: 0; text-align: center;
	font-size: var(--t-h2); font-weight: 640; font-variant-numeric: tabular-nums; caret-color: var(--accent-edge);
}
.code-boxes[data-digits="8"] .code-box:nth-child(4), .code-boxes[data-digits="6"] .code-box:nth-child(3) { margin-inline-end: var(--s-2); }
.code-boxes[aria-busy="true"] .code-box { color: var(--ink-soft); cursor: progress; }
.code-boxes.shake { animation: shake 360ms var(--ease); }
/* The age question's month and year, side by side. */
dialog .when { display: grid; grid-template-columns: 3fr 2fr; gap: 12px; }
/* Send feedback (feedback.js): wider, its three kinds in a row, and what
   goes with it under them, the picture shown small with its Remove. */
dialog.feedback { width: min(520px, calc(100vw - 32px)); }
dialog.feedback fieldset { min-width: 0; margin: 0 0 14px; padding: 0; border: 0; }
dialog.feedback legend { padding: 0; margin: 0 0 6px; font-size: var(--t-small); color: var(--ink-soft); }
dialog.feedback .kinds { display: flex; flex-wrap: wrap; column-gap: var(--s-4); }
dialog.feedback .attach .actions { margin: 0 0 6px; }
dialog.feedback figure.attached { display: grid; grid-template-columns: 120px 1fr; gap: 6px 12px; align-items: center; margin: 0 0 8px; }
dialog.feedback figure.attached canvas { grid-row: span 2; width: 120px; height: auto; border: 1px solid var(--line); border-radius: var(--r-1); }
dialog.feedback figcaption { font-size: var(--t-small); color: var(--ink-soft); overflow-wrap: anywhere; }
dialog.feedback .tick span { overflow-wrap: anywhere; }
/* Report a bug (bugreport.js): wider, the page's picture large to mark the
   spot on with a drag, and what will be sent in a line before Send. */
dialog.feedback.report { width: min(960px, calc(100vw - 32px)); }
dialog.feedback figure.marked { margin: 0 0 10px; }
dialog.feedback figure.marked figcaption { margin: 0; padding: 0; }
dialog.feedback canvas.marking {
	display: block; max-width: 100%; max-height: 40vh; width: auto; height: auto; margin: 0 0 6px;
	border: 1px solid var(--line); border-radius: var(--r-1); cursor: crosshair; touch-action: none;
}
dialog.feedback figure.marked .actions { margin: 6px 0 0; }
dialog.feedback .sends-head { margin: 0 0 2px; font-size: var(--t-small); color: var(--ink-soft); }
dialog.feedback .sends { margin: 0 0 4px; color: var(--ink); font-size: var(--t-small); }
/* Send and Cancel stay in sight while the report scrolls, as a dialog's
   footer does (GitHub's and Linear's new issue), edge to edge of the
   dialog: its bleed is the dialog's padding. The report is a .sign-in
   dialog too, 16 px a side on a phone since signinux, so there it bleeds
   16 px; a 24 px bleed ran 8 px past the dialog, sideways. Said again for
   the phone rather than as a token: tokens are made in :root alone. */
dialog.feedback.report form > .actions {
	position: sticky; bottom: calc(-1 * var(--s-5)); z-index: 1;
	margin: 0 calc(-1 * var(--s-5)) calc(-1 * var(--s-5)); padding: var(--s-3) var(--s-5) var(--s-5);
	background: var(--panel); border-top: 1px solid var(--line);
}
@media (width < 480px) {
	dialog.sign-in.feedback.report form > .actions { margin-inline: calc(-1 * var(--s-4)); padding-inline: var(--s-4); }
}
/* Wide enough, the words on the left and the picture on the right, the
   whole report in one screen. */
@media (width >= 900px) {
	dialog.feedback.report form { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 28px; align-items: start; }
	dialog.feedback.report form > * { grid-column: 1; }
	dialog.feedback.report form > fieldset.attach { grid-column: 2; grid-row: 1 / span 5; }
	dialog.feedback.report form > .actions, dialog.feedback.report form > .said { grid-column: 1 / -1; }
	dialog.feedback.report canvas.marking { max-height: 52vh; }
}
/* First steps after a first sign-in (first-steps.js): wider, for a row of
   pills and a grid of cards, its steps counted in the eyebrow. */
dialog.first-steps { width: min(640px, calc(100vw - 32px)); }
dialog.first-steps .eyebrow { margin-bottom: var(--s-2); }
dialog.first-steps h3 { margin: var(--s-5) 0 var(--s-2); }
dialog.first-steps .face-row { display: flex; align-items: center; gap: var(--s-4); margin: 0 0 var(--s-4); }
dialog.first-steps .face-row p { margin: 0; overflow-wrap: anywhere; }
dialog.first-steps .face-row b { color: var(--ink); font-weight: 650; }
dialog.first-steps .kinds { margin: 0 0 var(--s-5); }
/* Six cards: three to a row in its width, two on a phone. */
dialog.first-steps .models { margin: 0 0 var(--s-2); grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
@media (width < 600px) { dialog.first-steps .models { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
dialog.first-steps .actions { margin-top: var(--s-5); }
/* The beta's welcome after a first sign-in (beta-welcome.js): what
   Brickworks is in the ink, the beta and the tester's part under it, the
   two choices, and the terms in the quiet line last. */
/* A sheet: a dialog at the window's edge holding one row of a list whole
   (/admin's account, an act of its audit), over the list it came from.
   Its head the title and Close; its body scrolls inside it. The whole
   width of a phone. */
dialog.sheet {
	width: min(560px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 0;
	border-width: 0 0 0 1px; border-radius: 0;
}
dialog.sheet[open] { display: flex; flex-direction: column; }
dialog.sheet .sheet-head {
	display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
	padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--line);
}
dialog.sheet .sheet-head h2 { margin: 0; overflow-wrap: anywhere; }
dialog.sheet .sheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: var(--s-5); }
dialog.sheet .sheet-body > * + * { margin-top: var(--s-6); }
dialog.sheet .sheet-body h3 { margin: 0 0 var(--s-3); }
@media (width < 600px) { dialog.sheet { border-width: 0; } dialog.sheet .sheet-head, dialog.sheet .sheet-body { padding-inline: var(--s-4); } }
dialog.beta-welcome { width: min(460px, calc(100vw - 32px)); }
dialog.beta-welcome .eyebrow { margin-bottom: var(--s-2); }
dialog.beta-welcome .what { color: var(--ink); font-size: var(--t-lede); line-height: 1.45; text-wrap: pretty; }
dialog.beta-welcome .gets {
	padding: 10px 12px; border-left: 3px solid var(--accent-edge); background: var(--panel-hi);
	border-radius: 0 var(--r-1) var(--r-1) 0; color: var(--ink); text-wrap: pretty;
}
dialog.beta-welcome .actions { margin-top: var(--s-5); }
dialog.beta-welcome .note { margin: var(--s-3) 0 0; }
/* On a phone the two choices stack, each the dialog's width, Join on top. */
@media (width < 600px) { dialog.beta-welcome .actions .cta { flex: 1 1 100%; } }
/* Ask and tell (kit.js ask, tell): a question before an act, its title the
   question, a line of what it does, then the answer and Cancel, the answer
   first; a danger answer in the danger style. On a phone a sheet from the
   window's foot, its buttons stacked the sheet's width under the thumb,
   Cancel last, as a phone's own sheets have them. */
dialog.ask { width: min(440px, calc(100vw - 32px)); }
dialog.ask h2 { margin: 0 0 var(--s-2); overflow-wrap: anywhere; text-wrap: balance; }
dialog.ask p { margin: 0; overflow-wrap: anywhere; text-wrap: pretty; }
dialog.ask .actions { margin-top: var(--s-5); }
@media (width < 600px) {
	dialog.ask {
		inset: auto 0 0 0; width: 100%; max-width: 100%; margin: 0; border-bottom: 0; border-radius: var(--r-4) var(--r-4) 0 0;
		padding: var(--s-5) var(--s-4) calc(var(--s-4) + env(safe-area-inset-bottom, 0px));
	}
	dialog.ask[open] { animation-name: sheet-up; }
	dialog.ask .actions { flex-direction: column; align-items: stretch; }
}
@keyframes sheet-up { from { opacity: 0; transform: translateY(24px); } }

/* A person to follow (the feed's designers, First steps): their avatar,
   their name and best models, and Follow. A list of them is .people-list. */
.people-list { list-style: none; margin: 0; padding: 0; display: grid; }
.person-row {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s-1) var(--s-3);
	padding: var(--s-2) 0;
}
.person-row + .person-row { border-top: 1px solid var(--line); }
.person-row .face { flex: none; text-decoration: none; }
.person-row .names { display: grid; min-width: 0; line-height: 1.35; }
.person-row .names a { color: var(--ink); text-decoration: none; }
.person-row .names a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.person-row .names b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person-row .names b { font-weight: 650; }
/* The line about them wraps, never cut mid-word: what they share with you
   ran past 1280 px in French (web/card.js alikeHtml, sitelang11). */
.person-row .names small { color: var(--ink-soft); font-size: var(--t-small); overflow-wrap: break-word; }
.person-row .said { grid-column: 2 / -1; color: var(--ink-soft); font-size: var(--t-small); }
.person-row .said:empty { display: none; }

/* -- type ---------------------------------------------------------- */

h1, h2, h3 { text-wrap: balance; }
h1 {
	margin: 0 0 var(--s-3); font-size: var(--t-h1); line-height: 1.06;
	letter-spacing: -0.035em; font-weight: 740;
}
/* The landing page's one line, and nowhere else. */
.display { font-size: var(--t-display); line-height: 1; letter-spacing: -0.045em; font-weight: 760; }
/* Words in a title that are the point, in the accent's ink. */
.display em, h1 em, .title em { font-style: normal; color: var(--accent-ink); }
h2 {
	margin: 0 0 var(--s-2); font-size: var(--t-h2); line-height: 1.15;
	letter-spacing: -0.025em; font-weight: 690;
}
h3 { margin: 0 0 6px; font-size: var(--t-h3); line-height: 1.3; letter-spacing: -0.01em; font-weight: 650; }
.eyebrow {
	display: inline-block; margin: 0 0 14px; font-size: var(--t-tiny); font-weight: 680;
	letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink);
}
.lede { margin: 0 0 var(--s-5); font-size: var(--t-lede); color: var(--ink-soft); max-width: 60ch; text-wrap: pretty; }
.sub { margin: 0 0 var(--s-5); color: var(--ink-soft); max-width: 66ch; font-size: var(--t-lede); text-wrap: pretty; }
.note { margin: 14px 0 0; font-size: var(--t-small); color: var(--ink-faint); }
.center { text-align: center; }
.center .lede, .center .sub { margin-inline: auto; }

/* -- targets -------------------------------------------------------
   A link on a line of its own is a finger's target, 30-32 px (WCAG 2.5.8
   asks 24; they were 16-22): padding above and below that an inline
   link's line makes no room for, so its words stay where they were, or,
   on a block, given back by a negative margin. A crumb, Older versions,
   Version 1, a card's designer, a person to follow. */
.crumbs a, .note a, .eyebrow a, .state a, .earlier a { padding-block: 6px; }
.model a.who, .person-row .names a { padding-block: 4px; margin-block: -4px; }

/* -- blocks -------------------------------------------------------- */

/* A page's main fills the window under the header, so the footer starts
   at the window's foot however short the page is or however late its
   script draws: on a short page it stopped two-thirds of the way down,
   and on every page it jumped as the script's parts came in (site273). */
.site-head ~ main { display: block; min-height: calc(100vh - var(--head-h)); }
main > section, .band { padding: var(--section) 0; }
main > section + section { border-top: 1px solid var(--line); }

/* A page's parts under its head (.page-hero, below); .prose for the
   pages that are words (questions, the legal pages), narrower and
   quieter. */
.page { padding: var(--page-top) 0 var(--section); }
.page section { margin-top: var(--s-7); }
.page section > h2:first-child { margin-top: 0; }
.prose { max-width: 760px; }
.prose h2 { margin: var(--s-6) 0 var(--s-2); }
.prose p { color: var(--ink-soft); margin: 0 0 var(--s-3); }
.prose p b { color: var(--ink); font-weight: 620; }

/* Something that has nothing to show yet, or is on its way: a quiet panel
   of its own, its words and its way on in the middle (sitepolish,
   2026-11-23: a faint dashed line round words left in its corner, on the
   page's own ground, read as a placeholder nobody had finished). A state
   laid out as a row of its own (.feed-ask, .share-drop) keeps its start.
   The one empty state (listkit, 2026-11-23): every list's "nothing here
   yet" and its way in, the feed's, the notifications', Talk's, a list's;
   its words, then at most a line of links or one .actions. */
.state {
	margin: 0; padding: var(--s-6) var(--s-5); border: 1px dashed var(--line-strong); border-radius: var(--radius);
	background: var(--bg-soft); color: var(--ink-soft); text-align: center; text-wrap: pretty;
}
.state > * { margin-block: 0; }
.state > * + * { margin-top: var(--s-3); }
.state:not(.feed-ask, .share-drop) > * { max-width: 62ch; margin-inline: auto; }
.state :is(.actions, .pills) { justify-content: center; }
.state:is(.feed-ask, .share-drop) { text-align: start; }
.state .link { color: var(--ink); }
/* A page that is yours alone, signed out (settings, notifications, the
   feed, your lists; listkit made it the one for every such page): what
   signing in gives and the way in, a panel where the page's own would be,
   not a line of words in the open (sitepolish). */
.gate {
	max-width: 720px; padding: var(--s-6); border: 1px solid var(--line); border-radius: var(--r-4);
	background: var(--panel); box-shadow: var(--highlight), var(--shadow-1);
}
.gate > .lede { margin: 0 0 var(--s-5); color: var(--ink); }
.gate > .actions { margin: 0; }
@media (width < 600px) { .gate { padding: var(--s-5); } }

/* A skeleton: what a script draws, in its place and at its size before
   its data comes, so nothing moves when it does. A card's (.model.skeleton,
   web/card.js skeletonHtml), a row's or a panel's (.skeleton); its words
   are .bone bars in the panel's lighter tone, breathing slowly. Taken out
   whole for what came, never filled in, so what came is drawn new rather
   than moved. Read out as one status, not as its bones. */
.skeleton { pointer-events: none; }
.bone {
	display: block; height: 0.8em; width: 70%; margin: 0.35em 0; border-radius: var(--r-1);
	background: var(--panel-hi); animation: breathe 1.6s ease-in-out infinite;
}
.bone.short { width: 45%; }
.bone.wide { width: 92%; }
.bone.button { width: 132px; height: var(--control-h); margin: 0; border-radius: var(--control-radius); }
.bone.round { width: 40px; height: 40px; margin: 0; border-radius: 50%; }
.bone.round.huge { width: 112px; height: 112px; }
@media (width < 600px) { .bone.round.huge { width: 80px; height: 80px; } }
.tabs .bone { width: 240px; margin: 14px var(--s-3); }
.skeleton-card {
	display: flex; flex-direction: column; min-width: 0; border-radius: var(--radius); overflow: hidden;
	border: 1px solid var(--line); background: var(--panel); container-type: inline-size;
}
.skeleton-card .frame { aspect-ratio: 4 / 3; background: var(--picture-ground); animation: breathe 1.6s ease-in-out infinite; }
/* As tall as a row of cards' words: a name of two lines (16 px at every
   width), the designer's line (24 px, two lines on a card narrower than
   190 px, where their name and its size wrap), and one line of what it has
   (Moves, the most common), each bar drawn in the middle of its line's box.
   The card has no row of numbers since site277: they are on the
   designer's line. */
.skeleton-card .words { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; font-size: var(--t-body); }
.skeleton-card .bone { height: calc(1.35em); margin: 0; padding: 0.3em 0; background-clip: content-box; }
.skeleton-card .bone:nth-child(3) { height: 24px; padding: 6px 0; }
.skeleton-card .bone:nth-child(4) { height: calc(var(--t-tiny) * 1.65); padding: 6px 0; }
.bone.tiny { width: 30%; }
/* A bar as tall as a line of the words it stands for (a comment list's
   "Nobody has commented yet"), drawn in the line's middle. */
.bone.line { height: 1lh; margin: 0; padding: 0.3lh 0; background-clip: content-box; }
/* The card's width decides the wrap, not the window's: a phone's card two
   a row is 171 px, but a row that scrolls holds 200 px cards on a phone
   too, and the landing strip's skeletons stood 24 px taller than its cards
   there (site277). */
@container (width < 190px) {
	.skeleton-card .bone:nth-child(3) { height: calc(24px + 2px + var(--t-tiny) * 1.5); padding: 6px 0 calc(var(--t-tiny) * 1.5 + 8px); }
}
@media (width >= 900px) { .skeleton-card .words { padding: 10px 14px 12px; } }
@keyframes breathe { 50% { opacity: 0.55; } }

.card {
	background: var(--panel); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 24px; box-shadow: var(--highlight), var(--shadow-1);
}
.card p { margin: 0; color: var(--ink-soft); font-size: var(--t-small); }

/* A table of facts, in a .table: a scroller (below) where it is wider
   than the page, and a named region the keyboard can reach and scroll
   (role="region", aria-label, tabindex="0"). Each row's name is its
   th[scope="row"]; a number is .n. In .table.wide, many columns, the
   row's name stays in view as the rest scrolls past it. */
.table table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--t-small); }
.table th, .table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table thead th { color: var(--ink-faint); font-weight: 500; font-size: var(--t-tiny); vertical-align: bottom; }
.table tbody th { font-weight: 600; }
.table td { color: var(--ink-soft); }
.table .n { text-align: right; font-variant-numeric: tabular-nums; }
.table.wide table { min-width: 860px; }
.table.wide td, .table.wide thead th { min-width: 130px; }
.table.wide thead th { color: var(--ink); font-size: var(--t-small); font-weight: 650; }
.table.wide tr > :first-child { position: sticky; left: 0; z-index: 1; min-width: 120px; max-width: 150px; background: var(--bg); }
/* A column that sorts (/admin): its head a button.link.sort, in the head's
   words, the column sorted aria-sort with an arrow that says which way.
   A row asked for by its address (/admin#report-N) is .asked, lit. */
.table th .sort { color: inherit; text-decoration: none; text-align: inherit; }
.table th .sort:hover { color: var(--ink); }
.table th[aria-sort] .sort { color: var(--ink); }
.table th[aria-sort="descending"] .sort::after { content: " \2193"; }
.table th[aria-sort="ascending"] .sort::after { content: " \2191"; }
.table tr.asked > * { background: var(--accent-soft); }
.table tr.asked > :first-child { box-shadow: inset 3px 0 0 var(--accent-edge); }

/* A model: the one card for a shared model, wherever one is listed (the
   gallery, the landing page, a profile, a collection, a model's remixes,
   your account), drawn by web/card.js on the server and in the browser.
   Its picture 4:3, the middle of the 1200 x 630 one a share is published
   with (docs/SOCIAL.md D3): a model shows 1.43 times larger at the same
   width, rows line up, and the space is held before the picture comes.
   Its name is the link, stretched over the whole card; the designer's
   name and a like button sit above it, links and buttons of their own.
   .models lays them out: two to a row on a phone, three from 600 px and
   four from 900 px up (the owner, 2026-10-29: four a row on a desktop), so
   a page of 24 is whole rows at every width and a model is shown up to
   380 px wide. .models.scroller is one row of them that scrolls (the
   scroller, below), a card 180-300 px wide: as many as a grid has at that
   width less a half, so the next one always shows in part. */
.models { display: grid; gap: var(--s-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (width >= 600px) { .models { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (width >= 900px) { .models { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); } }
.models.scroller {
	grid-template-columns: none; grid-auto-flow: column; padding-block: 2px 10px;
	grid-auto-columns: clamp(180px, (100% - var(--s-4)) / 1.5, 300px);
}
@media (width >= 600px) { .models.scroller { grid-auto-columns: clamp(180px, (100% - 2 * var(--s-4)) / 2.5, 300px); } }
@media (width >= 900px) { .models.scroller { grid-auto-columns: clamp(180px, (100% - 4 * var(--s-5)) / 4.5, 300px); } }
/* Beside a rail or in a narrower column: more to a row. */
.models.compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }

/* A list's pages (web/pager.js; one markup, pagerHtml, for the server's
   pages and the browser's): Show earlier over a page opened by its
   address; under the list the count, Show more (the way on, a secondary
   button) and the numbered links, each a 40 px target, the pages shown
   on the accent's soft ground and the last of them edged in the accent.
   Under 600 px only the numbers next to it, the first and the last are
   left, and Previous and Next are their arrows. While a page comes, Show
   more is aria-busy and its cards' skeletons hold their places. */
.pager-earlier { display: flex; justify-content: center; margin: 0 0 var(--s-5); }
.pager { display: flex; flex-direction: column; align-items: center; gap: var(--s-3); margin: var(--s-6) 0 0; text-align: center; }
.pager-earlier[hidden], .pager[hidden], .pager [hidden] { display: none; }
.pager-count { margin: 0; color: var(--ink-soft); font-size: var(--t-small); font-variant-numeric: tabular-nums; }
.pager-more { min-width: min(100%, 220px); }
.pager-more[aria-busy="true"] { cursor: progress; opacity: 0.7; }
.pager-pages { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px; margin: var(--s-1) 0 0; padding: 0; list-style: none; }
.pager-pages a {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 40px; height: 40px; padding: 0 10px;
	border-radius: var(--r-2); color: var(--ink-soft); font-size: var(--t-small); font-variant-numeric: tabular-nums; text-decoration: none;
}
.pager-pages a:hover { background: var(--panel-hi); color: var(--ink); }
.pager-pages a[data-shown] { background: var(--accent-soft); color: var(--ink); }
.pager-pages a[aria-current="page"] { box-shadow: inset 0 0 0 1px var(--accent-edge); color: var(--ink); font-weight: 650; }
.pager-pages .gap { min-width: 16px; color: var(--ink-faint); }
@media (width < 600px) {
	.pager-pages [data-far] { display: none; }
	.pager-pages .step .words {
		position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
	}
}
.model {
	position: relative; display: flex; flex-direction: column; color: inherit; min-width: 0;
	border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
	background: var(--panel); box-shadow: var(--highlight), var(--shadow-1);
}
.model:hover { border-color: var(--line-strong); box-shadow: var(--highlight), var(--shadow-2); }
.model:hover b { text-decoration: underline; text-decoration-thickness: 1px; }
.model .frame { position: relative; aspect-ratio: 4 / 3; background: var(--picture-ground); overflow: hidden; }
.model .frame img { width: 100%; height: 100%; object-fit: cover; }
.model .frame.none {
	display: grid; place-items: center; color: var(--ink-faint); font-size: var(--t-small);
	background: linear-gradient(180deg, var(--panel-hi), var(--bg-soft));
}
/* Its marks over the picture's top corner: Tested, 3D. One
   row of them: a mark that does not fit is left off whole, never cut (the
   row is one pill tall, its 3 px edge holding their shadows). They stacked
   two and three rows deep on a phone, 30% of the picture (site273). A
   mark nearly every card on the page carries is not said at all
   (web/card.js quietMarks, <body data-quiet>). */
.model .marks {
	position: absolute; top: 5px; left: 5px; right: 5px; max-height: 30px; padding: 3px; overflow: hidden;
	display: flex; flex-wrap: wrap; gap: var(--s-1);
}
.model .marks .pill { box-shadow: 0 1px 3px var(--shade); }
[data-quiet~="tested"] .model .marks .tested { display: none; }
/* The gallery's like, over the picture's other corner, on a ground of its
   own over any picture; the marks keep clear of it. */
.model .frame > .icon-btn {
	position: absolute; top: var(--s-2); right: var(--s-2); z-index: 1;
	background: var(--panel); box-shadow: 0 1px 3px var(--shade);
}
.model .frame > .icon-btn:hover { background: var(--panel-hi); }
.model .frame:has(> .icon-btn) .marks { right: 49px; }
/* Own (a set) or Save (a model), and your lists: a split pill over the
   picture's foot, on a ground of its own over any picture as the like has
   (web/card.js keepHtml, web/keep.js, docs/LISTS.md). Its first half the
   state, pressed while it is so: a plus, then a check and the accent edge
   (a model's bookmark filled); how many once more than one. Its second
   half opens the lists, a dot on it while the item is in one. */
.keep {
	display: inline-flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: var(--r-pill);
	background: var(--panel); color: var(--ink); box-shadow: 0 1px 3px var(--shade);
}
.model .frame > .keep { position: absolute; right: var(--s-2); bottom: var(--s-2); z-index: 1; }
/* With a mouse, Save comes over a card's picture as the pointer or the
   keyboard reaches the card, and stays while it is saved or its lists are
   open: a grid of pictures, not of buttons over them (sitepolish,
   2026-11-23). A finger has no hover: on a touch screen it is always there. */
@media (hover: hover) and (pointer: fine) {
	.model .frame > .keep { opacity: 0; transition: opacity var(--motion) var(--ease); }
	.model:is(:hover, :focus-within) .frame > .keep,
	.model .frame > .keep:is(:has([aria-pressed="true"], [aria-expanded="true"], [data-in])) { opacity: 1; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) { .model .frame > .keep { transition: none; } }
.keep > button {
	position: relative; display: inline-flex; align-items: center; gap: var(--s-1); min-height: 36px; margin: 0; padding: 0 10px;
	border: 0; border-radius: 0; background: transparent; color: inherit; box-shadow: none;
	font: inherit; font-size: var(--t-small); font-weight: 640; line-height: 1; cursor: pointer;
}
.keep > .keep-more { padding: 0 9px 0 7px; border-left: 1px solid var(--line); }
/* One shape, its corners the halves' own, so a finger's room can reach
   past them (a touch screen's, below the sheet's coarse rules); their
   focus ring is drawn inside them. */
.keep > .keep-main { border-radius: var(--r-pill) 0 0 var(--r-pill); }
.keep > .keep-more { border-radius: 0 var(--r-pill) var(--r-pill) 0; }
.keep > button:hover { background: var(--panel-hi); }
.keep > button:focus-visible { outline-offset: -3px; }
.keep .icon { width: 18px; height: 18px; }
.keep:has(> [aria-pressed="true"]) { border-color: var(--accent-edge); }
.keep .n { font-variant-numeric: tabular-nums; color: var(--ink-soft); }
:is(.keep, .keep-bar) [aria-pressed="true"] > .off, :is(.keep, .keep-bar) [aria-pressed="false"] > .on { display: none; }
:is(.keep, .keep-bar) :is(.off, .on) { display: inline-flex; }
:is(.keep, .keep-bar) [aria-pressed="true"] > .icon { fill: currentColor; }
.keep [data-in]::after, .keep-bar [data-keep-more][data-in] .word::after {
	content: ""; display: inline-block; width: 7px; height: 7px; border-radius: var(--r-pill); background: var(--accent-edge);
}
.keep [data-in]::after { position: absolute; top: 6px; right: 5px; }
.keep-bar [data-keep-more][data-in] .word::after { margin: 0 0 1px 6px; vertical-align: middle; }
/* A small card's pill: the state's word only from a card's width up. */
.models.compact .keep .word { display: none; }
/* A phone's two to a row: the picture is the card's point, so Save is its
   icon alone there, as the like is, and the model shows past it
   (sitepolish, 2026-11-23: the word's pill covered two thirds of a 170 px
   picture's foot, a cactus or a fox behind it). Its name is its label. */
@media (width < 600px) {
	.models:not(.scroller) .keep .word { display: none; }
	.models:not(.scroller) .keep > .keep-main { padding-inline: 9px 7px; }
}
/* On a set's page, under its name: Own, Want and its lists, a row. */
.keep-bar { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0 0 12px; }
.keep-bar > .cta { flex: 1 1 auto; gap: 6px; }
.keep-bar .icon { width: 18px; height: 18px; }
.keep-bar .n { padding: 0 6px; border-radius: var(--r-pill); background: var(--accent-soft); font-size: var(--t-tiny); line-height: 20px; }
/* The lists, a panel beside the button that opened it (a dialog, closed by
   Escape, a tap outside or ×), or a sheet from the window's foot on a
   phone: the item's name, I own (how many) and I want, or Saved; each list
   of yours, ticked where it is in; New list… made there; the way to
   manage them; and a line that says what each tick did. */
dialog.keep-panel {
	position: fixed; inset: auto; margin: 0; width: min(340px, calc(100vw - 32px)); max-height: min(600px, calc(100vh - 32px));
	padding: 16px; overflow: auto; overscroll-behavior: contain;
}
dialog.keep-panel::backdrop { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
dialog.keep-panel.at-foot {
	inset: auto 0 0 0; width: 100%; max-width: 100%; max-height: 85vh; border-bottom: 0;
	border-radius: var(--r-4) var(--r-4) 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
}
dialog.keep-panel.at-foot::backdrop { background: var(--scrim); }
.keep-panel .keep-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-2); margin: 0 0 6px; }
.keep-panel .keep-head h2 { margin: 4px 0 0; min-width: 0; overflow-wrap: anywhere; }
.keep-panel .keep-head .shut { flex: none; margin: -4px -6px 0 0; border-color: transparent; background: transparent; }
.keep-panel h3 { margin: 12px 0 2px; padding-top: 12px; border-top: 1px solid var(--line); }
.keep-panel .keep-rows { display: grid; }
.keep-panel .keep-line { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); }
.keep-panel .keep-row { align-items: center; min-height: 40px; padding: 4px 0; }
.keep-panel .keep-row > input { margin-top: 0; }
.keep-panel .keep-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.keep-panel .keep-row small { flex: none; color: var(--ink-faint); font-size: var(--t-tiny); }
.keep-panel .keep-qty { display: inline-flex; align-items: center; gap: var(--s-1); flex: none; }
.keep-panel .keep-qty output { min-width: 24px; text-align: center; font-weight: 640; font-variant-numeric: tabular-nums; }
.keep-panel .note { margin: 4px 0; color: var(--ink-soft); font-size: var(--t-small); }
.keep-panel .keep-new { display: grid; gap: var(--s-2); margin: 10px 0 0; }
.keep-panel .keep-new label { margin: 0; }
.keep-panel .keep-new-buttons { display: flex; gap: var(--s-2); }
.keep-panel .keep-foot {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2);
	margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line);
}
.keep-panel .keep-new-open { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; }
.keep-panel .keep-new-open .icon { width: 18px; height: 18px; }
.keep-panel .keep-manage { font-size: var(--t-small); }
.keep-panel .said { margin: 8px 0 0; color: var(--ink-soft); font-size: var(--t-small); }
.keep-panel .said:empty { display: none; }
/* On a phone the marks keep to the picture's left 60%: one, mostly, never
   more than 12% of it (two side by side on a pinned row's wider card were
   12.7%, site277). */
@media (width < 600px) { .model .marks, .model .frame:has(> .icon-btn) .marks { right: 40%; } }
.model .words { flex: 1; padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
@media (width >= 900px) { .model .words { padding: 10px 14px 12px; } }
/* The name: the card's one link to the model, stretched over all of it,
   and a finger's target of its own too (24 px at least, WCAG 2.5.8): a
   one-line name on a phone is 20 px, a hair from the designer's link. */
.model .open { color: inherit; text-decoration: none; min-height: 24px; }
.model .open::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.model .open:focus-visible { outline: none; }
.model .open:focus-visible::after { outline: 2px solid var(--focus); outline-offset: -2px; }
/* A name is at most 80 characters (api/share.js); two lines of it here. */
.model b {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	color: var(--ink); font-size: var(--t-body); font-weight: 640; line-height: 1.35; overflow-wrap: anywhere;
}
/* Who made it, with their avatar, its size and its numbers, one line that
   wraps on a phone. */
.model .by {
	display: flex; flex-wrap: wrap; align-items: center; gap: 2px var(--s-2); min-width: 0;
	color: var(--ink-soft); font-size: var(--t-small); line-height: 1.5;
}
/* Clear of the name by more than the designer's link reaches above its line
   (4 px, "targets"): a one-line name's 24 px target was left 22 under it,
   on a build card whose line wraps (axe target-size, /builds at 390). */
.model .open + .by { margin-top: 3px; }
.model .who { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; color: var(--ink-soft); }
.model .who span:not(.avatar) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.model a.who { position: relative; z-index: 1; text-decoration: none; }
.model a.who:hover { color: var(--ink); text-decoration: underline; }
.model .parts { color: var(--ink-faint); font-size: var(--t-tiny); white-space: nowrap; }
.model small:not(.pill) { color: var(--ink-faint); font-size: var(--t-tiny); font-variant-numeric: tabular-nums; }
/* How much of it the signed-in person's collection holds, and what moves. */
.model small.moves, .model small.owned.all { color: var(--ink); font-weight: 600; }
.model small.owned { color: var(--ink-soft); }
/* Its numbers on that line, after its size: likes (where the like is not
   a button), builds and comments, each an icon and a count. The card used
   to end in a row of them, which held only an empty heart on every card. */
.model .by .acts { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s-3); font-size: inherit; }
.model .tally { display: inline-flex; align-items: center; gap: var(--s-1); color: var(--ink-soft); }
.model .tally .icon { width: 16px; height: 16px; }
/* The gallery's card ends in what people do with a model (web/card.js,
   sitebold, 2026-11-23): Like, its comments and Remix into the studio,
   quiet icon buttons with their counts once there are some, then its
   builds; each over the name's stretched link, as the designer's is. At
   the card's foot, so a row of cards has one line of them whatever each
   says above it (feedcards: two lines of "Moves:" pushed one card's down). */
.model .social { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; margin: auto 0 0 -10px; padding-top: var(--s-2); }
.model .social > * { position: relative; z-index: 1; }
.model .social .icon-btn { min-height: 36px; padding: 0 10px; gap: 6px; border-color: transparent; background: none; color: var(--ink-soft); }
.model .social .icon-btn:hover { background: var(--panel-hi); color: var(--ink); }
/* Liked: the heart filled in red, its count in ink (red words were 3.6:1 on a dark card). */
.model .social .icon-btn[aria-pressed="true"] { border-color: transparent; color: var(--ink); }
.model .social .icon-btn[aria-pressed="true"] .icon { color: var(--red); }
.model .social .n { font-size: var(--t-small); font-weight: 600; font-variant-numeric: tabular-nums; }
.model .social .tally { margin-left: var(--s-2); }
/* Who shares a model somebody else modelled, under that person's name. */
.model small.via { color: var(--ink-faint); }
/* A photo of a real build as a card (web/card.js buildCardHtml), the
   gallery's Builds tab: the model card's shape, the photo cut to its 4:3;
   who built it and when on one line, and what they said of it, two lines
   at most, its quote marks the browser's. */
.model .when { color: var(--ink-faint); font-size: var(--t-tiny); white-space: nowrap; font-variant-numeric: tabular-nums; }
/* Who built it takes a second line before the name is cut: "Gebaut von
   Robin Castell" is wider than a phone's card, where the English fits. */
.build-card .who span:not(.avatar) {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; overflow-wrap: anywhere;
}
.build-card .said {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px;
	color: var(--ink-soft); font-size: var(--t-small); line-height: 1.4; overflow-wrap: anywhere;
}
/* A collection's cover: up to four of its models' pictures (web/card.js
   collectionCardHtml, api/_lists.js mosaicHtml), on its card and at the
   head of its page. */
/* Its shape holds whatever its pictures' own: a wide picture across both
   columns would make its row taller than the cover's half. */
.mosaic {
	aspect-ratio: 4 / 3; min-height: 0; overflow: hidden; display: grid; gap: 2px; background: var(--bg-soft);
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
}
.mosaic img { width: 100%; height: 100%; min-height: 0; object-fit: cover; background: var(--picture-ground); }
.mosaic.n1 img { grid-column: 1 / -1; grid-row: 1 / -1; }
/* Kept wide, as the pictures are: two one above the other, three a wide
   one over two. */
.mosaic.n2 img, .mosaic.n3 img:first-child { grid-column: 1 / -1; }
.mosaic.n0 { place-items: center; grid-template-columns: 1fr; grid-template-rows: 1fr; color: var(--ink-faint); font-size: var(--t-small); }
/* A public collection as a card (web/card.js collectionCardHtml), the
   gallery's Collections tab: the model card's shape, its cover filling the
   frame; whose, how many models and followers on its line, and Follow at
   its foot (web/follow.js), over the card's link as the designer's is,
   level across a row; nothing there when there is no Follow (your own)
   and nothing said. */
.collection-card .frame > .mosaic { aspect-ratio: auto; width: 100%; height: 100%; }
.collection-card .follow-line {
	position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2);
	margin: auto 0 0; padding-top: var(--s-2);
}
.collection-card .follow-line:not(:has(> .follow:not([hidden]), > .said:not(:empty))) { display: none; }
.collection-card .follow-line .said { flex-basis: 100%; color: var(--ink-soft); font-size: var(--t-small); }
.collection-card .follow-line .said:empty { display: none; }
/* A card 180-280 px wide: the designer's line a step smaller, so their
   name, its size and its numbers fit. The name stays 16 px at every width. */
@media (width < 900px) {
	.model .by { font-size: var(--t-tiny); }
	.model .by .acts { gap: 0 var(--s-2); }
}
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* -- the kit --------------------------------------------------------
   What a social page is made of (docs/DESIGN_SYSTEM.md, web/kit.js): the
   pill, tabs, an avatar, an icon and an icon button with its count, the
   toast, the "more" menu. web/_kit.html shows each, in both themes. */

/* A pill: a fact, a tag, a mark. One that is a link or a button is taller,
   a finger's width, and takes the pointer's edge. .good is green (Tested),
   .new is edged in the accent, .tag says "#" first. A row of them is
   .pills. */
.pill {
	display: inline-flex; align-items: center; gap: var(--s-1); min-height: 24px; padding: 1px 10px;
	border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--panel);
	font: inherit; font-size: var(--t-tiny); font-weight: 500; line-height: 20px; white-space: nowrap;
	color: var(--ink-soft); text-decoration: none;
}
a.pill, button.pill, summary.pill { min-height: 32px; padding: 5px 12px; font-size: var(--t-small); color: var(--ink); cursor: pointer; }
a.pill:hover, button.pill:hover, summary.pill:hover { border-color: var(--ink-faint); background: var(--panel); }
summary.pill { width: fit-content; list-style: none; }
summary.pill::-webkit-details-marker { display: none; }
.pill.good { color: var(--green); border-color: var(--green); font-weight: 600; }
.pill.new { color: var(--ink); border-color: var(--accent-edge); }
/* Work in progress (supabase/wip.sql): a model still being built, on its
   card, its page and its Log; .finished the version that finished it. */
.pill.wip { color: var(--accent-ink); border-color: var(--accent-edge); background: var(--accent-soft); }
.pill.finished { color: var(--ink); border-color: var(--ink-faint); }
.pill.tag { gap: 0; }
.pill.tag::before { content: "#"; color: var(--ink-faint); }
/* Its quieter part: a handle after a name. */
.pill small { color: var(--ink-faint); font-size: inherit; }
/* A person's achievements (web/card.js awardsHtml): pills, each the award
   icon at its words' height before its name. */
.pills.awards .icon { width: 16px; height: 16px; margin-left: -2px; }
.pills { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
/* .pills.scroller: one row of them that scrolls (the gallery's kinds,
   the library's themes). A pressed one is chosen, edged in the accent. */
.pills.scroller { flex-wrap: nowrap; padding-block: 2px; }
button.pill[aria-pressed="true"], a.pill[aria-current="true"] { border-color: var(--accent-edge); background: var(--panel-hi); }

/* Tabs: a row of links or buttons, the one shown aria-current (or
   aria-selected in a tablist) underlined in the accent's edge. A
   scroller by its own class (below): on a phone the row scrolls inside
   itself. A count in .n. */
.tabs {
	display: flex; gap: var(--s-1); margin: 0 0 var(--s-5); padding: 0; list-style: none;
	border-bottom: 1px solid var(--line);
}
.tabs a, .tabs button {
	flex: none; display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--control-h);
	margin: 0 0 -1px; padding: 0 var(--s-3); border: 0; border-bottom: 2px solid transparent; border-radius: 0;
	background: none; color: var(--ink-soft); font-size: var(--t-small); font-weight: 600; text-decoration: none; white-space: nowrap;
}
.tabs a:hover, .tabs button:hover { color: var(--ink); background: none; }
.tabs [aria-current="page"], .tabs [aria-current="true"], .tabs [aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent-edge); }
.tabs .n { color: var(--ink-faint); font-weight: 500; font-variant-numeric: tabular-nums; }

/* An object's page (pagekit, 2026-11-23; docs/DESIGN_SYSTEM.md "An object's
   page"): a model's, a set's, a person's, a collection's, a challenge's and
   a Talk thread's, one pattern, as Printables and MakerWorld lay theirs out.
   The owner, on a model's page: "somehow you need to drastically improve the
   ui/ux patterns used but probably across the entire site so everything
   looks far more organized and intuitive".

   - .obj-layout: the page's work (.obj-main) and beside it, from 900 px,
     .obj-aside, a panel that stays on screen as the page scrolls: what it
     is, whose, the one action that matters, the rest in More, and one
     quiet line of facts. Under 900 px the aside comes first, as the
     page's head. (A model's and a set's page keep .model-page's own grid.)
   - .obj-title: a title of two lines at most, at a size a column holds.
   - .obj-tabs: the kit's .tabs as a tablist (web/tabs.js), each tab its
     panel's, a count in .n; the panels in .obj-panels.
   - .obj-facts: facts in one quiet line, a dot between two.
   - .obj-empty: what a tab with nothing yet says, one line and its way in,
     never a block. */
.obj-layout {
	display: grid; gap: var(--s-5) var(--s-7); align-items: start;
	grid-template-columns: minmax(0, 1fr) 360px; grid-template-areas: "main aside";
}
.obj-main { grid-area: main; min-width: 0; }
.obj-aside {
	grid-area: aside; min-width: 0; position: sticky; top: calc(var(--head-h) + var(--s-4));
	max-height: calc(100dvh - var(--head-h) - 2 * var(--s-4)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
	padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--radius);
	background: var(--panel); box-shadow: var(--highlight), var(--shadow-2);
}
.obj-aside > :first-child { margin-top: 0; }
.obj-aside > :last-child { margin-bottom: 0; }
.obj-aside .actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-4) 0 0; }
.obj-aside .actions > .cta { flex: 1 1 auto; }
.obj-aside .actions > .cta:first-child { flex-basis: 100%; }
.obj-aside .obj-facts { margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--line); }
@media (width >= 1200px) { .obj-layout { grid-template-columns: minmax(0, 1fr) 380px; } }
@media (width < 900px) {
	.obj-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "aside" "main"; gap: var(--s-4); }
	.obj-aside { position: static; max-height: none; overflow: visible; padding: 0; border: 0; background: none; box-shadow: none; }
}
.obj-title {
	margin: 0 0 var(--s-3); font-size: var(--t-title); line-height: 1.18; letter-spacing: -0.02em;
	overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.obj-tabs { margin: var(--s-5) 0 var(--s-4); }
.obj-tabs [role="tab"] { scroll-margin-inline: var(--s-4); padding-inline: 10px; }
.obj-tabs [role="tab"]:focus-visible { outline-offset: -3px; }
.obj-panels > [role="tabpanel"] { margin-top: 0; }
.obj-panels > [role="tabpanel"]:focus-visible { outline: 2px solid var(--accent-edge); outline-offset: 4px; border-radius: var(--r-2); }
/* With no script (web/tabs.js not run), the panel the address names shows
   in the first one's place: every tab still a link that works. */
.obj-panels:not([data-tabs]) > [role="tabpanel"]:is(:target, :has(:target)) { display: block !important; }
.obj-panels:not([data-tabs]):has(> [role="tabpanel"]:is(:target, :has(:target))) > [role="tabpanel"]:not(:target, :has(:target)) { display: none !important; }
.obj-facts {
	display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; margin: 0; padding: 0; list-style: none;
	color: var(--ink-soft); font-size: var(--t-small);
}
.obj-facts > li { min-width: 0; overflow-wrap: anywhere; }
.obj-facts > li + li::before { content: "\00B7"; display: inline-block; width: 16px; text-align: center; color: var(--ink-faint); }
.obj-facts a { color: var(--ink); }
.obj-facts b { color: var(--ink); font-weight: 640; font-variant-numeric: tabular-nums; }
.obj-empty {
	display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin: 0; padding: var(--s-3) 0;
	color: var(--ink-soft);
}
.obj-empty a:not(.cta) { color: var(--ink); font-weight: 600; }
.obj-empty[hidden] { display: none; }

/* The scroller: the one way anything on the site scrolls sideways
   (docs/DESIGN_SYSTEM.md "Scroller", web/scroller.js). It scrolls inside
   itself, never the page, and a swipe past its end never takes the
   browser back a page. A row of items is its component's class and
   .scroller (.models, .pills, .media-strip, .build-strip); .tabs is one
   by its own class. A box wider than its room scrolls the same way, but
   freely, with no snapping, gutter or buttons: a .table, the docs'
   .code, /admin's .card.scroller.

   Where it has more, its edge fades (scroller.js says which, data-more:
   "start", "end" or both), over the item cut there: its start as far as
   an item comes to rest (16 px), its end wider, where a row of pills or
   tabs may be cut between two and the fade is all that says so. Its
   scrollbar is thin
   and drawn while the pointer or the focus is in it, its room kept the
   while, so nothing moves when it is. Positioned, so a .visually-hidden
   heading inside it scrolls with it rather than push the page sideways. */
:where(.scroller, .tabs, .table, .code > pre) {
	position: relative; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-behavior: smooth;
	scrollbar-width: thin; scrollbar-color: transparent transparent;
}
:where(.scroller, .tabs, .table, .code > pre):is(:hover, :focus-within) { scrollbar-color: var(--line-strong) transparent; }
:where(.scroller, .tabs, .table, .code > pre)[data-more="start"] { mask-image: linear-gradient(to right, transparent, var(--ink) 16px); }
:where(.scroller, .tabs, .table, .code > pre)[data-more="end"] { mask-image: linear-gradient(to left, transparent, var(--ink) 40px); }
:where(.scroller, .tabs, .table, .code > pre)[data-more="start end"] {
	mask-image: linear-gradient(to right, transparent, var(--ink) 16px, var(--ink) calc(100% - 40px), transparent);
}
@media (prefers-reduced-motion: reduce) { :where(.scroller, .tabs, .table, .code > pre) { scroll-behavior: auto; } }
/* A row of items: each comes to rest with its start at the row's, clear
   of the fade (scroll-padding), as does one the keyboard focuses, whose
   ring is drawn inside it so the row does not cut it off. A .scroller
   row reaches into the page's 16 px gutter: its first item starts at the
   page's edge, under the words over it, and a phone's runs to the edge
   of the screen. */
:where(.scroller:not(.card), .tabs) { scroll-snap-type: x mandatory; scroll-padding-inline: 16px; }
:where(.scroller:not(.card), .tabs) > * { flex: none; scroll-snap-align: start; }
:where(.scroller:not(.card), .tabs) :focus-visible { outline-offset: -3px; }
.scroller:not(.card) { margin-inline: -16px; padding-inline: 16px; }
/* .inset: a row that does not start at the page's edge (after a control,
   inside a panel) keeps to its own box. */
.scroller.inset { margin-inline: 0; padding-inline: 0; }
/* A row's head: its name, and where the row is the start of a longer
   list, See all to it at the far end. */
.scroller-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 var(--s-4); margin: 0 0 var(--s-3); }
.scroller-head > h2 { margin: 0; }
.scroller-head > a { padding-block: 6px; color: var(--ink-soft); font-size: var(--t-small); }
.scroller-head > a:hover { color: var(--ink); }
/* Previous and Next (scroller.js), for a mouse: a finger swipes. Beside
   the row's two ends, over its fade, each hidden at its end; a page of
   items a press, and what comes to rest is clear of them. Drawn where
   the browser can tie them to the row (anchor positioning); elsewhere the
   row scrolls as it does under a finger. */
.icon-btn.scroller-go { display: none; }
@media (hover: hover) and (pointer: fine) {
	@supports (anchor-name: --row) {
		.icon-btn.scroller-go {
			display: inline-flex; position: absolute; z-index: 1; top: anchor(center); translate: 0 -50%;
			background: var(--panel); box-shadow: var(--highlight), var(--shadow-1);
		}
		.icon-btn.scroller-go:hover { background: var(--panel-hi); }
		.scroller-go.scroller-back { left: anchor(left); }
		.scroller-go.scroller-next { right: anchor(right); }
		.scroller:not(.card) { scroll-padding-inline: 44px; }
		.scroller:not(.card)[data-more="start"] { mask-image: linear-gradient(to right, transparent, var(--ink) 44px); }
		.scroller:not(.card)[data-more="end"] { mask-image: linear-gradient(to left, transparent, var(--ink) 44px); }
		.scroller:not(.card)[data-more="start end"] {
			mask-image: linear-gradient(to right, transparent, var(--ink) 44px, var(--ink) calc(100% - 44px), transparent);
		}
	}
}

/* An avatar: a person's picture (which may be a minifig they made), or the
   minifig made from their handle (web/card.js avatarHtml, .minifig below)
   on a round tile in one of eight colours. Four sizes: .small 24 (a
   byline), 40, .big 64 (your account), .huge 112 (a profile). */
.avatar {
	display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; overflow: hidden;
	border-radius: 50%; background: var(--avatar-8); color: var(--on-avatar);
	font-size: var(--t-h3); font-weight: 700; line-height: 1; text-transform: uppercase; user-select: none;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.small { width: 24px; height: 24px; font-size: var(--t-micro); }
.avatar.big { width: 64px; height: 64px; font-size: var(--t-h2); }
.avatar.huge { width: 112px; height: 112px; font-size: var(--t-h1); }
.avatar.c1 { background: var(--avatar-1); } .avatar.c2 { background: var(--avatar-2); }
.avatar.c3 { background: var(--avatar-3); } .avatar.c4 { background: var(--avatar-4); }
.avatar.c5 { background: var(--avatar-5); } .avatar.c6 { background: var(--avatar-6); }
.avatar.c7 { background: var(--avatar-7); } .avatar.c8 { background: var(--avatar-8); }
/* Somebody not known yet (your own in the header before the server has
   said who you are): the same circle, blank, on the neutral ground. */
.avatar.unknown { background: var(--panel-hi); box-shadow: inset 0 0 0 1px var(--line-strong); }
/* A minifigure (web/card.js minifigHtml): its layers, each a picture of
   the whole circle, laid over its colour. Head and shoulders at a profile's
   and an account's sizes; at a byline's and a list's, closer, so the face
   reads. */
.avatar.house { background: var(--panel-hi) url(/icon.svg) 50% 50% / 64% no-repeat; box-shadow: inset 0 0 0 1px var(--line-strong); }
/* A minifig or the mark has no letter in it, and an empty box sits on the
   text's baseline, which made every byline 4 px taller: an empty line in
   it keeps the baseline a letter had. */
.avatar.minifig::before, .avatar.house::before { content: "\200b"; }
.avatar.minifig { background-size: cover; background-position: 50% 50%; background-repeat: no-repeat; }
.avatar.minifig:not(.big):not(.huge) { background-size: 150%; background-position: 50% 8%; }

/* A picture of your own cropped to a circle (web/picture.js, Edit
   profile's Choose a picture): the picture on a square canvas, the circle
   it is cut to drawn on it, as wide as the dialog lets it be, the zoom's
   two icon buttons under it. Dragged with a finger, so the page does not
   scroll under it. */
.crop-dialog { width: min(440px, calc(100vw - 32px)); }
.cropper { display: grid; gap: var(--s-3); justify-items: center; margin: 0 0 var(--s-4); }
.cropper canvas { display: block; width: 100%; max-width: 360px; aspect-ratio: 1; border-radius: var(--radius);
	background: var(--field); touch-action: none; cursor: grab; }
.cropper canvas:active { cursor: grabbing; }
.cropper .zoom { display: flex; gap: var(--s-2); }

/* Make a minifig (web/minifig-maker.js, Edit profile; figmaker
   2026-11-24): the figure live in 3D on its background beside its parts
   (above them on a phone), Undo, Redo, Turn back, Surprise me and Start
   from… under it, then the picture it makes at a byline's, a card's and a
   profile's size on a light page and a dark one. The parts in tabs, skin
   first; each choice a tile drawn from its part in the colour chosen, the
   one chosen edged in the accent. Only a tab's choices scroll, so Save
   stays in reach. On a phone the dialog is the whole screen. */
.minifig-dialog { width: min(1180px, calc(100vw - 32px)); height: min(900px, calc(100dvh - 32px)); max-width: none; max-height: none;
	display: none; }
.minifig-dialog[open] { display: flex; flex-direction: column; }
.minifig-dialog .minifig-lead { margin-bottom: var(--s-3); }
.minifig-body { flex: 1 1 auto; min-height: 0; display: flex; }
.minifig-credit { margin: var(--s-3) 0 var(--s-2); font-size: var(--t-small); }
.mf-maker { flex: 1 1 auto; min-height: 0; min-width: 0; display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
	gap: var(--s-5); }
/* Over .page section's gap between a page's sections: these two are one row. */
.mf-maker > section { margin: 0; max-width: none; }
.mf-look { display: flex; flex-direction: column; gap: var(--s-3); min-height: 0; overflow-y: auto; }
.mf-stage { position: relative; flex: 1 1 auto; min-height: 300px; overflow: hidden; border-radius: var(--r-3);
	border: 1px solid var(--line); background: var(--bg-soft) center / cover no-repeat; cursor: grab; }
.mf-stage:active { cursor: grabbing; }
.mf-stage:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.mf-stage canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.mf-wait { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: var(--s-4); text-align: center;
	color: var(--ink); background: color-mix(in srgb, var(--panel) 55%, transparent); }
.mf-tools { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.mf-sizes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.minifig-on { display: flex; align-items: center; justify-content: center; gap: var(--s-2); min-width: 0; min-height: 80px;
	padding: var(--s-2); border-radius: var(--radius); border: 1px solid var(--line-strong); }
.minifig-on.light { background: var(--ground-light); }
.minifig-on.dark { background: var(--ground-dark); }
.mf-edit { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.mf-tabs { flex: none; margin-bottom: var(--s-3); overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
.mf-tabs button { padding: 0 8px; }
/* A tab kept when surprised: a dot in the accent after its name. */
.mf-tabs button.locked::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-edge); }
.mf-panel { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 0 var(--s-2) var(--s-4) 2px; }
.mf-panel:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.mf-panel-head { position: sticky; top: 0; z-index: 1; display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center;
	padding: 2px 0 var(--s-3); background: var(--panel); }
.mf-panel-head .search { flex: 1 1 220px; }
.mf-lock { gap: 6px; }
.mf-lock[aria-pressed="true"] { border-color: var(--accent-edge); background: var(--accent-soft); }
.mf-lock[aria-pressed="true"] .icon { fill: currentColor; fill-opacity: 0.25; }
.mf-filters, .mf-extras { margin: 0 0 var(--s-3); }
.mf-filters { overflow-x: auto; }
.mf-check { margin: 0 0 var(--s-2); min-height: var(--control-h); align-items: center; }
.mf-group { min-width: 0; margin: 0 0 var(--s-5); padding: 0; border: 0; }
.mf-group legend { margin: 0 0 var(--s-2); padding: 0; font-weight: 600; }
.mf-chosen { margin-left: var(--s-1); color: var(--ink-soft); font-weight: 400; }
.mf-none { margin: var(--s-4) 0; }
.mf-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: var(--s-2); }
.mf-tile { position: relative; display: block; aspect-ratio: 1; margin: 0; border-radius: var(--r-2); background: var(--bg-soft);
	box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.mf-tile input, .mf-swatch input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.mf-tile .pic { position: absolute; inset: 4px; }
/* Its part: the parts' own colour drawn white, multiplied by the colour
   chosen and cut to the part (.b), what is printed on it over that (.p);
   --size and --at its cell of the group's pictures. */
.mf-tile .pic > span { position: absolute; inset: 0; background-size: var(--size); background-position: var(--at); background-repeat: no-repeat; }
.mf-tile .pic > .b { background-color: var(--tint, #c9c9c9); background-blend-mode: multiply;
	-webkit-mask-size: var(--size); mask-size: var(--size); -webkit-mask-position: var(--at); mask-position: var(--at);
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.mf-tile.none .pic::before { content: ""; position: absolute; left: 22%; right: 22%; top: 50%; height: 2px; border-radius: var(--r-pill);
	background: var(--ink-faint); transform: rotate(-45deg); }
.mf-tile:hover { box-shadow: inset 0 0 0 1px var(--ink-faint); }
.mf-tile:has(input:checked) { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent-edge); }
.mf-tile:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.mf-swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.mf-swatch { position: relative; display: block; margin: 0; cursor: pointer; }
.mf-swatch > span[style] { display: block; width: 36px; height: 36px; border-radius: 50%; background: var(--c); background-size: cover;
	background-position: center; box-shadow: inset 0 0 0 1px var(--line-strong); }
.mf-swatch.metal > span[style] { background-image: var(--sheen-metal); }
.mf-swatch.clear > span[style] { opacity: 0.6; background-image: var(--glint-clear); }
.mf-swatch.skin > span[style] { box-shadow: inset 0 0 0 1px var(--line-strong), inset 0 0 0 4px var(--panel); }
.mf-swatch.ground > span[style] { width: 48px; height: 48px; border-radius: var(--r-2); }
.mf-swatches.scenes .mf-swatch.ground > span[style] { width: 72px; height: 72px; }
.mf-swatch:hover > span[style] { box-shadow: 0 0 0 2px var(--ink-faint); }
.mf-swatch:has(input:checked) > span[style] { box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px var(--accent-edge); }
.mf-swatch:has(input:focus-visible) > span[style] { outline: 2px solid var(--focus); outline-offset: 5px; }
.mf-tile.skin .pic > .b { background-color: var(--tint); }
/* A hair of the person's own, drawn from its triangles (sitehair). */
.mf-tile.own .pic > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.mf-own-none { margin: 0 0 var(--s-3); }
.mf-own-remove { margin: calc(-1 * var(--s-1)) 0 var(--s-3); }
.mf-own-remove .cta { min-height: 44px; max-width: 100%; white-space: normal; text-align: start; }
.mf-tiles.poses { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.mf-pose { display: grid; justify-items: center; align-content: start; gap: var(--s-1); min-height: 116px; padding: var(--s-2);
	border: 1px solid var(--line); border-radius: var(--r-2); background: var(--bg-soft); color: var(--ink); font-size: var(--t-small); font-weight: 600; }
.mf-pose img { width: 72px; height: 72px; }
.mf-pose[aria-pressed="true"] { border-color: var(--accent-edge); background: var(--accent-soft); }
.mf-joints { display: grid; gap: var(--s-2); }
.mf-joint { display: grid; grid-template-columns: minmax(8em, 11em) minmax(0, 1fr) 3.5em; gap: var(--s-3); align-items: center;
	min-height: var(--control-h); margin: 0; font-size: var(--t-small); }
.mf-joint input { width: 100%; height: var(--control-h); margin: 0; padding: 0; border: 0; background: none; accent-color: var(--accent-edge); }
.mf-joint output { color: var(--ink-soft); text-align: right; font-variant-numeric: tabular-nums; }
.mf-stance { margin-top: var(--s-2); }
@media (pointer: coarse) {
	.mf-swatch > span[style] { width: 44px; height: 44px; }
}
@media (width < 700px) {
	.minifig-dialog { width: 100vw; height: 100dvh; margin: 0; padding: var(--s-3) var(--s-3) var(--s-2); border: 0; border-radius: 0; }
	.minifig-dialog h2 { font-size: var(--t-h3); }
	.minifig-dialog .minifig-lead { display: none; }
	.minifig-credit { margin: var(--s-1) 0 var(--s-1); font-size: var(--t-micro); }
	.minifig-dialog .actions { margin-top: 0; }
	.mf-maker { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: var(--s-2); }
	.mf-look { overflow: visible; gap: var(--s-2); min-width: 0; }
	.mf-stage { flex: none; min-height: 0; height: 26dvh; }
	.mf-tools { flex-wrap: nowrap; overflow-x: auto; }
	.mf-tools > * { flex: none; }
	.mf-sizes { grid-template-columns: 1fr 1fr; }
	.minifig-on { min-height: 0; gap: var(--s-2); padding: 2px var(--s-2); }
	.minifig-on .avatar:not(.small) { width: 32px; height: 32px; }
	.minifig-on .avatar.big { width: 40px; height: 40px; }
	/* Its lock beside the search, an icon alone (its words still said). */
	.mf-panel-head { flex-wrap: nowrap; padding-bottom: var(--s-2); }
	.mf-panel-head .search { flex: 1 1 auto; min-width: 0; }
	.mf-lock { width: var(--control-h); padding: 0; justify-content: center; }
	.mf-lock .words { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	.mf-tiles { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
	.mf-joint { grid-template-columns: 1fr 3em; }
	.mf-joint span { grid-column: 1 / -1; }
}

/* An icon from the sprite (web/icons.svg, web/kit.js iconHtml), in the
   words' colour; filled when its button is pressed. */
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* An icon button: a round button with an icon, and its count beside it
   once there is one (never "0"). Its name and count are its label for a
   screen reader ("Like, 12 likes"); a toggle is aria-pressed, and pressed
   it is edged in the accent and its icon filled. .small for a card's row. */
.icon-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-width: var(--control-h); min-height: var(--control-h); padding: 0 12px;
	border: 1px solid var(--line); border-radius: var(--r-pill); background: transparent; color: var(--ink);
	font: inherit; font-size: var(--t-small); font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums;
	text-decoration: none; cursor: pointer; list-style: none;
}
.icon-btn::-webkit-details-marker { display: none; }
.icon-btn:hover { background: var(--panel); }
/* data-on: on, for a button that opens something rather than toggling
   (Save, when the model is in one of your lists). */
.icon-btn[aria-pressed="true"], .icon-btn[data-on] { border-color: var(--accent-edge); }
.icon-btn[aria-pressed="true"] .icon, .icon-btn[data-on] .icon { fill: currentColor; }
.icon-btn.small { min-width: 36px; min-height: 36px; padding: 0 10px; }
.icon-btn.small .icon { width: 18px; height: 18px; }
/* .labelled says a word for it too, between its icon and its count (a
   model's Like and I built it), a little closer set; on a phone the row of
   six has room for icons and counts alone, and the name stays its label. */
.icon-btn.labelled { gap: 4px; padding: 0 10px; }
@media (width < 600px) { .icon-btn.labelled .word { display: none; } .icon-btn.labelled { gap: 6px; padding: 0 12px; } }

/* The toast (web/kit.js toast): a line that says what just happened
   ("Link copied") at the foot of the screen, read out, gone in a moment. */
.toast {
	position: fixed; left: 50%; bottom: var(--s-5); z-index: 60; max-width: calc(100vw - 32px);
	padding: 10px 18px; border-radius: var(--r-pill); background: var(--ink); color: var(--bg);
	font-size: var(--t-small); font-weight: 600; box-shadow: var(--shadow);
	transform: translate(-50%, 12px); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s;
}
.toast.shown { transform: translate(-50%, 0); opacity: 1; }
/* With an action (web/toast.js, a snackbar): what was just done, a link to
   where it is changed again, and Undo, a button of the toast's own colours;
   it takes the pointer while it is shown, and wraps on a phone. */
.toast.act {
	display: flex; align-items: center; gap: var(--s-2) var(--s-3); width: max-content; padding: 6px 6px 6px 18px;
	border-radius: var(--r-3); font-weight: 500; line-height: 1.4;
}
.toast.act.shown { pointer-events: auto; }
.toast.act .words { flex: 1 1 auto; min-width: 0; }
.toast.act a { color: inherit; font-weight: 650; text-decoration: underline; text-underline-offset: 2px; }
.toast-act {
	flex: none; min-height: 36px; padding: 0 14px; border: 1px solid color-mix(in srgb, var(--bg) 45%, transparent);
	border-radius: var(--control-radius); background: transparent; color: inherit; font: inherit; font-weight: 700; cursor: pointer;
}
.toast-act:hover { background: color-mix(in srgb, var(--bg) 16%, transparent); }
.toast.act :focus-visible { outline: 2px solid var(--bg); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

/* The beta's bar (web/betabar.js), on every page while the beta is open:
   Open beta, Report a bug and Join (or You're a tester), and its × that
   hides it. A strip of its own at the page's top, the whole width, over
   the header, in a room the page holds for it from its first frame
   (:root[data-betabar], set by web/theme.js before anything is drawn), so
   it covers nothing and moves nothing: it scrolls away with the page and
   the header stays. Floating over the page it covered the home's first
   post (hero3d); docked at the window's foot it covered whatever reached
   the fold, an object page's tabs at 1280x800 and its Like and Save on a
   phone (pagebar, 2026-11-23); coming over the header with the server's
   answer it pushed every page down (Steady loads). It fades in.
   One quiet line (onecta, 2026-12-06): uxplan13 read its three pills in
   three styles, a yellow Join among them, as a debug strip, and on a
   phone it took the first 48 px of every page. Now it is words on the
   page's own ground, 32 px high for a mouse: a dot and "Open beta", then
   Report a bug and Join the beta as underlined words, the second in the
   accent's ink, and its ×. Nothing in it is yellow, so a screen's one
   yellow button is the page's (site.css "One yellow a screen"). */
:root { --betabar-row: 32px; }
.beta-bar {
	position: absolute; z-index: 30; top: 0; left: 0; right: 0; height: var(--betabar-row); box-sizing: border-box;
	display: flex; align-items: center; justify-content: center; gap: var(--s-4);
	padding: 0 max(var(--s-3), env(safe-area-inset-right, 0px)) 0 max(var(--s-3), env(safe-area-inset-left, 0px));
	border-bottom: 1px solid var(--line);
	background: var(--bg); color: var(--ink-soft); font-size: var(--t-tiny); line-height: 20px;
	opacity: 0; transition: opacity var(--motion-open) var(--ease);
}
.beta-bar.shown { opacity: 1; }
:root[data-betabar] body { padding-top: var(--betabar-row); }
.beta-bar > * { flex: none; }
.beta-bar .beta-name { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--ink); font-weight: 650; text-decoration: none; white-space: nowrap; }
.beta-bar .beta-name::before {
	content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%;
	background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.beta-bar .beta-name:hover { text-decoration: underline; text-underline-offset: 0.18em; }
.beta-bar .link { white-space: nowrap; }
.beta-bar .join { color: var(--accent-ink); font-weight: 650; }
.beta-bar .join:hover { color: var(--accent-ink); }
.beta-bar .third { display: contents; }
.beta-bar .tester { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); font-weight: 600; text-decoration: none; white-space: nowrap; }
.beta-bar .tester:hover { color: var(--ink); }
.beta-bar .tester .icon { width: 14px; height: 14px; color: var(--green); }
.beta-bar .icon-btn.small {
	min-width: 24px; min-height: 24px; padding: 0; border-color: transparent; border-radius: var(--control-radius);
	background: transparent; color: var(--ink-soft);
}
.beta-bar .icon-btn.small:hover { background: var(--panel-hi); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .beta-bar { transition: none; } }
/* On a phone, and on a tablet a finger works, it holds none of the top:
   it is the page's last line, under the footer, its words and its × each
   a finger's 44 points (sitewalk4, touchfit). At the top it took the
   first 48 px of every page; a line of 32 has no room for a finger. */
@media (width < 600px), (pointer: coarse) {
	:root { --betabar-row: 0px; }
	.beta-bar {
		position: static; height: auto; flex-wrap: wrap; gap: 0 var(--s-2);
		padding-block: var(--s-2) max(var(--s-2), env(safe-area-inset-bottom, 0px));
		border-bottom: 0; border-top: 1px solid var(--line);
	}
	.beta-bar .beta-name, .beta-bar .link, .beta-bar .tester { min-height: var(--control-h); padding-inline: var(--s-2); }
	.beta-bar .link { display: inline-flex; align-items: center; }
	.beta-bar .icon-btn.small { min-width: var(--control-h); min-height: var(--control-h); }
}
/* Too narrow for all of it (a long language at 320), its name goes. */
.beta-bar.tight > .beta-name { display: none; }

/* The site's notice (web/notice.js, console3): what the owner set in the
   console, on every page until its × hides it. A card floating at the
   window's foot, at its right, over the page and moving none of it
   (Steady loads); on a phone the window's width less its gutters, and over
   the beta's bar when that is shown. Its edge says its tone: the accent
   for news, --bad for a warning. It rises in as the beta's bar does. */
.site-notice {
	position: fixed; z-index: 55; right: var(--s-4); bottom: calc(var(--s-4) + env(safe-area-inset-bottom, 0px));
	display: flex; align-items: flex-start; gap: var(--s-2); width: min(420px, calc(100vw - 32px));
	padding: var(--s-3) var(--s-2) var(--s-3) var(--s-4); border: 1px solid var(--line-strong);
	border-left: 4px solid var(--accent-edge); border-radius: var(--r-3);
	background: color-mix(in srgb, var(--panel) 92%, transparent);
	backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
	box-shadow: var(--highlight), var(--shadow); color: var(--ink);
	opacity: 0; transform: translateY(8px);
	transition: opacity var(--motion-open) var(--ease), transform var(--motion-open) var(--ease);
}
.site-notice.shown { opacity: 1; transform: none; }
.site-notice.warn { border-left-color: var(--bad); }
.site-notice .words { flex: 1 1 auto; min-width: 0; margin: 6px 0 0; font-size: var(--t-small); line-height: 1.5;
	overflow-wrap: anywhere; white-space: pre-line; }
.site-notice .icon-btn.small { flex: none; border-color: transparent; background: transparent; color: var(--ink-soft); }
.site-notice .icon-btn.small:hover { background: var(--panel-hi); color: var(--ink); }
@media (width < 600px) { .site-notice { right: 0; left: 0; margin-inline: auto; } }
@media (prefers-reduced-motion: reduce) { .site-notice { transition: none; } }
:root[data-notice] .site-foot { padding-bottom: calc(var(--s-6) + 96px); }
/* The offer to install the site (web/push.js, homescreen): the site
   notice's card, from a second visit, its words over its two buttons,
   No thanks then Install, at the card's end. */
.install-offer { flex-direction: column; align-items: stretch; padding-right: var(--s-4); }
.install-offer .words { margin: 0; }
.install-offer .actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--s-2); margin: var(--s-3) 0 0; }
:root[data-offer] .site-foot { padding-bottom: calc(var(--s-6) + 128px); }

/* The "more" menu: an icon button that opens a short list of what else
   can be done (Report it, Takedown requests), the header Menu's panel.
   A <details>, so it opens with no script; web/kit.js closes it on a click
   elsewhere or Escape. */
.more-menu { position: relative; display: inline-block; }
/* It opens from its button's start, along the row; .end at a row's end
   opens back from the button's end, so it never runs off the page. */
.more-menu .menu-list { z-index: 30; left: 0; right: auto; }
.more-menu.end .menu-list { left: auto; right: 0; }
.menu-list > button {
	justify-content: flex-start; min-height: 0; padding: 10px 12px; border: 0; border-radius: var(--r-1);
	background: none; color: var(--ink-soft); font-size: var(--t-body); font-weight: 400; text-align: left;
}
.menu-list > button:hover { background: var(--panel-hi); color: var(--ink); }

/* Settings: a panel of rows, each what a setting is and its control
   beside it (under it on a phone). .wide takes the whole row. A row that
   cannot be undone is .danger, and so is its button. */
.settings { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.setting {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-3) var(--s-5);
	align-items: start; padding: 18px 20px; margin: 0;
}
.setting + .setting { border-top: 1px solid var(--line); }
.setting .wide { grid-column: 1 / -1; }
.setting h2 { margin: 0 0 var(--s-1); }
.setting p { margin: 0 0 6px; color: var(--ink-soft); font-size: var(--t-small); max-width: 70ch; }
.setting .actions .said { margin: 0; }
@media (width < 600px) { .setting { grid-template-columns: minmax(0, 1fr); } }
/* Settings, Your reports: each report sent, its number, its marks (what, where it stands,
   when), its words as written, and our answers under it. */
.reports { display: grid; gap: var(--s-3); margin: var(--s-3) 0 0; padding: 0; list-style: none; }
.reports .report { padding: var(--s-3) var(--s-4); border: 1px solid var(--line); border-radius: var(--r-2); background: var(--panel); }
.reports .marks { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; margin: 0 0 var(--s-2); }
.reports .marks small { color: var(--ink-faint); font-size: var(--t-tiny); }
.reports .marks .number { font-variant-numeric: tabular-nums; color: var(--ink-soft); font-size: var(--t-small); }
.reports .words { white-space: pre-line; overflow-wrap: anywhere; color: var(--ink); }
.reports .answer { margin-top: var(--s-3); padding: var(--s-2) var(--s-3); border-left: 3px solid var(--accent-edge); background: var(--panel-hi); border-radius: 0 var(--r-1) var(--r-1) 0; }
.reports .answer .who { margin: 0 0 4px; font-size: var(--t-tiny); color: var(--ink-faint); }
.setting.danger summary { color: var(--bad); }
.cta.danger, .cta.danger:hover { color: var(--bad); border-color: var(--bad); }
.dot {
	display: inline-block; width: 12px; height: 12px; border-radius: var(--r-1); flex: none;
	box-shadow: inset 0 -2px 0 var(--shade); margin-right: 9px; vertical-align: -1px;
}

.shot {
	margin: 0; border-radius: var(--radius); overflow: hidden;
	border: 1px solid var(--line); background: var(--bg-soft); box-shadow: var(--highlight), var(--shadow);
}
/* A window's bar over a picture of the app, with its address in it: the
   point that it runs in a browser, made without a word. */
.window { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px;
	background: var(--panel-hi); border-bottom: 1px solid var(--line); }
.window i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); flex: none; }
.window span { flex: 0 1 340px; margin-inline: auto; padding: 3px 12px; border-radius: var(--r-1);
	background: var(--bg-soft); font-size: var(--t-micro); color: var(--ink-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot img { width: 100%; }
figcaption { padding: 12px 16px 14px; font-size: var(--t-small); color: var(--ink-soft); }
figcaption b { display: block; color: var(--ink); font-size: var(--t-small); font-weight: 640; }

.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); list-style: none; margin: 0; padding: 0; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; box-shadow: var(--highlight); }
.stat b { display: block; font-size: var(--t-h2); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.stat span { font-size: var(--t-small); color: var(--ink-soft); }

details.qa {
	border: 1px solid var(--line); border-radius: var(--r-3); background: var(--panel);
	padding: 0 20px; box-shadow: var(--highlight);
}
details.qa:hover { border-color: var(--line-strong); }
details.qa + details.qa { margin-top: 10px; }
details.qa summary {
	cursor: pointer; padding: 16px 0; font-weight: 620; font-size: var(--t-body);
	list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; color: var(--ink-faint); font-weight: 500; font-size: var(--t-h3); line-height: 1; }
details.qa[open] summary::after { content: "–"; }
details.qa > div { padding: 0 0 18px; color: var(--ink-soft); }
details.qa > div p { margin: 0 0 10px; }

/* -- the foot ------------------------------------------------------
   One footer on every page (web/_shell.html): the mark, a line of what
   Brickworks is and the theme, beside four columns of links (Product,
   Community, Help, Legal); then the notices, quiet but whole
   (docs/TRADEMARKS.md). site356: the row of eleven links read as one
   long line nobody scanned. A link is 32 px tall under a mouse and a
   finger's 44 on a phone, four to a column at most, so the footer is no
   taller than the row was by more than a column's height (a profile at
   1280 px stays under 2,000 px, account_page_flow). */

.site-foot { border-top: 1px solid var(--line); padding: var(--s-7) 0 var(--s-6); color: var(--ink-faint); background: var(--bg-soft); }
.foot-top { display: grid; gap: var(--s-5) var(--s-7); margin-bottom: var(--s-5); }
@media (width >= 900px) { .foot-top { grid-template-columns: minmax(220px, 1fr) minmax(0, 2.4fr); } }
.foot-brand { display: grid; align-content: start; justify-items: start; gap: var(--s-2); }
.foot-brand .mark { font-size: var(--t-body); min-height: var(--control-h); margin-left: -4px; }
.foot-brand .chip { width: 22px; height: 22px; }
.foot-brand p { margin: 0; max-width: 34ch; color: var(--ink-soft); font-size: var(--t-small); }
.foot-brand .theme-choice { margin-top: var(--s-1); }
.foot-links { display: grid; gap: var(--s-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (width >= 600px) { .foot-links { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.foot-h { margin: 0 0 var(--s-1); color: var(--ink); font-size: var(--t-small); font-weight: 650; }
.foot-links ul { display: grid; margin: 0; padding: 0; list-style: none; }
.foot-links a {
	display: inline-flex; align-items: center; min-height: var(--control-h); color: var(--ink-soft);
	text-decoration: none; font-size: var(--t-small);
	/* A long word breaks in its column: German's Nutzungsbedingungen made
	   the page 9 px wider than a 900 or 600 px window (landing, 2026-11-22). */
	overflow-wrap: anywhere; hyphens: auto;
}
/* 32 under a mouse only: an iPad's window is as wide as a laptop's, and
   its links took a finger on 32 (touchfit2). */
@media (width >= 600px) and (pointer: fine) { .foot-links a { min-height: 32px; } }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
.legal { padding-top: var(--s-4); border-top: 1px solid var(--line); }
.legal p { margin: 0 0 6px; max-width: 150ch; font-size: var(--t-micro); line-height: 1.55; }
.legal a { color: var(--ink-soft); }

/* -- the landing kit --------------------------------------------------
   What the landing pages (home, plans, download) are made of, and any
   page may use: a section's head, a badge, a callout, a row of features
   each with its icon, three steps, a pair of pictures before and after, a
   plan's card and its ticks, a table of what each plan has, and the last
   offer (.closing; .offer is the download page's own). site356, 2026-10-29. */

/* A section on a landing page: more room above and below than a page's
   section, its title the larger --t-section (h2.title), a line under it,
   and a way to more of it at the right. */
.section { padding: var(--section) 0; }
/* .defer: a section under the first screen laid out only as it nears the
   window. The rebuilt home page laid out 2.6 times what the old one did
   before its first paint (79 ms to 30 under SwiftShader, site356), and
   painted 40 ms later. Its height is kept once drawn ("auto"), so nothing
   above the window moves as a reader scrolls back. Not for a page whose
   words a check reads with innerText: a section not yet laid out has
   none (the plans flow failed on /plans with it). */
.defer { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.section + .section { border-top: 1px solid var(--line); }
.title { font-size: var(--t-section); line-height: 1.08; letter-spacing: -0.035em; font-weight: 740; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-3) var(--s-5); margin: 0 0 var(--s-6); }
.section-head > div { max-width: 62ch; }
.section-head h2 { margin: 0; }
.section-head p:not(.eyebrow) { margin: var(--s-3) 0 0; color: var(--ink-soft); font-size: var(--t-lede); text-wrap: pretty; }
.section-head .eyebrow { margin-bottom: var(--s-3); }
.section-head > a { color: var(--ink-soft); font-size: var(--t-small); font-weight: 600; text-decoration: none; padding-block: 6px; }
.section-head > a:hover { color: var(--ink); text-decoration: underline; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center > div { margin-inline: auto; }

/* A badge: a short label beside a title or on a card (Two months free,
   Recommended). A pill is a fact or a filter; a badge says what kind. */
.badge {
	display: inline-flex; align-items: center; gap: var(--s-1); min-height: 22px; padding: 0 8px;
	border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--panel-hi);
	color: var(--ink-soft); font-size: var(--t-micro); font-weight: 650; line-height: 20px; white-space: nowrap;
}
.badge.accent { color: var(--ink); background: var(--accent-soft); border-color: var(--accent-edge); }
.badge.good { color: var(--green); border-color: var(--green); background: transparent; }
/* A badge that goes somewhere (the landing page's news): a pointer's
   target of 30 px, its edge firming under the pointer. */
a.badge { min-height: 30px; padding: 0 12px; font-size: var(--t-tiny); text-decoration: none; }
a.badge:hover { border-color: var(--ink-faint); }
a.badge.accent:hover { border-color: var(--accent-edge); background: var(--panel-hi); }

/* A callout: a note, a tip or a warning, its edge the kind's colour (the
   docs' and any page's; it was docs.css's alone). */
.callout {
	margin: 0 0 var(--s-5); padding: var(--s-3) var(--s-4); border: 1px solid var(--line);
	border-left: 4px solid var(--focus); border-radius: var(--r-2); background: var(--panel);
}
.callout.tip { border-left-color: var(--green); }
.callout.warning { border-left-color: var(--bad); }
.callout.accent { border-left-color: var(--accent-edge); }
.callout p { margin: 0 0 var(--s-2); }
.callout p:last-child { margin-bottom: 0; }
.callout .callout-title { color: var(--ink); font-weight: 650; font-size: var(--t-small); }

/* An icon on a tile of the accent's soft ground (a feature's). */
.glyph {
	display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--r-2);
	border: 1px solid var(--line); background: var(--accent-soft); color: var(--accent-ink);
}
.glyph .icon { width: 22px; height: 22px; }

/* Features: a grid of panels, each its icon, a title and a line; as
   many to a row as fit at 300 px (three on a laptop). */
.features { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin: 0; padding: 0; list-style: none; }
.feature {
	padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--radius);
	background: var(--panel); box-shadow: var(--highlight);
}
.feature h3 { margin: var(--s-4) 0 var(--s-1); }
.feature p { margin: 0; color: var(--ink-soft); font-size: var(--t-small); }

/* Steps: three panels in order, each numbered in the accent. */
.steps { counter-reset: step; display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
@media (width >= 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps > li {
	counter-increment: step; display: flex; flex-direction: column; padding: var(--s-5);
	border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: var(--highlight);
}
.steps > li::before {
	content: counter(step); display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: var(--s-4);
	border-radius: 50%; background: linear-gradient(180deg, var(--accent-hi), var(--accent)); color: var(--on-accent);
	font-size: var(--t-small); font-weight: 760; box-shadow: var(--shine-btn);
}
.steps h3 { margin: 0 0 var(--s-1); }
.steps p { margin: 0; color: var(--ink-soft); font-size: var(--t-small); }
.steps .shot { margin-top: auto; }
.steps p + .shot { margin-top: var(--s-4); }

/* Two pictures of one thing, before and after, side by side, each named
   by a badge over its corner; what they show under them. */
.ba { margin: 0; }
.ba .pair { display: grid; gap: var(--s-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ba .side { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--picture-ground); }
.ba .side img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.ba .side .badge { position: absolute; top: var(--s-2); left: var(--s-2); background: var(--panel); box-shadow: var(--shadow-1); }
/* Over a picture a badge stands on a ground of its own: the accent's is
   the yellow itself, as a primary button's. */
.ba .side .badge.accent { border-color: transparent; background: var(--accent); color: var(--on-accent); }
.ba > figcaption { padding: var(--s-3) 0 0; }

/* Text beside a picture: the text first, the picture the larger; one over
   the other under 900 px. .flip puts the picture first on a laptop. */
.split { display: grid; gap: var(--s-6) clamp(24px, 5vw, 72px); align-items: center; }
@media (width >= 900px) {
	.split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
	.split.flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
	.split.flip > :first-child { order: 2; }
}
.split p:not(.eyebrow) { color: var(--ink-soft); max-width: 56ch; }

/* A plan's card (/plans, the landing page's teaser): its name and badge,
   who it is for, its price, the way in, and its ticks. .featured, the
   one to choose, edged and lit in the accent. */
.tier {
	position: relative; display: flex; flex-direction: column; gap: var(--s-3); min-width: 0; padding: var(--s-6) var(--s-5);
	border: 1px solid var(--line); border-radius: var(--r-4); background: var(--panel); box-shadow: var(--highlight), var(--shadow-1);
}
.tier.featured { border-color: var(--accent-edge); background-image: var(--glow); box-shadow: var(--highlight), var(--shadow-2); }
.tier .name { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); }
.tier .name h2, .tier .name h3 { margin: 0; }
.tier p:not(.eyebrow) { margin: 0; color: var(--ink-soft); }
.tier .cta { width: 100%; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--s-2); margin: 0; color: var(--ink-soft); font-size: var(--t-body); }
.price b { color: var(--ink); font-size: var(--t-h1); font-weight: 760; line-height: 1.1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.price small { flex-basis: 100%; color: var(--ink-faint); font-size: var(--t-small); }
/* A list of what something has, each with a tick in green. */
.ticks { display: grid; align-content: start; gap: var(--s-2); margin: 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: var(--t-small); }
.ticks li { position: relative; padding-left: 28px; line-height: 1.55; }
.ticks li::before {
	content: ""; position: absolute; left: 6px; top: 0.25em; width: 6px; height: 11px;
	border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.ticks b { color: var(--ink); font-weight: 620; }

/* What each plan has, side by side (.table.matrix): the plans' columns
   centred, a row of a group's name across them, and a tick or a dash. */
.table.matrix { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: var(--highlight); }
.table.matrix th, .table.matrix td { padding: 12px 16px; }
.table.matrix thead th { color: var(--ink); font-size: var(--t-small); font-weight: 650; }
.table.matrix td, .table.matrix thead th + th { text-align: center; }
.table.matrix tbody th { color: var(--ink); font-weight: 520; }
.table.matrix tr.group th { padding-top: var(--s-5); color: var(--accent-ink); font-size: var(--t-tiny); font-weight: 680; letter-spacing: 0.08em; text-transform: uppercase; }
.table.matrix tbody tr:last-child > * { border-bottom: 0; }
.has, .hasnt { position: relative; display: inline-block; width: 18px; height: 18px; vertical-align: middle; }
.has::before {
	content: ""; position: absolute; left: 6px; top: 1px; width: 6px; height: 12px;
	border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.hasnt::before { content: ""; position: absolute; left: 3px; top: 8px; width: 12px; height: 2px; border-radius: var(--r-1); background: var(--ink-faint); }

/* The last offer on a landing page: a panel lit from above on a faint
   baseplate of studs, its words and its ways in at the middle. */
.closing {
	padding: clamp(40px, 7vw, 80px) var(--s-5); border: 1px solid var(--line); border-radius: var(--r-4); text-align: center;
	background-color: var(--panel); background-image: var(--glow), var(--studs); background-size: auto, 24px 24px;
	box-shadow: var(--highlight), var(--shadow-1);
}
.closing .lede { margin-inline: auto; }
/* The opening of a landing page, lit the same way. */
.halo { background-image: var(--glow), var(--studs); background-size: auto, 24px 24px; background-repeat: no-repeat, repeat; }

/* A tile: a landing page's panel of a picture and its words under it (the
   home's models, its benefits and its community; landing, 2026-11-03).
   The picture (.pic) fills the tile's width on a model's ground, its shape
   the page's to give; .flat has a glyph in its place. A tile that is one
   link (a.open around it all) lifts under a mouse as a card does. */
.tile {
	position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
	border: 1px solid var(--line); border-radius: var(--r-4); background: var(--panel); box-shadow: var(--highlight), var(--shadow-1);
}
.tile > a.open { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.tile .pic { position: relative; display: block; overflow: hidden; background: var(--picture-ground); border-bottom: 1px solid var(--line); }
.tile .pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tile .words { display: flex; flex-direction: column; flex: 1; gap: var(--s-1); margin: 0; padding: var(--s-4) var(--s-5) var(--s-5); }
.tile h3 { margin: 0; }
.tile .words p, .tile .words > span { margin: 0; color: var(--ink-soft); font-size: var(--t-small); }
.tile .words b, .tile .words .name { color: var(--ink); font-size: var(--t-body); font-weight: 650; }
.tile .words .name { align-self: flex-start; text-decoration: none; padding-block: 4px; margin-block: -4px; }
.tile .words .name:hover { text-decoration: underline; }
/* Its way on, at its foot: a link (.more), or a button in a .go-on. */
.tile .more { align-self: flex-start; margin-top: auto; padding: var(--s-3) 0 0; font-size: var(--t-small); font-weight: 600; }
.tile .words .go-on { margin: auto 0 0; padding-top: var(--s-4); }
.tile.flat { flex-direction: row; align-items: flex-start; gap: var(--s-4); padding: var(--s-5); }
.tile.flat .words { padding: 0; }
/* The month's challenge: lit from above in the accent, as the plan to choose is. */
.tile.challenge { border-color: var(--accent-edge); background-image: var(--glow), var(--studs); background-size: auto, 24px 24px; }
.tile.challenge .words { padding: var(--s-6) var(--s-5); gap: var(--s-2); }
/* A row of four pictures of real sets, each a link to its page (the home). */
.pic.sets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 2px; }
.pic.sets a { display: block; min-height: 0; background: var(--picture-ground); }
.pic.sets a:focus-visible { outline-offset: -3px; }
.pic.sets img { object-fit: contain; padding: 6%; }
/* Until they come, and if they do not, the library's glyph across both rows. */
.pic.sets > .glyph { grid-area: 1 / 1 / -1 / -1; place-self: center; width: 64px; height: 64px; }
.pic.sets > .glyph .icon { width: 32px; height: 32px; }
/* View in 3D on a tile's picture: web/view3d.css's (.showcase), loaded as the tile nears. */
.showcase .picture { cursor: pointer; }

/* -- motion ---------------------------------------------------------
   Every control and card answers the pointer in --motion (150 ms): its
   colour, ground, edge and shadow ease rather than snap, a press sinks it
   a little (:active, for a finger as much as a mouse), a card lifts 2 px
   under a mouse, and a dialog or a menu fades in as it opens. Nothing
   moves under reduced motion, as the toast did not (site273: two
   transitions on the whole site, both the toast's). */
.cta, :where(button), .icon-btn, .pill, .tabs a, .tabs button, .segmented button, .nav a, .menu summary,
.menu-list a, .menu-list > button, .foot-links a, .model, .list-card, details.qa, .media-strip .thumb, .feature, .tier, .tile,
:where(input:not([type="checkbox"], [type="radio"], [type="hidden"]), select, textarea) {
	transition: color var(--motion) var(--ease), background-color var(--motion) var(--ease),
		border-color var(--motion) var(--ease), box-shadow var(--motion) var(--ease),
		transform var(--motion) var(--ease), filter var(--motion) var(--ease);
}
.cta:active, :where(button:not(.link)):active, .icon-btn:active, a.pill:active, button.pill:active,
summary.pill:active, .segmented button:active, .menu summary:active { transform: scale(0.97); }
.cta:active { filter: brightness(0.95); }
.tabs a:active, .tabs button:active { color: var(--ink); background: var(--panel); }
.nav a:active, .menu-list a:active, .menu-list > button:active { background: var(--panel-hi); }
.model:active, .list-card:active, .tile:has(> a.open):active { transform: scale(0.99); }
@media (hover: hover) {
	.model:hover, .list-card:hover, .tile:has(> a.open):hover { transform: translateY(-2px); }
	/* A card rises under the mouse, its picture nearer, as a post on a
	   social site does (sitebold, 2026-11-23: 2 px went unseen); not while
	   its model turns in 3D in it, whose full screen a moved card would hold. */
	.model:hover { transform: translateY(-4px); }
	.model:has(.view3d):hover { transform: none; }
	.model .frame img { transition: transform 300ms var(--ease); }
	.model:hover .frame img { transform: scale(1.04); }
	.tile:has(> a.open):hover { border-color: var(--line-strong); box-shadow: var(--highlight), var(--shadow-2); }
	.feature:hover { border-color: var(--line-strong); }
	.model:active, .list-card:active { transform: translateY(-1px) scale(0.99); }
}
dialog[open] { animation: rise var(--motion-open) var(--ease); }
dialog[open]::backdrop { animation: fade var(--motion-open) ease-out; }
details[open] > .menu-list { animation: drop var(--motion-open) var(--ease); }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px) scale(0.98); } }
@keyframes drop { from { opacity: 0; transform: translateY(-4px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after, ::backdrop {
		transition-duration: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important;
	}
	.cta:active, :where(button):active, .icon-btn:active, .pill:active, .segmented button:active, .menu summary:active,
	.model:hover, .model:active, .list-card:hover, .list-card:active, .tile:hover, .tile:active,
	.model:hover .frame img { transform: none; }
}

/* Read aloud, not shown. */
.visually-hidden {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* -- an inner page ----------------------------------------------------
   site359, 2026-10-29, for site356's system to keep: every page that is
   not a landing page (the docs, settings, the FAQ, the legal pages,
   /compare, /changelog, /feed, /notifications, /admin, the 404) opens on
   the same head, lit as the landing pages' opening is (.halo), and a page
   of parts keeps what is on it in view beside them.

   .page-hero: the head, the whole width: the yellow's light from above
   over the baseplate of studs, which fade into the ground under the words
   (a gradient over them, not a mask: one layer to paint).

   One head for every page but the landing page and an object's (listkit,
   2026-11-23; the owner, of the feed beside the notifications:
   "inconsistent widths and layouts"; each page had built its own, its
   title 32 to 104 px under the header). Its .wrap holds:
     .page-head    the title and its one line at the left (.page-title:
                   the h1, the .lede), the page's actions at the right
                   (.page-acts: a button, a search, a date), their feet
                   on one line;
     .tabs         the page's views, when it has them, on the band's foot,
                   the one shown underlined on its line.
   No eyebrow over the title: the header says where you are, and the tabs
   which view. Under 600 px the line is left out (the gallery's was, so
   what a page lists starts on a phone's first screen), and a search
   takes a row of its own under the title. tools/web/layout_audit.mjs
   fails a page whose h1 or tabs are not where this puts them. */
.page-hero {
	padding: var(--s-6) 0; border-bottom: 1px solid var(--line);
	background-image: var(--glow), linear-gradient(180deg, transparent 10%, var(--bg) 90%), var(--studs);
	background-size: auto, auto, 24px 24px; background-repeat: no-repeat, no-repeat, repeat;
}
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-3) var(--s-6); }
.page-title { flex: 1 1 360px; min-width: 0; align-self: flex-start; }
.page-head h1 { margin: 0; overflow-wrap: anywhere; }
.page-head .lede { margin: var(--s-2) 0 0; max-width: 72ch; }
.page-acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); min-width: 0; }
.page-acts:not(:has(> :not([hidden]))) { display: none; }
/* A search among them (the gallery's, Talk's): the site's .search, in its
   form when it has one. */
.page-acts:has(> :is(.search, [role="search"])) { flex: 1 1 520px; max-width: 640px; flex-wrap: nowrap; justify-content: flex-end; }
/* Wide enough for the longest of its words, the Sets tab's "Search sets by
   name, number or theme", beside the "/" (sitepolish: cut at "or the" at 1280). */
.page-acts > :is(.search, [role="search"]) { flex: 1 1 380px; max-width: 460px; min-width: 0; }
.page-acts .hero-meta { margin: 0; }
/* A rule page's copy in another language: one line under its heading,
   that the English text binds (tools/site_lang.py BOUND). */
.page-hero .binding { margin: var(--s-2) 0 0; color: var(--ink-faint); font-size: var(--t-small); }
/* The tabs on the band's foot, alone or in a .tab-bar with a control at
   its end (the gallery's Top over). */
.tab-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-width: 0; }
.tab-bar > .tabs { flex: 1; min-width: 0; margin: 0 0 -1px; border-bottom: 0; }
.page-hero:has(> .wrap > :is(.tabs, .tab-bar):last-child) { padding-bottom: 0; }
.page-hero > .wrap > :is(.tabs, .tab-bar):last-child { margin: var(--s-5) 0 0; }
.page-hero > .wrap > .tabs:last-child { margin-bottom: -1px; border-bottom: 0; }
@media (width < 600px) {
	/* The title and the actions on one row, a search on the next; the
	   title's row a control's height on every page, so the h1 is where it
	   is on every page whatever is beside it. When the title's words and
	   the actions do not fit side by side, the actions go under it: from
	   no room at all the title was cut inside its word, "Notifi / catio /
	   ns" beside Mark all read and Mark all done (socialloop, 2026-11-24). */
	.page-hero { padding-top: var(--s-4); }
	.page-head { align-items: flex-start; column-gap: var(--s-3); }
	.page-head .lede, .page-head .binding, .page-acts .hint { display: none; }
	.page-title { flex: 1 1 auto; }
	.page-head h1 { display: flex; align-items: center; min-height: var(--control-h); }
	/* Never wider than the page: two buttons whose words are longer in
	   French or Spanish (compare's Ouvrir l'application, Voir tous les
	   outils) took the row whole and the page scrolled sideways; they go
	   one under the other, and a button's own words wrap. */
	.page-acts { flex: none; max-width: 100%; }
	.page-acts > .cta { max-width: 100%; white-space: normal; text-align: center; }
	.page-acts:has(> :is(.search, [role="search"])) { display: contents; }
	.page-acts > :is(.search, [role="search"]) { order: 1; flex: 1 1 100%; max-width: none; }
	.page-acts .search input { padding-right: 12px; }
}
.hero-meta {
	display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin: var(--s-4) 0 0; padding: 0;
	list-style: none; color: var(--ink-faint); font-size: var(--t-small);
}
.hero-meta b { color: var(--ink-soft); font-weight: 600; }
/* Under the head, the page's own parts. */
.page-body { padding: var(--s-6) 0 var(--section); }

/* A list page's body (listkit): the whole page's width, its list
   (.list-main) from the page's left edge and from 900 px its aside
   (.list-aside, 320 px, sticky under the header) ending at its right edge,
   32 px between, no island of a column with empty sides (the lead,
   2026-11-23). A row's words keep a reading measure inside it. Under
   900 px, the site's breakpoint, the aside follows the list. */
.list-layout { display: grid; gap: var(--s-6); grid-template-columns: minmax(0, 1fr); align-items: start; }
.list-main { display: grid; gap: var(--s-4); align-content: start; min-width: 0; }
.list-aside { min-width: 0; display: grid; gap: var(--s-6); align-content: start; }
.list-aside > section { min-width: 0; padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: var(--highlight), var(--shadow-1); }
.list-aside h2 { margin: 0 0 var(--s-3); }
@media (width >= 900px) {
	/* The aside's column kept while it has nothing to show (the feed with
	   no designers to suggest), so the list is one width on every list
	   page and in every state: two tabs of one area never differ. */
	.list-layout:has(> .list-aside) { grid-template-columns: minmax(0, 1fr) 320px; }
	.list-aside { position: sticky; top: calc(var(--head-h) + var(--s-5)); }
}

/* A row (listkit): one for every list of what was made, said or done: a
   post of the feed, a notification, a thread of Talk. ol.list-rows >
   li.list-row: its picture (.row-pic, 4:3) or who (.row-face, an
   avatar), then .row-body (.row-title, .row-said, .row-meta: who and
   when), then at most one .row-act; a post's card (.row-card) under the
   words. Not read yet, or pinned: .unread, edged in the accent. */
.list-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.list-row {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s-2) var(--s-4); align-items: start;
	min-width: 0; padding: var(--s-3) var(--s-4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel);
	box-shadow: var(--highlight), var(--shadow-1);
}
.list-row:is(.unread, .new, .pinned) { border-color: var(--accent-edge); }
.list-row > .row-pic, .list-row > .row-face { grid-column: 1; grid-row: 1 / span 2; }
.list-row > .row-pic {
	display: block; width: 96px; aspect-ratio: 4 / 3; height: auto; overflow: hidden; object-fit: cover;
	border-radius: var(--r-2); background: var(--picture-ground);
}
.list-row > .row-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.list-row > .row-face { display: inline-flex; flex: none; text-decoration: none; }
/* The row spans the list; its words keep a reading measure inside it. */
.row-body { grid-column: 2; min-width: 0; }
.row-body > * { max-width: 75ch; }
.list-row:not(:has(> .row-pic, > .row-face)) > .row-body { grid-column: 1 / 3; }
.row-act { grid-column: 3; grid-row: 1; display: flex; align-items: center; gap: var(--s-2); }
.row-card { grid-column: 2 / -1; min-width: 0; max-width: 560px; }
.list-row:not(:has(> .row-pic, > .row-face)) > .row-card { grid-column: 1 / -1; }
.row-title { margin: 0; line-height: 1.35; overflow-wrap: anywhere; }
.row-title a { color: var(--ink); text-decoration: none; }
.row-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.row-said { display: block; margin: var(--s-1) 0 0; color: var(--ink-soft); overflow-wrap: anywhere; }
.row-meta { display: block; margin: var(--s-1) 0 0; color: var(--ink-faint); font-size: var(--t-small); overflow-wrap: anywhere; }
.row-meta a { color: var(--ink-soft); }
.row-body .pills { display: flex; flex-wrap: wrap; gap: 6px; margin: var(--s-1) 0 0; }
.list-row .dot { display: inline-block; width: 10px; height: 10px; margin-left: var(--s-2); vertical-align: middle; border-radius: 50%; background: var(--accent-edge); }
@media (width < 600px) {
	.list-row { padding: var(--s-3); column-gap: var(--s-3); }
	.list-row > .row-pic { width: 72px; }
	/* A post's card the row's whole width on a phone, as it was. */
	.list-row > .row-card { grid-column: 1 / -1; }
}

/* .page-grid: what is on the page (.page-toc) down the left from 900 px,
   sticky under the header, and the parts beside it; over them, in one
   row of pills that scrolls (ul.scroller), on a phone and a tablet. */
.page-grid { display: grid; gap: var(--s-5) var(--s-8); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (width >= 900px) { .page-grid { grid-template-columns: 220px minmax(0, 1fr); } }
.page-toc { min-width: 0; }
.page-toc-title {
	margin: 0 0 var(--s-2); color: var(--ink-faint); font-size: var(--t-tiny); font-weight: 650;
	letter-spacing: 0.06em; text-transform: uppercase;
}
.page-toc ul { margin: 0; padding: 0; list-style: none; }
.page-toc a { color: var(--ink-soft); text-decoration: none; font-size: var(--t-small); }
.page-toc a:hover { color: var(--ink); }
@media (width < 900px) {
	.page-toc-title { display: none; }
	.page-toc ul { display: flex; gap: var(--s-2); padding-block: 2px; }
	.page-toc a {
		display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--s-3);
		border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--panel);
	}
}
@media (width >= 900px) {
	.page-toc { position: sticky; top: calc(var(--head-h) + var(--s-5)); }
	.page-toc ul { border-left: 1px solid var(--line); }
	/* A list down the side, not a row: nothing to scroll. */
	.page-toc ul.scroller { overflow: visible; margin-inline: 0; padding-inline: 0; }
	.page-toc a {
		display: block; margin-left: -1px; padding: 6px 0 6px var(--s-3); border-left: 2px solid transparent; line-height: 1.4;
	}
	.page-toc a:hover { border-left-color: var(--line-strong); }
	.page-toc a[aria-current="true"] { color: var(--ink); border-left-color: var(--accent-edge); }
}

/* A thread of Talk as a row (api/_talk.js threadRowHtml): Talk's lists and
   the homepage's latest from it (#talk-latest, web/landing.js), so it
   is here and not in talk.css, which only Talk's pages load. */
/* A row is a card as a model's is: its title the one link, stretched over
   all of it, the starter's name and the board links of their own over it;
   its first words two lines at most; under them who started it and when,
   and its marks (sitepolish). As a forum lays a row out (sitebold,
   2026-11-23): its picture first, the model it is about or else its
   board's icon on a tile, and at its end who is in it (the starter's
   avatar, the last replier's over it), how many replied and when the last
   did; on a phone the end goes under the words. */
/* The row itself is the site's (.list-row, listkit): its grid, edge,
   padding and ground; here only what a thread adds to it. */
.talk-row { position: relative; align-items: center; transition: border-color var(--motion) var(--ease), box-shadow var(--motion) var(--ease); }
.talk-row:hover { border-color: var(--line-strong); box-shadow: var(--highlight), var(--shadow-2); }
.talk-row-pic { align-self: start; border-radius: var(--r-2); background: var(--picture-ground); text-decoration: none; }
.talk-row-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* A board's icon on its own tint (Talk's tiles, a row with no picture). */
.talk-tile {
	display: grid; place-items: center; width: 100%; height: 100%; border-radius: inherit;
	background: color-mix(in srgb, var(--accent) 16%, var(--panel)); color: color-mix(in srgb, var(--accent) 70%, var(--ink));
}
.talk-tile .icon { width: 30px; height: 30px; stroke-width: 1.6; }
/* Each board its own colour, on the tile itself or on the board's link around it. */
:is(.talk-tile.b-show, .b-show > .talk-tile) { background: color-mix(in srgb, var(--blue) 16%, var(--panel)); color: color-mix(in srgb, var(--blue) 70%, var(--ink)); }
:is(.talk-tile.b-help, .b-help > .talk-tile) { background: color-mix(in srgb, var(--green) 16%, var(--panel)); color: color-mix(in srgb, var(--green) 70%, var(--ink)); }
:is(.talk-tile.b-ideas, .b-ideas > .talk-tile) { background: color-mix(in srgb, var(--yellow) 16%, var(--panel)); color: color-mix(in srgb, var(--yellow) 70%, var(--ink)); }
:is(.talk-tile.b-challenges, .b-challenges > .talk-tile) { background: color-mix(in srgb, var(--red) 16%, var(--panel)); color: color-mix(in srgb, var(--red) 70%, var(--ink)); }
:is(.talk-tile.b-news, .b-news > .talk-tile) { background: color-mix(in srgb, var(--ink-soft) 16%, var(--panel)); color: color-mix(in srgb, var(--ink-soft) 70%, var(--ink)); }
/* A challenge's month while it has no picture (api/_talk.js monthTileHtml):
   a calendar's page, its band over the month alone (not its year, which
   read as a mistake); the band red for the one open now, its tint for the
   ones to come or that ran. */
.talk-tile.talk-month { display: flex; flex-direction: column; place-items: stretch; border: 1px solid color-mix(in srgb, var(--red) 30%, var(--line)); }
.talk-month::before { content: ""; display: block; height: 10px; background: color-mix(in srgb, var(--red) 26%, var(--panel)); }
.talk-month.open::before { background: var(--avatar-1); }
.talk-month b { display: grid; flex: 1; place-items: center; font-size: var(--t-h2); font-weight: 700; line-height: 1; color: var(--ink); }
.talk-month.ran b { color: var(--ink-soft); }
.talk-row-title { margin: 0; font-size: var(--t-h3); font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.talk-row-title a { color: var(--ink); text-decoration: none; }
.talk-row-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.talk-row-title a:focus-visible { outline: none; }
.talk-row-title a:focus-visible::after { outline: 2px solid var(--focus); outline-offset: -2px; border-radius: var(--r-3); }
.talk-row:hover .talk-row-title a { text-decoration: underline; text-decoration-thickness: 1px; }
.talk-row-said {
	margin: 4px 0 0; color: var(--ink-soft); overflow-wrap: anywhere;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.talk-row-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 8px 0 0; }
.talk-row-foot .talk-row-meta { margin: 0; display: flex; align-items: center; gap: 8px; min-width: 0; }
.talk-row .pills { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.talk-row-meta { margin: 6px 0 0; font-size: var(--t-small); color: var(--ink-soft); overflow-wrap: anywhere; }
.talk-row-meta a { color: var(--ink); }
.talk-row :is(.talk-row-meta, .pills) a { position: relative; z-index: 1; }
/* A reply made in the row (web/composer.js replyInCard, feedinline): its
   room and composer on lines of their own under the row's line, over the
   row's link. */
.talk-row-foot > :is(.said-room, .composer) { flex: 1 0 100%; order: 1; }
.talk-row :is(.said-room, .composer) { position: relative; z-index: 1; }
/* Its end: who is in it, then how many replied and when the last did. */
.talk-row-end { display: grid; justify-items: end; gap: 6px; min-width: 120px; text-align: end; }
.talk-faces { display: flex; }
.talk-faces .avatar { box-shadow: 0 0 0 2px var(--panel); }
.talk-faces .avatar + .avatar { margin-left: -8px; }
.talk-last { display: grid; gap: 2px; font-size: var(--t-small); color: var(--ink-soft); }
.talk-last .talk-replies { color: var(--ink); font-weight: 650; }
.talk-last small { color: var(--ink-faint); font-size: var(--t-tiny); }
.talk-last .talk-first[data-replies="0"] { color: var(--ink-faint); font-size: var(--t-tiny); font-weight: 400; }
.talk-empty, .talk-searched { color: var(--ink-soft); }
@media (width < 600px) {
	.talk-tile .icon { width: 24px; height: 24px; }
	.talk-row { align-items: start; }
	.talk-row-end { grid-column: 2; grid-row: 2; display: flex; align-items: center; justify-items: start; gap: 8px; min-width: 0; text-align: start; }
	.talk-last { display: flex; flex-wrap: wrap; gap: 0 6px; align-items: baseline; }
}
/* The homepage's latest: two columns from 900 px, a skeleton row's height
   held until the rows come. */
@media (width >= 900px) { .talk-strip-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.talk-strip [data-talk-strip][aria-busy="true"] { min-height: 180px; }

/* A post of the home's feed (homefeed, 2026-11-23; web/home-feed.js draws
   each, on the server at the deploy and in the browser after): who did it
   over what they made, then its words, its acts and the studio's verbs.
   One shape for every kind (a build, a thread of Talk, the month's
   challenge, the studio to try, builders to follow, a photo of a build),
   each part's room held from the first frame, so a count or a line that
   comes later moves nothing. The card's width decides its wrap
   (container-type), not the window's: the same card is a phone's whole
   width and a laptop's third. */
.post {
	position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; container-type: inline-size;
	border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: var(--highlight), var(--shadow-1);
}
.post-head { display: flex; align-items: center; gap: var(--s-3); min-height: 64px; padding: var(--s-3) var(--s-4); }
.post-head .face { display: inline-flex; flex: none; text-decoration: none; }
.post-head .face.glyph { width: 40px; height: 40px; }
.post-who { display: flex; flex: 1; flex-direction: column; min-width: 0; margin: 0; line-height: 1.35; }
.post-who .who {
	overflow: hidden; color: var(--ink); font-weight: 650; line-height: 1.5; text-decoration: none; text-overflow: ellipsis; white-space: nowrap;
}
.post-who a.who:hover { text-decoration: underline; }
.post-line { color: var(--ink-faint); font-size: var(--t-tiny); }
.post-line time { white-space: nowrap; }
.post-line .pill { min-height: 0; padding: 0 8px; font-size: var(--t-micro); line-height: 18px; }
.post-head .follow { flex: none; }
.post-head .follow[aria-pressed="true"] { color: var(--ink-soft); }
/* The picture, 4:3 as every card's (docs/SOCIAL.md D3), its marks over its
   top corner and the 3D turn over its foot's. */
.post-pic { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--picture-ground); border-block: 1px solid var(--line); }
.post-pic > .pic { display: block; width: 100%; height: 100%; }
.post-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-pic .none { display: grid; place-items: center; height: 100%; color: var(--ink-faint); font-size: var(--t-small); }
.post-pic .marks { position: absolute; top: var(--s-2); left: var(--s-2); display: flex; gap: 6px; pointer-events: none; }
.post-pic .marks .pill { background: var(--panel); }
.post-pic .turn { position: absolute; right: var(--s-2); bottom: var(--s-2); z-index: 2; background: var(--panel); font-weight: 700; }
.post-pic .turn[aria-pressed="true"] { border-color: var(--accent-edge); }
/* Under a mouse the picture turns when the pointer rests on it, so 3D is
   shown only then, or with the keyboard in the post: a card at rest is its
   picture, not a button over it (feedcards). A finger has no rest, and
   keeps it. */
@media (hover: hover) and (pointer: fine) {
	.post-pic .turn { opacity: 0; transition: opacity var(--motion) var(--ease); }
	.post:is(:hover, :focus-within) .post-pic .turn, .post-pic .turn[aria-pressed="true"] { opacity: 1; }
}
/* The model in 3D in the picture's place (web/landing.js, web/view3d.css's
   .view3d): the frame's own size, so nothing moves. */
.post-pic > .view3d { position: absolute; inset: 0; z-index: 1; }
.post-words { display: flex; flex: 1; flex-direction: column; gap: var(--s-2); padding: var(--s-3) var(--s-4) var(--s-4); }
/* A post's title is its h3, at the scale's --t-h3 (design_flow headings).
   It wraps between words to a second line, never cut mid-word on one: a
   build's one line cut "A narrow-gauge tank engine and co…" at 390, as the
   week's line cut its title in Spanish (sitewalk4). */
.post-title {
	display: -webkit-box; margin: 0; overflow: hidden; color: var(--ink); font-size: var(--t-h3); font-weight: 650; line-height: 1.35;
	overflow-wrap: break-word; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
}
.post-title a { color: inherit; text-decoration: none; }
.post-title a:hover { text-decoration: underline; }
.post-text { display: -webkit-box; margin: 0; overflow: hidden; color: var(--ink-soft); font-size: var(--t-small); -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow-wrap: anywhere; }
/* How it was made and what it does, then its size: one quiet line of
   words under the name, as a Printables card's, each a link to its docs
   that underlines under the pointer, held to one line: what does not fit
   is left off, never a second line (feedcards: as pills they read as three
   more buttons on every card). */
.post-made {
	display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0; height: 1.45em; margin: -2px 0 0; overflow: hidden;
	color: var(--ink-faint); font-size: var(--t-small); line-height: 1.45;
}
.post-made > * + *::before { content: "·"; padding: 0 0.45em; color: var(--ink-faint); }
.post-made .made { display: inline-flex; gap: 0.3em; min-width: 0; max-width: 100%; color: var(--ink-soft); font-weight: 500; text-decoration: none; }
.post-made .made:hover { color: var(--ink); text-decoration: underline; }
/* A builder's name for a motion too long for a phone's line ends in "…",
   never past it (sitelang11). */
.post-made .made [lang] { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-size { white-space: nowrap; }
/* Its controls, one row: like and comments at the start, the studio's
   door and More at the end. A narrow card in a long language wraps the
   two ends apart, never the door from More. */
.post-acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); min-height: 36px; }
.post-acts .tally { display: inline-flex; align-items: center; gap: var(--s-1); color: var(--ink-soft); font-size: var(--t-small); }
.post-acts .tally + .cta { margin-left: auto; }
.post-acts a.tally[data-replies="0"] { display: none; }
.post.build .post-acts { margin-top: auto; }
.post-go { display: inline-flex; align-items: center; gap: var(--s-2); margin-left: auto; }
.post-go > .cta { white-space: nowrap; }
/* More (home-feed.js buildPostHtml): the header Menu's panel, opened up
   from the button, back from its end, so it stays inside the card. */
.post-more .menu-list { top: auto; bottom: calc(100% + 6px); min-width: 200px; }
.post-more > summary { list-style: none; }
.post-more > summary::-webkit-details-marker { display: none; }
.post-more[open] > summary { background: var(--panel-hi); color: var(--ink); }
/* A try's and a photo's own ways on. */
.post-verbs { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; }
.post-verbs .cta { justify-content: center; min-width: 0; white-space: nowrap; }
/* What was said, in a post of the feed and a row of Talk (web/home-feed.js
   saidLineHtml; web/composer.js puts in what is posted there the same way):
   each a small face, a name and the words on one line, the room held for
   two whatever comes, so a line that comes later moves nothing. Opened (the
   composer there), each says up to three lines; all of them ("n more"),
   whole, scrolled within the post past a few. */
.post-talk { display: flex; flex-direction: column; gap: var(--s-1); padding-top: var(--s-2); border-top: 1px solid var(--line); }
/* Nothing said yet and nobody saying it: no room at all, the comment
   button is the way in (feedcards: "Nothing said yet" and "Add a comment"
   on every card were most of a phone's screen of feed). Opened, the
   composer and what it says show there. A thread with no reply yet the
   same. */
.post-talk:not(.open):not(:has(.said-line)) { display: none; }
.post.talk .said-room:not(:has(.said-line)) { display: none; }
.said-room { display: flex; flex-direction: column; justify-content: center; gap: var(--s-1); min-height: calc(48px + var(--s-1)); }
.talk-row .said-room { min-height: 0; margin-top: var(--s-2); }
.talk-row .said-room:not(:has(.said-line)) { display: none; }
.said-lines { display: grid; gap: var(--s-1); margin: 0; padding: 0; list-style: none; }
.said-lines[hidden] { display: none; }
.said-line { display: flex; align-items: center; gap: var(--s-2); min-width: 0; min-height: 24px; }
.said-line > .avatar { flex: none; }
.said-line p { flex: 1; min-width: 0; margin: 0; overflow: hidden; color: var(--ink-soft); font-size: var(--t-small); line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.said-line .who { color: var(--ink); font-weight: 650; text-decoration: none; }
.said-line a.who:hover { text-decoration: underline; }
.said-line.reply { padding-left: calc(24px + var(--s-2)); }
.said-line.pending { opacity: .65; }
.said-wait { color: var(--ink-faint); font-size: var(--t-tiny); }
.said-none { margin: 0; color: var(--ink-faint); font-size: var(--t-small); line-height: 1.45; }
:is(.post-talk.open, .post.talk, .talk-row) .said-line { align-items: flex-start; }
:is(.post-talk.open, .post.talk, .talk-row) .said-line p {
	display: -webkit-box; white-space: normal; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3;
}
.post.talk .said-line p { -webkit-line-clamp: 2; line-clamp: 2; }
.post-talk.every .said-lines { max-height: 280px; overflow-y: auto; overscroll-behavior: contain; padding-right: var(--s-1); }
.post-talk.every .said-line p { display: block; }
.said-acts { display: flex; align-items: center; gap: var(--s-3); margin: 0; }
.post-say, .said-more {
	min-height: 32px; padding: 0; border: 0; background: none; color: var(--ink-soft);
	font: inherit; font-size: var(--t-small); font-weight: 600; cursor: pointer;
}
.said-more { margin-left: auto; color: var(--ink-faint); }
.said-more[hidden] { display: none; }
:is(.post-say, .said-more):hover { color: var(--ink); text-decoration: underline; }
.post-acts a.tally { color: var(--ink-soft); text-decoration: none; }
.post-acts a.tally:hover { color: var(--ink); text-decoration: underline; }
/* The composer (web/composer.js), the same wherever something is said: a
   feed's post, a row of Talk, a model's page, a thread's page. The box,
   the guidelines and the keys that post under it, then what happened, and
   Cancel and Post. A finger has no Ctrl, so a phone is not told of it. */
.composer { display: grid; gap: var(--s-2); margin: 0; }
.composer[hidden] { display: none; }
.composer textarea { width: 100%; min-height: 72px; resize: vertical; }
.composer-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 2px var(--s-3); margin: 0; color: var(--ink-faint); font-size: var(--t-tiny); }
.composer-foot[hidden] { display: none; }
.composer-foot a { color: var(--ink-soft); }
.composer-count { margin-left: auto; }
.composer-count:empty { display: none; }
.composer-count.bad { color: var(--bad); }
@media (pointer: coarse) { .composer-keys { display: none; } }
.composer-go { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--s-2); }
.composer-said { flex: 1 1 12em; min-width: 0; margin: 0; color: var(--ink-soft); font-size: var(--t-small); }
:is(.post, .talk-row) .composer { margin-top: var(--s-2); }
.post-talk .composer { margin-top: var(--s-1); }
.post.talk .post-acts, .post.challenge .go-on { margin-top: auto; }
/* A post with no picture (the month's challenge, a thread of Talk, builders
   to follow) is as tall as what it says, never stretched to its row's
   builds (feedcards: 300 px of empty yellow edge round the challenge at
   1280, and a thread with no reply yet a tall white card with Reply at its
   foot). */
.post:is(.challenge, .talk, .people) { align-self: start; }
/* The month's challenge: lit from above in the accent, as its tile is. */
.post.challenge { border-color: var(--accent-edge); background-image: var(--glow), var(--studs); background-size: auto, 24px 24px; }
.post.challenge .post-words { padding: var(--s-5) var(--s-4); }
.post.challenge .badges { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; }
.post.challenge #challenge-left[hidden] { display: inline-flex !important; visibility: hidden; }
.post.challenge .eyebrow { margin: var(--s-2) 0 0; }
.post.challenge #challenge-brief { display: -webkit-box; min-height: calc(2 * 1.45em); margin: 0; overflow: hidden; color: var(--ink-soft);
	font-size: var(--t-small); line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.post.challenge .note { margin: 0; }
/* This week's quick build, a line under the month's days (prompts): it
   wraps, never cut. One line cut short "Snowed in" on the Spanish home at
   390, its words longer than English's (rel-m367 site_lang_fr_es). */
.post.challenge #challenge-week { margin-top: var(--s-1); overflow-wrap: break-word; }
.post-entries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2); margin: var(--s-2) 0 0; padding: 0; list-style: none; }
.post-entries a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-1); background: var(--picture-ground); }
.post-entries img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-entries.none { display: block; aspect-ratio: auto; color: var(--ink-faint); font-size: var(--t-small); }
.post.challenge .go-on { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-3) 0 0; }
/* The studio to try: its picture until it is asked for, then the studio
   itself in the picture's place, the frame's own size. */
.try-stage { display: grid; place-items: center; }
.try-stage > img, .try-stage > iframe { grid-area: 1 / 1; }
.try-stage > iframe { width: 100%; height: 100%; border: 0; background: var(--bg); }
.try-stage .try-go { grid-area: 1 / 1; z-index: 1; box-shadow: var(--shadow-2); }
.try-stage[data-state] .try-go { display: none; }
.try-stage .try-said { grid-area: 1 / 1; z-index: 1; margin: 0; padding: var(--s-2) var(--s-3); border-radius: var(--r-2);
	background: var(--panel); color: var(--ink-soft); font-size: var(--t-small); box-shadow: var(--shadow-2); }
.try-stage[data-state="ready"] .try-said { display: none; }
/* Builders to follow: a row each, their avatar, name and Follow. */
.post-people { display: grid; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.post-people li { display: flex; align-items: center; gap: var(--s-3); min-height: 44px; }
.post-people .who { flex: 1; min-width: 0; overflow: hidden; color: var(--ink); font-weight: 600; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.post-people .who:hover { text-decoration: underline; }
.post.people .note { margin: auto 0 0; }
/* A photo of a real build: its own shape, on the photo's ground. */
.post.photo .post-pic { aspect-ratio: 4 / 3; background: var(--photo-ground); }
/* A post on its way: its shape, held. */
.post.skeleton .post-pic { border-block: 0; }
.post.skeleton .post-head .bone { flex: none; margin: 0; }
/* The 3D view in a post's picture (web/view3d.css .showcase .view3d): the
   picture's 4:3, not a model page's 1200 x 630. */
.post-pic.showcase > .view3d { inset: 0; height: 100%; aspect-ratio: auto; border-radius: 0; }
/* Building now (web/live-now.js, buildlive): the builds open to watchers,
   first in the home feed and on their designer's profile. A row of cards,
   each a link to its watch page; scrolled sideways when there are more
   than fit. */
.live-now { margin: 0 0 var(--s-5, 24px); }
.live-now[hidden] { display: none; }
.live-now-h { display: flex; align-items: center; gap: 10px; margin: 0 0 var(--s-3, 12px); font-size: var(--t-h3); }
.live-now-h .dot {
	width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 18%, transparent);
}
.live-now-row { display: flex; gap: var(--s-3, 12px); overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x proximity; }
.live-card { flex: 0 0 min(320px, 82vw); display: flex; gap: 12px; align-items: center; padding: 10px; min-height: 44px;
	border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--panel); color: var(--ink);
	text-decoration: none; scroll-snap-align: start; box-shadow: var(--highlight), var(--shadow-1); }
.live-card:hover { background: var(--panel-hi); }
.live-card:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.live-pic { position: relative; flex: none; width: 96px; aspect-ratio: 4 / 3; border-radius: var(--r-2); overflow: hidden;
	background: var(--picture-ground); }
.live-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.live-tag { position: absolute; left: 6px; top: 6px; padding: 1px 6px; border-radius: var(--r-pill); background: var(--red); color: var(--on-red);
	font-size: var(--t-micro); font-weight: 750; letter-spacing: 0.05em; text-transform: uppercase; }
.live-words { display: grid; gap: 2px; min-width: 0; }
/* The title over two lines before it is cut, and who is building it whole:
   on one line each, "Lighthouse keeper's c…" and "Ada is building it n…". */
.live-words b { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
	overflow-wrap: anywhere; line-height: 1.25; }
.live-words span { overflow-wrap: anywhere; }
.live-words .live-count { white-space: nowrap; }
.live-words span { color: var(--ink-soft); font-size: var(--t-small); }
.live-words .live-count { color: var(--ink-faint); }

/* A finger's target (sitewalk2, 2026-11-24): on a touch screen every
   button is 44 px tall (--control-h, what Apple's guidelines and WCAG
   2.5.5 ask), the small ones of a card's or a list's row too, where a
   mouse keeps their denser 36: a post's Follow, Remix, Build it and Add a
   comment and its count of replies, a card's like, comments and Save, a
   comment's Reply, Hide it and Report it (24 px links before), a
   snackbar's act, a page's contents, the theme's three. Last in the
   sheet, so each component's own 36 gives way to it; the beta's strip
   keeps its own (44 on a phone, sitewalk4). A pill, a name and a word
   that is a link keep the size they are drawn at, with a finger's room
   round them (below). */
@media (pointer: coarse) {
	.cta.small, .icon-btn.small, .model .social .icon-btn, .keep > button, .keep-panel .keep-new-open, .post-say,
	.said-more, .post-acts, .toast-act, .page-toc a, .theme-choice .segmented > button { min-height: var(--control-h); }
	.icon-btn.small { min-width: var(--control-h); }
	.comment-acts > :is(button, a), .post-acts > a.tally { display: inline-flex; align-items: center; min-height: var(--control-h); }
	/* A tab sits 1 px over its strip's line (margin -1px, its underline on
	   it), and a strip that scrolls clips that px: Talk's boards took a
	   touch on 43 of their 44 (sitewalk4, elementFromPoint). One px more. */
	.tabs a, .tabs button { min-height: calc(var(--control-h) + 1px); }
	/* A finger's room round a target drawn smaller than one: a pill (the
	   gallery's kinds and Filters, a tag, ✓ Tested), a designer's name on a
	   card, a word that is a link or a button ("Say what it is based on"),
	   a page's crumbs, a link beside a head, a Talk row's board, starter
	   and Reply. Each keeps the size it is drawn at, as chips are on the
	   phone apps people know, and gets a 44-point box round its middle
	   (::after), out of the flow, so its row keeps its spacing: grown in
	   the flow, the crumbs' line and the feed's head grew 12 px and the
	   head's rule moved off the tabs' (appwalk3 F8, 2026-11-30), and a
	   Talk row's three lines spread ~50 px apart (sitewalk4). The device
	   walk's site clunks were these, at 28 to 36 points (touchfit,
	   2026-12-04). So is a link that is a line of its own: a heading that
	   is one link (a design's name over its numbers, a designer's under a
	   model's title), a console section's way to more beside its head,
	   "Choose what you hear of", an achievement's how, a callout's way on,
	   a caption that is one link ("A build of" a model),
	   the line under a row of cards (20 to 33 points). A stretched link (a
	   card's or a Talk row's title, its ::after the whole row) keeps its
	   own, and a link inside a sentence is the sentence's: a box round it
	   lay over the Save under its note (touchfit2). Weightless
	   (:where), so a component that places its own (absolute, a stretched
	   link's z-index) keeps it. */
	:where(a.pill, button.pill, summary.pill, a.link, button.link:not(.sort), .model a.who, .crumbs a, .talk-crumbs a,
		.feed-head > a, .section-head > a, .scroller-head > a, .talk-row .talk-row-meta a, .talk-row-reply,
		.post-head .face, .post-who a.who, .person-row .face, .person-row .names a, .list-row > .row-face, .row-title a,
		:is(h2, h3, h4, figcaption) > a:only-child:not([class], .talk-row-title a), .lead > .note > a, .hear p > a, .how > a,
		.callout > p:last-child > a:only-child, .models ~ .note:last-child > a:only-child, .list-top > a, .card > a.more,
		.post-title a, .shared-by a.who, .comment-head a, .composer-foot a, .log-head > a, a.keep-manage, .obj-empty a,
		details.more-langs > summary, :is(td, dd) > a, .table th > a, .beta-bar > .beta-name,
		.beta-bar .tester) { position: relative; }
	:where(a.pill, button.pill, summary.pill, a.link, button.link:not(.sort), .model a.who, .crumbs a, .talk-crumbs a,
		.feed-head > a, .section-head > a, .scroller-head > a, .talk-row .talk-row-meta a, .talk-row-reply,
		.post-head .face, .post-who a.who, .person-row .face, .person-row .names a, .list-row > .row-face, .row-title a,
		:is(h2, h3, h4, figcaption) > a:only-child:not([class], .talk-row-title a), .lead > .note > a, .hear p > a, .how > a,
		.callout > p:last-child > a:only-child, .models ~ .note:last-child > a:only-child, .list-top > a, .card > a.more,
		.post-title a, .shared-by a.who, .comment-head a, .composer-foot a, .log-head > a, a.keep-manage, .obj-empty a,
		details.more-langs > summary, :is(td, dd) > a, .table th > a, .beta-bar > .beta-name,
		.beta-bar .tester)::after, .table th .sort::before {
		content: ""; position: absolute; top: 50%; left: 50%; width: var(--control-h); min-width: 100%;
		height: var(--control-h); min-height: 100%; transform: translate(-50%, -50%);
	}
	/* A column's sort keeps its ::after for its arrow; its room is its
	   ::before. */
	.table th .sort { position: relative; }
	/* A row of pills that scrolls clips what reaches past it: 6 px over and
	   under a pill is the room its box needs. One that wraps leaves 12 px
	   between its lines, so each line's boxes meet and none lies over
	   another's pill. */
	.pills.scroller { padding-block: 6px; }
	.pills:not(.scroller) { row-gap: var(--s-3); }
	/* Save and its lists (a card's, the model page's): each half's room is
	   a finger's square from the pill's middle out, over the picture's foot
	   on a card (the halves are 34 and 36 wide there, the picture behind
	   them). The model page's row has its neighbours 4 px off, so there each
	   half is drawn a finger wide. */
	.keep > button::before {
		content: ""; position: absolute; top: 50%; width: var(--control-h); min-width: 100%;
		height: var(--control-h); min-height: 100%; transform: translateY(-50%);
	}
	.keep > .keep-main::before { right: 0; }
	.keep > .keep-more::before { left: 0; }
	.action-bar > .keep > button { min-width: var(--control-h); justify-content: center; }
	/* What the site checks' sweep found besides, every page at 375 and on an
	   iPad (820t): a row in a list of ticks or choices (a report's reasons,
	   the gallery's filters, Save's lists) is a finger tall; so is a
	   console table's row, its words where they were; a segmented choice;
	   a notice's line; Reply and a share's X a finger wide. A post's
	   pills sit in a row held to one line by its clip: the clip reaches 6 px
	   over and under, and lets a touch through to what is under it there. */
	.choice, .tick { padding-block: 10px; }
	.keep-panel .keep-row { min-height: var(--control-h); }
	.segmented button { min-height: var(--control-h); }
	.notice .lines > li > a { min-height: var(--control-h); }
	.post-say, .share-to .cta.small { min-width: var(--control-h); justify-content: center; }
	/* A row a finger tall: the room round a cell's link lay over the next
	   row's first cell, held over it on a wide table's scroll (40,
	   touchfit2); a link that wraps in its cell is one box, its room all
	   of it (43 wide, round the middle of three lines). */
	.table th, .table td { padding-block: 13px; }
	:is(td, dd) > a { display: inline-block; }
	/* So is a link that is a line of its own: wrapped onto two lines, an
	   inline link's room had no one box to stand round and was its 33
	   (a console plan's way to Admission, "Everything in the gallery, by
	   how much of it you own"). */
	:is(h2, h3, h4) > a:only-child:not([class], .talk-row-title a), .lead > .note > a, .hear p > a, .how > a,
	.callout > p:last-child > a:only-child, .models ~ .note:last-child > a:only-child { display: inline-block; }
	/* A pager's pages: 40 under a mouse. */
	.pager-pages a { min-width: var(--control-h); height: var(--control-h); }
	/* A post's line of how it was made: each link a finger tall in a line
	   drawn 20 high, its room over and under it inside the line's clip and
	   clear of the title and the controls round it (reaching into them, the
	   title's link and the like button lay over it: 34 points). */
	.post-made { height: calc(1.45em + 24px); padding-block: 12px; margin-block: -8px -4px; pointer-events: none; }
	.post-made > .made { padding-block: 12px; margin-block: -12px; pointer-events: auto; }
	/* A post's name and title clip their own words (one line, a "…"; two
	   lines), and a clip cuts the box round them: the name's own room is
	   its padding, the title's reaches up from its foot over the picture's
	   edge, clear of the pills under it. */
	.post-who a.who { padding-block: 10px; margin-block: -10px; }
	.post-title { padding-top: 20px; margin-top: -20px; }
	.post-title a::after { top: auto; bottom: 0; transform: translateX(-50%); }
	/* A list of links one under another that wraps (a profile's links
	   elsewhere), and a page's own line of links at its foot (the
	   connector's consent page, the review page): each link a finger tall
	   in the flow, its line with it. A box round each would lie over the
	   next line's (touchfit2: 21 and 30 points). */
	.links > li > a, footer > a { display: inline-flex; align-items: center; min-height: var(--control-h); }
	/* The footer's links, one word some ("FAQ", "Talk", 28 wide): each takes
	   its column's width, a row a finger presses anywhere on. */
	.foot-links a { display: flex; }
	/* A name that clips its own words ("…"), whose clip would cut a box
	   round it: its room is its own padding (Builders to follow). */
	.post-people a.who { padding-block: 8px; margin-block: -8px; }
	/* What lies beside a target never takes its room: a list card's Follow
	   line passes a touch on its empty edge through (the designer's room
	   above it, 36 points); a composer's line of guidelines is a finger
	   tall, so its link's room keeps off the box above and Post under it
	   (40); a tile's way on reaches down into the tile's foot (37). A
	   reply under its comment's Report it: web/directory.css. */
	.collection-card .follow-line { pointer-events: none; }
	.collection-card .follow-line > * { pointer-events: auto; }
	/* A card's name and its designer under it: the designer's box round
	   their 36 reaches 4 above it, so the name's line keeps clear of it
	   (a list's card, Save over its picture's foot: 38). */
	.model .open + .by { margin-top: 9px; }
	.composer-foot { min-height: var(--control-h); }
	.tile .more { padding-bottom: var(--s-2); margin-bottom: calc(-1 * var(--s-2)); }
}

/* ---------------------------------------------------------------------------
   A model's or a set's steps on a page of their own (pagesteps,
   api/_steps_page.js, web/steps.js): the model at the step in 3D beside the
   parts it adds, then Back, the step bar and Next under them. On a phone the
   3D is square on top, the parts under it, and the bar stays at the foot of
   the screen, every control a finger tall. Printed, a page a step. */
.steps-page { padding-block: var(--s-4) var(--s-7); }
.steps-top h1 { margin: var(--s-1) 0 var(--s-1); font-size: var(--t-h2); line-height: 1.15; }
.steps-said { margin: 0 0 var(--s-4); color: var(--ink-soft); font-size: var(--t-small); }
.steps-back { display: inline-flex; align-items: center; min-height: var(--control-h); color: var(--ink-soft); font-size: var(--t-small); }
.steps-back::before { content: "‹"; margin-right: var(--s-2); font-size: 1.3em; line-height: 1; }
.steps-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: var(--s-5); align-items: start; }
.steps-stage { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--picture-ground); }
.steps-page .view3d, .steps-page .view3d.shown { aspect-ratio: auto; height: 100%; border-color: var(--line); background: var(--picture-ground); }
.steps-side { position: sticky; top: var(--s-4); display: flex; flex-direction: column; gap: var(--s-3); min-width: 0; }
.steps-side h2 { margin: 0; font-size: var(--t-h2); font-variant-numeric: tabular-nums; }
.steps-new { margin: 0; color: var(--ink-soft); font-size: var(--t-small); }
.steps-parts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); max-height: min(52vh, 460px); overflow: auto; }
.steps-part { display: grid; grid-template-columns: 48px auto minmax(0, 1fr); align-items: center; gap: var(--s-3); padding: var(--s-1); border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.steps-part .pic { width: 48px; height: 48px; border-radius: calc(var(--radius) - 2px); background: var(--swatch, #999); display: grid; place-items: center; overflow: hidden; }
.steps-part .pic[data-picture="drawn"] { background: transparent; }
.steps-part .pic canvas { width: 48px; height: 48px; }
.steps-count { font-size: 1.15em; font-variant-numeric: tabular-nums; }
.steps-name { display: grid; min-width: 0; line-height: 1.25; }
/* A part's name is never cut: it wraps, and its row grows with it. */
.steps-name > span { overflow-wrap: anywhere; }
.steps-name small { color: var(--ink-soft); }
.steps-acts { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.steps-bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s-3); margin-top: var(--s-4); }
.steps-bar .cta { min-width: 96px; min-height: var(--control-h); }
.steps-bar .cta:disabled { opacity: 0.45; cursor: default; }
.steps-range { display: block; }
.steps-range input { width: 100%; min-height: var(--control-h); accent-color: var(--accent); }
.steps-keys { margin: var(--s-2) 0 0; color: var(--ink-faint); font-size: var(--t-small); text-align: center; }
.steps-print { display: none; }
@media (width < 820px) {
	.steps-layout { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
	.steps-stage { aspect-ratio: 1 / 1; }
	.steps-side { position: static; }
	.steps-parts { max-height: none; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
	/* The bar at the foot of the screen, over the page, where a thumb is;
	   the page ends its height (web/steps.js measures it, --steps-bar-h)
	   and the screen's safe area below the last control, so nothing stays
	   under it. */
	.steps-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; margin: 0; padding: var(--s-2) var(--gutter) calc(var(--s-2) + env(safe-area-inset-bottom));
		background: var(--panel); border-top: 1px solid var(--line); box-shadow: var(--shadow-2); }
	.steps-page { padding-bottom: calc(var(--steps-bar-h, calc(76px + env(safe-area-inset-bottom))) + var(--s-4)); }
	.steps-keys { display: none; }
}
@media print {
	/* A booklet, as a set's is laid out: a cover with the model built, then
	   a page a step: its number large at the top left, the parts it adds in
	   a box beside it (each part's picture and how many), the model at the
	   step filling the page, and the model's name and the step at its foot.
	   On white paper in either theme. */
	@page { margin: 12mm; }
	.steps-body { background: #fff; color: #111; }
	.steps-body > :not(main), .steps-page > :not(.steps-print), .skip { display: none !important; }
	/* Nothing above the first page: the screen's room for the beta line
	   and a section's spacing pushed the cover 38 mm down, and it split. */
	.steps-body, .steps-page, .steps-print { margin: 0 !important; padding: 0 !important; }
	.steps-print { display: block; }
	/* A page's height fits both A4 (273 mm inside the margins) and Letter
	   (255 mm). */
	.booklet-page { display: flex; flex-direction: column; gap: 6mm; height: 245mm; break-after: page; page-break-after: always; break-inside: avoid; color: #111; }
	.booklet-page:last-child { break-after: auto; page-break-after: auto; }
	.booklet-cover { justify-content: center; text-align: center; }
	.booklet-cover h1 { margin: 0; font-size: 30pt; line-height: 1.1; }
	.booklet-said { margin: 0; font-size: 12pt; color: #555; }
	.booklet-head { display: flex; align-items: flex-start; gap: 6mm; }
	.booklet-n { margin: 0; min-width: 18mm; font-size: 40pt; line-height: 1; font-variant-numeric: tabular-nums; }
	.booklet-callout { list-style: none; margin: 0; padding: 3mm 4mm; display: flex; flex-wrap: wrap; gap: 3mm 5mm; align-items: flex-end;
		border: 0.4mm solid #9fb3c8; border-radius: 3mm; background: #eef3f8; }
	.booklet-callout:empty { display: none; }
	.booklet-callout li { display: flex; flex-direction: column; align-items: center; gap: 1mm; max-width: 30mm; }
	.booklet-part { width: 16mm; height: 16mm; object-fit: contain; }
	.booklet-swatch { width: 10mm; height: 10mm; border-radius: 1.5mm; }
	.booklet-callout small { font-size: 7pt; text-align: center; overflow-wrap: anywhere; }
	.booklet-callout b { font-size: 11pt; }
	.booklet-model { display: block; flex: 1; min-height: 0; width: 100%; object-fit: contain; }
	.booklet-foot { font-size: 8pt; color: #666; text-align: right; }
}

/* -- One yellow a screen (onecta, 2026-12-06) ------------------------
   The yellow is a screen's one primary action, and the way into the
   studio has one name, Open the studio (web/_shell.html). uxplan13 found
   four yellows on one phone screen of the gallery and three on a model's
   page, so none of them read as the one to press.
   The header's Open the studio is the yellow on a page with no primary of
   its own. A page whose content holds one (a model's Build it, the home's
   Open the studio or, signed in, Share a build) has the header's step back
   to a secondary button, so the screen's one yellow is the page's: the
   header is sticky, and both would be on every screen. A yellow inside a
   dialog, a closed menu or a hidden part is not shown, and leaves the
   header as it is. tools/web/primary_flow.mjs counts the yellows on each
   screen of the six most visited pages, design_flow.mjs on every page. */
body:has(main .cta:not(.ghost, .link, dialog *, [hidden], [hidden] *, details:not([open]) > :not(summary) *))
	.site-head .nav > a.cta:not(.ghost) {
	background: var(--panel); color: var(--ink); border-color: var(--line-strong);
	box-shadow: var(--highlight), var(--shadow-1);
}
body:has(main .cta:not(.ghost, .link, dialog *, [hidden], [hidden] *, details:not([open]) > :not(summary) *))
	.site-head .nav > a.cta:not(.ghost):hover {
	background: var(--panel-hi); filter: none;
}
/* A comment box's Post is the yellow only once it holds words
   (web/composer.js marks it [data-words]), as a post button lights when
   there is something to post: empty, it would be a second yellow beside a
   model's Build it, which stays on screen beside the comments from 900 px. */
.composer:not([data-words]) button[type="submit"].cta:not(.ghost) {
	background: var(--panel); color: var(--ink); border-color: var(--line-strong);
	box-shadow: var(--highlight), var(--shadow-1);
}
.composer:not([data-words]) button[type="submit"].cta:not(.ghost):hover { background: var(--panel-hi); filter: none; }
