/* Brand: key visual of the auction — black ground, white Kharkiv Tone headlines,
   red neon glow, pixel camo, linocut heart. */

@font-face {
  font-family: 'Kharkiv Tone';
  src: url('../fonts/KharkivTone.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'e-Ukraine';
  src: url('../fonts/e-Ukraine-Light.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}

:root {
  /* colour */
  --bg: #0a0a0a;
  --bg-2: #121211;
  --bg-3: #1a1a18;
  --bg-gallery: #0e0e0d;
  --bg-glass: rgba(10, 10, 10, .72);
  --bg-glass-2: rgba(10, 10, 10, .88);
  --bg-2-glass: rgba(18, 18, 17, .92);
  --line: rgba(242, 239, 232, .12);
  --line-2: rgba(242, 239, 232, .24);
  --line-strong: rgba(242, 239, 232, .42); /* form-control borders, 3.7:1 */
  --ink: #f2efe8;
  --ink-2: #d6d2c8;
  --muted: #9d998f;
  --placeholder: #8a867d; /* 5.5:1 on --bg */
  --white: #fff;
  --red: #e3242b;
  --red-2: #ff4048;
  --red-deep: #8f0e13;
  --sand: #c2b48a;
  --khaki: #3c4129;
  --paper: #f3f0ea;
  --mat-paper: radial-gradient(ellipse at 50% 40%, #fbfaf7, #e6e1d6);
  --ok: #8fd18f;
  --ok-bg: #1f5a2a;
  --ok-ink: #bfe9bf;
  --err-ink: #ff9196;
  --err-ink-2: #ffb9bc;
  --disabled: #2c2c2a;
  --glow-text: 0 0 4px rgba(255, 64, 72, .85), 0 0 18px rgba(227, 36, 43, .55);
  --glow-img: drop-shadow(0 0 1.5px var(--red)) drop-shadow(0 0 7px rgba(227, 36, 43, .85)) drop-shadow(0 0 30px rgba(227, 36, 43, .45));

  /* shape */
  --radius: 2px;        /* actions, inputs, cards, badges, icon buttons, thumbs */
  --radius-pill: 999px; /* selection chips and status pills only */

  /* control heights */
  --ctl-lg: 56px; /* .btn, amount input */
  --ctl-md: 48px; /* .btn--small, inputs, admin filter */
  --ctl-sm: 44px; /* chips, quick amounts, dialog icon buttons — the touch floor */
  --ctl-xs: 32px; /* admin table .mini (44px on coarse pointers) */

  /* type */
  --display: 'Kharkiv Tone', 'Arial Black', sans-serif;
  --text: 'e-Ukraine', 'Helvetica Neue', Arial, sans-serif;
  --fs-2xs: 12px;
  --fs-xs: 13px;
  --fs-sm: 14px;
  --fs-md: 16px;
  --fs-lg: 18px;
  --fs-xl: 22px;
  --track-caps-sm: .1em;  /* caps at 13px or less */
  --track-caps-md: .08em; /* caps at 14–20px */
  --track-caps-lg: .02em; /* caps at 21–40px */

  /* spacing (4px base) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --section-y: clamp(72px, 10vw, 136px);
  --section-y-lg: clamp(88px, 12vw, 160px);
  --block-gap: clamp(56px, 7vw, 96px);

  /* layout */
  --container: 1240px;
  --gutter: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left), env(safe-area-inset-right));
  --topbar-h: 65px; /* 8 + 48 + 8 + 1px border */
  --lotbar-h: 65px; /* 10 + 44 + 10 + 1px border */

  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + var(--sp-3));
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 300 var(--fs-md)/1.65 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* Film grain over the whole page — keeps flat blacks from looking digital. */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: var(--sp-2); background: var(--red); color: var(--white); padding: 10px 14px; z-index: 300; }
.skip:focus { left: var(--sp-2); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- type ---------- */
.h2 {
  font: 400 clamp(32px, 5vw, 64px)/1.02 var(--display);
  text-transform: uppercase;
  margin: 0 0 var(--sp-10);
  text-wrap: balance;
}
@media (max-width: 400px) { .h2 { font-size: clamp(26px, 8.6vw, 32px); } }
/* Section kicker: index + label + neon rule, echoing the "05.10 —— 02.11" line of the KV. */
.kicker {
  display: flex; align-items: center; gap: var(--sp-3);
  margin: 0 0 var(--sp-6);
  font: 400 var(--fs-xs)/1 var(--display); text-transform: uppercase; letter-spacing: var(--track-caps-sm); color: var(--muted);
  white-space: nowrap;
}
.kicker span { color: var(--red-2); text-shadow: var(--glow-text); }
.kicker::after { content: ''; flex: 0 1 120px; min-width: 24px; height: 1px; background: linear-gradient(90deg, var(--red), transparent); }
.cur { font-family: var(--text); font-weight: 300; margin-left: .16em; font-size: .78em; letter-spacing: 0; }

/* ---------- buttons ----------
   Actions: 2px corners, display font, caps. LG (default) 56px, MD (.btn--small) 48px. */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--ctl-lg); padding: 0 var(--sp-8);
  background: var(--red); color: var(--white); border: 1px solid var(--red);
  border-radius: var(--radius);
  font: 400 var(--fs-sm)/1 var(--display); text-transform: uppercase; letter-spacing: var(--track-caps-md);
  text-decoration: none; cursor: pointer;
  box-shadow: 0 0 0 0 rgba(227, 36, 43, 0), 0 0 28px rgba(227, 36, 43, .35);
  transition: background .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s;
}
.btn--ghost { background: transparent; border-color: var(--line-2); box-shadow: none; }
@media (hover: hover) {
  /* The fill stays --red (white on #ff4048 fails AA); the neon lives in the glow. */
  .btn:is(:hover, :focus-visible) { background: var(--red); border-color: var(--red-2); box-shadow: 0 0 0 4px rgba(227, 36, 43, .22), 0 0 48px rgba(255, 64, 72, .7); }
  .btn--ghost:is(:hover, :focus-visible) { background: rgba(242, 239, 232, .06); border-color: var(--ink); box-shadow: none; }
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--disabled); border-color: var(--disabled); box-shadow: none; color: var(--muted); cursor: not-allowed; }
.btn:disabled:active, .btn[aria-disabled="true"]:active { transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--small { min-height: var(--ctl-md); padding: 0 22px; font-size: var(--fs-xs); letter-spacing: var(--track-caps-sm); white-space: nowrap; }
.btn--wide { width: 100%; }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: var(--sp-8);
  padding: var(--sp-2) max(var(--gutter), calc((100% - var(--container)) / 2));
  background: var(--bg-glass);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.topbar.is-scrolled { border-bottom-color: var(--line); background: var(--bg-glass-2); }
.brand { display: flex; align-items: center; gap: var(--sp-3); min-height: 44px; text-decoration: none; }
.brand__text { display: grid; font: 400 var(--fs-sm)/1.1 var(--display); text-transform: uppercase; letter-spacing: var(--track-caps-md); }
.brand__text small { font: 300 var(--fs-2xs)/1.4 var(--text); text-transform: none; letter-spacing: 0; color: var(--muted); }
.brand__mark { width: 26px; height: 26px; fill: var(--red); filter: drop-shadow(0 0 6px rgba(227, 36, 43, .85)); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 48px; text-decoration: none; color: var(--muted); font-size: var(--fs-sm); transition: color .2s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a.is-current { color: var(--ink); }
.nav a.is-current::after { transform: scaleX(1); }
@media (hover: hover) {
  .nav a:is(:hover, :focus-visible) { color: var(--ink); }
  .nav a:is(:hover, :focus-visible)::after { transform: scaleX(1); }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .topbar .btn { margin-left: auto; }
}
@media (max-width: 420px) { .brand__text small { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: calc(100svh - var(--topbar-h));
  align-content: center;
  display: grid; place-items: center;
  padding: clamp(32px, 5svh, 64px) var(--gutter) clamp(40px, 6svh, 72px);
  text-align: center;
  background:
    radial-gradient(ellipse 60% 45% at 50% 42%, rgba(143, 14, 19, .32), transparent 70%),
    radial-gradient(ellipse 120% 80% at 50% 50%, transparent 40%, rgba(10, 10, 10, .9) 100%),
    url('../img/bg-camo-dark.webp') center / cover;
}
.hero::after {
  content: ''; position: absolute; inset: auto 0 0; height: 30%; z-index: -1;
  background: linear-gradient(transparent, var(--bg));
}
.hero__inner { position: relative; z-index: 1; width: 100%; max-width: 960px; min-width: 0; }
.hero__title {
  font: 400 clamp(36px, min(8.4vw, 9.4svh), 112px)/.96 var(--display);
  text-transform: uppercase; margin: 0;
}
.hero__heart { width: min(400px, 72vw, 31svh); margin: clamp(4px, 1.5svh, 20px) auto 0; }
.hero__heart img {
  width: 100%; height: auto;
  filter: var(--glow-img);
  animation: beat 4.8s ease-in-out infinite, rise 1.4s var(--ease) both;
  transform-origin: 50% 60%;
}
@keyframes beat {
  0%, 30%, 100% { transform: scale(1); }
  8% { transform: scale(1.03); }
  16% { transform: scale(1); }
  22% { transform: scale(1.02); }
}
@keyframes rise { from { opacity: 0; filter: none; } }
.hero__branch {
  position: absolute; z-index: 0; width: clamp(200px, 30vw, 420px); pointer-events: none;
  filter: drop-shadow(0 0 2px var(--red)) drop-shadow(0 0 16px rgba(227, 36, 43, .5));
}
.hero__branch--tl { top: -110px; left: -150px; transform: rotate(160deg); opacity: .45; }
.hero__branch--br { bottom: -80px; right: -110px; transform: rotate(-20deg); opacity: .8; }
.hero__credit {
  position: absolute; right: 22px; top: 50%; z-index: 1; margin: 0;
  writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg);
  font: 300 var(--fs-2xs)/1 var(--text); letter-spacing: var(--track-caps-sm); text-transform: uppercase; color: rgba(242, 239, 232, .55);
  white-space: nowrap;
}
@media (max-height: 640px) { .hero__credit { display: none; } }
.hero__dates {
  display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 32px);
  font: 400 clamp(32px, min(6vw, 6.6svh), 76px)/1 var(--display);
  margin: clamp(12px, 2.5svh, 32px) 0 clamp(10px, 1.6svh, 18px);
}
.hero__dates i { display: block; width: clamp(56px, 20vw, 260px); height: 3px; background: var(--ink); }
.hero__lead {
  font: 400 clamp(var(--fs-sm), 1.9vw, 21px)/1.35 var(--display); text-transform: uppercase; letter-spacing: var(--track-caps-lg);
  color: var(--red-2); text-shadow: var(--glow-text); margin: 0 0 clamp(20px, 3.5svh, 36px);
  text-wrap: balance;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--sp-4) 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }
