/* Vote & rewards. Page-scoped presentation; shared voting actions are unchanged. */
.rh-vote-page.rh-vote-design {
    width: min(1180px, calc(100% - 48px));
    margin: 48px auto 56px;
    color: #f5f7f8;
    font-family: Arial, sans-serif;
}

.rh-vote-design [hidden] {
    display: none !important;
}

.rh-vote-page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.rh-vote-design .rh-vote-page-heading h1 {
    font-size: clamp(30px, 3.5vw, 44px);
    line-height: 1.12;
    letter-spacing: -1.2px;
}

.rh-vote-design .rh-vote-page-heading p {
    margin-top: 10px;
    font-size: 16px;
}

.rh-vote-heading-actions {
    display: flex;
    flex-shrink: 0;
    gap: 10px;
}

.rh-vote-design .rh-vote-button {
    min-height: 46px;
    padding: 12px 20px;
    line-height: 1.3;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
    text-decoration: none !important;
}

.rh-vote-design .rh-vote-button.secondary {
    background: #0b1419;
    border-color: #42555f;
    color: #f5f7f8;
}

.rh-vote-design .rh-vote-button.secondary:hover {
    background: #162229;
    border-color: #8196a1;
}

.rh-vote-design .rh-vote-button.primary {
    background: #f0441c;
    border-color: #f0441c;
    color: #fff;
}

.rh-vote-design .rh-vote-button.primary:hover:not(:disabled) {
    background: #ff542a;
    border-color: #ff542a;
}

.rh-vote-design .rh-vote-button:disabled {
    opacity: .65;
    cursor: wait;
}

.rh-vote-design .rh-vote-button:focus-visible {
    outline: 2px solid #f5f7f8;
    outline-offset: 4px;
}

.rh-vote-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.23fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 20px;
}

.rh-vote-support-card,
.rh-vote-status-card,
.rh-vote-reward-card {
    min-width: 0;
    background: #0c161b;
    border: 1px solid #263740;
    border-radius: 9px;
}

.rh-vote-support-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.rh-vote-design .rh-vote-artwork {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    background: #081014;
    border-bottom: 1px solid #263740;
}

.rh-vote-support-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding: 26px;
}

.rh-vote-design .rh-vote-eyebrow {
    display: block;
    margin: 0 0 12px;
    color: #ff572e;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.rh-vote-design #supported-server {
    margin: 0;
    font-size: clamp(24px, 2.25vw, 30px);
    line-height: 1.23;
    letter-spacing: -.65px;
    overflow-wrap: anywhere;
}

.rh-vote-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}

.rh-vote-tags li {
    max-width: 100%;
    padding: 6px 10px;
    border: 1px solid #2a3d47;
    border-radius: 5px;
    background: #111f26;
    color: #c8d6de;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .7px;
    line-height: 1.5;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.rh-vote-support-footer {
    margin-top: auto;
    padding-top: 26px;
}

.rh-vote-server-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 0 22px;
    padding-top: 22px;
    border-top: 1px solid #273940;
}

.rh-vote-server-stats > div {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: 4px;
    min-width: 0;
}

.rh-vote-server-stats > div + div {
    padding-left: 26px;
    border-left: 1px solid #273940;
}

.rh-vote-server-stats dt {
    color: #a0b8c6;
    font-size: 13px;
}

