:root {
    --committee-text: #0F172A;
    --committee-heading: #334155;
    --committee-body: #475569;
    --committee-muted: #64748B;
    --committee-accent: #0EA5E9;
    --committee-accent-dark: #0369A1;
    --committee-purple: #A78BFA;
    --committee-line: rgba(148, 163, 184, 0.16);
    --committee-card: rgba(255, 255, 255, 0.42);
    --committee-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
    --committee-shadow-hover: 0 24px 60px rgba(15, 23, 42, 0.08);
    --committee-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --committee-max-width: 1180px;
}

body.committee-page {
    position: relative;
    color: var(--committee-text);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(180deg, #F8FBFF 0%, #EFF7FA 45%, #F8FBFF 100%);
}

body.committee-page::before,
body.committee-page::after {
    content: "";
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

body.committee-page::before {
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.024) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.08));
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.08));
}

body.committee-page::after {
    top: -20px;
    left: -20px;
    right: -20px;
    height: 70vh;
    background:
        radial-gradient(circle at 24% 18%, rgba(14, 165, 233, 0.075), rgba(14, 165, 233, 0) 30rem),
        radial-gradient(circle at 78% 24%, rgba(167, 139, 250, 0.055), rgba(167, 139, 250, 0) 28rem);
    animation: committeeGlowFloat 16s ease-in-out infinite alternate;
    will-change: transform;
}

.committee-page #header {
    position: sticky;
    top: 0;
    left: auto;
    right: auto;
    height: 72px;
    overflow: visible;
    background: rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid rgba(148, 163, 184, 0);
    box-shadow: 0 0 0 rgba(15, 23, 42, 0);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: background-color 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.committee-page #header::before {
    display: none;
}

.committee-page #header.header-scrolled,
.committee-page #header.header-inner {
    height: 72px;
    background: rgba(255, 255, 255, 0.84);
    border-bottom-color: rgba(148, 163, 184, 0.18);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.055);
}

.committee-page #header .container-xxl {
    width: min(100%, var(--committee-max-width));
    padding-right: 24px;
    padding-left: 24px;
}

.committee-page #header #logo {
    z-index: 901;
}

.committee-page #header #logo img {
    max-height: 34px;
}

.committee-page .navbar>ul>li {
    padding: 10px 0 10px 24px;
}

.committee-page .navbar a,
.committee-page .navbar a:focus {
    color: var(--committee-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    padding: 8px 2px;
    transition: color 250ms ease;
}

.committee-page .navbar>ul>li>a::before {
    width: 100%;
    height: 1px;
    bottom: -4px;
    visibility: visible;
    background-color: rgba(14, 165, 233, 0.72);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 250ms ease;
}

.committee-page .navbar a:hover,
.committee-page .navbar .active,
.committee-page .navbar .active:focus,
.committee-page .navbar li:hover>a {
    color: var(--committee-text);
}

.committee-page .navbar a:hover::before,
.committee-page .navbar li:hover>a::before,
.committee-page .navbar .active::before {
    transform: scaleX(1);
}

.committee-page .mobile-nav-toggle {
    color: var(--committee-text);
    z-index: 1001;
}

.committee-page #header,
.committee-page #main,
.committee-page #footer,
.committee-page .back-to-top {
    position: relative;
    z-index: 1;
}

.committee-page #main {
    background: transparent;
}

.committee-page #committee.committee-page-section {
    position: relative;
    z-index: 1;
    padding: 96px 24px 120px;
    overflow: hidden;
    background: transparent;
}

.committee-page .committee-shell {
    width: min(100%, var(--committee-max-width));
    max-width: var(--committee-max-width);
    padding-right: 0;
    padding-left: 0;
}

.committee-container-bottom,
#committee-former-container {
    margin-bottom: 0;
}

.committee-page .committee-hero {
    position: relative;
    max-width: 820px;
    margin: 0 auto 80px;
    padding-bottom: 28px;
    text-align: center;
}

