/* WeldonAuction.com v2: "auction-yard bill". Anton (display) + Albert Sans (UI). No framework, no sister-kit CSS. */
@font-face { font-family: "Anton"; src: url("/assets/fonts/anton-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url("/assets/fonts/albert-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --paper: #F5F2EA;
  --paper-2: #ECE7DA;
  --card: #FFFDF8;
  --ink: #141414;
  --ink-2: #2B2B2B;
  --slate: #5D6670;
  --rule: #D9D2C1;
  --tag: #FFC531;
  --tag-ink: #3A2A00;
  --bid: #D4381E;
  --bid-dark: #A92A14;
  --lead: #1E7A4C;
  --lead-bg: #E2F2E8;
  --warn-bg: #FDE7E2;
  --focus: #1F5FD6;
  --radius: 6px;
  --wrap: 1180px;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --ui: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--ui); font-variant-numeric: tabular-nums; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--bid-dark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; line-height: 1.02; text-transform: uppercase; margin: 0 0 .4em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--slate); }
.small { font-size: .88rem; }
.num { font-variant-numeric: tabular-nums; }

/* bill strip + masthead */
.bill { background: var(--tag); color: var(--tag-ink); font-size: .86rem; font-weight: 600; }
.bill .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.bill strong { font-weight: 800; }
.mast { background: var(--ink); color: #fff; position: relative; z-index: 5; }
.mast .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; color: #fff; font-family: var(--display); font-size: 1.7rem; letter-spacing: .02em; line-height: 1; }
.brand b { font-weight: 400; background: var(--tag); color: var(--ink); padding: 3px 7px 2px; border-radius: 3px; transform: rotate(-2deg); display: inline-block; }
.brand small { font-family: var(--ui); font-size: .82rem; font-weight: 600; color: #BDBDBD; letter-spacing: 0; }
.brand:hover { color: #fff; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; flex: 1; }
.nav a { color: #E8E8E8; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 4px; }
.nav a:hover, .nav a[aria-current="page"] { background: #2A2A2A; color: #fff; }
.who { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.who a, .who button { font: 600 .92rem var(--ui); color: #fff; text-decoration: none; padding: 8px 12px; border-radius: 4px; background: none; border: 1px solid transparent; cursor: pointer; }
.who a:hover, .who button:hover { background: #2A2A2A; color: #fff; }
.who .join { background: var(--bid); }
.who .join:hover { background: var(--bid-dark); }
.who form { margin: 0; }
.badge { display: inline-block; min-width: 1.4em; padding: 0 .4em; margin-left: 4px; border-radius: 99px; background: var(--tag); color: var(--ink); font-size: .78rem; text-align: center; font-weight: 800; }

.flash { background: var(--card); border-bottom: 1px solid var(--rule); }
.flash p { margin: 0; padding: 14px 0; font-weight: 600; }
.flash p::before { content: "\2192\00a0"; color: var(--bid); }

/* buttons + forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 1rem var(--ui); padding: 13px 22px; border-radius: var(--radius); border: 2px solid var(--ink); background: var(--ink); color: #fff; text-decoration: none; cursor: pointer; line-height: 1.1; }
.btn:hover { background: #000; color: #fff; }
.btn--bid { background: var(--bid); border-color: var(--bid); }
.btn--bid:hover { background: var(--bid-dark); border-color: var(--bid-dark); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--tag { background: var(--tag); border-color: var(--tag); color: var(--ink); }
.btn--tag:hover { background: #F2B500; color: var(--ink); }
.btn--sm { padding: 8px 12px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
label { display: block; font-weight: 700; font-size: .92rem; margin: 0 0 6px; }
.hint { display: block; font-weight: 400; color: var(--slate); font-size: .85rem; margin-top: 4px; }
input[type=text], input[type=password], input[type=email], input[type=tel], input[type=number], input[type=datetime-local], input[type=search], textarea, select {
  width: 100%; font: 400 1rem var(--ui); color: var(--ink); background: #fff; border: 1.5px solid #BDB5A2; border-radius: var(--radius); padding: 11px 12px; }
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--ink); outline: 3px solid rgba(31, 95, 214, .25); outline-offset: 0; }
.field { margin-bottom: 18px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.err { background: var(--warn-bg); border-left: 4px solid var(--bid); padding: 12px 14px; margin: 0 0 18px; font-weight: 600; }
.hp { position: absolute; left: -5000px; }

/* home hero */
.hero { background: var(--ink); color: #fff; padding: 56px 0 64px; border-bottom: 6px solid var(--tag); }
.hero .wrap { display: grid; grid-template-columns: 1.35fr .9fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--tag); }
.hero .lede { font-size: 1.15rem; color: #DADADA; max-width: 38em; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero .btn--line { color: #fff; border-color: #fff; }
.hero .btn--line:hover { background: #fff; color: var(--ink); }
.board { background: var(--card); color: var(--ink); border-radius: 10px; padding: 26px; position: relative; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.board::before { content: ""; position: absolute; top: 14px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--paper-2); border: 2px solid var(--rule); }
.board h2 { font-size: 1.25rem; margin-top: 18px; text-align: center; }
.board dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; }
.board dt { color: var(--slate); font-weight: 600; }
.board dd { margin: 0; font-weight: 800; text-align: right; }
.board .rule { grid-column: 1 / -1; border-top: 1px dashed var(--rule); }

/* sections */
.section { padding: 56px 0; }
.section--tint { background: var(--paper-2); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.section__head h2 { margin: 0; }
.kicker { font: 800 .78rem var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--bid); margin: 0 0 8px; }
.page-head { padding: 44px 0 18px; }
.page-head p.lede { font-size: 1.12rem; max-width: 46em; color: var(--ink-2); }
.prose { max-width: 46em; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* lot cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(20,20,20,.12); color: var(--ink); }
.card__img { aspect-ratio: 4 / 3; background: var(--paper-2); position: relative; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__img .nophoto { position: absolute; inset: 0; display: grid; place-items: center; color: var(--slate); font-weight: 700; }
.lotno { position: absolute; top: 10px; left: 10px; background: var(--tag); color: var(--ink); font: 400 .95rem var(--display); letter-spacing: .06em; padding: 4px 8px 3px; border-radius: 3px; box-shadow: 0 2px 0 rgba(0,0,0,.2); }
.card__body { padding: 14px 16px 16px; flex: 1; }
.card__body h3 { font-family: var(--ui); text-transform: none; font-weight: 700; font-size: 1.05rem; letter-spacing: 0; line-height: 1.3; margin: 0; }
.card__stats { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: #fff; }
.card__stats div { padding: 10px 16px; }
.card__stats div + div { border-left: 1px solid #333; }
.card__stats span { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #AFAFAF; font-weight: 700; }
.card__stats b { font-size: 1.12rem; }
.chip { display: inline-block; font: 800 .72rem var(--ui); letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 3px; background: var(--paper-2); color: var(--ink); }
.chip--live { background: var(--bid); color: #fff; }
.chip--soon { background: var(--tag); color: var(--ink); }
.chip--ended { background: #444; color: #fff; }
.chip--lead { background: var(--lead); color: #fff; }
.chip--out { background: var(--bid); color: #fff; }
.chip--draft { background: #8B8B8B; color: #fff; }

.empty { background: var(--card); border: 2px dashed var(--rule); border-radius: 10px; padding: 40px 28px; text-align: center; }
.empty h3 { font-size: 1.6rem; }
.empty p { max-width: 36em; margin: 0 auto 1em; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--card); border: 1px solid var(--rule); border-radius: 8px; padding: 22px 20px; position: relative; }
.steps li::before { counter-increment: s; content: "0" counter(s); font: 400 2.2rem var(--display); color: var(--bid); display: block; margin-bottom: 6px; }
.steps h3 { font-family: var(--ui); text-transform: none; font-size: 1.08rem; font-weight: 800; letter-spacing: 0; }
.steps p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.promises div { padding: 20px 20px 4px 0; }
.promises div + div { padding-left: 20px; border-left: 1px solid var(--rule); }
.promises b { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.25rem; margin-bottom: 4px; }

/* lot page */
.crumbs { font-size: .88rem; color: var(--slate); padding: 22px 0 6px; }
.crumbs a { color: var(--slate); }
.lot-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.lot-head .lotno { position: static; font-size: 1.1rem; flex: none; margin-top: 8px; }
.lot-head h1 { font-size: clamp(1.9rem, 4vw, 3.1rem); margin: 0; }
.lot { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: 34px; align-items: start; }
.gallery__main { background: var(--paper-2); border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; margin-top: 10px; }
.gallery__thumbs a { border: 2px solid transparent; border-radius: 5px; overflow: hidden; aspect-ratio: 1; display: block; }
.gallery__thumbs a[aria-current="true"] { border-color: var(--bid); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.bidbox { background: var(--card); border: 2px solid var(--ink); border-radius: 10px; position: sticky; top: 16px; overflow: hidden; }
.bidbox__top { background: var(--ink); color: #fff; padding: 18px 22px; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: end; }
.bidbox__top .lbl { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #B5B5B5; font-weight: 800; }
.bidbox__price { font: 400 2.9rem/1 var(--display); letter-spacing: .02em; }
.bidbox__left { text-align: right; }
.bidbox__left b { font: 400 1.7rem/1 var(--display); color: var(--tag); letter-spacing: .03em; }
.bidbox__body { padding: 18px 22px 22px; }
.bidbox__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .9rem; color: var(--slate); margin-bottom: 14px; }
.bidbox__meta b { color: var(--ink); }
.reserve { font-weight: 800; }
.reserve--not { color: var(--bid); }
.reserve--met { color: var(--lead); }
.you { padding: 10px 12px; border-radius: 6px; font-weight: 700; margin-bottom: 14px; }
.you--lead { background: var(--lead-bg); color: var(--lead); }
.you--out { background: var(--warn-bg); color: var(--bid-dark); }
.money { position: relative; }
.money span { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--slate); }
.money input { padding-left: 28px; font-size: 1.25rem; font-weight: 700; }
.quick { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 14px; }
.quick button { font: 700 .9rem var(--ui); border: 1.5px solid var(--ink); background: #fff; border-radius: 99px; padding: 6px 12px; cursor: pointer; }
.quick button:hover { background: var(--tag); }
.bidbox .row2 { display: flex; gap: 10px; margin-top: 12px; }
.bidbox .row2 form { flex: 1; margin: 0; }
.ends { font-size: .88rem; color: var(--slate); margin: 12px 0 0; }
.closed-note { font-weight: 700; font-size: 1.05rem; }
.lot-body { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: 34px; }
.desc { white-space: pre-line; font-size: 1.04rem; }
.facts { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: .95rem; }
.facts th, .facts td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.facts th { width: 40%; color: var(--slate); font-weight: 700; padding-right: 12px; }
.table { width: 100%; border-collapse: collapse; font-size: .94rem; background: var(--card); }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.table th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); background: var(--paper-2); }
.table td.r, .table th.r { text-align: right; }
.table tr.mine td { background: #FFF6D6; }
.tablewrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 8px; }
.tablewrap:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.panel { background: var(--card); border: 1px solid var(--rule); border-radius: 8px; padding: 22px; margin-bottom: 22px; }
.panel h2 { font-size: 1.35rem; }
.sticky-bid { display: none; }

/* confirm, forms pages */
.narrow { max-width: 560px; margin: 0 auto; padding: 40px 0 60px; }
.confirm { background: var(--card); border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; }
.confirm__top { background: var(--tag); padding: 16px 22px; font-weight: 800; }
.confirm__body { padding: 22px; }
.confirm .amount { font: 400 3.2rem/1 var(--display); margin: 6px 0 14px; }
.btnrow { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* account + admin */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 24px; border-bottom: 2px solid var(--ink); }
.tabs a { text-decoration: none; font-weight: 700; padding: 10px 14px; border-radius: 6px 6px 0 0; }
.tabs a[aria-current="page"] { background: var(--ink); color: #fff; }
.notice-list { list-style: none; margin: 0; padding: 0; }
.notice-list li { padding: 12px 0; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.notice-list li.unread { font-weight: 700; }
.notice-list li.unread::before { content: ""; width: 9px; height: 9px; background: var(--bid); border-radius: 50%; margin-top: 8px; flex: none; }
.notice-list .t { flex: 1; min-width: 200px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.stat { background: var(--card); border: 1px solid var(--rule); border-radius: 8px; padding: 16px; }
.stat b { display: block; font: 400 2rem/1 var(--display); }
.stat span { color: var(--slate); font-size: .86rem; font-weight: 700; }
.formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.formgrid .full { grid-column: 1 / -1; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-bottom: 16px; }
.photos figure { margin: 0; background: #fff; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; }
.photos img { aspect-ratio: 1; width: 100%; object-fit: cover; }
.photos figcaption { display: flex; gap: 4px; padding: 6px; flex-wrap: wrap; }
.photos figcaption form { margin: 0; }
.uplog { list-style: none; padding: 0; margin: 8px 0 0; font-size: .9rem; }
.uplog li.bad { color: var(--bid-dark); font-weight: 700; }
.inline { display: inline; margin: 0; }
.code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.05rem; background: #fff; border: 1px dashed var(--ink); padding: 10px 12px; word-break: break-all; border-radius: 6px; }
.locked { background: var(--paper-2); border-radius: 6px; padding: 12px 14px; margin-bottom: 18px; font-weight: 600; }

/* footer */
.foot { background: var(--ink); color: #CFCFCF; margin-top: 64px; padding: 44px 0 26px; font-size: .93rem; }
.foot a { color: #fff; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot__word { font: 400 1.6rem var(--display); color: #fff; margin: 0 0 8px; letter-spacing: .02em; }
.foot__word b { font-weight: 400; color: var(--tag); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 7px; }
.foot__base { border-top: 1px solid #333; margin-top: 30px; padding-top: 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot__base p { margin: 0; }

.notice-page { padding: 64px 0; max-width: 680px; }

/* responsive */
@media (max-width: 980px) {
  .hero .wrap, .lot, .lot-body { grid-template-columns: 1fr; }
  .steps, .promises, .stats { grid-template-columns: 1fr 1fr; }
  .promises div:nth-child(3) { padding-left: 0; border-left: 0; }
  .bidbox { position: static; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .bill .wrap { flex-direction: column; gap: 2px; }
  .mast .wrap { gap: 6px 14px; padding-top: 10px; padding-bottom: 10px; }
  .nav { order: 3; width: 100%; flex: none; overflow-x: auto; flex-wrap: nowrap; }
  .nav a { padding: 6px 10px; white-space: nowrap; }
  .who { margin-left: auto; }
  .who a, .who button { padding: 6px 9px; }
  .hero { padding: 36px 0 40px; }
  .steps, .promises, .stats, .formgrid, .foot__grid { grid-template-columns: 1fr; }
  .promises div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .section { padding: 40px 0; }
  .bidbox__price { font-size: 2.4rem; }
  .is-lot .sticky-bid { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--ink); color: #fff; padding: 10px 16px; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -6px 18px rgba(0,0,0,.25); }
  .is-lot .sticky-bid b { font: 400 1.5rem var(--display); }
  .is-lot .foot { padding-bottom: 90px; }
  .table th, .table td { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print { .mast, .bill, .foot, .bidbox form, .sticky-bid { display: none; } body { background: #fff; } }
.lot-body h2 { margin-top: 1.2em; }
.lot-body h2:first-child { margin-top: 0; }
.desc { margin-bottom: 8px; }
@media (max-width: 640px) { .bill .wrap span + span { display: none; } }

/* v2.1.0: dated seller updates on a lot (yellow lot-tag rule), the withdraw box, admin warnings */
.updates { margin-bottom: 26px; }
.updates__list { list-style: none; margin: 0; padding: 0; }
.updates__list li { background: var(--card); border: 1px solid var(--rule); border-left: 6px solid var(--tag); border-radius: 6px; padding: 14px 16px; margin-bottom: 12px; }
.updates__when { margin: 0 0 6px; font-weight: 700; font-size: .92rem; color: var(--slate); }
.withdraw { margin: 14px 0; padding: 12px 14px; background: var(--warn-bg); border-radius: 6px; }
.withdraw p { margin: 0 0 8px; }
.withdraw .check { margin-bottom: 10px; }
