:root {
    --bg: #070707;
    --bg-soft: rgba(18, 18, 18, 0.82);
    --panel: rgba(17, 17, 18, 0.92);
    --panel-strong: rgba(24, 24, 26, 0.98);
    --border: rgba(214, 180, 104, 0.16);
    --text: #f5f1e8;
    --text-soft: rgba(245, 241, 232, 0.68);
    --gold: #d8b46b;
    --gold-strong: #f1d18b;
    --pink: #d8b46b;
    --cyan: #d8b46b;
    --green: #d8b46b;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 18px;
    --container: min(1180px, calc(100vw - 32px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 50% 0%, rgba(216, 180, 107, 0.16), transparent 26%),
        radial-gradient(circle at 50% 18%, rgba(216, 180, 107, 0.08), transparent 30%),
        linear-gradient(180deg, #060606 0%, #0a0a0b 38%, #070707 100%);
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: auto;
    width: 38vw;
    height: 38vw;
    border-radius: 50%;
    filter: blur(70px);
    z-index: -2;
    opacity: 0.12;
    animation: floatGlow 18s ease-in-out infinite;
}

body::before {
    top: -14vw;
    left: 8vw;
    background: radial-gradient(circle, rgba(216, 180, 107, 0.9), rgba(216, 180, 107, 0.04) 62%, transparent 70%);
}

body::after {
    right: -14vw;
    bottom: -18vw;
    background: radial-gradient(circle, rgba(216, 180, 107, 0.55), rgba(216, 180, 107, 0.02) 65%, transparent 74%);
    animation-delay: -9s;
}

body.splash-active {
    overflow: hidden;
}

.page,
.floating-vote-bar,
.footer {
    transition: opacity 0.65s ease, transform 0.65s ease;
}

body.splash-active .page,
body.splash-active .floating-vote-bar,
body.splash-active .footer {
    opacity: 0;
    transform: translateY(20px) scale(0.992);
    pointer-events: none;
}

.splash-screen {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 18%, rgba(216, 180, 107, 0.18), transparent 20%),
        radial-gradient(circle at 50% 0%, rgba(255, 241, 201, 0.08), transparent 28%),
        linear-gradient(180deg, #060606 0%, #090909 38%, #050505 100%);
    z-index: 60;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

body.is-ready .splash-screen {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-stars,
.splash-orb {
    position: absolute;
    pointer-events: none;
}

.splash-stars {
    inset: 0;
    background-image:
        radial-gradient(circle at 16% 24%, rgba(255, 244, 213, 0.85) 0 1.5px, transparent 2px),
        radial-gradient(circle at 74% 18%, rgba(255, 244, 213, 0.8) 0 1.5px, transparent 2px),
        radial-gradient(circle at 26% 68%, rgba(255, 244, 213, 0.7) 0 1px, transparent 1.8px),
        radial-gradient(circle at 82% 62%, rgba(255, 244, 213, 0.75) 0 1.4px, transparent 2px),
        radial-gradient(circle at 56% 78%, rgba(255, 244, 213, 0.6) 0 1.2px, transparent 1.8px);
    opacity: 0.7;
    animation: starBlink 3.6s ease-in-out infinite;
}

.splash-orb {
    width: 38vw;
    height: 38vw;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.18;
    animation: splashOrbFloat 8s ease-in-out infinite;
}

.splash-orb-left {
    left: -10vw;
    top: 10vh;
    background: radial-gradient(circle, rgba(216, 180, 107, 0.8), rgba(216, 180, 107, 0.02) 66%, transparent 72%);
}

.splash-orb-right {
    right: -10vw;
    bottom: 8vh;
    background: radial-gradient(circle, rgba(255, 238, 186, 0.58), rgba(216, 180, 107, 0.02) 66%, transparent 72%);
    animation-delay: -4s;
}

.splash-center {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: min(520px, 100%);
}

.splash-brand,
.splash-title,
.splash-subtitle,
.splash-copy {
    opacity: 0;
    transform: translateY(18px);
}

.splash-brand {
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid rgba(216, 180, 107, 0.2);
    background: rgba(255, 255, 255, 0.03);
    color: #f3d894;
    font-size: 14px;
    letter-spacing: 0.4em;
    text-indent: 0.4em;
    animation: splashReveal 0.7s ease forwards 0.12s;
}

.splash-moon-wrap {
    position: relative;
    width: 240px;
    height: 240px;
    margin: 26px 0 22px;
    display: grid;
    place-items: center;
    animation: splashMoonRise 1.2s cubic-bezier(0.22, 1, 0.36, 1) both 0.24s;
}

.splash-moon-core,
.splash-moon-ring,
.splash-rabbit {
    position: absolute;
}

.splash-moon-core {
    width: 164px;
    height: 164px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 34%, rgba(255, 251, 238, 1), rgba(246, 219, 155, 0.98) 28%, rgba(216, 180, 107, 0.72) 62%, rgba(216, 180, 107, 0.08) 74%, transparent 76%);
    box-shadow:
        0 0 50px rgba(216, 180, 107, 0.38),
        0 0 120px rgba(216, 180, 107, 0.16);
    animation: splashMoonGlow 4.8s ease-in-out infinite;
}

.splash-moon-ring {
    border-radius: 50%;
    border: 1px solid rgba(216, 180, 107, 0.16);
}

.splash-moon-ring-a {
    width: 198px;
    height: 198px;
    animation: rotate 18s linear infinite;
}

.splash-moon-ring-b {
    width: 238px;
    height: 238px;
    border-color: rgba(216, 180, 107, 0.1);
    animation: rotate 26s linear infinite reverse;
}

.splash-rabbit {
    width: 54px;
    height: 72px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -18%);
}

.splash-rabbit::before,
.splash-rabbit::after {
    content: "";
    position: absolute;
    background: rgba(47, 26, 0, 0.92);
}

.splash-rabbit::before {
    left: 50%;
    bottom: 0;
    width: 40px;
    height: 34px;
    border-radius: 50% 50% 48% 48%;
    transform: translateX(-50%);
    box-shadow:
        -14px -10px 0 -8px rgba(47, 26, 0, 0.92),
        14px -10px 0 -8px rgba(47, 26, 0, 0.92);
}

.splash-rabbit::after {
    left: 50%;
    top: 0;
    width: 12px;
    height: 44px;
    border-radius: 999px;
    transform: translateX(-15px) rotate(-8deg);
    box-shadow: 16px -2px 0 0 rgba(47, 26, 0, 0.92);
}

.splash-title {
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1;
    letter-spacing: 0.14em;
    text-indent: 0.14em;
    background: linear-gradient(180deg, #fffaf0 0%, #f1d18c 55%, #bf9147 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: splashReveal 0.78s ease forwards 0.46s;
}

.splash-subtitle {
    margin-top: 10px;
    color: rgba(245, 241, 232, 0.9);
    font-size: 16px;
    letter-spacing: 0.62em;
    text-indent: 0.62em;
    animation: splashReveal 0.78s ease forwards 0.56s;
}

.splash-copy {
    margin-top: 16px;
    color: rgba(245, 241, 232, 0.56);
    font-size: 13px;
    letter-spacing: 0.18em;
    text-indent: 0.18em;
    animation: splashReveal 0.78s ease forwards 0.68s;
}

.aurora {
    display: none;
}

.aurora span {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.35;
    animation: drift 20s ease-in-out infinite;
}

.aurora span:nth-child(1) {
    width: 360px;
    height: 360px;
    top: 10%;
    left: 2%;
    background: rgba(129, 95, 255, 0.46);
}

.aurora span:nth-child(2) {
    width: 320px;
    height: 320px;
    top: 35%;
    right: 5%;
    background: rgba(0, 205, 255, 0.34);
    animation-delay: -8s;
}

.aurora span:nth-child(3) {
    width: 300px;
    height: 300px;
    bottom: 4%;
    left: 40%;
    background: rgba(255, 122, 182, 0.3);
    animation-delay: -12s;
}

.grid-overlay {
    display: none;
}

.page {
    width: 100%;
}

.section {
    width: var(--container);
    margin: 0 auto;
}

.hero {
    position: relative;
    padding: 32px 0 24px;
}

.hero-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(216, 180, 107, 0.16);
    border-radius: 32px;
    padding: 26px 24px 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 14%),
        linear-gradient(180deg, rgba(18, 18, 19, 0.98), rgba(10, 10, 11, 0.98));
    box-shadow: var(--shadow);
    animation: heroReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 68% 24%, rgba(216, 180, 107, 0.13), transparent 24%),
        linear-gradient(180deg, rgba(216, 180, 107, 0.06), transparent 18%);
    pointer-events: none;
}

