/* Zombie Classes - Ranked edition. Scoped to zombie_classes.tpl. */
.rank-zombie-classes {
    --zc-panel: rgba(31, 42, 53, .94);
    --zc-panel-deep: rgba(20, 29, 40, .92);
    --zc-stroke: rgba(160, 174, 184, .24);
    --zc-gold: #f6ca77;
    --zc-text: #f4f6fa;
    --zc-muted: #aab4c1;
    margin: 1.3rem auto 3rem;
    width: 100%;
    max-width: 1580px;
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
}
.rank-zombie-classes *, .rank-zombie-classes *::before, .rank-zombie-classes *::after {
    box-sizing: border-box;
}
.rank-zc-row {
    --zc-accent: #93a8bd;
    --zc-accent-soft: rgba(147, 168, 189, .16);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.25rem;
    margin: 0 0 1.65rem;
    align-items: stretch;
}
.rank-zc-row.rank-zc-class-1 { --zc-accent: #88df4d; --zc-accent-soft: rgba(127, 221, 68, .15); }
.rank-zc-row.rank-zc-class-2 { --zc-accent: #f14f5a; --zc-accent-soft: rgba(240, 69, 83, .15); }
.rank-zc-row.rank-zc-class-3 { --zc-accent: #35cadd; --zc-accent-soft: rgba(53, 202, 221, .15); }
.rank-zc-row.rank-zc-class-4 { --zc-accent: #b17aff; --zc-accent-soft: rgba(177, 122, 255, .15); }
.rank-zc-row.rank-zc-class-5 { --zc-accent: #fb8b47; --zc-accent-soft: rgba(251, 139, 71, .15); }
.rank-zc-row.rank-zc-class-6 { --zc-accent: #4e9aff; --zc-accent-soft: rgba(78, 154, 255, .15); }
.rank-zc-row.rank-zc-class-7 { --zc-accent: #ff70bd; --zc-accent-soft: rgba(255, 112, 189, .15); }
.rank-zc-row.rank-zc-class-8 { --zc-accent: #21c9ac; --zc-accent-soft: rgba(33, 201, 172, .15); }
.rank-zc-row.rank-zc-class-9 { --zc-accent: #fa6859; --zc-accent-soft: rgba(250, 104, 89, .15); }
.rank-zc-row.rank-zc-class-10 { --zc-accent: #7e87ff; --zc-accent-soft: rgba(126, 135, 255, .15); }
.rank-zc-row.rank-zc-class-11 { --zc-accent: #bfed5c; --zc-accent-soft: rgba(191, 237, 92, .15); }
.rank-zc-row.rank-zc-class-12 { --zc-accent: #e75bdb; --zc-accent-soft: rgba(231, 91, 219, .15); }
.rank-zc-row.rank-zc-class-13 { --zc-accent: #43b4f6; --zc-accent-soft: rgba(67, 180, 246, .15); }
.rank-zc-row.rank-zc-class-14 { --zc-accent: #d8a2fc; --zc-accent-soft: rgba(216, 162, 252, .15); }
.rank-zc-row.rank-zc-class-15 { --zc-accent: #79d3be; --zc-accent-soft: rgba(121, 211, 190, .15); }
.rank-zc-row.rank-zc-class-default { --zc-accent: #93a8bd; --zc-accent-soft: rgba(147, 168, 189, .15); }
.rank-zc-panel {
    min-width: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(150deg, rgba(51, 60, 67, .97), var(--zc-panel) 48%, rgba(26, 37, 49, .96));
    border: 1px solid rgba(172, 183, 193, .32);
    border-radius: 9px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .13), inset 0 0 12px rgba(255,255,255,.018);
    color: var(--zc-text);
}
.rank-zc-panel::before {
    content: '';
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--zc-accent);
    box-shadow: 0 0 13px var(--zc-accent-soft);
    z-index: 2;
    pointer-events: none;
}
.rank-zc-profile-panel {
    display: flex;
    flex-direction: column;
    padding: 1.55rem 1.65rem 1.15rem;
}
.rank-zc-profile-top {
    display: grid;
    grid-template-columns: minmax(140px, 42%) minmax(0,1fr);
    align-items: center;
    gap: 1.55rem;
    min-width: 0;
}
.rank-zc-photo {
    position: relative;
    border: 1px solid var(--zc-accent);
    border-radius: 10px;
    height: 194px;
    overflow: hidden;
    background: #202b34;
}
.rank-zc-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}
.rank-zc-photo-label {
    position: absolute;
    left: 11px; top: 10px;
    z-index: 1;
    display: inline-block;
    background: rgba(14, 22, 28, .88);
    border: 1px solid var(--zc-accent);
    border-radius: 5px;
    padding: 5px 10px 3px;
    font: 700 13px/1.1 'Rajdhani', sans-serif;
    letter-spacing: 1.5px;
    color: #ffda8b;
}
.rank-zc-description { min-width: 0; }
.rank-zc-eyebrow {
    display: block;
    color: #f8c46f;
    font-size: .8rem;
    letter-spacing: 2px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: .35rem;
}
.rank-zc-description h2 {
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(1.65rem,2.25vw,2.25rem);
    font-weight: 800;
    line-height: 1.06;
    margin: 0 0 .6rem;
    text-wrap: balance;
}
.rank-zc-description p {
    color: #bdc7d1;
    font-size: .98rem;
    font-weight: 500;
    line-height: 1.35;
    margin: 0 0 .8rem;
    overflow-wrap: anywhere;
    max-height: 5.35rem;
    overflow: hidden;
}
.rank-zc-class-tag {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid rgba(159, 173, 186, .4);
    border-radius: 6px;
    background: rgba(135, 156, 164, .22);
    color: #e0e6ea;
    font-size: .79rem;
    font-weight: 800;
    letter-spacing: .9px;
    text-transform: uppercase;
}
.rank-zc-separator {
    height: 1px;
    background: linear-gradient(90deg, rgba(217, 171, 91, .47), rgba(157, 172, 180, .18));
    margin: 1rem 0 .9rem;
}
.rank-zc-properties { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .7rem; }
.rank-zc-property {
    display: flex;
    flex-direction: column;
    padding: .48rem .75rem .4rem;
    border: 1px solid rgba(160, 176, 190, .3);
    border-radius: 8px;
    background: rgba(15, 24, 34, .42);
    min-width: 0;
}
.rank-zc-property span,
.rank-zc-stat span {
    color: #a9b4c2;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    font-weight: 800;
    font-size: .78rem;
    line-height: 1.25;
}
.rank-zc-property span i { margin-right: .28rem; }
.rank-zc-property strong {
    font-weight: 800;
    color: #ffdc9d;
    font-size: clamp(1.28rem, 1.8vw, 1.85rem);
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.rank-zc-statistics { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .6rem; margin-top: .7rem; }
.rank-zc-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .13rem;
    min-width: 0;
    padding: .5rem .24rem;
    background: rgba(13, 23, 32, .30);
    border: 1px solid rgba(154, 174, 187, .28);
    border-radius: 8px;
    text-align: center;
}
.rank-zc-stat strong { font-size: 1.35rem; line-height: 1.25; font-weight: 800; white-space: nowrap; }
.rank-zc-stat-infected strong { color: var(--zc-accent); }
.rank-zc-stat-kills strong { color: #eac27c; }
.rank-zc-stat-deaths strong { color: #f47c88; }
.rank-zc-stat-games strong { color: #e1e8ef; }
.rank-zc-info { margin-top: auto; padding-top: .95rem; line-height: 1.28; font-size: .87rem; color: #b9c1ca; overflow-wrap: anywhere; }
.rank-zc-info strong { color: #ffd38b; }
.rank-zc-ranking { display: flex; flex-direction: column; }
.rank-zc-ranking-header {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1.4rem 1.35rem .9rem;
    background: linear-gradient(120deg, rgba(85,96,102,.12), rgba(8,15,22,.05));
}
.rank-zc-heading h3 { display: flex; gap: .75rem; align-items: center; margin: 0; color: #f4f6f8; font: 800 1.62rem/1 'Rajdhani', sans-serif; }
.rank-zc-heading h3 i { color: var(--zc-accent); font-size: 1.2rem; }
.rank-zc-heading > span { display: block; margin: .28rem 0 0 1.95rem; color: #a7b4c0; font-size: .78rem; font-weight: 800; letter-spacing: 1px; }
.rank-zc-top-count {
    font-size: .83rem; font-weight: 800; color: #f2d59c; letter-spacing: .8px;
    text-transform: uppercase; white-space: nowrap;
    border: 1px solid rgba(175,196,208,.3); border-radius: 6px;
    background: rgba(136,161,179,.13); padding: .45rem .85rem;
}
.rank-zc-table-holder { min-width: 0; width: 100%; }
.rank-zc-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .92rem; }
.rank-zc-table thead { background: rgba(134,148,155,.25); }
.rank-zc-table thead th {
    text-transform: uppercase; letter-spacing: .55px; font-size: .76rem; font-weight: 800; color: #dae1e6;
    text-align: center; padding: .7rem .22rem;
    border-top: 1px solid rgba(180,192,201,.17);
    border-bottom: 1px solid rgba(180,192,201,.20);
}
.rank-zc-table thead th:nth-child(1) { width: 9%; }
.rank-zc-table thead th:nth-child(2) { width: 30%; text-align: left; }
.rank-zc-table thead th:nth-child(3) { width: 17%; }
.rank-zc-table thead th:nth-child(4) { width: 15%; }
.rank-zc-table thead th:nth-child(5) { width: 15%; }
.rank-zc-table thead th:nth-child(6) { width: 14%; }
.rank-zc-table tbody tr { background: rgba(19, 33, 44, .14); }
.rank-zc-table tbody tr:nth-child(even) { background: rgba(255,255,255,.038); }
.rank-zc-table tbody tr:hover { background: rgba(204, 213, 224, .08); }
.rank-zc-table tbody td {
    text-align: center; padding: .7rem .22rem;
    border-bottom: 1px solid rgba(165,182,194,.23);
    color: #e2e8ee; font-weight: 700; overflow-wrap: anywhere; line-height: 1.3;
}
.rank-zc-table tbody td:first-child { position: relative; color: #f2c77b; border-left: 4px solid var(--zc-accent); font-weight: 800; font-size: 1.15rem; }
.rank-zc-table tbody td:nth-child(2) { text-align: left; color: #f4f6f9; font-weight: 800; padding-left: .35rem; }
.rank-zc-table tbody tr:last-child td { border-bottom: 1px solid rgba(165,182,194,.23); }
.rank-zc-pill { display: inline-block; border-radius: 99px; min-width: 55px; padding: .18rem .45rem; line-height: 1.3; font-weight: 800; }
.rank-zc-pill-infected { background: var(--zc-accent-soft); border: 1px solid var(--zc-accent); color: var(--zc-accent); }
.rank-zc-pill-kills { background: rgba(229, 173, 69, .11); border: 1px solid rgba(237,184,86,.65); color: #ffd07b; }
.rank-zc-pill-deaths { background: rgba(218, 69, 92, .09); border: 1px solid rgba(230,83,107,.62); color: #fa8291; }
.rank-zc-ranking-footer { margin-top: auto; padding: .7rem 1.35rem; font-size: .8rem; color: #a2acb6; border-top: 1px solid rgba(160,173,182,.15); }
.rank-zc-ranking-footer strong { color: #f4c36f; }
.rank-zc-empty { margin: auto; text-align: center; padding: 2rem 1rem; color: #b8c0cb; }

@media (max-width: 1150px) {
    .rank-zc-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: .85rem; }
    .rank-zc-profile-panel { padding: 1.2rem 1rem .95rem; }
    .rank-zc-profile-top { gap: .75rem; grid-template-columns: minmax(105px, 38%) minmax(0, 1fr); }
    .rank-zc-stat strong { font-size: 1.15rem; }
    .rank-zc-table { font-size: .83rem; }
    .rank-zc-table tbody td { padding: .65rem .12rem; }
    .rank-zc-top-count { padding: .35rem .48rem; }
}
@media (max-width: 950px) {
    .rank-zc-row { grid-template-columns: minmax(0,1fr); gap: .85rem; }
    .rank-zc-profile-top { grid-template-columns: minmax(140px, 38%) minmax(0, 1fr); }
    .rank-zc-description h2 { font-size: 2rem; }
}
@media (max-width: 640px) {
    .rank-zc-profile-top { grid-template-columns: minmax(0,1fr); }
    .rank-zc-photo { height: 220px; }
    .rank-zc-description h2 { font-size: 1.9rem; }
    .rank-zc-property strong { font-size: 1.3rem; }
    .rank-zc-statistics { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .rank-zc-ranking-header { padding: 1rem; }
    .rank-zc-heading h3 { font-size: 1.35rem; }
    .rank-zc-top-count { font-size: .7rem; }
    .rank-zc-table thead { display: none; }
    .rank-zc-table, .rank-zc-table tbody { display: block; width: 100%; }
    .rank-zc-table tbody tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: .7rem; padding: .65rem; border-radius: 8px; border: 1px solid rgba(161,179,192,.24); border-left: 4px solid var(--zc-accent); }
    .rank-zc-table tbody td { display: flex; flex-direction: column; align-items: center; justify-content: center; border: 0; padding: .34rem; min-width: 0; }
    .rank-zc-table tbody td:first-child { border-left: 0; font-size: 1rem; }
    .rank-zc-table tbody td:nth-child(2) { font-size: 1.05rem; padding-left: 0; }
    .rank-zc-table tbody td:nth-child(n+3)::before { content: attr(data-label); display: block; font-size: .7rem; text-transform: uppercase; color: #aab6c1; letter-spacing: .7px; margin-bottom: .24rem; }
    .rank-zc-table tbody tr:last-child td { border-bottom: 0; }
    .rank-zc-ranking-footer { padding: .65rem 1rem; }
}
@media (max-width: 390px) {
    .rank-zc-properties { gap: .32rem; }
    .rank-zc-property { padding: .4rem .35rem; }
    .rank-zc-property span { letter-spacing: .4px; font-size: .67rem; }
    .rank-zc-stat { padding: .35rem .15rem; }
}


/* ============================================================
   SILVER PREMIUM — ZOMBIE CLASS (lisibilité + icônes)
   Version 1.0 · styles limités à la page Zombie Class.
   Laisser silver.css et les autres pages inchangés.
   ============================================================ */
.silver-theme .rank-zombie-classes {
  --zc-text: #203d61;
  --zc-muted: #526c89;
  color: #203d61 !important;
}
.silver-theme .rank-zombie-classes .rank-zc-panel {
  color: #203d61 !important;
  background: linear-gradient(145deg, #ffffff, #eef5fd) !important;
  border-color: #c5d7eb !important;
}
.silver-theme .rank-zombie-classes .rank-zc-description h2,
.silver-theme .rank-zombie-classes .rank-zc-description h2 * {
  color: #143d70 !important;
  text-shadow: none !important;
}
.silver-theme .rank-zombie-classes .rank-zc-description h2 i {
  color: #3580c9 !important;
  margin-right: .33rem;
  font-size: .78em;
}
.silver-theme .rank-zombie-classes .rank-zc-eyebrow {
  color: #2a679f !important;
  font-weight: 850;
}
.silver-theme .rank-zombie-classes .rank-zc-eyebrow i,
.silver-theme .rank-zombie-classes .rank-zc-photo-label i {
  margin-right: .32rem;
}
.silver-theme .rank-zombie-classes .rank-zc-photo-label {
  background: #193a66 !important;
  color: #fff !important;
  border-color: #669fd5 !important;
}
.silver-theme .rank-zombie-classes .rank-zc-description p,
.silver-theme .rank-zombie-classes .rank-zc-info,
.silver-theme .rank-zombie-classes .rank-zc-empty {
  color: #496684 !important;
  text-shadow: none !important;
}
.silver-theme .rank-zombie-classes .rank-zc-class-tag {
  color: #285b94 !important;
  border: 1px solid #bdd5ee !important;
  background: #e7f2fd !important;
}
.silver-theme .rank-zombie-classes .rank-zc-class-tag i {
  color: #3278ba !important;
  margin-right: .3rem;
}
.silver-theme .rank-zombie-classes .rank-zc-separator {
  background: linear-gradient(90deg, #a9c9ed, #e2ebf7) !important;
}
.silver-theme .rank-zombie-classes .rank-zc-property,
.silver-theme .rank-zombie-classes .rank-zc-stat {
  background: #f2f7fe !important;
  border: 1px solid #d4e2f1 !important;
  box-shadow: none !important;
}
.silver-theme .rank-zombie-classes .rank-zc-property > span,
.silver-theme .rank-zombie-classes .rank-zc-stat > span {
  color: #445f7d !important;
  text-shadow: none !important;
}
.silver-theme .rank-zombie-classes .rank-zc-property i,
.silver-theme .rank-zombie-classes .rank-zc-stat i {
  font-size: 1em;
  margin-right: .3rem;
}
.silver-theme .rank-zombie-classes .rank-zc-property:nth-child(1) { border-left: 3px solid #d4566d !important; }
.silver-theme .rank-zombie-classes .rank-zc-property:nth-child(2) { border-left: 3px solid #2181ba !important; }
.silver-theme .rank-zombie-classes .rank-zc-property:nth-child(3) { border-left: 3px solid #b7842a !important; }
.silver-theme .rank-zombie-classes .rank-zc-property:nth-child(1) i,
.silver-theme .rank-zombie-classes .rank-zc-property:nth-child(1) strong { color: #ae3f58 !important; }
.silver-theme .rank-zombie-classes .rank-zc-property:nth-child(2) i,
.silver-theme .rank-zombie-classes .rank-zc-property:nth-child(2) strong { color: #176ca2 !important; }
.silver-theme .rank-zombie-classes .rank-zc-property:nth-child(3) i,
.silver-theme .rank-zombie-classes .rank-zc-property:nth-child(3) strong { color: #966618 !important; }
.silver-theme .rank-zombie-classes .rank-zc-stat-infected { background: #f1eafa !important; border-color: #dac8ec !important; }
.silver-theme .rank-zombie-classes .rank-zc-stat-kills { background: #eaf8f1 !important; border-color: #c4e4d2 !important; }
.silver-theme .rank-zombie-classes .rank-zc-stat-deaths { background: #fff0f2 !important; border-color: #f0cfd5 !important; }
.silver-theme .rank-zombie-classes .rank-zc-stat-games { background: #e8f2fd !important; border-color: #c5ddf3 !important; }
.silver-theme .rank-zombie-classes .rank-zc-stat-infected i,
.silver-theme .rank-zombie-classes .rank-zc-stat-infected strong { color: #7545a7 !important; }
.silver-theme .rank-zombie-classes .rank-zc-stat-kills i,
.silver-theme .rank-zombie-classes .rank-zc-stat-kills strong { color: #19704a !important; }
.silver-theme .rank-zombie-classes .rank-zc-stat-deaths i,
.silver-theme .rank-zombie-classes .rank-zc-stat-deaths strong { color: #ae4058 !important; }
.silver-theme .rank-zombie-classes .rank-zc-stat-games i,
.silver-theme .rank-zombie-classes .rank-zc-stat-games strong { color: #2468a7 !important; }
.silver-theme .rank-zombie-classes .rank-zc-info strong,
.silver-theme .rank-zombie-classes .rank-zc-info strong i {
  color: #275e98 !important;
}
.silver-theme .rank-zombie-classes .rank-zc-ranking-header {
  background: #f0f6fd !important;
  border-bottom: 1px solid #d7e4f1;
}
.silver-theme .rank-zombie-classes .rank-zc-heading h3 {
  color: #183e6d !important;
  text-shadow: none !important;
}
.silver-theme .rank-zombie-classes .rank-zc-heading h3 i { color: #b67b24 !important; }
.silver-theme .rank-zombie-classes .rank-zc-heading > span,
.silver-theme .rank-zombie-classes .rank-zc-ranking-footer {
  color: #54718d !important;
}
.silver-theme .rank-zombie-classes .rank-zc-top-count {
  color: #245a95 !important;
  background: #e4f0fc !important;
  border-color: #c4d8ed !important;
}
.silver-theme .rank-zombie-classes .rank-zc-table thead {
  background: #e4effa !important;
}
.silver-theme .rank-zombie-classes .rank-zc-table thead th {
  color: #274d77 !important;
  background: #e4effa !important;
  border-color: #c9dced !important;
  text-shadow: none !important;
  font-size: .79rem;
}
.silver-theme .rank-zombie-classes .rank-zc-table thead th i {
  color: #3479bb !important;
  margin-right: .23rem;
}
.silver-theme .rank-zombie-classes .rank-zc-table tbody tr { background: #fff !important; }
.silver-theme .rank-zombie-classes .rank-zc-table tbody tr:nth-child(even) { background: #f1f6fc !important; }
.silver-theme .rank-zombie-classes .rank-zc-table tbody tr:hover { background: #e5f1fe !important; }
.silver-theme .rank-zombie-classes .rank-zc-table tbody td {
  color: #244766 !important;
  border-color: #e0eaf5 !important;
  text-shadow: none !important;
}
.silver-theme .rank-zombie-classes .rank-zc-table tbody td:first-child { color: #245e9b !important; }
.silver-theme .rank-zombie-classes .rank-zc-table tbody td:nth-child(2),
.silver-theme .rank-zombie-classes .rank-zc-player,
.silver-theme .rank-zombie-classes .rank-zc-player a {
  color: #165794 !important;
  text-decoration: none;
}
.silver-theme .rank-zombie-classes .rank-zc-player a:hover { color: #0a396c !important; text-decoration: underline; }
.silver-theme .rank-zombie-classes .rank-zc-table .rank-zc-pill {
  font-weight: 800;
  text-shadow: none !important;
}
.silver-theme .rank-zombie-classes .rank-zc-table .rank-zc-pill-infected {
  background: #f0e9fc !important;
  border-color: #d8bde9 !important;
  color: #6a388f !important;
}
.silver-theme .rank-zombie-classes .rank-zc-table .rank-zc-pill-kills {
  background: #e8f6ee !important;
  border-color: #bfe3d0 !important;
  color: #166d49 !important;
}
.silver-theme .rank-zombie-classes .rank-zc-table .rank-zc-pill-deaths {
  background: #fff0f2 !important;
  border-color: #f1c4cd !important;
  color: #ad3d55 !important;
}
.silver-theme .rank-zombie-classes .rank-zc-ranking-footer strong { color: #234f7d !important; }
@media (max-width: 640px) {
  .silver-theme .rank-zombie-classes .rank-zc-table tbody tr {
    background: #f7faff !important;
    border-color: #c7d9ed !important;
  }
  .silver-theme .rank-zombie-classes .rank-zc-table tbody td:nth-child(n+3)::before {
    color: #587390 !important;
  }
  .silver-theme .rank-zombie-classes .rank-zc-heading h3 { font-size: 1.45rem; }
}
