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

        html {
            width: 100%;
            height: 100%;
        }

        body {
            font-family: 'Arial', sans-serif;
            /* background: linear-gradient(135deg, #87CEEB 0%, #4682B4 50%, #B0E0E6 100%); */
            min-height: 100vh;
            width: 100%;
            height: 100%;
            position: relative;
            overflow-x: hidden;
            background-color: #000;

        }

        .bg {
            background-image: url(https://res.17996cdn.net/lightandnightkr/feastofpower/pc.jpg);
            background-size: 100%;
            background-repeat: no-repeat;
            background-position: center top;
            aspect-ratio: 2560 / 2786;
            margin: 0 auto;
            width: 100%;
            max-width: 2560px;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;

        }

        .container {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: center;
            padding-top:62.2rem;
        }

        .main-content {
            width: 24%;  
        }

       

        /* 登出按钮 */
        .logout-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(255, 255, 255, 0.95);
            padding: 10px 15px;
            border-radius: 25px;
            font-weight: bold;
            color: #4682B4;
            border: 2px solid #4682B4;
            cursor: pointer;
            display: none;
            /* 默认隐藏，登录后显示 */
            align-items: center;
            gap: 8px;
            font-size: 14px;
            transition: all 0.3s ease;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .logout-btn.show {
            display: flex;
            /* 显示时使用flex布局 */
        }

        .logout-btn:hover {
            background: #4682B4;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(70, 130, 180, 0.3);
        }

        .logout-btn svg {
            width: 16px;
            height: 16px;
            transition: transform 0.3s ease;
        }

        .logout-btn:hover svg {
            transform: translateX(2px);
        }

        .logout-btn span {
            font-size: 14px;
            font-weight: 600;
        }

        /* Signpost */
        .signpost {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 20px;
        }

        .sign-board {
            background: linear-gradient(45deg, #FF69B4, #FF1493);
            color: white;
            padding: 15px 25px;
            border-radius: 15px;
            transform: rotate(-5deg);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            border: 3px solid #8B4513;
            position: relative;
            z-index: 3;
        }

        .sign-text {
            font-size: 24px;
            font-weight: bold;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        .pole {
            width: 8px;
            height: 200px;
            background: linear-gradient(to bottom, #228B22, #006400);
            margin-top: -10px;
            border-radius: 4px;
        }

        /* Event title */
        .event-title {
            text-align: center;
            margin: 20px 0;
        }

        .beey-title {
            font-size: 48px;
            font-weight: bold;
            color: #4682B4;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
            margin-bottom: 10px;
        }

        .beey-title img {
            width: 100%;
            display: block;
        }

        .date-info {

            color: white;
            padding: 10px 20px;
            border-radius: 20px;
            font-size: 16px;
            display: inline-block;
        }

        .date-info img {
            width: 100%;
            display: block;
        }

       

        /* Form section */
        

        .code-label {
            position: absolute;
            top: -15px;
            left: 20px;
            background: #87CEEB;
            color: white;
            padding: 5px 15px;
            border-radius: 15px;
            font-weight: bold;
            font-size: 18px;
        }

        .summer-badge {
            position: absolute;
            top: -10px;
            right: 20px;
            background: #FFD700;
            color: #333;
            padding: 5px 10px;
            border-radius: 10px;
            font-size: 12px;
            font-style: italic;
        }

        .form-title {
            color: #4682B4;
            font-size: 4rem;
            font-weight: bold;
            margin-bottom: 20px;
            text-align: center;
        }

        .input-field {
            width: 100%;
            padding: 1rem;
            border: 0;
            background: none;
            border-radius: 10px;
            font-size: 1.8rem;
            margin-bottom: 20px;
            text-align: center;
            color: #9d8a66;
        }
      input[type=text]::placeholder{
        color: #cdbb99;
      }
        .input-field:focus {
            outline: none;
            border-color:none;
            /* box-shadow: 0 0 10px rgba(70, 130, 180, 0.3); */
        }

        .confirm-btn {
            width: 100%;
            padding: 1rem;
            background:none;
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 2rem;
            font-weight: bold;
            cursor: pointer;
            text-indent: -9999px; /* 隐藏按钮文字 */
            /* transition: all 0.3s ease; */
        }

        /* .confirm-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        } */

        .event-description {
            margin-top: 20px;
            font-size: 2rem;
            line-height: 1.6;
            color: #333;
            text-align: center;
        }

        .highlight {
            color: #FF69B4;
            font-weight: bold;
        }

        .highlight-blue {
            color: #4682B4;
            font-weight: bold;
        }

        /* Decorative elements */
        .sailboat {
            position: absolute;
            right: 10%;
            bottom: 20%;
            width: 60px;
            height: 60px;
            opacity: 0.8;
        }

        .star {
            position: absolute;
            color: #FFD700;
            font-size: 20px;
            animation: float 3s ease-in-out infinite;
            display: none;
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0px);
            }

            50% {
                transform: translateY(-10px);
            }
        }

        /* Desktop layout */
        @media (min-width: 768px) {
            
            .right-section {
                flex: 0 0 47%;
                display: flex;
                flex-direction: column;
                align-items: center;
            }

            .event-title {
                order: -1;
            }

            .beey-title {
                font-size: 64px;
            }

            .signpost {
                margin-bottom: 0;
            }

            .form-section {
                margin-top: 0px
            }
        }

        /* Mobile adjustments */
        @media (max-width: 1024px) {
            

            .form-section {
                width: 100%;
            }

            .logo {
                font-size: 14px;
                padding: 8px 15px;
            }
            .bg {
            background-image: url(https://res.17996cdn.net/lightandnightkr/feastofpower/pc.jpg);
            background-size: 240%;
            background-repeat: no-repeat;
            background-position: center top;
            aspect-ratio: 9 / 23.4;
            }
            .container{
                padding: 140.3% 0 0;
            }
            .main-content {
                width: 60%;
            }
            .input-field{
                font-size: 1.6rem;
                margin-bottom: 0px;
            }
            .confirm-btn{
                font-size: 1.5rem;
            }
           
            .logout-btn {
                top: 10px;
                right: 10px;
                padding: 8px 12px;
                font-size: 12px;
            }

            .logout-btn span {
                font-size: 12px;
            }

            .logout-btn svg {
                width: 14px;
                height: 14px;
            }
        }

        /* 基于设备检测的样式 */
        .mobile-device {
            /* 移动设备特定样式 */
        }

        .desktop-device {
            /* 桌面设备特定样式 */
        }

        .android-device {
            /* Android设备特定样式 */
        }

        .ios-device {
            /* iOS设备特定样式 */
            /* iOS设备可能需要特殊的安全区域处理 */
            padding-top: env(safe-area-inset-top);
            padding-bottom: env(safe-area-inset-bottom);
        }

        .tablet-device {
            /* 平板设备特定样式 */
        }

        .phone-device {
            /* 手机设备特定样式 */
        }

        .portrait {
            /* 竖屏方向样式 */
        }

        .landscape {
            /* 横屏方向样式 */
        }

        /* 针对不同设备类型的响应式调整 */
        
        

        .ios-device .input-field {
            /* iOS设备输入框优化 */
            -webkit-appearance: none;
            border-radius: 10px;
        }

        .android-device .confirm-btn {
            /* Android设备按钮优化 */
            -webkit-tap-highlight-color: transparent;
        }

        .pnsdk-modal {
            position: relative;
        }

        .lock {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            /* background: rgba(0, 0, 0, 0.5); */
            z-index: 999;
            display: block;
        }

        .successlogin_box {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            height: 100%;
            z-index: 999;
            background: rgba(0, 0, 0, 0.5);
            display: none;
            opacity: 1;
            transition: 0.3s;
        }

        .flicon {
            position: absolute;
            top: -4px;
            right: -19px;
            /* background: repeating-linear-gradient(45deg, #f4f500, #f3e443 30%); */
            font-size: 12px;
            text-align: center;
            font-weight: 500;
            padding: 0px 3px;
            color: #333;
            /* border: 1px solid #cdcdcd; */
            border-radius: 5px;
            vertical-align: text-top;
            line-height: 18px;
            max-width: 70px;
            z-index: 1;
        }

        .flicon .fliconimg {
            display: inline-block !important;
            width: 75% !important;
            max-width: none !important;
            max-height: none !important;
            vertical-align: middle;
        }

        .flicon span {
            vertical-align: middle;
            position: absolute;
            top: 25px;
            right: 25px;
            color: #f5d520;
            font-size: 16px;
            font-weight: bold;
        }

        .successlogin {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 10;
            background: #fff;
            text-align: center;
            padding: 5px 10px;
            border-radius: 5px;
            box-shadow: 0 0 5px 0px #000;
            min-width: 120px;
            min-height: 45px;
            line-height: 45px;
            transition: 0.5s;
            opacity: 1;
        }

        .mr5 {
            margin-right: 5px;
        }

        .dialog-box {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            display: none;
        }

        .dialog-box-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-image: url(https://res.17996cdn.net/lightandnightkr/feastofpower/pop.png);
            background-size: cover;
            background-position: 100%;
            background-repeat: no-repeat;
            padding: 2%;
            aspect-ratio: 834/264;
            text-align: center;
            cursor: pointer;
            width: 86%;
            max-width: 750px;
display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
        }

        .dialog-box-content span {
            color: #684d23;
            display: block;
            text-align: center;
            word-break: break-word;
            font-size: 1.8rem;
        }

        .dialog-box-content-title {
            font-size: 24px;
            font-weight: bold;
            color: #4682B4;
        }

        .mb-bg {}

        .mb-bg-img {
            width: 100%;
            display: none;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 1;
        }

        .mb-content {
            width: 100%;
            padding: 0;
            align-items: center;
            justify-content: flex-start;
            flex-direction: column;
            flex-wrap: nowrap;
            align-content: flex-start;


        }

        .mb-main-content {
            gap: 0;
            max-width: 100%;
            padding: 0 !important;
        }

        .mb-signpost {
            align-items: flex-start;
            margin-bottom: 0;
        }

        .mb-signpost img {
            width: 100%;
            display: block;
        }

        .mb-beey-title {
            display: none;
        }

        .mb-date-info {
            color: white;
            /* padding: 10px 20px; */
            /* border-radius: 20px; */
            /* font-size: 16px; */
            font-size: 14px;
            border-radius: 0;
            padding: 0;
            display: inline-block;
            width: 75%;
            margin: 0 auto;
            position: absolute;
            top: 34%;
            right: 7%;
        }

        .mb-form-section {
            background-size: contain;
            max-width: 375px;
            background-size: 100% 100%;
            max-width: 385px;
            margin-top: 6%;
            background-position: top;
        }

        .mb-treasureForm {
            padding-top: 18%;
        }

        .mb-event-title {
            margin: 0;
        }

        .mb-input-field {
            font-size: 14px;
            padding: 10px;
            margin-bottom: 10px;
        }

        .mb-confirm-btn {
            font-size: 14px;
            padding: 10px;
        }

        .mb-event-description {
            font-size: 12px;
            line-height: 1.3;
            margin-top: 10px;
        }

        .mb-dialog-box-content {
            aspect-ratio: none;
            width: 70%;
            height: 100px;
            background-size: 100% 100%;
            background-position: top;
            ;
        }

        .mb-dialog-box-content-body {
            display: flex;
            flex-direction: column;
            flex-wrap: nowrap;
            align-content: center;
            justify-content: center;
            align-items: center;
            height: 100%;
            max-width: 90%;
        }

@media screen and (min-width:768px) and (max-width: 1030px){
    #treasureForm {
        zoom:2
    }
}