/* ManiaGrania V2.12.1 — jedna tabela, jeden wyglad monitoringu, wszystkie 14 gier. */
#lista.mg12-ranking{border:1px solid #314865;border-radius:12px;overflow:hidden;background:#101b2d;margin:16px 0 22px;box-shadow:0 12px 32px rgba(0,0,0,.12)}
#lista.mg12-ranking .mg12-ranking__head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:20px 22px;background:linear-gradient(110deg,#1c314e,#152338);border-bottom:1px solid #304965}
#lista.mg12-ranking .mg12-ranking__head h2{margin:0;color:#f6f8ff;font-size:clamp(19px,2.1vw,26px);font-weight:800}
#lista.mg12-ranking .mg12-ranking__head h2 span{color:#ff9c36}
#lista.mg12-ranking .mg12-ranking__head p{margin:5px 0 0;color:#b5c5dc;font-size:12px}
#lista.mg12-ranking .mg12-ranking__counter{color:#d1def0;border:1px solid #3b5775;border-radius:20px;padding:6px 11px;font-size:12px}
#lista.mg12-ranking .mg12-ranking__filters{display:grid;grid-template-columns:minmax(0,2fr) repeat(auto-fit,minmax(160px,1fr));gap:12px;padding:16px 20px;margin:0;border-bottom:1px solid #2a3c55}
#lista.mg12-ranking .mg12-ranking__filters label{min-width:0;display:block}
#lista.mg12-ranking .mg12-ranking__filters input,#lista.mg12-ranking .mg12-ranking__filters select{box-sizing:border-box;display:block;width:100%;height:44px;background:#0a1425;border:1px solid #3c5878;border-radius:8px;color:#eaf2ff;padding:0 12px;font:400 13px Inter,Arial,sans-serif}
#lista.mg12-ranking .mg12-ranking__filters input:focus-visible,#lista.mg12-ranking .mg12-ranking__filters select:focus-visible{outline:2px solid #ff9c36;outline-offset:2px}
#lista.mg12-ranking .mg12-ranking__scroll{overflow-x:auto;overscroll-behavior-x:contain;max-width:100%;width:100%;scrollbar-color:#435d7a #0e1a2d}
#lista.mg12-ranking .mg12-ranking__table{width:100%;min-width:1100px;border-collapse:collapse;table-layout:auto}
#lista.mg12-ranking .mg12-ranking__table thead{background:#0a1729}
#lista.mg12-ranking .mg12-ranking__table th{font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:#a9c6ee;text-align:left;font-weight:700;padding:14px 12px;white-space:nowrap}
#lista.mg12-ranking .mg12-ranking__table td{font-size:12px;color:#dce9fc;padding:15px 12px;line-height:1.45;border-top:1px solid #29405b;vertical-align:middle}
#lista.mg12-ranking .mg12-ranking__table tbody tr:nth-child(odd){background:#182c46}
#lista.mg12-ranking .mg12-ranking__table tbody tr:hover{background:#263e5d}
#lista.mg12-ranking .mg12-ranking__table tr[hidden]{display:none!important}
#lista.mg12-ranking .mg12-rank{font-weight:800;color:#ff9c36!important;font-size:16px!important}
#lista.mg12-ranking .mg12-server-name{min-width:195px;max-width:345px;white-space:normal;overflow-wrap:anywhere}
/* Nazwa standardowa: zawsze normalna waga. Wyjatek tylko na podstawie aktywnego zakupu. */
#lista.mg12-ranking .mg12-server-name a.mg12-name{display:inline;color:#edf4ff!important;font-weight:400!important;font-style:normal;text-decoration:none;line-height:1.45;overflow-wrap:anywhere}
#lista.mg12-ranking .mg12-server-name a.mg12-name.mg12-name--paid-bold{font-weight:800!important}
#lista.mg12-ranking .mg12-server-name a.mg12-name.mg12-name--paid-color{color:var(--mg12-premium-color)!important}
#lista.mg12-ranking .mg12-server-name a.mg12-name:hover{text-decoration:underline;text-underline-offset:3px}
#lista.mg12-ranking .mg12-connect-cell{min-width:90px}
#lista.mg12-ranking .mg12-connect-stats{display:block;margin-top:5px;color:#b9c9df;font-size:11px;white-space:nowrap;font-weight:400}
#lista.mg12-ranking .mg12-address,#lista.mg12-ranking .mg12-last-check{color:#a6bed9;font-variant-numeric:tabular-nums;white-space:nowrap}
#lista.mg12-ranking .mg12-map{max-width:145px;white-space:normal;overflow-wrap:anywhere}
#lista.mg12-ranking .mg12-players{min-width:85px;white-space:nowrap}
#lista.mg12-ranking .mg12-progress{height:4px;max-width:88px;margin-top:6px;background:#314966;border-radius:3px;overflow:hidden}
#lista.mg12-ranking .mg12-progress i{display:block;height:100%;background:linear-gradient(90deg,#4da7ff,#35d5af)}
#lista.mg12-ranking .mg12-status{display:inline-flex;white-space:nowrap;padding:5px 9px;border:1px solid #356c5d;background:#193a32;color:#9ff1c4;border-radius:6px;font-size:11px;font-weight:600}
#lista.mg12-ranking .mg12-status--offline{border-color:#82543b;background:#402a24;color:#ffc092}
#lista.mg12-ranking .mg12-profile{color:#acd5ff;text-decoration:none;white-space:nowrap;font-size:12px}
#lista.mg12-ranking .mg12-vote{color:#c4dafe;border:1px solid #476285;background:#192c45;padding:7px 10px;border-radius:7px;text-decoration:none;white-space:nowrap;font-weight:500}
#lista.mg12-ranking .mg12-connect{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:#ff982e;color:#141922!important;text-decoration:none;font-weight:800;padding:10px 13px;white-space:nowrap}
#lista.mg12-ranking a:focus-visible,#lista.mg12-ranking button:focus-visible{outline:2px solid #ffaf52;outline-offset:2px}
#lista.mg12-ranking .mg12-ranking__footer{padding:14px 20px;display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;border-top:1px solid #2d415c}
#lista.mg12-ranking .mg12-ranking__footer button{border:1px solid #537496;border-radius:7px;background:#1c344f;color:#edf5ff;padding:9px 13px;cursor:pointer}
#lista.mg12-ranking .mg12-ranking__footer button[hidden]{display:none}
#lista.mg12-ranking .mg12-ranking__footer p{margin:0;color:#a6c5ee;font-size:11px}
#lista.mg12-ranking .mg12-empty{text-align:center!important;color:#b7c8dc!important;padding:25px!important}
/* Jedno, spójne centrum historii statusow z istniejacego V2.6. */
section.mg-category-live{margin:24px 0 28px;border:1px solid #304765;border-radius:12px;overflow:hidden;background:#111e31;padding:0 20px 22px}
section.mg-category-live>.panelhead{margin:0 -20px 18px;padding:18px 20px;background:linear-gradient(110deg,#1d3554,#132338);border-bottom:1px solid #334c68;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
section.mg-category-live>.panelhead h3{margin:0;color:#f4f8ff;font-size:clamp(19px,2vw,24px);font-weight:800}
section.mg-category-live h4{font-size:15px;color:#e3eefa;margin:26px 0 12px}
section.mg-category-live .mg-category-live__chart{width:100%;box-sizing:border-box}
section.mg-category-live .mg-category-live__days{width:100%;box-sizing:border-box}
section.mg-category-live .mg26-state{margin-top:12px}
@media(max-width:720px){#lista.mg12-ranking .mg12-ranking__filters{grid-template-columns:1fr;padding:12px}#lista.mg12-ranking .mg12-ranking__head{padding:16px}#lista.mg12-ranking .mg12-ranking__table{min-width:1040px}#lista.mg12-ranking .mg12-ranking__table th,#lista.mg12-ranking .mg12-ranking__table td{padding:12px 9px}section.mg-category-live{padding:0 12px 16px}section.mg-category-live>.panelhead{margin:0 -12px 16px;padding:14px 12px}}
@media(prefers-reduced-motion:reduce){#lista.mg12-ranking *{animation:none!important;scroll-behavior:auto!important}}
