/* ===== 全局无障碍样式：大字号、高对比度、清晰焦点 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Noto Sans', system-ui, -apple-system, 'Roboto', sans-serif;
    background-color: #FEF9E8;
    color: #2C2B28;
    font-size: 1.2rem;
    line-height: 1.7;
    padding: 0;
}

/* ===== 屏幕阅读器专用类 ===== */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

a, button, .card-link, [role="button"], input, select, textarea, .quiz-option, .rating-star, .submit-comment {
    transition: all 0.1s ease;
}

a:focus-visible, button:focus-visible, .card:focus-within, .book-item:focus-within,
.activity-card:focus-within, .person-card:focus-within, .quiz-option:focus-within,
select:focus-visible, input:focus-visible, textarea:focus-visible, .rating-star:focus-visible {
    outline: 4px solid #FFB347;
    outline-offset: 4px;
    border-radius: 12px;
}

/* ===== 跳过链接 ===== */
.skip-link {
    position: absolute;
    top: -60px;
    left: 0;
    background: #E67E22;
    color: #000;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: bold;
    z-index: 1000;
    border-radius: 0 0 16px 0;
    font-size: 1.1rem;
}

.skip-link:focus {
    top: 0;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

/* ========== 导航栏样式 ========== */
.navbar {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF8F0 100%);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid #FFD89A;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.logo-icon:hover {
    transform: scale(1.02);
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border: 2px solid #FFD89A;
}

.logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.3;
}

.logo-zh {
    font-size: 1.2rem;
    font-weight: 800;
    color: #C0392B;
    letter-spacing: -0.3px;
}

.logo-sub-zh {
    font-size: 0.75rem;
    font-weight: 500;
    color: #E67E22;
    letter-spacing: 0.3px;
}

.logo-en {
    font-size: 1.2rem;
    font-weight: 800;
    color: #C0392B;
    letter-spacing: -0.3px;
}

.logo-sub-en {
    font-size: 0.7rem;
    font-weight: 500;
    color: #E67E22;
    letter-spacing: 0.3px;
}

.global-lang-btn {
    background: linear-gradient(135deg, #E67E22, #D35400);
    border: none;
    color: white;
    font-weight: bold;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
    margin: 0;
}

.global-lang-btn:hover {
    background: linear-gradient(135deg, #D35400, #C0392B);
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: block;
}

.nav-links a {
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 32px;
    transition: all 0.2s ease;
}

.nav-links a:hover, .nav-links a:focus {
    background-color: #FFE0B5;
}

.nav-zh {
    font-size: 1rem;
    font-weight: 700;
    color: #3E2C1F;
    white-space: nowrap;
}

.nav-links a:hover .nav-zh,
.nav-links a:focus .nav-zh {
    color: #C0392B;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #C0392B;
    padding: 0.3rem 0.6rem;
    margin: 0;
    border-radius: 12px;
}

.nav-toggle:hover {
    background-color: #FFE0B5;
}

/* ===== 首页样式 ===== */
.about-section {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFFDF5 100%);
    border-radius: 48px;
    padding: 2rem 2.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 12px 28px rgba(0,0,0,0.06);
    border: 1px solid #FFE8D0;
}

.about-section h2 {
    font-size: 1.8rem;
    color: #C0392B;
    margin-bottom: 1.5rem;
    border-left: 5px solid #E67E22;
    padding-left: 1rem;
}

.about-section h3 {
    font-size: 1.4rem;
    color: #E67E22;
    margin: 1.5rem 0 0.8rem 0;
}

.about-section p {
    margin-bottom: 1rem;
    text-align: justify;
}

.about-section .quote {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    color: #C0392B;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #FFF0DC;
    border-radius: 32px;
}

.about-section .contact {
    background: #FFF0DC;
    padding: 0.8rem 1.2rem;
    border-radius: 40px;
    display: inline-block;
    font-weight: bold;
    margin-top: 0.5rem;
}

/* ===== About 页面样式 ===== */
.about-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0.5rem 0;
}

.about-page .about-hero {
    background: linear-gradient(135deg, #2C2B28 0%, #5D4037 100%);
    border-radius: 48px;
    padding: 2.5rem 2rem;
    margin: 1.5rem 0;
    color: #FEF9E8;
    text-align: center;
}

.about-page .about-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    letter-spacing: -0.5px;
}

.about-page .about-hero .hero-sub {
    font-size: 1.2rem;
    opacity: 0.8;
    font-weight: 300;
    font-style: italic;
}

.about-page .about-body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-page .about-block {
    background: #FFFFFF;
    border-radius: 40px;
    padding: 2rem 2.5rem;
    border: 1px solid #FFE8D0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}

.about-page .about-block h2 {
    font-size: 1.6rem;
    color: #C0392B;
    margin-bottom: 1.2rem;
    border-left: 5px solid #E67E22;
    padding-left: 1rem;
}

.about-page .about-block p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #2C2B28;
    margin-bottom: 1rem;
}

.about-page .about-block p:last-child {
    margin-bottom: 0;
}

/* Founder 区域 */
.founder-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    background: #FFFDF5;
    border-radius: 40px;
    padding: 2rem 2.5rem;
    border: 1px solid #FFE8D0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}

.founder-section .founder-photo {
    flex: 0 0 180px;
    text-align: center;
}

.founder-section .founder-photo img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #E67E22;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.founder-section .founder-photo .founder-name {
    display: block;
    margin-top: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: #C0392B;
}

.founder-section .founder-photo .founder-title {
    display: block;
    font-size: 0.85rem;
    color: #9B6A42;
    font-style: italic;
}

.founder-section .founder-bio {
    flex: 1;
    min-width: 260px;
}

.founder-section .founder-bio p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #2C2B28;
    margin-bottom: 1rem;
}

.founder-section .founder-bio p:last-child {
    margin-bottom: 0;
}

