@font-face {
    font-family: 'MinecraftVote';
    src: url('/fonts/minecraft/MinecraftRegular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MinecraftVote';
    src: url('/fonts/minecraft/MinecraftBold.otf') format('opentype');
    font-weight: 700 900;
    font-style: normal;
    font-display: swap;
}

.vote-page {
    min-height: 100vh;
    color: var(--oasis-text);
    background: var(--oasis-bg);
}

body.light-mode .vote-page {
    color: var(--oasis-text-light);
    background: var(--oasis-bg-light);
}

.vote-hero {
    position: relative;
    overflow: hidden;
    padding: calc(80px + clamp(3.5rem, 8vw, 7rem)) 0 clamp(3.5rem, 7vw, 6rem);
    background-image: url('../../images/shop_login_bg.jpg');
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--oasis-border);
}

body.light-mode .vote-hero {
    border-bottom-color: var(--oasis-border-light);
}

.vote-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 69% 42%, rgba(245, 158, 11, 0.22), transparent 34%),
        linear-gradient(90deg, rgba(12, 10, 8, 0.84) 0%, rgba(18, 14, 10, 0.52) 54%, rgba(12, 10, 8, 0.74) 100%),
        linear-gradient(180deg, rgba(10, 8, 6, 0.16), rgba(10, 8, 6, 0.5));
}

body.light-mode .vote-hero::before {
    background:
        radial-gradient(circle at 68% 32%, rgba(255, 177, 35, 0.24), transparent 32%),
        radial-gradient(circle at 30% 80%, rgba(33, 122, 91, 0.12), transparent 28%),
        linear-gradient(135deg, rgba(255, 244, 217, 0.92), rgba(234, 208, 154, 0.82));
}

.vote-hero .container {
    width: 100%;
    max-width: 1460px;
    padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.vote-hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(500px, 0.9fr);
    align-items: end;
    gap: clamp(2.5rem, 6vw, 6rem);
}

.vote-hero-copy {
    max-width: 780px;
}

.vote-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--oasis-primary);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.vote-title {
    max-width: 780px;
    margin: 0;
    color: var(--oasis-text);
    font-family: var(--font-display);
    font-size: clamp(3.1rem, 6.5vw, 6.4rem);
    font-weight: 900;
    line-height: 0.96;
    letter-spacing: 0;
    text-shadow: none;
}

body.light-mode .vote-title {
    color: var(--oasis-text-light);
    text-shadow: none;
}

.vote-subtitle {
    max-width: 650px;
    margin: var(--space-6) 0 0;
    color: var(--oasis-text-secondary);
    font-size: clamp(var(--text-base), 1.8vw, var(--text-xl));
    line-height: 1.7;
}

body.light-mode .vote-subtitle {
    color: var(--oasis-text-secondary-light);
}

.vote-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: var(--space-8);
}

.vote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 2.9rem;
    padding: 0.85rem 1.35rem;
    border-radius: var(--radius);
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.vote-btn:hover {
    transform: translateY(-2px);
}

.vote-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--oasis-primary), var(--oasis-accent-sun));
    box-shadow: 0 14px 30px rgba(245, 158, 11, 0.28);
}

.vote-btn-secondary {
    color: var(--oasis-text);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--oasis-border);
}

body.light-mode .vote-btn-secondary {
    color: var(--oasis-text-light);
    background: rgba(0, 0, 0, 0.04);
    border-color: var(--oasis-border-light);
}

.vote-hero-aside {
    position: relative;
    display: flex;
    flex-direction: column;
    align-self: end;
    width: 100%;
    min-width: 0;
}

.vote-hero-champion {
    position: relative;
    z-index: 4;
    align-self: center;
    display: inline-grid;
    width: fit-content;
    max-width: min(100%, 42rem);
    margin: 0 auto clamp(-1.15rem, -1.8vw, -0.65rem);
    padding: 0.65rem 1.1rem 0.75rem;
    overflow: hidden;
    color: var(--oasis-text);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--oasis-primary) 14%, transparent), transparent 54%),
        color-mix(in srgb, #000 58%, transparent);
    border: 1px solid color-mix(in srgb, var(--oasis-primary) 45%, transparent);
    border-radius: var(--radius);
    box-shadow:
        inset 0 1px 0 color-mix(in srgb, var(--oasis-text) 10%, transparent),
        0 12px 32px rgba(0, 0, 0, 0.32),
        0 0 30px color-mix(in srgb, var(--oasis-primary) 14%, transparent);
    backdrop-filter: blur(14px) saturate(130%);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    text-align: center;
}

.vote-hero-champion::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 0 28%, rgba(255, 255, 255, 0.24) 43%, transparent 58% 100%);
    transform: translateX(-115%);
    animation: voteChampionSweep 3.6s ease-in-out infinite;
    pointer-events: none;
}

