/* MR CEYLON auction stage colors and outcome presentation — v4.
   An accessible dark status surface preserves white/green/red on all four palettes. */
body[data-auction-page="catalog"] .au-card-clock,
body[data-auction-page="lot"] .au-lot-clock{
 --au-stage-color:#ffffff;
 --au-stage-glow:rgba(255,255,255,.10);
 --au-stage-border:rgba(249,250,252,.45);
 position:relative;overflow:hidden;
 background:linear-gradient(125deg,#111d28,#09151e)!important;
 border:1px solid var(--au-stage-border)!important;
 border-left:3px solid var(--au-stage-color)!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 0 14px var(--au-stage-glow);
}
body[data-auction-page="catalog"] .au-card-clock:before,
body[data-auction-page="lot"] .au-lot-clock:before{
 content:"";display:block;position:absolute;inset:0 0 auto 0;height:2px;
 background:linear-gradient(90deg,var(--au-stage-color),transparent 80%);
 opacity:.75;pointer-events:none;
}
body[data-auction-page="catalog"] .au-card-clock[data-demo-phase="running"],
body[data-auction-page="lot"] .au-lot-clock[data-demo-phase="running"],
body[data-auction-page="live"] #liveCountdown[data-demo-phase="running"]{
 --au-stage-color:#6ef0aa;--au-stage-border:rgba(93,234,147,.68);--au-stage-glow:rgba(53,210,115,.16);
}
body[data-auction-page="catalog"] .au-card-clock[data-demo-phase="urgent"],
body[data-auction-page="lot"] .au-lot-clock[data-demo-phase="urgent"],
body[data-auction-page="live"] #liveCountdown[data-demo-phase="urgent"]{
 --au-stage-color:#ff6873;--au-stage-border:rgba(255,102,114,.82);--au-stage-glow:rgba(244,55,71,.20);
}
body[data-auction-page="catalog"] .au-card-clock[data-demo-phase="ended"],
body[data-auction-page="lot"] .au-lot-clock[data-demo-phase="ended"],
body[data-auction-page="live"] #liveCountdown[data-demo-phase="ended"]{
 --au-stage-color:#ead1a2;--au-stage-border:rgba(234,209,162,.62);--au-stage-glow:rgba(218,165,88,.13);
}
body[data-auction-page="catalog"] .au-card-clock[data-demo-phase="unavailable"],
body[data-auction-page="lot"] .au-lot-clock[data-demo-phase="unavailable"]{
 --au-stage-color:#d1d5d8;--au-stage-border:rgba(166,174,181,.48);
}
body[data-auction-page="catalog"] .au-card-clock-label,
body[data-auction-page="lot"] .au-lot-clock-label{
 color:#f6eee6!important;line-height:1.2;font-weight:700;text-transform:uppercase;
}
body[data-auction-page="catalog"] .au-card-clock-value,
body[data-auction-page="lot"] #lotCountdown{
 color:var(--au-stage-color)!important;
 text-shadow:0 0 14px var(--au-stage-glow);
 font-variant-numeric:tabular-nums;
}
body[data-auction-page="catalog"] .au-card-clock[data-demo-phase="urgent"] .au-card-clock-label:before,
body[data-auction-page="lot"] .au-lot-clock[data-demo-phase="urgent"] .au-lot-clock-label:before{
 content:"●";color:#ff6873;margin-right:5px;vertical-align:1px;
}
body[data-auction-page="catalog"] .au-card-clock[data-demo-phase="ended"] .au-card-clock-value{
 color:#ead1a2!important;font-size:clamp(12px,3.3vw,17px)!important;white-space:normal;
 line-height:1.25;
}
body[data-auction-page="catalog"] .au-card-clock{min-height:57px;justify-content:center}
body[data-auction-page="lot"] .au-lot-clock{
 padding:17px 20px;border-radius:12px;margin:20px 0 12px;
 display:flex;flex-direction:column;gap:6px;
}
body[data-auction-page="lot"] .au-lot-clock-label{
 font-size:11px;letter-spacing:.12em;
}
body[data-auction-page="lot"] #lotCountdown{
 display:block;font-family:"DM Sans",Arial,sans-serif;
 font-size:clamp(27px,5vw,37px);font-weight:700;line-height:1.25;
 letter-spacing:-.025em;white-space:normal;
}
body[data-auction-page="lot"] .au-result-panel{
 scroll-margin-top:20px;margin:20px 0;padding:24px;
 border:1px solid var(--mc-gold,#d3b27e);
 border-radius:14px;background:linear-gradient(125deg,var(--mc-pane1,rgba(54,74,91,.44)),var(--mc-pane2,rgba(10,22,36,.78)));
 box-shadow:0 18px 35px #0002;
}
body[data-auction-page="lot"] .au-result-panel h2{
 margin:9px 0 17px;font:400 clamp(25px,4vw,36px)/1.18 "Playfair Display",Georgia,serif;
 color:var(--mc-on,#f7f2e8);
}
body[data-auction-page="lot"] .au-result-amount{
 display:flex;align-items:start;flex-direction:column;gap:5px;
 padding:15px 0;border-top:1px solid var(--mc-stroke,rgba(235,218,187,.25));
 border-bottom:1px solid var(--mc-stroke,rgba(235,218,187,.25));
}
body[data-auction-page="lot"] .au-result-amount small{
 font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:var(--mc-sub,#b9c8d0)
}
body[data-auction-page="lot"] .au-result-amount strong{
 font:700 23px/1.3 "DM Sans",Arial,sans-serif;color:var(--mc-on,#f7f2e8)
}
body[data-auction-page="lot"] .au-result-panel p{font-size:12px;line-height:1.65;color:var(--mc-sub,#bfcbd4);margin:13px 0 10px}
body[data-auction-page="lot"] .au-result-panel a{font-size:12px;font-weight:700;color:var(--mc-gold,#dfc698);text-decoration:underline;text-underline-offset:4px}
body[data-auction-page="live"] #liveCountdown{
 color:#fff;background:rgba(6,16,27,.8);
 border:1px solid rgba(255,255,255,.4);
 padding:9px 15px;border-radius:30px;display:inline-block;
 font-size:11px;font-weight:700;line-height:1.45
}
body[data-auction-page="live"] #liveCountdown[data-demo-phase="urgent"],
body[data-auction-page="live"] #liveCountdown[data-demo-phase="running"],
body[data-auction-page="live"] #liveCountdown[data-demo-phase="ended"]{
 border-color:var(--au-stage-border);color:var(--au-stage-color)
}
@media(max-width:760px){
 body[data-auction-page="catalog"] .au-card-clock{min-height:54px;padding:7px 6px}
 body[data-auction-page="catalog"] .au-card-clock-label{font-size:8px}
 body[data-auction-page="catalog"] .au-card-clock-value{font-size:clamp(12px,3.5vw,16px)}
 body[data-auction-page="lot"] .au-lot-clock{padding:15px 16px;margin:16px 0 10px}
 body[data-auction-page="lot"] .au-result-panel{padding:19px}
}