/* ===== 骨干成员样式 ===== */
.team-section {
    background: #FFFDF5;
    border-radius: 40px;
    padding: 2rem 2.5rem;
    border: 1px solid #FFE8D0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}

.team-section h2 {
    font-size: 1.6rem;
    color: #C0392B;
    margin-bottom: 1.5rem;
    border-left: 5px solid #E67E22;
    padding-left: 1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.team-member {
    background: #FFFFFF;
    border-radius: 32px;
    padding: 1.8rem 1.5rem;
    text-align: center;
    border: 1px solid #FFE8D0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.team-member .member-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #E67E22;
    margin-bottom: 0.8rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.team-member .member-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #C0392B;
    margin-bottom: 0.2rem;
}

.team-member .member-role {
    font-size: 0.9rem;
    color: #E67E22;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.team-member .member-info {
    font-size: 0.95rem;
    color: #7F5E3A;
    line-height: 1.6;
}

/* ===== 有声书库样式 ===== */
.library-page {
    max-width: 1200px;
    margin: 0 auto;
}

.library-header {
    text-align: center;
    padding: 1.5rem 0 1rem 0;
}

.library-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #C0392B;
    margin-bottom: 0.3rem;
    letter-spacing: -1px;
}

.library-header .library-subtitle {
    font-size: 1.3rem;
    color: #E67E22;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 1.2rem;
}

.library-header .library-intro {
    background: #FFF8F0;
    border-radius: 32px;
    padding: 1.5rem 2rem;
    border-left: 5px solid #E67E22;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}

.library-header .library-intro p {
    margin-bottom: 0.8rem;
    line-height: 1.8;
    font-size: 1.05rem;
    color: #3E2C1F;
}

.library-header .library-intro p:last-child {
    margin-bottom: 0;
}

/* ===== 分类筛选按钮 ===== */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.5rem 0 1rem 0;
    justify-content: center;
}

.filter-btn {
    background: #FEFCF5;
    border: 2px solid #E6D5B8;
    color: #3E2C1F;
    padding: 0.6rem 1.8rem;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
}

.filter-btn:hover {
    background: #FFF0DC;
    border-color: #D4B898;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #E67E22, #D35400);
    border-color: #E67E22;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

.filter-btn:focus-visible {
    outline: 4px solid #FFB347;
    outline-offset: 4px;
}

/* ===== 分类描述 ===== */
.category-description {
    background: #FFFDF5;
    border-radius: 28px;
    padding: 1.2rem 2rem;
    margin: 0.8rem 0 1.5rem 0;
    border: 1px solid #FFE8D0;
    text-align: center;
}

.category-description h3 {
    font-size: 1.2rem;
    color: #C0392B;
    margin-bottom: 0.5rem;
}

.category-description p {
    font-size: 1rem;
    color: #5D4037;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* ===== 搜索栏样式 ===== */
.search-bar {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    margin: 1.2rem 0 1.8rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.search-bar input {
    flex: 1;
    min-width: 200px;
    max-width: 500px;
    background: #FEFCF5;
    border: 2px solid #E6D5B8;
    border-radius: 40px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-family: inherit;
}

.search-bar input:focus {
    border-color: #E67E22;
    outline: none;
}

.search-bar button {
    background: linear-gradient(135deg, #E67E22, #D35400);
    color: white;
    border: none;
    padding: 0.7rem 1.2rem;
    font-size: 1.2rem;
    border-radius: 40px;
    cursor: pointer;
    margin: 0;
    font-weight: bold;
}

.search-bar button:hover {
    background: linear-gradient(135deg, #D35400, #C0392B);
}

#clearSearchBtn {
    background: #D4C4A8;
    color: #2C2B28;
    padding: 0.7rem 1rem;
    font-size: 1rem;
}

#clearSearchBtn:hover {
    background: #B8A88C;
}

.no-result {
    text-align: center;
    font-size: 1.2rem;
    color: #9B6A42;
    padding: 3rem 0;
    grid-column: 1 / -1;
}

/* ===== 书籍网格（通用） ===== */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 1.5rem 0 2rem 0;
}

.book-item {
    background: #FFFFFF;
    border-radius: 32px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    border: 1px solid #FFE8D0;
    box-shadow: 0 6px 14px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}
.book-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}
.book-item h3 {
    font-size: 1.1rem;
    margin: 0.75rem 0 0.25rem;
    color: #C0392B;
}
.book-item .book-author {
    font-size: 0.9rem;
    color: #9B6A42;
    margin-bottom: 0.75rem;
    font-style: italic;
}
.book-tag {
    display: inline-block;
    background: linear-gradient(135deg, #F5A623, #F39C12);
    color: #2C2B28;
    padding: 0.25rem 1rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0.5rem auto 0;
    width: fit-content;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.book-tag-large {
    display: inline-block;
    background: linear-gradient(135deg, #F5A623, #F39C12);
    color: #2C2B28;
    padding: 0.25rem 1.2rem;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0.5rem 0 1rem 0;
}

/* ===== 分页控件 ===== */
.pagination-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0 1rem 0;
    padding: 0.8rem 1.5rem;
    background: #FFF8F0;
    border-radius: 60px;
    border: 1px solid #FFE0B5;
}
.page-size-selector {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: white;
    padding: 0.3rem 1.2rem;
    border-radius: 48px;
}
.page-size-selector label {
    font-weight: bold;
    font-size: 1rem;
    white-space: nowrap;
}
#pageSizeSelect {
    background: #FEF3E4;
    border: 1px solid #E67E22;
    border-radius: 40px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    min-width: 85px;
}
.pagination-controls {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    flex-wrap: wrap;
}
.pagination-controls button {
    background-color: #E67E22;
    border: none;
    color: #1E1B16;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: bold;
    border-radius: 40px;
    cursor: pointer;
    margin: 0;
}
.pagination-controls button:disabled {
    background-color: #D4C4A8;
    cursor: not-allowed;
    opacity: 0.6;
}
.page-info {
    font-size: 0.95rem;
    font-weight: 600;
    background: #FFF0DC;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    white-space: nowrap;
}

/* ===== 活动网格 ===== */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}
.activity-card {
    background: #FFFFFF;
    border-radius: 32px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    border: 1px solid #FFE8D0;
    box-shadow: 0 6px 14px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}
.activity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}
.activity-card p {
    margin: 0.3rem 0;
}

/* ===== 播放页 ===== */
.player-card {
    background: #FFFFFF;
    border-radius: 48px;
    padding: 2rem;
    margin: 1.5rem 0;
    border: 1px solid #FFF0DB;
}
.book-title {
    font-size: 2rem;
    font-weight: 700;
    color: #C0392B;
}
.author {
    font-size: 1.1rem;
    color: #7F5E3A;
    margin-bottom: 1rem;
    border-left: 3px solid #E67E22;
    padding-left: 1rem;
}
audio {
    width: 100%;
    margin: 1rem 0;
}

.audio-player-wrapper {
    margin: 1rem 0;
}

.audio-controls-hint {
    font-size: 0.9rem;
    color: #7F5E3A;
    background: #FFF8F0;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #FFE0B5;
}

/* ===== 评分 & 评论 ===== */
.rating-section {
    background: #FFF8F0;
    border-radius: 32px;
    padding: 1.5rem;
    margin: 1.8rem 0;
}
.stars-container {
    display: flex;
    gap: 0.8rem;
    margin: 1rem 0;
}
.rating-star {
    font-size: 2.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: #D4C4A8;
}
.rating-star.active {
    color: #F5B041;
}

.comment-section {
    background: #FFFFFF;
    border-radius: 32px;
    padding: 1.5rem;
    border: 1px solid #FFE4C2;
}
.comment-input-area {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
}
input, textarea, select {
    background: #FEFCF5;
    border: 2px solid #E6D5B8;
    border-radius: 28px;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    font-family: inherit;
    width: 100%;
}

/* ===== 通用按钮 ===== */
button {
    background-color: #E67E22;
    color: #1E1B16;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 48px;
    cursor: pointer;
    margin-top: 1rem;
}
.back-link {
    display: inline-block;
    margin: 1rem 0;
    background: #E67E22;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    color: #1E1B16;
    text-decoration: none;
    font-weight: bold;
}

/* ===== 活动详情 ===== */
.detail-card {
    background: white;
    border-radius: 48px;
    padding: 2.5rem 3rem;
    margin: 1.5rem 0;
    box-shadow: 0 8px 28px rgba(0,0,0,0.06);
    border: 1px solid #FFE8D0;
    transition: box-shadow 0.3s ease;
}

.detail-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.detail-card h2 {
    font-size: 2rem;
    color: #C0392B;
    margin-bottom: 1.5rem;
    border-left: 6px solid #E67E22;
    padding-left: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-info {
    background: linear-gradient(135deg, #FFF8F0 0%, #FFF3E6 100%);
    border-radius: 32px;
    padding: 1.2rem 1.8rem;
    margin-bottom: 2rem;
    border: 1px solid #FFE0B5;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
}

.event-date {
    font-size: 1.1rem;
    color: #E67E22;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-location {
    font-size: 1.05rem;
    color: #9B6A42;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #2C2B28;
    background: #FEFCF5;
    padding: 1.8rem 2rem;
    border-radius: 32px;
    margin-top: 0.5rem;
    border: 1px solid #FFF0E0;
}

.detail-content p {
    margin-bottom: 1.2rem;
    line-height: 1.9;
}

/* ========================================
   活动详情页 - 图片横排布局
   ======================================== */
.activity-images-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 2rem;
    padding-top: 1.8rem;
    border-top: 3px solid #FFE0B5;
    justify-content: center;
}

.activity-image-item {
    flex: 1 1 200px;
    min-width: 180px;
    max-width: 320px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    border: 2px solid #FFE8D0;
    background: #FFFDF5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.activity-image-item:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
}

.activity-image-bottom {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.activity-image-item:hover .activity-image-bottom {
    transform: scale(1.04);
}

.activity-images-bottom:has(.activity-image-item:only-child) {
    justify-content: center;
}
.activity-images-bottom:has(.activity-image-item:only-child) .activity-image-item {
    flex: 0 1 480px;
    max-width: 600px;
}
.activity-images-bottom:has(.activity-image-item:only-child) .activity-image-bottom {
    height: 340px;
}
.activity-images-bottom:has(.activity-image-item:nth-child(2):last-child) .activity-image-item {
    flex: 1 1 280px;
    max-width: 420px;
}

/* ========================================
   录制指南样式
   ======================================== */
.tutorial-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 0.5rem 0;
}

.tutorial-hero {
    background: linear-gradient(135deg, #2C2B28 0%, #5D4037 100%);
    border-radius: 48px;
    padding: 2.5rem 2rem;
    margin: 1.5rem 0;
    color: #FEF9E8;
    text-align: center;
}

.tutorial-hero h1 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.tutorial-hero .hero-sub {
    font-size: 1.2rem;
    opacity: 0.85;
    font-weight: 300;
}

.tutorial-intro {
    background: #FFF8F0;
    border-radius: 32px;
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
    border-left: 5px solid #E67E22;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #3E2C1F;
}

.tutorial-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.tutorial-step {
    display: flex;
    gap: 1.5rem;
    background: #FFFFFF;
    border-radius: 32px;
    padding: 1.8rem 2rem;
    border: 1px solid #FFE8D0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
    align-items: flex-start;
}

.tutorial-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.tutorial-step .step-icon {
    font-size: 2.8rem;
    flex-shrink: 0;
    width: 60px;
    text-align: center;
    line-height: 1.2;
    margin-top: 0.1rem;
}

.tutorial-step .step-content {
    flex: 1;
}

.tutorial-step .step-number {
    font-size: 0.85rem;
    font-weight: 700;
    color: #E67E22;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.tutorial-step .step-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #C0392B;
    margin-bottom: 0.5rem;
}

.tutorial-step .step-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #2C2B28;
    margin: 0;
}

.tutorial-footer-thanks {
    text-align: center;
    background: linear-gradient(135deg, #FFF0DB 0%, #FFE8D0 100%);
    padding: 2rem 2.5rem;
    border-radius: 32px;
    margin: 2rem 0 1rem 0;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #3E2C1F;
    font-weight: 500;
    border: 1px solid #FFD89A;
}

/* ===== 加入志愿者页面样式 ===== */
.volunteer-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 0.5rem 0;
}

.volunteer-hero {
    background: linear-gradient(135deg, #2C2B28 0%, #5D4037 100%);
    border-radius: 48px;
    padding: 2.5rem 2rem;
    margin: 1.5rem 0;
    color: #FEF9E8;
    text-align: center;
}

.volunteer-hero h1 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    letter-spacing: -0.5px;
}

.volunteer-hero .volunteer-subtitle {
    font-size: 1.1rem;
    opacity: 0.7;
    font-weight: 300;
}

.volunteer-intro {
    background: #FFF8F0;
    border-radius: 32px;
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
    border-left: 5px solid #E67E22;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #3E2C1F;
}

.volunteer-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.volunteer-section {
    background: #FFFFFF;
    border-radius: 32px;
    padding: 1.8rem 2rem;
    border: 1px solid #FFE8D0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.volunteer-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.volunteer-section h3 {
    font-size: 1.0rem;
    font-weight: 700;
    color: #C0392B;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #FFE0B5;
}

.volunteer-section p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #2C2B28;
    margin: 0;
}

.volunteer-apply {
    text-align: center;
    margin: 2.5rem 0 1.5rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #FFF0DB 0%, #FFE8D0 100%);
    border-radius: 32px;
    border: 1px solid #FFD89A;
}

.volunteer-apply .apply-btn {
    display: inline-block;
    background: linear-gradient(135deg, #E67E22, #D35400);
    color: #FFFFFF;
    padding: 1rem 3rem;
    border-radius: 48px;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(230, 126, 34, 0.3);
}

.volunteer-apply .apply-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 28px rgba(230, 126, 34, 0.4);
}

.volunteer-apply .apply-hint {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #7F5E3A;
}

/* ===== 线下志愿服务页面样式 ===== */
.outreach-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0.5rem 0;
}

