/* Self-hosted fonts (SIL OFL 1.1, via Fontsource). No third-party requests from any DeadDrop page. */
@font-face { font-family: "Zalando Sans Expanded"; font-weight: 900; font-display: swap; src: url(fonts/zalando-sans-expanded-latin-900-normal.woff2) format("woff2"); }
@font-face { font-family: "Doto"; font-weight: 900; font-display: swap; src: url(fonts/doto-latin-900-normal.woff2) format("woff2"); }
@font-face { font-family: "Martian Mono"; font-weight: 400; font-display: swap; src: url(fonts/martian-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Martian Mono"; font-weight: 500; font-display: swap; src: url(fonts/martian-mono-latin-500-normal.woff2) format("woff2"); }

/* DeadDrop, powered by VizuDraft. Cyber-industrial techwear: acid lime on black, a chamfered access card,
   HUD crosshairs, barcodes and spec blocks. The real ciphertext is the wallpaper,
   and the right six words dissolve it into the manifest. Single dark look, by design. */
:root {
  color-scheme: dark;
  --bg: #0a0b09;
  --ink: #eceee6;
  --dim: #7c8276;
  --line: #22251f;
  --panel: #111310;
  --acid: #d4ff00;
  --acid-ink: #0a0b09;
  --display: "Zalando Sans Expanded", "Archivo Black", "Arial Black", sans-serif;
  --dot: "Doto", "Martian Mono", ui-monospace, monospace;
  --mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gut: 20px;
  --cut: 28px;
}
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; }
html { height: 100%; }
html, body { margin: 0; }
body { min-height: 100%; background: var(--bg); color: var(--ink); font-family: var(--mono); font-size: 13px; line-height: 1.6; display: flex; flex-direction: column; }
*, *::before, *::after { box-sizing: border-box; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--acid); outline-offset: 3px; }
::selection { background: var(--acid); color: var(--acid-ink); }
svg.logo { display: block; fill: currentColor; aspect-ratio: 1595.2 / 720; }
svg.logo.sm { aspect-ratio: 1617.8 / 720; }
.micro { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5; }
.bc { display: block; height: 22px; fill: currentColor; shape-rendering: crispEdges; }

#static { position: fixed; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; opacity: .42; transition: opacity 1.2s ease; pointer-events: none; }
body.open #static { opacity: .05; }

/* ---------- HUD frame: corner crosshairs + side rails ---------- */
.hud { position: fixed; inset: 10px; pointer-events: none; z-index: 1; }
.hud i { position: absolute; width: 13px; height: 13px; }
.hud i::before, .hud i::after { content: ""; position: absolute; background: var(--dim); }
.hud i::before { left: 6px; top: 0; width: 1px; height: 13px; }
.hud i::after { top: 6px; left: 0; height: 1px; width: 13px; }
.hud i:nth-child(1) { left: 0; top: 0; } .hud i:nth-child(2) { right: 0; top: 0; }
.hud i:nth-child(3) { left: 0; bottom: 0; } .hud i:nth-child(4) { right: 0; bottom: 0; }
.rail { position: absolute; top: 50%; color: var(--dim); writing-mode: vertical-rl; white-space: nowrap; }
.rail.l { left: 0; transform: translateY(-50%) rotate(180deg); } .rail.r { right: 0; transform: translateY(-50%); }
@media (max-width: 700px) { .rail { display: none; } }

/* ---------- top line ---------- */
.topline { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px 22px; flex-wrap: wrap; padding: 22px calc(var(--gut) + 14px) 0; color: var(--dim); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand svg { width: 40px; height: auto; color: var(--acid); }
.brand span { font-family: var(--display); font-weight: 900; font-size: 13px; letter-spacing: .02em; text-transform: uppercase; }
.topline .sys { display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; }
.topline b { color: var(--acid); font-weight: 400; }
.led { display: inline-block; width: 7px; height: 7px; background: var(--acid); margin-right: 7px; vertical-align: 1px; animation: blink 1.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: .15; } }

