/*
  The directory's pages that the server makes, after /site.css: only what
  they have and the site's other pages do not.

  A shared model's page, /m/<id> (api/share.js): the picture first and
  large, with a strip of its other pictures under it; beside it on a
  laptop, in a column that stays on screen as the page scrolls, what it is,
  who made it, Build it and the action bar; under it on a phone, so the
  picture, the name, the designer and the action bar are the first screen.
  Then tabs that stay on screen, About, Comments, Builds, Remixes and
  Versions, each a part of the page; and at the end more by its designer
  and similar models, or the gallery's. It is as wide as the gallery
  (.wrap.wide): from 1200 px the column is 420 px and the picture takes
  the rest, 60% of a 1920 window.
*/
.model-page { padding: var(--s-5) 0 72px; }
.crumbs { font-size: var(--t-small); color: var(--ink-faint); margin: 0 0 14px; }
.crumbs a { color: var(--ink-soft); }
.model-page .top {
	display: grid; gap: 22px 40px; align-items: start;
	grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr);
	grid-template-areas: "picture side" "rest side";
}
.model-page .media { grid-area: picture; min-width: 0; }
.model-page .side { grid-area: side; position: sticky; top: calc(var(--head-h) + var(--s-4)); min-width: 0; }
/* On a laptop the column is a panel of its own beside the picture, as a
   product's page has its buying box: the name, who made it, the ways in,
   the action bar and its facts, apart from the page under it. */
@media (width >= 900px) {
	.model-page .side {
		padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--radius);
		background: var(--panel); box-shadow: var(--highlight), var(--shadow-2);
	}
	.model-page .side .facts { padding-top: var(--s-4); border-top: 1px solid var(--line); }
}
/* From 1200 px the panel's words have the room the action bar needs in one row. */
@media (width >= 1200px) { .model-page .side { padding: var(--s-5); } }
.model-page .rest { grid-area: rest; min-width: 0; }
@media (width >= 1200px) { .model-page .top { grid-template-columns: minmax(0, 1fr) 480px; } }
@media (width < 900px) {
	.model-page { padding-top: 12px; }
	.model-page .crumbs { margin-bottom: 10px; }
	.model-page .top { grid-template-columns: minmax(0, 1fr); grid-template-areas: "picture" "side" "rest"; gap: 12px; }
	.model-page .side { position: static; }
}
/* Where it came from, under its picture (api/share.js lineage): a remix's
   source and what it changed, what it is based on; on a phone after the
   column. Its row only where it has one, or the grid's gap shows twice. */
.model-page .top:has(> .lineage) { grid-template-areas: "picture side" "under side" "rest side"; }
.model-page .lineage {
	grid-area: under; min-width: 0; display: grid; gap: var(--s-2); 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);
}
.model-page .lineage > :is(p, ul, div) { margin: 0; }
@media (width < 900px) { .model-page .top:has(> .lineage) { grid-template-areas: "picture" "side" "under" "rest"; } }
/* View in 3D, the picture's way in, as large as the picture asks for. */
@media (width >= 900px) {
	.model-page .media .picture .go { min-height: 48px; padding: 0 var(--s-5); font-size: var(--t-body); }
}

/* The picture is the shape it was published at, 1200 x 630, so the page
   holds its space before it arrives; on the theme's own ground, which a
   picture with nothing behind the model shows (site.css --picture-ground). */
.model-page .picture {
	position: relative; display: block; border-radius: var(--radius); overflow: hidden;
	border: 1px solid var(--line); background: var(--picture-ground); aspect-ratio: 1200 / 630;
	box-shadow: var(--highlight), var(--shadow-2); text-decoration: none; color: inherit;
	/* A finger up or down it scrolls the page; across it opens the 3D view. */
	touch-action: pan-y pinch-zoom;
}
.model-page .picture img {
	position: relative; width: 100%; height: 100%; object-fit: cover;
	transition: transform 320ms var(--ease), scale 320ms var(--ease), translate 320ms var(--ease);
}
@media (hover: hover) { .model-page a.picture:hover img { transform: scale(1.02); } }
@media (prefers-reduced-motion: reduce) { .model-page .picture img { transition: none; } .model-page a.picture:hover img { transform: none; } }
/* Until its picture is drawn the frame says it is coming, as a card with
   none says so (site.css .model .frame.none), and the picture lands over
   it: the first view right after publishing was a blank grey frame while
   the picture came (walk180 S2). */
.model-page .picture .waiting {
	position: absolute; inset: 0; display: grid; place-items: center;
	color: var(--ink-faint); font-size: var(--t-small);
	background: linear-gradient(180deg, var(--panel-hi), var(--bg-soft));
}
.model-page .picture .waiting[hidden] { display: none; }
.model-page .picture .none { display: grid; place-items: center; height: 100%; color: var(--ink-faint); }


/* The strip of its pictures (api/share.js mediaStrip): the one it was
   published with, its owner's photos, then photos of real builds; the one
   shown in the picture's place edged in the accent. A scroller (site.css).
   A photo shown large is shown whole. */
.media-strip { display: flex; gap: var(--s-2); margin-top: var(--s-3); padding-block: 3px; }
.media-strip[hidden] { display: none; }
.media-strip .thumb {
	flex: none; display: block; width: 96px; height: 72px; padding: 0; overflow: hidden;
	border: 1px solid var(--line); border-radius: var(--r-2); background: var(--picture-ground);
}
.media-strip .thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media-strip .thumb[aria-current="true"] { outline: 2px solid var(--accent-edge); outline-offset: 1px; }
.media-strip .thumb.add {
	display: inline-grid; place-items: center; border-style: dashed; cursor: pointer; padding: 0 var(--s-1);
	font: inherit; font-size: var(--t-tiny); font-weight: 600; color: var(--ink-soft); line-height: 1.2;
	white-space: normal; text-align: center;
}
.media-strip .thumb.add:hover { color: var(--ink); border-color: var(--ink-faint); }
.media-strip .thumb.add[hidden] { display: none; }
/* With no strip yet, its owner's Add a picture (model-page.js) is over the
   picture's corner, on the panel's ground: a strip shown for it alone
   pushed the page down as it came (site275). */
.model-page .media { position: relative; }
.model-page .media > .on-picture { position: absolute; top: 14px; left: 14px; background: var(--panel); }
.model-page .picture.photo img { object-fit: contain; background: var(--bg-soft); }
/* A set's own picture (api/_sets.js photoOf): Rebrickable's, whole, on the
   white it was photographed on, and credited under it, short. */
.set-page .picture.photo, .set-page .picture.photo img { background: var(--photo-ground); }
.set-page .picture-credit { margin: 6px 2px 0; text-align: right; font-size: var(--t-small); color: var(--ink-faint); }
.set-page .picture-credit a { color: inherit; }
/* A set LDraw has no model of says so under its picture, where a modelled
   set's picture says View in 3D (set3d), its credit at the right. */
.set-page .picture-foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--s-3); margin: 6px 2px 0; }
.set-page .picture-foot .picture-credit { margin: 0 0 0 auto; }
.set-page .no3d { margin: 0; font-size: var(--t-small); color: var(--ink-soft); }
/* On a phone smaller, so its Like and Save are on a 390x844 window's first
   screen under the beta's strip at the top (pagebar). */
@media (width < 600px) { .media-strip .thumb { width: 64px; height: 48px; } }
/* On a phone the picture is square: at 390 px it is 358 px tall, not 188,
   and web/model-page.js draws the model as large as its width lets it,
   the picture's own ground carried on above and below a wide one. */
@media (width < 600px) { .model-page .picture { aspect-ratio: 1 / 1; } }
/* On a laptop 16:10, as tall as the column beside it (sitepolish,
   2026-11-23: at 1280 the picture was 380 px tall beside a column of 560,
   where a model's page on Printables or MakerWorld leads with a picture as
   tall as its buying box; it was 4:3 then, beside a column of nine
   buttons). With the column cut to one action, the social row and its
   facts (pagekit), 16:10 is its height, and the tabs under the picture are
   on an 800 px tall window's first screen. Drawn the way a phone's square
   is (web/model-page.js fitPicture). */
@media (width >= 900px) { .model-page .picture { aspect-ratio: 16 / 10; } }

/* The page's tabs (api/share.js pageTabs, site.css .obj-tabs): real tabs,
   each switching its panel in place under the picture (pagekit; before,
   links down one long page, kept on screen by a bar of their own). */
.model-page .page-tabs { margin: var(--s-5) 0 var(--s-4); }
@media (width < 900px) { .model-page .page-tabs { margin-top: var(--s-2); } }

/* Its name: two lines at most, at a size the column holds (.obj-title);
   it was three lines of 56 px. */
.model-page h1:not(.obj-title) { font-size: var(--t-h1); margin: 0 0 12px; overflow-wrap: anywhere; line-height: 1.15; }
.model-page .from { margin: 0 0 10px; color: var(--ink-soft); overflow-wrap: anywhere; }
.model-page .from a { color: var(--ink); }
/* What it is based on (api/_bases.js): a line a thing, under its remix
   line; its designer's own line to change them; and their dialog, a box a
   thing, at most three. */
.model-page ul.based-on { list-style: none; padding: 0; }
.model-page ul.based-on li + li { margin-top: 2px; }
/* By finger, the set or model a short line names ("92% from 5140 Bricks,
   Red", "Inspired by “A castle”") has a 44-point box round its words, as a
   fact's does, the line's height kept: it was 23 points tall, in a line
   too short to be read as a link in a sentence (phonewalk2's walk, an
   iPhone Pro Max). Their lines 22 px apart, and a line of them 24 under
   the line before, so one's box never lies over the next's (the 92%
   line's was cut to 35 by the first based-on line's). */
@media (pointer: coarse) {
	.model-page .alt-build a, .model-page ul.based-on a { display: inline-block; padding-block: 11px; margin-block: -11px; }
	.model-page ul.based-on li + li { margin-top: 22px; }
	.model-page .lineage > .from + .from { margin-top: 14px; }
}
/* Built from a real set, counted (altbuilds): the designer alone hears
   what a set they named does not hold; a set's page's empty row asks for
   the first build, its button the page's own. */
.model-page .alt-short { color: var(--ink-soft); }
.set-page .built-empty p { margin: 0 0 10px; }
.set-page .built-empty p.note { color: var(--ink-soft); }
/* Ask the builders (hubask, web/set-page.js): a model's Comments' box, the
   asked step in 3D in it as its thread draws it (16:10, square on a
   phone, as .talk-ask's), and what was asked here, Answered in green. */
.set-page .set-asks-lede { margin: 0 0 4px; color: var(--ink-soft); }
.set-page .set-ask-form { max-width: 80ch; }
.set-page .set-ask-form label[for="set-ask-words"] { font-weight: 600; }
.set-page .set-ask-frame { position: relative; }
.set-page .set-ask-frame .picture { display: block; position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-3); overflow: hidden;
  background: var(--panel-hi); border: 1px solid var(--line); }
.set-page .set-ask-frame .picture img { width: 100%; height: 100%; object-fit: contain; display: block; }
.set-page .set-ask-frame .view3d { aspect-ratio: 16 / 10; }
@media (width < 600px) { .set-page .set-ask-frame .picture, .set-page .set-ask-frame .view3d { aspect-ratio: 1 / 1; } }
.set-page .set-asks-asked { margin-top: var(--s-5); max-width: 80ch; }
.set-page .set-asks-asked h3 { margin: 0 0 8px; }
.set-page .set-asks-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.set-page .set-ask-row { padding: 10px 0; border-top: 1px solid var(--line); }
.set-page .set-ask-row:last-child { border-bottom: 1px solid var(--line); }
.set-page .set-ask-title { font-weight: 600; overflow-wrap: anywhere; display: inline-block; min-height: 24px; }
.set-page .set-ask-meta { margin: 4px 0 0; color: var(--ink-soft); font-size: var(--t-small); }
.set-page .set-ask-state { margin-right: 6px; }
.set-page .set-ask-state.answered { color: var(--green); border-color: var(--green); font-weight: 600; }
dialog.bases-dialog { width: min(480px, calc(100vw - 32px)); }
dialog.bases-dialog .bases-rows { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 12px; }
/* Each row boxed, over the report dialog's bare fieldsets (below); its
   Remove at the row's start, as Add another is under them. */