.committee-page #committee-former-title {
    margin-top: 116px;
}

.committee-page .committee-hero::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 180px;
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, #38BDF8, transparent);
}

.committee-page .committee-eyebrow,
.committee-page #committee-title p,
.committee-page #committee-former-title p {
    margin: 0 0 10px;
    color: var(--committee-muted);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
}

.committee-page #committee-title h2,
.committee-page #committee-former-title h2 {
    width: auto;
    margin: 0 auto 18px;
    color: var(--committee-text);
    font-size: clamp(44px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.04em;
    text-align: center;
    text-align-last: auto;
}

.committee-page .committee-subtitle {
    max-width: 680px;
    margin: 0 auto 18px !important;
    color: var(--committee-body) !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.7;
}

.committee-page .sort-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    color: var(--committee-accent-dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    background: rgba(224, 242, 254, 0.72);
    border: 1px solid rgba(14, 165, 233, 0.18);
    border-radius: 999px;
}

.committee-page .member-group {
    margin-top: 96px;
}

.committee-page #committee-container .member-group:first-child {
    margin-top: 0;
}

.committee-page .team-chair {
    margin: 0 auto 40px;
    color: var(--committee-heading);
    font-size: clamp(30px, 3.4vw, 36px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.03em;
    text-align: center;
}

.committee-page .team-term {
    margin: -24px auto 34px;
    color: var(--committee-muted);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
}

.committee-page .member-grid,
.committee-page #committee .schedule-item {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 260px));
    justify-content: center;
    gap: 40px 48px;
    width: 100%;
    max-width: var(--committee-max-width);
    margin: 0 auto;
    padding: 0;
    border-radius: 0;
}

.committee-page #committee .schedule-item .schedule-card,
.committee-page .schedule-card {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 0;
}

.committee-page #committee .team .member,
.committee-page .member {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 260px;
    min-height: 250px;
    margin: 0;
    padding: 8px 8px 12px;
    overflow: visible;
    color: inherit;
    text-align: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: transform 280ms var(--committee-ease);
}

.committee-page #committee .team .member:hover,
.committee-page .member:hover {
    color: inherit;
    transform: translateY(-6px);
}

.committee-page .avatar-wrapper {
    display: grid;
    place-items: center;
    width: 150px;
    height: 150px;
    padding: 3px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.55), rgba(99, 102, 241, 0.30), rgba(255, 255, 255, 0.75));
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.12);
    transition: transform 280ms var(--committee-ease), box-shadow 280ms var(--committee-ease), background 280ms var(--committee-ease);
}

.committee-page .member:hover .avatar-wrapper {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.68), rgba(99, 102, 241, 0.38), rgba(255, 255, 255, 0.82));
    box-shadow: 0 16px 38px rgba(14, 165, 233, 0.16);
    transform: translateY(-4px) scale(1.025);
}

.committee-page #committee .schedule-item .speaker,
.committee-page .avatar-inner {
    width: 144px;
    height: 144px;
    margin: 0;
    overflow: hidden;
    float: none;
    border-radius: 999px;
    background: transparent;
}

.committee-page #committee .schedule-item .speaker img,
.committee-page .avatar-inner img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center;
    transform: none;
    transition: transform 280ms var(--committee-ease);
}

.committee-page #committee .team .member .member-info,
.committee-page .member-info {
    width: 100%;
    padding: 22px 0 0;
    text-align: center;
}

.committee-page #committee .team .member .member-info h4,
.committee-page .member-info h4 {
    margin: 0 0 8px;
    color: var(--committee-text);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.02em;
    transition: color 280ms var(--committee-ease);
}

.committee-page .member:hover .member-info h4 {
    color: var(--committee-accent-dark);
}

