/*
 * GlassUI Home — 首页样式
 * 液态玻璃风格导航首页
 */

/* ========== 首页容器 ========== */
.home-wrap {
    width: 100%;
    max-width: 360px;
    position: relative;
    z-index: 1;
}

.home-card {
    padding: 32px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* ========== 视频头像 ========== */
.home-logo {
    margin-bottom: 14px;
    position: relative;
    display: flex;
    justify-content: center;
}

.avatar-video-wrap {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 2.5px solid rgba(255,255,255,0.9);
    box-shadow:
        0 0 0 3px rgba(59,110,245,0.12),
        0 6px 24px rgba(59,110,245,0.22),
        0 3px 12px rgba(0,0,0,0.08);
    animation: avatarFloat 3.5s ease-in-out infinite;
    background: linear-gradient(135deg, #eef3ff, #e4edff);
    z-index: 2;
}

.avatar-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

.avatar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    background: radial-gradient(circle, rgba(59,110,245,0.18) 0%, transparent 65%);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
    z-index: 0;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}

/* ========== 访客问候语 ========== */
.visitor-greeting {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.greeting-text {
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.greeting-divider {
    opacity: 0.4;
}

.greeting-city {
    color: var(--text-secondary);
}

/* ========== 渐变文字 ========== */
.gradient-text {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 22px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb, #f5576c, #4facfe, #43e97b);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: gradientShift 5s ease infinite, textFloat 3s ease-in-out infinite;
    font-family: 'DM Sans', -apple-system, sans-serif;
}

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

@keyframes textFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* ========== 按钮组 ========== */
.btn-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 按钮上滑淡入动画 */
.color-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 42px;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    text-decoration: none;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    animation: btnFlash 1.8s ease-in-out infinite, btnSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

/* 按钮错开延迟 */
.color-btn:nth-child(1) { animation-delay: 0s, 0s; }
.color-btn:nth-child(2) { animation-delay: 0.3s, 0.08s; }
.color-btn:nth-child(3) { animation-delay: 0.6s, 0.16s; }
.color-btn:nth-child(4) { animation-delay: 0.9s, 0.24s; }

@keyframes btnSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.color-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* 按钮光扫效果 */
.color-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.6s ease;
    pointer-events: none;
}

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

.color-btn:hover {
    transform: translateY(-2px) scale(1.015);
}

.color-btn:active {
    transform: translateY(-1px) scale(0.99);
}

/* 四种颜色按钮 + 发光阴影 */
.btn-blue {
    background: linear-gradient(135deg, #667eea, #3b6ef5);
    box-shadow:
        0 3px 12px rgba(59,110,245,0.35),
        0 0 16px rgba(59,110,245,0.25),
        inset 0 1px 0 rgba(255,255,255,0.25);
    animation-delay: 0s;
}

.btn-purple {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    box-shadow:
        0 3px 12px rgba(139,92,246,0.35),
        0 0 16px rgba(139,92,246,0.25),
        inset 0 1px 0 rgba(255,255,255,0.25);
    animation-delay: 0.4s;
}

.btn-pink {
    background: linear-gradient(135deg, #f472b6, #db2777);
    box-shadow:
        0 3px 12px rgba(236,72,153,0.35),
        0 0 16px rgba(236,72,153,0.25),
        inset 0 1px 0 rgba(255,255,255,0.25);
    animation-delay: 0.8s;
}

.btn-green {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow:
        0 3px 12px rgba(34,197,94,0.35),
        0 0 16px rgba(34,197,94,0.25),
        inset 0 1px 0 rgba(255,255,255,0.25);
    animation-delay: 1.2s;
}

/* 按钮闪烁动画 */
@keyframes btnFlash {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

/* 按钮锁图标（真实加密锁SVG） */
.btn-lock-icon {
    width: 13px !important;
    height: 13px !important;
    margin-left: 3px;
    opacity: 0.95;
    color: rgba(255,255,255,0.9);
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

/* ========== 公告弹窗 ========== */
.ann-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.ann-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.ann-modal {
    width: 100%;
    max-width: 380px;
    background: var(--glass-bg);
    backdrop-filter: blur(40px) saturate(1.6);
    -webkit-backdrop-filter: blur(40px) saturate(1.6);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow:
        0 0 0 1px var(--glass-stroke),
        0 20px 60px rgba(0,0,0,0.15),
        0 8px 32px rgba(77,120,255,0.06);
    padding: 0;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.ann-modal-overlay.show .ann-modal {
    transform: scale(1) translateY(0);
}

/* 真实金色官方公告徽章 */
.ann-official-badge {
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 18px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #5a3e00;
    background: linear-gradient(135deg, #fff3a0 0%, #ffd700 20%, #ffaa00 50%, #ff8c00 70%, #ffc933 90%, #fff3a0 100%);
    background-size: 200% 200%;
    border-radius: 0 0 12px 12px;
    box-shadow:
        0 3px 12px rgba(255,170,0,0.45),
        0 1px 6px rgba(255,140,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.6),
        inset 0 -2px 4px rgba(180,120,0,0.2);
    border: 1px solid rgba(255,215,0,0.6);
    border-top: none;
    text-shadow: 0 1px 1px rgba(255,255,255,0.4);
    animation: goldShimmer 2s ease-in-out infinite, goldFlash 2.5s ease-in-out infinite;
    z-index: 5;
}

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

@keyframes goldFlash {
    0%, 100% {
        box-shadow:
            0 3px 12px rgba(255,170,0,0.45),
            0 1px 6px rgba(255,140,0,0.3),
            inset 0 1px 0 rgba(255,255,255,0.6),
            inset 0 -2px 4px rgba(180,120,0,0.2);
    }
    50% {
        box-shadow:
            0 5px 24px rgba(255,200,0,0.8),
            0 2px 10px rgba(255,160,0,0.45),
            inset 0 1px 0 rgba(255,255,255,0.8),
            inset 0 -2px 4px rgba(180,120,0,0.2);
    }
}

.ann-modal-header {
    padding: 28px 20px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(77,120,255,0.08);
}

.ann-modal-title {
    flex: 1;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
}

.ann-modal-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.06);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 16px;
    line-height: 1;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 6;
}

.ann-modal-close:hover {
    background: rgba(0,0,0,0.1);
    color: var(--text-primary);
}

.ann-modal-close:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.ann-modal-body {
    padding: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.8;
    max-height: 260px;
    overflow-y: auto;
}

.ann-modal-body strong {
    color: var(--text-primary);
}

.ann-modal-footer {
    padding: 12px 20px 16px;
    border-top: 1px solid rgba(77,120,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ann-countdown {
    font-size: 11.5px;
    color: var(--text-muted);
}

.ann-countdown strong {
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
}

.ann-confirm-btn {
    padding: 7px 20px;
    font-size: 12.5px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 3px 10px rgba(59,110,245,0.28);
}

.ann-confirm-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(59,110,245,0.32);
}

.ann-confirm-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ========== 页脚 ========== */
.home-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 10.5px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    opacity: 0.7;
}

/* ========== 特效画布 ========== */
#fx-canvas {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
}

/* ========== 点击特效 ========== */
.click-text {
    position: fixed;
    font-size: 14px;
    font-weight: 700;
    pointer-events: none;
    z-index: 9999;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    animation: clickTextUp 1s ease-out forwards;
}

@keyframes clickTextUp {
    0% { opacity: 1; transform: translate(-50%, -50%) scale(0.6); }
    30% { opacity: 1; transform: translate(-50%, -80%) scale(1.15); }
    100% { opacity: 0; transform: translate(-50%, -140%) scale(1); }
}

.click-particle {
    position: fixed;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

/* ========== 圆形图标组 ========== */
.circle-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(77,120,255,0.06);
}

.circle-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.circle-icon-img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.9);
    box-shadow:
        0 2px 10px rgba(59,110,245,0.18),
        0 1px 4px rgba(0,0,0,0.06),
        0 0 0 1px rgba(59,110,245,0.08);
    background: #f5f8ff;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.circle-icon-img::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59,110,245,0.12), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.circle-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.circle-icon-item:hover .circle-icon-img {
    transform: translateY(-2px) scale(1.08);
    box-shadow:
        0 5px 16px rgba(59,110,245,0.25),
        0 2px 8px rgba(0,0,0,0.08),
        0 0 0 2px rgba(59,110,245,0.15);
}

.circle-icon-item:hover .circle-icon-img::after {
    opacity: 1;
}

.circle-icon-item:active .circle-icon-img {
    transform: translateY(-1px) scale(1.04);
}

/* ========== 音乐小 Logo ========== */
.music-logo {
    position: fixed;
    top: 16px;
    right: -70px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #3b6ef5);
    box-shadow:
        0 3px 16px rgba(59,110,245,0.35),
        0 2px 6px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    transition: right 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s ease;
}

.music-logo.slide-in {
    right: 16px;
}

.music-logo:hover {
    transform: scale(1.08);
}

.music-logo svg {
    width: 18px;
    height: 18px;
    color: #fff;
}

.music-logo .music-bar {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
}

.music-logo .music-bar span {
    width: 2.5px;
    background: #fff;
    border-radius: 2px;
    animation: musicBar 0.8s ease-in-out infinite;
}

.music-logo .music-bar span:nth-child(1) { height: 55%; animation-delay: 0s; }
.music-logo .music-bar span:nth-child(2) { height: 100%; animation-delay: 0.15s; }
.music-logo .music-bar span:nth-child(3) { height: 70%; animation-delay: 0.3s; }
.music-logo .music-bar span:nth-child(4) { height: 85%; animation-delay: 0.45s; }

@keyframes musicBar {
    0%, 100% { transform: scaleY(0.4); }
    50% { transform: scaleY(1); }
}

.music-logo.paused .music-bar span {
    animation-play-state: paused;
}

.music-logo .music-pause-icon {
    display: none;
}

.music-logo.paused .music-bar {
    display: none;
}

.music-logo.paused .music-pause-icon {
    display: block;
}

/* 音乐音量条 */
.music-volume-panel {
    position: fixed;
    top: 64px;
    right: 16px;
    width: 42px;
    padding: 10px 5px;
    background: var(--glass-bg);
    backdrop-filter: blur(40px) saturate(1.6);
    -webkit-backdrop-filter: blur(40px) saturate(1.6);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    z-index: 10001;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.music-volume-panel.show {
    display: flex;
}

.music-volume-slider {
    -webkit-appearance: slider-vertical;
    writing-mode: bt-lr;
    width: 6px;
    height: 70px;
    cursor: pointer;
}

.music-volume-label {
    font-size: 9.5px;
    color: var(--text-muted);
    font-weight: 600;
}

/* ========== 密码验证弹窗 ========== */
.pwd-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.pwd-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.pwd-modal {
    width: 100%;
    max-width: 320px;
    background: var(--glass-bg);
    backdrop-filter: blur(40px) saturate(1.8);
    -webkit-backdrop-filter: blur(40px) saturate(1.8);
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    box-shadow:
        0 0 0 1px var(--glass-stroke),
        0 24px 60px rgba(0,0,0,0.22),
        0 8px 30px rgba(59,110,245,0.08);
    padding: 24px 20px 16px;
    text-align: center;
    transform: scale(0.9) translateY(18px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pwd-modal-overlay.show .pwd-modal {
    transform: scale(1) translateY(0);
}

/* 加密锁图标（SVG） */
.pwd-modal-icon-wrap {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102,126,234,0.15), rgba(118,75,162,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pwdIconBounce 2.5s ease-in-out infinite;
}

.pwd-modal-icon {
    width: 26px;
    height: 26px;
    color: #667eea;
    filter: drop-shadow(0 2px 6px rgba(102,126,234,0.3));
}

@keyframes pwdIconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.pwd-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.pwd-modal-subtitle {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* 密码圆点 */
.pwd-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
    min-height: 26px;
}

.pwd-dots.shake {
    animation: pwdShake 0.4s ease;
}

@keyframes pwdShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-7px); }
    40% { transform: translateX(7px); }
    60% { transform: translateX(-5px); }
    80% { transform: translateX(5px); }
}

.pwd-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(59,110,245,0.3);
    background: rgba(59,110,245,0.05);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pwd-dot.filled {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
    box-shadow: 0 0 8px rgba(102,126,234,0.45);
    transform: scale(1.1);
}

/* 错误提示 */
.pwd-error {
    font-size: 11.5px;
    color: #ef4444;
    margin-bottom: 12px;
    height: 14px;
    opacity: 0;
    transform: translateY(-3px);
    transition: all 0.2s ease;
}

.pwd-error.show {
    opacity: 1;
    transform: translateY(0);
}

/* 数字键盘 */
.pwd-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.pwd-key {
    height: 44px;
    border: none;
    border-radius: 12px;
    background: rgba(255,255,255,0.5);
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: 'DM Sans', -apple-system, sans-serif;
}

.pwd-key:hover:not(:disabled) {
    background: rgba(255,255,255,0.8);
    transform: scale(1.04);
}

.pwd-key:active:not(:disabled) {
    transform: scale(0.95);
    background: rgba(255,255,255,0.6);
}

.pwd-key-empty {
    background: transparent;
    cursor: default;
    pointer-events: none;
}

.pwd-key-delete {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pwd-key-delete svg {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
}

.pwd-close {
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: rgba(0,0,0,0.05);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pwd-close:hover {
    background: rgba(0,0,0,0.08);
    color: var(--text-primary);
}

/* ========== 图案密码 ========== */
.pattern-lock-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

#patternLockCanvas {
    width: 200px;
    height: 200px;
    touch-action: none;
    cursor: crosshair;
}

#patternLockCanvas.shake {
    animation: pwdShake 0.4s ease;
}

.pattern-hint {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-bottom: 12px;
    height: 14px;
    transition: color 0.2s ease;
}

/* ========== 电脑端布局优化 ========== */
body.device-desktop .home-wrap {
    max-width: 400px;
}

body.device-desktop .home-card {
    padding: 40px 34px;
}

body.device-desktop .avatar-video-wrap {
    width: 92px;
    height: 92px;
}

body.device-desktop .avatar-glow {
    width: 150px;
    height: 150px;
}

body.device-desktop .gradient-text {
    font-size: 44px;
    letter-spacing: 4px;
}

body.device-desktop .color-btn {
    height: 46px;
    font-size: 13.5px;
    border-radius: 15px;
}

body.device-desktop .color-btn svg {
    width: 17px;
    height: 17px;
}

body.device-desktop .circle-icon-img {
    width: 38px;
    height: 38px;
}

body.device-desktop .pwd-modal {
    max-width: 340px;
}

body.device-desktop #patternLockCanvas {
    width: 220px;
    height: 220px;
}

/* ========== 手机端布局优化 ========== */
body.device-mobile .home-wrap {
    max-width: 100%;
    padding: 0 20px;
}

body.device-mobile .home-card {
    padding: 32px 24px;
    border-radius: 26px;
}

body.device-mobile .home-logo {
    margin-bottom: 12px;
}

body.device-mobile .avatar-video-wrap {
    width: 76px;
    height: 76px;
}

body.device-mobile .avatar-glow {
    width: 120px;
    height: 120px;
}

body.device-mobile .visitor-greeting {
    font-size: 11.5px;
    margin-bottom: 5px;
}

body.device-mobile .gradient-text {
    font-size: 34px;
    letter-spacing: 2.5px;
    margin-bottom: 20px;
}

body.device-mobile .btn-group {
    gap: 8px;
}

body.device-mobile .color-btn {
    height: 48px;
    font-size: 14px;
    border-radius: 14px;
}

body.device-mobile .color-btn svg {
    width: 17px;
    height: 17px;
}

body.device-mobile .circle-icons {
    gap: 12px;
    margin-top: 14px;
    padding-top: 12px;
}

body.device-mobile .circle-icon-img {
    width: 40px;
    height: 40px;
}

body.device-mobile .home-footer {
    font-size: 10px;
    margin-top: 14px;
}

body.device-mobile .music-logo {
    width: 40px;
    height: 40px;
    top: 14px;
}

body.device-mobile .music-logo.slide-in {
    right: 14px;
}

body.device-mobile .music-volume-panel {
    top: 60px;
    right: 14px;
}

/* 手机端密码键盘更大 */
body.device-mobile .pwd-modal {
    max-width: 340px;
    padding: 28px 22px 18px;
}

body.device-mobile .pwd-key {
    height: 52px;
    font-size: 20px;
    border-radius: 14px;
}

body.device-mobile .pwd-dot {
    width: 14px;
    height: 14px;
}

body.device-mobile #patternLockCanvas {
    width: 230px;
    height: 230px;
}

/* 手机端公告弹窗 */
body.device-mobile .ann-modal {
    max-width: 100%;
    border-radius: 22px;
}

body.device-mobile .ann-modal-body {
    max-height: 45vh;
}

/* 防止移动端点击高亮 */
@media (max-width: 768px) {
    .color-btn,
    .circle-icon-item,
    .pwd-key,
    .music-logo {
        -webkit-tap-highlight-color: transparent;
    }
}
