/* =========================================================
   ASHUNT JOB KILL HISTORY
   File: public/css/ashunt-job-kill.css
========================================================= */

:root {
    --ajob-panel: rgba(10, 14, 20, .97);
    --ajob-gold: #e1b141;
    --ajob-text: #edf1f6;
    --ajob-muted: #8290a4;
}

body:has(.ashunt-job-page) .card.downloads {
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body:has(.ashunt-job-page) .card.downloads > .card-header {
    display: none !important;
}

body:has(.ashunt-job-page) .card.downloads > .card-body {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.ashunt-job-page {
    display: flex;
    flex-direction: column;
    gap: 18px;
    color: var(--ajob-text);
}

.ashunt-job-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-job-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-job-title__eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #c59631;
    font-size: .56rem;
    font-weight: 900;
    letter-spacing: .13em;
}

.ashunt-job-title h1 {
    margin: 0;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.ashunt-job-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-job-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-job-panel__kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--ajob-gold);
    font-size: .56rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.ashunt-job-panel__head h2 {
    margin: 0;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 900;
}

.ashunt-job-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-job-list {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.ashunt-job-record {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(180px, .62fr)
        minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-height: 112px;
    padding: 16px 18px;
    background:
        linear-gradient(
            180deg,
            rgba(17, 22, 30, .96),
            rgba(10, 14, 20, .98)
        );
    border: 1px solid rgba(255, 255, 255, .065);
    border-radius: 13px;
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.ashunt-job-record:hover {
    transform: translateY(-1px);
    border-color: rgba(225, 177, 65, .22);
    box-shadow:
        inset 3px 0 0 rgba(225, 177, 65, .62),
        0 10px 24px rgba(0, 0, 0, .16);
}

.ashunt-job-player {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #edf1f6 !important;
    text-decoration: none !important;
}

.ashunt-job-player--dead {
    justify-content: flex-end;
    text-align: right;
}

.ashunt-job-player__avatar {
    display: inline-flex;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #c89938;
    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: 13px;
}

.ashunt-job-player--killer .ashunt-job-player__avatar {
    border-color: rgba(255, 149, 65, .34);
}

.ashunt-job-player--dead .ashunt-job-player__avatar {
    border-color: rgba(125, 112, 80, .34);
}

.ashunt-job-player__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.ashunt-job-player__text small {
    display: block;
    margin-bottom: 3px;
    color: #68758a;
    font-size: .52rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.ashunt-job-player__text strong {
    color: #edf1f6;
    font-size: .78rem;
    font-weight: 900;
}

.ashunt-job-versus {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    text-align: center;
}

.ashunt-job-versus__icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    color: #e1a33b;
    background:
        radial-gradient(
            circle,
            rgba(225, 177, 65, .12),
            rgba(225, 177, 65, .03)
        );
    border: 1px solid rgba(225, 177, 65, .22);
    border-radius: 50%;
}

.ashunt-job-versus > strong {
    color: #c98c37;
    font-size: .6rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.ashunt-job-versus__time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #77859a;
    font-size: .59rem;
    font-weight: 800;
}

.ashunt-job-versus__time small {
    color: #586578;
}

.ashunt-job-empty {
    display: flex;
    min-height: 330px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.ashunt-job-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-job-empty strong {
    color: #edf1f6;
    font-size: .84rem;
    font-weight: 900;
}

.ashunt-job-empty small {
    margin-top: 6px;
    color: #718096;
    font-size: .64rem;
}

@media (max-width: 900px) {
    .ashunt-job-record {
        grid-template-columns: 1fr;
    }

    .ashunt-job-player,
    .ashunt-job-player--dead {
        justify-content: center;
        text-align: center;
    }

    .ashunt-job-player--dead {
        flex-direction: row-reverse;
    }
}

@media (max-width: 575.98px) {
    .ashunt-job-panel__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .ashunt-job-player,
    .ashunt-job-player--dead {
        flex-direction: column;
    }
}