/* Dinos.info - Size and Strength Comparison ([dn_size_comparison], includes/size-comparison.php).
   Claude Design's boards Size-Strength, -Vehicles, -Buildings, -Mobile and -States (Phase 1 canvas v60, hand-off n-size):
   the board's own stylesheet (design/phase-1/source/nv/p/assets/night/size.css), with the pieces of the colour and life
   pass it builds on (life.css: period neon tokens and hook, glow, icon strip, rendered band, lively cards, the segmented
   units switch) copied here scoped to .sz, so the page is right with or without the site-wide pass; where both load they
   agree. Plus the states the boards leave to the build: the no-JavaScript form and table, the stage's scrolling on
   phones, the empty slots. Reduced motion: no lifts or transitions. */

/* ---------- the colour pass, scoped (life.css 1, 2, 3, 4, 5) ---------- */
.sz {
  --neon-triassic: #C77DFF;  --neon-triassic-rgb: 199, 125, 255;
  --neon-jurassic: #3CC8F0;  --neon-jurassic-rgb: 60, 200, 240;
  --neon-cretaceous: #8EE05C; --neon-cretaceous-rgb: 142, 224, 92;
  --sz-glow: var(--glow-rest, 0 0 0 1px rgba(245, 138, 31, .45), 0 6px 20px -8px rgba(245, 138, 31, .65));
  --sz-band-overlay: var(--band-overlay, linear-gradient(180deg, rgba(18, 20, 23, .90) 0%, rgba(18, 20, 23, .84) 45%, rgba(18, 20, 23, .93) 100%));
  --period: var(--action); --period-rgb: 245, 138, 31;
}
.sz [data-period="triassic"]   { --period: var(--neon-triassic);   --period-rgb: var(--neon-triassic-rgb); }
.sz [data-period="jurassic"]   { --period: var(--neon-jurassic);   --period-rgb: var(--neon-jurassic-rgb); }
.sz [data-period="cretaceous"] { --period: var(--neon-cretaceous); --period-rgb: var(--neon-cretaceous-rgb); }
.sz [hidden] { display: none !important; }
.sz .dn-btn-primary { box-shadow: var(--sz-glow); }
/* icon strip */
.sz .lf-strip { position: relative; background: linear-gradient(180deg, #17191c 0%, #121417 100%); border-top: 1px solid rgba(245, 138, 31, .35); border-bottom: 1px solid var(--line-dark); box-shadow: 0 -1px 0 rgba(245, 138, 31, .12), 0 18px 30px -24px rgba(245, 138, 31, .5) inset; }
.sz .lf-strip ul { list-style: none; margin: 0 auto; padding: 0 var(--space-5, 24px); max-width: calc(var(--site-width, 1700px) - 64px); box-sizing: content-box; display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); }
.sz .lf-strip li { position: relative; margin: 0; }
.sz .lf-strip li + li::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 1px; background: var(--line-dark); }
.sz .lf-strip a { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 12px 16px; color: var(--text-on-dark); text-decoration: none; border-radius: var(--radius-md, 6px); transition: background-color .2s, box-shadow .2s; }
.sz .lf-strip a:hover { background: rgba(245, 138, 31, .08); box-shadow: inset 0 -2px 0 var(--action); }
.sz .lf-strip a:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-dark); }
.sz .lf-strip .lf-ic { flex: none; width: 40px; height: 40px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); }
.sz .lf-strip b { display: block; font: 700 14px/18px var(--font-heading); letter-spacing: .01em; }
/* rendered band */
.sz .lf-band { position: relative; isolation: isolate; }
.sz .lf-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sz-band-overlay), var(--band-art, none) center 40% / cover no-repeat; pointer-events: none; }
.sz .lf-band .dn-section-title.dn-section-title { text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
/* lively cards */
.sz .lf-card { position: relative; border-top: 3px solid var(--period) !important; transition: transform .25s, box-shadow .25s, border-color .2s; }
.sz .lf-card::before { content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 3px; box-shadow: 0 0 14px 1px rgba(var(--period-rgb), .7); pointer-events: none; opacity: .75; }
.sz .lf-card:hover, .sz .lf-card:focus-within { transform: translateY(-4px); border-color: rgba(var(--period-rgb), .9); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .8), 0 0 0 1px rgba(var(--period-rgb), .55), 0 0 30px -8px rgba(var(--period-rgb), .55); }
/* segmented units switch (the species pages' sp-units) */
.sz .sp-units { display: inline-flex; }
.sz .sp-units button { font-family: var(--font-heading); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 8px 14px; min-height: 44px; background: var(--surface-dark); color: var(--text-on-dark); border: 1px solid var(--line-dark); cursor: pointer; }
.sz .sp-units button:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.sz .sp-units button:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; border-left: 0; }
.sz .sp-units button[aria-pressed="true"] { background: var(--action); border-color: var(--action); color: var(--on-action); box-shadow: var(--sz-glow); }
.sz .sp-units button:hover { box-shadow: var(--sz-glow); }
.sz .sp-units button:focus-visible { position: relative; outline: 2px solid transparent; box-shadow: var(--focus-ring-dark); }
/* epoch badge (species page sp-badge) */
.sz .sp-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-weight: 700; font-size: 12px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--radius-sm); }
.sz .sp-badge[class*="-triassic"] { --period-rgb: var(--neon-triassic-rgb); }
.sz .sp-badge[class*="-jurassic"] { --period-rgb: var(--neon-jurassic-rgb); }
.sz .sp-badge[class*="-cretaceous"] { --period-rgb: var(--neon-cretaceous-rgb); }
.sz .sp-badge[class*="dn-ics-epoch-"] { box-shadow: 0 0 0 1px rgba(var(--period-rgb), .9), 0 0 18px -4px rgba(var(--period-rgb), .7); }