.hero-topbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.brand,
.rank-card,
.program-card,
.rule-card,
.cta-card,
.hero-fact,
.hero-progress-card,
.toast {
    backdrop-filter: blur(10px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(216, 180, 107, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    font-size: 13px;
    color: var(--text-soft);
}

.brand span {
    min-width: 0;
    line-height: 1.35;
}

.brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #201100;
    background: linear-gradient(135deg, #f1d08a, #cfa257);
    box-shadow: 0 10px 24px rgba(216, 180, 107, 0.22);
}

.hero-poster {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 460px;
    padding: 20px 0 14px;
    text-align: center;
}

.hero-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 720px;
    align-items: center;
}

.hero-copy > * {
    opacity: 0;
    transform: translateY(18px);
}

body.is-ready .hero-copy > * {
    animation: fadeUp 0.65s ease forwards;
}

body.is-ready .hero-copy > *:nth-child(1) { animation-delay: 0.06s; }
body.is-ready .hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
body.is-ready .hero-copy > *:nth-child(3) { animation-delay: 0.18s; }
body.is-ready .hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
body.is-ready .hero-copy > *:nth-child(5) { animation-delay: 0.3s; }

.eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(216, 180, 107, 0.08);
    border: 1px solid rgba(216, 180, 107, 0.18);
    font-size: 13px;
    color: #e5c786;
}

