/* =========================================================
   ASHUNT SOX DROP HISTORY
   File: public/css/ashunt-sox-drop.css
========================================================= */

:root {
    --asd-panel: rgba(10, 14, 20, .97);
    --asd-gold: #e1b141;
    --asd-text: #edf1f6;
    --asd-muted: #8290a4;
}

body:has(.ashunt-sox-drop-page) .card.downloads {
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body:has(.ashunt-sox-drop-page)
.card.downloads > .card-header {
    display: none !important;
}

body:has(.ashunt-sox-drop-page)
.card.downloads > .card-body {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.ashunt-sox-drop-page {
    display: flex;
    flex-direction: column;
    gap: 18px;
    color: var(--asd-text);
}

.ashunt-sox-drop-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-drop-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-drop-title__eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #c59631;
    font-size: .56rem;
    font-weight: 900;
    letter-spacing: .13em;
}

.ashunt-sox-drop-title h1 {
    margin: 0;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.ashunt-sox-drop-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-drop-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-drop-panel__kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--asd-gold);
    font-size: .56rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.ashunt-sox-drop-panel__head h2 {
    margin: 0;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 900;
}

.ashunt-sox-drop-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-drop-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.ashunt-sox-drop-table th,
.ashunt-sox-drop-table td {
    padding: 15px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .055);
    text-align: left;
    vertical-align: middle;
}

.ashunt-sox-drop-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-drop-table tbody tr {
    transition:
        background .18s ease,
        box-shadow .18s ease;
}

.ashunt-sox-drop-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-drop-table tbody tr:last-child td {
    border-bottom: 0;
}

.ashunt-sox-drop-item,
.ashunt-sox-drop-monster,
.ashunt-sox-drop-time {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.ashunt-sox-drop-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-drop-item__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
}

.ashunt-sox-drop-item small,
.ashunt-sox-drop-monster small,
.ashunt-sox-drop-time small {
    display: block;
    margin-bottom: 2px;
    color: #667489;
    font-size: .52rem;
    font-weight: 900;
    letter-spacing: .07em;
}

.ashunt-sox-drop-item strong,
.ashunt-sox-drop-monster strong,
.ashunt-sox-drop-time strong {
    display: block;
    color: #edf1f6;
    font-size: .72rem;
    font-weight: 900;
}

.ashunt-sox-drop-degree {
    display: inline-flex;
    min-height: 31px;
    align-items: center;
    gap: 8px;
    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-drop-monster i {
    color: #ca8737;
}

.ashunt-sox-drop-character {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e7ebf1 !important;
    text-decoration: none !important;
    font-size: .68rem;
    font-weight: 800;
}

.ashunt-sox-drop-character i {
    color: #d0a13a;
}

.ashunt-sox-drop-character.is-empty {
    color: #718096 !important;
}

.ashunt-sox-drop-time {
    color: #dfe5ee;
}

.ashunt-sox-drop-time i {
    color: #728096;
}

.ashunt-sox-drop-empty-row td {
    padding: 0 !important;
    border: 0 !important;
}

.ashunt-sox-drop-empty {
    display: flex;
    min-height: 300px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 46px 20px;
    text-align: center;
}

.ashunt-sox-drop-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-drop-empty strong {
    color: #edf1f6;
    font-size: .84rem;
    font-weight: 900;
}

.ashunt-sox-drop-empty small {
    margin-top: 6px;
    color: #718096;
    font-size: .64rem;
}

@media (max-width: 767.98px) {
    .ashunt-sox-drop-panel__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .ashunt-sox-drop-table,
    .ashunt-sox-drop-table tbody,
    .ashunt-sox-drop-table tr,
    .ashunt-sox-drop-table td {
        display: block;
        width: 100%;
    }

    .ashunt-sox-drop-table thead {
        display: none;
    }

    .ashunt-sox-drop-table tbody {
        display: grid;
        gap: 10px;
        padding: 12px;
    }

    .ashunt-sox-drop-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-drop-table td {
        display: grid;
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 12px;
        align-items: center;
        padding: 11px 13px;
    }

    .ashunt-sox-drop-table td::before {
        content: attr(data-label);
        color: #667489;
        font-size: .54rem;
        font-weight: 900;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

    .ashunt-sox-drop-empty-row td {
        display: block;
    }

    .ashunt-sox-drop-empty-row td::before {
        display: none;
    }
}
/* ASHUNT_ITEM_DROP_GUIDE_V1 */

.ashunt-sox-drop-item__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.ashunt-sox-drop-item__icon > img:first-child {
    position: relative;
    z-index: 1;
}

.ashunt-sox-drop-item__seal {
    position: absolute !important;
    z-index: 2 !important;
    inset: -6px !important;
    width: calc(100% + 12px) !important;
    height: calc(100% + 12px) !important;
    max-width: none !important;
    pointer-events: none;
    object-fit: contain;
}

.ashunt-sox-drop-item__text {
    min-width: 0;
}

.ashunt-sox-drop-item__text small {
    display: block;
    opacity: .65;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.ashunt-sox-drop-item__text strong {
    display: block;
}

.ashunt-sox-drop-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    font-weight: 800;
    font-size: 16px;
}

.ashunt-sox-drop-time small {
    display: block;
}

