/* =========================================================
   ASHUNT SOX PLUS HISTORY
   File: public/css/ashunt-sox-plus.css
========================================================= */

:root {
    --asp-panel: rgba(10, 14, 20, .97);
    --asp-gold: #e1b141;
    --asp-text: #edf1f6;
    --asp-muted: #8290a4;
}

body:has(.ashunt-sox-plus-page) .card.downloads {
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body:has(.ashunt-sox-plus-page)
.card.downloads > .card-header {
    display: none !important;
}

body:has(.ashunt-sox-plus-page)
.card.downloads > .card-body {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.ashunt-sox-plus-page {
    display: flex;
    flex-direction: column;
    gap: 18px;
    color: var(--asp-text);
}

.ashunt-sox-plus-title {
    position: relative;
    display: inline-flex;
    width: fit-content;
    min-height: 64px;
    align-items: center;
    gap: 14px;
    padding: 10px 18px 10px 12px;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            rgba(13, 17, 24, .96),
            rgba(8, 11, 16, .90)
        );
    border: 1px solid rgba(225, 177, 65, .28);
    border-radius: 14px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .035),
        inset 3px 0 0 rgba(225, 177, 65, .78),
        0 12px 30px rgba(0, 0, 0, .30);
}

.ashunt-sox-plus-title__icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    color: #efbe52;
    background:
        linear-gradient(
            180deg,
            rgba(225, 177, 65, .18),
            rgba(91, 62, 12, .08)
        );
    border: 1px solid rgba(225, 177, 65, .34);
    border-radius: 11px;
}

.ashunt-sox-plus-title__eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #c59631;
    font-size: .56rem;
    font-weight: 900;
    letter-spacing: .13em;
}

.ashunt-sox-plus-title h1 {
    margin: 0;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.ashunt-sox-plus-panel {
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            rgba(10, 14, 20, .97),
            rgba(7, 10, 15, .985)
        );
    border: 1px solid rgba(225, 177, 65, .24);
    border-radius: 17px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .025),
        0 20px 46px rgba(0, 0, 0, .25);
}

.ashunt-sox-plus-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    background:
        linear-gradient(
            90deg,
            rgba(225, 177, 65, .035),
            transparent
        );
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.ashunt-sox-plus-panel__kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--asp-gold);
    font-size: .56rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.ashunt-sox-plus-panel__head h2 {
    margin: 0;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 900;
}

.ashunt-sox-plus-panel__counter {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    color: #efc25b;
    background: rgba(225, 177, 65, .08);
    border: 1px solid rgba(225, 177, 65, .20);
    border-radius: 8px;
    font-size: .65rem;
    font-weight: 900;
}

.ashunt-sox-plus-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.ashunt-sox-plus-table th,
.ashunt-sox-plus-table td {
    padding: 15px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .055);
    text-align: left;
    vertical-align: middle;
}

.ashunt-sox-plus-table th {
    color: #758297;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, .03),
            rgba(255, 255, 255, .012)
        );
    font-size: .57rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ashunt-sox-plus-table tbody tr {
    transition:
        background .18s ease,
        box-shadow .18s ease;
}

.ashunt-sox-plus-table tbody tr:hover {
    background:
        linear-gradient(
            90deg,
            rgba(225, 177, 65, .045),
            rgba(225, 177, 65, .012)
        );
    box-shadow:
        inset 3px 0 0 rgba(225, 177, 65, .62);
}

.ashunt-sox-plus-table tbody tr:last-child td {
    border-bottom: 0;
}

.ashunt-sox-plus-item {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.ashunt-sox-plus-item__icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(225, 177, 65, .09),
            rgba(8, 11, 16, .96)
        );
    border: 1px solid rgba(225, 177, 65, .25);
    border-radius: 11px;
}

.ashunt-sox-plus-item__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
}

.ashunt-sox-plus-item small,
.ashunt-sox-plus-time small {
    display: block;
    margin-bottom: 2px;
    color: #667489;
    font-size: .52rem;
    font-weight: 900;
    letter-spacing: .07em;
}