.hero-title {
    margin: 0;
    font-size: clamp(44px, 7vw, 92px);
    line-height: 0.98;
    letter-spacing: 1.2px;
    text-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.hero-title strong {
    display: block;
    background: linear-gradient(180deg, #fffaf0 0%, #f1d18c 55%, #bf9147 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    margin: 0;
    font-size: clamp(16px, 2vw, 22px);
    color: rgba(245, 241, 232, 0.9);
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.hero-meta-line {
    margin: 0;
    color: rgba(245, 241, 232, 0.72);
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0.08em;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.hero-orbit {
    position: absolute;
    top: 38px;
    right: 40px;
    width: 340px;
    height: 340px;
    min-height: 0;
    opacity: 0.92;
    pointer-events: none;
    animation: orbitRise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.orbit-core,
.orbit-ring,
.orbit-glow {
    position: absolute;
    border-radius: 50%;
}

.orbit-core {
    width: 220px;
    height: 220px;
    background:
        radial-gradient(circle at 34% 34%, rgba(255, 251, 242, 1), rgba(244, 220, 166, 0.97) 26%, rgba(216, 180, 107, 0.7) 58%, rgba(216, 180, 107, 0.06) 74%, transparent 76%);
    box-shadow:
        0 0 90px rgba(216, 180, 107, 0.2),
        0 0 180px rgba(216, 180, 107, 0.08);
    animation: moonPulse 5.6s ease-in-out infinite;
}

.orbit-ring {
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
}

.orbit-ring-a {
    width: 270px;
    height: 270px;
    border-color: rgba(216, 180, 107, 0.18);
    animation: rotate 22s linear infinite;
}

.orbit-ring-b {
    width: 340px;
    height: 340px;
    border-color: rgba(216, 180, 107, 0.12);
    animation: rotate 30s linear infinite reverse;
}

.orbit-glow-a {
    width: 100px;
    height: 100px;
    top: 34px;
    right: 16px;
    background: radial-gradient(circle, rgba(216, 180, 107, 0.3), transparent 72%);
    filter: blur(16px);
}

.orbit-glow-b {
    display: none;
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 10px;
}

.hero-fact {
    padding: 16px 18px;
    border-radius: 22px;
    border: 1px solid rgba(216, 180, 107, 0.14);
    background: rgba(255, 255, 255, 0.025);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transform: translateY(22px);
}

body.is-ready .hero-fact {
    animation: fadeUp 0.6s ease forwards;
}

body.is-ready .hero-fact:nth-child(1) { animation-delay: 0.32s; }
body.is-ready .hero-fact:nth-child(2) { animation-delay: 0.38s; }
body.is-ready .hero-fact:nth-child(3) { animation-delay: 0.44s; }
body.is-ready .hero-fact:nth-child(4) { animation-delay: 0.5s; }

.stage-section {
    padding-top: 6px;
}

.stage-switch {
    position: sticky;
    top: 10px;
    z-index: 8;
    width: fit-content;
    margin: 0 auto 16px;
    padding: 6px;
    display: flex;
    gap: 6px;
    border-radius: 999px;
    background: rgba(10, 10, 11, 0.88);
    border: 1px solid rgba(216, 180, 107, 0.14);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.stage-tab {
    min-width: 118px;
    height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(245, 241, 232, 0.68);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.22s ease, color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.stage-tab.is-active {
    color: #261300;
    background: linear-gradient(135deg, #f0cf8b, #c99649);
    box-shadow: 0 8px 22px rgba(216, 180, 107, 0.22);
}

.stage-panel {
    display: none;
}

.stage-panel.is-active {
    display: block;
    animation: panelReveal 0.42s ease both;
}

.section-head.compact {
    margin: 0 auto 12px;
}

.section-head.compact h2 {
    font-size: 24px;
}

.section-head.compact p {
    display: none;
}

.hero-fact span {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.62);
}

.hero-fact strong {
    display: block;
    margin-top: 10px;
    font-size: 24px;
    line-height: 1.25;
}

.hero-fact-wide {
    grid-column: span 2;
}

.hero-progress-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 14px;
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid rgba(216, 180, 107, 0.14);
    background: rgba(255, 255, 255, 0.025);
}

.hero-progress-copy strong {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
}

.hero-progress-copy span {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
}

.hero-progress-card .selection-progress {
    min-width: min(360px, 42%);
}

.btn {
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    padding: 14px 22px;
    font-size: 15px;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

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

.btn-primary {
    color: #241000;
    background: linear-gradient(135deg, #f0cf8b, #c99649);
    box-shadow: 0 12px 30px rgba(216, 180, 107, 0.22);
}

.btn-secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(216, 180, 107, 0.14);
}

.hero-panel {
    position: relative;
    padding: 24px;
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
        rgba(5, 9, 28, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.moon-card {
    position: relative;
    min-height: 320px;
    padding: 26px;
    border-radius: 26px;
    overflow: hidden;
    background:
        radial-gradient(circle at 70% 25%, rgba(255, 236, 188, 0.95), rgba(247, 198, 108, 0.12) 18%, transparent 35%),
        radial-gradient(circle at 30% 40%, rgba(117, 241, 191, 0.22), transparent 30%),
        linear-gradient(180deg, rgba(10, 17, 45, 0.98), rgba(7, 10, 28, 0.98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.moon-card::before {
    content: "";
    position: absolute;
    right: 32px;
    top: 34px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 252, 235, 0.95), rgba(247, 198, 108, 0.85) 54%, rgba(247, 198, 108, 0.08) 75%, transparent 78%);
    box-shadow: 0 0 60px rgba(247, 198, 108, 0.38);
}

.moon-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 140px;
    background:
        radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.12), transparent 10%),
        linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.06));
}

.moon-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 268px;
    z-index: 1;
}

.moon-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.moon-title h2 {
    margin: 0;
    font-size: 26px;
    line-height: 1.3;
}

.moon-title span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.live-badge {
    flex-shrink: 0;
    padding: 8px 12px;
    border-radius: 999px;
    color: #e9fff6;
    font-size: 12px;
    background: rgba(117, 241, 191, 0.14);
    border: 1px solid rgba(117, 241, 191, 0.28);
}

.moon-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.moon-grid .mini-card {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-card .label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.62);
}

.mini-card .value {
    margin-top: 8px;
    font-size: 24px;
    font-weight: 700;
}

.selection-progress {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.selection-progress-bar {
    width: 100%;
    height: 10px;
    padding: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(216, 180, 107, 0.08);
}

.selection-progress-bar span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #c89845, #f1d18b);
    box-shadow: 0 0 24px rgba(216, 180, 107, 0.28);
    transition: width 0.3s ease;
}

.selection-progress-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.76);
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.stat-card {
    padding: 18px 18px 20px;
    border-radius: var(--radius-lg);
    background: var(--panel);
    border: 1px solid var(--border);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

.stat-label {
    font-size: 13px;
    color: var(--text-soft);
}

.stat-value {
    margin-top: 10px;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin: 42px auto 18px;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(26px, 4vw, 40px);
}

.section-head p {
    margin: 8px 0 0;
    color: var(--text-soft);
    font-size: 14px;
}

.refresh-indicator {
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(216, 180, 107, 0.14);
    color: rgba(245, 241, 232, 0.72);
    font-size: 13px;
}

.ranking-wrap {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 18px;
}

.podium,
.rank-list,
.programs-wrap,
.rules-wrap {
    padding: 18px;
    border-radius: 26px;
    background: var(--panel);
    border: 1px solid rgba(216, 180, 107, 0.14);
    box-shadow: var(--shadow);
}

.podium-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: end;
    min-height: 360px;
}

.rank-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 18px 16px;
    border: 1px solid rgba(216, 180, 107, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
    opacity: 1;
    transform: translateY(0);
}

.rank-card.is-animated {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.52s ease forwards;
    animation-delay: var(--delay, 0s);
}

.rank-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.32;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.25), transparent 48%);
}

