/* 使用系统字体，避免Google Fonts在国内被墙 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Helvetica Neue', Arial, sans-serif;
    background: #f5f5f5;
    cursor: default;
    user-select: none;
}

/* ===== 伪学校官网 ===== */
#fake-school-page {
    min-height: 100vh;
    background: #fff;
}

.school-header {
    background: linear-gradient(135deg, #1a3a5c, #2c5f8a);
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    flex-wrap: wrap;
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
}

.school-logo-area {
    display: flex;
    flex-direction: column;
}

.school-name {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
}

.school-subtitle {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 1px;
}

.school-nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.school-nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    white-space: nowrap;
}

.school-nav a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.school-banner {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(0,0,0,0.6));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: #fff;
}

.banner-overlay h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.banner-overlay p {
    font-size: 1rem;
    opacity: 0.8;
}

.school-gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.gallery-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 12px 16px;
    font-size: 0.9rem;
    color: #555;
    text-align: center;
}

.school-footer {
    background: #1a3a5c;
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
    position: relative;
}

/* 页脚隐藏的访客追踪文字 - 极淡但仔细看能看到 */
.footer-hidden-text {
    color: rgba(255,255,255,0.08);
    font-size: 0.6rem;
    margin-top: 8px;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
    transition: color 2s;
}

/* 横幅角落的人影 - 极其微妙 */
#banner-figure {
    position: absolute;
    right: 30px;
    bottom: 60px;
    width: 25px;
    height: 60px;
    background: rgba(0,0,0,0.15);
    border-radius: 50% 50% 0 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 8s ease-in;
    filter: blur(1px);
}

/* 画廊中隐藏的求救文字 */
.hidden-message {
    color: rgba(150, 0, 0, 0.04);
    font-size: 0.55rem;
    text-align: center;
    padding: 8px 0;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
    transition: color 3s;
}

/* 幽灵鼠标 - 延迟跟随你的第二个光标 */
#ghost-cursor {
    position: fixed;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(150, 0, 0, 0.06);
    pointer-events: none;
    z-index: 50;
    transition: left 0.8s ease-out, top 0.8s ease-out;
    filter: blur(2px);
    display: none;
}

/* 第3张图片hover时闪一下异常 */
.gallery-item:nth-child(3) img {
    transition: filter 0.3s;
}

.gallery-item:nth-child(3):hover img {
    animation: photoFlicker 3s ease-in-out;
}

@keyframes photoFlicker {
    0%, 100% { filter: none; }
    47% { filter: none; }
    48% { filter: saturate(0) contrast(2) brightness(0.3); }
    52% { filter: saturate(0) contrast(2) brightness(0.3); }
    53% { filter: none; }
}

/* 第5张图片的caption偶尔变化 */
.gallery-item:nth-child(5) .gallery-caption {
    position: relative;
}


/* ===== 学校照片恐怖化展示 ===== */
#horror-gallery {
    position: fixed;
    inset: 0;
    background: #0a0a0a;
    z-index: 150;
    overflow: hidden;
}

.horror-gallery-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.horror-photo {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s;
    filter: saturate(0) contrast(1.5) brightness(0.4);
}

.horror-photo.active {
    opacity: 1;
}

.horror-photo.glitch-active {
    animation: photoGlitch 0.1s infinite;
}

@keyframes photoGlitch {
    0% { filter: saturate(0) contrast(1.5) brightness(0.4) hue-rotate(0deg); transform: translate(0); }
    20% { filter: saturate(2) contrast(2) brightness(0.2) hue-rotate(90deg); transform: translate(-3px, 2px); }
    40% { filter: saturate(0) contrast(3) brightness(0.6) hue-rotate(-45deg); transform: translate(3px, -2px); }
    60% { filter: saturate(1) contrast(1) brightness(0.1) hue-rotate(180deg); transform: translate(-2px, -3px); }
    80% { filter: saturate(0.5) contrast(2.5) brightness(0.5) hue-rotate(270deg); transform: translate(2px, 3px); }
}

.horror-text-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background: rgba(0,0,0,0.3);
}

.horror-text-overlay span {
    font-size: 5rem;
    font-weight: 900;
    color: #cc0000;
    text-shadow: 0 0 30px rgba(204,0,0,0.8), 0 0 60px rgba(204,0,0,0.4), 0 0 90px rgba(100,0,0,0.3);
    letter-spacing: 15px;
    animation: horrorTextPulse 0.8s infinite;
}

@keyframes horrorTextPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.02); }
}

/* 红色闪烁遮罩 */
.red-flash {
    position: fixed;
    inset: 0;
    background: rgba(200, 0, 0, 0.3);
    z-index: 9999;
    pointer-events: none;
    animation: redFlash 0.15s forwards;
}

