/* Syutopia - 简约高级风格，无 MC 元素 */
:root {
    --bg: #fbfbfd;
    --bg-elevated: #ffffff;
    --text: #1d1d1f;
    --text-secondary: #6e6e73;
    --border: #d2d2d7;
    --accent: #0071e3;
    --accent-hover: #0077ed;
    --radius: 12px;
    --radius-lg: 18px;
    --shadow: 0 4px 24px rgba(0,0,0,.06);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* 动画关键帧 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-16px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(16px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

* {
    box-sizing: border-box;
}

/* 无障碍：跳过导航、焦点样式 */
.skip-link {
    position: absolute;
    top: -60px;
    left: 12px;
    padding: 10px 16px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius);
    font-size: 14px;
    z-index: 1000;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 12px;
}
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.47;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.main-content {
    min-height: calc(100vh - 140px);
    padding-bottom: 60px;
    animation: fadeIn 0.4s var(--ease-out);
}
.main-content:has(.report-page) { padding-bottom: 24px; }
.section-hero h1 {
    animation: fadeInUp 0.6s var(--ease-out) 0.1s backwards;
}
.section-hero .tagline {
    animation: fadeInUp 0.5s var(--ease-out) 0.25s backwards;
}
.section-hero .intro-text {
    animation: fadeInUp 0.5s var(--ease-out) 0.35s backwards;
}
.section-hero .hero-actions {
    animation: fadeInUp 0.5s var(--ease-out) 0.45s backwards;
}
.section-hero .hero-timer-label,
.section-hero .hero-timer {
    animation: fadeInUp 0.5s var(--ease-out) 0.2s backwards;
}

/* Header */
.site-header {
    background: rgba(251,251,253,.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 600;
    font-size: 21px;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.2s var(--ease-out);
    animation: fadeIn 0.5s var(--ease-out);
}
.logo:hover {
    opacity: 0.8;
}
body.logo-no-animate .logo {
    animation: none;
}
body.logo-no-animate .logo-img {
    animation: none;
}

.logo-img {
    max-height: 32px;
    width: auto;
    vertical-align: middle;
    animation: fadeIn 0.6s var(--ease-out) 0.1s backwards;
}

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

.nav-links a {
    position: relative;
    transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.25s var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.nav-toggle {
    display: none;
    width: 24px;
    height: 24px;
    border: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231d1d1f'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E") center/contain no-repeat;
    cursor: pointer;
}

@media (max-width: 734px) {
    .nav-links {
        display: none;
    }
    .nav-toggle {
        display: block;
    }
    .nav-inner {
        padding: 0 16px;
    }
}

/* Sections */
/* 滚动进入动画（需 body.js，首屏 hero 不参与） */
body.js .section:not(.section-hero) {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
body.js .section:not(.section-hero).in-view {
    opacity: 1;
    transform: translateY(0);
}
body.js .section:not(.section-hero).in-view .section-title,
body.js .section:not(.section-hero).in-view .home-section-title {
    animation: fadeInUp 0.5s var(--ease-out) 0.1s both;
}
body.js .section.in-view .stagger-item {
    opacity: 0;
    animation: fadeInUp 0.45s var(--ease-out) forwards;
}

.section {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
}

.section-hero {
    padding-top: 80px;
    padding-bottom: 72px;
    text-align: center;
    position: relative;
}
.section-hero.hero-with-bg {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    padding-left: 22px;
    padding-right: 22px;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
}
.section-hero.hero-with-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.35) 0%, rgba(0,0,0,.5) 100%);
    pointer-events: none;
}
.section-hero .hero-inner {
    position: relative;
    z-index: 1;
}
.section-hero.hero-with-bg .tagline,
.section-hero.hero-with-bg .intro-text,
.section-hero.hero-with-bg .hero-timer-label { color: rgba(255,255,255,.9); }
.section-hero.hero-with-bg h1 { color: #fff; }
.section-hero.hero-with-bg .btn-hero-secondary { color: #fff; border-color: rgba(255,255,255,.6); }
.section-hero.hero-with-bg .btn-hero-secondary:hover { background: rgba(255,255,255,.15); }

.hero-timer { margin: 0 0 4px; }
.hero-timer-num { font-size: clamp(18px, 3vw, 24px); font-weight: 700; letter-spacing: 0.02em; color: var(--accent); line-height: 1.3; font-variant-numeric: tabular-nums; }
.hero-with-bg .hero-timer-num { color: #fff; }
.hero-timer-label { font-size: 14px; color: var(--text-secondary); margin: 0 0 8px; text-transform: uppercase; letter-spacing: 0.08em; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 28px 0 0; }
.btn-hero-secondary { padding: 12px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: transparent; color: var(--text); font-size: 16px; text-decoration: none; transition: background .2s, border-color .2s; }
.btn-hero-secondary:hover { background: var(--bg-elevated); border-color: var(--text-secondary); }

/* 首页分段 */
.home-section {
    padding-top: 56px;
    padding-bottom: 56px;
    border-top: 1px solid var(--border);
}

.home-section-title {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
    color: var(--text);
}

.home-section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    margin: 0 0 28px;
    max-width: 560px;
}

/* 首页最新公告（与活动区块同背景，无单独白底） */
.home-announce {
    /* 不设 background，与 home-events 一致 */
}

.announce-preview {
    max-width: 640px;
    padding: 24px 0 0;
}

.announce-preview-date {
    font-size: 13px;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 6px;
}

.announce-preview-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px;
}

.announce-preview-content {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0 0 16px;
    line-height: 1.5;
}

.link-more {
    font-size: 15px;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    transition: color .2s var(--ease-out), opacity .2s var(--ease-out);
}

.link-more:hover {
    text-decoration: underline;
    opacity: 0.85;
}

.home-events-list { margin-top: 16px; }
.home-events-list .event-preview { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 16px; transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.home-events-list .event-preview:hover { box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.home-events-list .event-preview h3 { font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.event-preview-date { font-size: 13px; color: var(--text-secondary); margin: 0 0 10px; }
.event-preview-content { font-size: 15px; color: var(--text-secondary); margin: 0; line-height: 1.5; }
.home-events .link-more { display: inline-block; margin-top: 8px; }

.text-muted {
    color: var(--text-secondary);
    margin: 0;
}

/* 首页底部 CTA（与公告、活动同背景） */
.home-cta {
    text-align: center;
}

.home-cta .cta-block {
    max-width: 480px;
    margin: 0 auto;
}

.home-cta .home-section-desc {
    margin-left: auto;
    margin-right: auto;
}

/* 首页投票 */
.home-poll {
    text-align: center;
}
.home-poll .home-poll-title {
    font-size: 1.1rem;
    color: var(--text);
    margin: 0 0 1rem;
    font-weight: 500;
}
.home-poll-login-hint {
    color: var(--text-secondary);
    margin: 0;
}
.home-poll-login-hint a {
    color: var(--primary);
    text-decoration: underline;
}
.home-poll-form {
    max-width: 420px;
    margin: 0 auto;
    text-align: left;
}
.home-poll-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    background: var(--bg-secondary, #f5f5f5);
    border: 1px solid var(--border, #e0e0e0);
    border-radius: var(--radius, 8px);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.home-poll-option:hover {
    border-color: var(--primary);
    background: var(--bg-hover, rgba(99, 102, 241, 0.06));
}
.home-poll-option:has(input:checked) {
    border-color: var(--primary);
    background: var(--bg-hover, rgba(99, 102, 241, 0.08));
    box-shadow: 0 0 0 1px var(--primary);
}
.home-poll-option input {
    flex-shrink: 0;
    width: 1.1em;
    height: 1.1em;
    accent-color: var(--primary);
}
.home-poll-option span {
    flex: 1;
    font-size: 0.95rem;
    color: var(--text);
}
.home-poll-submit {
    margin-top: 1.25rem;
}
.home-poll-msg {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    min-height: 1.4em;
}
.home-poll-msg.error { color: var(--danger, #c00); }
.home-poll-msg.success { color: var(--success, #0a0); }
.home-poll-results {
    max-width: 420px;
    margin: 0 auto;
    text-align: left;
}
.home-poll-total {
    margin: 0 0 1rem;
    color: var(--text-secondary);
}
.home-poll-bars {
    list-style: none;
    padding: 0;
    margin: 0;
}
.home-poll-bars li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.35rem 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: var(--bg-secondary, #f8f9fa);
    border: 1px solid var(--border, #e8e8e8);
    border-radius: var(--radius, 8px);
}
.home-poll-opt-label {
    grid-column: 1;
    grid-row: 1;
    font-size: 0.95rem;
    color: var(--text);
}
.home-poll-bar-wrap {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}
.home-poll-bar {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    transition: width 0.3s ease;
}
.home-poll-opt-count {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* 首页宣传视频 */
.home-video .video-wrap {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.home-video .video-wrap::before {
    content: '';
    display: block;
    padding-top: 56.25%;
}
.home-video .video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 首页精彩瞬间 */
.home-gallery-strip .home-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
@media (max-width: 640px) {
    .home-gallery-strip .home-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
.home-gallery-strip .home-gallery-item {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 16/10;
    text-decoration: none;
    color: inherit;
    position: relative;
    background: var(--border);
    cursor: pointer;
    font: inherit;
}
.home-gallery-strip .home-gallery-item:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.home-gallery-strip .home-gallery-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--border);
    transition: transform .35s ease;
}
.home-gallery-strip .home-gallery-item {
    transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.home-gallery-strip .home-gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.home-gallery-strip .home-gallery-item:hover .home-gallery-thumb {
    transform: scale(1.05);
}
.home-gallery-strip .home-gallery-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}
.home-gallery-strip .link-more { display: inline-block; margin-top: 8px; }

.section-hero h1 {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0 0 16px;
    line-height: 1.1;
}

.section-hero .tagline {
    font-size: clamp(17px, 2.2vw, 22px);
    color: var(--text-secondary);
    margin: 0 0 20px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}
.section-hero .intro-text {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 24px;
    line-height: 1.55;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
}

.section-desc {
    color: var(--text-secondary);
    margin: 0 0 24px;
}

/* 渐变色称号生成器 */
.gradient-tool .gradient-form-card,
.gradient-tool .gradient-output-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
}
.gradient-tool .form-row { margin-bottom: 20px; }
.gradient-tool .form-row:last-of-type { margin-bottom: 0; }
.gradient-tool .form-row label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.gradient-tool .form-row input[type="text"] {
    width: 100%;
    max-width: 400px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    background: var(--bg);
    color: var(--text);
}
.gradient-tool .format-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}
.gradient-tool .btn-format {
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg);
    color: var(--text);
    font-size: 13px;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}
.gradient-tool .btn-format:hover {
    background: var(--bg-elevated);
    border-color: var(--text-secondary);
}
.gradient-tool .gradient-textarea {
    width: 100%;
    max-width: 560px;
    min-height: 80px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.5;
    font-family: inherit;
    background: var(--bg);
    color: var(--text);
    outline: none;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.gradient-tool .gradient-textarea:empty::before,
.gradient-tool .gradient-textarea.placeholder-empty::before {
    content: attr(data-placeholder);
    color: var(--text-secondary);
}
.gradient-tool .gradient-textarea:focus {
    border-color: var(--accent);
}
.gradient-tool .form-row.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
/* 颜色节点列表：第一列 1–5，第二列 6–10，上限 10 个 */
.gradient-tool .color-stops {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(5, auto);
    grid-template-columns: auto auto;
    gap: 8px;
    margin-bottom: 10px;
    align-content: start;
}
.gradient-tool .color-stop-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
}
.gradient-tool .color-stop-row:hover {
    border-color: var(--text-secondary);
}
.gradient-tool .color-stop-row.selected {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(0, 113, 227, 0.2);
}
.gradient-tool .color-stop-row.dragging {
    opacity: 0.6;
}
.gradient-tool .color-stop-row.drag-over {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}
.gradient-tool .color-stop-drag {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1;
    cursor: grab;
    user-select: none;
    padding: 0 2px;
}
.gradient-tool .color-stop-row:active .color-stop-drag {
    cursor: grabbing;
}
.gradient-tool .color-stop-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 4px;
    background: var(--border);
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}
.gradient-tool .color-stop-row.selected .color-stop-num {
    background: var(--accent);
    color: #fff;
}
.gradient-tool .color-stop-swatch {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,.12);
    flex-shrink: 0;
}
.gradient-tool .color-stop-hex {
    width: 68px;
    margin: 0;
    padding: 4px 6px;
    font-size: 12px;
}
.gradient-tool .btn-remove-stop {
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: var(--border);
    color: var(--text);
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .2s;
}
.gradient-tool .btn-remove-stop:hover {
    background: #d63031;
    color: #fff;
}
.gradient-tool .gradient-stop-actions {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 4px;
}
.gradient-tool .gradient-stop-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.gradient-tool .gradient-stop-buttons .btn {
    padding: 5px 12px;
    font-size: 13px;
    border-radius: 6px;
}
.gradient-tool .gradient-reset-confirm[hidden] {
    display: none !important;
}
.gradient-tool .gradient-reset-confirm {
    position: absolute;
    left: 0;
    bottom: 100%;
    margin-bottom: 6px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.gradient-tool .gradient-reset-confirm .reset-confirm-text {
    color: var(--text);
    margin-right: 4px;
}
.gradient-tool .btn-small {
    padding: 4px 12px;
    font-size: 13px;
}
.gradient-tool .btn-add-stop {
    margin-top: 0;
}

/* 精细调色：色相 / 饱和度·明度 */
.gradient-tool .picker-palette-row .form-hint { margin-bottom: 12px; }
.gradient-tool .picker-and-palette {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}
.gradient-tool .picker-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 200px;
    flex-shrink: 0;
}
.gradient-tool .picker-sv {
    --picker-h: 0deg;
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: crosshair;
    background-image:
        linear-gradient(to bottom, transparent 0%, rgba(0,0,0,1) 100%),
        linear-gradient(to right, #fff 0%, hsl(var(--picker-h, 0), 100%, 50%) 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.gradient-tool .picker-h {
    position: relative;
    width: 100%;
    height: 14px;
    border-radius: 8px;
    overflow: hidden;
    cursor: ew-resize;
    background: linear-gradient(to right,
        #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
    box-shadow: 0 2px 6px rgba(0,0,0,.1);
}
.gradient-tool .picker-handle {
    position: absolute;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(0,0,0,.5);
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 0 0 1px rgba(255,255,255,.8);
    pointer-events: none;
    left: 0;
    top: 0;
}
.gradient-tool .picker-sv .picker-handle { top: 100%; }
.gradient-tool .picker-h .picker-handle { top: 50%; }

/* 调色盘 */
.gradient-tool .picker-and-palette .palette-grid {
    flex: 1;
    min-width: 180px;
    max-width: 320px;
    grid-template-columns: repeat(8, 1fr);
    gap: 6px;
}
.gradient-tool .palette-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 8px;
}
.gradient-tool .palette-swatch {
    aspect-ratio: 1;
    min-width: 0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,.1);
    transition: transform .15s, box-shadow .15s;
}
.gradient-tool .palette-swatch:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.gradient-tool .palette-swatch:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.gradient-tool .color-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.gradient-tool .color-input-wrap input[type="color"] {
    width: 48px;
    height: 40px;
    padding: 2px;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    background: var(--bg);
}
.gradient-tool .color-input-wrap .hex-input {
    width: 100px;
    margin: 0;
}
.gradient-tool .preview-row { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.gradient-tool .preview-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 8px;
}
.gradient-tool .gradient-preview {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin: 0;
    min-height: 1.2em;
}
.gradient-tool .output-heading { font-size: 16px; font-weight: 600; margin: 0 0 8px; }
.gradient-tool .format-options {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-bottom: 12px;
}
.gradient-tool .format-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}
.gradient-tool .format-option input { accent-color: var(--accent); }
.gradient-tool .gradient-output-card .form-hint { margin-bottom: 12px; font-size: 13px; }
.gradient-tool .output-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
}
.gradient-tool .gradient-output {
    flex: 1;
    min-width: 200px;
    max-height: 120px;
    overflow: auto;
    margin: 0;
    padding: 14px 16px;
    font-family: ui-monospace, monospace;
    font-size: 13px;
    line-height: 1.4;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    white-space: pre-wrap;
    word-break: break-all;
    color: var(--text);
}
.gradient-tool .btn-copy { flex-shrink: 0; }
.gradient-tool .gradient-help {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-top: 8px;
}
.gradient-tool .gradient-help h3 { font-size: 15px; margin: 0 0 12px; }
.gradient-tool .gradient-help ul { margin: 0; padding-left: 20px; color: var(--text-secondary); font-size: 14px; line-height: 1.6; }
.gradient-tool .gradient-help code { font-size: 13px; background: var(--bg); padding: 2px 6px; border-radius: 4px; }
@media (max-width: 640px) {
    .gradient-tool .form-row.two-col { grid-template-columns: 1fr; }
    .gradient-tool .picker-and-palette { flex-direction: column; }
    .gradient-tool .picker-and-palette .palette-grid { max-width: none; }
    .gradient-tool .palette-grid { grid-template-columns: repeat(8, 1fr); }
}

.section p {
    margin: 0 0 16px;
    color: var(--text-secondary);
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: box-shadow .25s var(--ease-out), transform .25s var(--ease-out);
}
.card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,.08);
    transform: translateY(-3px);
}

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

.card p {
    margin: 0;
    font-size: 15px;
}

/* 下载页 */
.download-page .download-empty,
.download-page .download-intro {
    color: var(--text-secondary);
    margin-bottom: 24px;
}
.download-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.download-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.download-item-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px;
}
.download-item-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}
.download-item-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.download-item-size {
    font-size: 13px;
    color: var(--text-secondary);
}
.download-item-btn {
    margin-top: 4px;
}

/* Status badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    margin: 16px 0;
}

.status-badge.online {
    background: rgba(0,122,0,.12);
    color: #0a7d0a;
}

.status-badge.offline {
    background: rgba(142,142,147,.2);
    color: var(--text-secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.status-badge.offline .status-dot {
    background: var(--text-secondary);
}

/* 服务器状态 - 重设计 */
#section-server-status .server-status-card {
    max-width: 420px;
    margin: 0 auto;
    padding: 0;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,.04);
    overflow: hidden;
    border-left: 4px solid var(--text-secondary);
    transition: box-shadow .25s var(--ease-out), transform .25s var(--ease-out);
}
#section-server-status .server-status-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,.08);
}
#section-server-status .server-status-card.online {
    border-left-color: #22c55e;
}
#section-server-status .server-status-card.offline {
    border-left-color: var(--text-secondary);
}
#section-server-status .server-status-main {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 24px 20px;
}
#section-server-status .server-status-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--text-secondary);
}
#section-server-status .server-status-card:not(.online):not(.offline) .server-status-indicator {
    animation: pulse 1.5s ease-in-out infinite;
}
#section-server-status .server-status-indicator.online {
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34,197,94,.25);
    animation: server-status-pulse 2s ease-in-out infinite;
}
#section-server-status .server-status-indicator.offline {
    background: var(--text-secondary);
    opacity: .8;
}
@keyframes server-status-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,.25); }
    50% { box-shadow: 0 0 0 6px rgba(34,197,94,.1); }
}
#section-server-status .server-status-text-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
#section-server-status .server-status-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.02em;
}
#section-server-status .server-status-card.online .server-status-title {
    color: #16a34a;
}
#section-server-status .server-status-card.offline .server-status-title {
    color: var(--text-secondary);
}
#section-server-status .server-status-sub {
    font-size: 14px;
    color: var(--text-secondary);
}
#section-server-status .server-status-address-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px 18px;
    background: rgba(0,0,0,.03);
    border-top: 1px solid var(--border);
}
#section-server-status .server-status-addr {
    flex: 1;
    min-width: 0;
    font-family: ui-monospace, monospace;
    font-size: 15px;
    color: var(--text);
    letter-spacing: 0.02em;
}
#section-server-status .server-status-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background .2s, color .2s;
}
#section-server-status .server-status-copy:hover {
    background: var(--border);
    color: var(--text);
}
#section-server-status .server-status-copy:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
body.theme-dark #section-server-status .server-status-address-bar {
    background: rgba(255,255,255,.04);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 17px;
    font-weight: 500;
    font-family: inherit;
    border-radius: 980px;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: background .2s var(--ease-out), color .2s var(--ease-out), transform .2s var(--ease-out);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}