.committee-page #committee .team .member .member-info span,
.committee-page .member-info span {
    display: block;
    color: var(--committee-muted);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.committee-page .committee-hero,
.committee-page .member-group,
.committee-page .member {
    opacity: 1;
}

.committee-page.committee-page--enhanced .committee-eyebrow,
.committee-page.committee-page--enhanced .committee-hero h2,
.committee-page.committee-page--enhanced .committee-subtitle,
.committee-page.committee-page--enhanced .sort-pill,
.committee-page.committee-page--enhanced .member-group,
.committee-page.committee-page--enhanced .member {
    opacity: 0;
    transform: translateY(20px);
}

.committee-page.committee-page--enhanced .committee-hero::before {
    opacity: 0;
}

.committee-page.committee-page--enhanced .committee-hero.is-visible .committee-eyebrow {
    animation: committeeFadeUp 0.55s ease-out forwards;
}

.committee-page.committee-page--enhanced .committee-hero.is-visible h2 {
    animation: committeeFadeUp 0.55s ease-out 0.08s forwards;
}

.committee-page.committee-page--enhanced .committee-hero.is-visible .committee-subtitle {
    animation: committeeFadeUp 0.55s ease-out 0.16s forwards;
}

.committee-page.committee-page--enhanced .committee-hero.is-visible .sort-pill,
.committee-page.committee-page--enhanced .committee-hero.is-visible::before {
    animation: committeeFadeUp 0.55s ease-out 0.24s forwards;
}

.committee-page.committee-page--enhanced .committee-hero.is-visible::before {
    animation-name: committeeLineIn;
}

.committee-page.committee-page--enhanced .member-group.is-visible {
    animation: committeeFadeUp 0.6s ease-out forwards;
}

.committee-page.committee-page--enhanced .member.is-visible {
    animation: committeeCardIn 0.55s ease-out forwards;
    animation-delay: var(--member-delay, 0ms);
}

@keyframes committeeFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes committeeCardIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes committeeLineIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes committeeGlowFloat {
    from {
        transform: translate3d(-8px, 6px, 0);
    }

    to {
        transform: translate3d(8px, -8px, 0);
    }
}

@media (max-width: 991px) {
    .committee-page #header,
    .committee-page #header.header-scrolled,
    .committee-page #header.header-inner {
        height: 68px;
    }

    .committee-page #header #logo img {
        max-height: 30px;
    }

    .committee-page #navbar.navbar-mobile {
        position: fixed;
        inset: 0;
        overflow: hidden;
        background: rgba(15, 23, 42, 0.18);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        transition: 0.3s;
        z-index: 999;
    }

    .committee-page #navbar.navbar-mobile .mobile-nav-toggle {
        position: absolute;
        top: 20px;
        right: 24px;
        color: var(--committee-text);
    }

    .committee-page #navbar.navbar-mobile ul {
        display: block;
        position: absolute;
        top: 76px;
        right: 18px;
        bottom: auto;
        left: 18px;
        padding: 10px;
        overflow-y: auto;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid rgba(148, 163, 184, 0.18);
        border-radius: 20px;
        box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
    }

    .committee-page #navbar.navbar-mobile>ul>li {
        padding: 0;
    }

    .committee-page #navbar.navbar-mobile a,
    .committee-page #navbar.navbar-mobile a:focus {
        padding: 12px 14px;
        color: var(--committee-heading);
        border-radius: 10px;
    }

    .committee-page #navbar.navbar-mobile a:hover,
    .committee-page #navbar.navbar-mobile .active,
    .committee-page #navbar.navbar-mobile li:hover>a {
        color: var(--committee-text);
        background: #F8FAFC;
    }

    .committee-page #navbar.navbar-mobile a::before {
        display: none;
    }

    .committee-page #committee.committee-page-section {
        padding: 80px 20px 104px;
    }

    .committee-page .committee-hero {
        margin-bottom: 64px;
    }

    .committee-page .member-group {
        margin-top: 80px;
    }

    .committee-page .member-grid,
    .committee-page #committee .schedule-item {
        grid-template-columns: repeat(2, minmax(0, 240px));
        gap: 34px 30px;
    }
}

