/* Boss Time — isolated stylesheet so deployment does not depend on style.css cache. */
#Mcontainer.boss-time-page {
    width: 820px;
    max-width: 96%;
    padding: 22px 24px 28px;
    box-sizing: border-box;
}

.boss-time-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 14px;
}
.boss-time-heading h1 {
    margin: 0 0 5px;
    color: #f2dfb5;
    font-size: 28px;
    line-height: 1;
}
.boss-time-heading p {
    margin: 0;
    color: #a68f5c;
    font-size: 12px;
}
.boss-time-clock {
    min-width: 205px;
    padding: 9px 12px;
    border: 1px solid #8a5e1d;
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(43, 27, 9, .92), rgba(4, 3, 2, .9));
    box-shadow: inset 0 0 18px rgba(207, 145, 57, .08);
    text-align: center;
}
.boss-time-clock span,
.boss-time-clock small {
    display: block;
    color: #a68f5c;
    font-size: 9px;
    font-weight: bold;
    letter-spacing: .09em;
}
.boss-time-clock strong {
    display: block;
    margin: 4px 0;
    color: #ffd375;
    font: bold 14px Arial, sans-serif;
    font-variant-numeric: tabular-nums;
}
.boss-time-note {
    margin-bottom: 14px;
    padding: 10px 12px;
    border: 1px solid #3d2d16;
    border-left: 3px solid #cf9139;
    border-radius: 4px;
    background: rgba(207, 145, 57, .07);
    color: #bba77d;
    font-size: 11px;
    line-height: 1.45;
}

.boss-time-filters {
    display: grid;
    grid-template-columns: minmax(160px, 1.2fr) minmax(150px, 1fr) minmax(145px, .9fr) auto;
    gap: 10px;
    align-items: end;
    margin-bottom: 10px;
    padding: 12px;
    border: 1px solid #3a2f1a;
    border-radius: 6px;
    background: rgba(0, 0, 0, .5);
}
.boss-time-filters label {
    display: block;
    min-width: 0;
}
.boss-time-filters label > span {
    display: block;
    margin-bottom: 5px;
    color: #cf9139;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}
.boss-time-filters input,
.boss-time-filters select {
    width: 100%;
    height: 34px;
    padding: 0 9px;
    box-sizing: border-box;
    border: 1px solid #513a17;
    border-radius: 4px;
    outline: none;
    background: #1d120c;
    color: #e3d4b3;
    font: 11px Arial, sans-serif;
}
.boss-time-filters input:focus,
.boss-time-filters select:focus {
    border-color: #cf9139;
    box-shadow: 0 0 0 1px rgba(207, 145, 57, .18);
}
.boss-filter-actions {
    display: flex;
    gap: 6px;
}
.boss-filter-reset,
.boss-refresh {
    height: 34px;
    padding: 0 11px;
    border: 1px solid #6f501d;
    border-radius: 4px;
    background: linear-gradient(#26190b, #130c06);
    color: #cf9139;
    font: bold 10px Arial, sans-serif;
    text-transform: uppercase;
    cursor: pointer;
}
.boss-filter-reset:hover,
.boss-refresh:hover {
    border-color: #d89b3c;
    color: #ffe2a0;
}
.boss-refresh:disabled {
    opacity: .55;
    cursor: wait;
}
.boss-time-summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px 14px;
    min-height: 16px;
    margin: 0 2px 10px;
    color: #8f7b52;
    font-size: 10px;
    text-transform: uppercase;
}
.boss-time-summary b {
    color: #d7c59f;
}
.boss-time-summary .is-respawning b { color: #e59643; }
.boss-time-summary .is-alive b { color: #65c36f; }
.boss-time-message {
    padding: 18px;
    color: #a68f5c;
    text-align: center;
}

.boss-time-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.boss-card {
    min-width: 0;
    padding: 12px;
    border: 1px solid #3a2f1a;
    border-radius: 7px;
    background:
        linear-gradient(135deg, rgba(44, 29, 10, .32), rgba(0, 0, 0, .2)),
        rgba(0, 0, 0, .62);
    box-shadow: inset 0 0 22px rgba(0, 0, 0, .35);
}
.boss-card:hover {
    border-color: #6f501d;
    background-color: rgba(20, 12, 4, .75);
}
.boss-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}
.boss-card h3 {
    margin: 0;
    color: #f2dfb5;
    font-size: 15px;
}
.boss-card-head p {
    margin: 3px 0 0;
    color: #8f7b52;
    font-size: 10px;
}
.boss-state {
    flex: 0 0 auto;
    padding: 3px 6px;
    border: 1px solid currentColor;
    border-radius: 3px;
    font: bold 8px Arial, sans-serif;
    letter-spacing: .04em;
}
.boss-status-dead .boss-state { color: #e59643; }
.boss-status-expected_alive .boss-state { color: #65c36f; }
.boss-status-unknown .boss-state { color: #999; }
.boss-countdown {
    margin: 12px 0;
    color: #ffd375;
    font: bold 23px Arial, sans-serif;
    text-align: center;
    font-variant-numeric: tabular-nums;
    letter-spacing: .04em;
    text-shadow: 0 1px 8px rgba(255, 175, 45, .2);
}
.boss-status-expected_alive .boss-countdown {
    color: #65c36f;
}
.boss-card-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px 12px;
    padding-top: 9px;
    border-top: 1px solid #2e2717;
}
.boss-card-details div {
    min-width: 0;
}
.boss-card-details span,
.boss-card-details strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.boss-card-details span {
    color: #806f4d;
    font-size: 9px;
    text-transform: uppercase;
}
.boss-card-details strong {
    margin-top: 2px;
    color: #d7c59f;
    font-size: 10px;
}

.boss-history {
    margin-top: 22px;
}
.boss-history h2 {
    margin: 0 0 9px;
    color: #cf9139;
    font-size: 17px;
}
.boss-history-list {
    border: 1px solid #3a2f1a;
    border-radius: 6px;
    overflow: hidden;
}
.boss-history-row {
    display: grid;
    grid-template-columns: 145px 1fr 1.2fr;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    border-bottom: 1px solid #2e2717;
    background: rgba(0, 0, 0, .48);
    color: #bba77d;
    font-size: 10px;
}
.boss-history-row:nth-child(even) {
    background: rgba(207, 145, 57, .035);
}
.boss-history-row:last-child { border-bottom: 0; }
.boss-history-row time {
    color: #8f7b52;
    font-variant-numeric: tabular-nums;
}
.boss-history-row strong,
.boss-history-row b { color: #ead8b0; }
.boss-history-row small {
    grid-column: 3;
    color: #806f4d;
}

@media screen and (max-width: 760px) {
    #Mcontainer.boss-time-page {
        padding: 16px 14px 22px;
    }
    .boss-time-heading {
        align-items: stretch;
        flex-direction: column;
    }
    .boss-time-clock {
        min-width: 0;
    }
    .boss-time-filters {
        grid-template-columns: 1fr 1fr;
    }
    .boss-filter-actions {
        align-self: end;
    }
    .boss-time-grid {
        grid-template-columns: 1fr;
    }
}
@media screen and (max-width: 460px) {
    .boss-time-filters {
        grid-template-columns: 1fr;
    }
    .boss-filter-actions button {
        flex: 1;
    }
    .boss-history-row {
        grid-template-columns: 1fr;
    }
    .boss-history-row small {
        grid-column: auto;
    }
}
