* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
        }
        
        body {
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.6;
        
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            background-color: white;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            overflow: hidden;
        }
        
        .container > header {
            background: linear-gradient(135deg, #2ecc71, #27ae60);
            color: white;
            padding: 20px 15px;
            text-align: center;
            position: relative;
        }
        
        .container > header h1 {
            font-size: 1.8rem;
            margin-bottom: 5px;
        }
        
        .container > header p {
            opacity: 0.9;
            font-size: 0.9rem;
        }
     
        .main-content {
            display: flex;
            flex-wrap: wrap;
            padding: 15px;
        }
        
        .controls-section {
            flex: 1;
            min-width: 300px;
            padding: 15px;
            background-color: #f9fafc;
            border-radius: 10px;
            margin: 8px;
        }
        
        .results-section {
            flex: 1;
            min-width: 300px;
            padding: 15px;
            background-color: #f9fafc;
            border-radius: 10px;
            margin: 8px;
        }
        
        .section-title {
            font-size: 1.2rem;
            color: #2c3e50;
            margin-bottom: 15px;
            padding-bottom: 8px;
            border-bottom: 2px solid #eaeef5;
            display: flex;
            align-items: center;
        }
        
        .section-title i {
            margin-right: 8px;
            color: #2ecc71;
            font-size: 1.1rem;
        }
        
        .form-group {
            margin-bottom: 15px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 6px;
            font-weight: 600;
            color: #4a5568;
            font-size: 0.95rem;
        }
        
        select, input {
            width: 100%;
            padding: 10px 12px;
            border: 2px solid #e2e8f0;
            border-radius: 6px;
            font-size: 0.95rem;
            transition: border-color 0.3s;
        }
        
        select:focus, input:focus {
            border-color: #2ecc71;
            outline: none;
        }
        
        .number-input-group {
            display: flex;
            gap: 10px;
        }
        
        .number-input {
            flex: 1;
        }
        
        .prize-amount {
            font-size: 1.8rem;
            font-weight: 700;
            color: #e74c3c;
            text-align: center;
            margin: 15px 0;
        }
        
        .calculate-btn {
            display: block;
            width: 100%;
            padding: 14px;
            background: linear-gradient(to right, #2ecc71, #27ae60);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 15px;
        }
        
        .calculate-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 10px rgba(46, 204, 113, 0.2);
        }
        
        .calculate-btn:active {
            transform: translateY(0);
        }
        
        .result-item {
            background-color: white;
            padding: 12px;
            border-radius: 6px;
            margin-bottom: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .result-label {
            font-weight: 600;
            color: #4a5568;
            font-size: 0.9rem;
        }
        
        .result-value {
            font-weight: 700;
            font-size: 1rem;
        }
        
        .result-value.amount {
            color: #27ae60;
        }
        
        .result-value.prize {
            color: #e74c3c;
        }
        
        .footer {
            text-align: center;
            padding: 15px;
            color: #718096;
            font-size: 0.8rem;
            border-top: 1px solid #eaeef5;
        }
        
        .highlight {
            color: #2ecc71;
            font-weight: 600;
        }
        
        .loading {
            text-align: center;
            padding: 15px;
            color: #7f8c8d;
            font-size: 0.9rem;
        }
        
        .loading i {
            margin-right: 8px;
        }
        
        .winning-numbers {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            margin-top: 8px;
        }
        
        .number-ball {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            color: white;
            font-size: 0.9rem;
        }
        
        .red-ball {
            background-color: #e74c3c;
        }
        
        .yellow-ball {
            background-color: #f1c40f;
        }
        
        .winning-info {
            background-color: white;
            border-radius: 8px;
            padding: 12px;
            margin-top: 15px;
        }
        
        .notification {
            position: fixed;
            top: 15px;
            right: 15px;
            left: 15px;
            background-color: #2ecc71;
            color: white;
            padding: 12px 15px;
            border-radius: 8px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.2);
            display: flex;
            align-items: center;
            z-index: 1000;
            animation: slideIn 0.3s ease;
        }
        
        @keyframes slideIn {
            from { transform: translateX(100%); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }
        
        @keyframes slideOut {
            from { transform: translateX(0); opacity: 1; }
            to { transform: translateX(100%); opacity: 0; }
        }

        .ball-container {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-top: 8px;
            justify-content: center;
        }
        
        /* 抽屉式选择器样式 */
        .drawer-selector {
            margin-bottom: 15px;
            position: relative;
        }
        
        .drawer-selector label {
            display: block;
            margin-bottom: 6px;
            font-weight: 600;
            color: #4a5568;
            font-size: 0.95rem;
        }
        
        .drawer-trigger {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 12px;
            background-color: white;
            border: 2px solid #e2e8f0;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .drawer-trigger:hover {
            border-color: #2ecc71;
        }
        
        .drawer-trigger.open {
            border-color: #2ecc71;
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
        }
        
        .drawer-current-value {
            font-weight: 500;
            color: #2c3e50;
        }
        
        .drawer-trigger i {
            color: #718096;
            font-size: 0.9rem;
            transition: transform 0.3s ease;
        }
        
        .drawer-trigger.open i {
            transform: rotate(180deg);
        }
        
        .drawer-options {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background-color: white;
            border: 2px solid #e2e8f0;
            border-top: none;
            border-bottom-left-radius: 6px;
            border-bottom-right-radius: 6px;
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            transition: all 0.3s ease;
            z-index: 100;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            padding: 0;
        }
        
        .drawer-options.open {
            max-height: 200px;
            opacity: 1;
            overflow-y: auto;
            padding: 8px;
        }
        
        .drawer-option {
            flex: 0 0 auto;
            min-width: 60px;
            padding: 8px 10px;
            cursor: pointer;
            transition: all 0.2s ease;
            border-radius: 4px;
            text-align: center;
            font-size: 0.9rem;
            border: 1px solid transparent;
        }
        
        .drawer-option:hover {
            background-color: #e6ffe6;
            border-color: #e2e8f0;
        }
        
        .drawer-option.active {
            background-color: #b3ffb3;
            color: #2c3e50;
            font-weight: 600;
            border-color: #2ecc71;
        }
        
        /* 红球个数选择器样式 */
        .red-ball-selector {
            margin-bottom: 15px;
            position: relative;
        }
        
        .red-ball-trigger {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 12px;
            background-color: white;
            border: 2px solid #e2e8f0;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .red-ball-trigger:hover {
            border-color: #2ecc71;
        }
        
        .red-ball-trigger.open {
            border-color: #2ecc71;
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
        }
        
        .red-ball-current-value {
            font-weight: 500;
            color: #2c3e50;
        }
        
        .red-ball-options {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background-color: white;
            border: 2px solid #e2e8f0;
            border-top: none;
            border-bottom-left-radius: 6px;
            border-bottom-right-radius: 6px;
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            transition: all 0.3s ease;
            z-index: 100;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            padding: 0;
        }
        
        .red-ball-options.open {
            max-height: 150px;
            opacity: 1;
            overflow-y: auto;
            padding: 8px;
        }
        
        .red-ball-option {
            flex: 0 0 auto;
            min-width: 60px;
            padding: 8px 10px;
            cursor: pointer;
            transition: all 0.2s ease;
            border-radius: 4px;
            text-align: center;
            font-size: 0.9rem;
            border: 1px solid transparent;
            background-color: #ffeaea;
        }
        
        .red-ball-option:hover {
            background-color: #ffd6d6;
            border-color: #e2e8f0;
        }
        
        .red-ball-option.active {
            background-color: #ffc2c2;
            color: #2c3e50;
            font-weight: 600;
            border-color: #e74c3c;
        }
        
        /* 期号选择器样式 */
        .period-selector {
            margin-bottom: 15px;
            position: relative;
        }
        
        .period-trigger {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 12px;
            background-color: white;
            border: 2px solid #e2e8f0;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .period-trigger:hover {
            border-color: #2ecc71;
        }
        
        .period-trigger.open {
            border-color: #2ecc71;
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
        }
        
        .period-current-value {
            font-weight: 500;
            color: #2c3e50;
        }
        
        .period-options {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background-color: white;
            border: 2px solid #e2e8f0;
            border-top: none;
            border-bottom-left-radius: 6px;
            border-bottom-right-radius: 6px;
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            transition: all 0.3s ease;
            z-index: 100;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            padding: 0;
        }
        
        .period-options.open {
            max-height: 150px;
            opacity: 1;
            overflow-y: auto;
            padding: 8px;
        }
        
        .period-option {
            flex: 0 0 auto;
            min-width: 100px;
            padding: 8px 10px;
            cursor: pointer;
            transition: all 0.2s ease;
            border-radius: 4px;
            text-align: center;
            font-size: 0.9rem;
            border: 1px solid transparent;
        }
        
        .period-option:hover {
            background-color: #e6ffe6;
            border-color: #e2e8f0;
        }
        
        .period-option.active {
            background-color: #b3ffb3;
            color: #2c3e50;
            font-weight: 600;
            border-color: #2ecc71;
        }
        
        /* 命中情况选择器样式 */
        .hit-selector {
            margin-bottom: 15px;
            position: relative;
        }
        
        .hit-trigger {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 12px;
            background-color: white;
            border: 2px solid #e2e8f0;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .hit-trigger:hover {
            border-color: #2ecc71;
        }
        
        .hit-trigger.open {
            border-color: #2ecc71;
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
        }
        
        .hit-current-value {
            font-weight: 500;
            color: #2c3e50;
        }
        
        .hit-options {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background-color: white;
            border: 2px solid #e2e8f0;
            border-top: none;
            border-bottom-left-radius: 6px;
            border-bottom-right-radius: 6px;
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            transition: all 0.3s ease;
            z-index: 100;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            padding: 0;
        }
        
        .hit-options.open {
            max-height: 150px;
            opacity: 1;
            overflow-y: auto;
            padding: 8px;
        }
        
        .hit-option {
            flex: 0 0 auto;
            min-width: 60px;
            padding: 8px 10px;
            cursor: pointer;
            transition: all 0.2s ease;
            border-radius: 4px;
            text-align: center;
            font-size: 0.9rem;
            border: 1px solid transparent;
            background-color: #ffeaea;
        }
        
        .hit-option:hover {
            background-color: #ffd6d6;
            border-color: #e2e8f0;
        }
        
        .hit-option.active {
            background-color: #ffc2c2;
            color: #2c3e50;
            font-weight: 600;
            border-color: #e74c3c;
        }
        
        /* 胆码拖码选择器样式 */
        .dantuo-selector {
            margin-bottom: 15px;
            position: relative;
        }
        
        .dantuo-trigger {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 12px;
            background-color: white;
            border: 2px solid #e2e8f0;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .dantuo-trigger:hover {
            border-color: #3498db;
        }
        
        .dantuo-trigger.open {
            border-color: #3498db;
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
        }
        
        .dantuo-current-value {
            font-weight: 500;
            color: #2c3e50;
        }
        
        .dantuo-options {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background-color: white;
            border: 2px solid #e2e8f0;
            border-top: none;
            border-bottom-left-radius: 6px;
            border-bottom-right-radius: 6px;
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            transition: all 0.3s ease;
            z-index: 100;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            padding: 0;
        }
        
        .dantuo-options.open {
            max-height: 150px;
            opacity: 1;
            overflow-y: auto;
            padding: 8px;
        }
        
        .dantuo-option {
            flex: 0 0 auto;
            min-width: 60px;
            padding: 8px 10px;
            cursor: pointer;
            transition: all 0.2s ease;
            border-radius: 4px;
            text-align: center;
            font-size: 0.9rem;
            border: 1px solid transparent;
        }
        
        .dantuo-option:hover {
            background-color: #f0f7ff;
            border-color: #e2e8f0;
        }
        
        .dantuo-option.active {
            background-color: #ebf5ff;
            color: #2c3e50;
            font-weight: 600;
            border-color: #3498db;
        }
        
        /* 特别号命中按钮组样式 */
        .special-hit-buttons {
            display: flex;
            gap: 10px;
            margin-top: 8px;
        }
        
        .special-hit-button {
            flex: 1;
            padding: 10px 12px;
            background-color: white;
            border: 2px solid #e2e8f0;
            border-radius: 6px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
        }
        
        .special-hit-button:hover {
            border-color: #f1c40f;
        }
        
        .special-hit-button.active {
            border-color: #f1c40f;
            background-color: #fff9e6;
            font-weight: 600;
        }
        
        .special-hit-button.hit {
            color: #f1c40f;
        }
        
        .special-hit-button.miss {
            color: #718096;
        }
        
        /* 投注类型选择器样式 */
        .bet-type-selector {
            display: flex;
            gap: 8px;
            margin-bottom: 15px;
        }
        
        .bet-type {
            flex: 1;
            padding: 8px 10px;
            background-color: white;
            border: 2px solid #e2e8f0;
            border-radius: 6px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.9rem;
        }
        
        .bet-type:hover {
            border-color: #2ecc71;
        }
        
        .bet-type.active {
            border-color: #2ecc71;
            background-color: #e6ffe6;
        }
        
        /* 奖金分解样式 */
        .prize-breakdown {
            background-color: white;
            border-radius: 8px;
            padding: 12px;
            margin-top: 15px;
            border-left: 5px solid #2ecc71;
        }
        
        .breakdown-title {
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 12px;
            padding-bottom: 6px;
            border-bottom: 1px solid #eaeef5;
            font-size: 1rem;
        }
        
        .breakdown-item {
            display: flex;
            justify-content: space-between;
            padding: 6px 0;
            font-size: 0.9rem;
        }
        
        .breakdown-level {
            color: #4a5568;
        }
        
        .breakdown-count {
            color: #3498db;
            font-weight: 600;
        }
        
        .breakdown-amount {
            color: #e74c3c;
            font-weight: 600;
        }
        
        .total-prize {
            background-color: #f8f9fa;
            border-radius: 6px;
            padding: 12px;
            margin-top: 12px;
            text-align: center;
            border: 1px solid #eaeef5;
        }
        
        .total-label {
            font-weight: 600;
            color: #4a5568;
            margin-bottom: 6px;
            font-size: 0.9rem;
        }
        
        .total-amount {
            font-size: 1.3rem;
            font-weight: 700;
            color: #e74c3c;
        }
        
        /* 移动端适配 */
        @media (max-width: 768px) {
            body {
            }
            
            .container > header {

            }
            
            .container > header h1 {
                font-size: 1.5rem;
                margin-bottom: 3px;
            }
            
            .container > header p {
                font-size: 0.8rem;
            }
                       
            .main-content {
                flex-direction: column;

            }
            
            .controls-section, .results-section {
                margin: 5px 0;

            }
            
            .section-title {
                font-size: 1.1rem;
                margin-bottom: 12px;
            }
            
            .number-input-group {
                flex-direction: column;
                gap: 8px;
            }
            
            .prize-amount {
                font-size: 1.6rem;
                margin: 12px 0;
            }
            
            .result-item {

                margin-bottom: 8px;
            }
            
            .drawer-option, .period-option, .hit-option, .red-ball-option, .dantuo-option {

                font-size: 0.85rem;
                min-width: 50px;
            }
            
            .period-option {
                min-width: 80px;
            }
            
            .period-options.open {
                max-height: 200px;
            }
            
            .special-hit-button {

                font-size: 0.9rem;
            }
        }
        
        @media (max-width: 480px) {
            .prize-amount {
                font-size: 1.4rem;
            }
            
            .result-value {
                font-size: 0.95rem;
            }
            
            .result-label {
                font-size: 0.85rem;
            }
            
            .drawer-option, .period-option, .hit-option, .red-ball-option, .dantuo-option {
                padding: 5px 6px;
                font-size: 0.8rem;
                min-width: 45px;
            }
            
            .period-option {
                min-width: 70px;
            }
            
            .drawer-options, .period-options, .hit-options, .red-ball-options, .dantuo-options {
                gap: 4px;
            }
            
            .drawer-options.open, .period-options.open, .hit-options.open, .red-ball-options.open, .dantuo-options.open {
                padding: 6px;
            }
            
            .special-hit-button {
                padding: 7px 8px;
                font-size: 0.85rem;
            }
        }
        
        @media (max-width: 360px) {
            .drawer-option, .period-option, .hit-option, .red-ball-option, .dantuo-option {
                padding: 4px 5px;
                font-size: 0.75rem;
                min-width: 40px;
            }
            
            .period-option {
                min-width: 60px;
            }
            
            .special-hit-button {
                padding: 6px 7px;
                font-size: 0.8rem;
            }
        }