/* ---------- gate ---------- */
#gate { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; padding-inline: var(--gut); }
.gate-main { flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 860px; width: 100%; margin-inline: auto; padding-block: 36px; }

.card { position: relative; background: var(--acid); color: var(--acid-ink); padding: 22px 24px 20px; display: grid; gap: 22px;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }
.card-top { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: start; }
.card-top .sigil { width: clamp(132px, 28vw, 216px); height: auto; margin: -6px 0 -10px -6px; }
.card-top .kana { font-size: 11px; letter-spacing: .3em; writing-mode: vertical-rl; font-weight: 500; }
.card-top .spec { display: grid; gap: 2px; justify-items: end; text-align: right; }
.card-top .spec .bc { width: 120px; margin-bottom: 6px; }
.word { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(54px, 15.5vw, 132px); line-height: .84; letter-spacing: -.035em; margin: 0; }
.word span { display: block; }
.word .cur { display: inline-block; width: .5em; height: .1em; background: currentColor; margin-left: .06em; animation: blink 1.1s steps(1) infinite; }
.chev { display: flex; gap: 3px; }
.chev i { width: 14px; height: 14px; background: currentColor; clip-path: polygon(0 0, 45% 0, 100% 50%, 45% 100%, 0 100%, 55% 50%); }

form { display: grid; gap: 8px; }
.prompt { margin: 0; font-weight: 500; }
.field { display: flex; align-items: center; gap: 12px; background: var(--acid-ink); color: var(--acid); padding: 12px 14px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
#word { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--ink); font-size: clamp(14px, 3.4vw, 18px); letter-spacing: .02em; caret-color: var(--acid); }
.field .chev i { width: 10px; height: 10px; }
.field.busy #word { color: var(--dim); }
.field.busy .chev i { animation: blink .5s steps(1) infinite; }
.field.busy .chev i:nth-child(2) { animation-delay: .15s; } .field.busy .chev i:nth-child(3) { animation-delay: .3s; }
.card-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 22px; border-top: 1.5px solid var(--acid-ink); padding-top: 10px; }
.card-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.card-foot li::before { content: ""; display: inline-block; width: 7px; height: 7px; background: currentColor; margin-right: 7px; vertical-align: 1px; }
.card-foot .bc { width: 150px; }

.proto { position: relative; max-width: 860px; width: 100%; margin-inline: auto; padding-block: 0 24px; color: var(--dim); font-size: 11px; }
.proto summary { cursor: pointer; letter-spacing: .14em; text-transform: uppercase; }
.proto ul { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px; }
.proto li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.proto code { color: var(--ink); font-family: inherit; }
.proto p { margin: 10px 0 0; max-width: 60ch; }
.chip { background: none; border: 1px solid var(--line); padding: 5px 12px; cursor: pointer; letter-spacing: .1em; text-transform: uppercase; font-size: 10.5px; }
.chip:hover { border-color: var(--acid); color: var(--acid); }

/* ---------- ticker ---------- */
.ticker { position: relative; z-index: 2; background: var(--acid); color: var(--acid-ink); overflow: hidden; white-space: nowrap; padding: 6px 0; font-weight: 500; }
.ticker div { display: inline-flex; animation: crawl 38s linear infinite; }
.ticker span { padding-right: 2.4em; }
@keyframes crawl { to { transform: translateX(-50%); } }

