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

:root {
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-hover: rgba(255, 255, 255, 0.15);
    --text-primary: rgba(255, 255, 255, 0.95);
    --text-secondary: rgba(255, 255, 255, 0.7);
    --accent-glow: rgba(255, 255, 255, 0.3);
}

html {
    /* 启用硬件加速 */
    transform: translateZ(0);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
    color: var(--text-primary);
    background: #0a0a0a;
    /* 优化文本渲染 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* 动态渐变背景 - 使用 will-change 优化 */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(120, 119, 198, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(100, 200, 255, 0.2) 0%, transparent 60%),
        linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    background-size: 200% 200%;
    animation: gradientShift 20s ease infinite;
    will-change: background-position;
    contain: layout style paint;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* 噪点纹理 - 降低复杂度 */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
    contain: layout style paint;
}

/* 玻璃拟态遮罩 - 降低 blur 值 */
.glass-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: -1;
    contain: layout style paint;
}

/* 浮动光球 - 降低复杂度 */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    z-index: -2;
    opacity: 0.4;
    will-change: transform;
    contain: layout style;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: -50px;
    right: -50px;
    animation: floatOrb1 20s ease-in-out infinite;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    bottom: -30px;
    left: -30px;
    animation: floatOrb2 20s ease-in-out infinite;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    top: 50%;
    left: 50%;
    margin-top: -100px;
    margin-left: -100px;
    animation: floatOrb3 20s ease-in-out infinite;
}

@keyframes floatOrb1 {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    33% { transform: translate3d(20px, -20px, 0) scale(1.05); }
    66% { transform: translate3d(-10px, 10px, 0) scale(0.98); }
}

@keyframes floatOrb2 {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    33% { transform: translate3d(-15px, 20px, 0) scale(1.03); }
    66% { transform: translate3d(20px, -10px, 0) scale(0.97); }
}

@keyframes floatOrb3 {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    33% { transform: translate3d(15px, 15px, 0) scale(0.98); }
    66% { transform: translate3d(-20px, -20px, 0) scale(1.05); }
}

/* 浮动粒子 - 大幅减少数量，使用 CSS 动画 */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
    contain: layout style paint;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    will-change: transform, opacity;
    contain: layout style;
}

@keyframes float {
    from {
        transform: translate3d(0, 100vh, 0);
        opacity: 0;
    }
    10% { opacity: 0.4; }
    90% { opacity: 0.4; }
    to {
        transform: translate3d(100px, -100vh, 0);
        opacity: 0;
    }
}

/* 鼠标跟随光效 - 降低复杂度 */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transform: translate3d(-50%, -50%, 0);
    transition: opacity 0.3s ease;
    opacity: 0;
    will-change: transform;
    contain: layout style;
}

body:hover .cursor-glow {
    opacity: 1;
}

/* 网格背景 */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.02;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    contain: layout style paint;
}

/* 主容器 */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 40px;
    position: relative;
    z-index: 1;
    gap: 35px;
    contain: layout style;
}

/* 时间显示 */
.time-section {
    text-align: center;
    animation: fadeInScale 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: scale(0.9);
    will-change: transform, opacity;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.time {
    font-size: clamp(4rem, 10vw, 6rem);
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.1;
    text-shadow:
        0 0 60px rgba(255, 255, 255, 0.15),
        0 4px 30px rgba(0, 0, 0, 0.3);
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, #ffffff 0%, #e8ecff 30%, #d4dcff 50%, #e8ecff 70%, #ffffff 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: timeGradient 8s ease infinite;
    will-change: background-position;
    padding: 0 10px;
}

@keyframes timeGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* 时间分隔符样式 */
.time .colon {
    animation: blink 2s ease-in-out infinite;
    background: linear-gradient(135deg, #ffffff 0%, #e8ecff 50%, #ffffff 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 2px;
}

@keyframes blink {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 0.35; }
}

.date {
    font-size: 0.95rem;
    opacity: 0.75;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-top: 4px;
}

.greeting {
    font-size: 0.85rem;
    margin-top: 2px;
    opacity: 0.6;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

/* 搜索框 */
.search-container {
    width: 100%;
    max-width: 650px;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    z-index: 100;
    will-change: transform, opacity;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 22px 70px 22px 110px;
    border: none;
    border-radius: 24px;
    background: var(--glass-bg);
    /* 降低 blur 值提高性能 */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-primary);
    font-size: 1.15rem;
    outline: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    will-change: transform, box-shadow;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

.search-input:focus {
    background: var(--glass-hover);
    transform: translateY(-2px) scale(1.005);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

/* 搜索框光晕动画 - 简化 */
.search-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #667eea);
    background-size: 300% 100%;
    border-radius: 26px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: glowRotate 4s linear infinite;
}

.search-box:focus-within::before {
    opacity: 0.5;
}

@keyframes glowRotate {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 48px;
    height: 48px;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, background 0.25s ease;
    color: white;
    will-change: transform;
}

.search-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
    transform: translateY(-50%) scale(1.05);
}

.search-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.search-btn svg {
    width: 22px;
    height: 22px;
}

/* 搜索引擎下拉菜单 - 自定义样式 */
.engine-dropdown {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
}

.engine-select-wrapper {
    position: relative;
}

.engine-select-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--glass-border);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    color: var(--text-primary);
    border-radius: 14px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    user-select: none;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    will-change: transform;
}

.engine-select-trigger:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

.engine-select-trigger.active {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 0 0 3px rgba(255, 255, 255, 0.1),
        0 8px 30px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.engine-select-trigger svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
    opacity: 0.7;
}

.engine-select-trigger.active svg {
    transform: rotate(180deg);
}