.outreach-hero {
    background: linear-gradient(135deg, #2C2B28 0%, #5D4037 100%);
    border-radius: 48px;
    padding: 2.5rem 2rem;
    margin: 1.5rem 0;
    color: #FEF9E8;
    text-align: center;
}

.outreach-hero h1 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    letter-spacing: -0.5px;
}

.outreach-hero .outreach-subtitle {
    font-size: 1.1rem;
    opacity: 0.7;
    font-weight: 300;
}

.outreach-intro {
    background: #FFF8F0;
    border-radius: 32px;
    padding: 1.8rem 2.5rem;
    margin: 1.5rem 0;
    border-left: 5px solid #E67E22;
    font-size: 1.05rem;
    line-height: 1.9;
    color: #3E2C1F;
}

.outreach-intro p {
    margin-bottom: 1rem;
}

.outreach-intro p:last-child {
    margin-bottom: 0;
}

.outreach-intro .outreach-closing {
    font-weight: 500;
    color: #C0392B;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 2px solid #FFE0B5;
}

.outreach-activities h2 {
    font-size: 1.6rem;
    color: #C0392B;
    text-align: center;
    margin: 2rem 0 1.5rem 0;
}

.outreach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.outreach-activity {
    background: #FFFFFF;
    border-radius: 32px;
    padding: 1.8rem 2rem;
    border: 1px solid #FFE8D0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.outreach-activity:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.outreach-activity h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #E67E22;
    margin-bottom: 0.6rem;
}

