/*
Theme Name:   MataTFT
Description:  Flatsome Child Theme for MataTFT
Author:       MataTFT
Template:     flatsome
Version:      1.0.0
Text Domain:  matatft
*/

/* Custom overrides belong here or in assets/css/matatft.css */

/* ===== CSS from live child theme (tftmeta/style.css) ===== */

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

/* Thẻ tiêu đề */

.line-h2 {
	border-bottom: 2px solid rgb(210 110 75);
    line-height: normal;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.line-h3 {
    border-left: 2px solid rgb(210 110 75);
    padding-left: 10px;
    line-height: normal;
    margin-bottom: 20px;
}

/* Khung ghi chú */
.tft-note {
    padding: 12px 14px;
    margin: 12px 0;
    border-left: 3px solid var(--note-color);
    background: var(--note-bg);
    color: #D4DFE8;
    font-size: 14px;
    line-height: 1.65;
    box-sizing: border-box;
}

/* Tiêu đề */
.tft-note .tft-note-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--note-color);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 5px;
}

/* Icon */
.tft-note .tft-note-title span {
    color: var(--note-color);
    font-size: 17px;
    line-height: 1;
}

/* Nội dung */
.tft-note .tft-note-content {
    color: #D4DFE8 !important;
    font-size: 14px;
    line-height: 1.65;
}

.tft-note .tft-note-content p {
	color: #D4DFE8 !important;
    margin: 0 0 8px;
}

.tft-note .tft-note-content p:last-child {
    margin-bottom: 0;
}

/* 1. Mẹo chơi - xanh ngọc */
.tft-note-tip {
    --note-color: #64DFC1;
    --note-bg: #19323E;
}

/* 2. Lưu ý - vàng cam */
.tft-note-warning {
    --note-color: #FFD166;
    --note-bg: #373220;
}

/* 3. Biến thể - tím */
.tft-note-variant {
    --note-color: #D6A7FF;
    --note-bg: #302837;
}

/* 4. Không nên chơi - đỏ */
.tft-note-danger {
    --note-color: #FF9CAC;
    --note-bg: #35272F;
}


/* THONG TIN - XANH DUONG */
.tft-note-info {
    --note-color: #75CFFF;
    --note-bg: #193745;
}

/* DIEU KIEN LY TUONG - XANH LA */
.tft-note-success {
    --note-color: #A3E879;
    --note-bg: #243A2C;
}

/* UU TIEN - CAM SANG */
.tft-note-priority {
    --note-color: #FFBD73;
    --note-bg: #3B3226;
}

/* CHIEN THUAT - XANH INDIGO */
.tft-note-strategy {
    --note-color: #92B8FF;
    --note-bg: #213750;
}

/* PHUONG AN DU PHONG - TEAL */
.tft-note-alternative {
    --note-color: #68DFDB;
    --note-bg: #263B40;
}

/* MEO NANG CAO - TIM LAVENDER */
.tft-note-advanced {
    --note-color: #B6A1FF;
    --note-bg: #332C4D;
}

/* DANH GIA META - HONG TIM */
.tft-note-meta {
    --note-color: #F1A7DC;
    --note-bg: #3E293F;
}

/* GHI CHU - XAM XANH */
.tft-note-neutral {
    --note-color: #C3D4E1;
    --note-bg: #2A3742;
}

/* Mobile */
@media (max-width: 600px) {
    .tft-note {
        padding: 10px 12px;
        font-size: 13px;
    }

    .tft-note .tft-note-title {
        font-size: 14px;
    }

    .tft-note .tft-note-content {
        font-size: 13px;
    }
}



/* =================================
   METATFT PRIORITY BADGES - COMPACT
   ================================= */

.tft-priority-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin: 10px 0;
    padding: 0;
}

