/* TX Dad Creations: print bed after dark. See DESIGN.md beside site/. */
:root {
  --bed: #0E0F14;
  --panel: #171923;
  --panel-2: #20232F;
  --line: #2E3242;
  --cyan: #18D4F2;
  --violet: #7B4FE0;
  --magenta: #E21BD0;
  --text: #F4F1EA;
  --muted: #A9AEC2;
  --head: "Avenir Next Condensed", "DIN Alternate", Bahnschrift, "Roboto Condensed", "Arial Narrow", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 6px;
  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 40px; --s6: 64px; --s7: 96px;
  --wrap: 1180px;
  --layers: repeating-linear-gradient(to bottom, var(--cyan) 0 2px, transparent 2px 6px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bed); color: var(--text);
  font: 18px/1.6 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.08; margin: 0 0 var(--s3); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 var(--s3); }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.measure { max-width: 66ch; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--cyan); color: #000; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.label { font: 700 0.8rem/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); margin-bottom: var(--s3); display: block; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px;
  padding: 12px 22px; border-radius: var(--r); border: 2px solid var(--cyan);
  background: var(--cyan); color: #04121A; font: 700 1.05rem/1.2 var(--body);
  text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { color: #04121A; transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--magenta); }
.btn.ghost { background: transparent; color: var(--text); }
.btn.ghost:hover { color: var(--text); box-shadow: 4px 4px 0 var(--violet); }
.btn.violet { background: var(--violet); border-color: var(--violet); color: #fff; }
.btn.violet:hover { color: #fff; box-shadow: 4px 4px 0 var(--cyan); }
.btns { display: flex; flex-wrap: wrap; gap: var(--s3); }
.arrow { text-decoration: none; font-weight: 700; display: inline-block; padding: 6px 0; }
.arrow::after { content: "\2192"; display: inline-block; margin-left: 6px; transition: transform .15s; }
.arrow:hover::after { transform: translateX(4px); }

/* header */
.site-head { border-bottom: 1px solid var(--line); position: relative; z-index: 10; background: var(--bed); }
.site-head .wrap { display: flex; align-items: center; gap: var(--s4); min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); margin-right: auto; }
.brand img { width: 50px; height: 50px; border-radius: 50%; }
.wordmark { font: 700 1.05rem/1.05 var(--body); letter-spacing: 0.22em; text-transform: uppercase; text-shadow: 2px 0 0 rgba(226, 27, 208, .55); }
.wordmark small { display: block; font-size: 12px; letter-spacing: .16em; color: var(--cyan); text-shadow: none; margin-top: 4px; }
@media (max-width: 480px) {
  .brand { gap: 10px; }
  .brand img { width: 44px; height: 44px; }
  .wordmark { font-size: .9rem; letter-spacing: .12em; white-space: nowrap; }
  .wordmark small { display: none; }
}
.nav-toggle { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--s1); align-items: center; }
.nav a { display: block; padding: 10px 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 1rem; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--cyan); color: var(--text); }
.nav .live a { background: var(--violet); color: #fff; border-radius: var(--r); padding: 10px 16px; margin-left: var(--s2); border: 0; }
.nav .live a:hover { background: #6a3fd2; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--magenta); margin-right: 8px; box-shadow: 0 0 0 3px rgba(226, 27, 208, .3); }
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; background: transparent; color: var(--text); border: 2px solid var(--line); border-radius: var(--r); font: 700 1rem var(--body); cursor: pointer; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--panel); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: var(--s2) 20px var(--s4); }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav .live a { margin: var(--s3) 0 0; text-align: center; }
}

/* layer lines (from the TDC logo ring) */
.layers { height: 26px; background: var(--layers); opacity: .9; }
.framed { position: relative; }
.framed::before { content: ""; position: absolute; inset: -10px -10px auto auto; width: 60%; height: 50%; background: var(--layers); border-radius: var(--r); z-index: 0; opacity: .7; }
.framed > img, .framed > picture { position: relative; z-index: 1; border-radius: var(--r); }