.ashunt-sox-plus-item strong,
.ashunt-sox-plus-time strong {
    display: block;
    color: #edf1f6;
    font-size: .72rem;
    font-weight: 900;
}

.ashunt-sox-plus-value {
    display: inline-flex;
    min-width: 42px;
    min-height: 25px;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    padding: 0 7px;
    color: #f4cb62;
    background: rgba(225, 177, 65, .09);
    border: 1px solid rgba(225, 177, 65, .20);
    border-radius: 6px;
    font-size: .61rem;
    font-weight: 900;
}

.ashunt-sox-plus-degree,
.ashunt-sox-plus-character,
.ashunt-sox-plus-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ashunt-sox-plus-degree {
    min-height: 31px;
    padding: 0 10px;
    color: #d6a941;
    background: rgba(225, 177, 65, .07);
    border: 1px solid rgba(225, 177, 65, .18);
    border-radius: 7px;
    font-size: .66rem;
    font-weight: 900;
}

.ashunt-sox-plus-character {
    color: #e7ebf1 !important;
    text-decoration: none !important;
    font-size: .68rem;
    font-weight: 800;
}

.ashunt-sox-plus-character i {
    color: #d0a13a;
}

.ashunt-sox-plus-character.is-empty {
    color: #718096 !important;
}

.ashunt-sox-plus-time {
    color: #dfe5ee;
}

.ashunt-sox-plus-time i {
    color: #728096;
}

.ashunt-sox-plus-empty-row td {
    padding: 0 !important;
    border: 0 !important;
}

.ashunt-sox-plus-empty {
    display: flex;
    min-height: 300px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 46px 20px;
    text-align: center;
}

.ashunt-sox-plus-empty__icon {
    display: inline-flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #d7aa42;
    background:
        radial-gradient(
            circle,
            rgba(225, 177, 65, .12),
            rgba(225, 177, 65, .035)
        );
    border: 1px solid rgba(225, 177, 65, .20);
    border-radius: 17px;
}

.ashunt-sox-plus-empty strong {
    color: #edf1f6;
    font-size: .84rem;
    font-weight: 900;
}

.ashunt-sox-plus-empty small {
    margin-top: 6px;
    color: #718096;
    font-size: .64rem;
}

@media (max-width: 767.98px) {
    .ashunt-sox-plus-panel__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .ashunt-sox-plus-table,
    .ashunt-sox-plus-table tbody,
    .ashunt-sox-plus-table tr,
    .ashunt-sox-plus-table td {
        display: block;
        width: 100%;
    }

    .ashunt-sox-plus-table thead {
        display: none;
    }

    .ashunt-sox-plus-table tbody {
        display: grid;
        gap: 10px;
        padding: 12px;
    }

    .ashunt-sox-plus-table tbody tr {
        overflow: hidden;
        background:
            linear-gradient(
                180deg,
                rgba(17, 22, 30, .96),
                rgba(10, 14, 20, .98)
            );
        border: 1px solid rgba(255, 255, 255, .065);
        border-radius: 11px;
    }

    .ashunt-sox-plus-table td {
        display: grid;
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 12px;
        align-items: center;
        padding: 11px 13px;
    }

    .ashunt-sox-plus-table td::before {
        content: attr(data-label);
        color: #667489;
        font-size: .54rem;
        font-weight: 900;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

    .ashunt-sox-plus-empty-row td {
        display: block;
    }

    .ashunt-sox-plus-empty-row td::before {
        display: none;
    }
}

/* =========================================================
   ASHUNT ITEM PLUS V2
========================================================= */

.ashunt-plus-records {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ashunt-plus-record-card {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            rgba(15, 20, 28, .98),
            rgba(7, 10, 15, .99)
        );
    border: 1px solid rgba(225, 177, 65, .20);
    border-radius: 15px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .03),
        0 15px 34px rgba(0, 0, 0, .23);
}

