body.ranking-page {
    background: radial-gradient(circle at 50% 0%, #1f0a0a 0%, #050505 60%, #000 100%) !important;
    color: #e0e0e0;
}

.ranking-section {
    min-height: 0;
    padding: 24px 0 40px;
    background: transparent !important;
    background-image: none !important;
    border: none !important;
}

.ranking-box,
.ranking-sidebar,
.ranking-stat-card {
    background: transparent;
    border: 1px solid #333;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    margin-bottom: 25px;
}

.ranking-box-title,
.ranking-sidebar-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    background: transparent;
    background-image: none;
    border-bottom: none;
}

.ranking-box-title i,
.ranking-sidebar-title i {
    width: auto;
    height: auto;
    border-radius: 0;
    display: inline-block;
    background: none;
    color: #8a1c1c;
    font-size: 16px;
    box-shadow: none;
    flex-shrink: 0;
    text-shadow: 0 0 5px rgba(138, 28, 28, 0.5);
}

.ranking-box-title h3,
.ranking-sidebar-title h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #cba163;
    background: none;
    background-image: none;
}

.ranking-sidebar-body {
    padding: 14px;
}

.ranking-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ranking-menu li {
    margin-bottom: 8px;
}

.ranking-menu li:last-child {
    margin-bottom: 0;
}

.ranking-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 15px;
    border-radius: 12px;
    text-decoration: none;
    color: #d8dee9;
    font-weight: 600;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    transition: all .25s ease;
}

.ranking-menu a:hover,
.ranking-menu a.active {
    color: #fff;
    background: linear-gradient(90deg, rgba(255,179,0,0.16), rgba(255,106,0,0.10));
    border-color: rgba(255,179,0,0.25);
    transform: translateX(4px);
}

.ranking-content-body {
    padding: 20px;
}

.ranking-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.ranking-subtitle {
    color: #aeb8c5;
    font-size: 14px;
}

.ranking-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,179,0,0.10);
    border: 1px solid rgba(255,179,0,0.20);
    color: #ffcc66;
    font-size: 13px;
    font-weight: 700;
}

.ranking-table-wrap {
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.015);
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
}

.ranking-table thead th {
    background: linear-gradient(180deg, #202633 0%, #171c25 100%);
    color: #f7f9fc;
    padding: 15px 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    white-space: nowrap;
    text-align: left;
}

.ranking-table tbody tr {
    transition: all .2s ease;
}

.ranking-table tbody tr:nth-child(even) {
    background: rgba(255,255,255,0.02);
}

.ranking-table tbody tr:hover {
    background: rgba(255, 179, 0, 0.06);
}

.ranking-table tbody td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    vertical-align: middle;
    color: #dfe6ee;
}

.ranking-table tbody tr:last-child td {
    border-bottom: none;
}

.rank-col {
    width: 70px;
    font-weight: 800;
    color: #ffb84d;
}

.rank-first { color: #ffd700; }
.rank-second { color: #d7dde8; }
.rank-third { color: #d68a52; }

.player-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-link,
.clan-link {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
}

.player-link:hover,
.clan-link:hover {
    color: #ffb300;
    text-decoration: none;
}

.class-icons {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    min-width: 34px;
}

.np-cell {
    font-weight: 700;
    color: #ffcf70;
    white-space: nowrap;
}

.empty-clan {
    color: #8f99a8;
    font-style: italic;
}

.ranking-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.ranking-stat-card {
    flex: 1 1 180px;
    padding: 18px;
}

.ranking-stat-label {
    color: #9eabba;
    font-size: 13px;
    margin-bottom: 8px;
}

.ranking-stat-value {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.ranking-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffb300, #ff6a00);
    color: #fff;
    box-shadow: 0 8px 20px rgba(255, 132, 0, 0.25);
}

.search-panel {
    display: block;
}

.search-input-wrap {
    margin-bottom: 12px;
}

.search-input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(180deg, rgba(28,32,40,0.96) 0%, rgba(16,19,25,0.98) 100%);
    color: #e9edf5;
    outline: none;
    transition: all .2s ease;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.search-input::placeholder {
    color: #8f99a8;
}

.search-input:focus {
    border-color: rgba(255,179,0,0.30);
    box-shadow: 0 0 0 3px rgba(255,179,0,0.08);
}

.search-btn {
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffb300, #ff7a00);
    color: #fff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .2s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.22);
}

.search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(0,0,0,0.28);
}

.search-btn:active {
    transform: translateY(0);
}

.premium-nav a span:first-child i,
.fragment-nav a span:first-child i,
.mining-nav a span:first-child i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.premium-response-box {
    position: relative;
}

.premium-loader {
    text-align: center;
    padding: 24px 0;
}

.premium-table td,
.premium-table th {
    vertical-align: middle;
}

.premium-placeholder-cell {
    text-align: center;
    color: #aeb8c5;
    font-weight: 600;
    padding: 28px 16px !important;
}

.mining-response-box {
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.015);
    padding: 20px;
    min-height: 260px;
}

.mining-loader {
    text-align: center;
    padding: 20px 0;
}

.mining-placeholder {
    text-align: center;
    padding: 35px 20px;
    background: rgba(15,15,15,0.35);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    color: #ffcc66;
    font-weight: 600;
}

.mining-placeholder p {
    margin: 0;
}

.mining-slot-preview {
    text-align: center;
    padding-top: 20px;
}

.mining-slot-preview img {
    max-width: 100%;
    height: auto;
}

.table-head-icon {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: -2px;
}

.text-center {
    text-align: center !important;
}

.quest-table-wrap {
    overflow-x: auto;
}

.quest-table td {
    vertical-align: middle;
}

.quest-table td:nth-child(3),
.quest-table td:nth-child(4) {
    text-align: center;
}

.quest-name-cell {
    display: flex;
    align-items: center;
    min-width: 220px;
}

.quest-name-text {
    font-weight: 700;
    color: #e9edf5;
    font-size: 14px;
    line-height: 1.35;
}

.quest-task-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
}