/* home opening */
.open-sec { padding: var(--s4) 0 var(--s6); }
.open-grid { display: grid; gap: var(--s4); }
.open-h { max-width: 13ch; margin: 0; }
.open-h em { font-style: normal; color: var(--cyan); }
.open-copy .lede { font-size: 1.05rem; }
.open-copy .btns { margin-top: var(--s3); }
.open-h { order: 0; } .mosaic { order: 1; } .open-copy { order: 2; }
.open-copy .lede { font-size: 1.2rem; color: var(--muted); max-width: 40ch; }
.open-copy .lede strong { color: var(--text); }
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 44px; gap: 8px; position: relative; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.mosaic .m1 { grid-column: 1 / 5; grid-row: 1 / 4; }
.mosaic .m2 { grid-column: 5 / 7; grid-row: 1 / 4; object-position: 50% 40%; }
.mosaic .m3 { grid-column: 1 / 3; grid-row: 4 / 6; object-position: 40% 50%; }
.mosaic .m4 { grid-column: 3 / 5; grid-row: 4 / 6; }
.mosaic .m5 { grid-column: 5 / 7; grid-row: 4 / 6; }
.mosaic::after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 45%; height: 36%; background: var(--layers); z-index: -1; border-radius: var(--r); }
@media (min-width: 900px) {
  .open-sec { padding: var(--s6) 0; }
  .open-grid { grid-template-columns: 1fr 1.1fr; grid-template-areas: "h m" "c m"; column-gap: var(--s5); row-gap: var(--s4); }
  .open-h { grid-area: h; align-self: end; }
  .open-copy { grid-area: c; align-self: start; }
  .open-copy .lede { font-size: 1.2rem; }
  .mosaic { grid-area: m; grid-auto-rows: 84px; gap: 10px; align-self: center; }
}