.rank-card[data-rank="1"] {
    min-height: 300px;
    background: linear-gradient(180deg, rgba(216, 180, 107, 0.18), rgba(255, 255, 255, 0.015));
}

.rank-card[data-rank="2"] {
    min-height: 250px;
    background: linear-gradient(180deg, rgba(216, 180, 107, 0.09), rgba(255, 255, 255, 0.015));
}

.rank-card[data-rank="3"] {
    min-height: 220px;
    background: linear-gradient(180deg, rgba(216, 180, 107, 0.07), rgba(255, 255, 255, 0.015));
}

.rank-medal {
    position: relative;
    z-index: 1;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(216, 180, 107, 0.18);
    color: #efcf8c;
}

.rank-title {
    position: relative;
    z-index: 1;
    margin-top: 28px;
    font-size: 20px;
    font-weight: 700;
}

.rank-votes {
    position: relative;
    z-index: 1;
    margin-top: 18px;
    font-size: 34px;
    font-weight: 800;
}

.rank-votes span {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.68);
}

.rank-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rank-item {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(216, 180, 107, 0.1);
    opacity: 1;
    transform: translateY(0);
}

.rank-item.is-animated {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.45s ease forwards;
    animation-delay: var(--delay, 0s);
}

.rank-num {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    font-size: 16px;
    font-weight: 800;
    color: #efcf8c;
}

.rank-item-title {
    font-size: 16px;
    font-weight: 700;
}

.rank-item-meta {
    margin-top: 4px;
    color: var(--text-soft);
    font-size: 13px;
}

.rank-item-votes {
    font-size: 20px;
    font-weight: 800;
}

.rank-item-votes span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-soft);
    text-align: right;
}

.program-tools {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
}

.vote-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid rgba(216, 180, 107, 0.14);
    background: rgba(255, 255, 255, 0.025);
}

.vote-summary-main strong {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
}

.vote-summary-main span {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.7;
}

.vote-summary-tag {
    flex-shrink: 0;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: #efcf8c;
    font-size: 12px;
    border: 1px solid rgba(216, 180, 107, 0.12);
}

