* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}

*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--aurora1) 0%, var(--aurora2) 50%, var(--aurora3) 100%);
    border-radius: 4px;
    transition: all 0.3s;
}

*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(79, 195, 247, 0.9) 0%, rgba(124, 77, 255, 0.9) 50%, rgba(224, 64, 251, 0.9) 100%);
    box-shadow: 0 0 10px rgba(79, 195, 247, 0.5);
}

*::-webkit-scrollbar-corner {
    background: transparent;
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--aurora1) rgba(255, 255, 255, 0.02);
}

:root {
    --bg: #0a0a1a;
    --aurora1: #4fc3f7;
    --aurora2: #7c4dff;
    --aurora3: #e040fb;
    --text: #f8fafc;
    --text-dim: rgba(248, 250, 252, 0.4);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --star-glow: rgba(255, 255, 255, 0.8);
}

/* 加载动画样式 */
.loader-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader-ring {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid transparent;
    border-top-color: var(--aurora1);
    border-radius: 50%;
    animation: loader-spin 1.5s linear infinite;
}

.loader-ring-2 {
    width: 140px;
    height: 140px;
    border-top-color: var(--aurora2);
    animation-duration: 2s;
    animation-direction: reverse;
}

.loader-ring-3 {
    width: 160px;
    height: 160px;
    border-top-color: var(--aurora3);
    animation-duration: 2.5s;
}

@keyframes loader-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}



.loader-text {
    margin-top: 100px;
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--text-dim);
    animation: loader-text-blink 2s ease-in-out infinite;
}

@keyframes loader-text-blink {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

body {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow: hidden;
}

.aurora-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: radial-gradient(ellipse at 30% 20%, rgba(79, 195, 247, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(124, 77, 255, 0.06) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 50%, rgba(224, 64, 251, 0.03) 0%, transparent 70%),
                linear-gradient(180deg, #0a0a1a 0%, #0d0d25 50%, #0f0f2d 100%);
}

.stars {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, var(--star-glow), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, var(--star-glow), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 160px 120px, var(--star-glow), transparent),
        radial-gradient(2px 2px at 200px 50px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 250px 150px, var(--star-glow), transparent),
        radial-gradient(2px 2px at 300px 90px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 350px 200px, var(--star-glow), transparent),
        radial-gradient(2px 2px at 400px 60px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 450px 180px, var(--star-glow), transparent),
        radial-gradient(2px 2px at 500px 100px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 550px 250px, var(--star-glow), transparent),
        radial-gradient(2px 2px at 600px 140px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 650px 80px, var(--star-glow), transparent),
        radial-gradient(2px 2px at 700px 200px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 750px 160px, var(--star-glow), transparent),
        radial-gradient(2px 2px at 800px 40px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 850px 220px, var(--star-glow), transparent),
        radial-gradient(2px 2px at 900px 120px, rgba(255,255,255,0.9), transparent);
    background-size: 1000px 300px;
    animation: twinkle 5s ease-in-out infinite;
}

.stars::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(1px 1px at 100px 100px, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 200px 200px, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 300px 50px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 400px 180px, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 500px 220px, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 600px 70px, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 700px 250px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 800px 150px, rgba(255,255,255,0.3), transparent);
    background-size: 900px 350px;
    animation: twinkle 7s ease-in-out infinite reverse;
}

.stars::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(3px 3px at 45% 35%, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 60% 55%, rgba(255,255,255,0.25), transparent),
        radial-gradient(3px 3px at 25% 70%, rgba(255,255,255,0.2), transparent),
        radial-gradient(2px 2px at 80% 25%, rgba(255,255,255,0.3), transparent),
        radial-gradient(3px 3px at 15% 45%, rgba(255,255,255,0.25), transparent);
    animation: twinkle 4s ease-in-out infinite;
    animation-delay: -2s;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.stars-dynamic {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: star-flicker linear infinite;
}

@keyframes star-flicker {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

.nebula {
    position: absolute;
    width: 80%;
    height: 80%;
    opacity: 0.3;
    filter: blur(80px);
}

.nebula.n1 {
    top: -30%;
    left: -20%;
    background: radial-gradient(ellipse, rgba(79, 195, 247, 0.3) 0%, transparent 70%);
    animation: nebula-drift 20s ease-in-out infinite;
}

.nebula.n2 {
    bottom: -20%;
    right: -10%;
    background: radial-gradient(ellipse, rgba(124, 77, 255, 0.3) 0%, transparent 70%);
    animation: nebula-drift 25s ease-in-out infinite reverse;
    animation-delay: -8s;
}

.nebula.n3 {
    top: 30%;
    left: 30%;
    background: radial-gradient(ellipse, rgba(224, 64, 251, 0.2) 0%, transparent 70%);
    animation: nebula-drift 30s ease-in-out infinite;
    animation-delay: -15s;
}

@keyframes nebula-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(3%, 2%) scale(1.05); }
    50% { transform: translate(-2%, 3%) scale(0.95); }
    75% { transform: translate(2%, -2%) scale(1.02); }
}

.grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
}