/* Badge chung */
.tft-priority-list .tft-priority {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 4px 8px;
    border: 0;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Kinh Tế */
.tft-priority-list .tft-priority.economy {
    background: #293D42;
    color: #80E9C1;
}

/* Trang Bị */
.tft-priority-list .tft-priority.items {
    background: #3E3527;
    color: #FFD17A;
}

/* Combat */
.tft-priority-list .tft-priority.combat {
    background: #413044;
    color: #F5A7DF;
}


/* EMBLEM */
.tft-priority-list .tft-priority.emblem {
    background: #482831;
    color: #FF899A;
}

/* SVG icon */
.tft-priority-list .tft-priority-icon {
    display: block !important;
    width: 15px !important;
    height: 15px !important;
    min-width: 15px;
    min-height: 15px;
    max-width: 15px;
    max-height: 15px;
    flex: 0 0 15px;
    margin: 0 !important;
    padding: 0 !important;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    overflow: visible;
}

/* Mũi tên */
.tft-priority-list .tft-arrow {
    color: #7B9AAA;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    margin: 0;
    flex-shrink: 0;
}

/* Mobile */
@media (max-width: 600px) {
    .tft-priority-list {
        gap: 5px;
    }

    .tft-priority-list .tft-priority {
        font-size: 11px;
        padding: 4px 7px;
        gap: 4px;
    }
}

/* ===== METATFT FAQ ACCORDION ===== */

.tft-faq {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0;
}

/* Khung câu hỏi */
.tft-faq .tft-faq-item {
    background: #1B3542;
    border: 1px solid #294957;
    border-radius: 7px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Dòng câu hỏi */
.tft-faq .tft-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: #E9F2F7;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
    list-style: none;
}

/* Ẩn marker mặc định */
.tft-faq .tft-faq-question::-webkit-details-marker {
    display: none;
}

.tft-faq .tft-faq-question::marker {
    content: "";
}

/* Hover */
.tft-faq .tft-faq-question:hover {
    background: #234454;
    color: #FFFFFF;
}

/* Icon mũi tên */
.tft-faq .tft-faq-chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid #A9C4D2;
    border-bottom: 2px solid #A9C4D2;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

/* Khi mở */
.tft-faq .tft-faq-item[open]
.tft-faq-chevron {
    transform: rotate(225deg);
}

/* Nội dung trả lời */
.tft-faq .tft-faq-answer {
    padding: 12px 14px;
    border-top: 1px solid #345160;
    color: #BCD0DC;
    font-size: 13px;
    line-height: 1.7;
}

.tft-faq .tft-faq-answer p {
    margin: 0 0 8px;
}

.tft-faq .tft-faq-answer p:last-child {
    margin-bottom: 0;
}

/* Mobile */
@media (max-width: 600px) {
    .tft-faq .tft-faq-question {
        padding: 10px 12px;
        font-size: 13px;
    }

    .tft-faq .tft-faq-answer {
        padding: 10px 12px;
        font-size: 12.5px;
    }
}


/* ===== METATFT TIMELINE ===== */

.metatft-timeline {
    position: relative;
    margin: 16px 0;
    padding: 0;
}

/* Đường nối dọc */
.metatft-timeline::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 12px;
    bottom: 14px;
    width: 2px;
    background: #345160;
}

/* Từng giai đoạn */
.metatft-timeline .metatft-stage {
    position: relative;
    display: flex;
    padding: 0 0 14px 38px;
    margin: 0;
    box-sizing: border-box;
}

.metatft-timeline .metatft-stage:last-child {
    padding-bottom: 0;
}

/* Chấm trên timeline */
.metatft-stage-marker {
    position: absolute;
    left: 4px;
    top: 4px;
    width: 16px;
    height: 16px;
    border: 3px solid var(--stage-color);
    border-radius: 50%;
    background: #102733;
    z-index: 1;
}

/* Khung nội dung */
.metatft-stage-body {
    flex: 1;
    min-width: 0;
}

.metatft-stage-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.metatft-stage-title {
    color: var(--stage-color);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

.metatft-stage-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 5px;
    background: var(--stage-bg);
    color: var(--stage-color);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
}

.metatft-stage-content {
    color: #C8D9E5;
    font-size: 14px;
    line-height: 1.7;
}

.metatft-stage-content p {
    margin: 0 0 8px;
}

.metatft-stage-content p:last-child {
    margin-bottom: 0;
}

/* Đầu Trận - Xanh Ngọc */
.metatft-stage-early {
    --stage-color: #80E9C1;
    --stage-bg: #244B43;
}

/* Giữa Trận - Vàng Cam */
.metatft-stage-mid {
    --stage-color: #FFD17A;
    --stage-bg: #493A26;
}

/* Cuối Trận - Hồng Tím */
.metatft-stage-late {
    --stage-color: #F5A7DF;
    --stage-bg: #413044;
}

/* Mobile */
@media (max-width: 600px) {
    .metatft-timeline .metatft-stage {
        padding-left: 32px;
        padding-bottom: 20px;
    }

    .metatft-stage-title {
        font-size: 14px;
    }

    .metatft-stage-content {
        font-size: 13px;
    }
}


