@font-face {
    font-family: "MyArial";
    src: url("https://res.cloudinary.com/zwdcilnn/raw/upload/v1790238980/arial.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --effect-blue: #35baff;
    --effect-pink: #f238be;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #4600ff;
    color: white;
    font-family: "MyArial", sans-serif;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

ul { 
    list-style: none; 
}

a { 
    color: white; 
    text-decoration: none;
}

.header { 
    padding: 20px 3%; 
    border-bottom: 2px solid #ffffff78;
}

.header-navigation {
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 2200px;
    margin: auto;
}

.logo { 
    font-size: 32px; 
    font-weight: bold; 
    font-family: 'Anton', cursive;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.logo span { 
    display: block; 
    font-size: 10px; 
    letter-spacing: 2px; 
    margin-top: 5px; 
}

.main-navigation { 
    display: flex; 
    flex-wrap: wrap;
    font-family: 'Teko', sans-serif;
    gap: 20px; 
    font-size: 14px; 
    transition: color 0.2s;
}

.login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 20px;
    border: 2px solid white;
    border-radius: 30px;
    background: transparent;
    color: white;
    font: inherit;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
}

@media (hover: hover) {
    .main-navigation :hover,
    .route-link:hover {
        color: #f443c4;
    }
}

.main { 
    width: 94%; 
    max-width: 2200px; 
    margin: auto; 
}

.hero { 
    padding: 20px 0 70px; 
    text-align: center; 
}

.hero-image { 
    display: block;
    width: 80%; 
    height: auto;
    margin:0 auto; 
    border-radius: 28px; 
}

.start-link {
    display: inline-block;
    box-sizing: border-box;
    width: auto;
    height: auto;
    margin-top: 30px;
    padding: 22px 18px;
    background: #f443c4;
    color: #fffdf5;
    border: 2px solid #111;
    border-radius: 24px;
    font-size: 64px;
    font-weight: 900;
    font-style: normal;
    line-height: 1.1;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 10px 10px 5px #35aff4;
    transition: background-color 220ms ease,
                box-shadow 220ms ease;
}

.start-link:hover,
.start-link:focus-visible {
    background-color: #35aff4;
    box-shadow: 10px 10px 5px #f443c4;
}

.hero-bottom{
    display:flex;
    justify-content:space-between;
    align-items: center;
    gap: 18px;
    list-style: none;
    margin-top: 28px;
    padding:0 4%
}

.hero-bottom p {
    margin: 0;
    font-family: 'Teko', sans-serif;
    font-size: 14px;
    letter-spacing: 2.2%;
    opacity: 0.9;
    font-weight: 100;
    line-height: 1.4;
    text-align: left;
    font-weight: light;
}

.hero-caption {
    animation: none;
    }

.hero-caption span {
    display: inline-block;
    white-space: pre;
    animation: letter-wave 2s ease-in-out infinite;
    animation-delay: calc(var(--i) * -0.08s);
}

@keyframes letter-wave {
    0%, 100% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-4px);
    }

    75% {
        transform: translateY(4px);
    }
}

.hero-menu {
    margin-top:-1%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 100px;
    height: 60px;
    border-radius: 100px;
    background-color: #FB50C3;
    color: #FFFFFF;
    font-size: 50px;
    translate: 0 -8px;
}