.cmd-center {
    position: relative;
    z-index: 10;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-content {
    position: relative;
    width: 800px;
    height: 600px;
}

.orbital-system {
    position: absolute;
    width: 550px;
    height: 550px;
    right: -80px;
    top: 70%;
    transform: translateY(-50%);
}

.orbit {
    position: absolute;
    border-radius: 50%;
    border: none;
}



.ring-1 {
    inset: 0;
    z-index: 1;
}

.ring-2 {
    inset: 80px;
    z-index: 2;
}

.ring-3 {
    inset: 160px;
    z-index: 15;
    pointer-events: none;
}

.ring-3 .satellite {
    pointer-events: auto;
}

.satellite {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
}

.satellite-inner {
    width: 85%;
    height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--text);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.satellite-tooltip {
    position: fixed;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    color: var(--text);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: all 0.2s ease;
    z-index: 10000;
    backdrop-filter: blur(10px);
    pointer-events: none;
}

.satellite-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.satellite:hover {
    background: rgba(0, 212, 170, 0.2);
    border-color: var(--aurora1);
    transform: scale(1.3);
    box-shadow: 0 0 30px rgba(0, 212, 170, 0.4);
}

.satellite.off {
    opacity: 0.25;
}

.satellite[data-type="app"]:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.satellite[data-type="link"] .satellite-inner {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
}

.satellite[data-type="link"]:hover {
    background: rgba(244, 114, 182, 0.2);
    border-color: var(--aurora3);
    box-shadow: 0 0 30px rgba(244, 114, 182, 0.4);
}

.satellite-inner i, .satellite-inner span {
    font-size: 28px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ring-1 .satellite:nth-child(1) { top: -26px; left: 50%; transform: translateX(-50%); }
.ring-1 .satellite:nth-child(2) { bottom: -26px; left: 50%; transform: translateX(-50%); }
.ring-1 .satellite:nth-child(3) { left: -26px; top: 50%; transform: translateY(-50%); }
.ring-1 .satellite:nth-child(4) { right: -26px; top: 50%; transform: translateY(-50%); }

.ring-2 .satellite:nth-child(1) { top: -26px; left: 50%; transform: translateX(-50%); }
.ring-2 .satellite:nth-child(2) { top: 25%; right: -26px; }
.ring-2 .satellite:nth-child(3) { bottom: 25%; right: -26px; }
.ring-2 .satellite:nth-child(4) { bottom: -26px; left: 50%; transform: translateX(-50%); }
.ring-2 .satellite:nth-child(5) { bottom: 25%; left: -26px; }
.ring-2 .satellite:nth-child(6) { top: 25%; left: -26px; }

/* 动态平均分布的卫星位置由 JavaScript 计算 */
.ring-3 .satellite {
    position: absolute;
    transition: none;
}

.core-display {
    position: absolute;
    inset: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 10;
}

.core-time {
    font-size: 72px;
    font-weight: 200;
    letter-spacing: -4px;
    line-height: 1;
    background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.core-sec {
    font-size: 24px;
    font-weight: 300;
    color: var(--aurora1);
    margin-top: 4px;
    letter-spacing: 2px;
}

.core-date {
    font-size: 11px;
    letter-spacing: 6px;
    color: var(--text-dim);
    margin-top: 12px;
}

.pulse-ring {
    position: absolute;
    inset: 140px;
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 50%;
    animation: pulse-out 4s ease-out infinite;
    pointer-events: none;
}

.pulse-ring.p2 {
    inset: 100px;
    animation-delay: -2s;
    border-color: rgba(124, 58, 237, 0.2);
}

@keyframes pulse-out {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

.hud-panel {
    position: fixed;
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 100;
}

.left-panel { left: 60px; }
.right-panel { right: 60px; top: 50%; transform: translateY(-50%); }

.top-left-panel {
    top: 60px;
    left: 60px;
}

.weather-main {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    color: var(--text);
}

.weather-temp {
    font-size: 28px;
    font-weight: bold;
    color: var(--accent);
}

.weather-text {
    font-size: 14px;
    color: var(--text-dim);
}

.weather-location {
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 1px;
}

.weather-update {
    font-size: 10px;
    color: var(--text-dim);
    opacity: 0.6;
}

.top-center-panel {
    top: 60px;
    right: 60px;
}



.hud-item {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hud-label {
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--text-dim);
}

.hud-input-wrap {
    display: flex;
    gap: 8px;
}

.hud-input-wrap input {
    flex: 1;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 14px 16px;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.hud-input-wrap input:focus {
    border-color: var(--aurora1);
    background: rgba(0, 212, 170, 0.05);
}

.hud-input-wrap input::placeholder {
    color: var(--text-dim);
}

.notifications-container {
    position: fixed;
    top: 160px;
    right: 60px;
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow: visible;
    background: transparent;
    border: none;
    z-index: 3000;
}

.notification-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: transparent;
    border: none;
    border-radius: 0;
    border-bottom: 2px solid var(--glass-border);
    backdrop-filter: none;
    animation: slideInRight 0.4s ease-out forwards;
    opacity: 0;
    transform: translateX(50px);
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notification-item.fade-out {
    animation: fadeOutRight 0.3s ease-out forwards;
}

@keyframes fadeOutRight {
    to {
        opacity: 0;
        transform: translateX(50px);
    }
}

.notification-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
}

.notification-icon.login {
    background: rgba(79, 195, 247, 0.2);
    color: var(--aurora1);
}

.notification-icon.logout {
    background: rgba(224, 64, 251, 0.2);
    color: var(--aurora3);
}

.notification-icon.save {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.notification-icon.error {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

.notification-message {
    flex: 1;
    font-size: 12px;
    color: var(--text);
    letter-spacing: 1px;
}

.notification-time {
    font-size: 10px;
    color: var(--text-dim);
}

.hud-send {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--aurora1), var(--aurora2));
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.hud-send:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 212, 170, 0.3);
}

.eng-pills {
    display: flex;
    gap: 8px;
}

.epill {
    padding: 8px 14px;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    color: var(--text-dim);
    font-family: inherit;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s;
}

.epill:hover {
    border-color: var(--aurora2);
    color: var(--text);
}

.epill.active {
    background: var(--aurora2);
    border-color: var(--aurora2);
    color: #fff;
}

.w-display {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 20px;
    height: 48px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
}

.wicon {
    font-size: 32px;
    color: var(--aurora1);
}

.wtemp {
    font-size: 36px;
    font-weight: 200;
}

.wcity {
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 2px;
}

.sys-bars {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sysbar {
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    color: var(--text-dim);
}

.bar-track {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 2px;
    transition: width 1.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.bar-fill.c { background: var(--aurora1); }
.bar-fill.m { background: var(--aurora2); }
.bar-fill.d { background: var(--aurora3); }

.corner-mark {
    position: fixed;
    width: 60px;
    height: 60px;
    border-color: rgba(255, 255, 255, 0.1);
    border-style: solid;
    border-width: 0;
    z-index: 150;
}

.corner-mark.tl {
    top: 30px;
    left: 30px;
    border-top-width: 2px;
    border-left-width: 2px;
}

.corner-mark.tr {
    top: 30px;
    right: 30px;
    border-top-width: 2px;
    border-right-width: 2px;
}

.corner-mark.bl {
    bottom: 80px;
    left: 30px;
    border-bottom-width: 2px;
    border-left-width: 2px;
    width: 80px;
    height: 80px;
}

.corner-mark.br {
    bottom: 80px;
    right: 30px;
    border-bottom-width: 2px;
    border-right-width: 2px;
    width: 180px;
    height: 100px;
}

.status-bar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
    padding: 12px 24px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    backdrop-filter: blur(20px);
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--text-dim);
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.dot.online {
    background: var(--aurora1);
    box-shadow: 0 0 10px var(--aurora1);
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.status-item i {
    font-size: 12px;
    color: var(--aurora2);
}

@media (max-width: 1200px) {
    .orbital-system {
        transform: scale(0.7);
    }

    .left-panel { left: 20px; }
    .right-panel { right: 20px; }
}

@media (max-width: 900px) {
    .orbital-system {
        transform: scale(0.5);
    }

    .hud-panel {
        position: fixed;
        top: auto;
        bottom: 100px;
        transform: none;
        width: calc(50% - 40px);
    }

    .left-panel { left: 20px; bottom: 100px; }
    .right-panel { right: 20px; bottom: 100px; }

    .core-display {
        inset: 200px;
    }

    .core-time {
        font-size: 48px;
    }

    .status-bar {
        bottom: 20px;
        gap: 15px;
        padding: 10px 16px;
        font-size: 10px;
    }
}

@media (max-width: 600px) {
    .hud-panel {
        position: fixed;
        top: auto;
        left: 20px !important;
        right: 20px !important;
        bottom: 100px;
        width: auto;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
    }

    .hud-item {
        flex: 1;
        min-width: 140px;
    }

    .orbital-system {
        transform: scale(0.4);
    }

    .core-display {
        inset: 220px;
    }
}

.login-triangle {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    background: transparent;
    border: none;
}

.login-triangle::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 44px 44px 0;
    border-color: transparent rgba(255, 255, 255, 0.08) transparent transparent;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

.login-triangle::after {
    content: '';
    position: absolute;
    top: 6px;
    right: 6px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 32px 32px 0;
    border-color: transparent rgba(255, 255, 255, 0.15) transparent transparent;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.triangle-inner {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 18px 18px 0;
    border-color: transparent rgba(255, 255, 255, 0.01) transparent transparent;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    filter: blur(0px);
}

.login-triangle.logged-in::before {
    border-color: transparent rgba(79, 195, 247, 0.01) transparent transparent;
    backdrop-filter: blur(8px);
}

.login-triangle.logged-in::after {
    border-color: transparent rgba(79, 195, 247, 0.5) transparent transparent;
    filter: blur(0.5px);
    animation: triangle-glow 3s ease-in-out infinite;
}

.login-triangle.logged-in .triangle-inner {
    border-color: transparent rgba(79, 195, 247, 0.8) transparent transparent;
    filter: blur(1px);
    animation: triangle-inner-glow 3s ease-in-out infinite;
}

@keyframes triangle-glow {
    0%, 100% {
        opacity: 0.7;
        border-color: transparent rgba(79, 195, 247, 0.5) transparent transparent;
    }
    50% {
        opacity: 1;
        border-color: transparent rgba(79, 195, 255, 0.7) transparent transparent;
    }
}

@keyframes triangle-inner-glow {
    0%, 100% {
        opacity: 0.8;
        border-color: transparent rgba(79, 195, 247, 0.8) transparent transparent;
    }
    50% {
        opacity: 1;
        border-color: transparent rgba(79, 195, 255, 1) transparent transparent;
    }
}

.login-triangle:hover::after {
    border-color: transparent rgba(79, 195, 247, 0.4) transparent transparent;
}

.login-triangle:hover .triangle-inner {
    border-color: transparent rgba(124, 77, 255, 0.6) transparent transparent;
    filter: blur(0px);
}

.triangle-content {
    position: absolute;
    top: 14px;
    right: 14px;
    display: none;
    flex-direction: row;
    align-items: flex-start;
    gap: 4px;
    z-index: 10;
}

.login-triangle.logged-in .triangle-content {
    display: flex;
}

.triangle-content .user-btn {
    width: 20px;
    height: 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 3px;
    color: var(--text-dim);
    font-size: 9px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.triangle-content .user-btn:hover {
    border-color: var(--aurora2);
    color: var(--text);
    background: rgba(124, 77, 255, 0.3);
    transform: scale(1.05);
}

.triangle-content .user-btn:last-child:hover {
    border-color: var(--aurora3);
    background: rgba(224, 64, 251, 0.3);
}

.login-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.login-modal.active {
    opacity: 1;
    visibility: visible;
}

.login-modal-content {
    position: relative;
    width: 380px;
    padding: 40px;
    background: rgba(15, 15, 35, 0.9);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.login-modal.active .login-modal-content {
    transform: scale(1) translateY(0);
}

.login-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-dim);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-close:hover {
    border-color: var(--aurora3);
    color: var(--aurora3);
    transform: rotate(90deg);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-icon {
    font-size: 48px;
    background: linear-gradient(135deg, var(--aurora1), var(--aurora2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.login-header h2 {
    font-size: 25px;
    letter-spacing: 8px;
    font-weight: 400;
    background: linear-gradient(135deg, var(--aurora1), var(--aurora2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-field label {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--text-dim);
}

.login-field input {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 14px 16px;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.login-field input:focus {
    border-color: var(--aurora1);
    background: rgba(0, 212, 170, 0.05);
}

.login-field input::placeholder {
    color: var(--text-dim);
}

.login-submit {
    align-self: stretch;
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, var(--aurora1), var(--aurora2));
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    font-family: inherit;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 212, 170, 0.4);
}

.tab-panel {
    position: fixed;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 6px;
    width: 56px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    backdrop-filter: blur(20px);
    z-index: 50;
}

.tab-panel .settings-btn-in-tab {
    margin-left: auto;
}

.tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    width: 44px;
    height: 44px;
    margin: 0 auto;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--text-dim);
    font-family: inherit;
    font-size: 11px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tab-btn i {
    font-size: 18px;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--aurora1), var(--aurora2));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.3);
}

.tab-btn.active i {
    transform: scale(1.1);
}



.orbital-system.hidden {
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.user-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 140px;
    padding: 16px 12px;
    background: rgba(15, 15, 35, 0.9);
    border-left: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    border-radius: 0 0 0 12px;
    backdrop-filter: blur(20px);
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 100;
}

.user-info {
    text-align: center;
}

.user-name {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--aurora1);
    font-weight: 600;
}

.user-actions {
    display: flex;
    gap: 8px;
}

.user-btn {
    width: 36px;
    height: 36px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-dim);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-btn:hover {
    border-color: var(--aurora2);
    color: var(--text);
    background: rgba(124, 77, 255, 0.1);
    transform: translateY(-2px);
}

.user-btn:last-child:hover {
    border-color: var(--aurora3);
    background: rgba(224, 64, 251, 0.1);
}

.settings-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.settings-modal.active {
    opacity: 1;
    visibility: visible;
}

.settings-modal-content {
    position: relative;
    width: 495px;
    max-height: 80vh;
    padding: 30px;
    background: rgba(15, 15, 35, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
}

.settings-modal.active .settings-modal-content {
    transform: scale(1) translateY(0);
}

.settings-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-dim);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-close:hover {
    border-color: var(--aurora3);
    color: var(--aurora3);
    transform: rotate(90deg);
}

.settings-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 35, 0.9);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    z-index: 10;
}

.settings-loading-overlay.active {
    display: flex;
}

.settings-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--glass-border);
    border-top-color: var(--aurora2);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.settings-loading-text {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-dim);
}

.settings-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--glass-border);
}

.settings-icon {
    font-size: 36px;
    background: linear-gradient(135deg, var(--aurora1), var(--aurora2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.settings-header h2 {
    font-size: 12px;
    letter-spacing: 6px;
    font-weight: 400;
    color: var(--text);
}

.settings-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.settings-section {
    background: var(--glass);
    border-radius: 12px;
    padding: 16px;
}

.settings-section h3 {
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--aurora2);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--glass-border);
}

.credentials-row {
    display: flex;
    gap: 20px;
    padding: 10px 0;
}

.credential-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.credential-item label {
    flex-shrink: 0;
    color: var(--text-dim);
    font-size: 11px;
    letter-spacing: 2px;
}

.credential-item .settings-input {
    flex: 1;
    min-width: 145px;
    max-width: 145px;
}

.settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 11px;
    color: var(--text);
}

.settings-row label {
    color: var(--text-dim);
}

.settings-row input[type="range"] {
    flex: 1;
    max-width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
    appearance: none;
    cursor: pointer;
}

.settings-row input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--aurora1);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.settings-row input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--aurora1);
}

