/* ===== PC适配 ===== */
@media (min-width: 768px) {
    body { background: #080812; }
    [data-theme="light"] body { background: #e6e6ea; }
    .app-shell {
        max-width: 440px;
        margin: 0 auto;
        background: var(--bg-primary);
        min-height: 100vh;
        position: relative;
        box-shadow: 0 0 80px rgba(0,0,0,0.5);
    }
}

::-webkit-scrollbar { width: 3px; height: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 2px; }

/* QQ登录按钮 */
.qq-login-btn {
    background: linear-gradient(135deg, #12b7f5, #0d9de6) !important;
    color: #fff !important;
    font-weight: 600;
    letter-spacing: 1px;
}
.qq-login-btn:active {
    background: linear-gradient(135deg, #0d9de6, #0a87cc) !important;
}

/* 分割线 */
.divider-line {
    display: flex;
    align-items: center;
    margin: 16px 0;
    color: var(--text-dim);
    font-size: 0.78em;
}
.divider-line::before, .divider-line::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* 文件预览（发帖） */
.newpost-files {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}
.file-preview-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--bg-elevated);
    border-radius: 12px;
    border: 1px solid var(--border);
}
.file-preview-item .file-icon { font-size: 1.3em; flex-shrink: 0; }
.file-preview-item .file-info { flex: 1; min-width: 0; }
.file-preview-item .file-name {
    font-size: 0.86em;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.file-preview-item .file-size { font-size: 0.74em; color: var(--text-dim); }
.file-preview-item .file-remove {
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--bg-hover); color: var(--text-dim);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; cursor: pointer; flex-shrink: 0;
}
.file-preview-item .file-remove:active { background: #ff4d4f33; color: #ff4d4f; }

/* 帖子详情附件 */
.detail-files {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}
.detail-file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--bg-elevated);
    border-radius: 12px;
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}
.detail-file-item:active { transform: scale(0.98); background: var(--bg-hover); }
.detail-file-item > span:first-child { font-size: 1.3em; flex-shrink: 0; }
.detail-file-item > span:last-child { color: var(--accent); font-size: 1.1em; flex-shrink: 0; }
.dfi-info { flex: 1; min-width: 0; }
.dfi-name {
    font-size: 0.88em;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dfi-size { font-size: 0.74em; color: var(--text-dim); margin-top: 2px; }