dialog.report.bases-dialog fieldset { border: 1px solid var(--line); border-radius: var(--r-3); padding: 12px; margin: 0; }
dialog.report.bases-dialog fieldset > button { justify-self: start; }
dialog.bases-dialog form label { margin-bottom: 10px; }
dialog.bases-dialog .actions { margin-top: 16px; }
/* The facts are words, not controls: a long one ("Moves: ...") wraps.
   One quiet line of them, a dot between, those that lead somewhere links
   (sitepolish, 2026-11-23: they were pills of two sizes, a fact's 24 px
   beside a link's 32, and a long one a pill two lines tall). */
/* Each fact after a dot, and the row drawn 16 px to the left with that
   strip cut off, so the dot that starts a line is never seen: a dot only
   ever between two facts on one line (the ring of a focused link keeps 3 px). */
.model-page .facts { margin: 18px 0 12px -16px; align-items: center; gap: 2px 0; clip-path: inset(-8px -8px -8px 13px); }
/* By finger, a fact that is a link has a 44-point box round its 24 (the
   site's coarse rule): the cut reaches past it above and below, and its
   lines are 20 px apart so one line's boxes never lie over the next's
   (touchfit2: 40 and 42 points on an iPad, the clip's 8 px), nor over
   the line under the list (your "Say what it is based on", 41). */
@media (pointer: coarse) {
	.model-page .facts { row-gap: 20px; margin-bottom: 18px; clip-path: inset(-12px -12px -12px 13px); }
}
.model-page .facts .pill { white-space: normal; max-width: 100%; }
/* A fact is a block of words, its spaces kept (as a flex box a fact's
   words and its date were two items, and "since" lost its space); its dot
   hangs in the strip, so a fact's second line starts under its first. */
.model-page .facts > li {
	display: block; min-width: 0; padding-left: 16px; text-indent: -16px;
	font-size: var(--t-small); line-height: 1.45;
}
.model-page .facts > li > *, .model-page .facts > li::before { text-indent: 0; }
.model-page .facts > li::before { content: "\00B7"; display: inline-block; width: 16px; text-align: center; color: var(--ink-faint); }
.model-page .facts > li.pill, .model-page .facts > li > a.pill {
	min-height: 24px; padding: 0; border: 0; border-radius: 0; background: none;
	font-size: var(--t-small); font-weight: 500; line-height: 1.45;
}
.model-page .facts > li.pill { padding-left: 16px; color: var(--ink-soft); }
.model-page .facts > li > a.pill {
	color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px;
}
.model-page .facts > li > a.pill:hover { background: none; text-decoration-color: currentColor; }
.model-page .facts > li > a.pill.good { color: var(--green); font-weight: 600; }
/* The Tested mark, first of them; open, its four results take the row. */
.model-page .facts .tested-mark { display: inline-block; max-width: 100%; vertical-align: middle; margin: 0; }
.model-page .facts li.tested:has(> .tested-mark[open]) { flex-basis: 100%; }
.model-page .side .actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0 0 12px; }
/* What With your Claude does and costs, one line under the buttons (onecta). */
.model-page .side .claude-line { margin: calc(-1 * var(--s-1)) 0 var(--s-2); color: var(--ink-soft); text-wrap: pretty; }
.model-page .side .claude-line[hidden] { display: none; }
/* Build it across the column, Open in Brickworks and Download under it,
   sharing the row: three in a row fit neither a phone nor the column. */
.model-page .side .actions > .cta { flex: 1 1 auto; }
.model-page .side .actions > .cta:first-child { flex-basis: 100%; }
/* Open in Brickworks and its second choice, With your Claude, one control
   (claudelink): the two halves of a ghost button, the second opening the
   panel under the row. Once the second shows, the control has the row and
   Download the one under it; a long language's words wrap in the first
   half rather than push the control past a phone's edge. */
.model-page .side .actions > .open-split { display: flex; flex: 1 1 auto; min-width: 0; }
.model-page .side .actions > .open-split:has(> .open-claude:not([hidden])) { flex-basis: 100%; }
.open-split > .cta { flex: 1 1 auto; min-width: 0; white-space: normal; text-align: center; }
.open-split:has(> .open-claude:not([hidden])) > .cta { border-start-end-radius: 0; border-end-end-radius: 0; }
.open-split > .open-claude {
	display: inline-flex; align-items: center; gap: var(--s-1); flex: none; min-height: var(--control-h); margin-inline-start: -1px; padding: 0 12px;
	border: 1px solid var(--line-strong); border-radius: 0 var(--control-radius) var(--control-radius) 0;
	background: var(--panel); box-shadow: var(--highlight), var(--shadow-1); color: var(--ink); font-weight: 640;
}
.open-split > .open-claude:hover { background: var(--panel-hi); }
.open-split > .open-claude[aria-expanded="true"] { border-color: var(--accent-edge); }
.open-split > .open-claude[aria-expanded="true"] > .icon:last-child { transform: rotate(180deg); }
.open-split > .open-claude .icon { width: 18px; height: 18px; }
.open-split > .open-claude .narrow { display: none; }
@media (width < 600px) { .open-split > .open-claude .wide { display: none; } .open-split > .open-claude .narrow { display: inline; } }
/* What should it change, Copy for Claude and the way to connect it: under
   the row, as Save's lists are, pushing the page down. */
.claude-panel {
	display: grid; gap: var(--s-2); margin: 0 0 12px; padding: 12px; border-radius: var(--r-3);
	border: 1px solid var(--line); background: var(--panel);
}
.claude-panel[hidden] { display: none; }
.claude-panel .claude-head { margin: 0; font-weight: 640; }
.claude-panel .claude-about { margin: 0; color: var(--ink-soft); font-size: var(--t-small); }
.claude-panel .claude-ask { display: grid; gap: var(--s-2); }
.claude-panel .claude-ask label small { color: var(--ink-soft); font-weight: 400; }
.claude-panel .claude-do { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.claude-panel .claude-do > .cta { flex: 1 1 auto; }
.claude-panel .claude-connect { margin: 0; }
.claude-panel .claude-message[hidden] { display: none; }
.claude-panel .claude-said { margin: 0; }
.claude-panel .claude-said:empty { display: none; }

/* Who made it: their avatar, name and handle, a link to their profile,
   and Follow beside it. */
.model-page .shared-by { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin: 0 0 14px; }
.model-page .shared-by .who { display: inline-flex; align-items: center; gap: var(--s-3); min-width: 0; color: var(--ink); text-decoration: none; }
.model-page .shared-by .names { display: grid; min-width: 0; line-height: 1.3; }
.model-page .shared-by .names b { font-weight: 640; overflow-wrap: anywhere; }
.model-page .shared-by .names small { color: var(--ink-soft); font-size: var(--t-small); overflow-wrap: anywhere; }
.model-page .shared-by a.who:hover b { text-decoration: underline; text-decoration-thickness: 1px; }
.model-page .shared-by .said { flex-basis: 100%; }
/* Somebody else modelled it (api/share.js designerRow, _sets.js
   modellerHtml): they lead, by their initial and the line that credits
   them, and who shares it is under, small (sitebold, 2026-11-23). */
.model-page .shared-by.credit { flex-wrap: nowrap; align-items: center; }
.model-page .shared-by.credit > .avatar { flex: none; }
.model-page .shared-by.credit .names { flex: 1; gap: 2px; line-height: 1.4; }
.model-page .shared-by.credit .modelled-by { margin: 0; color: var(--ink-soft); }
.model-page .shared-by.credit .modelled-by b { color: var(--ink); font-size: var(--t-body); }
.model-page .shared-via { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--s-3); color: var(--ink-faint); font-size: var(--t-small); }
.model-page .shared-via .who { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); }
.model-page .shared-via a.who:hover span { color: var(--ink); text-decoration: underline; }
.model-page .shared-by .said:empty { display: none; }

/* The action bar (web/model-page.js): the kit's icon buttons in a row,
   More at its end. Save is a card's split control (web/card.js keepHtml,
   web/keep.js, lists2a): drawn here as the bar's own buttons are, on no
   ground, with the bar's edge and height; its lists open in keep.js's
   panel, as from any card. */
.action-bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1); margin: 0; }
.action-bar .more-menu { margin-left: auto; }
/* On a phone, one row across the column, More at its end. */
@media (width < 600px) { .action-bar { gap: var(--s-1); justify-content: space-between; } .action-bar .more-menu { margin-left: 0; } }
/* Its edge drawn on its halves, so each is the bar's whole 44 px as Like's
   and Share's are: drawn round the pair, each half was 42 (phonewalk2). */
.action-bar > .keep { border: 0; background: transparent; box-shadow: none; }
.action-bar > .keep > button { min-height: var(--control-h); border: 1px solid var(--line); }
.action-bar > .keep > .keep-main { border-right: 0; }
.action-bar > .keep:has(> [aria-pressed="true"]) > button { border-color: var(--accent-edge); }
.action-bar > .keep:has(> [aria-pressed="true"]) > .keep-more { border-left-color: var(--line); }
/* A model's Save is its icon, as Like's and Share's are, its word in its
   tooltip and its name ("Save Riverside Watchtower"): with the word, pre261's
   Save took the row to a second line at 1280 (the lead, 2026-11-23). Its
   lists' half stays as it is. */
.model-page .action-bar > .keep > .keep-main { padding-inline: 12px 10px; }
.model-page .action-bar > .keep > .keep-main .word { display: none; }
.marks-said { margin: 6px 0 0; }
.marks-said:empty { display: none; }

/* What comes next: more by its designer, similar models, a row each. */
.model-page .next { margin-top: var(--section); max-width: none; }
.model-page .next h2 { margin: 0; overflow-wrap: anywhere; }
.model-page .next h2 a { color: inherit; }

.model-page section { margin-top: var(--s-7); max-width: 72ch; }
/* A tab's panel starts under its tab, a panel a part (pagekit). */
.model-page .obj-panels > section { margin-top: 0; }
.model-page .obj-panels > section.parts, .model-page .obj-panels > section.tree { max-width: none; }
/* The public collections it is in, the Overview's last part. */
.model-page .in-lists { margin-top: var(--s-6); }
.model-page .in-lists h3 { margin-top: 0; }
/* The action bar on a phone: Like, Save and Share together at its start,
   More at its end, as they sit in the column on a laptop. */
@media (width < 600px) { .model-page .action-bar { justify-content: flex-start; } .model-page .action-bar .more-menu { margin-left: auto; } }
/* A set's: what you own of its parts at the Parts tab's top, and where its
   data is from a quiet line under the tabs, not a part of its own. */