.range-value {
    width: 50px;
    text-align: right;
    color: var(--aurora1);
    font-weight: 600;
}

.checkbox-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.settings-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    appearance: none;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.settings-row input[type="checkbox"]:checked {
    background: linear-gradient(135deg, var(--aurora1), var(--aurora2));
    border-color: transparent;
}

.settings-row input[type="checkbox"]:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    color: #fff;
}

.manage-links-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--aurora1), var(--aurora2));
    border: none;
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.manage-links-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 212, 170, 0.3);
}

.settings-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
}

.settings-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 11px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
}

.settings-cancel {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
}

.settings-cancel:hover {
    border-color: var(--aurora3);
    color: var(--aurora3);
}

.settings-save {
    background: linear-gradient(135deg, var(--aurora1), var(--aurora2));
    border: none;
    color: #fff;
}

.settings-save:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(0, 212, 170, 0.3);
}

.settings-close-btn {
    background: linear-gradient(135deg, var(--aurora1), var(--aurora2));
    border: none;
    color: #fff;
    width: 100%;
}

.settings-close-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(224, 64, 251, 0.3);
}

.status-on {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--aurora1), var(--aurora2));
    border-radius: 4px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
}

.settings-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--glass-border);
    overflow-x: auto;
}

.settings-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-dim);
    font-family: inherit;
    font-size: 11px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.settings-tab i {
    font-size: 12px;
}

