.lol-tier-box {
position: relative;
    background-color: #0F1115;
    /* Xóa sạch mọi mask cũ */
    
    /* Cấu trúc background: Gradient Đè lên Ảnh */
    background-image: 
        linear-gradient(to bottom, transparent 50%, #0F1115 100%), 
        url(/assets/images/bg-champion-box.jpg);
    
    background-repeat: no-repeat, no-repeat;
    background-position: center top, center top;
    background-size: contain, contain;
}

.lol-tier-box__overlay {
    
    padding: 40px 0 56px;
}

.lol-tier-box__inner {
    max-width: 1080px;
    font-family: "Quicksand";
    margin: 0 auto;
    padding: 0 24px;
    z-index: 99999999;
    position: relative;
}

.lol-tier-box__heading {
    margin-bottom: 26px;
}

.lol-tier-box__title {
    margin: 0 0 12px;
    color: #fff;
    font-size: 32px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    text-transform: uppercase;
}

.lol-tier-box__title span {
    font-size: 28px;
    font-weight: 500;
    text-transform: none;
    opacity: 0.95;
}

.lol-tier-box__desc {
    margin: 0;
    color: #FFF;
    font-size: 15.411px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.lol-tier-toolbar {
display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 0;
    padding: 12px 20px 12px;
    background: #191D20;
}

.lol-tier-toolbar__left {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
.lol-tier-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Quan trọng: để click xuyên qua được */
}

.lol-select-btn {
    display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 28px;
        padding: 0 12px;
        border: 1px solid rgba(255, 255, 255, 0.06);
        background: #191D20;
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        border-radius: 4px;
        cursor: pointer;
}

.lol-select-btn__arrow {
    font-size: 12px;
    opacity: 0.9;
}

.lol-tier-search {
    position: relative;
    flex: 1;
}

.lol-tier-search input {
width: 100%;
    padding: 0 59px 0 14px;
    color: #fff;
    font-size: 12px;
    outline: none;
    border-radius: 4px;
    border: 1px solid #191D20;
    background: #31393f;
    height: 28px;
}

.lol-tier-search input::placeholder {
    color: rgba(255,255,255,0.35);
}

.lol-tier-search button {
position: absolute;
    top: 49%;
    right: 5px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.lol-tier-tabs {
    display: grid;
    border-radius: 4px;
    grid-template-columns: repeat(6, 1fr);
    background: #292d30;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.lol-tier-tabs__item {
    min-height: 28px;
    width: 45px;
    border: 0;
    border-right: 1px solid rgba(0,0,0,0.35);
    background: transparent;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}
.lol-tier-tabs__item img {
    /* float: right;
    margin-right: 30px; */
    place-self: center;
    width: 18px;
}
.lol-tier-tabs .lol-tier-tabs__item:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

/* Bo góc cho item cuối cùng (Góc phải) */
.lol-tier-tabs .lol-tier-tabs__item:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    /* Xóa border-right ở item cuối để không bị thừa đường kẻ */
    border-right: none;
}
.lol-tier-tabs__item:last-child {
    border-right: 0;
}

.lol-tier-tabs__item.is-active {
    background: #ff1f43;
}

.lol-tier-table-wrap {
    overflow-x: auto;
    background: rgba(30, 34, 45, 0.94);
}

.lol-tier-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

.lol-tier-table thead th {
    padding: 5px 18px;
        background: #31393f;
        color: #fff;
        font-size: 15px;
        font-weight: bolder;
        text-align: left;
}

.lol-tier-table tbody td {
    padding: 10px 18px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.35);
        color: rgba(255, 255, 255, 0.78);
        font-size: 14px;
        vertical-align: middle;
        text-align: unset;
}

.lol-tier-table tbody tr {
    background: #191D20;
}

.lol-tier-table tbody tr:hover {
    background: rgba(48, 51, 66, 0.98);
}

.champ-cell {
    display: flex;
    align-items: center;
    gap: 18px;
    /* min-width: 220px; */
}

.champ-cell img {
    width: 35px;
    height: 35px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.champ-cell span {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.tier-badge {
display: inline-flex;
font-family: "Quicksand";
    align-items: center;
    border-radius: 3px;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
    align-items: flex-start;
}

.tier-badge--d {
    background: #888787;
  }
  
  .tier-badge--s {
    background: #e95c5b;
  }
  
  .tier-badge--a {
    background: #c26a17;
  }

  .tier-badge--b {
    background: #86a1a3;
  }

  .tier-badge--c {
    background: #7a4516;
  }

.champ-cell a {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}
@media (max-width: 991px) {
    .lol-tier-box__overlay {
        padding: 28px 0 40px;
    }

    .lol-tier-box__title {
        font-size: 34px;
    }

    .lol-tier-box__title span {
        display: block;
        margin-top: 6px;
        font-size: 22px;
    }

    .lol-tier-box__desc {
        font-size: 15px;
    }

    .lol-tier-toolbar {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }

    .lol-tier-toolbar__left {
        width: 100%;
        flex-wrap: wrap;
    }

    .lol-select-btn {
        flex: 1;
        justify-content: center;
    }

    .lol-tier-tabs {
        grid-template-columns: repeat(6, 1fr);
    }

    .lol-tier-tabs__item {
        height: 28px;
        font-size: 16px;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .lol-tier-box__inner {
        padding: 0 10px;
    }
img.position-icon {
    max-width: 60%;
    justify-self: center;
}
    .lol-tier-box__title {
        font-size: 26px;
    }

    .lol-tier-box__desc {
        font-size: 14px;
        line-height: 1.5;
    }

    .lol-select-btn,
    .lol-tier-search input {
min-height: 32px;
    height: 37px;
    font-size: 14px;
    }

    .lol-tier-search button {
        font-size: 22px;
    }

    .lol-tier-tabs {
        grid-template-columns: repeat(6, 1fr);
    }

    .lol-tier-tabs__item {
        font-size: 15px;
    }

    .champ-cell {
        gap: 12px;
    }

    .champ-cell img {
        width: 35px;
        height: 35px;
    }

    .champ-cell span {
        font-size: 12px;
    }
        .lol-tier-table thead th:nth-child(2) {
            text-align: left;
        }
    .lol-tier-table thead th,
    .lol-tier-table tbody td {
        padding: 14px 12px;
        font-size: 14px;
    }

    .tier-badge {
width: 24px;
    height: 27px;
    font-size: 13px;
    }
/* CSS ẩn cột Pick Rate và Ban Rate trên thiết bị di động */
@media (max-width: 768px) {
    /* Ẩn cột thứ 6 (Pick Rate) và thứ 7 (Ban Rate) */
    .lol-tier-table th:nth-child(6),
    .lol-tier-table td:nth-child(6),
    .lol-tier-table th:nth-child(7),
    .lol-tier-table td:nth-child(7) {
        display: none !important;
    }

    /* Thu nhỏ bảng và căn chỉnh lại để vừa màn hình */
    .lol-tier-table {
        min-width: 100% !important; /* Bảng chiếm hết chiều rộng màn hình */
    }

    .lol-tier-table thead th,
    .lol-tier-table tbody td {
padding: 8px 4px !important;
    font-size: 12px !important;
    text-align: center;
    }

    /* Điều chỉnh các cột còn lại */
    .champ-cell {
        min-width: 90px !important;
    }
}
}
* Đổi màu scrollbar toàn site */
*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

*::-webkit-scrollbar-track {
  background: #111418;
}

*::-webkit-scrollbar-thumb {
  background: #2b3138;
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
  background: #3a424c;
}

* {
  scrollbar-color: #2b3138 #111418;
  scrollbar-width: thin;
}