/* 官方提示横幅 - 炫酷科技感设计 */
.ala-notice-banner {
    position: relative;
    margin-top: 12px; /* 进一步收紧顶部留白 */
    padding: 10px 0;  /* 再次收紧上下内边距 */
    background: transparent; /* 让整页共享同一套深色科技背景 */
    border-bottom: none;
    overflow: hidden;
    backdrop-filter: blur(10px);
    z-index: 100;
}

.ala-notice-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.ala-notice-banner .container {
    width: 1600px;
    max-width: 98vw;
    margin: 0 auto;
    padding: 0 20px;
}

.notice-banner-content {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    padding: 16px 20px;
    background: linear-gradient(145deg, rgba(6, 10, 25, 0.94), rgba(5, 8, 20, 0.9));
    border: 1px solid rgba(82, 168, 255, 0.28);
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

/* 将页面整体背景改为深色，避免白底透出 */
body {
    background: radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.08), transparent 32%),
                radial-gradient(circle at 85% 25%, rgba(16, 185, 129, 0.08), transparent 30%),
                #040715;
    color: #e5e7eb;
}

.notice-icon {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.3), rgba(155, 89, 182, 0.3));
    border-radius: 12px;
    border: 1px solid rgba(52, 152, 219, 0.5);
}

.notice-icon i {
    font-size: 28px;
    color: #3498db;
    z-index: 2;
    animation: icon-float 2s ease-in-out infinite;
}

.icon-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 12px;
    background: rgba(52, 152, 219, 0.3);
    animation: pulse-ring 2s ease-out infinite;
}

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

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.notice-text {
    flex: 1;
    min-width: 0;
}

.notice-text h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, #3498db, #9b59b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

.notice-text p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(236, 240, 241, 0.85);
    margin: 0;
}

.notice-action {
    flex-shrink: 0;
}

.notice-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #3498db, #9b59b6);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
    position: relative;
    overflow: hidden;
}

.notice-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.5s;
}

.notice-btn:hover::before {
    left: 100%;
}

.notice-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.6);
}

.notice-btn i {
    transition: transform 0.3s ease;
}

.notice-btn:hover i {
    transform: translateX(4px);
}

.notice-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 16px;
}

.decoration-line {
    position: absolute;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(52, 152, 219, 0.4), 
        transparent);
    height: 1px;
    animation: line-move 4s linear infinite;
}

.line-1 {
    top: 20%;
    left: -100%;
    width: 30%;
    animation-delay: 0s;
}

.line-2 {
    bottom: 20%;
    right: -100%;
    width: 30%;
    animation-delay: 2s;
}

@keyframes line-move {
    0% {
        left: -100%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

.decoration-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.6);
    box-shadow: 0 0 12px rgba(52, 152, 219, 0.8);
    animation: dot-blink 2s ease-in-out infinite;
}

.dot-1 {
    top: 15px;
    left: 15%;
    animation-delay: 0s;
}

.dot-2 {
    top: 50%;
    right: 20%;
    animation-delay: 0.7s;
}

.dot-3 {
    bottom: 15px;
    left: 25%;
    animation-delay: 1.4s;
}

@keyframes dot-blink {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

/* 响应式适配 */
@media (max-width: 1280px) {
    .notice-banner-content {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .notice-text h3 {
        font-size: 18px;
    }
    
    .notice-text p {
        font-size: 13px;
    }
    
    .notice-btn {
        width: 100%;
        justify-content: center;
    }
}

.ala-layout {
    padding-top: 16px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    /* 统一整页的科技感背景，减少分层感，强化动感 */
    background:
        radial-gradient(circle at 0% -20%, rgba(56, 189, 248, 0.26), transparent 52%),
        radial-gradient(circle at 120% 120%, rgba(129, 140, 248, 0.32), transparent 58%),
        radial-gradient(circle at 45% 110%, rgba(94, 234, 212, 0.24), transparent 60%),
        linear-gradient(135deg, #040718 0%, #05081f 50%, #070a24 100%);
    color: #ecf0f1;
}

/* 放宽本页面容器宽度，让大屏上不显得过窄 */
.ala-layout .container,
.header .container,
.footer .container {
    width: 1600px;
    max-width: 98vw;
}

.ala-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.08), transparent 35%),
                radial-gradient(circle at 80% 30%, rgba(16, 185, 129, 0.08), transparent 32%);
}