.settings-tab:hover {
    border-color: var(--aurora2);
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.settings-tab.active {
    background: linear-gradient(135deg, var(--aurora1), var(--aurora2));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 212, 170, 0.3);
}

.settings-tab-content {
    display: none;
    flex: 1;
    overflow-y: auto;
}

.settings-tab-content.active {
    display: block;
}

.settings-input {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    padding: 10px 12px;
    color: var(--text);
    font-family: inherit;
    font-size: 12px;
    outline: none;
    transition: all 0.3s;
    width: 200px;
}

.settings-input:focus {
    border-color: var(--aurora1);
    background: rgba(0, 212, 170, 0.05);
}

.settings-input::placeholder {
    color: var(--text-dim);
}


.settings-input[type="number"] {
    /* 移除 spinner - Firefox */
    -moz-appearance: textfield;
    appearance: textfield;
    padding-right: 40px;
}

.settings-input[type="number"]::-webkit-outer-spin-button,
.settings-input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.port-input-wrapper {
    position: relative;
    display: inline-block;
}

.port-input-wrapper .settings-input {
    padding-right: 50px;
}

.port-input-wrapper .port-spin-btn {
    position: absolute;
    right: 2px;
    top: 2px;
    width: 24px;
    height: calc(50% - 2px);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-left: none;
    border-radius: 0 6px 0 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--aurora1);
    font-size: 14px;
    transition: all 0.3s;
}

.port-input-wrapper .port-spin-btn:hover {
    background: rgba(79, 195, 247, 0.15);
    border-color: var(--aurora1);
    border-left: 1px solid var(--aurora1);
    box-shadow: 0 0 10px rgba(79, 195, 247, 0.3);
}

.port-input-wrapper .port-spin-btn:last-child {
    top: auto;
    bottom: 2px;
    border-radius: 0 0 6px 0;
    border-top: none;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 12px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    appearance: none;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.checkbox-label input[type="checkbox"]:checked {
    background: linear-gradient(135deg, var(--aurora1), var(--aurora2));
    border-color: transparent;
}

.checkbox-label input[type="checkbox"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.checkbox-label input[type="checkbox"]:disabled:checked {
    background: var(--glass-border);
}

.settings-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 11px;
    color: var(--text);
}

.settings-row label:first-child {
    width: 100px;
    flex-shrink: 0;
    color: var(--text-dim);
    letter-spacing: 2px;
}

.settings-row .settings-input {
    flex: 1;
    min-width: 150px;
}

.tab-buttons-list,
.partitions-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.tab-item,
.partition-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-item input,
.partition-item input {
    flex: 1;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    padding: 8px 10px;
    color: var(--text);
    font-family: inherit;
    font-size: 11px;
    outline: none;
    transition: all 0.3s;
}

.tab-name-fixed {
    flex: 1;
    padding: 8px 10px;
    color: var(--text-dim);
    font-family: inherit;
    font-size: 11px;
    letter-spacing: 2px;
}

.tab-item input:focus,
.partition-item input:focus {
    border-color: var(--aurora1);
}

.tab-item input::placeholder,
.partition-item input::placeholder {
    color: var(--text-dim);
}

.tab-icon-btn {
    flex: 1;
    min-width: 120px;
    max-width: 150px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    padding: 8px 10px;
    color: var(--text);
    font-family: inherit;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.tab-icon-btn:hover {
    border-color: var(--aurora1);
    background: rgba(79, 195, 247, 0.1);
}

.tab-icon-btn i {
    font-size: 14px;
}

.tab-edit-btn {
    min-width: 70px;
    height: 32px;
    padding: 0 8px;
    background: rgba(79, 195, 247, 0.15);
    border: 1px solid rgba(79, 195, 247, 0.3);
    border-radius: 6px;
    color: #4fc3f7;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.tab-edit-btn:hover {
    background: rgba(79, 195, 247, 0.3);
    border-color: #4fc3f7;
    transform: scale(1.05);
}

.tab-remove-btn,
.partition-remove-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 82, 82, 0.15);
    border: 1px solid rgba(255, 82, 82, 0.3);
    border-radius: 6px;
    color: #ff5252;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-remove-btn:hover,
.partition-remove-btn:hover {
    background: rgba(255, 82, 82, 0.3);
    border-color: #ff5252;
    transform: scale(1.05);
}

.add-tab-btn,
.add-partition-btn {
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: 1px dashed var(--glass-border);
    border-radius: 8px;
    color: var(--text-dim);
    font-family: inherit;
    font-size: 11px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-tab-btn:hover,
.add-partition-btn:hover {
    border-color: var(--aurora2);
    color: var(--aurora2);
    background: rgba(124, 77, 255, 0.1);
}

.icon-picker-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 35, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.icon-picker-content {
    position: relative;
    background: rgba(15, 15, 35, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.icon-picker-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-dim);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.icon-picker-close:hover {
    border-color: var(--aurora3);
    color: var(--aurora3);
    transform: rotate(90deg);
}

.icon-picker-content h3 {
    padding: 20px 24px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text);
    border-bottom: 1px solid var(--glass-border);
}

.icon-search {
    padding: 16px 24px;
    border-bottom: 1px solid var(--glass-border);
}

.icon-search input {
    width: 100%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 10px 14px;
    color: var(--text);
    font-family: inherit;
    font-size: 12px;
    outline: none;
    transition: all 0.3s;
}

.icon-search input:focus {
    border-color: var(--aurora1);
}

.icon-search input::placeholder {
    color: var(--text-dim);
}

.icon-grid {
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
}

.icon-grid::-webkit-scrollbar {
    width: 6px;
}

.icon-grid::-webkit-scrollbar-track {
    background: var(--glass);
}

.icon-grid::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 3px;
}

.icon-grid::-webkit-scrollbar-thumb:hover {
    background: var(--aurora1);
}

.icon-picker-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text);
}

