/* =========================================================
   ETS2逐梦综合平台-举报储存
   布局与主站 ets2zm.com 完全统一（深色科技风）
   ========================================================= */
:root {
    --bg-primary: #0a0e14;
    --bg-secondary: #111820;
    --bg-card: #1a2433;
    --bg-hover: #223044;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --text-primary: #e8edf4;
    --text-secondary: #8b9bb5;
    --border: #263040;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --gradient-hero: linear-gradient(135deg, #0a0e14 0%, #111820 50%, #1a2433 100%);
    --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

/* 滚动条 */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-hover);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2e3f57;
}

/* ========== Nav（与主站一致） ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 14, 20, .9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.nav-logo span {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-cta {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

.nav-user {
    color: var(--text-secondary);
    font-size: 14px;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-back {
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    transition: color .3s;
}
.nav-back:hover {
    color: #60a5fa;
}

/* ========== Btn（与主站一致） ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.4;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 6px;
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.btn-success {
    background: rgba(34, 197, 94, .15);
    color: var(--success);
    border: 1px solid rgba(34, 197, 94, .3);
}
.btn-success:hover {
    background: rgba(34, 197, 94, .25);
}

.btn-danger {
    background: rgba(239, 68, 68, .15);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, .3);
}
.btn-danger:hover {
    background: rgba(239, 68, 68, .25);
}

.btn:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none !important;
}

/* ========== Hero（与主站一致） ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(34, 197, 94, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #8b9bb5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1 span {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: 380px;
    height: 380px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(34, 197, 94, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 100px rgba(59, 130, 246, 0.2),
        inset 0 0 60px rgba(255, 255, 255, 0.02);
    animation: float 6s ease-in-out infinite;
}

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

.hero-logo img {
    width: 280px;
    height: 280px;
    border-radius: 24px;
    object-fit: contain;
}

/* ========== Section（与主站一致） ========== */
.section {
    padding: 100px 24px;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-block;
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section h2 span {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section p {
    color: var(--text-secondary);
    font-size: 18px;
}

/* 内容容器（副站） */
.content {
    max-width: 1200px;
    margin: 0 auto;
}

/* ========== 区域二：三个入口卡片 ========== */
.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
}

.feature-icon.blue { background: rgba(59, 130, 246, 0.15); }
.feature-icon.green { background: rgba(34, 197, 94, 0.15); }
.feature-icon.orange { background: rgba(245, 158, 11, 0.15); }
.feature-icon.purple { background: rgba(168, 85, 247, 0.15); }
.feature-icon.red { background: rgba(239, 68, 68, 0.15); }
.feature-icon.cyan { background: rgba(6, 182, 212, 0.15); }

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* 入口卡片：选中高亮 */
.entry-card.active {
    border-color: rgba(59, 130, 246, 0.55);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.12), var(--bg-card));
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2), 0 8px 30px rgba(59, 130, 246, 0.12);
}

.entry-card.active h3 {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 区域三：内容展示区 */
.view-panel {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
    min-height: 480px;
}

.view-panel .view-header {
    text-align: center;
    margin-bottom: 32px;
}

.view-panel .view-header .section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #60a5fa;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.view-panel .view-header h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 10px;
}

.view-panel .view-header h2 span {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.view-panel .view-header p {
    font-size: 15px;
    color: var(--text-secondary);
}

/* 处理进度视图：平台判断流程 + 我的进度查询 */
.progress-flow {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    background: rgba(10, 14, 20, 0.5);
    margin-bottom: 20px;
}

.flow-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.flow-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.flow-node {
    text-align: center;
    border: 1px dashed rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 20px 14px;
    background: rgba(59, 130, 246, 0.04);
}

.fn-icon {
    font-size: 30px;
    line-height: 1;
}

.fn-step {
    font-size: 12px;
    color: #60a5fa;
    margin: 10px 0 4px;
    font-weight: 600;
}

.fn-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.fn-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 6px;
    line-height: 1.5;
}

