/* customkicks: the customizer's bench. Primed off-white page, ink type, one vermillion paint accent for money, live and sold.
   Physical kit: black vinyl tape (captions, picker, slider), black gaffer tape (buttons), wet paint drips, paint-pen marker,
   shoebox end-labels with barcode + painter signature. One wide grotesk for every headline. */
:root {
  --bg: #F3F3F1; --ink: #141414; --grey: #6B6B6B; --muted: #A8A8A8; --line: #D9D9D5; --paint: #E0432B; --paper: #FFFFFF;
  --display: "Archivo", "Arial Black", Impact, sans-serif;
  --ui: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --marker: "Permanent Marker", "Comic Sans MS", cursive;
  --gutter: clamp(20px, 6.6vw, 96px);
  --maxw: 1440px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--ui); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.ink { color: var(--ink); } .grey { color: var(--grey); } .muted { color: var(--muted); } .red { color: var(--paint); }
.mono { font-family: var(--mono); }
.marker { font-family: var(--marker); }
:focus-visible { outline: 2px solid var(--paint); outline-offset: 3px; }

/* type */
.display { font-family: var(--display); font-stretch: 112%; font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; margin: 0; text-wrap: balance; }
.display.xl { font-size: clamp(38px, 4.75vw, 72px); }
.display.lg { font-size: clamp(34px, 3.9vw, 56px); }
.display.md { font-size: clamp(28px, 2.8vw, 40px); }
.lead { font-size: clamp(16px, 1.55vw, 22px); line-height: 1.35; margin: 24px 0 0; max-width: 34ch; font-weight: 600; }
.lead .grey { font-weight: 500; }
.sub { font-size: clamp(16px, 1.55vw, 22px); margin: 12px 0 0; font-weight: 600; }
.sub .grey { font-weight: 500; }
.body { font-size: clamp(16px, 1.45vw, 21px); line-height: 1.4; margin: 16px 0 0; }
.note { font-size: 15px; margin: 18px 0 0; }

/* nav */
.nav { display: flex; align-items: center; gap: 40px; height: 76px; border-bottom: 1px solid var(--line); max-width: none; padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); }
.wordmark { font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: 26px; letter-spacing: -0.045em; text-decoration: none; position: relative; white-space: nowrap; }
.wordmark .i { position: relative; display: inline-block; }
.wordmark .i img { position: absolute; width: 0.42em; left: 50%; top: -0.32em; transform: translateX(-46%); pointer-events: none; }
.links { display: flex; gap: 36px; }
.links a { color: var(--grey); text-decoration: none; font-size: 16px; }
.links a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--paint); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav .gaffer-sm { margin-left: auto; }