/* ---------- the board's size.css ---------- */
.sz .dn-page-head .dn-display.dn-display span { color: var(--action); }
.sz-head .dn-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 24px; }
.sz-head .dn-btn { margin-top: 18px; align-self: flex-start; }
.sz-head-art { display: flex; justify-content: flex-end; align-items: flex-end; height: 240px; }
.sz-head-art img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: right bottom; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .6)); }
/* tabs: the icon strip, one active */
.sz-tabs a { justify-content: center; }
.sz .sz-tabs .lf-ic { width: 32px; height: 32px; }
.sz .sz-tab.is-on { background: rgba(245, 138, 31, .12); box-shadow: inset 0 -3px 0 var(--action), 0 12px 20px -16px rgba(245, 138, 31, 1); color: var(--accent-on-dark); }
/* pickers */
.sz-form { margin: 0; }
.sz-picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sz-pick { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 44px 10px 10px; border-radius: var(--radius-md); background: var(--surface-dark-raised); border: 1px solid var(--line-dark); border-top: 3px solid var(--period); }
.sz-pick-pic { display: flex; align-items: flex-end; height: 52px; border-radius: 4px; padding: 2px; background: radial-gradient(ellipse at 50% 90%, rgba(var(--period-rgb), .2), #18191b 72%); }
.sz-pick-pic img, .sz-pick-pic svg { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.sz-pick-pic svg, .sz-card-sil { fill: var(--stone-brown); }
.sz-pick-t { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.sz-pick-t b { max-width: 100%; font: 700 15px/19px var(--font-name, var(--font-heading)); color: var(--text-on-dark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sz-sel { position: relative; display: block; width: 100%; }
.sz-sel select { width: 100%; min-height: 40px; font-family: var(--font-name, var(--font-heading)); font-style: italic; font-weight: 700; }
.sz-x { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border-control-dark); background: transparent; color: var(--text-muted-on-dark); font-size: 18px; line-height: 1; cursor: pointer; }
.sz-x:hover { color: var(--text-on-dark); border-color: var(--bone-white); }
/* with JavaScript (Size-v2-Pickers, n-sz2 4): the select becomes the dark listbox; its button shows the full name in a
   lighter italic on up to two lines; an empty slot is "Add a dinosaur" */
.sz.is-live .sz-pick { padding: 10px; }
.sz.is-live .sz-pick:not(.is-empty) .dn-fact-label { padding-right: 36px; }
.sz.is-live .sz-pick .sz-x { top: 4px; right: 4px; width: 30px; height: 30px; font-size: 16px; }
.sz.is-live .sz-pick-t { gap: 8px; }
.sz.is-live .sz-sel .dn-dropdown.sz-change { height: auto; min-height: 52px; padding: 6px 8px 6px 10px; gap: 4px; align-items: center; }
.sz.is-live .sz-sel .dn-dropdown .mk-slot, .sz.is-live .sz-sel .dn-dropdown .sz-btn-t:empty { display: none; }
.sz.is-live .sz-sel .dn-dropdown.sz-change .val { flex: 1; min-width: 0; white-space: normal; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: normal; word-break: normal; }
.sz.is-live .sz-sel .dn-dropdown .val i { font: italic 600 14px/18px var(--font-body); letter-spacing: 0; color: var(--text-on-dark); }
.sz.is-live .sz-pick.is-empty .dn-dropdown .val { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sz.is-live .sz-sel .dn-dropdown.sz-change svg.chev { flex: none; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.sz-change:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-dark); }
.sz.is-live .sz-pick.is-open { z-index: 40; border-color: var(--action); }
.sz .sz-sel .dn-listbox.sz2-lb { top: calc(100% + 6px); left: 0; width: 380px; max-height: none; overflow: visible; max-width: calc(100vw - 32px); }
.sz .sz2-lb ul { max-height: 420px; overflow: auto; }
.sz .sz2-lb .dn-option { gap: 12px; padding: 6px 10px 6px 6px; }
.sz .sz2-lb .nm { font-style: normal; }
.sz .sz2-lb .nm i { display: block; font: italic 600 15px/19px var(--font-body); letter-spacing: 0; }
.sz .sz2-lb .nm small { display: block; font-style: normal; font-size: 12px; line-height: 16px; color: var(--text-muted-on-dark); }
.sz .sz2-lb [aria-selected="true"] .nm i { color: var(--accent-on-dark); }
.sz .dn-listbox-count { margin: 0 8px 6px; font-size: 12px; line-height: 16px; color: var(--text-muted-on-dark); }
.sz2-oth { flex: none; width: 72px; height: 36px; object-fit: contain; object-position: center bottom; border-radius: 4px; background: radial-gradient(ellipse at 50% 90%, rgba(245, 138, 31, .16), #18191b 72%); }
svg.sz2-oth, svg.sz2-pth { overflow: visible; padding: 4px 6px; box-sizing: border-box; }
svg.sz2-pth path, svg.sz2-oth path { fill: rgba(201, 183, 154, .18); stroke: var(--gc); stroke-width: 3; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.sz.is-live .sz-pick.is-empty { display: block; padding: 0; border: 0; background: none; }
.sz.is-live .sz-pick.is-empty .sz-pick-pic, .sz.is-live .sz-pick.is-empty .dn-fact-label { display: none; }
.sz.is-live .sz-pick.is-hidden { display: none; }
.sz.is-live .sz-pick.is-empty .dn-dropdown.sz-add { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: auto; min-height: 76px; padding: 0 12px; border-radius: var(--radius-md); border: 1px dashed var(--action); background: rgba(245, 138, 31, .08); color: var(--accent-on-dark); font: 700 13px/1 var(--font-heading); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.sz.is-live .sz-pick.is-empty .dn-dropdown.sz-add svg.chev { display: none; }
.sz-add .sz-plus { font-size: 22px; }
.sz-add:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-dark); }
.sz .sz-sel .dn-listbox { min-width: 260px; max-height: 340px; overflow: auto; max-width: min(420px, calc(100vw - 32px)); }
.sz-count { margin: 10px 0 0; font-size: 13px; color: var(--text-muted-on-dark); }
/* tools */
.sz-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 12px; }
.sz-objs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sz-objs .dn-fact-label { margin-right: 6px; }
.sz-obj { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 8px; border-radius: 999px; border: 1px solid var(--border-control-dark); background: var(--surface-dark); color: var(--text-on-dark); font: 700 12px/1 var(--font-heading); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.sz-obj[aria-pressed="true"] { border-color: var(--action); background: rgba(245, 138, 31, .12); box-shadow: var(--sz-glow); }
.sz-obj:focus-visible, .sz-cat:focus-visible, .sz-x:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-dark); }
.sz-ic { width: 26px; height: 26px; flex: none; }
.sz.is-live .sz-go { display: none; }
/* stage */
.sz-stage-wrap { position: relative; border-radius: var(--radius-md); border: 1px solid var(--line-dark); overflow: hidden; background: linear-gradient(180deg, #24303a 0%, #1b2128 55%, #16181b 100%); }
.sz-stage-wrap.is-scroll { overflow-x: auto; -webkit-mask-image: linear-gradient(90deg, #000 84%, transparent); mask-image: linear-gradient(90deg, #000 84%, transparent); }
.sz-stage-wrap.is-scroll.is-end { -webkit-mask-image: none; mask-image: none; }
.sz-stage-wrap:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-dark); }
.sz-stage { position: relative; overflow: hidden; }
.sz-stage-wrap.is-scroll .sz-stage { overflow: visible; }
.sz-stage-in { position: relative; }
.sz-stage-in::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(180deg, rgba(22, 24, 27, 0) 0%, rgba(22, 24, 27, .7) 60%), var(--sz-ground-art, none) center 85% / cover no-repeat; opacity: .45; }
/* Size v2 (n-sz2 1 and 2): the stage edge to edge and taller (the script sets the drawing area), the ground art at 20%
   fading in from the top behind the ground line with a darker scrim, so the figures read first */
.sz .sz-stage-box { scroll-margin-top: 24px; }   /* edge to edge: size-comparison.js sizes it to the page width */
.sz .sz-main { padding-top: 28px; }
.sz .sz-main .dn-section-title.dn-section-title { margin-bottom: 14px; }
.sz .sz-tools { margin: 16px 0 10px; }
.sz .sz-stage-box .sz-hint, .sz .sz-stage-box .sz-foot { max-width: calc(var(--site-width, 1700px) - 64px); margin-inline: auto; padding-inline: var(--space-5, 24px); }
.dn-page.sz { overflow-x: clip; }
.sz2-wrap { border-radius: 0; border-left: 0; border-right: 0; background: linear-gradient(180deg, #212b34 0%, #1a1f25 60%, #151719 100%); }
.sz2-wrap .sz-stage-in::before { height: 200px; top: calc(var(--ground, 400px) - 130px); bottom: auto; opacity: .2; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 45%); mask-image: linear-gradient(180deg, transparent 0, #000 45%);
  background: linear-gradient(180deg, rgba(21, 23, 25, .2) 0%, rgba(21, 23, 25, .6) 75%), var(--sz-ground-art, none) center 85% / cover no-repeat; }
.sz2-wrap .sz-gl { border-top-color: #ffffff17; }
.sz-fig-ref { filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .55)); }
.sz-fig.is-sil { overflow: visible; }
.sz-fig.is-sil path { fill: rgba(201, 183, 154, .14); stroke: var(--gc); stroke-width: 2; stroke-opacity: .85; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
/* Spacing: Closer [slider] Farther (n-sz2 5) */
/* Zoom (0.16.10): a vertical slider in its own column on the stage's left, beside the scale, on the stage's ground;
   plus at the top, minus and Fit all under it. Dragging the zoomed stage sideways: the grab cursor. */
.sz-stage-row { display: flex; align-items: stretch; background: linear-gradient(180deg, #212b34 0%, #1a1f25 60%, #151719 100%); border-block: 1px solid var(--line-dark); }
.sz-stage-row > .sz-stage-wrap { flex: 1 1 auto; min-width: 0; border-block: 0; }
.sz-zoom { flex: none; box-sizing: border-box; width: 76px; padding: 14px 6px 14px max(10px, var(--dn-gutter, 16px)); display: flex; flex-direction: column; align-items: center; gap: 8px; border-right: 1px solid rgba(234, 223, 201, .14); }
.sz-zoom-t { font: 700 11px/14px var(--font-heading); letter-spacing: .08em; text-transform: uppercase; color: #F5F1E6; }
.sz-zoom-b { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid rgba(234, 223, 201, .35); background: #2a2d31; color: #F5F1E6; cursor: pointer; }
.sz-zoom-b svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.sz-zoom-b:hover:not(:disabled) { border-color: var(--action); color: var(--action); }
.sz-zoom-b:disabled { opacity: .45; cursor: default; }
.sz-zoom-b:focus-visible, .sz-zoom-fit:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-dark); }
.sz-zoom-range { --t: 0%; position: relative; flex: 1 1 auto; width: 44px; min-height: 120px; max-height: 300px; cursor: pointer; touch-action: none; }
.sz-zoom-range::before { content: ""; position: absolute; top: 10px; bottom: 10px; left: 20px; width: 4px; border-radius: 2px; background: #3a3d42; }
.sz-zoom-fill { position: absolute; bottom: 10px; left: 20px; width: 4px; height: calc((100% - 20px) * var(--t) / 100%); border-radius: 2px; background: var(--action); }
.sz-zoom-th { position: absolute; left: 12px; bottom: calc(10px + (100% - 20px) * var(--t) / 100%); width: 20px; height: 20px; margin-bottom: -10px; border-radius: 50%; background: var(--bone-white, #F5F1E6); border: 3px solid var(--action); box-shadow: 0 0 10px rgba(245, 138, 31, .6); box-sizing: border-box; }
.sz-zoom-range:focus-visible { outline: 2px solid transparent; }
.sz-zoom-range:focus-visible .sz-zoom-th { box-shadow: var(--focus-ring-dark); }
.sz-zoom-fit { min-height: 44px; padding: 0 6px; border: 0; border-radius: 8px; background: none; font: 700 11px/14px var(--font-heading); letter-spacing: .04em; text-transform: uppercase; color: #F5F1E6; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sz-zoom-fit[aria-pressed="true"] { color: #F58A1F; text-decoration: none; }
.sz-stage-in.is-zoom { overflow: hidden; }
.sz-stage-in .sz-gl b { transform: translateX(var(--sx, 0px)); }   /* scrolled sideways, the scale reads at the left */   /* taller figures run off the top, never over the tools */
.sz-stage-wrap.is-scroll { cursor: grab; } .sz-stage-wrap.is-drag { cursor: grabbing; user-select: none; }
@media (max-width: 640px) { .sz-zoom { width: 60px; padding-inline: max(8px, var(--dn-gutter, 16px)) 4px; } .sz-zoom-t { font-size: 10px; } }
.sz2-gap { display: flex; align-items: center; gap: 10px; }
.sz2-gap .dn-fact-label { margin-right: 4px; }
.sz2-gap-e { font: 700 11px/1 var(--font-heading); letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted-on-dark); }
.sz2-range { --t: 50%; position: relative; width: 180px; height: 44px; cursor: pointer; touch-action: none; }
.sz2-range::before { content: ""; position: absolute; left: 0; right: 0; top: 20px; height: 4px; border-radius: 2px; background: #3a3d42; }
.sz2-range-fill { position: absolute; left: 0; top: 20px; height: 4px; width: var(--t); border-radius: 2px; background: var(--action); }
.sz2-range-th { position: absolute; top: 12px; left: var(--t); width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--bone-white); border: 3px solid var(--action); box-shadow: 0 0 10px rgba(245, 138, 31, .6); box-sizing: border-box; }
.sz2-range:focus-visible { outline: 2px solid transparent; }
.sz2-range:focus-visible .sz2-range-th { box-shadow: var(--focus-ring-dark); }
.sz-gl { position: absolute; left: 0; right: 0; height: 0; border-top: 1px dashed #ffffff1c; }
.sz-gl b { position: absolute; left: 8px; top: -18px; font: 600 11px/14px var(--font-body); color: #ffffffb3; }
.sz-ground { position: absolute; left: 0; right: 0; height: 2px; background: var(--fossil-stone); box-shadow: 0 0 14px rgba(201, 183, 154, .35); }
.sz-fig { position: absolute; display: block; max-width: none; }
.sz-fig-sp { object-fit: fill; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .55)); }
.sz-fig-sil { fill: var(--stone-brown); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .55)); }
.sz-ref { display: block; }
/* v3: the person, car and school bus as pictures, drawn at the size the script sets (no theme max-width) */
.sz-ref-pic img { display: block; max-width: none; }
.sz-dim { position: absolute; height: 8px; border: 1px solid rgba(255, 255, 255, .45); border-top: 0; box-sizing: border-box; }
.sz-lab { position: absolute; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; max-width: 320px; padding: 6px 8px 0; }   /* v3: 320 so a sourced range fits one line and the label rows stay 44 px */
.sz-lab b { font: 700 14px/18px var(--font-name, var(--font-heading)); color: var(--text-on-dark); white-space: nowrap; }
.sz-lab.is-ref b { font-family: var(--font-heading); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--fossil-stone); }
.sz-lab span { font-size: 12px; line-height: 15px; color: var(--text-muted-on-dark); }
.sz-lab[data-period] b { text-shadow: 0 0 14px rgba(var(--period-rgb), .45); }
.sz-lab .sz-lead { position: absolute; left: 50%; top: -38px; height: 36px; border-left: 1px dashed #ffffff40; }
.sz-hint { margin: 8px 0 0; font: 700 12px/16px var(--font-heading); color: var(--text-on-dark); }
.sz-foot { margin: 12px 0 0; font-size: 12px; line-height: 17px; color: var(--text-muted-on-dark); }
.sz-foot a, .sz-sources a { color: var(--accent-on-dark); }
.sz-msg { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); width: min(420px, 86%); margin: 0; padding: 12px 16px; text-align: center; font-size: 14px; line-height: 21px; color: var(--text-on-dark); background: rgba(18, 20, 23, .92); border: 1px solid var(--border-control-dark); border-radius: var(--radius-md); }
/* stat cards */
.sz-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.sz-card { display: flex; flex-direction: column; border-radius: var(--radius-md); background: var(--surface-dark-raised); border: 1px solid var(--line-dark); overflow: hidden; }
.sz-card-pic { position: relative; display: flex; align-items: flex-end; justify-content: center; height: 120px; padding: 8px 10px 0; background: radial-gradient(ellipse at 50% 90%, rgba(var(--period-rgb), .18) 0%, #1d1f22 55%, #17181a 100%); border-bottom: 2px solid rgba(var(--period-rgb), .7); }
.sz-card-pic img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.sz-card-pic .sz-card-sil { width: auto; height: 90%; max-width: 100%; }
.sz-card-il { position: absolute; left: 6px; top: 6px; font: 700 10px/14px var(--font-heading); letter-spacing: .04em; text-transform: uppercase; color: var(--bone-white); background: #121417d9; padding: 1px 6px; border-radius: 3px; }
.sz-card-body { padding: 12px 14px 14px; }
.sz-card.sz-card h3 { margin: 0; font: 700 19px/22px var(--font-name, var(--font-heading)); }
.sz-card.sz-card h3 a { color: var(--text-on-dark); text-decoration: none; }
.sz-card.sz-card h3 a:hover, .sz-card.sz-card h3 a:focus-visible { text-decoration: underline; }
.sz-card.sz-card h3 a:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-dark); border-radius: 2px; }
.sz-card-tags { margin: 6px 0 8px; }
.sz-card-tags .sp-badge { font-size: 10px; padding: 1px 6px; }
.sz-card dl { margin: 0; }
.sz-card dl > div { padding: 8px 0; border-top: 1px solid var(--line-dark); }
.sz-card dt { display: flex; align-items: center; gap: 6px; font: 700 10px/14px var(--font-heading); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted-on-dark); }
.sz-card dt .sz-ic { width: 20px; height: 20px; }
.sz-card dd { margin: 4px 0 0; font-size: 14px; line-height: 19px; color: var(--text-on-dark); }
.sz-card dd small { display: block; font-size: 11px; color: var(--text-muted-on-dark); }
.sz-card dd small a { color: var(--text-muted-on-dark); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); }
.sz-card dd small a:hover { color: var(--accent-on-dark); }
.sz-sources { margin-top: 14px; }
.sz-sources ol { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 4px; font-size: 12px; line-height: 17px; color: var(--text-muted-on-dark); overflow-wrap: anywhere; }
.sz-sources li:target { color: var(--text-on-dark); }
.sz-empty { margin: 16px 0 0; font-size: 14px; color: var(--text-muted-on-dark); }
/* the table: the stage's text equivalent; the page's figures without JavaScript */
.sz-table-wrap { overflow-x: auto; max-width: 100%; margin-top: 16px; border: 1px solid var(--line-dark); border-radius: var(--radius-md); }
.sz-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.sz-table caption { padding: 12px 14px; text-align: left; font: 700 13px/18px var(--font-heading); letter-spacing: .04em; text-transform: uppercase; color: var(--fossil-stone); }
.sz-table th, .sz-table td { padding: 10px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--line-dark); }
.sz.is-live .sz-table-wrap { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
/* more */
.sz-more { position: relative; }
.sz-more-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; }
.sz-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sz-cats li { margin: 0; }
.sz-cat { box-sizing: border-box; width: 100%; min-height: 108px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: var(--radius-md); border: 1px solid var(--line-dark); background: rgba(29, 31, 34, .92); color: var(--text-on-dark); text-decoration: none; cursor: pointer; }
.sz-cat .lf-ic { width: 40px; height: 40px; }
.sz-cat b { font: 700 14px/18px var(--font-heading); }
.sz-cat small { font-size: 12px; color: var(--text-muted-on-dark); }
.sz-cat.is-on { border-color: var(--action); box-shadow: var(--sz-glow); }
.sz-cat:hover { border-color: var(--action); color: var(--text-on-dark); }
.sz-pops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sz-pops li { margin: 0; }
.sz-pop { display: flex; flex-direction: column; gap: 4px; height: 100%; box-sizing: border-box; padding: 10px; border-radius: var(--radius-md); border: 1px solid var(--line-dark); background: rgba(29, 31, 34, .92); color: var(--text-on-dark); text-decoration: none; }
.sz-pop:hover { color: var(--text-on-dark); }
.sz-pop:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-dark); }
.sz-pop-pic { display: flex; align-items: flex-end; justify-content: space-around; gap: 4px; height: 70px; border-bottom: 2px solid var(--fossil-stone); margin-bottom: 6px; }
.sz-pop-pic img { height: auto; max-height: 100%; object-fit: contain; }
.sz-pop-pic .sz-ref { width: auto !important; height: 30px !important; }
.sz-pop b { font-size: 13px; line-height: 17px; }
.sz-pop i { font-family: var(--font-name, var(--font-heading)); }
.sz-pop small { font-size: 11px; line-height: 15px; color: var(--text-muted-on-dark); }
/* Records in our list (0.16.10): a second row under Popular comparisons, in its column; to scale, so the smallest is
   a speck beside the largest (kept visible at 4 px) */
.sz-recs { grid-column: 2; }
.sz-rec .sz-pop-pic img, .sz-rec-sil { min-width: 4px; }
.sz-rec .sz-pop-pic { justify-content: center; align-items: flex-end; }
.sz-rec .sz-pop-pic .sz-ref { width: var(--w) !important; height: auto !important; flex: none; }   /* the width (--w) and proportions from the markup */
.sz-rec-sil { display: block; } .sz-rec-sil svg { display: block; width: 100%; height: auto; fill: var(--fossil-stone, #C9B79A); }
.sz-more .dn-art-credit { position: absolute; right: 12px; bottom: 8px; margin: 0; font-size: 11px; color: var(--text-muted-on-dark); }
/* share */
.sz-share-in { display: grid; grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 16px; align-items: center; padding: 22px; border-radius: var(--radius-md); border: 1px solid var(--line-dark); background: var(--surface-dark-raised); }
.sz-share-ic img { width: 48px; height: 48px; display: block; }
.sz-share .dn-section-title.dn-section-title { margin: 0; }
.sz-url input { width: 100%; box-sizing: border-box; min-height: 44px; font-size: 13px; }
.sz-copied { grid-column: 1 / -1; margin: 0; font-size: 13px; }
.sz-copied:empty { display: none; }

@media (max-width: 1100px) { .sz-picks, .sz-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sz-more-in { grid-template-columns: minmax(0, 1fr); } .sz-recs { grid-column: auto; } .sz-pops { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sz .lf-strip ul { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .sz-head .dn-wrap { grid-template-columns: minmax(0, 1fr); } .sz-head-art { display: none; }
  .sz .lf-strip ul { padding: 6px 10px; }
  .sz .lf-strip li::before { display: none; }
  .sz-tabs ul { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .sz .sz-tabs a { flex-direction: column; gap: 4px; padding: 8px 2px; min-height: 64px; text-align: center; }
  .sz .sz-tabs .lf-ic { width: 26px; height: 26px; }
  .sz .sz-tabs b { font-size: 10px; line-height: 12px; }
  .sz-picks { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .sz .sz-sel .dn-listbox.sz2-lb { width: auto; left: -10px; right: -50px; }
  .sz2-gap { flex: 1 1 100%; }
  .sz2-range { flex: 1; width: auto; }
  .sz-pick { grid-template-columns: 80px minmax(0, 1fr); }
  .sz-objs .sz-obj { padding: 0 10px 0 6px; font-size: 11px; }
  .sz-cards { grid-template-columns: minmax(0, 1fr); }
  .sz-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sz-share-in { grid-template-columns: 40px minmax(0, 1fr); }
  .sz-url, .sz-share-in .dn-btn { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .sz .lf-card, .sz .lf-strip a, .sz .dn-btn-primary { transition: none !important; transform: none !important; }
  .sz .lf-card:hover, .sz .lf-card:focus-within { transform: none; box-shadow: 0 0 0 1px rgba(var(--period-rgb), .55); }
}

/* ---------- Bite force tab (includes/size-bite.php; Ben, 2026-10-15; Michael's mockup for layout only) ---------- */
.szb-none { margin: 0 0 var(--space-3); padding: 8px 12px; border-left: 3px solid var(--action); background: var(--surface-dark-raised); color: var(--text-on-dark); font-size: 14px; }
.szb-picks ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 var(--space-6); padding: 0; list-style: none; }
.szb .sz-count { margin: 0 0 var(--space-3); }
.szb-picks li { width: 132px; }
.szb-pick { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; height: 100%; min-height: 44px; box-sizing: border-box; padding: 8px 8px 10px; border: 1px solid var(--line-dark); border-top: 3px solid var(--period, var(--line-dark)); border-radius: var(--radius-md); background: var(--surface-dark-raised); color: var(--text-on-dark); text-decoration: none; text-align: center; font: italic 700 13px/16px var(--font-name); }
.szb-pick:hover { border-color: var(--period, var(--action)); }
.szb-pick.is-on { border-color: var(--period, var(--action)); box-shadow: 0 0 0 1px var(--period, var(--action)), 0 0 22px -6px rgba(var(--period-rgb, 245, 138, 31), .8); }
.szb-pick:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-dark); }
.szb-pick-pic { width: 100%; height: 56px; display: flex; align-items: flex-end; justify-content: center; }
.szb-pick-pic img { max-width: 100%; max-height: 56px; object-fit: contain; }
.szb-pick-pic svg, .szb-pic svg { height: 48px; width: auto; fill: var(--fossil-stone); }
.szb-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-6); align-items: start; }
.szb-sp { padding: var(--space-5); border: 1px solid var(--line-dark); border-top: 3px solid var(--period, var(--action)); border-radius: var(--radius-md); background: var(--surface-dark-raised); }
.szb-pic { position: relative; aspect-ratio: 2 / 1; display: flex; align-items: flex-end; justify-content: center; border-radius: var(--radius-sm); background: radial-gradient(ellipse at 50% 90%, rgba(var(--period-rgb, 245, 138, 31), .18) 0, transparent 65%); }
.szb-pic img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.szb-pic svg { height: 70%; }
.szb-il { position: absolute; left: 8px; top: 8px; margin: 0; padding: 1px 6px; border-radius: 4px; background: rgba(18, 20, 23, .85); color: var(--bone-white); font-size: 11px; line-height: 15px; }
.szb-name.szb-name { margin: var(--space-4) 0 var(--space-2); font: italic 700 26px/30px var(--font-name); color: var(--text-on-dark); overflow-wrap: break-word; }
.szb-facts { margin: 0 0 var(--space-4); }
.szb-facts > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px; padding: 8px 0; border-top: 1px solid var(--line-dark); }
.szb-facts dt { font: 700 11px/18px var(--font-heading); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted-on-dark); }
.szb-facts dd { margin: 0; font-size: 14px; line-height: 20px; color: var(--text-on-dark); }
.szb-facts dd small, .szb-row-v small { display: block; margin-top: 2px; font-size: 12px; line-height: 17px; color: var(--text-muted-on-dark); }
.szb-big dd b { font: 700 18px/24px var(--font-heading); color: var(--text-on-dark); }
.szb-cite { color: var(--text-muted-on-dark); }
.szb-cite:hover { color: var(--text-on-dark); }
.szb-chart { padding: var(--space-5); border: 1px solid var(--line-dark); border-radius: var(--radius-md); background: var(--surface-dark-raised); }
.szb-chart-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.szb-chart.szb-chart h3, .szb-note.szb-note h3 { margin: 0; font: 700 16px/22px var(--font-heading); letter-spacing: .06em; text-transform: uppercase; color: var(--text-on-dark); }
.szb-units { display: inline-flex; border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--radius-sm); overflow: hidden; }
.szb-units a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; color: var(--text-on-dark); text-decoration: none; font: 700 11px/1 var(--font-heading); letter-spacing: .06em; text-transform: uppercase; }
.szb-units a + a { border-left: 1px solid rgba(255, 255, 255, .2); }
.szb-units a.is-on { background: var(--action); color: #121417; }
.szb-units a:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-dark); }
.szb-scale, .szb-left-out { margin: 6px 0 0; font-size: 12px; line-height: 17px; color: var(--text-muted-on-dark); }
.szb-bars { margin: var(--space-3) 0 0; padding: 0; list-style: none; }
.szb-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); column-gap: 16px; padding: 10px 0; border-top: 1px solid var(--line-dark); }
.szb-row-name { grid-column: 1; grid-row: 1 / span 2; margin: 0; font: 700 14px/19px var(--font-heading); color: var(--text-on-dark); }
.szb-row:is(.is-dino, .is-pick) .szb-row-name { font: italic 700 15px/19px var(--font-name); }
.szb-latin { display: block; font: 400 12px/16px var(--font-body); color: var(--text-muted-on-dark); }
.szb-track { grid-column: 2; position: relative; height: 16px; border-radius: 8px; background: rgba(255, 255, 255, .07); }
.szb-bar { position: absolute; top: 0; bottom: 0; min-width: 6px; border-radius: 8px; background: var(--fossil-stone); }
.szb-row.is-pick .szb-bar { background: var(--action); box-shadow: 0 0 14px -2px rgba(245, 138, 31, .7); }
.szb-row.is-living .szb-bar { box-sizing: border-box; background: transparent; border: 2px solid var(--bone-white); }
.szb-row-v { grid-column: 2; margin: 6px 0 0; font-size: 14px; line-height: 20px; color: var(--text-on-dark); }
.szb-axis { position: relative; height: 22px; margin-left: 196px; border-top: 1px solid var(--line-dark); }
.szb-axis span { position: absolute; top: 4px; transform: translateX(-50%); font-size: 11px; line-height: 14px; color: var(--text-muted-on-dark); white-space: nowrap; }
.szb-axis span:first-child { transform: none; }
.szb-axis span:last-child { transform: translateX(-100%); }
.szb-note { grid-column: 1 / -1; display: block; padding: var(--space-4) var(--space-5); border: 1px solid var(--line-dark); border-left: 3px solid var(--action); border-radius: var(--radius-md); background: var(--surface-dark-raised); }
.szb-note p { margin: 6px 0 0; font-size: 14px; line-height: 22px; color: var(--text-on-dark); max-width: 80ch; }
@media (max-width: 1100px) { .szb-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .szb-picks li { width: calc(50% - 5px); }
  .szb-row { grid-template-columns: minmax(0, 1fr); }
  .szb-row-name { grid-row: auto; margin-bottom: 6px; }
  .szb-track, .szb-row-v { grid-column: 1; }
  .szb-axis { margin-left: 0; }
}

/* ---------- All dinosaurs (Size-All boards, hand-off n-sz2 6 to 11; assets/size-comparison/size-lineup.js) ---------- */
.sz3-lead { max-width: 820px; margin: 6px 0 0; color: var(--text-muted-on-dark); }
.sz3-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 18px 0 14px; }
.sz3-sort { display: flex; align-items: center; gap: 10px; }
.sz3-tools .lf-seg a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 12px; font: 700 11px/1 var(--font-heading); letter-spacing: .06em; text-transform: uppercase; color: var(--text-on-dark); text-decoration: none; }
.sz3-tools .lf-seg a[aria-pressed="true"] { background: var(--action); color: #121417; }
.sz3-tools .lf-seg a:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-dark); }
.sz3-tools .sp-units { margin-left: auto; }
.sz3-tools .sz-obj { text-decoration: none; }
.sz3-band { position: relative; }   /* edge to edge: size-lineup.js sizes it to the page width */
.sz3-wrap { position: relative; }
.sz3-stage { position: relative; overflow: hidden; touch-action: pan-y; }
.sz3-grid, .sz3-objs-l { position: absolute; inset: 0; }
.sz3-grid .sz-gl b { left: 12px; }
.sz3-track-l { position: absolute; left: 0; top: 0; height: 100%; width: 1px; will-change: transform; }
.sz3-fig { position: absolute; display: block; padding: 0; border: 0; background: none; overflow: visible; cursor: pointer; transition: filter .2s; z-index: 1; }
.sz3-fig .sz3-pic { position: absolute; max-width: none; pointer-events: none; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .55)); }
.sz3-fig svg.is-sil { position: absolute; inset: 0; width: 100%; height: 100%; }
.sz3-fig.is-at { filter: drop-shadow(0 0 16px rgba(245, 138, 31, .85)); }
.sz3-fig:hover { filter: drop-shadow(0 0 10px rgba(245, 138, 31, .6)); }
.sz3-fig:focus-visible { outline: 2px solid var(--bone-white); outline-offset: 4px; }
.sz3-ref { z-index: 0; }   /* behind the dinosaurs: they walk past the objects */
.sz3-line { position: absolute; z-index: 6; width: 2px; margin-left: -1px; background: linear-gradient(180deg, rgba(245, 138, 31, .15), var(--action)); box-shadow: 0 0 12px rgba(245, 138, 31, .7); pointer-events: none; }
.sz3-lab { max-width: none; }
.sz3-lab b, .sz3-lab span { white-space: nowrap; }
.sz3-lab b { font-size: 13px; line-height: 16px; }
.sz3-lab span { font-size: 11px; line-height: 14px; }
.sz3-lab.is-at b { color: var(--accent-on-dark); }
.sz3-objs-l .sz3-lab.is-ref { z-index: 5; top: auto; }
.sz-edge { position: absolute; z-index: 7; bottom: 106px; padding: 1px 8px; border-radius: 999px; background: rgba(18, 20, 23, .78); font-size: 11px; line-height: 16px; color: var(--text-muted-on-dark); pointer-events: none; }
.sz-edge:empty { display: none; }
.sz-edge.is-l { left: 56px; } .sz-edge.is-r { right: 12px; }
.sz3-under { position: static; }
.sz3-read { position: absolute; z-index: 9; top: 18px; right: 24px; width: 300px; padding: 12px 14px 14px; border-radius: var(--radius-md); border: 1px solid var(--line-dark); border-top: 3px solid var(--period, var(--action)); background: rgba(24, 26, 29, .94); box-shadow: 0 14px 30px rgba(0, 0, 0, .5); }
.sz3-read .dn-fact-label { margin: 0; }
.sz3-read.sz3-read h3 { margin: 4px 0 6px; font: 700 20px/24px var(--font-name, var(--font-heading)); }
.sz3-read.sz3-read h3 a { color: var(--text-on-dark); text-decoration: none; }
.sz3-read.sz3-read h3 a:hover { text-decoration: underline; }
.sz3-read dl { margin: 0 0 8px; }
.sz3-read dl > div { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 8px; padding: 5px 0; border-top: 1px solid var(--line-dark); }
.sz3-read dt { font: 700 10px/18px var(--font-heading); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted-on-dark); }
.sz3-read dd { margin: 0; font-size: 14px; color: var(--text-on-dark); }
.sz3-read dd small { display: block; font-size: 11px; color: var(--text-muted-on-dark); }
.sz3-read dd small a, .sz3-list a, .sz3-foot a { color: var(--accent-on-dark); }
.sz3-read-n { margin: 0 0 10px; font-size: 12px; line-height: 17px; color: var(--text-muted-on-dark); }
.sz3-scrub { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; margin: 16px 0 10px; }
.sz3-step { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; border-radius: var(--radius-sm); border: 1px solid var(--border-control-dark); background: var(--surface-dark); color: var(--text-on-dark); font: 700 12px/1 var(--font-heading); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.sz3-step:focus-visible, .sz3-track:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-dark); }
.sz3-track { position: relative; height: 64px; border-radius: var(--radius-sm); background: #17191c; border: 1px solid var(--line-dark); cursor: grab; touch-action: none; }
.sz3-mini { position: absolute; left: 8px; right: 8px; top: 8px; bottom: 8px; }
.sz3-mini i { position: absolute; bottom: 0; border-radius: 1px 1px 0 0; opacity: .75; }
.sz3-mini i.is-at { opacity: 1; box-shadow: 0 0 8px rgba(245, 138, 31, .9); }
.sz3-win { position: absolute; top: 2px; bottom: 2px; margin-left: 8px; border: 2px solid rgba(245, 138, 31, .8); border-radius: 4px; background: rgba(245, 138, 31, .08); box-sizing: border-box; pointer-events: none; will-change: left; }
.sz3-handle { position: absolute; top: -6px; bottom: -6px; width: 4px; margin-left: 6px; border-radius: 2px; background: var(--action); box-shadow: 0 0 12px rgba(245, 138, 31, .9); pointer-events: none; }
.sz3-handle::after { content: ""; position: absolute; left: 50%; bottom: -12px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--bone-white); border: 3px solid var(--action); box-sizing: border-box; }
.sz3-text { margin: 18px 0 0; color: var(--text-muted-on-dark); }
.sz3-text summary { cursor: pointer; font: 700 12px/20px var(--font-heading); letter-spacing: .06em; text-transform: uppercase; color: var(--text-on-dark); }
.sz3-list { margin: 10px 0 0; padding-left: 22px; columns: 2; column-gap: 32px; font-size: 13px; line-height: 20px; }
.sz3-list i { color: var(--text-on-dark); font-weight: 600; }
.sz .sz-tabs ul { grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); }
@media (max-width: 1100px) { .sz .sz-tabs ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .sz3-stage .sz3-track-l .sz3-lab:not(.is-at) { display: none; }   /* phones: only the centre label */
  .sz3-sort { flex-wrap: wrap; } .sz3-sort .lf-seg { display: flex; width: 100%; } .sz3-sort .lf-seg a { flex: 1; justify-content: center; padding: 0 4px; font-size: 10px; }
  .sz3-tools .sp-units { margin-left: 0; }
  .sz3-read { position: static; width: auto; margin: 12px 0 0; }
  .sz3-scrub { grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 8px; }
  .sz3-step { justify-content: center; padding: 0; font-size: 20px; }
  .sz3-step span:not([aria-hidden]) { display: none; }
  .sz3-list { columns: 1; }
}
@media (prefers-reduced-motion: reduce) { .sz3-fig { transition: none; } }

