@font-face {
    font-family: "阿里妈妈数黑体 Bold";
    font-weight: 700;
    src: url("../fonts/367GcURJUNAq.woff2") format("woff2"),
        url("../fonts/TH158QWTnyxV.woff") format("woff");
    font-variation-settings: normal;
    font-display: swap;
}

:root {
    --deep-navy: #14100a;
    --card-bg: rgba(255, 253, 247, 0.68);
    --card-bg-hover: rgba(255, 253, 247, 0.54);
    --brand-green: #6ea52a;
    --brand-green-glow: #8cc63f;
    --brand-brown: #7a5230;
    --gold-accent: #f0a72e;
    --gold-accent-glow: #f7bd52;
    --sky-blue: #62bee8;
    --text-dark: #3d2b1b;
    --glass-border: rgba(255, 255, 255, 0.34);
    --glass-border-hover: rgba(255, 255, 255, 0.52);
    --shadow-card: 0 30px 72px rgba(20, 12, 4, 0.34), 0 5px 16px rgba(20, 12, 4, 0.16);
    --shadow-card-hover: 0 38px 84px rgba(20, 12, 4, 0.44), 0 9px 26px rgba(20, 12, 4, 0.2);
    --transition-smooth: 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
    --transition-flip: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --webfont: "阿里妈妈数黑体 Bold";
    --border-radius-xl: 40px;
    --border-radius-lg: 32px;
    --border-radius-md: 24px;
    --border-radius-sm: 16px;
    --border-radius-full: 48px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, 'PingFang SC', 'HarmonyOS Sans', 'Microsoft YaHei', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    overflow-x: hidden;
    background: #0d0a06;
}

#cursorGridCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    will-change: transform;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: #0d0a06;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.42) saturate(0.58) contrast(1.08) hue-rotate(-10deg);
    min-width: 100%;
    min-height: 100%;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 18% 22%, rgba(110, 165, 42, 0.22) 0%, transparent 52%),
        radial-gradient(ellipse at 74% 26%, rgba(240, 167, 46, 0.08) 0%, transparent 54%),
        radial-gradient(ellipse at 48% 58%, rgba(18, 12, 7, 0.3) 0%, transparent 56%),
        radial-gradient(ellipse at 28% 70%, rgba(13, 10, 6, 0.26) 0%, transparent 52%),
        radial-gradient(ellipse at 62% 75%, rgba(98, 190, 232, 0.04) 0%, transparent 48%),
        linear-gradient(172deg,
            rgba(13, 10, 6, 0.28) 0%,
            rgba(18, 14, 9, 0.2) 22%,
            rgba(22, 17, 10, 0.16) 46%,
            rgba(13, 10, 6, 0.24) 72%,
            rgba(13, 10, 6, 0.3) 100%);
}

body.video-unavailable .video-background {
    background-image: url('./images/bg.png');
    background-size: cover;
    background-position: center;
}

body.video-unavailable .video-background video {
    pointer-events: none;
}

body.video-unavailable .video-control-btn {
    display: none !important;
}

body.video-unavailable .video-pause-indicator {
    display: none !important;
}

.video-control-btn {
    position: fixed;
    bottom: 34px;
    left: 34px;
    z-index: 100;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(20, 14, 8, 0.65);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1.5px solid rgba(110, 165, 42, 0.42);
    color: rgba(226, 218, 205, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.08rem;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.35),
        0 0 20px rgba(110, 165, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    pointer-events: auto;
}

.video-control-btn:hover {
    background: rgba(20, 14, 8, 0.84);
    border-color: rgba(140, 198, 63, 0.65);
    color: var(--brand-green-glow);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.45),
        0 0 36px rgba(110, 165, 42, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.06);
}

.video-control-btn:active {
    transform: translateY(0) scale(0.92);
    transition: 0.12s;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 14px rgba(110, 165, 42, 0.16);
}

.video-control-btn .vc-icon {
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
    pointer-events: none;
    line-height: 1;
}

.video-control-btn.paused-state {
    border-color: rgba(255, 255, 255, 0.26);
    color: rgba(255, 255, 255, 0.6);
    background: rgba(20, 14, 8, 0.5);
}

.video-control-btn.paused-state:hover {
    border-color: rgba(140, 198, 63, 0.5);
    color: var(--brand-green-glow);
    background: rgba(20, 14, 8, 0.76);
}

.video-control-btn::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px solid rgba(110, 165, 42, 0.2);
    pointer-events: none;
    animation: vcPulseRing 3s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.video-control-btn.paused-state::after {
    animation: vcPulseRingPaused 2.5s ease-in-out infinite;
    border-color: rgba(255, 255, 255, 0.22);
}

.video-control-btn:hover::after {
    opacity: 1;
}