.hero__cta .btn { min-width: 260px; }
@media (max-width: 860px) { .hero__credit { display: none; } .hero__branch { opacity: .3 !important; } }

.countdown { display: inline-grid; gap: 6px; padding: var(--sp-3) 22px 14px; border: 1px solid var(--line); background: rgba(10, 10, 10, .55); backdrop-filter: blur(6px); }
/* Micro-labels share one treatment: display caps, 12px, tracked. */
.countdown__label, .price-box__label { margin: 0; font: 400 var(--fs-2xs)/1.2 var(--display); letter-spacing: var(--track-caps-sm); text-transform: uppercase; color: var(--muted); }
.countdown__grid { display: grid; grid-template-columns: repeat(4, minmax(58px, 1fr)); }
.countdown__grid > div { padding: 0 var(--sp-2); }
.countdown__grid > div + div { border-left: 1px solid var(--line); }
.countdown__grid b { display: block; min-width: 2ch; text-align: center; font: 400 clamp(26px, 4vw, 40px)/1.05 var(--display); font-variant-numeric: tabular-nums; }
.countdown__grid span { font-size: var(--fs-2xs); color: var(--muted); }
.countdown.is-done .countdown__grid { display: none; }

/* Phones: fit the title, keep both CTAs above the fold, stack them full-width. */
@media (max-width: 480px) {
  .hero { padding-block: var(--sp-5) var(--sp-8); }
  .hero__title { font-size: 9vw; }
  .hero__heart { width: min(64vw, 18svh); }
  .hero__dates { font-size: clamp(26px, 8vw, 32px); gap: var(--sp-3); margin: 10px 0 var(--sp-2); }
  .hero__dates i { width: clamp(24px, 10vw, 56px); height: 2px; }
  .hero__lead br { display: none; } /* let the lead reflow into fewer lines */
  .hero__actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); width: 100%; }
  .hero__cta { display: grid; grid-template-columns: 1fr; gap: var(--sp-2); width: 100%; }
  .hero__cta .btn { width: 100%; min-width: 0; }
  .countdown { width: 100%; padding: 10px var(--sp-3) var(--sp-3); }
  .countdown__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .countdown__grid > div { padding: 0 var(--sp-1); }
  .countdown__grid b { font-size: 26px; }
}
/* Laptops with short viewports: keep the CTA row above the fold. */
@media (min-width: 861px) and (max-height: 900px) {
  .hero { padding-block: clamp(16px, 3svh, 40px); }
  .hero__title { font-size: clamp(36px, min(8.4vw, 8svh), 112px); }
  .hero__heart { width: min(400px, 72vw, 24svh); }
  .hero__dates { margin: clamp(8px, 1.6svh, 24px) 0 clamp(6px, 1svh, 12px); }
  .hero__lead { margin-bottom: clamp(14px, 2.4svh, 28px); }
  .countdown { padding: var(--sp-2) 18px 10px; }
  .countdown__grid b { font-size: clamp(24px, 3.4svh, 36px); }
}
/* Landscape phones. */
@media (max-height: 480px) and (orientation: landscape) {
  .brand__text small { display: none; }
  .hero { min-height: auto; padding-block: var(--sp-4) var(--sp-6); }
  .hero__title br { display: none; }
  .hero__title { font-size: clamp(28px, 5vw, 44px); }
  .hero__heart { width: min(160px, 30svh); }
}

