/* =========================================================
   TIMELESS MU - REALM POLL
========================================================= */

.timeless-poll {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 360px;
    padding: 24px 24px 20px;
    z-index: 9999;
    background:
        linear-gradient(
            145deg,
            rgba(13, 15, 20, 0.98),
            rgba(5, 6, 9, 0.98)
        );
    border: 1px solid rgba(199, 155, 73, 0.55);
    box-shadow:
        0 20px 60px rgba(0,0,0,.75),
        0 0 25px rgba(185, 132, 44, .08),
        inset 0 0 30px rgba(255,255,255,.015);
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px) scale(.97);
    transition:
        opacity .4s ease,
        transform .4s ease,
        visibility .4s;
    backdrop-filter: blur(12px);
}

.timeless-poll.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.timeless-poll::before {
    content: "";
    position: absolute;
    top: 0;
    left: 30px;
    right: 30px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        #d6a64e,
        transparent
    );
}

.timeless-poll-close {
    position: absolute;
    top: 7px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    color: #777;
    font-size: 22px;
    line-height: 30px;
    cursor: pointer;
    transition: .2s;
}

.timeless-poll-close:hover {
    color: #d6a64e;
}

.timeless-poll-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    font-family: "Cinzel", serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #c89a48;
}

.timeless-poll-kicker span {
    width: 28px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        #c89a48
    );
}

.timeless-poll-kicker span:last-child {
    background: linear-gradient(
        90deg,
        #c89a48,
        transparent
    );
}

.timeless-poll h3 {
    margin: 0 15px 20px;
    text-align: center;
    font-family: "Cinzel", serif;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 600;
    color: #eee7d9;
}

.timeless-poll-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeless-poll-option {
    position: relative;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.025);
    color: #bdb8ae;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    transition: .2s;
}

.timeless-poll-option:hover {
    border-color: rgba(207,158,73,.55);
    background: rgba(207,158,73,.08);
    color: #f2e4c8;
    transform: translateX(3px);
}

.timeless-poll-option:disabled {
    cursor: default;
    transform: none;
}

.timeless-poll-result {
    position: relative;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.05);
    background: rgba(255,255,255,.025);
    overflow: hidden;
}

.timeless-poll-result-bar {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(176,122,39,.30),
        rgba(210,163,79,.12)
    );
    pointer-events: none;
}

.timeless-poll-result-info {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    z-index: 2;
    color: #c9c4b9;
    font-size: 12px;
    font-weight: 600;
}

.timeless-poll-result-info strong {
    color: #d9ab58;
}

.timeless-poll-message {
    min-height: 18px;
    margin-top: 14px;
    text-align: center;
    color: #8f887e;
    font-size: 11px;
    letter-spacing: .5px;
}

@media (max-width: 600px) {
    .timeless-poll {
        width: auto;
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 22px 18px 18px;
    }

    .timeless-poll h3 {
        font-size: 16px;
    }
}
