/* 全局样式 - 科技风格 */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&display=swap');

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

body {
    font-family: 'Orbitron', 'Segoe UI', 'Cascadia Code', 'Consolas', monospace;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%);
    min-height: 100vh;
    color: #cccccc;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* 科技风背景网格 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
    z-index: 0;
    pointer-events: none;
}

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

/* 科技风粒子系统 */
.tech-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.tech-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #00ffff;
    border-radius: 50%;
    animation: tech-particle-float 8s linear infinite;
    box-shadow: 0 0 6px #00ffff;
}

.tech-particle:nth-child(2n) {
    background: #64c8ff;
    box-shadow: 0 0 6px #64c8ff;
    animation-duration: 10s;
}

.tech-particle:nth-child(3n) {
    background: #00ff80;
    box-shadow: 0 0 6px #00ff80;
    animation-duration: 12s;
}

.tech-particle:nth-child(4n) {
    width: 3px;
    height: 3px;
    animation-duration: 15s;
}

@keyframes tech-particle-float {
    0% {
        transform: translateY(100vh) translateX(0px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

.container {
    display: flex;
    height: calc(100vh - 50px);
    max-width: none;
    margin: 0;
    margin-top: 50px;
    padding: 0;
    position: relative;
    z-index: 1;
}

/* 科技风标题栏 */
.title-bar {
    background: rgba(0, 0, 0, 0.8);
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 2px solid rgba(0, 255, 255, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.2);
}

.title-content {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.2), rgba(0, 123, 255, 0.2));
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 20px;
    color: #00ffff;
    text-decoration: none;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

.nav-link:hover {
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.4), rgba(0, 123, 255, 0.4));
    border-color: #00ffff;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.3);
}

.title-bar h1 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    background: linear-gradient(45deg, #00ffff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-bar .subtitle {
    font-size: 12px;
    color: #b0b0b0;
    margin-left: 15px;
    font-weight: 400;
}

/* 科技风侧边栏 */
.sidebar {
    width: 320px;
    min-width: 200px;
    max-width: 600px;
    background: rgba(0, 0, 0, 0.7);
    border-right: 2px solid rgba(0, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    margin-top: 50px;
    box-sizing: border-box;
    transition: width 0.1s ease;
    backdrop-filter: blur(10px);
    box-shadow: 4px 0 20px rgba(0, 255, 255, 0.1);
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.5);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.sidebar-header h2 {
    color: #00ffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* 科技风分隔条样式 */
.resizer {
    width: 6px;
    background: rgba(0, 255, 255, 0.2);
    cursor: col-resize;
    position: relative;
    margin-top: 50px;
    transition: all 0.3s ease;
    user-select: none;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.resizer:hover {
    background: rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
    transform: scaleX(1.5);
}

.resizer:active {
    background: rgba(0, 255, 255, 0.8);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
}

.resizer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -4px;
    right: -4px;
    bottom: 0;
    cursor: col-resize;
}

/* 科技风主内容区域 */
.main-content {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(5px);
}

.editor-tabs {
    background: rgba(0, 0, 0, 0.7);
    border-bottom: 2px solid rgba(0, 255, 255, 0.3);
    padding: 0;
    display: flex;
    align-items: center;
    min-height: 40px;
    backdrop-filter: blur(10px);
}

.tab {
    background: transparent;
    border: none;
    color: #969696;
    padding: 10px 20px;
    cursor: pointer;
    border-right: 1px solid rgba(0, 255, 255, 0.2);
    font-size: 13px;
    font-family: 'Orbitron', monospace;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.tab::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab.active {
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.tab.active::before {
    transform: scaleX(1);
}

.tab:hover {
    background: rgba(0, 255, 255, 0.05);
    color: #00ffff;
    transform: translateY(-1px);
}

.editor-content {
    flex: 1;
    padding: 25px;
    overflow-y: auto;
}

.section {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.section:hover {
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 12px 40px rgba(0, 255, 255, 0.2);
    transform: translateY(-2px);
}

.section-header {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 22px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.section-header h3 {
    color: #00ffff;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.section-header .icon {
    margin-right: 10px;
    font-size: 18px;
}

.section-body {
    padding: 22px;
}

/* 科技风输入框 */
.title-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-family: 'Orbitron', monospace;
    font-weight: 500;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.title-input:focus {
    outline: none;
    border-color: #00ffff;
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    transform: translateY(-1px);
}

.title-input::placeholder {
    color: #888;
    font-family: 'Orbitron', monospace;
}

/* 科技风按钮 */
.btn {
    padding: 10px 18px;
    border: 2px solid rgba(0, 255, 255, 0.5);
    border-radius: 8px;
    font-size: 13px;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 38px;
    justify-content: center;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.2), rgba(0, 123, 255, 0.2));
    color: #00ffff;
    border-color: #00ffff;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.btn-primary:hover {
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.4), rgba(0, 123, 255, 0.4));
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    transform: translateY(-2px) scale(1.02);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #cccccc;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px) scale(1.02);
}

.btn-success {
    background: linear-gradient(45deg, rgba(0, 255, 0, 0.2), rgba(0, 200, 100, 0.2));
    color: #00ff80;
    border-color: #00ff80;
    text-shadow: 0 0 5px rgba(0, 255, 128, 0.5);
}

.btn-success:hover {
    background: linear-gradient(45deg, rgba(0, 255, 0, 0.4), rgba(0, 200, 100, 0.4));
    box-shadow: 0 0 20px rgba(0, 255, 128, 0.4);
    transform: translateY(-2px) scale(1.02);
    text-shadow: 0 0 10px rgba(0, 255, 128, 0.8);
}

.btn-info {
    background: linear-gradient(45deg, rgba(0, 150, 255, 0.2), rgba(100, 200, 255, 0.2));
    color: #64c8ff;
    border-color: #64c8ff;
    text-shadow: 0 0 5px rgba(100, 200, 255, 0.5);
}

.btn-info:hover {
    background: linear-gradient(45deg, rgba(0, 150, 255, 0.4), rgba(100, 200, 255, 0.4));
    box-shadow: 0 0 20px rgba(100, 200, 255, 0.4);
    transform: translateY(-2px) scale(1.02);
    text-shadow: 0 0 10px rgba(100, 200, 255, 0.8);
}

.btn-danger {
    background: linear-gradient(45deg, rgba(255, 71, 87, 0.2), rgba(255, 107, 122, 0.2));
    color: #ff4757;
    border-color: #ff4757;
    padding: 6px 12px;
    font-size: 12px;
    text-shadow: 0 0 5px rgba(255, 71, 87, 0.5);
}

.btn-danger:hover {
    background: linear-gradient(45deg, rgba(255, 71, 87, 0.4), rgba(255, 107, 122, 0.4));
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.4);
    transform: translateY(-1px) scale(1.02);
    text-shadow: 0 0 8px rgba(255, 71, 87, 0.8);
}

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

/* 科技风角色列表 */
.character-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    margin-bottom: 12px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.character-item:hover {
    background: rgba(0, 255, 255, 0.05);
    border-color: rgba(0, 255, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.2);
}

.character-item input {
    flex: 1;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    font-family: 'Orbitron', monospace;
    font-weight: 500;
    transition: all 0.3s ease;
}

.character-item input:focus {
    outline: none;
    border-color: #00ffff;
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.character-item input::placeholder {
    color: #888;
    font-family: 'Orbitron', monospace;
}

.voice-display {
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.3), rgba(0, 123, 255, 0.3));
    color: #00ffff;
    padding: 4px 12px;
    border-radius: 2px;
    font-size: 12px;
    min-width: 180px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease;
    border: 1px solid #0e639c;
}