/* gaffer-tape buttons */
.gaffer { text-decoration: none; --h: 60px; display: inline-flex; align-items: center; justify-content: center; min-height: var(--h); padding: 0 34px; border: 0; cursor: pointer;
  background: url(/assets/gaffer.webp) center / 100% 100% no-repeat; color: #F6F6F4; font-family: var(--display); font-stretch: 85%; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; white-space: nowrap; transition: transform .12s ease; }
.gaffer:hover { transform: rotate(-1deg) translateY(-1px); }
.gaffer:active { transform: translateY(1px) scale(0.98); }
.gaffer-sm { --h: 48px; font-size: 17px; padding: 0 26px; }
.gaffer-off, .gaffer:disabled { filter: grayscale(1) brightness(1.9); color: #fff; cursor: not-allowed; transform: none; }
.outline { min-height: 56px; padding: 0 30px; border: 1.5px solid var(--ink); background: transparent; font-weight: 600; font-size: 18px; cursor: pointer; }
.outline:disabled { color: var(--muted); border-color: var(--muted); cursor: not-allowed; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: clamp(32px, 6vw, 80px) clamp(40px, 6vw, 72px); }
.drip-period { display: inline-block; width: 0.16em; position: relative; }
.drip-period img { position: absolute; width: 0.24em; left: -0.02em; top: -0.22em; }
.design-form { margin-top: 34px; }
.picker { display: flex; gap: 14px; flex-wrap: wrap; }
.tape-tab { position: relative; border: 0; cursor: pointer; padding: 12px 22px 10px; min-height: 52px; background: url(/assets/tape-h.webp) center / 100% 100% no-repeat; color: #F4F4F2; font: 400 21px/1 var(--marker); letter-spacing: 0.01em; transform: rotate(var(--t, -0.8deg)); }
.tape-tab:nth-child(2) { --t: 0.6deg; } .tape-tab:nth-child(3) { --t: -0.4deg; }
.tape-tab[aria-checked="true"]::after { content: ""; position: absolute; left: 18%; right: 14%; bottom: 7px; height: 4px; border-radius: 3px; background: var(--paint); transform: rotate(-2deg); }
.tape-tab[aria-checked="false"] { opacity: 0.86; }
.tape-tab:hover { opacity: 1; }
.ticket-row { display: flex; align-items: stretch; margin-top: 16px; max-width: 640px; }
.ticket { flex: 1; min-width: 0; display: flex; align-items: center; position: relative; background: var(--paper); border: 1px solid #CFCFCA; box-shadow: 0 1px 0 rgba(20,20,20,.06), 0 6px 18px -12px rgba(20,20,20,.35); padding-left: 48px; }
.ticket::before { content: ""; position: absolute; left: 16px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 1px 2px rgba(0,0,0,.35); }
.ticket::after { content: ""; position: absolute; left: 40px; top: 6px; bottom: 6px; border-left: 1px dashed #CFCFCA; }
.ticket input { width: 100%; border: 0; background: transparent; font: 400 15px var(--mono); color: var(--ink); padding: 18px 14px; outline: none; min-width: 0; }
.ticket-row .gaffer { margin-left: -6px; }
.helper { margin: 12px 0 0; color: var(--grey); font-size: 15px; }

.hero-art { position: relative; padding-top: 64px; }
.prompt-line { color: var(--grey); font-size: 15px; margin: 0; }
.hero-art .prompt-line { position: absolute; right: 0; top: 0; max-width: 340px; text-align: left; }
.hand-arrow { position: absolute; width: 74px; right: 108px; top: 38px; transform: rotate(18deg) scaleX(-1); pointer-events: none; }
.compare { position: relative; user-select: none; touch-action: pan-y; }
.compare img { width: 100%; height: auto; pointer-events: none; }
.compare-paint { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare-handle { position: absolute; top: -8%; bottom: -4%; left: var(--pos); width: 52px; margin-left: -26px; border: 0; padding: 0; background: none; cursor: ew-resize; }
.compare-handle img { height: 100%; width: auto; margin-inline: auto; filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); }
.sold { position: absolute; width: 40%; left: -4%; top: 2%; transform: rotate(-6deg); pointer-events: none; filter: drop-shadow(0 2px 1px rgba(120,20,10,.18)); }
.sold-note { position: absolute; left: 12%; top: 40%; font-size: 22px; transform: rotate(-12deg); pointer-events: none; }

/* shoebox label */
.label { position: relative; display: flex; align-items: stretch; background: var(--paper); border: 1px solid var(--ink); margin-top: 18px; max-width: 100%; }
.label::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; border-top: 3px dotted var(--ink); background: var(--bg); height: 0; }
.label .f { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 14px 16px 12px; border-right: 1px solid var(--line); min-width: 0; }
.label .f:last-of-type { border-right: 0; }
.label small { font: 500 11px var(--mono); letter-spacing: 0.12em; color: var(--grey); }
.label b { font: 400 15px var(--mono); white-space: nowrap; }

.label .bar { margin-left: auto; border-left: 1px solid var(--ink); padding: 10px 12px 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font: 500 12px var(--mono); }
.label .bar svg { width: 72px; height: 40px; display: block; }
.label .sig { position: absolute; width: 112px; right: 98px; bottom: -40px; transform: rotate(-8deg); pointer-events: none; mix-blend-mode: multiply; opacity: .92; }
.label-hero .f:nth-child(4) { padding-right: 56px; }
.label-hero { margin-top: 14px; }
.label-hero .f { padding: 12px 12px 10px; }
.label-hero b { font-size: 13.5px; }
.label-hero small { font-size: 10px; letter-spacing: .1em; white-space: nowrap; }
.label-hero .bar { padding: 8px 10px; }
.label-hero .bar svg { width: 62px; height: 34px; }

/* sections */
.sec { padding-block: clamp(56px, 8vw, 120px) 0; }
.filter-tape { display: inline-flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 40px); align-items: center; margin-top: 30px; padding: 14px 34px 12px; background: url(/assets/tape-h.webp) center / 100% 100% no-repeat; transform: rotate(-0.6deg); }
.filter-tape button { border: 0; background: none; color: #F4F4F2; font: 400 clamp(17px, 1.7vw, 24px)/1 var(--marker); cursor: pointer; padding: 6px 8px; position: relative; }
.filter-tape button[aria-selected="true"]::after { content: ""; position: absolute; inset: -4px -10px; border: 2.5px solid #F4F4F2; border-radius: 50%; transform: rotate(-4deg); }
.wall { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 26vw, 380px); gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 40px 6px 16px; margin-inline: calc(var(--gutter) * -0.2); scrollbar-width: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.wall::-webkit-scrollbar, .mine-row::-webkit-scrollbar { display: none; }
[data-drag].dragging { cursor: grabbing; }
[data-drag].dragging .pin, [data-drag].dragging .mine-card { pointer-events: none; }
[data-drag] img { -webkit-user-drag: none; }
.pin { margin: 0; position: relative; transform: rotate(var(--r)); scroll-snap-align: start; transition: transform .2s ease; }
.pin:hover { transform: rotate(0deg) translateY(-4px); }
.pin[hidden] { display: none; }
.pin > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 7px solid var(--paper); box-shadow: 0 10px 22px -14px rgba(20,20,20,.55); }
.tack { position: absolute; top: -12px; width: 64px; height: 30px; background: url(/assets/tape-short.webp) center / contain no-repeat; z-index: 2; }
.tack.l { left: -10px; transform: rotate(-24deg); } .tack.r { right: -10px; transform: rotate(22deg); }
.tape-cap { position: relative; margin: -16px -6px 0 4px; padding: 18px 22px 16px; background: url(/assets/tape-h.webp) center / 100% 100% no-repeat; color: #F4F4F2; transform: rotate(-1.2deg); display: grid; gap: 2px; font-family: var(--marker); }
.tape-cap b { font-weight: 400; font-size: 21px; }
.tape-cap i { font-style: normal; font-size: 15px; opacity: 0.95; }
.tape-cap em { font-style: normal; font-size: 22px; }
.tape-cap em.red { color: #FF5A3D; }
.wall-link { display: inline-block; margin-top: 20px; font-size: 21px; text-decoration: none; border-bottom: 2px solid var(--ink); }
.examples { font-size: 13px; margin: 14px 0 0; }

.bases { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; margin-top: 40px; align-items: end; }
.base-col { display: grid; gap: 40px; }
.base img { width: 100%; height: auto; }
.base-big img { max-width: 640px; }

.how { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 56px; margin-top: 44px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; }
.steps button { width: 100%; text-align: left; border: 0; background: none; padding: 22px 0 22px 44px; cursor: pointer; display: grid; gap: 4px; position: relative; }
.steps b { font-size: 23px; font-weight: 700; color: var(--grey); letter-spacing: -0.01em; }
.steps .d { color: var(--grey); font-size: 16px; }
.steps b span { font: inherit; color: inherit; }
.steps button[aria-selected="true"] b { color: var(--ink); }
.steps button[aria-selected="true"]::before { content: "\2713"; position: absolute; left: 4px; top: 16px; font: 400 34px/1 var(--marker); color: var(--paint); }
.frag[hidden] { display: none; }
.drawing { position: relative; margin-top: 14px; max-width: 760px; }
.okpaint { position: absolute; width: 34%; right: -2%; top: -14%; pointer-events: none; }
.frag-row { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 24px; align-items: end; margin-top: 18px; }
.dabs { position: relative; width: min(100%, 400px); }
.dabs { padding-bottom: 28px; }
.dabs span { position: absolute; bottom: 0; transform: translateX(-50%); color: var(--ink); font: 400 16px var(--marker); white-space: nowrap; }
.dabs span:nth-of-type(1) { left: 21%; } .dabs span:nth-of-type(2) { left: 51%; } .dabs span:nth-of-type(3) { left: 80%; }
.label-sm { margin-top: 0; }
.label-sm .f { flex: 1 1 auto; }
.label-sm b { font-size: 14px; }
.ticket-big { max-width: 560px; margin-top: 10px; min-height: 76px; padding-left: 56px; }
.ticket-big .ref { width: 56px; height: 56px; object-fit: cover; margin-right: 14px; }
.ticket-big .mono { font-size: 17px; }
.frag-note { margin: 14px 0 0; }
.fork-mini { display: flex; gap: 18px; margin-top: 12px; }
.lot-mini { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 34px; letter-spacing: -0.04em; padding: 14px 26px; background: var(--paper); border: 1px solid var(--ink); }
.lot-mini.dark { background: url(/assets/gaffer.webp) center / 100% 100%; color: #F4F4F2; border: 0; }

.call { display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; }
.wear { padding-right: 56px; border-right: 1px solid var(--line); }
.flip { padding-left: 64px; }
.boxshot { position: relative; margin-top: 18px; max-width: 600px; }
.label-box { position: absolute; left: 10%; bottom: 7%; transform: scale(0.82); transform-origin: left bottom; margin: 0; }
.label-box .sig { right: 92px; width: 120px; }
.lot { position: relative; width: min(100%, 520px); }
.lot h3.display { position: absolute; left: 36%; top: 50%; transform: translateY(-56%) rotate(-1.5deg); font-size: clamp(40px, 5vw, 76px); }
.receipt { position: relative; margin-top: 22px; width: min(100%, 420px); background: #FBFBF9; padding: 30px 30px 32px; font: 400 18px/1.55 var(--mono); transform: rotate(1.2deg); box-shadow: 0 14px 26px -18px rgba(20,20,20,.5);
  --z: 9px; clip-path: polygon(0 var(--z), 5% 0, 10% var(--z), 15% 0, 20% var(--z), 25% 0, 30% var(--z), 35% 0, 40% var(--z), 45% 0, 50% var(--z), 55% 0, 60% var(--z), 65% 0, 70% var(--z), 75% 0, 80% var(--z), 85% 0, 90% var(--z), 95% 0, 100% var(--z), 100% calc(100% - var(--z)), 95% 100%, 90% calc(100% - var(--z)), 85% 100%, 80% calc(100% - var(--z)), 75% 100%, 70% calc(100% - var(--z)), 65% 100%, 60% calc(100% - var(--z)), 55% 100%, 50% calc(100% - var(--z)), 45% 100%, 40% calc(100% - var(--z)), 35% 100%, 30% calc(100% - var(--z)), 25% 100%, 20% calc(100% - var(--z)), 15% 100%, 10% calc(100% - var(--z)), 5% 100%, 0 calc(100% - var(--z))); }
.receipt p { display: flex; justify-content: space-between; margin: 0; font-variant-numeric: tabular-nums; }
.receipt .r-head { border-bottom: 1px solid var(--ink); padding-bottom: 8px; margin-bottom: 10px; letter-spacing: 0.04em; }
.receipt .net { border-top: 1.5px dashed var(--ink); margin-top: 10px; padding-top: 12px; font-weight: 500; font-size: 22px; }
.circled { position: relative; }
.circled img { position: absolute; left: -22%; top: -38%; width: 150%; max-width: none; pointer-events: none; }

.kicks { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.buy-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.kicks .mono.muted { margin: 12px 0 0; font-size: 15px; }
.hangtag { position: relative; width: min(100%, 420px); justify-self: end; transform: rotate(-4deg); }
.hangtag b { position: absolute; left: 14%; top: 50%; font-size: clamp(40px, 5vw, 72px); transform: rotate(10deg); }
.hangtag span { position: absolute; left: 16%; top: 70%; font-size: 15px; letter-spacing: 0.06em; transform: rotate(10deg); }

.foot { margin-top: clamp(72px, 9vw, 128px); position: relative; padding-bottom: 40px; }
.drips { display: block; width: 100%; height: clamp(80px, 8vw, 120px); background: url(/assets/drip-row.webp) 0 0 / auto 100% repeat-x, url(/assets/drip-row.webp) 41% 0 / auto 64% repeat-x; transform: scaleX(-1); }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; }
.fine { font-size: 13px; color: var(--grey); margin-top: 16px; }

/* studio dialog */
.studio { border: 0; padding: 0; background: var(--bg); width: min(880px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.studio::backdrop { background: rgba(20,20,20,.55); }
.studio-in { padding: 34px clamp(20px, 4vw, 44px) 32px; position: relative; }
.x { position: absolute; right: 16px; top: 10px; border: 0; background: none; font-size: 34px; cursor: pointer; line-height: 1; }
.studio-meta { color: var(--grey); margin: 10px 0 0; font-size: 14px; overflow-wrap: anywhere; }
.studio-stage { position: relative; min-height: 260px; display: grid; place-items: center; margin-top: 16px; }
.studio-loading { display: grid; justify-items: center; gap: 14px; font-size: 26px; }
.studio-loading img { width: 160px; animation: wob 1.1s ease-in-out infinite; }
@keyframes wob { 50% { transform: rotate(-6deg) translateY(-6px); } }
.studio-result { display: none; width: 100%; }
.studio-stage[data-stage="done"] .studio-loading { display: none; }
.studio-stage[data-stage="done"] .studio-result { display: block; }
.studio-note { color: var(--grey); font-size: 15px; margin: 16px 0 0; }
.studio-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* phone */
@media (max-width: 900px) {
  .nav { gap: 16px; height: 64px; }
  .nav .links { display: none; }
  .wordmark { font-size: 21px; }
  .nav .gaffer-sm { --h: 42px; font-size: 15px; padding: 0 18px; }
  .hero { grid-template-columns: 1fr; gap: 22px; padding-top: 24px; }
  .hero-art { order: 2; padding-top: 34px; }
  .hero-copy { display: contents; }
  .hero-copy h1 { order: 0; } .hero-copy .lead { order: 1; margin-top: 0; } .design-form { order: 3; margin-top: 0; }
  .hero-art .prompt-line { left: 0; right: auto; font-size: 13px; }
  .hand-arrow { width: 44px; right: auto; left: 46%; top: 16px; }
  .sold { width: 48%; left: -2%; top: 18%; }
  .sold-note { font-size: 16px; left: 8%; top: 64%; }
  .label-hero { display: none; }
  .picker { gap: 8px; flex-wrap: nowrap; }
  .tape-tab { flex: 1; font-size: 14px; padding: 10px 6px 8px; min-height: 46px; white-space: nowrap; }
  .ticket-row { flex-direction: column; }
  .ticket-row .gaffer { margin: 8px 0 0; width: 100%; --h: 62px; font-size: 22px; }
  .helper { text-align: center; }
  .wall { grid-auto-columns: 78%; }
  .bases { grid-template-columns: 1fr; gap: 28px; }
  .how { grid-template-columns: 1fr; gap: 18px; }
  .steps { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; }
  .steps li { border: 0; flex: 1; }
  .steps button { padding: 12px 8px; text-align: center; }
  .steps button .d { display: none; }
  .steps b { font-size: 14px; white-space: nowrap; }
  .steps b .long { display: none; }
  .steps button[aria-selected="true"]::before { content: ""; left: 18%; right: 18%; top: auto; bottom: 2px; height: 3px; background: var(--paint); }
  .label { flex-wrap: wrap; } .label .f { flex: 1 1 40%; border-right: 0; border-bottom: 1px solid var(--line); }
  .label .bar { flex: 1 1 100%; flex-direction: row; gap: 10px; border-left: 0; }
  .label .sig { right: 16px; top: auto; bottom: 8px; transform: rotate(-6deg); width: 110px; }
  .label-sm { min-width: 0; }
  .frag-row { grid-template-columns: 1fr; }
  .call { grid-template-columns: 1fr; }
  .wear { padding: 0 0 36px; border-right: 0; border-bottom: 1px solid var(--line); }
  .flip { padding: 36px 0 0; }
  .body br { display: none; }
  .label-box { position: static; transform: none; margin-top: 10px; }
  .kicks { grid-template-columns: 1fr; }
  .kicks .hangtag { order: -1; justify-self: start; width: 260px; }
  .buy-row button { width: 100%; }
  .foot-row { flex-direction: column; align-items: flex-start; }
}

/* ---------- studio ---------- */
.mlabel { display: block; font: 500 12px var(--mono); letter-spacing: 0.14em; color: var(--grey); margin: 0 0 10px; padding: 0; }
.studio-head { display: flex; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-top: 40px; }
.label-access { margin: 0; }
.label-access::after { content: none; }
.studio-gate { color: var(--grey); margin: 14px 0 0; max-width: 70ch; }
.studio-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; margin-top: 32px; align-items: start; }
.block { border: 0; margin: 0 0 26px; padding: 0; min-width: 0; }
.block-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 26px; }
.base-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.base-pick button { border: 2px solid transparent; background: #ECECEA; padding: 10px 6px 0; cursor: pointer; display: grid; gap: 6px; position: relative; }
.base-pick button img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; }
.base-pick button[aria-checked="true"] { border-color: var(--ink); background: var(--paper); }
.tape-name { display: block; margin: 0 -8px -6px; padding: 9px 8px 7px; background: url(/assets/tape-h.webp) center / 100% 100% no-repeat; color: #F4F4F2; font: 400 clamp(13px, 1.3vw, 18px)/1 var(--marker); white-space: nowrap; position: relative; }
.base-pick button[aria-checked="true"] .tape-name::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 3px; height: 3px; background: var(--paint); border-radius: 2px; }
.ticket-area { align-items: stretch; padding-left: 48px; }
.ticket-area textarea { width: 100%; border: 0; background: transparent; resize: vertical; font: 400 16px/1.5 var(--mono); color: var(--ink); padding: 16px 14px; outline: none; min-height: 112px; }
.polaroid { position: relative; display: grid; place-items: center; min-height: 176px; background: var(--paper); border: 1.5px dashed #9C9C98; padding: 12px 12px 34px; cursor: pointer; box-shadow: 0 8px 18px -14px rgba(20,20,20,.5); transform: rotate(1deg); }
.polaroid.over { border-color: var(--paint); }
.polaroid img { width: 100%; max-height: 180px; object-fit: cover; }
.pol-empty { display: grid; justify-items: center; gap: 4px; color: var(--grey); text-align: center; }
.pol-empty b { font-weight: 400; font-size: 20px; color: var(--ink); }
.pol-empty .mono { font-size: 13px; }
.pol-meta { position: absolute; left: 12px; right: 12px; bottom: 8px; font-size: 13px; display: flex; justify-content: space-between; gap: 8px; }
.linkish { border: 0; background: none; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }
.gaffer-wide { width: 100%; --h: 66px; font-size: 24px; }
.err { color: var(--paint); font-weight: 600; margin: 12px 0 0; }
.result .stage { position: relative; min-height: 300px; display: grid; place-items: center; }
.stage img { width: 100%; }
.stage-out { display: none; }
.stage[data-stage="done"] .stage-base { display: none; }
.stage[data-stage="done"] .stage-out { display: block; }
.stage[data-stage="empty"] .stage-base { opacity: 0.55; }
.stage[data-stage="busy"] .stage-base { opacity: 0.35; filter: grayscale(1); }
.stage-busy { display: none; position: absolute; inset: 0; place-items: center; align-content: center; gap: 6px; text-align: center; }
.stage-busy .marker { font-size: 30px; }
.stage-busy .mono { color: var(--grey); font-size: 13px; }
.stage[data-stage="busy"] .stage-busy { display: grid; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }
.label-result { margin-top: 10px; }
.label-result .sig { right: 104px; }
.result-actions { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.result-actions .gaffer { flex: 1; min-width: 200px; }
.result-actions .gaffer:disabled { filter: none; opacity: .75; }
.queued { margin: 14px 0 0; color: var(--ink); font-weight: 600; }
.mine { margin-top: 56px; }
.mine-row { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(200px, 22vw, 290px); gap: 24px; overflow-x: auto; padding: 20px 4px 10px; scrollbar-width: none; cursor: grab; user-select: none; -webkit-user-select: none; scroll-snap-type: x mandatory; }
.mine-card { scroll-snap-align: start; }
.mine-card { position: relative; border: 0; background: var(--paper); padding: 8px 8px 0; cursor: pointer; text-align: left; box-shadow: 0 10px 20px -14px rgba(20,20,20,.5); }
.mine-card:nth-child(odd) { transform: rotate(-1.5deg); } .mine-card:nth-child(even) { transform: rotate(1.2deg); }
.mine-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: var(--bg); }
.mine-card .tape-cap { margin: -8px -14px 0; padding: 12px 16px 10px; grid-template-columns: auto 1fr; gap: 10px; align-items: baseline; }
.mine-card .tape-cap em { font-size: 16px; text-align: right; }
@media (max-width: 900px) {
  .studio-grid { grid-template-columns: 1fr; gap: 34px; }
  .block-row { grid-template-columns: 1fr; }
  .studio-head { gap: 16px; }
  .mine-row { grid-auto-columns: 70%; }
}

/* ---------- the wall (marketplace) ---------- */
.wall-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-top: 44px; }
.label-show { margin: 0; }
.label-show b { font-size: 16px; }
.wall-filters { margin-top: 30px; }
.market { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 56px 34px; margin: 48px 0 20px; }
.pin.mk { scroll-snap-align: none; }
.mk-go { display: inline-block; margin: 14px 0 0 6px; font-size: 19px; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--paint); }
.links a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--paint); text-underline-offset: 6px; text-decoration-thickness: 2px; }
