/* All popup styles are scoped. No fonts, libraries, or tracking are requested. */
#mht-auction-dialog {
  --mht-navy: #12233e; --mht-brass: #efb34b; --mht-paper: #fcfaf6;
  color-scheme: light;
  box-sizing: border-box; position: fixed; inset: 0; margin: auto;
  width: min(920px, calc(100vw - 40px)); max-width: none;
  max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px);
  padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 18px;
  background: var(--mht-paper); color: var(--mht-navy); overflow: auto;
  box-shadow: 0 30px 110px rgba(0,0,0,.38);
  font: 16px/1.5 Arial, Helvetica, sans-serif; text-align: left;
}
#mht-auction-dialog:not([open]) { display: none; }
#mht-auction-dialog::backdrop { background: rgba(9,19,34,.74); backdrop-filter: blur(5px); }
#mht-auction-dialog *, #mht-auction-dialog *::before, #mht-auction-dialog *::after { box-sizing: border-box; }
#mht-auction-dialog .mht-layout { display: grid; grid-template-columns: .83fr 1.17fr; min-height: 620px; }
#mht-auction-dialog .mht-visual { position: relative; overflow: hidden; background: var(--mht-navy); min-height: 300px; color: #fff; }
#mht-auction-dialog .mht-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 51% 58%; }
#mht-auction-dialog .mht-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(4,11,20,.38),transparent 28%,transparent 53%,rgba(4,11,20,.88)); pointer-events: none; }
#mht-auction-dialog .mht-photo-brand { position: absolute; top: 29px; left: 28px; z-index: 1; font-size: 15px; line-height: 1.15; font-weight: 700; letter-spacing: .18em; text-shadow: 0 1px 10px #000; }
#mht-auction-dialog .mht-photo-brand span { display: block; margin-top: 6px; font-size: 10px; letter-spacing: .34em; font-weight: 400; }
#mht-auction-dialog .mht-photo-note { position: absolute; z-index: 1; bottom: 24px; left: 28px; right: 24px; margin: 0; color: #fff; font-size: 12px; line-height: 1.5; }
#mht-auction-dialog .mht-photo-note::before { content: ''; display: block; width: 32px; height: 2px; background: var(--mht-brass); margin-bottom: 12px; }
#mht-auction-dialog .mht-fallback { display: grid; height: 100%; min-height: 300px; align-content: center; padding: 35px; font: 42px/1.05 Georgia, 'Times New Roman', serif; }
#mht-auction-dialog .mht-fallback span { display: block; color: var(--mht-brass); margin-top: 18px; font: 14px/1.5 Arial, sans-serif; letter-spacing: .1em; }
#mht-auction-dialog .mht-content { padding: 35px 40px 25px; position: relative; }
#mht-auction-dialog .mht-close-wrap { position: sticky; top: 0; height: 0; z-index: 3; }
#mht-auction-dialog .mht-close { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 1px solid #d8dce1; border-radius: 50%; background: var(--mht-paper); color: var(--mht-navy); cursor: pointer; box-shadow: none; }
#mht-auction-dialog .mht-close:hover { background: #ece7de; }
#mht-auction-dialog .mht-close svg { width: 18px; height: 18px; }
#mht-auction-dialog .mht-kicker { display: block; padding-right: 24px; margin: 0 0 20px; color: #5a6473; font-size: 10px; line-height: 1.5; letter-spacing: .16em; font-weight: 700; text-transform: uppercase; }
#mht-auction-dialog .mht-state { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 15px; padding: 6px 10px; border: 1px solid #d9dfdc; border-radius: 5px; font-size: 11px; font-weight: 700; color: #354b3d; background: #eef2ed; letter-spacing: .04em; }
#mht-auction-dialog .mht-state::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #406149; }
#mht-auction-dialog .mht-title { font: 50px/.99 Georgia, 'Times New Roman', serif; letter-spacing: -.04em; margin: 0 0 17px; color: var(--mht-navy); text-transform: none; }
#mht-auction-dialog .mht-title em { font-weight: 400; color: #8b5717; }
#mht-auction-dialog .mht-description { margin: 0 0 18px; font-size: 14px; line-height: 1.65; color: #4c5664; }
#mht-auction-dialog .mht-description strong { color: var(--mht-navy); font-weight: 700; }
#mht-auction-dialog .mht-dates { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 12px; padding: 15px 0; border-top: 1px solid #dfded8; border-bottom: 1px solid #dfded8; }
#mht-auction-dialog .mht-dates > div + div { border-left: 1px solid #dfded8; padding-left: 22px; }
#mht-auction-dialog .mht-dates dt { margin: 0 0 6px; font-size: 10px; color: #58616e; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
#mht-auction-dialog .mht-dates dd { margin: 0; font-size: 21px; font-weight: 700; line-height: 1.3; }
#mht-auction-dialog .mht-dates time span { display: block; font: 12px/1.6 Arial, sans-serif; color: #4c5664; margin-top: 3px; }
#mht-auction-dialog .mht-pending-time { display: block; font: 11px/1.6 Arial, sans-serif; color: #5a6473; margin-top: 3px; }
#mht-auction-dialog .mht-closing-note { margin: 0 0 17px; font: 11px/1.6 Arial, sans-serif; color: #4c5664; }
#mht-auction-dialog .mht-location { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; }
#mht-auction-dialog .mht-location svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; }
#mht-auction-dialog .mht-location p { margin: 0; font-size: 13px; line-height: 1.65; }
#mht-auction-dialog .mht-location strong { font-weight: 700; }
#mht-auction-dialog .mht-storage { font-size: 11px; color: #4c5664; }
#mht-auction-dialog .mht-cta { display: flex; justify-content: space-between; gap: 12px; align-items: center; width: 100%; min-height: 54px; padding: 14px 19px; margin: 0; border: 1px solid var(--mht-navy); border-radius: 7px; background: var(--mht-navy); color: #fff; font: 700 14px/1.4 Arial, sans-serif; text-decoration: none; text-transform: none; cursor: pointer; box-shadow: none; }
#mht-auction-dialog .mht-cta:hover { background: #233b5c; color: #fff; text-decoration: none; }
#mht-auction-dialog .mht-cta svg { width: 19px; height: 19px; flex: 0 0 19px; color: var(--mht-brass); }
#mht-auction-dialog .mht-cta:disabled { background: #e4e6e9; color: #515b69; border-color: #cdd1d7; cursor: default; opacity: 1; }
#mht-auction-dialog .mht-cta:disabled svg { color: #515b69; }
#mht-auction-dialog .mht-link-note { margin: 7px 0 0; font-size: 11px; line-height: 1.5; color: #5a6473; }
#mht-auction-dialog .mht-footer { display: flex; flex-wrap: wrap; gap: 5px 12px; justify-content: space-between; margin-top: 21px; font-size: 11px; line-height: 1.5; color: #5a6473; }
#mht-auction-dialog .mht-footer strong { color: var(--mht-navy); font-weight: 700; }
#mht-auction-dialog :is(a,button):focus-visible { outline: 3px solid #b86a08; outline-offset: 4px; }
@media (max-width: 660px) {
  #mht-auction-dialog { width: calc(100vw - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); border-radius: 13px; }
  #mht-auction-dialog .mht-layout { display: block; min-height: 0; }
  #mht-auction-dialog .mht-visual { height: 140px; min-height: 0; }
  #mht-auction-dialog .mht-image { object-position: 50% 55%; }
  #mht-auction-dialog .mht-photo-brand { top: 18px; left: 20px; font-size: 12px; }
  #mht-auction-dialog .mht-photo-note { bottom: 12px; left: 20px; right: 20px; font-size: 10px; line-height: 1.4; }
  #mht-auction-dialog .mht-photo-note::before { display: none; }
  #mht-auction-dialog .mht-fallback { font-size: 28px; min-height: 160px; padding: 20px; }
  #mht-auction-dialog .mht-content { padding: 21px 23px 20px; }
  #mht-auction-dialog .mht-close { top: 9px; right: 9px; }
  #mht-auction-dialog .mht-kicker { margin-bottom: 10px; padding-right: 0; font-size: 9px; letter-spacing: .12em; }
  #mht-auction-dialog .mht-state { margin-bottom: 10px; padding: 4px 8px; }
  #mht-auction-dialog .mht-title { font-size: 38px; margin-bottom: 13px; }
  #mht-auction-dialog .mht-description { font-size: 13px; margin-bottom: 16px; }
  #mht-auction-dialog .mht-dates { padding: 13px 0; margin-bottom: 11px; }
  #mht-auction-dialog .mht-dates dd { font-size: 19px; }
  #mht-auction-dialog .mht-dates > div + div { padding-left: 17px; }
  #mht-auction-dialog .mht-location { margin-bottom: 16px; }
  #mht-auction-dialog .mht-footer { margin-top: 15px; }
}
@media (prefers-reduced-motion: no-preference) {
  #mht-auction-dialog[open] { animation: mht-auction-enter .22s ease-out; }
  @keyframes mht-auction-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 360px) {
  #mht-auction-dialog .mht-dates dd { font-size: 17px; }
  #mht-auction-dialog .mht-dates dt { font-size: 9px; letter-spacing: .09em; }
  #mht-auction-dialog .mht-dates > div + div { padding-left: 12px; }
}
@media (forced-colors: active) {
  #mht-auction-dialog { border: 2px solid CanvasText; }
  #mht-auction-dialog .mht-cta, #mht-auction-dialog .mht-close { border: 1px solid ButtonText; }
}