/* =========================================
   METATFT - TEXT GRID CARDS
   ========================================= */

/* Khung grid */
.tft-text-grid {
    display: grid;
    grid-template-columns:
        repeat(var(--tft-cols, 2), minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin: 14px 0 22px;
}

/* Card chung */
.tft-text-grid .tft-text-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    min-width: 0;
    min-height: 56px;
    padding: 12px 14px;
    margin: 0;

    background: #193440;
    border: 1px solid #365362;
    border-radius: 7px;

    color: #E9F3F8;
    text-decoration: none !important;
    box-sizing: border-box;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

/* Tiêu đề */
.tft-text-grid .tft-text-card-title {
    display: block;
    flex: 1;
    min-width: 0;

    color: #E9F3F8;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
}

/* Mũi tên */
.tft-text-grid .tft-text-card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    color: #80E9C1;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;

    transition: transform .2s ease;
}

/* Hover card */
.tft-text-grid a.tft-text-card:hover {
    background: #214554;
    border-color: #64DFC1;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .22);
}

/* Hover tiêu đề */
.tft-text-grid a.tft-text-card:hover
.tft-text-card-title {
    color: #FFFFFF;
}

/* Hover mũi tên */
.tft-text-grid a.tft-text-card:hover
.tft-text-card-arrow {
    color: #A0FFE0;
    transform: translateX(4px);
}

/* Focus bàn phím */
.tft-text-grid a.tft-text-card:focus-visible {
    outline: 2px solid #80E9C1;
    outline-offset: 3px;
}

