:root {
  color-scheme: light;
  --ink: #1c2430;
  --muted: #617080;
  --line: #d9e0e7;
  --surface: #ffffff;
  --band: #f5f7fa;
  --primary: #126b5f;
  --primary-dark: #0c4c44;
  --primary-deep: #083e38;
  --primary-soft: #e6f2f0;
  --primary-line: #b9d9d3;
  --accent: #b2442f;
  --accent-soft: #f8ebe8;
  --focus: #f2c94c;
  --control-line: #aab7c2;
  --shadow-sm: 0 2px 8px rgb(28 36 48 / 7%);
  --shadow-md: 0 18px 50px rgb(28 36 48 / 10%);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --content-width: 1120px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--band);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header-inner,
.site-footer-inner {
  width: min(var(--content-width), calc(100% - 32px));
  margin: 0 auto;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-block: 22px;
}

.footer-brand,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer a,
.text-link,
.policy-note a,
.legal-page a {
  color: var(--primary);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-links {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-name {
  color: var(--primary);
  font-weight: 780;
}

.brand-word + .brand-word {
  margin-left: 0.28em;
}

.brand-copy small,
.muted,
.policy-note {
  color: var(--muted);
}

.brand-copy small {
  line-height: 1.25;
}

.top-nav,
.action-row,
.compact-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.top-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--muted);
  font-weight: 650;
  border-radius: var(--radius-sm);
  transition: color 160ms ease, background-color 160ms ease;
}

.top-nav {
  flex-wrap: nowrap;
}

.top-nav a:first-child {
  padding-left: 0;
}

