:root {
    --activity-text: #0F172A;
    --activity-heading: #334155;
    --activity-body: #475569;
    --activity-muted: #64748B;
    --activity-accent: #0EA5E9;
    --activity-accent-dark: #0369A1;
    --activity-indigo: #6366F1;
    --activity-line: rgba(148, 163, 184, 0.16);
    --activity-card: rgba(255, 255, 255, 0.42);
    --activity-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --activity-max-width: 1180px;
}

body.activity-page {
    position: relative;
    overflow-x: clip;
    color: var(--activity-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 48%, #FFFFFF 100%);
}

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

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

body.activity-page::after {
    top: -24px;
    left: -24px;
    right: -24px;
    height: 76vh;
    background:
        radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.10), transparent 34%),
        radial-gradient(circle at 80% 12%, rgba(99, 102, 241, 0.08), transparent 30%);
    animation: activityGlowFloat 18s ease-in-out infinite alternate;
    will-change: transform;
}

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

.activity-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;
}

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

.activity-page #header.header-scrolled,
.activity-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);
}

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

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

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

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

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

.activity-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;
}

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

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

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

.activity-page #main,
.activity-page #schedule,
.activity-page .section-with-bg {
    overflow-x: clip;
    background: transparent;
}

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

.activity-page .activity-shell {
    width: min(100%, var(--activity-max-width));
    max-width: var(--activity-max-width);
    margin: 0 auto;
    min-width: 0;
}

.activity-page .activity-hero {
    position: relative;
    width: 100%;
    max-width: 820px;
    margin: 0 auto 88px;
    padding-bottom: 28px;
    text-align: center;
}

.activity-page .activity-hero::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 72px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #38BDF8, #6366F1, transparent);
    transform: translateX(-50%);
}

.activity-page .activity-eyebrow {
    margin: 0 0 10px;
    color: var(--activity-muted);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
}

.activity-page .activity-hero h1 {
    margin: 0;
    color: var(--activity-text);
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0;
}

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

.activity-page .event-showcase {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.9fr);
    gap: 32px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 32px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid var(--activity-line);
    border-radius: 36px;
    box-shadow: 0 30px 90px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: border-color 320ms ease, box-shadow 320ms var(--activity-ease);
}

.activity-page .event-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: conic-gradient(
        from 180deg,
        transparent 0deg,
        rgba(56, 189, 248, 0.36) 80deg,
        rgba(99, 102, 241, 0.28) 130deg,
        transparent 190deg,
        transparent 360deg
    );
    opacity: 0;
    pointer-events: none;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    transition: opacity 320ms ease;
}

.activity-page .event-showcase:hover {
    border-color: rgba(56, 189, 248, 0.26);
}

.activity-page .event-showcase:hover::before {
    opacity: 1;
    animation: activityBorderFlow 5.5s linear infinite;
}

.activity-page .event-poster-panel,
.activity-page .event-info-card,
.activity-page .controls,
.activity-page .dots-container {
    position: relative;
    z-index: 1;
}

.activity-page .event-poster-panel {
    position: relative;
    min-width: 0;
    max-width: 100%;
}

.activity-page .event-poster-frame {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.36);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 24px;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
    transform: translateY(0) scale(1);
    transition:
        transform 320ms var(--activity-ease),
        box-shadow 320ms var(--activity-ease),
        border-color 320ms ease,
        filter 320ms ease;
}

.activity-page .event-poster-frame:hover {
    border-color: rgba(56, 189, 248, 0.28);
    box-shadow: 0 36px 100px rgba(15, 23, 42, 0.16);
    filter: saturate(1.03) brightness(1.02);
    transform: translateY(-6px) scale(1.01);
}

.activity-page .slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.985);
    transition: opacity 620ms var(--activity-ease), transform 620ms var(--activity-ease);
}

.activity-page .slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.activity-page .slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-page .event-info-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    max-width: 100%;
    padding: 8px 4px 8px 8px;
    color: var(--activity-text);
}

.activity-page .event-pill-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.activity-page .event-type-pill,
.activity-page .event-issue-pill,
.activity-page .activity-category-type {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 32px;
    padding: 7px 12px;
    color: var(--activity-accent-dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.18);
    border-radius: 999px;
}