.rh-vote-server-stats dd {
    margin: 0;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.rh-vote-design .rh-vote-bottom-action {
    display: flex;
    width: 100%;
    min-height: 48px;
}

.rh-vote-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.rh-vote-status-card,
.rh-vote-reward-card {
    padding: 26px;
}

.rh-vote-state {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 6px 10px;
    border: 1px solid #704231;
    border-radius: 5px;
    background: #2a1d18;
    color: #ffb59c;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.rh-vote-state.is-recorded {
    background: #102e24;
    border-color: #24604a;
    color: #83e5ba;
}

.rh-vote-state-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.rh-vote-design .rh-vote-status-card h2 {
    margin: 0;
    font-size: clamp(23px, 2vw, 27px);
    line-height: 1.22;
    letter-spacing: -.5px;
}

.rh-vote-design .rh-vote-status-copy {
    margin-top: 9px;
    font-size: 14px;
    line-height: 1.55;
}

.rh-vote-design [data-vote-page-form] {
    margin: 20px 0;
}

.rh-vote-timer {
    padding: 18px 20px 17px;
    background: #091217;
    border: 1px solid #263c47;
    border-radius: 7px;
}

.rh-vote-timer .rh-vote-eyebrow {
    margin-bottom: 13px;
    font-size: 10px;
}

.rh-vote-clock {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 6px;
    text-align: center;
}

.rh-vote-clock strong,
.rh-vote-clock b {
    display: block;
    font-size: 34px;
    line-height: 1.05;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.rh-vote-clock b {
    color: #59717e;
    font-size: 26px;
}

.rh-vote-clock span {
    display: block;
    margin-top: 7px;
    color: #9cb2c0;
    font-size: 10px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.rh-vote-ready-action .rh-vote-button {
    display: flex;
    width: 100%;
}

.rh-vote-design .rh-vote-ready-action p,
.rh-vote-design .rh-vote-no-js {
    margin-top: 10px;
    font-size: 12px;
}

.rh-vote-steam-account {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.rh-vote-steam-account img {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    object-fit: cover;
    border: 1px solid #30434d;
    border-radius: 7px;
}

.rh-vote-steam-account > div {
    min-width: 0;
}

.rh-vote-steam-account strong,
.rh-vote-steam-account span {
    display: block;
    overflow-wrap: anywhere;
}

.rh-vote-steam-account strong {
    font-size: 13px;
}

.rh-vote-steam-account span {
    color: #9cb2c0;
    font-size: 12px;
}

.rh-vote-reward-card {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.rh-vote-reward-summary {
    display: grid;
    grid-template-columns: minmax(100px, 142px) minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    margin: 4px 0 14px;
}

.rh-vote-design .rh-vote-reward-summary .rh-spin2win-coin {
    width: 100%;
    height: auto;
    max-width: 142px;
    aspect-ratio: 1;
    object-fit: contain;
}

.rh-vote-coin-count {
    display: block;
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1px;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.rh-vote-coin-label {
    display: block;
    margin-top: 4px;
    color: #aec3ce;
    font-size: 14px;
}

.rh-vote-design .rh-vote-reward-copy p {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.6;
}

.rh-vote-design .rh-vote-reward-help {
    margin: auto 0 18px;
    font-size: 12px;
    line-height: 1.5;
}

.rh-vote-guest-balance {
    display: block;
    font-size: 22px;
    line-height: 1.25;
}

.rh-vote-design .rh-vote-sign-in {
    display: flex;
    margin-top: 24px;
}

.rh-vote-design .rh-vote-guest-note {
    margin-top: 16px;
    font-size: 12px;
}

.rh-vote-design .rh-vote-ranking-note {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #263740;
    color: #9cb2c0;
    text-align: center;
    font-size: 12px;
    line-height: 1.7;
}

.rh-vote-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1000px) {
    .rh-vote-layout {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        gap: 16px;
    }

    .rh-vote-support-body,
    .rh-vote-status-card,
    .rh-vote-reward-card {
        padding: 20px;
    }

    .rh-vote-reward-summary {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 12px;
    }
}

@media (max-width: 760px) {
    .rh-vote-page.rh-vote-design {
        width: calc(100% - 32px);
        margin: 28px auto 40px;
    }

    .rh-vote-page-heading {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
        margin-bottom: 20px;
    }

    .rh-vote-heading-actions .rh-vote-button {
        flex: 1;
    }

    .rh-vote-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .rh-vote-design .rh-vote-page-heading p {
        font-size: 14px;
    }

    .rh-vote-support-body,
    .rh-vote-status-card,
    .rh-vote-reward-card {
        padding: 20px;
    }

    .rh-vote-design #supported-server {
        font-size: 24px;
    }

    .rh-vote-support-footer {
        padding-top: 22px;
    }

    .rh-vote-reward-summary {
        grid-template-columns: 126px minmax(0, 1fr);
    }

    .rh-vote-coin-count {
        font-size: 46px;
    }
}

@media (max-width: 360px) {
    .rh-vote-support-body,
    .rh-vote-status-card,
    .rh-vote-reward-card {
        padding: 16px;
    }

    .rh-vote-design .rh-vote-button {
        padding-inline: 12px;
        font-size: 13px;
    }

    .rh-vote-reward-summary {
        grid-template-columns: 100px minmax(0, 1fr);
    }

    .rh-vote-clock strong {
        font-size: 30px;
    }

    .rh-vote-timer {
        padding-inline: 12px;
    }

    .rh-vote-server-stats dt {
        font-size: 11px;
    }
}