@keyframes vcPulseRing {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.35;
    }

    50% {
        transform: scale(1.22);
        opacity: 0.06;
    }
}

@keyframes vcPulseRingPaused {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.45;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.08;
    }
}

.video-pause-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    z-index: 50;
    pointer-events: none;
    background: rgba(20, 14, 8, 0.58);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, 0.85);
    padding: 17px 34px;
    border-radius: var(--border-radius-full);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    white-space: nowrap;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-pause-indicator.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.video-pause-indicator i {
    color: var(--brand-green-glow);
    font-size: 1.2rem;
}


.bg-decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(75px);
    animation: float 24s infinite ease-in-out;
    opacity: 0.15;
}

.decoration:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 5%;
    left: -3%;
    background: rgba(110, 165, 42, 0.05);
    animation-delay: 0s;
}

.decoration:nth-child(2) {
    width: 260px;
    height: 260px;
    top: 60%;
    right: -2%;
    background: rgba(122, 82, 48, 0.09);
    animation-delay: 9s;
}

.decoration:nth-child(3) {
    width: 180px;
    height: 180px;
    bottom: 4%;
    left: 12%;
    background: rgba(240, 167, 46, 0.05);
    animation-delay: 16s;
}

.decoration:nth-child(4) {
    width: 270px;
    height: 270px;
    top: 26%;
    right: 10%;
    background: rgba(98, 190, 232, 0.045);
    animation-delay: 6s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0) scale(1);
    }

    20% {
        transform: translateY(-50px) translateX(22px) scale(1.04);
    }

    40% {
        transform: translateY(28px) translateX(-16px) scale(0.94);
    }

    60% {
        transform: translateY(-34px) translateX(-24px) scale(1.03);
    }

    80% {
        transform: translateY(38px) translateX(14px) scale(0.95);
    }
}

.header-section {
    z-index: 2;
    position: relative;
    text-align: center;
    animation: headerFadeIn 1s ease-out 0.1s both;
    flex-shrink: 0;
    margin-bottom: 52px;
    padding: 12px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

@keyframes headerFadeIn {
    from {
        opacity: 0;
        transform: translateY(-36px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex-shrink: 1;
    min-width: 0;
}

.header-logo-wrapper {
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow:
        0 0 10px rgba(255, 255, 255, 0.55),
        0 8px 28px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    padding: 6px;
}

.header-logo-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 115px;
    height: 115px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(140, 198, 63, 0.14) 0%,
            rgba(240, 167, 46, 0.05) 38%,
            transparent 68%);
    pointer-events: none;
    z-index: -1;
    animation: logoGlow 3.5s ease-in-out infinite;
}

@keyframes logoGlow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.04);
        opacity: 0.75;
    }
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.orbit-ring-outer {
    width: 90px;
    height: 75px;
    margin-top: -137px;
    margin-left: -145px;
    border: 2px solid rgba(110, 165, 42, 0.28);
    box-shadow:
        0 0 18px rgba(110, 165, 42, 0.16),
        0 0 42px rgba(110, 165, 42, 0.07),
        inset 0 0 18px rgba(110, 165, 42, 0.08);
    animation: orbitSpinCW 13s linear infinite;
}

.orbit-ring-inner {
    width: 58px;
    height: 43px;
    margin-top: -121px;
    margin-left: -129px;
    border: 1.5px solid rgba(240, 167, 46, 0.34);
    box-shadow:
        0 0 14px rgba(240, 167, 46, 0.18),
        0 0 34px rgba(240, 167, 46, 0.07),
        inset 0 0 14px rgba(240, 167, 46, 0.09);
    animation: orbitSpinCCW 10s linear infinite;
}

.orbit-ring-accent {
    width: 75px;
    height: 60px;
    margin-top: -130px;
    margin-left: -137px;
    border: 1.2px dashed rgba(255, 255, 255, 0.22);
    box-shadow:
        0 0 10px rgba(255, 255, 255, 0.06),
        0 0 24px rgba(255, 255, 255, 0.02);
    animation: orbitSpinCW 18s linear infinite;
}