.vote-hero-champion::after {
    content: "";
    position: absolute;
    inset: 0.22rem;
    border: 1px solid color-mix(in srgb, var(--oasis-primary-soft) 24%, transparent);
    border-radius: calc(var(--radius) - 0.15rem);
    pointer-events: none;
}

.vote-hero-champion-name {
    position: relative;
    z-index: 1;
    display: block;
    min-width: 0;
    font-family: 'MinecraftVote', monospace;
    font-size: clamp(1rem, 2.2vw, 1.55rem);
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0;
    text-align: center;
    text-shadow: none;
    filter: drop-shadow(0 0 14px color-mix(in srgb, var(--oasis-primary) 20%, transparent));
    overflow-wrap: anywhere;
}

.vote-hero-champion-name > span {
    display: inline-block;
    line-height: 1.25;
    vertical-align: middle;
}

.vote-hero-champion-name *,
.vote-hero-champion-name .minecraft-player-name,
.vote-hero-champion-name .minecraft-name-separator {
    font-family: inherit;
    letter-spacing: 0;
}

.vote-hero-champion-name .minecraft-name-separator {
    display: inline-block;
    width: clamp(0.7rem, 1vw, 1rem);
    min-width: clamp(0.7rem, 1vw, 1rem);
    color: transparent;
    text-shadow: none;
    filter: none;
}

body.light-mode .vote-hero-champion {
    color: var(--oasis-text-light);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--oasis-primary) 14%, transparent), transparent 54%),
        color-mix(in srgb, var(--oasis-card-light) 70%, transparent);
    border-color: color-mix(in srgb, var(--oasis-primary) 40%, var(--oasis-border-light));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.58),
        0 14px 34px rgba(139, 105, 20, 0.16),
        0 0 28px color-mix(in srgb, var(--oasis-primary) 12%, transparent);
}

body.light-mode .vote-hero-champion-name {
    text-shadow: none;
    filter: drop-shadow(0 0 12px color-mix(in srgb, var(--oasis-primary) 16%, transparent));
}

.vote-hero-character {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: min(100%, 620px);
    height: clamp(300px, 28vw, 430px);
    margin: 0 auto clamp(-1.5rem, -2vw, -0.75rem);
    pointer-events: none;
}

.vote-hero-character::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 48%;
    z-index: -1;
    width: min(72%, 360px);
    aspect-ratio: 1;
    border: 1px solid color-mix(in srgb, var(--oasis-primary-soft) 22%, transparent);
    border-radius: 50%;
    box-shadow:
        inset 0 0 80px color-mix(in srgb, var(--oasis-primary) 7%, transparent),
        0 0 80px color-mix(in srgb, var(--oasis-primary) 9%, transparent);
    transform: translate(-50%, -50%);
    animation: voteChampionHaloPulse 4.8s ease-in-out infinite;
}

.vote-hero-character::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 4%;
    z-index: -1;
    width: min(72%, 360px);
    height: 13%;
    border-radius: 50%;
    background: radial-gradient(
        ellipse,
        color-mix(in srgb, var(--oasis-primary-dark) 38%, rgba(0, 0, 0, 0.58)),
        transparent 70%
    );
    filter: blur(8px);
    transform: translateX(-50%);
}

.vote-hero-icon {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter:
        drop-shadow(0 24px 22px rgba(0, 0, 0, 0.38))
        drop-shadow(0 0 18px color-mix(in srgb, var(--oasis-primary) 12%, transparent));
    transform: translateY(2%);
    animation: voteHeroFloat 5s ease-in-out infinite;
}

@keyframes voteHeroFloat {
    0%, 100% { transform: translateY(2%); }
    50% { transform: translateY(-1%); }
}

@keyframes voteChampionSweep {
    0%, 48% { transform: translateX(-115%); }
    76%, 100% { transform: translateX(115%); }
}