.search-box {
    flex: 1;
    position: relative;
}

.search-box input {
    width: 100%;
    height: 50px;
    border-radius: 16px;
    border: 1px solid rgba(216, 180, 107, 0.12);
    background: rgba(255, 255, 255, 0.025);
    color: var(--text);
    padding: 0 18px;
    outline: none;
    font-size: 14px;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.program-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 265px;
    padding: 18px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012)),
        rgba(14, 14, 15, 0.96);
    border: 1px solid rgba(216, 180, 107, 0.1);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    opacity: 1;
    transform: translateY(0);
}

.program-card.is-animated {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.45s ease forwards;
    animation-delay: var(--delay, 0s);
}

.program-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background: radial-gradient(circle at top right, var(--card-accent, rgba(255, 255, 255, 0.28)), transparent 40%);
}

.program-card:hover {
    transform: translateY(-4px);
    border-color: rgba(216, 180, 107, 0.24);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.program-card.is-selected {
    border-color: rgba(216, 180, 107, 0.42);
    box-shadow: 0 22px 42px rgba(216, 180, 107, 0.1);
    animation: fadeUp 0.45s ease forwards, cardPulse 2.6s ease-in-out infinite 0.5s;
}

.program-card.is-selected::after {
    content: "已投";
    position: absolute;
    right: 16px;
    top: 16px;
    padding: 6px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(240, 207, 139, 0.96), rgba(201, 150, 73, 0.96));
    color: #241000;
    font-size: 11px;
    font-weight: 800;
    z-index: 2;
}

.program-card.is-disabled .vote-btn {
    opacity: 0.72;
    cursor: not-allowed;
}

.program-head,
.program-body,
.program-foot {
    position: relative;
    z-index: 1;
}

.program-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.program-no {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 20px;
    font-weight: 800;
    color: #efcf8c;
}

.program-title {
    margin: 0;
    font-size: 19px;
    line-height: 1.45;
}

.program-foot {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.program-votes {
    font-size: 24px;
    font-weight: 800;
}

.program-votes span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-soft);
    font-weight: 500;
}

.vote-btn {
    min-width: 114px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(216, 180, 107, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

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

.vote-btn.is-primary {
    color: #251000;
    background: linear-gradient(135deg, #f0cf8b, #c99649);
    border-color: transparent;
}

.empty-state {
    padding: 36px 18px;
    text-align: center;
    color: var(--text-soft);
    font-size: 14px;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.rule-card,
.cta-card {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(216, 180, 107, 0.12);
    box-shadow: var(--shadow);
}

.rule-card strong,
.cta-card strong {
    display: block;
    font-size: 18px;
    margin-bottom: 12px;
}

.rule-card p,
.cta-card p {
    margin: 0;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.8;
}

.cta-card {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.footer {
    width: var(--container);
    margin: 30px auto 120px;
    text-align: center;
    color: rgba(255, 255, 255, 0.54);
    font-size: 13px;
}

.access-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
    z-index: 28;
}

.access-modal.show {
    opacity: 1;
    visibility: visible;
}

.access-modal-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 18%, rgba(216, 180, 107, 0.1), transparent 26%),
        rgba(0, 0, 0, 0.68);
    backdrop-filter: blur(14px);
}

.access-modal-panel {
    position: relative;
    overflow: hidden;
    width: min(500px, calc(100vw - 28px));
    padding: 28px 24px 24px;
    border-radius: 30px;
    border: 1px solid rgba(216, 180, 107, 0.16);
    background:
        radial-gradient(circle at 50% -10%, rgba(216, 180, 107, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 20%),
        linear-gradient(180deg, rgba(17, 17, 18, 0.985), rgba(8, 8, 9, 0.985));
    box-shadow:
        0 36px 100px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.access-modal-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(216, 180, 107, 0.48), transparent);
    opacity: 0.8;
}

.access-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(216, 180, 107, 0.18);
    background: rgba(216, 180, 107, 0.07);
    color: #ecd39a;
    font-size: 11px;
    letter-spacing: 0.16em;
    margin-bottom: 16px;
}

.access-modal-panel h3 {
    margin: 0 0 12px;
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: 0.01em;
}

.access-modal-panel p {
    margin: 0;
    max-width: 360px;
    color: rgba(245, 241, 232, 0.62);
    font-size: 14px;
    line-height: 1.75;
}

.access-form {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.access-input-shell {
    position: relative;
    padding: 14px;
    border-radius: 24px;
    border: 1px solid rgba(216, 180, 107, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012)),
        rgba(255, 255, 255, 0.015);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.access-input-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 0%, rgba(216, 180, 107, 0.08), transparent 56%);
    pointer-events: none;
    opacity: 1;
}

.access-input {
    width: 100%;
    height: 64px;
    padding: 0 22px;
    border-radius: 18px;
    border: 1px solid rgba(216, 180, 107, 0.16);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018)),
        rgba(6, 6, 7, 0.66);
    color: var(--text);
    font-size: 26px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.12em;
    font-variant-numeric: tabular-nums;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 12px 28px rgba(0, 0, 0, 0.2);
    outline: none;
}