.btn-primary:active {
    transform: translateY(0) scale(0.98);
}
.btn:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-secondary:hover {
    background: rgba(0,113,227,.06);
}

/* Page content */
.page-content {
    padding-top: 48px;
    padding-bottom: 48px;
}

.page-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin: 32px 0 16px;
}

.page-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 24px 0 12px;
}

.page-content ul {
    margin: 0 0 16px;
    padding-left: 24px;
    color: var(--text-secondary);
}

.page-content a {
    color: var(--accent);
    text-decoration: none;
}

.page-content a:hover {
    text-decoration: underline;
}

/* 规则页：条目列表清晰可见 */
.rules-content { max-width: 720px; }
.rules-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.rules-list .rule-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 16px;
}
.rules-list .rule-item:last-child { margin-bottom: 0; }
.rules-list .rule-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px;
    color: var(--text);
}
.rules-list .rule-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}
.rules-list .rule-item p a { color: var(--accent); }

/* Commands */
.command-category {
    margin-bottom: 40px;
}

.command-category h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.command-item {
    background: var(--bg-elevated);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
}

.command-item h4 {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 8px;
}

.command-item .cmd,
.command-item .cmd-single {
    font-size: 15px;
    margin: 0 0 8px;
    line-height: 1.5;
    word-break: break-word;
}