.activity-page .event-issue-pill {
    color: #4338CA;
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.18);
}

.activity-page .event-info-card h2 {
    margin: 0;
    color: var(--activity-text);
    font-size: clamp(28px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.activity-page .event-subtopic {
    position: relative;
    margin: 14px 0 0;
    color: var(--activity-body);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    overflow-wrap: anywhere;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.activity-page .event-subtopic[data-full-content] {
    cursor: help;
}

.activity-page .event-meta-list {
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

.activity-page .event-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--activity-body);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
    min-width: 0;
    overflow-wrap: anywhere;
}

.activity-page .event-meta-item i {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 34px;
    height: 34px;
    color: var(--activity-accent-dark);
    background: rgba(224, 242, 254, 0.72);
    border: 1px solid rgba(14, 165, 233, 0.16);
    border-radius: 999px;
}

.activity-page .event-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.activity-page .event-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    transition: transform 280ms var(--activity-ease), box-shadow 280ms var(--activity-ease), border-color 280ms ease, background-color 280ms ease, color 280ms ease;
}

.activity-page .event-button--primary {
    color: #FFFFFF;
    background: linear-gradient(135deg, #0EA5E9, #6366F1);
    box-shadow: 0 14px 30px rgba(14, 165, 233, 0.18);
}

.activity-page .event-button--secondary {
    color: var(--activity-accent-dark);
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(14, 165, 233, 0.18);
}

.activity-page .event-button:hover {
    color: #FFFFFF;
    transform: translateY(-2px);
}

.activity-page .event-button--secondary:hover {
    color: var(--activity-accent-dark);
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(56, 189, 248, 0.32);
}

.activity-page .event-button.is-disabled {
    color: var(--activity-muted);
    pointer-events: none;
    background: rgba(248, 250, 252, 0.72);
    border-color: rgba(148, 163, 184, 0.16);
    box-shadow: none;
}

.activity-page .controls {
    position: absolute;
    top: 50%;
    right: 14px;
    left: 14px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    transform: translateY(-50%);
}

.activity-page .prev-arrow,
.activity-page .next-arrow {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: rgba(51, 65, 85, 0.72);
    cursor: pointer;
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.035);
    opacity: 0.72;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 280ms var(--activity-ease), opacity 280ms ease, color 280ms ease, background-color 280ms ease, border-color 280ms ease, box-shadow 280ms var(--activity-ease);
}

.activity-page .prev-arrow:hover,
.activity-page .next-arrow:hover,
.activity-page .prev-arrow:focus-visible,
.activity-page .next-arrow:focus-visible {
    color: var(--activity-heading);
    background: rgba(255, 255, 255, 0.66);
    border-color: rgba(148, 163, 184, 0.22);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
    opacity: 1;
    transform: translateY(-1px);
}

.activity-page .prev-arrow i,
.activity-page .next-arrow i {
    font-size: 18px;
    line-height: 1;
}

.activity-page .dots-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 12px;
    background: rgba(255, 255, 255, 0.54);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translateX(-50%);
}

.activity-page .dot {
    display: block;
    width: 8px;
    height: 8px;
    padding: 0;
    cursor: pointer;
    background: rgba(100, 116, 139, 0.24);
    border: 0;
    border-radius: 999px;
    transition: width 260ms var(--activity-ease), background 260ms ease;
}

.activity-page .dot.active-dot {
    width: 28px;
    background: linear-gradient(90deg, #38BDF8, #6366F1);
}

.activity-page #schedule {
    position: relative;
    z-index: 1;
    padding: 0 24px 120px;
}

.activity-page #activity-content {
    width: min(100%, var(--activity-max-width));
    max-width: var(--activity-max-width);
    margin: 0 auto;
    padding: 0;
    overflow-x: clip;
}

.activity-page #activity-content>.col,
.activity-page #activity-content .row.justify-content-center,
.activity-page #activity-content .tab-pane {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
}

.activity-page #activity-category-title {
    position: relative;
    max-width: 720px;
    margin: 0 auto 72px;
    padding-bottom: 24px;
    border: 0;
    text-align: center;
}

.activity-page #activity-category-title::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 72px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #38BDF8, #6366F1, transparent);
    transform: translateX(-50%);
}

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