@keyframes voteChampionHaloPulse {
    0%, 100% {
        box-shadow:
            inset 0 0 80px color-mix(in srgb, var(--oasis-primary) 7%, transparent),
            0 0 80px color-mix(in srgb, var(--oasis-primary) 9%, transparent);
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        box-shadow:
            inset 0 0 110px color-mix(in srgb, var(--oasis-primary) 12%, transparent),
            0 0 120px color-mix(in srgb, var(--oasis-accent-teal) 16%, transparent),
            0 0 60px color-mix(in srgb, var(--oasis-primary) 18%, transparent);
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.vote-hero-facts {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    overflow: hidden;
    background: color-mix(in srgb, var(--oasis-bg) 62%, transparent);
    border: 1px solid color-mix(in srgb, var(--oasis-primary) 18%, var(--oasis-border));
    border-radius: var(--radius-lg);
    box-shadow:
        inset 0 1px 0 color-mix(in srgb, var(--oasis-text) 7%, transparent),
        0 18px 42px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(14px) saturate(125%);
    -webkit-backdrop-filter: blur(14px) saturate(125%);
}

body.light-mode .vote-hero-facts {
    background: color-mix(in srgb, var(--oasis-card-light) 68%, transparent);
    border-color: color-mix(in srgb, var(--oasis-primary) 22%, var(--oasis-border-light));
}

.vote-hero-facts > div {
    min-width: 0;
    padding: var(--space-5) clamp(var(--space-4), 2vw, var(--space-6));
    border-left: 1px solid var(--oasis-border);
}

.vote-hero-facts > div:first-child {
    border-left: 0;
}

body.light-mode .vote-hero-facts > div {
    border-left-color: var(--oasis-border-light);
}

.vote-hero-facts dt {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    min-width: 0;
    margin: 0 0 var(--space-1);
    color: var(--oasis-text);
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.vote-hero-facts dt i {
    flex: 0 0 auto;
    color: var(--oasis-primary);
    font-size: var(--text-sm);
}

.vote-hero-facts dd {
    min-width: 0;
    margin: 0;
    color: var(--oasis-text-secondary);
    font-size: var(--text-xs);
    line-height: 1.4;
    overflow-wrap: anywhere;
}

body.light-mode .vote-hero-facts dt {
    color: var(--oasis-text-light);
}

body.light-mode .vote-hero-facts dd {
    color: var(--oasis-text-secondary-light);
}

.vote-podium-section,
.vote-rewards-section,
.vote-links-section {
    padding: 4.5rem 0;
}

.vote-podium-section,
.vote-rewards-section {
    background: var(--oasis-surface);
}

body.light-mode .vote-podium-section,
body.light-mode .vote-rewards-section {
    background: var(--oasis-surface-light);
}

.vote-links-section-priority {
    background:
        radial-gradient(circle at 8% 18%, color-mix(in srgb, var(--oasis-primary) 10%, transparent), transparent 34%),
        var(--oasis-bg);
    border-bottom: 1px solid var(--oasis-border);
}

body.light-mode .vote-links-section-priority {
    background:
        radial-gradient(circle at 8% 18%, color-mix(in srgb, var(--oasis-primary) 10%, transparent), transparent 34%),
        var(--oasis-bg-light);
    border-bottom-color: var(--oasis-border-light);
}

.vote-section-heading {
    margin-bottom: 2rem;
    text-align: center;
}

.vote-section-heading h2 {
    margin: 0.45rem 0 0;
    color: var(--oasis-text);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
}

body.light-mode .vote-section-heading h2 {
    color: var(--oasis-text-light);
}

.vote-section-heading-row {
    text-align: left;
}

.vote-board-shell {
    position: relative;
}

.vote-board-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.vote-board-switch {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    width: fit-content;
    max-width: 100%;
    margin: -0.45rem auto 0;
    padding: 0.35rem;
    background: color-mix(in srgb, var(--oasis-bg) 58%, var(--oasis-card));
    border: 1px solid var(--oasis-border);
    border-radius: var(--radius-lg);
    box-shadow:
        inset 0 1px 0 color-mix(in srgb, var(--oasis-text) 7%, transparent),
        0 16px 34px rgba(0, 0, 0, 0.18);
}

.vote-board-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 2.75rem;
    padding: 0.75rem 1.1rem;
    color: var(--oasis-text-secondary);
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.vote-board-tab:hover {
    color: var(--oasis-text);
    transform: translateY(-1px);
}

#vote-board-server:checked ~ .vote-board-switch label[for="vote-board-server"],
#vote-board-discord:checked ~ .vote-board-switch label[for="vote-board-discord"] {
    color: var(--oasis-text);
    background: color-mix(in srgb, var(--oasis-primary) 18%, var(--oasis-card));
    border-color: color-mix(in srgb, var(--oasis-primary) 48%, var(--oasis-border));
    box-shadow:
        inset 0 1px 0 color-mix(in srgb, var(--oasis-text) 10%, transparent),
        0 10px 24px color-mix(in srgb, var(--oasis-primary) 16%, transparent);
}

#vote-board-server:focus-visible ~ .vote-board-switch label[for="vote-board-server"],
#vote-board-discord:focus-visible ~ .vote-board-switch label[for="vote-board-discord"] {
    outline: 2px solid var(--oasis-primary);
    outline-offset: 3px;
}

body.light-mode .vote-board-switch {
    background: color-mix(in srgb, var(--oasis-card-light) 82%, var(--oasis-surface-light));
    border-color: var(--oasis-border-light);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.58),
        0 14px 28px rgba(139, 105, 20, 0.12);
}