.command-item .cmd-list {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
}

.command-item .cmd-entry {
    position: relative;
    padding: 8px 0 8px 1.4em;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    line-height: 1.5;
    color: var(--text);
}

.command-item .cmd-entry:last-child {
    border-bottom: none;
}

.command-item .cmd-entry::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1em;
    width: 4px;
    height: 4px;
    border-radius: 2px;
    background: var(--text-secondary);
    opacity: 0.7;
}

.command-item .cmd-syntax {
    font-family: ui-monospace, monospace;
    font-size: 14px;
    color: var(--accent);
    background: rgba(0, 122, 255, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.command-item .desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
}

/* 指令文档（原文展示） */
.command-doc-body {
    background: var(--bg-elevated);
    border-radius: var(--radius);
    padding: 24px 28px;
    border: 1px solid var(--border);
}
.command-doc-empty {
    color: var(--text-secondary);
    margin: 0;
    padding: 0.25em 0;
    line-height: 1.4;
}
.command-doc-content {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text);
    word-break: break-word;
}
.command-doc-content:not(.command-doc-html) {
    white-space: pre-wrap;
}
.command-doc-html {
    white-space: normal;
}
.command-doc-html h1 { font-size: 1.75rem; margin: 1em 0 0.5em; font-weight: 700; }
.command-doc-html h2 { font-size: 1.4rem; margin: 0.9em 0 0.4em; font-weight: 600; }
.command-doc-html h3 { font-size: 1.2rem; margin: 0.8em 0 0.35em; font-weight: 600; }
.command-doc-html h4 { font-size: 1.1rem; margin: 0.7em 0 0.3em; font-weight: 600; }
.command-doc-html p { margin: 0.5em 0; }
.command-doc-html p:empty { margin: 0.15em 0; }
.command-doc-html ul, .command-doc-html ol { margin: 0.5em 0; padding-left: 1.5em; }
.command-doc-html li { margin: 0.25em 0; }
.command-doc-html blockquote { margin: 0.5em 0; padding-left: 1em; border-left: 4px solid var(--border); color: var(--text-secondary); }
.command-doc-html a { color: var(--accent); text-decoration: none; }
.command-doc-html a:hover { text-decoration: underline; }
.command-doc-html span.cmd-highlight {
    background: rgba(0, 122, 255, 0.18);
    color: #0066cc;
    padding: 0 3px;
    border-radius: 4px;
    font-weight: 500;
}

