@font-face{font-family:Fredoka;src:url(/fonts/fredoka-latin-600-normal.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:Fredoka;src:url(/fonts/fredoka-latin-700-normal.woff2) format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:Inter;src:url(/fonts/inter-latin-400-normal.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Inter;src:url(/fonts/inter-latin-600-normal.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:Inter;src:url(/fonts/inter-latin-700-normal.woff2) format("woff2");font-weight:700;font-display:swap}

:root {
  --ink: #14121f;
  --disclosure: #181224;
  --deep: #12281a;
  --band: #0c361e;
  --panel: #18361e;
  --active: #18422a;
  --paper: #fcf0de;
  --card: #fceac6;
  --tag-paper: #fcf0c6;
  --price-chip: #fce4a8;
  --yellow-pill: #fcde8a;
  --search-yellow: #ffc531;
  --red: #b41e18;
  --red-border: #7d120e;
  --red-hover: #8f1511;
  --price: #a20b0c;
  --sage: #d2d8a8;
  --wood-light: #9a6a35;
  --wood: #6e4520;
  --wood-dark: #4a2c12;
  --rule: #c9b98f;
  --footer: #0c1218;
  --muted: #4c4249;
  --focus: #0062ae;
  --display: Fredoka, ui-rounded, system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--body); }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; font: 700 1.75rem/1.08 var(--display); }
p, ul, ol, figure { margin: 0; }
a { color: var(--band); }
a:hover { color: var(--price); }
button, input, select { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.on-green :focus-visible, .site-foot :focus-visible { outline-color: var(--search-yellow); }
.on-green :focus-visible:is(.btn-paper, .chip, .card-link), .on-green :is(.paper-panel,.sellers,.notice) :focus-visible { outline-color: var(--focus); }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip:focus { position: absolute; z-index: 10; top: 8px; left: 8px; background: #fff; padding: 12px 16px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.byline { font-size: .875rem; }
.lede { max-width: 42ch; font-size: 1.25rem; font-weight: 600; line-height: 1.42; }
.foot-small, .fine, .note, .section-note, .meta { font-size: .875rem; }
.inline-link, .fine a, .prose p a, .notice a, .foot-small a {
  display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; font-weight: 600;
}

.disclose { background: var(--disclosure); color: #fff; text-align: center; padding: 6px 12px; font-size: .875rem; font-weight: 600; }
.top { background: #fff; border-bottom: 2px solid var(--ink); position: relative; z-index: 4; }
.top-in { display: flex; align-items: center; gap: 12px 22px; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 5px; min-height: 44px; white-space: nowrap; color: var(--ink); text-decoration: none; font: 700 1.42rem var(--display); }
.brand em { color: var(--red); font-style: normal; }
.duck { flex: none; width: 42px; height: 42px; object-fit: contain; }
.search-wrap { position: relative; flex: 1 1 320px; max-width: 425px; min-width: 150px; }
.search { display: flex; min-height: 46px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; }
.search input { flex: 1; width: 0; min-width: 0; min-height: 44px; border: 0; border-radius: 10px 0 0 10px; padding: 8px 14px; background: transparent; }
.search input::placeholder { color: #534c57; opacity: 1; }
.search button { width: 48px; min-height: 44px; flex: none; border: 0; border-left: 2px solid var(--ink); border-radius: 0 10px 10px 0; background: var(--search-yellow); display: grid; place-items: center; }
.search input:focus-visible, .search button:focus-visible { outline-offset: -4px; }
.search-results { position: absolute; inset: 100% 0 auto; z-index: 6; max-height: 360px; overflow-y: auto; border: 2px solid var(--ink); border-radius: 10px; background: #fff; box-shadow: 0 4px var(--ink); }
.search-results a { display: flex; align-items: center; min-height: 44px; padding: 8px 14px; }
.search-results a:focus-visible { outline-offset: -4px; }
.search-results p { padding: 12px; }
.top nav ul { display: flex; flex-wrap: wrap; gap: 2px 8px; list-style: none; padding: 0; }
.top nav a { display: flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 6px 10px; color: var(--ink); font-size: .9rem; font-weight: 700; text-decoration: none; }
.top nav a:hover { text-decoration: underline; }

.btn, .btn-s, .chip, .seg button, .sort-choices button, .btn-paper, .book-sellers > summary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; min-width: 44px; padding: 8px 18px; border: 2px solid var(--red-border);
  border-radius: 13px; background: var(--red); color: #fff; text-align: center;
  font: 700 1.125rem/1.18 var(--display); text-decoration: none;
}
:is(.btn,.btn-s,.book-sellers > summary):hover { background: var(--red-hover); color: #fff; }
.btn-paper, .seg button, .sort-choices button, .chip { background: var(--card); color: var(--ink); border-color: var(--ink); }
:is(.btn-paper,.seg button,.sort-choices button,.chip):hover { background: var(--yellow-pill); color: var(--ink); }
.btn-s, .sort-choices button, .seg button { font-size: 1.05rem; }
.chip { justify-content: space-between; border: 0; }
.chip::after { content: '›'; font-family: var(--body); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg [aria-pressed="true"] { background: var(--active); border-color: var(--active); color: var(--paper); }
.more { text-align: center; margin-block: 16px; }
.price, .bp, .stat b { color: var(--price); font: 700 1.75rem/1.05 var(--display); font-variant-numeric: tabular-nums; }
.paper-panel { background: var(--card); color: var(--ink); border-radius: 14px; }
.sign { width: fit-content; color: var(--ink); background: #f0cf94; padding: 5px 18px 7px; border: 1px solid var(--wood-light); box-shadow: 0 2px var(--wood); border-radius: 5px; transform: rotate(-3deg); font: 700 1.875rem/1.1 var(--display); }
.checked-strip { margin: 0; text-align: center; color: var(--ink); background: var(--sage); padding: 8px 16px; border-radius: 8px; font-weight: 700; min-height: 46px; display: grid; place-items: center; }
.notice { background: var(--tag-paper); color: var(--ink); border-left: 8px solid var(--red); border-radius: 9px; padding: 12px 18px; }
.notice a { overflow-wrap: anywhere; }

.painted-band { display: grid; grid-template-columns: 1fr 1fr; min-height: 450px; background: var(--deep); color: var(--paper); }
.band-text { display: grid; align-content: center; gap: 14px; min-width: 0; padding: 30px 24px 34px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); }
.band-text h1 { font-size: clamp(2.65rem, 5.8vw, 5.5rem); overflow-wrap: anywhere; }
.band-text > .lede { max-width: 46ch; }
.band-visual { position: relative; display: grid; align-items: stretch; min-width: 0; min-height: 240px; isolation: isolate; }
.scene { display: block; width: 100%; height: 100%; object-fit: cover; }
.band-visual > .scene { position: absolute; inset: 0; z-index: -2; }
.band-visual::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,var(--deep),transparent 35%); }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 0 9px; padding: 0; font-weight: 700; font-size: .975rem; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: inherit; }
.crumbs a:hover { color: var(--yellow-pill); }

.site-foot { color: #fff; background: var(--footer); padding: 28px 0 22px; }
.foot-grid { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 18px 40px; }
.publisher-card { width: 180px; max-width: 100%; background: #f1f6f9; color: #232e42; border-radius: 10px; align-self: start; }
.publisher-logo, .publisher-logo img { display: block; width: 100%; height: auto; border-radius: 10px 10px 0 0; }
.card-business { color: #243349; padding: 8px 10px 10px; font-size: .8rem; overflow-wrap: anywhere; }
.foot-cols { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px 24px; }
.foot-cols h2 { font: 700 .875rem/1.4 var(--body); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 3px; }
.foot-cols ul { list-style: none; padding: 0; }
.foot-cols a { display: flex; align-items: center; width: fit-content; min-height: 44px; min-width: 44px; max-width: 100%; }
.foot-cols a, .foot-small a { color: #fff; overflow-wrap: anywhere; }
.foot-small { grid-column: 1 / -1; max-width: 110ch; font-size: .82rem; }

.photo-slot { display: grid; place-items: center; width: 100%; min-width: 0; aspect-ratio: 4 / 3; background: #fcf8ee; border: 2px dashed var(--wood-light); border-radius: 6px; }
.photo-slot img { width: 100%; height: 100%; min-width: 0; min-height: 0; aspect-ratio: 4 / 3; object-fit: contain; display: block; }
.photo-empty { color: var(--muted); padding: 6px; font-size: .8125rem; text-align: center; overflow-wrap: anywhere; }
.photo-credit { color: var(--muted); font-size: .78rem; line-height: 1.28; padding-top: 4px; min-height: 2.4em; overflow-wrap: anywhere; }
.update { min-height: 110px; display: grid; place-items: center; text-align: center; padding: 12px; font-weight: 600; }

@media (min-width: 1050px) {
  .painted-band:not(.set-band) { grid-template-rows: minmax(0,450px); height: 450px; }
}

/* Home counter and shelves */
.home-band .band-text { gap: 12px; }
.home-band h1 { font-size: clamp(2.5rem,5vw,4.1rem); max-width: 14ch; }
.home-band .lede { font-size: 1.125rem; font-weight: 400; }
.home-motto { width: fit-content; padding: 5px 15px 7px; border-radius: 10px; background: var(--yellow-pill); color: var(--ink); font: 700 1.7rem/1.13 var(--display); }
.hero-actions, .shelf-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.shelf-head { justify-content: space-between; margin-bottom: 18px; }
.shelf-head h2, .home-checks h2 { font-size: clamp(1.85rem,3.25vw,2.55rem); }
.stat-strip { background: var(--paper); }
.stats { display: flex; padding-block: 14px; text-align: center; }
.stat { flex: 1 1 0; display: grid; align-content: center; min-height: 70px; gap: 2px; }
.stat b { min-height: 1.1em; font-size: 2.125rem; }
.stat span { line-height: 1.35; }
.home-shelf, .home-panels, .books-shelf { background: var(--deep); color: var(--paper); }
.home-shelf { padding-top: 24px; }
.home-shelf::after, .books-shelf::after { content: ''; display: block; height: 28px; background: linear-gradient(var(--wood-light),var(--wood) 70%,var(--wood-dark)); }
.home-shelf .grid { position: relative; z-index: 1; margin-bottom: -4px; }
.grid, .shelf-rows, .bulk-list, .book-sellers .rows { list-style: none; padding: 0; }
.grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.card { min-width: 0; border-radius: 8px 8px 3px 3px; background: var(--card); color: var(--ink); }
.card-link { text-decoration: none; color: var(--ink); width: 100%; display: block; overflow-wrap: anywhere; }
.card-link:hover { color: var(--ink); }
.card-link:hover h3 { text-decoration: underline; }
.card .card-link { min-height: 100%; }
.on-green .card-link:focus-visible { outline-offset: -4px; }
.card-photo { min-width: 0; }
.card .card-photo .photo-credit { text-align: center; padding-inline: 6px; min-height: 27px; }
.card .card-title, .card .card-prices, .card .card-reference { padding-inline: 15px; }
.card .card-title { padding-top: 3px; }
.card-title h3 { font-size: 1.5rem; }
.card-title p, .card-reference .ref { font-size: .875rem; }
.card .card-title h3 { font-size: 1.25rem; }
.card .card-prices { padding-block: 4px; min-height: 52px; }
.opts, .ticks, .kilo-chips { padding: 0; list-style: none; }
.opts, .card-update { font-size: .9rem; }
.opts b, .card-reference b { color: var(--price); font: 700 1.1rem/1 var(--display); }
.card .card-reference { min-height: 95px; padding-bottom: 12px; }
.card-update { color: var(--muted); min-height: 44px; display: flex; align-items: center; }
.swing-tag { display: inline-block; margin: 8px 4px 3px; background: var(--red); color: #fff; padding: 5px 11px; border-radius: 5px; transform: rotate(-5deg); font: 700 1rem/1.12 var(--display); }
.card .swing-tag { float: right; }
.home-panels { padding-block: 26px 30px; }
.home-panels-in { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.panel { min-width: 0; display: flex; flex-direction: column; align-items: start; gap: 10px; padding: 17px 20px; border: 2px solid var(--card); border-radius: 16px; background: var(--panel); }
.panel.paper-panel { background: var(--card); }
.panel h2 { font-size: 1.9rem; }
.panel .btn { width: 100%; justify-content: space-between; text-align: start; margin-top: auto; }
.panel .section-note { margin-block: 7px; }
.shelf-links { width: 100%; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.shelf-links a { min-width: 0; font-size: 1.125rem; padding-inline: 14px; }
.kilo-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.kilo-chips li { padding: 6px 12px; background: var(--card); color: var(--ink); border-radius: 7px; text-align: center; }
.kilo-chips span { display: block; }
.kilo-chips .price { font-size: 1.5rem; }
#home-bulk { min-height: 70px; }
#home-books { min-height: 110px; }
#home-books .price { font-size: 1.5rem; }
#home-books .update, #home-bulk .update { min-height: 54px; }
.home-checks { padding-block: 26px; }
.check-block .steps { list-style: none; padding: 0; }
.check-block .steps li { display: flex; align-items: start; gap: 12px; min-width: 0; }
.step-mark { flex: 0 0 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font: 700 1rem var(--display); }
.steps h3 { margin-bottom: 4px; font-size: 1.25rem; }
.steps p { font-size: .94rem; }
.home-checks .check-block { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px; align-items: center; }
.home-checks .check-block h2 { grid-column: 1 / -1; }
.home-checks .steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.home-checked { background: var(--band); color: var(--paper); text-align: center; padding-bottom: 8px; }
.home-checked .checked-strip { background: none; color: inherit; border-radius: 0; }
.home-checked .section-note { min-height: 22px; padding-bottom: 2px; }

/* Shelf filters, sort controls and rows */
.filter-panel { padding-block: 14px 20px; }
.theme-strip, .theme-tabs { display: flex; align-items: end; gap: 8px 12px; flex-wrap: wrap; }
.theme-strip { margin-bottom: 12px; justify-content: space-between; }
.theme-tabs a { color: var(--ink); min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; padding: 6px 20px; font: 700 1.25rem/1.2 var(--display); text-decoration: none; }
.theme-tabs a[aria-current="page"] { background: var(--active); color: var(--paper); }
.theme-tabs a:not([aria-current]):hover { background: var(--card); }
.filter-controls { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) auto; gap: 14px 24px; align-items: end; padding: 12px 20px 14px; border: 2px solid var(--ink); border-radius: 14px; }
.filter-menu { position: relative; min-width: 0; }
.theme-strip .filter-menu { width: min(100%,180px); }
.filter-menu summary { display: grid; gap: 4px; list-style: none; font-weight: 700; }
.filter-menu summary::-webkit-details-marker, .bulk-more summary::-webkit-details-marker, .book-sellers summary::-webkit-details-marker { display: none; }
.filter-value { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 7px 14px; gap: 12px; background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 9px; font-size: .92rem; font-weight: 400; overflow-wrap: anywhere; }
.filter-value::after { content: ''; width: .55rem; height: .55rem; flex: none; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg) translateY(-2px); }
.filter-menu fieldset { position: absolute; z-index: 3; inset: 100% 0 auto; margin: 4px 0 0; min-width: min(200px,100%); padding: 7px 9px; background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 9px; box-shadow: 0 5px 12px #14121f30; }
.filter-menu fieldset label { display: flex; align-items: center; min-height: 44px; padding-inline: 4px; gap: 7px; cursor: pointer; }
.filter-menu label:focus-within { outline: 3px solid var(--focus); outline-offset: -2px; border-radius: 4px; }
.filter-menu input { margin: 0; accent-color: var(--active); }
.sort-band { background: var(--band); color: var(--paper); }
.resbar, .sort-choices { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.resbar { padding-block: 8px; }
.resbar > p, .resbar h2 { font: 700 1.75rem/1.1 var(--display); }
.sort-choices span { font: 700 1.2rem var(--display); }
.sort-choices button[aria-pressed="true"] { background: var(--red); border-color: var(--red-border); color: #fff; }
.catalog-results { padding-bottom: 24px; }
.catalog-results .section-note { margin-top: 8px; }
.shelf-row { border-bottom: 1px solid var(--rule); }
.shelf-row .card-link { display: grid; grid-template-columns: minmax(125px,1fr) minmax(180px,2.05fr) minmax(175px,1fr) minmax(145px,.95fr); align-items: center; gap: 16px; min-height: 132px; padding-block: 10px; }
.shelf-row .card-photo .photo-slot { max-width: 120px; }
.shelf-row .photo-credit { min-height: 0; max-width: 175px; }
.shelf-row .card-prices { border-left: 2px solid var(--ink); padding-left: 22px; min-height: 64px; }
.shelf-row .opts { display: grid; gap: 4px; }
.shelf-row .opts li { background: var(--price-chip); color: var(--ink); border-radius: 6px; padding: 4px 10px; }
.shelf-row .card-reference .ref { border: 2px solid var(--red); border-radius: 8px; background: #fcf8ee; padding: 4px 8px; width: fit-content; font: 700 1.05rem/1.16 var(--display); }
.shelf-row.is-retired .ref { border: 0; background: transparent; padding: 0; font: inherit; font-size: .82rem; }
.empty { margin: 8px 0; border: 1px solid var(--rule); background: #fcf8ee; color: var(--ink); padding: 16px; border-radius: 8px; }

/* Set offers and comparison table */
.set-band { min-height: 520px; }
.set-band .band-text { gap: 12px; }
.set-band .band-text h1 { font-size: clamp(2.4rem,5.2vw,5.1rem); }
.set-band .sign { font-size: 1.35rem; transform: rotate(-2deg); padding: 4px 12px; }
.set-facts { width: fit-content; border-radius: 5px; background: var(--tag-paper); color: var(--ink); padding: 4px 12px; font: 700 1.2rem/1.2 var(--display); }
.buy3 { display: grid; gap: 13px; }
.bc { min-width: 0; position: relative; display: grid; grid-template-columns: minmax(90px,.8fr) minmax(0,2fr); align-items: center; gap: 4px 14px; background: var(--tag-paper); color: var(--ink); border-radius: 6px 14px 14px 6px; padding: 10px 14px 10px 40px; box-shadow: 0 4px #0005; }
.bc::before { content: ''; position: absolute; left: 14px; top: 26px; width: 15px; height: 15px; border: 3px solid var(--wood-light); border-radius: 50%; background: var(--band); }
.bc .bt, .bc .bp { margin: 0; overflow-wrap: anywhere; }
.bc .bt { font-size: 1.35rem; border-right: 2px solid var(--ink); padding-right: 10px; }
.bc .bp { font-size: 2.05rem; }
.tag-primary { display: flex; flex-wrap: wrap; gap: 5px 12px; align-items: center; }
.tag-primary .btn { padding-inline: 15px; font-size: 1.02rem; }
.bc > :is(.bs,.ticks,.pill,.update) { grid-column: 1 / -1; }
.bc .bs { font-size: .85rem; }
.bc .pill { color: var(--price); font-weight: 700; }
.bc .update { min-height: 0; padding: 0; display: block; text-align: start; }
.bc-new { min-height: 192px; }
.bc-used { min-height: 214px; }
.bc-lego { min-height: 105px; }
.ticks { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .83rem; }
.ticks li { color: var(--band); }
.ticks li.no { color: var(--price); }
.ticks li.maybe { color: var(--muted); }
.band-visual .gal { align-self: center; width: min(100% - 48px,400px); margin: 22px max(24px,calc((100vw - var(--wrap))/2 + 24px)) 22px auto; }
.gal .photo-slot { aspect-ratio: 1; }
.gal .photo-slot img { aspect-ratio: 1; }
.gal .photo-credit { width: fit-content; margin: 7px auto 0; padding: 5px 10px; color: var(--ink); background: var(--card); border-radius: 4px; text-align: center; min-height: 30px; }
.seller-band { background: var(--deep); color: var(--paper); padding: 15px 0 26px; }
.seller-inner { display: grid; gap: 11px; }
.set-notice { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.set-notice p { flex: 1 1 435px; font-weight: 600; }
.set-checked { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px; }
.set-checked .checked-strip { color: inherit; background: transparent; min-height: 32px; padding: 0; font-size: .875rem; text-align: start; }
.sellers { background: var(--paper); color: var(--ink); padding: 16px 22px 14px; border-radius: 12px; min-width: 0; }
.sellers-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-bottom: 6px; }
.sellers-head h2 { font-size: clamp(1.75rem,3vw,2.3rem); }
.sellers-head .seg button { background: var(--paper); }
.sellers-head .seg button[aria-pressed="true"] { background: var(--active); color: var(--paper); }
.sellers .fine { min-height: 3em; }
.sellers .section-note, .seller-count { min-height: 1.4em; margin-block: 3px; }
.seller-more { text-align: start; margin-block: 12px; min-height: 46px; }
.rows-region { min-height: 780px; margin-top: 8px; }
.seller-scroll { overflow: auto; max-height: 780px; width: 100%; max-width: 100%; border: 1px solid var(--active); border-radius: 8px; }
.seller-scroll:focus-visible { outline-offset: -3px; }
.seller-table { width: 100%; min-width: 880px; table-layout: fixed; border-collapse: separate; border-spacing: 0; background: #fcf8ee; }
.seller-table :is(th,td) { text-align: start; vertical-align: top; padding: 10px 13px; border-bottom: 1px solid var(--active); overflow-wrap: anywhere; }
.seller-table th { position: sticky; top: 0; z-index: 1; background: var(--band); color: var(--paper); font: 700 1.08rem/1.15 var(--display); }
.seller-table th:first-child { width: 25%; }
.seller-table th:nth-child(2) { width: 22%; }
.seller-table th:nth-child(3) { width: 11%; }
.seller-table th:nth-child(6) { width: 15%; }
.seller-table td { font-size: .9rem; }
.seller-table tbody tr:last-child td { border-bottom: 0; }
.seller-table td :is(.price,span,p) { display: block; }
.seller-table .ticks { margin-block: 4px; }
.seller-detail summary { display: list-item; padding-block: 6px; min-height: 44px; text-decoration: underline; }
.listing-photo { width: 84px; margin-top: 7px; }
.listing-photo .photo-slot { aspect-ratio: 1; }
.listing-photo img { aspect-ratio: 1; }
.listing-photo .photo-credit { font-size: .69rem; }
.buying-checks { display: grid; grid-template-columns: minmax(110px,1fr) minmax(0,880px) minmax(110px,1fr); align-items: stretch; background: var(--deep); color: var(--paper); border-top: 14px solid var(--wood); }
.buying-checks .check-block { align-self: center; padding: 24px 24px 32px; }
.buying-checks h2 { width: fit-content; margin: 0 0 9px; padding: 6px 12px; border: 1px solid var(--paper); border-radius: 4px; transform: rotate(-1.5deg); }
.buying-checks .steps { background: var(--tag-paper); color: var(--ink); border-radius: 7px; padding: 10px 17px; }
.buying-checks .steps li { align-items: center; padding-block: 9px; }
.buying-checks .steps li + li { border-top: 1px solid var(--rule); }
.buying-checks .steps li > div { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 4px 18px; }
.buying-checks .steps p { border-left: 2px solid var(--ink); padding-left: 16px; }

/* Kilo, books, editorial and 404 */
.bulk-results, .book-notes { padding-bottom: 24px; padding-top: 12px; display: grid; gap: 12px; }
.bulk-band .band-text h1 { font-size: clamp(2.5rem,5.15vw,4.5rem); }
.bulk-results #bulk-region { min-height: 650px; }
.bulk-results #bulk-region.is-filtered { min-height: 110px; }
.bulk-item { min-width: 0; display: grid; grid-template-columns: minmax(110px,.8fr) minmax(85px,.8fr) minmax(150px,1fr) minmax(160px,1.1fr) auto; align-items: center; gap: 2px 24px; border-bottom: 1px solid var(--rule); padding-block: 10px; overflow-wrap: anywhere; }
.bulk-item > p { font-size: .9rem; }
.bulk-item .bulk-title { grid-column: 2 / -1; color: var(--muted); }
.bulk-item .bulk-price { display: block; text-align: center; background: var(--price-chip); color: var(--ink); border-radius: 8px; padding: 8px; }
.bulk-item .price { font-size: 1.5rem; }
.bulk-more { margin-block: 16px 5px; text-align: center; }
.bulk-more .bulk-list { margin-top: 12px; text-align: start; }
.book-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; align-items: start; }
.books-shelf { padding-top: 28px; }
.books-shelf .wrap { min-height: 390px; }
.book-entry { min-width: 0; min-height: 414px; padding: 18px; display: grid; align-content: start; gap: 10px; }
.book-entry h2 { font-size: 1.6rem; overflow-wrap: anywhere; }
.book-photo .photo-slot { aspect-ratio: 2.2; background: #e4d0a4; }
.book-photo .photo-slot img { aspect-ratio: 2.2; }
.book-sellers > summary { width: 100%; }
.book-sellers .section-note { margin-top: 10px; }
.book-listing { padding: 10px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 4px; overflow-wrap: anywhere; }
.book-listing .tot span { display: block; }
.book-listing .btn-s { justify-self: start; }
.article-band h1 { font-size: clamp(2.5rem,5.25vw,4.25rem); }
.article-grid { padding-block: 28px 34px; display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,34%); gap: 24px; align-items: start; }
.prose > :is(p,ul) { margin: 5px 0 16px; max-width: 73ch; }
.prose h2 { margin-top: 15px; }
.prose h2:first-child { margin-top: 0; }
.article-back { display: grid; gap: 8px; background: var(--panel); color: var(--paper); border-radius: 16px; padding: 16px 20px 18px; }
.article-back .chip { width: 100%; font-size: 1.125rem; }
.missing-band .band-visual::before { display: none; }
.duck-404-art { align-self: center; justify-self: center; display: block; width: min(100% - 48px,520px); height: auto; object-fit: contain; }

@media (max-width: 1040px) {
  .top-in { flex-wrap: wrap; }
  .top nav { flex: 1 1 100%; }
  .stats { gap: 10px; }
  .home-panels-in { grid-template-columns: repeat(auto-fit,minmax(min(100%,270px),1fr)); }
  .home-checks .check-block { grid-template-columns: minmax(0,1fr); }
  .home-checks .btn { justify-self: start; }
}
@media (max-width: 920px) {
  .bulk-item { grid-template-columns: minmax(105px,.9fr) minmax(90px,.7fr) minmax(140px,1fr) minmax(150px,1fr); gap: 3px 16px; }
  .bulk-item .btn-s { grid-column: 4; }
  .bulk-item .bulk-title { grid-column: 1 / 4; grid-row: 2; }
  .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .shelf-row .card-link { grid-template-columns: minmax(105px,.75fr) minmax(120px,1fr) minmax(125px,.9fr) minmax(125px,.9fr); gap: 8px; }
  .shelf-row .card-prices { padding-left: 10px; }
  .book-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); }
}
@media (max-width: 760px) {
  .top-in { display: grid; gap: 6px; justify-items: start; padding-block: 8px; }
  .search-wrap { max-width: 100%; width: 100%; }
  .top nav { max-width: 100%; }
  .top nav a { padding-inline: 10px; }
  .painted-band { grid-template-columns: minmax(0,1fr); min-height: 0; }
  .band-text { gap: 12px; padding: 26px 24px 32px; }
  .band-visual { min-height: 240px; }
  .band-visual::before { background: linear-gradient(90deg,var(--deep),transparent 17%); }
  .band-text h1 { font-size: clamp(2.5rem,9vw,3.75rem); }
  .home-band h1 { font-size: clamp(2.45rem,9vw,3.5rem); }
  .lede, .home-band .lede { font-size: 1.125rem; }
  .home-motto { font-size: 1.36rem; }
  .stats { flex-direction: column; gap: 5px; }
  .stat { min-height: 60px; }
  .home-checks .steps { grid-template-columns: 1fr; gap: 12px; }
  .foot-grid { grid-template-columns: minmax(0,1fr); }
  .foot-cols { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .theme-tabs { gap: 4px 7px; }
  .theme-tabs a { font-size: 1.125rem; padding-inline: 12px; }
  .filter-controls { grid-template-columns: minmax(0,1fr); align-items: stretch; padding: 10px 14px 12px; }
  .filter-controls button { justify-self: start; }
  .filter-menu fieldset { min-width: 0; }
  .shelf-row .card-link { grid-template-columns: minmax(0,1fr); align-items: start; gap: 5px; }
  .shelf-row .card-prices { width: min(100%,216px); padding-left: 12px; }
  .shelf-row .card-reference { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
  .set-band .band-text h1 { font-size: clamp(2.5rem,9vw,3.75rem); }
  .band-visual .gal { width: min(100% - 48px,400px); margin: 30px auto; }
  .buying-checks { grid-template-columns: minmax(0,1fr); }
  .buying-checks > img { max-height: 190px; object-position: center 55%; }
  .buying-checks .steps li > div { grid-template-columns: minmax(0,1fr); }
  .buying-checks .steps p { padding: 0; border: 0; }
  .sellers { padding-inline: 15px; }
  .article-grid { grid-template-columns: minmax(0,1fr); }
  .article-band .lede { max-width: 46ch; }
}
@media (max-width: 510px) {
  .grid { grid-template-columns: minmax(0,1fr); }
  .bulk-results #bulk-region:not(.is-filtered) { min-height: 1660px; }
  :is(.catalog-results,.book-notes,.bulk-results) .checked-strip { min-height: 88px; }
  .catalog-results .section-note { min-height: 86px; }
  .shelf-row .card-reference { min-height: 53px; align-content: center; }
  .home-checked .checked-strip { min-height: 64px; }
  .home-checked .section-note { min-height: 42px; }
  .set-checked .checked-strip { min-height: 52px; }
  .bulk-item { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 6px 12px; }
  .bulk-item .bulk-price { grid-column: 1; }
  .bulk-item h3 { grid-row: 2; grid-column: 1; }
  .bulk-item > p:nth-child(3) { grid-row: 2; grid-column: 2; }
  .bulk-item > p:nth-child(4), .bulk-item .bulk-title { grid-column: 1 / -1; grid-row: auto; }
  .bulk-item .btn-s { grid-column: 1 / -1; justify-self: start; }
  .bc { grid-template-columns: minmax(0,1fr); }
  .bc .bt { border-right: 0; }
  .bc .tag-primary { gap: 5px 12px; }
  .bc-new { min-height: 262px; }
  .bc-used { min-height: 264px; }
  .bc-lego { min-height: 136px; }
  .home-shelf .card-reference { min-height: 62px; }
  .btn, .btn-s { white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