body.light-mode .vote-board-tab {
    color: var(--oasis-text-secondary-light);
}

body.light-mode .vote-board-tab:hover,
body.light-mode #vote-board-server:checked ~ .vote-board-switch label[for="vote-board-server"],
body.light-mode #vote-board-discord:checked ~ .vote-board-switch label[for="vote-board-discord"] {
    color: var(--oasis-text-light);
}

body.light-mode #vote-board-server:checked ~ .vote-board-switch label[for="vote-board-server"],
body.light-mode #vote-board-discord:checked ~ .vote-board-switch label[for="vote-board-discord"] {
    background: color-mix(in srgb, var(--oasis-primary) 16%, var(--oasis-card-light));
    border-color: color-mix(in srgb, var(--oasis-primary) 38%, var(--oasis-border-light));
    box-shadow: 0 10px 22px rgba(139, 105, 20, 0.13);
}

.vote-boards {
    margin-top: clamp(1.75rem, 4vw, 3rem);
}

.vote-board {
    display: none;
}

#vote-board-server:checked ~ .vote-boards .vote-board-server,
#vote-board-discord:checked ~ .vote-boards .vote-board-discord {
    display: block;
}

.vote-podium-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.18fr) minmax(0, 0.88fr);
    align-items: end;
    gap: 1rem;
    padding-top: clamp(2.5rem, 5vw, 4.5rem);
    perspective: 1200px;
}

.vote-podium-card {
    position: relative;
    display: flex;
    min-height: 26rem;
    flex-direction: column;
    justify-content: flex-end;
    isolation: isolate;
    overflow: visible;
    padding: 1rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
        var(--oasis-card);
    border: 1px solid var(--oasis-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.18);
    transform: translateY(0) rotateX(0);
    transform-style: preserve-3d;
    transition:
        transform 0.28s cubic-bezier(0.2, 0.85, 0.28, 1.18),
        border-color 0.28s ease,
        box-shadow 0.28s ease;
    will-change: transform;
}

.vote-podium-card::before {
    content: "";
    position: absolute;
    inset: -0.6rem;
    z-index: -1;
    border-radius: calc(var(--radius-lg) + 0.6rem);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--oasis-primary) 18%, transparent), transparent 40%),
        linear-gradient(315deg, color-mix(in srgb, var(--oasis-accent-teal) 18%, transparent), transparent 44%);
    opacity: 0;
    filter: blur(18px);
    transition: opacity 0.28s ease, transform 0.28s ease;
    transform: scale(0.96);
    pointer-events: none;
}

.vote-podium-card:hover,
.vote-podium-card:focus-within {
    transform: translateY(-0.75rem) rotateX(3deg);
    border-color: color-mix(in srgb, var(--oasis-primary) 62%, var(--oasis-accent-teal));
    box-shadow:
        0 34px 70px rgba(0, 0, 0, 0.3),
        0 0 0 1px color-mix(in srgb, var(--oasis-primary) 18%, transparent),
        0 0 44px color-mix(in srgb, var(--oasis-accent-teal) 18%, transparent);
}

.vote-podium-card:hover::before,
.vote-podium-card:focus-within::before {
    opacity: 1;
    transform: scale(1);
}

body.light-mode .vote-podium-card {
    background: var(--oasis-card-light);
    border-color: var(--oasis-border-light);
    box-shadow: 0 20px 42px rgba(139, 105, 20, 0.14);
}

body.light-mode .vote-podium-card:hover,
body.light-mode .vote-podium-card:focus-within {
    box-shadow:
        0 28px 58px rgba(139, 105, 20, 0.2),
        0 0 0 1px color-mix(in srgb, var(--oasis-primary) 22%, transparent),
        0 0 36px color-mix(in srgb, var(--oasis-accent-teal) 16%, transparent);
}

.vote-podium-first {
    min-height: 31rem;
    border-color: color-mix(in srgb, var(--oasis-accent-teal) 60%, var(--oasis-primary));
    box-shadow:
        0 26px 70px rgba(0, 0, 0, 0.26),
        0 0 0 1px rgba(52, 211, 153, 0.22),
        0 0 34px rgba(52, 211, 153, 0.2);
}

.vote-podium-first::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background:
        linear-gradient(115deg, transparent 0 30%, color-mix(in srgb, var(--oasis-primary-soft) 16%, transparent) 43%, transparent 57% 100%),
        radial-gradient(ellipse at 50% 18%, color-mix(in srgb, var(--oasis-accent-teal) 14%, transparent), transparent 48%);
    opacity: 0.78;
    pointer-events: none;
}

