/* 设置系统样式 */

/* CSS变量定义 */
:root {
    --primary-color: #0078d4;
    --settings-font-family: 'Douyin Sans Bold', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    --settings-font-weight: bold;
}

/* 全局样式 */
body {
    color: var(--text-color);
    overflow: hidden;
}

/* 时间和日期 */
.time,
.date {
    color: var(--text-color);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* 语录卡片 */
.quote-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-color);
}

.quote-card:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

/* 搜索框 */
.search-container {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.search-container.active {
    background: rgba(255, 255, 255, 0.3);
}

.search-input {
    color: transparent;
    caret-color: transparent;
    opacity: 1;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.search-container.active .search-input {
    color: #ffffff;
    caret-color: #ffffff;
}

.search-container.active .search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-btn {
    background: transparent;
    color: #ffffff;
}

/* 搜索引擎选择器 */
.search-engine-selector {
    background: transparent;
}

.search-engine-dropdown {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.search-engine-option {
    color: #ffffff;
}

.search-engine-option:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* 日期显示样式 */
.date {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-top: 5px;
    text-align: center;
}

/* 日期向上渐显动画 fadeInUp */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.date {
    opacity: 0;
    animation: fadeInUp 0.7s cubic-bezier(0.4,0,0.2,1) 0.1s both;
}

/* AI搜索等待提示语样式 */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px;
    text-align: center;
    color: #60A5FA;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #E5E7EB;
    border-top: 3px solid #60A5FA;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    color: #333;
}

.loading-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
    color: #333;
}

.loading-dots {
    font-size: 24px;
    line-height: 1;
    height: 24px;
    color: #60A5FA;
    font-family: monospace;
}

/* 媒体查询已迁移至 Tailwind 响应式类 */

/* 壁纸选择网格已迁移至 Tailwind */