.quest-task-label {
    color: #ffb84d;
    font-weight: 700;
    font-size: 13px;
}

.quest-task-count {
    color: #ffffff;
    font-weight: 800;
    font-size: 13px;
    background: rgba(255,179,0,0.12);
    border: 1px solid rgba(255,179,0,0.18);
    padding: 2px 8px;
    border-radius: 999px;
}

.quest-reward-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    min-height: 58px;
    width: 100%;
    margin: 0 auto;
}

.quest-reward-box {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    padding: 4px;
    background: linear-gradient(180deg, rgba(28,32,40,0.96) 0%, rgba(16,19,25,0.98) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.22);
    transition: all .2s ease;
    flex: 0 0 auto;
}

.quest-reward-box:hover {
    transform: translateY(-2px) scale(1.04);
    border-color: rgba(255,179,0,0.28);
    box-shadow: 0 10px 18px rgba(0,0,0,0.28);
}

.quest-reward-box img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: block;
}

.quest-reward-count {
    position: absolute;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, #ffb300, #ff7a00);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    padding: 4px 6px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.quest-no-reward {
    color: #9aa4b2;
    font-size: 13px;
    font-weight: 600;
    font-style: italic;
}

.quest-zone-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    min-height: 38px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(30,144,255,0.12);
    border: 1px solid rgba(30,144,255,0.20);
    color: #77b9ff;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
    text-align: center;
}

.quest-table th:nth-child(1),
.quest-table td:nth-child(1) {
    width: 28%;
}

.quest-table th:nth-child(2),
.quest-table td:nth-child(2) {
    width: 22%;
}

.quest-table th:nth-child(3),
.quest-table td:nth-child(3) {
    width: 30%;
}

.quest-table th:nth-child(4),
.quest-table td:nth-child(4) {
    width: 20%;
}

/* AJAX ile gelen ortak tablolar */
#dropResponse table,
#dropResponse2 table {
    width: 100% !important;
    border-collapse: collapse !important;
    table-layout: auto !important;
}

#dropResponse table thead th,
#dropResponse2 table thead th {
    padding: 12px 10px !important;
    background: linear-gradient(180deg, #202633 0%, #171c25 100%) !important;
    color: #f7f9fc !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    vertical-align: middle !important;
    line-height: 1.25 !important;
}

#dropResponse table tbody td,
#dropResponse2 table tbody td {
    padding: 12px 10px !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    vertical-align: middle !important;
    color: #dfe6ee !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

#dropResponse table tbody tr:last-child td,
#dropResponse2 table tbody tr:last-child td {
    border-bottom: none !important;
}

#dropResponse table tbody tr:hover td,
#dropResponse2 table tbody tr:hover td {
    background: rgba(255,179,0,0.05) !important;
}

/* Item search tarzý 2 kolonlu tablolar */
#dropResponse .two-col-table th:first-child,
#dropResponse .two-col-table td:first-child,
#dropResponse2 .two-col-table th:first-child,
#dropResponse2 .two-col-table td:first-child {
    width: 70% !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}

#dropResponse .two-col-table th:last-child,
#dropResponse .two-col-table td:last-child,
#dropResponse2 .two-col-table th:last-child,
#dropResponse2 .two-col-table td:last-child {
    width: 30% !important;
    text-align: center !important;
    color: #ffcf70 !important;
    font-weight: 700 !important;
}

/* Harita kolonu gerekiyorsa sadece ona özel ortalama ver */
#dropResponse .map-col,
#dropResponse2 .map-col {
    text-align: center !important;
    vertical-align: middle !important;
}

@media (max-width: 991px) {
    .ranking-section {
        padding: 25px 0;
    }

    .ranking-box-title h3,
    .ranking-sidebar-title h3 {
        font-size: 18px;
    }

    .player-cell {
        min-width: 220px;
    }

    .quest-zone-badge {
        min-width: 100px;
    }
}

.upgrade-selector-box {
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.015);
    padding: 20px;
    margin-bottom: 20px;
}

.upgrade-item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
    gap: 14px;
    align-items: center;
    justify-items: center;
}

.upgrade-item-btn {
    width: 72px;
    height: 72px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(28,32,40,0.96) 0%, rgba(16,19,25,0.98) 100%);
    box-shadow: 0 8px 18px rgba(0,0,0,0.22);
    transition: all .2s ease;
    cursor: pointer;
}

.upgrade-item-btn:hover {
    transform: translateY(-2px) scale(1.04);
    border-color: rgba(255,179,0,0.28);
    box-shadow: 0 12px 22px rgba(0,0,0,0.28);
}

