/* Siralama sayfalari (27.11.2026). ranking-sidebar.php yukler. */

/* sekmeler ustte, icerik tam genislikte */
html body .ranking-section .main-wrapper > .row > div { float: none !important; width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; }
html body .srl-tabs.srl-tabs { display: grid !important; grid-template-columns: 4fr 3fr 4fr; gap: 10px; margin: 0 0 16px !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
html body .srl-tabs::before, html body .srl-tabs::after { display: none !important; }
.srl-group { padding: 8px; border: 1px solid #2a3340; border-radius: 10px; background: #0d121a; }
.srl-group > b { display: block; margin: 0 0 6px 4px; color: #b9a779; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; }
html body .srl-group .ko-tabs-bar.ko-tabs-bar { display: flex !important; flex-wrap: wrap !important; gap: 4px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
html body .srl-group a.ko-tab.ko-tab { display: flex !important; flex: 1 1 auto !important; align-items: center; justify-content: center; gap: 6px; width: auto !important; margin: 0 !important; padding: 8px !important; border: 1px solid #252e3a !important; border-radius: 7px; background: #121925 !important; color: #c5ceda !important; font-size: 12px !important; font-weight: 700; text-transform: none !important; white-space: nowrap; }
html body .srl-group a.ko-tab.ko-tab:hover { border-color: #8a6a2f !important; color: #fff !important; }
html body .srl-group a.ko-tab.ko-tab.active { border-color: #f2d98e !important; background: #2a210d !important; color: #f2d98e !important; }
html body .srl-group a.ko-tab i { color: #d9ac56 !important; }

/* ilk uc */
.srl-podium { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 10px; align-items: end; margin: 6px 0 18px; }
.srl-place { --metal: #cfd8e6; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; padding: 14px 8px 12px; border: 1px solid #2a3340; border-top: 3px solid var(--metal); border-radius: 10px; background: linear-gradient(#162030, #0c1118); text-align: center; }
.srl-place.p1 { --metal: #f1c75a; padding-top: 24px; padding-bottom: 18px; background: linear-gradient(#2a2310, #0e0f10); box-shadow: 0 0 22px rgba(241,199,90,.18); }
.srl-place.p3 { --metal: #d08b55; }
.srl-medal { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 2px solid var(--metal); border-radius: 50%; color: var(--metal); font: 700 16px Georgia, serif; }
.srl-place.p1 .srl-medal { width: 44px; height: 44px; font-size: 20px; }
.srl-place .class-icons { margin: 2px 0 0 !important; }
html body .srl-place a.srl-name { display: block; max-width: 100%; overflow: hidden; color: #fff !important; font-size: 15px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; text-transform: none; }
html body .srl-place.p1 a.srl-name { font-size: 18px; color: #ffe9a8 !important; }
html body .srl-place a.srl-name:hover { text-decoration: underline; }
.srl-sub { max-width: 100%; overflow: hidden; color: #8f9aa8; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.srl-value { color: var(--metal); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.srl-value small { display: block; color: #6f7a88; font-size: 10px; font-weight: 400; letter-spacing: 1px; text-transform: uppercase; }

/* tablo */
html body .ranking-section .ranking-table td { padding-top: 9px !important; padding-bottom: 9px !important; color: #d3dae4; font-size: 13px; }
html body .ranking-section .ranking-table th { color: #b9a779 !important; font-size: 11px !important; letter-spacing: 1px; }
html body .ranking-section .ranking-table tbody tr:nth-child(even) td { background-color: rgba(255,255,255,.018); }
html body .ranking-section .ranking-table tbody tr:hover td { background-color: rgba(217,172,86,.09) !important; }
html body .ranking-section .ranking-table a.player-link, html body .ranking-section .ranking-table td a { text-transform: none; }
html body .ranking-section .ranking-table .np-cell { font-variant-numeric: tabular-nums; white-space: nowrap; }

@media (max-width: 900px) {
    html body .srl-tabs.srl-tabs { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .srl-podium { grid-template-columns: 1fr; }
    .srl-place { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 8px; padding: 10px !important; text-align: left; }
    .srl-place.p1 { order: -1; }
    .srl-place .srl-value { margin-left: auto; text-align: right; }
    .srl-sub { display: none; }
    /* telefon: her grup tek satir, yana kaydirilir */
    html body .srl-tabs.srl-tabs { gap: 6px; }
    .srl-group { padding: 6px; }
    html body .srl-group .ko-tabs-bar.ko-tabs-bar { flex-wrap: nowrap !important; overflow-x: auto; }
    html body .srl-group a.ko-tab.ko-tab { flex: 1 0 auto !important; padding: 7px 10px !important; }
}
