:root{color-scheme:light;--cream:#f7f3ea;--paper:#fffcf7;--ink:#231b17;--muted:#665951;--line:#dfd4c6;--rust:#994720;--dark:#292019;--green:#22623b;--red:#962c28;font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink)}a{color:inherit}button,input,textarea,select{font:inherit}button,a,input,textarea,select,summary{-webkit-tap-highlight-color:transparent}:focus-visible{outline:3px solid #bd6b34;outline-offset:3px}[hidden]{display:none!important}
img,video{display:block;max-width:100%}.wrap{width:min(1200px,100% - 2rem);margin-inline:auto}.narrow{max-width:690px}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.muted,small{color:var(--muted)}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}
.top{background:var(--paper);border-bottom:1px solid var(--line)}.mast{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-block:8px}.logo{text-decoration:none;font:bold 1.55rem Georgia,serif;color:var(--rust);white-space:nowrap}.logo span{color:var(--ink)}nav{display:flex;gap:4px 15px;align-items:center;flex-wrap:wrap}nav a,.back{display:inline-flex;min-height:44px;align-items:center;text-decoration:none;font-weight:650;color:var(--muted)}nav a:hover,.back:hover{color:var(--rust)}.preview{text-align:center;padding:5px 12px;background:#ede1cf;color:#5c4639;font-size:.8rem}
button,.button{display:inline-flex;min-height:46px;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:8px;background:var(--rust);color:#fff;font-weight:700;text-decoration:none;padding:10px 17px;cursor:pointer;text-align:center}button:hover,.button:hover{filter:brightness(.9)}button:disabled{opacity:.65;cursor:wait}.secondary{background:var(--paper);border-color:var(--line);color:var(--ink)}.small{font-size:.87rem;padding:7px 12px}.text-button{background:transparent;color:var(--rust);padding-left:0}.actions{display:flex;flex-wrap:wrap;gap:10px}
h1,h2,h3{font-family:Georgia,serif;line-height:1.08;margin:0 0 .55em;letter-spacing:-.035em}h1{font-size:clamp(2.4rem,6vw,4.5rem)}h2{font-size:clamp(1.75rem,4vw,2.7rem)}h3{font-size:1.35rem}p{margin:.5em 0 1em}.eyebrow{font-size:.72rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:var(--rust)}
.hero{margin-block:22px 36px;background:linear-gradient(90deg,#21150ed9 0%,#21150e70 49%,transparent 85%),url('/static/hero.webp') center 52%/cover,#513824;border-radius:16px;min-height:460px;color:#fff8ea;display:flex;align-items:center;overflow:hidden}.hero-copy{padding:clamp(24px,6vw,72px);max-width:630px}.hero h1{font-size:clamp(3.3rem,8vw,6.6rem);letter-spacing:-.068em;line-height:.94;margin:.2em 0 .24em}.hero p:not(.eyebrow){max-width:330px;color:#f6eadc}.hero .eyebrow{color:#ffd6a9}.hero .button{background:#f5dfbc;color:#40261b}
.auctions{padding-bottom:48px}.section-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.section-head span{color:var(--muted);font-size:.9rem}.filters{display:grid;gap:8px;grid-template-columns:1fr 1fr;margin:0 0 12px}.filters label{margin:0}.filters label:first-child{grid-column:span 2}.filters button{grid-column:span 2}.chips{display:flex;overflow:auto;gap:7px;padding:3px 2px 15px}.chips a{flex:none;text-decoration:none;border:1px solid var(--line);background:var(--paper);padding:8px 13px;min-height:44px;display:flex;align-items:center;border-radius:99px;font-size:.86rem}.chips a.selected{background:var(--dark);border-color:var(--dark);color:#fff}
.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card{display:block;text-decoration:none;background:var(--paper);border:1px solid var(--line);border-radius:12px;overflow:hidden}.card:hover{border-color:var(--rust)}.card-picture{position:relative;background:#d9c6b2;aspect-ratio:1.35}.card-picture img{width:100%;height:100%;object-fit:cover}.demo-tag{position:absolute;top:8px;left:8px;color:#2e2418;background:#fff8e9;border-radius:5px;padding:4px 7px;font-size:.68rem;font-weight:750}.card-body{padding:11px}.card h3{margin:.27em 0;font-size:clamp(1.05rem,2.4vw,1.38rem)}.card p{color:var(--muted);font-size:.8rem}.card-price{border-top:1px solid var(--line);padding-top:8px;display:flex;justify-content:space-between;align-items:end;gap:7px;flex-wrap:wrap}.card-price small,.card-price strong{display:block}.card-price span{color:#793917;font-size:.76rem;font-weight:750}.card-price strong{font-size:1.23rem}
.page{padding-block:22px 58px}.page h1{margin-top:8px}.detail{display:grid;gap:25px}.gallery{display:grid;gap:10px;align-content:start}.gallery img,.gallery video{width:100%;max-height:620px;object-fit:contain;border-radius:12px;background:#e8dac9}.detail section,.detail details{margin:14px 0 24px}.panel,fieldset,dialog{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:18px}.panel{margin-block:14px}.price-box{background:#efe2d2;border-radius:8px;padding:12px 16px}.price-box span{display:block;font-weight:700}.price-box strong{font-size:2.1rem;line-height:1.15}.price-box.highest{background:var(--green);color:white}.price-box.outbid{background:var(--red);color:white}.pulse{animation:outbid .55s ease-out 1}@keyframes outbid{50%{background:#c4352f}}@media(prefers-reduced-motion:reduce){.pulse{animation:none}}
.auction-line{display:flex;justify-content:space-between;gap:10px;margin-top:12px}#bid-form{display:grid;gap:5px;margin-bottom:10px}#bid-form label{margin-bottom:0}#auction-feedback:empty,#upload-status:empty{display:none}#auction>.button,#auction>form button{margin-top:5px}.history{padding:0;list-style:none}.history li{padding:10px 0;border-bottom:1px solid var(--line);display:flex;gap:8px;justify-content:space-between;flex-wrap:wrap}.history li span{overflow-wrap:anywhere;min-width:0}summary{cursor:pointer;min-height:44px;display:list-item;padding-top:10px;font-weight:700}
form{margin-block:10px}label{display:grid;gap:4px;font-weight:650;margin-bottom:11px}input,select,textarea{width:100%;min-height:46px;padding:9px 10px;border:1px solid #b8aa99;border-radius:7px;background:#fff;color:var(--ink)}textarea{min-height:95px;resize:vertical}fieldset{min-width:0;margin:0 0 15px}legend{font:bold 1.4rem Georgia,serif;padding:0 6px}.twocol{display:grid;grid-template-columns:1fr 1fr;gap:10px}.check{display:flex;align-items:center;gap:10px;min-height:44px}.check input{width:20px;min-height:20px;accent-color:var(--rust)}input[type=file]{max-width:100%;padding:6px}#upload-list{list-style:none;padding:0}#upload-list li{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:6px 0}#upload-list img{width:52px;height:48px;object-fit:cover;border-radius:5px}progress{width:100%;accent-color:var(--rust)}dialog{width:min(520px,100% - 2rem);max-height:85vh;color:var(--ink)}dialog::backdrop{background:#241712aa}#preview-content img{width:32%;display:inline-block;margin-right:1%;aspect-ratio:1;object-fit:cover}.feedback{background:#f4e5d6;border-radius:8px;padding:12px}.empty{grid-column:1/-1}
footer{border-top:1px solid var(--line);padding:24px 0;color:var(--muted);font-size:.88rem}footer .wrap{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
@media(max-width:620px){.mast nav{order:3;width:100%;overflow:auto;flex-wrap:nowrap;white-space:nowrap}.mast:not(:has(nav a:nth-child(3))) nav{order:0;width:auto}.hero{min-height:390px;background-position:60% center}.cards{gap:9px}}
@media(min-width:700px){.filters{grid-template-columns:2fr 1fr 1fr auto}.filters label:first-child,.filters button{grid-column:auto}.cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.card-body{padding:15px}.detail{grid-template-columns:1.15fr 1fr;gap:36px}.detail h1{font-size:clamp(2.5rem,5vw,4rem)}}
@media(max-width:699px){.gallery{grid-auto-flow:column;grid-auto-columns:100%;overflow-x:auto;scroll-snap-type:x mandatory}.gallery>*{scroll-snap-align:start;aspect-ratio:1.45;object-fit:contain}}

#upload-list video{flex:1 0 100%;max-height:280px;border-radius:8px;background:#282019}.listing-video{width:100%;border-radius:8px;background:#282019}

/* Listing validation: explicit labels and text, not color alone. */
.listing-page .listing-required{color:#8c2723;font-size:.85rem;font-weight:700}
.listing-page label>.listing-required{display:inline}
.listing-page .listing-error,.listing-page .field-error{color:#a01818;background:#fff0f0;border:1px solid #b3261e;border-radius:8px;padding:12px;overflow-wrap:anywhere}
.listing-page .listing-error{margin:12px 0}
.listing-page .listing-error ul{margin:.4rem 0 0;padding-left:1.3rem}
.listing-page .listing-error a{display:inline-block;padding:5px 0;text-decoration:underline}
.listing-page .field-error{display:block;font-size:.88rem;margin:4px 0 10px;padding:7px 10px;font-weight:650}
.listing-page [aria-invalid=true]{border:2px solid #b3261e}
.listing-page .listing-error:focus,.listing-page [aria-invalid=true]:focus{outline:3px solid #a01818;outline-offset:3px}
@media(max-width:420px){.listing-page .twocol{grid-template-columns:1fr}.listing-page .actions>button{flex:1 1 100%}}
