:root {
  color-scheme: light;
  --ink: #211934;
  --purple: #000080;
  --paper: #fff;
  --violet: #decfff;
  --green: #d5f27d;
  --blue: #221a9d;
  --border: #999;
  --sans: Arial, Helvetica, sans-serif;
  --serif: "Times New Roman", Times, serif;
  font-family: var(--serif);
  color: var(--ink);
  background: #fff;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  padding: 32px 27px 44px;
}
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:visited { color: #59347b; }
a:hover { color: #991d42; }
:focus-visible { outline: 3px solid #a63162; outline-offset: 4px; }
button, input { font: inherit; }
img { display: block; }
p, h1, h2, h3 { margin: 0; }
ul { padding: 0; margin: 0; list-style: none; }
.skip {
  position: absolute;
  top: 4px;
  left: 1rem;
  padding: .5rem;
  background: white;
  transform: translateY(-150%);
}
.skip:focus { transform: translateY(0); }

.site {
  max-width: 1120px;
  margin: 0 auto;
  background: var(--paper);
}
.status-bar {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  background: var(--purple);
  color: #fff9eb;
  font: 700 .75rem/1.25 var(--sans);
  letter-spacing: .075em;
  padding: 8px 20px;
}
.status-bar[hidden] { display: none; }
.masthead {
  min-height: 106px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 11px 24px 13px;
}
.wordmark { flex: none; }
.wordmark img { width: clamp(124px, 15vw, 180px); height: auto; }
.masthead-copy {
  white-space: pre-wrap;
  padding: 3px 0;
  font-family: var(--sans);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.17;
}
.masthead-copy span { color: #a42d5e; }
.top-links { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.top-links a, .classic-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 35px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  padding: 6px 13px;
  text-decoration: none;
  font: 700 .9rem/1.16 var(--sans);
  cursor: pointer;
}
.top-links a:hover, .classic-button:hover { background: var(--violet); color: var(--ink); }

main { padding: 0 24px 24px; }
.billboard {
  background-color: #fff;
}
.billboard-copy { z-index: 1; padding: 22px 29px 25px; }
.terminal { font: 700 .75rem/1.3 var(--sans); letter-spacing: .075em; }
.billboard .terminal { color: #5c2f3c; }
.billboard h1 {
  margin: 8px 0 11px;
  font-family: var(--sans);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: .99;
  letter-spacing: -.035em;
}
.billboard-copy > p:last-child { line-height: 1.35; font-size: 1.06rem; }

.market {
  display: grid;
  grid-template-columns: minmax(146px, .85fr) minmax(0, 3fr) minmax(185px, 1.13fr);
  gap: 15px;
  align-items: start;
  margin-top: 17px;
}
.panel { background: #fff; }
.heading {
  min-height: 37px;
  padding: 8px 11px 7px;
  font: 700 1rem/1.2 var(--sans);
  letter-spacing: normal;
}
.heading h2 { font: inherit; }
.heading { color: white; background-color: var(--purple); }
.lavender:not(.heading) { background-color: var(--violet); }

.purple { color: #fff9ec; background-color: var(--purple); }
.peach { background-color: #f6d5c2; }
.mint { background-color: #d0f2d6; }
.lemon { background-color: #faedaf; }
.rose { background-color: #f1d1e0; }
.listing-heading, .bid-panel .heading { background: #07c405; color: #000; }
.giving-heading, .ticker-heading { background: #e40f05; color: #fff; }
.stats-heading, .application-panel .heading { background: #ffcf00; color: #000; }
.stats-heading { font-family: var(--sans); text-align: center; }
.market-stats { padding: 10px 12px; line-height: 1.4; }
.sell-link {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  margin-top: 11px;
  padding: 9px 9px 8px;
  border: 1px solid var(--border);
  background-color: #fff;
  font: 700 .875rem/1.25 var(--serif);
  letter-spacing: normal;
}
.listing-heading, .ticker-heading { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.listing-heading .terminal { letter-spacing: .035em; text-align: right; }
.listing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-height: 59px;
  padding: 8px 10px;
}
.listing:nth-child(even) { background: #fff; }
.listing + .listing { border-top: 1px solid #ddd; }
.listing h3 { font-size: 1.04rem; line-height: 1.2; }
.listing-price { white-space: nowrap; font: 700 .9rem/1 var(--serif); }
.giving { background: #fff; }
.giving-body { padding: 12px 12px 15px; }
.giving-body p { max-width: 23ch; margin: 0 0 13px; line-height: 1.34; }
.donation-link, .donation-link:visited, .breadcrumb, .breadcrumb:visited { color: #0000cc; text-decoration: underline; }
.footer { background: #fff; border-top: 1px solid var(--border); }
.footer-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 24px 11px;
  color: #4e4057;
  font-size: .875rem;
  line-height: 1.4;
}
.footer-inner a { white-space: nowrap; }
.footer-rule { display: none; }

.auction, .application-page { padding-top: 10px; }
.breadcrumb { display: inline-block; margin: 0 0 14px; }
.auction-heading h1 { margin: 5px 0 7px; font-size: clamp(1.8rem, 5vw, 3.25rem); line-height: 1.02; font-weight: 400; letter-spacing: normal; }
.auction-grid { margin-top: 16px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 15px; align-items: start; }
.panel-pad { padding: 18px; }
.big-price { margin: 5px 0 17px; font: 700 clamp(2.25rem, 6vw, 3.35rem)/1 var(--serif); letter-spacing: normal; }
.bid-form label { display: block; margin-bottom: 6px; font-weight: 700; }
.bid-form label span { font-weight: 400; }
.bid-controls { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.bid-controls .classic-button { min-height: 39px; background: white; }
.bid-controls .classic-button:hover { background: #e7f8a8; }
.money-input { display: flex; align-items: center; gap: 5px; background: #fff; border: 1px solid var(--border); min-height: 39px; padding-left: 8px; font-family: var(--serif); }
.money-input input { border: 0; background: transparent; color: var(--ink); width: 9rem; max-width: 41vw; padding: 6px; min-height: 36px; }
.bid-note { max-width: 40ch; margin: 14px 0 0; color: #4e4057; line-height: 1.35; font-size: .9375rem; }
.ticker-panel { min-height: 260px; }
.ticker-heading button {
  padding: 2px 5px;
  border: 1px solid #c4b4e5;
  color: #fff9ec;
  background: transparent;
  font: 700 .8rem/1.1 var(--sans);
  cursor: pointer;
}
.ticker-heading button:hover { background: #63438c; }
.ticker li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 51px;
  padding: 8px 11px;
  font: .875rem/1.14 var(--serif);
}
.ticker li:nth-child(odd) { background: #fff; }
.ticker li + li { border-top: 1px solid #ddd; }
.ticker strong { overflow-wrap: anywhere; }
.ticker time { display: block; margin-top: 4px; color: #564763; font-size: .78rem; }
.application-panel { max-width: 625px; }
.application-page { min-height: 330px; }
.application-panel p { line-height: 1.4; }

@media (max-width: 890px) {
  .market { grid-template-columns: minmax(0, 1fr) 215px; }
  .category-column { grid-area: 1 / 2; }
  .listing-panel { grid-area: 1 / 1 / 3; }
  .giving { grid-area: 2 / 2; }
  .wide-only { display: none; }
}
@media (max-width: 640px) {
  body { padding: 12px 10px 24px; }
  .status-bar { padding: 7px 10px; font-size: .67rem; letter-spacing: .02em; }
  .masthead { padding: 11px 12px 14px; flex-wrap: wrap; gap: 11px; }
  .masthead-copy { font-size: .93rem; }
  .top-links { margin: 0; width: 100%; }
  .top-links a { font-size: .825rem; min-height: 31px; padding: 4px 9px; }
  main { padding: 0 12px 17px; }
  .billboard-copy { padding: 16px 13px; }
  .billboard h1 { font-size: clamp(1.4rem, 5vw, 1.9rem); }
  .billboard-copy > p:last-child { font-size: 1.125rem; line-height: 1.45; }
  .billboard .terminal { font-size: .66rem; }
  .market { grid-template-columns: minmax(0, 1fr); gap: 11px; margin-top: 13px; }
  .listing-panel, .category-column, .giving { grid-area: auto; }
  .listing-panel { grid-row: 1; }
  .category-column { grid-row: 3; }
  .giving { grid-row: 2; }
  .footer-inner { padding: 10px 12px; flex-wrap: wrap; gap: 5px 15px; }
  .auction-grid { grid-template-columns: minmax(0, 1fr); }
  .ticker-panel { min-height: 0; }
}
@media (max-width: 370px) {
  .listing { gap: 7px; padding: 7px; }
  .listing h3 { font-size: .94rem; }
  .listing-price { font-size: .78rem; }
  .listing-heading .terminal { font-size: .66rem; }
}

.see-more { display: inline-block; margin: 10px 12px; }
#catalog-title { font: inherit; }
.latest-bid { display: flex; align-items: center; gap: 1rem; margin-top: 24px; }
.latest-bid strong { flex: none; font-family: var(--sans); }
.bid-window { overflow: hidden; flex: 1; min-width: 0; }
#latest-bid { display: inline-block; white-space: nowrap; animation: bid-pan 24s linear infinite; }
@keyframes bid-pan {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
.bid-window { container-type: inline-size; }
@supports (width: 1cqw) {
  #latest-bid { animation-name: bid-cross; animation-delay: -5s; }
  @keyframes bid-cross { from { transform: translateX(100cqw); } to { transform: translateX(-100%); } }
}
@media (prefers-reduced-motion: reduce) {
  #latest-bid { animation: none; white-space: normal; }
}

.contact-form { max-width: 26rem; display: grid; gap: 1rem; }
.contact-form label { display: grid; gap: .3rem; }
.contact-form input { padding: .5rem; width: 100%; border: 1px solid var(--border); }
.contact-form button { justify-self: start; }
.contact-form[hidden] { display: none; }
.listing-confirmation {
  max-width: 26rem;
  padding: 1rem;
  border: 1px solid #217642;
}
.listing-confirmation h2 { font: 700 1.125rem/1.3 var(--sans); }
.listing-confirmation p { margin: .35rem 0 0; }

.about-copy + p { margin-top: 1em; }

.home-page { display: flex; flex-direction: column; min-height: calc(100vh + 6rem); min-height: calc(100dvh + 6rem); }
.home-note { margin-top: auto; padding: 5rem 24px 1rem; font-size: .875rem; }
@media (max-width: 640px) {
  .home-note { padding-inline: 12px; }
}