.outreach-activity p {
    font-size: 1rem;
    line-height: 1.7;
    color: #2C2B28;
    margin: 0;
}

/* ===== 无障碍声明弹窗 ===== */
.statement-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.statement-modal {
    background: #FFFFFF;
    border-radius: 32px;
    max-width: 800px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid #E67E22;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.statement-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid #FFE0B5;
    flex-shrink: 0;
}

.statement-modal-header h2 {
    font-size: 1.6rem;
    color: #C0392B;
    margin: 0;
}

.statement-modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #7F5E3A;
    padding: 0 0.5rem;
    margin: 0;
    transition: color 0.2s;
}

.statement-modal-close:hover {
    color: #C0392B;
}

.statement-modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
    line-height: 1.8;
}

.statement-modal-body h3 {
    font-size: 1.2rem;
    color: #E67E22;
    margin: 1.5rem 0 0.8rem 0;
}

.statement-modal-body p {
    margin-bottom: 0.8rem;
}

.statement-modal-body ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.statement-modal-body ul li {
    padding: 0.5rem 0.8rem;
    border-bottom: 1px solid #FFF0DC;
    line-height: 1.6;
}

.statement-modal-body ul li:last-child {
    border-bottom: none;
}

.statement-modal-body kbd {
    background: #2C2B28;
    color: #FEF9E8;
    padding: 0.15rem 0.6rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: monospace;
    white-space: nowrap;
}

/* ===== 页脚 ===== */
footer {
    background: #2C2B28;
    color: #FEF9E8;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
    font-size: 0.95rem;
}

/* ===== 备案号样式 - 独立放置，避免被工具条遮挡 ===== */
.icp-container {
    margin-top: 1.8rem;
    padding-bottom: 3.5rem;  /* 为底部固定工具条留出安全空间 */
    text-align: center;
}

.icp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #B8A88C;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
}

.icp-link:hover {
    color: #FFD89A;
    background: rgba(255, 255, 255, 0.1);
}

.icp-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}

/* 深色模式适配 */
body.dark-mode .icp-link {
    color: #8a8a8a;
}
body.dark-mode .icp-link:hover {
    color: #F5A623;
}

/* 高对比度模式适配 */
body.high-contrast-mode .icp-link {
    color: #FFD700 !important;
}
body.high-contrast-mode .icp-link:hover {
    color: #FFFFFF !important;
    background: rgba(255, 215, 0, 0.2) !important;
}

/* 移动端调整 */
@media (max-width: 640px) {
    .icp-container {
        padding-bottom: 4.5rem;  /* 手机端工具条更高，留更多空间 */
    }
    .icp-link {
        font-size: 0.75rem;
        padding: 0.2rem 0.8rem;
    }
    .icp-icon {
        width: 16px;
        height: 16px;
    }
}

/* ========================================
   无障碍辅助工具条 - 手机适配
   ======================================== */

.accessibility-toolbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #2C2B28 0%, #1a1a18 100%);
    border-top: 3px solid #E67E22;
    padding: 0.3rem 0.5rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    max-height: 60vh;
}

.accessibility-toolbar.collapsed {
    transform: translateY(calc(100% - 48px));
}

.accessibility-toolbar.fixed {
    position: sticky;
    bottom: 0;
}

.toolbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.toolbar-toggle {
    background: #E67E22;
    border: none;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.2s;
    flex-shrink: 0;
    margin: 0;
}

.toolbar-toggle:hover {
    background: #D35400;
    transform: scale(1.05);
}

.toolbar-toggle .toggle-icon {
    display: inline-block;
}

.toolbar-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    align-items: center;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
    max-height: 50vh;
    overflow-y: auto;
    padding: 0.2rem 0;
}

.toolbar-items.collapsed {
    display: none;
}

.tool-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FEF9E8;
    padding: 0.3rem 0.6rem;
    border-radius: 16px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    white-space: nowrap;
    margin: 0;
    font-weight: 500;
}

.tool-btn:hover {
    background: rgba(230, 126, 34, 0.4);
    border-color: #E67E22;
    transform: scale(1.05);
}

.tool-btn:focus-visible {
    outline: 3px solid #FFB347;
    outline-offset: 2px;
}

.tool-btn .tool-icon {
    font-size: 1rem;
}

.tool-btn .tool-label {
    font-size: 0.65rem;
    opacity: 0.9;
}

.toolbar-auth {
    display: flex;
    gap: 0.2rem;
    align-items: center;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.auth-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FEF9E8;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    cursor: pointer;
    transition: 0.2s;
    margin: 0;
    font-weight: 400;
}

.auth-btn:hover {
    background: rgba(230, 126, 34, 0.3);
    border-color: #E67E22;
}

#assistToggle {
    background: rgba(46, 204, 113, 0.2);
    border-color: #2ECC71;
    color: #2ECC71;
    font-weight: 600;
}

#assistToggle:hover {
    background: rgba(46, 204, 113, 0.3);
}

#assistToggle.active {
    background: rgba(231, 76, 60, 0.3);
    border-color: #E74C3C;
    color: #E74C3C;
}

/* ===== 手机端工具条优化 ===== */
@media (max-width: 768px) {
    .toolbar-inner {
        gap: 0.2rem;
        justify-content: flex-start;
    }
    
    .toolbar-items {
        gap: 0.15rem;
        max-height: 40vh;
        padding: 0.1rem 0;
        justify-content: flex-start;
        flex: 1 1 100%;
        order: 2;
    }
    
    .tool-btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.65rem;
        border-radius: 12px;
    }
    
    .tool-btn .tool-icon {
        font-size: 0.8rem;
    }
    
    .tool-btn .tool-label {
        font-size: 0.55rem;
    }
    
    .toolbar-auth {
        order: 1;
        flex: 0 0 auto;
        gap: 0.15rem;
    }
    
    .toolbar-toggle {
        order: 0;
        font-size: 1rem;
        padding: 0.2rem 0.6rem;
    }
    
    .auth-btn {
        font-size: 0.55rem;
        padding: 0.15rem 0.4rem;
        border-radius: 10px;
    }
    
    .accessibility-toolbar.collapsed {
        transform: translateY(calc(100% - 40px));
    }
    
    .accessibility-toolbar {
        padding: 0.2rem 0.3rem;
        max-height: 65vh;
    }
}