.flow-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.flow-foot .chip {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #93c5fd;
}

.query-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    background: rgba(10, 14, 20, 0.5);
}

.query-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.query-empty {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 6px 0 14px;
}

.my-item {
    display: block;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.my-item:hover {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.12);
}

.my-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.my-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.my-meta {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .view-panel {
        padding: 24px;
    }
    .flow-row {
        grid-template-columns: 1fr 1fr;
    }
    .my-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========== 筛选栏 ========== */
.filter-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 32px;
}

.filter-bar .input {
    flex: 1;
    min-width: 220px;
}

/* ========== 输入控件 ========== */
.input,
.select,
.textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: border-color .3s, box-shadow .3s;
    outline: none;
}

.input:focus,
.select:focus,
.textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.input::placeholder,
.textarea::placeholder {
    color: #5b6b85;
}

.select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.input,
.select {
    height: 42px;
    line-height: 20px;
    padding-top: 0;
    padding-bottom: 0;
    vertical-align: top;
}

.textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* ========== 视频卡片 ========== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.video-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.25s ease;
}

.video-card:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

.video-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 0; /* 防止封面图撑开容器 */
    overflow: hidden;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 34px;
}

.video-thumb .thumb-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
}

.video-thumb .status-pos {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 1;
}

.video-card .tag {
    font-size: 11px;
    padding: 2px 8px;
}

.video-thumb .play {
    position: absolute;
    z-index: 1;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s;
}

.video-thumb .play svg {
    width: 16px;
    height: 16px;
    fill: #fff;
    margin-left: 2px;
}

.video-card:hover .play {
    transform: scale(1.1);
}

.video-thumb .no {
    position: absolute;
    z-index: 1;
    bottom: 8px;
    right: 8px;
    background: rgba(10, 14, 20, .75);
    color: var(--text-secondary);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 5px;
    letter-spacing: .5px;
}

.video-body {
    padding: 10px 12px 12px;
}

.video-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.video-meta span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-footer {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    font-size: 11px;
    color: #5b6b85;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

/* ========== 状态标签 ========== */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.tag-pending {
    background: rgba(245, 158, 11, .15);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, .3);
}

.tag-done {
    background: rgba(34, 197, 94, .15);
    color: var(--success);
    border: 1px solid rgba(34, 197, 94, .3);
}

.tag-rejected {
    background: rgba(239, 68, 68, .15);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, .3);
}

.tag-muted {
    background: rgba(148, 163, 184, .15);
    color: var(--text-2, #6b7280);
    border: 1px solid rgba(148, 163, 184, .35);
}

/* ========== 分页 ========== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 14px;
    text-decoration: none;
    transition: all .3s;
}

.pagination a:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

.pagination .current {
    background: var(--gradient-accent);
    border-color: transparent;
    color: #fff;
    font-weight: 600;
}

/* ========== 空状态 ========== */
.empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
}

.empty .big {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: .6;
}

.empty p {
    font-size: 16px;
}

/* ========== 表单卡片 ========== */
.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    max-width: 860px;
    margin: 0 auto;
}

/* 上传成功面板 */
.success-box {
    background: var(--bg-card);
    border: 1px solid var(--success);
    border-radius: 16px;
    padding: 32px;
    max-width: 860px;
    margin: 0 auto 24px;
    text-align: center;
}

.success-box .sb-icon {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 12px;
}

.success-box h3 {
    font-size: 22px;
    margin-bottom: 6px;
}

.success-box .sb-sub {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.success-box .sb-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 12px;
    text-align: left;
}

.success-box .sb-row > span {
    flex: none;
    color: var(--text-secondary);
    font-size: 13px;
    width: 76px;
}

.success-box .sb-row > b {
    font-size: 14px;
    color: var(--accent);
}

.success-box .copy-wrap {
    flex: 1;
    display: flex;
    gap: 10px;
}

.success-box .copy-input {
    flex: 1;
    min-width: 0;
    color: var(--text-secondary);
}