.vote-podium-first .vote-rank-chip {
    background:
        linear-gradient(135deg, var(--oasis-primary), var(--oasis-accent-sun)),
        var(--oasis-primary);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--oasis-text) 10%, transparent),
        0 12px 28px rgba(245, 158, 11, 0.26);
}

.vote-rank-chip {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    min-height: 2.25rem;
    padding: 0 0.75rem;
    color: #111827;
    background: linear-gradient(135deg, var(--oasis-primary-soft), var(--oasis-accent-sun-soft));
    border-radius: var(--radius);
    font-weight: 900;
}

.vote-skin-stage {
    position: absolute;
    right: 0;
    bottom: 6.75rem;
    left: 0;
    z-index: 1;
    height: clamp(17rem, 25vw, 21rem);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
    pointer-events: auto;
    transform: translateZ(2rem);
    transform-style: preserve-3d;
}

.vote-podium-first .vote-skin-stage {
    bottom: 7.1rem;
    height: clamp(21rem, 30vw, 27rem);
}

.vote-skin-stage::before {
    content: "";
    position: absolute;
    bottom: 9%;
    left: 50%;
    z-index: 0;
    width: min(72%, 15rem);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        conic-gradient(
            from 210deg,
            transparent,
            color-mix(in srgb, var(--oasis-primary) 34%, transparent),
            transparent 32%,
            color-mix(in srgb, var(--oasis-accent-teal) 24%, transparent),
            transparent 62%,
            color-mix(in srgb, var(--oasis-accent-sun) 28%, transparent),
            transparent
        );
    opacity: 0;
    -webkit-mask-image: radial-gradient(circle, transparent 0 50%, #000 52% 64%, transparent 66%);
    mask-image: radial-gradient(circle, transparent 0 50%, #000 52% 64%, transparent 66%);
    transform: translateX(-50%) rotate(0deg) scale(0.82);
    transition: opacity 0.24s ease, transform 0.28s ease;
    pointer-events: none;
}

.vote-skin-stage::after {
    content: "";
    position: absolute;
    right: 22%;
    bottom: 0.3rem;
    left: 22%;
    height: 0.9rem;
    border-radius: var(--radius-full);
    background: rgba(0, 0, 0, 0.34);
    filter: blur(7px);
    transition: transform 0.28s ease, opacity 0.28s ease;
}

body.light-mode .vote-skin-stage::after {
    background: rgba(92, 64, 18, 0.22);
}

.vote-skin-stage img {
    position: relative;
    z-index: 1;
    max-width: min(76%, 12rem);
    max-height: calc(100% + 3.5rem);
    object-fit: contain;
    filter:
        drop-shadow(0 20px 24px rgba(0, 0, 0, 0.48))
        saturate(1);
    cursor: pointer;
    transform: translateY(-1.25rem) scale(1);
    transform-origin: center bottom;
    transition:
        transform 0.36s cubic-bezier(0.14, 0.92, 0.24, 1.28),
        filter 0.28s ease;
    will-change: transform, filter;
}

.vote-podium-first .vote-skin-stage img {
    max-width: min(84%, 15rem);
}

.vote-podium-card:hover .vote-skin-stage::before,
.vote-podium-card:focus-within .vote-skin-stage::before,
.vote-skin-stage:hover::before {
    opacity: 0.82;
    transform: translateX(-50%) rotate(18deg) scale(1.14);
    animation: voteSkinAuraSpin 2.4s linear infinite;
}

.vote-podium-card:hover .vote-skin-stage::after,
.vote-podium-card:focus-within .vote-skin-stage::after,
.vote-skin-stage:hover::after {
    opacity: 0.72;
    transform: scaleX(1.28) translateY(0.28rem);
}

.vote-podium-card:hover .vote-skin-stage img,
.vote-podium-card:focus-within .vote-skin-stage img,
.vote-skin-stage:hover img {
    transform: translateY(-2.45rem) scale(1.15) rotate(-2deg);
    filter:
        drop-shadow(0 32px 26px rgba(0, 0, 0, 0.5))
        drop-shadow(0 0 18px color-mix(in srgb, var(--oasis-primary) 36%, transparent))
        saturate(1.18);
}

.vote-podium-first:hover .vote-skin-stage img,
.vote-podium-first:focus-within .vote-skin-stage img {
    transform: translateY(-3rem) scale(1.18) rotate(2deg);
}

@keyframes voteSkinAuraSpin {
    to {
        transform: translateX(-50%) rotate(378deg) scale(1.14);
    }
}

.vote-player-card-copy {
    position: relative;
    z-index: 2;
    min-height: 6.4rem;
    padding: 1rem;
    background: color-mix(in srgb, var(--oasis-bg) 74%, transparent);
    border: 1px solid color-mix(in srgb, var(--oasis-border) 80%, transparent);
    border-radius: var(--radius);
}

body.light-mode .vote-player-card-copy {
    background: rgba(255, 251, 235, 0.86);
    border-color: var(--oasis-border-light);
}

.vote-player-name,
.vote-row-player {
    display: block;
    min-width: 0;
    color: var(--oasis-text);
    font-weight: 900;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

body.light-mode .vote-player-name,
body.light-mode .vote-row-player {
    color: var(--oasis-text-light);
}

.minecraft-player-name {
    color: var(--oasis-text);
}

body.light-mode .minecraft-player-name {
    color: var(--oasis-text-light);
}

.vote-player-total {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    margin-top: 0.65rem;
    color: var(--oasis-accent-teal);
    font-size: 0.82rem;
    font-weight: 900;
}

.vote-reward-tease {
    display: block;
    margin-top: 0.55rem;
    color: var(--oasis-primary-soft);
    font-size: 0.72rem;
    font-weight: 800;
}

body.light-mode .vote-reward-tease {
    color: var(--oasis-primary-dark-effect);
}

.vote-leaderboard-panel {
    min-width: 0;
    padding: var(--space-4);
    background: color-mix(in srgb, var(--oasis-bg) 42%, var(--oasis-card));
    border: 1px solid var(--oasis-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}

.vote-leaderboard-panel-under-podium {
    margin-top: clamp(1.5rem, 4vw, 2.75rem);
}

body.light-mode .vote-leaderboard-panel {
    background: var(--oasis-card-light);
    border-color: var(--oasis-border-light);
    box-shadow: 0 16px 34px rgba(139, 105, 20, 0.12);
}

.vote-panel-heading {
    display: grid;
    gap: 0.35rem;
    margin-bottom: var(--space-4);
}

.vote-panel-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    color: var(--oasis-primary-soft);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.vote-panel-kicker i {
    color: var(--oasis-primary);
}

.vote-board-discord .vote-panel-kicker,
.vote-board-discord .vote-panel-kicker i {
    color: #8ea1ff;
}

.vote-panel-heading h3 {
    margin: 0;
    color: var(--oasis-text);
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 900;
    line-height: 1.1;
}

.vote-panel-heading p {
    margin: 0;
    color: var(--oasis-text-secondary);
    font-size: 0.82rem;
    font-weight: 700;
}

body.light-mode .vote-panel-heading h3 {
    color: var(--oasis-text-light);
}

body.light-mode .vote-panel-heading p {
    color: var(--oasis-text-secondary-light);
}

body.light-mode .vote-board-discord .vote-panel-kicker,
body.light-mode .vote-board-discord .vote-panel-kicker i {
    color: #4752c4;
}

.vote-leaderboard-list {
    display: grid;
    gap: 0.75rem;
}

.vote-leaderboard-row {
    position: relative;
    display: grid;
    grid-template-columns: 4.5rem 3rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
    overflow: hidden;
    background: var(--oasis-card);
    border: 1px solid var(--oasis-border);
    border-radius: var(--radius);
    transform: translateY(0);
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease;
}

.vote-leaderboard-row::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--oasis-primary) 12%, transparent), transparent 42%),
        linear-gradient(135deg, transparent 0 62%, color-mix(in srgb, var(--oasis-accent-teal) 10%, transparent));
    opacity: 0;
    transition: opacity 0.22s ease;
    pointer-events: none;
}