/* 下拉选项弹出菜单 */
.engine-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 160px;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    z-index: 100;
    will-change: transform, opacity;
}

.engine-options.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.engine-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    will-change: transform;
}

.engine-option:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    color: var(--text-primary);
    transform: translateX(4px);
}

.engine-option.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.4) 0%, rgba(118, 75, 162, 0.4) 100%);
    color: #fff;
}

.engine-option-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.engine-option-icon svg {
    width: 14px;
    height: 14px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.engine-option.active .engine-option-icon svg {
    opacity: 1;
}

/* 菜单箭头 */
.engine-options::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    transform: rotate(45deg);
}

/* 快捷方式 */
.shortcuts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 680px;
}

.shortcut {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, opacity;
}

.shortcut:nth-child(1) { animation-delay: 0.3s; }
.shortcut:nth-child(2) { animation-delay: 0.38s; }
.shortcut:nth-child(3) { animation-delay: 0.46s; }
.shortcut:nth-child(4) { animation-delay: 0.54s; }
.shortcut:nth-child(5) { animation-delay: 0.62s; }
.shortcut:nth-child(6) { animation-delay: 0.7s; }
.shortcut:nth-child(7) { animation-delay: 0.78s; }
.shortcut:nth-child(8) { animation-delay: 0.86s; }

.shortcut {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--glass-border);
    text-decoration: none;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    gap: 6px;
    will-change: transform;
    contain: layout style;
}

.shortcut::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.shortcut::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.shortcut:hover {
    transform: translateY(-4px) scale(1.02);
    background: var(--glass-hover);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.2),
        0 0 16px rgba(255, 255, 255, 0.05);
}

.shortcut:hover::before {
    opacity: 1;
}

.shortcut:hover::after {
    width: 100px;
    height: 100px;
}

.shortcut-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 12px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    overflow: hidden;
    will-change: transform;
}

.shortcut-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.shortcut:hover .shortcut-icon::before {
    opacity: 1;
}

.shortcut-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.5;
    position: relative;
    z-index: 1;
}

.shortcut:hover .shortcut-icon {
    transform: scale(1.08) rotate(4deg);
}

/* 快捷方式彩色渐变 */
.shortcut[data-color="blue"] .shortcut-icon::before {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.4) 0%, rgba(37, 99, 235, 0.2) 100%);
}
.shortcut[data-color="orange"] .shortcut-icon::before {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.4) 0%, rgba(234, 88, 12, 0.2) 100%);
}
.shortcut[data-color="red"] .shortcut-icon::before {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.4) 0%, rgba(220, 38, 38, 0.2) 100%);
}
.shortcut[data-color="pink"] .shortcut-icon::before {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.4) 0%, rgba(219, 39, 119, 0.2) 100%);
}
.shortcut[data-color="blue-light"] .shortcut-icon::before {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.4) 0%, rgba(2, 132, 199, 0.2) 100%);
}
.shortcut[data-color="green"] .shortcut-icon::before {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.4) 0%, rgba(22, 163, 74, 0.2) 100%);
}
.shortcut[data-color="purple"] .shortcut-icon::before {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.4) 0%, rgba(147, 51, 234, 0.2) 100%);
}
.shortcut[data-color="gray"] .shortcut-icon::before {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.4) 0%, rgba(75, 85, 99, 0.2) 100%);
}

.shortcut-name {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.85;
    position: relative;
    z-index: 1;
}

/* 设置按钮 */
.settings-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
    z-index: 10;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    will-change: transform;
}

.settings-btn:hover {
    background: var(--glass-hover);
    transform: rotate(90deg) scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.settings-btn svg {
    width: 24px;
    height: 24px;
}

/* 动画 */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 焦点模式 - 简化效果 */
.focus-mode .time-section,
.focus-mode .shortcuts {
    filter: blur(6px) brightness(0.7);
    opacity: 0.5;
    transform: scale(0.98);
    transition: all 0.4s ease;
}

/* 响应式 */
@media (max-width: 900px) {
    .shortcuts {
        grid-template-columns: repeat(4, 1fr);
        max-width: 600px;
        gap: 14px;
    }
}

@media (max-width: 600px) {
    .container {
        gap: 35px;
        padding: 60px 15px 30px;
    }

    .time {
        font-size: 3rem;
    }

    .date {
        font-size: 0.8rem;
        margin-top: 10px;
    }

    .greeting {
        font-size: 0.9rem;
        margin-top: 6px;
    }

    .shortcuts {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .shortcut {
        padding: 10px 6px;
        border-radius: 14px;
    }

    .shortcut-icon {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .shortcut-icon svg {
        width: 16px;
        height: 16px;
    }

    .engine-selector {
        gap: 8px;
    }

    .engine-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .settings-btn {
        width: 48px;
        height: 48px;
        border-radius: 16px;
        bottom: 20px;
        right: 20px;
    }
}

/* 快捷键提示 */
.shortcut-hint {
    position: fixed;
    bottom: 30px;
    left: 30px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.5;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.shortcut-hint kbd {
    background: var(--glass-bg);
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid var(--glass-border);
    font-family: inherit;
    margin: 0 2px;
}

@media (max-width: 600px) {
    .shortcut-hint {
        display: none;
    }
}

/* ICP 备案 */
.icp-footer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.icp-footer a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.75rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    padding: 6px 12px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.icp-footer a:hover {
    opacity: 0.9;
    background: var(--glass-hover);
}

.icp-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

@media (max-width: 600px) {
    .icp-footer {
        bottom: 15px;
    }
    
    .icp-footer a {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
    
    .icp-icon {
        width: 14px;
        height: 14px;
    }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