/* Announcements list */
.announce-list .announce-item {
    background: var(--bg-elevated);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
}

.announce-list .announce-item h3 {
    margin: 0 0 8px;
    font-size: 18px;
}
.badge-pinned {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    background: rgba(0,113,227,.1);
    padding: 2px 8px;
    border-radius: 6px;
    margin-right: 4px;
}

.announce-list .announce-item .date {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 12px;
}

.announce-list .announce-item .content {
    margin: 0;
    color: var(--text-secondary);
    white-space: pre-wrap;
}

.pagination {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pagination-info {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.pagination-links {
    display: flex;
    gap: 12px;
}
.pagination-links a,
.pagination-links span {
    transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.pagination-links a:hover {
    transform: translateY(-1px);
}

/* FAQ */
.faq-list { margin-top: 8px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.faq-item:hover { border-color: var(--text-secondary); }
.faq-question { padding: 16px 20px; font-weight: 600; cursor: pointer; list-style: none; transition: background .15s var(--ease-out); }
.faq-question:hover { background: rgba(0,0,0,.02); }
.faq-question::-webkit-details-marker { display: none; }
.faq-answer { padding: 0 20px 16px; color: var(--text-secondary); border-top: 1px solid var(--border); padding-top: 12px; margin: 0 20px 12px; }

/* 相册 */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.gallery-filter-btn { padding: 8px 16px; border: 1px solid var(--border); background: var(--bg-elevated); border-radius: var(--radius); cursor: pointer; font-size: 14px; color: var(--text-secondary); transition: color .2s var(--ease-out), border-color .2s var(--ease-out), background .2s var(--ease-out); }
.gallery-filter-btn:hover { color: var(--accent); border-color: var(--accent); }
.gallery-filter-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-top: 24px; }
.gallery-item { margin: 0; }
.gallery-preview-btn { display: block; width: 100%; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; background: var(--border); cursor: pointer; transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.gallery-preview-btn:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(0,113,227,.15); }
.gallery-preview-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-item figcaption { font-size: 14px; color: var(--text-secondary); margin-top: 8px; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; animation: fadeIn 0.2s var(--ease-out); }
.lightbox[aria-hidden="true"] { display: none; }
.lightbox-close { position: absolute; top: 16px; right: 24px; background: none; border: none; color: #fff; font-size: 32px; cursor: pointer; transition: opacity .2s var(--ease-out), transform .2s var(--ease-out); }
.lightbox-close:hover { opacity: 0.85; transform: scale(1.05); }
.lightbox img { max-width: 100%; max-height: 80vh; object-fit: contain; animation: scaleIn 0.25s var(--ease-out); }
.lightbox-caption { color: #fff; margin-top: 12px; font-size: 14px; animation: fadeInUp 0.3s var(--ease-out) 0.1s both; }

/* 活动 */
.events-list { margin-top: 16px; }
.event-item { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.event-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.event-item h3 { margin: 0 0 8px; }
.event-date { font-size: 14px; color: var(--text-secondary); margin: 0 0 12px; }
.event-countdown { margin-left: 8px; color: var(--accent); }
.event-countdown-num { font-weight: 600; }
.event-content { color: var(--text-secondary); margin: 0; }

.tag-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tag-filter-btn { padding: 8px 16px; border: 1px solid var(--border); background: var(--bg-elevated); border-radius: var(--radius); font-size: 14px; color: var(--text-secondary); text-decoration: none; transition: color .2s var(--ease-out), border-color .2s var(--ease-out), background .2s var(--ease-out); }
.tag-filter-btn:hover { color: var(--accent); border-color: var(--accent); }
.tag-filter-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.item-tags, .event-tags { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-left: 8px; }
.item-tag { font-size: 12px; padding: 2px 8px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 4px; color: var(--text-secondary); }
.event-item .event-tags { display: block; margin: 0 0 8px; margin-left: 0; }

.search-page .search-form { display: flex; gap: 12px; margin-bottom: 28px; max-width: 560px; }
.search-page .search-input { flex: 1; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 16px; }
.search-page .search-result-count { color: var(--text-secondary); margin-bottom: 16px; }
.search-page .search-results { list-style: none; padding: 0; margin: 0; }
.search-page .search-result-item { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.search-page .search-result-item:last-child { border-bottom: none; }
.search-page .search-result-type { display: inline-block; font-size: 12px; color: var(--text-secondary); margin-right: 8px; padding: 2px 8px; background: var(--bg-elevated); border-radius: 4px; }
.search-page .search-result-link { font-weight: 600; text-decoration: none; }
.search-page .search-result-link:hover { text-decoration: underline; }
.search-page .search-result-snippet { margin: 6px 0 0; font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
.search-page .search-hint { color: var(--text-secondary); }

.register-page .register-form { max-width: 400px; }
.register-page .form-group { margin-bottom: 16px; }
.register-page .form-group label { display: block; font-weight: 500; margin-bottom: 6px; }
.register-page .form-group input[type="text"],
.register-page .form-group input[type="email"],
.register-page .form-group input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 16px;
}
.register-page .form-group input:focus {
    outline: none;
    border-color: var(--accent);
}
.register-page .register-sent-hint { margin-bottom: 16px; color: var(--text-secondary); }
.register-page .form-hint { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }
.register-page .register-login-hint { margin-top: 16px; color: var(--text-secondary); }
.register-page .register-login-hint a { color: var(--accent); }

/* 更新日志 */
.changelog-list { margin-top: 16px; }
.changelog-item { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.changelog-item:last-child { border-bottom: none; }
.changelog-header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.changelog-version { font-weight: 600; font-size: 18px; }
.changelog-date { font-size: 14px; color: var(--text-secondary); }
.changelog-items { margin: 0; padding-left: 20px; color: var(--text-secondary); }

/* 深色主题 */
body.theme-dark { --bg: #1d1d1f; --bg-elevated: #2d2d2f; --text: #f5f5f7; --text-secondary: #a1a1a6; --border: #424245; --shadow: 0 4px 24px rgba(0,0,0,.3); }
body.theme-dark .site-header { background: rgba(29,29,31,.9); }
body.theme-dark .back-to-top { background: var(--bg-elevated); border-color: var(--border); }
body.theme-dark .lightbox-close { color: #fff; }
.theme-toggle { background: none; border: none; cursor: pointer; padding: 6px; color: var(--text-secondary); font-size: 18px; line-height: 1; }
.theme-toggle:hover { color: var(--accent); }

/* Team / About */
.team-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    max-width: 1112px;
    margin-left: auto;
    margin-right: auto;
}
.team-grid::-webkit-scrollbar {
    height: 8px;
}
.team-grid::-webkit-scrollbar-track {
    background: var(--bg);
    border-radius: 4px;
}
.team-grid::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}
.team-grid::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

.team-card {
    flex: 0 0 auto;
    width: 260px;
    min-width: 260px;
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: box-shadow .25s var(--ease-out), transform .25s var(--ease-out);
}
.team-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,.08);
    transform: translateY(-2px);
}

.team-card .avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: block;
    object-fit: cover;
    background: var(--border);
}

.team-card .avatar-placeholder {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin: 0 auto 16px;
    background: var(--border);
}

.team-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
}

.team-card .intro {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
}

.team-card .team-message {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 8px 0 0;
    padding-top: 8px;
    border-top: 1px solid var(--border);
    font-style: italic;
}

/* 首页版本更新区块 */
.home-changelog-list { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 12px; }
.home-changelog-item {
    flex: 1 1 280px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
}
.home-changelog-version { font-weight: 600; font-size: 16px; color: var(--accent); margin-right: 12px; }
.home-changelog-date { font-size: 14px; color: var(--text-secondary); }
.home-changelog-ul { margin: 10px 0 0; padding-left: 20px; font-size: 14px; color: var(--text-secondary); }
.home-changelog-ul li { margin: 4px 0; }

/* 首页合作伙伴 */
.partners-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.partner-card {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 20px; background: var(--bg-elevated); border: 1px solid var(--border);
    border-radius: var(--radius); color: var(--text); text-decoration: none;
    font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.partner-card:hover { border-color: var(--accent); box-shadow: 0 2px 12px rgba(0,0,0,.06); }

/* 首页留言板区块 */
.home-guestbook-block .home-guestbook-list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.home-guestbook-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.home-guestbook-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.home-guestbook-item .home-guestbook-author { font-weight: 600; font-size: 15px; margin-right: 12px; }
.home-guestbook-item .home-guestbook-date { font-size: 13px; color: var(--text-secondary); }
.home-guestbook-item .home-guestbook-content { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--text-secondary); }

/* 服史时间线 */
.timeline { position: relative; padding-left: 24px; border-left: 2px solid var(--border); margin-top: 24px; }
.timeline-item { position: relative; padding-bottom: 28px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
    position: absolute; left: -29px; top: 6px; width: 12px; height: 12px;
    border-radius: 50%; background: var(--accent); border: 2px solid var(--bg);
    box-sizing: border-box;
}
.timeline-content { background: var(--bg-elevated); border-radius: var(--radius); padding: 16px 20px; border: 1px solid var(--border); }
.timeline-date { font-size: 14px; color: var(--accent); font-weight: 500; }
.timeline-title { font-size: 18px; margin: 6px 0 10px; font-weight: 600; }
.timeline-body { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }

/* Join page */
.join-block {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin: 24px 0;
    border: 1px solid var(--border);
    max-width: 480px;
}

.join-block .label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.join-block .value {
    font-size: 21px;
    font-weight: 600;
    font-family: ui-monospace, monospace;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 24px 22px;
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.site-footer a {
    color: var(--accent);
    text-decoration: none;
    transition: color .2s var(--ease-out), opacity .2s var(--ease-out), transform .2s var(--ease-out);
}
.site-footer a:hover {
    text-decoration: underline;
    opacity: 0.85;
}

.footer-inner p {
    margin: 4px 0;
}

.footer-sep {
    margin: 0 6px;
    color: var(--border);
}

.footer-links a {
    margin: 0 2px;
}

/* 返回顶部 */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    box-shadow: var(--shadow);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease-out), visibility .25s, background .2s var(--ease-out), transform .2s var(--ease-out);
    z-index: 50;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236e6e73'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 10l7-7m0 0l7 7m-7-7v18'/%3E%3C/svg%3E");
    background-size: 22px;
    background-position: center;
    background-repeat: no-repeat;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--border);
    transform: translateY(-2px) scale(1.05);
}
.back-to-top:active {
    transform: translateY(0) scale(0.98);
}

/* Toast 提示 */
.offline-hint {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px 16px;
    text-align: center;
    font-size: 14px;
    background: #b91c1c;
    color: #fff;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.offline-hint[hidden] { display: none !important; }

.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(80px) scale(0.95);
    padding: 12px 20px;
    background: var(--text);
    color: var(--bg);
    font-size: 14px;
    border-radius: 999px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s var(--ease-out), opacity .3s var(--ease-out), visibility .3s;
    z-index: 60;
}

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

/* 打印：规则/隐私仅正文 */
@media print {
    .site-header, .site-footer, .back-to-top, .btn, .nav-toggle { display: none !important; }
    .main-content { padding: 0; }
    .page-content, .rules-content { max-width: none; }
}

/* Admin */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 220px;
    background: var(--bg-elevated);
    border-right: 1px solid var(--border);
    padding: 24px 0;
}

.admin-sidebar a {
    display: block;
    padding: 10px 24px;
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    color: var(--accent);
    background: rgba(0,113,227,.06);
}

.admin-body {
    flex: 1;
    padding: 32px 40px;
    max-width: 720px;
}

.admin-body h1 {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 24px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group input[type="password"],
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-elevated);
    transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.form-group input:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group textarea.large {
    min-height: 280px;
}

/* Quill 富文本编辑器（后台） */
.admin-body .ql-toolbar.ql-snow { border-radius: 8px 8px 0 0; border-color: var(--border); }
.admin-body .ql-container.ql-snow { border-radius: 0 0 8px 8px; border-color: var(--border); border-top: none; }
.admin-body .ql-editor { min-height: 280px; font-size: 15px; }

.admin-actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
}

