:root {
    --aet-panel: rgba(10, 14, 20, .96);
    --aet-line: rgba(255, 255, 255, .075);
    --aet-gold: #e1b141;
    --aet-text: #edf1f6;
}

body:has(.ashunt-event-times-page) .card.downloads {
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body:has(.ashunt-event-times-page) .card.downloads > .card-header {
    display: none !important;
}

body:has(.ashunt-event-times-page) .card.downloads > .card-body {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.ashunt-event-times-page {
    display: flex;
    flex-direction: column;
    gap: 18px;
    color: var(--aet-text);
}

.ashunt-event-times-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-event-times-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-event-times-title__eyebrow,
.ashunt-event-times-panel__kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--aet-gold);
    font-size: .56rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.ashunt-event-times-title h1,
.ashunt-event-times-panel__head h2 {
    margin: 0;
    color: #fff;
    font-weight: 900;
}

.ashunt-event-times-title h1 { font-size: 24px; }
.ashunt-event-times-panel__head h2 { font-size: 1.15rem; }

.ashunt-event-times-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-event-times-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-event-times-panel__legend {
    display: flex;
    gap: 8px;
}

.ashunt-event-times-panel__legend span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    gap: 7px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 8px;
    font-size: .61rem;
    font-weight: 800;
}

.ashunt-event-times-panel__legend .is-active { color: #67dda4; border-color: rgba(73,208,145,.20); }
.ashunt-event-times-panel__legend .is-planned { color: #efc15a; border-color: rgba(225,177,65,.20); }
.ashunt-event-times-panel__legend i { font-size: 7px; }

.ashunt-event-times-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.ashunt-event-times-table th,
.ashunt-event-times-table td {
    padding: 16px 18px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255,255,255,.055);
}

.ashunt-event-times-table th {
    color: #778499;
    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-event-times-table tbody tr {
    transition: background .18s ease, box-shadow .18s ease;
}

.ashunt-event-times-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-event-id {
    display: inline-flex;
    min-width: 42px;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    color: #d6a83e;
    background: rgba(225,177,65,.07);
    border: 1px solid rgba(225,177,65,.18);
    border-radius: 7px;
    font-size: .67rem;
    font-weight: 900;
}

.ashunt-event-name,
.ashunt-event-duration {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e4e9f0;
    font-size: .7rem;
    font-weight: 800;
}

.ashunt-event-name i { color: #d0a13a; }
.ashunt-event-duration { color: #aab4c2; }
.ashunt-event-duration i { color: #728096; }

.ashunt-event-countdown {
    display: inline-flex;
    min-width: 120px;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 11px;
    color: #f0c75f;
    background: linear-gradient(180deg, rgba(225,177,65,.10), rgba(84,58,13,.07));
    border: 1px solid rgba(225,177,65,.22);
    border-radius: 8px;
    font-size: .71rem;
    font-weight: 900;
}

.ashunt-event-countdown.is-finished {
    color: #ff7e88;
    border-color: rgba(255,109,122,.20);
    background: rgba(255,80,95,.06);
}

.ashunt-event-status {
    display: inline-flex;
    min-width: 88px;
    min-height: 31px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: .62rem;
    font-weight: 900;
    text-transform: uppercase;
}

.ashunt-event-status.is-active {
    color: #62d89e;
    background: rgba(69,204,140,.08);
    border: 1px solid rgba(69,204,140,.20);
}

.ashunt-event-status.is-planned {
    color: #efc15a;
    background: rgba(225,177,65,.08);
    border: 1px solid rgba(225,177,65,.20);
}

.ashunt-event-times-empty-row td { padding: 0 !important; border: 0 !important; }
.ashunt-event-times-empty {
    display: flex;
    min-height: 290px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 46px 20px;
    text-align: center;
}
.ashunt-event-times-empty__icon {
    display: inline-flex;
    width: 62px;
    height: 62px;
    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-event-times-empty strong { color: #edf1f6; font-size: .84rem; font-weight: 900; }
.ashunt-event-times-empty small { margin-top: 6px; color: #718096; font-size: .64rem; }

@media (max-width: 767.98px) {
    .ashunt-event-times-panel__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .ashunt-event-times-table,
    .ashunt-event-times-table tbody,
    .ashunt-event-times-table tr,
    .ashunt-event-times-table td {
        display: block;
        width: 100%;
    }

    .ashunt-event-times-table thead { display: none; }
    .ashunt-event-times-table tbody { display: grid; gap: 10px; padding: 12px; }

    .ashunt-event-times-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-event-times-table td {
        display: grid;
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 12px;
        align-items: center;
        padding: 11px 13px;
    }

    .ashunt-event-times-table td::before {
        content: attr(data-label);
        color: #667489;
        font-size: .54rem;
        font-weight: 900;
        letter-spacing: .06em;
        text-transform: uppercase;
    }
}