.ashunt-plus-record-card.is-all-time {
    border-color: rgba(239, 190, 82, .36);
}

.ashunt-plus-record-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: 0 16px;
    color: #d9aa40;
    background: rgba(225, 177, 65, .045);
    border-bottom: 1px solid rgba(255, 255, 255, .055);
    font-size: .56rem;
    font-weight: 900;
    letter-spacing: .11em;
}

.ashunt-plus-record-card__head i {
    color: #efbe52;
    font-size: .9rem;
}

.ashunt-plus-record-card__body {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-height: 112px;
    padding: 16px;
}

.ashunt-plus-record-item-icon {
    position: relative;
    display: block;
    width: 64px;
    height: 64px;
    overflow: hidden;
    background:
        radial-gradient(
            circle,
            rgba(225, 177, 65, .11),
            rgba(7, 10, 15, .96)
        );
    border: 1px solid rgba(225, 177, 65, .25);
    border-radius: 12px;
}

.ashunt-plus-base-icon {
    position: relative;
    z-index: 1;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    padding: 3px;
}

.ashunt-plus-seal {
    position: absolute !important;
    inset: 0 !important;
    z-index: 3 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    object-fit: cover !important;
    pointer-events: none;
}

.ashunt-plus-record-card__info {
    min-width: 0;
}

.ashunt-plus-record-card__info small {
    display: block;
    margin-bottom: 4px;
    color: #758297;
    font-size: .51rem;
    font-weight: 900;
    letter-spacing: .07em;
}

.ashunt-plus-record-card__info strong {
    display: block;
    overflow: hidden;
    color: #f0f3f7;
    font-size: .77rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ashunt-plus-record-type {
    display: block;
    margin-top: 3px;
    color: #b68d36;
    font-size: .56rem;
    font-weight: 800;
}

.ashunt-plus-record-player {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: #dce3ec !important;
    font-size: .65rem;
    font-weight: 800;
    text-decoration: none !important;
}

.ashunt-plus-record-player i {
    color: #c99a34;
}

.ashunt-plus-record-card__score {
    min-width: 88px;
    text-align: right;
}

.ashunt-plus-record-card__score b {
    display: block;
    color: #f4ca60;
    font-size: 1.65rem;
    font-weight: 950;
    line-height: 1;
}

.ashunt-plus-record-card__score span {
    display: block;
    margin-top: 7px;
    color: #6f7d91;
    font-size: .52rem;
    font-weight: 800;
    white-space: nowrap;
}

.ashunt-plus-record-card__empty {
    display: flex;
    min-height: 112px;
    align-items: center;
    justify-content: center;
    padding: 16px;
    color: #68768a;
    font-size: .67rem;
    font-weight: 800;
}

.ashunt-sox-plus-item__icon {
    position: relative;
}

.ashunt-plus-type {
    display: inline-flex;
    min-height: 29px;
    align-items: center;
    padding: 0 9px;
    border-radius: 7px;
    font-size: .61rem;
    font-weight: 900;
}

.ashunt-plus-type.is-normal {
    color: #9ba7b8;
    background: rgba(135, 149, 169, .07);
    border: 1px solid rgba(135, 149, 169, .15);
}

.ashunt-plus-type.is-sox {
    color: #efc158;
    background: rgba(225, 177, 65, .08);
    border: 1px solid rgba(225, 177, 65, .20);
}

.ashunt-plus-pagination {
    padding: 16px 18px;
    border-top: 1px solid rgba(255, 255, 255, .055);
}

@media (max-width: 767.98px) {
    .ashunt-plus-records {
        grid-template-columns: 1fr;
    }

    .ashunt-plus-record-card__body {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .ashunt-plus-record-item-icon {
        width: 54px;
        height: 54px;
    }

    .ashunt-plus-record-card__score {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, .05);
        text-align: left;
    }

    .ashunt-plus-record-card__score b {
        font-size: 1.35rem;
    }

    .ashunt-plus-record-card__score span {
        margin-top: 0;
    }
}