.voice-display:hover {
    background: #1177bb;
    border-color: #1177bb;
}

/* 科技风内容列表 */
.content-item {
    display: flex;
    gap: 15px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    margin-bottom: 16px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    align-items: flex-start;
    transition: all 0.3s ease;
    flex-wrap: wrap;
    backdrop-filter: blur(10px);
}

.content-item:hover {
    background: rgba(0, 255, 255, 0.05);
    border-color: rgba(0, 255, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.2);
}

.content-item select {
    min-width: 140px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    font-family: 'Orbitron', monospace;
    font-weight: 500;
    flex-shrink: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    transition: all 0.3s ease;
}

.content-item textarea {
    flex: 1;
    min-width: 220px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    min-height: 80px;
    resize: vertical;
    font-family: 'Orbitron', monospace;
    font-weight: 500;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    transition: all 0.3s ease;
}

.content-item textarea:focus,
.content-item select:focus {
    outline: none;
    border-color: #00ffff;
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.content-item textarea::placeholder {
    color: #888;
    font-family: 'Orbitron', monospace;
}

/* 科技风JSON预览 */
.json-preview {
    background: rgba(0, 0, 0, 0.8);
    color: #00ffff;
    padding: 20px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    margin-top: 15px;
    font-family: 'Orbitron', 'Cascadia Code', 'Consolas', 'Courier New', monospace;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    overflow-x: auto;
    white-space: pre-wrap;
    max-height: 450px;
    overflow-y: auto;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0, 255, 255, 0.1);
    text-shadow: 0 0 3px rgba(0, 255, 255, 0.3);
}