.ala-bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.32; /* 降低网格对内容的割裂感 */
    mask-image: radial-gradient(circle at center, rgba(0,0,0,1), transparent 70%);
}

.ala-bg-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(52, 152, 219, 0.2);
    animation: orbit-rotate 18s linear infinite;
}

.orbit-1 {
    width: 520px;
    height: 520px;
    top: 10%;
    left: -8%;
}

.orbit-2 {
    width: 420px;
    height: 420px;
    bottom: -8%;
    right: -4%;
    animation-duration: 26s;
}

.orbit-3 {
    width: 260px;
    height: 260px;
    top: 45%;
    right: 22%;
    animation-duration: 32s;
}

.ala-bg-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.9;
}

.glow-left {
    background: radial-gradient(circle, rgba(52, 152, 219, 0.8), transparent 60%);
    top: 0;
    left: -80px;
}

.glow-right {
    background: radial-gradient(circle, rgba(155, 89, 182, 0.85), transparent 60%);
    bottom: -60px;
    right: -60px;
}

.glow-center {
    background: radial-gradient(circle, rgba(52, 152, 219, 0.6), transparent 70%);
    width: 600px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: glow-pulse 4s ease-in-out infinite;
}

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

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* 新增轨道 */
.orbit-4 {
    width: 380px;
    height: 380px;
    top: 60%;
    left: 15%;
    animation-duration: 24s;
    animation-direction: reverse;
}

/* 动态网格 */
.ala-bg-grid-animated {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(52, 152, 219, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(52, 152, 219, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.24;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(60px, 60px);
    }
}

/* 扫描线效果 */
.ala-bg-scanline {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        transparent 0%,
        rgba(52, 152, 219, 0.03) 50%,
        transparent 100%
    );
    background-size: 100% 4px;
    animation: scanline 8s linear infinite;
    pointer-events: none;
}

@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100vh);
    }
}

/* 粒子系统 */
.particles-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(52, 152, 219, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(52, 152, 219, 0.8);
    animation: particle-float 15s infinite ease-in-out;
}

.particle-1 {
    top: 20%;
    left: 10%;
    animation-duration: 12s;
    animation-delay: 0s;
}

.particle-2 {
    top: 60%;
    left: 20%;
    animation-duration: 15s;
    animation-delay: 1s;
    width: 3px;
    height: 3px;
}

.particle-3 {
    top: 40%;
    left: 70%;
    animation-duration: 10s;
    animation-delay: 2s;
}

.particle-4 {
    top: 70%;
    left: 40%;
    animation-duration: 18s;
    animation-delay: 0.5s;
    width: 5px;
    height: 5px;
}

.particle-5 {
    top: 30%;
    left: 60%;
    animation-duration: 13s;
    animation-delay: 1.5s;
}

.particle-6 {
    top: 80%;
    left: 80%;
    animation-duration: 14s;
    animation-delay: 0.8s;
    width: 3px;
    height: 3px;
}

.particle-7 {
    top: 15%;
    left: 50%;
    animation-duration: 16s;
    animation-delay: 2.5s;
}

.particle-8 {
    top: 50%;
    left: 90%;
    animation-duration: 11s;
    animation-delay: 1s;
    width: 4px;
    height: 4px;
}

.particle-9 {
    top: 85%;
    left: 15%;
    animation-duration: 17s;
    animation-delay: 0.3s;
}

.particle-10 {
    top: 25%;
    left: 75%;
    animation-duration: 19s;
    animation-delay: 1.8s;
    width: 3px;
    height: 3px;
}

.particle-11 {
    top: 55%;
    left: 5%;
    animation-duration: 14s;
    animation-delay: 2.2s;
}

.particle-12 {
    top: 90%;
    left: 65%;
    animation-duration: 20s;
    animation-delay: 0.6s;
    width: 5px;
    height: 5px;
}

@keyframes particle-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translate(30px, -40px) scale(1.2);
        opacity: 0.8;
    }
    50% {
        transform: translate(-20px, -60px) scale(0.8);
        opacity: 0.6;
    }
    75% {
        transform: translate(40px, -30px) scale(1.1);
        opacity: 0.9;
    }
}

/* 连接线网络 */
.connection-lines {
    position: absolute;
    inset: 0;
    opacity: 0.2;
}

