#rp-room-self-destruct-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    margin: 0 4px;
    padding: 5px 9px;
    border: 1px solid rgba(95, 255, 126, 0.28);
    border-radius: 8px;
    background: rgba(5, 11, 7, 0.72);
    color: #eaffef;
    font: 600 12px/1.2 system-ui, sans-serif;
    cursor: pointer;
}
#rp-room-self-destruct-button:hover {
    border-color: rgba(95, 255, 126, 0.72);
    background: rgba(95, 255, 126, 0.12);
}
#rp-room-self-destruct-button[data-active="true"] {
    border-color: rgba(95, 255, 126, 0.75);
    box-shadow: inset 0 0 0 1px rgba(95, 255, 126, 0.15);
}
#rp-room-self-destruct-button .rp-room-timer-main {
    color: #73ff91;
}
#rp-room-self-destruct-button .rp-room-timer-value {
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(237, 255, 242, 0.78);
    font-size: 11px;
}
#rp-room-self-destruct-button.rp-room-timer-floating {
    position: fixed;
    z-index: 2147483644;
    top: 70px;
    right: 120px;
}
.rp-room-timer-backdrop {
    position: fixed;
    z-index: 2147483646;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.62);
}
.rp-room-timer-panel {
    width: min(520px, calc(100vw - 32px));
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 18px;
    border: 1px solid rgba(95, 255, 126, 0.45);
    border-radius: 14px;
    background: #090d0a;
    color: #ecfff1;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.64);
    font: 14px/1.45 system-ui, sans-serif;
}
.rp-room-timer-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}
.rp-room-timer-panel-title {
    color: #73ff91;
    font-size: 18px;
    font-weight: 750;
}
.rp-room-timer-close {
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.06);
    color: #f1fff4;
    cursor: pointer;
}
.rp-room-timer-status {
    margin-bottom: 13px;
    padding: 10px 12px;
    border: 1px solid rgba(95, 255, 126, 0.2);
    border-radius: 8px;
    background: rgba(95, 255, 126, 0.06);
    font-weight: 650;
}
.rp-room-timer-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.rp-room-timer-option,
.rp-room-timer-custom button {
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
    color: #f2fff5;
    text-align: left;
    cursor: pointer;
}
.rp-room-timer-option:hover,
.rp-room-timer-custom button:hover {
    border-color: rgba(95, 255, 126, 0.65);
    background: rgba(95, 255, 126, 0.11);
}
.rp-room-timer-panel button:disabled,
.rp-room-timer-panel input:disabled,
.rp-room-timer-panel select:disabled {
    cursor: wait;
    opacity: 0.55;
}
.rp-room-timer-custom {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.rp-room-timer-custom-title {
    margin-bottom: 8px;
    color: #73ff91;
    font-weight: 700;
}
.rp-room-timer-custom-row {
    display: grid;
    grid-template-columns: minmax(80px, 1fr) minmax(100px, 1fr) auto;
    gap: 8px;
}
.rp-room-timer-custom input,
.rp-room-timer-custom select {
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
    color: #f2fff5;
}
.rp-room-timer-note {
    margin-top: 15px;
    color: rgba(235, 255, 240, 0.68);
    font-size: 12px;
}
.rp-room-timer-rights {
    margin-top: 9px;
    color: rgba(115, 255, 145, 0.72);
    font-size: 11px;
}
#rp-room-timer-toast {
    position: fixed;
    z-index: 2147483647;
    right: 18px;
    bottom: 18px;
    max-width: min(440px, calc(100vw - 36px));
    padding: 12px 14px;
    border: 1px solid rgba(95, 255, 126, 0.48);
    border-radius: 9px;
    background: rgba(8, 12, 10, 0.98);
    color: #ecfff1;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    font: 14px/1.4 system-ui, sans-serif;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity 140ms ease, transform 140ms ease;
}
#rp-room-timer-toast.show {
    opacity: 1;
    transform: translateY(0);
}
#rp-room-timer-toast[data-type="error"] {
    border-color: rgba(255, 91, 91, 0.75);
}
@media (max-width: 620px) {
    .rp-room-timer-options {
        grid-template-columns: 1fr;
    }
    .rp-room-timer-custom-row {
        grid-template-columns: 1fr;
    }
    #rp-room-self-destruct-button .rp-room-timer-main {
        display: none;
    }
}