/* ---------- catalog ---------- */
#catalog { position: relative; z-index: 2; flex: 1; width: 100%; max-width: 1160px; margin-inline: auto; padding: 28px var(--gut) 56px; display: flex; flex-direction: column; gap: 26px; }
.mast { display: grid; grid-template-columns: auto 1fr; gap: 18px 32px; align-items: end; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.mast h1 { font-family: var(--dot); font-weight: 900; text-transform: uppercase; color: var(--acid); font-size: clamp(38px, 11vw, 150px); line-height: .85; letter-spacing: -.02em; margin: 0; white-space: nowrap; grid-column: 1 / -1; }
.mast h1::after { content: "_"; animation: blink 1.1s steps(1) infinite; }
.pass { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; border: 1px solid var(--line); background: var(--panel); }
.pass div { padding: 10px 16px; border-right: 1px solid var(--line); }
.pass div:last-child { border-right: 0; }
.pass small { display: block; color: var(--dim); font-size: inherit; }
.pass b { display: block; font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: -.03em; margin-top: 6px; }
.cleared { grid-column: 1 / -1; margin: 0 0 -6px; color: var(--dim); }
.cleared b { color: var(--acid); font-weight: 400; }
.co { grid-column: 1 / -1; margin: 0 0 -12px; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(18px, 3vw, 28px); letter-spacing: -.02em; }
.note { margin: 0; color: var(--dim); max-width: 60ch; }
@media (max-width: 760px) { .mast { grid-template-columns: 1fr; } }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.item { position: relative; background: var(--bg); padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
body.open .item { animation: rise .6s ease both; animation-delay: calc(var(--i) * 70ms); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.item .top { display: flex; justify-content: space-between; align-items: center; color: var(--dim); }
.item .top b { color: var(--acid); font-weight: 400; }
.shot { position: relative; background: var(--panel); padding: 18px 0 10px; color: var(--acid); transition: background .25s, color .25s;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); }
.shot::before, .shot::after { content: "+"; position: absolute; top: 4px; font-size: 12px; line-height: 1; color: var(--dim); }
.shot::before { left: 7px; } .shot::after { right: 22px; }
.shot .exh { position: absolute; left: 8px; bottom: 6px; color: var(--dim); }
.shot .chev { position: absolute; right: 10px; bottom: 9px; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.shot .chev i { width: 9px; height: 9px; }
.item svg.art { width: 100%; height: 170px; display: block; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; transition: transform .35s ease; }
.item svg.art .fill { fill: currentColor; fill-opacity: .14; }
.item:hover .shot { background: var(--acid); color: var(--acid-ink); }
.item:hover .shot::before, .item:hover .shot::after, .item:hover .exh { color: var(--acid-ink); }
.item:hover .shot .chev { opacity: 1; transform: none; }
.item:hover svg.art { transform: translateY(-4px) rotate(-1.5deg); }
/* photos: decrypted into a canvas, so there is no image URL to copy and no "Save image as" */
.shot, .shot * { user-select: none; -webkit-user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; }
.shot.photo { padding: 0; background: #1b1c1a; overflow: hidden; }
.shot canvas { display: block; width: 100%; aspect-ratio: 1; transition: transform .5s ease; }
.shot.photo::before, .shot.photo::after, .shot.photo .exh, .shot.photo .chev { z-index: 1; }
.shot .state { position: absolute; inset: 0; display: grid; place-items: center; color: var(--dim); }
.shot .frame { position: absolute; inset: 0; border: 1px solid var(--acid); opacity: 0; transition: opacity .25s; pointer-events: none; }
.item:hover .shot.photo { background: #1b1c1a; color: var(--acid); }
.item:hover .shot.photo::before, .item:hover .shot.photo::after, .item:hover .shot.photo .exh { color: var(--acid); }
.item:hover .shot.photo .frame { opacity: 1; }
.item:hover .shot canvas { transform: scale(1.03); }
.item h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 22px; line-height: 1; letter-spacing: -.03em; margin: 0; }
.item .kind { color: var(--dim); margin: 0; }
.item .desc { margin: 0; color: var(--ink); opacity: .8; flex: 1; }
.item .price { display: flex; justify-content: space-between; align-items: end; gap: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.item .price small { display: block; color: var(--dim); font-size: 9.5px; }
.item .price b { font-family: var(--display); font-weight: 900; font-size: 30px; line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.item .price em { font-style: normal; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .1em; color: var(--acid); margin-left: 6px; }
.item .price .bc { width: 78px; height: 26px; color: var(--dim); }

.facts { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 0; padding: 10px 14px; list-style: none; background: var(--acid); color: var(--acid-ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); }
.facts li:first-child { font-weight: 500; }
.facts b { font-weight: 500; }

/* ---------- requests: add from a product, review in the tray, send to the rep ---------- */
.d-req { display: grid; gap: 6px; padding: 12px 0 2px; }
.d-req[hidden] { display: none; }
.rq-row { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; }
.qty { display: inline-flex; border: 1px solid var(--line); background: var(--bg); }
.qty .qb { width: 36px; border: 0; background: transparent; color: var(--ink); font: 500 16px var(--mono); cursor: pointer; }
.qty .qb:hover:not(:disabled) { color: var(--acid); }
.qty .qb:disabled { color: var(--dim); opacity: .4; cursor: default; }
.qty input { width: 64px; border: 0; border-inline: 1px solid var(--line); background: transparent; color: var(--ink); text-align: center; font: 500 14px var(--mono); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.rq-add, .rq-send { flex: 1; min-height: 40px; padding: 0 16px; border: 1px solid var(--acid); background: transparent; color: var(--acid); cursor: pointer;
  font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%); }
.rq-add:hover, .rq-add.in, .rq-send { background: var(--acid); color: var(--acid-ink); }
.rq-sub { color: var(--dim); }
.rq-rm { justify-self: start; border: 0; background: none; color: var(--dim); cursor: pointer; padding: 2px 0; text-decoration: underline; text-underline-offset: 3px; }
.rq-rm:hover { color: var(--ink); }
.req-fab { position: fixed; z-index: 40; right: max(16px, var(--gut)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 2px; text-align: left;
  padding: 10px 16px 9px; border: 0; background: var(--acid); color: var(--acid-ink); cursor: pointer; box-shadow: 0 12px 30px -10px #000;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); animation: rise .3s ease both; }
.req-fab[hidden] { display: none; }
.req-fab b { font: 900 15px/1 var(--display); text-transform: uppercase; letter-spacing: -.02em; }
.req-fab span { font: 500 10.5px var(--mono); letter-spacing: .08em; }
.reqdlg { width: min(680px, 100vw - 24px); max-height: calc(100dvh - 24px); padding: 0 0 18px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); overflow: auto; }
.reqdlg::backdrop { background: rgba(5, 6, 4, .82); backdrop-filter: blur(6px); }
.reqdlg > * { margin-inline: 18px; }
.rq-head { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: end; padding: 16px 0 14px; border-bottom: 1px solid var(--line); margin: 0 18px 12px; }
.rq-head p { margin: 0; color: var(--dim); grid-column: 1; }
.rq-head h2 { margin: 0; grid-column: 1; font: 900 28px/.95 var(--display); text-transform: uppercase; letter-spacing: -.03em; }
.rq-head .chip { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
.rq-ok { padding: 10px 12px; border-left: 2px solid var(--acid); background: var(--panel); }
.rq-empty { color: var(--dim); }
.rq-empty:empty { display: none; }
.rq-lines { list-style: none; padding: 0; display: grid; gap: 0; }
.rq-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto 110px auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rq-info { display: grid; min-width: 0; }
.rq-info b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rq-info small { color: var(--dim); }
.rq-lt { text-align: right; font: 500 13px var(--mono); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .rq-lines li { grid-template-columns: 1fr auto; } .rq-lines .rq-lt { grid-column: 2; } .rq-lines .rq-rm { grid-column: 1; grid-row: 3; } }
.rq-sum { display: flex; justify-content: space-between; align-items: end; padding: 12px 14px; margin-top: 10px; background: var(--acid); color: var(--acid-ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.rq-sum b { font: 900 26px/.9 var(--display); letter-spacing: -.03em; }
.rq-note { width: calc(100% - 36px); margin-top: 12px; padding: 10px 12px; background: var(--panel); border: 1px solid var(--line); color: var(--ink); font: inherit; resize: vertical; display: block; }
.rq-fine { color: var(--dim); }
.rq-send { width: calc(100% - 36px); display: block; min-height: 46px; }
.rq-send:disabled { opacity: .6; cursor: default; }
.rq-h3 { color: var(--dim); letter-spacing: .16em; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); }
.rq-past { list-style: none; padding: 0; display: grid; gap: 8px; }
.rq-past li { padding: 10px 12px; background: var(--panel); border: 1px solid var(--line); display: grid; gap: 4px; }
.rq-ptop { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.rq-ptop b { margin-left: auto; font: 500 13px var(--mono); }
.rq-ptop span:nth-child(2) { color: var(--dim); }
.rq-st { color: var(--acid); }
.rq-past .st-confirmed .rq-st, .rq-past li.st-confirmed .rq-st { color: var(--acid); }
.rq-past li.st-declined .rq-st { color: #ff7a6e; }
.rq-past li.st-seen .rq-st, .rq-past li.st-new .rq-st { color: var(--ink); }
.rq-past li.st-confirmed { border-color: color-mix(in srgb, var(--acid) 40%, transparent); }
.rq-past p { margin: 0; font-size: 13px; }
.rq-plines { color: var(--dim); }
.rq-reply { padding: 6px 10px; border-left: 2px solid var(--acid); background: var(--bg); }

/* product pins on Wire images: a small acid ring with a soft pulse; tap for the product */
.pinlayer { position: absolute; inset: 0; pointer-events: none; }
.pinbox { position: relative; display: inline-block; line-height: 0; max-width: 100%; }
.ppin { position: absolute; transform: translate(-50%, -50%); width: 24px; height: 24px; padding: 0; border-radius: 50%; pointer-events: auto; cursor: pointer;
  border: 1.5px solid var(--acid); background: rgba(10, 11, 9, .55); box-shadow: 0 0 0 3px rgba(0, 0, 0, .25); }
.ppin::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--acid); }
.ppin::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--acid); opacity: 0; animation: pinpulse 2.4s ease-out infinite; }
@keyframes pinpulse { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
.ppin[aria-expanded="true"] { background: var(--acid); }
.ppin[aria-expanded="true"]::after { background: var(--acid-ink); }
.ppin-card { position: absolute; z-index: 2; pointer-events: auto; transform: translate(18px, -50%); display: grid; gap: 3px; min-width: 170px; max-width: 240px; padding: 10px 12px;
  text-align: left; line-height: 1.3; cursor: pointer; border: 1px solid color-mix(in srgb, var(--acid) 45%, transparent); background: rgba(10, 11, 9, .92); color: var(--ink);
  backdrop-filter: blur(6px); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%); animation: cardin .18s ease-out; }
.ppin-card.left { transform: translate(calc(-100% - 18px), -50%); }
.ppin-card.up { transform: translate(18px, calc(-100% + 12px)); }
.ppin-card.left.up { transform: translate(calc(-100% - 18px), calc(-100% + 12px)); }
.ppin-card b { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 13px; letter-spacing: -.01em; }
.ppin-card small { color: var(--dim); }
.ppin-card .go { color: var(--acid); margin-top: 3px; }
.ppin-card:hover { border-color: var(--acid); }
@keyframes cardin { from { opacity: 0; } }
.pincount { position: absolute; left: 8px; bottom: 8px; padding: 3px 7px; background: rgba(10, 11, 9, .75); color: var(--acid); pointer-events: none; }

/* Studio "View as buyer": a thin bar so nobody mistakes it for their own view */
.viewas-bar { position: sticky; top: 0; z-index: 60; background: var(--acid); color: var(--acid-ink); padding: 7px var(--gut); text-align: center; letter-spacing: .08em; }
.viewas-bar b { font-weight: 700; margin-right: 6px; }

/* the watching seal: the ring turns once every two minutes around a still DD; the counters read as eyes */
svg.seal { display: block; aspect-ratio: 1; fill: currentColor; overflow: visible; }
.seal-ring { transform-box: view-box; transform-origin: 50% 50%; animation: seal-turn 120s linear infinite; }
@keyframes seal-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- landing / 404: the door with no handle ---------- */
.door { flex: 1; display: grid; place-items: center; padding: 40px var(--gut); position: relative; z-index: 2; text-align: center; }
.door .seal { width: clamp(220px, 58vw, 340px); height: auto; color: var(--acid); margin: 0 auto 30px; }
.door h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 7vw, 56px); letter-spacing: -.035em; line-height: .9; margin: 0 0 14px; }
.door p { margin: 0 auto; max-width: 42ch; color: var(--dim); }
.door .micro { margin-top: 28px; }
.door .micro b { color: var(--acid); font-weight: 400; }
.door a { color: var(--acid); word-break: break-all; }

/* ---------- display v3: cover, filters, sections, product detail ---------- */
.cover { position: relative; margin: 0; background: #1b1c1a; border: 1px solid var(--line); overflow: hidden; }
.cover canvas { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: cover; }
.cover .state { position: absolute; inset: 0; display: grid; place-items: center; color: var(--dim); }
.filters { position: sticky; top: 0; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px;
  padding: 10px 0; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip[aria-pressed="true"] { background: var(--acid); color: var(--acid-ink); border-color: var(--acid); }
.search { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); padding: 5px 10px; min-width: min(260px, 100%); }
.search span { color: var(--dim); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--ink); font-size: 12px; caret-color: var(--acid); }
.search:focus-within { border-color: var(--acid); }
#sections { display: flex; flex-direction: column; gap: 34px; }
.sec { display: flex; flex-direction: column; gap: 12px; }
.sec-h { display: flex; align-items: baseline; gap: 12px; margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(20px, 3vw, 30px); letter-spacing: -.03em; }
.sec-h span { color: var(--acid); }
.empty { color: var(--dim); text-align: center; padding: 40px 0; }
.item { cursor: pointer; }
.item:focus-visible { outline: 1px solid var(--acid); outline-offset: -1px; }
.shot .count { position: absolute; right: 10px; top: 8px; z-index: 1; background: var(--acid); color: var(--acid-ink); padding: 1px 6px; }
.item .price b.ask { font-size: 18px; letter-spacing: -.02em; color: var(--dim); }

.detail { width: min(1180px, 100vw - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line); background: var(--bg); color: var(--ink); overflow: auto; }
.detail::backdrop { background: rgba(5, 6, 4, .82); backdrop-filter: blur(6px); }
.detail[open] { animation: rise .35s ease both; }
.d-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); min-height: min(720px, calc(100dvh - 26px)); }
.d-media { display: flex; flex-direction: column; gap: 1px; background: var(--line); }
.d-stage { position: relative; flex: 1; display: grid; place-items: center; background: #1b1c1a; overflow: hidden; cursor: zoom-in; min-height: 320px; color: var(--acid); }
.d-stage canvas { display: block; max-width: 100%; max-height: calc(100dvh - 140px); transition: transform .3s ease; }
.d-stage.zoom { cursor: zoom-out; }
.d-stage.zoom canvas { transform: scale(2.2); }
.d-stage svg.art { width: 60%; height: auto; fill: none; stroke: currentColor; stroke-width: 1.2; }
.d-stage .state { position: absolute; inset: 0; display: grid; place-items: center; color: var(--dim); }
.d-thumbs { display: flex; gap: 1px; background: var(--line); }
.thumb { width: 76px; padding: 0; border: 0; background: #1b1c1a; cursor: pointer; opacity: .55; position: relative; }
.thumb canvas { display: block; width: 100%; aspect-ratio: 1; }
.thumb .state { display: none; }
.thumb[aria-pressed="true"], .thumb:hover { opacity: 1; box-shadow: inset 0 -2px 0 var(--acid); }
.d-info { display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 18px; }
.d-top { display: flex; justify-content: space-between; color: var(--dim); }
.d-info h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(28px, 4vw, 44px); line-height: .92; letter-spacing: -.035em; margin: 0; }
.d-info .kind { color: var(--dim); margin: 0; }
.d-info .desc { margin: 0; opacity: .85; font-size: 14px; line-height: 1.7; }
.specs { display: grid; grid-template-columns: auto 1fr; margin: 0; border-top: 1px solid var(--line); }
.specs dt, .specs dd { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--dim); padding-right: 24px; }
.specs dd { color: var(--ink); text-align: right; }
.d-price { margin-top: auto; display: flex; justify-content: space-between; align-items: end; background: var(--acid); color: var(--acid-ink); padding: 12px 14px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); }
.d-price b { font-family: var(--display); font-weight: 900; font-size: 34px; line-height: .9; letter-spacing: -.04em; }
.d-price b em { font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; margin-left: 6px; }
.d-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.d-nav .chip:last-child { margin-left: auto; }
.chip:disabled { opacity: .35; cursor: default; }
@media (max-width: 760px) {
  .d-wrap { grid-template-columns: 1fr; min-height: 0; }
  .d-stage { min-height: 0; aspect-ratio: 1; }
  .detail { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; border: 0; }
}
/* hairlines drawn by the cards themselves, so half-empty rows stay clean */
.grid { background: none; border: 0; gap: 1px; }
.item { outline: 1px solid var(--line); }

/* ---------- The Wire: the brand's private feed ---------- */
.wirealert { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 16px; border: 1px solid color-mix(in srgb, var(--acid) 45%, transparent);
  background: color-mix(in srgb, var(--acid) 8%, var(--bg)); color: var(--ink); cursor: pointer; text-align: left; font-size: 12px; }
.wirealert span { flex: 1; }
.wirealert b { color: var(--acid); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; font-size: 10.5px; }
.wirealert:hover { border-color: var(--acid); }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: -10px; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 16px 9px; cursor: pointer; color: var(--dim);
  font: 900 14px/1 var(--display); text-transform: uppercase; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--acid); }