@keyframes redFlash {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* ===== 故障效果 ===== */
#glitch-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    mix-blend-mode: screen;
}

#glitch-overlay.active {
    animation: glitchBg 0.08s infinite;
}

@keyframes glitchBg {
    0% { background: transparent; }
    15% { background: rgba(255,0,0,0.05); transform: translate(-3px, 1px) skewX(0.5deg); }
    30% { background: rgba(0,255,0,0.03); transform: translate(3px, -2px) skewX(-0.3deg); }
    45% { background: rgba(0,0,255,0.05); transform: translate(-2px, -1px); }
    60% { background: rgba(255,0,255,0.04); transform: translate(1px, 3px) skewX(0.2deg); }
    75% { background: rgba(255,255,0,0.03); transform: translate(-1px, -2px); }
    100% { background: transparent; transform: translate(0); }
}

/* ===== 扫描信息 ===== */
#scan-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.97);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scan-content {
    width: 650px;
    max-width: 90vw;
    font-family: 'Courier New', monospace;
    color: #00ff41;
    text-shadow: 0 0 10px #00ff41;
}

.scan-header {
    font-size: 1.4rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.blink-red {
    color: #ff0040;
    animation: blink 0.5s infinite;
    text-shadow: 0 0 10px #ff0040;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

#scan-lines {
    min-height: 250px;
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

#scan-lines .scan-line {
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.scan-progress {
    width: 100%;
    height: 4px;
    background: rgba(0,255,65,0.2);
    border-radius: 2px;
    overflow: hidden;
}

#scan-bar {
    width: 0%;
    height: 100%;
    background: #00ff41;
    box-shadow: 0 0 15px #00ff41;
    transition: width 0.3s;
}

/* ===== 诡异文字 ===== */
#creepy-text-overlay {
    position: fixed;
    inset: 0;
    background: #0a0a0a;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

#creepy-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.15) saturate(0) contrast(1.5);
    animation: bgPulse 3s infinite;
}

@keyframes bgPulse {
    0%, 100% { filter: brightness(0.15) saturate(0) contrast(1.5); }
    50% { filter: brightness(0.08) saturate(0.5) contrast(2) hue-rotate(10deg); }
}

#creepy-text {
    position: relative;
    z-index: 1;
    font-size: 2.8rem;
    font-weight: 900;
    color: #cc0000;
    text-shadow: 0 0 20px rgba(204,0,0,0.8), 0 0 60px rgba(204,0,0,0.4), 0 0 100px rgba(100,0,0,0.2);
    text-align: center;
    line-height: 1.6;
    letter-spacing: 5px;
}

/* 打字光标 */
#creepy-text::after {
    content: '|';
    animation: cursorBlink 0.4s infinite;
    color: #ff0000;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ===== Jump Scare ===== */
#jumpscare-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

#jumpscare-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: jumpscareAnim 0.1s infinite;
    filter: contrast(1.8) brightness(1.3) saturate(1.5);
}

@keyframes jumpscareAnim {
    0% { transform: scale(1) translate(0,0); filter: contrast(1.8) brightness(1.3) hue-rotate(0deg); }
    25% { transform: scale(1.08) translate(-8px, 5px); filter: contrast(2.5) brightness(0.6) hue-rotate(15deg); }
    50% { transform: scale(1.03) translate(5px, -8px); filter: contrast(2) brightness(1.8) hue-rotate(-10deg); }
    75% { transform: scale(1.1) translate(-5px, -3px); filter: contrast(3) brightness(0.4) hue-rotate(20deg); }
    100% { transform: scale(1) translate(8px, 3px); filter: contrast(1.8) brightness(1.3) hue-rotate(0deg); }
}

/* ===== 假系统错误 ===== */
#error-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,50,0.95);
    z-index: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
}

.error-box {
    width: 400px;
    background: #f0f0f0;
    border: 2px solid #999;
    border-radius: 8px;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
    animation: errorShake 0.5s ease-in-out;
    overflow: hidden;
}

@keyframes errorShake {
    0%, 100% { transform: translate(0) rotate(0deg); }
    10% { transform: translate(-10px, -6px) rotate(-1deg); }
    20% { transform: translate(10px, 6px) rotate(1deg); }
    30% { transform: translate(-6px, 4px) rotate(-0.5deg); }
    40% { transform: translate(6px, -4px) rotate(0.5deg); }
    50% { transform: translate(-4px, 6px); }
}