.connection-lines line {
    stroke: url(#lineGradient);
    stroke-width: 1;
    stroke-dasharray: 5, 5;
    animation: line-dash 3s linear infinite;
}

@keyframes line-dash {
    to {
        stroke-dashoffset: -20;
    }
}

/* 数据流效果 */
.data-stream {
    position: absolute;
    width: 2px;
    height: 200px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(52, 152, 219, 0.6),
        transparent
    );
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.8);
    animation: stream-flow 4s linear infinite;
}

.stream-1 {
    left: 15%;
    top: -200px;
    animation-duration: 4s;
    animation-delay: 0s;
}

.stream-2 {
    left: 50%;
    top: -200px;
    animation-duration: 5s;
    animation-delay: 1.5s;
    width: 3px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(155, 89, 182, 0.6),
        transparent
    );
    box-shadow: 0 0 12px rgba(155, 89, 182, 0.8);
}

.stream-3 {
    left: 85%;
    top: -200px;
    animation-duration: 4.5s;
    animation-delay: 0.8s;
}

/* 极光/能量波层 */
.aurora-layer {
    position: absolute;
    inset: -10% -10% auto -10%;
    height: 70%;
    background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.25), transparent 45%),
                radial-gradient(circle at 70% 60%, rgba(16, 185, 129, 0.2), transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(129, 140, 248, 0.18), transparent 55%);
    filter: blur(60px);
    opacity: 0.75;
    mix-blend-mode: screen;
    animation: aurora-shift 22s ease-in-out infinite alternate;
}

.aurora-1 {
    top: 0;
    left: 0;
    animation-duration: 24s;
    animation-delay: 0s;
}

.aurora-2 {
    top: 10%;
    left: -4%;
    transform: rotate(-6deg) scale(1.05);
    animation-duration: 26s;
    animation-delay: 3s;
    opacity: 0.62;
}

.aurora-ribbon {
    position: absolute;
    width: 140%;
    height: 260px;
    left: -20%;
    background: linear-gradient(120deg,
        rgba(34, 211, 238, 0.25),
        rgba(129, 140, 248, 0.22),
        rgba(94, 234, 212, 0.3));
    filter: blur(32px);
    mix-blend-mode: screen;
    opacity: 0.5;
    animation: ribbon-flow 18s ease-in-out infinite;
}

.ribbon-1 {
    top: 18%;
    transform: skewY(-6deg);
    animation-duration: 18s;
}

.ribbon-2 {
    top: 58%;
    transform: skewY(5deg) rotate(-2deg);
    animation-duration: 22s;
    animation-delay: 4s;
    opacity: 0.42;
}

@keyframes stream-flow {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(calc(100vh + 200px));
        opacity: 0;
    }
}

@keyframes aurora-shift {
    0% {
        transform: translate3d(-2%, 0, 0) scale(1);
        opacity: 0.65;
    }
    50% {
        transform: translate3d(4%, -2%, 0) scale(1.05);
        opacity: 0.85;
    }
    100% {
        transform: translate3d(-3%, 1%, 0) scale(1.08);
        opacity: 0.6;
    }
}

@keyframes ribbon-flow {
    0% {
        transform: translateX(-6%) skewY(-6deg) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateX(6%) skewY(-2deg) scale(1.06);
        opacity: 0.75;
    }
    100% {
        transform: translateX(-4%) skewY(-5deg) scale(1.02);
        opacity: 0.45;
    }
}

/* 脉冲节点 */
.pulse-node {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.8);
    box-shadow: 0 0 20px rgba(52, 152, 219, 1);
    animation: node-pulse 2s ease-in-out infinite;
}

.node-1 {
    top: 25%;
    left: 30%;
    animation-delay: 0s;
}

.node-2 {
    top: 45%;
    left: 70%;
    animation-delay: 0.5s;
    background: rgba(155, 89, 182, 0.8);
    box-shadow: 0 0 20px rgba(155, 89, 182, 1);
}

.node-3 {
    top: 65%;
    left: 20%;
    animation-delay: 1s;
}

.node-4 {
    top: 35%;
    left: 85%;
    animation-delay: 1.5s;
    background: rgba(52, 152, 219, 0.8);
    box-shadow: 0 0 20px rgba(52, 152, 219, 1);
}