.upgrade-item-btn.selected {
    border-color: rgba(255,179,0,0.40);
    box-shadow: 0 0 0 2px rgba(255,179,0,0.18), 0 12px 22px rgba(0,0,0,0.28);
    background: linear-gradient(180deg, rgba(45,35,16,0.96) 0%, rgba(24,18,10,0.98) 100%);
}

.upgrade-item-btn img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.upgrade-helper-text {
    text-align: center;
    margin-top: 18px;
    color: #aeb8c5;
    font-size: 14px;
    font-weight: 600;
}

.upgrade-nav a span:first-child i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

/* =========================================
   NÝCK VE ÝKON HÝZALAMASI (Ýkon Sabit, Nick Yaslý)
========================================= */

/* 1. NÝCK Sütununu Sola Hizala ve Soldan Biraz Boþluk Býrak */
.ranking-table th:nth-child(2),
.ranking-table td:nth-child(2) {
    text-align: left !important;
    padding-left: 20px !important; /* Hücrenin en soluna yapýþmamasý için */
}

/* 2. Hücre Ýçeriðini Sola Yasla */
.ranking-table td:nth-child(2) .player-cell {
    display: flex;
    align-items: center;
    justify-content: flex-start !important; /* Her þeyi sola iter */
    gap: 10px !important; /* Ýkon ile Nick arasýna 10px mesafe koyar */
    width: 100% !important;
}

/* 3. ÝÞTE CAN ALICI NOKTA: Ýkonlara Sabit Geniþlik Ver! */
.ranking-table td:nth-child(2) .class-icons {
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    min-width: 40px !important; /* Ýkonlar hep bu 40px'lik alanda sabit durur */
    width: 40px !important; /* Kýpýrdamalarýný engeller */
}

/* Clan Sütununu da 3. Görseldeki Gibi Sola Hizala */
.ranking-table th:nth-child(3),
.ranking-table td:nth-child(3) {
    text-align: left !important;
}

/* Online/offline hücresi */
.ranking-table td:nth-child(4) img {
    display: inline-block;
}
.gm-badge{
    height:18px;
    margin-left:6px;
    vertical-align:middle;
}

.gm-table thead th:nth-child(2),
.gm-table tbody td:nth-child(2) {
    text-align: center !important;
}

.gm-table thead th:nth-child(3),
.gm-table tbody td:nth-child(3) {
    text-align: left !important;
}

.gm-table thead th:nth-child(4),
.gm-table tbody td:nth-child(4) {
    text-align: center !important;
}

.gm-race-cell .class-icons {
    justify-content: center;
    width: 100%;
}

.gm-name-cell {
    min-width: 240px;
}

.gm-name-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
}

.gm-name-link:hover {
    color: #ffcc66;
    text-decoration: none;
}

.gm-badge {
    height: 22px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    filter: drop-shadow(0 0 8px rgba(255, 196, 0, 0.25));
}

.gm-name-text {
    font-size: 14px;
    letter-spacing: 0.2px;
}

.gm-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 104px;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    border: 1px solid rgba(255,255,255,0.08);
}

.gm-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.gm-status-badge.status-online {
    background: rgba(40, 167, 69, 0.12);
    color: #7ee2a0;
    border-color: rgba(40, 167, 69, 0.18);
}

.gm-status-badge.status-online .gm-status-dot {
    background: #32d16d;
    box-shadow: 0 0 10px rgba(50, 209, 109, 0.45);
}

.gm-status-badge.status-offline {
    background: rgba(255,255,255,0.05);
    color: #b8c2cf;
    border-color: rgba(255,255,255,0.08);
}

.gm-status-badge.status-offline .gm-status-dot {
    background: #8c96a3;
    box-shadow: 0 0 8px rgba(140, 150, 163, 0.25);
}

.item-group-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:12px 15px;
    border-bottom:1px solid rgba(255,255,255,0.06);
    background:rgba(255,255,255,0.01);
    transition:all .2s ease;
}

.item-group-row:hover{
    background:rgba(255,180,0,0.07);
    transform:translateX(4px);
}

.item-group-row img{
    width:32px;
    height:32px;
    cursor:pointer;
}

.empty-data {
    text-align: center;
    padding: 30px 20px;
    color: #aaa;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin: 10px 0;
}

.empty-data i {
    display: block;
    font-size: 32px;
    margin-bottom: 15px;
    color: #ae2007;
}

.craft-select-container {
    width: 100%;
}

.craft-select {
    width: 100%;
    min-height: 420px;
    background: rgba(20, 24, 31, 0.95);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 10px;
}

.craft-select option {
    padding: 8px 10px;
    margin-bottom: 2px;
}

.mixtable {
    width: 100%;
    margin-bottom: 15px;
    border-collapse: collapse;
    background-color: rgba(30, 30, 35, 0.4);
    border-radius: 8px;
    overflow: hidden;
}

.mixtable td,
.mixtable th {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #ddd;
    vertical-align: middle;
}

.craft-title {
    color: #ffb300 !important;
    font-size: 18px;
    font-weight: 700;
    padding-bottom: 5px;
}

.section-title {
    color: #eee;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 179, 0, 0.25);
}