/* ---------- stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: var(--bg-2);
}
.stats__item { padding: clamp(22px, 3vw, 36px) var(--gutter); text-align: center; }
.stats__item + .stats__item { border-left: 1px solid var(--line); }
.stats__item b { display: block; font: 400 clamp(28px, 4vw, 48px)/1.1 var(--display); font-variant-numeric: tabular-nums; }
.stats__item span { color: var(--muted); font-size: var(--fs-xs); }
@media (max-width: 600px) {
  .stats { grid-template-columns: 1fr; }
  .stats__item + .stats__item { border-left: 0; border-top: 1px solid var(--line); }
  .stats__item { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-3); text-align: left; padding-block: var(--sp-4); }
  .stats__item span { text-align: right; }
}

/* ---------- sections ---------- */
.section { position: relative; padding-block: var(--section-y); }

.about__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.about__quote {
  margin: 0; font: 300 clamp(24px, 2.7vw, 38px)/1.32 var(--text); letter-spacing: -.01em; color: var(--ink);
  text-wrap: balance;
}
.about__quote::before {
  content: ''; display: block; width: 44px; height: 3px; margin-bottom: 28px;
  background: var(--red); box-shadow: 0 0 14px var(--red);
}
.about__text p { margin: 0 0 var(--sp-5); color: var(--ink-2); font-size: var(--fs-lg); text-wrap: pretty; }
.about__text p:last-child { margin-bottom: 0; }
/* Align the text column with the quote's first line (3px rule + 28px margin). */
@media (min-width: 861px) { .about__text { padding-top: 31px; } }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } }

.cats {
  list-style: none; margin: var(--block-gap) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
}
.cats li + li { border-left: 1px solid var(--line); }
.cats a {
  position: relative; display: grid; gap: var(--sp-1); height: 100%;
  padding: var(--sp-6); text-decoration: none; overflow: hidden;
  transition: background .3s var(--ease);
}
.cats a::before {
  content: '→'; position: absolute; right: var(--sp-6); top: var(--sp-6); color: var(--muted);
  transition: transform .3s var(--ease), color .3s;
}
.cats a:focus-visible { outline-offset: -2px; }
@media (hover: hover) {
  .cats a:is(:hover, :focus-visible) { background: rgba(227, 36, 43, .08); }
  .cats a:is(:hover, :focus-visible)::before { color: var(--red-2); transform: translateX(4px); }
}
.cats b { font: 400 clamp(36px, 4vw, 52px)/1 var(--display); color: var(--red-2); text-shadow: var(--glow-text); margin-bottom: var(--sp-2); font-variant-numeric: tabular-nums; }
.cats span { font: 400 var(--fs-lg)/1.2 var(--display); text-transform: uppercase; }
.cats small { color: var(--muted); font-size: var(--fs-xs); text-wrap: pretty; }
@media (max-width: 900px) {
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cats li:nth-child(3) { border-left: 0; }
  .cats li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 400px) {
  .cats a { padding: var(--sp-5) var(--sp-4); }
  .cats a::before { right: var(--sp-4); top: var(--sp-5); }
  .cats span { font-size: var(--fs-sm); }
}

.units-section {
  padding-top: 0;
}
.units { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.unit {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(220px, 24vw, 320px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(24px, 3vw, 40px);
  background:
    linear-gradient(180deg, rgba(10, 10, 10, .2), rgba(10, 10, 10, .92)),
    url('../img/bg-camo.webp') center / cover;
}
.unit:nth-child(2) { background-position: right bottom; }
.unit::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 100% 0%, rgba(227, 36, 43, .22), transparent 60%);
}
.unit__index {
  position: absolute; top: clamp(16px, 2vw, 28px); right: clamp(20px, 2.5vw, 36px);
  font: 400 clamp(56px, 8vw, 112px)/1 var(--display); color: transparent;
  -webkit-text-stroke: 1px rgba(242, 239, 232, .28);
}
.unit h3 { font: 400 clamp(32px, 4.4vw, 56px)/1.05 var(--display); text-transform: uppercase; margin: 0 0 var(--sp-2); text-wrap: balance; }
.unit p { margin: 0; color: var(--ink-2); text-wrap: pretty; }
@media (max-width: 700px) { .units { grid-template-columns: 1fr; } }

.how { background: var(--bg-2); border-block: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; padding: var(--sp-8) 28px var(--sp-2) 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps li::before {
  content: '0' counter(s); display: block; margin-bottom: var(--sp-6);
  font: 400 44px/1 var(--display); color: var(--red-2); text-shadow: var(--glow-text);
  font-variant-numeric: tabular-nums;
}
.steps b { display: block; font: 400 var(--fs-lg)/1.25 var(--display); text-transform: uppercase; letter-spacing: var(--track-caps-md); margin-bottom: 10px; text-wrap: balance; }
.steps li > span { display: block; color: var(--muted); font-size: var(--fs-md); line-height: 1.55; text-wrap: pretty; }
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  /* Padding, not margin, so the vertical divider runs unbroken between rows. */
  .steps li:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 0; padding-top: var(--sp-8); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: var(--sp-6) 0 var(--sp-1); border-left: 0; }
  .steps li + li, .steps li:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 0; padding-top: var(--sp-6); }
}

