/* ZP Stats — Silver Premium
   Couleurs, interface publique et composants. Ne modifie pas Ranked/Classique. */
:root {
  --sp-ink: #152946;
  --sp-navy: #123763;
  --sp-blue: #1766c7;
  --sp-muted: #687c98;
  --sp-line: #cad6e5;
  --sp-card: #f8fbff;
  --sp-shadow: 0 8px 22px rgba(29, 58, 92, .11);
  --primary: #246fce;
  --primary-dark: #123763;
  --primary-light: #d4e6ff;
  --secondary: #dfe9f5;
  --accent: #1766c7;
  --background: #ebf2fb;
  --background-light: #f6f9fe;
  --surface: #f8fbff;
  --surface-light: #eaf1fa;
  --text-primary: #142846;
  --text-secondary: #475d7c;
  --text-muted: #687c98;
  --border: #cad6e5;
  --shadow: rgba(30, 62, 106, .18);
  --glow: rgba(41, 114, 219, .15);
  --font-primary: 'Inter', 'Segoe UI', sans-serif;
  --font-display: 'Inter', 'Segoe UI', sans-serif;
  --color-primary: #1766c7;
  --color-secondary: #164b92;
  --glass-bg: #fff;
  --glass-bg-light: #eef5fe;
  --glass-border: #cad6e5;
  --gradient-primary: linear-gradient(135deg,#a3c8f4,#1766c7);
}
* { scrollbar-color: #9cb4d0 #eaf0f8; }
body.silver-theme {
  margin:0; padding:0; color:var(--sp-ink)!important;
  background:linear-gradient(145deg,#f6f9fd,#dfe9f5 80%)!important;
  font:500 14px/1.6 'Inter','Segoe UI',sans-serif!important;
  min-height:100vh;
}
.silver-theme::before,.silver-theme::after { display:none!important; }
.silver-theme h1,.silver-theme h2,.silver-theme h3,.silver-theme h4,
.silver-theme .page-title,.silver-theme .table-header h2 {
  font-family:'Inter','Segoe UI',sans-serif!important;
  text-transform:none!important; letter-spacing:-.35px!important;
  text-shadow:none!important;
}
.silver-theme a { transition:color .15s,border-color .15s,background .15s; }
.silver-theme a:focus-visible,.silver-theme button:focus-visible,.silver-theme input:focus-visible,.silver-theme select:focus-visible {
  outline:3px solid #74a6fa!important; outline-offset:2px;
}
/* Shell & sidebar */
.sp-shell { display:grid; grid-template-columns:244px minmax(0,1fr); min-height:100vh; }
.sp-sidebar {
  display:flex;flex-direction:column; min-width:0; position:sticky;top:0;height:100vh;overflow:auto;
  z-index:1010; background:linear-gradient(145deg,#f6f9fe,#e4edf9 72%,#d9e5f3);
  border-right:1px solid #b8c7dc;box-shadow:5px 0 20px rgba(34,72,110,.08);
}
.sp-brand {
  display:flex;gap:13px;align-items:center;padding:25px 15px 24px;
  text-decoration:none!important;border-bottom:1px solid #cad8e9;min-height:130px;
}
.sp-brand-icon {display:grid;place-items:center;width:56px;height:60px;flex:none;
  color:#123764;font-size:36px;border-radius:14px;
  background:linear-gradient(150deg,#e7eff9,#b9cde4);box-shadow:inset 1px 2px 0 #fff,0 5px 11px #1c4b7824;}
.sp-brand strong {display:block;line-height:1.1;font-size:25px;font-weight:900;letter-spacing:-1.5px;color:#122948;white-space:nowrap}
.sp-brand em {font-style:italic;color:#39648e}
.sp-brand small {display:block;font-size:9px;font-weight:800;letter-spacing:1.4px;line-height:1.5;color:#60758d;margin-top:7px}
.sp-menu {display:flex;flex-direction:column;gap:5px;padding:25px 12px 15px;flex:1}
.sp-menu a {display:flex;align-items:center;gap:14px;padding:12px 15px;min-height:47px;border:1px solid transparent;
  border-radius:9px;white-space:nowrap;text-decoration:none!important;color:#233f62!important;font-weight:700;font-size:13px}
.sp-menu a>i {display:grid;place-items:center;width:21px;flex:none;font-size:16px;color:#506b8b}
.sp-menu a:hover {background:#f8fbff;border-color:#c5d8ee;color:#1557a2!important}
.sp-menu a.is-active {color:#fff!important;background:linear-gradient(110deg,#0d2442,#17477b 84%,#216cd4);
  border-color:#2068be;box-shadow:0 5px 12px #123e733b}
.sp-menu a.is-active>i {color:#fff}
.sp-menu-divider {display:block;margin:8px 12px 5px;border-top:1px solid #cbd8e9}
.sp-sidefoot {padding:19px 18px;display:flex;gap:12px;align-items:center;border-top:1px solid #cad8e9;
  color:#1f4369;font-size:12px;font-weight:800}
.sp-sidefoot i {font-size:27px;color:#3f77bb}.sp-sidefoot small {font-size:10px;font-weight:500;color:#6b8098}
.sp-sidebar-overlay {display:none}
.sp-stage {min-width:0; width:100%}
/* Header */
.sp-topbar {display:flex;align-items:center;gap:17px;min-height:74px;padding:12px 25px;background:linear-gradient(#fafdff,#ebf2fc);
  border-bottom:1px solid #c5d3e5;box-shadow:0 3px 13px #314b6b12;position:relative;z-index:5}
.sp-menu-toggle {display:none}
.sp-search {display:flex;align-items:center;gap:11px;width:min(530px,55%);min-width:140px;min-height:43px;
  background:#f5f8fd;border:1px solid #aebfd4;border-radius:8px;padding:0 12px;color:#3f6087;box-shadow:inset 0 1px 2px #1e477314}
.sp-search input {flex:1;min-width:0;background:transparent!important;box-shadow:none!important;border:0!important;color:#1b385b!important;font:500 12px 'Inter',sans-serif!important;padding:10px 0!important;height:auto!important}
.sp-search input::placeholder {color:#72859e!important}
.sp-search button {border:0;background:none;color:#2e6fbb;cursor:pointer;font-size:15px}
.sp-topbar-right {display:flex;align-items:center;gap:11px;margin-left:auto}
.sp-topbar-label {display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:800;color:#0f3e77;border:1px solid #a9c6e6;
  background:linear-gradient(115deg,#eff7ff,#dcecff);padding:10px 14px;border-radius:8px;white-space:nowrap}
.sp-topbar-label i {color:#286cb9}
.sp-admin-link {display:flex;align-items:center;gap:9px;padding:10px 12px;text-decoration:none!important;color:#274665!important;
  border:1px solid #c2d1e3;border-radius:8px;font-size:12px;font-weight:800}
.sp-admin-link:hover {background:#fff}
.sp-page {max-width:1650px;margin:0 auto;padding:19px 23px 0}
.sp-location {display:flex;align-items:center;gap:10px;white-space:nowrap;overflow:hidden;color:#74859a;font-size:11px;font-weight:700;
  text-overflow:ellipsis;margin:0 0 16px}
.sp-location i:first-child {color:#2e72bd}.sp-location i:nth-child(3) {font-size:9px}
.sp-main {width:100%;min-width:0;min-height:75vh}
.sp-main .main-content {min-height:0}
.sp-footer {border-top:1px solid #cfdae8;padding:19px 0 25px;text-align:center;color:#8190a5;font-size:11px}
.sp-footer span {margin:0 8px}
/* Accueil — hero */
.sp-home {display:block;min-width:0}
.sp-hero {border:1px solid #b9cbe1;overflow:hidden;position:relative;text-align:center;
  background:#edf4fb url('../images/silver-hero.jpg') center center/cover no-repeat;
  min-height:295px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:27px 16px 28px;
  border-radius:14px;box-shadow:var(--sp-shadow);margin-bottom:18px}
.sp-hero::after {content:'';position:absolute;inset:0;background:linear-gradient(90deg,#eef5fd18 0%,#f6faff72 35%,#f6faff72 66%,#eef5fd18 100%);pointer-events:none}
.sp-hero>* {position:relative;z-index:1}
.sp-eyebrow {display:inline-flex;gap:9px;align-items:center;color:#4775a5;letter-spacing:2.5px;font-size:9px;font-weight:900;margin-bottom:3px}
.sp-eyebrow i {color:#406d9d}
.sp-hero h1 {color:#102944;font-size:clamp(48px,5.7vw,82px)!important;font-weight:900;line-height:1.1;margin:0!important;letter-spacing:-5px!important;font-style:italic;text-shadow:0 2px 0 #fff!important}
.sp-hero h1 span {color:#285487}
.sp-hero h2 {font-size:clamp(16px,1.5vw,23px)!important;font-weight:800!important;margin:6px 0 8px!important;color:#1c385e!important}
.sp-hero p {max-width:530px;margin:0!important;color:#3c5777!important;font-size:12px;font-weight:600;line-height:1.7}
.sp-hero-actions {display:flex;justify-content:center;flex-wrap:wrap;gap:9px;margin-top:15px}
.sp-hero-actions a {display:inline-flex;align-items:center;gap:7px;padding:8px 13px;border-radius:7px;text-decoration:none!important;
  font-size:11px;font-weight:800;color:#fff!important;background:#153f72;border:1px solid #1d5a9e}
.sp-hero-actions a+a {background:#fff;color:#244a73!important;border-color:#b7c9dc}
/* KPI */
.sp-counters {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:17px}
.sp-counter {display:flex;align-items:center;gap:13px;min-width:0;min-height:110px;border-radius:12px;padding:17px;
  background:linear-gradient(145deg,#fff,#e9f1fb 92%);border:1px solid #b9cce3;box-shadow:var(--sp-shadow)}
.sp-counter-icon {display:grid;place-items:center;flex:none;width:50px;height:55px;border-right:1px solid #b8cbe1;
  color:#44678f;font-size:26px;padding-right:12px}
.sp-counter:nth-child(2) .sp-counter-icon {color:#246dc3}.sp-counter:nth-child(3) .sp-counter-icon {color:#337b7d}
.sp-counter:nth-child(4) .sp-counter-icon {color:#c29139}
.sp-counter>div {min-width:0}.sp-counter small {display:block;color:#516985;font-size:11px;font-weight:800}
.sp-counter strong {display:block;color:#152b4d;font-size:clamp(20px,1.9vw,28px);font-weight:900;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-counter strong.sp-top-name {font-size:clamp(13px,1.4vw,19px)}
.sp-counter em {display:block;margin-top:3px;color:#4174b2;font-size:10px;font-style:normal;font-weight:800}
/* Home panels and live data */
.sp-home-grid {display:grid;grid-template-columns:minmax(0,1.7fr) minmax(290px,1fr);gap:17px;align-items:start}
.sp-widget {min-width:0;background:linear-gradient(150deg,#fff,#edf3fa);border:1px solid #bbcde3;border-radius:12px;
  box-shadow:var(--sp-shadow);overflow:hidden}
.sp-widget-title {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 19px;border-bottom:1px solid #d1dfed}
.sp-widget-title h2 {display:flex;align-items:center;gap:11px;font-size:17px!important;font-weight:850!important;line-height:1.3;margin:0!important;color:#193453!important}
.sp-widget-title h2 i {color:#37689f;font-size:16px}
.sp-widget-title>a {white-space:nowrap;color:#1a5aa8!important;font-size:10px;font-weight:800;text-decoration:none!important}
.sp-widget-title>a:hover {text-decoration:underline!important}
.sp-table-scroll {overflow-x:auto}
.sp-top-table {width:100%;border-collapse:collapse;font-size:12px;min-width:500px}
.sp-top-table th {background:#eaf2fb;color:#56718e;text-align:left;font-size:10px;letter-spacing:.35px;font-weight:800;padding:11px 16px}
.sp-top-table td {padding:11px 16px;border-bottom:1px solid #dce6f0;color:#213c5d;font-weight:700;white-space:nowrap}
.sp-top-table tbody tr:hover {background:#eff6ff}
.sp-top-table td:first-child {width:42px;color:#326fb2;font-weight:900}
.sp-top-table .sp-player {color:#1d457a!important;font-weight:800;text-decoration:none!important}
.sp-top-table .sp-player:hover {text-decoration:underline!important}
.sp-top-table .sp-gold {color:#be8b3a}.sp-top-table .sp-silver {color:#647e9f}.sp-top-table .sp-bronze {color:#b67e5b}
.sp-home-right {display:grid;gap:17px;grid-column:2;grid-row:1 / span 2}
.sp-server-art {height:130px;margin:14px 14px 7px;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:15px;
  background:linear-gradient(125deg,#102b49,#2d5b8d 65%,#a0bbd7);color:white;letter-spacing:1.7px;font-weight:900;font-size:12px}
.sp-server-art>i {font-size:42px;color:#d5e7fb}
.sp-info-line {display:flex;align-items:center;justify-content:space-between;gap:15px;padding:11px 16px;border-bottom:1px solid #dbe5f0;font-size:11px}
.sp-info-line>span {color:#647a96}.sp-info-line>span i {margin-right:8px;color:#487bb5}
.sp-info-line strong {color:#1b3d67;text-align:right;overflow-wrap:anywhere}
.sp-visit {display:flex;align-items:center;justify-content:center;gap:8px;margin:12px 15px 15px;padding:9px 10px;background:#ecf4fc;
  color:#19589f!important;border:1px solid #c2d5eb;border-radius:7px;text-decoration:none!important;font-weight:800;font-size:11px}
.sp-quick>a {display:flex;align-items:center;gap:12px;color:#335375!important;padding:12px 17px;font-size:12px;font-weight:700;
  text-decoration:none!important;border-top:1px solid #e1e9f2}
.sp-quick>a:hover {background:#f2f8ff}.sp-quick>a>i:first-child {color:#376ca7}.sp-quick>a>i:last-child {margin-left:auto;color:#7793b0;font-size:10px}
.sp-chart-widget {grid-column:1}
.sp-chart-list {padding:16px 18px 18px;display:grid;gap:14px;min-height:115px}
.sp-chart-item {display:grid;grid-template-columns:120px minmax(0,1fr) 84px;gap:13px;align-items:center;font-size:11px;font-weight:800;color:#415b7d}
.sp-chart-item .sp-chart-player {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sp-chart-track {height:10px;border-radius:100px;background:#dbe7f5;overflow:hidden}
.sp-chart-track i {display:block;height:100%;border-radius:100px;background:linear-gradient(90deg,#5b9ff0,#1556a2)}
.sp-chart-item strong {text-align:right;color:#264d7b}
.sp-empty {padding:26px;text-align:center;color:#697f9c}
/* Existing ranked views (players, weapons, zombies, maps) get a light premium skin. */
.silver-theme .rank-page,.silver-theme .rank-home,.silver-theme .rp-detail,
.silver-theme .rank-zombie-classes {color:var(--sp-ink)!important}
.silver-theme .table-container,.silver-theme .rank-section,.silver-theme .rank-zc-panel,
.silver-theme .rp-detail .rp-panel,.silver-theme .rank-chart-grid>div,
.silver-theme .rank-map-card,.silver-theme .rank-class-card {
  background:linear-gradient(145deg,#fff,#edf3fb)!important;
  color:#1d3658!important;border:1px solid #bbcee4!important;border-radius:12px!important;
  box-shadow:var(--sp-shadow)!important;backdrop-filter:none!important;
}
.silver-theme .table-container::after,.silver-theme .table-container::before,
.silver-theme .rank-zc-panel::before,.silver-theme .rp-detail .rp-panel::before {display:none!important}
.silver-theme .rank-section {padding:18px 20px!important;margin-bottom:16px!important}
.silver-theme .table-header {padding-bottom:13px!important;border-bottom:1px solid #d2deec!important;margin-bottom:13px}
.silver-theme .table-header h2,.silver-theme .rank-zc-panel h2,
.silver-theme .rp-detail h2,.silver-theme .rp-detail h3,
.silver-theme .rank-page-heading,.silver-theme h3 {color:#193b68!important;text-shadow:none!important}
.silver-theme .table-header h2 i,.silver-theme .table-header h2:hover i,
.silver-theme .header-icon {color:#397dc6!important;filter:none!important}
.silver-theme .rank-page-heading {display:flex!important;align-items:center;gap:10px;margin:0 0 16px}
.silver-theme .rank-page-heading h2 {color:#193d6c;font-size:21px;font-weight:900}
.silver-theme .rank-stats {grid-template-columns:repeat(5,minmax(0,1fr));gap:12px!important;margin:0 0 17px!important}
.silver-theme .stat-card {background:linear-gradient(145deg,#fff,#e9f2fe)!important;border:1px solid #bed0e5!important;
  box-shadow:var(--sp-shadow)!important;color:#203a60!important;min-height:110px!important;border-radius:10px!important}
.silver-theme .stat-card::before,.silver-theme .stat-card::after {display:none!important}
.silver-theme .stat-card .stat-value {color:#19487f!important;text-shadow:none!important}
.silver-theme .stat-card .stat-label {color:#5e7390!important;text-shadow:none!important}
.silver-theme .stat-icon,.silver-theme .stat-icon i {color:#387ac2!important;filter:none!important;text-shadow:none!important}
.silver-theme .rank-filters .sidebar-section {background:transparent!important;border:0!important;box-shadow:none!important}
.silver-theme .rank-filters h3,.silver-theme .sidebar-section h3 {color:#395b80!important}
.silver-theme .sidebar-select,.silver-theme .rank-search-form .sidebar-select,
.silver-theme input.sidebar-select,.silver-theme select.sidebar-select,
.silver-theme .rank-filters input.sidebar-select {
  background:#f5f9ff!important;color:#223f64!important;border:1px solid #b8cce2!important;
  box-shadow:none!important;border-radius:7px!important;font-family:'Inter',sans-serif!important;
}
.silver-theme .sidebar-select option {background:#fff;color:#223f64}
.silver-theme .players-table,.silver-theme .ranked-data-table {background:transparent!important;border-collapse:collapse!important;
  border-color:#d8e3f0!important;color:#294668!important}
.silver-theme .players-table thead,.silver-theme .players-table thead tr,
.silver-theme .ranked-data-table thead {background:#e3edf9!important}
.silver-theme .players-table th,.silver-theme .ranked-data-table th {
  color:#315478!important;background:#e8f0fb!important;border:0!important;border-bottom:1px solid #c4d5e9!important;
  font-family:'Inter',sans-serif!important;font-weight:800!important;font-size:11px!important;text-shadow:none!important;
}
.silver-theme .players-table td,.silver-theme .ranked-data-table td,
.silver-theme .ranked-player-row td {
  color:#254363!important;border-color:#e0e8f2!important;
  background:transparent!important;text-shadow:none!important;font-size:12px!important;
}
.silver-theme .players-table tbody tr:nth-child(even),.silver-theme .ranked-data-table tbody tr:nth-child(even) {background:#f0f6fc!important}
.silver-theme .players-table tbody tr:hover,.silver-theme .ranked-data-table tbody tr:hover {background:#e0efff!important}
.silver-theme .players-table tr .col-name .player-name,
.silver-theme .ranked-data-table a.player-name,.silver-theme a.player-name,
.silver-theme .player-name {color:#1a5ba9!important;font-weight:800!important;text-decoration:none!important}
.silver-theme .players-table tr .col-name .player-name:hover,.silver-theme a.player-name:hover {color:#0b376b!important}
.silver-theme .players-table .col-rank .rank-place,
.silver-theme .players-table .col-time i {color:#53799f!important}
.silver-theme .rank-pill,.silver-theme .rank-detail-badge,
.silver-theme .rank-weapon-stat,.silver-theme .rank-weapon-position,
.silver-theme .rank-weapon-sort {background:#e3f0fe!important;border:1px solid #b5d2f1!important;color:#205eac!important;text-shadow:none!important;box-shadow:none!important}
.silver-theme .rank-weapon-sort:hover {background:#cfdef2!important}
.silver-theme .rank-page-link,.silver-theme .rank-pagination .pagination li a,
.silver-theme .pagination a {background:#f0f6fe!important;border:1px solid #c5d5e8!important;color:#285582!important;box-shadow:none!important;text-shadow:none!important}
.silver-theme .rank-page-link.active,.silver-theme .rank-page-link:hover,
.silver-theme .rank-pagination .pagination li a:hover {color:#fff!important;background:#2468b8!important;border-color:#2468b8!important}
.silver-theme .rank-metrics>div,.silver-theme .rp-detail .rp-mini-stat,
.silver-theme .rp-detail .rp-info-list>div,.silver-theme .rp-detail .rp-achievements>div {
  background:#f1f6fd!important;border:1px solid #d4e1f0!important;color:#385879!important;box-shadow:none!important}
.silver-theme .rank-metrics span,.silver-theme .rp-detail .rp-mini-stat span,
.silver-theme .rp-detail .rp-info-list span,.silver-theme .rp-detail .rp-achievements span {color:#647b99!important}
.silver-theme .rank-metrics strong,.silver-theme .rp-detail strong,
.silver-theme .rp-detail .rp-info-list strong,.silver-theme .rp-detail .rp-mini-stat strong {color:#204a7c!important}
.silver-theme .rank-feature-header,.silver-theme .rank-prose,.silver-theme .rank-prose p,
.silver-theme .rank-prose li,.silver-theme .rank-prose span,
.silver-theme .rank-empty {color:#37577c!important}
.silver-theme .rank-prose a {color:#135fae!important}
.silver-theme .rank-prose h3,.silver-theme .rank-chart-grid h3 {color:#204b7b!important}
.silver-theme .rank-button,.silver-theme .rank-search-form button {
  background:linear-gradient(115deg,#1c5699,#337dce)!important;color:white!important;border:1px solid #2463ab!important;
  box-shadow:none!important}
.silver-theme .rank-chart-grid>div {background:#f4f8fe!important}
.silver-theme .rank-zombie-classes {--zc-panel:#f5f9ff;--zc-panel-deep:#eaf3ff;--zc-text:#1d3f68;--zc-muted:#657b96;--zc-gold:#226cb7;--zc-stroke:#c8d9eb}
.silver-theme .rank-zc-panel :is(p,span,small,li),.silver-theme .rank-zombie-classes :is(p,span,small) {color:#315278!important}
.silver-theme .rank-zc-panel :is(h2,h3,strong,b) {color:#183c6b!important}
.silver-theme .rp-detail {--rp-gold:#1c64b1;--rp-border:#c9d9eb;--rp-bg:#f7faff}
.silver-theme .rp-detail .rp-panel-heading,.silver-theme .rp-detail .rp-data-table th {border-color:#d6e3f0!important}
.silver-theme .rp-detail .rp-data-table thead {background:#e7f0fb!important}
.silver-theme .rp-detail .rp-data-table th,.silver-theme .rp-detail .rp-data-table td {color:#315272!important;border-color:#dbe6f3!important}
.silver-theme .rp-detail .rp-data-table tbody tr:nth-child(even) {background:#eaf3fd!important}
.silver-theme .rp-detail :is(.rp-topline-title,.rp-topline-tag,.rp-heading-tag,.rp-eyebrow,.rp-steam,.rp-last,.rp-footnote,.rp-panel-heading p) {color:#496c91!important}
.silver-theme .rp-detail :is(.rp-back,.rp-quick-nav a) {background:#f0f6fc!important;color:#205a9e!important;border:1px solid #c6d9ef!important}
.silver-theme .rp-detail .rp-person h2 {color:#123d71!important}
.silver-theme .rp-detail .rp-charts-panel .rank-chart-grid>div {background:#f3f8fe!important}
/* Responsive */
@media(max-width:1320px){
  .sp-counters {grid-template-columns:repeat(2,minmax(0,1fr))}
  .silver-theme .rank-stats {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1050px){
  .sp-shell {grid-template-columns:208px minmax(0,1fr)}
  .sp-brand {gap:8px;padding:22px 9px}
  .sp-brand-icon {width:44px;font-size:27px}
  .sp-brand strong {font-size:21px}
  .sp-menu a {padding:11px;font-size:12px}
  .sp-home-grid {grid-template-columns:minmax(0,1fr)}
  .sp-home-right {grid-column:1;grid-row:auto;grid-template-columns:1fr 1fr}
  .sp-chart-widget {grid-column:1}
}
@media(max-width:780px){
  .sp-shell {display:block}
  .sp-sidebar {position:fixed;width:245px;left:0;top:0;bottom:0;height:100dvh;transform:translateX(-102%);transition:transform .22s ease}
  .sp-sidebar.is-open {transform:translateX(0)}
  .sp-sidebar-overlay.is-visible {position:fixed;display:block;inset:0;background:#08223f80;z-index:1009}
  .sp-menu-toggle {display:grid;place-items:center;width:38px;height:38px;flex:none;border:1px solid #c6d5e8;border-radius:8px;background:#fff;color:#20518b;cursor:pointer}
  .sp-topbar {padding:12px 15px}
  .sp-search {width:min(500px,100%)}
  .sp-topbar-label {display:none}
  .sp-page {padding:15px 13px 0}
  .sp-hero {min-height:250px}
  .sp-hero h1 {letter-spacing:-3px!important}
  .silver-theme .rank-stats {grid-template-columns:repeat(2,minmax(0,1fr))}
  .sp-home-right {grid-template-columns:1fr 1fr}
}
@media(max-width:550px){
  .sp-topbar {gap:8px}
  .sp-admin-link span {display:none}
  .sp-admin-link {padding:10px}
  .sp-location {font-size:10px}
  .sp-hero {min-height:240px;background-position:center;padding:18px 12px}
  .sp-hero p {font-size:11px}
  .sp-hero-actions {margin-top:12px}
  .sp-counters {gap:9px}
  .sp-counter {padding:11px 9px;gap:7px;min-height:98px}
  .sp-counter-icon {width:34px;height:42px;padding-right:6px;font-size:19px}
  .sp-counter strong {font-size:17px}
  .sp-counter strong.sp-top-name {font-size:13px}
  .sp-counter em {font-size:9px}
  .sp-home-right {grid-template-columns:1fr}
  .sp-chart-item {grid-template-columns:85px minmax(0,1fr) 62px;gap:8px}
  .sp-widget-title {padding:12px}
  .sp-widget-title h2 {font-size:14px!important}
  .sp-widget-title>a {font-size:9px}
  .silver-theme .rank-stats {grid-template-columns:1fr 1fr}
  .silver-theme .rank-section {padding:12px!important}
}


/* Silver Premium : bouton Langue dans la barre supérieure, popup indépendante.
   Reprend l'addon {lang} et la logique existante de site-theme.js. */
.silver-theme .sp-language-trigger {
  font-family:'Inter','Segoe UI',sans-serif;
  line-height:1.4;
  cursor:pointer;
  appearance:none;
}
.silver-theme .sp-language-trigger:hover {
  border-color:#6e9dce;
  background:#fafdff;
}
/* Ne pas masquer l'accès aux langues en version mobile. */
@media(max-width:780px) {
  .silver-theme .sp-topbar-label.sp-language-trigger {display:inline-flex;}
}
@media(max-width:550px) {
  .silver-theme .sp-language-trigger {padding:10px;}
  .silver-theme .sp-language-trigger span {display:none;}
}
.silver-theme.rank-language-open {overflow:hidden!important;}
.silver-theme .sp-language-modal[hidden] {display:none!important;}
.silver-theme .sp-language-modal {
  position:fixed;inset:0;z-index:3000;
  display:flex;align-items:center;justify-content:center;
  padding:20px;
  font-family:'Inter','Segoe UI',sans-serif;
}
.silver-theme .sp-language-backdrop {
  position:absolute;inset:0;width:100%;height:100%;
  padding:0;margin:0;border:0;border-radius:0;
  background:rgba(10,27,48,.68);cursor:pointer;
}
.silver-theme .sp-language-dialog {
  position:relative;z-index:1;width:min(440px,100%);
  max-height:calc(100dvh - 40px);overflow-y:auto;
  background:#f8fbff;border:1px solid #b8cde6;border-radius:15px;
  color:#18385e;box-shadow:0 24px 68px rgba(8,30,62,.30);
}
.silver-theme .sp-language-header {
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;padding:20px 22px;
  border-bottom:1px solid #d4e0ef;
}
.silver-theme .sp-language-header h2 {
  display:flex;align-items:center;gap:10px;margin:0;
  font-size:18px!important;line-height:1.3;
  font-weight:800;color:#173c69!important;
}
.silver-theme .sp-language-header h2 i {color:#2472c7;}
.silver-theme .sp-language-close {
  width:34px;height:34px;flex:none;
  display:grid;place-items:center;border-radius:8px;
  border:1px solid #c5d5e8;background:#fff;
  color:#355e8d;cursor:pointer;font-size:15px;
}
.silver-theme .sp-language-body {padding:21px 22px;}
.silver-theme .sp-language-body p {margin:0 0 15px;color:#65809d;font-size:13px;}
.silver-theme .sp-language-body form {display:block;margin:0;width:100%;}
.silver-theme .sp-language-body label {
  display:block;margin:0 0 9px;color:#254b75;
  font-weight:700;font-size:13px;
}
.silver-theme .sp-language-body #langSelect {
  display:block;width:100%;min-width:0;max-width:100%;
  padding:11px 13px;border:1px solid #b9cce3;border-radius:9px;
  background:#fff!important;color:#1f436b!important;
  box-shadow:none!important;font:600 14px 'Inter','Segoe UI',sans-serif;
}
.silver-theme .sp-language-footer {
  display:flex;justify-content:flex-end;
  padding:15px 22px;border-top:1px solid #d4e0ef;
}
.silver-theme .sp-language-dismiss {
  padding:10px 18px;border-radius:8px;
  background:#1d609f;color:#fff;
  border:1px solid #15548f;cursor:pointer;
  font:700 13px 'Inter','Segoe UI',sans-serif;
}
.silver-theme .sp-language-dismiss:hover {background:#144e87;}
@media(max-width:480px) {
  .silver-theme .sp-language-modal {padding:13px;}
  .silver-theme .sp-language-dialog {max-height:calc(100dvh - 26px);}
  .silver-theme .sp-language-header,
  .silver-theme .sp-language-body {padding:17px;}
  .silver-theme .sp-language-footer {padding:13px 17px;}
}

/* === SILVER PREMIUM - Maps : défilement et dimensions stabilisés ===
   Uniquement Maps. Les couleurs et autres pages restent identiques.
   Le graphique Chart.js remplit son conteneur fixe, sans l'agrandir.
*/
.silver-theme .silver-maps-chart-section,
.silver-theme .silver-maps-chart-section:hover,
.silver-theme .rank-map-grid .rank-map-card,
.silver-theme .rank-map-grid .rank-map-card:hover {
  transform: none !important;
  transition: none !important;
}
.silver-theme .silver-maps-chart-section,
.silver-theme .rank-map-grid,
.silver-theme .rank-map-grid .rank-map-card {
  min-width: 0;
  max-width: 100%;
}
.silver-theme .silver-maps-chart-section .rank-map-chart {
  display: block;
  position: relative;
  width: 100%;
  height: 350px;
  min-height: 0;
  max-height: none;
  overflow: hidden;
}
.silver-theme .silver-maps-chart-section .rank-map-chart #zpMapChart {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
}
.silver-theme .rank-map-grid .rank-map-image {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.silver-theme .rank-map-grid .rank-map-card .table-header h2 {
  overflow-wrap: anywhere;
}
@media (max-width: 780px) {
  .silver-theme .silver-maps-chart-section .rank-map-chart {
    height: 300px;
  }
}


/* === Silver Premium : icones et couleurs pour Maps uniquement ===
   Garde les dimensions fixes et le défilement stable de la correction Maps.
   Aucun changement de navigation, profil, langues ou autres pages.
*/
.silver-theme .silver-maps-chart-section,
.silver-theme .rank-map-grid .silver-maps-card {
  border-top: 3px solid #2b75bd !important;
}
.silver-theme .rank-map-grid .silver-maps-card:nth-child(3n+2) {
  border-top-color: #228f92 !important;
}
.silver-theme .rank-map-grid .silver-maps-card:nth-child(3n+3) {
  border-top-color: #7379b9 !important;
}
.silver-theme .silver-maps-chart-section .table-header h2,
.silver-theme .rank-map-grid .silver-maps-card .table-header h2 {
  display: flex !important;
  align-items: center;
  gap: 11px;
  min-width: 0;
  line-height: 1.35;
}
.silver-theme .silver-maps-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #e7f2ff;
  border: 1px solid #b6d5f5;
  color: #2169af;
}
.silver-theme .silver-maps-chart-icon {
  background: #e4f0ff;
  border-color: #aecff2;
  color: #2169af;
}
.silver-theme .silver-maps-map-icon {
  background: #e7f4f6;
  border-color: #b2d9e1;
  color: #16848a;
}
.silver-theme .silver-maps-chart-section .table-header h2 .silver-maps-title-icon i,
.silver-theme .rank-map-grid .silver-maps-card .table-header h2 .silver-maps-title-icon i {
  color: inherit !important;
  font-size: 16px;
  line-height: 1;
}
.silver-theme .rank-map-grid .silver-maps-card .rank-map-image {
  border-color: #c3d5e9;
  background: #e5edf7;
}
.silver-theme .rank-map-grid .silver-maps-metrics {
  gap: 9px;
  min-width: 0;
}
.silver-theme .rank-map-grid .silver-maps-metrics .silver-map-metric {
  padding: 11px 12px !important;
  border-radius: 9px !important;
  min-width: 0;
  box-shadow: none !important;
}
.silver-theme .rank-map-grid .silver-maps-metrics .silver-map-metric span {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 750;
  overflow-wrap: anywhere;
  color: #526a85 !important;
}
.silver-theme .rank-map-grid .silver-maps-metrics .silver-map-metric span i {
  flex: 0 0 16px;
  font-size: 14px;
  text-align: center;
}
.silver-theme .rank-map-grid .silver-maps-metrics .silver-map-metric strong {
  display: block;
  padding-left: 23px;
  margin-top: 5px;
  line-height: 1.2;
  font-size: 19px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}
/* Parties jouees : bleu */
.silver-theme .rank-map-grid .silver-maps-metrics .silver-map-metric-games {
  background: #e9f3ff !important;
  border: 1px solid #c9def5 !important;
}
.silver-theme .rank-map-grid .silver-maps-metrics .silver-map-metric-games :is(i,strong) {
  color: #2369b6 !important;
}
/* Humains : vert */
.silver-theme .rank-map-grid .silver-maps-metrics .silver-map-metric-human {
  background: #e9f7f2 !important;
  border: 1px solid #c0e5d7 !important;
}
.silver-theme .rank-map-grid .silver-maps-metrics .silver-map-metric-human :is(i,strong) {
  color: #137e60 !important;
}
/* Zombies : rouge corail */
.silver-theme .rank-map-grid .silver-maps-metrics .silver-map-metric-zombie {
  background: #fff0f1 !important;
  border: 1px solid #f3cbd0 !important;
}
.silver-theme .rank-map-grid .silver-maps-metrics .silver-map-metric-zombie :is(i,strong) {
  color: #c74056 !important;
}
/* Egalites : or */
.silver-theme .rank-map-grid .silver-maps-metrics .silver-map-metric-draw {
  background: #fff8e9 !important;
  border: 1px solid #f2dfb8 !important;
}
.silver-theme .rank-map-grid .silver-maps-metrics .silver-map-metric-draw :is(i,strong) {
  color: #a76c13 !important;
}
@media (max-width: 580px) {
  .silver-theme .silver-maps-title-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }
  .silver-theme .rank-map-grid .silver-maps-metrics .silver-map-metric {
    padding: 9px !important;
  }
  .silver-theme .rank-map-grid .silver-maps-metrics .silver-map-metric strong {
    padding-left: 0;
    font-size: 17px;
  }
}

/* ========================================================
   SILVER PREMIUM - PLAYERS : TITRE ET EN-TETES PLUS GRANDS
   Concerne uniquement la section Top Players.
   ======================================================== */
.silver-theme .rank-players-section .table-header h2 {
    font-size: 25px !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
}
.silver-theme .rank-players-section .table-header h2 i {
    font-size: 23px !important;
    margin-right: 9px;
}
.silver-theme #rank-players-table thead th {
    font-size: 14px !important;
    font-weight: 850 !important;
    padding: 14px 12px !important;
    line-height: 1.4 !important;
    white-space: nowrap;
}
.silver-theme #rank-players-table thead th i {
    font-size: 14px !important;
    margin-right: 5px;
}
@media (max-width: 600px) {
    .silver-theme .rank-players-section .table-header h2 {
        font-size: 21px !important;
    }
    .silver-theme #rank-players-table thead th {
        font-size: 12px !important;
        padding: 11px 9px !important;
    }
}


/* ========================================================
   SILVER PREMIUM - PLAYERS : INFECTED PLUS LISIBLE
   La couleur #e8e8e8 de style.css etait trop claire.
   Uniquement la colonne Infected de la liste Players.
   ======================================================== */
.silver-theme #rank-players-table td.col-weapon p.stats {
    color: #62378c !important;
    background: #f1eafd !important;
    border: 1px solid #d3bde9 !important;
    text-shadow: none !important;
    font-weight: 800 !important;
}
.silver-theme #rank-players-table td.col-weapon p.stats i {
    color: #7542a0 !important;
    text-shadow: none !important;
}
.silver-theme #rank-players-table td.col-weapon p.stats:hover {
    background: #e8dcf9 !important;
    border-color: #b99ad9 !important;
}


/* ==========================================================
   SILVER PREMIUM — PLAYER INFO : TITRES, ICONES ET TABLEAUX
   Ne change ni le theme, ni Players, Maps ou Weapons publics.
   ========================================================== */
.silver-theme .rp-detail .rp-topline-title {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 29px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    letter-spacing: .5px !important;
    color: #173b64 !important;
    text-shadow: none !important;
}
.silver-theme .rp-detail .rp-topline-title i {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: none;
    margin-right: 2px;
    border: 1px solid #bfd7f2;
    border-radius: 9px;
    background: #e7f2ff;
    color: #246fba !important;
    font-size: 18px !important;
}
/* Basic Statistics et Zombie Achievements */
.silver-theme .rp-detail .rp-panel-heading h3 {
    font-size: 22px !important;
    font-weight: 900 !important;
    line-height: 1.35 !important;
    color: #193b68 !important;
}
.silver-theme .rp-detail .rp-panel-heading h3 i {
    font-size: 20px !important;
    margin-right: 9px;
    color: #286db5 !important;
}
/* Weapons Statistic, Weapon Charts, Zombie Classes Statistic */
.silver-theme .rp-detail .rank-section .table-header h2 {
    display: flex !important;
    align-items: center;
    gap: 10px;
    font-size: 26px !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
    color: #193b68 !important;
}
.silver-theme .rp-detail .rank-section .table-header h2 i {
    margin: 0 !important;
    font-size: 23px !important;
    color: #2870bc !important;
}
/* En-tetes des deux tableaux statistiques du profil */
.silver-theme .rp-detail .ranked-data-table thead th {
    font-size: 13px !important;
    font-weight: 850 !important;
    line-height: 1.4 !important;
    padding: 13px 10px !important;
    color: #294d75 !important;
    white-space: nowrap;
}
.silver-theme .rp-detail .ranked-data-table thead th i {
    color: #3176bf !important;
    font-size: 13px !important;
    margin-right: 5px;
}
/* Titres et icones des quatre graphiques */
.silver-theme .rp-detail .rank-charts-section .rank-chart-grid h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 17px !important;
    font-weight: 850 !important;
    color: #254a74 !important;
    text-shadow: none !important;
}
.silver-theme .rp-detail .rank-charts-section .rank-chart-grid h3 i {
    font-size: 16px;
    color: #2a74bd !important;
}
@media (max-width: 600px) {
    .silver-theme .rp-detail .rp-topline-title {font-size: 23px !important;}
    .silver-theme .rp-detail .rp-topline-title i {width: 31px;height: 31px;font-size: 16px !important;}
    .silver-theme .rp-detail .rp-panel-heading h3 {font-size: 19px !important;}
    .silver-theme .rp-detail .rank-section .table-header h2 {font-size: 21px !important;}
    .silver-theme .rp-detail .rank-section .table-header h2 i {font-size: 19px !important;}
    .silver-theme .rp-detail .ranked-data-table thead th {font-size: 12px !important;padding: 10px 8px !important;}
}

/* =============================================================
   SILVER PREMIUM - WEAPONS : EN-TETES SANS RECTANGLES
   Retire uniquement les boites autour des titres de colonnes.
   Les boutons et le tri JavaScript restent fonctionnels.
   ============================================================= */
.silver-theme .rank-weapons-modern .rank-weapons-table thead .rank-weapon-sort,
.silver-theme .rank-weapons-modern .rank-weapons-table thead .rank-weapon-sort:hover,
.silver-theme .rank-weapons-modern .rank-weapons-table thead .rank-weapon-sort:active,
.silver-theme .rank-weapons-modern .rank-weapons-table thead .rank-weapon-sort:focus {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: #315478 !important;
    text-shadow: none !important;
}
.silver-theme .rank-weapons-modern .rank-weapons-table thead .rank-weapon-sort .rank-sort-arrow {
    color: #397dc6 !important;
}
.silver-theme .rank-weapons-modern .rank-weapons-table thead .rank-weapon-sort:focus-visible {
    outline: 2px solid #397dc6;
    outline-offset: 3px;
}

/* =============================================================
   SILVER PREMIUM - WEAPON INFO : RANG SANS CARRE
   Uniquement la colonne de position du tableau Top Players.
   Les numeros restent visibles, sans fond ni bordure.
   ============================================================= */
.silver-theme #rank-weapon-players-table tbody .rank-weapon-position {
    display: inline;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: #245d96 !important;
    text-shadow: none !important;
}
.silver-theme #rank-weapon-players-table tbody .rank-weapon-position::before {
    color: #245d96 !important;
    font-weight: 800;
}
