/* ========================================
   MOOBC 导航页 — 大厂风格 Mobile-First
   干净白底 + 克制用色，游戏区保留活力
   ======================================== */

/* --- Reset & Base --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f5f5f7;
    min-height: 100vh;
    -webkit-tap-highlight-color: transparent;
    color: #1d1d1f;
}

/* --- 顶部导航 --- */
.header {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: saturate(180%) blur(20px);
    padding: 0 20px;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 14px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.moobc-logo {
    display: flex;
    cursor: pointer;
    padding: 3px 6px;
    flex-shrink: 0;
}

.moobc-letter {
    font-size: 20px;
    font-weight: 900;
    margin: 0 0.5px;
    font-family: 'Arial Black', sans-serif;
}

.moobc-letter:nth-child(1) { color: #FF3B30; }
.moobc-letter:nth-child(2) { color: #FF9500; }
.moobc-letter:nth-child(3) { color: #FFCC00; }
.moobc-letter:nth-child(4) { color: #34C759; }
.moobc-letter:nth-child(5) { color: #007AFF; }

/* --- 专区切换标签 --- */
.zone-tabs {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
    background: #f0f0f3;
    border-radius: 10px;
    padding: 4px;
}

.zone-tab {
    color: #86868b;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.zone-tab:hover {
    color: #1d1d1f;
}

.zone-tab.active {
    color: #1d1d1f;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.search-container {
    flex: 1;
    min-width: 0;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 7px 32px 7px 12px;
    border: none;
    border-radius: 8px;
    background: #f0f0f3;
    color: #1d1d1f;
    font-size: 13px;
    outline: none;
    transition: background 0.2s;
}

.search-input::placeholder { color: #aeaeb2; }
.search-input:focus { background: #e8e8ed; }

.search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    color: #aeaeb2;
    pointer-events: none;
}

.about-menu { display: flex; gap: 8px; flex-shrink: 0; }

.about-link {
    color: #007AFF;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    padding: 4px 6px;
    border-radius: 4px;
    transition: opacity 0.2s;
}

.about-link:hover { opacity: 0.7; }

/* --- User Badge --- */
.user-badge{
    margin-left:auto;display:flex;align-items:center;gap:6px;
    padding:4px 12px;background:#f5f5f7;border-radius:20px;
    flex-shrink:0;animation:fadeInBadge .5s ease;
}
.user-avatar{font-size:14px;line-height:1;}
.user-name{font-size:12px;color:#3d3d3d;font-weight:500;white-space:nowrap;max-width:180px;overflow:hidden;text-overflow:ellipsis;}
@keyframes fadeInBadge{from{opacity:0;transform:translateY(-4px);}to{opacity:1;transform:translateY(0);}}

/* --- 主容器 --- */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 16px;
}

.title {
    color: #1d1d1f;
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.subtitle {
    color: #86868b;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 28px;
}

/* --- 精选推荐区（游戏专区保留活力色彩） --- */
.featured-game {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 28px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-game:active { transform: scale(0.98); }

.featured-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.featured-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 16px;
}

.featured-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    flex-shrink: 0;
}

.featured-icon-wrap img { width: 100%; height: 100%; object-fit: cover; }

.featured-info { flex: 1; min-width: 0; }

.featured-label {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 10px;
    margin-bottom: 4px;
}

.featured-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px 0;
}

.featured-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.highlight-tag {
    background: rgba(255,255,255,0.18);
    color: #fff;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.78rem;
    white-space: nowrap;
}

.cta-btn {
    display: inline-block;
    background: #fff;
    color: #667eea;
    padding: 8px 22px;
    border-radius: 20px;
    font-size: 0.92rem;
    font-weight: 600;
}

/* --- 全部应用区域 --- */
.all-apps-section { margin-bottom: 30px; }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 10px;
}

.section-title {
    font-size: 1.1rem;
    color: #1d1d1f;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-weight: 700;
}

.title-icon { font-size: 1.1rem; }

.title-decoration {
    font-size: 0.82rem;
    color: #86868b;
    font-weight: normal;
}

.filter-buttons { display: flex; gap: 4px; }

.filter-btn {
    padding: 6px 14px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #86868b;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
}

.filter-btn:hover { color: #1d1d1f; }

.filter-btn.active {
    background: #1d1d1f;
    color: #fff;
}

/* --- 应用列表 --- */
.apps-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.app-list-item {
    background: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.app-list-item:active { transform: scale(0.98); }

.rank-number {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    font-weight: 700;
    color: #86868b;
    background: #f5f5f7;
    flex-shrink: 0;
}

.rank-number.gold { background: #FFF3CD; color: #B8860B; }
.rank-number.silver { background: #f0f0f3; color: #6c6c70; }
.rank-number.bronze { background: #FDEBD0; color: #A0522D; }
.rank-number.featured { background: #667eea; color: #fff; font-size: 0.85rem; }

.app-list-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f5f7;
}

.app-list-icon img { width: 100%; height: 100%; object-fit: cover; }

.app-list-content { flex: 1; min-width: 0; }

.app-list-title {
    font-size: 1.02rem;
    color: #1d1d1f;
    font-weight: 600;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-list-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.app-badge {
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
}

.app-badge.hot { background: #FF3B30; }
.app-badge.new { background: #007AFF; }
.app-badge.game { background: #AF52DE; }
.app-badge.vip { background: #FF9500; }

.app-rating {
    font-size: 0.85rem;
    color: #FF9500;
    font-weight: 600;
}

.app-clicks {
    font-size: 0.82rem;
    color: #6c6c70;
    font-weight: 500;
}

.app-list-desc {
    font-size: 0.88rem;
    color: #6c6c70;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.app-list-arrow {
    font-size: 1.2rem;
    color: #d1d1d6;
    flex-shrink: 0;
    font-weight: 300;
}

/* --- 页脚 --- */
.footer {
    color: #aeaeb2;
    font-size: 0.85rem;
    margin-top: 24px;
}

.footer-content {
    background: #fff;
    border-radius: 14px;
    padding: 20px 18px;
    text-align: center;
    line-height: 1.8;
    border: 1px solid rgba(0,0,0,0.04);
}

.footer-content p { margin: 4px 0; }
.copyright { font-weight: 500; color: #86868b; }

.icp-info a,
.police-info a {
    color: #007AFF;
    text-decoration: none;
}

.police-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 3px 0;
}

.police-icon { width: 14px; height: 14px; }
.contact-info { font-size: 0.82rem; color: #aeaeb2; }

.stats-info {
    margin-top: 6px;
    font-size: 0.82rem;
    color: #aeaeb2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.stats-separator { color: #d1d1d6; }

/* --- 模态框 --- */
.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal {
    background: #fff;
    border-radius: 14px;
    width: 100%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    position: relative;
}

.modal-content { padding: 24px 18px; }

.modal-content h2 {
    color: #1d1d1f;
    font-size: 1.2rem;
    margin-bottom: 16px;
    text-align: center;
    font-weight: 700;
}

.modal-content h3 {
    color: #1d1d1f;
    font-size: 0.95rem;
    margin-top: 16px;
    margin-bottom: 8px;
    font-weight: 600;
}

.modal-content p {
    color: #6c6c70;
    line-height: 1.7;
    margin: 6px 0;
    font-size: 0.85rem;
}

.modal-content ul {
    color: #6c6c70;
    line-height: 1.7;
    margin: 6px 0;
    padding-left: 24px;
    font-size: 0.85rem;
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 24px;
    color: #aeaeb2;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.close-btn:hover { color: #1d1d1f; }

.about-info { text-align: left; }
.donation-info { text-align: center; }

.donation-info img {
    max-width: 240px;
    width: 100%;
    margin: 16px auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.scan-tip { font-size: 0.85rem; color: #aeaeb2; }

.donate-btn {
    background: #007AFF;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    margin-top: 12px;
    transition: opacity 0.2s;
}

.donate-btn:hover { opacity: 0.85; }

/* ========================================
   小屏手机适配 (max-width: 480px)
   ======================================== */
@media (max-width: 480px) {
    .header {
        padding: 0 10px;
        height: 48px;
        gap: 8px;
    }

    .moobc-letter { font-size: 16px; }
    .zone-tabs { padding: 3px; }
    .zone-tab { font-size: 12px; padding: 4px 10px; }
    .about-link { font-size: 13px; padding: 3px 4px; }

    .container { padding: 14px 12px; }
    .title { font-size: 1.3rem; margin-bottom: 4px; }

    /* 精选推荐 */
    .featured-game { border-radius: 12px; margin-bottom: 20px; }
    .featured-content { padding: 14px 12px; gap: 10px; }
    .featured-icon-wrap { width: 50px; height: 50px; border-radius: 10px; }
    .featured-label { font-size: 0.7rem; padding: 2px 8px; }
    .featured-title { font-size: 1rem; margin-bottom: 4px; }
    .featured-desc { font-size: 0.82rem; margin-bottom: 8px; }
    .highlight-tag { font-size: 0.7rem; padding: 2px 8px; }
    .cta-btn { padding: 6px 16px; font-size: 0.82rem; }

    /* 应用列表 */
    .section-header { margin-bottom: 10px; }
    .section-title { font-size: 1rem; }
    .title-decoration { font-size: 0.75rem; }
    .filter-btn { font-size: 0.8rem; padding: 5px 10px; }

    .apps-list { gap: 6px; }
    .app-list-item { padding: 10px 12px; gap: 10px; border-radius: 10px; }
    .rank-number { width: 26px; height: 26px; font-size: 0.78rem; }
    .app-list-icon { width: 44px; height: 44px; border-radius: 10px; }
    .app-list-title { font-size: 0.92rem; }
    .app-badge { font-size: 0.68rem; padding: 1px 8px; }
    .app-rating { font-size: 0.78rem; }
    .app-clicks { font-size: 0.75rem; }
    .app-list-desc { font-size: 0.8rem; }
    .app-list-arrow { font-size: 1.1rem; }

    /* 页脚 */
    .footer { font-size: 0.78rem; margin-top: 16px; }
    .footer-content { padding: 14px 12px; border-radius: 10px; }

    /* 弹幕 */
    .danmaku-item { font-size: 13px; padding: 4px 12px; }

    /* 浮动按钮 */
    .contact-float { width: 44px; height: 44px; font-size: 20px; }
    .contact-modal { max-width: calc(100vw - 32px); }

    /* 模态框 */
    .modal { max-width: calc(100vw - 32px); }
    .modal-content { padding: 18px 14px; }
    .modal-content h2 { font-size: 1.1rem; }
    .modal-content h3 { font-size: 0.88rem; }
    .modal-content p, .modal-content ul { font-size: 0.8rem; }
}

/* 极小屏幕 (max-width: 360px) */
@media (max-width: 360px) {
    .header { padding: 0 8px; gap: 6px; }
    .moobc-letter { font-size: 14px; }
    .zone-tab { font-size: 11px; padding: 3px 8px; }
    .about-link { font-size: 12px; }

    .container { padding: 10px 8px; }
    .title { font-size: 1.15rem; }

    .featured-content { padding: 12px 10px; gap: 8px; }
    .featured-icon-wrap { width: 44px; height: 44px; }
    .featured-title { font-size: 0.92rem; }
    .featured-desc { font-size: 0.78rem; }

    .app-list-item { padding: 8px 10px; gap: 8px; }
    .app-list-icon { width: 38px; height: 38px; }
    .app-list-title { font-size: 0.85rem; }
    .app-list-desc { font-size: 0.75rem; }
}

/* ========================================
   桌面端增强 (min-width: 768px)
   ======================================== */
@media (min-width: 768px) {
    .header {
        padding: 0 28px;
        height: 60px;
        gap: 18px;
    }

    .moobc-letter { font-size: 24px; margin: 0 1px; }
    .zone-tab { font-size: 17px; padding: 7px 20px; }

    .search-input {
        padding: 8px 36px 8px 14px;
        font-size: 15px;
    }

    .about-link { font-size: 16px; }

    .container { padding: 28px 20px; }

    .title { font-size: 2rem; margin-bottom: 8px; }
    .subtitle { font-size: 1.1rem; margin-bottom: 32px; }

    /* 精选推荐 - 桌面 */
    .featured-game {
        border-radius: 18px;
        margin-bottom: 36px;
    }

    .featured-game:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    }

    .featured-content {
        gap: 24px;
        padding: 28px 32px;
    }

    .featured-icon-wrap {
        width: 88px;
        height: 88px;
        border-radius: 20px;
    }

    .featured-game:hover .featured-icon-wrap {
        transform: scale(1.03);
    }

    .featured-label { font-size: 0.85rem; padding: 3px 12px; }
    .featured-title { font-size: 1.5rem; margin-bottom: 8px; }

    .featured-desc {
        font-size: 1rem;
        -webkit-line-clamp: 3;
        margin-bottom: 14px;
    }

    .highlight-tag { font-size: 0.85rem; padding: 4px 12px; }
    .cta-btn { padding: 10px 26px; font-size: 1rem; }

    /* 应用列表 - 桌面 */
    .section-header { margin-bottom: 16px; }
    .section-title { font-size: 1.3rem; gap: 8px; }
    .title-decoration { font-size: 0.9rem; }

    .filter-btn {
        padding: 7px 18px;
        font-size: 0.95rem;
        border-radius: 8px;
    }

    .apps-list { gap: 10px; }

    .app-list-item {
        padding: 16px 20px;
        border-radius: 16px;
        gap: 16px;
    }

    .app-list-item:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    }

    .rank-number { width: 36px; height: 36px; font-size: 1rem; border-radius: 10px; }

    .app-list-icon {
        width: 60px;
        height: 60px;
        border-radius: 14px;
    }

    .app-list-title { font-size: 1.15rem; }
    .app-list-meta { gap: 10px; }
    .app-badge { padding: 3px 12px; font-size: 0.82rem; }
    .app-rating { font-size: 0.92rem; }
    .app-clicks { font-size: 0.88rem; }

    .app-list-desc {
        font-size: 0.95rem;
        -webkit-line-clamp: 2;
        color: #6c6c70;
    }

    .app-list-arrow { font-size: 1.5rem; }

    /* 页脚 - 桌面 */
    .footer { font-size: 0.92rem; }
    .footer-content { padding: 24px; border-radius: 16px; }

    /* 模态框 - 桌面 */
    .modal { max-width: 520px; border-radius: 16px; }
    .modal-content { padding: 28px 24px; }
    .modal-content h2 { font-size: 1.5rem; }
}

/* ========================================
   大桌面增强 (min-width: 1024px)
   ======================================== */
@media (min-width: 1024px) {
    .header { padding: 0 32px; height: 64px; }
    .moobc-letter { font-size: 26px; }
    .container { padding: 36px 24px; }
    .title { font-size: 2.2rem; }
    .subtitle { font-size: 1.15rem; margin-bottom: 36px; }

    .featured-content { padding: 32px 40px; gap: 28px; }
    .featured-icon-wrap { width: 96px; height: 96px; }
    .featured-title { font-size: 1.6rem; }
    .featured-desc { font-size: 1.05rem; }

    .app-list-item { padding: 18px 24px; }
    .app-list-icon { width: 64px; height: 64px; }
    .app-list-title { font-size: 1.2rem; }
    .app-list-desc { font-size: 1rem; color: #6c6c70; }
}

/* ========================================
   浮动联系按钮 + 留言弹窗 + 滚动留言
   ======================================== */

/* --- 浮动按钮 --- */
.contact-float {
    position: fixed;
    z-index: 500;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
    user-select: none;
    transition: box-shadow 0.2s;
    touch-action: none;
}
.contact-float:hover {
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.55);
}
.contact-float:active { cursor: grabbing; }

/* --- 留言弹窗遮罩 --- */
.contact-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(6px);
    z-index: 1100;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.contact-modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    overflow: hidden;
    animation: contactIn 0.25s ease;
}
@keyframes contactIn { from { opacity: 0; transform: translateY(20px) scale(0.96); } to { opacity: 1; transform: none; } }

.contact-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #f0f0f3;
    font-size: 1rem;
    font-weight: 700;
    color: #1d1d1f;
}

.contact-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #aeaeb2;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}
.contact-close:hover { color: #1d1d1f; }

.contact-modal-body { padding: 18px; }

.contact-hint {
    font-size: 0.82rem;
    color: #86868b;
    margin-bottom: 12px;
}

.contact-textarea {
    width: 100%;
    height: 110px;
    border: 1.5px solid #e5e5ea;
    border-radius: 10px;
    padding: 12px;
    font-size: 0.88rem;
    color: #1d1d1f;
    resize: none;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s;
}
.contact-textarea:focus { border-color: #667eea; }
.contact-textarea::placeholder { color: #c7c7cc; }

.contact-counter {
    text-align: right;
    font-size: 0.72rem;
    color: #aeaeb2;
    margin: 6px 0 12px;
}

.contact-submit {
    width: 100%;
    padding: 11px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}
.contact-submit:hover { opacity: 0.88; }
.contact-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.contact-result {
    text-align: center;
    font-size: 0.8rem;
    margin-top: 10px;
    min-height: 20px;
}
.contact-result.success { color: #34C759; }
.contact-result.error { color: #FF3B30; }

/* --- 弹幕 --- */
.danmaku-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 80;
}

.danmaku-item {
    position: absolute;
    left: 100%;
    white-space: nowrap;
    font-size: 15px;
    color: rgba(0,0,0,0.55);
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(4px);
    padding: 5px 16px;
    border-radius: 20px;
    animation: danmakuFly 12s linear forwards;
    pointer-events: auto;
    cursor: default;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.danmaku-item:hover {
    animation-play-state: paused;
    background: rgba(255,255,255,0.92);
    color: rgba(0,0,0,0.8);
}

.dm-user {
    color: #667eea;
    font-weight: 600;
    margin-right: 2px;
}

@keyframes danmakuFly {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100vw - 100%)); }
}

/* --- 提交成功 Toast --- */
.contact-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(0,0,0,0.78);
    backdrop-filter: blur(12px);
    color: #fff;
    padding: 28px 40px;
    border-radius: 16px;
    text-align: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
}
.contact-toast.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}
.contact-toast-icon { font-size: 40px; margin-bottom: 10px; }
.contact-toast-text { font-size: 0.92rem; font-weight: 600; }
