/* Themes: a wider accent palette, background textures, a light mode, the loading screen and the pit-stop game.
   Loaded after redline.css. boot.js sets <html data-theme="dark|light"> before the page draws. */

/* ===== Accent palette: racing red stays the brand; amber, blue and green carry the details ===== */
:root{
  --amber:#d4af37;--amber-soft:#d4af3724;--blue:#3da5ff;--blue-soft:#3da5ff24;--green:#3ddc84;--green-soft:#3ddc8424;--violet:#a78bfa;
  --texture-ink:#ffffff;
  --noise:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Background: page glow in three colours, a carbon-fibre weave and a fine grain, fixed behind everything */
html{background:radial-gradient(ellipse 70% 45% at 85% -5%,#e509142b,transparent 70%),radial-gradient(ellipse 60% 40% at 0% 30%,#3da5ff14,transparent 70%),radial-gradient(ellipse 60% 40% at 100% 85%,#ffb62710,transparent 70%),var(--bg)}
body{background:transparent;position:relative}
body::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.5;
  background:var(--noise),
    repeating-linear-gradient(45deg,#ffffff05 0 2px,transparent 2px 6px),
    repeating-linear-gradient(-45deg,#00000060 0 2px,transparent 2px 6px)}
body::after{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 120% 80% at 50% 40%,transparent 55%,#000a 100%)}

/* Colour in the details */
.hero-stats div:first-child dt{color:var(--amber)}
.hero-stats div:nth-child(2) dt{color:var(--green)}
.dial li:nth-child(1) .ico{color:var(--blue)}
.dial li:nth-child(2) .ico{color:var(--amber)}
.dial li:nth-child(4) .ico{color:var(--green)}
.dial li:nth-child(5) .ico{color:var(--violet)}
.feature-strip li:nth-child(1) .ico,.feature-strip li:nth-child(1) strong{color:var(--amber);filter:none}
.feature-strip li:nth-child(2) .ico,.feature-strip li:nth-child(2) strong{color:var(--blue);filter:none}
.feature-strip li:nth-child(3) .ico,.feature-strip li:nth-child(3) strong{color:var(--green);filter:none}
.feature-strip li:nth-child(4) .ico,.feature-strip li:nth-child(4) strong{color:var(--violet);filter:none}
.card-brand{color:var(--amber)}
.pill:not(.live):not(.declined){color:var(--blue);border-color:#3da5ff66}
.is-home .steps .info-panel:nth-child(1) .step-number{-webkit-text-stroke-color:var(--amber)}
.is-home .steps .info-panel:nth-child(2) .step-number{-webkit-text-stroke-color:var(--blue)}
.is-home .steps .info-panel:nth-child(3) .step-number{-webkit-text-stroke-color:var(--green)}
.text-link:hover{color:var(--amber);border-color:var(--amber)}
.reserve-tag.none{color:var(--green)}
.fl-sub b,.ticker-clock{color:var(--amber)}
.climb-legend div:nth-child(2){border-color:var(--blue)}
.climb-legend div:nth-child(3){border-color:var(--green)}
.climb-legend div:nth-child(3) dd{color:var(--green)}
.feature-strip{background:linear-gradient(90deg,#ffb6270d,transparent 30%,transparent 70%,#3da5ff0d),var(--panel)}
.sell-banner{background:radial-gradient(ellipse 60% 120% at 100% 0%,#ffb6271f,transparent 60%),radial-gradient(ellipse 50% 100% at 0% 100%,#3da5ff14,transparent 60%),linear-gradient(160deg,var(--panel-2),var(--panel))}
.human-note{margin:28px 0 0;padding:18px 22px;border-left:3px solid var(--amber);background:var(--amber-soft);font-size:15px;line-height:1.7;max-width:760px}
.human-note b{color:var(--amber)}
.hero-hello{color:var(--amber)}

/* ===== Photos fill their boxes: the floor stage and its shelf ===== */
.fl-photo{inset:0}
.fl-car{width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;filter:none}
.fl-stage::after{display:none}
.fl-stage::before{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#0009 0%,transparent 22%,transparent 78%,#0007 100%)}
.fl-chip,.fl-lot,.fl-nav,.fl-stage .ref-badge{z-index:2}
.fl-lot{color:#fff;text-shadow:0 1px 3px #000}
.fl-box img{object-fit:cover;padding:0}

/* ===== Theme switch (header) ===== */
.theme-toggle{display:inline-grid;place-items:center;width:40px;height:40px;flex:none;border:1px solid var(--line-hot);border-radius:50%;background:transparent;color:var(--text);cursor:pointer}
.theme-toggle:hover{border-color:var(--amber);color:var(--amber)}
.theme-toggle svg{width:20px;height:20px}
.theme-toggle .sun{display:none}
[data-theme=light] .theme-toggle .sun{display:block}
[data-theme=light] .theme-toggle .moon{display:none}
.site-menu .theme-toggle{width:auto;height:auto;border-radius:0;padding:10px 16px;gap:10px;display:inline-flex;align-self:flex-start;font:600 13px var(--ui);letter-spacing:1px;text-transform:uppercase}

/* ===== Light theme ===== */
[data-theme=light]{
  color-scheme:light;
  --bg:#f4f4f6;--panel:#ffffff;--panel-2:#f7f7f9;--line:#e2e2e7;--line-hot:#c9c9d0;--field-line:#85858d;
  --text:#111114;--muted:#5b5b63;--red:#d90b1c;--red-hot:#b3000f;--red-deep:#fde4e6;
  --amber:#8a6508;--amber-soft:#d4af3726;--photo-bg:#ececef;
  --shadow:0 1px 2px #0000000f,0 8px 24px #0000000d;--shadow-hover:0 2px 4px #00000012,0 14px 32px #00000017;--blue:#1d6fd1;--green:#14894b;--violet:#6d4fd8;
  --chrome:linear-gradient(180deg,#5b5f68 0%,#2b2e35 45%,#11131a 55%,#3c4049 100%);
}
[data-theme=light] html,html[data-theme=light]{background:var(--bg)}
[data-theme=light] body::before,[data-theme=light] body::after{content:none}
[data-theme=light] .site-header{background:#f4f4f6e6;border-color:var(--line)}
[data-theme=light] .bt{background:#ececef}
[data-theme=light] .site-menu{background:#f4f4f6f7}
[data-theme=light] .tab-bar,[data-theme=light] .bid-bar{background:#fffffff2;border-color:var(--line);box-shadow:0 -6px 20px #0000000f}
[data-theme=light] .brand span{filter:none}
[data-theme=light] .photo-panel,[data-theme=light] .bid-panel,[data-theme=light] .card,[data-theme=light] .info-panel,[data-theme=light] .form-panel,[data-theme=light] .auth-card,
[data-theme=light] .submission,[data-theme=light] .filters,[data-theme=light] .table-wrap,[data-theme=light] .policy-contents,[data-theme=light] .policy-others,
[data-theme=light] .won-box,[data-theme=light] .empty,[data-theme=light] .confidence{background:var(--panel);border-color:transparent;box-shadow:var(--shadow)}
[data-theme=light] .card:hover,[data-theme=light] .card:focus-within{border-color:transparent;box-shadow:var(--shadow-hover)}
[data-theme=light] .clock{background:var(--panel-2);border-color:var(--line)}
[data-theme=light] .card-photo,[data-theme=light] .photo-panel,[data-theme=light] .product-photo,[data-theme=light] .gallery-thumbs button{background:var(--photo-bg)}
[data-theme=light] .filters input,[data-theme=light] .filters select,[data-theme=light] .auth-card input,[data-theme=light] .form-grid input,[data-theme=light] .form-grid select,
[data-theme=light] .form-grid textarea,[data-theme=light] .block input,[data-theme=light] .block textarea,[data-theme=light] #settings-form input{background:#fff}
[data-theme=light] input:not([type=checkbox]):not([type=radio]):not([type=range]),[data-theme=light] select,[data-theme=light] textarea{border-color:var(--field-line)}
[data-theme=light] .theme-toggle,[data-theme=light] .menu-toggle{border-color:var(--field-line)}
[data-theme=light] .auth-return,[data-theme=light] .review-note,[data-theme=light] .review-notice,[data-theme=light] dialog{background:#fff;color:var(--text)}
[data-theme=light] .outbid-alert{background:#fde3e5;color:#6d0710}
[data-theme=light] .policy-section p,[data-theme=light] .policy-section li{color:#3a3a40}
[data-theme=light] .button.secondary,[data-theme=light] .feedback,[data-theme=light] .feedback.leading,[data-theme=light] .bar-leading,[data-theme=light] .reserve-tag.met,
[data-theme=light] .header-account,[data-theme=light] .account-button,[data-theme=light] .footer-drop,[data-theme=light] .find-cell:hover .find-name{color:var(--text)}
[data-theme=light] .footer-drop[aria-expanded=true],[data-theme=light] .header-account:hover,[data-theme=light] .account-button:hover,[data-theme=light] .account-button[aria-expanded=true]{color:#fff}
[data-theme=light] .button.secondary:hover{color:var(--text)}
[data-theme=light] .pill,[data-theme=light] .watch,[data-theme=light] .ref-badge,[data-theme=light] .fl-chip{background:#ffffffe6;color:var(--text)}
[data-theme=light] .pill.live{background:var(--red);color:#fff}
[data-theme=light] .find-name{color:#3a3a40}
[data-theme=light] .finder::after{background:repeating-linear-gradient(90deg,#0000002a 0 1px,transparent 1px 12px) bottom/100% 8px no-repeat,repeating-linear-gradient(90deg,#00000045 0 1px,transparent 1px 120px) bottom/100% 16px no-repeat}
[data-theme=light] .sell-banner{background:linear-gradient(135deg,var(--panel) 70%,var(--red-deep));border-color:transparent;box-shadow:var(--shadow)}
[data-theme=light] .fl-stage{background:var(--photo-bg);border-color:var(--line)}
[data-theme=light] .fl-nav{background:#ffffffe6;color:var(--text)}
[data-theme=light] .avatar{background:#ececef;color:var(--text)}
[data-theme=light] .top .avatar{color:#fff}
[data-theme=light] .bid-cards .ledger li:not(.ledger-more):not(.ledger-empty){box-shadow:var(--shadow)}
[data-theme=light] .climb .grid{stroke:#0000001a}
[data-theme=light] .climb .dot{fill:#fff}
[data-theme=light] .climb .reserve{stroke:#111114}
[data-theme=light] .climb .reserve-label{fill:#111114}
[data-theme=light] .wheel-dial::before{box-shadow:0 16px 40px #0000002e}
[data-theme=light] .wheel-step{background:#fff;color:var(--text)}
[data-theme=light] .wheel-step:hover{color:#fff}
[data-theme=light] .pkg{background:var(--panel)}
[data-theme=light] .increments .pkg[aria-pressed=true]{background:linear-gradient(160deg,var(--amber-soft),var(--panel))}
[data-theme=light] .account-menu a:hover,[data-theme=light] .account-menu button:hover{background:#0000000a}

/* ===== Loading screen (boot.js): a ring with the percentage in the middle ===== */
.gg-boot{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:#000;color:#f5f5f5;font-family:Saira,system-ui,sans-serif;transition:opacity .45s}
[data-theme=light] .gg-boot{background:#f4f4f6;color:#111114}
.gg-boot.done{opacity:0;pointer-events:none}
.gg-boot-ring{position:relative;width:96px;height:96px}
.gg-boot-ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.gg-boot-ring circle{fill:none;stroke-width:5}
.gg-boot-ring .track{stroke:#ffffff1a}
[data-theme=light] .gg-boot-ring .track{stroke:#0000001a}
.gg-boot-ring .fill{stroke:#e50914;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:calc(100 - var(--p,0));transition:stroke-dashoffset .15s linear}
.gg-boot-pct{position:absolute;inset:0;display:grid;place-items:center;font:800 20px Saira,system-ui,sans-serif;font-stretch:125%;font-variant-numeric:tabular-nums}
.gg-boot-label{font:600 11px Saira,system-ui,sans-serif;letter-spacing:3px;text-transform:uppercase;opacity:.6}

/* ===== Pit stop: the mini car game in the bidding room (pit-game.js) ===== */
.pit{margin-top:24px;border:1px solid var(--line);background:linear-gradient(160deg,var(--panel-2),var(--panel));padding:22px 24px}
.pit-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.pit-head h2{margin:0;font-size:22px}
.pit-head p{margin:4px 0 0;font-size:13px;color:var(--muted)}
.pit-body{display:grid;grid-template-columns:minmax(0,360px) 1fr;gap:24px;align-items:start;margin-top:18px}
.pit-body[hidden]{display:none}
.pit canvas{width:100%;aspect-ratio:3/4;display:block;background:#1a1a1d;border:1px solid var(--line-hot);touch-action:none;outline:none;cursor:pointer}
.pit canvas:focus-visible{box-shadow:0 0 0 2px var(--amber)}
.pit-side{display:flex;flex-direction:column;gap:12px;font-size:14px;line-height:1.6;color:var(--muted)}
.pit-scores{display:flex;gap:22px}
.pit-scores div{border-left:2px solid var(--amber);padding-left:12px}
.pit-scores div+div{border-color:var(--blue)}
.pit-scores dt{font-size:9px;letter-spacing:2px;text-transform:uppercase;color:var(--muted)}
.pit-scores dd{margin:2px 0 0;font:800 24px var(--ui);font-stretch:125%;color:var(--text);font-variant-numeric:tabular-nums}
.pit-keys kbd{display:inline-block;min-width:26px;padding:2px 7px;border:1px solid var(--line-hot);border-bottom-width:2px;font:600 12px var(--ui);text-align:center;color:var(--text)}
@media(max-width:700px){.pit-body{grid-template-columns:1fr}.pit canvas{max-width:360px;margin:0 auto}}
/* Light mode: the logo text in solid black */
[data-theme=light] .site-header .brand span,[data-theme=light] .site-menu .brand span{background:none;-webkit-text-fill-color:#111114;color:#111114}

/* ===== Hero in light mode: the car photo keeps its dark stage (it is shot on black) ===== */
[data-theme=light] .hero{--text:#f5f5f5;--muted:#b7b0a6;--line-hot:#3a3a3a;--amber:#d4af37;--green:#3ddc84;--red-hot:#ff2a35;color:var(--text)}
[data-theme=light] .hero::before{top:-1px;bottom:0;background:radial-gradient(ellipse 45% 70% at 76% 55%,#e509142e,transparent 70%),radial-gradient(ellipse 60% 40% at 50% 0%,#e5091424,transparent 70%),linear-gradient(180deg,#0b0b0d,#0b0b0d 85%,var(--bg))}
[data-theme=light] .hero .button.secondary{color:#fff}
[data-theme=light] .hero .intro{color:#d4d4d4}

/* ===== Small dark tags and placeholders, made light ===== */
[data-theme=light] .card-meta .eyebrow{background:#ffffffe0;color:var(--red-hot)}
[data-theme=light] .photo-zoom{background:#ffffffe0;color:var(--text);border-color:var(--line-hot)}
[data-theme=light] .no-photo{background:var(--photo-bg);color:var(--muted);border-color:var(--line-hot)}
[data-theme=light] .fl-stage::before{background:linear-gradient(180deg,#0005 0%,transparent 22%,transparent 80%,#0003 100%)}

/* ===== The half-circle is the top edge of the footer on the home page ===== */
:root{--footer-bg:#050505}
[data-theme=light]{--footer-bg:#050505}
[data-theme=light] .site-footer,[data-theme=light] .is-home .dial{--text:#f5f5f5;--muted:#a1a1a8;--line:#2a2a2e;--line-hot:#3a3a3f;--amber:#d4af37;--red-hot:#ff2a35;--panel:#111113;--panel-2:#18181b;color:var(--text)}
.site-footer,[data-theme=light] .site-footer{background:var(--footer-bg)}
.is-home main{padding-bottom:0}
.is-home .dial{margin:72px calc(50% - 50vw) 0;max-width:none;height:230px}
.is-home .dial::before{background:var(--footer-bg);box-shadow:0 -10px 40px #e5091433}
.is-home .site-footer{border-top:0}
.is-home .dial li+li::before{border-color:color-mix(in srgb,var(--text) 10%,transparent)}
.is-home .dial-no::after{background:var(--red-hot);box-shadow:0 0 10px var(--red)}
.is-home .dial li[style*="--i:0"] .ico{color:var(--text)}
@media(max-width:850px){
  .is-home .dial{margin:48px calc(50% - 50vw) 0;height:auto;padding:14px 16px 6px;background:var(--footer-bg);border-top:2px solid var(--red)}
}

/* ===== Theme switch: small, in the header's top-right corner ===== */
.site-header .theme-toggle{width:30px;height:30px;margin-left:4px}
.site-header .theme-toggle svg{width:15px;height:15px}
@media(max-width:850px){.site-header .theme-toggle{margin-left:0}}
@media(max-width:1440px){.site-header .header-note{display:none}}

/* Dark mode: plain black page background again (no texture, no coloured glows, no vignette) */
html[data-theme=dark]{background:#000}
[data-theme=dark] body::before,[data-theme=dark] body::after{content:none}

/* ===== Gold: the third colour, after black and red =====
   --amber now holds gold (above). Prices, numbers and a few fine details wear it; in dark mode the big
   prices get a metallic gold like the chrome logo. */
:root{--gold-metal:linear-gradient(180deg,#fbe9a0 0%,#e3c25c 38%,#b8912c 55%,#f1d77e 78%,#c9a640 100%)}
.card .amount,.fl-amt,.bid-panel .amount,.climb-legend .now dd{color:var(--amber)}
[data-theme=dark] .card .amount,[data-theme=dark] .fl-amt,[data-theme=dark] .bid-panel .amount{background:var(--gold-metal);-webkit-background-clip:text;background-clip:text;color:transparent}
.bar-info strong,.ledger .amt,.pit-scores dd,.climb-legend dd{color:var(--amber)}
.climb-legend div.now{border-color:var(--amber)}
.dial-no{color:var(--amber)}
.is-home .dial-no::after{background:var(--amber);box-shadow:0 0 10px #d4af3799}
.wheel-hub{border-color:#b8912c;box-shadow:inset 0 0 20px #000,0 0 0 4px #0008,0 0 0 1px #d4af3755}
.wheel-hub small{color:var(--amber)}
.fl-lot{color:#e3c25c}
.bid-cards .ledger li:not(.ledger-more):not(.ledger-empty)::after{color:#d4af3740}
.ss-tag,.pill.sold{background:var(--amber);color:#111}

/* ===== Questions & answers in the bidding room (lot-questions.js) ===== */
.qa-intro{max-width:620px;margin:6px 0 16px}
.qa-ask{display:flex;flex-direction:column;gap:10px;padding:16px;border:1px solid var(--line);background:var(--panel)}
.qa-ask textarea,.qa-answer-form textarea{width:100%;padding:12px;background:var(--panel-2);border:1px solid var(--line-hot);color:var(--text);font:15px/1.6 var(--ui);resize:vertical}
.qa-ask textarea:focus,.qa-answer-form textarea:focus{outline:none;border-color:var(--amber);box-shadow:0 0 0 1px var(--amber)}
.qa-ask-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.qa-hint{font-size:12px}
.qa-message:empty{display:none}
.qa-message{color:var(--amber)}
.qa-list{list-style:none;padding:0;margin:18px 0 0;display:grid;gap:12px}
.qa-item{padding:16px 18px;border:1px solid var(--line);background:var(--panel)}
.qa-item.answered{border-left:3px solid var(--amber)}
.qa-q{display:flex;gap:12px;align-items:flex-start}
.qa-q .avatar{width:32px;height:32px;font-size:13px}
.qa-meta{margin:0 0 4px;font-size:12px;color:var(--muted)}
.qa-meta strong{color:var(--text)}
.qa-body{margin:0;font-size:15px;line-height:1.6}
.qa-a{margin:12px 0 0 44px;padding:10px 14px;background:var(--amber-soft);border-left:2px solid var(--amber)}
.qa-by{color:var(--amber);letter-spacing:1px;text-transform:uppercase;font-size:11px}
.qa-waiting{margin:10px 0 0 44px;font-size:12px;font-style:italic}
.qa-actions{display:flex;gap:16px;margin:8px 0 0 44px}
.qa-actions .link-button{font-size:12px;padding:4px 0}
.qa-answer-form{margin:10px 0 0 44px;display:flex;flex-direction:column;gap:8px}
.qa-empty{margin-top:14px}
@media(max-width:600px){.qa-a,.qa-waiting,.qa-actions,.qa-answer-form{margin-left:0}}
.qa-report{color:var(--muted)!important}
.qa-reported{font-size:12px}
.qa-report-form{margin:10px 0 0 44px;display:flex;flex-direction:column;gap:8px;font-size:13px}
.submission.text-only{grid-template-columns:1fr}
.qa-report-form select{margin-top:6px;width:100%;max-width:340px;padding:10px;background:var(--panel-2);border:1px solid var(--line-hot);color:var(--text);font:14px var(--ui)}
@media(max-width:600px){.qa-report-form{margin-left:0}}

/* Quick chat in the bidding room (lot-chat.js): a button bottom-right while the lot is live, opening a panel. */
.chat-toggle{position:fixed;right:max(16px,calc((100% - 1320px) / 2));bottom:24px;z-index:36;display:inline-flex;align-items:center;gap:8px;padding:12px 18px;background:var(--panel);border:1px solid var(--red);color:var(--text);font:600 14px var(--ui);letter-spacing:.04em;cursor:pointer;box-shadow:0 10px 30px #000a;clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px)}
.chat-toggle:hover,.chat-toggle:focus-visible{border-color:var(--red-hot);outline:none;background:var(--panel-2)}
.chat-toggle[aria-expanded=true]{display:none}
.chat-dot{width:8px;height:8px;border-radius:50%;background:var(--red-hot);box-shadow:0 0 0 0 var(--red-hot);animation:chat-pulse 1.6s infinite}
@keyframes chat-pulse{0%{box-shadow:0 0 0 0 #ff2a3599}70%{box-shadow:0 0 0 8px #ff2a3500}100%{box-shadow:0 0 0 0 #ff2a3500}}
.chat-unread{min-width:20px;padding:1px 6px;background:var(--amber);color:#000;font-size:12px;text-align:center}
.chat-panel{position:fixed;right:max(16px,calc((100% - 1320px) / 2));bottom:24px;z-index:36;width:min(380px,calc(100% - 32px));height:min(560px,calc(100vh - 130px));display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--line-hot);box-shadow:0 20px 60px #000c}
.chat-panel[hidden]{display:none}
.chat-head{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid var(--line)}
.chat-head h2{display:flex;align-items:center;gap:8px;margin:0;font:700 15px var(--ui);letter-spacing:.08em;text-transform:uppercase}
.chat-close{background:none;border:0;color:var(--muted);font-size:16px;cursor:pointer;padding:4px 8px}
.chat-close:hover{color:var(--text)}
.chat-rules{margin:0;padding:8px 14px;font-size:11.5px;line-height:1.5;color:var(--muted);border-bottom:1px solid var(--line)}
.chat-list{flex:1;overflow-y:auto;margin:0;padding:10px 12px;list-style:none;display:flex;flex-direction:column;gap:8px;overscroll-behavior:contain}
.chat-empty{margin:auto;font-size:13px}
.chat-msg{max-width:88%;padding:7px 10px;background:var(--panel-2);border-left:2px solid var(--line-hot)}
.chat-msg.mine{align-self:flex-end;border-left:0;border-right:2px solid var(--red)}
.chat-msg.staff{border-left-color:var(--amber)}
.chat-meta{display:flex;align-items:center;gap:6px;margin:0 0 2px;font-size:11px;color:var(--muted)}
.chat-meta strong{color:var(--text);font-size:12px}
.chat-badge{padding:0 5px;border:1px solid var(--amber);color:var(--amber);font-size:10px;letter-spacing:.06em;text-transform:uppercase}
.chat-more{margin-left:auto;background:none;border:0;color:var(--muted);cursor:pointer;padding:0 2px;font-size:14px;line-height:1}
.chat-more:hover{color:var(--text)}
.chat-body{margin:0;font-size:14px;line-height:1.45;overflow-wrap:anywhere}
.chat-flagged{margin:4px 0 0;font-size:11px;color:var(--muted)}
.chat-menu{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin-top:6px;padding-top:6px;border-top:1px solid var(--line);font-size:12px}
.chat-menu span{color:var(--muted)}
.chat-composer{border-top:1px solid var(--line)}
.chat-tabs{display:flex;gap:4px;padding:8px 12px 0}
.chat-tab{flex:1;min-height:36px;padding:6px 8px;background:none;border:1px solid var(--line);color:var(--muted);font:600 12px var(--ui);letter-spacing:.06em;text-transform:uppercase;cursor:pointer}
.chat-tab[aria-pressed=true]{border-color:var(--red);color:var(--text);background:var(--panel-2)}
.chat-tab:focus-visible{outline:none;border-color:var(--amber)}
.chat-quick{display:flex;flex-wrap:wrap;gap:6px;padding:8px 12px 0}
.chat-quick .chip{min-height:36px;padding:6px 12px;font-size:13px;cursor:pointer}
.chat-error{min-height:16px;margin:0;padding:0 12px 8px;font-size:12px;color:var(--red-hot)}
.chat-note{margin:0;padding:12px 14px;font-size:13px;border-top:1px solid var(--line)}
@media(max-width:850px){.chat-toggle{bottom:calc(84px + env(safe-area-inset-bottom))}.chat-panel{right:0;left:0;bottom:0;width:100%;height:min(70vh,560px);z-index:61}}
@media(max-width:600px){.has-tab-bar .chat-toggle{bottom:calc(148px + env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.chat-dot{animation:none}}

/* "Bored of waiting?" in the live bid panel: opens the Pit stop game below. */
.pit-teaser{display:flex;align-items:center;gap:12px;width:100%;margin-top:16px;padding:12px 14px;background:transparent;border:1px dashed var(--line-hot);color:var(--muted);font:13px/1.45 var(--ui);text-align:left;cursor:pointer;transition:border-color .2s,color .2s,background .2s}
.pit-teaser>span:first-child{font-size:20px}
.pit-teaser strong{color:var(--text);font-weight:700}
.pit-teaser-go{margin-left:auto;flex:none;color:var(--amber);font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-size:11px}
.pit-teaser:hover,.pit-teaser:focus-visible{border-color:var(--amber);border-style:solid;color:var(--text);background:var(--panel-2);outline:none}

/* ===== Light mode: prices in bold near-black; gold stays for small accents (badges, the bid wheel, scores) ===== */
[data-theme=light] .card .amount,[data-theme=light] .fl-amt,[data-theme=light] .bid-panel .amount,[data-theme=light] .bar-info strong,
[data-theme=light] .ledger .amt,[data-theme=light] .climb-legend dd{color:var(--text)}
[data-theme=light] .climb-legend div.now{border-color:var(--red)}
[data-theme=light] .fl-lot{padding:3px 8px;background:#111114cc;color:#e3c25c}

/* ===== Glass: translucent, frosted panels across the site (both themes) =====
   Glass needs something behind it to blur, so a few soft, slow-drifting lights (red, gold, a cool grey) sit
   behind the page. Panels let them through, blurred, with a bright top edge like the rim of a pane.
   Falls back to solid panels where blur isn't supported or the visitor asks for less transparency. */
:root{
  --glass-bg:rgba(18,18,22,.30);--glass-bg-strong:rgba(10,10,12,.55);--glass-inner:rgba(255,255,255,.04);
  --glass-line:rgba(255,255,255,.09);--glass-rim:inset 0 1px 0 rgba(255,255,255,.08);
  --glass-shadow:0 10px 40px rgba(0,0,0,.45);--glass-blur:blur(22px) saturate(170%);
}
[data-theme=light]{
  --glass-bg:rgba(255,255,255,.40);--glass-bg-strong:rgba(255,255,255,.62);--glass-inner:rgba(255,255,255,.35);
  --glass-line:rgba(255,255,255,.75);--glass-rim:inset 0 1px 0 rgba(255,255,255,.9);
  --glass-shadow:0 1px 2px rgba(0,0,0,.05),0 12px 32px rgba(17,17,20,.08);--glass-blur:blur(22px) saturate(180%);
}
/* What sits behind the glass (both pseudo-elements are fixed, so the page scrolls over them):
   Light: white grain paper with a red half-sun whose lower half runs down in soft vertical streaks.
   Dark: carbon-fibre twill with two neon red lines running top to bottom. */
[data-theme] body::before,[data-theme] body::after{content:'';position:fixed;z-index:-1;pointer-events:none;animation:none;opacity:1;filter:none;transform:none}

/* Light: grain + the sun (top half of a circle) */
[data-theme=light] body::before{inset:0;
  background:
    radial-gradient(circle var(--sun-r) at 50% 100%,#ee0a0a 99.4%,transparent 100%) var(--sun-x) var(--sun-y)/calc(var(--sun-r) * 2) var(--sun-r) no-repeat,
    var(--noise),#f1f1f1;
  background-blend-mode:normal,multiply,normal}
/* ...and its streaks: red bars of slightly different strength, fading out at different lengths */
[data-theme=light] body::after{left:var(--sun-x);top:calc(var(--sun-y) + var(--sun-r));width:calc(var(--sun-r) * 2.12);height:calc(var(--sun-r) * 1.25);margin-left:calc(var(--sun-r) * -.06);
  background:linear-gradient(90deg,transparent,#ee0a0a 7%,#ee0a0a 93%,transparent);filter:blur(4px);opacity:.8;
  -webkit-mask-image:linear-gradient(#000 0%,#0009 35%,transparent 92%),repeating-linear-gradient(90deg,#000 0 2.2%,#000a 2.2% 4.6%,#000 4.6% 5.4%,#0006 5.4% 8.3%);
  -webkit-mask-composite:source-in;mask-image:linear-gradient(#000 0%,#0009 35%,transparent 92%),repeating-linear-gradient(90deg,#000 0 2.2%,#000a 2.2% 4.6%,#000 4.6% 5.4%,#0006 5.4% 8.3%);mask-composite:intersect}
[data-theme=light]{--sun-r:min(26vw,300px);--sun-x:calc(80vw - var(--sun-r));--sun-y:calc(62vh - var(--sun-r))}
@media(max-width:850px){[data-theme=light]{--sun-r:40vw;--sun-x:calc(50vw - var(--sun-r));--sun-y:calc(72vh - var(--sun-r))}}

/* Dark: carbon fibre (a fine diagonal twill with a soft sheen) */
[data-theme=dark] body::before{inset:0;
  background:
    linear-gradient(100deg,transparent 0%,rgba(255,255,255,.045) 22%,transparent 38%,transparent 62%,rgba(255,255,255,.03) 80%,transparent 100%),
    repeating-linear-gradient(45deg,rgba(255,255,255,.06) 0 2px,transparent 2px 4px,rgba(0,0,0,.6) 4px 6px,transparent 6px 8px),
    repeating-linear-gradient(-45deg,rgba(255,255,255,.03) 0 2px,transparent 2px 8px),
    radial-gradient(ellipse 120% 90% at 50% 40%,#151517,#070708)}
/* ...with two neon red lines and a slightly lighter band between them */
[data-theme=dark] body::after{top:0;bottom:0;left:var(--neon-a);width:calc(var(--neon-b) - var(--neon-a));
  border-left:2px solid #ff1a1a;border-right:2px solid #ff1a1a;background:linear-gradient(90deg,rgba(0,0,0,.5),rgba(255,255,255,.025) 18%,transparent 70%);
  box-shadow:-6px 0 18px -6px #ff0000,6px 0 18px -6px #ff0000,inset 8px 0 18px -10px #ff0000,inset -8px 0 18px -10px #ff0000}
[data-theme=dark]{--neon-a:6vw;--neon-b:32vw}
@media(max-width:850px){[data-theme=dark]{--neon-a:5vw;--neon-b:46vw}}

/* Dark: a neon red rim on the key pieces, like the glowing ring */
[data-theme=dark] :is(.bid-panel,.auth-card){border-top:2px solid #ff1a1a;box-shadow:var(--glass-rim),var(--glass-shadow),0 -4px 18px -6px #ff0000}
[data-theme=dark] .wheel-hub{border-color:#ff1a1a;box-shadow:inset 0 0 20px #000,0 0 0 4px #0008,0 0 14px #ff000099,0 0 2px #ff1a1a}
[data-theme=dark] .pill.live{box-shadow:0 0 12px #ff000088}
[data-theme=dark] .chat-toggle,[data-theme=dark] .chat-panel{border-color:#ff1a1a66;box-shadow:0 0 18px -4px #ff000066,0 10px 30px #000a}
/* Light: red stays crisp and flat, like the sun */
[data-theme=light] :is(.bid-panel,.auth-card){border-top:3px solid #ee0a0a}

/* Panels and cards */
[data-theme] :is(.photo-panel,.bid-panel,.card,.info-panel,.form-panel,.auth-card,.submission,.filters,.table-wrap,.policy-contents,.policy-others,.won-box,.empty,.confidence,.pit,.sell-banner,.qa-ask,.bid-cards .ledger li:not(.ledger-more):not(.ledger-empty)){
  background:linear-gradient(160deg,var(--glass-inner),transparent 55%),var(--glass-bg);border-color:var(--glass-line);
  box-shadow:var(--glass-rim),var(--glass-shadow);backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur)}
[data-theme] .bid-panel,[data-theme] .auth-card{border-top-color:var(--red)}
[data-theme] :is(.card:hover,.card:focus-within,.submission:hover){border-color:var(--red-hot);box-shadow:var(--glass-rim),var(--glass-shadow),0 0 0 1px color-mix(in srgb,var(--red) 25%,transparent)}
/* Boxes inside a pane: a lighter tint, no second blur */
[data-theme] :is(.clock,.spec-icons>div,.qa-item,.chat-msg){background:var(--glass-inner);border-color:var(--glass-line)}
[data-theme] :is(.card-photo,.photo-panel .product-photo){background:transparent}

/* Bars, menus and floating pieces: stronger glass so text stays easy to read over anything */
[data-theme] :is(.site-header,.tab-bar,.bid-bar,.chat-panel,.chat-toggle,.toasts>*,.account-menu,.fl-nav,.pill,.photo-zoom){
  background:var(--glass-bg-strong);border-color:var(--glass-line);backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur)}
[data-theme] .site-header{box-shadow:var(--glass-rim)}
[data-theme] .site-menu{background:var(--glass-bg-strong);backdrop-filter:blur(24px) saturate(160%);-webkit-backdrop-filter:blur(24px) saturate(160%)}
[data-theme] .pill.live{background:var(--red)}
[data-theme] dialog{background:var(--glass-bg-strong);backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur);border:1px solid var(--glass-line)}
[data-theme] dialog::backdrop{background:rgba(0,0,0,.35);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
/* Form fields: frosted, with clear edges */
[data-theme] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){background:var(--glass-inner);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
[data-theme=light] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){background:rgba(255,255,255,.7)}
/* The footer stays solid black (and the car stage stays as shot) */
[data-theme] .site-footer{backdrop-filter:none}

@media(prefers-reduced-transparency:reduce){
  [data-theme] :is(.photo-panel,.bid-panel,.card,.info-panel,.form-panel,.auth-card,.submission,.filters,.table-wrap,.policy-contents,.policy-others,.won-box,.empty,.confidence,.pit,.sell-banner,.qa-ask,.site-header,.tab-bar,.bid-bar,.chat-panel,.site-menu,dialog){background:var(--panel);backdrop-filter:none;-webkit-backdrop-filter:none}
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  [data-theme] :is(.photo-panel,.bid-panel,.card,.info-panel,.form-panel,.auth-card,.submission,.filters,.table-wrap,.policy-contents,.policy-others,.won-box,.empty,.confidence,.pit,.sell-banner,.qa-ask){background:var(--panel)}
}

/* ===== Home page: the car keeps its plain stage, as before; the texture starts a little below it =====
   --tex-top is set by website.js (bottom of the car section + a gap). The texture scrolls with the page here
   and fades in over its first 160px. */
body.is-home{position:relative}
[data-theme] body.is-home::before{position:absolute;inset:var(--tex-top,100vh) 0 0 0;
  -webkit-mask-image:linear-gradient(transparent,#000 160px);mask-image:linear-gradient(transparent,#000 160px)}
[data-theme=dark] body.is-home::after{position:absolute;top:var(--tex-top,100vh);bottom:0;
  -webkit-mask-image:linear-gradient(transparent,#000 160px);mask-image:linear-gradient(transparent,#000 160px)}
[data-theme=light] body.is-home::before{background-position:var(--sun-x) 30vh,0 0,0 0}
[data-theme=light] body.is-home::after{position:absolute;top:calc(var(--tex-top,100vh) + 30vh + var(--sun-r))}

/* ===== Glass everywhere: the remaining surfaces (ticker, floor showroom, finder, notes, answers, strips) ===== */
[data-theme] :is(.bt,.fl-stage,.fl-plate,.feature-strip,.finder,.human-note,.qa-a,.qa-item,.ledger-more,.ledger-empty,.account-menu,.filters,.review-note,.review-notice,.auth-return,.outbid-alert,.won-box,.policy-section,.table-wrap table){
  background:linear-gradient(160deg,var(--glass-inner),transparent 55%),var(--glass-bg);border-color:var(--glass-line);
  box-shadow:var(--glass-rim),var(--glass-shadow);backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur)}
[data-theme] .finder{padding:24px clamp(16px,3vw,32px);border:1px solid var(--glass-line)}
[data-theme] .human-note{background:linear-gradient(90deg,color-mix(in srgb,var(--amber) 14%,transparent),transparent 70%),var(--glass-bg)}
[data-theme] .outbid-alert{background:linear-gradient(90deg,color-mix(in srgb,var(--red) 22%,transparent),transparent 80%),var(--glass-bg-strong)}
[data-theme] .bt{background:var(--glass-bg-strong);box-shadow:var(--glass-rim)}
[data-theme] .bt-label{backdrop-filter:none}
/* Glass inside glass: tint only (a second blur adds cost and no effect) */
[data-theme] :is(.fl-stage .fl-plate,.qa-item .qa-a,.policy-section .policy-section,.table-wrap table){backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none}
[data-theme] .qa-item{padding:14px 16px}
@media(prefers-reduced-transparency:reduce){
  [data-theme] :is(.bt,.fl-stage,.fl-plate,.feature-strip,.finder,.human-note,.qa-a,.qa-item,.account-menu,.review-note,.outbid-alert,.policy-section){background:var(--panel);backdrop-filter:none;-webkit-backdrop-filter:none}
}
/* The wheel's centre is a dark hub in both themes, so its text stays light */
[data-theme=light] .wheel-hub strong{color:#f5f5f5}
[data-theme=light] .wheel-hub span{color:#c9c9cf}

/* ===== Light theme backdrop: the Gavel Gully monogram (red GG, gavels, wheels and chequered diamonds on white).
   Made in Canva; the tile (assets/gg-monogram.webp, 780×200, shown at under an eighth of its size for a very fine print) repeats seamlessly.
   It replaces the red sun. The white glass on top softens it under content. ===== */
[data-theme=light] body::before{background:url(assets/gg-monogram.webp) 0 0/90px auto repeat,#ffffff;background-blend-mode:normal}
[data-theme=light] body::after{content:none}
[data-theme=light] body.is-home::before{background-position:0 0}
/* Lighter print so headings and text sitting straight on the page stay easy to read */
[data-theme=light] body::before{opacity:.32}
html[data-theme=light]{background:#ffffff}

/* ===== Lot boxes: a neon red frame (both themes) =====
   Lot cards, the "On the floor" showroom and the lot rows on My auctions. The frame glows outward, so these boxes
   drop the cut corners (a clipped corner would cut the glow and break the line). */
:root{--neon:#ff1a1a;--neon-glow:0 0 0 1px rgba(255,26,26,.35),0 0 10px rgba(255,26,26,.55),0 0 26px rgba(255,26,26,.22),inset 0 0 12px rgba(255,26,26,.18)}
[data-theme] :is(.card,.fl-body,#my-auctions .submission){clip-path:none;border:1px solid var(--neon);box-shadow:var(--glass-rim),var(--neon-glow)}
[data-theme] :is(.card,#my-auctions .submission):is(:hover,:focus-within){border-color:var(--neon);box-shadow:var(--glass-rim),0 0 0 1px rgba(255,26,26,.6),0 0 14px rgba(255,26,26,.75),0 0 36px rgba(255,26,26,.35),inset 0 0 16px rgba(255,26,26,.25)}
[data-theme] .fl-body .fl-stage,[data-theme] .fl-body .fl-plate{border-color:rgba(255,26,26,.35)}

/* ===== Light theme: text that sits straight on the monogram gets a white label behind it ===== */
[data-theme=light] :is(main > .eyebrow,.policy > .eyebrow,main > h1,.policy > h1,main > .intro,.policy > .intro,.policy-meta,.breadcrumbs,
  .bar-title,.section-heading > .muted,.section-heading > .text-link,.section-heading > div > h2,.section-heading > div > .eyebrow,
  .results-bar > p,.qa-intro,.qa-note,.qa-empty,.qa-message:not(:empty),.fl-head h2,.fl-sub,.fl-head > .text-link,.section-more > a,.tabs){
  width:fit-content;background:#ffffff;padding:4px 10px;box-shadow:0 1px 3px rgba(0,0,0,.08)}
[data-theme=light] :is(main > h1,.policy > h1){padding:6px 14px}
[data-theme=light] :is(main > .intro,.policy > .intro){padding:10px 14px}
[data-theme=light] .tabs{padding:4px}

/* ===== Clearer glass, in the spirit of Apple's materials =====
   Less tint, a stronger blur with a saturation boost (colours behind glow through instead of greying out),
   and a crisp specular rim along the top and edges. */
:root{
  --glass-bg:rgba(22,22,26,.18);--glass-bg-strong:rgba(12,12,14,.38);--glass-inner:rgba(255,255,255,.05);
  --glass-line:rgba(255,255,255,.14);--glass-rim:inset 0 1px 0 rgba(255,255,255,.22),inset 0 0 0 1px rgba(255,255,255,.04);
  --glass-blur:blur(30px) saturate(190%);
}
[data-theme=light]{
  --glass-bg:rgba(255,255,255,.24);--glass-bg-strong:rgba(255,255,255,.45);--glass-inner:rgba(255,255,255,.4);
  --glass-line:rgba(255,255,255,.85);--glass-rim:inset 0 1px 0 rgba(255,255,255,.95),inset 0 0 0 1px rgba(255,255,255,.35);
  --glass-blur:blur(30px) saturate(200%);
}

/* ===== Dark theme backdrop: the same GG monogram, in light silver on black =====
   Replaces the carbon fibre and the neon lines. Same tile and size as the light theme. */
[data-theme=dark] body::before{background:url(assets/gg-monogram-silver.webp) 0 0/90px auto repeat,#000000;opacity:.3}
[data-theme=dark] body::after{content:none}
html[data-theme=dark]{background:#000000}

/* ===== Light mode home: the car's black stage stays solid under the car and buttons, then fades out quickly
   just above "On the floor now" (instead of a long grey fade) ===== */
[data-theme=light] .is-home .hero::before{bottom:-56px;
  background:radial-gradient(ellipse 45% 70% at 76% 55%,#e509142e,transparent 70%),radial-gradient(ellipse 60% 40% at 50% 0%,#e5091424,transparent 70%),
    linear-gradient(180deg,#0b0b0d 0,#0b0b0d calc(100% - 48px),rgba(11,11,13,0) 100%)}

/* ===== Light mode: every box gets a thin neon red outline =====
   Panels, sections and pop-ups get a 1px neon line with a soft glow; boxes inside them get the line alone.
   Square corners in light mode so the outline runs unbroken (a clipped corner would cut it). */
[data-theme=light] :is(.photo-panel,.bid-panel,.info-panel,.form-panel,.auth-card,.submission,.filters,.table-wrap,.policy-contents,.policy-others,.won-box,.empty,.confidence,.pit,.sell-banner,.qa-ask,
  .bt,.feature-strip,.finder,.human-note,.account-menu,.review-note,.review-notice,.auth-return,.outbid-alert,.policy-section,.chat-panel,.chat-toggle,dialog,.toasts>*,#__outline-priority){
  clip-path:none;border:1px solid var(--neon);box-shadow:var(--glass-rim),0 0 0 .5px rgba(255,26,26,.35),0 0 8px rgba(255,26,26,.35),0 0 18px rgba(255,26,26,.12)}
[data-theme=light] :is(.bid-panel,.auth-card,#__outline-priority){border-top:1px solid var(--neon)}
[data-theme=light] :is(.clock,.spec-icons>div,.qa-item,.qa-a,.chat-msg,.fl-stage,.fl-plate,.ledger-more,.ledger-empty,.bid-cards .ledger li,.pit-teaser,.review-note,#__outline-priority){
  border:1px solid rgba(255,26,26,.55);box-shadow:0 0 6px rgba(255,26,26,.18)}
/* Lot boxes keep their stronger neon frame */
[data-theme=light] :is(.card,.fl-body,#my-auctions .submission){border:1px solid var(--neon)}

/* ===== Light mode: gold wherever dark mode uses red =====
   The shared colours switch to gold (bright gold for fills and neon lines, a deeper gold for small text, a pale
   gold wash), text on gold fills turns near-black for contrast, and the places that had red written in directly
   (glows, the price line, the wheel's caliper, the logo, the bid cards) follow. Photos of the lots are untouched. */
[data-theme=light]{
  --red:#c9a227;--red-hot:#8a6508;--red-deep:#f6edd3;
  --neon:#d4af37;--neon-glow:0 0 0 1px rgba(212,175,55,.4),0 0 10px rgba(212,175,55,.6),0 0 26px rgba(212,175,55,.25),inset 0 0 12px rgba(212,175,55,.18);
}
[data-theme=light] .hero{--red:#d4af37;--red-hot:#e3c25c}
/* Text on gold fills */
[data-theme=light] :is(.button:not(.secondary),.pill.live,.wheel-opt[aria-checked=true],.bt-label,.top .avatar,.qa-by,.chip.active,.tab[aria-selected=true],.tab.active){color:#111114}
[data-theme=light] .hero .button:not(.secondary){color:#111114}
/* Glows and lines that had red written in */
[data-theme=light] .text-link{border-color:rgba(201,162,39,.5)}
[data-theme=light] .button.secondary:hover{background:rgba(201,162,39,.12)}
[data-theme=light] .hero-title .t-bold{text-shadow:0 0 40px rgba(212,175,55,.45)}
[data-theme=light] .hero::before{background:radial-gradient(ellipse 45% 70% at 76% 55%,rgba(212,175,55,.16),transparent 70%),radial-gradient(ellipse 60% 40% at 50% 0%,rgba(212,175,55,.12),transparent 70%),linear-gradient(180deg,#0b0b0d,#0b0b0d 85%,var(--bg))}
[data-theme=light] .is-home .hero::before{background:radial-gradient(ellipse 45% 70% at 76% 55%,rgba(212,175,55,.16),transparent 70%),radial-gradient(ellipse 60% 40% at 50% 0%,rgba(212,175,55,.12),transparent 70%),
    linear-gradient(180deg,#0b0b0d 0,#0b0b0d calc(100% - 48px),rgba(11,11,13,0) 100%)}
[data-theme=light] .find-cell:hover{background:radial-gradient(ellipse at center,rgba(212,175,55,.14),transparent 70%)}
[data-theme=light] .feature-strip .ico{filter:drop-shadow(0 0 6px rgba(212,175,55,.55))}
[data-theme=light] .fl-stage::after{box-shadow:0 0 16px 2px rgba(212,175,55,.55)}
[data-theme=light] .climb .line{filter:drop-shadow(0 0 6px rgba(212,175,55,.8))}
[data-theme=light] .wheel-dial::before{box-shadow:0 16px 40px #0000002e,0 0 40px rgba(212,175,55,.15)}
[data-theme=light] .wheel-opt[aria-checked=true]{box-shadow:0 0 16px rgba(212,175,55,.65)}
[data-theme=light] .wheel-caliper{background:linear-gradient(180deg,#f1d77e,#b8912c);box-shadow:0 0 18px rgba(212,175,55,.65)}
[data-theme=light] .bid-cards .ledger li.top{box-shadow:inset 3px 0 0 var(--red),0 0 0 1px var(--red),0 0 36px rgba(212,175,55,.35)}
[data-theme=light] .bid-cards .ledger li:not(.ledger-more):not(.ledger-empty)::after{color:rgba(201,162,39,.3)}
[data-theme=light] .chat-dot{box-shadow:none}
/* Images with red in them: the logo and the brake caliper turn gold with a hue shift (greys and black stay as they are) */
[data-theme=light] .brand img,[data-theme=light] .wheel-brake{filter:hue-rotate(50deg) saturate(.85) brightness(1.18)}
/* Every-box outlines and lot frames in gold */
[data-theme=light] :is(.photo-panel,.bid-panel,.info-panel,.form-panel,.auth-card,.submission,.filters,.table-wrap,.policy-contents,.policy-others,.won-box,.empty,.confidence,.pit,.sell-banner,.qa-ask,
  .bt,.feature-strip,.finder,.human-note,.account-menu,.review-note,.review-notice,.auth-return,.outbid-alert,.policy-section,.chat-panel,.chat-toggle,dialog,.toasts>*,#__outline-priority){
  box-shadow:var(--glass-rim),0 0 0 .5px rgba(212,175,55,.4),0 0 8px rgba(212,175,55,.4),0 0 18px rgba(212,175,55,.14)}
[data-theme=light] :is(.clock,.spec-icons>div,.qa-item,.qa-a,.chat-msg,.fl-stage,.fl-plate,.ledger-more,.ledger-empty,.bid-cards .ledger li,.pit-teaser,.review-note,#__outline-priority){
  border-color:rgba(201,162,39,.6);box-shadow:0 0 6px rgba(212,175,55,.2)}
[data-theme=light] :is(.card,#my-auctions .submission):is(:hover,:focus-within){box-shadow:var(--glass-rim),0 0 0 1px rgba(212,175,55,.65),0 0 14px rgba(212,175,55,.75),0 0 36px rgba(212,175,55,.35),inset 0 0 16px rgba(212,175,55,.22)}
[data-theme=light] .fl-body .fl-stage,[data-theme=light] .fl-body .fl-plate{border-color:rgba(201,162,39,.4)}
/* The GG monogram behind light mode, in gold */
[data-theme=light] body::before{background:url(assets/gg-monogram-gold.webp) 0 0/90px auto repeat,#ffffff}

/* ===== Glass, a step clearer again (both themes) ===== */
:root{--glass-bg:rgba(22,22,26,.10);--glass-bg-strong:rgba(12,12,14,.28);--glass-inner:rgba(255,255,255,.04)}
[data-theme=light]{--glass-bg:rgba(255,255,255,.14);--glass-bg-strong:rgba(255,255,255,.34);--glass-inner:rgba(255,255,255,.3)}

/* ===== Rounded everywhere (both themes) =====
   Every cut corner and square edge becomes a soft round one: big panels and cards 18px, boxes inside them 12px,
   buttons, pills, chips and tabs fully round. Boxes clip their content (photos) to the new corners. */
:root{--r-lg:18px;--r-md:12px;--r-pill:999px}
[data-theme] :is(.photo-panel,.bid-panel,.card,.info-panel,.form-panel,.auth-card,.submission,.filters,.table-wrap,.policy-contents,.policy-others,.won-box,.empty,.confidence,.pit,.sell-banner,.qa-ask,
  .bt,.fl-body,.fl-stage,.fl-plate,.feature-strip,.finder,.human-note,.account-menu,.policy-section,.chat-panel,dialog,.toasts>*,.site-menu .account-menu,#__round-priority){
  clip-path:none;border-radius:var(--r-lg)}
[data-theme] :is(.card,.photo-panel,.fl-body,.fl-stage,.submission,.chat-panel,#__round-priority){overflow:hidden}
[data-theme] :is(.clock,.spec-icons>div,.qa-item,.qa-a,.chat-msg,.ledger-more,.ledger-empty,.bid-cards .ledger li,.pit-teaser,.review-note,.review-notice,.auth-return,.outbid-alert,
  .card-photo,.photo-zoom,.no-photo,.gallery-thumbs button,.gallery-thumbs img,.fl-box,.fl-thumb,.won-box,.climb-legend div,.pit canvas,.wheel-step,.fl-nav,.toast,#__round-priority){
  clip-path:none;border-radius:var(--r-md)}
[data-theme] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea,.theme-toggle,.menu-toggle,#__round-priority){border-radius:var(--r-md)}
[data-theme] :is(.button,.button.slant,.card .button,.header-account,.account-button,.chip,.pill,.tab,.tabs,.chat-toggle,.watch,.ref-badge,.fl-chip,.fl-lot,.card-meta .eyebrow,.bt-label,.chat-badge,.chat-unread,.qa-by,.reserve-tag,.link-button.qa-report,#__round-priority){
  clip-path:none;border-radius:var(--r-pill)}
/* Labels behind text on the light background, and the photo at the top of a lot card */
[data-theme=light] :is(main > .eyebrow,.policy > .eyebrow,main > h1,.policy > h1,main > .intro,.policy > .intro,.policy-meta,.breadcrumbs,
  .bar-title,.section-heading > .muted,.section-heading > .text-link,.section-heading > div > h2,.section-heading > div > .eyebrow,
  .results-bar > p,.qa-intro,.qa-note,.qa-empty,.qa-message:not(:empty),.fl-head h2,.fl-sub,.fl-head > .text-link,.section-more > a){border-radius:var(--r-md)}
[data-theme] .card .card-photo{border-radius:0}
/* Bottom bars on phones: rounded top corners */
@media(max-width:850px){[data-theme] :is(.bid-bar,.tab-bar){border-radius:var(--r-lg) var(--r-lg) 0 0}}

/* ===== Glass 50% more transparent again (both themes) ===== */
:root{--glass-bg:rgba(22,22,26,.05);--glass-bg-strong:rgba(12,12,14,.14);--glass-inner:rgba(255,255,255,.03)}
[data-theme=light]{--glass-bg:rgba(255,255,255,.07);--glass-bg-strong:rgba(255,255,255,.17);--glass-inner:rgba(255,255,255,.2)}

/* ===== "On the floor now": only the outside corners are round; the photo and the details meet square ===== */
[data-theme] .fl-body :is(.fl-stage,.fl-plate,#__round-priority){border-radius:0}

/* ===== The blinking "Live now" label: text centred in its block ===== */
.bt-label{display:flex;align-items:center;justify-content:center;padding:9px 22px;text-align:center}


/* ===== Footer: the links open right under the buttons, joined to the one you clicked ===== */
.site-footer.has-menu .footer-drop-area,.site-footer.has-menu div.footer-drops{order:0}
@media(max-width:850px){.site-footer.has-menu .footer-brand{order:0}.site-footer.has-menu .footer-drop-area,.site-footer.has-menu div.footer-drops{order:0}}
.site-footer .footer-drop-panel{margin-top:4px;border:1px solid var(--line);border-top:2px solid var(--red);border-radius:var(--r-md);display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px 24px}
.site-footer .footer-drop-panel[hidden]{display:none}
.site-footer .footer-drop-panel a{padding:4px 0}
.human-note[hidden]{display:none}

/* ===== Every text box outlined in the theme colour (red in dark mode, gold in light mode) ===== */
[data-theme] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea,#__field-priority){border:1px solid var(--red)}
[data-theme] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea,#__field-priority):focus{outline:none;border-color:var(--red-hot);box-shadow:0 0 0 3px color-mix(in srgb,var(--red) 30%,transparent)}
[data-theme] :is(.footer-drop,.back-to-top,#__round-priority){clip-path:none;border-radius:var(--r-pill)}

/* ===== Readability pass (checked page by page in both themes) ===== */
/* Text that sits straight on the background gets a label box in both themes: white in light mode, near-black in dark */
[data-theme] :is(main > .eyebrow,.policy > .eyebrow,main > h1,.policy > h1,main > .intro,.policy > .intro,.policy-meta,.breadcrumbs,
  .bar-title,.section-heading > .muted,.section-heading > .text-link,.section-heading > div > h2,.section-heading > div > .eyebrow,
  .results-bar > p,.qa-intro,.qa-note,.qa-empty,.qa-message:not(:empty),.fl-head h2,.fl-sub,.fl-head > .text-link,.section-more > a,.tabs,.filter-open,
  .form-message:not(:empty),#__label-priority){
  width:fit-content;padding:4px 10px;border-radius:var(--r-md)}
[data-theme=light] :is(main > .eyebrow,.policy > .eyebrow,main > h1,.policy > h1,main > .intro,.policy > .intro,.policy-meta,.breadcrumbs,
  .bar-title,.section-heading > .muted,.section-heading > .text-link,.section-heading > div > h2,.section-heading > div > .eyebrow,
  .results-bar > p,.qa-intro,.qa-note,.qa-empty,.qa-message:not(:empty),.fl-head h2,.fl-sub,.fl-head > .text-link,.section-more > a,.tabs,.filter-open,.form-message:not(:empty),#__label-priority){
  background:#ffffff;box-shadow:0 1px 3px rgba(0,0,0,.08)}
[data-theme=dark] :is(main > .eyebrow,.policy > .eyebrow,main > h1,.policy > h1,main > .intro,.policy > .intro,.policy-meta,.breadcrumbs,
  .bar-title,.section-heading > .muted,.section-heading > .text-link,.section-heading > div > h2,.section-heading > div > .eyebrow,
  .results-bar > p,.qa-intro,.qa-note,.qa-empty,.qa-message:not(:empty),.fl-head h2,.fl-sub,.fl-head > .text-link,.section-more > a,.tabs,.filter-open,.form-message:not(:empty),#__label-priority){
  background:rgba(8,8,10,.88);box-shadow:0 0 0 1px rgba(255,255,255,.06)}
[data-theme] :is(main > h1,.policy > h1){padding:6px 14px}
[data-theme] :is(main > .intro,.policy > .intro){padding:10px 14px}
[data-theme] .tabs{padding:4px}
/* Dark: red text and the blinking label a touch brighter / deeper so they clear the reading standard */
[data-theme=dark] .back-to-top{color:#ff5a63}
[data-theme=dark] .bt-label{background:#ee0000} /* a red where both the black and the white blink read clearly */
[data-theme] .button:not(.secondary) span{color:inherit}
/* Light: the selected tab, the wheel's brand names, table headings, "No reserve" and coloured titles */
[data-theme=light] .tab[aria-pressed=true]{color:#111114}
[data-theme=light] .wheel-opt{background:rgba(17,17,20,.82);color:#f5f5f5;text-shadow:none;border-radius:var(--r-pill);padding:3px 8px}
[data-theme=light] .wheel-opt[aria-checked=true]{background:var(--red);color:#111114}
[data-theme=light] .rules-table th{color:var(--red-hot);font-weight:700}
[data-theme=light] .reserve-tag.none{color:#6f5106}
[data-theme=light]{--blue:#1a5fb4;--violet:#5b3fc4;--green:#0f7a3f}
:root{--label-bg:rgba(8,8,10,.88);--label-edge:0 0 0 1px rgba(255,255,255,.06)}
[data-theme=light]{--label-bg:#ffffff;--label-edge:0 1px 3px rgba(0,0,0,.08)}
[data-theme] :is(.section-heading > h2,.listing-preview > .eyebrow,.listing-preview > .hint,.submission-list > p,.admin-tabs,.my-group > h2,#__label-priority){
  width:fit-content;padding:4px 10px;border-radius:var(--r-md);background:var(--label-bg);box-shadow:var(--label-edge)}
[data-theme] .admin-tabs{padding:4px}
[data-theme] :is([data-panel] > p,#__label-priority){width:fit-content;padding:4px 10px;border-radius:var(--r-md);background:var(--label-bg);box-shadow:var(--label-edge)}
/* Outlined buttons get a solid backing so their text never sits on the pattern */
[data-theme] .button.secondary{background:var(--label-bg)}
/* Anything that opens over the page (full-screen menu, account menu, dialogs, chat, toasts) is solid, so its text
   never competes with what's underneath */
:root{--solid-panel:rgba(8,8,10,.97)}
[data-theme=light]{--solid-panel:rgba(255,255,255,.97)}
[data-theme] :is(.site-menu,.account-menu,dialog,.chat-panel,.toasts>*,#__solid-priority){background:var(--solid-panel)}
[data-theme=dark] .rules-table th{color:#ff5a63;font-weight:700}
[data-theme=light] .bt-label{background:#9e6c00} /* a deep gold where both the black and the white blink read clearly */
/* Outlined buttons on the car's black stage keep a dark backing (their text is white there) */
[data-theme] .hero .button.secondary{background:rgba(0,0,0,.55)}
/* The last square boxes: the steps container and the spec-tile grid */
[data-theme] :is(.steps,#__round-priority){border-radius:var(--r-lg);overflow:hidden}
[data-theme] :is(.spec-icons,#__round-priority){border-radius:var(--r-md);overflow:hidden}

/* ===== Dark theme: no background image, plain black behind everything =====
   The light theme keeps its gold GG monogram. */
[data-theme=dark] body::before,[data-theme=dark] body::after{content:none}
/* ---------- Phone fixes (2026-10-29) ---------- */
/* Nothing may be wider than the screen. The "Questions & answers" heading made the lot page 414px wide on a
   390px phone, which pushed the bottom menu, the sticky bid bar and "Sign in to chat" off the bottom edge. */
html,body{overflow-x:clip}
.bar-title{flex-wrap:wrap;max-width:100%;row-gap:0}
@media(max-width:600px){.bar-title{font-size:clamp(22px,6.6vw,28px)!important;white-space:normal}}

/* Header, bid bar and chat sit over text, so they are solid instead of see-through glass.
   (The bottom menu keeps its glass for now.) */
[data-theme] :is(.site-header,.bid-bar,.chat-panel,.chat-toggle){backdrop-filter:none;-webkit-backdrop-filter:none}
html[data-theme=dark] :is(.site-header,.bid-bar){background:#060608}
html[data-theme=dark] .bid-bar{border-top:1px solid #2a2a2e}
html[data-theme=dark] :is(.chat-panel,#__solid-priority){background:#0b0b0e}
html[data-theme=dark] .chat-rules{color:#d6d6da;background:#16161a}
html[data-theme=light] :is(.site-header,.bid-bar){background:#fff}
html[data-theme=light] :is(.chat-panel,#__solid-priority){background:#fff}
html[data-theme=light] .chat-rules{color:#3f3f46;background:#f4f4f5}
.chat-rules{font-size:13px}

/* Home on phones: both hero buttons show on the first screen, above the bottom menu */
@media(max-width:600px){
  .hero{padding-top:0}
  .hero-visual{min-height:200px;max-height:230px}
  .hero-copy{display:flex;flex-direction:column}
  .hero .eyebrow{font-size:11px;letter-spacing:.18em;margin:0}
  .hero-title{margin:8px 0 12px}
  .hero-title .t-thin{font-size:22px}
  .hero-title .t-bold{font-size:52px}
  .hero-actions{order:3;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px}
  .hero-actions .button{min-height:50px;padding:12px 10px;font-size:12px;white-space:nowrap}
  .hero .intro{order:4;font-size:16px;line-height:1.55;margin:0 0 6px}
  .hero-stats{order:5;margin:14px 0 0}
}

/* Labels on card photos get a solid backing so they never blend into the box art */
.card-meta :is(.pill,.eyebrow){padding:4px 9px;border-radius:6px}
[data-theme] .card-meta :is(.pill,.eyebrow){background:#000000e6}
[data-theme] .card-meta .pill{border:1px solid #ffffff40;color:#fff}

/* Sort buttons fit on one line on phones */
@media(max-width:600px){
  .tabs{flex-wrap:nowrap;gap:6px}
  .tabs .tab{padding:10px 12px;font-size:11px;letter-spacing:.08em;white-space:nowrap;min-height:44px}
}

/* Live chat button: small pill above the bid bar, so it doesn't cover the lot title */
@media(max-width:600px){
  [data-theme] .chat-toggle{padding:10px 14px;font-size:13px;right:12px;border-radius:999px;clip-path:none}
  html[data-theme=dark] .chat-toggle{background:#0b0b0e}
  html[data-theme=light] .chat-toggle{background:#fff}
  .has-tab-bar .chat-toggle{bottom:calc(146px + env(safe-area-inset-bottom))}
}

/* Timers and prices don't jiggle as digits change */
:is(.bar-clock,.fl-timer,.countdown){font-variant-numeric:tabular-nums}

/* ===== Light theme: glassier everywhere =====
   Every glass panel gets a diagonal shine and a brighter rim, and the blur frosts the monogram behind it.
   The pieces that had turned solid white (labels behind text, outlined buttons, header, bid bar, menus, dialogs,
   chat, toasts, form fields) become frosted glass too: whiter and more blurred, so text stays easy to read. */
[data-theme=light]{
  --glass-sheen:linear-gradient(135deg,rgba(255,255,255,.6) 0%,rgba(255,255,255,.14) 35%,rgba(255,255,255,0) 58%,rgba(255,255,255,.22) 100%);
  --glass-rim:inset 0 1px 0 rgba(255,255,255,1),inset 0 -1px 0 rgba(255,255,255,.45),inset 1px 0 0 rgba(255,255,255,.6),inset -1px 0 0 rgba(255,255,255,.3);
  --glass-blur:blur(3px) saturate(170%) brightness(1.03);
  --frost:rgba(255,255,255,.62);--frost-strong:rgba(255,255,255,.78);--frost-blur:blur(6px) saturate(170%);
  --label-bg:rgba(255,255,255,.62);--solid-panel:rgba(255,255,255,.8);
}
/* Panels and cards: shine on top of the clear glass */
html[data-theme=light] :is(.photo-panel,.bid-panel,.card,.info-panel,.form-panel,.auth-card,.submission,.filters,.table-wrap,.policy-contents,.policy-others,.won-box,.empty,.confidence,.pit,.sell-banner,.qa-ask,
  .bt,.fl-stage,.fl-plate,.feature-strip,.finder,.human-note,.review-note,.review-notice,.auth-return,.outbid-alert,.policy-section,#__glassy){
  background:var(--glass-sheen),var(--glass-bg);backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur)}
html[data-theme=light] .human-note{background:var(--glass-sheen),linear-gradient(90deg,color-mix(in srgb,var(--amber) 14%,transparent),transparent 70%),var(--glass-bg)}
html[data-theme=light] .outbid-alert{background:var(--glass-sheen),linear-gradient(90deg,color-mix(in srgb,var(--red) 22%,transparent),transparent 80%),var(--glass-bg-strong)}
/* Boxes inside panels: a light frosted tint with the same rim */
html[data-theme=light] :is(.clock,.spec-icons>div,.qa-item,.qa-a,.chat-msg,.ledger-more,.ledger-empty,.bid-cards .ledger li,.pit-teaser,#__glassy){
  background:linear-gradient(160deg,rgba(255,255,255,.55),rgba(255,255,255,.18))}
/* Labels behind text and outlined buttons: frosted instead of solid white */
html[data-theme=light] :is(main > .eyebrow,.policy > .eyebrow,main > h1,.policy > h1,main > .intro,.policy > .intro,.policy-meta,.breadcrumbs,
  .bar-title,.section-heading > .muted,.section-heading > .text-link,.section-heading > div > h2,.section-heading > h2,.section-heading > div > .eyebrow,
  .results-bar > p,.qa-intro,.qa-note,.qa-empty,.qa-message:not(:empty),.fl-head h2,.fl-sub,.fl-head > .text-link,.section-more > a,.tabs,.filter-open,
  .form-message:not(:empty),.listing-preview > .eyebrow,.listing-preview > .hint,.submission-list > p,.admin-tabs,.my-group > h2,[data-panel] > p,.button.secondary:not(.hero .button),#__glassy){
  background:var(--glass-sheen),var(--frost);backdrop-filter:var(--frost-blur);-webkit-backdrop-filter:var(--frost-blur);
  box-shadow:var(--glass-rim),0 1px 3px rgba(0,0,0,.06)}
/* Bars and everything that opens over the page: strong frost */
html[data-theme=light] :is(.site-header,.bid-bar,.tab-bar,.site-menu,.account-menu,dialog,.chat-panel,.chat-toggle,.toasts>*,.fl-nav,.photo-zoom,#__glassy){
  background:var(--glass-sheen),var(--frost-strong);backdrop-filter:var(--frost-blur);-webkit-backdrop-filter:var(--frost-blur)}
html[data-theme=light] .chat-rules{background:rgba(255,255,255,.55)}
/* Form fields */
html[data-theme=light] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea,#__glassy){
  background:linear-gradient(180deg,rgba(255,255,255,.75),rgba(255,255,255,.5));backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:inset 0 1px 2px rgba(0,0,0,.05),inset 0 1px 0 #fff}
@media(prefers-reduced-transparency:reduce){
  html[data-theme=light] :is(.site-header,.bid-bar,.tab-bar,.site-menu,.account-menu,dialog,.chat-panel,.chat-toggle,.toasts>*,#__glassy){background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none}
}
/* Small gold text on the clearer glass: a deeper gold so it still reads where the monogram shows through */
html[data-theme=light] .card-brand{color:#6f5106}
/* Pop-ups cover the page itself (photos, text), so they frost it heavily */
html[data-theme=light] :is(.site-menu,.account-menu,dialog,.chat-panel,#__glassy-pop){backdrop-filter:blur(28px) saturate(170%);-webkit-backdrop-filter:blur(28px) saturate(170%)}

/* ===== Light theme glass: more see-through ===== */
[data-theme=light]{
  --glass-bg:rgba(255,255,255,.03);
  --glass-sheen:linear-gradient(135deg,rgba(255,255,255,.42) 0%,rgba(255,255,255,.08) 35%,rgba(255,255,255,0) 58%,rgba(255,255,255,.14) 100%);
  --frost:rgba(255,255,255,.38);--frost-strong:rgba(255,255,255,.52);--label-bg:rgba(255,255,255,.38);--solid-panel:rgba(255,255,255,.55);
}
html[data-theme=light] :is(.clock,.spec-icons>div,.qa-item,.qa-a,.chat-msg,.ledger-more,.ledger-empty,.bid-cards .ledger li,.pit-teaser,#__glassy-2){
  background:linear-gradient(160deg,rgba(255,255,255,.34),rgba(255,255,255,.08))}
html[data-theme=light] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea,#__glassy-2){
  background:linear-gradient(180deg,rgba(255,255,255,.5),rgba(255,255,255,.28))}
html[data-theme=light] :is(.site-menu,.account-menu,dialog,.chat-panel,#__glassy-2){background:var(--glass-sheen),rgba(255,255,255,.55)}
html[data-theme=light] .chat-rules{background:rgba(255,255,255,.35)}
[data-theme=light]{--glass-blur:blur(1.2px) saturate(150%);--frost-blur:blur(3px) saturate(160%)}
/* A step more see-through again */
[data-theme=light]{
  --glass-bg:rgba(255,255,255,.015);
  --glass-sheen:linear-gradient(135deg,rgba(255,255,255,.3) 0%,rgba(255,255,255,.05) 35%,rgba(255,255,255,0) 58%,rgba(255,255,255,.1) 100%);
  --frost:rgba(255,255,255,.28);--frost-strong:rgba(255,255,255,.42);--label-bg:rgba(255,255,255,.28);--solid-panel:rgba(255,255,255,.45);
}
html[data-theme=light] :is(.clock,.spec-icons>div,.qa-item,.qa-a,.chat-msg,.ledger-more,.ledger-empty,.bid-cards .ledger li,.pit-teaser,#__glassy-3){
  background:linear-gradient(160deg,rgba(255,255,255,.24),rgba(255,255,255,.05))}
html[data-theme=light] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea,#__glassy-3){
  background:linear-gradient(180deg,rgba(255,255,255,.4),rgba(255,255,255,.2))}
html[data-theme=light] :is(.site-menu,.account-menu,dialog,.chat-panel,#__glassy-3){background:var(--glass-sheen),rgba(255,255,255,.45)}
/* ...and more see-through still */
[data-theme=light]{
  --glass-bg:rgba(255,255,255,0);
  --glass-sheen:linear-gradient(135deg,rgba(255,255,255,.2) 0%,rgba(255,255,255,.03) 35%,rgba(255,255,255,0) 58%,rgba(255,255,255,.07) 100%);
  --frost:rgba(255,255,255,.18);--frost-strong:rgba(255,255,255,.3);--label-bg:rgba(255,255,255,.18);--solid-panel:rgba(255,255,255,.36);
  --glass-blur:blur(.6px) saturate(140%);
}
html[data-theme=light] :is(.clock,.spec-icons>div,.qa-item,.qa-a,.chat-msg,.ledger-more,.ledger-empty,.bid-cards .ledger li,.pit-teaser,#__glassy-4){
  background:linear-gradient(160deg,rgba(255,255,255,.16),rgba(255,255,255,.02))}
html[data-theme=light] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea,#__glassy-4){
  background:linear-gradient(180deg,rgba(255,255,255,.3),rgba(255,255,255,.12))}
html[data-theme=light] :is(.site-menu,.account-menu,dialog,.chat-panel,#__glassy-4){background:var(--glass-sheen),rgba(255,255,255,.36)}
/* Frosting at 90% white (labels, buttons, bars, menus, dialogs, chat) */
[data-theme=light]{--frost:rgba(255,255,255,.90);--frost-strong:rgba(255,255,255,.90);--label-bg:rgba(255,255,255,.90);--solid-panel:rgba(255,255,255,.90)}
html[data-theme=light] :is(.site-menu,.account-menu,dialog,.chat-panel,#__glassy-5){background:var(--glass-sheen),rgba(255,255,255,.90)}
/* Lot boxes and every other panel: a heavy blur, so the monogram behind melts into a soft frost instead of showing through */
[data-theme=light]{--glass-blur:blur(3px) saturate(150%);--glass-bg:rgba(255,255,255,.4)}

/* Tap areas: every button and link people tap on a phone gets a hit area of at least 44x44px.
   The extra area is an invisible ::after layer, so nothing moves or changes size on screen. */
.site-header .theme-toggle,.card-head .watch,.fl-title .watch,.wheel-step,.card .button,.wheel-hub .button,.breadcrumbs a,.text-link{position:relative}
:is(.site-header .theme-toggle,.watch,.wheel-opt,.wheel-step,.card .button,.wheel-hub .button,.breadcrumbs a,.text-link,.photo-zoom)::after{
  content:"";position:absolute;left:50%;top:50%;width:max(100%,44px);height:max(100%,44px);transform:translate(-50%,-50%)}
.chat-icon{display:none}

/* Live chat button on phones: a round icon button in the right margin, so it covers as little of the page as possible.
   The words "Live chat" stay for screen readers. */
@media(max-width:600px){
  [data-theme] .chat-toggle{width:48px;height:48px;padding:0;gap:0;justify-content:center;right:8px;border-radius:50%}
  .chat-toggle .chat-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .chat-toggle .chat-icon{display:block;width:22px;height:22px}
  .chat-toggle .chat-dot{position:absolute;top:9px;right:9px}
  .chat-toggle .chat-unread{position:absolute;top:-6px;left:-6px;min-width:20px;border-radius:999px}
}

/* ===== Footer: four drop-down fields; each opens a plain list of its links right under it ===== */
.site-footer div.footer-drops{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px;width:min(100%,720px)}
.footer-field{position:relative}
[data-theme] .site-footer :is(.footer-drop,#__footer-field){width:100%;justify-content:space-between;gap:12px;min-height:46px;padding:10px 14px 10px 16px;clip-path:none;
  border:1px solid var(--line-hot);border-radius:var(--r-md);background:var(--panel-2);color:var(--text);font:600 13px var(--ui);letter-spacing:.3px;text-transform:none;text-align:left}
[data-theme] .site-footer .footer-drop:hover{border-color:var(--muted)}
[data-theme] .site-footer .footer-drop[aria-expanded=true]{background:var(--panel-2);border-color:var(--red);color:var(--text);box-shadow:0 0 0 3px color-mix(in srgb,var(--red) 25%,transparent)}
.footer-drop-chevron{width:12px;height:8px;flex:none;color:var(--muted);transition:transform .2s}
.footer-drop[aria-expanded=true] .footer-drop-chevron{transform:rotate(180deg);color:var(--text)}
.footer-drop[aria-expanded=true] .footer-drop-label{transform:none}
.site-footer .footer-field .footer-drop-panel{position:absolute;z-index:30;top:calc(100% + 6px);left:0;min-width:100%;width:max-content;max-width:min(300px,calc(100vw - 32px));
  display:flex;flex-direction:column;gap:0;margin:0;padding:6px;border:1px solid var(--line-hot);border-radius:var(--r-md);background:var(--panel);box-shadow:0 14px 34px rgba(0,0,0,.55)}
.site-footer .footer-field:nth-child(n+3) .footer-drop-panel{left:auto;right:0}
.site-footer .footer-field .footer-drop-panel[hidden]{display:none}
.site-footer .footer-field .footer-drop-panel{scroll-margin-bottom:24px}
@media(max-width:850px){.site-footer .footer-field .footer-drop-panel{scroll-margin-bottom:96px}}
.site-footer .footer-field .footer-drop-panel a{display:block;padding:9px 12px;border-radius:calc(var(--r-md) - 4px);font-size:13px;color:var(--muted);white-space:nowrap}
.site-footer .footer-field .footer-drop-panel a:hover,.site-footer .footer-field .footer-drop-panel a:focus-visible{background:var(--panel-2);color:var(--text)}
@media(max-width:850px){.site-footer div.footer-drops{justify-self:stretch;width:100%}}
@media(max-width:600px){.site-footer div.footer-drops{grid-template-columns:1fr 1fr}
  .site-footer .footer-field:nth-child(n+3) .footer-drop-panel{left:0;right:auto}
  .site-footer .footer-field:nth-child(even) .footer-drop-panel{left:auto;right:0}
  .site-footer .footer-field .footer-drop-panel a{white-space:normal}}

/* ===== Seller's Deck: the jump to "Your submissions" next to the form title ===== */
.form-panel-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.form-panel-head h2{margin-bottom:0}
.jump-link{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid var(--line-hot);border-radius:var(--r-pill);font-size:12px;font-weight:600;color:var(--text);white-space:nowrap}
.jump-link:hover{border-color:var(--red);color:var(--red-hot)}
#your-submissions{scroll-margin-top:96px}

/* ===== Brand search: the list opens under the box; "Other" keeps what you typed ===== */
.brand-picker{position:relative}
.brand-picker input{width:100%}
.brand-options{position:absolute;z-index:40;top:calc(100% + 4px);left:0;right:0;max-height:264px;overflow:auto;margin:0;padding:6px;list-style:none;
  border:1px solid var(--line-hot);border-radius:var(--r-md);background:var(--panel);box-shadow:0 14px 34px rgba(0,0,0,.35)}
.brand-options[hidden]{display:none}
.brand-options li{padding:9px 12px;border-radius:calc(var(--r-md) - 4px);font-size:14px;font-weight:400;color:var(--text);cursor:pointer}
.brand-options li:hover,.brand-options li[aria-selected=true]{background:var(--panel-2)}
.brand-options li[aria-selected=true]{box-shadow:inset 3px 0 0 var(--red)}
.brand-options .brand-other{margin-top:4px;border-top:1px solid var(--line);border-radius:0 0 calc(var(--r-md) - 4px) calc(var(--r-md) - 4px);color:var(--red-hot);font-weight:600}
[data-theme=light] .brand-options{background:#fff}
.brand-options li,.brand-other-note{text-transform:none;letter-spacing:normal;font-family:var(--ui)}
.brand-other-note{display:block;margin-top:6px;font-size:12px;color:var(--muted)}
.brand-other-note[hidden]{display:none}
.form-panel-head{margin-bottom:18px}
/* On phones the second row of footer fields sits just above the tab bar, so its lists open upwards */
@media(max-width:600px){.site-footer .footer-field:nth-child(n+3) .footer-drop-panel{top:auto;bottom:calc(100% + 6px);box-shadow:0 -14px 34px rgba(0,0,0,.55)}}

/* ===== Footer drop-down fields are real selects now: the device's own picker opens over the page ===== */
.site-footer .footer-col[hidden]{display:none}
[data-theme] .site-footer :is(select.footer-select,#__footer-select){width:100%;min-height:46px;padding:10px 40px 10px 16px;appearance:none;-webkit-appearance:none;cursor:pointer;
  border:1px solid var(--line-hot);border-radius:var(--r-md);color:var(--text);font:600 13px var(--ui);letter-spacing:.3px;text-transform:none;
  background:var(--panel-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a1a1a8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center/12px 8px}
[data-theme] .site-footer :is(select.footer-select,#__footer-select):hover{border-color:var(--muted)}
[data-theme] .site-footer :is(select.footer-select,#__footer-select):focus{outline:none;border-color:var(--red);box-shadow:0 0 0 3px color-mix(in srgb,var(--red) 25%,transparent)}
.site-footer select.footer-select option{background:#111113;color:#f5f5f5}

/* ===== Help → Contact us pop-up ===== */
.contact-dialog{width:min(440px,calc(100vw - 32px))}
.contact-dialog::backdrop{background:rgba(0,0,0,.6)}
.contact-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.contact-head h2{margin:4px 0 8px}
.contact-close{flex:none;width:40px;height:40px;border:1px solid var(--line-hot);border-radius:50%;background:transparent;color:var(--text);font-size:16px;cursor:pointer}
.contact-close:hover{border-color:var(--red)}
.contact-list{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:8px}
.contact-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--panel-2)}
.contact-kind{font-size:12px;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted)}
.contact-value{font-weight:600;color:var(--text);text-align:right;overflow-wrap:anywhere}
.contact-value:hover{color:var(--red-hot)}
.contact-more{margin:16px 0 0;font-size:13px}

/* Policy and contact sections are glass cards in both themes, so the text needs room inside the border. */
[data-theme] .policy-section{padding:4px clamp(16px,4vw,28px) 20px}
/* Footer legal line: business name, proprietor, area and phone, as on the government registrations. */
.footer-bottom p{line-height:1.6}

/* Dropdown lists: the fields are see-through glass, so Windows drew the open list white with the light theme's
   pale text. Give the options their own solid colours in each theme. */
select option,select optgroup{background:#121214;color:#f2f2f4}
[data-theme=light] select option,[data-theme=light] select optgroup{background:#ffffff;color:#111114}

/* ===== The full-screen photo viewer stays black in both themes (the light pop-up glass made it white) ===== */
html[data-theme] :is(dialog.viewer,#__viewer-dark){background:#000;color:#fff;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
html[data-theme] dialog.viewer .viewer-count{color:#fff}

/* ===== Outbid notice (top-right toast): readable in the light theme =====
   Its pink text was made for the dark box; in the light theme the box is frosted white, so use dark text. */
html[data-theme=light] :is(.toasts>.toast,#__toast-light){background:var(--glass-sheen),rgba(255,255,255,.94);color:var(--text);border-color:var(--red)}
html[data-theme=light] .toast strong{color:var(--red-hot)}
html[data-theme=light] .toast-close{color:var(--text)}

/* ===== Home hero: the "Good evening, name" greeting in gold, the same gold as the "Upcoming auctions" number
   (the hero is dark in both themes, and .hero keeps --amber gold in the light theme too) ===== */
.hero .hero-hello{color:var(--amber)}

/* ===== Lot floor: each thumbnail's time ("Opens 18 Nov" or the countdown) sits on its own small pill, so it
   reads over the page pattern ===== */
.fl-thumb em{display:inline-block;margin-top:6px;padding:2px 8px;border-radius:var(--r-pill);background:var(--panel);border:1px solid var(--line);color:var(--text);font-size:11px;font-weight:600}
.fl-thumb.on em{color:var(--red-hot);border-color:var(--red-hot)}

/* ===== Bid panel: "type your own bid" box, shown in a lot's last 2 minutes ===== */
.custom-bid{display:grid;gap:6px;margin:14px 0 4px;font-size:12px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--red-hot)}
.custom-bid input{width:100%;min-height:48px;padding:10px 14px;font:700 18px var(--ui);letter-spacing:normal;color:var(--text);background:var(--panel-2);border-radius:var(--r-md)}
.custom-hint{min-height:1em;margin:0 0 10px;font-size:12px;color:var(--red-hot)}
.custom-hint:empty{margin-bottom:6px}
.custom-warn{margin:0 0 12px;padding:10px 12px;border:1px solid var(--red);border-radius:var(--r-md);font-size:13px;font-weight:600;color:var(--text)}

/* ===== Lot page: reserve controls for the lot's seller and admins ===== */
.seller-tools{display:grid;gap:10px;margin-top:16px;padding:16px;border:1px dashed var(--red);border-radius:var(--r-md);background:color-mix(in srgb,var(--red) 6%,transparent)}
.seller-tools .eyebrow{margin:0;color:var(--red-hot)}
.seller-lower{display:grid;gap:6px;font-size:13px;font-weight:600}
.seller-row{display:flex;gap:8px}
.seller-row input{flex:1;min-width:0;min-height:44px;padding:8px 12px;border-radius:var(--r-md);background:var(--panel-2);color:var(--text);font:600 15px var(--ui)}
.seller-row .button{flex:none;min-height:44px;padding:8px 16px}
.seller-tools .link-button{justify-self:start;font-size:13px}
.seller-small{margin:-4px 0 0;font-size:12px}
.seller-note{margin:0;font-size:13px;font-weight:600}
.seller-note:empty{display:none}