.activity-page #activity-category-title h2 {
    width: auto;
    margin: 0;
    color: var(--activity-text);
    font-size: clamp(36px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
    text-align: center;
    text-align-last: auto;
}

.activity-page #activity-category {
    display: grid;
    gap: 28px;
}

.activity-page .activity-category-box {
    align-items: stretch;
    width: 100%;
    margin: 0;
    padding: 22px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.44);
    border: 1px solid var(--activity-line);
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.045);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: transform 280ms var(--activity-ease), border-color 280ms ease, box-shadow 280ms var(--activity-ease), background-color 280ms ease;
}

.activity-page .activity-category-box:hover {
    background: rgba(255, 255, 255, 0.58);
    border-color: rgba(56, 189, 248, 0.24);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.075);
    transform: translateY(-4px);
}

.activity-page .activity-category-cover-box {
    display: block;
    min-height: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 22px;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.activity-page .activity-category-cover-box img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    transition: filter 280ms ease;
}

.activity-page .activity-category-box:hover .activity-category-cover-box img {
    filter: saturate(1.03) brightness(1.02);
}

.activity-page .activity-category-info {
    display: flex;
    align-items: stretch;
    padding: 0 0 0 28px;
}

.activity-page .activity-category-info-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 100%;
    text-align: left;
}

.activity-page .activity-category-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.activity-page .activity-category-type {
    min-height: 28px;
    margin-bottom: 12px;
    padding: 6px 10px;
    font-size: 12px;
}

.activity-page .activity-category-data-title {
    width: auto;
    margin: 0;
    padding: 0;
    color: var(--activity-text);
    font-size: clamp(22px, 2.3vw, 28px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
    text-align: left;
    border: 0;
    transition: color 240ms ease;
}

.activity-page .activity-category-data-title:hover,
.activity-page .activity-category-box:hover .activity-category-data-title {
    color: var(--activity-accent-dark);
}

.activity-page .activity-category-date {
    display: flex;
    flex: 0 0 auto;
    align-items: baseline;
    justify-content: flex-end;
    gap: 6px;
    min-width: 82px;
    color: var(--activity-muted);
    white-space: nowrap;
}

.activity-page .activity-category-data-year,
.activity-page .activity-category-data-day {
    margin: 0;
    color: inherit;
    text-align: right;
}

.activity-page .activity-category-data-year {
    font-size: 13px;
    font-weight: 500;
}

.activity-page .activity-category-data-day {
    font-size: 18px;
    font-weight: 700;
    color: var(--activity-heading);
}

.activity-page .activity-category-data-description {
    position: relative;
    display: -webkit-box;
    margin: 18px 0 0;
    overflow: hidden;
    color: var(--activity-body);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    text-align: left;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.activity-page .activity-category-data-description[data-full-content] {
    cursor: help;
}

.activity-page #pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 56px auto 0;
}

.activity-page #pagination a,
.activity-page #pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    color: var(--activity-muted);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.54);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 999px;
    transition: color 240ms ease, background-color 240ms ease, border-color 240ms ease, transform 240ms var(--activity-ease);
}

.activity-page #pagination span {
    background: transparent;
    border-color: transparent;
}

.activity-page #pagination a:hover,
.activity-page #pagination a.active {
    color: var(--activity-accent-dark);
    background: rgba(14, 165, 233, 0.08);
    border-color: rgba(14, 165, 233, 0.2);
    transform: translateY(-2px);
}

.activity-page.activity-page--enhanced .activity-eyebrow,
.activity-page.activity-page--enhanced .activity-hero h1,
.activity-page.activity-page--enhanced .activity-subtitle,
.activity-page.activity-page--enhanced .activity-hero::before,
.activity-page.activity-page--enhanced .event-showcase,
.activity-page.activity-page--enhanced .event-poster-frame,
.activity-page.activity-page--enhanced .event-pill-row,
.activity-page.activity-page--enhanced .event-info-card h2,
.activity-page.activity-page--enhanced .event-subtopic,
.activity-page.activity-page--enhanced .event-meta-item,
.activity-page.activity-page--enhanced .event-actions,
.activity-page.activity-page--enhanced #activity-category-title,
.activity-page.activity-page--enhanced .activity-category-box {
    opacity: 0;
}

