/* =========================
   PANEL STATYSTYKI
========================= */

.dt-stats-panel {
    width: 100%;
    margin: 0 0 14px 0;
    border-radius: 25px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(29,167,255,.16), transparent 38%),
        linear-gradient(145deg, #101927, #06101a);
    border: 1px solid rgba(120,170,255,.16);
    box-shadow:
        0 10px 24px rgba(0,0,0,.42),
        inset 0 0 18px rgba(40,130,255,.04);
}

/* HEADER JAK RANKING / RSS */
.dt-stats-head {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 86px;
    padding: 12px 18px;

    background:
        radial-gradient(circle at center top, rgba(35,130,255,.24), transparent 55%),
        linear-gradient(135deg, rgba(25,45,75,.95), rgba(9,18,31,.92));

    border-bottom: 1px solid rgba(120,170,255,.11);

    color: #eef5ff;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .9px;
    text-align: center;
    line-height: 1;

    text-shadow:
        0 0 10px rgba(77,166,255,.38),
        0 2px 0 rgba(0,0,0,.35);
}

.dt-stats-head:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(92,225,255,.55), transparent);
}

.dt-stats-head-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    font-size: 28px;
    line-height: 1;

    filter:
        drop-shadow(0 0 8px rgba(92,225,255,.55))
        drop-shadow(0 2px 2px rgba(0,0,0,.45));
}

/* BODY */
.dt-stats-body {
    padding: 14px;
}

/* GRUPA */
.dt-stats-group {
    position: relative;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 18px;
    background:
        radial-gradient(circle at top left, rgba(31,109,255,.12), transparent 55%),
        linear-gradient(145deg, #101a29, #08101a);
    border: 1px solid rgba(120,170,255,.16);
    box-shadow:
        inset 0 0 14px rgba(40,130,255,.04),
        0 5px 14px rgba(0,0,0,.24);
    overflow: hidden;
}

.dt-stats-group:last-child {
    margin-bottom: 0;
}

.dt-stats-group:before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.10), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
}

.dt-stats-group:hover:before {
    left: 140%;
    transition: .55s ease;
}

.dt-stats-group:hover {
    border-color: rgba(92,225,255,.34);
    box-shadow:
        0 0 16px rgba(31,109,255,.22),
        inset 0 0 14px rgba(40,130,255,.06);
}

/* TYTUŁ GRUPY */
.dt-stats-group-title {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 9px;
    padding-bottom: 8px;

    border-bottom: 1px solid rgba(120,170,255,.10);

    color: #8fc7ff;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .4px;
    text-shadow: 0 0 8px rgba(77,166,255,.25);
}

.dt-stats-group-title span {
    font-size: 17px;
    filter: drop-shadow(0 0 6px rgba(92,225,255,.30));
}

/* WIERSZE */
.dt-stats-row {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;

    min-height: 26px;
    padding: 4px 0;

    color: #b9c7da;
    font-size: 12px;
    line-height: 1.2;
}

.dt-stats-row span {
    min-width: 0;
    padding-right: 8px;
}

.dt-stats-row strong {
    min-width: 36px;
    padding: 3px 8px;

    border-radius: 999px;
    background: linear-gradient(135deg, rgba(31,109,255,.22), rgba(18,168,255,.10));
    border: 1px solid rgba(120,170,255,.16);

    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    text-align: center;
    text-shadow: 0 0 8px rgba(77,166,255,.28);
    box-shadow:
        inset 0 0 10px rgba(40,130,255,.05),
        0 0 10px rgba(31,109,255,.10);
}

/* LEKKIE PODŚWIETLENIE LICZB */
.dt-stats-row:hover strong {
    border-color: rgba(92,225,255,.38);
    color: #9ee7ff;
    box-shadow:
        0 0 12px rgba(31,109,255,.22),
        inset 0 0 10px rgba(40,130,255,.08);
}