.model-page .parts > .owned { margin: 0 0 var(--s-5); }
.model-page .set-credit { margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.model-page .set-credit .credit { margin: 0; font-size: var(--t-small); color: var(--ink-faint); }
.model-page .set-credit .credit a { color: var(--ink-soft); }
/* A tab with nothing yet: one line and its way in (site.css .obj-empty). */
.model-page .builds .obj-empty + .add-build { margin-top: 0; }
.model-page section h2 { margin: 0 0 var(--s-2); }
.model-page section h3 { margin: var(--s-4) 0 var(--s-2); }
.model-page .tags { margin: 18px 0 0; }
.model-page .description { margin: 0; white-space: pre-line; overflow-wrap: anywhere; color: var(--ink); }
.model-page .licence h3 { margin-top: 18px; }
.model-page .licence p { margin: 0; color: var(--ink-soft); }
.model-page .licence b { color: var(--ink); }


/* Versions (api/share.js versionsSection): what changed in the one shown,
   its owner's words, and the others; an older one marked as older. */
.model-page .old-version {
	margin: 0 0 16px; padding: 10px 14px; border-radius: var(--r-2); border: 1px solid var(--accent-edge);
	background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--ink); overflow-wrap: anywhere;
}
.model-page .old-version a { color: var(--ink); font-weight: 600; }
.model-page .versions .changed { margin: 0 0 8px; color: var(--ink); }
.model-page .versions .when { color: var(--ink-faint); font-size: var(--t-small); margin-left: 4px; }
.model-page .version-note {
	margin: 0 0 10px; padding: 2px 0 2px 14px; border-left: 3px solid var(--line);
	color: var(--ink-soft); white-space: pre-line; overflow-wrap: anywhere;
}
.model-page .version-note p { margin: 0; }
.model-page .versions .kept { margin: 0 0 10px; color: var(--ink-soft); }
.model-page .versions .lots ul { margin: 6px 0 0; padding-left: 22px; color: var(--ink-soft); }
.model-page .earlier { margin: 0; padding-left: 22px; color: var(--ink-soft); }
.model-page .earlier li { margin: 4px 0; overflow-wrap: anywhere; }
.model-page .earlier a { color: var(--ink); }
/* The Log (api/share.js versionsSection): every version newest first, its
   small picture beside its date, what changed and its note; the one shown
   edged. A picture holds its 4:3 place before it comes, so nothing moves. */
.model-page .versions h3 { margin: 18px 0 8px; }
.model-page .earlier.log { list-style: none; padding: 0; display: grid; gap: 10px; }
.model-page .log-entry {
	display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 12px; align-items: start; margin: 0;
	padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel);
}
.model-page .log-entry[aria-current="true"] { border-color: var(--line-strong); }
.model-page .log-picture { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-1); background: var(--panel-hi); overflow: hidden; }
.model-page .log-picture img { display: block; width: 100%; height: 100%; object-fit: contain; }
.model-page .log-main p { margin: 0 0 4px; }
.model-page .log-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--ink-soft); }
.model-page .log-head > a { font-weight: 600; }
.model-page .log-head .when { margin-left: 0; }
.model-page .log-changed { color: var(--ink-soft); }
.model-page .log-note q { color: var(--ink); white-space: pre-line; }
.model-page .wip-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--ink-soft); }
@media (max-width: 520px) {
	.model-page .log-entry { grid-template-columns: 96px minmax(0, 1fr); gap: 10px; }
}
/* Its parts (api/share.js partsSection, web/model-page.js startParts): how
   many in how many lots, Colour or Kind and the shops' lists (a model's
   three: what LEGO® Pick a Brick leaves off said under them), then a
   row a colour (or a kind) and under it a row a lot: its picture, its name,
   its number and colour, and how many. Every row is LOT_ROW (api/share.js)
   tall and a name too long for its row ends in an ellipsis, so the space the
   list takes is kept for it before it comes and nothing under it moves. */
.model-page .parts .note { margin: 0 0 var(--s-3); color: var(--ink-soft); }
.parts-bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin: 0 0 var(--s-3); }
.parts-bar .segmented { margin-right: auto; }
/* On a phone the grouping has a row of its own and the two lists to take
   away share the next, half each (sitepolish, 2026-11-23: Rebrickable CSV
   fell alone onto a second row under BrickLink XML). */
@media (width < 600px) {
	.parts-bar .segmented { flex: 1 1 100%; margin-right: 0; }
	.parts-bar .segmented > button { flex: 1; }
	.parts-bar > .cta { flex: 1 1 0; min-width: 0; }
}
/* The shops' lists, one group: it wraps as a whole beside Colour and Kind
   or under them, never one shop a row apart from the rest. */
.parts-shops { display: flex; flex-wrap: wrap; gap: var(--s-2); }
/* What somebody signed in has of a model's parts (ownedparts,
   web/model-page.js startMine): the line that says it, then All · Missing ·
   Have all, each with how many lots; the row is kept from the start, a
   field's height, so the list under it does not move when it is said. */
.parts-mine { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); min-height: var(--control-h);
	margin: 0 0 var(--s-3); }
.parts-mine .parts-have { flex: 1 1 240px; margin: 0; }
.parts-mine .parts-have.all { font-weight: 600; }
.parts-mine .segmented .n { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.parts-mine .segmented [aria-pressed="true"] .n { color: var(--ink); }
/* A set page's You own − n + (ownedparts, api/_sets.js ownCountHtml), in
   Parts you own once they own it: the number a field four digits wide
   between − and +, and what it means beside it. */
.owned-count .keep-count { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin: 0 0 var(--s-3); }
.owned-count label { font-weight: 600; }
.owned-count input { width: 4.5em; text-align: center; font-variant-numeric: tabular-nums; }
.owned-count .note { flex: 1 1 14em; margin: 0; color: var(--ink-soft); font-size: var(--t-small); }
.lot-list { list-style: none; margin: 0 0 var(--s-3); padding: 0; }
.lot-list li {
	display: flex; align-items: center; gap: var(--s-3); height: 60px; min-width: 0;
	border-bottom: 1px solid var(--line); box-sizing: border-box;
}
.lot-list li:first-child { border-top: 1px solid var(--line); }
.lot-list .group { gap: var(--s-2); font-weight: 640; }
.lot-list .group .n, .lot-list .qty { margin-left: auto; flex: none; font-variant-numeric: tabular-nums; }
.lot-list .group .n { color: var(--ink-soft); font-weight: 500; font-size: var(--t-small); }
.lot-list .pic {
	flex: none; display: grid; place-items: center; width: 48px; height: 48px; overflow: hidden;
	border-radius: var(--r-1); background: var(--picture-ground);
}
.lot-list .pic canvas { width: 100%; height: 100%; }
.lot-list .what { flex: 1; display: grid; min-width: 0; line-height: 1.35; }
.lot-list .name, .lot-list .meta { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lot-list .meta { display: flex; align-items: center; gap: 6px; font-size: var(--t-small); color: var(--ink-soft); }
.lot-list .qty { font-weight: 640; }
.lot-list .swatch { flex: none; width: 14px; height: 14px; }
.model-page .tree, .model-page .in-lists { max-width: none; }
.model-page .line { margin: 0; padding-left: 22px; color: var(--ink-soft); }
.model-page .line li { margin: 3px 0; overflow-wrap: anywhere; }
.model-page .line a { color: var(--ink); }
/* What a remix changed, under its credit, and the Remixes tab's tree both
   ways (remixdiff, api/_remix.js): each node its picture, name, maker and
   what it changed from the one above it; each level set in from that one
   and joined to it by a line; the model whose page it is ringed. */
.model-page .remix-changes { margin: 0 0 10px; color: var(--ink-soft); overflow-wrap: anywhere; }
.model-page .remix-changes a, .model-page .remix-changes b { color: var(--ink); }
.model-page .remix-changes b { font-weight: 600; }
.model-page .remix-changes .what-changed { margin-left: 4px; vertical-align: 1px; }
.model-page .remix-changes .what-changed[hidden] { display: none; }
.remix-tree, .remix-tree ol { list-style: none; margin: 0; padding: 0; }
.remix-tree ol { margin-left: 26px; padding-left: 14px; border-left: 2px solid var(--line-strong); }
.remix-tree li { margin: 8px 0; }
.remix-tree .node-card {
	display: flex; align-items: center; gap: 12px; max-width: 640px; padding: 8px 12px 8px 8px;
	border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); color: var(--ink); text-decoration: none;
}
.remix-tree a.node-card:hover { background: var(--panel-hi); border-color: var(--line-strong); }
.remix-tree a.node-card:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.remix-tree .node-card.self { border-color: var(--accent-edge); box-shadow: inset 0 0 0 1px var(--accent-edge); }
.remix-tree .node-card img, .remix-tree .no-picture {
	flex: none; width: 64px; height: 48px; border-radius: var(--r-2); background: var(--picture-ground); object-fit: contain;
}
.remix-tree .words { display: grid; min-width: 0; line-height: 1.35; }
.remix-tree .name { font-weight: 600; overflow-wrap: anywhere; }
.remix-tree .by, .remix-tree .change { font-size: var(--t-small); color: var(--ink-soft); overflow-wrap: anywhere; }
.remix-tree .here { margin-left: auto; padding-left: 8px; font-size: var(--t-tiny); color: var(--ink-soft); white-space: nowrap; }
@media (width < 600px) {
	.remix-tree ol { margin-left: 12px; padding-left: 10px; }
	.remix-tree .node-card { gap: 10px; }
	.remix-tree .node-card img, .remix-tree .no-picture { width: 48px; height: 36px; }
	.remix-tree .here { display: none; }
}

.gone { padding: clamp(56px, 10vw, 110px) 0; }

/* A new list's name on your account (web/profile.js). */
.collect-new { display: flex; gap: 6px; }
/* A name box beside its buttons: room for ten letters, then whatever is left;
   it never pushes its row past a phone's edge. */
.collect-new > input, .list-top > input { flex: 1 1 10em; width: 10em; }

/* A model's card is site.css's .model; here only what a card on these
   pages adds: a button under it on your account (.kept). */
.kept { display: grid; gap: 8px; align-content: start; }

/* /challenge (challengepage, 2026-11-13; docs/DESIGN_SYSTEM.md "A
   challenge"), laid out as the best contest pages are. Its head is the
   inner page's .page-hero: the theme's words, its rules and the way in on
   the left, and from 900 px a panel beside them with where it stands (its
   status, a countdown, how far through its days, its numbers); under 900 px
   the panel follows the words. */
.challenge-top { display: grid; gap: var(--s-6); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (width >= 900px) { .challenge-top { grid-template-columns: minmax(0, 1fr) minmax(320px, 380px); gap: var(--s-8); } }
.challenge-head h1 { margin-bottom: var(--s-3); overflow-wrap: anywhere; }
.challenge-head .lede { white-space: pre-line; overflow-wrap: anywhere; }
.challenge-status { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin: 0 0 var(--s-3); }
.challenge-status .eyebrow { margin: 0; }
/* The rules, as the checks a model must pass, each with its tick. */
.rules-box { margin: var(--s-5) 0 0; max-width: 60ch; }
.rules-h, .clock-h {
	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;
}
.rules-box .ticks { color: var(--ink); font-size: var(--t-body); }
.rules-box .note { margin: 0; }
.challenge-head .actions { margin-top: var(--s-5); }
.challenge-head .actions .cta .icon { width: 20px; height: 20px; }
.challenge-head .actions + .note { margin-top: var(--s-3); }
/* Where it stands: a panel lit from above as the month's tile on the home is. */
.challenge-clock {
	padding: var(--s-5); border: 1px solid var(--accent-edge); border-radius: var(--r-4);
	background-color: var(--panel); background-image: var(--glow), var(--studs); background-size: auto, 24px 24px;
	box-shadow: var(--highlight), var(--shadow-1);
}
.challenge-clock[hidden] { display: none; }
/* The countdown: days, hours, minutes and seconds, each a box of its own
   in even figures, so nothing moves as it counts. */
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2); margin: 0 0 var(--s-4); }
.countdown[hidden] { display: none; }
.countdown > span {
	display: flex; flex-direction: column; align-items: center; padding: var(--s-3) var(--s-1);
	border: 1px solid var(--line); border-radius: var(--r-2); background: var(--bg-soft);
}
.countdown b { color: var(--ink); font-size: var(--t-h1); font-weight: 760; line-height: 1.05; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.countdown small { color: var(--ink-soft); font-size: var(--t-tiny); }
.challenge-clock .days { margin: 0; color: var(--ink-soft); font-size: var(--t-small); }
/* How far through its days: the achievements' bar (.achievements-list .reach). */
.challenge-clock .reach { height: 6px; margin: var(--s-2) 0 0; border-radius: var(--r-pill); background: var(--line); overflow: hidden; }
.challenge-clock .reach[hidden] { display: none; }
.challenge-clock .reach span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--accent-edge); }
.challenge-clock .numbers { margin: var(--s-4) 0 0; padding-top: var(--s-4); border-top: 1px solid var(--line); }
.challenge-clock .numbers[hidden] { display: none; }
/* Under the head, its parts a section apart. */
.challenge .page-body { display: flex; flex-direction: column; gap: var(--s-8); }
/* Its parts as tabs (pagekit): each panel's parts a section apart, the
   tab naming the part (its heading kept for a screen reader). */
