    * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        @font-face {
            font-family: "Jolly";
            src: url('https://www.xiaozhangyu.vip/fonts/jollyregular.woff') format('woff');
        }

        @font-face {
            font-family: "Jolly";
            src: url('https://www.xiaozhangyu.vip/fonts/jollybold.woff') format('woff');
            font-weight: bold;
        }

        @font-face {
            font-family: "Jolly";
            src: url('https://www.xiaozhangyu.vip/fonts/jollyitalic.woff') format('woff');
            font-style: italic;
        }
        body {
            font-family: Jolly,'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #1DB799, #26B88B, #2FB97C);
            color: #fff;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            padding: 15px;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            -webkit-touch-callout: none;
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
        }
        
        .top-navbar {
            background: rgba(255, 255, 255, 0.2);
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
            border-radius: 12px;
            margin-bottom: 20px;
            padding: 12px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            position: fixed;
            top: 15px;
            left: 15px;
            right: 15px;
            z-index: 1000;
            transition: all 0.3s ease;
        }
        
        .top-navbar.scrolled {
            flex-direction: column;
            width: auto;
            right: 15px;
            left: auto;
            padding: 10px;
            align-items: flex-end;
            gap: 5px;
        }
        
        .top-navbar.scrolled .nav-left, 
        .top-navbar.scrolled .nav-right {
            flex-direction: column;
            gap: 5px;
            width: 100%;
        }
        
        .top-navbar.scrolled .nav-left a, 
        .top-navbar.scrolled .nav-right a {
            justify-content: flex-end;
            padding: 8px 10px;
        }
        
        .top-navbar.scrolled .nav-left a span, 
        .top-navbar.scrolled .nav-right a span {
            display: none;
        }
        
        .top-navbar.scrolled .nav-left {
            order: 2;
        }
        
        .top-navbar.scrolled .nav-right {
            order: 1;
        }
        
        .nav-left, .nav-right {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .nav-left a, .nav-right a {
            color: #f0f8ff;
            text-decoration: none;
            font-size: 16px;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            padding: 8px 12px;
            border-radius: 8px;
        }
        
        .nav-left a:hover, .nav-right a:hover {
            color: #ffd700;
            background: rgba(255, 255, 255, 0.25);
            transform: translateY(-2px);
        }
        
        .nav-icon {
            font-size: 22px;
            width: 20px;
            text-align: center;
        }
        
        .game-container {
            background-color: hsl(147deg 30.77% 84.71%);
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            width: 100%;
            border: 1px solid rgba(255, 255, 255, 0.3);
            overflow: hidden;
            margin-top: 80px;
        }
        
        .h5p-task-description {
            font-family: 'Jolly Lodger', Arial, sans-serif;
            color: #1a73d9;
            font-size: 1.125em;
            line-height: 1.125em;
            padding: 1em;
            border-bottom: 1px solid rgba(221, 228, 234, 0.5);
            background: rgba(255, 255, 255, 0.7);
        }
        
        .images-container {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 25px;
            padding: 20px;
            background-color: rgba(70, 180, 125, 0.2);
            border-bottom: 1px solid rgba(221, 228, 234, 0.1);
            position: relative;
        }
        
        .selection-item {
            position: relative;
            width: 220px;
            height: 220px;
            border-radius: 0.4em;
            overflow: hidden;
            cursor: pointer;
            border: solid 3px rgba(0, 120, 215, 0.2);
            transition: all 0.2s;
            display: flex;
            flex-direction: column;
            touch-action: none;
            user-select: none;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            opacity: 0.8;
        }
        
        .selection-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            border-color: #47B47D;
        }
        
        .selection-item.selected {
            border: solid 5px #47B47D;
            box-shadow: 0 0 15px rgba(71, 180, 125, 0.7);
            transform: scale(1.05);
            opacity: 1;
        }
        
        .selection-item.correct {
            border: solid 5px #47b47d !important;
            position: relative;
        }
        
        .selection-item.incorrect {
            border: solid 5px #dd2e2e !important;
            position: relative;
        }
        
        .selection-mark {
            border-radius: 0em 0em 20em 0em;
            line-height: 1em;
            padding-right: 10px;
            padding-bottom: 10px;
            box-sizing: border-box;
            font-size: 1em;
            position: absolute;
            left: 0%;
            top: 0%;
            width: 2.5em;
            height: 2.5em;
            z-index: 1;
            color: #FFFFFF;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .selection-correct-mark {
            background-color: #47b47d;
        }
        
        .selection-incorrect-mark {
            background-color: #dd2e2e;
        }
        
        .selection-correct-mark:before {
            content: "\f00c";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
        }
        
        .selection-incorrect-mark:before {
            content: "\f00d";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
        }
        
        .image-container {
            width: 100%;
            height: 100%;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #f0f0f0;
        }
        
        .selection-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            pointer-events: none;
        }
        
        .controls {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 20px;
            padding: 0 1em 1em;
            flex-wrap: wrap;
        }
        
        button {
            padding: 14px 24px;
            border: none;
            border-radius: 50px;
            font-size: 18px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
            position: relative;
            overflow: hidden;
            font-family: 'Jolly Lodger', sans-serif;
        }
        
        button:before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.5s;
        }
        
        button:hover:before {
            left: 100%;
        }
        
        #checkBtn {
            background: linear-gradient(145deg, #47b47d, #3a9c69);
            color: white;
        }
        
        #checkBtn:hover:not(:disabled) {
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(26, 115, 217, 0.3);
        }
        
        #checkBtn:disabled {
            background: #95a5a6;
            cursor: not-allowed;
            transform: none;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        
        #hintBtn {
            background: linear-gradient(145deg, #47b47d, #3a9c69);
            color: white;
        }
        
        #hintBtn:hover:not(:disabled) {
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(71, 180, 125, 0.3);
        }
        
        #hintBtn:disabled {
            background: #95a5a6;
            cursor: not-allowed;
            transform: none;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        
        #resetBtn {
            background: linear-gradient(145deg, #47b47d, #3a9c69);
            color: white;
            display: none;
        }
        
        #resetBtn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(230, 126, 34, 0.3);
        }
        
        #modifyBtn {
            background: linear-gradient(145deg, #47b47d, #3a9c69);
            color: white;
            display: none;
        }
        
        #modifyBtn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(230, 126, 34, 0.3);
        }
        
        .message {
            text-align: center;
            margin: 15px 1em;
            padding: 12px;
            border-radius: 4px;
            font-weight: 600;
            display: none;
            font-size: 16px;
            font-family: 'Jolly Lodger', sans-serif;
        }
        
        .success {
            background-color: #d5f4e6;
            color: #27ae60;
            display: block;
            border-left: 4px solid #2ecc71;
        }
        
        .error {
            background-color: #fadbd8;
            color: #c0392b;
            display: block;
            border-left: 4px solid #e74c3c;
        }
        
        .info {
            background-color: #d6eaf8;
            color: #2874a6;
            display: block;
            border-left: 4px solid #3498db;
        }
        
        .attempts {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            font-size: 14px;
            color: #7f8c8d;
            margin-top: 10px;
            font-family: 'Jolly Lodger', sans-serif;
        }
        
        .attempts i {
            color: #1a73d9;
        }
        
        .sound-control {
            display: none;
        }
        
 /* 帮助弹窗样式 */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 2000;
            justify-content: center;
            align-items: center;
            backdrop-filter: blur(5px);
        }

        .modal-content {
            background: linear-gradient(135deg, #418577, #5ba897);
            padding: 30px;
            border-radius: 18px;
            width: 90%;
            max-width: 500px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            position: relative;
            border: 1px solid rgba(255, 255, 255, 0.2);
            animation: modalFadeIn 0.3s ease-out;
            overflow: hidden;
            font-family: 'Jolly Lodger', sans-serif;
        }

        @keyframes modalFadeIn {
            from { opacity: 0; transform: scale(0.9); }
            to { opacity: 1; transform: scale(1); }
        }

        .modal-content h2 {
            color: #ffd700;
            margin-bottom: 15px;
            border-bottom: 2px solid rgba(255, 255, 255, 0.3);
            padding-bottom: 10px;
            text-align: center;
        }

        .modal-content p {
            margin-bottom: 15px;
            line-height: 1.6;
            color: #f0f8ff;
        }
.modal-content p img {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #f0f8ff;
    width: 100%;
}

        .close-help {
            position: absolute;
            top: -20px;
            right: 20px;
            font-size: 80px;
            cursor: pointer;
            color: #f0f8ff;
            transition: color 0.3s;
            font-family: "Jolly";
        }

        .close-help:hover {
            color: #ffd700;
        }
        
        /* 移动端样式 */
        @media (max-width: 768px) {
            .top-navbar {
                padding: 10px 15px;
            }
            
            .nav-left a span, .nav-right a span {
                display: none;
            }
            
            .nav-left a, .nav-right a {
                padding: 10px;
                width: 44px;
                height: 44px;
                justify-content: center;
            }
            
            .nav-left, .nav-right {
                gap: 10px;
            }
            
            .game-container {
                margin-top: 70px;
            }
            
            .images-container {
                gap: 15px;
                justify-content: flex-start;
                overflow-x: auto;
                padding-bottom: 10px;
            }
            
            .selection-item {
                width: 180px;
                height: 180px;
                flex-shrink: 0;
            }
            
            .controls {
                flex-direction: row;
                align-items: center;
                flex-wrap: wrap;
            }
            
            button {
                width: auto;
                padding: 12px 16px;
                border-radius: 50px;
                font-size: 14px;
            }
        }
        
        @media (max-width: 480px) {
            .top-navbar {
                padding: 8px 10px;
            }
            
            .nav-left a, .nav-right a {
                padding: 8px;
                width: 40px;
                height: 40px;
            }
            
            .game-container {
                margin-top: 60px;
            }
            
            .selection-item {
                width: 150px;
                height: 150px;
            }
            
            .h5p-task-description {
                padding: 0.8em;
            }
            
            .images-container {
                padding: 10px;
            }
            
            .controls {
                gap: 10px;
            }
            
            button {
                padding: 10px 12px;
                font-size: 13px;
            }
            
            .selection-mark {
                width: 1.8em;
                height: 1.8em;
            }
        }
        
        /* 闪烁动画 */
        @keyframes flash {
            0% { opacity: 1; }
            50% { opacity: 0.3; }
            100% { opacity: 1; }
        }
        
        .flash {
            animation: flash 0.5s ease-in-out 4;
        }
        
        /* 背景音乐播放器样式 */
        .music-player {
            display: none;
        }
        
        /* 成功弹窗样式 */
        .success-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 2000;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.5s ease;
        }
        
        .success-overlay.active {
            opacity: 1;
            pointer-events: all;
        }
        
        .success-content {
            background: linear-gradient(135deg, #1DB799, #26B88B, #2FB97C);
            padding: 40px;
            border-radius: 20px;
            text-align: center;
            max-width: 500px;
            width: 90%;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
            transform: scale(0.8);
            transition: transform 0.5s ease;
            border: 2px solid rgba(255, 255, 255, 0.2);
            position: relative;
			
        }
        
        .success-overlay.active .success-content {
            transform: scale(1);
        }
        
.success-checkmark {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    position: relative;
}

.success-checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: #fff;
    fill: none;
    animation: stroke 0.8s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.5s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}
        
        @keyframes stroke {
            100% {
                stroke-dashoffset: 0;
            }
        }
        
        .success-text {
            font-size: 2rem;
            margin-bottom: 10px;
            color: #fff;
            font-weight: bold;
        }
        
        .success-subtext {
            font-size: 1.2rem;
            margin-bottom: 20px;
            color: #e0ffe0;
        }
        
        .success-stats {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 30px;
            font-size: 1.1rem;
            color: #fff;
        }
        
        .success-stats div {
            background: rgba(255, 255, 255, 0.2);
            padding: 10px 15px;
            border-radius: 8px;
        }
        
        .success-close {
  background: linear-gradient(to right, #00b09b, #96c93d);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
	font-weight: normal;
    font-family: 'Jolly', sans-serif;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: block; /* 关键：将按钮设置为块级元素 */
    margin: 0 auto; /* 关键：自动左右外边距实现水平居中 */
    width: fit-content; /* 确保按钮宽度根据内容自适应 */
    min-width: 120px; /* 可选：设置最小宽度，使按钮看起来更协调 */
        }
        
        .success-close:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        }
        
        /* 自动关闭倒计时 */
        .auto-close-timer {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(255, 255, 255, 0.2);
            color: white;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.9rem;
        }
        
        /* 粒子效果 */
        .confetti {
            position: fixed;
            width: 10px;
            height: 10px;
            background-color: #f00;
            opacity: 0;
            z-index: 2001;
        }

        @keyframes stroke {
            100% {
                stroke-dashoffset: 0;
            }
        }

        @keyframes scale {
            0%, 100% {
                transform: none;
            }
            50% {
                transform: scale3d(1.2, 1.2, 1);
            }
        }

        @keyframes rotate {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }

        @keyframes fill {
            100% {
                box-shadow: inset 0px 0px 0px 60px rgba(75, 183, 27, 0.2);
            }
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(75, 183, 27, 0.6);
            }
            70% {
                box-shadow: 0 0 0 30px rgba(75, 183, 27, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(75, 183, 27, 0);
            }
        }

        @keyframes fadeIn {
            0% {
                opacity: 0;
            }
            100% {
                opacity: 1;
            }
        }

        @keyframes fadeInUp {
            0% {
                opacity: 0;
                transform: translateY(30px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes popIn {
            0% {
                opacity: 0;
                transform: scale(0.5);
            }
            70% {
                opacity: 1;
                transform: scale(1.1);
            }
            100% {
                opacity: 1;
                transform: scale(1);
            }
        }
		
		/* 加载动画样式 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1DB799, #26B88B, #2FB97C);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    flex-direction: column;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    color: white;
    margin-top: 20px;
    font-size: 18px;
    font-family: "Jolly";
}

.loading-progress {
    width: 200px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    margin-top: 10px;
    overflow: hidden;
}

.loading-progress-bar {
    height: 100%;
    background: white;
    width: 0%;
    transition: width 0.5s;
    border-radius: 5px;
}

/* 翻页按钮样式 */
.page-nav-buttons {
    position: fixed;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 999;
    pointer-events: none;
}

.page-nav-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
    background: linear-gradient(145deg, #47b47d, #3a9c69);
}

.page-nav-btn:hover {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-nav-btn a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.bianhao  {
text-align:left;color:#f0f8ff;font-size:16px;font-family:Jolly;
}
.copyright{
text-align:center;color:#3F786B;font-size:20px;margin-top: 20px;font-family:Jolly;
}