/* ---------- lots ---------- */
.lots__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--sp-5); margin-bottom: var(--sp-10); }
.lots__head .h2 { margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
/* Selection chips: pill, text font, not uppercase. */
.chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--ctl-sm); padding: 0 18px; border-radius: var(--radius-pill); border: 1px solid var(--line-2);
  background: transparent; cursor: pointer; font: 300 var(--fs-sm)/1 var(--text); color: var(--ink-2);
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
@media (hover: hover) {
  .chip:is(:hover, :focus-visible) { color: var(--ink); border-color: var(--ink); }
}
.chip:active { transform: scale(.97); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: clamp(16px, 2vw, 28px); }
.grid > li { display: flex; }
.grid__status { display: grid; justify-items: center; gap: var(--sp-4); margin: 0; color: var(--muted); text-align: center; padding: var(--sp-16) 0; }

.card {
  position: relative; display: flex; flex-direction: column; width: 100%;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; text-align: left; padding: 0;
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:focus-visible { border-color: rgba(227, 36, 43, .65); }
@media (hover: hover) {
  .card:is(:hover, :focus-visible) { border-color: rgba(227, 36, 43, .65); transform: translateY(-4px); box-shadow: 0 18px 50px -12px rgba(227, 36, 43, .28); }
  .card:is(:hover, :focus-visible) .card__img img.is-loaded { transform: scale(1.035); }
}
.card:active { transform: scale(.99); }
/* Gallery mat: artworks are shown whole, never cropped. */
.card__img {
  --mat: clamp(14px, 1.6vw, 22px);
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; flex: none;
  background: var(--mat-paper);
}
/* Absolutely positioned so a tall photo can never stretch the mat. */
.card__img img {
  position: absolute; inset: var(--mat);
  width: calc(100% - 2 * var(--mat)); height: calc(100% - 2 * var(--mat)); object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .22));
  opacity: 0; transform: scale(.98);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.card__img img.is-loaded { opacity: 1; transform: none; }
.card__num {
  position: absolute; top: var(--sp-3); left: var(--sp-3); z-index: 1;
  padding: 6px var(--sp-2); background: var(--bg); color: var(--ink);
  font: 400 var(--fs-2xs)/1 var(--display); letter-spacing: var(--track-caps-sm);
  font-variant-numeric: tabular-nums;
}
/* Lives inside .card__img, so it always sits on the photo mat. */
.card__badge {
  position: absolute; top: var(--sp-3); right: var(--sp-3); z-index: 1;
  padding: 6px 10px; border-radius: var(--radius);
  font-size: var(--fs-2xs); line-height: 1.25; background: var(--red); color: var(--white);
}
.card__badge--lead { background: var(--ok-bg); }
.card__body { display: flex; flex-direction: column; gap: var(--sp-2); padding: var(--sp-4) var(--sp-5) var(--sp-5); flex: 1; }
.card__author { font-size: var(--fs-xs); color: var(--sand); }
.card__title { display: block; font-size: var(--fs-md); line-height: 1.4; margin: 0; flex: 1; color: var(--ink); text-wrap: pretty; overflow-wrap: break-word; hyphens: manual; }
.card__price { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-2); margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid var(--line); }
.card__price b { font: 400 var(--fs-xl)/1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.card__price > span { font-size: var(--fs-2xs); color: var(--muted); text-align: right; }
@media (min-width: 601px) and (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); }
  .card__body { padding: var(--sp-3) var(--sp-4) var(--sp-4); }
  /* 3 narrow columns: stack price over its label instead of squeezing the label into two lines. */
  .card__price { flex-direction: column; align-items: flex-start; gap: var(--sp-1); }
  .card__price > span { text-align: left; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
  .card__img { --mat: 10px; }
  .card__num { top: var(--sp-2); left: var(--sp-2); padding: var(--sp-1) 6px; }
  .card__badge { top: auto; bottom: var(--sp-2); right: var(--sp-2); left: var(--sp-2); text-align: center; padding: var(--sp-1) 6px; }
  .card__body { padding: var(--sp-3) var(--sp-3) var(--sp-4); gap: var(--sp-1); }
  .card__author { font-size: var(--fs-2xs); }
  .card__title {
    font-size: var(--fs-sm); line-height: 1.35;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
    overflow-wrap: break-word; hyphens: manual;
  }
  .card__price { flex-direction: column; align-items: flex-start; gap: var(--sp-1); margin-top: var(--sp-3); padding-top: var(--sp-3); }
  .card__price b { font-size: var(--fs-lg); }
  .card__price > span { text-align: left; }
  .lots__head { margin-bottom: var(--sp-6); }
  /* Horizontal chip scroller: room for the focus ring, snap, and a fade hinting at more. */
  .filters {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); margin-block: -6px; padding: 6px var(--gutter);
    scroll-padding-inline: var(--gutter); scroll-snap-type: x proximity;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
  }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; scroll-snap-align: start; }
}
.card.is-flash { animation: flash 1.6s var(--ease); }
@keyframes flash { 0% { box-shadow: 0 0 0 2px var(--red-2), 0 0 48px rgba(227, 36, 43, .7); } 100% { box-shadow: none; } }