.error-title-bar {
    background: linear-gradient(180deg, #cc0000, #880000);
    color: white;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.error-close {
    cursor: pointer;
    font-size: 1rem;
    opacity: 0.8;
}

.error-close:hover {
    opacity: 1;
}

.error-body {
    padding: 20px;
    text-align: center;
    color: #333;
    font-size: 0.95rem;
    line-height: 2;
}

.error-code {
    font-family: 'Courier New', monospace;
    color: #cc0000;
    font-weight: bold;
    letter-spacing: 1px;
}

.error-btn {
    margin-top: 10px;
    padding: 8px 40px;
    border: 1px solid #999;
    border-radius: 4px;
    background: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
}

.error-btn:hover {
    background: #d0d0d0;
}

/* ===== 血迹画布 ===== */
#blood-canvas {
    position: fixed;
    inset: 0;
    z-index: 350;
    pointer-events: none;
    display: none;
}

/* ===== 屏幕碎裂 ===== */
#crack-overlay {
    position: fixed;
    inset: 0;
    z-index: 450;
    pointer-events: none;
}

#crack-svg {
    width: 100%;
    height: 100%;
}

#crack-svg line {
    stroke: rgba(255,255,255,0.8);
    stroke-width: 1.5;
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.6));
}

/* ===== 倒计时 ===== */
#countdown-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.countdown-text {
    text-align: center;
}

#countdown-msg {
    font-size: 2.2rem;
    color: #ff0000;
    text-shadow: 0 0 30px rgba(255,0,0,0.8), 0 0 60px rgba(255,0,0,0.4);
    margin-bottom: 30px;
    animation: pulse 0.8s infinite;
    letter-spacing: 8px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.08); }
}

#countdown-timer {
    font-size: 10rem;
    font-weight: 900;
    color: #ff0000;
    text-shadow: 0 0 50px rgba(255,0,0,0.6), 0 0 100px rgba(255,0,0,0.3);
    font-family: 'Courier New', monospace;
}

.countdown-sub {
    font-size: 1.2rem;
    color: rgba(255,0,0,0.5);
    margin-top: 20px;
    letter-spacing: 3px;
}

/* ===== 最终画面 ===== */
#final-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    z-index: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.final-content {
    text-align: center;
    animation: finalFadeIn 1s ease-out;
}

@keyframes finalFadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.final-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
}

/* 故障文字效果 */
.glitch-text {
    position: relative;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.glitch-text::before {
    color: #ff00ff;
    animation: glitch1 1.5s infinite;
    clip-path: inset(0 0 60% 0);
}

.glitch-text::after {
    color: #00ffff;
    animation: glitch2 1.5s infinite;
    clip-path: inset(40% 0 0 0);
}

@keyframes glitch1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-4px, 4px); }
    40% { transform: translate(4px, -4px); }
    60% { transform: translate(-3px, 3px); }
    80% { transform: translate(3px, -3px); }
}

@keyframes glitch2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(4px, -4px); }
    40% { transform: translate(-4px, 4px); }
    60% { transform: translate(3px, -3px); }
    80% { transform: translate(-3px, 3px); }
}

.final-desc {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}

.final-btn {
    margin-top: 30px;
    padding: 14px 48px;
    font-size: 1.1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(240,147,251,0.4);
}

.final-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(240,147,251,0.6);
}

/* ===== 通用 ===== */
.hidden {
    display: none !important;
}

/* VHS 扫描线效果 */
body.vhs-mode::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.1) 2px,
        rgba(0,0,0,0.1) 4px
    );
}

/* 屏幕抖动 */
body.shake {
    animation: screenShake 0.12s infinite;
}

@keyframes screenShake {
    0% { transform: translate(0,0) rotate(0deg); }
    25% { transform: translate(-6px, 4px) rotate(-0.8deg); }
    50% { transform: translate(6px, -4px) rotate(0.8deg); }
    75% { transform: translate(-4px, -6px) rotate(-0.5deg); }
    100% { transform: translate(4px, 6px) rotate(0.5deg); }
}

/* 颜色反转 */
body.invert {
    filter: invert(1) hue-rotate(180deg);
}

/* 鼠标变红色十字 */
body.horror-cursor {
    cursor: crosshair;
}

/* 渐暗效果 */
body.darken {
    animation: darkenScreen 3s forwards;
}

@keyframes darkenScreen {
    from { filter: brightness(1); }
    to { filter: brightness(0.3) saturate(0.5); }
}