.node-5 {
    top: 75%;
    left: 60%;
    animation-delay: 0.8s;
    background: rgba(155, 89, 182, 0.8);
    box-shadow: 0 0 20px rgba(155, 89, 182, 1);
}

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

.ala-main {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
    gap: 28px;
    padding-bottom: 60px;
    margin-top: 16px; /* 与顶部白色导航留出视觉缓冲 */
}

.ala-panel {
    background: radial-gradient(circle at top left, rgba(255,255,255,0.08), rgba(13, 17, 37, 0.95));
    border-radius: 26px;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255,255,255,0.06);
    padding: 24px 24px 22px;
    backdrop-filter: blur(26px);
    position: relative;
    overflow: hidden;
}

.ala-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(52,152,219,0.35), rgba(155,89,182,0.4));
    opacity: 0;
    mix-blend-mode: soft-light;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.ala-panel:hover::before {
    opacity: 0.9;
}

.ala-panel--left {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ala-panel--right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ala-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 8px;
}

.ala-panel__title h1 {
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 10px 0 6px;
    background: linear-gradient(120deg, #ffffff, #a5d6ff, #f1d1ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ala-panel__title h1 span {
    font-size: 1.4rem;
    font-weight: 500;
    margin-left: 8px;
    opacity: 0.95;
}

.ala-panel__title p {
    font-size: 0.92rem;
    color: #d0d5ff;
    opacity: 0.85;
}

.ala-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ala-chip--primary {
    background: linear-gradient(120deg, rgba(52,152,219,0.28), rgba(155,89,182,0.38));
    border: 1px solid rgba(160, 210, 255, 0.6);
    color: #e8f4ff;
}

.ala-panel__kpis {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 180px;
}

.kpi-item {
    padding: 8px 10px;
    border-radius: 14px;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.14), rgba(7,16,40,0.95));
    border: 1px solid rgba(146, 192, 255, 0.4);
}

.kpi-label {
    display: block;
    font-size: 0.7rem;
    color: #a8b4ff;
    margin-bottom: 3px;
}

.kpi-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
}