.challenge .obj-tabs { margin-top: 0; }
.challenge .obj-panels > [role="tabpanel"] { display: flex; flex-direction: column; gap: var(--s-7); }
.challenge .entries-head { justify-content: flex-end; }
/* From 700 px the sort sits at the end of the groups' row, not a row of
   its own between two rows of tabs. */
@media (width >= 700px) {
	.challenge #entries { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s-4); align-items: end; }
	.challenge #entries > * { grid-column: 1 / -1; }
	.challenge #entries > #group-tabs { grid-column: 1; grid-row: 1; }
	.challenge #entries > .entries-head { grid-column: 2; grid-row: 1; margin: 0 0 var(--s-4); }
}
.challenge-part > h2 { margin-bottom: var(--s-4); }
/* The winners: one in each group, each its card under what it won, lit in
   the accent; two side by side from 600 px. */
.winners { display: grid; gap: var(--s-5); grid-template-columns: minmax(0, 1fr); max-width: 1000px; }
@media (width >= 600px) { .winners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.winners > .winner { display: flex; flex-direction: column; gap: var(--s-3); }
.winner-h { display: flex; align-items: center; gap: var(--s-3); margin: 0; }
.winner-h .words { display: flex; flex-direction: column; min-width: 0; }
.winner-h b { color: var(--ink); font-size: var(--t-body); font-weight: 650; }
.winner-h small { color: var(--ink-soft); font-size: var(--t-small); font-variant-numeric: tabular-nums; }
.winners > .winner .model, .entries .model.won { border-color: var(--accent-edge); }
.winners > .winner .model { flex: 1; }
/* The entries: their head and order, the groups as tabs, a line of what
   you may do, then the cards. */
.entries-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); margin: 0 0 var(--s-3); }
.entries-head h2 { margin: 0; }
#group-tabs { margin: 0 0 var(--s-4); }
.vote-said { display: flex; align-items: center; gap: var(--s-2); margin: 0 0 var(--s-4); color: var(--ink-soft); font-size: var(--t-small); }
.vote-said[hidden] { display: none; }
.vote-said.done { color: var(--ink); }
.vote-said .icon { flex: none; width: 18px; height: 18px; color: var(--green); }
.vote-said .said { min-width: 0; overflow-wrap: anywhere; }
#groups .why-not { margin: 0 0 var(--s-4); }
#groups[hidden] { display: none; }
/* Two at a time: the way to it over the cards; the pair side by side,
   each its blind embed turning in a frame of the card's shape, its name
   and This one under it; one above the other on a phone. */
.pair-go { margin: 0 0 var(--s-4); }
.pair-go[hidden], .pair[hidden] { display: none; }
.pair-go .icon { width: 18px; height: 18px; }
.pair-said { margin: 0 0 var(--s-4); color: var(--ink-soft); font-size: var(--t-small); overflow-wrap: anywhere; }
.pair-said:focus { outline: none; }
.pair-said b { color: var(--ink); }
.pair-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.pair-two[data-state="chosen"], .pair-two[data-state="voted"] { grid-template-columns: minmax(0, 560px); justify-content: center; }
.pair-one { margin: 0; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line);
	border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.pair-frame { aspect-ratio: 4 / 3; background: var(--picture-ground); }
.pair-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.pair-words { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-3) var(--s-4); }
.pair-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pair-keep { flex: none; }
.pair-acts { margin-top: var(--s-4); }
@media (max-width: 640px) {
	.pair-two { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
}
#groups .state p { margin: 0 0 var(--s-3); }
#groups .state p:last-child { margin: 0; }
/* What a card says of its entry, at its foot, level across a row: the
   winner, your vote, your entry, its votes, and Vote, over the card's link
   as the designer's name is. Your vote's card is edged in the accent. */
.model .vote-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);
}
.model .vote-line .badge .icon { width: 14px; height: 14px; }
.model .vote-line .vote .icon { width: 16px; height: 16px; }
.model .vote-line small.votes { color: var(--ink); font-size: var(--t-small); font-weight: 640; }
.model .vote-line small.broken { flex-basis: 100%; color: var(--bad); font-size: var(--t-tiny); }
.entries .model.voted { border-color: var(--accent-edge); box-shadow: var(--highlight), var(--shadow-2); }
/* How it works: three steps, and what only some need folded under them. */
#how .steps { margin-bottom: var(--s-5); }
/* The next one told: a panel lit as the month's tile on the home is. */
/* This week's quick build on the hub: the next one's panel, the act in it. */
.next-one, .week-card {
	max-width: 760px; padding: var(--s-5) var(--s-6); border: 1px solid var(--accent-edge); border-radius: var(--r-4);
	background-color: var(--panel); background-image: var(--glow), var(--studs); background-size: auto, 24px 24px;
	box-shadow: var(--highlight), var(--shadow-1);
}
.week-card h2 { margin: 0 0 var(--s-1); }
.week-card h2 a { color: inherit; }
.week-card p { margin: 0; color: var(--ink-soft); }
.week-card .challenge-status { margin-bottom: var(--s-3); }
.week-card .note { margin-top: var(--s-2); }
.week-card .actions { margin-top: var(--s-4); }
/* A quick build's cards: a tap on the picture turns the model in 3D in
   its place (web/start3d.js), above the card's own link. */
.turns .model .frame { position: relative; }
.turns .model .frame > a.picture { position: relative; z-index: 2; display: block; cursor: grab; }
.turns .model .frame > a.picture img { display: block; width: 100%; height: auto; }
#stack .turns { max-width: 760px; grid-template-columns: 1fr; }
#prompt-empty { display: grid; gap: var(--s-3); justify-items: start; }
#prompt-empty[hidden] { display: none; }
.next-one h3 { margin: 0 0 var(--s-1); }
.next-one p { margin: 0; color: var(--ink-soft); }
.next-one .challenge-status { margin-bottom: var(--s-3); }
.next-one .note { margin-top: var(--s-2); }
/* The challenges that ran: cards in the gallery's grid, each its winners'
   pictures, its name (the card's one link, to its own page), its days and
   who won. */
.past-card .frame > .mosaic { aspect-ratio: auto; width: 100%; height: 100%; }
.past-card .frame.none .icon { width: 30%; height: auto; aspect-ratio: 1; color: var(--ink-faint); stroke-width: 1.4; }
.past-card h3 { margin: 0; font-size: var(--t-h3); }
.past-card .note { margin: 2px 0 0; }
.past-card .past-won { display: grid; gap: 2px; margin: var(--s-2) 0 0; color: var(--ink-soft); font-size: var(--t-small); }
.past-card .past-won [data-entry] { display: flex; align-items: flex-start; gap: var(--s-1); }
.past-card .past-won .said { min-width: 0; overflow-wrap: anywhere; }
/* A name in a line of words, not the card's two-line name. */
.past-card .past-won b { display: inline; color: var(--ink); font-size: inherit; font-weight: 640; }
.past-card .past-won .icon { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--accent-ink); }
/* The dialogs: Enter's list of your models, a row a model, its picture
   small on a model's ground; and the vote asked once more. */
