
/* Layout: full-bleed photo "recon feed" hero with HUD, then briefing folders per auction,
   a crate-label lot grid sorted by price, and a hall of hammer prices. One dark field look. */
:root {
  --ink: #0d100b;        /* night field */
  --hull: #171b13;       /* panel */
  --olive: #2c3320;      /* olive drab, dark */
  --drab: #7d8458;       /* olive drab, light */
  --sand: #e3d7b4;       /* desert tan, main text */
  --mute: #a39d84;       /* faded stencil */
  --signal: #f2b01e;     /* hazard amber, the one accent */
  --live: #8fd16a;       /* status: bidding open */
  --line: rgba(227, 215, 180, .14);
  --display: "Saira Stencil One", "Black Ops One", Impact, "Arial Narrow", sans-serif;
  --head: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --gut-l: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--sand);
  font-family: var(--body); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 50; background: var(--ink); }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--gut-l); padding-right: var(--gut-r); }
.mono { font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { font-family: var(--mono); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--signal); display: flex; gap: .6em; align-items: center; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--signal); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 5vw, 3.6rem); line-height: .95; letter-spacing: .01em; text-transform: uppercase; }
.sec { padding-block: clamp(56px, 9vw, 110px); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; margin-bottom: 36px; }
.sec-head > div { display: grid; gap: 14px; min-width: 0; }
.sec-head p { margin: 0; max-width: 52ch; color: var(--mute); }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- top bar ---------- */
.bar {
  position: absolute; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 20;
  padding-left: var(--gut-l); padding-right: var(--gut-r); padding-block: 18px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 40px; height: 40px; border: 2px solid var(--signal); display: grid; place-items: center; font-family: var(--display); color: var(--signal); font-size: 1.05rem; transform: rotate(45deg); }
.logo-mark span { transform: rotate(-45deg); }
.logo-txt { font-family: var(--head); font-weight: 800; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1; }
.logo-txt small { display: block; font-family: var(--mono); font-weight: 400; font-size: .62rem; letter-spacing: .2em; color: var(--mute); margin-top: 4px; }
.nav { display: flex; gap: 26px; font-family: var(--head); font-weight: 600; font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; }
.nav a { text-decoration: none; opacity: .85; }
.nav a:hover { opacity: 1; color: var(--signal); }
@media (max-width: 760px) { .nav { display: none; } }

/* ---------- hero recon feed ---------- */
.hero { position: relative; display: flex; min-height: clamp(560px, 82vh, 800px); overflow: hidden; background: var(--hull); isolation: isolate; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); filter: saturate(.75) contrast(1.08); }
.slide.on { opacity: 1; }
.slide.on img { animation: push 7s ease-out forwards; }
@keyframes push { from { transform: scale(1.02) translate(0,0); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.hero::after { /* tint + scanlines */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.16) 0 1px, transparent 1px 3px),
    linear-gradient(90deg, rgba(13,16,11,.94) 0%, rgba(13,16,11,.72) 38%, rgba(13,16,11,.15) 70%, rgba(13,16,11,.55) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 30%, transparent 75%, rgba(13,16,11,.8) 100%);
}
.hud { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.reticle { position: absolute; right: 14%; top: 50%; width: min(34vw, 340px); aspect-ratio: 1; max-width: 100%; transform: translate(0, -50%); }
.reticle i { position: absolute; width: 34px; height: 34px; border: 2px solid var(--signal); }
.reticle i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.reticle i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.reticle i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.reticle i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.reticle::before, .reticle::after { content: ""; position: absolute; background: rgba(242,176,30,.55); }
.reticle::before { left: 50%; top: 40%; width: 1px; height: 20%; }
.reticle::after { top: 50%; left: 40%; height: 1px; width: 20%; }
.reticle .tag { position: absolute; left: 0; top: -28px; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; color: var(--signal); white-space: nowrap; }
.reticle.lock { animation: lock .6s ease-out; }
@keyframes lock { 0% { transform: translate(0,-50%) scale(1.25); opacity: 0; } 100% { transform: translate(0,-50%) scale(1); opacity: 1; } }
@media (max-width: 860px) { .reticle { display: none; } }

.hero-copy { position: relative; z-index: 3; flex: 1; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(120px + env(safe-area-inset-top, 0px)); padding-bottom: 46px; gap: 26px; }
/* Smal scherm: de regel boven de kop korter, zodat hij niet over twee regels loopt. */
@media (max-width: 520px) { .eyebrow .eb-long { display: none; } }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.7rem, 8.4vw, 7.2rem); line-height: .86; text-transform: uppercase; max-width: 11ch; }
.hero h1 em { font-style: normal; color: var(--signal); }
.hero-sub { max-width: 46ch; font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--sand); opacity: .9; margin: 0; }
.hero-row { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: end; justify-content: space-between; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  font-family: var(--head); font-weight: 700; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 14px 22px; border: 2px solid var(--signal); background: var(--signal); color: var(--ink);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--signal); }
.btn.ghost { background: transparent; color: var(--sand); border-color: var(--sand); }
.btn.ghost:hover { color: var(--signal); border-color: var(--signal); }