.login-box {
    width: 100%;
    max-width: 360px;
    padding: 40px;
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.login-box h1 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 24px;
    text-align: center;
}

.login-box .form-group {
    margin-bottom: 20px;
}

.login-box .btn {
    width: 100%;
    padding: 14px;
}
.login-box .login-register-hint {
    margin-top: 20px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 15px;
}
.login-box .login-register-hint a {
    color: var(--accent);
}

.message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 15px;
    animation: fadeInUp 0.35s var(--ease-out);
}

.message.success {
    background: rgba(0,122,0,.1);
    color: #0a7d0a;
}

.message.error {
    background: rgba(255,59,48,.1);
    color: #c00;
}

/* Mobile nav */
.nav-open .nav-links {
    display: flex;
    position: fixed;
    top: 48px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 99;
}

/* 仪表盘 - 个人资料 + 站内通知 + 我的数据 */
.dashboard-page { padding-top: 24px; padding-bottom: 48px; }
.dashboard-page .section-title { display: none; }

/* 顶部个人资料卡片（渐变英雄区） */
.dashboard-hero {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: 0 12px 40px rgba(0,0,0,.08), 0 2px 12px rgba(0,0,0,.04);
}
.dashboard-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 35%, #14b8a6 70%, #2dd4bf 100%);
    opacity: 0.96;
}
.dashboard-hero-content {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px 32px;
    padding: 32px 28px;
}
.dashboard-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,.28);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    overflow: hidden;
}
.dashboard-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.dashboard-hero-text { flex: 1; min-width: 0; }
.dashboard-hero-name {
    margin: 0 0 4px;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}
.dashboard-hero-email, .dashboard-hero-joined {
    margin: 0;
    font-size: 14px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.dashboard-hero-joined { margin-top: 2px; font-size: 13px; color: #fff; }
.dashboard-hero-stats {
    display: flex;
    gap: 28px;
    flex-shrink: 0;
}
.dashboard-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.dashboard-stat-num {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.dashboard-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,.8);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* 站内通知条 */
.dashboard-notify-bar {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 28px;
    box-shadow: var(--shadow);
}
.dashboard-block-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 14px;
}
.dashboard-block-title-icon { font-size: 20px; }
.dashboard-badge {
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}
.dashboard-notify-bar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.dashboard-mark-all {
    font-size: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 2px 0;
}
.dashboard-mark-all:hover { color: var(--accent); text-decoration: underline; }
.dashboard-notify-more {
    font-size: 13px;
    color: var(--accent);
    text-decoration: none;
}
.dashboard-notify-more:hover { text-decoration: underline; }
.dashboard-notify-footer { margin: 10px 0 0; font-size: 13px; }
.dashboard-notify-footer a { color: var(--accent); text-decoration: none; }
.dashboard-notify-footer a:hover { text-decoration: underline; }
.dashboard-empty-inline { color: var(--text-secondary); margin: 0; font-size: 14px; }
.dashboard-notify-list { list-style: none; margin: 0; padding: 0; }
.dashboard-notify-item {
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}
.dashboard-notify-item:last-child { border-bottom: none; }
.dashboard-notify-item.unread { background: linear-gradient(90deg, rgba(0,113,227,.06) 0%, transparent 100%); margin: 0 -24px; padding: 12px 24px; }
.dashboard-notify-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: opacity .2s;
}
.dashboard-notify-link:hover { opacity: .88; }
.dashboard-notify-title { font-weight: 600; font-size: 14px; display: block; margin-bottom: 2px; }
.dashboard-notify-body { font-size: 13px; color: var(--text-secondary); display: block; margin-bottom: 4px; }
.dashboard-notify-time { font-size: 12px; color: var(--text-secondary); }