/* core 0.20.8: running text keeps a measure of about 72 characters in the 1,700 px wrapper (Ben, 2026-11-15) */
.sz .sz-stage-box .sz-foot, .sz .sz-stage-box .sz-hint { max-width: 72ch; }

/* ---------- Critique 6 of approval row 73 (core 0.24.0): the Spacing track keeps 10 px clear either side, so its thumb
   never covers "Closer" or "Farther" (at Farther, the default, it covered "Farther", 1.46:1), wherever it is used ---------- */
.sz2-range { margin-inline: 10px; }

/* ---------- layout="fit" (core 0.24.0, approval row 73, Sz-Fit A; briefs/handoff-fit-size-design-2026-11-15.md; Claude
   Design's prototype design/phase-1/canvas-3/source/szfit/szfit.css): .sz.is-fit from 1,280 px, screen only, so phones,
   tablets and print keep today's layout. size-comparison.js and size-lineup.js make the moves and set the heights.
   Bite force's note keeps the grid's gap at every width (it is printed after the grid in this layout). ---------- */
.sz.is-fit .szb-grid + .szb-note { margin-top: var(--space-6); }
@media screen and (min-width: 1280px) {
  /* the content width: --site-width with a 24 px gutter under it */
  .sz.is-fit .sz-main > .dn-wrap, .sz.is-fit .szb .dn-wrap, .sz.is-fit .sz3 .dn-wrap { box-sizing: border-box; max-width: calc(var(--site-width, 1700px) + 48px); padding-inline: 24px; }

  /* 1. the full banner, then How it works (the shared .dn-hiw row) full width under it, one 170 px block (core 0.27.0,
     approval row 76 F1; the launcher at the banner's left) */
  .sz.is-fit .sz-fit-top { display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin: 0 0 14px; }
  .sz.is-fit .sz-fit-top > .dn-bh { flex: none; width: 100%; margin: 0; padding-top: 4px; }
  .sz.is-fit .sz-fit-top > .dn-bh.has-tour .dn-tour-go { top: 4px; }   /* level with the banner under its 4 px (dn-tours.css centres it under 14) */
  .sz.is-fit .sz-fit-top > .dn-hiw { flex: none; width: 100%; min-width: 0; margin: 0; }
  .sz.is-fit .sz-main .sz-howto { margin: 0; }
  .sz.is-fit .sz-main .sz-howto ul.dn-howto.is-hiw { margin: 0 0 14px; }

  /* 2. the picks in one row (78 px) and the count line */
  .sz.is-fit .sz-frame.wt-stone { padding: 12px 16px 10px; scroll-margin-top: var(--dn-admin, 0px); }
  .sz.is-fit .sz-form { display: block; }
  .sz.is-fit .sz-picks { gap: 10px; }
  .sz.is-fit .sz-pick, .sz.is-fit.is-live .sz-pick { grid-template-columns: 72px minmax(0, 1fr); gap: 10px; min-height: 0; padding: 6px 46px 6px 6px; }
  .sz.is-fit.is-live .sz-pick.is-empty { padding: 0; }
  .sz.is-fit .sz-pick-pic { height: 44px; }
  .sz.is-fit .sz-pick-t .dn-fact-label { font-size: 11px; line-height: 14px; }
  .sz.is-fit.is-live .sz-sel .dn-dropdown.sz-change { min-height: 40px; height: 40px; padding-block: 0; }
  .sz.is-fit.is-live .sz-sel .dn-dropdown.sz-change .val { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: unset; }
  .sz.is-fit.is-live .sz-pick .sz-x { top: 50%; margin-top: -15px; right: 6px; }
  .sz.is-fit.is-live .sz-pick.is-empty .dn-dropdown.sz-add { min-height: 56px; }
  .sz.is-fit .sz-frame .sz-count { margin: 6px 0 8px; font-size: 12px; line-height: 16px; color: #C9B79A; }
  /* Random dinosaurs the fifth item (132 x 78), the four picks narrower; the count line and the live line one row, the
     live line on one line (its words in its title when they end in an ellipsis), so the frame keeps its height */
  .sz.is-fit .sz-picks { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; }
  .sz.is-fit .sz-picks > .sz-rand { grid-column: 5; grid-row: 1; }
  .sz.is-fit .sz-count-row { flex-wrap: nowrap; margin: 6px 0 8px; }
  .sz.is-fit .sz-frame .sz-count-row > .sz-count { flex: none; margin: 0; }
  .sz.is-fit .sz-count-row > .sz-rand-st { flex: 0 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* 3. the stage inside the wrapper, one height at every zoom (the script sets it; its sideways scroll bar is hidden so
     zooming never adds height: wheel, trackpad, drag and the keyboard scroll it, and the tip says so) */
  .sz.is-fit .sz-stage-box { position: relative; width: auto !important; margin: 0 -16px !important; }
  .sz.is-fit .sz-stage-row { position: relative; border-radius: 0; }
  .sz.is-fit .sz-zoom { padding-left: 10px; }
  .sz.is-fit .sz-stage-wrap.is-scroll { scrollbar-width: none; }
  .sz.is-fit .sz-stage-wrap.is-scroll::-webkit-scrollbar { display: none; }

  /* 4. the toolbar over the sky, top right (48 px; two lines under 1,600 px) */
  .sz.is-fit .sz-stage-row > .sz-tools { position: absolute; z-index: 30; top: 10px; right: 12px; margin: 0; display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-end; gap: 16px;
    padding: 6px 8px 6px 12px; border-radius: 12px; background: rgba(18, 20, 23, .88); box-shadow: 0 0 0 1px rgba(201, 183, 154, .18); }
  .sz.is-fit .sz-stage-row > .sz-tools .dn-fact-label { font-size: 11px; line-height: 14px; color: #C9B79A; }
  .sz.is-fit .sz-stage-row > .sz-tools .sz-objs { flex-wrap: nowrap; gap: 6px; }
  .sz.is-fit .sz-stage-row > .sz-tools .sz-obj { min-height: 36px; padding: 0 12px 0 6px; gap: 6px; font-size: 11px; }
  .sz.is-fit .sz-stage-row > .sz-tools .sz-obj .sz-ic { width: 22px; height: 22px; }
  .sz.is-fit .sz-stage-row > .sz-tools .sz2-gap { gap: 8px; }
  .sz.is-fit .sz-stage-row > .sz-tools .sz2-range { width: 140px; height: 36px; }
  .sz.is-fit .sz-stage-row > .sz-tools .sz2-range::before, .sz.is-fit .sz-stage-row > .sz-tools .sz2-range-fill { top: 16px; }
  .sz.is-fit .sz-stage-row > .sz-tools .sz2-range-th { top: 8px; }
  .sz.is-fit .sz-stage-row > .sz-tools .sz-units button { min-height: 36px; height: 36px; padding: 0 12px; font-size: 11px; }
  .sz.is-fit .sz-stage-row > .sz-tools .sz-go { display: none; }

  /* the sideways-scroll tip: under the toolbar at the right (the script sets its top from the toolbar's foot), over no
     control or text, on screen at every zoom (row 73 change a) */
  .sz.is-fit .sz-stage-row > .sz-hint { position: absolute; z-index: 30; top: 66px; right: 12px; left: auto; margin: 0; padding: 4px 10px; max-width: none; border-radius: 8px;
    background: rgba(18, 20, 23, .88); box-shadow: 0 0 0 1px rgba(201, 183, 154, .18); }

  /* 5. a number under each dinosaur; the label words in one strip */
  .sz.is-fit .sz-n { position: absolute; z-index: 40; width: 22px; height: 22px; margin-left: -11px; box-sizing: border-box; border-radius: 50%; display: grid; place-items: center;
    background: #121417; box-shadow: inset 0 0 0 1.5px #F58A1F; color: #F5F1E6; font: 700 12px/1 var(--font-heading, Montserrat, sans-serif); }
  .sz.is-fit .sz-n.is-hi { background: #F58A1F; color: #121417; }
  .sz.is-fit .sz-fig.is-hi { filter: drop-shadow(0 0 6px rgba(245, 138, 31, .9)); }
  .sz.is-fit .sz-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px; margin: 8px 16px 0; padding: 0; list-style: none; }
  .sz.is-fit .sz-strip[hidden] { display: none; }
  .sz.is-fit .sz-card-n { display: flex; align-items: flex-start; gap: 10px; min-height: 52px; margin: 0; padding: 7px 12px 7px 8px; box-sizing: border-box; border-radius: 10px; background: #202123;
    box-shadow: inset 0 0 0 1px rgba(245, 241, 230, .1); border-left: 3px solid rgba(var(--period-rgb, 201, 183, 154), .9); }
  .sz.is-fit .sz-card-n.is-ref { border-left-color: rgba(245, 241, 230, .35); }
  .sz.is-fit .sz-card-n.is-hi { box-shadow: inset 0 0 0 2px #F58A1F; }
  .sz.is-fit .sz-card-n:focus-visible { outline: 2px solid transparent; box-shadow: inset 0 0 0 2px #F58A1F, var(--focus-ring-dark); }
  .sz.is-fit .sz-cn { flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; display: grid; place-items: center; background: #121417; box-shadow: inset 0 0 0 1.5px #F58A1F;
    color: #F5F1E6; font: 700 12px/1 var(--font-heading, Montserrat, sans-serif); }
  .sz.is-fit .sz-card-n.is-hi .sz-cn { background: #F58A1F; color: #121417; }
  .sz.is-fit .sz-ct { display: grid; min-width: 0; }
  .sz.is-fit .sz-ct b { font: italic 700 14px/18px var(--font-name, var(--font-heading)); color: #F5F1E6; white-space: normal; text-shadow: none; }
  .sz.is-fit .sz-card-n.is-ref .sz-ct b { font: 700 12px/18px var(--font-heading, Montserrat, sans-serif); letter-spacing: .06em; text-transform: uppercase; }
  .sz.is-fit .sz-ct > span { font-size: 13px; line-height: 18px; color: #E6DCC7; }

  /* 6. the scale note, one line at the foot (its full words in its title when it ends in an ellipsis) */
  .sz.is-fit .sz-stage-box > .sz-foot { max-width: none; margin: 6px 16px 0; padding: 0; font-size: 12px; line-height: 17px; color: #C9B79A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* 7. Bite force: the heading and its line in one row, the six picks in one row, the card and the chart one height */
  .sz.is-fit .sz-fit-h3row { display: flex; align-items: baseline; gap: 8px 24px; margin: 0 0 10px; }
  .sz.is-fit .sz-fit-h3row > h2 { flex: none; margin: 0; }
  .sz.is-fit .sz-fit-h3row > p { flex: 1 1 auto; max-width: none; margin: 0 !important; font-size: 14px; line-height: 20px; }
  .sz.is-fit .szb-picks ul { flex-wrap: nowrap; gap: 8px; margin: 0 0 14px; }
  .sz.is-fit .szb-picks li { width: auto; flex: 1 1 0; min-width: 0; }
  .sz.is-fit .szb-pick { flex-direction: row; justify-content: flex-start; gap: 10px; min-height: 56px; padding: 6px 12px 6px 6px; }
  .sz.is-fit .szb-pick-pic { flex: none; width: 84px; height: 42px; }
  .sz.is-fit .szb-pick-pic img { max-height: 42px; }
  .sz.is-fit .szb-grid { grid-template-columns: 520px minmax(0, 1fr); gap: 20px; align-items: stretch; }
  .sz.is-fit .szb-sp { display: flex; flex-direction: column; padding: 16px 20px; }
  .sz.is-fit .szb-pic { aspect-ratio: auto; height: 200px; }
  .sz.is-fit .szb-name.szb-name { margin: 12px 0 6px; }
  .sz.is-fit .szb-facts { margin: 0 0 12px; }
  .sz.is-fit .szb-facts > div { padding: 6px 0; }
  .sz.is-fit .szb-sp > .dn-btn { margin-top: auto; align-self: flex-start; }
  .sz.is-fit .szb-chart { display: flex; flex-direction: column; padding: 16px 20px; }
  .sz.is-fit .szb-bars { margin-top: 8px; }
  .sz.is-fit .szb-row { grid-template-columns: 200px minmax(0, 1fr) 300px; grid-template-rows: auto; align-items: center; padding: 7px 0; }
  .sz.is-fit .szb-row-name { grid-row: 1; }
  .sz.is-fit .szb-track { grid-column: 2; grid-row: 1; }
  .sz.is-fit .szb-row-v { grid-column: 3; grid-row: 1; margin: 0; font-size: 13px; line-height: 18px; }
  .sz.is-fit .szb-row-v small { font-size: 11px; line-height: 15px; }
  .sz.is-fit .szb-axis { margin: 0 316px 0 216px; }
  .sz.is-fit .szb-grid + .szb-note { margin-top: 18px; }

  /* All dinosaurs: the heading and its lead in one row (the tools row as built); the note under the scrubber 24 px down,
     clear of the scrubber's thumb (Critique 7) */
  .sz.is-fit .sz3-foot { margin-top: 24px; }
}
/* under 1,600 px: the toolbar takes two lines in the sky (the headroom follows it) */
@media screen and (min-width: 1280px) and (max-width: 1599px) {
  .sz.is-fit .sz-stage-row > .sz-tools { flex-wrap: wrap; row-gap: 6px; max-width: 760px; }
}

/* ---------- Random dinosaurs (layout="fit", core 0.27.0, approval row 76, hand-off F2; Claude Design's prototype
   design/phase-1/canvas-3/source/ed76/ed76.css): the picks' fifth item, Slate with a Parchment ring, a 28 px die in Sunset
   Orange over its words in Bone White; under 1,280 px a full-width 48 px row button under the picks. The four picks ring in
   Sunset Orange for 1.4 s after a press; the die turns once (not under reduced motion). The live line beside the count
   line: "New line-up:" in Sunset Orange, the names in Bone White, 12/16. ---------- */
.sz-rand { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 132px; min-height: 78px; box-sizing: border-box; padding: 6px 14px; border: 0; border-radius: 12px;
  background: #121417; box-shadow: inset 0 0 0 1.5px rgba(201, 183, 154, .55); color: #F5F1E6; cursor: pointer; font: 700 12px/15px var(--font-heading, Montserrat, sans-serif); letter-spacing: .07em; text-transform: uppercase; text-align: center; transition: box-shadow .2s; }
.sz-rand[hidden] { display: none; }
.sz-rand svg { flex: none; width: 28px; height: 28px; fill: none; stroke: #F58A1F; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sz-rand svg .pip { fill: #F58A1F; stroke: none; }
.sz-rand:hover, .sz-rand:focus-visible { box-shadow: inset 0 0 0 1.5px #F58A1F, 0 0 22px -4px rgba(245, 138, 31, .7); }
.sz-rand:focus-visible { outline: 3px solid #F5F1E6; outline-offset: 3px; }
.sz-rand.is-busy svg { animation: sz-roll .5s ease-out; }
@keyframes sz-roll { from { transform: rotate(-180deg) scale(.8); } to { transform: none; } }
.sz.is-live .sz-pick.is-new { box-shadow: inset 0 0 0 2px #F58A1F; transition: box-shadow .3s; }
.sz-count-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; margin: 10px 0 0; }
.sz-count-row > .sz-count { margin: 0; }
.sz-rand-st { margin: 0; font: 400 12px/16px var(--font-body, 'Open Sans', sans-serif); color: #F5F1E6; }
.sz-rand-st b { font-weight: 700; color: #F58A1F; }
@media (max-width: 1279.98px) {
  .sz-rand { grid-column: 1 / -1; flex-direction: row; gap: 10px; width: 100%; min-height: 48px; }
  .sz-rand svg { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .sz-rand, .sz.is-live .sz-pick.is-new { transition: none; }
  .sz-rand.is-busy svg { animation: none; }
}