.vote-leaderboard-row > * {
    position: relative;
    z-index: 1;
}

.vote-leaderboard-row:hover,
.vote-leaderboard-row:focus-within {
    transform: translateY(-0.18rem) translateX(0.18rem);
    border-color: color-mix(in srgb, var(--oasis-primary) 54%, var(--oasis-border));
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.2),
        0 0 22px color-mix(in srgb, var(--oasis-primary) 8%, transparent);
}

.vote-leaderboard-row:hover::before,
.vote-leaderboard-row:focus-within::before {
    opacity: 1;
}

.vote-leaderboard-row:hover .vote-row-avatar,
.vote-leaderboard-row:focus-within .vote-row-avatar {
    transform: translateY(-0.08rem) scale(1.08) rotate(-2deg);
    border-color: var(--oasis-primary);
    box-shadow: 0 8px 18px rgba(245, 158, 11, 0.22);
}

body.light-mode .vote-leaderboard-row {
    background: var(--oasis-card-light);
    border-color: var(--oasis-border-light);
}

body.light-mode .vote-leaderboard-row:hover,
body.light-mode .vote-leaderboard-row:focus-within {
    border-color: color-mix(in srgb, var(--oasis-primary) 45%, var(--oasis-border-light));
    box-shadow:
        0 14px 28px rgba(139, 105, 20, 0.15),
        0 0 18px color-mix(in srgb, var(--oasis-primary) 10%, transparent);
}