.icon-picker-item:hover {
    border-color: var(--aurora1);
    background: rgba(79, 195, 247, 0.1);
    transform: translateY(-2px);
}

.icon-picker-item i {
    font-size: 24px;
}

.icon-picker-item span {
    font-size: 10px;
    color: var(--text-dim);
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tab-apps-panel {
    display: none !important;
}

.app-manager-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 35, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.app-manager-modal.active {
    display: flex;
}

.app-manager-content {
    background: rgba(15, 15, 35, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.app-manager-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-dim);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.app-manager-close:hover {
    border-color: var(--aurora3);
    color: var(--aurora3);
    transform: rotate(90deg);
}

.app-manager-header {
    position: relative;
    padding: 20px 24px;
    border-bottom: 1px solid var(--glass-border);
}

.app-manager-header h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text);
}

.app-manager-category {
    display: inline-block;
    margin-left: 12px;
    padding: 4px 10px;
    background: rgba(79, 195, 247, 0.1);
    border: 1px solid var(--aurora1);
    border-radius: 12px;
    font-size: 10px;
    color: var(--aurora1);
}

#appManagerAppsList {
    padding: 16px;
    max-height: 300px;
    overflow-y: auto;
}

#appManagerAppsList::-webkit-scrollbar {
    width: 6px;
}

#appManagerAppsList::-webkit-scrollbar-track {
    background: var(--glass);
}

#appManagerAppsList::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 3px;
}

#appManagerAppsList::-webkit-scrollbar-thumb:hover {
    background: var(--aurora1);
}

#appManagerAddApp {
    margin: 16px;
}

.app-manager-footer {
    display: flex;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid var(--glass-border);
    justify-content: flex-end;
}

.app-manager-cancel,
.app-manager-save {
    padding: 10px 20px;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

.app-manager-cancel {
    background: transparent;
    color: var(--text-dim);
}

.app-manager-cancel:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.app-manager-save {
    background: rgba(79, 195, 247, 0.2);
    border-color: var(--aurora1);
    color: var(--aurora1);
}

.app-manager-save:hover {
    background: rgba(79, 195, 247, 0.3);
}

.apps-panel-header {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--aurora1);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--glass-border);
}

.apps-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.app-item {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.app-item input {
    flex: 1;
    min-width: 100px;
    max-width: 140px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    padding: 6px 8px;
    color: var(--text);
    font-family: inherit;
    font-size: 10px;
    outline: none;
    transition: all 0.3s;
}

.app-item input.app-url {
    max-width: 220px;
}

.app-item input:focus {
    border-color: var(--aurora1);
}

.app-item input::placeholder {
    color: var(--text-dim);
}

.app-icon-btn {
    width: 32px;
    height: 32px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    color: var(--text);
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.app-icon-btn:hover {
    border-color: var(--aurora1);
    background: rgba(79, 195, 247, 0.1);
}

.site-logo-btn {
    flex: 1;
    min-width: 150px;
    padding: 0 12px;
    gap: 10px;
}

.site-logo-btn .logo-label {
    font-size: 11px;
    color: var(--text);
    white-space: nowrap;
    flex-shrink: 0;
}

.site-logo-btn .logo-placeholder {
    font-size: 11px;
    color: var(--text-dim);
    text-align: center;
    flex: 1;
}

.site-logo-btn i {
    font-size: 14px;
}

.app-ring {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    padding: 6px 8px;
    color: var(--text);
    font-family: inherit;
    font-size: 10px;
    outline: none;
    cursor: pointer;
    transition: all 0.3s;
}

.app-ring:focus {
    border-color: var(--aurora1);
}

.app-ring.disabled {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-dim);
    cursor: not-allowed;
}

.app-remove-btn {
    width: 28px;
    height: 28px;
    background: rgba(255, 82, 82, 0.15);
    border: 1px solid rgba(255, 82, 82, 0.3);
    border-radius: 6px;
    color: #ff5252;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-remove-btn:hover {
    background: rgba(255, 82, 82, 0.3);
    border-color: #ff5252;
}

.add-app-btn {
    width: 100%;
    padding: 8px 12px;
    background: transparent;
    border: 1px dashed var(--glass-border);
    border-radius: 6px;
    color: var(--text-dim);
    font-family: inherit;
    font-size: 10px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.add-app-btn:hover {
    border-color: var(--aurora2);
    color: var(--aurora2);
    background: rgba(124, 77, 255, 0.1);
}

.floating-satellite-panel {
    position: absolute;
    left: 20px;
    top: 30px;
    z-index: 40;
}

.satellite-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.satellite-ring {
    position: absolute;
    width: 160px;
    height: 160px;
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    animation: satellite-orbit 15s linear infinite;
    pointer-events: none;
}

.satellite-ring-inner {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 1px dashed var(--glass-border);
    border-radius: 50%;
    animation: satellite-orbit-inner 10s linear infinite reverse;
    pointer-events: none;
}

.satellite-ring::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--aurora1);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--aurora1);
}

.satellite-ring::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--aurora2);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--aurora2);
}