.orbit-glow-dot {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.orbit-glow-dot:nth-child(4) {
    width: 5px;
    height: 5px;
    top: 50%;
    left: 50%;
    margin-top: -147px;
    margin-left: -2px;
    background: rgba(140, 198, 63, 0.92);
    box-shadow: 0 0 10px rgba(140, 198, 63, 0.72), 0 0 22px rgba(110, 165, 42, 0.4);
    animation: dotOrbitCW 13s linear infinite;
}

.orbit-glow-dot:nth-child(5) {
    width: 4px;
    height: 4px;
    top: 50%;
    left: 50%;
    margin-top: -2px;
    margin-left: 128px;
    background: rgba(240, 167, 46, 0.9);
    box-shadow: 0 0 8px rgba(240, 167, 46, 0.62), 0 0 18px rgba(240, 167, 46, 0.32);
    animation: dotOrbitCCW 10s linear infinite;
    animation-delay: -3s;
}

.orbit-glow-dot:nth-child(6) {
    width: 3.5px;
    height: 3.5px;
    top: 50%;
    left: 50%;
    margin-top: 128px;
    margin-left: -1px;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 0 7px rgba(255, 255, 255, 0.5), 0 0 16px rgba(255, 255, 255, 0.2);
    animation: dotOrbitCW 18s linear infinite;
    animation-delay: -7s;
}

@keyframes orbitSpinCW {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes orbitSpinCCW {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

@keyframes dotOrbitCW {
    from {
        transform: translate(-50%, -50%) rotate(0deg) translateX(145px) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg) translateX(145px) rotate(-360deg);
    }
}

@keyframes dotOrbitCCW {
    from {
        transform: translate(-50%, -50%) rotate(0deg) translateX(128px) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(-360deg) translateX(128px) rotate(360deg);
    }
}

.header-logo-img {
    width: 108px;
    height: auto;
    object-fit: contain;
    transition: transform 0.45s ease, filter 0.45s ease;
    position: relative;
    z-index: 1;
    display: block;
}

.header-logo-img:hover {
    transform: scale(1.06);
    filter:
        drop-shadow(0 0 16px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 30px rgba(255, 255, 255, 0.28)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4)) brightness(1.06);
}

.title-ornament-line {
    display: block;
    width: 110px;
    height: 2px;
    margin: 6px auto 4px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(240, 167, 46, 0.36) 18%,
            rgba(110, 165, 42, 0.6) 42%,
            rgba(140, 198, 63, 0.72) 50%,
            rgba(110, 165, 42, 0.6) 58%,
            rgba(240, 167, 46, 0.36) 82%,
            transparent 100%);
    border-radius: 2px;
    position: relative;
    z-index: 1;
    animation: ornamentPulse 3.5s ease-in-out infinite;
}

@keyframes ornamentPulse {

    0%,
    100% {
        opacity: 0.55;
        width: 110px;
    }

    50% {
        opacity: 0.9;
        width: 132px;
    }
}

.header-system-name {
    font-size: 2.6rem;
    font-family: var(--webfont);
    font-weight: 800;
    background: linear-gradient(118deg,
            #ffffff 0%,
            #f2f8e8 12%,
            #8cc63f 32%,
            #f0a72e 50%,
            #8cc63f 68%,
            #f2f8e8 88%,
            #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.35;
    text-shadow:
        0 0 40px rgba(255, 255, 255, 0.5),
        0 0 80px rgba(110, 165, 42, 0.22);
    margin: 10px 0px 4px 0px;
    position: relative;
    z-index: 1;
    letter-spacing: 2.2px;
    text-align: left;
    white-space: nowrap;
    animation: titleShine 8s ease-in-out infinite;
}

@keyframes titleShine {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

.header-subtitle {
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 2.2px;
    color: rgba(228, 220, 206, 0.85);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5), 0 0 18px rgba(110, 165, 42, 0.14);
    margin: 2px 0 6px;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    font-style: normal;
    line-height: 1.5;
    transition: color 0.4s ease, text-shadow 0.4s ease;
    font-family: fantasy;
    text-align: left;
}

.header-subtitle:hover {
    color: rgba(244, 238, 226, 0.95);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55), 0 0 24px rgba(240, 167, 46, 0.24);
}

.title-ornament-line-bottom {
    display: block;
    width: 75px;
    height: 1.5px;
    margin: 2px auto 0;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(110, 165, 42, 0.2) 25%,
            rgba(110, 165, 42, 0.46) 50%,
            rgba(240, 167, 46, 0.22) 75%,
            transparent 100%);
    border-radius: 2px;
    position: relative;
    z-index: 1;
    animation: ornamentPulseBottom 4s ease-in-out infinite;
}

@keyframes ornamentPulseBottom {

    0%,
    100% {
        opacity: 0.4;
        width: 75px;
    }

    50% {
        opacity: 0.75;
        width: 94px;
    }
}

.login-wrapper {
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    z-index: 2;
    position: relative;
    animation: wrapperFadeIn 1s ease-out 0.2s both;
    gap: 0;
    perspective: 1200px;
    -webkit-perspective: 1200px;
    flex-shrink: 0;
    margin-bottom: 52px;
    max-width: 760px;
}