.feed { /* current lot readout */
  min-width: 0; width: min(100%, 400px); background: rgba(13,16,11,.78); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-left: 3px solid var(--signal); padding: 16px 18px; display: grid; gap: 8px; text-decoration: none;
}
.feed-top { display: flex; justify-content: space-between; gap: 12px; color: var(--mute); }
.feed-title { font-family: var(--head); font-weight: 700; font-size: 1.35rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; }
.feed-nums { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.feed-price { font-family: var(--display); font-size: 1.9rem; color: var(--signal); line-height: 1; }
.feed-clock { font-family: var(--mono); font-size: .82rem; color: var(--sand); text-align: right; }
.ticks { display: flex; gap: 4px; margin-top: 4px; }
.ticks button { flex: 1; height: 4px; border: 0; padding: 0; background: rgba(227,215,180,.2); cursor: pointer; position: relative; overflow: hidden; }
.ticks button.on::after { content: ""; position: absolute; inset: 0; background: var(--signal); transform-origin: left; animation: fill var(--dur, 6s) linear forwards; }
.ticks button.done::after { content: ""; position: absolute; inset: 0; background: rgba(242,176,30,.55); }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- hazard ticker ---------- */
.ticker { position: relative; background: var(--signal); color: var(--ink); overflow: hidden; border-block: 6px solid transparent;
  border-image: repeating-linear-gradient(-45deg, var(--ink) 0 10px, var(--signal) 10px 20px) 6; }
.ticker-track { display: flex; width: max-content; animation: roll 70s linear infinite; padding-block: 12px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: flex; gap: 10px; align-items: baseline; padding-right: 46px; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; font-size: 1.05rem; }
.ticker-item b { font-family: var(--mono); font-weight: 600; font-size: .8rem; letter-spacing: .1em; }
.ticker-item .amt { font-family: var(--display); font-weight: 400; font-size: 1.2rem; }
@keyframes roll { to { transform: translateX(-50%); } }

/* ---------- briefing folders ---------- */
.ops { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.op { position: relative; background: var(--hull); border: 1px solid var(--line); display: grid; grid-template-rows: auto auto 1fr; min-width: 0; }
.op-tab { position: absolute; z-index: 2; top: -14px; left: 18px; background: var(--olive); color: var(--sand); padding: 4px 12px; font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; border: 1px solid var(--line); border-bottom: 0; }
.mosaic { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; aspect-ratio: 16 / 10; max-width: 100%; overflow: hidden; background: var(--ink); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); transition: transform .6s ease, filter .6s; }
.mosaic img:first-child { grid-row: span 2; }
.op:hover .mosaic img { filter: saturate(1); }
.op:hover .mosaic img:first-child { transform: scale(1.04); }
.op-body { padding: 22px 22px 8px; display: grid; gap: 10px; }
.op-code { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1; text-transform: uppercase; color: var(--sand); }
.op-name { color: var(--mute); margin: 0; font-size: .95rem; }
.chip { justify-self: start; display: inline-flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; border: 1px solid currentColor; }
.chip.open { color: var(--live); }
.chip.open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 var(--live); animation: ping 1.6s infinite; }
.chip.soon { color: var(--signal); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(143,209,106,.7); } 100% { box-shadow: 0 0 0 9px rgba(143,209,106,0); } }
.op-foot { padding: 6px 22px 22px; display: grid; gap: 16px; align-content: end; }
.clock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.clock div { background: var(--ink); border: 1px solid var(--line); text-align: center; padding: 10px 4px 8px; }
.clock b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1; color: var(--signal); font-variant-numeric: tabular-nums; }
.clock span { font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; color: var(--mute); }
.clock-label { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; color: var(--mute); text-transform: uppercase; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border-top: 1px dashed var(--line); padding-top: 14px; }
.facts dt { font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; color: var(--mute); text-transform: uppercase; }
.facts dd { margin: 2px 0 0; font-family: var(--head); font-weight: 700; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.op .btn { justify-content: center; }

/* ---------- lot grid ---------- */
.band { background: var(--hull); border-block: 1px solid var(--line); }
.controls { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line); }
.seg button { background: transparent; color: var(--mute); border: 0; border-right: 1px solid var(--line); padding: 9px 14px; font-family: var(--head); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; cursor: pointer; }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: var(--signal); color: var(--ink); }
.seg button:hover:not([aria-pressed="true"]) { color: var(--sand); }
.lots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 18px; }
.lot { position: relative; text-decoration: none; background: var(--ink); border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; min-width: 0; transition: border-color .2s, transform .2s; }
.lot:hover { border-color: var(--signal); transform: translateY(-3px); }
.lot-img { aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; position: relative; }
.lot-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.lot:hover .lot-img img { transform: scale(1.06); }
.lot-nr { position: absolute; left: 0; top: 10px; background: var(--ink); color: var(--signal); font-family: var(--display); font-size: 1.05rem; padding: 3px 10px 2px; letter-spacing: .04em; }
.lot-rank { position: absolute; right: 8px; top: 8px; font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; background: rgba(13,16,11,.8); padding: 3px 7px; color: var(--sand); }
.lot-body { padding: 14px 14px 16px; display: grid; gap: 10px; align-content: space-between; }
.lot-title { font-family: var(--head); font-weight: 700; font-size: 1.12rem; line-height: 1.15; text-transform: uppercase; letter-spacing: .02em; overflow-wrap: anywhere; }
.lot-meta { display: flex; justify-content: space-between; align-items: end; gap: 10px; border-top: 1px dashed var(--line); padding-top: 10px; }
.lot-meta small { display: block; font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; color: var(--mute); text-transform: uppercase; }
.lot-price { font-family: var(--display); font-size: 1.45rem; color: var(--signal); line-height: 1; }
.lot-close { font-family: var(--mono); font-size: .72rem; text-align: right; color: var(--sand); }
.note { margin-top: 22px; color: var(--mute); font-size: .82rem; font-family: var(--mono); letter-spacing: .04em; }

