/* ===== 校园记者选题管理系统 - 样式表 ===== */
:root {
    --primary: #1a5276;
    --primary-light: #2980b9;
    --primary-bg: #eaf2f8;
    --accent: #e74c3c;
    --success: #27ae60;
    --warning: #f39c12;
    --info: #3498db;
    --gray-50: #f8f9fa;
    --gray-100: #ecf0f1;
    --gray-200: #bdc3c7;
    --gray-300: #95a5a6;
    --gray-500: #7f8c8d;
    --gray-700: #34495e;
    --gray-900: #2c3e50;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.12);
}

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

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--gray-50);
    color: var(--gray-900);
    line-height: 1.6;
    min-height: 100vh;
}

/* ===== 导航栏 ===== */
.navbar {
    background: linear-gradient(135deg, var(--primary) 0%, #1a6b5a 100%);
    color: white;
    display: flex;
    align-items: center;
    padding: 0 24px;
    height: 56px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    margin-right: 40px;
}
.nav-logo { font-size: 22px; }
.nav-links { display: flex; gap: 4px; flex: 1; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.nav-links a:hover, .nav-links a.active {
    background: rgba(255,255,255,0.15);
    color: white;
}
.nav-user { display: flex; align-items: center; gap: 12px; font-size: 13px; flex-shrink: 0; }
.user-info { opacity: 0.9; }
.btn-logout {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 13px;
    padding: 4px 10px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    transition: all 0.2s;
}
.btn-logout:hover { background: rgba(255,255,255,0.15); color: white; }

/* ===== 容器 ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 24px; }

/* ===== 登录页 ===== */
.login-page {
    min-height: calc(100vh - 56px - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.login-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
    padding: 32px 24px;
}
.login-header { text-align: center; margin-bottom: 28px; }
.login-header h1 { font-size: 24px; color: var(--primary); margin-bottom: 4px; }
.login-header h2 { font-size: 16px; color: var(--gray-700); font-weight: 500; margin-bottom: 4px; }
.login-header p { color: var(--gray-500); font-size: 13px; }

/* ===== 表单通用 ===== */
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
    background: white;
    -webkit-appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(41,128,185,0.1);
}
.form-group textarea { resize: vertical; }
.required { color: var(--accent); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.full-width { grid-column: 1 / -1; }

.checkbox-group { display: flex; flex-wrap: wrap; gap: 10px; }
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    cursor: pointer;
    font-weight: 400;
}
.checkbox-item input[type="checkbox"] { width: 16px; height: 16px; flex-shrink: 0; }

/* ===== 按钮 ===== */
.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}
.btn-primary:hover { background: var(--primary-light); }
.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}
.btn-secondary:hover { background: var(--gray-200); }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-large { padding: 12px 32px; font-size: 16px; }
.btn-sm { padding: 5px 12px; font-size: 12px; border-radius: 4px; }

/* ===== 选题表单 ===== */
.submit-form { background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-section { padding: 20px; border-bottom: 1px solid var(--gray-100); }
.form-section:last-of-type { border-bottom: none; }
.form-section h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-bg);
}
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.form-actions { padding: 20px; display: flex; gap: 16px; justify-content: center; background: var(--gray-50); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

/* ===== 统计卡片 ===== */
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 3px solid var(--primary);
}
.stat-card.stat-pending { border-top-color: var(--warning); }
.stat-card.stat-approved { border-top-color: var(--success); }
.stat-card.stat-revising { border-top-color: var(--info); }
.stat-number { font-size: 32px; font-weight: 700; color: var(--primary); line-height: 1.2; }
.stat-card.stat-pending .stat-number { color: var(--warning); }
.stat-card.stat-approved .stat-number { color: var(--success); }
.stat-card.stat-revising .stat-number { color: var(--info); }
.stat-label { font-size: 12px; color: var(--gray-500); margin-top: 4px; }

/* ===== 仪表盘 ===== */
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.dash-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow);
}
.dash-card h3 { font-size: 15px; margin-bottom: 14px; color: var(--gray-700); }

