.gam-history-tabs-page {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 0 40px;
}

.gam-history-tabs-hero {
    margin-bottom: 24px;
}

.gam-history-tabs-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    padding: 5px 10px;
    border: 1px solid rgba(79, 195, 247, .35);
    border-radius: 999px;
    color: #4fc3f7;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: rgba(7, 25, 35, .75);
}

.gam-history-tabs-title {
    margin: 0 0 8px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    font-weight: 800;
    color: #f7fbff;
    letter-spacing: -0.03em;
}

.gam-history-tabs-desc {
    max-width: 720px;
    margin: 0;
    color: #aeb9cc;
    font-size: 15px;
    line-height: 1.7;
}

.gam-history-tabs-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.gam-history-tabs-sidebar {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(84, 112, 255, .35);
    border-radius: 16px;
    background: rgba(10, 18, 36, .72);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
}

.gam-history-tab-link {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 14px;
    border: 1px solid rgba(84, 112, 255, .22);
    border-radius: 14px;
    text-decoration: none;
    color: #c7d2fe;
    background: rgba(13, 23, 48, .72);
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.gam-history-tab-link:hover {
    transform: translateY(-1px);
    border-color: rgba(79, 195, 247, .55);
    background: rgba(16, 32, 68, .9);
    color: #fff;
}

.gam-history-tab-link.is-active {
    border-color: rgba(12, 190, 225, .9);
    background: linear-gradient(135deg, rgba(12, 190, 225, .22), rgba(54, 219, 24, .14));
    color: #fff;
}

.gam-history-tab-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(79, 195, 247, .12);
    font-size: 18px;
}

.gam-history-tab-body {
    min-width: 0;
}

.gam-history-tab-title {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

.gam-history-tab-desc {
    display: block;
    color: #9aa8c7;
    font-size: 12px;
    line-height: 1.55;
}

.gam-history-tab-link.is-active .gam-history-tab-desc {
    color: #dceafe;
}

.gam-history-tabs-content {
    min-width: 0;
    border: 1px solid rgba(84, 112, 255, .25);
    border-radius: 18px;
    background: rgba(8, 14, 28, .45);
    padding: 20px;
    overflow: hidden;
}

.gam-history-tabs-content .gam-history-page {
    padding: 0;
}

.gam-history-tabs-content .gam-page-title {
    display: none;
}

@media (max-width: 1024px) {
    .gam-history-tabs-page {
        padding: 20px 0 36px;
    }

    .gam-history-tabs-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gam-history-tabs-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

@media (max-width: 767px) {
    .gam-history-tabs-page {
        padding: 16px 0 28px;
    }

    .gam-history-tabs-title {
        font-size: 32px;
    }

    .gam-history-tabs-desc {
        font-size: 14px;
    }

    .gam-history-tabs-sidebar {
        display: flex;
        flex-direction: column;
        padding: 10px;
        border-radius: 14px;
    }

    .gam-history-tab-link {
        padding: 12px;
    }

    .gam-history-tab-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .gam-history-tabs-content {
        padding: 12px;
        border-radius: 14px;
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .gam-history-tabs-kicker {
        font-size: 11px;
    }

    .gam-history-tab-desc {
        display: none;
    }
}