
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Montserrat', sans-serif;
            /*302b63*/
            background: linear-gradient(135deg, #0f0c29, #130f3c, #24243e);
            color: #f0f0f0;
            min-height: 100vh;
            overflow-x: hidden;
            position: relative;
            font-family: 'Exo 2', sans-serif;
                background: linear-gradient(135deg, #000000, #130f3c, #000000);
        }
        a{text-decoration: none;color: unset;}
        body::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 20% 30%, rgba(87, 108, 188, 0.1) 0%, transparent 40%),
                        radial-gradient(circle at 80% 70%, rgba(188, 87, 162, 0.1) 0%, transparent 40%);
            z-index: -1;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem;
        }
        
        header {
            text-align: center;
            margin-bottom: 3rem;
            padding-top: 2rem;
            animation: fadeInDown 1s ease;
        }
        
        h1 {
            font-family: 'Orbitron', sans-serif;
            font-size: 3.5rem;
            background: linear-gradient(90deg, #ff00cc, #3333ff, #00ccff);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 0 15px rgba(255, 0, 204, 0.3);
            
            letter-spacing: 2px;
        }
        
        .subtitle {
            font-size: 1.1rem;
            color: #a0a0e0;
            max-width: 600px;

            margin: 10px auto;
            line-height: 1.6;
        }
        
        /* 搜索模式选择器 */
        .search-mode-selector {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin: 3rem 0;
        }
        
        .mode-btn {
            background: rgba(20, 20, 50, 0.6);
            border: 1px solid rgba(100, 100, 200, 0.3);
            border-radius: 50px;
            padding: 0.8rem 1.8rem;
            color: #a0a0e0;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.4s ease;
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        }
        
        .mode-btn:hover {
            background: rgba(70, 70, 150, 0.3);
            transform: translateY(-3px);
            box-shadow: 0 6px 25px rgba(100, 100, 255, 0.2);
        }
        
        .mode-btn.active {
            background: linear-gradient(90deg, #ff00cc, #3333ff);
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 0 20px rgba(100, 100, 255, 0.4);
        }
        
        /* 搜索区域 */
        .search-container {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
            transition: all 0.5s ease;
        }
        
        /* 经典搜索模式 */
        .classic-search {
            background: rgba(20, 20, 40, 0.5);
            border: 1px solid rgba(100, 100, 200, 0.2);
            border-radius: 50px;
            padding: 0.5rem 1.5rem;
            backdrop-filter: blur(10px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
                        inset 0 0 10px rgba(255, 255, 255, 0.05);
            transition: all 0.4s ease;
        }
        
        .classic-search:focus-within {
            background: rgba(30, 30, 60, 0.7);
            box-shadow: 0 0 30px rgba(100, 100, 255, 0.4),
                        inset 0 0 15px rgba(255, 255, 255, 0.1);
            transform: scale(1.02);
        }
        
        .classic-search form {
            display: flex;
            align-items: center;
        }
        
        .classic-search input {
            flex: 1;
            background: transparent;
            border: none;
            padding: 1.2rem 1rem;
            font-size: 1.1rem;
            color: white;
            outline: none;
        }
        
        .classic-search input::placeholder {
            color: #8a8ac4;
        }
        
        .classic-search button {
            background: linear-gradient(90deg, #ff00cc, #3333ff);
            border: none;
            border-radius: 50px;
            padding: 0.8rem 1.8rem;
            color: white;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(100, 100, 255, 0.3);
        }
        
        .classic-search button:hover {
            transform: scale(1.05);
            box-shadow: 0 0 20px rgba(100, 100, 255, 0.6);
        }
        
        /* 浮动图标模式 */
        .floating-icon-mode {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            z-index: 100;
        }
        
        .floating-search-icon {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, #ff00cc, #3333ff);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 5px 20px rgba(100, 100, 255, 0.4),
                        0 0 0 8px rgba(100, 100, 255, 0.1);
            transition: all 0.4s ease;
            animation: pulse 2s infinite;
        }
        
        .floating-search-icon:hover {
            transform: scale(1.1) rotate(15deg);
            box-shadow: 0 5px 25px rgba(100, 100, 255, 0.6),
                        0 0 0 12px rgba(100, 100, 255, 0.15);
        }
        
        .floating-search-icon i {
            font-size: 1.5rem;
            color: white;
        }
        
        .floating-search-expanded {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(10, 10, 30, 0.95);
            /*display: flex;*/
            align-items: center;
            justify-content: center;
            z-index: 99;
            opacity: 0;
            visibility: hidden;
            transition: all 0.5s ease;
            backdrop-filter: blur(10px);
            overflow-y:scroll;
        }
        
        .floating-search-expanded.active {
            opacity: 1;
            visibility: visible;
        }
        
        .floating-search-box {
            width: 80%;
            max-width: 1000px;
            background: rgba(20, 20, 40, 0.7);
            border: 1px solid rgba(100, 100, 200, 0.3);
            border-radius: 20px;
            padding: 2rem;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
                        inset 0 0 20px rgba(255, 255, 255, 0.05);
            transform: scale(0.9);
            transition: all 0.5s ease;
        }
        
        .floating-search-expanded.active .floating-search-box {
            transform: scale(1);
        }
        
        .floating-search-box .form {
            display: flex;
            flex-direction: column;
        }
        
        .floating-search-box input {
            background: rgba(10, 10, 20, 0.6);
            border: 1px solid rgba(100, 100, 200, 0.2);
            border-radius: 50px;
            padding: 1.2rem 1.5rem;
            font-size: 1.2rem;
            color: white;
            outline: none;
            margin-bottom: 1.5rem;
            transition: all 0.3s ease;
        }
        
        .floating-search-box input:focus {
            border-color: rgba(100, 100, 255, 0.5);
            box-shadow: 0 0 20px rgba(100, 100, 255, 0.3);
        }
        
        .floating-search-box button {
            align-self: flex-end;
            background: linear-gradient(90deg, #ff00cc, #3333ff);
            border: none;
            border-radius: 50px;
            padding: 0.8rem 2.5rem;
            color: white;
            font-size: 1.1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .floating-search-box button:hover {
            transform: scale(1.05);
            box-shadow: 0 0 20px rgba(100, 100, 255, 0.6);
        }
        
        /* 全屏搜索模式 */
        .fullscreen-search {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: radial-gradient(circle, #0f0c29, #000000);
            z-index: 98;
            opacity: 0;
            visibility: hidden;
            transition: all 0.5s ease;
        }
        
        .fullscreen-search.active {
            opacity: 1;
            visibility: visible;
        }
        
        .floating-search-expanded h2,.fullscreen-search h2 {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.4rem;
            margin-bottom: 2rem;
            background: linear-gradient(90deg, #00ccff, #e183ce);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 0 15px rgba(0, 204, 255, 0.1);
                text-align: center;
        }
        
        .fullscreen-search-box {
            width: 80%;
            max-width: 800px;
            position: relative;
        }
        
        .fullscreen-search-box input {
            width: 100%;
            background: rgba(10, 10, 30, 0.7);
            border: 2px solid rgba(100, 100, 255, 0.3);
            border-radius: 60px;
            padding: 1.5rem 2rem;
            font-size: 1.3rem;
            color: white;
            outline: none;
            transition: all 0.4s ease;
            box-shadow: 0 0 30px rgba(100, 100, 255, 0.2),
                        inset 0 0 10px rgba(255, 255, 255, 0.1);
        }
        
        .fullscreen-search-box input:focus {
            border-color: rgba(100, 100, 255, 0.6);
            box-shadow: 0 0 50px rgba(100, 100, 255, 0.4),
                        inset 0 0 15px rgba(255, 255, 255, 0.15);
        }
        
        .fullscreen-search-box button {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            background: linear-gradient(90deg, #ff00cc, #3333ff);
            border: none;
            border-radius: 50px;
            padding: 0.9rem 2rem;
            color: white;
            font-size: 1.1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .fullscreen-search-box button:hover {
            transform: translateY(-50%) scale(1.05);
            box-shadow: 0 0 20px rgba(100, 100, 255, 0.6);
        }
        
        /* 搜索结果 */
        .search-results-index,.search-results {
            max-width: 1000px;
            margin: 3rem auto;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 2rem;
        }
        .search-results-index{}
        
        .result-card {
            background: rgba(30, 30, 60, 0.5);
            border-radius: 20px;
            padding: 1.5rem;
            transition: all 0.3s ease;
            border: 1px solid rgba(100, 100, 200, 0.2);
            backdrop-filter: blur(10px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }
        
        .result-card:hover {
            transform: translateY(-10px);
            background: rgba(40, 40, 80, 0.7);
            box-shadow: 0 15px 40px rgba(100, 100, 255, 0.2);
            border-color: rgba(100, 100, 255, 0.4);
        }
        
        .result-card h3 {
            font-size: 1.3rem;
            margin-bottom: 0.8rem;
            color: #d0d0ff;
        }
        
        .result-card p {
            color: #a0a0d0;
            line-height: 1.6;
            font-size: 0.95rem;
        }
        
        .result-card .url {
            color: #8888ff;
            font-size: 0.85rem;
            margin-top: 0.5rem;
            display: block;
        }
        
        /* 动画效果 */
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(100, 100, 255, 0.4);
            }
            70% {
                box-shadow: 0 0 0 15px rgba(100, 100, 255, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(100, 100, 255, 0);
            }
        }
        
        /* 粒子背景 */
        #particles-js {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: -1;
        }
       
        /* 响应式设计 */
        @media (max-width: 768px) {
             .logo img{max-width: 100%;height: auto;}
             

            .category-filter,.articles-header{flex-wrap: wrap;}
            h1 {
                font-size: 2.5rem;
            }

            .category-filter{margin-top: 20px;}
            
            .search-mode-selector {
                flex-wrap: wrap;
            }
            
            .search-results {
                grid-template-columns: 1fr;
            }
        }
        .logo {
                position: relative;
                display: block;
                width: 300px;
                margin: 0 auto;
            }
            .logo::before {
    content:'';
    position: absolute;
    top: 50%;
   left: 83.9%;
     transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: radial-gradient(circle at 30% 30%, #ffffff, #e0e0ff);
    border-radius: 50%;
     box-shadow: 
        0 0 0 2px rgba(255, 255, 255, 0.8), 
        0 0 8px 4px rgba(207, 192, 9, 0.8);  
    animation: orbit 4s linear infinite;
  }
   @keyframes orbit {
            0% {
                transform: translateX(-50%) rotate(0deg) translate(18px) rotate(0deg);
            }
           
            100% {
                transform: translateX(-50%) rotate(360deg) translate(18px) rotate(-360deg);
                left: 83.9%;
            }
        }
        .grid-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(64, 115, 250, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(64, 115, 250, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -1;
}
.result-card .fas {color:#03c5b3;}
.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(64, 115, 250, 0.2);
    color: #64748b;
}

/* 新增的文章列表模块样式 */
.articles-section {
    margin: 4rem auto;
    padding: 2rem 0;    
    max-width: 1000px;
}

.articles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.articles-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    background: linear-gradient(90deg, #00ffff, #3333ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(255, 0, 204, 0.2);
}

.category-filter {
    display: flex;
    gap: 0.8rem;
}

.category-btn {
    background: rgba(20, 20, 50, 0.6);
    border: 1px solid rgba(100, 100, 200, 0.3);
    border-radius: 30px;
    padding: 0.5rem 1.2rem;
    color: #a0a0e0;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover, .category-btn.active {
    background: linear-gradient(90deg, #1b939f, #3333ff);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(100, 100, 255, 0.3);
}

.articles-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.article-card {
    background: rgba(30, 30, 60, 0.5);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(100, 100, 200, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(100, 100, 255, 0.25);
    border-color: rgba(100, 100, 255, 0.4);
}

.article-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-tag {
    position: absolute;
    display: none;
    top: 15px;
    right: 15px;
    background: linear-gradient(90deg, #ff00cc, #3333ff);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.article-content {
    padding: 1.5rem;
}

.article-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #d0d0ff;
    line-height: 1.4;
}

.article-content p {
    color: #a0a0d0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    height: 4.5em;
    overflow: hidden;
    position: relative;
}

.article-content p::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40%;
    height: 1.5em;
    background: linear-gradient(to right, rgba(30, 30, 60, 0), rgba(30, 30, 60, 0.8));
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #8888ff;
    font-size: 0.85rem;
}

.article-date i, .article-views i {
    margin-right: 0.3rem;
}

.read-more {
    display: inline-block;
    color: #8888ff;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #ff00cc;
    transform: translateX(5px);
}

.articles-footer {
    text-align: center;
    margin-top: 2.5rem;
}

.view-all-btn {
    display: inline-block;
    background: rgba(20, 20, 50, 0.6);
    border: 1px solid rgba(100, 100, 200, 0.3);
    border-radius: 50px;
    padding: 0.8rem 2rem;
    color: #a0a0e0;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: linear-gradient(90deg, #ff00cc, #3333ff);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(100, 100, 255, 0.3);
}
code, textarea, pre, .code-block {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 10px;
    padding: 20px;
    margin: 25px 0;
    overflow-x: auto;
    border: 1px solid rgba(64, 115, 250, 0.3);
    font-family: monospace;
    font-size: 0.95rem;
}
.code-container code, .code-container textarea, .code-container  pre, .code-container .code-block{
    border:0;
}
    
  
      
         :root {
            --primary: #4361ee;
            --secondary: #3f37c9;
            --dark: #1a2a6c;
            --light: #4cc9f0;
            --danger: #f72585;
            --success: #4ade80;
        }
       .floating-search-expanded .container {
            max-width: 1200px;
            width: 100%;
            margin: 0 auto;
            flex: 1;
        }
        
       .floating-search-expanded header {
            text-align: center;
            padding: 20px 0;
            margin-bottom: 30px;
            /*border-bottom: 2px solid rgba(255, 255, 255, 0.1);*/
        }
        
        .floating-search-expanded header h1 {
            font-size: 2.8rem;
            margin-bottom: 10px;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
                background: linear-gradient(90deg, #00ccff, #ff00cc);
                     background: linear-gradient(90deg, #00ccff, #e183ce);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 15px rgb(255 0 204 / 1%);
    letter-spacing: 2px;
    -webkit-background-clip: text;
        }
        
       .floating-search-expanded  header p {
            font-size: 1.1rem;
            opacity: 0.8;
            max-width: 700px;
            margin: 0 auto;
        }
        
        .floating-search-expanded .app-container {
            display: flex;
            gap: 30px;
            flex-wrap: wrap;
        }
        
       
     
        .input-section, .output-section {
            flex: 1;
            min-width: 300px;
            background: rgba(30, 30, 60, 0.7);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .section-title {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 20px;
            font-size: 1.4rem;
        }
        
        .section-title i {
            color: var(--light);
        }
        
        textarea {
            width: 100%;
            height: 150px;
            background: rgba(20, 20, 40, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            padding: 15px;
            color: #fff;
            font-size: 1rem;
            resize: vertical;
            transition: all 0.3s ease;
        }
        
        textarea:focus {
            outline: none;
            border-color: var(--light);
            box-shadow: 0 0 0 2px rgba(76, 201, 240, 0.3);
        }
        
        .params {
            margin: 20px 0;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }
        
        .param-group {
            margin-bottom: 15px;
        }
        
        .param-group label {
            display: block;
            margin-bottom: 8px;
            font-size: 0.95rem;
            opacity: 0.9;
        }
        
        .param-group input, .param-group select {
            width: 100%;
            padding: 10px;
            border-radius: 8px;
            background: rgba(20, 20, 40, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #fff;
        }
        
        .btn {
            background: linear-gradient(45deg, var(--light), var(--primary));
            color: white;
            border: none;
            padding: 12px 25px;
            font-size: 1rem;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.3s ease;
            width: 100%;
            font-weight: 600;
            margin-top: 10px;
        }
        
        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(76, 201, 240, 0.4);
        }
        
        .btn:disabled {
            background: #555;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
        
        .output-content {
            background: rgba(20, 20, 40, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            padding: 20px;
            min-height: 250px;
            max-height: 350px;
            overflow-y: auto;
            font-size: 1rem;
            line-height: 1.6;
            white-space: pre-wrap;
            /*display: none;*/
        }
        
        .loading {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 250px;
            gap: 20px;
        }
        
        .spinner {
            width: 50px;
            height: 50px;
            border: 5px solid rgba(76, 201, 240, 0.3);
            border-top: 5px solid var(--light);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .history {
            margin-top: 25px;
            max-height: 200px;
            overflow-y: auto;
            display: none !important;
        }
        
        .history.visible {
            display: block !important;
        }
        
        .history-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }
        
        .history-header h3 {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .history-item {
            background: rgba(40, 40, 80, 0.5);
            border-radius: 8px;
            padding: 12px;
            margin-bottom: 10px;
            cursor: pointer;
            transition: all 0.2s ease;
            border-left: 3px solid var(--light);
            position: relative;
        }
        
        .history-item:hover {
            background: rgba(50, 50, 100, 0.7);
            transform: translateY(-2px);
        }
        
        .history-item h4 {
            margin-bottom: 5px;
            font-size: 0.95rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .history-item p {
            font-size: 0.85rem;
            opacity: 0.7;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .delete-history {
            position: absolute;
            top: 8px;
            right: 8px;
            color: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .delete-history:hover {
            color: var(--danger);
        }
        
        .error {
            color: var(--danger);
            background: rgba(247, 37, 133, 0.1);
            padding: 15px;
            border-radius: 8px;
            margin-top: 15px;
            font-size: 0.95rem;
        }
        
        .token-info {
            display: flex;
            justify-content: space-between;
            margin-top: 10px;
            font-size: 0.9rem;
            opacity: 0.8;
        }
        
        .api-key-container {
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .api-key-container label {
            display: block;
            margin-bottom: 8px;
            font-size: 0.95rem;
            opacity: 0.9;
        }
        
        .api-key-container input {
            width: 100%;
            padding: 10px;
            border-radius: 8px;
            background: rgba(20, 20, 40, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #fff;
        }
        
        .endpoint-container {
            margin-top: 10px;
        }
        
        .endpoint-container label {
            display: block;
            margin-bottom: 8px;
            font-size: 0.95rem;
            opacity: 0.9;
        }
        
        .endpoint-container input {
            width: 100%;
            padding: 10px;
            border-radius: 8px;
            background: rgba(20, 20, 40, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #fff;
        }
        
        .footer {
            text-align: center;
            padding: 30px 0 20px;
            font-size: 0.9rem;
            opacity: 0.7;
            margin-top: auto;
        }
        
        .output-tabs {
            display: flex;
            margin-bottom: 10px;
            gap: 10px;
            flex-wrap: wrap;
        }
        
        .tab-btn {
            background: rgba(40, 40, 80, 0.5);
            border: none;
            padding: 8px 15px;
            border-radius: 6px;
            color: #fff;
            cursor: pointer;
            transition: all 0.3s ease;
            flex: 1;
            text-align: center;
        }
        
        .tab-btn.active {
            background: var(--light);
            color: var(--dark);
            font-weight: bold;
        }
        
        .tab-btn:hover:not(.active) {
            background: rgba(76, 201, 240, 0.3);
        }
        
        .output-frame {
            width: 100%;
            height: 400px;
            border: none;
            border-radius: 8px;
            background: white;
            display: none;
        }
        
        .code-container {
            display: none;
            max-height: 400px;
            overflow: auto;
            border-radius: 8px;
            background: #282c34;
            padding: 15px;
        }
        
        .placeholder {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 40px 0;
            color: rgba(255, 255, 255, 0.6);
            min-height: 400px;
        }
        
        .progress-container {
            width: 100%;
            max-width: 400px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            margin-top: 20px;
            overflow: hidden;
        }
        
        .progress-bar {
            height: 10px;
            background: var(--light);
            border-radius: 10px;
            width: 0%;
            transition: width 0.5s ease;
        }
        
        .progress-steps {
            display: flex;
            justify-content: space-between;
            margin-top: 10px;
            width: 100%;
            max-width: 400px;
        }
        
        .step {
            font-size: 0.8rem;
            opacity: 0.6;
        }
        
        .step.active {
            opacity: 1;
            color: var(--light);
            font-weight: bold;
        }
        
        @media (max-width: 768px) {
            .input-section, .output-section{padding:10px;}
            .floating-search-expanded header h1{font-size:2rem}
            .floating-search-expanded h2{font-size:1.4rem}
            .floating-search-expanded .app-container{flex-wrap: nowrap;}
            .app-container {
                flex-direction: column;
            }
            
            .params {
                grid-template-columns: 1fr;
            }
            
            .output-frame {
                height: 300px;
            }
        }
        .floating-search-expanded h2{margin-bottom: 0;}
        .view{
                width:100%;height:100%;z-index:98;position:fixed;top: 0;
                left: 0;display: none;
                justify-content: center;
                align-items: center;
                flex-direction: column;
                /*padding-top: 10px;*/
                background:#fff;
            
        }
    div::-webkit-scrollbar {
    width: .4rem!important;
    height: .4rem!important;
    background: #ccc;
}
div::-webkit-scrollbar-thumb {
    border-radius: 0;
    background-color: #000;
    -webkit-transition: all .2s;
    transition: all .2s;
    border-radius: .3rem;
}
div::-webkit-scrollbar-track {
    border-radius: 0;
    /*background-color:  #fff;*/
}

  