.tabs .badge { background: var(--acid); color: var(--acid-ink); font: 500 10px/1 var(--mono); padding: 3px 6px; animation: blink 1.4s steps(1) infinite; }
#tab-catalog { display: flex; flex-direction: column; gap: 26px; }
#tab-catalog[hidden] { display: none; }
.wirehead { max-width: 720px; width: 100%; margin: 6px auto 4px; }
.wirehead p { color: var(--dim); margin: 0 0 6px; }
.wirehead h2 { font: 900 clamp(34px, 6vw, 64px)/.9 var(--dot); color: var(--acid); text-transform: uppercase; margin: 0; letter-spacing: -.02em; }
.wirehead .cur { display: inline-block; width: .5em; height: .08em; background: currentColor; margin-left: .06em; animation: blink 1.1s steps(1) infinite; }
.wirefeed { max-width: 720px; width: 100%; margin: 18px auto 0; display: flex; flex-direction: column; gap: 18px; }
.post { position: relative; background: var(--panel); border: 1px solid var(--line); padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 12px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); }
.post.fresh { border-color: color-mix(in srgb, var(--acid) 40%, var(--line)); }
.post > header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; color: var(--dim); }
.post .kind { padding: 3px 7px; border: 1px solid currentColor; color: var(--ink); }
.post.kind-drop .kind { background: var(--acid); color: var(--acid-ink); border-color: var(--acid); }
.post.kind-restock .kind { color: #9be15d; }
.post.kind-embargo .kind { color: #ffb020; }
.post.kind-bts .kind { color: var(--dim); }
.post .pco { color: var(--ink); }
.post .pin { color: var(--acid); }
.post .pin::before { content: "▲ "; }
.post .newtag { background: var(--ink); color: var(--acid-ink); padding: 2px 6px; }
.post h3 { margin: 0; font: 900 clamp(22px, 3.2vw, 30px)/1 var(--display); text-transform: uppercase; letter-spacing: -.035em; }
.post .pbody { white-space: pre-line; font-size: 13.5px; line-height: 1.75; opacity: .88; }
.pimgs { display: grid; gap: 4px; }
.pimgs.n2, .pimgs.n4 { grid-template-columns: 1fr 1fr; }
.pimgs.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.pimgs.n3 .pcell:first-child { grid-row: span 2; }
.pcell { position: relative; min-height: 120px; }
.pimg { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #1b1c1a; cursor: zoom-in; overflow: hidden; min-height: 120px; }
.pimg canvas { display: block; width: 100%; height: 100%; object-fit: cover; }
.pimgs.n1 .pimg canvas { height: auto; }
.pimg .state { position: absolute; inset: 0; display: grid; place-items: center; color: var(--dim); }
.ptags { display: flex; flex-direction: column; gap: 6px; }
.ptag { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 6px 12px 6px 6px; background: var(--bg); border: 1px solid var(--line); cursor: pointer; text-align: left; color: var(--ink); }
.ptag:hover { border-color: var(--acid); }
.pt-img { width: 52px; height: 52px; background: #1b1c1a; display: grid; place-items: center; overflow: hidden; color: var(--acid); position: relative; }
.pt-img canvas { width: 100%; height: 100%; display: block; }
.pt-img .state { display: none; }
.pt-img svg.art { width: 70%; height: auto; fill: none; stroke: currentColor; stroke-width: 2; }
.pt-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pt-txt b { font: 900 14px/1.1 var(--display); text-transform: uppercase; letter-spacing: -.02em; }
.pt-txt small { color: var(--dim); }
.pt-go { font-size: 10.5px; letter-spacing: .1em; color: var(--acid); }
.pdrop { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 4px; }
.pdrop small { color: var(--dim); }
.btnlink { display: inline-block; background: var(--acid); color: var(--acid-ink); padding: 9px 14px; text-decoration: none; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: 11px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%); }
.lightbox { width: min(1400px, 100vw - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line); background: #0d0e0c; overflow: hidden; }
.lightbox::backdrop { background: rgba(5, 6, 4, .9); }
.lb-stage { display: grid; place-items: center; position: relative; min-height: 240px; }
.lb-stage canvas { display: block; max-width: 100%; max-height: calc(100dvh - 30px); }
.lb-stage .state { position: absolute; inset: 0; display: grid; place-items: center; color: var(--dim); }
.lb-close { position: absolute; top: 10px; right: 10px; background: rgba(0, 0, 0, .6); }

/* ---------- reactions: likes and private threads ---------- */
.heart { width: 30px; height: 30px; padding: 6px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; color: var(--dim); display: inline-grid; place-items: center; transition: color .15s, border-color .15s, transform .15s; }
.heart svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; }
.heart:hover { color: var(--ink); border-color: var(--dim); }
.heart[aria-pressed="true"] { color: var(--acid); border-color: color-mix(in srgb, var(--acid) 45%, transparent); }
.heart[aria-pressed="true"] svg { fill: currentColor; }
.heart:active { transform: scale(.9); }
.item .top { gap: 10px; }
.item .top .heart { width: 26px; height: 26px; padding: 5px; margin: -4px -4px -4px 0; }
.item .top > span { flex: 1; }
.d-react { display: flex; flex-direction: column; gap: 12px; }
.d-like { display: flex; align-items: center; gap: 10px; color: var(--dim); }
.thread { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); padding: 12px; background: var(--panel); }
.tnote { margin: 0; color: var(--dim); }
.tnote::before { content: "● "; color: var(--acid); }
.tmsgs { display: flex; flex-direction: column; gap: 6px; max-height: 240px; overflow: auto; }
.tmsg { max-width: 88%; padding: 7px 10px; border: 1px solid var(--line); background: var(--bg); }
.tmsg p { margin: 2px 0 0; white-space: pre-line; font-size: 12.5px; line-height: 1.55; }
.tmsg small { color: var(--dim); font-size: 9.5px; }
.tmsg.from-you { align-self: flex-end; border-color: color-mix(in srgb, var(--acid) 35%, var(--line)); }
.tmsg.from-brand { align-self: flex-start; }
.tmsg.from-brand small { color: var(--acid); }
.tform { display: flex; gap: 6px; align-items: stretch; }
.tform textarea { flex: 1; min-width: 0; resize: vertical; background: var(--bg); border: 1px solid var(--line); color: var(--ink); padding: 8px; font: 12.5px/1.5 var(--mono); }
.tform textarea:focus { outline: none; border-color: var(--acid); }
.pfoot { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; }
.rxnote { position: fixed; left: 50%; bottom: 52px; transform: translateX(-50%); z-index: 50; background: var(--ink); color: var(--acid-ink); padding: 8px 14px; }
.tmsg.from-team { align-self: flex-start; border-style: dashed; }
.tmsg.from-team small::after { content: " · your team"; }