.ala-toolbar {
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(8, 16, 40, 0.9);
    border: 1px solid rgba(119, 180, 255, 0.45);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.toolbar-row {
    display: flex;
    gap: 14px;
    align-items: flex-end;
    margin-bottom: 8px;
}

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

.field--flex {
    flex: 1;
}

.field label {
    font-size: 0.78rem;
    color: #a6b4ff;
}

.ala-select,
.ala-input {
    background: radial-gradient(circle at top left, rgba(36,65,115,0.9), rgba(7,15,35,0.96));
    border: 1px solid rgba(125, 195, 255, 0.7);
    border-radius: 999px;
    color: #e9f2ff;
    font-size: 0.85rem;
    padding: 8px 14px;
    outline: none;
    min-width: 180px;
}

.ala-select {
    padding-right: 30px;
}

.ala-input {
    width: 100%;
}

.ala-input::placeholder {
    color: rgba(198, 211, 255, 0.6);
}

.field-inline {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 16px;
    font-size: 0.82rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.22s ease;
}

.btn--ghost {
    background: radial-gradient(circle at top left, rgba(70, 132, 255, 0.2), rgba(35, 55, 130, 0.9));
    color: #e6f0ff;
    border: 1px solid rgba(139, 193, 255, 0.8);
}

.btn--ghost:hover {
    box-shadow: 0 0 16px rgba(139, 193, 255, 0.8);
    transform: translateY(-1px);
}

.btn--primary {
    background: linear-gradient(120deg, #3b82f6, #6366f1, #a855f7);
    color: #fff;
    box-shadow: 0 14px 30px rgba(56, 189, 248, 0.35);
}

.btn--primary:hover {
    transform: translateY(-1px) translateX(0);
    box-shadow: 0 18px 38px rgba(56, 189, 248, 0.45);
}

.btn--primary-circle {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: linear-gradient(135deg, #3b82f6, #a855f7);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(176, 211, 255, 0.8), 0 8px 25px rgba(79, 70, 229, 0.6);
}

.btn--primary-circle:hover {
    transform: translateY(-1px);
}

.btn--sub {
    background: radial-gradient(circle at top left, rgba(18, 38, 88, 0.9), rgba(5, 12, 32, 0.9));
    color: #d7e3ff;
    border: 1px solid rgba(115, 162, 255, 0.8);
}

.btn--sub:hover {
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.8);
    transform: translateY(-1px);
}

.title-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.title-suggestions button {
    border-radius: 999px;
    border: 1px dashed rgba(160, 196, 255, 0.7);
    background: rgba(15, 23, 42, 0.7);
    color: #cbd5ff;
    font-size: 0.78rem;
    padding: 4px 9px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.title-suggestions button:hover {
    background: rgba(59, 130, 246, 0.5);
    color: #fff;
}

.ala-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.ala-tab {
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 255, 0.45);
    font-size: 0.78rem;
    color: #e5e7eb;
    background: rgba(15, 23, 42, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ala-tab.active-main,
.ala-tab:hover {
    background: linear-gradient(120deg, rgba(59, 130, 246, 0.9), rgba(129, 140, 248, 0.95));
    border-color: rgba(191, 219, 254, 0.9);
}

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

.doc-card {
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 255, 0.55);
    background: radial-gradient(circle at top left, rgba(30,64,175,0.9), rgba(15,23,42,0.95));
    padding: 10px 9px 9px;
    display: flex;
    gap: 8px;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.doc-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(129, 140, 248, 0.9);
    opacity: 0;
    transition: all 0.2s ease;
}

.doc-card:hover {
    transform: translateY(-1px);
}

.doc-card.selected {
    border-color: rgba(251, 191, 36, 0.95);
    background: radial-gradient(circle at top left, rgba(251, 191, 36, 0.18), rgba(15,23,42,0.98));
}

.doc-card.selected::after {
    box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.9);
    opacity: 1;
}

.doc-icon {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f9fafb;
    font-size: 0.9rem;
}

.doc-icon--blue { background: linear-gradient(145deg, #3b82f6, #22c1c3); }
.doc-icon--purple { background: linear-gradient(145deg, #6366f1, #a855f7); }
.doc-icon--green { background: linear-gradient(145deg, #22c55e, #14b8a6); }
.doc-icon--orange { background: linear-gradient(145deg, #f97316, #facc15); }
.doc-icon--cyan { background: linear-gradient(145deg, #06b6d4, #3b82f6); }
.doc-icon--pink { background: linear-gradient(145deg, #ec4899, #a855f7); }
.doc-icon--gold { background: linear-gradient(145deg, #eab308, #f97316); }
.doc-icon--teal { background: linear-gradient(145deg, #0d9488, #22c55e); }

.doc-text h3 {
    font-size: 0.88rem;
    color: #f9fafb;
    margin-bottom: 2px;
}

.doc-text p {
    font-size: 0.75rem;
    color: #cbd5f5;
}

.ala-footer {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px dashed rgba(148, 163, 255, 0.4);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wordcount-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.group-label {
    font-size: 0.8rem;
    color: #a5b4fc;
    margin-right: 4px;
}

.radio-pill {
    position: relative;
}

.radio-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-pill span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 255, 0.55);
    color: #e5e7eb;
    background: rgba(15, 23, 42, 0.9);
    cursor: pointer;
    transition: all 0.16s ease;
}

.radio-pill input:checked + span {
    background: linear-gradient(120deg, rgba(59, 130, 246, 0.95), rgba(129, 140, 248, 0.98));
    border-color: rgba(191, 219, 254, 0.95);
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.7);
}

.ala-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

.ala-memory {
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.switch {
    position: relative;
    width: 46px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 255, 0.7);
    transition: .3s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    top: 2px;
    background: radial-gradient(circle at 30% 30%, #e0f2fe, #60a5fa);
    border-radius: 50%;
    transition: .3s;
    box-shadow: 0 0 12px rgba(96, 165, 250, 0.9);
}

.switch input:checked + .slider {
    background: radial-gradient(circle at 10% 0%, rgba(59,130,246,0.9), rgba(30,64,175,0.95));
    border-color: rgba(191, 219, 254, 0.95);
}

.switch input:checked + .slider:before {
    transform: translateX(20px);
}

.memory-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.memory-title {
    font-size: 0.82rem;
    color: #e5e7eb;
}

.memory-sub {
    font-size: 0.72rem;
    color: #9ca3ff;
}

.ala-chat {
    border-radius: 20px;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.3), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(148, 163, 255, 0.8);
    padding: 14px 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ala-chat__header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chat-ai {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-ai__avatar {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #e0f2fe, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #020617;
    font-size: 1.2rem;
    overflow: hidden;
}

.chat-ai__avatar .ring {
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    border: 2px dashed rgba(191, 219, 254, 0.9);
    animation: spin 18s linear infinite;
}

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

.chat-ai__meta h2 {
    font-size: 1rem;
    color: #e5e7eb;
    margin-bottom: 2px;
}

.chat-ai__meta p {
    font-size: 0.78rem;
    color: #a5b4fc;
}

.chat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chip {
    padding: 2px 9px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 255, 0.7);
    font-size: 0.72rem;
    color: #e5e7eb;
    background: rgba(15, 23, 42, 0.8);
}

.ala-chat__messages {
    margin-top: 4px;
    padding: 8px 6px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.9);
    max-height: 340px;
    min-height: 180px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ala-message {
    display: flex;
    gap: 6px;
    align-items: flex-start;
    font-size: 0.78rem;
}

.ala-message--user {
    justify-content: flex-end;
}

.ala-message__bubble {
    padding: 7px 10px;
    border-radius: 12px;
    max-width: 85%;
    line-height: 1.5;
}

.ala-message--ai .ala-message__bubble {
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.8), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(147, 197, 253, 0.9);
    color: #e5e7eb;
}

.ala-message--user .ala-message__bubble {
    background: radial-gradient(circle at top left, rgba(248, 250, 252, 0.95), rgba(226, 232, 240, 0.98));
    color: #020617;
}

.ala-message__avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.ala-message--ai .ala-message__avatar {
    background: linear-gradient(135deg, #3b82f6, #a855f7);
    color: #f9fafb;
}

.ala-message--user .ala-message__avatar {
    background: rgba(15, 23, 42, 0.85);
    color: #e5e7eb;
    order: 2;
}

.ala-message--user .ala-message__bubble {
    order: 1;
}

.ala-chat__input {
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.quick-prompts {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.quick-prompts span {
    font-size: 0.72rem;
    color: #9ca3ff;
    margin-right: 4px;
}

.quick-btn {
    border-radius: 999px;
    border: 1px dashed rgba(148, 163, 255, 0.7);
    background: rgba(15, 23, 42, 0.8);
    color: #cbd5ff;
    font-size: 0.72rem;
    padding: 3px 8px;
    cursor: pointer;
    transition: all 0.16s ease;
}

.quick-btn:hover {
    background: rgba(59, 130, 246, 0.8);
    color: #fff;
}

.input-row {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

#ala-chat-input {
    flex: 1;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 255, 0.7);
    background: rgba(15, 23, 42, 0.9);
    padding: 8px 10px;
    color: #e5e7eb;
    font-size: 0.8rem;
    resize: vertical;
    min-height: 42px;
    max-height: 120px;
}

#ala-chat-input::placeholder {
    color: #6b7280;
}

.ala-ip-upload {
    display: grid;
    grid-template-columns: 1.1fr 1.1fr;
    gap: 12px;
}

.ip-card,
.upload-card {
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(148, 163, 255, 0.7);
    padding: 10px 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ip-card__header h3,
.upload-card__header h3 {
    font-size: 0.95rem;
    color: #e5e7eb;
    margin-bottom: 2px;
}

.ip-card__header p,
.upload-card__header p {
    font-size: 0.76rem;
    color: #9ca3ff;
}

.ip-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.ip-step {
    flex: 1;
    min-width: 90px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 255, 0.6);
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    font-size: 0.74rem;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.18s ease;
}

.ip-step.active {
    background: linear-gradient(120deg, rgba(59, 130, 246, 0.95), rgba(129, 140, 248, 0.98));
    border-color: rgba(219, 234, 254, 0.95);
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.7);
}

.step-index {
    font-weight: 600;
}

.step-title {
    flex: 1;
    text-align: left;
}

.ip-step-content {
    margin-top: 4px;
    padding: 7px 8px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 255, 0.6);
    font-size: 0.78rem;
    color: #d1d5db;
    min-height: 82px;
}

.ip-step-content ul {
    padding-left: 16px;
    margin: 3px 0;
}

.ip-step-content li {
    margin-bottom: 2px;
}

.ip-actions {
    display: flex;
    justify-content: flex-end;
}

.upload-types {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.upload-label {
    font-size: 0.78rem;
    color: #9ca3ff;
}

.upload-type-group {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.upload-type {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 255, 0.7);
    background: rgba(15, 23, 42, 0.9);
    padding: 3px 8px;
    font-size: 0.74rem;
    color: #e5e7eb;
    cursor: pointer;
    transition: all 0.16s ease;
}

.upload-type.selected {
    background: linear-gradient(120deg, rgba(59, 130, 246, 0.95), rgba(129, 140, 248, 0.98));
    border-color: rgba(219, 234, 254, 0.95);
}

.upload-dropzone {
    margin-top: 4px;
    border-radius: 14px;
    border: 1px dashed rgba(148, 163, 255, 0.8);
    background: rgba(15, 23, 42, 0.94);
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-dropzone.dragover {
    background: rgba(37, 99, 235, 0.25);
    box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.9), 0 0 22px rgba(59, 130, 246, 0.8);
}

.dropzone-inner p {
    font-size: 0.78rem;
    color: #e5e7eb;
    margin: 2px 0;
}

.dropzone-inner .hint {
    font-size: 0.7rem;
    color: #9ca3ff;
}

.dropzone-icon {
    font-size: 1.3rem;
    color: #93c5fd;
    margin-bottom: 4px;
}

.upload-files {
    margin-top: 4px;
    max-height: 96px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.upload-file-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    padding: 4px 6px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 255, 0.5);
}

.upload-file-name {
    flex: 1;
    color: #e5e7eb;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upload-file-meta {
    font-size: 0.7rem;
    color: #9ca3ff;
}

.upload-actions {
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#upload-note {
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 255, 0.7);
    background: rgba(15, 23, 42, 0.9);
    padding: 6px 8px;
    color: #e5e7eb;
    font-size: 0.78rem;
    resize: vertical;
    min-height: 44px;
    max-height: 90px;
}

#upload-note::placeholder {
    color: #6b7280;
}

.upload-safe {
    margin-top: 2px;
    font-size: 0.7rem;
    color: #9ca3ff;
    display: flex;
    align-items: center;
    gap: 4px;
}

.upload-safe i {
    color: #4ade80;
}

.ala-typing {
    display: inline-flex;
    gap: 3px;
}

.ala-typing span {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #93c5fd;
    animation: typing-bounce 1.3s infinite;
}

.ala-typing span:nth-child(2) {
    animation-delay: .2s;
}

.ala-typing span:nth-child(3) {
    animation-delay: .4s;
}

@keyframes typing-bounce {
    0%, 80%, 100% { transform: translateY(0); opacity: .4; }
    40% { transform: translateY(-4px); opacity: 1; }
}

@media (max-width: 1280px) {
    /* 略窄的笔记本上改为单列布局，避免左右两栏过挤或超出屏幕 */
    .ala-main {
        grid-template-columns: minmax(0, 1fr);
    }

    .ala-ip-upload {
        grid-template-columns: minmax(0, 1fr);
    }

    .ala-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .aurora-layer,
    .aurora-ribbon {
        opacity: 0.45;
        filter: blur(52px);
    }
}

@media (max-width: 992px) {
    .ala-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .ala-panel {
        padding: 18px 16px 16px;
    }

    .toolbar-row {
        flex-direction: column;
        align-items: stretch;
    }

    .field-inline {
        flex-direction: column;
        align-items: stretch;
    }

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

    .ala-chat__messages {
        max-height: 260px;
    }
}

@media (max-width: 576px) {
    .ala-card-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ala-ip-upload {
        grid-template-columns: minmax(0, 1fr);
    }

    .aurora-layer,
    .aurora-ribbon {
        opacity: 0.35;
        filter: blur(48px);
    }
}

/* ================= 导航栏动态背景 ================= */
.header--alaeye {
    position: relative;
    overflow: hidden;
}

.header-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.header-bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(52, 152, 219, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(52, 152, 219, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.4;
    animation: header-grid-move 15s linear infinite;
}

@keyframes header-grid-move {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(30px, 30px);
    }
}

.header-bg-scanline {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(52, 152, 219, 0.05) 50%,
        transparent 100%
    );
    background-size: 100% 3px;
    animation: header-scanline 6s linear infinite;
}

@keyframes header-scanline {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

.header-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(52, 152, 219, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.8);
    animation: header-particle-float 8s ease-in-out infinite;
}

.header-particle-1 {
    top: 30%;
    left: 10%;
    animation-delay: 0s;
}

.header-particle-2 {
    top: 60%;
    left: 50%;
    animation-delay: 2s;
    width: 2px;
    height: 2px;
}

.header-particle-3 {
    top: 40%;
    left: 85%;
    animation-delay: 1s;
}

@keyframes header-particle-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translate(20px, -15px) scale(1.3);
        opacity: 0.8;
    }
    50% {
        transform: translate(-10px, -25px) scale(0.9);
        opacity: 0.6;
    }
    75% {
        transform: translate(15px, -10px) scale(1.2);
        opacity: 0.9;
    }
}

.header-glow {
    position: absolute;
    width: 300px;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(52, 152, 219, 0.15),
        transparent
    );
    top: 0;
    left: -300px;
    animation: header-glow-move 8s ease-in-out infinite;
}

@keyframes header-glow-move {
    0%, 100% {
        left: -300px;
        opacity: 0;
    }
    50% {
        left: calc(100% + 300px);
        opacity: 0.6;
    }
}

/* ================= 页脚动态背景 ================= */
.footer--alaeye {
    position: relative;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.footer-bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(52, 152, 219, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(52, 152, 219, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.4;
    animation: footer-grid-move 18s linear infinite;
}

@keyframes footer-grid-move {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-40px, -40px);
    }
}

.footer-bg-scanline {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        transparent 0%,
        rgba(155, 89, 182, 0.05) 50%,
        transparent 100%
    );
    background-size: 100% 4px;
    animation: footer-scanline 7s linear infinite;
}

@keyframes footer-scanline {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-100%);
    }
}

.footer-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(155, 89, 182, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(155, 89, 182, 0.8);
    animation: footer-particle-float 10s ease-in-out infinite;
}

.footer-particle-1 {
    bottom: 20%;
    left: 15%;
    animation-delay: 0s;
}

.footer-particle-2 {
    bottom: 50%;
    left: 40%;
    animation-delay: 2.5s;
    width: 3px;
    height: 3px;
}

.footer-particle-3 {
    bottom: 30%;
    left: 70%;
    animation-delay: 1.5s;
}

.footer-particle-4 {
    bottom: 60%;
    left: 85%;
    animation-delay: 0.8s;
    width: 5px;
    height: 5px;
}

@keyframes footer-particle-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translate(25px, 20px) scale(1.3);
        opacity: 0.8;
    }
    50% {
        transform: translate(-15px, 30px) scale(0.9);
        opacity: 0.6;
    }
    75% {
        transform: translate(20px, 15px) scale(1.2);
        opacity: 0.9;
    }
}

.footer-glow {
    position: absolute;
    width: 400px;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(155, 89, 182, 0.2),
        transparent
    );
    bottom: 0;
    right: -400px;
    animation: footer-glow-move 10s ease-in-out infinite;
}

@keyframes footer-glow-move {
    0%, 100% {
        right: -400px;
        opacity: 0;
    }
    50% {
        right: calc(100% + 400px);
        opacity: 0.7;
    }
}

.footer-connection-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(52, 152, 219, 0.3),
        rgba(155, 89, 182, 0.3),
        transparent
    );
    animation: footer-line-move 5s linear infinite;
}

.footer-connection-line.line-1 {
    top: 30%;
    left: -100%;
    width: 40%;
    animation-delay: 0s;
}

.footer-connection-line.line-2 {
    top: 60%;
    left: -100%;
    width: 50%;
    animation-delay: 2s;
    animation-duration: 6s;
}

.footer-connection-line.line-3 {
    bottom: 25%;
    right: -100%;
    width: 45%;
    animation-delay: 1s;
    animation-duration: 5.5s;
    animation-direction: reverse;
}

@keyframes footer-line-move {
    0% {
        left: -100%;
        opacity: 0;
    }
    20% {
        opacity: 0.6;
    }
    80% {
        opacity: 0.6;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

/* 确保导航栏和页脚内容在背景之上 */
.header--alaeye .container,
.footer--alaeye .container {
    position: relative;
    z-index: 1;
}