/* ---------- faq ---------- */
.faq__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(24px, 6vw, 96px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: var(--sp-5) var(--sp-12) var(--sp-5) 0; position: relative;
  font-size: var(--fs-lg); line-height: 1.35; text-wrap: balance; transition: color .2s;
}
.faq summary:focus-visible { color: var(--red-2); outline-offset: -2px; }
@media (hover: hover) { .faq summary:is(:hover, :focus-visible) { color: var(--red-2); } }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 50%; translate: 0 -50%; font: 400 26px/1 var(--display); color: var(--red-2); transition: rotate .25s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0 0 var(--sp-6); color: var(--muted); max-width: 62ch; text-wrap: pretty; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: minmax(0, 1fr); } .faq .h2 { margin-bottom: var(--sp-6); } }

/* ---------- closing ---------- */
.closing {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: var(--section-y-lg);
  border-top: 1px solid var(--line);
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(143, 14, 19, .3), transparent 70%), var(--bg);
  text-align: center;
}
.closing__heart {
  position: absolute; left: 50%; top: 50%; z-index: -1;
  width: min(520px, 90vw); translate: -50% -50%; opacity: .32;
  filter: var(--glow-img);
}
.closing__title { font: 400 clamp(28px, 4.6vw, 60px)/1.08 var(--display); text-transform: uppercase; margin: 0 0 var(--sp-10); text-wrap: balance; }
.closing .btn { min-width: 260px; }
@media (max-width: 360px) { .closing__title { font-size: 26px; } }
@media (max-width: 480px) { .closing .btn { width: 100%; min-width: 0; } }

/* ---------- footer ---------- */
.footer { padding: var(--sp-10) 0 calc(var(--sp-10) + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg-2); }
.footer__inner { display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-10); align-items: center; justify-content: space-between; }
.footer__title { display: grid; gap: var(--sp-1); font: 400 var(--fs-md)/1.2 var(--display); text-transform: uppercase; letter-spacing: var(--track-caps-md); margin: 0; }
.footer__title small { font: 300 var(--fs-xs)/1.4 var(--text); text-transform: none; letter-spacing: 0; color: var(--muted); }
.footer__note { margin: 0; color: var(--muted); font-size: var(--fs-xs); }
.footer__dev a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--red); padding-bottom: 1px; position: relative; transition: color .2s, text-shadow .2s; }
/* invisible 44px hit area around the inline credit link */
.footer__dev a::after { content: ""; position: absolute; inset: -12px -8px; }
@media (hover: hover) { .footer__dev a:is(:hover, :focus-visible) { color: var(--red-2); text-shadow: var(--glow-text); } }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- lot dialog ---------- */
.lot {
  --lotbar-h: 65px;
  width: min(1180px, 100% - 24px); max-width: none; max-height: calc(100dvh - 24px);
  padding: 0; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--bg-2); color: var(--ink);
  overscroll-behavior: contain;
  /* Keep focused fields clear of the sticky bar. */
  scroll-padding-top: calc(var(--lotbar-h) + 8px); scroll-padding-bottom: var(--sp-4);
}
.lot::backdrop { background: rgba(0, 0, 0, .8); backdrop-filter: blur(6px); }
.lot[open] { animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.99); } }
.lot__bar {
  position: sticky; top: 0; z-index: 3;
  display: flex; align-items: center; gap: var(--sp-1);
  min-height: var(--lotbar-h);
  padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left));
  background: var(--bg-2-glass); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.lot__pos { font: 400 var(--fs-2xs)/1 var(--display); letter-spacing: var(--track-caps-sm); color: var(--ink-2); padding: 0 var(--sp-2); font-variant-numeric: tabular-nums; }
