* {
    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;
}

@font-face {
    font-family: "h5p";
    src: url('https://www.xiaozhangyu.vip/h5p/h5p-php-library/fonts/h5p-core-23.woff') format('woff');
}

@font-face {
    font-family: "h5p";
    src: url('https://www.xiaozhangyu.vip/h5p/h5p-php-library/fonts/h5p-core-23.woff') format('woff');
    font-weight: bold;
}

@font-face {
    font-family: "h5p";
    src: url('https://www.xiaozhangyu.vip/h5p/h5p-php-library/fonts/h5p-core-23.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;
    overflow-x: hidden;
}

.top-navbar {
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 0px 0px 12px 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: 0px;
    left: 15px;
    right: 15px;
    z-index: 0;
    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, .nav-right div[type="button"] {
    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;
    background: none;
    border: none;
}

.nav-left a:hover, .nav-right a:hover, .nav-right div[type="button"]:hover {
    color: #ffd700;
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.nav-icon {
    font-size: 22px;
    width: 20px;
    text-align: center;
}

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

.music-player {
    display: none;
}

.copyright {
    text-align: center;
    color: #CECECE;
    font-size: 18px;
    margin-bottom: -20px;
    font-family: Jolly;
}

.bianhao {
    text-align: left;
    color: #f0f8ff;
    font-size: 16px;
    font-family: Jolly;
}

@media (max-width: 768px) {
    .top-navbar {
        padding: 10px 15px;
        margin-top: 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;
    }
    
    .page-nav-buttons {
        padding: 0 15px;
    }
    
    .page-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media only screen and (max-width: 1199px) {
    .top-navbar {
        padding: 8px 10px;
        margin-top: 0px;
    }
}

@media (max-width: 480px) {
    .top-navbar {
        padding: 8px 10px;
        margin-top: 0px;
    }
    
    .nav-left a, .nav-right a {
        padding: 8px;
        width: 40px;
        height: 40px;
    }
    
    .top-navbar.scrolled {
        flex-direction: column;
        width: 40px;
        right: 5px;
        left: auto;
        padding: 10px;
        align-items: flex-end;
        gap: 5px;
    }

    .page-nav-buttons {
        padding: 0 10px;
    }

    .page-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}
#iframe-wrap { height: 100%; overflow: visible; position: relative; top: 40px; z-index: 50 } 

.by { overflow-y: hidden }

.monitorcc{ transition: all 0.5s ease 0s;} 
@media screen and (min-width: 1201px) { 
.monitorcc {  margin: 0 auto; padding: 41px 115px 100px 75px; width: 1043px; } 
 #iframe-wrap { height: 100%; overflow: visible; position: relative; top: 20px; z-index: 50 } 
} 

@media screen and (max-width: 1200px) { 
.monitorcc {width:100%;    margin-top: 50px; margin: 10px auto;background-color: #fff; background: url(https://www.xiaozhangyu.vip/2024/images/bgipadw.png) no-repeat;border-radius: 50px;} 
} 

@media screen and (max-width: 901px) { 
.monitorcc {  width:100%;  margin-top: 40px;margin: 10px auto;background-color: #fff; background: url(https://www.xiaozhangyu.vip/2024/images/bgipadw.png) no-repeat;border-radius: 50px;} 
} 

@media screen and (max-width: 500px) { 
.monitorcc { width:100%;  margin-top: 40px;margin: 0 auto;background-color: #fff;border-radius: 50px;} 
}

.copyright {
text-align:center;color:#CECECE;font-size:18px;margin-bottom: -20px;font-family:Jolly;
}

.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: 999999 !important;
    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.3s ease-out;
    border-radius: 5px;
}

.loading-overlay.fade-out {
    animation: fadeOut 0.4s ease-out forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

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

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

.success-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    animation: fadeIn 0.5s ease-out;
}

.success-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.5s ease-out;
}

.success-content {
    background: linear-gradient(135deg, #47b47d, #3a9c69);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    width: 90%;
    position: relative;
    z-index: 100000;
    animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

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

.success-text {
    font-size: 2rem;
    margin-bottom: 10px;
    color: white;
    font-family: 'Jolly', sans-serif;
}

.success-subtext {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Jolly', sans-serif;
}

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

.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    top: -10px;
    z-index: 100001;
    pointer-events: none;
}

.countdown-wrapper {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2003;
}

.countdown-number {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    font-family: 'Jolly', sans-serif;
    animation: countdownPulse 1s infinite;
}

@keyframes countdownPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes popIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@media (max-width: 768px) {
    .success-content {
        padding: 30px 20px;
        margin: 20px;
    }

    .success-checkmark {
        width: 80px;
        height: 80px;
    }

    .success-text {
        font-size: 1.5rem;
    }

    .success-subtext {
        font-size: 1rem;
    }
}

[class*="h5p-draggable"],
[class*="h5p-draggable"] * {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

[class*="h5p-droppable"],
[class*="h5p-droppable"] * {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

* {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
}

@media (max-width: 768px) {
    .top-navbar {
        padding: 8px 15px !important;
        margin-top: 0 !important;
        border-radius: 0 0 12px 12px !important;
    }
    
    .nav-left a, .nav-right a {
        padding: 8px 10px !important;
        width: auto !important;
        height: auto !important;
    }
    
    .nav-icon {
        font-size: 20px !important;
    }
}

@media (max-width: 480px) {
    .top-navbar {
        padding: 6px 10px !important;
        margin-top: 0 !important;
    }
    
    .nav-left a, .nav-right a {
        padding: 6px 8px !important;
    }
    
    .nav-icon {
        font-size: 18px !important;
    }
}