dialog.enter-pick { width: min(560px, calc(100vw - 32px)); }
.enter-pick .pick-list { display: grid; gap: var(--s-1); max-height: min(320px, 40vh); overflow: auto; overscroll-behavior: contain; padding: 2px; }
.enter-pick label.pick {
	display: flex; align-items: center; gap: var(--s-3); width: 100%; min-height: 60px; margin: 0; padding: var(--s-1) var(--s-2);
	border: 1px solid var(--line); border-radius: var(--r-2); cursor: pointer;
}
.enter-pick label.pick:has(input:checked) { border-color: var(--accent-edge); background: var(--accent-soft); }
.enter-pick label.pick:has(input:disabled) { cursor: default; opacity: 0.7; }
.enter-pick .pick .pic { flex: none; width: 64px; height: 48px; overflow: hidden; border-radius: var(--r-1); background: var(--picture-ground); }
.enter-pick .pick .pic img { width: 100%; height: 100%; object-fit: cover; }
.enter-pick .pick .name { flex: 1; min-width: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.enter-pick .pick small { color: var(--ink-faint); font-size: var(--t-tiny); }
.enter-pick .ways { display: flex; flex-wrap: wrap; column-gap: var(--s-5); }
.enter-pick .ways legend { flex-basis: 100%; }
.enter-pick .said ul { margin: var(--s-2) 0 0; padding-left: 20px; }

/* A person, a collection, and your own page. */
.person { padding: var(--page-top) 0 var(--section); }
.person h1 { margin-bottom: 6px; overflow-wrap: anywhere; }
.person .handle { color: var(--ink-soft); margin: 0 0 12px; overflow-wrap: anywhere; }
.person .handle a { color: var(--ink); }
.person .bio { max-width: 64ch; white-space: pre-line; overflow-wrap: anywhere; margin: 0 0 14px; }
.person .counts { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--ink-soft); margin: 0 0 26px; }
.person section { margin-top: 30px; }
.person section h2 { margin-bottom: 10px; }
.person .lists { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.person .lists a { color: var(--ink); font-weight: 600; }
.person .lists span { color: var(--ink-faint); font-size: var(--t-small); margin-left: 6px; }
.profile-form { display: grid; gap: 12px; max-width: 560px; margin: 8px 0 0; }
.profile-form h2 { margin: 0; }
.profile-form .hint { font-size: var(--t-tiny); color: var(--ink-faint); }
.profile-form .hint b { color: var(--ink-soft); }
.said { color: var(--ink-soft); font-size: var(--t-small); min-height: 1em; margin: 6px 0 0; }
.lists-mine { display: grid; gap: 12px; margin-top: 12px; }
.list-mine { border: 1px solid var(--line); border-radius: var(--r-3); padding: 12px; background: var(--bg-soft); }
.list-top { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.list-top small { color: var(--ink-faint); }
.list-mine details { margin-top: 8px; }
.list-mine .models { margin-top: 10px; }

/* Report it, on a model's, a profile's and a collection's page
   (report.js), and the dialog it opens; the takedown page's form. */
.report-line { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.report-line a { color: var(--ink-soft); }
dialog.report fieldset { border: 0; padding: 0; margin: 0 0 14px; display: grid; gap: 2px; }
dialog.report legend { font-size: var(--t-small); color: var(--ink-soft); margin-bottom: 6px; }
.takedown section { max-width: 72ch; }
.takedown section p { color: var(--ink-soft); }

/* The Tested mark (api/_tested.js): small and green, the four results on
   hover (its title) and on a tap (the page's opens; a card's title). A
   failing one is only ever its owner's note (.tested-note). */
.tested-mark { margin: 0 0 10px; }
.tested-mark .tested-says { margin-top: 8px; font-size: var(--t-small); color: var(--ink-soft); }
.tested-mark .tested-says ul { margin: 0 0 6px; padding-left: 20px; }
.tested-note { margin: 0 0 12px; padding: 10px 12px; border-radius: var(--r-2); border: 1px dashed var(--ink-faint);
	color: var(--ink-soft); font-size: var(--t-small); overflow-wrap: anywhere; }
.tested-note b { color: var(--ink); }

/* Built by people (api/share.js buildsSection, supabase/builds.sql): how many
   built it, a strip of photos of real builds (a scroller, site.css), and
   the form to add one. On a profile, what they built. */
.model-page .builds { max-width: none; }
.model-page .built-line { margin: 0 0 12px; color: var(--ink-soft); }
.build-strip { display: flex; gap: 12px; padding-block: 2px 10px; }
.build-strip .build {
	width: min(260px, 72vw); margin: 0;
	background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-3); overflow: hidden;
}
.build-strip .build img { display: block; width: 100%; height: 190px; object-fit: cover; background: var(--line); }
.build-strip figcaption { padding: 8px 10px 10px; font-size: var(--t-small); color: var(--ink-soft); overflow-wrap: anywhere; }
.build-strip figcaption q { display: block; color: var(--ink); margin-bottom: 4px; }
.build-strip figcaption a { color: var(--ink); }
/* Under a finger, Report it and Hide under a build's photo are a finger
   tall in the flow: a box round them lay under the builder's name above
   and past the photo's clipped foot (36, touchfit2). */
@media (pointer: coarse) {
	.build-strip figcaption > .link { display: inline-flex; align-items: center; min-height: var(--control-h); }
}
.add-build { margin-top: 10px; }
.add-build .build-form { display: grid; gap: 10px; max-width: 520px; margin-top: 4px; }
.add-build .said { margin: 6px 0 0; color: var(--ink-soft); }
.hidden-builds { margin-top: 10px; }

/* Comments on a model and on its steps (web/model-page.js), as threads
   (docs/SOCIAL.md U8): each comment a card with its writer's avatar beside
   it, its replies under it on a line of their own, a reply's avatar the
   small one. A stranger's text kept as typed. */
.model-page .comments { max-width: 72ch; }
/* The comments' place while they are asked (api/share.js commentsSection),
   as tall as the section drawn with none yet and the box (site275). */
.model-page .comments-hold { display: flex; flex-direction: column; gap: 8px; padding-bottom: 40px; max-width: 72ch; }
.model-page .comments-lede { margin-top: 0; }
.model-page .comments-hold .bone { margin: 0; }
.model-page .comments-hold .title { width: 8em; height: 1.3em; font-size: var(--t-h3); }
.model-page .comments-hold .box { width: 100%; height: calc(3lh + 22px); border-radius: var(--control-radius); }
:is(.model-page, .talk-page) .comment-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
:is(.model-page, .talk-page) .comment {
	display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start;
	border: 1px solid var(--line); border-radius: var(--r-2); padding: 12px 14px; background: var(--panel);
}
:is(.model-page, .talk-page) .comment.by-owner:not(.reply) { border-color: color-mix(in srgb, var(--accent-edge) 45%, var(--line)); }
:is(.model-page, .talk-page) .comment.hidden-one { opacity: 0.7; border-style: dashed; }
:is(.model-page, .talk-page) .comment.asked { outline: 2px solid var(--accent-edge); outline-offset: 2px; }
:is(.model-page, .talk-page) .comment-main { min-width: 0; }
:is(.model-page, .talk-page) .comment-head {
	margin: 0 0 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
	font-size: var(--t-small); color: var(--ink-soft); overflow-wrap: anywhere;
}
:is(.model-page, .talk-page) .comment-head a:not(.pill), :is(.model-page, .talk-page) .comment-head b { color: var(--ink); font-weight: 600; }
:is(.model-page, .talk-page) .comment-head .where { color: var(--ink-soft); }
:is(.model-page, .talk-page) .comment-body { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); }
/* An @handle its writer named (docs/SOCIAL.md section 7, item 6): a link
   to them, in the words' own size. */
:is(.model-page, .talk-page) .comment-body a.mention { font-weight: 600; }
/* What a box offers as one types, under the box, a menu's panel (site.css
   .menu-list), the one marked as a hovered row: @ in a comment's box, the
   people to name; a set's name in the Based on dialog, the sets it may be. */
.pick-list {
	list-style: none; margin: 0; padding: 6px; display: grid; max-width: 360px;
	border-radius: var(--r-3); background: var(--panel); border: 1px solid var(--line-strong);
	box-shadow: var(--highlight), var(--shadow);
}
.pick-list[hidden] { display: none; }
.pick-list li {
	padding: 8px 10px; border-radius: var(--r-1); cursor: pointer; color: var(--ink-soft);
	overflow-wrap: anywhere; min-height: 24px;
}
.pick-list li b { color: var(--ink); font-weight: 600; }
.pick-list li[aria-selected="true"], .pick-list li:hover { background: var(--panel-hi); color: var(--ink); }
/* A set: its picture on its ground, then its number and name over its
   year, parts and theme; the list scrolls past six. Rows in a block, not
   the grid: a grid's rows shrank to its height and overlapped. */
.pick-list.set-pick { display: block; max-width: none; margin: 4px 0 10px; max-height: min(360px, 50vh); overflow-y: auto; }
.set-pick li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; align-items: center; }
.set-pick .set-picture { display: block; width: 48px; height: 36px; overflow: hidden; border-radius: var(--r-1); background: var(--line); }
.set-pick .set-picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
.set-pick .set-picture img:not(.came) { visibility: hidden; }
.set-pick li small { display: block; font-size: var(--t-small); }
dialog.bases-dialog .set-chosen { margin: -6px 0 10px; font-size: var(--t-small); color: var(--ink-soft); }
dialog.bases-dialog .set-chosen[hidden] { display: none; }
:is(.model-page, .talk-page) .comment .note { margin: 6px 0 0; }
:is(.model-page, .talk-page) .comment-acts { margin: 6px 0 0; display: flex; gap: 14px; flex-wrap: wrap; font-size: var(--t-small); }
:is(.model-page, .talk-page) .comment-acts:empty { display: none; }
/* Replies: under their comment, a line down their left, no card of their own. */
.model-page .replies {
	list-style: none; margin: 10px 0 0; padding: 0 0 0 12px; display: grid; gap: 12px;
	border-left: 2px solid var(--line);
}
:is(.model-page, .talk-page) .comment.reply { border: 0; border-radius: 0; padding: 0; background: none; gap: 8px; }
:is(.model-page, .talk-page) .comment.reply.hidden-one { border: 0; }
.model-page .reply-new { margin-top: 10px; display: grid; gap: 8px; }
.model-page .reply-new textarea { width: 100%; }
.model-page .reply-new .actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
:is(.model-page, .talk-page) .comment-list .none { padding: 0; }
:is(.model-page, .talk-page) .comment-new { margin-top: 14px; display: grid; gap: 8px; }
:is(.model-page, .talk-page) .comment-on { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
:is(.model-page, .talk-page) .comment-new textarea { width: 100%; }
:is(.model-page, .talk-page) .comment-new .actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
:is(.model-page, .talk-page) .comment-new .note, .model-page .comment-why .note { margin: 0; }
:is(.model-page, .talk-page) .comment-why { margin-top: 14px; display: grid; gap: 8px; justify-items: start; }
/* A comment on a part (partpins, web/model-page.js): its number, as its
   dot in 3D has it, and the part and step it is on, a link that turns the
   3D view there; words alone on a part not in this version. The box on a
   part says which over it, a pill with Cancel. Pins resolved fold away
   under the list, a pill to open them. */
.model-page .comment-pin { margin: 0 0 4px; display: flex; align-items: baseline; gap: 8px; font-size: var(--t-small); color: var(--ink-soft); }
.model-page .comment-pin .pin-n {
	flex: none; display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: var(--r-pill);
	background: var(--accent); color: var(--on-accent); font-size: var(--t-micro); font-weight: 700; font-variant-numeric: tabular-nums;
	align-self: center;
}
.model-page .comment-pin.gone .pin-n { background: var(--line-strong); color: var(--ink); }
.model-page .comment-pin .pin-go { color: var(--ink); text-align: left; }
.model-page .comment-part { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.model-page .comment-part[hidden] { display: none; }
.model-page .comment-part .pill.pin { color: var(--ink); border-color: var(--accent-edge); white-space: normal; }
.model-page .comments-resolved { margin-top: 12px; }
.model-page .comments-resolved[hidden] { display: none; }
.model-page .comments-resolved > .comment-list { opacity: 0.85; }
@media (width < 600px) {
	:is(.model-page, .talk-page) .comment { gap: 10px; padding: 10px 12px; }
	.model-page .replies { padding-left: 10px; }
}
/* Under a finger, a comment's Report it and Reply keep their 44 (site.css
   room boxes): the first reply's head sat 10 px under them and its name's
   room lay over their foot (43, touchfit2). */
@media (pointer: coarse) {
	.model-page .replies { margin-top: 14px; gap: 14px; }
}

/* Follow (web/follow.js): on a profile, under its counts, and beside a
   model's designer. */
.person .counts { margin-bottom: 12px; }
.follow-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 26px; min-height: 1em; }
.follow-line .said, .shared-by .said { margin: 0; font-size: var(--t-small); }
button.follow[aria-pressed="true"] { color: var(--ink-soft); }

/* Your feed (/feed, web/feed.js, docs/SOCIAL.md U9): the site's list
   page (site.css .list-layout), each post the site's row (.list-row: their
   avatar, the words, when) over the thing itself, the gallery's card or
   the photo of a build; designers to follow in the aside. With nothing of
   its own, Latest on Brickworks under the words, the gallery's cards. */
.feed-row .what .pill { margin-left: 2px; vertical-align: 1px; }
.feed-photo {
	margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel);
}
.feed-photo img { display: block; width: 100%; height: auto; max-height: 640px; object-fit: cover; background: var(--bg-soft); }
.feed-photo figcaption { padding: 10px 12px 12px; color: var(--ink-soft); font-size: var(--t-small); overflow-wrap: anywhere; }
.feed-photo figcaption a { color: var(--ink); font-weight: 650; }
.latest { min-width: 0; margin: 0; }
.latest h3 { margin: var(--s-6) 0 var(--s-3); font-size: var(--t-h3); }
.latest .build-grid { columns: 2 150px; }
@media (width >= 600px) { .latest .build-grid { columns: 3 180px; } .latest .models { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Notifications (/notifications, web/notifications.js, docs/SOCIAL.md U7):
   one group a model, its picture and name, then each thing that happened
   to it, newest first, with who did it (their avatar) or what it is (an
   icon: likes, a challenge's end). A group not opened yet is edged and
   dotted in the accent's edge. */
/* Each group is the site's row (site.css .list-row) in the site's list
   (.list-rows): the model's picture, its name, then its lines. */
.notice .row-title a { overflow-wrap: anywhere; }
.notice .lines { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.notice .lines > li > a { display: flex; align-items: flex-start; gap: var(--s-2); color: var(--ink); text-decoration: none; }
.notice .lines > li > a:hover .what { text-decoration: underline; text-decoration-color: var(--ink-faint); }
/* Reply where it is read (socialloop, 2026-11-24): under a line that can
   be answered, the feed's text button (a finger's 44 px on a touch
   screen, site.css), in line with the words past the avatar; the reply,
   once posted, over it, with the way to it on its page; the composer of
   everywhere under it. */
.notice .lines > li > :is(.said-room, .notice-acts, .composer) { margin-left: calc(24px + var(--s-2)); }
.notice .lines > li > .said-room { min-height: 0; margin-top: var(--s-1); }
.notice .lines > li > .said-room:not(:has(.said-line)) { display: none; }
.notice .said-line { align-items: flex-start; }
.notice .said-line p { white-space: normal; }
.notice .said-see { color: var(--ink-soft); font-weight: 600; }
.notice .notice-acts { margin-top: 2px; }
.notice .lines > li > .composer { margin-top: var(--s-1); }
/* On a phone the lines run under Done and More too: a group's words were
   the column left between the picture and its two 44 px buttons, some
   150 px, a reply typed or shown there a word a line. Its name stays
   beside the buttons. */
@media (width < 600px) {
	.notice > .row-body { display: contents; }
	.notice > .row-body > .row-title { grid-column: 2; grid-row: 1; align-self: center; }
	.notice > .row-body > :not(.row-title) { grid-column: 2 / -1; min-width: 0; }
}
/* Under a finger, a group's name keeps its room (site.css) clear of its
   first line's 44: they met 12 px under the name's middle on a tablet and
   20 on a phone, where the name sits beside Done and More (34 and 42,
   touchfit2). */
@media (pointer: coarse) {
	.notice .lines { margin-top: 10px; }
}
@media (pointer: coarse) and (width < 600px) {
	.notice .lines { margin-top: 2px; }
}
.notice .lines .avatar.small, .notice .lines .icon { margin-top: 1px; }
.notice .lines .icon { width: 24px; color: var(--ink-soft); }
.notice .what { min-width: 0; font-size: var(--t-small); line-height: 1.45; overflow-wrap: anywhere; }
.notice .what b { font-weight: 650; }
.notice .what .pill { margin-left: 2px; }
.notice .what q { display: block; margin-top: 2px; color: var(--ink-soft); }
.notice .what time { display: block; margin-top: 2px; color: var(--ink-faint); font-size: var(--t-tiny); }
/* The levels you reached (supabase/achievements.sql), a challenge
   (supabase/challenge_notices.sql), and what the site's owner announced
   (supabase/announce.sql): the award, the brick, or the spark, where a
   model's picture is. An announcement's words are the owner's, their lines
   kept, in the line's own ink. */
.notice .pic.award, .notice .pic.challenge, .notice .pic.announce, .notice .pic.talk { display: grid; place-items: center; color: var(--ink-soft); }
.notice .pic.award .icon, .notice .pic.challenge .icon, .notice .pic.announce .icon, .notice .pic.talk .icon { width: 40%; height: auto; aspect-ratio: 1; stroke-width: 1.4; }
.notice .what .words { display: block; margin-top: 2px; white-space: pre-line; }
/* A group's Done and More (inbox, 2026-11-23): its .row-act, at the row's
   end; a finger's 44 px on a touch screen, as every small button is there
   (site.css). Inbox and Done above the list. */
.notice .acts { display: flex; flex: none; align-items: center; gap: var(--s-1); margin: -4px -4px 0 0; }
.notices-view { margin: 0; justify-self: start; }
/* Beside the list (listkit, 2026-11-23), the feed's column on both tabs:
   Show, the list's kinds, the one shown lit, each with how many groups
   have it; your achievements as a card, the group's row without its
   own frame, its newest two levels, the card lit while unread; and where to
   choose what you hear of. */
/* Show is the site's row of chips (.pills.scroller, a.pill) under 900 px:
   the first thing under the head's tabs, kept under the header as the list
   scrolls (the gallery's toolbar), on the page's ground carried out to the
   window's edges; from 900 px a line each in the aside. */
.kind-list .n { color: var(--ink-faint); font-variant-numeric: tabular-nums; }
@media (width < 900px) {
	.notices-aside { display: contents; }
	.notices-aside > .kinds {
		position: sticky; top: var(--head-h); z-index: 6; order: -1; min-width: 0;
		margin-block: calc(-1 * var(--s-4)); padding: var(--s-2) 0; border: 0; border-radius: 0; background: none; box-shadow: none;
	}
	.notices-aside > .kinds::before {
		content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
		background: var(--bg); box-shadow: 0 0 0 100vmax var(--bg); clip-path: inset(0 -100vmax);
	}
	.notices-aside > .kinds h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (width >= 900px) {
	.kind-list.pills.scroller {
		display: grid; gap: 2px; margin: 0; padding: 0; overflow: visible; mask-image: none;
	}
	.kind-list a.pill {
		display: flex; justify-content: space-between; gap: var(--s-2); min-height: 0; padding: 6px var(--s-2);
		border: 0; border-radius: var(--r-2); background: none; color: var(--ink-soft); font-weight: 600; white-space: normal;
	}
	.kind-list a.pill:hover { color: var(--ink); background: var(--panel-hi); }
	.kind-list a.pill[aria-current="true"] { color: var(--ink); background: var(--panel-hi); box-shadow: inset 2px 0 0 var(--accent-edge); }
}
@media (width >= 900px) and (pointer: coarse) { .kind-list a.pill { min-height: 44px; } }
.achieved:has(.notice.unread) { border-color: var(--accent-edge); }
.achieved .list-row { grid-template-columns: 48px minmax(0, 1fr) auto; column-gap: var(--s-3); padding: 0; border: 0; background: none; box-shadow: none; }
.achieved .list-row > .row-pic { width: 48px; aspect-ratio: 1; }
.achieved .notice .lines > li:nth-child(n + 3) { display: none; }
.notices-aside .hear p { margin: 0; font-size: var(--t-small); }


/* A designer's page (api/people.js earnedHtml, supabase/designers.sql): what
   their models earned, builds finished and remixes leading, as tiles; the
   model to start with; photos other people posted of their builds. And the
   designer's own numbers (web/designs.js), on their profile and on Account,
   marked as theirs alone by a dashed edge. */
.earned {
	list-style: none; padding: 0; margin: 4px 0 12px; max-width: 920px;
	display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 138px), 1fr));
}
.earned li {
	display: grid; align-content: start; gap: 0; padding: 11px 14px 12px; border-radius: var(--r-3);
	background: var(--panel); border: 1px solid var(--line);
}
.earned li.lead { border-top: 3px solid var(--accent-edge); padding-top: 9px; }
.earned b { font-size: var(--t-h2); line-height: 1.15; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
.earned li.lead b { font-size: var(--t-h2); }
.earned span { color: var(--ink-soft); font-size: var(--t-small); line-height: 1.35; }
.earned small { color: var(--ink-faint); font-size: var(--t-micro); font-variant-numeric: tabular-nums; }
/* Your achievements (/profile?tab=achievements, web/profile.js): a tile a
   track, its level's name with the award, how far it is to the next as a
   bar and in words, and the way there; a track not begun dashed. */
.achievements-list {
	list-style: none; padding: 0; margin: 0; max-width: 920px;
	display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.achievements-list li {
	display: grid; align-content: start; gap: var(--s-2); padding: var(--s-3) var(--s-4) var(--s-4);
	border: 1px solid var(--line); border-radius: var(--r-3); background: var(--panel);
}
.achievements-list li[data-level="0"] { border-style: dashed; background: transparent; }
.achievements-list h3 { display: flex; align-items: center; gap: var(--s-2); margin: 0; font-size: var(--t-h3); }
.achievements-list h3 .icon { width: 18px; height: 18px; color: var(--ink-soft); }
.achievements-list p { margin: 0; font-size: var(--t-small); line-height: 1.45; color: var(--ink-soft); }
.achievements-list .level { color: var(--ink-faint); font-size: var(--t-tiny); font-variant-numeric: tabular-nums; }
.achievements-list .reach { height: 6px; border-radius: var(--r-pill); background: var(--line); overflow: hidden; }
.achievements-list .reach span { display: block; height: 100%; border-radius: inherit; background: var(--accent-edge); }
.achievements-list .to-next { color: var(--ink); }
.person.designer .counts { font-size: var(--t-small); }
.start-with { margin: -8px 0 24px; color: var(--ink-soft); line-height: 2.1; }
.start-with a:not(.cta) { color: var(--ink); font-weight: 600; }
.start-with .cta { margin-left: 8px; vertical-align: middle; }
.person.designer .models { margin-top: 12px; }
.build-strip figcaption > a + a { font-weight: 600; }

.designs {
	margin: 0 0 30px; padding: 16px 18px 18px; border: 1px dashed var(--ink-faint); border-radius: var(--radius);
	background: var(--bg-soft); max-width: 100%; min-width: 0;
}
.designs h2 { margin: 0 0 4px; }
.designs .private { margin: 0 0 12px; font-size: var(--t-small); color: var(--ink-soft); max-width: 72ch; }
.designs .note { margin-top: 4px; }
.designs .mine-totals { margin-bottom: 4px; }
.design-rows { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
.design-row {
	display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 14px; align-items: start; min-width: 0;
	background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-3); padding: 12px;
}
.design-row .pic { display: block; border-radius: var(--r-1); overflow: hidden; background: var(--picture-ground); aspect-ratio: 1200 / 630; }
.design-row .pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.design-row .pic.none { display: grid; place-items: center; color: var(--ink-faint); font-size: var(--t-tiny); }
.design-main { min-width: 0; }
.design-main h3 { margin: 0; overflow-wrap: anywhere; }
.design-main h3 a { color: var(--ink); padding-block: 6px; }
.design-meta { margin: 2px 0 0; font-size: var(--t-tiny); color: var(--ink-faint); }
.design-numbers { margin: 10px 0 0; display: grid; gap: 8px 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.design-numbers dt { font-size: var(--t-tiny); color: var(--ink-faint); }
.design-numbers dd { margin: 0; display: grid; }
.design-numbers dd b { font-size: var(--t-h3); font-variant-numeric: tabular-nums; line-height: 1.2; }
.design-numbers dd small { font-size: var(--t-micro); color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.design-builders { margin-top: 10px; min-width: 0; }
.design-builders p { margin: 0 0 6px; font-size: var(--t-small); color: var(--ink-soft); }
.design-builders .build-strip .build { width: min(200px, 60vw); }
.design-builders .build-strip .build img { height: 140px; }
.design-builders figcaption a { font-weight: 600; }
/* Against the 30 days before (insights2 and i2fix, web/designs.js
   drawPeriod): six tiles and six numbers a model, each with its change
   (green up, red down, in words as well as colour) or, counted for under 30
   days, the day it was counted since; the two dropdowns; the weeks as the
   console's chart (the --viz tokens: one series, a hairline grid) with its
   table, and each model's weeks as a line in --ink-faint (3:1 and more on
   the panel in both themes; --viz-muted is 2.6:1 on white). */
.designs .period-days { margin: -4px 0 12px; font-size: var(--t-small); color: var(--ink-soft); max-width: 72ch; }
.earned.period { max-width: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.earned li .change, .design-numbers .change { font-size: var(--t-tiny); font-weight: 600; font-variant-numeric: tabular-nums; }
.earned li .change { margin: 2px 0; }
.change.up { color: var(--green); }
.change.down { color: var(--bad); }
.change.new { color: var(--accent-ink); }
.change.none, .change.short { color: var(--ink-faint); font-weight: 400; }
.period-controls { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-4); align-items: end; margin: var(--s-4) 0 var(--s-3); }
.period-controls label { min-width: min(100%, 220px); }
.period-chart { margin: 0 0 var(--s-3); max-width: 920px; }
.period-chart figcaption { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3); justify-content: space-between; align-items: baseline;
	margin: 0 0 var(--s-2); font-weight: 600; }
.period-chart figcaption small { font-weight: 400; font-size: var(--t-tiny); color: var(--ink-faint); }
.period-chart .plot { position: relative; padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.period-chart .plot svg { display: block; width: 100%; overflow: visible; }
.period-chart text { fill: var(--ink-faint); font-size: var(--t-micro); font-variant-numeric: tabular-nums; }
.period-chart .grid { stroke: var(--viz-grid); stroke-width: 1; }
.period-chart .base { stroke: var(--viz-axis); stroke-width: 1; }
.period-chart .bar { fill: var(--viz-1); }
.period-chart .hit { fill: transparent; outline: none; }
.period-chart .hit:hover + .bar, .period-chart .hit:focus-visible + .bar { fill-opacity: 0.75; }
.period-chart .hit:focus-visible { stroke: var(--ink); stroke-width: 1; }
.period-chart .tip { position: absolute; z-index: 5; pointer-events: none; padding: 6px 10px; border: 1px solid var(--line-strong);
	border-radius: var(--r-2); background: var(--panel); box-shadow: var(--shadow); font-size: var(--t-tiny); white-space: nowrap; }
.period-chart .tip b { display: block; font-size: var(--t-small); color: var(--ink); font-variant-numeric: tabular-nums; }
.period-chart .tip span { color: var(--ink-soft); }
.period-chart details.as-table { margin-top: var(--s-2); font-size: var(--t-small); }
.period-chart details.as-table summary { cursor: pointer; color: var(--ink-soft); padding-block: 6px; }
.period-chart details.as-table .table { margin-top: var(--s-2); }
.designs details.period-what { max-width: 920px; margin: 0 0 var(--s-2); background: var(--panel); }
.period-means { display: grid; gap: var(--s-1) var(--s-4); margin: 0; font-size: var(--t-small); }
.period-means dt { font-weight: 600; color: var(--ink); }
.period-means dd { margin: 0 0 var(--s-2); color: var(--ink-soft); max-width: 72ch; }
.designs details.period-what p { margin: var(--s-2) 0 0; font-size: var(--t-small); }
.design-numbers.period { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.design-numbers.period dd small + small { margin-top: -2px; }
.design-weeks { display: flex; align-items: center; gap: var(--s-2); margin: 10px 0 0; font-size: var(--t-tiny); color: var(--ink-faint); }
.design-weeks svg { flex: none; overflow: visible; }
.design-weeks .line { fill: none; stroke: var(--ink-faint); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.designs .period-left { margin: 0 0 var(--s-2); font-size: var(--t-small); color: var(--ink-soft); max-width: 72ch; }
.design-weeks .dot { fill: var(--viz-1); }
@media (width >= 900px) {
	.period-means { grid-template-columns: 11em minmax(0, 1fr); }
	.period-means dd { margin: 0; }
	.design-numbers.period { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (width < 600px) {
	.design-row { grid-template-columns: minmax(0, 1fr); }
	.design-row .pic { max-width: 220px; }
	.design-numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.design-numbers.period { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.period-controls label { flex: 1 1 100%; }
	.earned b { font-size: var(--t-h3); }
	.earned li.lead b { font-size: var(--t-h2); }
}

/* A person's page, /u/<handle> (api/people.js profilePage, docs/SOCIAL.md
   U5): one of their models' pictures across the top if they chose one,
   then their avatar, name and handle with Follow, Share and More; their
   words, links and one row of numbers; the models they pinned; then the
   tabs, Models · Builds · Collections, each a page of its own. */
.person.profile { padding-top: var(--s-6); }
/* Its model's cut-out on the theme's own ground (site.css --picture-ground),
   as a card's picture is: a picture carrying its own light ground was a
   light box across a page in the dark theme. */
.profile .banner {
	aspect-ratio: 3 / 1; margin: 0 0 var(--s-3); border-radius: var(--radius); overflow: hidden;
	border: 1px solid var(--line); background: var(--picture-ground);
}
.profile .banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
/* As wide as the gallery from 1200 px (.wrap.wide): a lower band, not a wall. */
@media (width >= 1200px) { .profile .banner { aspect-ratio: 4 / 1; } }
.profile-head {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s-3) var(--s-5);
	margin: 0 0 var(--s-4);
}
/* Under a banner the avatar sits over its foot, ringed in the page's colour. */
.bannered .profile-head { align-items: end; padding-left: var(--s-5); }
.bannered .profile-head .avatar { margin-top: -64px; box-shadow: 0 0 0 4px var(--bg); }
.profile-head h1 { margin: 0 0 2px; overflow-wrap: anywhere; }
.profile-head .handle { margin: 0; color: var(--ink-soft); overflow-wrap: anywhere; }
.profile-head .acts { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--s-2); }
.profile-head .follow-line { margin: 0; min-height: 0; justify-content: flex-end; }
.profile-head .follow-line .said:empty { display: none; }
.profile .bio { margin: 0 0 var(--s-3); }
.profile .links { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); margin: 0 0 var(--s-3); padding: 0; list-style: none; }
.profile .links a { color: var(--ink-soft); font-size: var(--t-small); overflow-wrap: anywhere; }
.profile .links a:hover { color: var(--ink); }
/* One row of numbers, one kind of number: each said once there is one. */
.numbers { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-5); margin: 0 0 var(--s-4); padding: 0; list-style: none; }
.numbers b { color: var(--ink); font-size: var(--t-h3); font-weight: 700; font-variant-numeric: tabular-nums; }
.numbers span { color: var(--ink-soft); font-size: var(--t-small); }
/* Their numbers and what they earned (docs/SOCIAL.md U13), one row that
   wraps: the achievements beside the numbers when there is room, under
   them when not, so a page is no taller for them on a laptop. */
.profile .standing { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-5); margin: 0 0 var(--s-4); }
.profile .standing .numbers, .profile .standing .awards { margin: 0; }
/* Pinned: the first of the Models tab, the tabs under the banner on the
   first screen of a 16:10 laptop (pagekit; over them it put the tabs at
   721 px of 800, under the beta's bar). */
.profile .tab-panel > .pinned { margin: 0 0 var(--s-6); }
/* Up to three pinned (api/people.js MOST_PINS): on a laptop a third of the
   row each, larger than the cards under them, rather than three of a
   scroller's 300 px and the rest of the row empty (sitepolish). */
@media (width >= 900px) { .profile .pinned .models.scroller { grid-auto-columns: calc((100% - 2 * var(--s-5)) / 3); } }
.profile .pinned h2, .profile .follows h2, .profile .tab-panel h2 { margin: 0 0 var(--s-3); }
.profile .work { margin-top: var(--s-6); }
.profile .tab-panel > section:first-child { margin-top: 0; }
.profile .paging { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin: var(--s-5) 0 0; }
.profile .paging a:not(.cta) { color: var(--ink-soft); }
.profile .follows { margin-top: var(--s-7); }
/* A designer's own numbers on their page, under the work (api/people.js). */
.profile #designs-mine { margin: var(--s-7) 0 0; }
.profile .follows .pill .avatar { margin-left: -6px; }
/* More like them (api/_alike.js, web/follow.js): up to six people to follow,
   a row each (site.css .person-row), side by side where two or three fit,
   each under a rule so the columns read alike. */
.profile .alike { margin-top: var(--s-7); }
.profile .alike h2 { margin: 0 0 var(--s-1); }
.profile .alike .note { margin: 0 0 var(--s-3); }
.profile .alike .people-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); column-gap: var(--s-6); }
.profile .alike .person-row { border-top: 1px solid var(--line); }
@media (width < 600px) {
	.profile .banner { aspect-ratio: 2 / 1; }
	.profile-head { grid-template-columns: auto minmax(0, 1fr); }
	.profile-head .avatar.huge { width: 80px; height: 80px; font-size: var(--t-h2); }
	.bannered .profile-head { padding-left: var(--s-3); }
	.bannered .profile-head .avatar { margin-top: -48px; }
	.profile-head .acts { grid-column: 1 / -1; justify-content: flex-start; }
}

/* A person's page as an object's page (pagekit, site.css .obj-layout): who
   they are in the aside, their avatar over their name, Follow the one
   action, then Share and More, their words, links and numbers; the page's
   work beside it, their banner leading it as a model's picture leads its
   page, then what they pinned and the tabs. Under 900 px the aside is the
   page's head, before the work. */
.profile.obj-page { padding-top: var(--s-5); }
.person-card.profile-head { display: block; margin: 0; padding: var(--s-5); align-items: initial; }
.person-card .person-id { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: var(--s-3); }
.person-card .person-id .avatar { margin: 0; box-shadow: none; }
.person-card .person-id .who { min-width: 0; }
.person-card .person-id h1 { margin: 0 0 var(--s-1); }
.person-card .person-id .handle { margin: 0; }
.person-card .acts { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: var(--s-2); margin: var(--s-4) 0 0; }
.person-card .acts .follow-line { display: contents; }
.person-card .acts .follow-line .said:empty { display: none; }
.person-card .acts .follow-line .said { flex-basis: 100%; }
.person-card .acts > .more-menu { margin-left: auto; }
.person-card .cta.follow { flex: 1 1 auto; }
.person-card .cta.follow[aria-pressed="true"] { background: var(--panel); color: var(--ink); border-color: var(--accent-edge); box-shadow: var(--highlight), var(--shadow-1); }
.person-card .bio { margin: var(--s-4) 0 0; }
.person-card .links { margin: var(--s-3) 0 0; }
.person-card .standing { margin: var(--s-4) 0 0; padding-top: var(--s-4); border-top: 1px solid var(--line); display: grid; gap: var(--s-3); }
.person-card .numbers { gap: var(--s-1) var(--s-4); }
.person-card .numbers b { font-size: var(--t-body); }
.profile .obj-main > .banner { margin: 0 0 var(--s-5); }
.profile .obj-main > .work:first-child, .profile .obj-main > .banner + .work { margin-top: 0; }
.profile .obj-tabs { margin-top: 0; }
@media (width >= 900px) { .profile .obj-main .models:not(.scroller) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); } }
@media (width < 900px) {
	.person-card.profile-head { padding: 0; }
	.person-card .person-id { grid-template-columns: auto minmax(0, 1fr); align-items: center; justify-items: stretch; }
	.person-card .person-id .avatar.huge { width: 72px; height: 72px; font-size: var(--t-h2); }
	.person-card .standing { border-top: 0; padding-top: 0; }
}
/* Its badges one row that scrolls on its own on a phone, not a third of
   its first screen: the kit's row (.pills.scroller.inset, web/card.js
   awardsHtml), which the keyboard reaches while it overflows; beside the
   page, where the aside has the room, they wrap. */
@media (width >= 900px) { .person-card .pills.awards { flex-wrap: wrap; } }

/* A collection's page as an object's page: its cover, name, whose, words,
   numbers and actions in the aside, what is in it beside them. */
.list.obj-page { padding-top: var(--s-5); }
.list-card-aside.list-head { display: block; margin: 0; }
.list-card-aside .cover { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0 0 var(--s-4); }
.list-card-aside .eyebrow { margin: 0 0 var(--s-1); }
.list-card-aside h1 { margin: 0 0 var(--s-1); }
.list-card-aside .handle { color: var(--ink-soft); margin: 0; overflow-wrap: anywhere; }
.list-card-aside .bio { margin: var(--s-3) 0 0; }
.list-card-aside .numbers { margin: var(--s-4) 0 0; gap: var(--s-1) var(--s-4); }
.list-card-aside .numbers b { font-size: var(--t-body); }
.list-card-aside .acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin: var(--s-4) 0 0; }
.list-card-aside .acts .follow-line { display: contents; }
.list-card-aside .acts .follow-line .said:empty { display: none; }
.list-card-aside .acts > .more-menu { margin-left: auto; }
.list-card-aside .cta.follow { flex: 1 1 auto; }
.list-card-aside .cta.follow[aria-pressed="true"] { background: var(--panel); color: var(--ink); border-color: var(--accent-edge); box-shadow: var(--highlight), var(--shadow-1); }
@media (width < 900px) {
	.list-card-aside.list-head { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0 var(--s-4); align-items: start; }
	.list-card-aside .cover { grid-row: span 3; margin: 0; }
	.list-card-aside > :not(.cover) { grid-column: 2; }
	.list-card-aside > .bio, .list-card-aside > .numbers, .list-card-aside > .acts { grid-column: 1 / -1; }
}

/* A Talk thread's page (api/_talk.js threadPageHtml) is laid out in
   talk.css, which only Talk's pages load. */
@media (width < 900px) { .talk-thread-layout.obj-layout { grid-template-columns: minmax(0, 1fr); } }

/* Photos of real builds in a tab of their own: any shape, so in columns. */
.build-grid { columns: 3 220px; column-gap: 12px; }
.build-grid .build {
	display: inline-block; width: 100%; margin: 0 0 12px; break-inside: avoid;
	background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-3); overflow: hidden;
}
.build-grid .build img { display: block; width: 100%; height: auto; background: var(--line); }
.build-grid figcaption { padding: 8px 10px 10px; font-size: var(--t-small); color: var(--ink-soft); overflow-wrap: anywhere; }
.build-grid figcaption q { display: block; color: var(--ink); margin-bottom: 4px; }
.build-grid figcaption a { color: var(--ink); }