/* 卡片网格 */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.dashboard-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    transition: box-shadow .2s var(--ease-out), transform .2s var(--ease-out);
}
.dashboard-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.06); }
.dashboard-card-title { font-size: 17px; font-weight: 600; margin: 0 0 16px; }
.dashboard-account-actions { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.dashboard-account-actions li { margin: 0; }
.dashboard-account-actions .btn { margin: 0; padding: 8px 16px; font-size: 14px; border-radius: 8px; }
.dashboard-logout { border-color: rgba(255,59,48,.4); color: #c00; }
.dashboard-logout:hover { border-color: #c00; background: rgba(255,59,48,.08); color: #c00; }
.dashboard-shortcuts .dashboard-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dashboard-shortcuts .dashboard-links li { margin: 0; }
.dashboard-shortcuts .dashboard-links a {
    display: block; width: 100%; padding: 12px 18px; border-radius: 8px; font-size: 15px; font-weight: 500;
    text-align: center; text-decoration: none; transition: background .2s, border-color .2s, color .2s;
    border: 1px solid var(--border); background: var(--bg); color: var(--text);
}
.dashboard-shortcuts .dashboard-links a:hover { background: var(--bg-elevated); border-color: var(--accent); color: var(--accent); }
.dashboard-shortcuts .dashboard-links a.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.dashboard-shortcuts .dashboard-links a.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.dashboard-shortcuts .dashboard-links a.btn-secondary { background: var(--bg-elevated); }
.dashboard-shortcuts .dashboard-links a.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.dashboard-links .btn { margin: 0; }
.dashboard-empty { color: var(--text-secondary); margin: 0; font-size: 14px; }
.dashboard-more { font-size: 14px; color: var(--accent); text-decoration: none; }
.dashboard-more:hover { text-decoration: underline; }

/* 我的反馈与举报（合并卡片） */
.dashboard-card.dashboard-my-feedback-reports .dashboard-subtitle {
    font-size: 14px; font-weight: 600; color: var(--text-secondary); margin: 0 0 10px; padding: 0;
}
.dashboard-feedback-section { margin-bottom: 20px; }
.dashboard-reports-section { padding-top: 16px; border-top: 1px solid var(--border); }

/* 我的反馈 */
.dashboard-issue-list { list-style: none; margin: 0 0 12px; padding: 0; }
.dashboard-issue-item {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 10px 0;
    border-bottom: 1px solid var(--border); font-size: 14px;
}
.dashboard-issue-item:last-child { border-bottom: none; }
.dashboard-issue-item .issue-id { font-size: 12px; font-weight: 600; color: var(--text-secondary); margin-right: 4px; font-variant-numeric: tabular-nums; }
.dashboard-issue-item .issue-type-tag, .dashboard-issue-item .issue-status-tag { font-size: 11px; padding: 2px 8px; border-radius: 4px; }
.dashboard-issue-item .issue-type-suggestion { background: rgba(0,113,227,.12); color: var(--accent); }
.dashboard-issue-item .issue-type-bug { background: rgba(255,59,48,.12); color: #c00; }
.dashboard-issue-item .issue-date { color: var(--text-secondary); font-size: 12px; }
.dashboard-issue-item a { flex: 1; min-width: 0; color: var(--text); text-decoration: none; }
.dashboard-issue-item a:hover { color: var(--accent); }

/* 我的举报 */
.dashboard-report-list { list-style: none; margin: 0 0 12px; padding: 0; }
.dashboard-report-item {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 0;
    border-bottom: 1px solid var(--border); font-size: 14px;
}
.dashboard-report-item:last-child { border-bottom: none; }
.dashboard-report-item .report-id { font-size: 12px; font-weight: 600; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.dashboard-report-item .report-status {
    font-size: 11px; padding: 2px 8px; border-radius: 4px;
}
.dashboard-report-item .report-status.status-pending { background: rgba(255,149,0,.15); color: #c93400; }
.dashboard-report-item .report-status.status-processed { background: rgba(0,113,227,.12); color: var(--accent); }
.dashboard-report-item .report-status.status-rejected { background: rgba(255,59,48,.12); color: #c00; }
.dashboard-report-item .report-target { flex: 1; min-width: 0; color: var(--text-secondary); }
.dashboard-report-item .report-date { font-size: 12px; color: var(--text-secondary); }
.dashboard-report-item .report-link { font-size: 13px; color: var(--accent); text-decoration: none; }
.dashboard-report-item .report-link:hover { text-decoration: underline; }

/* 我的留言 */
.dashboard-guestbook-list { list-style: none; margin: 0 0 12px; padding: 0; }
.dashboard-guestbook-item {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 0;
    border-bottom: 1px solid var(--border); font-size: 14px;
}
.dashboard-guestbook-item:last-child { border-bottom: none; }
.dashboard-guestbook-item .gb-status { font-size: 11px; padding: 2px 8px; border-radius: 4px; }
.dashboard-guestbook-item .gb-status.status-pending { background: rgba(255,149,0,.15); color: #c93400; }
.dashboard-guestbook-item .gb-status.status-approved { background: rgba(0,113,227,.12); color: var(--accent); }
.dashboard-guestbook-item .gb-status.status-rejected { background: rgba(255,59,48,.12); color: #c00; }
.dashboard-guestbook-item .gb-content { flex: 1; min-width: 0; color: var(--text-secondary); }
.dashboard-guestbook-item .gb-date { font-size: 12px; color: var(--text-secondary); }
.dashboard-guestbook-item .gb-link { font-size: 13px; color: var(--accent); text-decoration: none; }
.dashboard-guestbook-item .gb-link:hover { text-decoration: underline; }

@media (min-width: 768px) {
    .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
    .dashboard-hero-content { padding: 36px 32px; }
    .dashboard-hero-name { font-size: 26px; }
    .dashboard-avatar { width: 80px; height: 80px; font-size: 32px; }
}
@media (min-width: 1024px) {
    .dashboard-grid { grid-template-columns: repeat(3, 1fr); }
    .dashboard-card.dashboard-shortcuts { grid-column: span 1; }
    .dashboard-card.dashboard-my-feedback-reports { grid-column: span 2; }
    .dashboard-card.dashboard-my-guestbook { grid-column: span 1; }
    .dashboard-card.dashboard-admin-link { grid-column: span 1; }
}

/* 站内通知列表页 */
.notifications-page { padding-top: 24px; padding-bottom: 48px; }
.notifications-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.notifications-toolbar .link-muted { font-size: 14px; color: var(--text-secondary); text-decoration: none; }
.notifications-toolbar .link-muted:hover { color: var(--accent); }
.notifications-empty { color: var(--text-secondary); margin: 0; }
.notifications-list { list-style: none; margin: 0; padding: 0; }
.notifications-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 12px;
    transition: box-shadow .2s;
}
.notifications-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,.04); }
.notifications-item.unread { border-left: 3px solid var(--accent); }
.notifications-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.notifications-link:hover { opacity: .92; }
.notifications-title { font-weight: 600; font-size: 15px; display: block; margin-bottom: 4px; }
.notifications-body { font-size: 14px; color: var(--text-secondary); line-height: 1.5; display: block; margin-bottom: 6px; }
.notifications-time { font-size: 12px; color: var(--text-secondary); }

/* 提交反馈 */
.feedback-page { padding-top: 48px; padding-bottom: 60px; }
.feedback-page .feedback-intro {
    color: var(--text-secondary);
    font-size: 15px;
    margin: 0 0 24px;
    max-width: 560px;
}
.feedback-page .feedback-form-card {
    max-width: 560px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    animation: fadeInUp 0.4s var(--ease-out);
}
.feedback-page .feedback-form { margin: 0; }
.feedback-page .form-group { margin-bottom: 22px; }
.feedback-page .form-group:last-of-type { margin-bottom: 0; }
.feedback-page .form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}
.feedback-page .feedback-type-display {
    font-weight: 500;
    font-size: 15px;
    color: var(--text);
    margin: 0 0 4px;
}
.feedback-page .form-hint {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}
.feedback-page .form-hint a { color: var(--accent); }
.feedback-page .form-hint a:hover { text-decoration: underline; }
.feedback-page .form-group input[type="text"],
.feedback-page .form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
}
.feedback-page .form-group select {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 40px 12px 14px;
    font-size: 15px;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5 L6 8.5 L10 4.5' fill='none' stroke='%236e6e73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
.feedback-page .form-group input:focus,
.feedback-page .form-group textarea:focus,
.feedback-page .form-group select:focus {
    outline: none;
    border-color: var(--accent);
}
.feedback-page .form-group textarea {
    min-height: 140px;
    resize: vertical;
}
.feedback-page .form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.feedback-page .form-actions .btn { min-width: 120px; }

/* Issue 列表 */
.issues-page { padding-top: 48px; }
.issues-intro { color: var(--text-secondary); margin: 0 0 20px; }
.issues-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.issues-filter-btn { padding: 8px 16px; border: 1px solid var(--border); background: var(--bg-elevated); border-radius: var(--radius); font-size: 14px; color: var(--text-secondary); text-decoration: none; }
.issues-filter-btn:hover { color: var(--accent); border-color: var(--accent); }
.issues-filter-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.issues-tag-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.issues-tag-btn { font-size: 13px; padding: 4px 12px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 6px; color: var(--text-secondary); text-decoration: none; }
.issues-tag-btn:hover { border-color: var(--accent); color: var(--accent); }
.issues-tag-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.issues-list { display: flex; flex-direction: column; gap: 16px; }
.issue-card { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; scroll-margin-top: 80px; transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.issue-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.issue-card .issue-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 10px; font-size: 14px; }
.issue-type-badge, .issue-status-badge { font-size: 12px; padding: 2px 8px; border-radius: 4px; font-weight: 500; }
.issue-type-badge.issue-type-suggestion { background: rgba(0,113,227,.12); color: var(--accent); }
.issue-type-badge.issue-type-bug { background: rgba(255,59,48,.12); color: #c00; }
.issue-status-badge { background: var(--bg); border: 1px solid var(--border); color: var(--text-secondary); }
.issue-card .issue-tag { font-size: 12px; padding: 2px 8px; background: var(--bg); border-radius: 4px; color: var(--text-secondary); }
.issue-card .issue-id { font-weight: 600; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.issue-card .issue-date, .issue-card .issue-author { color: var(--text-secondary); }
.issue-card .issue-rejected-by { color: var(--text-secondary); font-size: 13px; }
.issue-card .issue-title { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.issue-card .issue-body { margin: 0; color: var(--text-secondary); font-size: 15px; line-height: 1.5; }
.issues-empty { color: var(--text-secondary); margin: 0; }

/* 留言板 */
.guestbook-page { padding-top: 48px; padding-bottom: 60px; }
.guestbook-page .section-desc { margin-bottom: 24px; }
.guestbook-page .message { margin-bottom: 20px; padding: 12px 16px; border-radius: var(--radius); }
.guestbook-form-wrap {
    max-width: 560px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin-bottom: 40px;
    box-shadow: 0 2px 16px rgba(0,0,0,.04);
}
.guestbook-form .form-group { margin-bottom: 16px; }
.guestbook-form .form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 14px; }
.guestbook-textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
}
.guestbook-textarea:focus { outline: none; border-color: var(--accent); }
.guestbook-form .form-hint { font-size: 13px; color: var(--text-secondary); margin-top: 6px; }
.guestbook-form .btn { margin-top: 8px; }
.guestbook-list-title { font-size: 18px; font-weight: 600; margin: 0 0 20px; }
.guestbook-empty { color: var(--text-secondary); margin: 0 0 24px; }
.guestbook-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.guestbook-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.guestbook-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.guestbook-item-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.guestbook-author { font-weight: 600; font-size: 15px; }
.guestbook-date { font-size: 13px; color: var(--text-secondary); }
.guestbook-item-content { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); white-space: pre-wrap; word-break: break-word; }
.guestbook-page .pagination { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.guestbook-login-hint { color: var(--text-secondary); margin: 0 0 24px; }
.guestbook-login-hint a { color: var(--accent); text-decoration: none; }
.guestbook-login-hint a:hover { text-decoration: underline; }

/* 修改密码页（仪表盘入口） */
.change-password-page { padding-top: 48px; }
.change-password-desc { color: var(--text-secondary); margin: 0 0 24px; }
.change-password-card { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; max-width: 420px; }
.change-password-form .form-group { margin-bottom: 16px; }
.change-password-form .form-group label { display: block; font-weight: 500; margin-bottom: 6px; }
.change-password-form .form-input { width: 100%; max-width: 360px; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 15px; background: var(--bg); color: var(--text); box-sizing: border-box; }
.change-password-form .form-input:focus { outline: none; border-color: var(--accent); }
.change-password-form .form-actions { display: flex; gap: 12px; margin-top: 20px; }

/* 举报页 - 高级 UI */
.report-page { padding-top: 48px; padding-bottom: 28px; }
.report-intro {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 28px;
    max-width: 560px;
}
.report-form-msg { margin-bottom: 20px; max-width: 560px; }
.report-form-card {
    max-width: 560px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: 0 2px 16px rgba(0,0,0,.04), 0 1px 3px rgba(0,0,0,.03);
}
.report-form .form-group { margin-bottom: 24px; }
.report-form .form-group:last-of-type { margin-bottom: 0; }
.report-form .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}
.report-form .form-group .required { color: #c00; }
.report-form .form-group input[type="text"],
.report-form .form-group input[type="date"],
.report-form .form-group input[type="time"],
.report-form .form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    background: var(--bg);
    color: var(--text);
    transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.report-form .form-group.report-datetime-row { margin-bottom: 24px; }
.report-form .report-ended-label { display: flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; }
.report-form .report-ended-label input[type="checkbox"] { width: auto; margin: 0; }
.report-form .report-end-datetime-wrap .report-datetime-row { margin-bottom: 24px; }
.report-form .report-end-datetime-wrap .report-datetime-row:last-child { margin-bottom: 0; }
.report-datetime-display { font-size: 13px; color: var(--text-secondary); margin: 0 0 8px; }
.report-form .form-group input:focus,
.report-form .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0,113,227,.12);
}
.report-form .form-group textarea { min-height: 120px; resize: vertical; }
.report-form .form-hint { font-size: 13px; color: var(--text-secondary); margin: 8px 0 0; }

/* 举报原因下拉：与输入框统一风格，带自定义箭头 */
.report-reason-select-wrap {
    position: relative;
    width: 100%;
}
.report-reason-select-wrap::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--text-secondary);
    pointer-events: none;
}
.report-form .form-group-reason .report-reason-select {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 40px 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    background: var(--bg);
    color: var(--text);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.report-form .form-group-reason .report-reason-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0,113,227,.12);
}
.report-form .form-group-reason .report-reason-select:hover {
    border-color: var(--text-secondary);
}
.report-form .form-group-reason .report-reason-select option {
    padding: 8px 12px;
    background: var(--bg-elevated);
    color: var(--text);
}

.report-type-tabs {
    display: inline-flex;
    gap: 10px;
}
.report-type-tab {
    margin: 0;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
}
.report-type-tab:hover { color: var(--text); background: var(--bg-elevated); border-color: var(--text-secondary); }
.report-type-tab input { display: none; }
.report-type-tab:has(input:checked) {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.report-form .form-group:has(.report-type-tabs) label { margin-bottom: 10px; }
.report-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.report-form-actions .btn { min-width: 120px; }

.report-done-state {
    max-width: 480px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 2px 16px rgba(0,0,0,.04);
}
.report-done-title { font-size: 20px; font-weight: 600; margin: 0 0 8px; }
.report-done-text { color: var(--text-secondary); margin: 0 0 24px; }
.report-done-text a { color: var(--accent); }
.report-done-state .btn { margin: 0 6px; }

.report-empty-state {
    text-align: center;
    padding: 48px 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    max-width: 400px;
}
.report-empty-text { color: var(--text-secondary); margin: 0 0 20px; }

.report-list-my { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.report-card-my {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 22px;
    transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.report-card-my:hover { box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.report-card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin-bottom: 10px;
}
.report-id { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text-secondary); font-size: 14px; }
.report-type-badge, .report-status-badge {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 500;
}
.report-type-badge.report-type-player { background: rgba(37,99,235,.15); color: #1d4ed8; }
.report-type-badge.report-type-admin { background: rgba(234,88,12,.15); color: #c2410c; }
.report-status-badge.report-status-pending { background: rgba(245,158,11,.15); color: #b45309; }
.report-status-badge.report-status-processed { background: rgba(34,197,94,.12); color: #15803d; }
.report-status-badge.report-status-rejected { background: rgba(239,68,68,.1); color: #b91c1c; }
.report-date { font-size: 13px; color: var(--text-secondary); margin-left: auto; flex-shrink: 0; }
.report-card-header .report-id,
.report-card-header .report-type-badge,
.report-card-header .report-status-badge { flex-shrink: 0; }
.report-target {
    font-weight: 500; margin: 0 0 6px; font-size: 15px; max-width: 100%;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.report-datetime-display {
    margin: 0; font-size: 13px; color: var(--text-secondary); max-width: 100%;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.report-desc {
    margin: 0; font-size: 14px; color: var(--text-secondary); line-height: 1.5; max-width: 100%;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.report-result-display {
    margin: 10px 0 0; font-size: 14px; font-weight: 600; color: var(--accent); max-width: 100%;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.report-reason-display {
    margin: 6px 0 0; font-size: 14px; color: var(--text-secondary); max-width: 100%;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.report-actions-bottom { margin-top: 24px; }
.report-actions-bottom .link-muted { margin-left: 16px; color: var(--text-secondary); font-size: 14px; }
.report-actions-bottom .link-muted:hover { color: var(--accent); }

/* 举报页多步骤表单 */
:root {
    --report-primary: #6366f1;
    --report-primary-dark: #4f46e5;
    --report-secondary: #10b981;
    --report-danger: #ef4444;
    --report-text: #1f2937;
    --report-text-light: #6b7280;
    --report-light-gray: #f3f4f6;
    --report-border: #e5e7eb;
    --report-bg: #ffffff;
    --report-card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --report-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.report-page .report-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: var(--report-bg);
    border-radius: 24px;
    box-shadow: var(--report-card-shadow);
    border: 1px solid var(--report-border);
}
.report-page .report-header { text-align: center; margin-bottom: 3rem; }
.report-page .report-header h1 { font-size: 1.75rem; font-weight: 700; color: var(--report-text); margin-bottom: 0.5rem; }
.report-page .report-header p { color: var(--report-text-light); font-size: 1rem; }
.report-page .progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    position: relative;
    padding: 0 1rem;
}
.report-page .progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--report-border);
    z-index: 1;
    border-radius: 3px;
}
.report-page .step {
    position: relative;
    z-index: 2;
    background: var(--report-bg);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid var(--report-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--report-transition);
}
.report-page .step i { font-size: 1.1rem; color: var(--report-text-light); }
.report-page .step.active i { color: white; }
.report-page .step.active {
    border-color: var(--report-primary);
    background: var(--report-primary);
    color: white;
    transform: scale(1.08);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}
.report-page .step span {
    position: absolute;
    top: 52px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--report-text);
}
.report-page .form-step { display: none; animation: reportFadeIn 0.4s ease; }
.report-page .form-step.active { display: block; }
.report-page .form-step h2 { font-size: 1.25rem; margin-bottom: 1.5rem; color: var(--report-text); }
.report-page .report-form .form-group { margin-bottom: 1.5rem; }
.report-page .report-form label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--report-text); }
.report-page .report-form input[type="text"],
.report-page .report-form input[type="email"],
.report-page .report-form input[type="datetime-local"],
.report-page .report-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--report-border);
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--report-transition);
    background: var(--report-light-gray);
    box-sizing: border-box;
}
.report-page .report-form input:focus,
.report-page .report-form textarea:focus {
    outline: none;
    border-color: var(--report-primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    background: white;
}
.report-page .report-type-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.report-page .report-type { position: relative; }
.report-page .report-type input[type="radio"] { display: none; }
.report-page .report-type label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    border: 2px solid var(--report-border);
    border-radius: 16px;
    cursor: pointer;
    transition: var(--report-transition);
    background: var(--report-light-gray);
}
.report-page .report-type label:hover { transform: translateY(-2px); box-shadow: var(--report-card-shadow); }
.report-page .report-type label i { font-size: 1.75rem; margin-bottom: 0.5rem; color: var(--report-primary); transition: var(--report-transition); }
.report-page .report-type label span { font-size: 0.9rem; text-align: center; }
.report-page .report-type input[type="radio"]:checked + label {
    border-color: var(--report-primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}
.report-page .report-type input[type="radio"]:checked + label i { transform: scale(1.1); }
.report-page .upload-area {
    border: 3px dashed var(--report-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    background: var(--report-light-gray);
    opacity: 0.9;
}
.report-page .upload-area p { font-size: 0.95rem; color: var(--report-text); margin: 0.5rem 0; }
.report-page .upload-area p:first-of-type { font-size: 1rem; font-weight: 600; color: var(--report-danger); }
.report-page .upload-hint { font-size: 0.85rem; color: var(--report-text-light); }
.report-page .form-navigation { display: flex; justify-content: space-between; margin-top: 2rem; gap: 1rem; }
.report-page .form-navigation button {
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--report-transition);
}
.report-page .prev-btn { background: var(--report-light-gray); color: var(--report-text); }
.report-page .prev-btn:hover { background: var(--report-border); transform: translateY(-2px); }
.report-page .next-btn,
.report-page .submit-btn { background: var(--report-primary); color: white; }
.report-page .next-btn:hover,
.report-page .submit-btn:hover { background: var(--report-primary-dark); transform: translateY(-2px); }
.report-page .success-message { text-align: center; padding: 2rem 1rem; animation: reportFadeIn 0.5s ease; }
.report-page .success-message i { font-size: 3.5rem; color: var(--report-secondary); margin-bottom: 1rem; }
.report-page .success-message h2 { font-size: 1.5rem; color: var(--report-text); margin-bottom: 0.75rem; }
.report-page .success-message p { color: var(--report-text-light); margin: 0.5rem 0; }
.report-page .success-message p:last-of-type { margin-bottom: 1.25rem; }
.report-page .success-message #reportId { font-weight: 700; color: var(--report-primary); }
.report-page .new-report-btn {
    display: inline-block;
    margin-top: 2.5rem;
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    background: var(--report-secondary);
    color: white;
    transition: var(--report-transition);
}
.report-page .new-report-btn:hover { transform: translateY(-2px); }
.report-page .notification-options { display: flex; gap: 1.5rem; margin-top: 0.5rem; }
.report-page .notification-options label { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.report-page .checkbox-label { display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer; }
.report-page .checkbox-label input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; }
.report-page .error-message { color: var(--report-danger); font-size: 0.875rem; margin-top: 0.5rem; }
.report-page .report-form input.error,
.report-page .report-form textarea.error { border-color: var(--report-danger); }
@keyframes reportFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
    .report-page .report-container { margin: 1rem auto; padding: 1.5rem; border-radius: 16px; }
    .report-page .step { width: 36px; height: 36px; }
    .report-page .step span { display: none; }
    .report-page .report-type-options { grid-template-columns: 1fr; }
    .report-page .form-navigation { flex-direction: column; }
    .report-page .form-navigation button { width: 100%; }
}