@keyframes wrapperFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.login-card {
    width: 100%;
    max-width: 470px;
    background: var(--card-bg);
    backdrop-filter: blur(58px);
    -webkit-backdrop-filter: blur(58px);
    border-radius: var(--border-radius-xl);
    padding: 48px 46px 44px;
    box-shadow: var(--shadow-card),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.08);
    border: 1.5px solid var(--glass-border);
    z-index: 3;
    text-align: center;
    transition:
        box-shadow var(--transition-smooth),
        border-color var(--transition-smooth),
        border-radius var(--transition-smooth),
        background var(--transition-smooth),
        padding var(--transition-smooth),
        transform var(--transition-smooth);
    flex-shrink: 0;
    position: relative;
    border-right: 0;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.5) 0%,
            rgba(110, 165, 42, 0.22) 28%,
            rgba(255, 255, 255, 0.34) 52%,
            rgba(240, 167, 46, 0.18) 76%,
            rgba(255, 255, 255, 0.44) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
    opacity: 0.7;
    transition: opacity var(--transition-smooth);
}

.login-card:hover {
    box-shadow: var(--shadow-card-hover),
        inset 0 1px 0 rgba(255, 255, 255, 0.46),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    border-color: var(--glass-border-hover);
    background: var(--card-bg-hover);
    transform: translateY(-2px);
}

.login-card:hover::before {
    opacity: 1;
}

.login-card.right-connected {
    border-radius: 0 0 0 var(--border-radius-xl);
}

.login-card:not(.right-connected) {
    border-radius: 0 var(--border-radius-xl) var(--border-radius-xl);
    border-right: 1.5px solid var(--glass-border);
}