/* ===== 手机/平板移动端适配 ===== */
@media screen and (max-width: 992px) {
    body {
        overflow-x: hidden;
    }

    /* 学校官网头部 - 彻底强制上下垂直居中排布，绝不左右重叠 */
    .school-header {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 12px 15px !important;
        gap: 10px !important;
        text-align: center !important;
        min-height: auto !important;
        height: auto !important;
    }

    .school-logo-area {
        align-items: center !important;
        width: 100% !important;
        text-align: center !important;
    }

    .school-name {
        font-size: 1.15rem !important;
        letter-spacing: 1px !important;
        line-height: 1.3 !important;
        white-space: nowrap !important;
    }

    .school-subtitle {
        font-size: 0.6rem !important;
        opacity: 0.7 !important;
    }

    .school-nav {
        gap: 6px 16px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        width: 100% !important;
        padding-top: 8px !important;
        border-top: 1px solid rgba(255,255,255,0.2) !important;
    }

    .school-nav a {
        font-size: 0.82rem !important;
        padding: 4px 6px !important;
        white-space: nowrap !important;
    }

    /* 横幅 */
    .school-banner {
        height: 220px;
    }

    .banner-overlay {
        padding: 20px;
    }

    .banner-overlay h2 {
        font-size: 1.3rem;
    }

    .banner-overlay p {
        font-size: 0.85rem;
    }

    /* 照片画廊 */
    .school-gallery {
        padding: 30px 15px;
    }

    .gallery-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-item img {
        height: 140px;
    }

    .gallery-caption {
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    /* 恐怖画廊文字 */
    .horror-text-overlay span {
        font-size: 3rem;
        letter-spacing: 8px;
    }

    /* 扫描界面 */
    .scan-content {
        width: 95vw;
        padding: 0 10px;
    }

    .scan-header {
        font-size: 1rem;
    }

    #scan-lines {
        font-size: 0.7rem;
        line-height: 1.6;
        min-height: 180px;
    }

    /* 诡异文字 */
    #creepy-text {
        font-size: 1.8rem;
        letter-spacing: 3px;
        padding: 0 10px;
    }

    /* 假系统错误 */
    .error-box {
        width: 90vw;
        max-width: 340px;
    }

    .error-title-bar {
        font-size: 0.7rem;
        padding: 6px 10px;
    }

    .error-body {
        padding: 15px;
        font-size: 0.85rem;
    }

    /* 倒计时 */
    #countdown-msg {
        font-size: 1.4rem;
        letter-spacing: 4px;
    }

    #countdown-timer {
        font-size: 6rem;
    }

    .countdown-sub {
        font-size: 0.85rem;
        letter-spacing: 1px;
        padding: 0 20px;
    }

    /* 最终画面 */
    .final-title {
        font-size: 2.2rem;
        padding: 0 15px;
    }

    .final-desc {
        font-size: 1rem;
        padding: 0 15px;
    }

    .final-btn {
        padding: 12px 36px;
        font-size: 1rem;
    }

    /* Jump Scare */
    #jumpscare-img {
        object-fit: cover;
    }
}

@media screen and (max-width: 480px) {
    /* 更小屏幕 */
    .school-header {
        padding: 10px 10px !important;
    }

    .school-name {
        font-size: 1rem !important;
        line-height: 1.3 !important;
    }

    .school-subtitle {
        font-size: 0.55rem !important;
    }

    .school-nav {
        gap: 6px 10px !important;
    }

    .school-nav a {
        font-size: 0.78rem !important;
        padding: 2px 4px !important;
        white-space: nowrap !important;
    }

    .school-banner {
        height: 180px;
    }

    .banner-overlay h2 {
        font-size: 1.1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gallery-item img {
        height: 180px;
    }

    /* 恐怖画廊 */
    .horror-text-overlay span {
        font-size: 2.2rem;
        letter-spacing: 5px;
    }

    /* 扫描 */
    .scan-header {
        font-size: 0.85rem;
    }

    #scan-lines {
        font-size: 0.6rem;
        line-height: 1.5;
    }

    /* 诡异文字 */
    #creepy-text {
        font-size: 1.4rem;
        letter-spacing: 2px;
    }

    /* 倒计时 */
    #countdown-msg {
        font-size: 1.1rem;
        letter-spacing: 3px;
    }

    #countdown-timer {
        font-size: 4.5rem;
    }

    .countdown-sub {
        font-size: 0.75rem;
    }

    /* 最终画面 */
    .final-title {
        font-size: 1.7rem;
    }

    .final-desc {
        font-size: 0.9rem;
    }

    .final-btn {
        padding: 10px 30px;
        font-size: 0.9rem;
    }

    /* 错误弹窗 */
    .error-box {
        width: 92vw;
        max-width: 300px;
    }

    .error-title-bar {
        font-size: 0.65rem;
    }

    .error-body {
        padding: 12px;
        font-size: 0.8rem;
        line-height: 1.8;
    }
}