@media (max-width: 760px) {
    .committee-page .member-grid,
    .committee-page #committee .schedule-item {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .committee-page #committee.committee-page-section {
        padding: 68px 16px 88px;
    }

    .committee-page .committee-hero {
        margin-bottom: 56px;
    }

    .committee-page #committee-title h2,
    .committee-page #committee-former-title h2 {
        font-size: 36px;
    }

    .committee-page .committee-subtitle {
        font-size: 16px !important;
    }

    .committee-page .team-chair {
        margin-bottom: 32px;
        font-size: 28px;
    }

    .committee-page .member-grid,
    .committee-page #committee .schedule-item {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }

    .committee-page #committee .team .member,
    .committee-page .member {
        max-width: none;
        min-height: 222px;
        padding: 6px 6px 10px;
    }

    .committee-page .avatar-wrapper {
        width: 118px;
        height: 118px;
        padding: 3px;
    }

    .committee-page #committee .schedule-item .speaker,
    .committee-page .avatar-inner {
        width: 112px;
        height: 112px;
    }

    .committee-page #committee .team .member .member-info h4,
    .committee-page .member-info h4 {
        font-size: 20px;
    }
}

@media (max-width: 420px) {
    .committee-page .member-grid,
    .committee-page #committee .schedule-item {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.committee-page::after,
    .committee-page .committee-hero,
    .committee-page .committee-hero::before,
    .committee-page .committee-eyebrow,
    .committee-page .committee-hero h2,
    .committee-page .committee-subtitle,
    .committee-page .sort-pill,
    .committee-page .member-group,
    .committee-page .member,
    .committee-page .avatar-wrapper,
    .committee-page .avatar-inner img {
        animation: none !important;
        transition: none !important;
    }

    .committee-page.committee-page--enhanced .committee-eyebrow,
    .committee-page.committee-page--enhanced .committee-hero h2,
    .committee-page.committee-page--enhanced .committee-subtitle,
    .committee-page.committee-page--enhanced .sort-pill,
    .committee-page.committee-page--enhanced .member-group,
    .committee-page.committee-page--enhanced .member,
    .committee-page .member:hover,
    .committee-page .member:hover .avatar-wrapper {
        opacity: 1 !important;
        transform: none !important;
    }

    .committee-page.committee-page--enhanced .committee-hero::before {
        opacity: 1 !important;
    }
}

/* ===== 历届成员入口 / 返回入口（任务1：折叠跳转） ===== */
.committee-former-entry {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 18px auto 64px;
    text-align: center;
}

.committee-former-entry-tip {
    margin: 0;
    font-size: 14px;
    color: var(--committee-muted);
}

.committee-former-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, var(--committee-accent) 0%, var(--committee-accent-dark) 100%);
    box-shadow: var(--committee-shadow);
    transition: transform 0.3s var(--committee-ease), box-shadow 0.3s var(--committee-ease);
}

.committee-former-link:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--committee-shadow-hover);
}

.committee-former-link i {
    transition: transform 0.3s var(--committee-ease);
}

.committee-former-link:hover i {
    transform: translateX(4px);
}

.committee-back-entry {
    display: flex;
    justify-content: center;
    margin: 4px auto 40px;
}

.committee-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--committee-accent-dark);
    text-decoration: none;
    background: var(--committee-card);
    border: 1px solid var(--committee-line);
    transition: transform 0.3s var(--committee-ease), background 0.3s var(--committee-ease);
}

.committee-back-link:hover {
    color: var(--committee-accent-dark);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.7);
}

.committee-back-link i {
    transition: transform 0.3s var(--committee-ease);
}

.committee-back-link:hover i {
    transform: translateX(-4px);
}

/* 页脚网站建设署名（任务4） */
.site-maintainers {
    opacity: 0.85;
}