.login-card-title-tag {
    position: absolute;
    z-index: 10;
    top: -22px;
    left: -14px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 26px 13px 22px;
    background: linear-gradient(135deg, #7bb62f 0%, #6ea52a 50%, #5d9023 100%);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-radius: var(--border-radius-sm) var(--border-radius-sm) 8px 0;
    box-shadow:
        0 10px 28px rgba(20, 12, 4, 0.32),
        0 3px 8px rgba(20, 12, 4, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
    pointer-events: none;
    transition: all 0.45s ease;
    line-height: 1;
}

.login-card-title-tag .tag-icon {
    color: var(--gold-accent);
    font-size: 1.1rem;
    filter: drop-shadow(0 0 8px rgba(79, 125, 28, 0.86));
    transition: color 0.35s ease, filter 0.35s ease;
}

.login-card-title-tag .tag-text {
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.login-card-title-tag::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: -5px;
    width: 0;
    height: 0;
    border-top: 13px solid rgb(74, 112, 28);
    border-bottom: 10px solid transparent;
    border-right: 13px solid transparent;
    z-index: -6;
    transform: rotate(90deg);
    transition: opacity 0.45s ease;
}

.login-card:hover .login-card-title-tag {
    box-shadow:
        0 12px 32px rgba(20, 12, 4, 0.38),
        0 4px 10px rgba(20, 12, 4, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
    transform: translateY(-2px);
}

.login-card:hover .login-card-title-tag .tag-icon {
    color: #f7bd52;
    filter: drop-shadow(0 0 14px rgba(240, 167, 46, 0.8));
}

.login-card-expand-btn {
    position: absolute;
    z-index: 15;
    top: 18px;
    right: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(110, 165, 42, 0.18);
    border: 1.5px solid rgba(110, 165, 42, 0.5);
    color: #4f7d1c;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.08rem;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.14), 0 0 22px rgba(110, 165, 42, 0.14);
    transition: all 0.4s cubic-bezier(0.42, 0, 0.18, 1);
    opacity: 0;
    pointer-events: none;
    transform: scale(0.65);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.login-card-expand-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.login-card-expand-btn:hover {
    background: rgba(110, 165, 42, 0.36);
    border-color: var(--brand-green);
    color: #3f6516;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 0 36px rgba(110, 165, 42, 0.32);
    transform: scale(1.12);
}

.login-card-expand-btn:active {
    transform: scale(0.88);
    transition: 0.1s;
}

.login-card-inner {
    width: 100%;
    position: relative;
    z-index: 2;
}

.input-group {
    margin-bottom: 28px;
    text-align: left;
}

.input-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 11px;
    font-size: 1rem;
    padding-left: 10px;
    letter-spacing: 0.3px;
}

.input-group label i {
    color: var(--brand-green);
    font-size: 1.08rem;
    width: 22px;
    transition: color 0.3s ease;
}

.input-wrapper {
    position: relative;
    border-radius: var(--border-radius-xl);
    background: rgba(252, 250, 244, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(110, 165, 42, 0.3);
    box-shadow: 0 2px 8px rgba(20, 12, 4, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.38s ease;
}

.input-wrapper:focus-within {
    border-color: var(--brand-green);
    box-shadow:
        0 10px 28px rgba(110, 165, 42, 0.24),
        0 0 0 5px rgba(79, 125, 28, 0.05),
        inset 0 0 35px rgba(110, 165, 42, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.input-group input {
    width: 100%;
    padding: 17px 80px 17px 24px;
    border: none;
    background: transparent;
    font-size: 1rem;
    border-radius: var(--border-radius-xl);
    outline: none;
    font-weight: 500;
    color: #3d2b1b;
    letter-spacing: 0.3px;
    transition: 0.25s;
}

.input-group input::placeholder {
    color: #a89a86;
    font-weight: 400;
}

.input-actions {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 9px;
    align-items: center;
}

.input-action-btn {
    background: rgba(110, 165, 42, 0.1);
    border: none;
    color: #4f7d1c;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.24s;
    font-size: 0.85rem;
}

.input-action-btn:hover {
    background: rgba(110, 165, 42, 0.28);
    transform: scale(1.12);
    color: #3f6516;
    box-shadow: 0 4px 14px rgba(110, 165, 42, 0.24);
}

.input-action-btn:active {
    transform: scale(0.9);
    transition: 0.08s;
}

.error-message {
    background: rgba(255, 247, 240, 0.92);
    backdrop-filter: blur(10px);
    border-left: 4px solid #E6734C;
    padding: 14px 19px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 16px;
    display: none;
    align-items: center;
    gap: 10px;
    color: #BC5A3A;
    font-weight: 500;
    font-size: 0.88rem;
    text-align: left;
}

.error-message.show {
    display: flex;
    animation: gentleShake 0.45s ease;
}

@keyframes gentleShake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.btn-login {
    width: 100%;
    padding: 17px;
    border-radius: var(--border-radius-full);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    position: relative;
    overflow: hidden;
    background: linear-gradient(108deg, #4f7d1c 0%, #6ea52a 30%, #5d9023 60%, #4f7d1c 100%);
    background-size: 200% auto;
    color: white;
    box-shadow:
        0 16px 34px -12px rgba(63, 101, 22, 0.5),
        0 0 0 0 rgba(110, 165, 42, 0),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1.5px solid rgba(240, 167, 46, 0.3);
    letter-spacing: 0.6px;
    margin-top: 38px;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: var(--border-radius-full);
    background: linear-gradient(140deg,
            rgba(240, 167, 46, 0.42) 0%,
            transparent 38%,
            transparent 62%,
            rgba(140, 198, 63, 0.28) 100%);
    opacity: 0;
    transition: opacity 0.45s ease;
    z-index: 0;
    pointer-events: none;
}

.btn-login::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.32),
            transparent);
    transition: left 0.6s;
    z-index: 1;
    pointer-events: none;
}

.btn-login:hover::before {
    opacity: 1;
}

.btn-login:hover::after {
    left: 100%;
}

.btn-login:hover {
    transform: translateY(-4px);
    box-shadow:
        0 24px 42px -12px rgba(63, 101, 22, 0.65),
        0 0 0 9px rgba(110, 165, 42, 0.07);
    background: linear-gradient(108deg, #5d9023 0%, #8cc63f 30%, #6ea52a 60%, #5d9023 100%);
    background-position: right center;
    border-color: rgba(240, 167, 46, 0.55);
}

.btn-login:active {
    transform: translateY(-1px);
    box-shadow:
        0 8px 20px -6px rgba(63, 101, 22, 0.5),
        0 0 0 4px rgba(110, 165, 42, 0.12);
    transition: 0.1s;
}

.btn-login span,
.btn-login i {
    position: relative;
    z-index: 2;
}

/* ========== 有机码查询入口 ========== */
.organic-code-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    padding: 12px 20px;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    background: rgba(240, 167, 46, 0.12);
    border: 1.5px solid rgba(240, 167, 46, 0.42);
    color: #96690f;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.organic-code-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius-full);
    background: linear-gradient(120deg,
            rgba(240, 167, 46, 0.32) 0%,
            rgba(110, 165, 42, 0.2) 50%,
            rgba(240, 167, 46, 0.28) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.organic-code-link:hover {
    transform: translateY(-2px);
    border-color: rgba(240, 167, 46, 0.68);
    color: #7d5709;
    box-shadow:
        0 10px 26px rgba(110, 165, 42, 0.2),
        0 0 30px rgba(240, 167, 46, 0.22);
    background: rgba(240, 167, 46, 0.22);
}

.organic-code-link:hover::before {
    opacity: 1;
}

.organic-code-link:active {
    transform: translateY(0);
    transition: 0.1s;
    box-shadow: 0 4px 12px rgba(110, 165, 42, 0.14);
}

.organic-code-link i {
    font-size: 0.95rem;
    color: #96690f;
    transition: color 0.35s ease;
}

.organic-code-link:hover i {
    color: #7d5709;
}

.footer-section {
    z-index: 2;
    position: relative;
    text-align: center;
    flex-shrink: 0;
    padding: 10px 20px 8px;
    animation: footerFadeIn 1s ease-out 0.3s both;
}

@keyframes footerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 20px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.35);
    line-height: 1.6;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.35);
    font-weight: 300;
    user-select: none;
}

.footer-link {
    color: rgba(226, 238, 208, 0.9);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    font-weight: 600;
    cursor: pointer;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5), 0 0 16px rgba(110, 165, 42, 0.16);
}

.footer-link:hover {
    color: var(--gold-accent-glow);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6), 0 0 26px rgba(240, 167, 46, 0.42);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(255, 253, 247, 0.96);
    backdrop-filter: blur(22px);
    border-radius: var(--border-radius-md);
    padding: 17px 30px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 28px 50px -14px rgba(0, 0, 0, 0.38);
    border-left: 5px solid var(--brand-green);
    transform: translateX(150%);
    transition: transform 0.48s cubic-bezier(0.2, 0.9, 0.4, 1.2);
    z-index: 2000;
}

.notification.show {
    transform: translateX(0);
}

.notification-icon {
    font-size: 1.8rem;
    color: var(--brand-green);
}

.mini-program-float {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    width: 290px;
    overflow: visible;
    background: var(--card-bg);
    backdrop-filter: blur(58px);
    -webkit-backdrop-filter: blur(58px);
    border-radius: 0 var(--border-radius-xl) var(--border-radius-xl) 0;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    border-left: 1.5px solid rgba(255, 255, 255, 0.04);
    margin-left: 0px;
    display: flex;
    align-items: center;
    cursor: default;
    min-height: 100%;
    transform-origin: left center;
    -webkit-transform-origin: left center;
    transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    box-shadow:
        0 30px 72px rgba(20, 12, 4, 0.32),
        0 5px 16px rgba(20, 12, 4, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
    transition:
        opacity var(--transition-flip),
        width var(--transition-flip),
        min-width var(--transition-flip),
        max-width var(--transition-flip),
        flex-basis var(--transition-flip),
        margin var(--transition-flip),
        padding var(--transition-flip),
        border var(--transition-flip),
        border-radius var(--transition-flip),
        box-shadow var(--transition-flip),
        border-color 0.45s ease,
        background 0.5s ease,
        transform var(--transition-flip);
}

.mini-program-float::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.36) 0%,
            rgba(110, 165, 42, 0.18) 30%,
            rgba(255, 255, 255, 0.24) 55%,
            rgba(240, 167, 46, 0.14) 78%,
            rgba(255, 255, 255, 0.32) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
    transition: opacity var(--transition-flip);
}

.mini-program-float.expanded:hover {
    box-shadow:
        0 38px 84px rgba(20, 12, 4, 0.44),
        0 9px 24px rgba(20, 12, 4, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(110, 165, 42, 0.32);
    background: var(--card-bg-hover);
}

.mini-program-float.expanded:hover::before {
    opacity: 0.9;
}

.mini-program-float:not(.expanded) {
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    flex: 0 0 0 !important;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
    transform: rotateY(-82deg) !important;
    -webkit-transform: rotateY(-82deg) !important;
    border-radius: 0 28px 28px 0;
    background: rgba(18, 13, 8, 0.72);
    backdrop-filter: blur(38px);
    -webkit-backdrop-filter: blur(38px);
}

.mini-program-content {
    width: 100%;
    min-width: 262px;
    padding: 32px 22px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease 0.18s;
    position: relative;
    z-index: 1;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.mini-program-float:not(.expanded) .mini-program-content {
    opacity: 0;
    transition: opacity 0.06s ease;
    pointer-events: none;
    position: absolute;
    width: 0;
    overflow: hidden;
}

.mini-program-toggle {
    position: absolute;
    z-index: 10;
    background: rgba(110, 165, 42, 0.16);
    border: 1.5px solid rgba(110, 165, 42, 0.42);
    color: #4f7d1c;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.42, 0, 0.18, 1);
    font-size: 0.92rem;
    top: 18px;
    right: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.mini-program-toggle:hover {
    background: rgba(110, 165, 42, 0.34);
    transform: scale(1.14);
    color: #3f6516;
    border-color: var(--brand-green);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.16);
}

.mini-program-float:not(.expanded) .mini-program-toggle {
    display: none;
}

.qrcode-title {
    font-size: 1.24rem;
    color: var(--text-dark);
    margin-bottom: 16px;
    text-align: center;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    white-space: nowrap;
}

.qrcode-title i {
    color: var(--brand-green);
}

.qrcode-container {
    width: 190px;
    height: 190px;
    margin: 0 auto 18px;
    background: white;
    padding: 14px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 8px 24px rgba(20, 12, 4, 0.07);
    border: 1.5px solid rgba(110, 165, 42, 0.36);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.mini-program-float.expanded:hover .qrcode-container {
    box-shadow: 0 12px 32px rgba(20, 12, 4, 0.14);
    border-color: rgba(110, 165, 42, 0.55);
    transform: translateY(-2px);
}

.qrcode-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.qrcode-desc {
    color: #6b5a42;
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 14px;
    white-space: nowrap;
}

.qrcode-desc strong {
    color: var(--text-dark);
}

.qrcode-tips {
    background: rgba(110, 165, 42, 0.08);
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    font-size: 0.82rem;
    color: #5c4a33;
    line-height: 1.45;
    border-left: 3px solid var(--brand-green);
    width: 100%;
    text-align: center;
    transition: background 0.35s ease;
}

.mini-program-float.expanded:hover .qrcode-tips {
    background: rgba(110, 165, 42, 0.14);
}

@media (max-width: 820px) {
    .header-section {
        gap: 18px;
        padding: 10px 14px;
        margin-bottom: 40px;
    }

    .header-text-wrapper {
        align-items: flex-start;
        text-align: left;
    }

    .header-system-name {
        text-align: left;
    }

    .header-subtitle {
        text-align: left;
    }

    .title-ornament-line {
        margin: 6px 0 4px 0;
    }

    .title-ornament-line-bottom {
        margin: 2px 0 0 0;
    }

    .mini-program-float {
        display: none !important;
    }

    .login-card-expand-btn {
        display: none !important;
    }

    .login-card {
        border-radius: var(--border-radius-xl) !important;
        max-width: 470px;
        border-right: 1.5px solid var(--glass-border) !important;
    }

    .login-card.right-connected {
        border-radius: var(--border-radius-xl) !important;
    }

    .login-card-title-tag {
        top: -18px;
        left: 24px;
        padding: 10px 20px 11px 17px;
        font-size: 0.9rem;
        border-radius: 14px 18px 7px 5px;
    }

    .header-system-name {
        font-size: 1.85rem;
    }

    .header-subtitle {
        font-size: 0.8rem;
        letter-spacing: 1.2px;
    }

    .title-ornament-line {
        width: 78px;
    }

    @keyframes ornamentPulse {

        0%,
        100% {
            opacity: 0.55;
            width: 78px;
        }

        50% {
            opacity: 0.9;
            width: 96px;
        }
    }

    .title-ornament-line-bottom {
        width: 54px;
    }

    @keyframes ornamentPulseBottom {

        0%,
        100% {
            opacity: 0.4;
            width: 54px;
        }

        50% {
            opacity: 0.75;
            width: 68px;
        }
    }

    .header-logo-img {
        width: 140px;
    }

    .header-logo-wrapper::after {
        width: 82px;
        height: 82px;
    }

    .orbit-ring-outer {
        width: 188px;
        height: 178px;
        margin-top: -89px;
        margin-left: -94px;
        border-width: 1.5px;
    }

    .orbit-ring-inner {
        width: 164px;
        height: 154px;
        margin-top: -77px;
        margin-left: -82px;
        border-width: 1.2px;
    }

    .orbit-ring-accent {
        width: 176px;
        height: 166px;
        margin-top: -83px;
        margin-left: -88px;
        border-width: 1px;
    }

    .orbit-glow-dot:nth-child(4) {
        margin-top: -94px;
        margin-left: -2px;
        width: 4px;
        height: 4px;
    }

    .orbit-glow-dot:nth-child(5) {
        margin-top: -2px;
        margin-left: 81px;
        width: 3.5px;
        height: 3.5px;
    }

    .orbit-glow-dot:nth-child(6) {
        margin-top: 82px;
        margin-left: -1px;
        width: 3px;
        height: 3px;
    }

    @keyframes dotOrbitCW {
        from {
            transform: translate(-50%, -50%) rotate(0deg) translateX(94px) rotate(0deg);
        }

        to {
            transform: translate(-50%, -50%) rotate(360deg) translateX(94px) rotate(-360deg);
        }
    }

    @keyframes dotOrbitCCW {
        from {
            transform: translate(-50%, -50%) rotate(0deg) translateX(81px) rotate(0deg);
        }

        to {
            transform: translate(-50%, -50%) rotate(-360deg) translateX(81px) rotate(360deg);
        }
    }

    .header-particle:nth-child(1),
    .header-particle:nth-child(5) {
        display: none;
    }

    .footer-content {
        font-size: 0.78rem;
        gap: 6px 12px;
    }

    .video-control-btn {
        width: 42px;
        height: 42px;
        bottom: 24px;
        left: 24px;
        font-size: 0.9rem;
    }

    .video-pause-indicator {
        font-size: 0.85rem;
        padding: 12px 24px;
    }

    body.video-unavailable .video-control-btn {
        display: none !important;
    }

    .organic-code-link {
        font-size: 0.85rem;
        padding: 10px 16px;
        gap: 6px;
    }
}

@media (max-width: 560px) {
    body {
        padding: 16px;
    }

    .header-section {
        flex-direction: column;
        gap: 16px;
        padding: 6px 8px;
        margin-bottom: 38px;
        text-align: center;
    }

    .header-text-wrapper {
        align-items: center;
        text-align: center;
    }

    .header-system-name {
        text-align: center;
    }

    .header-subtitle {
        text-align: center;
    }

    .title-ornament-line {
        margin: 6px auto 4px;
    }

    .title-ornament-line-bottom {
        margin: 2px auto 0;
    }

    .header-logo-img {
        width: 100px;
    }

    .header-logo-wrapper::after {
        width: 66px;
        height: 66px;
    }

    .orbit-ring-outer {
        width: 132px;
        height: 124px;
        margin-top: -62px;
        margin-left: -66px;
        border-width: 1.2px;
    }

    .orbit-ring-inner {
        width: 114px;
        height: 106px;
        margin-top: -53px;
        margin-left: -57px;
        border-width: 1px;
    }

    .orbit-ring-accent {
        width: 124px;
        height: 116px;
        margin-top: -58px;
        margin-left: -62px;
        border-width: 0.8px;
    }

    .orbit-glow-dot:nth-child(4) {
        margin-top: -66px;
        margin-left: -1px;
        width: 3px;
        height: 3px;
    }

    .orbit-glow-dot:nth-child(5) {
        margin-top: -1px;
        margin-left: 56px;
        width: 2.5px;
        height: 2.5px;
    }

    .orbit-glow-dot:nth-child(6) {
        margin-top: 57px;
        margin-left: -1px;
        width: 2px;
        height: 2px;
    }

    @keyframes dotOrbitCW {
        from {
            transform: translate(-50%, -50%) rotate(0deg) translateX(66px) rotate(0deg);
        }

        to {
            transform: translate(-50%, -50%) rotate(360deg) translateX(66px) rotate(-360deg);
        }
    }

    @keyframes dotOrbitCCW {
        from {
            transform: translate(-50%, -50%) rotate(0deg) translateX(56px) rotate(0deg);
        }

        to {
            transform: translate(-50%, -50%) rotate(-360deg) translateX(56px) rotate(360deg);
        }
    }

    .header-system-name {
        font-size: 1.35rem;
    }

    .header-subtitle {
        font-size: 0.7rem;
        letter-spacing: 0.9px;
    }

    .title-ornament-line {
        width: 54px;
        height: 1.5px;
    }

    @keyframes ornamentPulse {

        0%,
        100% {
            opacity: 0.55;
            width: 54px;
        }

        50% {
            opacity: 0.9;
            width: 66px;
        }
    }

    .title-ornament-line-bottom {
        width: 38px;
        height: 1px;
    }

    @keyframes ornamentPulseBottom {

        0%,
        100% {
            opacity: 0.4;
            width: 38px;
        }

        50% {
            opacity: 0.75;
            width: 48px;
        }
    }

    .login-card {
        padding: 36px 22px 32px;
        border-radius: 28px !important;
        max-width: 400px;
        border-right: 1.5px solid var(--glass-border) !important;
    }

    .login-card.right-connected {
        border-radius: 28px !important;
    }

    .login-card-title-tag {
        top: -15px;
        left: 16px;
        padding: 8px 15px 10px 13px;
        font-size: 0.8rem;
        gap: 5px;
        border-radius: 12px 14px 5px 4px;
    }

    .login-card-title-tag .tag-icon {
        font-size: 0.9rem;
    }

    .login-card-expand-btn {
        display: none !important;
    }

    .btn-login {
        padding: 15px;
        font-size: 0.95rem;
    }

    .mini-program-float {
        display: none !important;
    }

    .footer-section {
        padding: 8px 10px 4px;
    }

    .footer-content {
        font-size: 0.73rem;
        gap: 4px 8px;
        flex-direction: column;
    }

    .footer-separator.hide-on-mobile {
        display: none;
    }

    .video-control-btn {
        width: 38px;
        height: 38px;
        bottom: 18px;
        left: 18px;
        font-size: 0.78rem;
        border-width: 1.2px;
    }

    .video-control-btn::after {
        inset: -4px;
        border-width: 1px;
    }

    .video-pause-indicator {
        font-size: 0.75rem;
        padding: 10px 20px;
        border-radius: 28px;
    }

    #cursorGridCanvas {
        opacity: 0.55;
    }

    body.video-unavailable .video-control-btn {
        display: none !important;
    }

    .organic-code-link {
        font-size: 0.8rem;
        padding: 9px 14px;
        gap: 5px;
        margin-top: 14px;
    }
}