@keyframes satellite-orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes satellite-orbit-inner {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

@keyframes sat-tab-orbit {
    from { 
        transform: translate(-50%, -50%) rotate(var(--start-angle, -90deg)) translateX(var(--orbit-x, 80px)) rotate(calc(-1 * var(--start-angle, -90deg))); 
    }
    to { 
        transform: translate(-50%, -50%) rotate(calc(360deg + var(--start-angle, -90deg))) translateX(var(--orbit-x, 80px)) rotate(calc(-360deg - var(--start-angle, -90deg))); 
    }
}

@keyframes sat-tab-counter-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.floating-spaceship {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    z-index: 100;
    animation: spaceship-float 3s ease-in-out infinite;
    transform-origin: center center;
}

.spaceship-icon {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--aurora1);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-spaceship:hover .spaceship-icon {
    transform: scale(1.3);
    text-shadow: 0 0 20px rgba(79, 195, 247, 0.8);
    color: #fff;
}

.spaceship-glow {
    position: absolute;
    inset: -5px;
    background: radial-gradient(circle, rgba(79, 195, 247, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s;
}

.floating-spaceship:hover .spaceship-glow,
.floating-spaceship.active .spaceship-glow {
    opacity: 1;
}

.floating-spaceship.active .spaceship-icon {
    transform: scale(1.3);
    text-shadow: 0 0 20px rgba(79, 195, 247, 0.8);
    color: #fff;
}

.spaceship-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--aurora1);
    border-radius: 50%;
    opacity: 0;
}

.particle.p1 {
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    animation: particle-float 2s ease-out infinite;
}

.particle.p2 {
    top: 60%;
    right: -12px;
    transform: translateY(-50%);
    animation: particle-float 2s ease-out infinite 0.3s;
}

.particle.p3 {
    top: 40%;
    right: -10px;
    transform: translateY(-50%);
    animation: particle-float 2s ease-out infinite 0.6s;
}

.spaceship-thrust {
    position: absolute;
    left: 32%;
    top: 70%;
    transform: rotate(45deg);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0.9;
    pointer-events: none;
}

.thrust-flame {
    position: absolute;
    top: -8px;
    width: 14px;
    height: 40px;
    background: linear-gradient(180deg, 
        rgba(255, 100, 50, 0.95) 0%,
        rgba(255, 150, 50, 0.8) 20%,
        rgba(255, 200, 80, 0.5) 50%,
        rgba(255, 220, 100, 0.2) 70%,
        transparent 100%);
    border-radius: 50% 50% 40% 40%;
    animation: thrust-flow 0.12s ease-in-out infinite alternate;
    filter: blur(1px);
}

.thrust-flame.flame-2 {
    width: 10px;
    height: 32px;
    left: -6px;
    top: -5px;
    background: linear-gradient(180deg, 
        rgba(255, 120, 50, 0.85) 0%,
        rgba(255, 180, 80, 0.5) 40%,
        rgba(255, 200, 100, 0.2) 70%,
        transparent 100%);
    animation-delay: 0.04s;
    filter: blur(2px);
}

.thrust-flame.flame-3 {
    width: 6px;
    height: 24px;
    left: 6px;
    top: -3px;
    background: linear-gradient(180deg, 
        rgba(255, 180, 100, 0.7) 0%,
        rgba(255, 200, 120, 0.3) 50%,
        transparent 80%);
    animation-delay: 0.08s;
    filter: blur(3px);
}

@keyframes thrust-flow {
    0% {
        opacity: 0.8;
        transform: translateY(0) scaleY(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(3px) scaleY(1.1);
    }
}

@keyframes spaceship-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes particle-float {
    0% {
        opacity: 1;
        transform: translateY(-50%) translateX(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-50%) translateX(20px) scale(0.5);
    }
}

.satellite-core {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(15px);
    animation: satellite-float 6s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(79, 195, 247, 0.2);
}

@keyframes satellite-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.satellite-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--aurora1);
    animation: satellite-pulse 4s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.satellite-icon:hover {
    color: var(--aurora2);
    transform: scale(1.15);
}

.satellite-icon.disabled {
    opacity: 0.5;
}

.satellite-icon.disabled:hover {
    transform: scale(1);
    color: var(--aurora1);
}

.satellite-icon img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    object-fit: contain;
}

.satellite-icon i {
    font-size: inherit;
    color: inherit;
}

@keyframes satellite-pulse {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

.satellite-apps {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.satellite-apps > * {
    pointer-events: auto;
}

.sat-tab-btn {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
    opacity: 0;
    top: 50%;
    left: 50%;
    animation: sat-tab-orbit 15s linear infinite;
}

.sat-tab-btn i,
.sat-tab-btn span {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: sat-tab-counter-rotate 15s linear infinite;
}

.satellite-container:hover .sat-tab-btn {
    opacity: 1;
}

.sat-tab-btn:hover {
    background: rgba(124, 58, 237, 0.3);
    border-color: var(--aurora2);
    box-shadow: 0 0 25px rgba(124, 58, 237, 0.5);
}

.sat-tab-btn.active {
    background: linear-gradient(135deg, var(--aurora1), var(--aurora2));
    border-color: transparent;
    box-shadow: 0 0 20px rgba(79, 195, 247, 0.4);
}

.satellite-container .sat-tab-btn.settings-btn,
.satellite-container .sat-tab-btn.status-btn {
    padding: 0;
    border-radius: 50%;
}

@media (max-width: 1200px) {
    .floating-satellite-panel {
        left: 30px;
    }
    
    .satellite-container {
        width: 160px;
        height: 160px;
    }
    
    .satellite-ring {
        width: 120px;
        height: 120px;
    }
    
    .satellite-ring-inner {
        width: 80px;
        height: 80px;
    }
    
    .satellite-core {
        width: 60px;
        height: 60px;
    }
    
    .satellite-icon {
        font-size: 24px;
    }
    
    .sat-tab-btn {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
}

@media (max-width: 900px) {
    .floating-satellite-panel {
        display: none;
    }
}

.status-panel {
    position: absolute;
    bottom: 30px;
    left: 80px;
    width: 300px;
    background: linear-gradient(135deg, 
        rgba(15, 15, 35, 0.95) 0%, 
        rgba(20, 20, 50, 0.9) 100%);
    border: 1px solid rgba(79, 195, 247, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px) translateY(10px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 90;
    box-shadow: 
        0 0 30px rgba(79, 195, 247, 0.2),
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.status-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--aurora1) 50%, 
        transparent 100%);
}

.status-panel::after {
    content: '';
    position: absolute;
    bottom: 10px;
    right: -8px;
    width: 16px;
    height: 16px;
    background: rgba(15, 15, 35, 0.95);
    border-right: 1px solid rgba(79, 195, 247, 0.3);
    border-bottom: 1px solid rgba(79, 195, 247, 0.3);
    transform: rotate(-45deg);
}

.floating-spaceship:hover ~ .status-panel,
.floating-spaceship.show-panel ~ .status-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) translateY(0) scale(1);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
}

.panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--aurora1);
    font-weight: 600;
}

.panel-title i {
    font-size: 12px;
    animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.panel-indicators {
    display: flex;
    gap: 6px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.indicator.online {
    background: #00d4aa;
    box-shadow: 0 0 8px #00d4aa;
    animation: online-pulse 2s ease-in-out infinite;
}

.indicator.active {
    background: var(--aurora1);
    box-shadow: 0 0 8px var(--aurora1);
}

@keyframes online-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.panel-grid {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.status-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    transition: all 0.3s;
}

.status-card:hover {
    background: rgba(79, 195, 247, 0.05);
    border-color: rgba(79, 195, 247, 0.2);
}

.card-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 195, 247, 0.1);
    border: 1px solid rgba(79, 195, 247, 0.2);
    border-radius: 8px;
    color: var(--aurora1);
    font-size: 16px;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-label {
    font-size: 9px;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    text-transform: uppercase;
}

.card-gauge {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gauge-bar {
    flex: 1;
    height: 6px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.gauge-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        var(--aurora1) 0%, 
        rgba(79, 195, 247, 0.7) 50%,
        var(--aurora2) 100%);
    border-radius: 2px;
    transition: width 1s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 0 8px rgba(79, 195, 247, 0.4);
}

.gauge-value {
    font-size: 11px;
    font-weight: 600;
    color: var(--text);
    min-width: 35px;
    text-align: right;
}

.status-grid-row {
    display: flex;
    gap: 10px;
}

.mini-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}

.mini-label {
    font-size: 8px;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.mini-value {
    font-size: 11px;
    font-weight: 600;
    color: var(--aurora1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-card.combined {
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    width: 100%;
    box-sizing: border-box;
}

.mini-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.mini-item-net {
    flex: 2;
}

.mini-item-uptime {
    flex: 1;
}

.mini-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
}

.panel-footer {
    padding: 8px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
}

.footer-text {
    font-size: 8px;
    letter-spacing: 2px;
    color: var(--text-dim);
}

.page-footer {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.footer-copyright {
    font-size: 11px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

.disk-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
}

.disk-label {
    font-size: 9px;
    color: var(--text-dim);
    min-width: 40px;
}

.disk-gauge {
    flex: 1;
    height: 4px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 2px;
    overflow: hidden;
}

.disk-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--aurora3), var(--aurora2));
    border-radius: 2px;
    transition: width 1s ease-out;
}