.lot__bar-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-xs); color: var(--ink-2); padding-left: var(--sp-2); }
.lot__nav, .lot__close {
  flex: none; width: var(--ctl-sm); height: var(--ctl-sm); display: grid; place-items: center; padding: 0;
  border: 1px solid var(--line); border-radius: var(--radius); background: transparent; cursor: pointer;
  color: var(--ink); font-size: 0; line-height: 1; transition: border-color .2s, background .2s;
}
.lot__nav svg, .lot__close svg { display: block; }
@media (hover: hover) {
  .lot__nav:is(:hover, :focus-visible), .lot__close:is(:hover, :focus-visible) { border-color: var(--red); background: rgba(227, 36, 43, .12); }
}
.lot__close { margin-left: auto; }
.lot__body { display: grid; grid-template-columns: 1.1fr 1fr; }
.lot__gallery { padding: var(--sp-6); background: var(--bg-gallery); border-right: 1px solid var(--line); }
.lot__photo { position: sticky; top: calc(var(--lotbar-h) + var(--sp-6)); display: grid; place-items: center; background: var(--mat-paper); padding: clamp(16px, 2.4vw, 36px); min-height: min(62svh, 560px); }
.lot__photo img { width: 100%; max-height: min(66svh, 620px); object-fit: contain; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .25)); transition: opacity .25s var(--ease); }
.lot__photo img.is-loading { opacity: 0; }
.lot__thumbs { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-3); }
.lot__thumbs:empty { display: none; }
.lot__thumbs button { flex: none; width: 64px; height: 64px; padding: var(--sp-1); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); cursor: pointer; transition: border-color .2s, transform .15s; }
@media (hover: hover) { .lot__thumbs button:is(:hover, :focus-visible) { border-color: var(--line-2); } }
.lot__thumbs button:active { transform: scale(.97); }
.lot__thumbs button.is-active { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.lot__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.lot__info { padding: var(--sp-6) clamp(20px, 3vw, 40px) var(--sp-10); min-width: 0; }
.lot__num { margin: 0 0 var(--sp-4); font: 400 var(--fs-2xs)/1 var(--display); color: var(--red-2); text-shadow: var(--glow-text); text-transform: uppercase; letter-spacing: var(--track-caps-sm); }
.lot__author { margin: 0; color: var(--sand); }
.lot__title { font: 400 clamp(22px, 2.4vw, 30px)/1.2 var(--display); margin: var(--sp-2) 0; text-wrap: balance; }
.lot__details { margin: 0 0 var(--sp-6); color: var(--muted); }
.lot__about { white-space: pre-line; color: var(--ink-2); margin-top: var(--sp-8); padding-top: var(--sp-6); border-top: 1px solid var(--line); text-wrap: pretty; }
.lot__links { margin: var(--sp-4) 0 0; display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); }
.lot__links a { color: var(--sand); text-decoration: none; border-bottom: 1px solid rgba(194, 180, 138, .4); transition: color .2s, border-color .2s; }
@media (hover: hover) { .lot__links a:is(:hover, :focus-visible) { color: var(--ink); border-color: var(--ink); } }
.lot__closed {
  display: grid; gap: var(--sp-1); margin: 0;
  padding: var(--sp-4) var(--sp-5) var(--sp-4) 18px;
  border: 1px solid var(--line); border-left: 3px solid var(--red);
  background: rgba(227, 36, 43, .06); color: var(--ink-2); font-size: var(--fs-sm); text-wrap: pretty;
}
.lot__closed b { font: 400 var(--fs-sm)/1.3 var(--display); text-transform: uppercase; letter-spacing: var(--track-caps-md); color: var(--ink); text-wrap: balance; }
@media (max-width: 900px) {
  .lot { width: 100%; max-height: 100dvh; height: 100dvh; border: 0; }
  .lot__body { grid-template-columns: 1fr; }
  .lot__gallery { padding: 0; border-right: 0; }
  .lot__photo { position: static; min-height: 0; padding: var(--sp-3); }
  .lot__photo img { max-height: min(44svh, 420px); }
  .lot__thumbs { padding-inline: var(--gutter); flex-wrap: nowrap; overflow-x: auto; }
  .lot__info { padding: var(--sp-5) var(--gutter) calc(var(--sp-8) + env(safe-area-inset-bottom)); }
}

.price-box {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding: var(--sp-5); margin-bottom: var(--sp-6);
  border: 1px solid rgba(227, 36, 43, .45);
  background: linear-gradient(135deg, rgba(143, 14, 19, .28), rgba(10, 10, 10, .3));
}
.price-box__label { display: block; }
.price-box__value { display: block; font: 400 clamp(30px, 3.4vw, 40px)/1.15 var(--display); font-variant-numeric: tabular-nums; }
.price-box__meta { font-size: var(--fs-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
/* Own-bid status pill, same size as the card badges. */
.mine {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  margin: 0; padding: 6px 10px; border-radius: var(--radius-pill);
  font-size: var(--fs-2xs); line-height: 1.2; font-variant-numeric: tabular-nums;
}
.mine::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.mine--lead { background: rgba(31, 90, 42, .45); color: var(--ok-ink); }
.mine--outbid { background: rgba(227, 36, 43, .2); color: var(--err-ink-2); }

.bid-form { display: grid; gap: var(--sp-4); }
.field { display: grid; gap: var(--sp-2); }
.field label { font-size: var(--fs-xs); color: var(--ink-2); }
.field small { color: var(--muted); }
.field input {
  width: 100%; min-height: var(--ctl-md); padding: var(--sp-2) var(--sp-3);
  background: var(--bg); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--radius);
  font: 300 var(--fs-md) var(--text);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder { color: var(--placeholder); }
.field input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(227, 36, 43, .22); }
.field input[aria-invalid="true"] { border-color: var(--red-2); background: rgba(227, 36, 43, .08); box-shadow: inset 3px 0 0 var(--red-2); }
.field input[aria-invalid="true"]:focus { box-shadow: inset 3px 0 0 var(--red-2), 0 0 0 3px rgba(255, 64, 72, .35); }
.field--amount input {
  font: 400 26px var(--display); min-height: var(--ctl-lg); font-variant-numeric: tabular-nums;
  -moz-appearance: textfield; appearance: textfield;
}
.field--amount input::-webkit-inner-spin-button,
.field--amount input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.field__hint { margin: 0; font-size: var(--fs-2xs); line-height: 1.4; color: var(--muted); font-variant-numeric: tabular-nums; }
.field__error { margin: 0; font-size: var(--fs-xs); line-height: 1.4; color: var(--err-ink); text-wrap: pretty; }
.field__error::before { content: '! '; font-family: var(--display); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); align-items: start; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.quick { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.quick button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--ctl-sm); padding: 0 18px; border: 1px solid var(--line-2); border-radius: var(--radius-pill);
  background: transparent; cursor: pointer; color: var(--ink-2);
  font: 300 var(--fs-sm)/1 var(--text); white-space: nowrap; font-variant-numeric: tabular-nums;
  transition: border-color .2s, background .2s, color .2s, transform .15s;
}
@media (hover: hover) { .quick button:is(:hover, :focus-visible) { border-color: var(--red); background: rgba(227, 36, 43, .1); color: var(--ink); } }
.quick button:active { transform: scale(.97); }
.quick button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.check { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--fs-xs); line-height: 1.5; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--red); flex: none; }
.check input[aria-invalid="true"] { outline: 2px solid var(--red-2); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; min-height: 1.5em; font-size: var(--fs-sm); }
.form-msg.is-error { color: var(--err-ink); }
.form-msg.is-warn { color: var(--sand); }
.form-msg.is-ok { padding: 10px var(--sp-3); background: rgba(31, 90, 42, .35); color: var(--ok-ink); }
.form-msg:empty { min-height: 0; padding: 0; }