/* Tablet */
@media (max-width: 900px) {
    .tft-text-grid {
        grid-template-columns:
            repeat(min(2, var(--tft-cols, 2)), minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 600px) {
    .tft-text-grid {
        grid-template-columns: repeat(
            min(2, var(--tft-cols, 2)),
            minmax(0, 1fr)
        );
        gap: 8px;
    }

    .tft-text-grid .tft-text-card {
        min-height: 50px;
        padding: 10px;
        gap: 6px;
    }

    .tft-text-grid .tft-text-card-title {
        font-size: 12px;
    }

    .tft-text-grid .tft-text-card-arrow {
        font-size: 21px;
    }
}

@media (max-width: 360px) {
    .tft-text-grid {
        grid-template-columns: 1fr;
    }
}

/* Giảm chuyển động */
@media (prefers-reduced-motion: reduce) {
    .tft-text-grid .tft-text-card,
    .tft-text-grid .tft-text-card-arrow {
        transition: none;
    }
}

/* Ảnh bên trái card MetaTFT */
.tft-text-grid .tft-text-card-image {
    display: block;
    width: 28px;
    height: 28px;
    min-width: 28px;
    flex-shrink: 0;
    object-fit: contain;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

/* Căn chỉnh tiêu đề và icon */
.tft-text-grid .tft-text-card {
    align-items: center;
}

/* Hiệu ứng ảnh khi hover */
.tft-text-grid a.tft-text-card:hover
.tft-text-card-image {
    transform: scale(1.1);
}

.tft-text-grid .tft-text-card-image {
    transition: transform .2s ease;
}

/* Mobile */
@media (max-width: 600px) {
    .tft-text-grid .tft-text-card-image {
        width: 23px;
        height: 23px;
        min-width: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tft-text-grid .tft-text-card-image {
        transition: none;
    }
}


/* =========================================
   METATFT - ZEBRA TABLE
   ========================================= */

/* Bảng chung */
table.tft-zebra-table,
.tft-zebra-table table {
    width: 100%;
    border-collapse: collapse !important;
    border-spacing: 0;
    border: 1px solid #365462;
    background: #122C39;
    color: #BBD0DF;
    font-size: 13px;
    line-height: 1.5;
    margin: 15px 0 22px;
}

/* Header - thẻ TH */
.tft-zebra-table th {
    background: #264A58 !important;
    color: #FFFFFF !important;
    font-weight: 700;
    text-align: center;
    padding: 11px 12px;
    border: 1px solid #446373 !important;
    vertical-align: middle;
}

/* Các ô nội dung - thẻ TD */
.tft-zebra-table td {
    padding: 10px 12px;
    border: 1px solid #304C59 !important;
    color: #BBD0DF;
    vertical-align: middle;
    background: transparent;
}

/* Hàng lẻ */
.tft-zebra-table tbody tr:nth-child(odd) td {
    background: #193643;
}

/* Hàng chẵn */
.tft-zebra-table tbody tr:nth-child(even) td {
    background: #122C39;
}

/* Hover sáng nhẹ cả hàng */
.tft-zebra-table tbody tr:hover td {
    background: #285064 !important;
    transition: background .18s ease;
}

/* Căn giữa cột 1, 2 và cột cuối */
.tft-zebra-table :is(th, td):first-child,
.tft-zebra-table :is(th, td):nth-child(2),
.tft-zebra-table :is(th, td):last-child {
    text-align: center;
}

/* Cột mô tả căn trái */
.tft-zebra-table :is(th, td):nth-child(3) {
    text-align: left;
}

/* Link */
.tft-zebra-table a {
    color: #8EDCE5;
    text-decoration: none;
}

.tft-zebra-table a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* Bỏ đường kẻ dọc, giữ đường kẻ ngang */
.tft-zebra-table th,
.tft-zebra-table td {
    border-left: none !important;
    border-right: none !important;
}

/* Mobile */
@media (max-width: 600px) {
    .tft-zebra-table {
        font-size: 12px;
    }

    .tft-zebra-table th,
    .tft-zebra-table td {
        padding: 8px 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tft-zebra-table td {
        transition: none;
    }
}


/* ====================================
   METATFT - ITEM GROUP BOX
   ==================================== */

.tft-item-box {
    background: #102733;
    border: 1px solid #385463;
    border-radius: 7px;
    overflow: hidden;
    margin: 16px 0 22px;
}

/* Thanh tiêu đề */
.tft-item-box-header {
    background: #1A3441;
    border-bottom: 1px solid #385463;
    color: #F0F7FA;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    padding: 12px 15px;
}

/* Khu vực chứa shortcode trang bị */
.tft-item-box-content {
    padding: 15px;
    min-width: 0;
}

/* Tránh khoảng trống thừa */
.tft-item-box-content > :first-child {
    margin-top: 0;
}

.tft-item-box-content > :last-child {
    margin-bottom: 0;
}

/* Mobile */
@media (max-width: 600px) {
    .tft-item-box {
        margin: 12px 0 18px;
    }

    .tft-item-box-header {
        font-size: 14px;
        padding: 10px 12px;
    }

    .tft-item-box-content {
        padding: 10px;
    }
}

/* ==========================================
   TFT - ĐẦU TRẬN DẠNG NGANG, ẢNH TƯỚNG TRÒN
   Chỉ áp dụng cho khối tft-early-game
========================================== */

/* Khung tổng */
.tft-early-game {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
}

/* Tiêu đề Đầu Trận */
.tft-early-game__title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Mũi tên */
.tft-early-game__arrow {
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    color: #fff;
}

/* Danh sách tướng */
.tft-early-game__units {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0 !important;
}

/* Từng tướng */
.tft-early-game__units .comp__champion {
    position: relative;
    display: block;
    width: 50px;
    flex: 0 0 50px;
    text-align: center;
}

/* Khung ảnh tướng hình tròn */
.tft-early-game__units .comp__champion > .image {
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: visible;
}

/* Ảnh tướng */
.tft-early-game__units .comp__champion > .image > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Khoảng cách lề riêng cho khối Đầu Trận */
.tft-early-block > .block__content {
    padding: 20px 28px;
}

/* Mobile */
@media (max-width: 849px) {
    .tft-early-block > .block__content {
        padding: 15px;
    }
}

/* Ẩn tên tướng bên dưới */
.tft-early-game__units .comp__champion > .name {
    display: none !important;
}

.tft-early-game__units .unit__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2px;
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    z-index: 10;
}

/* 1 trang bị: Căn vào cột giữa */
.tft-early-game__units .unit__items > img:only-child {
    grid-column: 2;
}

/* 2 trang bị: Căn giữa cả nhóm */
.tft-early-game__units .unit__items:has(> img:nth-child(2):last-child) {
    display: flex;
    justify-content: center;
    gap: 2px;
}

/* Giữ kích thước tương đương cột Grid khi có 2 trang bị */
.tft-early-game__units .unit__items:has(> img:nth-child(2):last-child) > img {
    width: calc((100% - 4px) / 3);
    flex: 0 0 calc((100% - 4px) / 3);
}


/* =========================================
   METATFT - TRAIT MILESTONES
   ========================================= */

/* Danh sách */
.tft-milestones {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 12px 0 18px;
}

/* Từng mốc */
.tft-milestone {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* Ô số mốc */
.tft-milestone-level {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 37px;
    min-width: 37px;
    height: 20px;
    padding: 0 4px;
    border-radius: 3px;

    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

/* 4 BẬC MÀU */

/* Đồng */
.tft-milestone-level.tier-bronze {
    background: #936246;
    color: #FFFFFF;
}

/* Bạc */
.tft-milestone-level.tier-silver {
    background: #89959E;
    color: #FFFFFF;
}

/* Vàng */
.tft-milestone-level.tier-gold {
    background: #B79A42;
    color: #FFFFFF;
}

/* Kim Cương */
.tft-milestone-level.tier-diamond {
    background: #8DE5DF;
    color: #17343D;
}

/* Mô tả hiệu ứng */
.tft-milestone-desc,
.tft-milestone-desc p {
    flex: 1;
    min-width: 0;
    color: #C8D7E3 !important;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

/* Tên hiệu ứng in đậm */
.tft-milestone-desc strong {
    color: #F1F6F9;
    font-weight: 600;
}

/* Tránh khoảng trắng thừa từ WordPress */
.tft-milestone-desc p {
    margin: 0;
}

.tft-milestone-desc p + p {
    margin-top: 6px;
}

/* Mobile */
@media (max-width: 600px) {
    .tft-milestones {
        gap: 9px;
    }

    .tft-milestone {
        gap: 8px;
    }

    .tft-milestone-desc {
        font-size: 12px;
    }
}


/* =========================================
   METATFT - NOTICE BAR
   8 màu thông báo
   ========================================= */

/* Khung chung */
.tft-notice {
    width: 100%;
    padding: 14px 18px;
    margin: 14px 0 18px;
    border-radius: 4px;
    box-sizing: border-box;

    text-align: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
}

/* Nội dung */

.tft-notice .tft-notice-content,
.tft-notice .tft-notice-content p,
.tft-notice .tft-notice-content span,
.tft-notice .tft-notice-content strong {
    color: inherit !important;
}

/* Bỏ khoảng cách thừa của thẻ p */
.tft-notice .tft-notice-content p {
    margin: 0;
}

.tft-notice .tft-notice-content p + p {
    margin-top: 8px;
}


/* 1. XANH LÁ - SUCCESS */
.tft-notice-success {
    background: #1C503D;
    color: #A5F3C1;
}

/* 2. XANH DƯƠNG - INFO */
.tft-notice-info {
    background: #1D405B;
    color: #A6D8FF;
}

/* 3. VÀNG - WARNING */
.tft-notice-warning {
    background: #594722;
    color: #FFE29B;
}

/* 4. ĐỎ - DANGER */
.tft-notice-danger {
    background: #552B32;
    color: #FFB3BC;
}

/* 5. TÍM - SPECIAL */
.tft-notice-special {
    background: #403052;
    color: #DDC3FF;
}

/* 6. CAM - IMPORTANT */
.tft-notice-important {
    background: #583C27;
    color: #FFD0A4;
}

/* 7. XANH NGỌC - TIP */
.tft-notice-tip {
    background: #1C4B4C;
    color: #A3F0E8;
}

/* 8. XÁM XANH - NEUTRAL */
.tft-notice-neutral {
    background: #30404B;
    color: #D1E0E9;
}

/* Link bên trong notice */
.tft-notice a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tft-notice a:hover {
    color: #FFFFFF;
}

/* Mobile */
@media (max-width: 600px) {
    .tft-notice {
        padding: 12px;
        font-size: 13px;
        line-height: 1.5;
    }
}


/* METATFT - BORDER BOX */

.tft-border-box {
    border: 1px solid #365362;
    padding: 20px 20px 0 20px;
    background: #193440;
    margin: 30px 0;
}

/* Khung bộ lọc đội hình */
.tabbed-content > .nav-pills {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 4px;
    background: #142b37;
    border: 1px solid #28414f;
    border-radius: 8px;
    width: fit-content;
}

/* Khoảng cách giữa các tab */
.tabbed-content > .nav-pills > li {
    margin: 0;
}

/* Tab mặc định */
.tabbed-content > .nav-pills > li > a {
    padding: 0 16px;
    min-height: 32px;
    line-height: 32px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: #a9becd;
    background: transparent;
    border-radius: 5px;
    transition: all 0.2s ease;
}

/* Tab khi di chuột */
.tabbed-content > .nav-pills > li > a:hover {
    background: #203e4e;
    color: #fff;
}

/* Tab đang được chọn */
.tabbed-content > .nav-pills > li.active > a {
    background: #2b536b;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}