.access-input:focus {
    border-color: rgba(216, 180, 107, 0.4);
    box-shadow:
        0 0 0 4px rgba(216, 180, 107, 0.08),
        0 18px 42px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.access-input::placeholder {
    color: rgba(245, 241, 232, 0.18);
    letter-spacing: 0.04em;
    font-size: 17px;
    font-weight: 500;
}

.access-input-tip {
    margin-top: 12px;
    color: rgba(245, 241, 232, 0.42);
    font-size: 12px;
    text-align: center;
    letter-spacing: 0.02em;
    line-height: 1.6;
}

.access-submit {
    width: 100%;
    min-height: 56px;
    border-radius: 18px;
    box-shadow: 0 18px 38px rgba(216, 180, 107, 0.18);
}

.floating-vote-bar {
    position: fixed;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    width: min(720px, calc(100vw - 20px));
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 18px;
    background: rgba(10, 10, 11, 0.92);
    border: 1px solid rgba(216, 180, 107, 0.14);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
    z-index: 18;
    transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
}

.floating-vote-bar.is-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(24px);
}

.floating-vote-copy strong {
    display: block;
    font-size: 14px;
    margin-bottom: 0;
    line-height: 1.2;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(120%);
    min-width: min(86vw, 340px);
    max-width: calc(100vw - 32px);
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(12, 18, 40, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    z-index: 30;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    border-color: rgba(117, 241, 191, 0.28);
}

.toast.error {
    border-color: rgba(255, 122, 182, 0.3);
}

.loading-mask {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(4, 7, 18, 0.72);
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
}

.loading-mask.show {
    opacity: 1;
    visibility: visible;
}

.loader {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-top-color: #ffd77e;
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes splashReveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes splashMoonRise {
    from {
        opacity: 0;
        transform: translateY(38px) scale(0.88);
    }
    60% {
        opacity: 1;
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes splashMoonGlow {
    0%, 100% {
        transform: scale(1);
        filter: saturate(1);
    }
    50% {
        transform: scale(1.04);
        filter: saturate(1.06);
    }
}

@keyframes splashOrbFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -26px, 0);
    }
}

@keyframes starBlink {
    0%, 100% {
        opacity: 0.45;
    }
    50% {
        opacity: 0.92;
    }
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes panelReveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes orbitRise {
    from {
        opacity: 0;
        transform: translateY(26px) scale(0.94);
    }
    to {
        opacity: 0.92;
        transform: translateY(0) scale(1);
    }
}

@keyframes moonPulse {
    0%, 100% {
        transform: scale(1);
        filter: saturate(1);
    }
    50% {
        transform: scale(1.04);
        filter: saturate(1.08);
    }
}

@keyframes cardPulse {
    0%, 100% {
        box-shadow: 0 22px 42px rgba(216, 180, 107, 0.1);
    }
    50% {
        box-shadow: 0 26px 48px rgba(216, 180, 107, 0.16);
    }
}

@keyframes drift {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    33% {
        transform: translate3d(30px, -26px, 0) scale(1.08);
    }
    66% {
        transform: translate3d(-20px, 14px, 0) scale(0.96);
    }
}

@keyframes floatGlow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(28px);
    }
}