/* 科技风模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: rgba(0, 0, 0, 0.9);
    margin: 3% auto;
    border: 2px solid rgba(0, 255, 255, 0.5);
    border-radius: 12px;
    width: 92%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    animation: slideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(15px);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 12px 12px 0 0;
}

.modal-header h3 {
    color: #00ffff;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

.close {
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #ff4757;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 6px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 71, 87, 0.3);
    background: rgba(255, 71, 87, 0.1);
}

.close:hover {
    background: rgba(255, 71, 87, 0.2);
    border-color: #ff4757;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.4);
}

.modal-body {
    padding: 24px;
}

.voice-category {
    margin: 24px 0 12px 0;
}

.voice-category:first-child {
    margin-top: 0;
}

.voice-category h4 {
    color: #00ffff;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 12px 0;
    padding: 0 0 8px 0;
    border-bottom: 2px solid rgba(0, 255, 255, 0.3);
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.voice-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
    max-height: 450px;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .voice-options {
        grid-template-columns: 1fr;
    }
}

.voice-option {
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 13px;
    font-family: 'Orbitron', monospace;
    font-weight: 500;
    color: #cccccc;
    backdrop-filter: blur(10px);
}

.voice-option:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.6);
    color: #00ffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
}

.voice-option.selected {
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.3), rgba(0, 123, 255, 0.3));
    color: #ffffff;
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

/* VSCode风格控制按钮组 */
.character-controls,
.content-controls,
.export-controls {
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* 文件操作区域 */
.file-operations {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.file-operations .btn {
    width: 100%;
    text-align: center;
    padding: 10px 16px;
    box-sizing: border-box;
}

/* 动画 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 科技风响应式设计 */
@media (max-width: 1024px) {
    .sidebar {
        width: 280px;
        min-width: 260px;
    }
    
    .section-body {
        padding: 18px;
    }
    
    .character-item, .content-item {
        padding: 12px;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .title-bar {
        height: 45px;
        padding: 0 15px;
    }
    
    .title-bar h1 {
        font-size: 16px;
    }
    
    .container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100% !important;
        min-width: auto;
        max-width: none;
        height: 220px;
        margin-top: 45px;
        border-right: none;
        border-bottom: 2px solid rgba(0, 255, 255, 0.3);
    }
    
    .resizer {
        display: none;
    }
    
    .main-content {
        margin-top: 0;
    }
    
    .character-item,
    .content-item {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px;
    }
    
    .voice-display {
        min-width: auto;
        margin-top: 10px;
    }
    
    .modal-content {
        width: 96%;
        margin: 5% auto;
        border-radius: 8px;
    }
    
    .voice-options {
        grid-template-columns: 1fr;
    }
    
    .editor-content {
        padding: 18px;
    }
    
    .editor-tabs {
        flex-wrap: wrap;
    }
    
    .tab {
        flex: 1;
        min-width: 140px;
        padding: 8px 16px;
    }
}

/* 科技风滚动条 */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.5), rgba(0, 123, 255, 0.5));
    border-radius: 6px;
    border: 2px solid rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.8), rgba(0, 123, 255, 0.8));
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

::-webkit-scrollbar-corner {
    background: rgba(0, 0, 0, 0.3);
}

/* VSCode风格空状态 */
.empty-state {
    text-align: center;
    padding: 30px 15px;
    color: #969696;
    font-style: italic;
    font-size: 12px;
}

.empty-state::before {
    content: "📝";
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
    opacity: 0.5;
}

/* VSCode风格选择框 */
select {
    background: #3c3c3c;
    border: 1px solid #464647;
    border-radius: 2px;
    color: #cccccc;
    font-family: inherit;
}

select:focus {
    outline: none;
    border-color: #007acc;
}

select option {
    background: #3c3c3c;
    color: #cccccc;
}

/* VSCode风格文件图标 */
.file-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
}

/* 状态栏样式 */
.status-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 22px;
    background: #007acc;
    color: #ffffff;
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-size: 12px;
    z-index: 1000;
}

.status-item {
    margin-right: 15px;
}

/* 工具提示 */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1e1e1e;
    color: #cccccc;
    padding: 4px 8px;
    border-radius: 2px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    border: 1px solid #464647;
    z-index: 1000;
}

.tooltip:hover::after {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .title-bar {
        height: auto;
        min-height: 50px;
        padding: 10px 15px;
        flex-direction: column;
        gap: 10px;
    }

    .title-content {
        order: 1;
        text-align: center;
        flex-direction: column;
        gap: 5px;
    }

    .nav-links {
        order: 2;
        justify-content: center;
    }

    .nav-link {
        padding: 6px 12px;
        font-size: 11px;
    }

    .title-bar h1 {
        font-size: 16px;
    }

    .title-bar .subtitle {
        margin-left: 0;
        font-size: 11px;
    }

    .container {
        flex-direction: column;
        height: auto;
        min-height: calc(100vh - 80px);
        margin-top: 80px;
    }

    .sidebar {
        width: 100%;
        max-width: none;
        order: 2;
    }

    .resizer {
        display: none;
    }

    .main-content {
        order: 1;
        width: 100%;
        min-height: 300px;
    }
}