        /* 悬浮"去我的监狱"按钮 */
        /* 我的房间悬浮按钮 - 140x150尺寸（猫咪140，距离底部10px） */
        .floating-my-prison-btn {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 140px;
            height: 150px;
            background: transparent;
            border: none;
            cursor: pointer;
            z-index: var(--z-floating);
            padding: 0;
            transition: transform 0.3s ease;
        }

        /* 桌面端hover效果（仅支持hover的设备） */
        @media (hover: hover) {
            .floating-my-prison-btn:hover {
                transform: scale(1.15); /* 放大15% */
            }
        }

        .floating-my-prison-btn:active {
            transform: scale(0.8);
        }
        
        /* 红点提示 */
        .floating-btn-badge,
        .function-btn-badge {
            position: absolute;
            top: 5px;
            right: 5px;
            width: 16px;
            height: 16px;
            background: #ff4444;
            border-radius: 50%;
            z-index: 10;
            display: none; /* 默认隐藏 */
        }
        
        /* 外部悬浮按钮红点增大20% */
        .floating-btn-badge {
            width: 20px;
            height: 20px;
        }
        
        .floating-btn-badge.show,
        .function-btn-badge.show {
            display: block;
        }
        
        /* 悬浮按钮中的猫咪头像 - 140x140，距离容器底部10px */
        .floating-btn-avatar {
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            width: 140px;
            height: 140px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
        }
        
        .floating-btn-avatar svg {
            width: 100%;
            height: 100%;
        }
        
        /* 悬浮按钮中的黑色圆形 - 120x120，底部对齐，水平居中 */
        .floating-btn-circle {
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 120px;
            height: 120px;
            background: #000;
            border-radius: 50%;
            z-index: 1;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }
        
        /* 移除旧的注册按钮样式 */
        .floating-prison-btn {
            display: none !important;
        }

        /* 鱼干充值入口样式 */

        /* 鱼干充值弹窗样式 */
        /* 小鱼干充值弹窗 */
        .fish-recharge-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: none;
            justify-content: center;
            align-items: center;
            z-index: var(--z-modal);
        }

        .fish-recharge-modal .modal-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 1;
        }

        .fish-recharge-modal .modal-content {
            position: relative;
            width: 582px;
            height: 911px;
            background: url('../../images/popup/popup_L.svg') center center no-repeat;
            background-size: 100% 100%;
            z-index: 2;
        }

        .fish-modal-close {
            position: absolute;
            top: 24px;
            right: 24px;
            width: 32px;
            height: 32px;
            background: url('../../images/icon/close_white.svg') center center no-repeat;
            background-size: 100% 100%;
            border: none;
            cursor: pointer;
            z-index: 10;
            transition: opacity 0.2s ease;
        }

        .fish-modal-close:active {
            opacity: 0.6;
        }

        .fish-modal-inner {
            padding: 80px 60px 60px 60px;
            height: 100%;
            box-sizing: border-box;
            overflow-y: auto;
            color: #000;
        }

        .fish-modal-title {
            font-family: 'Knewave', sans-serif;
            font-size: 40px;
            text-align: center;
            margin-bottom: 30px;
            color: #000;
        }

        .fish-balance-display {
            text-align: center;
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 40px;
            color: #000;
        }

        .fish-balance-value {
            font-family: 'Knewave', sans-serif;
            font-size: 32px;
            color: #FF6B00;
            margin: 0 8px;
        }

        .fish-products-title {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 20px;
            text-align: center;
            color: #000;
        }

        .fish-products-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 16px;
            margin-bottom: 30px;
        }

        .fish-product-card {
            background: rgba(255, 255, 255, 0.5);
            border: 2px solid #000;
            border-radius: 8px;
            padding: 20px;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .fish-product-card:active {
            opacity: 0.6;
        }

        .fish-product-card.popular {
            background: rgba(255, 235, 59, 0.3);
            border-color: #FF6B00;
        }

        .fish-product-info {
            flex: 1;
        }

        .fish-product-name {
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 8px;
            color: #000;
        }

        .fish-product-amount {
            font-family: 'Knewave', sans-serif;
            font-size: 28px;
            color: #FF6B00;
            margin-bottom: 4px;
        }

        .fish-product-description {
            font-size: 14px;
            color: #666;
        }

        .fish-product-price {
            font-size: 24px;
            font-weight: bold;
            color: #000;
        }

        .fish-modal-tip {
            text-align: center;
            font-size: 16px;
            color: #666;
            font-style: italic;
        }

        /* 小鱼干弹窗移动端适配 */
        @media (max-width: 768px) {
            .fish-recharge-modal .modal-content {
            width: 90%;
                max-width: 400px;
                height: auto;
            max-height: 80vh;
            }

            .fish-modal-inner {
                padding: 60px 30px 40px 30px;
            }

            .fish-modal-title {
                font-size: 30px;
            }

            .fish-balance-display {
                font-size: 18px;
            }

            .fish-balance-value {
                font-size: 24px;
            }

            .fish-products-title {
                font-size: 20px;
            }

            .fish-product-card {
                padding: 16px;
            }

            .fish-product-name {
                font-size: 18px;
            }

            .fish-product-amount {
                font-size: 22px;
            }

            .fish-product-price {
                font-size: 20px;
            }
        }

        .fish-recharge-modal .modal-header {
            background: #000;
            color: #fff;
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 2px solid #000;
        }

        .fish-recharge-modal .modal-header h2 {
            margin: 0;
            font-size: 1.2rem;
        }

        .fish-recharge-modal .close-btn {
            background: none;
            border: none;
            color: #fff;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 0;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* 桌面端hover效果（仅支持hover的设备） */
        @media (hover: hover) {
            .fish-recharge-modal .close-btn:hover {
                transform: scale(1.15); /* 放大15% */
            }
        }

        .fish-recharge-modal .close-btn:active {
            transform: scale(0.8);
        }

        .balance-section {
            padding: 20px;
            text-align: center;
            border-bottom: 1px solid #eee;
        }

        .current-balance {
            font-size: 1.1rem;
            font-weight: bold;
        }

        .balance-amount {
            color: #ff6b35;
            font-size: 1.3rem;
        }

        .products-section {
            padding: 20px;
        }

        .products-section h3 {
            margin: 0 0 15px 0;
            font-size: 1rem;
            border-bottom: 2px solid #000;
            padding-bottom: 5px;
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            padding: 10px 0;
        }

        .product-card {
            position: relative;
            border: 2px solid #000;
            border-radius: 8px;
            padding: 20px;
            text-align: center;
            cursor: pointer;
            transition: all 0.2s ease;
            background: #fff;
        }

        /* 桌面端hover效果（仅支持hover的设备） */
        @media (hover: hover) {
            .product-card:hover {
                transform: scale(1.15); /* 放大15% */
            }
        }

        .product-card:active {
            transform: scale(0.8);
        }

        .product-card.popular {
            border-color: #ff6b35;
            background: linear-gradient(135deg, #fff 0%, #fff8f5 100%);
        }

        .popular-badge {
            position: absolute;
            top: -8px;
            right: -8px;
            background: #ff6b35;
            color: #fff;
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: bold;
        }

        .product-icon {
            font-size: 32px;
            margin-bottom: 10px;
        }

        .product-name {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 8px;
            color: #000;
        }

        .product-amount {
            font-size: 24px;
            font-weight: bold;
            color: #ff6b35;
            margin-bottom: 8px;
        }

        .product-price {
            font-size: 20px;
            font-weight: bold;
            color: #000;
            margin-bottom: 8px;
        }

        .product-description {
            font-size: 14px;
            color: #666;
        }

        .product-item {
            border: 2px solid #000;
            padding: 15px;
            cursor: pointer;
            transition: all 0.2s ease;
            background: #fff;
        }

        /* 桌面端hover效果（仅支持hover的设备） */
        @media (hover: hover) {
            .product-item:hover {
                transform: scale(1.15); /* 放大15% */
            }
        }

        .product-item:active {
            transform: scale(0.8);
        }

        .product-item.selected {
            background: #000;
            color: #fff;
        }

        .product-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }

        .product-name {
            font-weight: bold;
            font-size: 1rem;
        }

        .product-price {
            font-weight: bold;
            font-size: 1.1rem;
        }

        .product-details {
            font-size: 0.9rem;
            color: #666;
        }

        .product-item.selected .product-details {
            color: #ccc;
        }

        .fish-amount {
            color: #ff6b35;
            font-weight: bold;
        }

        .bonus-fish {
            color: #27ae60;
            font-weight: bold;
        }

        .payment-section {
            padding: 20px;
            border-top: 1px solid #eee;
        }

        .payment-section h3 {
            margin: 0 0 15px 0;
            font-size: 1rem;
            border-bottom: 2px solid #000;
            padding-bottom: 5px;
        }

        .payment-methods {
            display: grid;
            grid-template-columns: 1fr;
            gap: 8px;
            margin-bottom: 20px;
        }

        .payment-method {
            border: 2px solid #000;
            padding: 12px;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        /* 桌面端hover效果（仅支持hover的设备） */
        @media (hover: hover) {
            .payment-method:hover {
                transform: scale(1.15); /* 放大15% */
            }
        }

        .payment-method:active {
            transform: scale(0.8);
        }

        .payment-method.selected {
            background: #000;
            color: #fff;
        }

        .payment-icon {
            font-size: 1.2rem;
        }

        .payment-info {
            flex: 1;
        }

        .payment-name {
            font-weight: bold;
            margin-bottom: 2px;
        }

        .payment-desc {
            font-size: 0.8rem;
            color: #666;
        }

        .payment-method.selected .payment-desc {
            color: #ccc;
        }

        .order-summary {
            background: #f8f8f8;
            border: 2px solid #000;
            padding: 15px;
            margin-bottom: 20px;
        }

        .summary-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
        }

        .summary-row:last-child {
            margin-bottom: 0;
            font-weight: bold;
            border-top: 1px solid #000;
            padding-top: 8px;
        }

        .qr-section {
            text-align: center;
            padding: 20px;
            border: 2px solid #000;
            margin-bottom: 20px;
        }

        .qr-title {
            font-weight: bold;
            margin-bottom: 15px;
            font-size: 1.1rem;
        }

        .qr-code {
            width: 200px;
            height: 200px;
            border: 2px solid #000;
            margin-bottom: 15px;
        }

        .qr-tips {
            color: #666;
            font-size: 0.9rem;
            margin-bottom: 10px;
        }

        .payment-status {
            font-weight: bold;
            color: #ff6b35;
        }

        .payment-actions {
            display: flex;
            gap: 10px;
            justify-content: center;
        }

        .btn-cancel, .btn-confirm {
            background: #fff;
            border: 2px solid #000;
            padding: 10px 20px;
            cursor: pointer;
            font-family: 'Courier New', monospace;
            font-size: 0.9rem;
            transition: all 0.2s ease;
        }

        /* 桌面端hover效果（仅支持hover的设备） */
        @media (hover: hover) {
            .btn-cancel:hover {
                transform: scale(1.15); /* 放大15% */
            }
        }

        .btn-cancel:active {
            transform: scale(0.8);
        }

        .btn-confirm {
            background: #000;
            color: #fff;
        }

        /* 桌面端hover效果（仅支持hover的设备） */
        @media (hover: hover) {
            .btn-confirm:hover {
                transform: scale(1.15); /* 放大15% */
            }
        }

        .btn-confirm:active {
            transform: scale(0.8);
        }

        /* 响应式优化 */
        @media (max-width: 768px) {

            .fish-recharge-modal .modal-content {
                width: 95%;
                margin: 10px;
            }

            .qr-code {
                width: 150px;
                height: 150px;
            }

            /* 移除对卡片元素的覆盖，让cqw生效 */
            
            /* 中等屏幕悬浮按钮缩小 - 保持比例不变 */
            .floating-my-prison-btn {
                bottom: 20px;
                right: 20px;
                transform: scale(0.83);
                transform-origin: bottom right;
            }
        }
        
        /* 小屏幕进一步缩小悬浮按钮 - 保持比例不变 */
        @media (max-width: 480px) {
            .floating-my-prison-btn {
                transform: scale(0.67);
            }
        }

        /* 移除480px和320px的卡片元素覆盖规则，让cqw在所有尺寸下生效 */

        .close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            z-index: calc(var(--z-modal) + 10);
            padding: 5px;
            border-radius: 50%;
            transition: background 0.2s ease;
        }

        /* 桌面端hover效果（仅支持hover的设备） */
        @media (hover: hover) {
            .close-btn:hover {
                transform: scale(1.15); /* 放大15% */
            }
        }

        .close-btn:active {
            transform: scale(0.8);
        }
        
        /* 提交区域样式 */
        .submit-section {
            margin-top: 30px;
            display: flex;
            flex-direction: column;
            gap: 16px;
            align-items: center;
        }