.box {
    float: left;
    height: 45px;
    width: 45px;
    margin: 0.5em;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.box:hover {
    border-color: #ffb300;
}

.box div p {
    margin-top: 25px;
    color: #fff;
    font-family: Tahoma;
    font-style: initial;
    font-size: 11px;
    text-align: center;
}

.success-rate {
    background-color: rgba(255, 179, 0, 0.08);
    border-left: 3px solid #ffb300;
    padding: 8px 12px;
    border-radius: 0 4px 4px 0;
    margin-top: 10px;
}

.success-rate b {
    color: #ffcc66;
    font-size: 16px;
}

/* =========================
   ITEM MIX PAGE
========================= */

.itemmix-page .ranking-sidebar,
.itemmix-page .ranking-box {
    min-height: 465px;
}

.ko-page-mid .itemmix-page .ranking-sidebar:has(.ranking-menu) {
    min-height: 0 !important;
}

.itemmix-page .ranking-sidebar-title,
.itemmix-page .ranking-box-title {
    background: transparent !important;
    background-image: none !important;
    border-bottom: none !important;
    padding: 12px 15px !important;
}

.itemmix-page .ranking-sidebar-title h3,
.itemmix-page .ranking-box-title h3 {
    color: #cba163 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    letter-spacing: 1px;
    margin: 0 !important;
    display: inline-block;
    background: none !important;
    background-image: none !important;
}

.itemmix-page .ranking-sidebar-title i,
.itemmix-page .ranking-box-title i {
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    display: inline-block !important;
    background: none !important;
    box-shadow: none !important;
    color: #8a1c1c !important;
    font-size: 16px !important;
    margin-right: 8px !important;
}

.itemmix-page .ranking-sidebar-body.no-padding {
    padding: 0;
}

.itemmix-npc-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.itemmix-npc-menu li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.itemmix-npc-menu li:last-child {
    border-bottom: 0;
}

.itemmix-npc-menu li a {
    display: block;
    padding: 14px 18px;
    color: #dcdcdc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all .2s ease;
    background: rgba(255,255,255,0.01);
    border-radius: 0;
}

.itemmix-npc-menu li a:hover {
    color: #fff;
    background: rgba(255,179,0,0.08);
}

.itemmix-npc-menu li a.active {
    color: #fff;
    font-weight: 700;
    background: linear-gradient(90deg, rgba(255,179,0,0.16) 0%, rgba(255,122,0,0.08) 100%);
    border-left: 3px solid #ffb300;
}

.itemmix-detail-body {
    min-height: 415px;
    position: relative;
}

.itemmix-loading {
    text-align: center;
    padding: 40px 15px;
}

.itemmix-loading p {
    margin-top: 10px;
    color: #bfbfbf;
    font-size: 13px;
}

.itemmix-empty {
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: #bfbfbf;
    border: 1px dashed rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.015);
    border-radius: 12px;
}

.itemmix-empty i {
    font-size: 34px;
    color: #ffb300;
    margin-bottom: 12px;
}

.itemmix-empty p {
    font-size: 14px;
    margin: 0;
}

.itemmix-empty.error i {
    color: #ff7a00;
}

.itemmix-search-box {
    margin-bottom: 12px;
}

.itemmix-search-box .form-control {
    background: linear-gradient(180deg, rgba(28,32,40,0.96) 0%, rgba(16,19,25,0.98) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    height: 40px;
    border-radius: 10px;
    box-shadow: none;
}

.itemmix-search-box .form-control:focus {
    border-color: rgba(255,179,0,0.30);
    box-shadow: 0 0 0 3px rgba(255,179,0,0.08);
}

.itemmix-search-box .form-control::placeholder {
    color: #8f8f8f;
}

.itemmix-craft-list-wrapper {
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.015);
    max-height: 325px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px;
    border-radius: 12px;
}

.itemmix-craft-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.itemmix-craft-list li {
    margin: 0;
    padding: 0;
}

.itemmix-craft-list li + li {
    border-top: 1px solid rgba(255,255,255,0.05);
}

.itemmix-craft-list .craft-item {
    display: block;
    padding: 10px 12px;
    color: #e4e4e4;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.4;
    transition: all .2s ease;
    border-radius: 8px;
}

.itemmix-craft-list .craft-item:hover {
    background: rgba(255,179,0,0.10);
    color: #fff;
}

.itemmix-craft-list .craft-item.active {
    background: linear-gradient(90deg, rgba(255,179,0,0.16) 0%, rgba(255,122,0,0.10) 100%);
    color: #fff;
    font-weight: 700;
}

.itemmix-craft-list-wrapper::-webkit-scrollbar {
    width: 8px;
}

.itemmix-craft-list-wrapper::-webkit-scrollbar-track {
    background: #11141b;
}

.itemmix-craft-list-wrapper::-webkit-scrollbar-thumb {
    background: #5f6772;
    border-radius: 10px;
}

.itemmix-craft-list-wrapper::-webkit-scrollbar-thumb:hover {
    background: #7c8796;
}

/* Ajax detail içeriði için genel görünüm düzeltmeleri */
.itemmix-page #DivList h3,
.itemmix-page #DivList h4 {
    color: #ffcc66;
    font-weight: 700;
}

.itemmix-page #DivList .table,
.itemmix-page #DivList table {
    width: 100%;
    color: #ddd;
    background: transparent;
}

.itemmix-page #DivList img {
    max-width: 48px;
    height: auto;
}

.itemmix-page #DivList hr {
    border-color: rgba(255,255,255,0.08);
}

@media (max-width: 991px) {
    .itemmix-page .ranking-sidebar,
    .itemmix-page .ranking-box {
        min-height: auto;
        margin-bottom: 20px;
    }

    .itemmix-craft-list-wrapper {
        max-height: 260px;
    }

    .itemmix-empty {
        min-height: 220px;
    }
}