.disk-value {
    font-size: 10px;
    color: var(--text);
    min-width: 60px;
    text-align: right;
}

.font-upload-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.font-upload-zone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 12px;
    border: 2px dashed var(--glass-border);
    border-radius: 8px;
    background: rgba(0, 212, 170, 0.03);
    cursor: pointer;
    transition: all 0.3s;
}

.font-upload-zone:hover {
    border-color: var(--aurora1);
    background: rgba(0, 212, 170, 0.08);
}

.font-upload-zone.dragover {
    border-color: var(--aurora1);
    background: rgba(0, 212, 170, 0.15);
}

.font-upload-zone i {
    font-size: 16px;
    color: var(--aurora1);
    flex-shrink: 0;
}

.font-upload-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.font-upload-zone span {
    font-size: 10px;
    color: var(--text);
}

.font-upload-hint {
    font-size: 9px !important;
    color: var(--text-dim) !important;
}

.font-upload-info {
    display: none;
    padding: 12px 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
}

.font-upload-info.show {
    display: flex;
}

.font-upload-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.font-upload-name {
    font-size: 12px;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.font-upload-time {
    font-size: 10px;
    color: var(--text-dim);
}

.font-upload-remove {
    width: 24px;
    height: 24px;
    background: rgba(255, 82, 82, 0.15);
    border: 1px solid rgba(255, 82, 82, 0.3);
    border-radius: 4px;
    color: #ff5252;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.font-upload-remove:hover {
    background: rgba(255, 82, 82, 0.3);
    border-color: #ff5252;
}

.black-hole-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s ease;
}

.black-hole-inner.lit {
    /* 直接显示稳定的发光效果（动画0.5s时的最大亮度效果） */
    filter: brightness(1.7);
}

.black-hole-inner.lit .black-hole {
    background: radial-gradient(circle at 35% 35%, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 255, 255, 0.7) 15%, 
        rgba(200, 220, 255, 0.5) 30%, 
        rgba(150, 180, 255, 0.3) 45%, 
        rgba(100, 140, 255, 0.15) 60%, 
        transparent 100%
    );
    box-shadow:
        inset 0 0 20px rgba(255, 255, 255, 0.8),
        inset 0 0 40px rgba(200, 220, 255, 0.6),
        0 0 30px 15px rgba(255, 255, 255, 0.6),
        0 0 60px 30px rgba(200, 220, 255, 0.4),
        0 0 90px 45px rgba(150, 180, 255, 0.3),
        0 0 120px 60px rgba(100, 140, 255, 0.2),
        0 0 150px 75px rgba(80, 120, 255, 0.1);
}

.black-hole-inner .black-hole {
    position: absolute;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 35% 35%, 
        #000000 0%, 
        #000000 20%, 
        #0a0a1a 35%, 
        #050510 50%, 
        #000000 70%, 
        transparent 100%
    );
    border-radius: 50%;
    filter: blur(0.5px);
    box-shadow:
        inset 0 0 20px rgba(0, 0, 0, 1),
        inset 0 0 40px rgba(0, 0, 0, 0.9),
        0 0 25px 12px rgba(0, 0, 0, 0.98),
        0 0 50px 25px rgba(0, 10, 30, 0.9),
        0 0 80px 40px rgba(0, 20, 50, 0.7),
        0 0 110px 55px rgba(0, 30, 70, 0.5),
        0 0 140px 70px rgba(0, 40, 90, 0.3);
}

.black-hole-inner .accretion-disk {
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: transparent;
    animation: accretionSpin 35s linear infinite;
}

.black-hole-inner .accretion-disk::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(
        from -45deg,
        transparent 0deg,
        rgba(50, 120, 200, 0.05) 10deg,
        rgba(80, 150, 230, 0.1) 25deg,
        rgba(120, 180, 255, 0.18) 40deg,
        rgba(160, 200, 255, 0.25) 55deg,
        rgba(180, 210, 255, 0.3) 70deg,
        rgba(200, 220, 255, 0.35) 85deg,
        rgba(220, 230, 255, 0.38) 90deg,
        rgba(200, 220, 255, 0.35) 95deg,
        rgba(180, 210, 255, 0.3) 110deg,
        rgba(160, 200, 255, 0.25) 125deg,
        rgba(120, 180, 255, 0.18) 140deg,
        rgba(80, 150, 230, 0.1) 155deg,
        rgba(50, 120, 200, 0.05) 170deg,
        transparent 180deg,
        rgba(40, 100, 180, 0.03) 190deg,
        rgba(60, 130, 210, 0.06) 210deg,
        rgba(90, 160, 240, 0.09) 230deg,
        rgba(60, 130, 210, 0.06) 250deg,
        rgba(40, 100, 180, 0.03) 270deg,
        transparent 290deg,
        rgba(30, 90, 170, 0.02) 310deg,
        rgba(50, 120, 200, 0.04) 330deg,
        rgba(70, 140, 220, 0.06) 350deg,
        transparent 360deg
    );
}

.black-hole-inner .accretion-disk::after {
    content: '';
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    background: radial-gradient(circle at center, 
        #000 0%, 
        #000 40%, 
        rgba(0, 5, 15, 0.95) 60%, 
        rgba(0, 10, 30, 0.8) 75%,
        rgba(0, 15, 40, 0.6) 85%,
        transparent 100%
    );
}

.black-hole-inner .outer-disk {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(60, 120, 190, 0.02) 30deg,
        rgba(90, 150, 220, 0.04) 70deg,
        rgba(120, 170, 240, 0.05) 110deg,
        rgba(90, 150, 220, 0.04) 150deg,
        rgba(60, 120, 190, 0.02) 190deg,
        transparent 230deg,
        rgba(50, 110, 180, 0.015) 270deg,
        rgba(70, 130, 200, 0.025) 310deg,
        transparent 360deg
    );
    animation: accretionSpin 55s linear infinite reverse;
    opacity: 0.7;
}

.black-hole-inner .inner-disk {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: conic-gradient(
        from -30deg,
        transparent 0deg,
        rgba(100, 170, 255, 0.08) 15deg,
        rgba(140, 190, 255, 0.15) 35deg,
        rgba(170, 210, 255, 0.22) 55deg,
        rgba(190, 220, 255, 0.28) 70deg,
        rgba(200, 225, 255, 0.3) 80deg,
        rgba(190, 220, 255, 0.28) 90deg,
        rgba(170, 210, 255, 0.22) 105deg,
        rgba(140, 190, 255, 0.15) 125deg,
        rgba(100, 170, 255, 0.08) 145deg,
        transparent 165deg,
        rgba(80, 150, 240, 0.04) 185deg,
        rgba(110, 175, 255, 0.09) 215deg,
        rgba(140, 195, 255, 0.13) 245deg,
        rgba(110, 175, 255, 0.09) 275deg,
        rgba(80, 150, 240, 0.04) 305deg,
        transparent 335deg,
        transparent 360deg
    );
    animation: accretionSpin 25s linear infinite;
}