/* A public collection as a card: its cover, up to four of its pictures,
   and its name. */
.list-cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.list-card {
	display: flex; flex-direction: column; min-width: 0; text-decoration: none; color: inherit;
	border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel);
	box-shadow: var(--highlight), var(--shadow-1);
}
/* Lit and lifted under a mouse as a model's card is (site.css .model). */
.list-card:hover { border-color: var(--line-strong); box-shadow: var(--highlight), var(--shadow-2); }
.list-card:hover b { text-decoration: underline; text-decoration-thickness: 1px; }
.list-card .words { display: grid; gap: 2px; padding: 12px 16px 14px; }
.list-card b { font-weight: 640; overflow-wrap: anywhere; }
.list-card span { color: var(--ink-soft); font-size: var(--t-small); }

/* A collection's page, /c/<id> (api/people.js listPage, docs/SOCIAL.md
   U11), headed as a playlist's or a board's: its cover beside its name,
   whose it is, its words and numbers, Follow, Share and More; on a phone
   the cover across the top, kept short. Then its models. */
.list-head {
	display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); align-items: end; gap: var(--s-5);
	margin: 0 0 var(--s-6);
}
.list-head .cover { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.list-head .eyebrow { margin-bottom: var(--s-1); }
.list-head h1 { margin: 0 0 var(--s-1); overflow-wrap: anywhere; }
.list-head .numbers { margin-bottom: var(--s-3); }
.list-head .acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.list-head .follow-line { margin: 0; }
.list-head .follow-line .said:empty { display: none; }
@media (width < 600px) {
	.list-head { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
	.list-head .mosaic { aspect-ratio: 2 / 1; }
}

/* Share's sheet on a model's page (api/share.js shareSheet, docs/SOCIAL.md
   U14): the site's dialog, wide enough for the embed code; each field with
   its Copy beside it, under it on a phone. */
dialog.share-sheet { width: min(520px, calc(100vw - 32px)); }
.share-sheet .copy-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--s-2) var(--s-3); margin: 0 0 var(--s-4); }
.share-sheet .copy-row label { flex: 1 1 16em; margin: 0; }
.share-sheet .actions { margin-top: var(--s-4); }
.share-sheet .share-to { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin: 0 0 var(--s-4); }
.share-sheet .share-to p { flex-basis: 100%; margin: 0; color: var(--ink-soft); font-size: var(--t-small); }
/* Post it elsewhere, its designer's (web/post-kit.js): the places as the
   networks are, and the kit for one in a dialog of its own over the sheet,
   its pictures in a row of thumbnails, its words to copy, its rules ticked
   (or crossed, or a dot for one the person keeps), then how to take it. */