.itemmix-page .ranking-sidebar {
    margin-bottom: 24px;
}

.itemmix-page .ranking-sidebar-body {
    padding-bottom: 12px;
}

.itemmix-page .itemmix-npc-menu {
    margin: 0;
    padding: 10px 0;
}

.itemmix-npc-menu li {
    margin-bottom: 8px;
    border-bottom: 0;
    padding: 0 10px;
}

.itemmix-npc-menu li a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
}

.itemmix-npc-menu li a.active {
    background: linear-gradient(90deg, rgba(255,179,0,0.16) 0%, rgba(255,122,0,0.10) 100%);
    border-left: 3px solid #ffb300;
}

/* =========================
   ITEM MIX DETAIL
========================= */

.itemmix-detail-card {
    background: rgba(255,255,255,0.015);
    color: #dfe6ee;
    font-family: Arial, sans-serif;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.22);
}

.itemmix-detail-header {
    background: linear-gradient(90deg, #1a2029 0%, #141922 100%);
    color: #fff;
    padding: 16px 18px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: .5px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.itemmix-detail-body {
    padding: 20px;
}

.itemmix-detail-name {
    color: #ffcc66;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.35;
}

.itemmix-detail-section {
    margin-bottom: 22px;
}

.itemmix-detail-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.itemmix-detail-items {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.itemmix-detail-item-box {
    width: 56px;
    height: 56px;
    background: linear-gradient(180deg, rgba(28,32,40,0.96) 0%, rgba(16,19,25,0.98) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(0,0,0,0.22);
    transition: all .2s ease;
}

.itemmix-detail-item-box:hover {
    transform: translateY(-2px);
    border-color: rgba(255,179,0,0.28);
    box-shadow: 0 10px 18px rgba(0,0,0,0.28);
}

.itemmix-detail-item-box img {
    max-width: 44px;
    max-height: 44px;
    object-fit: contain;
}

.itemmix-detail-item-count {
    position: absolute;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, #ffb300, #ff7a00);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    padding: 4px 6px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.itemmix-detail-rate-box {
    background: rgba(255,179,0,0.08);
    border: 1px solid rgba(255,179,0,0.16);
    border-left: 3px solid #ffb300;
    padding: 12px 15px;
    font-size: 14px;
    margin-bottom: 10px;
    border-radius: 10px;
    color: #e9edf5;
}

.itemmix-detail-rate-box .rate {
    color: #ffcc66;
    font-weight: 800;
}

.itemmix-detail-info-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 12px 15px;
    font-size: 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #dfe6ee;
}

.itemmix-detail-info-box img {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(28,32,40,0.96) 0%, rgba(16,19,25,0.98) 100%);
    padding: 3px;
}

.itemmix-detail-info-box .rate {
    color: #ffcc66;
    font-weight: 800;
}

.itemmix-detail-price-box {
    margin-top: 10px;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
}

.itemmix-detail-price-box b {
    color: #ffcc66;
}

@media (max-width: 767px) {
    .itemmix-detail-body {
        padding: 16px;
    }

    .itemmix-detail-name {
        font-size: 16px;
    }

    .itemmix-detail-item-box {
        width: 52px;
        height: 52px;
    }

    .itemmix-detail-item-box img {
        max-width: 40px;
        max-height: 40px;
    }
}

.daily-reward-container {
    padding-top: 20px;
}

.daily-reward-box {
    margin-top: 0;
}

/* =========================================================
   HeavenKO Blood & Gold — ranking/subpage overrides
   (loads last inside ranking-theme.css)
   ========================================================= */
:root {
    --hk-bg: #050505;
    --hk-bg-mid: #1f0a0a;
    --hk-surface: #0f0f0f;
    --hk-surface-2: #111;
    --hk-border: #333;
    --hk-blood: #8a1c1c;
    --hk-blood-bright: #b71c1c;
    --hk-gold: #cba163;
    --hk-gold-bright: #ffa000;
    --hk-text: #e0e0e0;
    --hk-muted: #888;
}

html body.ranking-page,
html body.blog-style.ranking-page,
html body.download-page {
    background-color: #050505 !important;
    background-image: radial-gradient(circle at 50% 0%, #1f0a0a 0%, #050505 60%, #000000 100%) !important;
    background-attachment: fixed !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    color: var(--hk-text) !important;
}

body.ranking-page .container.main-wrapper,
body.download-page .container.main-wrapper {
    width: 100% !important;
    max-width: 1600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

.ranking-section {
    padding: 24px 0 40px !important;
}

/* Panels â Heaven surface + gold L-corners */
.ranking-box,
.ranking-sidebar,
.ranking-stat-card {
    position: relative !important;
    background: transparent !important;
    background-image: none !important;
    border: 1px solid var(--hk-border) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.ranking-box::after,
.ranking-sidebar::after {
    content: "";
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    z-index: 5;
    pointer-events: none;
    background:
        linear-gradient(to right, var(--hk-gold) 2px, transparent 2px) 0 0,
        linear-gradient(to bottom, var(--hk-gold) 2px, transparent 2px) 0 0,
        linear-gradient(to left, var(--hk-gold) 2px, transparent 2px) 100% 0,
        linear-gradient(to bottom, var(--hk-gold) 2px, transparent 2px) 100% 0,
        linear-gradient(to right, var(--hk-gold) 2px, transparent 2px) 0 100%,
        linear-gradient(to top, var(--hk-gold) 2px, transparent 2px) 0 100%,
        linear-gradient(to left, var(--hk-gold) 2px, transparent 2px) 100% 100%,
        linear-gradient(to top, var(--hk-gold) 2px, transparent 2px) 100% 100%;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    box-shadow: none;
}

.ranking-box-title,
.ranking-sidebar-title {
    position: relative !important;
    background: transparent !important;
    background-image: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    padding: 12px 15px !important;
    gap: 8px !important;
}

.ranking-box-title::after,
.ranking-sidebar-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 1px !important;
    background: linear-gradient(to right, #8a1c1c 0%, #8a1c1c 30%, transparent 100%) !important;
    z-index: 6;
    pointer-events: none;
}

.ranking-box-title i,
.ranking-sidebar-title i {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    border-radius: 0 !important;
    display: inline-block !important;
    background: none !important;
    box-shadow: none !important;
    color: #8a1c1c !important;
    font-size: 16px !important;
    text-shadow: 0 0 5px rgba(138, 28, 28, 0.5) !important;
    margin-right: 8px !important;
}

.ranking-box-title h3,
.ranking-sidebar-title h3 {
    color: #cba163 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: normal !important;
    background: none !important;
    background-image: none !important;
    background-color: transparent !important;
}

.ranking-menu a {
    border-radius: 4px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: #ccc !important;
}

.ranking-menu a:hover,
.ranking-menu a.active {
    color: #fff !important;
    background: linear-gradient(90deg, rgba(138, 28, 28, 0.35), rgba(203, 161, 99, 0.12)) !important;
    border-color: rgba(203, 161, 99, 0.35) !important;
    transform: translateX(3px);
}

.ranking-badge {
    background: rgba(138, 28, 28, 0.18) !important;
    border: 1px solid rgba(203, 161, 99, 0.35) !important;
    color: var(--hk-gold) !important;
    border-radius: 4px !important;
}

.ranking-table-wrap {
    border-radius: 0 !important;
    border-color: var(--hk-border) !important;
    background: #0a0a0a !important;
}

.ranking-table thead th {
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%) !important;
    color: var(--hk-gold) !important;
    border-bottom: 1px solid var(--hk-blood) !important;
}

.ranking-table tbody tr:hover {
    background: rgba(138, 28, 28, 0.12) !important;
}

.ranking-table tbody td {
    color: var(--hk-text) !important;
    border-bottom-color: #1a1a1a !important;
}

.rank-col { color: var(--hk-gold) !important; }
.rank-first { color: #f1c40f !important; }
.rank-second { color: #c0c0c0 !important; }
.rank-third { color: #cd7f32 !important; }

.player-link:hover,
.clan-link:hover {
    color: var(--hk-gold) !important;
}

.np-cell { color: var(--hk-gold-bright) !important; }

.ranking-stat-icon {
    background: linear-gradient(135deg, var(--hk-blood-bright), var(--hk-blood)) !important;
    box-shadow: 0 0 12px rgba(138, 28, 28, 0.4) !important;
    border-radius: 4px !important;
}

.search-input {
    border-radius: 4px !important;
    border-color: var(--hk-border) !important;
    background: #0a0a0a !important;
}

.search-input:focus {
    border-color: var(--hk-blood) !important;
    box-shadow: 0 0 0 3px rgba(138, 28, 28, 0.2) !important;
}

.search-btn {
    border-radius: 4px !important;
    background: linear-gradient(to bottom, var(--hk-blood-bright), var(--hk-blood)) !important;
    border: 1px solid #d32f2f !important;
    box-shadow: 0 0 12px rgba(183, 28, 28, 0.35) !important;
}

.search-btn:hover {
    background: linear-gradient(to bottom, var(--hk-gold), #b68d4c) !important;
    color: #000 !important;
    border-color: #f1c40f !important;
}

/* Quest / mining / itemmix orange â gold/blood */
.quest-reward-count,
.mining-nav a span:first-child i,
.mining-placeholder,
.itemmix-detail-info-box .rate,
.itemmix-detail-price-box b {
    color: var(--hk-gold) !important;
}

.quest-reward-box:hover,
.quest-zone-badge {
    border-color: rgba(203, 161, 99, 0.4) !important;
}

.quest-reward-count {
    background: linear-gradient(135deg, var(--hk-blood-bright), var(--hk-blood)) !important;
}

/* Downloads page cards */
.download-page .modern-download-card {
    background: rgba(15, 15, 15, 0.85) !important;
    border: 1px solid rgba(138, 28, 28, 0.45) !important;
    border-radius: 4px !important;
}

.download-page .modern-download-card:hover {
    border-color: var(--hk-gold) !important;
    background: rgba(30, 10, 10, 0.9) !important;
}

.download-page .dl-file-icon { color: var(--hk-blood-bright) !important; }

.download-page .dl-action-btn {
    background: linear-gradient(to bottom, var(--hk-blood-bright), var(--hk-blood)) !important;
    border: 1px solid #d32f2f;
    border-radius: 4px !important;
}

.download-page .dl-action-btn:hover {
    background: linear-gradient(to bottom, var(--hk-gold), #b68d4c) !important;
    color: #000 !important;
    box-shadow: 0 0 12px rgba(203, 161, 99, 0.4) !important;
}

.download-page .req-table th {
    color: var(--hk-gold) !important;
    border-bottom-color: var(--hk-blood) !important;
}

/* Login / Register orange accents â gold/blood */
.btn-narki-reg,
body.ranking-page .btn-primary,
body.ranking-page button[type="submit"].search-btn {
    background: linear-gradient(to bottom, var(--hk-blood-bright), var(--hk-blood)) !important;
    color: #fff !important;
    border: 1px solid #d32f2f !important;
}

.btn-narki-reg:hover {
    background: linear-gradient(to bottom, var(--hk-gold), #b68d4c) !important;
    color: #000 !important;
}

.reg-group input:focus,
.reg-group select:focus,
body.ranking-page input:focus,
body.ranking-page select:focus {
    border-color: var(--hk-blood) !important;
    box-shadow: 0 0 0 3px rgba(138, 28, 28, 0.15) !important;
}

.global-reg-notice {
    background: rgba(138, 28, 28, 0.12) !important;
    border-left-color: var(--hk-blood) !important;
    color: var(--hk-gold) !important;
}

/* Generic orange â gold remaps on ranking pages */
body.ranking-page a[style*="#ffb300"],
body.ranking-page [style*="color:#ffb300"],
body.ranking-page [style*="color: #ffb300"] {
    color: var(--hk-gold) !important;
}

/* —— Global page shell (left | mid | right) — banner 1600 ile hizalı —— */
html body.ranking-page .ko-page-shell,
html body.ranking-page #ko-page-shell,
html body #ko-page-shell,
html body .ko-page-shell {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 1600px !important;
    float: none !important;
    gap: 16px !important;
}
/* Bootstrap clearfix flex’i bozmasın */
html body.ranking-page .ko-page-shell::before,
html body.ranking-page .ko-page-shell::after,
html body.ranking-page #ko-page-shell::before,
html body.ranking-page #ko-page-shell::after,
html body #ko-page-shell::before,
html body #ko-page-shell::after,
html body .ko-page-shell::before,
html body .ko-page-shell::after {
    content: none !important;
    display: none !important;
}
html body.ranking-page .ko-page-shell > .left-column,
html body.ranking-page .ko-page-shell > .right-column,
html body.ranking-page #ko-page-shell > #ko-global-left,
html body.ranking-page #ko-page-shell > #ko-global-right,
html body #ko-page-shell > #ko-global-left,
html body #ko-page-shell > #ko-global-right,
html body .ko-page-shell > .left-column,
html body .ko-page-shell > .right-column {
    width: 310px !important;
    max-width: 310px !important;
    flex: 0 0 310px !important;
    float: none !important;
    box-sizing: border-box !important;
}
html body.ranking-page .ko-page-shell > .ko-page-mid,
html body.ranking-page #ko-page-shell > #ko-page-mid,
html body #ko-page-shell > #ko-page-mid,
html body .ko-page-shell > .ko-page-mid {
    width: auto !important;
    max-width: none !important;
    flex: 1 1 0 !important;
    float: none !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
}
html body.ranking-page .ko-page-mid .container.main-wrapper,
html body.ranking-page .ko-page-mid .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}
html body.ranking-page .ko-page-mid .ranking-section {
    padding: 0 !important;
    min-height: 0 !important;
}
@media (max-width: 991px) {
    html body.ranking-page .ko-page-shell,
    html body.ranking-page #ko-page-shell,
    html body #ko-page-shell,
    html body .ko-page-shell {
        flex-wrap: wrap !important;
        gap: 12px !important;
    }
    html body.ranking-page .ko-page-shell > .left-column,
    html body.ranking-page .ko-page-shell > .right-column,
    html body.ranking-page .ko-page-shell > .ko-page-mid,
    html body #ko-page-shell > #ko-global-left,
    html body #ko-page-shell > #ko-global-right,
    html body #ko-page-shell > #ko-page-mid {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        float: none !important;
    }
}

/* —— Horizontal page tabs (ranking + reusable) —— */
.ko-tabs,
.ranking-tabs {
    margin-bottom: 16px;
    background: #0f0f0f;
    border: 1px solid #333;
    box-shadow: 0 5px 15px rgba(0,0,0,0.6);
    position: relative;
}
.ko-tabs::after,
.ranking-tabs::after {
    content: "";
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(to right, #cba163 2px, transparent 2px) 0 0,
        linear-gradient(to bottom, #cba163 2px, transparent 2px) 0 0,
        linear-gradient(to left, #cba163 2px, transparent 2px) 100% 0,
        linear-gradient(to bottom, #cba163 2px, transparent 2px) 100% 0,
        linear-gradient(to right, #cba163 2px, transparent 2px) 0 100%,
        linear-gradient(to top, #cba163 2px, transparent 2px) 0 100%,
        linear-gradient(to left, #cba163 2px, transparent 2px) 100% 100%,
        linear-gradient(to top, #cba163 2px, transparent 2px) 100% 100%;
    background-repeat: no-repeat;
    background-size: 14px 14px;
}
.ko-tabs-bar,
.ranking-tabs .ko-tabs-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    border-bottom: none !important;
    background: #111 !important;
}
.ko-page-mid .ranking-sidebar.ko-tabs {
    margin-bottom: 16px !important;
    border-radius: 0 !important;
    overflow: visible !important;
}
.ko-page-mid .ranking-sidebar.ko-tabs .ranking-sidebar-title {
    display: none !important;
}
.ko-tab,
.ko-tabs-bar > a {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 10px !important;
    margin: 0 !important;
    border: none !important;
    border-right: 1px solid #222 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #aaa !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transform: none !important;
    box-shadow: none !important;
    transition: 0.2s ease !important;
}
.ko-tabs-bar > a:last-child,
.ko-tab:last-child {
    border-right: none !important;
}
.ko-tab i {
    color: #8a1c1c !important;
    font-size: 13px !important;
}
.ko-tab:hover,
.ko-tabs-bar > a:hover {
    color: #fff !important;
    background: rgba(138, 28, 28, 0.25) !important;
    transform: none !important;
}
.ko-tab.active,
.ko-tabs-bar > a.active {
    color: #cba163 !important;
    background: linear-gradient(180deg, rgba(138,28,28,0.35), rgba(15,15,15,0.9)) !important;
    box-shadow: inset 0 -2px 0 #8a1c1c !important;
    border-color: transparent !important;
}
.ko-tab.active i {
    color: #cba163 !important;
}

/* Ranking sekmeleri: ustte full-width; Etkinlik/ItemMix 3 kolon duzeni bozulmasin */
@media (min-width: 992px) {
    .ko-page-mid .ranking-section .row > [class*="col"]:has(.ko-tabs) {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        float: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        clear: both !important;
    }
    .ko-page-mid .ranking-section .row > [class*="col"]:has(.ko-tabs) ~ [class*="col-lg-9"],
    .ko-page-mid .ranking-section .row > [class*="col"]:has(.ko-tabs) ~ [class*="col-md-8"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        float: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 767px) {
    .ko-tab,
    .ko-tabs-bar > a {
        flex: 1 1 50% !important;
        font-size: 11px !important;
        padding: 10px 6px !important;
        border-bottom: 1px solid #222 !important;
    }
}

/* v5: first five players and clans only, descending prestige. Rows 6+ unchanged. */
body.a62-theme .ranking-table tbody tr:nth-child(-n+5) .player-link,
body.a62-theme .ranking-table tbody tr:nth-child(-n+5) .clan-link,
body.a62-theme .ranking-table tbody tr:nth-child(-n+5) td:nth-child(2) > a{font-family:'Cinzel',Georgia,serif!important;font-weight:800!important;text-shadow:0 1px 3px #000;}
body.a62-theme .ranking-table tbody tr:nth-child(1) .player-link,body.a62-theme .ranking-table tbody tr:nth-child(1) td:nth-child(2)>a{font-size:20px!important;color:#fbe49a!important;text-shadow:0 0 11px #dbb14f70;}
body.a62-theme .ranking-table tbody tr:nth-child(2) .player-link,body.a62-theme .ranking-table tbody tr:nth-child(2) td:nth-child(2)>a{font-size:18px!important;color:#dce6ed!important;}
body.a62-theme .ranking-table tbody tr:nth-child(3) .player-link,body.a62-theme .ranking-table tbody tr:nth-child(3) td:nth-child(2)>a{font-size:17px!important;color:#d8b28e!important;}
body.a62-theme .ranking-table tbody tr:nth-child(4) .player-link,body.a62-theme .ranking-table tbody tr:nth-child(4) td:nth-child(2)>a{font-size:16px!important;}
body.a62-theme .ranking-table tbody tr:nth-child(5) .player-link,body.a62-theme .ranking-table tbody tr:nth-child(5) td:nth-child(2)>a{font-size:15px!important;}
body.a62-theme .ranking-table tbody tr:nth-child(-n+5) .rank-col{color:#ebca81;font-weight:800;}
@media(max-width:650px){body.a62-theme .ranking-table tbody tr:nth-child(-n+5) .player-link,body.a62-theme .ranking-table tbody tr:nth-child(-n+5) td:nth-child(2)>a{font-size:12px!important;}}

/* Clan name sits inside .player-cell (not a direct td child). */
body.a62-theme .ranking-table tbody tr:nth-child(1) td:nth-child(2) .clan-link{font-size:20px!important;color:#fbe49a!important;text-shadow:0 0 11px #dbb14f70;}
body.a62-theme .ranking-table tbody tr:nth-child(2) td:nth-child(2) .clan-link{font-size:18px!important;color:#dce6ed!important;}
body.a62-theme .ranking-table tbody tr:nth-child(3) td:nth-child(2) .clan-link{font-size:17px!important;color:#d8b28e!important;}
body.a62-theme .ranking-table tbody tr:nth-child(4) td:nth-child(2) .clan-link{font-size:16px!important;}
body.a62-theme .ranking-table tbody tr:nth-child(5) td:nth-child(2) .clan-link{font-size:15px!important;}
@media(max-width:650px){body.a62-theme .ranking-table tbody tr:nth-child(-n+5) td:nth-child(2) .clan-link{font-size:12px!important;}}

/* ARDREAM62 SEO: semantic H1 retains the former H3 presentation. */
.ko62-job-ranking .ranking-box-title h1.ko62-ranking-heading {
    margin:0; color:#cba163 !important; text-transform:uppercase;
    letter-spacing:1px; font-size:16px !important; font-weight:700 !important;
    line-height:normal !important; background:none !important;
}
@media (max-width:991px) {
    .ko62-job-ranking .ranking-box-title h1.ko62-ranking-heading {font-size:18px !important;}
}