/* print queue band */
.queue-band { background: var(--cyan); color: #04121A; }
.queue-band .wrap { display: grid; gap: var(--s3); padding: var(--s4) 0; align-items: center; }
.queue-band .q-state { font: 700 .85rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.queue-band .q-state::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #04121A; animation: blink 1.6s infinite; }
.queue-band strong { font: 700 clamp(1.4rem, 3vw, 2rem)/1.15 var(--head); display: block; }
.queue-band a { color: #04121A; font-weight: 700; }
.queue-band a:hover { color: #3b1a8f; }
@keyframes blink { 50% { opacity: .25; } }
@media (min-width: 860px) { .queue-band .wrap { grid-template-columns: auto 1fr auto; gap: var(--s5); } }

/* category index (rows, not cards) */
.index-sec { padding: var(--s7) 0 var(--s6); }
.index-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s3); margin-bottom: var(--s5); }
.index-head p { max-width: 44ch; color: var(--muted); margin: 0; }
.cat-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cat-list a {
  display: grid; grid-template-columns: 84px 1fr auto; gap: var(--s4); align-items: center;
  padding: var(--s3) 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none;
  transition: background .15s, padding .15s;
}
.cat-list img { width: 84px; height: 84px; object-fit: cover; border-radius: var(--r); }
.cat-list .name { font: 700 clamp(1.7rem, 4.5vw, 3rem)/1 var(--head); }
.cat-list .what { display: block; font: 400 1rem/1.4 var(--body); color: var(--muted); margin-top: 6px; }
.cat-list .count { color: var(--muted); font-size: .95rem; white-space: nowrap; }
.cat-list .count::after { content: "  \2192"; color: var(--cyan); }
.cat-list a:hover { background: var(--panel); padding-inline: var(--s3); }
.cat-list a:hover .name { color: var(--cyan); }
@media (max-width: 600px) {
  .cat-list a { grid-template-columns: 64px 1fr; }
  .cat-list img { width: 64px; height: 64px; }
  .cat-list .count { grid-column: 2; }
}

/* whatnot live panel */
.live-sec { padding: var(--s6) 0; }
.live-panel { background: var(--violet); color: #fff; border-radius: var(--r); padding: var(--s5) var(--s4); display: grid; gap: var(--s4); position: relative; }
.live-panel h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.live-panel .credit { font: 700 clamp(3.4rem, 10vw, 6.5rem)/0.9 var(--head); color: #fff; text-shadow: 4px 4px 0 var(--magenta); display: block; }
.live-panel p { max-width: 46ch; }
.live-panel a:not(.btn) { color: #fff; }
.live-panel .btn { background: #fff; border-color: #fff; color: #2A1466; }
.live-panel .btn:hover { color: #2A1466; box-shadow: 4px 4px 0 var(--cyan); }
.live-panel .btn.ghost { background: transparent; color: #fff; }
.live-panel .btn.ghost:hover { color: #fff; }
@media (min-width: 900px) {
  .live-panel { grid-template-columns: 1fr 1.2fr; margin-left: 12%; padding: var(--s6); align-items: center; }
}

/* most obvious name */
.name-sec { padding: var(--s7) 0; }
.quote-fig { margin: 0 0 var(--s6); display: grid; gap: var(--s5); align-items: center; }
.quote-fig > img { width: 180px; height: 180px; border-radius: 50%; border: 4px solid var(--cyan); box-shadow: 8px 8px 0 var(--violet); }
.big-quote { margin: 0; }
.big-quote p { font: 700 clamp(1.8rem, 4vw, 3rem)/1.12 var(--head); max-width: 24ch; margin: 0; text-wrap: balance; }
.big-quote p::before { content: "\201C"; color: var(--cyan); }
.big-quote p::after { content: "\201D"; color: var(--cyan); }
.quote-fig figcaption { font: 400 1rem var(--body); color: var(--muted); margin-top: var(--s3); }
@media (min-width: 860px) {
  .quote-fig { grid-template-columns: 1fr auto; }
  .quote-fig > img { width: 260px; height: 260px; margin-right: var(--s5); }
}
.trio { display: grid; gap: var(--s5); }
.trio h3 { font-size: 2rem; display: flex; align-items: center; gap: 12px; }
.trio h3::before { content: ""; width: 34px; height: 18px; background: var(--layers); }
.trio p { color: var(--muted); }
@media (min-width: 860px) { .trio { grid-template-columns: repeat(3, 1fr); } }

/* booth / follow along */
.booth-sec { padding: var(--s6) 0 var(--s7); }
.booth-grid { display: grid; gap: var(--s5); align-items: end; }
.booth-grid figcaption { color: var(--muted); font-size: .95rem; margin-top: var(--s3); }
@media (min-width: 900px) { .booth-grid { grid-template-columns: 1.7fr 1fr; } }

/* contact strip on home */
.touch-sec { background: var(--panel); padding: var(--s7) 0; border-top: 1px solid var(--line); }
.touch-grid { display: grid; gap: var(--s5); }
@media (min-width: 900px) { .touch-grid { grid-template-columns: 1fr 1.3fr; } }
.contact-lines { list-style: none; padding: 0; margin: var(--s4) 0 0; }
.contact-lines li { padding: var(--s3) 0; border-top: 1px solid var(--line); }
.contact-lines span { display: block; color: var(--muted); font-size: .9rem; }
.contact-lines a { font-weight: 700; font-size: 1.1rem; word-break: break-word; }

/* forms */
.form { display: grid; gap: var(--s3); }
.form .row { display: grid; gap: var(--s3); }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.form label, .form legend { font-weight: 700; font-size: 1rem; display: block; margin-bottom: 6px; }
.form .hint { font-weight: 400; color: var(--muted); font-size: .9rem; }
.form input, .form textarea, .form select {
  width: 100%; font: 18px/1.4 var(--body); color: var(--text); background: var(--bed);
  border: 2px solid var(--line); border-radius: var(--r); padding: 12px 14px; min-height: 50px;
}
.touch-sec .form input, .touch-sec .form textarea, .touch-sec .form select { background: var(--panel-2); }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(24, 212, 242, .3); }
.form fieldset { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chips label { margin: 0; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-block; padding: 10px 16px; border: 2px solid var(--line); border-radius: var(--r); font-weight: 600; cursor: pointer; min-height: 44px; }
.chips input:checked + span { background: var(--cyan); color: #04121A; border-color: var(--cyan); }
.chips input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.req { color: var(--cyan); }

/* inner page headers (each page picks one) */
.ph { padding: var(--s6) 0 var(--s5); }
.ph p.lede { font-size: 1.2rem; color: var(--muted); max-width: 52ch; }
.ph-split .wrap { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 860px) { .ph-split .wrap { grid-template-columns: 1.1fr 1fr; } }
.ph-wide { padding: 0; position: relative; }
.ph-wide img { width: 100%; max-height: 560px; object-fit: cover; }
.ph-wide .ph-card { background: var(--bed); padding: var(--s4) var(--s4) 0; margin-top: -90px; position: relative; max-width: 760px; border-top: 6px solid var(--cyan); border-radius: var(--r) var(--r) 0 0; }
@media (max-width: 700px) { .ph-wide .ph-card { margin-top: -30px; } }
.ph-band { border-bottom: 1px solid var(--line); }
.ph-band .layers { margin-bottom: var(--s5); }
.ph-type h1 { font-size: clamp(3rem, 10vw, 7rem); line-height: .92; }
.ph-type h1 span { color: var(--cyan); display: block; }

/* gallery */
.gallery-sec { padding: var(--s4) 0 var(--s7); }
.gallery { columns: 2 160px; column-gap: 10px; }
@media (min-width: 700px) { .gallery { columns: 3 220px; } }
@media (min-width: 1100px) { .gallery { columns: 4 240px; } }
.gallery button { display: block; width: 100%; padding: 0; margin: 0 0 10px; border: 0; background: var(--panel); border-radius: var(--r); cursor: zoom-in; break-inside: avoid; overflow: hidden; }
.gallery img { width: 100%; height: auto; transition: transform .25s, opacity .25s; }
.gallery button:hover img { transform: scale(1.03); }
.gallery button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.viewer { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; color: var(--text); }
.viewer::backdrop { background: rgba(5, 6, 10, .92); }
.viewer img { max-width: 92vw; max-height: 80vh; width: auto; border-radius: var(--r); margin: 0 auto; }
.viewer .vbar { display: flex; justify-content: center; gap: var(--s2); margin-top: var(--s3); align-items: center; }
.viewer button { min-width: 48px; min-height: 48px; border-radius: var(--r); border: 2px solid var(--line); background: var(--panel); color: var(--text); font: 700 1rem var(--body); cursor: pointer; padding: 0 16px; }
.viewer button:hover { border-color: var(--cyan); }
.viewer .vcount { color: var(--muted); min-width: 80px; text-align: center; font-size: .95rem; }

.note-box { border-left: 6px solid var(--cyan); background: var(--panel); padding: var(--s4); border-radius: 0 var(--r) var(--r) 0; margin: var(--s4) 0; }
.note-box p:last-child { margin: 0; }

/* product callouts */
.callouts { display: grid; gap: var(--s4); margin: var(--s5) 0; }
.callout { display: grid; grid-template-columns: 120px 1fr; gap: var(--s4); align-items: center; padding-top: var(--s4); border-top: 1px solid var(--line); }
.callout img { width: 120px; height: 150px; object-fit: cover; border-radius: var(--r); }
.callout h3 { margin-bottom: 6px; }
.callout p { margin: 0; color: var(--muted); }

/* article (about) */
.article { padding: var(--s5) 0 var(--s7); }
.chapter { display: grid; gap: var(--s5); padding: var(--s6) 0; border-top: 1px solid var(--line); align-items: center; }
.chapter h2 { font-size: clamp(3rem, 9vw, 6rem); line-height: .9; color: var(--cyan); }
.chapter .body { max-width: 62ch; font-size: 1.1rem; }
.chapter figure { margin: 0; }
.chapter figcaption { color: var(--muted); font-size: .9rem; margin-top: var(--s2); }
@media (min-width: 860px) {
  .chapter { grid-template-columns: 1fr 1.4fr; }
  .chapter.flip > figure { order: 2; }
}
.pull { font: 700 clamp(1.6rem, 3.5vw, 2.4rem)/1.2 var(--head); border-left: 6px solid var(--magenta); padding-left: var(--s4); margin: var(--s5) 0; max-width: 30ch; }

/* markets queue */
.queue { list-style: none; margin: 0; padding: 0; counter-reset: q; }
.queue li { display: grid; grid-template-columns: 110px 1fr; gap: var(--s4); padding: var(--s4) 0; border-top: 1px solid var(--line); align-items: start; }
.queue .when { font: 700 1.5rem/1.05 var(--head); color: var(--cyan); }
.queue .when small { display: block; font: 600 .8rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.queue h3 { margin-bottom: 4px; }
.queue p { margin: 0 0 var(--s2); color: var(--muted); }
.queue .links { display: flex; flex-wrap: wrap; gap: var(--s4); }
.queue li.done { opacity: .62; }
.queue li.done .when { color: var(--muted); }
.queue li.now { background: var(--panel); border-top: 4px solid var(--cyan); padding: var(--s4); border-radius: 0 0 var(--r) var(--r); }
.queue li.now .status { color: var(--cyan); }
.status { font: 700 .8rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; display: block; margin-bottom: var(--s2); color: var(--muted); }
@media (min-width: 700px) { .queue li { grid-template-columns: 170px 1fr; } }

/* video facade */
.video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--r); overflow: hidden; }
.video button { all: unset; position: absolute; inset: 0; cursor: pointer; display: grid; place-items: center; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.video .play { position: relative; z-index: 1; display: inline-flex; gap: 12px; align-items: center; background: var(--cyan); color: #04121A; font: 700 1.1rem var(--body); padding: 14px 22px; border-radius: var(--r); }
.video button:hover .play, .video button:focus-visible .play { box-shadow: 4px 4px 0 var(--magenta); }
.video button:focus-visible { outline: 3px solid var(--cyan); outline-offset: -3px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* pre-footer CTA */
.cta-band { border-top: 1px solid var(--line); padding: var(--s6) 0; }
.cta-band .wrap { display: grid; gap: var(--s4); align-items: center; }
.cta-band p { font: 700 clamp(1.7rem, 4vw, 2.6rem)/1.1 var(--head); margin: 0; max-width: 24ch; }
@media (min-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr auto; } }

/* footer */
.site-foot { background: #08090C; padding: 0 0 var(--s5); border-top: 1px solid var(--line); }
.site-foot .layers { height: 14px; opacity: .55; }
.foot-grid { display: grid; gap: var(--s5); padding: var(--s6) 0 var(--s5); }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.foot-me { display: flex; gap: var(--s4); align-items: center; }
.foot-me img { width: 96px; height: 96px; border-radius: 50%; border: 3px solid var(--cyan); }
.foot-me .tdc { font: 700 1.6rem/1.05 var(--head); }
.foot-me .tdc span { color: var(--cyan); }
.foot-me p { margin: 6px 0 0; color: var(--muted); font-size: .95rem; }
.site-foot h2 { font: 700 .8rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s3); }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li a { display: inline-block; padding: 6px 0; color: var(--text); text-decoration: none; }
.site-foot li a:hover { color: var(--cyan); text-decoration: underline; }
.site-foot li small { color: var(--muted); }
.foot-base { border-top: 1px solid var(--line); padding-top: var(--s4); color: var(--muted); font-size: .9rem; display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: space-between; }

/* 404 */
.lost { padding: var(--s7) 0; display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 860px) { .lost { grid-template-columns: 1fr 1.2fr; } }
.lost img { border-radius: var(--r); }

/* creations shelves (gallery index): photo-led, uneven widths */
.shelf-head { display: grid; gap: var(--s3); align-items: end; }
.shelf-head .lede { margin: 0; }
@media (min-width: 860px) { .shelf-head { grid-template-columns: auto 1fr; gap: var(--s5); } .shelf-head .lede { max-width: 36ch; justify-self: end; text-align: right; } }
.shelves { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
.shelves a { display: block; position: relative; color: var(--text); text-decoration: none; border-radius: var(--r); overflow: hidden; background: var(--panel); height: 100%; }
.shelves img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.shelves a:hover img { transform: scale(1.03); }
.shelf-text { display: block; padding: var(--s3) var(--s4) var(--s4); border-top: 4px solid var(--cyan); }
.shelves .name { display: block; font: 700 clamp(1.6rem, 3vw, 2.2rem)/1.05 var(--head); }
.shelves .what { display: block; color: var(--muted); font-size: 1rem; margin: 6px 0 var(--s2); }
.shelves .count { color: var(--cyan); font-weight: 700; font-size: .95rem; }
.shelves .count::after { content: " \2192"; }
.shelves a:hover .name { color: var(--cyan); }
@media (min-width: 640px) { .shelves { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .shelves { grid-template-columns: repeat(6, 1fr); }
  .shelves li { grid-column: span 2; }
  .shelves .shelf-dragons { grid-column: span 4; }
  .shelves .shelf-dragons img { aspect-ratio: 16 / 9; }
  .shelves .shelf-dragons .name { font-size: 3rem; }
  .shelves .shelf-dice-towers img { aspect-ratio: auto; height: 100%; max-height: none; }
  .shelves .shelf-dice-towers a { display: flex; flex-direction: column; }
  .shelves .shelf-dice-towers img { flex: 1; min-height: 0; }
  .shelves .shelf-death-whistles { grid-column: span 6; }
  .shelves .shelf-death-whistles a { display: grid; grid-template-columns: 1fr 2fr; }
  .shelves .shelf-death-whistles img { aspect-ratio: 16 / 9; height: 100%; }
  .shelves .shelf-death-whistles .shelf-text { border-top: 0; border-left: 4px solid var(--cyan); align-self: center; padding: var(--s4) var(--s5); }
}

/* markets: finished dates, compact */
.done-h { font: 700 1.5rem/1.1 var(--head); color: var(--muted); margin: var(--s6) 0 var(--s3); }
.done-list { list-style: none; margin: 0; padding: 0; }
.done-list li { display: grid; grid-template-columns: 110px 1fr; gap: 2px var(--s4); padding: var(--s3) 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 1rem; }
.done-list .d { font-family: var(--head); font-weight: 700; grid-row: span 3; }
.done-list .n { color: var(--text); font-weight: 600; }
.done-list .l { display: flex; flex-wrap: wrap; gap: 0 var(--s4); }
.done-list .l a { font-size: .95rem; }
@media (min-width: 900px) {
  .done-list li { grid-template-columns: 130px 1.2fr 1fr auto; align-items: baseline; }
  .done-list .d { grid-row: auto; }
}

/* custom orders */
.req-wrap .form, .req-wrap h2 { max-width: 820px; }
.form legend { padding: 0; }
@media (max-width: 859px) {
  .ph-split .framed { max-width: 100% !important; justify-self: stretch !important; }
  .ph-split .framed img { width: 100%; max-height: 280px; object-fit: cover; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