@media (max-width: 480px) {
    .tool-btn {
        padding: 0.15rem 0.3rem;
        font-size: 0.55rem;
        border-radius: 8px;
    }
    
    .tool-btn .tool-icon {
        font-size: 0.7rem;
    }
    
    .tool-btn .tool-label {
        font-size: 0.5rem;
    }
    
    .auth-btn {
        font-size: 0.5rem;
        padding: 0.1rem 0.3rem;
    }
    
    .toolbar-toggle {
        font-size: 0.85rem;
        padding: 0.15rem 0.4rem;
    }
    
    .toolbar-items {
        gap: 0.1rem;
    }
}

/* ===== 辅助模式样式 ===== */
body.big-cursor {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><circle cx="24" cy="24" r="22" fill="none" stroke="%23FF6B00" stroke-width="4"/><circle cx="24" cy="24" r="14" fill="%23FF6B00" opacity="0.3"/><circle cx="24" cy="24" r="4" fill="%23FF6B00"/></svg>') 24 24, auto !important;
}

body.big-cursor * {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><circle cx="24" cy="24" r="22" fill="none" stroke="%23FF6B00" stroke-width="4"/><circle cx="24" cy="24" r="14" fill="%23FF6B00" opacity="0.3"/><circle cx="24" cy="24" r="4" fill="%23FF6B00"/></svg>') 24 24, auto !important;
}

/* 高对比度模式 */
body.scheme-high-contrast {
    background-color: #000000 !important;
    color: #FFFFFF !important;
}

body.scheme-high-contrast a,
body.scheme-high-contrast .nav-zh,
body.scheme-high-contrast .logo-zh {
    color: #FFD700 !important;
}

body.scheme-high-contrast .navbar,
body.scheme-high-contrast .about-section,
body.scheme-high-contrast .detail-card,
body.scheme-high-contrast .player-card,
body.scheme-high-contrast .book-item,
body.scheme-high-contrast .activity-card {
    background: #1a1a1a !important;
    border-color: #444 !important;
}

body.scheme-high-contrast button,
body.scheme-high-contrast .back-link,
body.scheme-high-contrast .global-lang-btn {
    background: #FFFFFF !important;
    color: #000000 !important;
}

/* 蓝光模式 */
body.scheme-blue-light {
    background-color: #E8F0FE !important;
    color: #001F3F !important;
}

body.scheme-blue-light .navbar,
body.scheme-blue-light .about-section,
body.scheme-blue-light .detail-card,
body.scheme-blue-light .player-card {
    background: #D4E4F7 !important;
}

/* 灰度模式 */
body.scheme-gray-scale {
    background-color: #F5F5F5 !important;
    color: #333333 !important;
}

body.scheme-gray-scale img {
    filter: grayscale(100%) !important;
}

/* 读屏模式 */
body.screen-reader-mode *:focus {
    outline: 4px solid #FF6B00 !important;
    outline-offset: 4px !important;
}

body.screen-reader-mode a,
body.screen-reader-mode button,
body.screen-reader-mode input,
body.screen-reader-mode select,
body.screen-reader-mode textarea {
    font-size: 1.2rem !important;
    padding: 0.8rem 1.2rem !important;
}

/* ===== 语音播报覆盖层 ===== */
.speech-overlay {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.85);
    color: #FFF;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-size: 1.2rem;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-weight: 500;
    max-width: 90%;
    text-align: center;
}

.speech-overlay.show {
    opacity: 1;
}

/* ========================================
   无障碍设置面板样式
   ======================================== */

.accessibility-settings-wrapper {
    position: relative;
    display: inline-block;
    margin: 0.5rem 1rem;
    float: right;
}