.activity-page.activity-page--enhanced .activity-eyebrow,
.activity-page.activity-page--enhanced .activity-hero h1,
.activity-page.activity-page--enhanced .activity-subtitle,
.activity-page.activity-page--enhanced .event-showcase,
.activity-page.activity-page--enhanced .event-pill-row,
.activity-page.activity-page--enhanced .event-info-card h2,
.activity-page.activity-page--enhanced .event-subtopic,
.activity-page.activity-page--enhanced .event-meta-item,
.activity-page.activity-page--enhanced .event-actions,
.activity-page.activity-page--enhanced #activity-category-title,
.activity-page.activity-page--enhanced .activity-category-box {
    transform: translateY(20px);
}

.activity-page.activity-page--enhanced .activity-hero.is-visible .activity-eyebrow {
    animation: activityFadeUp 0.58s ease-out forwards;
}

.activity-page.activity-page--enhanced .activity-hero.is-visible h1 {
    animation: activityFadeUp 0.58s ease-out 0.08s forwards;
}

.activity-page.activity-page--enhanced .activity-hero.is-visible .activity-subtitle {
    animation: activityFadeUp 0.58s ease-out 0.16s forwards;
}

.activity-page.activity-page--enhanced .activity-hero.is-visible::before {
    animation: activityLineIn 0.62s ease-out 0.24s forwards;
}

.activity-page.activity-page--enhanced .event-showcase.is-visible {
    animation: activityFadeUpLarge 0.7s var(--activity-ease) 0.28s forwards;
}

.activity-page.activity-page--enhanced .event-showcase.is-visible .event-poster-frame {
    animation: activityPosterIn 0.65s var(--activity-ease) 0.36s forwards;
}

.activity-page.activity-page--enhanced .event-showcase.is-visible .event-pill-row {
    animation: activityFadeUp 0.55s ease-out 0.42s forwards;
}

.activity-page.activity-page--enhanced .event-showcase.is-visible .event-info-card h2 {
    animation: activityFadeUp 0.55s ease-out 0.48s forwards;
}

.activity-page.activity-page--enhanced .event-showcase.is-visible .event-subtopic {
    animation: activityFadeUp 0.55s ease-out 0.54s forwards;
}

.activity-page.activity-page--enhanced .event-showcase.is-visible .event-meta-item {
    animation: activityFadeUp 0.55s ease-out 0.60s forwards;
}

.activity-page.activity-page--enhanced .event-showcase.is-visible .event-actions {
    animation: activityFadeUp 0.55s ease-out 0.64s forwards;
}

.activity-page.activity-page--enhanced #activity-category-title.is-visible {
    animation: activityFadeUp 0.6s ease-out forwards;
}

.activity-page.activity-page--enhanced .activity-category-box.is-visible {
    animation: activityFadeUpLarge 0.6s ease-out forwards;
    animation-delay: var(--activity-delay, 0ms);
}

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

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

@keyframes activityFadeUpLarge {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

@keyframes activityPosterIn {
    from {
        opacity: 0;
        transform: scale(0.985);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes activityLineIn {
    from {
        opacity: 0;
        transform: translateX(-50%) scaleX(0);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) scaleX(1);
    }
}

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

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

@keyframes activityBorderFlow {
    to {
        transform: rotate(1turn);
    }
}

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

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

    .activity-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;
    }

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

    .activity-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);
    }

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

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

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

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

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

    .activity-page .activity-hero {
        margin-bottom: 72px;
    }

    .activity-page .event-showcase {
        grid-template-columns: 1fr;
        gap: 28px;
        width: 100%;
        max-width: 100%;
        padding: 24px;
        border-radius: 32px;
    }

    .activity-page .event-poster-frame {
        max-width: none;
    }

    .activity-page .event-info-card {
        padding: 6px 4px 0;
    }

    .activity-page .dots-container {
        bottom: 18px;
    }

    .activity-page #schedule {
        padding: 0 20px 104px;
    }

    .activity-page .activity-category-box {
        padding: 18px;
    }

    .activity-page .activity-category-info {
        padding-left: 22px;
    }
}