.bar-chart { display: flex; flex-direction: column; gap: 8px; }
.bar-row { display: flex; align-items: center; gap: 8px; }
.bar-label { width: 72px; font-size: 12px; text-align: right; color: var(--gray-700); flex-shrink: 0; }
.bar-track { flex: 1; height: 18px; background: var(--gray-100); border-radius: 9px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 9px; transition: width 0.5s ease; min-width: 2px; }
.status-待审核 { background: var(--warning); }
.status-已通过 { background: var(--success); }
.status-修改后执行 { background: var(--info); }
.status-暂缓 { background: var(--gray-300); }
.status-不采纳 { background: var(--accent); }
.status-已认领 { background: #8e44ad; }
.status-待认领 { background: #16a085; }
.dept-bar { background: var(--primary-light); }
.bar-value { width: 28px; font-size: 13px; font-weight: 600; color: var(--gray-700); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-item {
    background: var(--primary-bg);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 13px;
}

.recent-list { display: flex; flex-direction: column; gap: 8px; }
.recent-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--gray-50);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--gray-700);
    transition: background 0.2s;
}
.recent-item:hover { background: var(--primary-bg); }
.recent-title { flex: 1; font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-meta { font-size: 11px; color: var(--gray-500); flex-shrink: 0; }

/* ===== 快捷操作 ===== */
.quick-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.action-btn {
    padding: 14px 28px;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: var(--shadow);
}
.action-submit { background: var(--primary); color: white; }
.action-submit:hover { background: var(--primary-light); }
.action-track { background: white; color: var(--primary); border: 2px solid var(--primary); }
.action-track:hover { background: var(--primary-bg); }
.action-my { background: var(--success); color: white; }
.action-my:hover { background: #219a52; }

/* ===== 状态徽章 ===== */
.status-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}
.status-待审核 { background: #fef3e2; color: #b7791f; }
.status-已通过 { background: #e6f7ed; color: #1a7f37; }
.status-修改后执行 { background: #e3f2fd; color: #1565c0; }
.status-暂缓 { background: #f0f0f0; color: #666; }
.status-不采纳 { background: #fde8e8; color: #c53030; }
.status-已认领 { background: #f3e8ff; color: #7c3aed; }
.status-待认领 { background: #e6faf5; color: #0d9373; }
.status-已完成 { background: #e6f7ed; color: #1a7f37; }
.urgency-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    background: #fde8e8;
    color: var(--accent);
}

/* ===== 表格 ===== */
.topics-table-wrap {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.topics-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 600px;
}
.topics-table th {
    background: var(--primary);
    color: white;
    padding: 10px 14px;
    text-align: left;
    font-weight: 500;
    white-space: nowrap;
}
.topics-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--gray-100);
}
.topics-table tr:hover td { background: var(--primary-bg); }
.topics-table a { color: var(--primary); text-decoration: none; font-weight: 500; }
.topics-table a:hover { text-decoration: underline; }

/* ===== 筛选栏 ===== */
.filter-bar {
    background: white;
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    box-shadow: var(--shadow);
    margin-bottom: 16px;
}
.filter-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.filter-input, .filter-select {
    padding: 8px 12px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
}
.filter-input { width: 240px; }
.filter-select { width: 130px; }

/* ===== 详情页 ===== */
.detail-page { max-width: 1200px; margin: 0 auto; }
.back-link { color: var(--primary); text-decoration: none; font-size: 14px; }
.back-link:hover { text-decoration: underline; }

.detail-header { margin: 16px 0; }
.detail-header h2 { font-size: 20px; color: var(--gray-900); margin-bottom: 8px; word-break: break-word; }
.detail-meta { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--gray-500); flex-wrap: wrap; }

.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 20px; }
.detail-main { min-width: 0; }
.detail-side { display: flex; flex-direction: column; gap: 16px; }

.detail-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow);
    margin-bottom: 16px;
}
.detail-section h3 {
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--gray-100);
}

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.info-item { margin-bottom: 8px; word-break: break-word; }
.info-item label { display: block; font-size: 12px; color: var(--gray-500); margin-bottom: 2px; }
.info-item span, .info-item p { font-size: 14px; color: var(--gray-900); }
.info-block .info-item { margin-bottom: 12px; }
.info-block .info-item p { white-space: pre-wrap; line-height: 1.7; }

.section-review { border-left: 3px solid var(--success); }

/* ===== 分享按钮 ===== */
.share-bar {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 13px;
    cursor: pointer;
    background: white;
    color: var(--gray-700);
    transition: all 0.2s;
    font-family: inherit;
}
.share-btn:hover { background: var(--primary-bg); border-color: var(--primary-light); color: var(--primary); }
.share-btn-wechat { background: #07c160; color: white; border-color: #07c160; }
.share-btn-wechat:hover { background: #06ad56; }
.share-btn-copy { background: var(--primary); color: white; border-color: var(--primary); }
.share-btn-copy:hover { background: var(--primary-light); }
.share-tip {
    font-size: 12px;
    color: var(--success);
    display: none;
}

/* ===== 审批卡片 ===== */
.side-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow);
}
.side-card h3 { font-size: 15px; margin-bottom: 12px; color: var(--gray-700); }

.review-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.btn-approve, .btn-revise, .btn-hold, .btn-reject {
    padding: 8px;
    border: none;
    border-radius: var(--radius);
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: opacity 0.2s;
}
.btn-approve { background: #e6f7ed; color: #1a7f37; }
.btn-revise { background: #e3f2fd; color: #1565c0; }
.btn-hold { background: #f0f0f0; color: #666; }
.btn-reject { background: #fde8e8; color: #c53030; }
.btn-approve:hover, .btn-revise:hover, .btn-hold:hover, .btn-reject:hover { opacity: 0.8; }

/* ===== 反馈 ===== */
.feedback-list { max-height: 400px; overflow-y: auto; margin-bottom: 12px; }
.feedback-item {
    padding: 10px;
    border-bottom: 1px solid var(--gray-100);
}
.feedback-item:last-child { border-bottom: none; }
.fb-header { display: flex; justify-content: space-between; margin-bottom: 4px; }
.fb-author { font-size: 13px; font-weight: 600; color: var(--primary); }
.fb-time { font-size: 11px; color: var(--gray-300); }
.fb-content { font-size: 13px; color: var(--gray-700); white-space: pre-wrap; }
.feedback-form { display: flex; gap: 8px; align-items: flex-end; }
.feedback-form textarea {
    flex: 1;
    padding: 8px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 13px;
    font-family: inherit;
    resize: none;
}

/* ===== 空状态 ===== */
.empty-state { text-align: center; padding: 60px 20px; color: var(--gray-500); }
.empty-state p { margin-bottom: 16px; }
.empty-hint { color: var(--gray-500); font-size: 13px; }

/* ===== 提示消息 ===== */
.flash-messages { margin-bottom: 16px; }
.flash {
    padding: 10px 16px;
    border-radius: var(--radius);
    margin-bottom: 8px;
    font-size: 14px;
}
.flash-success { background: #e6f7ed; color: #1a7f37; border: 1px solid #bfe5cc; }
.flash-error { background: #fde8e8; color: #c53030; border: 1px solid #f5b3b3; }

/* ===== 页脚 ===== */
.footer {
    text-align: center;
    padding: 20px;
    color: var(--gray-500);
    font-size: 12px;
    margin-top: 40px;
}

/* ===== 页面标题 ===== */
.page-title {
    font-size: 20px;
    color: var(--gray-900);
    margin-bottom: 20px;
}

/* ===== 全站水印 ===== */
.watermark-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    background-repeat: repeat;
    overflow: hidden;
}

/* ===== 数据表格（排名/管理） ===== */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th, .data-table td { padding: 10px 12px; text-align: center; border-bottom: 1px solid #e8e8e8; }
.data-table th { background: #f7f8fa; font-weight: 500; text-align: center; }
.data-table td:first-child, .data-table td:nth-child(2) { text-align: left; }

/* ===== Badge & links ===== */
.badge { background: #f56c6c; color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 10px; margin-left: 4px; vertical-align: top; }
.btn-link { color: #409eff; text-decoration: none; font-size: 13px; margin-right: 8px; }
.btn-link:hover { text-decoration: underline; }

/* ===== 协作/进展/交稿 内联样式提取 ===== */
.member-list { display: flex; flex-wrap: wrap; gap: 8px; }
.member-tag { background: #e6effb; color: #409eff; padding: 4px 10px; border-radius: 14px; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
.btn-remove { background: none; border: none; color: #f56c6c; cursor: pointer; font-size: 12px; padding: 0 2px; }
.btn-remove:hover { color: #e04040; }
.progress-timeline { border-left: 3px solid #409eff; padding-left: 16px; }
.progress-item { margin-bottom: 12px; position: relative; }
.progress-item::before { content: ''; position: absolute; left: -21px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: #409eff; }
.progress-time { font-size: 12px; color: #909399; }
.progress-author { font-size: 13px; font-weight: 500; color: #303133; }
.progress-content { font-size: 14px; color: #606266; margin-top: 2px; }
.section-deliver { border: 2px dashed #67c23a; padding: 16px; border-radius: 8px; background: #f9fff5; }
.section-complete { border-left: 4px solid #67c23a; background: #f0f9eb; padding: 16px; border-radius: 0 8px 8px 0; }
.inline-form { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rank-cell { font-size: 16px; text-align: center !important; }
.num-highlight { color: #409eff; font-weight: 700; }
.num-highlight-green { color: #67c23a; font-weight: 700; }
.role-tag { padding: 2px 8px; border-radius: 10px; font-size: 12px; }
.role-reviewer { background: #e6effb; color: #409eff; }
.role-student { background: #e1f3d8; color: #67c23a; }

/* ===== 公告 ===== */
.ann-card { background: #fff; border: 1px solid #e8e8e8; border-radius: 10px; padding: 20px; margin-bottom: 16px; transition: box-shadow 0.2s; }
.ann-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.ann-pinned { border-left: 4px solid #e6a23c; background: #fffbf0; }
.pin-badge { background: #fdf6ec; color: #e6a23c; font-size: 12px; padding: 2px 8px; border-radius: 4px; margin-right: 8px; }
.ann-title { display: inline; font-size: 18px; font-weight: 600; color: #303133; margin: 0; }
.ann-meta { font-size: 13px; color: #909399; margin-top: 4px; display: flex; gap: 12px; flex-wrap: wrap; }
.ann-content { margin-top: 12px; font-size: 15px; line-height: 1.7; color: #606266; }
.ann-actions { margin-top: 12px; display: flex; gap: 8px; }
.btn-edit-ann, .btn-del-ann { border: none; padding: 4px 12px; border-radius: 4px; font-size: 13px; cursor: pointer; }
.btn-edit-ann { background: #e6effb; color: #409eff; }
.btn-del-ann { background: #fde2e2; color: #f56c6c; }

/* ===== 认领 ===== */
.claim-item { display: flex; justify-content: space-between; align-items: flex-start; padding: 16px; border: 1px solid #e8e8e8; border-radius: 8px; margin-bottom: 12px; transition: box-shadow 0.2s; }
.claim-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.claim-item-mine { border-left: 4px solid #67c23a; background: #f9fff5; }
.claim-main { flex: 1; min-width: 0; }
.claim-header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.claim-title { font-size: 16px; font-weight: 600; color: #303133; }
.claim-link { text-decoration: none; }
.claim-link:hover { color: #409eff; }
.claim-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #909399; }
.claim-detail { font-size: 14px; color: #606266; margin-top: 4px; }
.claim-detail label { color: #909399; font-weight: 500; }
.claim-action { margin-left: 12px; display: flex; align-items: center; flex-shrink: 0; }
.btn-claim { background: #409eff; color: #fff; border: none; padding: 8px 24px; border-radius: 6px; font-size: 15px; font-weight: 500; cursor: pointer; transition: background 0.2s; }
.btn-claim:hover { background: #3a8ee6; }
.btn-cancel-claim { background: #fde2e2; color: #f56c6c; border: none; padding: 6px 16px; border-radius: 6px; font-size: 13px; cursor: pointer; }
.btn-cancel-claim:hover { background: #f9c7c7; }

/* ================================================
   响应式 - 手机端适配
   ================================================ */
@media (max-width: 768px) {
    /* 导航栏 */
    .navbar {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 12px;
        gap: 8px;
    }
    .nav-brand {
        margin-right: auto;
        font-size: 14px;
    }
    .nav-logo { font-size: 18px; }
    .nav-links {
        order: 3;
        width: 100%;
        gap: 2px;
        padding-bottom: 2px;
    }
    .nav-links a {
        padding: 6px 10px;
        font-size: 13px;
    }
    .nav-user {
        gap: 8px;
        font-size: 12px;
    }
    .user-info { display: none; }

    /* 容器 */
    .container { padding: 12px; }

    /* 登录 */
    .login-card { padding: 24px 16px; }

    /* 统计卡片 */
    .stat-cards { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .stat-card { padding: 12px; }
    .stat-number { font-size: 24px; }
    .stat-label { font-size: 11px; }

    /* 仪表盘 */
    .dashboard-grid { grid-template-columns: 1fr; gap: 12px; }
    .dash-card { padding: 14px; }
    .dash-card h3 { font-size: 14px; }

    /* 表单 */
    .form-grid { grid-template-columns: 1fr; }
    .form-row-3 { grid-template-columns: 1fr; gap: 0; }
    .form-section { padding: 14px; }
    .form-actions { padding: 14px; flex-direction: column; }
    .form-actions .btn-primary, .form-actions .btn-secondary { width: 100%; text-align: center; }

    /* 筛选栏 */
    .filter-form { flex-direction: column; align-items: stretch; gap: 8px; }
    .filter-input, .filter-select { width: 100%; }

    /* 详情页 */
    .detail-grid { grid-template-columns: 1fr; gap: 12px; }
    .detail-header h2 { font-size: 18px; }
    .detail-meta { font-size: 12px; gap: 6px; }
    .detail-section { padding: 14px; margin-bottom: 12px; }
    .info-grid { grid-template-columns: 1fr; gap: 8px; }

    /* 表格改为卡片列表 */
    .topics-table-wrap { border-radius: var(--radius); }
    .topics-table { min-width: unset; font-size: 13px; }
    .topics-table th, .topics-table td { padding: 8px 10px; }
    .data-table { font-size: 13px; }
    .data-table th, .data-table td { padding: 8px 8px; font-size: 13px; }

    /* 快捷操作 */
    .quick-actions { flex-direction: column; }
    .action-btn { text-align: center; padding: 12px; font-size: 14px; }

    /* 分享 */
    .share-bar { gap: 6px; }
    .share-btn { padding: 6px 12px; font-size: 12px; }

    /* 认领 */
    .claim-item { flex-direction: column; gap: 10px; padding: 12px; }
    .claim-action { margin-left: 0; width: 100%; }
    .claim-action .btn-claim { width: 100%; text-align: center; }
    .claim-title { font-size: 15px; }

    /* 公告 */
    .ann-card { padding: 14px; }
    .ann-title { font-size: 16px; }

    /* 页面标题 */
    .page-title { font-size: 18px; margin-bottom: 16px; }

    /* 反馈表单 */
    .feedback-form { flex-direction: column; }
    .feedback-form textarea { width: 100%; }

    /* 管理页表单行 */
    .form-row { flex-direction: column; gap: 8px; }
    .form-row .form-group { width: 100%; }
    .form-row .btn-primary { width: 100%; text-align: center; }

    /* 进展时间线 */
    .progress-timeline { padding-left: 12px; }

    /* 交稿区 */
    .section-deliver { padding: 12px; }

    /* 审批按钮 */
    .review-actions { grid-template-columns: 1fr 1fr; gap: 6px; }
}

/* 极小屏（<380px）进一步优化 */
@media (max-width: 380px) {
    .stat-cards { grid-template-columns: 1fr 1fr; }
    .stat-number { font-size: 20px; }
    .nav-links a { padding: 5px 8px; font-size: 12px; }
    .login-card { padding: 20px 12px; }
}

/* ================================================
   v3.3 增强：按钮动效与微交互
   ================================================ */

/* 全局按钮 hover 动效 */
.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(26, 82, 118, 0.2);
}
.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 82, 118, 0.35);
}
.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(26, 82, 118, 0.2);
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}
.btn-primary:active::after {
    width: 200px;
    height: 200px;
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}
.btn-secondary:hover {
    background: var(--gray-200);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.btn-secondary:active {
    transform: translateY(0);
    box-shadow: none;
}

/* 小按钮动效 */
.btn-sm {
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
}
.btn-sm:hover {
    transform: scale(1.05);
}
.btn-sm:active {
    transform: scale(0.98);
}

/* 链接按钮动效 */
.btn-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    margin-right: 8px;
    transition: all 0.2s;
    position: relative;
}
.btn-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}
.btn-link:hover::after {
    width: 100%;
}
.btn-link:hover {
    color: var(--primary-light);
}

/* 审批按钮动效 */
.btn-approve, .btn-revise, .btn-hold, .btn-reject {
    padding: 8px;
    border: none;
    border-radius: var(--radius);
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}
.btn-approve {
    background: #e6f7ed;
    color: #1a7f37;
}
.btn-approve:hover {
    background: #bfe5cc;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(26, 127, 55, 0.3);
}
.btn-revise {
    background: #e3f2fd;
    color: #1565c0;
}
.btn-revise:hover {
    background: #c5dff8;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(21, 101, 192, 0.3);
}
.btn-hold {
    background: #f0f0f0;
    color: #666;
}
.btn-hold:hover {
    background: #e0e0e0;
    transform: translateY(-1px);
}
.btn-reject {
    background: #fde8e8;
    color: #c53030;
}
.btn-reject:hover {
    background: #f9c7c7;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(197, 48, 48, 0.3);
}

/* 登出按钮动效 */
.btn-logout {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transition: all 0.2s;
}
.btn-logout:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.02);
}

/* 快捷操作按钮动效 */
.action-btn {
    padding: 14px 28px;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}
.action-submit {
    background: var(--primary);
    color: white;
}
.action-submit:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 82, 118, 0.35);
}
.action-submit:active {
    transform: translateY(-1px);
}
.action-track {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.action-track:hover {
    background: var(--primary-bg);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 82, 118, 0.2);
}
.action-my {
    background: var(--success);
    color: white;
}
.action-my:hover {
    background: #219a52;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.35);
}

/* 认领按钮动效 */
.btn-claim {
    background: #409eff;
    color: #fff;
    border: none;
    padding: 8px 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-claim:hover {
    background: #3a8ee6;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(64, 158, 255, 0.4);
}
.btn-claim:active {
    transform: scale(0.98);
}

/* 分享按钮动效 */
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 13px;
    cursor: pointer;
    background: white;
    color: var(--gray-700);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    transform: translateY(0);
}
.share-btn:hover {
    background: var(--primary-bg);
    border-color: var(--primary-light);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.share-btn:active {
    transform: translateY(0);
}
.share-btn-wechat {
    background: #07c160;
    color: white;
    border-color: #07c160;
}
.share-btn-wechat:hover {
    background: #06ad56;
    box-shadow: 0 4px 12px rgba(7, 193, 96, 0.4);
}
.share-btn-copy {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.share-btn-copy:hover {
    background: var(--primary-light);
    box-shadow: 0 4px 12px rgba(26, 82, 118, 0.4);
}

/* 编辑按钮 */
.btn-edit {
    background: #e6effb;
    color: #409eff;
    padding: 6px 14px;
    border: none;
    border-radius: var(--radius);
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.btn-edit:hover {
    background: #c6e2ff;
    transform: scale(1.05);
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 24px 0;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: var(--radius);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}
.pagination a {
    background: white;
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
}
.pagination a:hover {
    background: var(--primary-bg);
    border-color: var(--primary-light);
    color: var(--primary);
    transform: translateY(-1px);
}
.pagination a.active, .pagination .current {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.pagination .disabled {
    color: var(--gray-300);
    cursor: not-allowed;
}
.pagination .page-info {
    color: var(--gray-500);
    font-size: 13px;
    margin: 0 8px;
}

/* 导出按钮 */
.btn-export {
    background: linear-gradient(135deg, #67c23a 0%, #5daf34 100%);
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: var(--radius);
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(103, 194, 58, 0.3);
}
.btn-export:hover {
    background: linear-gradient(135deg, #5daf34 0%, #529b2e 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(103, 194, 58, 0.4);
}
.btn-export:active {
    transform: translateY(0);
}

/* 表单加载状态 */
.form-loading {
    opacity: 0.7;
    pointer-events: none;
}
.form-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 表格悬停行动效 */
.topics-table tbody tr {
    transition: all 0.15s ease;
}
.topics-table tbody tr:hover td {
    background: var(--primary-bg) !important;
}
.topics-table tbody tr:hover {
    transform: scale(1.005);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 统计卡片悬停动效 */
.stat-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* 仪表盘卡片悬停 */
.dash-card {
    transition: all 0.25s ease;
}
.dash-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* 公告卡片悬停 */
.ann-card {
    transition: all 0.25s ease;
}
.ann-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* 选题卡片悬停 */
.claim-item {
    transition: all 0.25s ease;
}
.claim-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* 输入框聚焦动效 */
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.15);
}
.filter-input:focus, .filter-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.15);
}

/* 标签云动效 */
.tag-item {
    transition: all 0.2s;
}
.tag-item:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

/* 手机端横排导航适配 */
@media (max-width: 768px) {
    .nav-links {
        display: flex !important;
        flex-direction: row !important;
        width: 100%;
        order: 3;
        gap: 2px;
        padding: 2px 0 0 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .nav-links::-webkit-scrollbar { display: none; }
    .nav-links a {
        padding: 6px 10px;
        font-size: 13px;
        white-space: nowrap;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 6px;
        flex-shrink: 0;
    }
    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.2);
    }
    .nav-links a.active {
        background: rgba(255, 255, 255, 0.25);
    }
    .nav-user {
        margin-left: auto;
    }
    .btn-export {
        width: 100%;
        justify-content: center;
        margin-top: 12px;
    }
}

/* ===== 板块内标签页（按钮风格） ===== */
.section-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    padding: 0;
    flex-wrap: wrap;
}
.section-tabs a {
    padding: 8px 20px;
    font-size: 14px;
    color: #606266;
    text-decoration: none;
    background: #f5f7fa;
    border: 1px solid #dcdfe6;
    border-radius: 20px;
    transition: all 0.25s;
    white-space: nowrap;
    cursor: pointer;
}
.section-tabs a:hover {
    color: #409eff;
    border-color: #c6e2ff;
    background: #ecf5ff;
}
.section-tabs a.tab-active {
    color: #fff;
    font-weight: 600;
    background: linear-gradient(135deg, #409eff, #1a5276);
    border-color: #409eff;
    box-shadow: 0 2px 8px rgba(64,158,255,0.3);
}
.notif-icon {
    color: #606266;
    text-decoration: none;
    font-size: 13px;
    margin-right: 8px;
}
.notif-icon:hover {
    color: #409eff;
}
@media (max-width: 768px) {
    .section-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        gap: 6px;
        padding-bottom: 4px;
    }
    .section-tabs a {
        padding: 6px 14px;
        font-size: 13px;
        flex-shrink: 0;
    }
}