.top-nav a + a {
  border-left: 1px solid var(--line);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.top-nav a.nav-active {
  color: var(--primary);
  font-weight: 800;
}

.top-nav a:hover {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.top-nav a.nav-account-state {
  gap: 8px;
  padding-inline: 12px;
  border-radius: var(--radius-sm);
}

.nav-account-label--compact {
  display: none;
}

.top-nav a.nav-account-state::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.top-nav a.nav-account-state--signed-out {
  color: var(--muted);
  background: transparent;
}

.top-nav a.nav-account-state--partial {
  color: #8a5a13;
  background: #fff3dc;
}

.top-nav a.nav-account-state--partial::before {
  background: currentColor;
}

.top-nav a.nav-account-state--complete {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.top-nav a.nav-account-state--complete::before {
  background: var(--primary);
}

.message-stack {
  display: grid;
  gap: 8px;
  max-width: 1120px;
  margin: 16px auto;
  padding: 0 16px;
}

.message {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-line);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  animation: message-enter 220ms ease-out;
}

.message::before {
  content: "i";
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: .78rem;
  font-weight: 900;
}

.message.success::before {
  content: "✓";
}

.message.error {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.message.error::before {
  content: "!";
  background: var(--accent);
}

.email-verification-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1120px;
  margin: 16px auto;
  padding: 14px 16px;
  color: #5f3b00;
  background: #fff3dc;
  border: 1px solid #e5b35f;
  border-left: 4px solid #c17a00;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.email-verification-banner div {
  display: grid;
  gap: 2px;
}

.email-verification-banner--overdue {
  color: #6e1717;
  background: var(--accent-soft);
  border-color: var(--accent);
}

@keyframes message-enter {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.context-band {
  color: white;
  background: linear-gradient(125deg, var(--primary-dark), var(--primary));
  box-shadow: inset 0 -1px rgb(255 255 255 / 10%);
}

.context-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  width: min(var(--content-width), calc(100% - 32px));
  margin: 0 auto;
  padding-block: clamp(32px, 5vw, 56px);
}

.context-band--event .context-band-inner {
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
  gap: clamp(24px, 4vw, 48px);
  padding-block: clamp(22px, 3.5vw, 36px);
}

.context-band--event h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

.context-copy {
  min-width: 0;
}

.context-eyebrow,
.section-kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.context-eyebrow {
  color: #cfe6e2;
}

.context-band h1,
.context-title {
  max-width: 720px;
  margin: 0;
  color: white;
  font-size: clamp(2.1rem, 5vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.context-lede {
  max-width: 660px;
  margin: 14px 0 0;
  color: #dcece9;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  line-height: 1.5;
}

.context-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.shopping-countdown {
  margin: 18px 0 0;
  color: white;
  font-size: 1.05rem;
  font-weight: 800;
}

.shopping-countdown + .context-actions {
  margin-top: 10px;
}

.context-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding-left: clamp(22px, 4vw, 44px);
  border-left: 1px solid rgb(255 255 255 / 28%);
}

.context-facts div {
  min-width: 0;
  padding: 12px 16px;
  border-bottom: 1px solid rgb(255 255 255 / 16%);
}

.context-facts div:last-child {
  grid-column: 1 / -1;
  border-bottom: 0;
}

.event-context-facts div:last-child {
  grid-column: auto;
}

.event-context-facts div {
  border-bottom: 0;
}

.event-context-facts .pickup-summary strong,
.event-context-facts .pickup-summary small {
  display: block;
}

.event-context-facts .pickup-summary strong {
  font-size: 1.2rem;
}

.context-facts dt,
.context-item span {
  color: #bcd9d4;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.context-facts dd {
  margin-top: 5px;
  color: white;
  font-size: 1.05rem;
  line-height: 1.3;
}

.context-facts dd small {
  display: block;
  margin-top: 3px;
  color: #cfe3df;
  font-size: 0.78rem;
  font-weight: 650;
}

.context-facts a,
.context-link {
  color: white;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.context-band--compact .context-band-inner {
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 132px;
  padding-block: 24px;
}

.context-band--page .context-band-inner {
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 204px;
  padding-block: 32px;
}

.context-band--page .context-title {
  font-size: clamp(2.25rem, 4.5vw, 3.4rem);
}

.context-meta {
  justify-self: end;
  margin: 0;
  padding: 12px 0 12px clamp(22px, 4vw, 44px);
  border-left: 1px solid rgb(255 255 255 / 28%);
  color: #dcece9;
  font-weight: 750;
}

.context-band--compact .context-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  letter-spacing: -0.025em;
}

.context-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

.context-back-link {
  display: none;
}

.context-item {
  display: grid;
  gap: 4px;
  min-width: 280px;
  padding-left: clamp(22px, 4vw, 44px);
  border-left: 1px solid rgb(255 255 255 / 28%);
}

.context-item strong {
  color: white;
  font-size: 1.1rem;
}

.context-item small {
  color: #cfe3df;
}

.secure-label {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 9px;
  margin: 0;
  color: #dcece9;
  font-size: 0.88rem;
  font-weight: 750;
}

.secure-label::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #a8ddd4;
  box-shadow: 0 0 0 4px rgb(168 221 212 / 16%);
}

.stack-form > [hidden] {
  display: none;
}

.event-hero,
.detail-layout,
.checkout-layout,
.auction-shell,
.content-section,
.empty-state,
.form-shell,
.legal-page {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px) 16px;
}

.event-hero {
  padding-bottom: clamp(18px, 3vw, 32px);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.035em;
  max-width: 840px;
}

h2 {
  font-size: 1.35rem;
}

.eyebrow {
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.event-summary,
.detail-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.event-index {
  display: grid;
  gap: clamp(20px, 3vw, 30px);
}

.event-index-heading h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.event-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr) auto;
  align-items: center;
  gap: clamp(20px, 4vw, 42px);
  padding: clamp(20px, 4vw, 34px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.event-card--featured {
  border-color: var(--primary-line);
  box-shadow: var(--shadow-md);
}

.event-card-copy h3 {
  margin-bottom: 8px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.event-card-copy h3 a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color 150ms ease, text-decoration-color 150ms ease;
}

.event-card-copy h3 a:hover {
  color: var(--primary);
  text-decoration-color: currentColor;
}

.event-card-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.event-status {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.event-card-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.event-card-facts dt {
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.event-card-facts dd {
  margin-top: 5px;
  font-size: 1rem;
  line-height: 1.3;
}

.event-card-facts dd strong,
.event-card-facts dd small {
  display: block;
}

.event-card-facts dd small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.event-card-location {
  padding: 11px 13px;
  border: 1px solid var(--primary-line);
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
}

.event-card-facts > div:not(.event-card-location) {
  align-self: center;
}

.event-card-location dt {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-dark);
}

.event-card-location dt svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.event-card-action {
  justify-self: end;
  white-space: nowrap;
}

.past-events-section {
  display: grid;
  margin-top: clamp(18px, 3vw, 30px);
}

.event-archive-list {
  display: grid;
  gap: 14px;
}

.event-card--past {
  padding-block: 22px;
}

.event-card--past .event-card-copy h3 {
  font-size: 1.25rem;
}

.event-empty-state {
  width: 100%;
  padding: clamp(24px, 4vw, 36px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.home-page {
  width: min(var(--content-width), calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: clamp(44px, 7vw, 76px);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(34px, 6vw, 74px);
  padding-block: clamp(42px, 7vw, 82px);
}

.home-intro {
  min-width: 0;
}

.home-section-heading .section-kicker {
  margin-bottom: 10px;
}

.home-intro h1 {
  max-width: 650px;
  margin-bottom: 18px;
  font-size: clamp(2.65rem, 5.4vw, 4.8rem);
  line-height: 0.98;
}

.home-intro-line {
  max-width: 520px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 1.5;
}

.home-how-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 7px;
}

.home-event-panel {
  display: grid;
  align-content: start;
  min-width: 0;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--primary-line);
  border-top: 5px solid var(--primary);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.home-event-panel h2 {
  margin-bottom: 9px;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.home-event-panel h2 a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-event-description,
.home-event-confirmation {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.home-event-confirmation {
  margin-top: 22px;
  color: var(--primary-dark);
  font-weight: 750;
}

.home-event-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.home-event-facts dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-event-facts dd {
  margin: 5px 0 0;
  font-weight: 800;
  line-height: 1.35;
}

.home-event-action {
  justify-self: start;
  margin-top: 24px;
}

.home-event-panel--empty form {
  margin-top: 24px;
}

.home-event-panel--empty .home-event-action {
  margin-top: 0;
}

.home-shop,
.home-past-events {
  padding-top: clamp(38px, 6vw, 64px);
  border-top: 1px solid var(--line);
}

.home-shop {
  padding-bottom: clamp(38px, 6vw, 64px);
}

.home-section-heading {
  margin-bottom: 20px;
}

.home-section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.025em;
}

.home-shop-grid {
  display: grid;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.home-shop-grid > div {
  min-width: 0;
  padding: clamp(20px, 3vw, 28px);
  border-left: 1px solid var(--line);
}

.home-shop-grid > div:first-child {
  border-left: 0;
}

.home-shop-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-shop-grid > div {
  display: grid;
  gap: 6px;
}

.home-shop-grid strong {
  color: var(--primary-dark);
  font-size: 1.25rem;
}

.home-shop-grid span {
  color: var(--muted);
}

.home-past-events .section-heading > .text-link {
  min-height: 44px;
}

.event-archive-page {
  padding-top: clamp(28px, 4vw, 42px);
}

.detail-list {
  overflow: hidden;
}

.detail-list--compact {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.detail-list--compact div {
  padding: 12px 14px;
}

.detail-list--compact dd {
  font-size: 1.25rem;
}

.profile-contact-row dd {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.profile-contact-row dd small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.verified-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.verified-icon svg {
  width: 100%;
  height: 100%;
}

.verified-icon rect {
  fill: currentColor;
}

.verified-icon path {
  fill: none;
  stroke: white;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.25;
}

.event-summary {
  grid-template-columns: minmax(120px, 0.7fr) minmax(180px, 0.9fr) minmax(320px, 1.4fr);
  max-width: 960px;
  margin-top: 22px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgb(28 36 48 / 5%);
}

.event-summary div,
.detail-list div {
  background: var(--surface);
  padding: 16px;
}

dt {
  color: var(--muted);
  font-size: 0.85rem;
}

dd {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
}

.event-intro {
  max-width: 700px;
  font-size: 1.05rem;
  line-height: 1.45;
}

.event-kicker {
  margin-bottom: 10px;
  max-width: 700px;
  color: var(--accent);
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: 0;
}

.event-summary dt {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.event-summary dd {
  margin-top: 4px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.event-summary dd small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.summary-link {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.items-section {
  padding-top: clamp(24px, 3.5vw, 38px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.section-kicker {
  color: var(--primary);
}

.section-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 18px;
}

.item-card,
.list-row,
.pickup-row,
.auction-panel,
.checkout-summary,
.form-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.checkout-summary {
  width: min(620px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-md);
}

.item-card {
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.item-card:hover {
  border-color: var(--primary-line);
  box-shadow: 0 10px 28px rgb(28 36 48 / 10%);
  transform: translateY(-2px);
}

.item-media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: #e9edf1;
  color: var(--muted);
  overflow: hidden;
}

.item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-watch-form {
  margin: 0;
}

.watch-button {
  font-size: 1.45rem;
}

.watch-button.is-watched {
  border-color: var(--primary-line);
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.item-body {
  padding: 16px;
}

.item-body h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.item-body > .muted {
  margin-bottom: 0;
}

.item-card .compact-actions {
  flex-wrap: nowrap;
  gap: 6px;
}

.item-card .compact-actions .button.small {
  padding-inline: 8px;
}

.watch-toast {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 24px;
  max-width: min(360px, calc(100% - 32px));
  padding: 12px 16px;
  border: 1px solid var(--primary-line);
  border-radius: var(--radius-sm);
  background: var(--primary-dark);
  color: white;
  font-weight: 750;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.watch-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.watch-toast.is-error {
  border-color: #d8aaa2;
  background: #8d3020;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0;
}

.sold-out-label,
.sold-out-message {
  color: #a43b2a;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sold-out-label {
  font-size: 0.86rem;
}

.sold-out-message {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid #c5cfd7;
  border-radius: var(--radius-sm);
  background: white;
  color: var(--ink);
  padding: 0 14px;
  font-weight: 750;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 80ms ease;
}

.button:hover,
.icon-button:hover {
  border-color: var(--primary-line);
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.button:active,
.icon-button:active {
  transform: translateY(1px);
}

.button.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.button.primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
}

.button.light {
  border-color: white;
  background: white;
  color: var(--primary-dark);
  box-shadow: 0 4px 14px rgb(8 62 56 / 18%);
}

.button.light:hover {
  border-color: white;
  background: var(--primary-soft);
  color: var(--primary-deep);
}

.button.danger {
  border-color: #d8aaa2;
  color: var(--accent);
}

.button.danger:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: #8d3020;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.payment-summary {
  display: grid;
  gap: 4px;
  padding: 14px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--band);
}

.stripe-element {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}

.form-error {
  min-height: 20px;
  color: var(--accent);
  font-weight: 700;
}

.button.small,
.icon-button {
  min-height: 44px;
  padding: 0 10px;
}

.staff-portal-header .site-header-inner {
  gap: 14px;
}

.staff-logout-form {
  margin-left: auto;
}

.staff-login-shell {
  max-width: 520px;
}

.staff-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.staff-dashboard-card,
.staff-workflow-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.staff-dashboard-card {
  color: var(--ink);
  transition: border-color 150ms ease, transform 80ms ease, box-shadow 150ms ease;
}

.staff-dashboard-card:hover {
  border-color: var(--primary-line);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.staff-dashboard-card h2 {
  margin: 4px 0 12px;
}

.staff-dashboard-card dl {
  display: grid;
  gap: 6px;
  margin: 0;
}

.staff-dashboard-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.staff-dashboard-card dd {
  margin: 0;
  font-weight: 800;
}

.staff-dashboard-card--admin {
  border-color: var(--primary-line);
}

.staff-filter-form {
  display: flex;
  align-items: end;
  gap: 10px;
  margin-bottom: 18px;
}

.staff-filter-form label {
  display: grid;
  gap: 6px;
}

.staff-workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.staff-workflow-panel .stack-form + .stack-form {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.icon-button {
  width: 44px;
  flex: 0 0 44px;
  font-size: 1.25rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  column-gap: clamp(24px, 4vw, 48px);
  row-gap: 0;
  align-items: start;
}

.gallery {
  display: grid;
  grid-column: 1;
  grid-row: 1 / span 2;
  gap: 12px;
}

.gallery-additional {
  display: grid;
  gap: 12px;
}

.gallery-additional-title {
  display: none;
}

.gallery img,
.placeholder-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e9edf1;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.placeholder-media {
  display: grid;
  place-items: center;
  color: var(--muted);
}

.detail-heading,
.detail-panel {
  background: var(--surface);
  border: 1px solid var(--line);
}

.detail-heading {
  grid-column: 2;
  grid-row: 1;
  padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 32px) 0;
  border-bottom: 0;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.detail-heading h1 {
  margin-bottom: 14px;
  font-size: clamp(2.25rem, 4.6vw, 3.65rem);
}

.detail-panel {
  grid-column: 2;
  grid-row: 2;
  padding: 0 clamp(22px, 3vw, 32px) clamp(22px, 3vw, 32px);
  border-top: 0;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  align-self: start;
}

.item-price-stack {
  display: grid;
  gap: 2px;
}

.item-price-stack > strong {
  color: var(--primary-dark);
  font-size: 1.45rem;
  line-height: 1.05;
}

.item-price-stack .typical-new-price {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.item-price-stack .typical-new-price s {
  text-decoration-color: rgb(96 113 125 / 48%);
  text-decoration-thickness: 1.5px;
}

.item-pickup-callout {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--primary-line);
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
}

.item-pickup-callout > strong {
  color: var(--primary-dark);
}

.item-pickup-callout > a {
  justify-self: start;
}

.pickup-link-tail {
  white-space: nowrap;
}

.price-comparison {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--band);
}

.price-comparison--fallback {
  border-color: #dfbd84;
  background: #fff8e8;
}

.price-comparison-label {
  margin: 0 0 4px;
  color: #8a5720;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-comparison h2 {
  margin: 0;
  font-size: 1.05rem;
}

.price-comparison-copy > p:last-child {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.price-comparison-action {
  display: grid;
  gap: 7px;
  justify-items: stretch;
  width: 100%;
}

.price-comparison-link {
  white-space: nowrap;
}

.price-comparison--fallback .price-comparison-link {
  border-color: #b85832;
  background: #b85832;
  color: white;
}

.price-comparison--fallback .price-comparison-link:hover {
  border-color: #963f22;
  background: #963f22;
  color: white;
}

.affiliate-link-disclosure {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.condition-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border: 1px solid var(--primary-line);
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-size: 0.84rem;
  font-weight: 750;
}

.item-labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
}

.condition-pill--neutral {
  border-color: var(--line);
  color: var(--ink);
  background: var(--band);
}

.item-origin {
  flex: 0 0 auto;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}

.item-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 14px;
}

.item-description {
  margin-bottom: 16px;
}

.item-description-title {
  margin-bottom: 9px;
  font-size: 1rem;
}

.item-description-copy {
  position: relative;
  line-height: 1.58;
}

.item-description-copy p {
  margin-bottom: 12px;
}

.item-description-copy p:last-child {
  margin-bottom: 0;
}

.item-description-copy a {
  color: var(--primary);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.item-description-copy.is-collapsed > p:not(:first-child) {
  display: none;
}

.item-description-copy.is-collapsed > p:first-child {
  margin-bottom: 0;
}

.item-description-toggle {
  min-height: 36px;
  margin-top: 2px;
  padding-inline: 0;
  color: var(--primary);
}

.item-description-toggle[hidden] {
  display: none;
}

.condition-summary {
  margin: 22px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--band);
}

.condition-summary h2 {
  margin-bottom: 14px;
  font-size: 1.15rem;
}

.condition-summary dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.condition-summary dt {
  font-weight: 800;
}

.condition-summary dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 450;
  line-height: 1.45;
}

.condition-summary .item-condition-facts {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.item-condition-facts > div {
  display: grid;
  grid-template-columns: minmax(88px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
}

.item-condition-facts > div:last-child {
  border-bottom: 0;
}

.condition-summary .item-condition-facts dt {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.condition-summary .item-condition-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: right;
}

.important-notes {
  margin-top: 16px;
  padding: 12px;
  border-left: 4px solid var(--accent);
  background: var(--surface);
}

.important-notes p { margin: 4px 0 0; }

.condition-definitions {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.condition-definitions summary {
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.condition-definitions[open] summary {
  margin-bottom: 14px;
}

.assurance-callout {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--primary-line);
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
}

.assurance-callout > strong {
  color: var(--primary-dark);
  font-size: 1.05rem;
}

.assurance-callout p { margin: 6px 0; }

.assurance-callout--excluded {
  border-color: #d8aaa2;
  background: var(--accent-soft);
}

.assurance-callout--excluded > strong { color: #8d3020; }

.credit-balance {
  margin: 8px 0;
  color: var(--primary-dark);
  font-size: 2rem;
  font-weight: 850;
}

.order-card {
  display: grid;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.order-card:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.order-card-heading,
.order-item-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.order-card-heading span:not(.status-pill) {
  display: block;
  color: var(--muted);
}

.order-card-item {
  margin: 0;
  font-weight: 750;
}

.order-card-next {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.order-card .button {
  justify-self: start;
}

.order-detail-page {
  display: grid;
  gap: 22px;
}

.back-link {
  margin: 0;
}

.next-step-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--primary-line);
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  box-shadow: var(--shadow-sm);
}

.next-step-panel--danger {
  border-color: #d8aaa2;
  background: var(--accent-soft);
}

.next-step-panel--warning {
  border-color: #dbc37d;
  background: #fff8df;
}

.next-step-panel--neutral {
  border-color: var(--line);
  background: var(--band);
}

.next-step-panel h2 {
  margin: 12px 0 6px;
}

.next-step-panel p {
  max-width: 760px;
  margin: 5px 0 0;
}

.next-step-summary {
  font-weight: 750;
}

.order-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 22px;
  align-items: start;
}

.order-detail-main,
.order-detail-sidebar {
  display: grid;
  gap: 22px;
}

.order-detail-card {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.order-detail-card > h2 {
  margin-bottom: 16px;
}

.order-detail-card address {
  margin-bottom: 18px;
  font-style: normal;
  line-height: 1.55;
}

.order-detail-card address + h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.order-item-list {
  display: grid;
  gap: 18px;
}

.order-detail-item {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.order-detail-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.order-detail-item h3 {
  margin: 0 0 4px;
}

.order-item-facts,
.order-summary-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.order-item-facts div,
.order-summary-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.order-item-facts dd,
.order-summary-list dd {
  margin: 0;
  font-weight: 750;
  text-align: right;
}

.order-summary-total {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 1.08rem;
  font-weight: 850;
}

.claim-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  margin-top: 16px;
  border-radius: var(--radius-sm);
  background: var(--band);
}

.order-timeline {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.order-timeline li {
  position: relative;
  display: grid;
  gap: 3px;
  padding: 0 0 22px 28px;
  border-left: 2px solid var(--primary-line);
}

.order-timeline li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.order-timeline li::before {
  position: absolute;
  top: 3px;
  left: -7px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--primary);
  content: "";
}

.order-timeline time {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
}

.order-timeline p {
  margin: 0;
  color: var(--muted);
}

.preserve-lines {
  white-space: pre-line;
}

.pickup-section-heading {
  margin-top: 32px;
}

.pickup-row--attention {
  border-color: #d8aaa2;
  background: var(--accent-soft);
}

.pickup-row--complete {
  background: var(--band);
}

.return-intake-card {
  width: min(700px, 100%);
  margin-top: 24px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.staff-search-form {
  display: flex;
  align-items: end;
  gap: 12px;
}

.staff-search-form label {
  display: grid;
  flex: 1;
  gap: 5px;
}

@media (max-width: 600px) {
  .staff-search-form { align-items: stretch; flex-direction: column; }
}

.detail-panel .action-row {
  margin-top: 18px;
}

.detail-panel > .policy-note {
  margin: 14px 0 0;
  line-height: 1.45;
}

.form-shell {
  max-width: 620px;
}

.page-form-card,
.transaction-card {
  width: min(620px, calc(100% - 32px));
  margin: clamp(28px, 5vw, 56px) auto;
  box-shadow: var(--shadow-md);
}

.page-form-card h2,
.transaction-card h2 {
  margin-bottom: 18px;
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.checkout-summary.transaction-card {
  width: min(620px, 100%);
  margin: 0 auto;
}

.checkout-costs {
  display: grid;
  gap: 8px;
  margin: 0;
}

.checkout-costs div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.checkout-costs dt,
.checkout-costs dd {
  font-size: 0.95rem;
  font-weight: 650;
}

.checkout-costs dd {
  color: var(--muted);
}

.checkout-costs .checkout-total {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.checkout-costs .checkout-total dt {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
}

.checkout-costs .checkout-total dd {
  color: var(--ink);
  font-size: clamp(1.65rem, 5vw, 2.25rem);
  font-weight: 850;
  letter-spacing: -0.025em;
}

.checkout-notes {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--band);
}

.checkout-notes p {
  margin: 0;
  line-height: 1.4;
}

.checkout-action {
  margin-top: 16px;
}

.checkout-action .button {
  width: 100%;
}

.button.watch-active {
  border-color: var(--primary-line);
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.legal-page {
  width: min(800px, calc(100% - 32px));
  max-width: 800px;
  padding: clamp(24px, 5vw, 48px) clamp(20px, 5vw, 48px);
  line-height: 1.6;
  margin-block: clamp(28px, 5vw, 56px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.profile-contact-list {
  margin-bottom: 24px;
}

.archive-grid .item-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.archive-grid .item-body .button {
  align-self: flex-start;
  margin-top: auto;
}

.legal-page h1 {
  margin-bottom: 20px;
}

.legal-page h2 {
  margin-top: 28px;
}

.legal-page li + li {
  margin-top: 8px;
}

.stack-form {
  display: grid;
  gap: 12px;
}

.stack-form p {
  display: grid;
  gap: 6px;
  margin: 0;
}

.stack-form > label:not(.choice-row) {
  display: grid;
  gap: 8px;
}

.form-field,
.choice-field {
  display: grid;
  gap: 8px;
}

.choice-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.choice-row input[type="checkbox"] {
  margin-top: 3px;
}

.choice-copy {
  display: grid;
  gap: 4px;
}

.choice-copy label {
  font-weight: 700;
}

.choice-copy small {
  color: var(--muted);
  line-height: 1.4;
}

.form-field small {
  color: var(--muted);
  line-height: 1.4;
}

.link-button {
  width: fit-content;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--primary);
  padding: 0;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.form-errors,
.errorlist {
  margin: 0;
  padding-left: 18px;
  color: var(--accent);
  font-weight: 700;
}

.inline-form {
  margin: 0;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--control-line);
  border-radius: var(--radius-sm);
  padding: 9px 11px;
  font: inherit;
  color: var(--ink);
  background: white;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #8696a3;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgb(18 107 95 / 12%);
}

input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-height: 0;
  padding: 0;
  accent-color: var(--primary);
}

.terms-dialog {
  width: min(92vw, 560px);
  border: 0;
  border-radius: 8px;
  padding: 0;
  color: var(--ink);
  box-shadow: 0 24px 80px rgb(28 36 48 / 28%);
}

.terms-dialog::backdrop {
  background: rgb(28 36 48 / 48%);
}

.dialog-panel {
  margin: 0;
}

.dialog-header,
.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
}

.dialog-header {
  border-bottom: 1px solid var(--line);
}

.dialog-header h2 {
  margin: 0;
}

.dialog-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.dialog-body p {
  margin: 0;
}

.dialog-actions {
  justify-content: end;
  border-top: 1px solid var(--line);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: start;
}

.dashboard-sidebar {
  display: grid;
  gap: 18px;
  align-items: start;
}

.dashboard-grid section {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.dashboard-grid section > h2 {
  margin-bottom: 16px;
}

.dashboard-grid .list-row {
  padding: 14px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}

.dashboard-grid .list-row:first-of-type {
  border-top: 0;
}

.watched-item-row {
  align-items: center;
}

.partner-header {
  max-width: 780px;
}

.partner-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
  align-items: start;
  margin-top: 24px;
}

.partner-details,
.map-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.partner-details {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.partner-facts {
  display: grid;
  margin: 0;
}

.partner-facts div {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.partner-facts dd {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.map-panel {
  overflow: hidden;
}

.map-panel iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.intro-copy {
  max-width: 760px;
}

.how-it-works {
  padding-top: clamp(24px, 3vw, 32px);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 18px;
  margin-top: 24px;
}

.how-it-works > .step-grid {
  margin-top: 0;
}

.step-grid section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.step-grid span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 800;
}

.list-stack {
  display: grid;
  gap: 10px;
}

.list-row,
.pickup-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
}

a.list-row {
  transition: border-color 150ms ease, background-color 150ms ease, transform 80ms ease;
}

a.list-row:hover {
  border-color: var(--primary-line);
  background: var(--primary-soft);
}

.pickup-row {
  align-items: start;
}

.list-row span,
.pickup-row span {
  display: block;
  color: var(--muted);
}

.pickup-update-form {
  display: grid;
  grid-template-columns: minmax(120px, 160px) minmax(180px, 1fr) auto;
  gap: 8px;
  align-items: start;
  min-width: min(100%, 480px);
}

.pickup-update-form textarea {
  resize: vertical;
}

.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 18px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.auction-room {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 18px;
  align-items: start;
}

.auction-room [hidden] { display: none !important; }

.auction-phase-banner {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid var(--primary-line);
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.auction-phase-banner div {
  display: grid;
  gap: 2px;
}

.auction-phase-banner > span { font-weight: 750; }

.auction-room--bidding-open { grid-template-columns: 1fr; }
.auction-room--bidding-open .auction-live { display: none; }
.auction-room--bidding-open .auction-upcoming-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: none;
}

.auction-live,
.auction-queue {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.auction-live {
  display: grid;
  grid-template-columns: minmax(260px, 42%) minmax(0, 1fr);
}

.auction-media {
  display: grid;
  place-items: center;
  min-height: 320px;
  background: #e9edf1;
  color: var(--muted);
}

.auction-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.auction-copy,
.auction-queue {
  padding: 18px;
}

.auction-upcoming-list {
  display: grid;
  gap: 10px;
  max-height: min(62vh, 680px);
  overflow-y: auto;
}

.auction-upcoming-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

button.auction-upcoming-row {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

button.auction-upcoming-row:hover,
button.auction-upcoming-row:focus-visible {
  border-color: var(--primary-line);
  background: var(--primary-soft);
  outline: none;
}

.auction-upcoming-price {
  grid-column: 2;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 750;
}

.auction-list-tabs {
  display: flex;
  gap: 2px;
  margin: -4px -4px 12px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}

.auction-list-tab {
  padding: 9px 8px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
}

.auction-list-tab.is-active {
  border-bottom-color: var(--primary);
  color: var(--primary-dark);
}

.auction-list-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.auction-list-heading h2 { margin: 0; }
.auction-list-heading span { font-size: .78rem; }

.auction-current-strip {
  display: none;
  width: 100%;
  margin: -18px -18px 14px;
  padding: 10px 14px;
  border: 0;
  background: var(--primary-dark);
  color: white;
  font: inherit;
  font-size: .8rem;
  text-align: left;
  justify-content: space-between;
  cursor: pointer;
}

.lot-bid-dialog {
  width: min(560px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  box-shadow: var(--shadow-lg, 0 24px 60px rgb(0 0 0 / 25%));
}

.lot-bid-dialog::backdrop { background: rgb(17 24 20 / 55%); }

.lot-bid-dialog-card {
  max-height: calc(100dvh - 28px);
  padding: 24px;
  overflow-y: auto;
  background: var(--surface);
}

.lot-dialog-media {
  display: grid;
  place-items: center;
  min-height: 210px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--band);
  color: var(--muted);
}

.lot-dialog-media img {
  width: 100%;
  height: 260px;
  object-fit: contain;
}

.lot-dialog-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 16px;
}

.auction-upcoming-thumbnail {
  display: grid;
  place-items: center;
  width: 64px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 9px;
  background: var(--band);
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  text-align: center;
}

.auction-upcoming-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auction-upcoming-copy { min-width: 0; }

.auction-upcoming-position {
  margin: 0 0 3px;
  color: var(--primary-dark);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.auction-upcoming-title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: .95rem;
  font-weight: 750;
  line-height: 1.25;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.auction-status-row,
.bid-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-line);
  border-radius: 999px;
  color: var(--primary-dark);
  font-weight: 700;
}

.status-pill--positive,
.status-pill--info {
  border-color: var(--primary-line);
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.status-pill--warning {
  border-color: #dbc37d;
  background: #fff8df;
  color: #765800;
}

.status-text--warning {
  color: #765800;
  font-weight: 700;
}

.status-pill--danger {
  border-color: #d8aaa2;
  background: var(--accent-soft);
  color: #8d3020;
}

.status-pill--neutral {
  border-color: var(--line);
  background: var(--band);
  color: var(--muted);
}

.auction-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 18px 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.auction-metrics div {
  background: var(--surface);
  padding: 14px;
}

.operator-console h1 {
  max-width: none;
}

.operator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 16px;
  margin-top: 18px;
}

.operator-grid .auction-panel {
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.operator-console > .detail-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

.operator-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.operator-stats div {
  background: var(--surface);
  padding: 14px;
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.control-grid form,
.control-grid button {
  width: 100%;
}

.inline-control {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 8px;
  grid-column: 1 / -1;
}

.bid-form {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
}

.auction-feedback {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--muted);
}

.auction-feedback[data-tone="positive"] { color: var(--primary-dark); font-weight: 700; }
.auction-feedback[data-tone="warning"] { color: #765800; font-weight: 700; }

.auction-item-heading {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.auction-item-heading h2 { margin: 0; }

.auction-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.auction-assurance-link { text-decoration: none; }
.auction-condition-notes { margin: 12px 0 0; }

.auction-primary-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
}

.auction-primary-metrics > div {
  padding: 14px 16px;
  background: var(--surface);
}

.auction-primary-metrics dt,
.operator-live-strip dt {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.auction-primary-metrics dd,
.operator-live-strip dd {
  margin: 4px 0 0;
  font-size: 1.65rem;
  font-weight: 850;
}

.auction-timer--urgent dd {
  color: var(--danger, #a33423);
  animation: auction-timer-pulse .8s ease-in-out infinite alternate;
}

@keyframes auction-timer-pulse {
  from { opacity: 1; }
  to { opacity: .55; }
}

.bid-dock {
  padding: 14px;
  border: 1px solid var(--primary-line);
  border-radius: 12px;
  background: var(--primary-soft);
}

.bid-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.bid-actions .button { min-height: 52px; }
.bid-quick-desktop { font-size: 1.05rem; }
.bid-max-button { min-width: 100px; }

.bid-commitment {
  margin: 10px 0 0;
  font-weight: 750;
}

.bid-tax-note,
.bid-max-status {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: .84rem;
}

.bid-max-status { color: var(--primary-dark); font-weight: 750; }

.bid-slide {
  position: relative;
  display: none;
  min-width: 0;
  min-height: 58px;
  overflow: hidden;
  padding: 0 54px;
  border: 1px solid var(--primary-dark);
  border-radius: 999px;
  color: white;
  background: var(--primary);
  font: inherit;
  font-weight: 850;
  touch-action: none;
  user-select: none;
}

.bid-slide:disabled { cursor: not-allowed; opacity: .58; }

.bid-slide-thumb {
  position: absolute;
  top: 5px;
  left: 5px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--primary-dark);
  background: white;
  box-shadow: var(--shadow-sm);
  font-size: 1.7rem;
  line-height: 1;
  transition: transform .16s ease;
}

.bid-slide--active .bid-slide-thumb { transition: none; }

.auction-win-panel,
.auction-payment-panel {
  position: relative;
  margin: 18px 0;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--primary-line);
  border-radius: 12px;
  background: var(--primary-soft);
}

.auction-win-panel:not([hidden]) { animation: auction-win-reveal .46s ease-out both; }

@keyframes auction-win-reveal {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.auction-payment-panel {
  border-color: #d8aaa2;
  background: var(--accent-soft);
}

.auction-win-panel h3,
.auction-payment-panel h3 { margin: 4px 0 8px; font-size: 1.7rem; }
.auction-win-spark { position: absolute; top: 8px; right: 14px; font-size: 2rem; }
.auction-setup-link { margin-top: 14px; }

.max-bid-dialog {
  width: min(520px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  padding: 0;
  border: 0;
  border-radius: 16px;
  box-shadow: var(--shadow-lg, 0 24px 60px rgb(0 0 0 / 25%));
}

.max-bid-dialog::backdrop { background: rgb(20 28 35 / 60%); }
.max-bid-dialog-card { display: grid; gap: 14px; padding: 24px; }
.max-bid-dialog-card p { margin: 0; }
.max-bid-dialog-heading { display: flex; justify-content: space-between; gap: 18px; }
.max-bid-dialog-heading h2 { margin: 4px 0 0; }

.dialog-close {
  align-self: start;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  font: inherit;
  font-size: 1.5rem;
  cursor: pointer;
}

.max-bid-suggestions { display: flex; flex-wrap: wrap; gap: 8px; }
.max-bid-suggestion {
  padding: 8px 12px;
  border: 1px solid var(--primary-line);
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.money-field { position: relative; }
.money-field span {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: var(--muted);
  font-weight: 800;
}
.money-field input { width: 100%; padding-left: 30px; }
.form-error { min-height: 22px; color: var(--danger, #a33423); font-weight: 700; }

.operator-live-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
}

.operator-live-strip > div { padding: 14px; background: var(--surface); }
.operator-live-health { color: var(--primary-dark); font-size: 1rem !important; }

.queue-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.queue-row:last-child {
  border-bottom: 0;
}

.queue-row span {
  color: var(--muted);
}

.setup-flow {
  min-height: 520px;
}

.setup-shell {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 64px;
}

.setup-grid {
  display: grid;
  grid-template-columns: minmax(0, 620px);
  align-items: start;
  justify-content: center;
  gap: 24px;
}

.setup-grid--with-aside {
  grid-template-columns: minmax(0, 580px) minmax(240px, 300px);
}

.setup-card {
  min-width: 0;
  padding: clamp(24px, 4vw, 36px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.setup-card h2 {
  margin-bottom: 8px;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.setup-intro {
  color: var(--muted);
  margin: 0 0 28px;
}

.setup-context {
  display: grid;
  max-width: 620px;
  margin: 0 auto 12px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--primary-soft);
}

.setup-context span,
.setup-context small { color: var(--muted); }

.consent-block {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--band);
}

.consent-choice {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
}

.consent-choice input { margin-top: 4px; }
.consent-block p { margin: 10px 0 0 28px; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.communication-preferences { display: grid; gap: 12px; min-width: 0; margin: 8px 0; padding: 0; border: 0; }
.communication-preferences legend { margin-bottom: 4px; padding: 0; font-size: 1.05rem; font-weight: 800; }
.communication-preferences .preference-intro { display: block; color: var(--muted); line-height: 1.45; }
.communication-preferences .preference-policies { display: block; color: var(--muted); font-size: .88rem; }
.stack-form .policy-note { display: block; line-height: 1.5; }
.stack-form .policy-note a { display: inline; }
.setup-skip-form { margin-top: 12px; }
.setup-cancel { margin-top: 28px; text-align: center; }
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  background: none;
  color: var(--muted);
  padding: 0 6px;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.link-button:hover { color: var(--primary-dark); }
.setup-help {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.setup-help h3 { margin-bottom: 18px; font-size: 1.05rem; }
.setup-help ol { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: setup-help; }
.setup-help li { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 10px; color: var(--muted); font-size: .9rem; line-height: 1.4; counter-increment: setup-help; }
.setup-help li::before { content: counter(setup-help); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: var(--primary-dark); background: var(--primary-soft); font-size: .78rem; font-weight: 850; }
.preference-list .consent-choice { padding: 14px; border: 1px solid var(--line); border-radius: 8px; }
.test-card-note { display: grid; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; }
.email-code-help { display: grid; gap: 12px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.email-code-help p { margin: 0; }
.resend-code-form .button { width: 100%; }
.email-marketing-choice { background: var(--band); }
.email-marketing-choice p { margin: 6px 0 0 28px; color: var(--muted); font-size: .88rem; }

@media (max-width: 899px) {
  .home-hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .home-intro h1 {
    max-width: 720px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .context-band-inner,
  .context-band--event .context-band-inner,
  .context-band--compact .context-band-inner,
  .context-band--page .context-band-inner,
  .detail-layout,
  .partner-layout,
  .order-detail-grid,
  .operator-grid,
  .auction-room,
  .auction-live {
    grid-template-columns: 1fr;
  }

  .context-band-inner {
    gap: 24px;
  }

  .event-card {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .event-card-facts {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .context-band--page .context-band-inner {
    min-height: 0;
  }

  .context-facts,
  .context-item {
    padding: 18px 0 0;
    border-top: 1px solid rgb(255 255 255 / 28%);
    border-left: 0;
  }

  .context-band--compact .context-band-inner {
    min-height: 0;
  }

  .context-band--compact .context-link {
    justify-self: start;
  }

  .secure-label {
    justify-self: start;
  }

  .context-meta {
    justify-self: start;
    padding: 14px 0 0;
    border-top: 1px solid rgb(255 255 255 / 28%);
    border-left: 0;
  }

  .detail-layout {
    max-width: 720px;
    row-gap: 24px;
  }

  .detail-heading,
  .gallery,
  .detail-panel {
    grid-column: 1;
  }

  .detail-heading {
    grid-row: 1;
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
  }

  .gallery {
    grid-row: 2;
  }

  .detail-panel {
    grid-row: 3;
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
  }

  .setup-grid {
    grid-template-columns: minmax(0, 620px);
  }

  .setup-help {
    order: 2;
  }
}

@media (max-width: 520px) {
  .order-details {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .order-money {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 8px;
    min-width: 0;
    text-align: left;
  }

  .order-total-label,
  .order-money > strong,
  .order-money small {
    display: inline;
    margin: 0;
  }

  .order-money small::before {
    content: "·";
    margin-right: 8px;
  }
}

@media (max-width: 639px) {
  .site-header {
    position: static;
  }

  .site-header-inner,
  .section-heading,
  .list-row,
  .pickup-row,
  .next-step-panel,
  .order-card-heading,
  .order-item-heading,
  .site-footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .order-detail-grid {
    grid-template-columns: 1fr;
  }

  .site-header-inner {
    gap: 0;
    min-height: 0;
    padding-top: 12px;
  }

  .home-page {
    width: min(var(--content-width), calc(100% - 28px));
  }

  .home-hero {
    gap: 26px;
    padding-block: 34px 42px;
  }

  .home-intro h1 {
    margin-bottom: 14px;
    font-size: clamp(2.45rem, 12vw, 3.15rem);
  }

  .home-event-panel {
    padding: 24px;
  }

  .home-event-facts,
  .home-shop-grid {
    grid-template-columns: 1fr;
  }

  .home-event-action,
  .home-event-panel--empty form,
  .home-event-panel--empty .home-event-action {
    width: 100%;
  }

  .home-event-panel--empty .home-event-action {
    white-space: normal;
  }

  .home-shop-grid > div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .home-shop-grid > div:first-child {
    border-top: 0;
  }

  .brand {
    align-self: flex-start;
    min-width: 0;
  }

  .brand-copy small {
    display: block;
    font-size: 0.78rem;
  }

  .top-nav {
    width: 100%;
    gap: 0;
    margin-top: 10px;
    border-top: 1px solid var(--line);
  }

  .event-index-heading {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  .top-nav a {
    flex: 1 1 0;
    justify-content: center;
    min-width: 0;
    padding-inline: 8px;
    white-space: nowrap;
  }

  .top-nav a.nav-account-state {
    gap: 6px;
    padding-inline: 6px;
  }

  .top-nav a.nav-account-state::before {
    width: 6px;
    height: 6px;
    flex-basis: 6px;
  }

  .nav-account-label--full {
    display: none;
  }

  .nav-account-label--compact {
    display: inline;
  }

  .item-pickup-callout > a {
    display: grid;
    gap: 1px;
  }

  .pickup-link-separator {
    display: none;
  }

  .site-footer-inner {
    gap: 18px;
  }

  .site-footer nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .context-band-inner {
    width: min(var(--content-width), calc(100% - 28px));
    padding-block: 22px;
  }

  .item-detail-context .context-band-inner {
    display: block;
    min-height: 0;
    padding-block: 8px;
  }

  .item-detail-context .context-copy,
  .item-detail-context .context-link {
    display: none;
  }

  .item-detail-context .context-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: white;
    font-weight: 800;
    text-decoration: none;
  }

  .item-detail-context .context-back-label {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .context-band h1 {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  .context-facts {
    padding-top: 10px;
  }

  .context-facts div {
    padding: 12px 8px;
  }

  .event-context-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .event-card-facts {
    grid-column: auto;
    grid-row: auto;
  }

  .event-card-action {
    justify-self: stretch;
  }

  .context-item {
    min-width: 0;
  }

  .context-actions .button,
  .context-actions form {
    width: 100%;
  }

  .auction-metrics,
  .operator-stats,
  .operator-console > .detail-list,
  .control-grid,
  .pickup-update-form {
    grid-template-columns: 1fr;
  }

  .inline-control {
    grid-template-columns: 1fr;
  }

  .event-summary {
    grid-template-columns: 1fr;
  }

  .summary-link {
    white-space: normal;
  }

  h1 {
    font-size: 2.25rem;
  }

  .setup-shell {
    width: calc(100% - 28px);
    padding: 18px 0 40px;
  }

  .setup-card { padding: 24px 18px; }

  .detail-layout,
  .content-section {
    padding-inline: 14px;
  }

  .detail-layout {
    row-gap: 18px;
  }

  .detail-heading,
  .gallery,
  .detail-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .detail-heading {
    order: 0;
    padding: 4px 2px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .detail-heading h1 {
    margin-bottom: 0;
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  .gallery {
    display: contents;
  }

  .gallery-primary {
    order: 1;
  }

  .detail-panel {
    order: 2;
    display: flex;
    flex-direction: column;
  }

  .detail-panel > * {
    order: 6;
  }

  .detail-panel > .item-summary-row {
    order: 1;
  }

  .detail-panel > .detail-list {
    order: 2;
    margin: 0;
  }

  .detail-panel > .action-row {
    order: 3;
    margin-top: 12px;
  }

  .detail-panel > .item-pickup-callout {
    order: 4;
  }

  .detail-panel > .item-description {
    order: 5;
    margin-top: 22px;
    margin-bottom: 0;
  }

  .detail-panel .item-description-toggle {
    min-height: 32px;
    margin-top: 2px;
    padding: 0;
  }

  .gallery-additional {
    order: 3;
  }

  .gallery-additional-title {
    display: block;
    margin: 8px 0 2px;
  }

  .detail-panel .action-row,
  .detail-panel .action-row > *,
  .detail-panel .action-row .button {
    width: 100%;
  }

  .item-summary-row {
    align-items: stretch;
    flex-direction: column;
  }

  .item-labels {
    justify-content: flex-start;
    row-gap: 6px;
  }

  .queue-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .map-panel iframe {
    height: 320px;
  }
}

@media (max-width: 899px) {
  .auction-media,
  .auction-media img { min-height: 250px; }

  .operator-live-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .staff-workflow-layout { grid-template-columns: 1fr; }
}

@media (max-width: 639px), (pointer: coarse) {
  .email-verification-banner {
    align-items: stretch;
    flex-direction: column;
    margin-inline: 14px;
  }

  .email-verification-banner .button {
    justify-content: center;
    width: 100%;
  }

  .auction-phase-banner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .auction-live { overflow: visible; }
  .auction-copy { padding: 14px; }
  .auction-primary-metrics { margin: 14px 0; }
  .auction-primary-metrics dd { font-size: 1.45rem; }
  .bid-dock {
    position: sticky;
    bottom: max(8px, env(safe-area-inset-bottom));
    z-index: 8;
    margin-inline: -6px;
    box-shadow: 0 8px 28px rgb(28 36 48 / 18%);
  }
  .bid-actions { grid-template-columns: minmax(0, 1fr) auto; }
  .bid-quick-desktop { display: none; }
  .bid-slide { display: block; }
  .auction-current-strip:not([hidden]) { display: flex; }
  .auction-upcoming-list { max-height: 48vh; }
  .auction-room--bidding-open .auction-upcoming-list { grid-template-columns: 1fr; }
  .lot-bid-dialog {
    width: 100%;
    max-width: none;
    max-height: 88dvh;
    margin: auto 0 0;
    border-radius: 18px 18px 0 0;
  }
  .lot-bid-dialog-card { max-height: 88dvh; padding: 20px 16px max(20px, env(safe-area-inset-bottom)); }
  .max-bid-dialog {
    width: 100%;
    max-width: none;
    max-height: 88dvh;
    margin: auto 0 0;
    border-radius: 18px 18px 0 0;
  }
  .max-bid-dialog-card { padding: 22px 18px max(22px, env(safe-area-inset-bottom)); }
}

@media (max-width: 479px) {
  .operator-live-strip { grid-template-columns: 1fr; }
  .bid-max-button { min-width: 88px; padding-inline: 12px; }
  .bid-commitment,
  .bid-tax-note { font-size: .8rem; }
}

@media (max-width: 639px) {
  .staff-portal-header .top-nav {
    flex-wrap: wrap;
  }

  .staff-portal-header .top-nav a {
    flex: 1 1 30%;
  }

  .staff-logout-form {
    width: 100%;
    margin: 10px 0 12px;
  }

  .staff-logout-form .button,
  .staff-filter-form {
    width: 100%;
  }

  .staff-filter-form {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