@media (max-width: 1100px) {
    .hero-poster,
    .ranking-wrap,
    .rules-grid,
    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .program-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .hero-orbit {
        min-height: 320px;
    }

    .hero-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-fact-wide {
        grid-column: span 1;
    }

    .hero-progress-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-progress-card .selection-progress {
        width: 100%;
        min-width: 0;
    }

    .ranking-wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --container: calc(100vw - 20px);
    }

    .splash-screen {
        padding: 18px;
    }

    .splash-brand {
        font-size: 12px;
        letter-spacing: 0.32em;
        text-indent: 0.32em;
    }

    .splash-moon-wrap {
        width: 196px;
        height: 196px;
        margin: 24px 0 18px;
    }

    .splash-moon-core {
        width: 134px;
        height: 134px;
    }

    .splash-moon-ring-a {
        width: 164px;
        height: 164px;
    }

    .splash-moon-ring-b {
        width: 196px;
        height: 196px;
    }

    .splash-rabbit {
        transform: translate(-50%, -16%) scale(0.9);
    }

    .splash-title {
        font-size: 38px;
    }

    .splash-subtitle {
        margin-top: 8px;
        font-size: 14px;
    }

    .splash-copy {
        margin-top: 12px;
        font-size: 12px;
        letter-spacing: 0.12em;
        text-indent: 0.12em;
    }

    body::before,
    body::after {
        width: 62vw;
        height: 62vw;
        opacity: 0.16;
        filter: blur(34px);
    }

    .aurora span {
        filter: blur(34px);
        opacity: 0.2;
    }

    .hero {
        padding: 12px 0 10px;
    }

    .hero-shell {
        border-radius: 24px;
        padding: 14px 14px 14px;
    }

    .hero-topbar,
    .section-head,
    .program-tools,
    .cta-card,
    .vote-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-topbar {
        gap: 10px;
        margin-bottom: 12px;
    }

    .brand {
        width: 100%;
        border-radius: 18px;
    }

    .brand {
        padding: 10px 12px;
    }

    .eyebrow {
        padding: 8px 12px;
        font-size: 12px;
    }

    .hero-title {
        font-size: 30px;
        line-height: 1.04;
        letter-spacing: 0.2px;
    }

    .hero-subtitle {
        display: none;
    }

    .hero-meta-line {
        font-size: 12px;
        line-height: 1.5;
    }

    .hero-actions {
        width: 100%;
        gap: 10px;
    }

    .hero-poster {
        min-height: auto;
        gap: 6px;
        padding: 2px 0 0;
    }

    .hero-orbit {
        width: 180px;
        height: 180px;
        top: 14px;
        right: -20px;
        min-height: 0;
        margin-bottom: 0;
        opacity: 0.7;
    }

    .hero-actions .btn {
        flex: 1 1 calc(50% - 5px);
        min-height: 46px;
        padding: 12px 14px;
        font-size: 14px;
    }

    .orbit-core {
        width: 102px;
        height: 102px;
    }

    .orbit-ring-a {
        width: 136px;
        height: 136px;
    }

    .orbit-ring-b {
        width: 180px;
        height: 180px;
    }

    .orbit-glow-a {
        width: 58px;
        height: 58px;
        top: 10px;
        right: 4px;
    }

    .orbit-glow-b {
        width: 96px;
        height: 96px;
        left: 10px;
        bottom: 12px;
    }

    .selection-progress-text {
        font-size: 12px;
    }

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

    .hero-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 14px;
    }

    .hero-fact {
        padding: 12px 10px;
        border-radius: 16px;
    }

    .hero-fact span {
        font-size: 11px;
    }

    .hero-fact strong {
        margin-top: 6px;
        font-size: 16px;
        line-height: 1.3;
        word-break: break-word;
    }

    .hero-fact-wide {
        grid-column: 1 / -1;
    }

    .hero-progress-card {
        margin-top: 8px;
        padding: 12px;
        border-radius: 16px;
        gap: 10px;
    }

    .hero-progress-copy strong {
        font-size: 14px;
    }

    .hero-progress-copy span {
        font-size: 11px;
    }

    .section-head {
        gap: 8px;
        margin: 28px auto 14px;
    }

    .stage-switch {
        top: 8px;
        width: calc(100vw - 20px);
        margin-bottom: 12px;
    }

    .stage-tab {
        flex: 1 1 50%;
        min-width: 0;
        height: 40px;
        padding: 0 12px;
        font-size: 13px;
    }

    .section-head h2 {
        font-size: 22px;
    }

    .section-head p {
        font-size: 13px;
        line-height: 1.65;
    }

    .refresh-indicator {
        width: 100%;
        text-align: center;
        padding: 9px 12px;
        font-size: 12px;
    }

    .ranking-wrap {
        gap: 12px;
    }

    .podium,
    .rank-list,
    .programs-wrap,
    .rules-wrap {
        padding: 14px;
        border-radius: 20px;
    }

    .podium-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        min-height: auto;
    }

    .podium-grid .rank-card:nth-child(2) {
        grid-column: 1 / -1;
        order: -1;
    }

    .rank-card {
        padding: 14px;
        border-radius: 18px;
    }

    .rank-card[data-rank="1"],
    .rank-card[data-rank="2"],
    .rank-card[data-rank="3"] {
        min-height: auto;
    }

    .rank-medal {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .rank-title {
        margin-top: 18px;
        font-size: 16px;
        line-height: 1.5;
    }

    .rank-votes {
        margin-top: 18px;
        font-size: 24px;
    }

    .rank-item {
        grid-template-columns: 44px 1fr auto;
        gap: 10px;
        padding: 12px;
        border-radius: 16px;
    }

    .rank-num {
        width: 36px;
        height: 36px;
        border-radius: 12px;
        font-size: 13px;
    }

    .rank-item-title {
        font-size: 14px;
        line-height: 1.45;
    }

    .rank-item-meta {
        font-size: 12px;
    }

    .rank-item-votes {
        font-size: 16px;
        text-align: right;
        padding-left: 0;
    }

    .rank-item-votes span {
        text-align: right;
    }

    .program-tools {
        gap: 10px;
    }

    .vote-summary {
        padding: 14px;
        margin-bottom: 14px;
        border-radius: 18px;
    }

    .vote-summary-main strong {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .vote-summary-main span {
        font-size: 13px;
        line-height: 1.65;
    }

    .vote-summary-tag {
        padding: 7px 12px;
        font-size: 12px;
    }

    .search-box {
        width: 100%;
    }

    .search-box input {
        height: 46px;
        border-radius: 14px;
        padding: 0 14px;
        font-size: 13px;
    }

    .program-grid {
        gap: 12px;
    }

    .program-card {
        min-height: unset;
        padding: 14px;
        gap: 12px;
        border-radius: 18px;
    }

    .program-no {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        font-size: 16px;
    }

    .program-title {
        font-size: 17px;
        line-height: 1.5;
    }

    .program-foot {
        align-items: flex-end;
    }

    .program-votes {
        font-size: 18px;
    }

    .vote-btn {
        min-width: 92px;
        height: 40px;
        border-radius: 12px;
        font-size: 13px;
    }

    .rule-card,
    .cta-card {
        padding: 14px;
        border-radius: 18px;
    }

    .rule-card strong,
    .cta-card strong {
        margin-bottom: 10px;
        font-size: 16px;
    }

    .rule-card p,
    .cta-card p {
        font-size: 13px;
        line-height: 1.7;
    }

    .cta-card .btn {
        width: 100%;
    }

    .footer {
        margin: 22px auto 26px;
        font-size: 12px;
        line-height: 1.7;
    }

    .floating-vote-bar {
        width: calc(100vw - 16px);
        bottom: 8px;
        padding: 12px;
        border-radius: 18px;
        gap: 10px;
    }

    .floating-vote-copy strong {
        font-size: 14px;
    }

    .access-modal {
        align-items: flex-end;
        padding: 14px;
    }

    .access-modal-panel {
        width: 100%;
        border-radius: 24px;
        padding: 22px 16px 16px;
    }

    .access-modal-panel h3 {
        font-size: 24px;
    }

    .access-input,
    .access-submit {
        width: 100%;
    }

    .access-input-shell {
        padding: 12px;
        border-radius: 20px;
    }

    .access-input {
        height: 58px;
        font-size: 22px;
        letter-spacing: 0.08em;
    }

    .access-input::placeholder {
        font-size: 15px;
    }


    .floating-vote-bar .btn {
        min-width: 104px;
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (max-width: 420px) {
    .splash-title {
        font-size: 34px;
    }

    .splash-subtitle {
        letter-spacing: 0.4em;
        text-indent: 0.4em;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-actions .btn {
        flex-basis: 100%;
    }

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

    .podium-grid .rank-card:nth-child(2) {
        grid-column: auto;
        order: 0;
    }

    .rank-item {
        grid-template-columns: 40px 1fr;
    }

    .rank-item-votes {
        grid-column: 1 / -1;
        text-align: left;
        padding-left: 50px;
        margin-top: -2px;
    }

    .rank-item-votes span {
        text-align: left;
    }

    .floating-vote-bar {
        align-items: stretch;
    }

    .floating-vote-bar .btn {
        min-width: 92px;
    }
}

.admin-page {
    padding: 28px 0 24px;
}

.admin-shell {
    max-width: 980px;
}

.admin-badge {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(216, 180, 107, 0.18);
    background: rgba(216, 180, 107, 0.08);
    color: #e5c786;
    font-size: 13px;
    letter-spacing: 0.08em;
}

.admin-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 18px;
}

.admin-card {
    padding: 24px;
    border-radius: 28px;
    border: 1px solid rgba(216, 180, 107, 0.14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 18%),
        linear-gradient(180deg, rgba(16, 16, 17, 0.96), rgba(8, 8, 9, 0.98));
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.26);
}

.admin-title {
    margin: 18px 0 10px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.02;
    letter-spacing: 0.6px;
    background: linear-gradient(180deg, #fff8ed 0%, #f0cf8b 58%, #ba8b45 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.admin-copy {
    margin: 0;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.8;
}

.admin-list {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.admin-list-item {
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(216, 180, 107, 0.1);
    background: rgba(255, 255, 255, 0.025);
}

.admin-list-item strong,
.admin-panel-head strong {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
    color: var(--text);
}

.admin-list-item span,
.admin-panel-head span,
.admin-status {
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.75;
}

.admin-panel-head {
    margin-bottom: 18px;
}

.admin-form {
    margin-top: 0;
    flex-direction: column;
}

.admin-form .access-input,
.admin-form .access-submit {
    width: 100%;
}

.admin-form .access-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.admin-warning {
    margin: 14px 0 0;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(216, 180, 107, 0.12);
    background: rgba(216, 180, 107, 0.05);
    color: #e4c98f;
    font-size: 13px;
    line-height: 1.7;
}

.admin-result {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.admin-result-card,
.admin-result-empty {
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(216, 180, 107, 0.1);
    background: rgba(255, 255, 255, 0.025);
}

.admin-result-card span {
    display: block;
    color: var(--text-soft);
    font-size: 12px;
    margin-bottom: 8px;
}

.admin-result-card strong {
    display: block;
    font-size: 22px;
    line-height: 1.35;
    color: var(--text);
    word-break: break-word;
}

.admin-result-empty {
    grid-column: 1 / -1;
    color: var(--text-soft);
    font-size: 14px;
}

@media (max-width: 768px) {
    .admin-page {
        padding: 10px 0 18px;
    }

    .admin-badge {
        width: 100%;
        text-align: center;
        border-radius: 18px;
    }

    .admin-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .admin-card {
        padding: 16px;
        border-radius: 22px;
    }

    .admin-copy {
        font-size: 14px;
    }
}

@media (max-width: 420px) {
    .admin-result {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