.history { margin-top: var(--sp-8); }
.history h3 { font: 400 var(--fs-sm)/1.2 var(--display); letter-spacing: var(--track-caps-md); text-transform: uppercase; margin: 0 0 var(--sp-3); color: var(--muted); }
.history ol { list-style: none; margin: 0; padding: 0; }
.history li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-3); padding: var(--sp-3) 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.history li b { white-space: nowrap; }
.history li:first-child b { color: var(--red-2); }
.history time { color: var(--muted); font-size: var(--fs-2xs); white-space: nowrap; }
.history .empty { color: var(--muted); }
.share { margin-top: var(--sp-6); }

body.has-dialog { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .card__img img { opacity: 1; transform: none; }
}
.nowrap { white-space: nowrap; }

/* ---------- language switch ---------- */
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  min-width: var(--ctl-sm); height: var(--ctl-sm); padding: 0 var(--sp-2);
  border: 1px solid var(--line-2); border-radius: var(--radius);
  font: 400 var(--fs-xs)/1 var(--display); letter-spacing: var(--track-caps-sm); text-decoration: none; color: var(--ink-2);
  transition: border-color .2s, color .2s, background .2s;
}
.topbar .lang-switch { margin-right: calc(var(--sp-2) - var(--sp-8)); } /* sits 8px from the CTA, not the 32px topbar gap */
@media (hover: hover) { .lang-switch:hover { border-color: var(--red); color: var(--ink); background: rgba(227, 36, 43, .1); } }
@media (max-width: 860px) { .lang-switch { margin-left: auto; } .lang-switch + .btn { margin-left: 0; } }
/* On phones the heart mark alone carries the brand: the language switch and a
   live "Place a bid" CTA need the room (the link keeps its aria-label). */
@media (max-width: 480px) {
  .topbar .brand__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .topbar .brand { min-width: var(--ctl-sm); justify-content: center; }
}

.cta-short { display: none; }
@media (max-width: 370px) {
  .topbar .cta-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .topbar .cta-short { display: inline; }
}

/* ---------- language switch transition ----------
   / ↔ /en/ is a real navigation; the browser cross-fades the two pages while the
   topbar stays put, and app.js restores scroll and lots before the first paint. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .topbar { view-transition-name: topbar; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; animation-timing-function: var(--ease); }
}
.lang-switching .hero__heart img { animation: beat 4.8s ease-in-out infinite; }
.lang-switching .reveal { opacity: 1; transform: none; transition: none; }
.lang-switching .card__img img { opacity: 1; transform: none; transition: none; }
.lang-switching .lot[open] { animation: none; }

/* ---------- bid history: anonymous participants + comments ---------- */
.history li { display: block; }
.history__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.history__who { color: var(--ink-2); }
.history li.is-mine .history__who { color: var(--ok-ink); }
.history__comment { margin: 6px 0 0; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }

.field textarea {
  width: 100%; min-height: 88px; padding: 10px 14px; resize: vertical;
  background: var(--bg); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--radius);
  font: 300 16px/1.5 var(--text); transition: border-color .2s, box-shadow .2s;
}
.field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(227, 36, 43, .22); }
.field textarea[aria-invalid="true"] { border-color: var(--red-2); }
.field__hint--split { display: flex; justify-content: space-between; gap: 12px; }
.field__hint--split > span:last-child { flex: none; font-variant-numeric: tabular-nums; }
.field__hint--split .is-near { color: var(--err-ink); }