.success-box .copy-wrap .btn {
    flex: none;
}

.success-box .sb-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}


.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-row .req {
    color: var(--danger);
    margin-left: 4px;
}

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

/* 是否平台帮助判断 选项按钮组 */
.judge-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.judge-option {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    cursor: pointer;
    transition: border-color .25s, background .25s, box-shadow .25s;
    background: var(--bg-secondary);
}

.judge-option:hover {
    border-color: var(--accent);
}

.judge-option.active {
    border-color: var(--accent);
    background: rgba(59, 130, 246, .06);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}

.judge-option .jo-icon {
    font-size: 22px;
    line-height: 1.3;
}

.judge-option .jo-main {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.judge-option .jo-sub {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 3px;
    line-height: 1.5;
}

/* 需要平台判断时的补充信息区块 */
.judge-fields {
  border: 1px dashed var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 4px;
  background: rgba(59, 130, 246, .03);
}

.judge-fields .form-row + .form-row {
  margin-top: 16px;
}

/* 违规规则页：主站 FAQ（常见问题）形式 */
.rules-page .faq-list {
    max-width: 860px;
    margin: 0 auto;
}

.rules-page .faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: border-color .25s, box-shadow .25s;
}

.rules-page .faq-item:hover {
    border-color: rgba(59, 130, 246, .4);
    box-shadow: 0 4px 16px rgba(59, 130, 246, .08);
}

.rules-page .faq-item summary {
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.rules-page .faq-item summary::-webkit-details-marker {
    display: none;
}

.rules-page .faq-item summary::after {
    content: '+';
    font-size: 24px;
    color: var(--accent);
    transition: transform .3s;
    flex-shrink: 0;
}

.rules-page .faq-item[open] summary::after {
    transform: rotate(45deg);
}

.rules-page .rule-title {
    color: var(--text-primary);
}

.rules-page .rule-punish {
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, .35);
    background: rgba(248, 113, 113, .1);
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.rules-page .faq-item .faq-answer {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

.rules-page .rule-cn {
    white-space: pre-line;
    color: var(--text-secondary);
}

.rules-page .rule-en {
    margin-top: 14px;
    border-top: 1px dashed var(--border);
    padding-top: 12px;
}

.rules-page .rule-en summary {
    padding: 4px 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    cursor: pointer;
    list-style: none;
    display: inline-flex;
}

.rules-page .rule-en summary::-webkit-details-marker {
    display: none;
}

.rules-page .rule-en summary::after {
    content: '▾';
    font-size: 14px;
    margin-left: 6px;
    color: var(--accent);
    transform: none;
    transition: transform .3s;
}

.rules-page .rule-en[open] summary::after {
    transform: rotate(180deg);
}

.rules-page .rule-en-body {
    margin-top: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    background: var(--bg-secondary);
    font-size: 13px;
    color: var(--text-secondary);
    white-space: pre-line;
    line-height: 1.7;
}

.rules-page .rules-note {
    max-width: 860px;
    margin: 24px auto 0;
    padding: 14px 18px;
    font-size: 13px;
    color: var(--text-secondary);
    border: 1px dashed var(--border);
    border-radius: 10px;
    line-height: 1.7;
}

/* 后台「平台判断」徽标 */
.judge-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #1d4ed8;
    background: rgba(59, 130, 246, .12);
    white-space: nowrap;
}

/* 拖拽上传区 */
.drop-zone {
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 48px 20px;
    text-align: center;
    cursor: pointer;
    transition: all .3s;
    background: var(--bg-secondary);
}

.drop-zone:hover,
.drop-zone.dragover {
    border-color: var(--accent);
    background: rgba(59, 130, 246, .05);
}

.drop-zone .icon {
    font-size: 44px;
    margin-bottom: 12px;
}

.drop-zone .main {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.drop-zone .sub {
    font-size: 13px;
    color: var(--text-secondary);
}

.file-info {
    display: none;
    margin-top: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
}

.file-info .row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 4px 0;
}

.file-info .row span {
    color: var(--text-secondary);
}

.file-info .row b {
    color: var(--text-primary);
    font-weight: 500;
}

.progress-wrap {
    display: none;
    margin-top: 12px;
    align-items: center;
    gap: 12px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    background: var(--bg-hover);
    overflow: hidden;
}

.progress-bar .fill {
    height: 100%;
    width: 0;
    border-radius: 4px;
    background: var(--gradient-accent);
    transition: width .2s;
}

.progress-text {
    font-size: 13px;
    color: var(--text-secondary);
    min-width: 44px;
    text-align: right;
}

.hint {
    font-size: 13px;
    margin-top: 10px;
}

.hint.warn {
    color: var(--warning);
}

.hint.warn b {
    color: var(--text-primary);
}

/* ========== 播放器 ========== */
.player-wrap {
    background: #000;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
    position: relative;
}

.player-loading {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 15px;
}

.player-wrap video {
    width: 100%;
    max-height: 70vh;
    display: block;
    background: #000;
}

/* ========== 详情 ========== */
.detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    align-items: start;
}

.detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
}

.detail-card h2 {
    font-size: 20px;
    margin-bottom: 16px;
}

.info-list {
    display: flex;
    flex-direction: column;
}

.info-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .k {
    color: var(--text-secondary);
    flex-shrink: 0;
}

.info-row .v {
    color: var(--text-primary);
    text-align: right;
    word-break: break-all;
}

.handle-note {
    background: rgba(34, 197, 94, .1);
    border: 1px solid rgba(34, 197, 94, .3);
    color: var(--success);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
}

.desc-text {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    white-space: pre-wrap;
    word-break: break-word;
}

/* ========== 管理表格 ========== */
.table-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

table th,
table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

table th {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 13px;
    background: var(--bg-secondary);
}

table td {
    color: var(--text-primary);
}

table tr:last-child td {
    border-bottom: none;
}

table tr:hover td {
    background: rgba(59, 130, 246, .03);
}

.td-title {
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ops {
    display: flex;
    gap: 8px;
    align-items: center;
    white-space: nowrap;
}

.ops input {
    width: 110px;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 13px;
    outline: none;
}

/* ========== 登录页（主站风格） ========== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 60px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 20%, rgba(59, 130, 246, 0.12) 0%, transparent 55%);
    pointer-events: none;
}

.login-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 36px;
    box-shadow: var(--shadow);
}

.login-card .logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.login-card .logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-card h1 {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 6px;
}

.login-card .sub {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 28px;
}

.login-err {
    display: none;
    background: rgba(239, 68, 68, .12);
    border: 1px solid rgba(239, 68, 68, .3);
    color: var(--danger);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    margin-bottom: 16px;
    text-align: center;
}

.login-card .btn {
    width: 100%;
    padding: 12px;
}

.login-tip {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.login-tip a {
    color: var(--accent);
    text-decoration: none;
}

.login-tip a:hover {
    color: #60a5fa;
}

/* ========== Toast ========== */
.toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: all .3s;
    box-shadow: var(--shadow);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    border-color: rgba(34, 197, 94, .4);
}

.toast.error {
    border-color: rgba(239, 68, 68, .4);
}

/* ========== Footer（与主站一致） ========== */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 60px 24px 30px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.footer-brand span {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
}

.footer h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-bottom a {
    color: var(--accent);
    text-decoration: none;
}

/* ========== Mobile Responsive ========== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-logo {
        width: 280px;
        height: 280px;
    }

    .hero-logo img {
        width: 200px;
        height: 200px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 0 14px;
    }

    .nav-logo span {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .nav-cta .btn {
        padding: 6px 12px;
        font-size: 13px;
    }

    .nav-user {
        display: none;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .stat-value {
        font-size: 26px;
    }

    .section {
        padding: 60px 20px;
    }

    .section h2 {
        font-size: 28px;
    }

    .section p {
        font-size: 16px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