.welcome {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('https://res.cloudinary.com/zwdcilnn/image/upload/v1790183011/image2.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius:0;
    overflow: hidden;
    padding: 35px 2%;
    margin-bottom:0;
}

.ticket {
    width: 100%;
    margin: auto;
    aspect-ratio: 2860 / 1610;
    padding: 0;
    background-image: url('https://res.cloudinary.com/zwdcilnn/image/upload/v1790183047/png1.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    container-type: inline-size;
    color: black;
    text-align: center;
}

.ticket h2 {
    width: 80%;
    font-family: 'Anton', cursive;
    font-weight: bold;
    letter-spacing: 5%;
    font-weight: 400;
    margin: 0 0 2cqw;
    font-size: 5cqw;
    line-height: 1.1;
}

.ticket p {
    font-family: 'Anton', cursive;
    font-weight: 300;
    width: 100%;
    margin: 0;
    padding-top: 2cqw;
    border-top: 3px dashed black;
    font-size: 1cqw;
    line-height: 1.35;
}

.divider {
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #9346ff;
}

.section-divider {
    height: 175px;
    display: flex;
    align-items: center;
    gap: 80px;
    list-style: none;
    margin: 0;
    padding: 12px 0;
    background-color: #9346ff;
    color: #f443c4;
    overflow: hidden;
}

.divider .section-divider {
    display: flex;
    width: max-content;
    max-width: none;
    height: auto;
    min-height: 0;
    gap: 0;
    margin: 0;
    padding: 18px 0;
    overflow: visible;
    list-style: none;
    animation: exploring-flow 18s linear infinite;
}

.section-divider li {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 96px;
    font-weight: bold;
    font-style: italic;
}

.divider .section-divider > li {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 60px;
    margin: 0;
    padding: 0 60px 0 0;
    color: #f443c4;
    font-size: clamp(32px, 6vw, 100px);
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    white-space: nowrap;
}

@keyframes exploring-flow {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.nightlife { 
    background-color: #111111; 
    margin-top: 0px; 
    padding: 140px 50px; 
    border-radius: 20px; 
}

.nightlife h2 { 
    color: #f443c4; 
    font-size: 150px; 
    font-style: italic; 
    text-align: center; 
    margin-bottom: 50px; 
}

.wide-photos { 
    display: grid; 
    gap: 50px; 
    margin-bottom: 50px; 
}

.photo-columns { 
    display: grid; 
    grid-template-columns: 1fr 1fr 1fr; gap: 12px; 
}

.photo-list { 
    display: grid;
    gap: 50px; 
}

.photo-list > .crop-photo {
        overflow: hidden;
}

.photo-list > .crop-photo img {
    display: block;
    width: 100%;
    height: auto;
    margin-top: -3.5%;
}

.interests {
    margin-top: 5%;
    margin-bottom: 3%;
    padding: 50px 5%;
    background: #4600ff;
    color: white;
}

.interests h2 {
    margin: 0;
    font-size: clamp(32px, 8vw, 80px);
    font-weight: 900;
    font-style: italic;
    line-height: 1;
}

.interest-intro {
    margin: 18px 0 30px;
    line-height: 1.5;
}

.interest-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 50px;
    width: 100%;
    margin: 45px 0 0;
    padding: 0;
    list-style: none;
}

.interest-cards > li {
    min-width: 0;
    width: auto;
    margin: 0;
}


.interest-card {
    display: block;
    width: 100%;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #111;
    font: inherit;
    text-align: center;
}

    /* 卡牌结构，为之后翻转留位置 */
    .card-inner,

    .card-back {
    display: block;
    }

    .card-inner {
    position: relative;
    }

    .card-back img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 12px 14px 0 #f443c4;
    }

    .interest-cards h3 {
    margin: 32px 0 0;
    font-size: 20px;
    text-align: center;
    }

    /* 正面暂时隐藏，之后添加交互时再显示 */
    .card-front[hidden] {
    display: none;
    }

    /* 提前保留正面排版 */
    .card-front {
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    border: 3px solid #111;
    border-radius: 12px;
    background: #fff9ed;
    }

    .card-front strong {
    font-size: clamp(18px, 2vw, 30px);
    overflow-wrap: anywhere;
    }

    .card-front span {
    line-height: 1.5;
    }

    /* 键盘焦点提示，不是动画 */
    .interest-card:focus-visible {
    outline: 3px solid #e7ff52;
    outline-offset: 5px;
    }

    .interest-cards h3 {
    margin: 14px 0 0;
    font-size: clamp(12px, 1.4vw, 20px);
    text-align: center;
    }

    /* 两个区域之间的静态过渡 */
    .night-transition {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 18px 5%;
    background: #9346ff;
    color: #ff45c4;
    font-size: clamp(20px, 3vw, 38px);
    font-weight: 900;
    font-style: italic;
    }

    .night-transition span {
    color: #e7ff52;
    }

    /* 粉色底图：等比例铺满，边缘可能裁切 */
    .night-missions {
    position: relative;
    isolation: isolate;
    overflow: visible;
    margin: 0;
    padding: 0 5%;
    color: #111;
    /* 这里只保留粉色底图 */
    background: #f443c4 url("https://res.cloudinary.com/zwdcilnn/image/upload/v1790182768/6.webp") center / cover no-repeat;
    }

    .night-missions::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: -50px;
    left: 0;
    right: 0;
    z-index: -1;
    pointer-events: none;
    background-image: url("https://res.cloudinary.com/zwdcilnn/image/upload/v1790183031/image5.webp");
    background-position: center top;
    background-size: auto 100%;
    background-repeat: no-repeat;
    }
    .mission-heading {
    width: 38%;
    max-width: none;
    margin: 0 0 30px;
    padding-top: 35px;
    text-align: left;
    }

    .mission-heading h2 {
    margin: 15px 0;
    font-size: clamp(30px, 4vw, 64px);
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    white-space: normal;
    }

    .mission-heading p {
    margin: 0;
    line-height: 1.5;
    }

    .mission-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24%;
    row-gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 0;
    list-style: none;
    }

    /* 路线内容左右交错 */
    .mission-step:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
    }

    .mission-step:nth-child(2) {
    grid-column: 2;
    grid-row: 2;
    }

    .mission-step:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
    }

    .mission-step:nth-child(4) {
    grid-column: 2;
    grid-row: 4;
    }

    .mission-step article {
    padding: 24px;
    border-radius: 6px;
    background: #fffdf5;
    }

    .mission-step time {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 900;
    }

    .mission-step h3 {
    margin: 12px 0;
    font-size: 20px;
    }

    .mission-step p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    }


    /* 整个页脚 */
    .site-footer {
    position: relative;
    z-index: 1;
    margin: 0;
    background: #4600ff;
    }

    /* 标题和按钮区域 */
    .footer-contact {
    box-sizing: border-box;
    max-width: 1500px;
    margin: 0 auto;
    padding: 80px 5% 50px;
    text-align: right;
    }

    /* 两行大标题 */
    .footer-contact h2 {
    margin: 0;
    color: #e3d3ff;
    font-family: "Rockwell Extra Bold", Rockwell, Georgia, serif;
    font-size: clamp(48px, 12vw, 180px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    text-align: center;
    }

    .contact-button {
    display: inline-block;
    margin-top: 18px;
    padding: 12px 18px;
    border: 0;
    border-radius: 7px;
    background: #ff0000;
    color: white;
    font-family: "Rockwell Extra Bold", Rockwell, Georgia, serif;
    font-size: clamp(20px, 3vw, 42px);
    font-weight: 900;
    cursor: pointer;
    transform: rotate(-4deg);
    transform-origin: center;
    }

@media (hover: hover) {
    .contact-button:hover {
        animation: contact-wiggle 0.5s ease-in-out infinite;
    }
}

@keyframes contact-wiggle {
    0%, 100% {
        transform: rotate(-4deg);
    }
    25% {
        transform: rotate(-8deg);
    }
    75% {
        transform: rotate(0deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .divider .section-divider,
    .contact-button:hover {
        animation: none;
    }

    .main-navigation a,
    .route-link {
        transition: none;
    }
}
.contact-button:focus-visible {
    outline: 3px solid #e7ff52;
    outline-offset: 5px;
    }

    /* 底部粉色文字条 */
    .footer-strip {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 10px 12px;
    overflow: hidden;
    list-style: none;
    background: #f443c4;
    color: #4600ff;
    }

    .footer-strip li {
    flex-shrink: 0;
    font-family: "Rockwell Extra Bold", Rockwell, Georgia, serif;
    font-size: clamp(16px, 2vw, 28px);
    font-weight: 900;
    white-space: nowrap;
    }

    @media (min-width: 768px) {
    .header-navigation { 
        flex-direction: row; 
        align-items: center; 
        justify-content: space-between; 
    }

    .main-navigation { 
        font-size: 16px; 
    }

    .hero-image { 
        width: 86%; 
    }

    .hero h1 { 
        font-size: 24px; 
    }

    .hero p { 
        font-size: 15px; 
    }

    .welcome { 
        padding: 50px 5%; 
    }
    
    .ticket { 
        padding: 110px 17% 130px; 
    }

    .ticket h2 { 
        font-size: 42px; 
    }

    .ticket p { 
        font-size: 17px; 
    }

    .interest-list { 
        grid-template-columns: 1fr 1fr; 
    }

    .photo-columns, .photo-list { 
        gap: 22px; 
    }

    .interests {
        padding: 30px 5%;
    }
    /* 手机端 */

    .footer-contact {
        padding: 50px 5% 35px;
    }

    .contact-button {
        padding: 10px 14px;
    }

    .footer-strip {
        gap: 24px;
        padding: 8px 10px;
    }
    }

@media (max-width: 999px) {

    /* 页面适应屏幕，取消旧的固定宽度 */
    body {
        margin: 0;
        min-width: 0;
    }

    .header,
    .main,
    .site-footer {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: none;
        margin: 0;
    }

    .header {
        padding: 20px 5%;
    }

    .header-navigation {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
    }

    .main-navigation {
        display: none;
    }

    .hero-menu {
        display: none;
    }

    .hero {
        padding: 25px 5% 40px;
    }

    .mobile-menu {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;

        width: 64px;
        height: 44px;
        padding: 0;
        border: 0;
        border-radius: 30px;
        background: #fb50c3;
        color: white;

        font-family: Arial, sans-serif;
        font-size: 30px;
        line-height: 1;
        cursor: pointer;
    }

    .mobile-menu:focus-visible {
        outline: 3px solid #e7ff52;
        outline-offset: 4px;
    }

    .hero-image {
        display: block;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        height: auto;
        max-height: none;
        margin: 0 auto;
    }

    .hero p {
        font-size: 14px;
        line-height: 1.5;
    }

    .start-link {
        display: inline-block;
        width: auto;
        height: auto;
        margin-top: 25px;
        padding: 12px 18px;
        font-size: 28px;
        line-height: 1.1;
        white-space: nowrap;
    }

    .hero-bottom {
        position: static;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
        width: 100%;
        margin: 30px 0 0;
        padding: 0;
    }

    .welcome {
        box-sizing: border-box;
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: auto;
        margin: 0;
        padding: 20px 3%;
        background-size: cover;
        background-position: center;
        border-radius: 25px 25px 0 0;
    }

    .ticket {
        box-sizing: border-box;
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 2860 / 1610;
        margin: 0;
        padding: 0;

        background-image: url("https://res.cloudinary.com/zwdcilnn/image/upload/v1790183047/png1.webp");
        background-color: transparent;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;

        border: 0;
        border-radius: 0;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        container-type: inline-size;
    }

    .ticket h2 {
        width: 72%;
        margin: 0 0 2cqw;
        font-size: 5cqw;
        line-height: 1.1;
    }

    .ticket p {
        width: 72%;
        margin: 0;
        padding-top: 2cqw;
        border-top: 1px dashed black;

        font-family: Arial, sans-serif;
        font-size: 2.6cqw;
        line-height: 1.35;
    }

    .ticket p br {
        display: none;
    }

    .divider {
        height: auto;
        min-height: 0;
        margin: 0;
        padding: 0;
    }

    .section-divider {
        display: flex;
        align-items: center;
        gap: 40px;
        height: auto;
        min-height: 0;
        margin: 0;
        padding: 10px 0;
        overflow: hidden;
    }

    .section-divider li {
        flex-shrink: 0;
        margin: 0;
        padding: 0;
        font-size: 24px;
        line-height: 1;
        white-space: nowrap;
    }

    .section-divider {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        margin: 0;
        overflow: hidden;
    }

    .divider .section-divider {
        padding: 10px 0;
    }

    .divider .section-divider > li {
        gap: 30px;
        padding-right: 30px;
        font-size: 24px;
    }

    .section-divider li {
        font-size: 24px;
    }

    .nightlife {
        box-sizing: border-box;
        width: auto;
        min-width: 0;
        margin: 0 15px;
        padding: 25px 4%;
    }

    .nightlife h2 {
        font-size: 34px;
    }

    .photo-columns {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .photo-list {
        min-width: 0;
        gap: 20px;
    }

    .nightlife img {
        display: block;
        max-width: 100%;
        height: auto;
    }

    /* 兴趣卡牌两列 */
    .interests {
        padding: 35px 5%;
    }

    .interests h2 {
        font-size: clamp(32px, 7vw, 64px);
    }

    .interest-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        max-width: none;
        gap: 28px 22px;
        margin: 30px 0 0;
    }

    .interest-cards > li {
        min-width: 0;
    }

    .card-back img {
        width: 100%;
        height: auto;
        box-shadow: 6px 8px 0 #f443c4;
    }

    .interest-cards h3 {
        margin-top: 20px;
        font-size: 13px;
    }

    .night-transition {
        padding: 16px 5%;
        gap: 12px;
        font-size: clamp(18px, 3vw, 28px);
        text-align: center;
    }

    /* 路线内容改成单列，避免右侧卡片跑出屏幕 */
    .night-missions {
        padding: 0 5%;
    }

    /* 小屏幕路线移到左边，给文字留位置 */
    .night-missions::before {
        left: 0;
        right: auto;
        width: 70px;
        top: 0;
        bottom: -60px;
        background-position: center;
        background-size: auto 100%;
    }

    .mission-heading {
        box-sizing: border-box;
        width: auto;
        max-width: none;
        margin: 0 0 25px 65px;
        padding-top: 30px;
    }

    .mission-heading h2 {
        font-size: clamp(28px, 5vw, 42px);
    }

    .mission-heading p {
        font-size: 13px;
    }

    .mission-list {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: auto;
        min-width: 0;
        max-width: none;
        margin: 0;
        padding: 15px 0 35px 65px;
        gap: 25px;
        background: none;
    }

    .mission-step:nth-child(n) {
        grid-column: 1;
        grid-row: auto;
        width: auto;
        min-width: 0;
        margin: 0;
    }

    .mission-step article {
        padding: 20px;
    }

    .mission-step time {
        font-size: 34px;
    }

    .mission-step h3 {
        font-size: 18px;
        overflow-wrap: anywhere;
    }

    .mission-step p {
        font-size: 15px;
        line-height: 1.5;
    }

    .mission-note {
        width: auto;
        margin: 0 0 0 65px;
        padding-bottom: 25px;
        font-size: 12px;
    }

    /* 页脚 */
    .footer-contact {
        box-sizing: border-box;
        width: 100%;
        padding: 45px 5% 35px;
    }

    .footer-contact h2 {
        font-size: clamp(40px, 11vw, 100px);
        line-height: 1;
    }

    .contact-button {
        font-size: 22px;
        padding: 10px 14px;
    }

    .footer-strip {
        gap: 24px;
        padding: 8px 10px;
    }

    .footer-strip li {
        font-size: 16px;
    }
    }

@media (min-width: 1000px) {

    .header { 
        padding: 12px 4%; 
    }

    .logo { 
        font-size: 40px; 
    }

    .main-navigation { 
        display: flex;
        align-items: center;
        font-size: 26px; 
        gap: 150px; 
    }

    .mobile-menu {
        display: none;
    }

    .main {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .hero { 
        padding-top: 40px;
        padding-bottom: 100px; 
    }

    .hero-image{
        width: 65%;
        height: auto;
    }

    .hero p { 
        font-size: 24px; 
    }

    .start-link { 
        font-size: 38px; 
    }

    .welcome { 
        padding: 0;
        min-height: 0;
        width: 100%;
        height: auto;
        aspect-ratio: 1672 / 941;
        margin: 0;
        background-image: url('https://res.cloudinary.com/zwdcilnn/image/upload/v1790183011/image2.webp');
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }

    .ticket { 
        width: 85%;
        height: auto;
        padding: 80px 17% 145px; 
    }

    .ticket h2 { 
        font-size: 100px; 
    }

    .ticket p { 
        font-size: 30px; 
    }

    .nightlife {
        width: 98%;
        margin: 0 15px;
    }

    .nightlife h2 { 
        font-size: 120px; 
    }

    .interests h2 { 
        font-size: 100px; 
        font-weight: 900;
        font-style: italic;
        line-height: 1;
        margin: 0;
    }

    .interest-cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .night-missions {
        /* 调整这个值，路线和卡牌会同步改变位置 */
        --route-height: 2400px;

        position: relative;
        isolation: isolate;
        box-sizing: border-box;
        height: calc(var(--route-height) - 70px);
        margin: 0;
        padding: 0;
        overflow: visible;

        background: #f443c4 url("https://res.cloudinary.com/zwdcilnn/image/upload/v1790182768/6.webp") center / cover no-repeat;
        color: #111;
    }

    /* 路线保持原图比例 */
    .night-missions::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: auto;
        height: var(--route-height);
        z-index: -1;
        pointer-events: none;

        background-image: url("img/image5.png");
        background-position: center top;
        background-size: auto 100%;
        background-repeat: no-repeat;
    }

    /* 标题独立放在左上角 */
    .mission-heading {
        position: absolute;
        top: 35px;
        left: 5%;
        width: 35%;
        max-width: none;
        margin: 0;
        padding: 0;
        text-align: left;
    }

    .mission-heading h2 {
        margin: 16px 0;
        font-size: clamp(36px, 4vw, 64px);
        font-weight: 900;
        font-style: italic;
        line-height: 1;
    }

    .mission-heading p {
        margin: 0;
        font-size: 16px;
        line-height: 1.5;
    }

    /* 列表与粉色区域重合，不再使用 Grid 排列 */
    .mission-list {
        position: absolute;
        inset: 0;
        display: block;
        width: auto;
        height: auto;
        min-height: 0;
        max-width: none;
        margin: 0;
        padding: 0;
        list-style: none;
        background: none;
    }

    /* 如果之前添加过额外的线或圆点，取消它们 */
    .mission-list::before,
    .mission-step::before {
        content: none;
    }

    /* 每张卡牌以中心位置对齐黄色圆点 */
    .mission-list > .mission-step {
        position: absolute;
        width: 32%;
        max-width: 500px;
        margin: 0;
        padding: 0;
        transform: translateY(-50%);
    }

    /* 第一个圆点：位于路线图片高度约17.9%处 */
    .mission-list > .mission-step:nth-child(1) {
        top: calc(var(--route-height) * 0.179);
        left: 5%;
        right: auto;
    }

    /* 第二个圆点 */
    .mission-list > .mission-step:nth-child(2) {
        top: calc(var(--route-height) * 0.373);
        left: auto;
        right: 5%;
    }

    /* 第三个圆点 */
    .mission-list > .mission-step:nth-child(3) {
        top: calc(var(--route-height) * 0.561);
        left: 5%;
        right: auto;
    }

    /* 第四个圆点 */
    .mission-list > .mission-step:nth-child(4) {
        top: calc(var(--route-height) * 0.757);
        left: auto;
        right: 5%;
    }

    /* 卡牌内部 */
    .mission-step article {
        box-sizing: border-box;
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 28px;
        border-radius: 8px;
        background: #fffdf5;
    }

    .mission-step time {
        display: block;
        font-size: 54px;
        font-weight: 900;
        line-height: 1;
    }

    .mission-step h3 {
        margin: 18px 0 12px;
        font-size: 22px;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .mission-step p {
        margin: 0;
        font-size: 17px;
        line-height: 1.6;
    }

    .mission-note {
        position: absolute;
        left: 5%;
        bottom: 30px;
        width: 32%;
        margin: 0;
        padding: 0;
        font-size: 14px;
        line-height: 1.5;
        text-align: left;
    }

    .site-footer {
        position: relative;
        z-index: 1;
        margin-top: 0;
        background: #4600ff;
    }
    
}