/* ---------- hall of hammer prices ---------- */
.hall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hof { position: relative; text-decoration: none; overflow: hidden; background: var(--hull); border: 1px solid var(--line); min-height: 250px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; min-width: 0; }
.hof img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(.55) contrast(1.1); transition: filter .5s, transform .6s; }
.hof::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(13,16,11,.96) 8%, rgba(13,16,11,.35) 60%, rgba(13,16,11,.1)); }
.hof:hover img { filter: grayscale(0) contrast(1.05); transform: scale(1.05); }
.hof-in { padding: 18px; display: grid; gap: 6px; }
.hof-price { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--signal); line-height: 1; font-variant-numeric: tabular-nums; }
.hof-title { font-family: var(--head); font-weight: 700; font-size: 1.1rem; line-height: 1.15; text-transform: uppercase; overflow-wrap: anywhere; }
.hof-meta { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; color: var(--mute); text-transform: uppercase; }
.stamp { position: absolute; top: 16px; right: 14px; font-family: var(--display); color: var(--signal); border: 2px solid var(--signal); padding: 2px 10px; transform: rotate(-8deg); font-size: .95rem; letter-spacing: .08em; background: rgba(13,16,11,.55); }
.hof.big { grid-column: span 2; grid-row: span 2; min-height: 520px; }
.hof.big .hof-price { font-size: clamp(2.8rem, 6vw, 4.8rem); }
.hof.big .hof-title { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.hof.big .hof-in { padding: 28px; }
@media (max-width: 1000px) { .hall { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hall { grid-template-columns: 1fr; } .hof.big { grid-column: auto; grid-row: auto; min-height: 380px; } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.stat { padding: 28px 22px; border-right: 1px solid var(--line); display: grid; gap: 6px; min-width: 0; }
.stat:last-child { border-right: 0; }
.stat b { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1; color: var(--sand); font-variant-numeric: tabular-nums; }
.stat span { color: var(--mute); font-size: .92rem; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ---------- log + steps ---------- */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.split > div { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.log-wrap { overflow-x: auto; min-width: 0; }
.log { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.log th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: .66rem; letter-spacing: .16em; color: var(--mute); text-transform: uppercase; padding: 0 10px 10px 0; border-bottom: 1px solid var(--line); }
.log td { padding: 13px 10px 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.log td:first-child, .log td:nth-child(2) { font-family: var(--mono); font-size: .78rem; white-space: nowrap; color: var(--mute); }
.log td:last-child, .log th:last-child { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--head); font-weight: 700; font-size: 1.05rem; padding-right: 0; }
.log a { text-decoration: none; }
.log a:hover { color: var(--signal); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--display); font-size: 2.2rem; color: var(--signal); line-height: 1; }
.steps h3 { font-family: var(--head); font-weight: 800; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .04em; }
.steps p { margin: 4px 0 0; color: var(--mute); }

footer { border-top: 1px solid var(--line); padding-block: 40px; color: var(--mute); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.foot .mono { color: var(--mute); }

@media (prefers-reduced-motion: reduce) {
  .slide.on img, .ticker-track, .chip.open::before, .reticle.lock, .ticks button.on::after { animation: none !important; }
  .ticks button.on::after { transform: none; }
  .slide { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- server-rendered extras ---------- */
.lot[hidden] { display: none !important; }
.empty { border: 1px dashed var(--line); padding: 40px 24px; text-align: center; color: var(--mute); display: grid; gap: 10px; justify-items: center; }
.empty b { font-family: var(--display); font-weight: 400; font-size: 1.8rem; color: var(--sand); text-transform: uppercase; }
.login { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); text-decoration: none; }
.login:hover { color: var(--signal); }

/* ---------- kavelpagina ---------- */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(13,16,11,.94); backdrop-filter: blur(6px); }
.topbar::after { content: ""; display: block; height: 5px; background: repeating-linear-gradient(-45deg, var(--signal) 0 10px, var(--ink) 10px 20px); }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 14px; }
.lotpage { padding-block: 22px 80px; display: grid; gap: 28px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--mute); }
.crumbs a { text-decoration: none; color: var(--signal); }
.crumbs a:hover { text-decoration: underline; }
.lp-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .lp-grid { grid-template-columns: 1fr; } }
.gallery { display: grid; gap: 10px; min-width: 0; }
.g-main { position: relative; aspect-ratio: 4 / 3; max-width: 100%; background: var(--hull); border: 1px solid var(--line); overflow: hidden; }
.g-main img { width: 100%; height: 100%; object-fit: contain; background: #000; }
.g-main::before, .g-main::after { content: ""; position: absolute; width: 34px; height: 34px; border: 2px solid var(--signal); z-index: 1; pointer-events: none; }
.g-main::before { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.g-main::after { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.g-none { height: 100%; display: grid; place-items: center; }
.g-count { position: absolute; right: 12px; bottom: 12px; background: rgba(13,16,11,.8); padding: 4px 9px; color: var(--sand); z-index: 1; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; width: 44px; height: 64px; border: 1px solid var(--line); background: rgba(13,16,11,.7); color: var(--sand); font-size: 2rem; line-height: 1; cursor: pointer; }
.g-nav:hover { color: var(--signal); border-color: var(--signal); }
.g-nav.prev { left: 0; } .g-nav.next { right: 0; }
.g-thumbs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.g-thumbs button { flex: none; width: 84px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; background: var(--hull); cursor: pointer; opacity: .6; }
.g-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.g-thumbs button.on, .g-thumbs button:hover { border-color: var(--signal); opacity: 1; }
.lp-info { display: grid; gap: 16px; align-content: start; min-width: 0; }
.chip.done { color: var(--mute); }
.lp-code { color: var(--signal); }
.lp-title { font-family: var(--head); font-weight: 800; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: .95; text-transform: uppercase; letter-spacing: .01em; overflow-wrap: anywhere; }
.lp-price { display: grid; gap: 6px; padding: 18px 20px; background: var(--hull); border: 1px solid var(--line); border-left: 3px solid var(--signal); }
.lp-price b { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; color: var(--signal); }
.lp-price .mono { color: var(--mute); }
.lp-clock { display: grid; gap: 8px; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-note { margin: 0; color: var(--mute); font-size: .9rem; max-width: 52ch; }
.specs { margin: 0; display: grid; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding-block: 10px; border-bottom: 1px dashed var(--line); }
.specs dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.specs dd { margin: 0; font-family: var(--head); font-weight: 600; font-size: 1.08rem; overflow-wrap: anywhere; }
.lp-remarks { margin: 0; color: var(--sand); white-space: pre-wrap; }
.lp-more { display: grid; gap: 0; padding-top: 20px; }
.lp-hist { display: grid; gap: 8px; }
.lp-hist table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.lp-hist td { padding: 7px 0; border-bottom: 1px dashed var(--line); font-family: var(--head); font-weight: 600; }
.lp-hist td:nth-child(2) { color: var(--signal); text-align: right; padding-right: 16px; }
.lp-hist td:last-child { font-family: var(--mono); font-size: .72rem; color: var(--mute); text-align: right; white-space: nowrap; }
.lp-hist tr:first-child td { color: var(--sand); }
.lp-hist tr:first-child td:nth-child(2) { color: var(--signal); }

/* ---------- veilingpagina ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ahero { position: relative; overflow: hidden; isolation: isolate; background: var(--hull); border-bottom: 1px solid var(--line); }
.ahero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(.7) contrast(1.05); }
.ahero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(0deg, rgba(0,0,0,.16) 0 1px, transparent 1px 3px), linear-gradient(90deg, rgba(13,16,11,.96) 0%, rgba(13,16,11,.82) 50%, rgba(13,16,11,.45) 100%); }
.ahero-in { display: grid; gap: 16px; padding-block: clamp(32px, 6vw, 64px); justify-items: start; }
.ahero-code { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: .9; text-transform: uppercase; }
.ahero-title { margin: 0; color: var(--sand); opacity: .9; font-size: 1.1rem; max-width: 52ch; }
.ahero-row { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: end; width: 100%; }
.ahero-row .lp-clock { width: min(100%, 420px); }
.ahero-row .facts { min-width: min(100%, 360px); border-top: 0; padding-top: 0; }
.apage { padding-block: 28px 80px; display: grid; gap: 20px; }
.afilter { display: flex; gap: 10px; flex-wrap: wrap; }
.afilter input[type=search] { flex: 1 1 260px; min-width: 0; background: var(--hull); color: var(--sand); border: 1px solid var(--line); padding: 13px 16px; font-family: var(--mono); font-size: .85rem; }
.afilter input[type=search]:focus { outline: none; border-color: var(--signal); }
.afilter .btn { border-width: 2px; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; }
.cat { text-decoration: none; border: 1px solid var(--line); padding: 8px 12px; font-family: var(--head); font-weight: 700; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sand); display: inline-flex; gap: 8px; align-items: baseline; }
.cat span { font-family: var(--mono); font-weight: 400; font-size: .7rem; color: var(--mute); letter-spacing: .04em; }
.cat:hover { border-color: var(--signal); color: var(--signal); }
.cat.on { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.cat.on span { color: var(--ink); }
.abar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.seg a { display: inline-block; color: var(--mute); border-right: 1px solid var(--line); padding: 9px 14px; font-family: var(--head); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; text-decoration: none; }
.seg a:last-child { border-right: 0; }
.seg a[aria-current="true"] { background: var(--signal); color: var(--ink); }
.seg a:hover:not([aria-current="true"]) { color: var(--sand); }
.lot-img:not(:has(img)) { background: repeating-linear-gradient(-45deg, var(--hull) 0 12px, var(--ink) 12px 24px); }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding-top: 10px; }
.pager a { text-decoration: none; min-width: 42px; text-align: center; padding: 9px 12px; border: 1px solid var(--line); font-family: var(--head); font-weight: 700; font-variant-numeric: tabular-nums; }
.pager a:hover { border-color: var(--signal); color: var(--signal); }
.pager a[aria-current="page"] { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.note a { color: var(--signal); }

/* ---------- eigen bieden ---------- */
.nav .nav-cta { color: var(--ink); background: var(--signal); padding: 4px 12px; opacity: 1; }
.nav .nav-cta:hover { color: var(--ink); background: var(--sand); }
.bidbox { display: grid; gap: 12px; padding: 18px 20px; background: var(--hull); border: 1px solid var(--line); border-top: 3px solid var(--signal); }
.bb-status { margin: 0; font-family: var(--head); font-weight: 700; font-size: 1.1rem; letter-spacing: .02em; min-height: 1.2em; }
.bb-status:empty { display: none; }
.bb-status.ok, .bb-msg.ok { color: var(--live); }
.bb-status.err, .bb-msg.err { color: #ef7d6a; }
.bidform { display: grid; gap: 10px; }
.bb-row { display: flex; align-items: stretch; gap: 8px; flex-wrap: wrap; }
.bb-cur { display: grid; place-items: center; padding-inline: 12px; background: var(--ink); border: 1px solid var(--line); font-family: var(--display); color: var(--signal); font-size: 1.3rem; }
.bb-row input { flex: 1 1 140px; min-width: 0; background: var(--ink); color: var(--sand); border: 1px solid var(--line); padding: 12px 14px; font-family: var(--display); font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.bb-row input:focus { outline: none; border-color: var(--signal); }
.bb-auto summary { cursor: pointer; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--signal); }
.bb-auto[open] { display: grid; gap: 8px; }
.bb-auto[open] summary { margin-bottom: 4px; }
.bb-msg { margin: 0; min-height: 1.2em; font-size: .95rem; }
.bb-msg:empty { display: none; }
.flash { animation: flash 1.2s ease-out; }
@keyframes flash { 0% { background: rgba(242,176,30,.45); } 100% { background: transparent; } }
#wbacToasts { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 200; display: grid; gap: 8px; width: min(380px, calc(100vw - 32px)); }
.toast { background: var(--hull); border: 1px solid var(--line); border-left: 3px solid var(--signal); padding: 12px 14px; font-family: var(--head); font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
/* bieden: formulierpagina's */
.bpage { padding-block: 32px 80px; display: grid; gap: 24px; max-width: 980px; }
.bform { display: grid; gap: 14px; max-width: 560px; }
.bform label { display: grid; gap: 6px; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.bform input[type=text], .bform input[type=email], .bform input[type=password], .bform input[type=tel], .bform select { background: var(--hull); color: var(--sand); border: 1px solid var(--line); padding: 12px 14px; font-family: var(--body); font-size: 1rem; text-transform: none; letter-spacing: 0; }
.bform input:focus, .bform select:focus { outline: none; border-color: var(--signal); }
.bform .check { display: flex; gap: 10px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-family: var(--body); font-size: .95rem; color: var(--sand); }
.bform .check input { margin-top: 4px; accent-color: var(--signal); }
.bform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .bform .row2 { grid-template-columns: 1fr; } }
.ferr { margin: 0; padding: 12px 14px; border: 1px solid #ef7d6a; color: #ef7d6a; }
.prose { max-width: 70ch; display: grid; gap: 12px; }
.prose h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-top: 18px; }
.prose p, .prose li { color: var(--sand); }
.mytable { width: 100%; border-collapse: collapse; min-width: 640px; }
.mytable th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: .66rem; letter-spacing: .14em; color: var(--mute); text-transform: uppercase; padding: 0 10px 10px 0; border-bottom: 1px solid var(--line); }
.mytable td { padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); vertical-align: middle; font-variant-numeric: tabular-nums; }
.mytable a { text-decoration: none; font-family: var(--head); font-weight: 700; text-transform: uppercase; }
.mytable a:hover { color: var(--signal); }
.pill { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border: 1px solid currentColor; white-space: nowrap; }
.pill.ok { color: var(--live); } .pill.err { color: #ef7d6a; } .pill.mute { color: var(--mute); }
button.login { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
button.login:hover { color: var(--signal); }
/* popup: overboden / gewonnen */
.wbac-pop { position: fixed; inset: 0; z-index: 300; background: rgba(5,7,4,.78); display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); animation: popfade .18s ease-out; }
.wbac-pop-box { position: relative; width: min(440px, 100%); background: var(--hull); border: 1px solid var(--line); border-top: 4px solid var(--signal); padding: 24px 22px 20px; display: grid; gap: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.6); animation: popin .22s ease-out; }
.wbac-pop-title { font-family: var(--head); font-weight: 800; font-size: 1.5rem; line-height: 1.05; text-transform: uppercase; padding-right: 30px; overflow-wrap: anywhere; }
.wbac-pop-price { margin: 0; font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.wbac-pop-price b { display: block; font-family: var(--display); font-weight: 400; font-size: 2.6rem; letter-spacing: 0; color: var(--signal); line-height: 1.05; }
.wbac-pop-x { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border: 1px solid var(--line); background: var(--ink); color: var(--sand); cursor: pointer; }
.wbac-pop-x:hover { color: var(--signal); border-color: var(--signal); }
@keyframes popfade { from { opacity: 0; } }
@keyframes popin { from { transform: translateY(16px) scale(.97); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wbac-pop, .wbac-pop-box { animation: none; } }
/* ophaalbalie + ophaalpas */
.pickup-list { display: grid; gap: 8px; }
.pickup-lot { display: grid; grid-template-columns: auto 96px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; background: var(--hull); border: 1px solid var(--line); cursor: pointer; }
.pickup-lot input { width: 26px; height: 26px; accent-color: var(--signal); }
.pickup-lot img { width: 96px; aspect-ratio: 4 / 3; object-fit: cover; }
.pickup-lot.done { opacity: .55; cursor: default; }
.pickup-lot .pill { justify-self: start; }
.pickup-txt { display: grid; gap: 4px; min-width: 0; }
.lot-nr-inline { font-family: var(--display); color: var(--signal); font-size: 1.1rem; }
.pickup-form { display: grid; gap: 16px; }
.passes { display: grid; gap: 14px; }
.pass { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: center; padding: 16px; background: var(--sand); color: var(--ink); border-left: 6px solid var(--signal); }
.pass .eyebrow { color: var(--ink); } .pass .eyebrow::before { background: var(--ink); }
.pass .lp-title { color: var(--ink); font-size: 1.8rem; }
.pass .lp-note { color: #3b3a2f; }
.pass-qr { width: 150px; height: 150px; background: #fff; padding: 6px; }
@media (max-width: 520px) { .pass { grid-template-columns: 1fr; justify-items: start; } .pass-qr { width: 200px; height: 200px; } }