@media (max-width: 767px) {
    .activity-page .activity-category-box {
        gap: 22px;
    }

    .activity-page .activity-category-cover-box img {
        min-height: auto;
        aspect-ratio: 16 / 9;
    }

    .activity-page .activity-category-info {
        padding-left: 0;
    }
}

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

    .activity-page .activity-shell,
    .activity-page .activity-hero,
    .activity-page .event-showcase {
        width: 100%;
        max-width: calc(100vw - 32px);
    }

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

    .activity-page .activity-hero h1 {
        font-size: 36px;
    }

    .activity-page .activity-subtitle {
        font-size: 16px;
    }

    .activity-page .event-showcase {
        padding: 16px;
        border-radius: 28px;
    }

    .activity-page .event-poster-frame {
        border-radius: 20px;
    }

    .activity-page .event-info-card h2 {
        font-size: 26px;
    }

    .activity-page .controls {
        right: 10px;
        left: 10px;
    }

    .activity-page .prev-arrow,
    .activity-page .next-arrow {
        width: 38px;
        height: 38px;
    }

    .activity-page .event-actions {
        flex-direction: column;
    }

    .activity-page .event-button {
        width: 100%;
    }

    .activity-page #schedule {
        padding: 0 16px 88px;
    }

    .activity-page #activity-category-title {
        margin-bottom: 56px;
    }

    .activity-page .activity-category-box {
        padding: 14px;
        border-radius: 24px;
    }

    .activity-page .activity-category-cover-box {
        border-radius: 18px;
    }

    .activity-page .activity-category-heading {
        flex-direction: column;
        gap: 12px;
    }

    .activity-page .activity-category-date {
        justify-content: flex-start;
    }

}

@media (prefers-reduced-motion: reduce) {
    body.activity-page::after,
    .activity-page .event-showcase::before,
    .activity-page .activity-eyebrow,
    .activity-page .activity-hero h1,
    .activity-page .activity-subtitle,
    .activity-page .activity-hero::before,
    .activity-page .event-showcase,
    .activity-page .event-poster-frame,
    .activity-page .slide,
    .activity-page .event-pill-row,
    .activity-page .event-info-card h2,
    .activity-page .event-subtopic,
    .activity-page .event-meta-item,
    .activity-page .event-actions,
    .activity-page #activity-category-title,
    .activity-page .activity-category-box {
        animation: none !important;
        transition: none !important;
    }

    .activity-page .event-poster-frame:hover,
    .activity-page .prev-arrow:hover,
    .activity-page .next-arrow:hover,
    .activity-page .event-button:hover,
    .activity-page .activity-category-box:hover,
    .activity-page #pagination a:hover {
        transform: none;
    }

    .activity-page.activity-page--enhanced .activity-eyebrow,
    .activity-page.activity-page--enhanced .activity-hero h1,
    .activity-page.activity-page--enhanced .activity-subtitle,
    .activity-page.activity-page--enhanced .activity-hero::before,
    .activity-page.activity-page--enhanced .event-showcase,
    .activity-page.activity-page--enhanced .event-poster-frame,
    .activity-page.activity-page--enhanced .event-pill-row,
    .activity-page.activity-page--enhanced .event-info-card h2,
    .activity-page.activity-page--enhanced .event-subtopic,
    .activity-page.activity-page--enhanced .event-meta-item,
    .activity-page.activity-page--enhanced .event-actions,
    .activity-page.activity-page--enhanced #activity-category-title,
    .activity-page.activity-page--enhanced .activity-category-box {
        opacity: 1;
        transform: none;
    }
}

/* ===== 活动分类 Tab（任务3：按类型横向分类） ===== */
.activity-page .activity-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 4px auto 30px;
}

.activity-page .activity-tab {
    padding: 9px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--activity-muted);
    background: var(--activity-card);
    border: 1px solid var(--activity-line);
    cursor: pointer;
    transition: color 0.3s var(--activity-ease), background 0.3s var(--activity-ease), transform 0.3s var(--activity-ease), box-shadow 0.3s var(--activity-ease);
}

.activity-page .activity-tab:hover {
    transform: translateY(-2px);
    color: var(--activity-accent-dark);
}

.activity-page .activity-tab.active {
    color: #fff;
    background: linear-gradient(135deg, var(--activity-accent) 0%, var(--activity-accent-dark) 100%);
    border-color: transparent;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

/* 从导航下拉跳转滚动到列表时，留出吸顶头部的高度 */
.activity-page #schedule {
    scroll-margin-top: 86px;
}