.share-sheet .post-kits { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin: 0 0 var(--s-4); }
.share-sheet .post-kits p { flex-basis: 100%; margin: 0; color: var(--ink-soft); font-size: var(--t-small); }
.share-sheet .post-kits p small { display: block; color: var(--ink-faint); }
dialog.post-kit { width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; }
.post-kit h2:focus { outline: none; }
.post-kit h3 { margin: var(--s-4) 0 var(--s-2); font-size: var(--t-body); }
.post-kit .kit-pictures { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); grid-auto-rows: 72px; gap: var(--s-2); margin: 0 0 var(--s-4); }
.post-kit .kit-pictures img, .post-kit .kit-pictures video {
	width: 100%; height: 100%; object-fit: contain; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--panel-hi);
}
.post-kit .kit-pictures video { grid-column: span 2; grid-row: span 2; }
.post-kit .copy-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--s-2) var(--s-3); margin: 0 0 var(--s-3); }
.post-kit .copy-row label { flex: 1 1 16em; margin: 0; }
.post-kit .kit-words > p { margin: 0 0 var(--s-3); color: var(--ink); }
.post-kit .kit-rules b { font-weight: 560; }
.post-kit .kit-rules li[data-how="fails"]::before {
	left: 4px; top: 0.2em; width: 12px; height: 12px; border: 0; transform: none;
	background: linear-gradient(45deg, transparent 43%, var(--bad) 43% 57%, transparent 57%),
		linear-gradient(-45deg, transparent 43%, var(--bad) 43% 57%, transparent 57%);
}
.post-kit .kit-rules li[data-how="fails"] b { color: var(--bad); }
.post-kit .kit-rules li[data-how="yours"]::before {
	left: 7px; top: 0.55em; width: 6px; height: 6px; border: 0; border-radius: 50%; transform: none; background: var(--ink-faint);
}
.post-kit .actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }


/* Your lists (/lists, web/lists.js, lists1): the lists down a rail beside
   the one shown, the rail a dropdown under 900 px; the list's head (what
   it is, its words, its numbers, its actions), its order and Select, the
   bar of what is selected, then its cards. */
.lists-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
@media (width >= 900px) { .lists-layout { grid-template-columns: 220px minmax(0, 1fr); gap: var(--s-5) var(--s-8); } }
.lists-rail { display: none; }
@media (width >= 900px) {
	.lists-rail { display: block; position: sticky; top: calc(var(--head-h) + var(--s-4)); align-self: start; }
}
.lists-rail .rail-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.lists-rail .rail-list a {
	display: flex; align-items: center; gap: var(--s-2); min-height: 40px; padding: 6px 12px; border-radius: var(--control-radius);
	border-left: 3px solid transparent; color: var(--ink-soft); text-decoration: none; font-size: var(--t-small); font-weight: 600;
}
.lists-rail .rail-list a:hover { background: var(--panel); color: var(--ink); }
.lists-rail .rail-list a[aria-current="page"] { background: var(--panel); color: var(--ink); border-left-color: var(--accent-edge); }
.lists-rail .rail-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.lists-rail .rail-note { color: var(--ink-faint); font-size: var(--t-tiny); font-weight: 500; }
.lists-rail .n { color: var(--ink-faint); font-weight: 500; font-variant-numeric: tabular-nums; }
.lists-rail .rail-h { margin: var(--s-4) 0 var(--s-1); padding: 0 12px; color: var(--ink-faint); font-size: var(--t-tiny); font-weight: 650; }
.lists-rail > .cta { margin: var(--s-3) 0 0 12px; }
.lists-skeleton .lists-rail { display: grid; gap: var(--s-3); }
.list-pick { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--s-2) var(--s-3); }
.list-pick label { flex: 1 1 14em; }
@media (width >= 900px) { .list-pick { display: none; } }
.view-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--s-3) var(--s-5); margin: 0 0 var(--s-4); }
.view-title { min-width: 0; flex: 1 1 22em; }
.view-title .eyebrow { margin-bottom: var(--s-1); }
.view-title h2 { margin: 0 0 var(--s-1); overflow-wrap: anywhere; }
.view-title .list-about { margin: 0 0 var(--s-1); max-width: 62ch; color: var(--ink-soft); overflow-wrap: anywhere; white-space: pre-line; }
.view-title .list-meta { margin: 0; color: var(--ink-faint); font-size: var(--t-small); font-variant-numeric: tabular-nums; }
.view-head .actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; }
.list-view .shows-owned { flex-wrap: wrap; row-gap: 0; margin: 0 0 var(--s-3); }
/* Its note on a line of its own under the words, never squeezed beside them. */
.list-view .shows-owned small { flex-basis: calc(100% - 28px); margin-left: 28px; line-height: 18px; color: var(--ink-faint); font-size: var(--t-tiny); }
.list-tools { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin: 0 0 var(--s-3); }
.list-tools .segmented { margin: 0; }
/* What is selected, and what can be done with it: under the header as the
   page scrolls, so it is at hand over a long list. */
.list-view .bulk {
	position: sticky; top: calc(var(--head-h) + var(--s-2)); z-index: 5;
	display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin: 0 0 var(--s-3); padding: var(--s-2) var(--s-3);
	border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow-1);
}
.list-view .bulk[hidden] { display: none; }
.list-view .bulk-n { font-size: var(--t-small); font-weight: 650; color: var(--ink); margin-right: auto; }
.list-view .bulk-to { display: flex; align-items: center; gap: var(--s-2); font-size: var(--t-small); }
.list-view .bulk-to select { min-width: 10em; }
/* Selecting: the whole card a box to tick, its box at the picture's
   corner; one ticked has the accent edge. */
.list-items .model .pick {
	position: absolute; inset: 0; z-index: 2; display: block; cursor: pointer; border-radius: var(--radius);
}
.list-items .model .pick input {
	position: absolute; top: var(--s-2); left: var(--s-2); width: 22px; height: 22px;
	box-shadow: 0 1px 3px var(--shade);
}
.list-items.selecting .model .keep { visibility: hidden; }
.list-items .model.picked { border-color: var(--accent-edge); box-shadow: 0 0 0 1px var(--accent-edge), var(--shadow-1); }
/* In your own order: each card's arrows at its picture's corner, and a card
   dragged over another marks where it goes. */
.list-items .model .moves { position: absolute; top: var(--s-2); left: var(--s-2); z-index: 1; display: flex; gap: var(--s-1); }
.list-items .model .moves .icon-btn { background: var(--panel); box-shadow: 0 1px 3px var(--shade); }
.list-items .model .moves .icon-btn:disabled { visibility: hidden; }
.list-items.ordering .model[draggable="true"] { cursor: grab; }
.list-items .model.dragging { opacity: 0.5; }
.list-items .model.drop-here { box-shadow: -4px 0 0 var(--accent-edge), var(--shadow-1); }
.list-items.ordering .model .marks { left: 92px; }
.list-view .more-row { justify-content: center; margin: var(--s-4) 0 0; }
.list-view .more-row .cta[hidden] { display: none; }
dialog.lists-dialog { width: min(480px, calc(100vw - 32px)); }
dialog.lists-dialog textarea { resize: vertical; }
dialog.lists-dialog .actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
dialog.lists-dialog .actions .danger { margin-left: auto; }

/* The sets a person owns, on their profile's Sets tab (api/people.js
   ownedPanel, lists1): what they add up to, a form of filters (a GET of
   the page, so it works with no script), then a page of the sets. */
.owned-sets .owned-stats { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin: 0 0 var(--s-2); padding: 0; }
.owned-sets .owned-stats li { color: var(--ink-soft); font-size: var(--t-small); }
.owned-sets .owned-stats b { display: block; color: var(--ink); font-size: var(--t-h3); font-variant-numeric: tabular-nums; }
.owned-sets > .note { margin: 0 0 var(--s-4); color: var(--ink-soft); }
.owned-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--s-2) var(--s-3); margin: 0 0 var(--s-4); }
.owned-filters label { flex: 0 1 11em; min-width: 9em; }
.owned-filters label.grow { flex: 1 1 16em; }
