:root {
  color-scheme: light;
  --ink: #2e211f;
  --muted: #706257;
  --plum: #442439;
  --plum-dark: #35182d;
  --gold: #f1bf3d;
  --yellow: #ffe388;
  --paper: #fffcf4;
  --line: #ebdfc6;
  --white: #fffefa;
  --green: #20774b;
  --display: "Aladin", "Trebuchet MS", Georgia, serif;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
.demo-admin-link { display: block; padding: .55rem .65rem; color: var(--plum); font-weight: 800; text-decoration: none; }
.admin-page { padding-bottom: 2.5rem; }
.admin-hero { display: flex; isolation: isolate; position: relative; overflow: hidden; align-items: center; padding: clamp(20px,4vw,48px); min-height: 205px; border: 1px solid #dfb84f; border-radius: 24px; background: #ffe382; color: var(--plum); }
.admin-hero > div { position: relative; z-index: 1; max-width: 65%; }
.admin-hero > img { position: absolute; inset: 0 0 0 auto; width: 37%; height: 100%; object-fit: cover; object-position: center; mix-blend-mode: multiply; mask-image: linear-gradient(to right, transparent, black 25%); }
.admin-hero a { font-size: .9rem; font-weight: 700; text-underline-offset: 3px; }
.admin-hero h1 { margin: .55rem 0 .2rem; font: 400 clamp(2.8rem,7vw,5rem)/1 var(--display); }
.admin-hero h1:focus { outline: none; }
.admin-hero p { margin: .55rem 0 1rem; }
.admin-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 18px 0; }
.admin-metrics > div, .admin-card { border: 1px solid var(--line); border-radius: 18px; background: var(--white); padding: clamp(16px,2.4vw,28px); }
.admin-metrics dt { font-size: .95rem; font-weight: 700; color: var(--muted); }
.admin-metrics dd { margin: .3rem 0 0; font: 800 clamp(1.7rem,4vw,2.7rem)/1.1 "DM Sans",sans-serif; color: var(--plum); }
.admin-columns { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.25fr); align-items: start; gap: 18px; }
.admin-card h2 { font: 400 2.15rem/1.1 var(--display); margin: 0; color: var(--plum); }
.admin-card h3 { margin: 1.5rem 0 .35rem; font-size: 1.06rem; }
.admin-card p { line-height: 1.5; }
.admin-heading { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.admin-heading label { color: var(--muted); font-size: .9rem; font-weight: 700; }
.admin-heading select { margin-left: .3rem; border: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: .42rem; border-radius: 6px; font: inherit; }
.admin-lots, .admin-activity { list-style: none; margin: 1rem 0 0; padding: 0; }
.admin-lots { display: grid; gap: 8px; }
.admin-lot { width: 100%; text-align: left; background: white; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; grid-template-columns: 1fr auto; gap: 6px; align-items: center; }
.admin-lot small { grid-column: 1/-1; color: var(--muted); font-size: .875rem; }
.admin-lot[aria-pressed=true] { background: #fff4c9; border-color: #bd9230; }
.admin-card .host-kicker { margin: 0 0 .4rem; }
.admin-schedule, .admin-activity time { color: var(--muted); font-size: .9rem; }
.admin-activity li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 12px; padding: .55rem 0; border-top: 1px solid var(--line); }
.admin-reports { display: flex; flex-wrap: wrap; gap: 8px; margin: 1rem 0; }
@media (max-width: 720px) { .admin-columns { grid-template-columns: 1fr; } .admin-metrics { gap: 6px; } .admin-metrics > div { padding: 10px; } .admin-hero > div { max-width: 80%; } }
@media (max-width: 390px) { .admin-metrics dt { font-size: .85rem; } .admin-hero > img { opacity: .5; } }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 300px; background: radial-gradient(ellipse at 53% 8%, #fff6d8 0%, transparent 50%), var(--paper); }
a { color: inherit; }
button, input, summary { font: inherit; }
button, summary { cursor: pointer; }
button:disabled { opacity: .45; cursor: default; }
:focus-visible { outline: 3px solid #267d82; outline-offset: 4px; }
.skip-link { position: absolute; top: .5rem; left: .5rem; padding: .85rem; background: white; transform: translateY(-160%); z-index: 20; }
.skip-link:focus { transform: none; }
.site-header { position: relative; z-index: 3; border-bottom: 1px solid #eee1bf; background: #fffcf2; }
.nav-wrap { width: min(1240px, calc(100% - 72px)); min-height: 74px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font-size: 27px; line-height: .87; font-weight: 900; letter-spacing: -.085em; }
.brand small { display: block; margin-top: .39rem; font-size: .56rem; font-weight: 900; letter-spacing: .14em; color: var(--muted); }
.brand-dot { color: #ac6621; }
.brand-mark { display: block; width: 43px; height: auto; flex: none; mix-blend-mode: multiply; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: .93rem; font-weight: 700; padding: 13px 0; }
.site-nav a:hover, .site-nav .nav-current { color: var(--ink); }
.site-nav .nav-current { border-bottom: 2px solid #dda63a; }
.demo-menu { position: relative; }
.demo-menu summary { padding: 9px 13px; background: #fff6d4; border: 1px solid #eddaa3; border-radius: 999px; white-space: nowrap; list-style: none; font-weight: 800; font-size: .86rem; display: flex; align-items: center; gap: 7px; }
.demo-menu summary::-webkit-details-marker { display: none; }
.demo-menu[open] summary { background: #ffe9a4; }
.demo-spark { font-size: 1.13rem; color: #805317; line-height: 1; }
.chevron { border: solid currentColor; border-width: 0 1.5px 1.5px 0; width: 6px; height: 6px; margin: -3px 3px 0; transform: rotate(45deg); }
.demo-actions { position: absolute; top: calc(100% + 8px); right: 0; width: max-content; max-width: calc(100vw - 36px); display: grid; gap: 3px; padding: 9px; background: var(--white); border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 14px 36px #43261322; }
.demo-actions p { padding: 6px 9px 4px; margin: 0; font-size: .85rem; color: var(--muted); }
.demo-actions button { text-align: left; border: none; border-radius: 8px; padding: 9px; background: transparent; color: var(--ink); font-size: .92rem; font-weight: 700; }
.demo-actions button:hover:not(:disabled) { background: #fff1c3; }
.page { width: min(1240px, calc(100% - 72px)); margin: 27px auto 0; }
.hero { position: relative; display: grid; min-height: 414px; overflow: hidden; isolation: isolate; border: 1px solid #e7bd59; border-radius: 29px; background: #ffdf72; box-shadow: 0 12px 28px #a57e241b; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(112deg, #fff0aa 2%, #ffe07d 55%, #ffe078 100%); }
.hero::after { content: ""; position: absolute; pointer-events: none; z-index: 1; inset: 10px; border: 1px solid #a8791944; border-radius: 21px; }
.hero-art { position: absolute; z-index: -1; inset: 0 0 0 37%; overflow: hidden; }
.hero-art img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 50%; mask-image: linear-gradient(90deg, transparent 0%, #000 23%, #000 100%); animation: arrive .7s ease-out both; }
.hero-content { position: relative; z-index: 2; align-self: center; padding: 34px 0 34px clamp(34px, 5.4vw, 76px); width: min(56%, 650px); }
.hero-eyebrow { color: #6e4620; font-size: .73rem; font-weight: 900; letter-spacing: .145em; display: flex; align-items: center; gap: 9px; }
.hero-eyebrow span { color: #966112; font-size: 1.02rem; }
.hero h1 { color: var(--plum-dark); margin: 10px 0 14px; font: 400 clamp(3.6rem, 6.8vw, 7rem)/.79 var(--display); letter-spacing: -.037em; }
.hero h1 span { color: #711f4e; font-size: 1.14em; }
.hero-copy { max-width: 365px; font-size: clamp(.98rem, 1.35vw, 1.13rem); font-weight: 700; color: #523729; line-height: 1.48; margin: 0 0 20px; }
.hero-status { position: absolute; z-index: 2; top: 23px; right: 24px; display: flex; align-items: center; gap: .52em; font-weight: 900; font-size: .86rem; background: #fff5c4; border: 1px solid #deaf50; border-radius: 999px; color: #684219; padding: .58rem .8rem; }
.hero-status span, .feed-live i { display: inline-block; height: 7px; width: 7px; border-radius: 50%; background: #348055; box-shadow: 0 0 0 3px #34805522; }
.hero-status.ended span, .feed-live.ended i { background: #84654a; box-shadow: none; }
.hero-ornament { position: absolute; z-index: 2; pointer-events: none; color: #895b1b; text-shadow: 0 0 14px #fff5ad; }
.hero-ornament-left { bottom: 22px; left: 22px; font-size: 1.1rem; }
.hero-ornament-right { bottom: 18px; right: 23px; color: #88500c; font-size: 1.55rem; animation: glint 3s ease-in-out infinite; }
@keyframes glint { 50% { opacity: .55; transform: scale(.85) rotate(10deg); } }
@keyframes arrive { from { opacity: 0; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }
.countdown { display: inline-flex; align-items: center; gap: 15px; min-height: 62px; padding: 8px 13px 8px 15px; border: 1px solid #d4932b65; border-radius: 13px; background: #fff5cc; color: var(--plum-dark); }
.clock-label { font-size: .72rem; letter-spacing: .09em; font-weight: 900; color: #694322; }
.clock { display: flex; align-items: flex-start; gap: 7px; }
.clock-unit { display: grid; text-align: center; min-width: 43px; align-items: center; }
.clock-unit strong, .clock-colon { font-size: 1.8rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.045em; }
.clock-unit small { font-size: .55rem; letter-spacing: .1em; font-weight: 900; margin-top: 4px; color: #694322; }
.countdown.final { color: #fff6d0; border-color: #7b2a43; background: #71334d; box-shadow: 0 0 0 4px #bd544029; }
.countdown.final small, .countdown.final .clock-label { color: #ffe5a1; }
.winner-clock { font-weight: 900; font-size: 1rem; overflow-wrap: anywhere; }
.host-strip { margin: 17px 0 18px; display: flex; align-items: center; gap: 15px; position: relative; overflow: hidden; padding: 16px 20px; border: 1px solid #efdb9b; border-radius: 16px; background: #fff4cd; }
.host-strip.hot { background: #ffe7b8; border-color: #e9ba76; }
.host-strip.ended { background: #edf6dc; border-color: #c8d9a1; }
.host-star { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; color: #74481d; background: #ffdf82; font-size: 1.25rem; }
.host-strip.hot .host-star { background: #ffcc81; color: #7c342b; }
.host-strip.ended .host-star { background: #d9eab1; color: #466339; }
.host-kicker { margin: 0 0 2px; font-size: .67rem; font-weight: 900; letter-spacing: .12em; color: #795622; }
.host-text { position: relative; z-index: 1; }
.host-text h2 { margin: 0; font-weight: 900; font-size: 1.05rem; letter-spacing: -.02em; }
.host-text p:last-child { margin: 2px 0 0; color: #594936; line-height: 1.4; font-size: .91rem; }
.host-decoration { margin-left: auto; font-size: 2.3rem; color: #9f692e55; line-height: 1; }
.arena { display: grid; grid-template-columns: minmax(0, .99fr) minmax(0, 1.07fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.panel { padding: 21px 21px 19px; background: var(--white); border: 1px solid var(--line); border-radius: 19px; box-shadow: 0 4px 12px #6e4b1810; min-height: 285px; }
.panel-head { display: flex; gap: 8px; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.panel-head h2 { margin: 0; font-size: 1.08rem; line-height: 1.16; font-weight: 900; letter-spacing: -.03em; }
.lot-number, .private-pill, .feed-live { padding: .38rem .53rem; border-radius: 999px; font-size: .76rem; font-weight: 850; white-space: nowrap; }
.lot-number { color: #754b1a; background: #fff3ce; }
.private-pill { color: #693a57; background: #f5e7f0; display: inline-flex; align-items: center; gap: 6px; }
.lock-icon { display: inline-block; position: relative; width: 10px; height: 8px; margin-top: 4px; border-radius: 2px; background: currentColor; }
.lock-icon::before { content: ""; position: absolute; top: -5px; left: 2px; width: 4px; height: 6px; border: 1px solid currentColor; border-radius: 6px; }
.feed-live { color: #21623c; background: #e6f4e7; display: inline-flex; gap: 7px; align-items: center; }
.feed-live.ended { color: #6c513b; background: #f6ebdc; }
.lot-product { display: grid; grid-template-columns: 78px 1fr; gap: 15px; align-items: center; }
.box-cover { display: grid; place-items: center; min-height: 89px; border-radius: 11px; background: #faedcc; overflow: hidden; }
.box-cover img { display: block; width: 100%; height: 87px; object-fit: contain; }
.box-fallback { font: 1.8rem var(--display); color: #673924; }
.lot-publisher { font-size: .65rem; font-weight: 900; letter-spacing: .09em; color: #8a5c32; }
.lot-product h3 { margin: 1px 0; color: var(--plum-dark); font-size: 1.8rem; font-weight: 900; letter-spacing: -.06em; line-height: 1.05; overflow-wrap: anywhere; }
.lot-edition, .lot-description, .game-info { color: var(--muted); font-size: .86rem; }
.lot-edition { margin: 3px 0 0; }
.lot-description { line-height: 1.55; margin: 12px 0 10px; white-space: pre-line; overflow-wrap: anywhere; }
.game-info { display: flex; flex-wrap: wrap; gap: 5px; }
.game-info span { white-space: nowrap; border-radius: 6px; background: #f8f3e6; padding: .23rem .42rem; font-weight: 750; font-size: .76rem; }
.lot-price { margin-top: 14px; border-top: 1px solid #eee5d4; padding-top: 11px; display: flex; justify-content: space-between; gap: 4px; align-items: baseline; font-weight: 750; font-size: .88rem; color: var(--muted); }
.lot-price strong { color: var(--ink); font-size: 1.07rem; font-weight: 900; }
.bid-panel { border-color: #d7b274; background: linear-gradient(180deg, #fff7d9, var(--white) 57%); }
.card-copy { color: var(--muted); line-height: 1.55; font-size: .96rem; margin: 5px 0 17px; }
.primary-button, .secondary-button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 47px; color: #fff8dc; background: var(--plum); border: 1px solid #442439; border-radius: 11px; font-weight: 900; font-size: .95rem; padding: 9px 12px; transition: transform .14s ease, background .14s ease; }
.primary-button span { color: #ffda79; }
.primary-button:hover, .secondary-button:hover { background: #5b304c; transform: translateY(-1px); }
.primary-button:active, .secondary-button:active { transform: translateY(1px); }
.secondary-button { width: auto; min-height: 40px; font-size: .86rem; background: #fff3cf; color: #674423; border-color: #e1c47c; }
.secondary-button:hover { color: #674423; background: #ffe9a8; }
.quiet-note { text-align: center; margin: 13px 0 0; color: var(--muted); font-size: .85rem; }
.bidder-line { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 0 13px; font-weight: 800; font-size: .8rem; }
#bid-alias { overflow-wrap: anywhere; }
#prior-bid { color: #73533f; text-align: right; }
.input-label { display: block; margin-bottom: 5px; font-weight: 850; font-size: .87rem; }
.amount-field { display: flex; align-items: center; gap: 8px; border: 1px solid #cfa96e; background: #fffefa; border-radius: 10px; padding: 8px 11px; }
.amount-field:focus-within { outline: 2px solid #307f83; outline-offset: 1px; }
.amount-field span { font-size: .89rem; font-weight: 900; color: #755642; }
.amount-field input { width: 100%; border: 0; background: transparent; color: var(--ink); outline: none; font-weight: 900; font-size: 1.1rem; min-width: 0; }
.increments { margin-top: 8px; display: flex; gap: 5px; flex-wrap: wrap; }
.increments button { min-height: 34px; padding: 5px 7px; border: 1px solid #e5d1a8; color: #6d452e; background: #fff6df; border-radius: 7px; font-size: .78rem; font-weight: 850; }
.increments button:hover { background: #ffe9b0; }
.bid-hint, .form-error { min-height: 0; margin: 8px 0 10px; font-size: .79rem; line-height: 1.35; color: var(--muted); }
.form-error { color: #962b36; font-weight: 800; }
.feed-stats { font-size: .89rem; color: var(--muted); margin: -2px 0 8px; }
.feed-stats strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.feed-stats span { margin: 0 .2rem; }
.feed-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; max-height: 193px; overflow: auto; scrollbar-width: thin; scrollbar-color: #d9c6a3 transparent; }
.feed-list li { display: flex; align-items: center; gap: 8px; min-height: 39px; padding: 2px 2px 4px 0; border-bottom: 1px solid #f0e8d8; }
.feed-list li:last-child { border-bottom: 0; }
.feed-avatar { display: grid; place-items: center; width: 25px; height: 25px; flex: none; border-radius: 8px; font-weight: 900; font-size: .78rem; color: #67394d; background: #f6e6ee; }
.feed-list li:nth-child(4n+2) .feed-avatar { color: #585018; background: #ffefae; }
.feed-list li:nth-child(4n+3) .feed-avatar { color: #295e5d; background: #deeef0; }
.feed-list li:nth-child(4n) .feed-avatar { color: #496544; background: #e7efda; }
.feed-bidder { flex: 1; font-size: .83rem; font-weight: 850; overflow-wrap: anywhere; }
.feed-time { font-size: .74rem; color: var(--muted); text-align: right; white-space: nowrap; }
.feed-note { color: var(--muted); margin: 9px 0 0; font-size: .8rem; }
.result-kicker { font-weight: 850; font-size: .72rem; letter-spacing: .11em; color: #89522f; margin: 0 0 2px; }
.result-view h3 { font: 2.8rem/.96 var(--display); color: var(--plum); margin: 3px 0; overflow-wrap: anywhere; }
.result-value { font-size: 1.25rem; font-weight: 900; margin: 7px 0; color: #4a5733; }
.rules { scroll-margin-top: 17px; border-top: 1px solid var(--line); padding: 24px 0 32px; margin-top: 28px; }
.rules-intro { display: flex; align-items: center; gap: 9px; color: var(--plum-dark); margin-bottom: 15px; }
.rules-intro > span { color: #a76719; }
.rules-intro h2 { font: 2rem/.9 var(--display); margin: 0; }
.rule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rule-grid > div { border-left: 3px solid #e5a957; padding: 1px 12px; }
.rule-grid > div:nth-child(2) { border-color: #6ca9ba; }
.rule-grid > div:nth-child(3) { border-color: #78a67a; }
.rule-grid h3 { margin: 0 0 5px; font-size: 1rem; font-weight: 900; }
.rule-grid p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.site-footer { width: min(1240px, calc(100% - 72px)); margin: auto; padding: 15px 0 22px; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; font-weight: 700; }
.site-footer a { text-underline-offset: 3px; }
dialog { width: min(calc(100% - 32px), 420px); max-height: calc(100% - 32px); overflow: auto; color: var(--ink); background: var(--white); border: 1px solid #e1c179; border-radius: 23px; padding: 23px; box-shadow: 0 15px 75px #281a25aa; }
dialog::backdrop { background: #31212abc; backdrop-filter: blur(3px); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; }
.dialog-star { display: grid; place-items: center; width: 38px; height: 38px; background: #ffe58a; color: #684021; border-radius: 10px; font-size: 1.3rem; }
.dialog-close { border: 0; background: #f6eddf; color: var(--ink); border-radius: 8px; width: 36px; height: 36px; font-size: 1.35rem; }
dialog h2 { font: 2.55rem/1 var(--display); margin: 13px 0 6px; color: var(--plum); }
dialog p { color: var(--muted); margin: 0 0 15px; font-size: .95rem; line-height: 1.45; }
dialog input { background: #fffdfa; color: var(--ink); border: 1px solid #dabf89; padding: 10px 12px; min-height: 43px; border-radius: 8px; width: 100%; }
dialog .primary-button { margin-top: 13px; }
.toasts { position: fixed; z-index: 6; right: 18px; bottom: 18px; display: grid; gap: 8px; width: min(calc(100% - 36px), 305px); pointer-events: none; }
.toast { display: flex; gap: 9px; align-items: center; color: #fff7dd; padding: 12px 14px; border-radius: 11px; background: var(--plum-dark); box-shadow: 0 6px 20px #2b17383d; font-weight: 750; font-size: .88rem; animation: toast-in .28s both; }
.toast span { color: #ffd878; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
.confetti { pointer-events: none; position: absolute; inset: 0; z-index: 3; overflow: hidden; }
.confetti i { display: block; position: absolute; top: -20px; left: var(--x); width: 8px; height: 13px; background: var(--color); border-radius: 2px; animation: fall 1.65s var(--delay) ease-in forwards; }
@keyframes fall { to { transform: translate(var(--drift), 470px) rotate(510deg); opacity: .05; } }
@media (max-width: 950px) {
  .nav-wrap, .page, .site-footer { width: calc(100% - 42px); }
  .hero { min-height: 360px; }
  .hero-content { padding-left: 42px; }
  .hero h1 { font-size: clamp(3.6rem, 8vw, 6rem); }
  .hero-art { left: 32%; }
  .panel { padding: 16px 13px; }
  .arena { gap: 11px; }
}
@media (max-width: 750px) {
  .nav-wrap { min-height: 62px; }
  .site-nav { gap: 14px; }
  .hero h1 { font-size: clamp(3.9rem, 10.7vw, 6rem); }
  .hero-art { left: 33%; }
  .hero-content { width: 61%; padding-left: 30px; }
  .hero-copy { max-width: 255px; }
  .arena { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bid-panel { grid-column: 2; grid-row: 1 / span 2; }
  .feed-panel { grid-column: 1; min-height: auto; }
  .rule-grid { gap: 7px; }
}
@media (max-width: 520px) {
  .nav-wrap, .page, .site-footer { width: calc(100% - 28px); }
  .nav-wrap { gap: 9px; }
  .site-nav { display: none; }
  .page { margin-top: 14px; }
  .brand { font-size: 24px; }
  .brand-mark { width: 35px; }
  .brand small { font-size: .52rem; }
  .hero { border-radius: 21px; min-height: 0; }
  .hero::after { inset: 7px; border-radius: 15px; }
  .hero-content { text-align: center; display: grid; justify-items: center; width: 100%; padding: 55px 20px 20px; }
  .hero h1 { font-size: clamp(3.6rem, 13vw, 5.2rem); margin-top: 7px; margin-bottom: 9px; }
  .hero-eyebrow { font-size: .64rem; }
  .hero-copy { line-height: 1.38; margin-bottom: 0; }
  .hero-art { position: relative; inset: auto; height: clamp(188px, 49vw, 235px); grid-row: 2; margin: -12px 2px 54px; }
  .hero-art img { object-fit: contain; object-position: center; mask-image: radial-gradient(ellipse 53% 52%, #000 51%, #000 77%, transparent 100%); }
  .hero-status { top: 13px; right: 50%; transform: translateX(50%); padding: 5px 8px; font-size: .77rem; }
  .hero-ornament-left { bottom: 14px; left: 13px; }
  .hero-ornament-right { bottom: 14px; right: 13px; font-size: 1.1rem; }
  .countdown { position: absolute; top: calc(100% + clamp(159px, 43vw, 193px)); min-height: 51px; padding: 6px 11px; gap: 9px; background: #fff7d9; }
  .clock-unit strong, .clock-colon { font-size: 1.5rem; }
  .clock-unit { min-width: 31px; }
  .host-strip { gap: 10px; padding: 12px; margin: 12px 0; }
  .host-star { width: 33px; height: 33px; border-radius: 8px; }
  .host-decoration { display: none; }
  .arena, .rule-grid { grid-template-columns: 1fr; }
  .bid-panel, .feed-panel { grid-column: auto; grid-row: auto; }
  .bid-panel { order: -1; }
  .panel { min-height: auto; padding: 16px; }
  .rules { margin-top: 22px; padding-top: 18px; }
  .rule-grid { gap: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.nav-wrap { justify-content: flex-start; }
.site-nav { margin: 0 auto; }
.account-button { margin-left: auto; min-height: 40px; max-width: 155px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 7px 15px; border: 1px solid var(--plum); border-radius: 999px; color: #fff6db; background: var(--plum); font-weight: 850; font-size: .86rem; }
.account-button:hover { background: #60344f; }
.demo-menu { flex: none; }
.lot-times { margin: 10px 0 7px; color: var(--muted); font-size: .79rem; line-height: 1.45; }
.bgg-link { display: inline-block; color: #653854; font-size: .83rem; font-weight: 850; text-underline-offset: 3px; }
.lot-gallery, .photo-preview { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 10px; }
.lot-gallery button { display: block; border: 1px solid #ddc892; padding: 0; background: #f9ebcc; border-radius: 8px; overflow: hidden; }
.lot-gallery img, .photo-preview img { display: block; width: 50px; height: 50px; object-fit: cover; border-radius: 6px; }
.lot-directory { margin-top: 25px; padding: 17px 19px; background: #fff6d9; border: 1px solid #ecdcae; border-radius: 17px; scroll-margin-top: 16px; }
.directory-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.directory-head h2 { font: 2.3rem/.9 var(--display); margin: 3px 0; color: var(--plum-dark); }
.directory-head .primary-button { width: auto; min-height: 40px; white-space: nowrap; }
.lot-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(215px, 100%), 1fr)); gap: 8px; margin: 14px 0 0; padding: 0; }
.lot-list button { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 8px; align-items: center; padding: 10px; text-align: left; border: 1px solid #e9d5a5; border-radius: 10px; color: var(--ink); background: #fffdf5; }
.lot-list button:hover, .lot-list button[aria-current="true"] { background: #ffedb5; border-color: #d9ac5a; }
.lot-list strong { overflow-wrap: anywhere; font-size: .9rem; }
.lot-list button > small { grid-column: 1 / -1; color: var(--muted); font-size: .76rem; }
.status-badge { display: inline-flex; border-radius: 999px; padding: .25em .5em; font-weight: 850; font-size: .72rem; color: #78591d; background: #f9eabc; }
.status-badge.open { color: #21623c; background: #e6f4e7; }
.status-badge.closed { color: #6c513b; background: #f6ebdc; }
.feed-exports { margin-top: 12px; border-top: 1px solid #eee5d4; padding-top: 9px; }
.feed-exports p { margin: 0 0 6px; font-size: .82rem; font-weight: 900; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3px 8px; }
.feed-exports small { color: var(--muted); align-self: center; font-weight: 700; font-size: .72rem; }
.feed-exports > div { display: flex; gap: 5px; flex-wrap: wrap; }
.feed-exports button { min-height: 35px; padding: 4px 8px; color: #683f2a; border: 1px solid #e5d1a8; background: #fff6df; border-radius: 7px; font-weight: 800; font-size: .77rem; }
.feed-exports button:hover { background: #ffe8aa; }
.feed-empty { color: var(--muted); font-size: .86rem; border: 0 !important; }
.feed-list li.fresh { animation: bid-entry .85s ease-out both; border-radius: 5px; }
@keyframes bid-entry { 0% { transform: translateX(11px); opacity: .25; background: #ffdc7d; } 40% { opacity: 1; background: #fff1c5; } 100% { transform: none; background: transparent; } }
.toast.bid-flash { align-items: center; border: 1px solid #d39d40; color: #fff7df; }
.seal { position: relative; display: grid; place-items: center; flex: 0 0 33px; width: 33px; height: 33px; border-radius: 9px; border: 1px solid #ffc655; color: #633a2d !important; background: #ffda72; font-size: 1.12rem; animation: stamp-in .48s cubic-bezier(.24,.71,.44,1.3) both; }
.seal::after { content: ""; pointer-events: none; position: absolute; inset: -3px; border: 1px solid #ffe9a2; border-radius: inherit; animation: stamp-ring .75s .18s ease-out both; }
@keyframes stamp-in { from { transform: scale(1.65) rotate(-18deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: 1; } }
@keyframes stamp-ring { from { transform: scale(.75); } to { transform: scale(1.6); opacity: 0; } }
dialog .input-label:not(:first-child), .listing-dialog .input-label { margin-top: 10px; }
dialog .input-label small { color: var(--muted); font-size: .76rem; font-weight: 600; margin-left: 3px; }
dialog p.field-note { margin: 8px 0 0; font-size: .83rem; }
.demo-code { background: #fff3cd; border: 1px solid #eddb9c; padding: 9px; border-radius: 9px; }
.demo-code span { letter-spacing: .12em; }
.text-button { border: 0; padding: 8px 0; color: var(--plum); background: transparent; font-size: .84rem; font-weight: 850; text-decoration: underline; text-underline-offset: 3px; }
.account-name { font-size: 1.25rem; font-weight: 900; color: var(--ink); }
.listing-dialog { width: min(calc(100% - 32px), 560px); }
.listing-dialog textarea { width: 100%; resize: vertical; min-height: 65px; font: inherit; border: 1px solid #dabf89; background: #fffdfa; border-radius: 8px; padding: 8px 10px; color: var(--ink); }
.listing-dialog input[type="file"] { font-size: .85rem; }
.schedule-head { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: .9rem; font-weight: 900; }
.schedule-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.schedule-fields label { font-weight: 800; font-size: .83rem; }
.schedule-fields input { margin-top: 4px; padding-inline: 7px; }
.photo-dialog { width: fit-content; max-width: min(720px, calc(100% - 28px)); padding: 11px; }
.photo-dialog img { display: block; max-width: 100%; max-height: 75vh; border-radius: 8px; }
.photo-dialog .dialog-close { position: absolute; right: 15px; top: 15px; box-shadow: 0 1px 7px #0003; }
@media (max-width: 750px) {
  .site-nav { gap: 9px; }
  .site-nav a { font-size: .82rem; }
}
@media (max-width: 520px) {
  .account-button { max-width: 91px; min-height: 35px; padding-inline: 8px; }
  .nav-wrap { gap: 6px; }
  .nav-wrap .demo-menu summary { padding: 6px 8px; font-size: .74rem; gap: 3px; }
  .demo-menu summary .demo-spark { display: none; }
  .lot-directory { margin-top: 15px; padding: 12px; }
  .directory-head .primary-button { font-size: .84rem; }
}
@media (max-width: 360px) {
  .schedule-fields { grid-template-columns: 1fr; }
  .brand-mark { width: 29px; }
  .brand { gap: 5px; font-size: 21px; }
  .account-button { max-width: 62px; }
}
.oversight-link { display: flex; align-items: center; gap: 7px; padding: 6px 0 2px; margin-top: 5px; border: 0; background: none; color: #633450; font-size: .8rem; font-weight: 850; text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.oversight-dialog { width: min(calc(100% - 32px), 670px); }
.oversight-section { margin-bottom: 12px; padding: 12px; border: 1px solid #ecdbb1; background: #fffaf0; border-radius: 13px; }
.oversight-section h3, .pledge-box h3 { margin: 0 0 7px; font-size: 1.04rem; color: var(--plum); }
.oversight-list { list-style: none; margin: 0; padding: 0; font-size: .86rem; }
.oversight-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 5px 10px; padding: 6px 0; border-top: 1px solid #eee2ca; overflow-wrap: anywhere; }
.oversight-list li:first-child { border-top: 0; }
.oversight-list time { flex: none; color: var(--muted); font-size: .75rem; }
.witness-input { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; }
.witness-input button { white-space: nowrap; }
.pledge-box { margin-bottom: 12px; padding: 13px; background: #fff0bc; border: 1px solid #e8ca78; border-radius: 12px; }
.pledge-box label { display: flex; align-items: flex-start; gap: 8px; font-size: .91rem; line-height: 1.5; }
.pledge-box input[type="checkbox"] { width: 1.05rem; height: 1.05rem; min-height: auto; flex: none; margin: .2rem 0 0; accent-color: var(--plum); }
.oversight-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.oversight-section #ledger-summary { margin: 2px 0 8px; }
.ledger-scroll { max-height: 260px; overflow: auto; }
.ledger-table { width: 100%; border-collapse: collapse; font-size: .85rem; text-align: left; font-variant-numeric: tabular-nums; }
.ledger-table th, .ledger-table td { padding: 6px; border-bottom: 1px solid #ecdcb9; }
.ledger-table th { background: #fff1c7; position: sticky; top: 0; }
.ledger-table th:last-child, .ledger-table td:last-child { text-align: right; white-space: nowrap; }
.ledger-table td:last-child { font-weight: 850; }
@media (max-width: 400px) {
  .oversight-dialog { padding: 16px; }
  .oversight-list li { flex-wrap: wrap; }
  .witness-input { grid-template-columns: 1fr; }
  .witness-input button { width: 100%; }
}
.lot-detail-link { display: inline-block; margin: 11px 0 9px; color: var(--plum); font-weight: 850; font-size: .87rem; text-underline-offset: 3px; }
.lot-detail { margin-top: 23px; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; scroll-margin-top: 16px; }
.lot-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.lot-detail-head h2 { margin: 0; color: var(--plum-dark); font: 2.2rem/1.01 var(--display); overflow-wrap: anywhere; }
.lot-detail-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1fr); gap: clamp(15px, 3vw, 36px); align-items: start; }
.lot-detail.no-photos .lot-detail-grid { grid-template-columns: minmax(0, 1fr); }
.detail-hero-photo { display: block; width: 100%; height: clamp(234px, 37vw, 366px); border: 1px solid #ecdcb8; border-radius: 13px; background: #f9f0dd; padding: 13px; }
.detail-hero-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.lot-gallery button[aria-pressed="true"] { border-color: #8f5b29; box-shadow: 0 0 0 2px #d89951; }
.photo-credit { font-size: .78rem; color: var(--muted); margin: 9px 0 0; }
.photo-credit a { text-underline-offset: 3px; }
.rich-detail { color: var(--muted); font-size: .96rem; line-height: 1.65; overflow-wrap: anywhere; }
.rich-detail h3 { color: var(--plum-dark); font-size: 1.06rem; font-weight: 900; margin: 13px 0 3px; }
.rich-detail h3:first-child { margin-top: 0; }
.rich-detail p { margin: 0 0 .66rem; }
.rich-detail strong { color: var(--plum-dark); }
.shipment-card { border: 1px solid #eedbaa; border-radius: 13px; padding: 13px; margin-top: 14px; background: #fff7dd; }
.shipment-card h3 { margin: 0 0 9px; color: var(--plum); font-size: 1.04rem; }
.shipment-card dl { margin: 0; display: grid; gap: 5px; font-size: .86rem; }
.shipment-card dl div { display: flex; align-items: baseline; justify-content: space-between; gap: 5px 12px; }
.shipment-card dt { color: var(--muted); }
.shipment-card dd { margin: 0; text-align: right; font-weight: 800; overflow-wrap: anywhere; }
.shipment-card p { color: var(--muted); margin: 7px 0 0; font-size: .78rem; }
.upload-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
#photo-count { color: var(--muted); font-size: .84rem; font-weight: 800; }
.upload-options { display: flex; flex-wrap: wrap; gap: 7px; }
.upload-options .secondary-button { position: relative; overflow: hidden; cursor: pointer; }
.upload-options .secondary-button:hover { transform: none; }
.upload-options .secondary-button:focus-within { outline: 3px solid #267d82; outline-offset: 2px; }
.upload-options input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: inherit; min-width: 100%; min-height: 100%; }
.upload-options label:has(input:disabled) { opacity: .5; cursor: default; }
.photo-preview-item { position: relative; flex: none; }
.photo-preview-item img { width: 62px; height: 62px; }
.remove-photo { display: grid; place-items: center; border: 1px solid #ddcdb8; border-radius: 999px; width: 24px; height: 24px; padding: 0; background: #fff9eb; color: var(--plum-dark); font-weight: 900; position: absolute; right: 1px; top: 1px; }
.dimension-fields { margin: 12px 0; padding: 9px 10px; min-width: 0; border: 1px solid #eddbb0; border-radius: 10px; background: #fff8df; }
.dimension-fields legend { padding-inline: 4px; color: var(--ink); font-weight: 850; font-size: .88rem; }
.dimension-fields > div { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 7px; }
.dimension-fields label { font-size: .84rem; font-weight: 800; }
.dimension-fields input { min-width: 0; margin-top: 4px; }
.dimension-fields output { display: block; margin-top: 8px; font-size: .83rem; color: #65412c; font-weight: 850; }
@media (max-width: 680px) {
  .lot-detail { margin-top: 15px; padding: 14px; }
  .lot-detail-grid { grid-template-columns: minmax(0,1fr); }
  .lot-detail-head h2 { font-size: 1.9rem; }
}
@media (max-width: 360px) {
  .shipment-card dl div { display: grid; gap: 1px; }
  .shipment-card dd { text-align: left; }
}
