/* ---------- tryby gry (js/modes_ui.js) ---------- */
#modeBanner { position: absolute; top: 42px; right: 10px; width: 270px; pointer-events: none; z-index: 5;
  background: linear-gradient(#2f281ee8, #221d16e8); border: 1px solid var(--edge); border-radius: 4px; padding: 6px 10px 8px;
  box-shadow: 0 4px 14px #0008; font-size: 13px; }
#modeBanner .mb-title { color: var(--gold); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 3px; }
#modeBanner .mb-row { display: flex; justify-content: space-between; gap: 8px; margin-top: 3px; }
#modeBanner .mb-row b { font-variant-numeric: tabular-nums; }
#modeBanner .mb-bar { height: 7px; background: #0008; border: 1px solid #0009; border-radius: 2px; margin-top: 4px; overflow: hidden; }
#modeBanner .mb-bar i { display: block; height: 100%; background: var(--gold); }
#modeBanner .mb-sw { display: inline-block; width: 9px; height: 9px; border: 1px solid #000; margin-right: 4px; vertical-align: -1px; }
#modeBanner .mb-bad { color: #ff9a86; }
#modeBanner .mb-good { color: #9fd08a; }
#modeBanner .mb-muted { color: var(--muted); }
.mode-desc { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); font-style: italic; line-height: 1.35; }
.mode-rank { margin-top: 12px; border-top: 1px solid var(--edge); padding-top: 8px; font-size: 13px; }
.mode-rank h4 { margin: 0 0 6px; color: var(--gold); font-weight: normal; letter-spacing: 1px; }
.mode-rank table { width: 100%; border-collapse: collapse; }
.mode-rank td, .mode-rank th { padding: 2px 6px; text-align: left; border-bottom: 1px solid #ffffff12; }
.mode-rank th { color: var(--muted); font-weight: normal; font-size: 12px; }
.mode-rank tr.mine td { color: var(--gold); }
.mode-end { margin: 0 0 10px; padding: 8px 12px; border: 1px solid var(--edge); background: #0004; border-radius: 4px; }
.mode-end b { color: var(--gold); }