.vote-row-rank {
    color: var(--oasis-primary-soft);
    font-size: var(--text-lg);
    font-weight: 900;
}

.vote-row-avatar {
    width: 3rem;
    height: 3rem;
    object-fit: cover;
    background: var(--oasis-surface);
    border: 2px solid var(--oasis-border);
    border-radius: var(--radius);
    transition:
        transform 0.22s cubic-bezier(0.2, 0.85, 0.3, 1.2),
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

body.light-mode .vote-row-avatar {
    background: var(--oasis-surface-light);
    border-color: var(--oasis-border-light);
}

.vote-row-total {
    justify-self: end;
    color: var(--oasis-accent-teal);
    font-weight: 900;
    white-space: nowrap;
}

.vote-discord-row {
    background: color-mix(in srgb, var(--oasis-card) 82%, #5865f2 6%);
    border: 1px solid color-mix(in srgb, var(--oasis-border) 84%, #5865f2 16%);
}

.vote-discord-row::before {
    background:
        linear-gradient(90deg, color-mix(in srgb, #5865f2 12%, transparent), transparent 42%),
        linear-gradient(135deg, transparent 0 62%, color-mix(in srgb, var(--oasis-primary) 8%, transparent));
}

.vote-discord-row:hover,
.vote-discord-row:focus-within {
    border-color: color-mix(in srgb, #5865f2 54%, var(--oasis-border));
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.2),
        0 0 20px color-mix(in srgb, #5865f2 12%, transparent);
}

body.light-mode .vote-discord-row {
    background: color-mix(in srgb, var(--oasis-card-light) 88%, #5865f2 5%);
    border-color: color-mix(in srgb, var(--oasis-border-light) 78%, #5865f2 22%);
}

body.light-mode .vote-discord-row:hover,
body.light-mode .vote-discord-row:focus-within {
    border-color: color-mix(in srgb, #5865f2 42%, var(--oasis-border-light));
    box-shadow:
        0 14px 28px rgba(139, 105, 20, 0.14),
        0 0 18px color-mix(in srgb, #5865f2 10%, transparent);
}

.vote-discord-avatar {
    image-rendering: pixelated;
    border-color: color-mix(in srgb, #5865f2 42%, var(--oasis-border));
}

.vote-discord-row .vote-row-player {
    display: grid;
    gap: 0.16rem;
}

.vote-discord-row .vote-row-player small {
    color: var(--oasis-text-secondary);
    font-size: 0.72rem;
    font-weight: 700;
}

.vote-discord-row .vote-row-total {
    color: #8ea1ff;
}

body.light-mode .vote-discord-avatar {
    border-color: color-mix(in srgb, #5865f2 34%, var(--oasis-border-light));
}

body.light-mode .vote-discord-row .vote-row-player small {
    color: var(--oasis-text-secondary-light);
}

body.light-mode .vote-discord-row .vote-row-total {
    color: #4752c4;
}

.vote-panel-empty {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    min-height: 4.85rem;
    padding: 1rem;
    color: var(--oasis-text-secondary);
    background: color-mix(in srgb, var(--oasis-surface) 72%, transparent);
    border: 1px dashed var(--oasis-border);
    border-radius: var(--radius);
    font-weight: 700;
}

.vote-panel-empty i {
    color: var(--oasis-primary);
}

body.light-mode .vote-panel-empty {
    color: var(--oasis-text-secondary-light);
    background: var(--oasis-surface-light);
    border-color: var(--oasis-border-light);
}

.vote-rewards-grid,
.vote-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
}

.vote-reward-card,
.vote-link-card {
    background: var(--oasis-card);
    border: 1px solid var(--oasis-border);
    border-radius: var(--radius-lg);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body.light-mode .vote-reward-card,
body.light-mode .vote-link-card {
    background: var(--oasis-card-light);
    border-color: var(--oasis-border-light);
}

.vote-reward-card {
    padding: 1.4rem;
}

.vote-reward-card-featured {
    border-color: color-mix(in srgb, var(--oasis-accent-teal) 50%, var(--oasis-primary));
    box-shadow: 0 0 28px rgba(52, 211, 153, 0.14);
}

.vote-reward-card:hover,
.vote-link-card:hover {
    transform: translateY(-3px);
    border-color: var(--oasis-primary);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.vote-reward-place {
    display: inline-flex;
    margin-bottom: 0.9rem;
    padding: 0.34rem 0.65rem;
    color: var(--oasis-primary-soft);
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.24);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.vote-reward-card h3 {
    margin: 0;
    color: var(--oasis-text);
    font-size: var(--text-xl);
}

body.light-mode .vote-reward-card h3 {
    color: var(--oasis-text-light);
}

.vote-reward-card p {
    margin: 0.7rem 0 0;
    color: var(--oasis-text-secondary);
    line-height: 1.6;
}

body.light-mode .vote-reward-card p {
    color: var(--oasis-text-secondary-light);
}

.vote-reward-card ul {
    display: grid;
    gap: 0.45rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.vote-reward-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: var(--oasis-text);
    font-size: 0.9rem;
}

body.light-mode .vote-reward-card li {
    color: var(--oasis-text-light);
}

.vote-reward-card li i {
    margin-top: 0.18rem;
    color: var(--oasis-accent-teal);
}

.vote-link-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    min-height: 7.25rem;
    padding: 1rem;
    color: var(--oasis-text);
    text-decoration: none;
}

body.light-mode .vote-link-card {
    color: var(--oasis-text-light);
}

.vote-link-icon {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    overflow: hidden;
    color: #062c24;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.58)),
        linear-gradient(135deg, var(--oasis-accent-teal), var(--oasis-accent-coral));
    border: 1px solid color-mix(in srgb, var(--oasis-primary) 18%, transparent);
    border-radius: var(--radius);
}

.vote-link-icon img {
    display: block;
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    border-radius: 0.35rem;
}

.vote-link-icon img ~ i {
    display: none;
}

.vote-link-copy {
    display: grid;
    min-width: 0;
    gap: 0.25rem;
}

.vote-link-copy strong {
    color: inherit;
    font-size: 1rem;
}

.vote-link-copy small,
.vote-link-lore {
    color: var(--oasis-text-secondary);
    font-size: 0.78rem;
}

body.light-mode .vote-link-copy small,
body.light-mode .vote-link-lore {
    color: var(--oasis-text-secondary-light);
}

.vote-link-lore {
    display: grid;
    gap: 0.15rem;
    margin-top: 0.35rem;
}

.vote-link-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.75rem;
    padding: 0.68rem 0.9rem;
    color: #1b1307;
    background: linear-gradient(135deg, var(--oasis-primary), var(--oasis-accent-sun));
    border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.2);
    font-weight: 900;
}

body.light-mode .vote-link-action {
    color: #3a2103;
}

.vote-empty-state {
    max-width: 44rem;
    margin: 0 auto;
    padding: 2.5rem;
    color: var(--oasis-text-secondary);
    background: var(--oasis-card);
    border: 1px dashed var(--oasis-border);
    border-radius: var(--radius-lg);
    text-align: center;
}

body.light-mode .vote-empty-state {
    color: var(--oasis-text-secondary-light);
    background: var(--oasis-card-light);
    border-color: var(--oasis-border-light);
}

.vote-empty-state i {
    color: var(--oasis-primary);
    font-size: 2rem;
}

.vote-empty-state h3 {
    margin: 0.8rem 0 0.35rem;
    color: var(--oasis-text);
}

body.light-mode .vote-empty-state h3 {
    color: var(--oasis-text-light);
}

.vote-empty-state p {
    margin: 0;
}

.vote-empty-state-compact {
    max-width: none;
    grid-column: 1 / -1;
}

@media (max-width: 1024px) {
    .vote-hero-layout {
        grid-template-columns: 1fr;
    }

    .vote-hero-aside {
        max-width: 640px;
        margin-inline: auto;
    }

    .vote-podium-grid {
        grid-template-columns: 1fr;
        max-width: 30rem;
        margin: 0 auto;
        padding-top: 3.25rem;
    }

    .vote-podium-card,
    .vote-podium-first {
        min-height: 29rem;
    }

    .vote-rewards-grid,
    .vote-links-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .vote-hero {
        padding: calc(80px + 2.75rem) 0 3rem;
    }

    .vote-title {
        font-size: clamp(2.65rem, 14vw, 4.25rem);
    }

    .vote-hero-character {
        height: clamp(240px, 76vw, 330px);
    }

    .vote-hero-facts {
        grid-template-columns: 1fr;
    }

    .vote-hero-facts > div,
    .vote-hero-facts > div:first-child {
        border-left: 0;
        border-top: 1px solid var(--oasis-border);
    }

    .vote-hero-facts > div:first-child {
        border-top: 0;
    }

    body.light-mode .vote-hero-facts > div {
        border-top-color: var(--oasis-border-light);
    }

    .vote-leaderboard-row {
        grid-template-columns: 3.5rem 3rem minmax(0, 1fr);
    }

    .vote-row-total {
        grid-column: 3;
        justify-self: start;
        margin-top: -0.45rem;
        font-size: 0.85rem;
    }

    .vote-board-switch {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr;
    }

    .vote-board-tab {
        width: 100%;
    }

    .vote-link-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .vote-link-action {
        grid-column: 2;
    }
}
