/* Staged, bounded styling. No brand or layout redesign. */
body dialog .modal-head{
  position:sticky;
  top:0;
  z-index:6;
  background:var(--panel,#171222);
  border-bottom:1px solid var(--line,#393048);
  padding:12px 0;
  align-items:center;
}
body dialog .modal-head .close{flex:0 0 44px;min-width:44px;min-height:44px}
body .dialog-flow-feedback{
  margin:18px 0;
  padding:15px 17px;
  border:1px solid #7d5a96;
  border-radius:12px;
  background:#2d1b3f;
  color:#f0dcff;
  font:13px/1.65 var(--body-font,Manrope,Arial,sans-serif);
}
body .dialog-flow-feedback strong{display:block;font-weight:650;color:#f3e2ff}
body .dialog-flow-feedback p{margin:5px 0 0;color:#d4bce7;font-size:13px;line-height:1.7}
body .dialog-flow-feedback[data-status=pending] strong::before{content:'';display:inline-block;width:8px;height:8px;margin-right:9px;border-radius:50%;background:#d0a3f7;box-shadow:0 0 0 3px #bd8fe720}
body .dialog-flow-feedback[data-status=confirmed]{border-color:#9e78b6;background:#382349}
body .dialog-flow-feedback[data-status=rejected],body .dialog-flow-feedback[data-status=unknown]{border-color:#ac7467;background:#352330}
body .dialog-flow-feedback[data-status=rejected] strong,body .dialog-flow-feedback[data-status=unknown] strong{color:#ffd3bd}
body .dialog-flow-locked{padding:12px 15px;border:1px solid #ae7b63;border-radius:9px;background:#372630;color:#ffd8c0;font-size:13px;line-height:1.75}
body [data-dialog-busy]{cursor:progress}
/* Keep the live auction's main decision ahead of optional activity details. */
body .live-room-focused{display:grid;gap:14px;min-width:0}
body .live-room-focused .live-top{gap:12px;flex-wrap:wrap}
body .live-room-focused .auction-score{text-align:left;padding:3px 0}
body .live-room-focused .auction-score>strong{font-size:34px;line-height:1.2;letter-spacing:-1px;margin:5px 0 8px;overflow-wrap:anywhere}
body .live-room-focused .auction-score>strong small{font-size:13px;white-space:nowrap}
body .live-room-focused .live-countdown{text-align:left;padding:0 0 12px;font-size:17px;line-height:1.5}
body .live-room-focused #room-result:empty,body .live-room-focused #bid-feedback:empty,body .live-room-focused #bid-recovery:empty{display:none}
body .live-room-focused .room-bid-action{padding:16px;border:1px solid #5d466e;border-radius:14px;background:#20162e;min-width:0}
body .live-room-focused .room-bid-action .field{margin:0 0 12px}
body .live-room-focused .quick-bids{flex-wrap:wrap}
body .live-room-focused .quick-bids button{min-width:74px;min-height:44px;flex:1 1 74px}
body .live-room-focused #minimum-next{font-size:12px;line-height:1.6;margin:10px 0}
body .live-room-focused .dialog-flow-feedback{margin:0 0 14px;padding:13px}
body .live-room-focused .auction-stats{padding:11px;gap:8px}
body .live-room-focused .auction-stats strong{font-size:19px}
body .live-room-focused .auction-stats small{font-size:12px;line-height:1.5}
body .live-room-focused .room-extra{min-width:0;border:1px solid #44344f;border-radius:12px;background:#1b1426}
body .live-room-focused .room-extra>summary{min-height:48px;box-sizing:border-box;padding:14px 16px;cursor:pointer;color:#ebdff5;font-size:13px;font-weight:650;line-height:1.5}
body .live-room-focused .room-extra>summary::marker{color:#c9a6e7}
body .live-room-focused .room-extra>summary:focus-visible{outline:2px solid #d5acf3;outline-offset:3px;border-radius:10px}
body .live-room-focused .room-extra[open]>summary{border-bottom:1px solid #44344f}
body .live-room-focused .room-extra>div,body .live-room-focused .room-extra>p{margin:0;padding:12px 16px}
body .live-room-focused .room-extra>p{font-size:12px;line-height:1.75;color:#c8bad7}
body .live-room-focused #refresh-room{margin:0;justify-self:start}
@media(max-width:420px){body .live-room-focused{gap:12px}body .live-room-focused .auction-score>strong{font-size:30px}body .live-room-focused .room-bid-action{padding:12px}body .live-room-focused .room-extra>summary{padding:14px 12px}}