.accessibility-settings-toggle {
    background: linear-gradient(135deg, #2C2B28, #4A4A4A);
    color: #FEF9E8;
    border: 2px solid #E67E22;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.accessibility-settings-toggle:hover {
    background: linear-gradient(135deg, #E67E22, #D35400);
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(230, 126, 34, 0.3);
}

.accessibility-settings-toggle .settings-label {
    font-size: 0.9rem;
}

.accessibility-settings-panel {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 320px;
    max-width: 90vw;
    background: #FFFFFF;
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 12px 48px rgba(0,0,0,0.2);
    border: 2px solid #E67E22;
    z-index: 9998;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.settings-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.settings-panel-header h3 {
    font-size: 1.2rem;
    color: #C0392B;
    margin: 0;
}

.settings-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #7F5E3A;
    padding: 0 0.3rem;
    margin: 0;
}

.settings-close:hover {
    color: #C0392B;
}

.settings-group {
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #FFF0DC;
}

.settings-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.settings-group label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: #3E2C1F;
    margin-bottom: 0.4rem;
}

.settings-control {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.settings-btn {
    background: #FEF3E4;
    border: 2px solid #E6D5B8;
    color: #3E2C1F;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
}

.settings-btn:hover {
    background: #E67E22;
    border-color: #E67E22;
    color: #FFFFFF;
}

.settings-value {
    font-size: 1rem;
    font-weight: 600;
    min-width: 50px;
    text-align: center;
    color: #2C2B28;
}

.settings-toggle-btn {
    background: #FEF3E4;
    border: 2px solid #E6D5B8;
    color: #3E2C1F;
    padding: 0.4rem 1.2rem;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
}

.settings-toggle-btn:hover {
    background: #E67E22;
    border-color: #E67E22;
    color: #FFFFFF;
}

.settings-toggle-btn .toggle-status {
    font-weight: 700;
}

.settings-reset-btn {
    background: #E74C3C;
    border: none;
    color: #FFFFFF;
    padding: 0.4rem 1.5rem;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
}

.settings-reset-btn:hover {
    background: #C0392B;
    transform: scale(1.02);
}


/* ========================================
   "朗读本页内容" 按钮样式
   ======================================== */

.listen-to-page-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-end;
    padding: 0.5rem 1rem;
    flex-wrap: wrap;
}

.listen-to-page-btn {
    background: linear-gradient(135deg, #2C2B28, #4A4A4A);
    color: #FEF9E8;
    border: 2px solid #3498DB;
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.listen-to-page-btn:hover {
    background: linear-gradient(135deg, #3498DB, #2980B9);
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.3);
}

.listen-to-page-btn.active {
    background: linear-gradient(135deg, #E67E22, #D35400);
    border-color: #E67E22;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.listen-stop-btn {
    background: #E74C3C;
    color: #FFFFFF;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.listen-stop-btn:hover {
    background: #C0392B;
    transform: scale(1.02);
}


/* ========================================
   语音搜索按钮样式
   ======================================== */

.voice-search-btn {
    background: linear-gradient(135deg, #9B59B6, #8E44AD);
    color: #FFFFFF;
    border: none;
    padding: 0.7rem 1rem;
    border-radius: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
}

.voice-search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(155, 89, 182, 0.4);
}

.voice-search-btn.listening {
    background: linear-gradient(135deg, #E74C3C, #C0392B);
    animation: pulse 1s infinite;
}

/* ========================================
   深色模式样式
   ======================================== */

body.dark-mode {
    background-color: #1a1a1a;
    color: #E8E0D8;
}

body.dark-mode .navbar {
    background: #2a2a2a;
    border-bottom-color: #444;
}

body.dark-mode .nav-zh {
    color: #E8E0D8;
}

body.dark-mode .logo-zh {
    color: #F5A623;
}

body.dark-mode .about-section,
body.dark-mode .player-card,
body.dark-mode .book-item,
body.dark-mode .activity-card,
body.dark-mode .volunteer-section,
body.dark-mode .outreach-activity,
body.dark-mode .comment-section,
body.dark-mode .rating-section {
    background: #2a2a2a;
    border-color: #444;
    color: #E8E0D8;
}

body.dark-mode .about-section h2,
body.dark-mode .about-section h3,
body.dark-mode .book-item h3,
body.dark-mode .volunteer-section h3,
body.dark-mode .outreach-activity h3 {
    color: #F5A623;
}

body.dark-mode .book-item .book-author,
body.dark-mode .author {
    color: #B8A88C;
}

body.dark-mode .back-link,
body.dark-mode .global-lang-btn {
    background: #E67E22;
    color: #1E1B16;
}

body.dark-mode .search-bar input {
    background: #333;
    border-color: #555;
    color: #E8E0D8;
}

body.dark-mode .search-bar input::placeholder {
    color: #888;
}

body.dark-mode .category-filters .filter-btn {
    background: #333;
    border-color: #555;
    color: #E8E0D8;
}

body.dark-mode .category-filters .filter-btn.active {
    background: linear-gradient(135deg, #E67E22, #D35400);
    color: #FFFFFF;
}

body.dark-mode .pagination-bar {
    background: #2a2a2a;
    border-color: #444;
}

body.dark-mode .page-info {
    background: #333;
    color: #E8E0D8;
}

body.dark-mode .pagination-controls button {
    background: #E67E22;
    color: #1E1B16;
}

body.dark-mode .pagination-controls button:disabled {
    background: #555;
    color: #888;
}

body.dark-mode .tutorial-hero,
body.dark-mode .volunteer-hero,
body.dark-mode .outreach-hero {
    background: linear-gradient(135deg, #1a1a1a, #333);
}

body.dark-mode .tutorial-intro,
body.dark-mode .volunteer-intro,
body.dark-mode .outreach-intro {
    background: #2a2a2a;
    color: #E8E0D8;
    border-color: #555;
}

body.dark-mode .tutorial-step {
    background: #2a2a2a;
    border-color: #444;
}

body.dark-mode .tutorial-step .step-title {
    color: #F5A623;
}

body.dark-mode .tutorial-footer-thanks {
    background: #2a2a2a;
    border-color: #555;
    color: #E8E0D8;
}

body.dark-mode .volunteer-apply {
    background: #2a2a2a;
    border-color: #555;
}

body.dark-mode .volunteer-apply .apply-hint {
    color: #B8A88C;
}

body.dark-mode .accessibility-settings-panel {
    background: #2a2a2a;
    border-color: #E67E22;
}

body.dark-mode .settings-panel-header h3 {
    color: #F5A623;
}

body.dark-mode .settings-group label {
    color: #E8E0D8;
}

body.dark-mode .settings-group {
    border-bottom-color: #444;
}

body.dark-mode .settings-btn,
body.dark-mode .settings-toggle-btn {
    background: #333;
    border-color: #555;
    color: #E8E0D8;
}

body.dark-mode .settings-btn:hover,
body.dark-mode .settings-toggle-btn:hover {
    background: #E67E22;
    color: #FFFFFF;
}

body.dark-mode .settings-value {
    color: #E8E0D8;
}

body.dark-mode .settings-close {
    color: #B8A88C;
}

body.dark-mode .settings-close:hover {
    color: #F5A623;
}

/* ========================================
   高对比度模式样式
   ======================================== */

body.high-contrast-mode {
    background-color: #000000 !important;
    color: #FFFFFF !important;
}

body.high-contrast-mode .navbar {
    background: #000000 !important;
    border-bottom-color: #FFD700 !important;
}

body.high-contrast-mode .nav-zh,
body.high-contrast-mode .logo-zh,
body.high-contrast-mode a {
    color: #FFD700 !important;
}

body.high-contrast-mode .back-link,
body.high-contrast-mode .global-lang-btn,
body.high-contrast-mode .filter-btn.active {
    background: #FFFFFF !important;
    color: #000000 !important;
}

body.high-contrast-mode .filter-btn {
    background: #000000 !important;
    border-color: #FFFFFF !important;
    color: #FFFFFF !important;
}

body.high-contrast-mode .book-item,
body.high-contrast-mode .activity-card,
body.high-contrast-mode .about-section,
body.high-contrast-mode .player-card,
body.high-contrast-mode .volunteer-section,
body.high-contrast-mode .outreach-activity {
    background: #1a1a1a !important;
    border-color: #FFD700 !important;
    color: #FFFFFF !important;
}

body.high-contrast-mode .book-item h3,
body.high-contrast-mode .about-section h2 {
    color: #FFD700 !important;
}

body.high-contrast-mode input,
body.high-contrast-mode textarea,
body.high-contrast-mode select {
    background: #000000 !important;
    border-color: #FFFFFF !important;
    color: #FFFFFF !important;
}

body.high-contrast-mode .pagination-bar {
    background: #000000 !important;
    border-color: #FFD700 !important;
}

body.high-contrast-mode .pagination-controls button {
    background: #FFFFFF !important;
    color: #000000 !important;
}

body.high-contrast-mode .page-info {
    background: #1a1a1a !important;
    color: #FFFFFF !important;
    border: 1px solid #FFD700 !important;
}

/* ========================================
   减少动画模式
   ======================================== */

body.reduce-motion *,
body.reduce-motion *::before,
body.reduce-motion *::after {
    transition-duration: 0.001s !important;
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
}

body.reduce-motion .book-item:hover,
body.reduce-motion .activity-card:hover,
body.reduce-motion .volunteer-section:hover,
body.reduce-motion .outreach-activity:hover {
    transform: none !important;
}

/* ========================================
   响应式：无障碍面板
   ======================================== */

@media (max-width: 768px) {
    .accessibility-settings-wrapper {
        float: none;
        display: block;
        margin: 0.5rem auto;
        text-align: center;
    }
    
    .accessibility-settings-panel {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        width: 90vw;
        max-width: 350px;
    }
    
    .accessibility-settings-toggle {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }
    
    .accessibility-settings-toggle .settings-label {
        font-size: 0.8rem;
    }
    
    .listen-to-page-wrapper {
        justify-content: center;
    }
    
    .listen-to-page-btn,
    .listen-stop-btn {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }
    
    .settings-group label {
        font-size: 0.85rem;
    }
    
    .settings-btn,
    .settings-toggle-btn {
        font-size: 0.85rem;
        padding: 0.3rem 0.6rem;
    }
    
    .settings-value {
        font-size: 0.85rem;
        min-width: 40px;
    }
}

@media (max-width: 480px) {
    .accessibility-settings-panel {
        width: 95vw;
        max-width: 320px;
        padding: 1rem;
    }
    
    .settings-panel-header h3 {
        font-size: 1rem;
    }
    
    .settings-group {
        margin-bottom: 0.6rem;
        padding-bottom: 0.5rem;
    }
}

/* ========================================
   首页轮播器样式
   ======================================== */

.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto 1.5rem auto;
    overflow: hidden;
    border-radius: 32px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    background: #2C2B28;
    aspect-ratio: 21 / 9;
    min-height: 200px;
    /* 移除 display: none，让 JS 控制 */
    display: block;
}

.hero-carousel.hidden {
    display: none !important;  /* 使用 !important 确保隐藏生效 */
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;  /* 新增：将图片焦点下移，从默认的 center center 改为偏下 */
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 2.5rem 2rem 2.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0.85));
    color: #FFFFFF;
    text-align: left;
}

.carousel-caption h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.carousel-caption p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* 轮播按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    margin: 0;
    padding: 0;
    backdrop-filter: blur(4px);
}

.carousel-btn:hover {
    background: rgba(230, 126, 34, 0.8);
    border-color: #E67E22;
    transform: translateY(-50%) scale(1.05);
}

.carousel-btn:focus-visible {
    outline: 3px solid #FFB347;
    outline-offset: 3px;
}

.carousel-prev {
    left: 16px;
}

.carousel-next {
    right: 16px;
}

/* 指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 10;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
}

.indicator-dot.active {
    background: #E67E22;
    border-color: #E67E22;
    transform: scale(1.2);
}

.indicator-dot:hover {
    background: rgba(230, 126, 34, 0.7);
    transform: scale(1.1);
}

.indicator-dot:focus-visible {
    outline: 3px solid #FFB347;
    outline-offset: 3px;
}

/* 轮播器响应式 */
@media (max-width: 768px) {
    .hero-carousel {
        border-radius: 20px;
        aspect-ratio: 16 / 9;
        min-height: 160px;
        margin-bottom: 1rem;
    }

    .carousel-caption {
        padding: 1.2rem 1.5rem 1.2rem 1.5rem;
    }

    .carousel-caption h2 {
        font-size: 1.4rem;
    }

    .carousel-caption p {
        font-size: 0.85rem;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .carousel-prev {
        left: 8px;
    }

    .carousel-next {
        right: 8px;
    }

    .carousel-indicators {
        bottom: 0.6rem;
        gap: 0.4rem;
    }

    .indicator-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .hero-carousel {
        border-radius: 14px;
        aspect-ratio: 4 / 3;
        min-height: 120px;
    }

    .carousel-caption {
        padding: 0.8rem 1rem 0.8rem 1rem;
    }

    .carousel-caption h2 {
        font-size: 1.1rem;
        margin-bottom: 0.1rem;
    }

    .carousel-caption p {
        font-size: 0.7rem;
    }

    .carousel-btn {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
        border-width: 1.5px;
    }

    .carousel-prev {
        left: 4px;
    }

    .carousel-next {
        right: 4px;
    }

    .carousel-indicators {
        bottom: 0.4rem;
        gap: 0.3rem;
    }

    .indicator-dot {
        width: 8px;
        height: 8px;
        border-width: 1.5px;
    }
}

/* 深色模式适配 */
body.dark-mode .hero-carousel {
    background: #1a1a1a;
}

body.dark-mode .carousel-btn {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

body.dark-mode .carousel-btn:hover {
    background: rgba(230, 126, 34, 0.7);
}

/* ===== 原有响应式 ===== */
@media (max-width: 950px) {
    .nav-container { padding: 0.6rem 1rem; }
    .nav-links a { padding: 0.4rem 0.7rem; }
    .nav-zh { font-size: 0.9rem; }
    .about-section { padding: 1.5rem; }
    .about-section h2 { font-size: 1.5rem; }
    .logo-img { width: 42px; height: 42px; }
    .logo-zh { font-size: 1rem; }
    .logo-sub-zh { font-size: 0.65rem; }
    .logo-en { font-size: 1rem; }
    .logo-sub-en { font-size: 0.6rem; }
    .detail-card { padding: 1.8rem 2rem; }
    .detail-card h2 { font-size: 1.6rem; }
    .detail-content { padding: 1.5rem; }
    .search-bar input { min-width: 150px; }
    .statement-modal-body { padding: 1.5rem; }
    .statement-modal-header { padding: 1rem 1.5rem; }
    .statement-modal-header h2 { font-size: 1.3rem; }
    .tutorial-step {
        padding: 1.2rem 1.2rem;
        gap: 1rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .tutorial-step .step-icon {
        font-size: 2.4rem;
        width: auto;
    }
    .tutorial-hero h1 {
        font-size: 2rem;
    }
    .library-header h1 {
        font-size: 2.2rem;
    }
    .category-filters {
        gap: 0.5rem;
    }
    .filter-btn {
        padding: 0.4rem 1.2rem;
        font-size: 0.9rem;
    }
    .volunteer-hero h1 {
        font-size: 2rem;
    }
    .volunteer-sections {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1rem;
    }
    .outreach-hero h1 {
        font-size: 2rem;
    }
    .outreach-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1rem;
    }
    .outreach-intro {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
    }
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.5rem;
    }
    .team-member .member-photo {
        width: 120px;
        height: 120px;
    }
    .founder-section .founder-photo {
        flex: 0 0 150px;
    }
    .founder-section .founder-photo img {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 850px) {
    .nav-container { justify-content: space-between; }
    .nav-links { order: 3; justify-content: center; width: 100%; margin-top: 0.5rem; }
    .global-lang-btn { order: 2; }
}

@media (max-width: 640px) {
    .nav-toggle { display: block; order: 2; }
    .global-lang-btn { order: 3; margin-left: auto; }
    .nav-links { display: none; flex-direction: column; width: 100%; order: 4; }
    .nav-links.show { display: flex; }
    .nav-links a { justify-content: center; }
    .about-section { padding: 1.2rem; }
    .about-section h2 { font-size: 1.3rem; }
    .about-section p { font-size: 1rem; }
    .pagination-bar { flex-direction: column; align-items: stretch; }
    .pagination-controls { justify-content: center; }
    .logo-img { width: 36px; height: 36px; }
    .logo-zh { font-size: 0.9rem; }
    .logo-sub-zh { font-size: 0.55rem; }
    .logo-en { font-size: 0.9rem; }
    .logo-sub-en { font-size: 0.5rem; }
    .logo-wrapper { gap: 0.5rem; }
    .detail-card { padding: 1.2rem; }
    .detail-card h2 { font-size: 1.3rem; }
    .event-info { 
        padding: 0.8rem 1rem; 
        flex-direction: column;
        gap: 0.5rem;
    }
    .detail-content { 
        padding: 1rem; 
        font-size: 0.95rem; 
    }
    .search-bar {
        flex-wrap: wrap;
        justify-content: center;
    }
    .search-bar input {
        min-width: 100%;
        flex: 1 1 100%;
        max-width: 100%;
    }
    .search-bar button {
        flex: 1;
        text-align: center;
        padding: 0.7rem 0.5rem;
    }

    .activity-images-bottom {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 1.5rem;
        padding-top: 1rem;
    }

    .activity-image-item {
        flex: 0 1 100%;
        max-width: 100%;
        width: 100%;
    }

    .activity-image-bottom {
        height: 200px;
    }

    .activity-images-bottom:has(.activity-image-item:only-child) .activity-image-item {
        flex: 0 1 100%;
        max-width: 100%;
    }
    .activity-images-bottom:has(.activity-image-item:only-child) .activity-image-bottom {
        height: 260px;
    }

    .activity-images-bottom:has(.activity-image-item:nth-child(2):last-child) .activity-image-item {
        flex: 0 1 100%;
        max-width: 100%;
    }

    .statement-modal {
        max-height: 90vh;
        border-radius: 24px;
    }
    .statement-modal-body { padding: 1rem; }
    .statement-modal-body ul li { font-size: 0.9rem; padding: 0.4rem 0.6rem; }
    .statement-modal-header h2 { font-size: 1.1rem; }
    .statement-modal-header { padding: 0.8rem 1rem; }

    .tutorial-hero {
        padding: 1.8rem 1.2rem;
        border-radius: 32px;
    }
    .tutorial-hero h1 {
        font-size: 1.6rem;
    }
    .tutorial-hero .hero-sub {
        font-size: 1rem;
    }
    .tutorial-intro {
        padding: 1rem 1.2rem;
        font-size: 1rem;
    }
    .tutorial-step {
        padding: 1rem 1.2rem;
        border-radius: 24px;
        gap: 0.8rem;
    }
    .tutorial-step .step-icon {
        font-size: 2rem;
    }
    .tutorial-step .step-title {
        font-size: 1.1rem;
    }
    .tutorial-step .step-description {
        font-size: 0.95rem;
    }
    .tutorial-footer-thanks {
        padding: 1.5rem 1.2rem;
        font-size: 1rem;
    }

    .library-header h1 {
        font-size: 1.8rem;
    }
    .library-header .library-subtitle {
        font-size: 1rem;
    }
    .category-filters {
        gap: 0.4rem;
    }
    .filter-btn {
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 30px;
    }
    .books-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.2rem;
    }
    .volunteer-sections {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .volunteer-hero h1 {
        font-size: 1.6rem;
    }
    .volunteer-hero .volunteer-subtitle {
        font-size: 0.95rem;
    }
    .outreach-hero h1 {
        font-size: 1.6rem;
    }
    .outreach-hero .outreach-subtitle {
        font-size: 0.95rem;
    }
    .outreach-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    .outreach-activity h3 {
        font-size: 1rem;
    }
    .outreach-activity p {
        font-size: 0.9rem;
    }
    .outreach-activities h2 {
        font-size: 1.2rem;
    }
    .about-page .about-block {
        padding: 1.5rem;
    }
    .about-page .about-hero h1 {
        font-size: 2rem;
    }
    .founder-section {
        flex-direction: column;
        align-items: center;
        padding: 1.5rem;
    }
    .founder-section .founder-photo {
        flex: 0 0 auto;
    }
    .founder-section .founder-photo img {
        width: 130px;
        height: 130px;
    }
    .team-section {
        padding: 1.5rem;
    }
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .team-member .member-photo {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .activity-image-bottom {
        height: 180px;
        border-radius: 14px;
    }

    .activity-images-bottom:has(.activity-image-item:only-child) .activity-image-bottom {
        height: 220px;
    }

    .activity-images-bottom {
        gap: 0.8rem;
    }

    .detail-card {
        padding: 1rem;
        border-radius: 32px;
    }

    .detail-content {
        padding: 0.8rem;
        font-size: 0.9rem;
        border-radius: 20px;
    }

    .event-info {
        padding: 0.6rem 0.8rem;
        border-radius: 20px;
    }
    .books-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }
    .book-item {
        padding: 1rem;
    }
    .book-item h3 {
        font-size: 0.9rem;
    }
    .book-item .book-author {
        font-size: 0.75rem;
    }
    .book-item .book-tag {
        font-size: 0.6rem;
        padding: 0.15rem 0.6rem;
    }
    .book-item small {
        font-size: 0.7rem !important;
    }
    .book-item div[style] {
        font-size: 1.8rem !important;
    }
    .pagination-bar {
        padding: 0.6rem 1rem;
        border-radius: 32px;
    }
    .page-size-selector {
        padding: 0.2rem 0.8rem;
    }
    .page-size-selector label {
        font-size: 0.8rem;
    }
    #pageSizeSelect {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
        min-width: 60px;
    }
    .pagination-controls button {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    .page-info {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }
    .volunteer-apply .apply-btn {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
    .volunteer-apply .apply-hint {
        font-size: 0.85rem;
    }
    .outreach-intro {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    .outreach-activity {
        padding: 0.8rem 1rem;
    }
}

/* ===== 数据卡片样式 ===== */
.stats-card {
    background: #FFFFFF;
    border-radius: 32px;
    padding: 1.8rem 2rem 2rem 2rem;
    margin: 1.5rem 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #FFE8D0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 0;
}

.stat-item {
    text-align: center;
    padding: 1.2rem 0.8rem;
    border-radius: 24px;
    background: #FFFFFF;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    cursor: default;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    border: 1px solid #FFE8D0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}


.stat-item:hover {
    background: #FFF5EA;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(230, 126, 34, 0.10);
    border-color: #FFE0B5;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: #C0392B;
    line-height: 1.2;
    margin-top: 0.1rem;
    letter-spacing: -0.5px;
    transition: color 0.25s ease;
}

.stat-item:hover .stat-number {
    color: #C0392B;
}

.stat-label {
    font-size: 0.9rem;
    color: #7F5E3A;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    background: #FFF8F0;
    transition: background 0.25s ease, color 0.25s ease;
    margin-bottom: 0.3rem;
}

.stat-item:hover .stat-label {
    background: #E67E22;
    color: #FFFFFF;
}


/* 响应式 */
/* 响应式 */
@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .stat-number {
        font-size: 2rem;
    }
    .stat-label {
        font-size: 0.8rem;
        padding: 0.1rem 0.6rem;
    }
    .stat-item {
        padding: 0.8rem 0.5rem;
    }
}

@media (max-width: 420px) {
    .stat-number {
        font-size: 1.6rem;
    }
    .stat-label {
        font-size: 0.7rem;
    }
    .stats-grid {
        gap: 0.8rem;
    }
}