.black-hole-inner .gravitational-lens {
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: radial-gradient(
        circle at 42% 42%,
        transparent 0%,
        transparent 25%,
        rgba(50, 100, 160, 0.015) 35%,
        rgba(80, 130, 190, 0.025) 45%,
        rgba(110, 160, 220, 0.035) 55%,
        rgba(140, 180, 240, 0.04) 60%,
        rgba(110, 160, 220, 0.035) 70%,
        rgba(80, 130, 190, 0.025) 80%,
        rgba(50, 100, 160, 0.015) 88%,
        transparent 95%
    );
    animation: lensPulse 20s ease-in-out infinite;
    filter: blur(2px);
}

.black-hole-inner .event-horizon {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        transparent 0%,
        rgba(80, 160, 255, 0.05) 40%,
        rgba(120, 180, 255, 0.1) 55%,
        rgba(160, 200, 255, 0.15) 70%,
        rgba(190, 215, 255, 0.2) 82%,
        rgba(210, 225, 255, 0.25) 90%,
        rgba(220, 230, 255, 0.3) 95%,
        transparent 100%
    );
    animation: horizonPulse 5s ease-in-out infinite;
}

.black-hole-inner .particles {
    position: absolute;
    width: 130px;
    height: 130px;
}

.black-hole-inner .particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(200, 230, 255, 0.8);
    border-radius: 50%;
    animation: particleSpiral linear infinite;
    box-shadow: 
        0 0 4px rgba(200, 230, 255, 0.6),
        0 0 8px rgba(150, 200, 255, 0.4),
        0 0 12px rgba(100, 170, 255, 0.3);
}

.black-hole-inner .particle:nth-child(1) { 
    width: 2px; height: 2px;
    animation-duration: 22s; 
    animation-delay: 0s;
    --orbit-start: 50px;
    --orbit-end: 12px;
    --speed: 1;
}
.black-hole-inner .particle:nth-child(2) { 
    width: 1.5px; height: 1.5px;
    animation-duration: 28s; 
    animation-delay: 3s;
    --orbit-start: 58px;
    --orbit-end: 15px;
    --speed: 0.85;
}
.black-hole-inner .particle:nth-child(3) { 
    width: 2px; height: 2px;
    animation-duration: 18s; 
    animation-delay: 6s;
    --orbit-start: 45px;
    --orbit-end: 9px;
    --speed: 1.15;
}
.black-hole-inner .particle:nth-child(4) { 
    width: 1.5px; height: 1.5px;
    animation-duration: 32s; 
    animation-delay: 9s;
    --orbit-start: 62px;
    --orbit-end: 18px;
    --speed: 0.75;
}
.black-hole-inner .particle:nth-child(5) { 
    width: 1px; height: 1px;
    animation-duration: 25s; 
    animation-delay: 12s;
    --orbit-start: 48px;
    --orbit-end: 11px;
    --speed: 0.95;
}
.black-hole-inner .particle:nth-child(6) { 
    width: 1.5px; height: 1.5px;
    animation-duration: 16s; 
    animation-delay: 15s;
    --orbit-start: 42px;
    --orbit-end: 7px;
    --speed: 1.25;
}
.black-hole-inner .particle:nth-child(7) { 
    width: 2px; height: 2px;
    animation-duration: 35s; 
    animation-delay: 18s;
    --orbit-start: 65px;
    --orbit-end: 20px;
    --speed: 0.7;
}
.black-hole-inner .particle:nth-child(8) { 
    width: 1px; height: 1px;
    animation-duration: 20s; 
    animation-delay: 21s;
    --orbit-start: 47px;
    --orbit-end: 10px;
    --speed: 1.1;
}
.black-hole-inner .particle:nth-child(9) { 
    width: 1.5px; height: 1.5px;
    animation-duration: 30s; 
    animation-delay: 24s;
    --orbit-start: 56px;
    --orbit-end: 17px;
    --speed: 0.8;
}
.black-hole-inner .particle:nth-child(10) { 
    width: 2px; height: 2px;
    animation-duration: 24s; 
    animation-delay: 27s;
    --orbit-start: 50px;
    --orbit-end: 13px;
    --speed: 1;
}

.black-hole-inner .star-field {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
}

.black-hole-inner .star {
    position: absolute;
    width: 1px;
    height: 1px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: starTwinkle 4s ease-in-out infinite;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.6);
}

.black-hole-inner .star:nth-child(1) { left: 15%; top: 20%; animation-delay: 0s; opacity: 0.5; }
.black-hole-inner .star:nth-child(2) { left: 75%; top: 15%; animation-delay: 0.7s; opacity: 0.35; }
.black-hole-inner .star:nth-child(3) { left: 85%; top: 45%; animation-delay: 1.4s; opacity: 0.45; }
.black-hole-inner .star:nth-child(4) { left: 25%; top: 65%; animation-delay: 2.1s; opacity: 0.25; }
.black-hole-inner .star:nth-child(5) { left: 65%; top: 75%; animation-delay: 2.8s; opacity: 0.4; }
.black-hole-inner .star:nth-child(6) { left: 10%; top: 45%; animation-delay: 3.5s; opacity: 0.5; }
.black-hole-inner .star:nth-child(7) { left: 55%; top: 25%; animation-delay: 1s; opacity: 0.3; }
.black-hole-inner .star:nth-child(8) { left: 35%; top: 80%; animation-delay: 2.3s; opacity: 0.55; }

.time-display-container {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 100;
}

.time-display-container .core-time {
    font-size: 48px;
    font-weight: 200;
    letter-spacing: -2px;
    line-height: 1;
    background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.time-display-container .core-sec {
    font-size: 18px;
    font-weight: 300;
    color: var(--aurora1);
    margin-top: 4px;
    letter-spacing: 2px;
}

.time-display-container .core-date {
    font-size: 10px;
    letter-spacing: 4px;
    color: var(--text-dim);
    margin-top: 8px;
}

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

@keyframes lensPulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        opacity: 0.6; 
    }
    25% { 
        transform: scale(1.01) rotate(1deg); 
        opacity: 0.75; 
    }
    50% { 
        transform: scale(1.02) rotate(0deg); 
        opacity: 0.6; 
    }
    75% { 
        transform: scale(1.01) rotate(-1deg); 
        opacity: 0.75; 
    }
}

@keyframes horizonPulse {
    0%, 100% { 
        opacity: 0.4; 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.08); 
    }
}

@keyframes particleSpiral {
    0% {
        transform: rotate(0deg) translateX(var(--orbit-start, 80px)) rotate(0deg);
        opacity: 0;
    }
    8% {
        opacity: 0.9;
    }
    75% {
        opacity: 0.5;
    }
    100% {
        transform: rotate(720deg) translateX(var(--orbit-end, 20px)) rotate(-720deg);
        opacity: 0;
    }
}

@keyframes starTwinkle {
    0%, 100% { 
        opacity: 0.2; 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.3); 
    }
}