    /* Force light color scheme to prevent mobile dark mode interference */
    @media (prefers-color-scheme: dark) {
      html, body {
        color-scheme: light;
      }
    }
    
    /* Daily Lotto Generator CSS - Dark Theme Version with Red Balls */
    .daily-lotto-generator {
        font-family: Arial, sans-serif;
        max-width: 1100px;
        margin: 20px auto;
        padding: 20px;
        background: #1a1a1a;
        color: #e0e0e0;
        border-radius: 12px;
    }

    .daily-lotto-generator h2 {
        color: #ff6b6b;
        text-align: center;
        font-size: 32px;
        margin-bottom: 25px;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    /* Daily Cycles Display */
    .daily-cycles-display {
        text-align: center;
        margin-bottom: 20px;
        padding: 15px;
        background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
        border: 1px solid #3a3a3a;
        border-radius: 12px;
    }

    .daily-cycles-counter {
        display: inline-block;
        padding: 10px 20px;
        background: linear-gradient(135deg, #ff6b6b, #cc0000);
        color: white;
        border-radius: 25px;
        font-weight: bold;
        font-size: 18px;
        margin: 5px;
        box-shadow: 0 4px 8px rgba(255, 107, 107, 0.3);
    }

    .daily-cycles-reset-time {
        color: #b0b0b0;
        font-size: 14px;
        margin-top: 10px;
    }

    .daily-no-cycles-message {
        background: rgba(220, 53, 69, 0.2);
        color: #ff6b6b;
        padding: 15px;
        border-radius: 8px;
        border: 1px solid rgba(220, 53, 69, 0.3);
        margin: 10px 0;
        font-weight: bold;
    }

    .daily-key-selection-panel {
        margin: 20px 0 30px 0;
        padding: 20px;
        background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
        border: 1px solid #3a3a3a;
        border-radius: 12px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    }

    .daily-key-selection-header h3 {
        color: #e0e0e0;
        margin: 0 0 15px 0;
        font-size: 16px;
        text-align: center;
    }

    .daily-controls-row {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    .daily-swap-counter, .daily-unique-counter {
        display: inline-block;
        padding: 6px 12px;
        background: #2a2a2a;
        color: #e0e0e0;
        border: 1px solid #3a3a3a;
        border-radius: 20px;
        font-weight: bold;
        font-size: 14px;
        min-width: auto;
        text-align: center;
    }

    .daily-unique-counter {
        background: #28a745;
        color: white;
        border: 1px solid #28a745;
    }

    .daily-range-indicator {
        display: inline-block;
        padding: 6px 12px;
        color: white !important;
        border-radius: 20px;
        font-weight: bold;
        font-size: 14px;
        text-align: center;
        border: none;
        transition: all 0.3s ease;
    }

    /* Range indicator color matching */
    .daily-range-indicator.infinity {
        background: linear-gradient(135deg, #00d4ff, #0099ff);
    }

    .daily-range-indicator.titan {
        background: linear-gradient(135deg, #c0c0c0, #a8a8a8);
    }

    .daily-range-indicator.apex {
        background: linear-gradient(135deg, #da70d6, #9370db);
    }

    .daily-range-indicator.hyper {
        background: linear-gradient(135deg, #ff3030, #cc0000);
    }

    .daily-reset-all-btn {
        background: #3a3a3a;
        color: #e0e0e0;
        padding: 6px 12px;
        font-size: 14px;
        font-weight: bold;
        border: 1px solid #4a4a4a;
    }

    .daily-reset-all-btn:hover {
        background: #4a4a4a;
        border-color: #5a5a5a;
    }

    .daily-balls-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(45px, 1fr));
        gap: 8px;
        padding: 15px;
        background: rgba(42, 42, 42, 0.5);
        border: 1px solid #3a3a3a;
        border-radius: 8px;
        max-width: 100%;
    }

    .daily-balls-container .ball {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        color: white;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 4px rgba(0,0,0,0.5);
        position: relative;
        border: 1px solid rgba(255,255,255,0.1);
    }

    .daily-balls-container .ball:hover {
        transform: scale(1.1);
        box-shadow: 0 4px 8px rgba(255, 68, 68, 0.5);
    }

    .daily-balls-container .ball.selected {
        animation: pulse 1s infinite;
        transform: scale(1.15);
        box-shadow: 0 0 20px rgba(255, 68, 68, 0.8);
        border: 2px solid #ff4444;
    }

    @keyframes pulse {
        0% { transform: scale(1.15); }
        50% { transform: scale(1.25); }
        100% { transform: scale(1.15); }
    }

    .daily-balls-container .ball.modified::after {
        content: "\2713";
        position: absolute;
        top: -5px;
        right: -5px;
        background: #28a745;
        color: white;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        border: 2px solid #1a1a1a;
    }

    /* Red gradient for all balls - progressive gradient from light to dark red */
    .daily-balls-container .ball.group-1 { background: linear-gradient(135deg, #ff6b6b, #ee5a5a); }
    .daily-balls-container .ball.group-2 { background: linear-gradient(135deg, #ff5555, #ee4444); }
    .daily-balls-container .ball.group-3 { background: linear-gradient(135deg, #ff4444, #dd3333); }
    .daily-balls-container .ball.group-4 { background: linear-gradient(135deg, #ff3333, #dd2222); }
    .daily-balls-container .ball.group-5 { background: linear-gradient(135deg, #ee2222, #cc1111); }
    .daily-balls-container .ball.group-6 { background: linear-gradient(135deg, #dd1111, #bb0000); }
    .daily-balls-container .ball.group-7 { background: linear-gradient(135deg, #cc0000, #aa0000); }
    .daily-balls-container .ball.group-8 { background: linear-gradient(135deg, #bb0000, #990000); }
    .daily-balls-container .ball.group-9 { background: linear-gradient(135deg, #aa0000, #880000); }
    .daily-balls-container .ball.group-10 { background: linear-gradient(135deg, #990000, #770000); }
    .daily-balls-container .ball.group-11 { background: linear-gradient(135deg, #880000, #660000); }
    .daily-balls-container .ball.group-12 { background: linear-gradient(135deg, #770000, #550000); }

    .daily-swap-interface {
        margin-top: 20px;
        padding: 15px;
        background: #2a2a2a;
        border: 1px solid #3a3a3a;
        border-radius: 8px;
        text-align: center;
    }

    .daily-swap-message {
        font-size: 18px;
        margin-bottom: 15px;
        color: #e0e0e0;
    }

    #dailySelectedBall {
        font-weight: bold;
        color: #ff6b6b;
        font-size: 20px;
    }

    .daily-swap-options {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-bottom: 15px;
        flex-wrap: wrap;
    }

    .daily-swap-options .swap-option {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        color: white;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 4px rgba(0,0,0,0.5);
        border: 1px solid rgba(255,255,255,0.1);
    }

    .daily-swap-options .swap-option:hover {
        transform: scale(1.15);
        box-shadow: 0 4px 8px rgba(255, 68, 68, 0.5);
    }

    /* Apply same red gradient to swap options */
    .daily-swap-options .swap-option.group-1 { background: linear-gradient(135deg, #ff6b6b, #ee5a5a); }
    .daily-swap-options .swap-option.group-2 { background: linear-gradient(135deg, #ff5555, #ee4444); }
    .daily-swap-options .swap-option.group-3 { background: linear-gradient(135deg, #ff4444, #dd3333); }
    .daily-swap-options .swap-option.group-4 { background: linear-gradient(135deg, #ff3333, #dd2222); }
    .daily-swap-options .swap-option.group-5 { background: linear-gradient(135deg, #ee2222, #cc1111); }
    .daily-swap-options .swap-option.group-6 { background: linear-gradient(135deg, #dd1111, #bb0000); }
    .daily-swap-options .swap-option.group-7 { background: linear-gradient(135deg, #cc0000, #aa0000); }
    .daily-swap-options .swap-option.group-8 { background: linear-gradient(135deg, #bb0000, #990000); }
    .daily-swap-options .swap-option.group-9 { background: linear-gradient(135deg, #aa0000, #880000); }
    .daily-swap-options .swap-option.group-10 { background: linear-gradient(135deg, #990000, #770000); }
    .daily-swap-options .swap-option.group-11 { background: linear-gradient(135deg, #880000, #660000); }
    .daily-swap-options .swap-option.group-12 { background: linear-gradient(135deg, #770000, #550000); }

    .button {
        padding: 12px 24px;
        margin: 5px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
        color: white !important;
        transition: all 0.3s ease;
    }

    .daily-cancel-btn {
        background: #6c757d;
    }

    .daily-cancel-btn:hover {
        background: #5a6268;
    }

    .daily-generation-controls {
        text-align: center;
        margin: 30px 0;
        padding: 20px;
        background: #2a2a2a;
        border: 1px solid #3a3a3a;
        border-radius: 8px;
    }

	/* Generate button — base */
	.daily-generate-btn {
		position: relative;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 20px 50px !important;
		border-radius: 22px !important;
		font-size: 1rem !important;
		font-weight: 700;
		letter-spacing: 2px;
		text-transform: uppercase;
		cursor: pointer;
		overflow: hidden;
		backdrop-filter: blur(14px);
		transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
		margin-right: 15px;
	}
	.daily-generate-btn:active { transform: scale(0.97); }
	.daily-generate-btn::after {
		content: "";
		position: absolute; top: 0; left: -140%;
		width: 65%; height: 100%;
		transform: skewX(-25deg);
		animation: dailyGenSweep 2s ease-in-out infinite;
		pointer-events: none; z-index: 2;
	}

	/* Inner core and content structure */
	.generate-core {
		position: absolute; inset: 4px; border-radius: 18px;
		z-index: 0; pointer-events: none;
	}
	.generate-content {
		position: relative; z-index: 3;
		display: inline-flex; align-items: center; justify-content: center;
	}
	.generate-text { position: relative; }
	.generate-text::after {
		content: "";
		position: absolute; left: 0; bottom: -6px;
		width: 100%; height: 2px;
		transform: scaleX(0.7); transform-origin: center;
		animation: dailyGenGlowLine 1.4s ease-in-out infinite;
	}
	.clear-core {
		position: absolute; inset: 4px; border-radius: 18px;
		background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)), rgba(24,4,4,0.94);
		z-index: 0; pointer-events: none;
	}
	.clear-content {
		position: relative; z-index: 3;
		display: inline-flex; align-items: center; justify-content: center;
	}
	.clear-text {
		position: relative; color: #fff7f7;
		text-shadow: 0 0 8px rgba(255,100,100,0.45), 0 0 20px rgba(255,0,0,0.35);
	}
	.clear-text::after {
		content: "";
		position: absolute; left: 0; bottom: -6px;
		width: 100%; height: 2px;
		background: linear-gradient(90deg, transparent, #ff5c5c, transparent);
		transform: scaleX(0.7); transform-origin: center;
		animation: dailyGenGlowLine 1.4s ease-in-out infinite;
	}

	/* INFINITY */
	.daily-generate-btn.infinity {
		border: 1px solid rgba(90,200,255,0.35);
		background: linear-gradient(135deg, rgba(0,180,255,0.12), rgba(0,90,255,0.18));
		color: #eefaff;
		box-shadow: 0 0 16px rgba(80,180,255,0.18), 0 0 34px rgba(0,120,255,0.25), 0 0 70px rgba(0,170,255,0.12), inset 0 0 18px rgba(255,255,255,0.05);
	}
	.daily-generate-btn.infinity:hover {
		transform: translateY(-3px) scale(1.03);
		border-color: rgba(120,220,255,0.95);
		box-shadow: 0 0 20px rgba(90,200,255,0.28), 0 0 45px rgba(0,120,255,0.38), 0 0 90px rgba(0,170,255,0.2), inset 0 0 22px rgba(255,255,255,0.08);
	}
	.daily-generate-btn.infinity::before {
		content: "";
		position: absolute; inset: -2px; border-radius: inherit; padding: 1px;
		background: linear-gradient(90deg, transparent, #48d8ff, #007dff, #7cecff, #007dff, transparent);
		-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
		-webkit-mask-composite: xor; mask-composite: exclude;
		animation: dailyGenBorderHue 2.2s linear infinite; pointer-events: none;
	}
	.daily-generate-btn.infinity .generate-core {
		background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01)), rgba(2,12,30,0.88);
	}
	.daily-generate-btn.infinity .generate-text {
		color: #eefaff;
		text-shadow: 0 0 8px rgba(80,220,255,0.45), 0 0 20px rgba(0,120,255,0.35);
	}
	.daily-generate-btn.infinity .generate-text::after {
		background: linear-gradient(90deg, transparent, #72e6ff, transparent);
	}
	.daily-generate-btn.infinity::after {
		background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.08) 30%, rgba(100,220,255,0.55) 50%, rgba(255,255,255,0.08) 70%, transparent 100%);
	}

	/* TITAN */
	.daily-generate-btn.titan {
		border: 1px solid rgba(220,225,235,0.35);
		background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(180,190,210,0.18));
		color: #f3f6fb;
		box-shadow: 0 0 16px rgba(200,210,230,0.16), 0 0 34px rgba(150,165,190,0.22), 0 0 70px rgba(255,255,255,0.08), inset 0 0 18px rgba(255,255,255,0.05);
	}
	.daily-generate-btn.titan:hover {
		transform: translateY(-3px) scale(1.03);
		border-color: rgba(240,245,255,0.95);
		box-shadow: 0 0 20px rgba(220,225,235,0.28), 0 0 45px rgba(180,190,210,0.32), 0 0 90px rgba(255,255,255,0.14), inset 0 0 22px rgba(255,255,255,0.08);
	}
	.daily-generate-btn.titan::before {
		content: "";
		position: absolute; inset: -2px; border-radius: inherit; padding: 1px;
		background: linear-gradient(90deg, transparent, #ffffff, #cfd6e4, #ffffff, #aeb7c7, transparent);
		-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
		-webkit-mask-composite: xor; mask-composite: exclude;
		animation: dailyGenBorderBright 2.2s linear infinite; pointer-events: none;
	}
	.daily-generate-btn.titan .generate-core {
		background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)), rgba(10,14,24,0.92);
	}
	.daily-generate-btn.titan .generate-text {
		color: #f7f9fc;
		text-shadow: 0 0 8px rgba(255,255,255,0.25), 0 0 20px rgba(180,190,210,0.25);
	}
	.daily-generate-btn.titan .generate-text::after {
		background: linear-gradient(90deg, transparent, #ffffff, transparent);
	}
	.daily-generate-btn.titan::after {
		background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.05) 30%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0.05) 70%, transparent 100%);
	}

	/* APEX */
	.daily-generate-btn.apex {
		border: 1px solid rgba(180,100,255,0.35);
		background: linear-gradient(135deg, rgba(120,0,255,0.12), rgba(190,80,255,0.18));
		color: #f7f1ff;
		box-shadow: 0 0 16px rgba(170,80,255,0.18), 0 0 34px rgba(140,0,255,0.25), 0 0 70px rgba(200,120,255,0.12), inset 0 0 18px rgba(255,255,255,0.05);
	}
	.daily-generate-btn.apex:hover {
		transform: translateY(-3px) scale(1.03);
		border-color: rgba(220,170,255,0.95);
		box-shadow: 0 0 20px rgba(190,100,255,0.28), 0 0 45px rgba(150,0,255,0.38), 0 0 90px rgba(210,120,255,0.2), inset 0 0 22px rgba(255,255,255,0.08);
	}
	.daily-generate-btn.apex::before {
		content: "";
		position: absolute; inset: -2px; border-radius: inherit; padding: 1px;
		background: linear-gradient(90deg, transparent, #d67dff, #8a2bff, #f0b7ff, #8a2bff, transparent);
		-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
		-webkit-mask-composite: xor; mask-composite: exclude;
		animation: dailyGenBorderHue 2.2s linear infinite; pointer-events: none;
	}
	.daily-generate-btn.apex .generate-core {
		background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)), rgba(12,4,24,0.92);
	}
	.daily-generate-btn.apex .generate-text {
		color: #fdf8ff;
		text-shadow: 0 0 8px rgba(220,160,255,0.45), 0 0 20px rgba(170,80,255,0.35);
	}
	.daily-generate-btn.apex .generate-text::after {
		background: linear-gradient(90deg, transparent, #dca6ff, transparent);
	}
	.daily-generate-btn.apex::after {
		background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.06) 30%, rgba(220,120,255,0.45) 50%, rgba(255,255,255,0.06) 70%, transparent 100%);
	}

	/* HYPER */
	.daily-generate-btn.hyper {
		border: 1px solid rgba(255,70,70,0.35);
		background: linear-gradient(135deg, rgba(120,0,0,0.14), rgba(255,30,30,0.18));
		color: #fff5f5;
		box-shadow: 0 0 16px rgba(255,60,60,0.18), 0 0 34px rgba(255,0,0,0.25), 0 0 70px rgba(255,80,80,0.14), inset 0 0 18px rgba(255,255,255,0.05);
	}
	.daily-generate-btn.hyper:hover {
		transform: translateY(-3px) scale(1.03);
		border-color: rgba(255,120,120,0.95);
		box-shadow: 0 0 20px rgba(255,80,80,0.28), 0 0 45px rgba(255,0,0,0.4), 0 0 90px rgba(255,50,50,0.22), inset 0 0 22px rgba(255,255,255,0.08);
	}
	.daily-generate-btn.hyper::before {
		content: "";
		position: absolute; inset: -2px; border-radius: inherit; padding: 1px;
		background: linear-gradient(90deg, transparent, #ff4d4d, #ff0000, #ff9a9a, #ff0000, transparent);
		-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
		-webkit-mask-composite: xor; mask-composite: exclude;
		animation: dailyGenBorderBright 2.2s linear infinite; pointer-events: none;
	}
	.daily-generate-btn.hyper .generate-core {
		background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)), rgba(20,4,4,0.94);
	}
	.daily-generate-btn.hyper .generate-text {
		color: #fff7f7;
		text-shadow: 0 0 8px rgba(255,100,100,0.45), 0 0 20px rgba(255,0,0,0.35);
	}
	.daily-generate-btn.hyper .generate-text::after {
		background: linear-gradient(90deg, transparent, #ff5c5c, transparent);
	}
	.daily-generate-btn.hyper::after {
		background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.06) 30%, rgba(255,80,80,0.5) 50%, rgba(255,255,255,0.06) 70%, transparent 100%);
	}

	/* Disabled state */
	.daily-generate-btn:disabled {
		opacity: 0.5;
		cursor: not-allowed;
		transform: none !important;
	}
	.daily-generate-btn:disabled::before,
	.daily-generate-btn:disabled::after { animation: none; }

	/* Clear Results button */
	.daily-clear-btn {
		position: relative;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 20px 50px !important;
		border: 1px solid rgba(255,70,70,0.4);
		border-radius: 22px;
		background: linear-gradient(135deg, rgba(120,0,0,0.16), rgba(255,40,40,0.22));
		color: #fff5f5;
		font-size: 1rem !important;
		font-weight: 700;
		letter-spacing: 2px;
		text-transform: uppercase;
		cursor: pointer;
		overflow: hidden;
		backdrop-filter: blur(14px);
		box-shadow: 0 0 18px rgba(255,60,60,0.22), 0 0 36px rgba(255,0,0,0.28), 0 0 75px rgba(255,80,80,0.16), inset 0 0 18px rgba(255,255,255,0.05);
		transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
	}
	.daily-clear-btn:hover {
		transform: translateY(-3px) scale(1.03);
		border-color: rgba(255,130,130,0.95);
		box-shadow: 0 0 22px rgba(255,80,80,0.3), 0 0 48px rgba(255,0,0,0.42), 0 0 95px rgba(255,50,50,0.24), inset 0 0 22px rgba(255,255,255,0.08);
	}
	.daily-clear-btn:active { transform: scale(0.97); }
	.daily-clear-btn::before {
		content: "";
		position: absolute; inset: -2px; border-radius: inherit; padding: 1px;
		background: linear-gradient(90deg, transparent, #ff4d4d, #ff0000, #ff9a9a, #ff0000, transparent);
		-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
		-webkit-mask-composite: xor; mask-composite: exclude;
		animation: dailyGenBorderBright 2.2s linear infinite; pointer-events: none;
	}
	.daily-clear-btn::after {
		content: "";
		position: absolute; top: 0; left: -140%;
		width: 65%; height: 100%;
		background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.06) 30%, rgba(255,80,80,0.45) 50%, rgba(255,255,255,0.06) 70%, transparent 100%);
		transform: skewX(-25deg);
		animation: dailyGenSweep 2s ease-in-out infinite; pointer-events: none;
	}

	@keyframes dailyGenBorderBright { 0%{filter:brightness(1)} 100%{filter:brightness(1.2)} }
	@keyframes dailyGenBorderHue    { 0%{filter:hue-rotate(0deg)} 100%{filter:hue-rotate(20deg)} }
	@keyframes dailyGenSweep        { 0%{left:-140%} 100%{left:150%} }
	@keyframes dailyGenGlowLine     { 0%,100%{opacity:0.45;transform:scaleX(0.7)} 50%{opacity:1;transform:scaleX(1)} }

    .daily-results {
        margin: 30px 0;
        padding: 20px;
        background: #2a2a2a;
        border: 1px solid #3a3a3a;
        border-radius: 12px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    }

    .daily-results h3 {
        margin: 0 0 20px 0;
        color: #e0e0e0;
        text-align: center;
        font-size: 24px;
    }

    .daily-results h3 span {
        color: white !important;
    }

    /* Range specific coloring for h3 span */
    .daily-results h3 span.infinity {
        color: #00d4ff !important;
    }

    .daily-results h3 span.titan {
        color: #c0c0c0 !important;
    }

    .daily-results h3 span.apex {
        color: #da70d6 !important;
    }

    .daily-results h3 span.hyper {
        color: #ff3030 !important;
    }

    .daily-results-stats {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 25px;
        font-weight: bold;
        flex-wrap: wrap;
    }

    .daily-results-stats span {
        background: #3a3a3a;
        padding: 10px 20px;
        border-radius: 20px;
        color: #e0e0e0;
        box-shadow: 0 2px 4px rgba(0,0,0,0.3);
        border: 1px solid #4a4a4a;
        transition: all 0.3s ease;
    }

    .daily-results-stats span:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    }

    .daily-results-stats .range-stat {
        color: white !important;
        border: none;
        font-weight: bold;
    }

    /* Range specific coloring for stats */
    .daily-results-stats .range-stat.infinity {
        background: linear-gradient(135deg, #00d4ff, #0099ff);
    }

    .daily-results-stats .range-stat.titan {
        background: linear-gradient(135deg, #c0c0c0, #a8a8a8);
    }

    .daily-results-stats .range-stat.apex {
        background: linear-gradient(135deg, #da70d6, #9370db);
    }

    .daily-results-stats .range-stat.hyper {
        background: linear-gradient(135deg, #ff3030, #cc0000);
    }

    .daily-results-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 12px;
        background: rgba(26, 26, 26, 0.5);
        padding: 20px;
        border-radius: 8px;
        border: 1px solid #3a3a3a;
        max-height: none;
        overflow-y: visible;
    }

    .daily-result-line {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 12px;
        background: #3a3a3a;
        border-radius: 6px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.3);
        border-left: 4px solid #5a5a5a;
        transition: all 0.3s ease;
        position: relative;
    }

    .daily-result-line:hover {
        transform: translateX(5px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.5);
        background: #424242;
    }

    .daily-result-line.pinned-line {
        background: linear-gradient(135deg, #4a2a2a, #3a1a1a);
        border-left-color: #ff6b6b;
        box-shadow: 0 4px 8px rgba(255, 107, 107, 0.2);
    }

    .daily-pin-btn {
        background: transparent;
        border: 2px solid #4a4a4a;
        border-radius: 50%;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 16px;
        padding: 0;
        flex-shrink: 0;
        color: white !important;
    }

    .daily-pin-btn:hover {
        border-color: #ff6b6b;
        background: rgba(255, 107, 107, 0.1);
        transform: scale(1.1);
    }

    .daily-pin-btn.pinned {
        background: #ff6b6b;
        border-color: #ff6b6b;
        transform: scale(1.1);
        animation: pinPulse 0.5s ease;
    }

    @keyframes pinPulse {
        0% { transform: scale(1.1); }
        50% { transform: scale(1.3); }
        100% { transform: scale(1.1); }
    }

    .daily-pin-btn.pinned .pin-icon {
        transform: rotate(45deg);
    }

    .daily-pin-controls-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
        margin-top: 30px;
        padding: 20px;
        background: rgba(42, 42, 42, 0.5);
        border-radius: 8px;
        border: 1px solid #3a3a3a;
    }

    .daily-save-pinned-btn {
        background: #28a745;
        color: white !important;
        padding: 15px 30px;
        border: none;
        border-radius: 25px;
        font-size: 18px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .daily-save-pinned-btn:disabled {
        background: #6c757d;
        cursor: not-allowed;
        opacity: 0.6;
    }

    .daily-save-pinned-btn.has-pinned {
        background: #ff6b6b;
        color: white !important;
        animation: saveButtonGlow 2s ease-in-out infinite alternate;
    }

    @keyframes saveButtonGlow {
        0% { box-shadow: 0 2px 4px rgba(255, 107, 107, 0.3); }
        100% { box-shadow: 0 4px 15px rgba(255, 107, 107, 0.6); }
    }

    .daily-save-pinned-btn:not(:disabled):hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    }

    .daily-pin-instructions {
        color: #b0b0b0;
        font-style: italic;
        text-align: center;
        font-size: 14px;
    }

    .daily-login-required {
        background: rgba(220, 53, 69, 0.2);
        color: #ff6b6b;
        padding: 12px 20px;
        border-radius: 25px;
        border: 1px solid rgba(220, 53, 69, 0.3);
        font-size: 16px;
        font-weight: bold;
        text-align: center;
    }

    .daily-line-number {
        min-width: 70px;
        font-weight: bold;
        color: #ff6b6b;
        font-size: 14px;
    }

    .daily-line-numbers {
        font-family: monospace;
        font-size: 16px;
        color: #e0e0e0;
        font-weight: 500;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .daily-key-selection-header h3 {
            font-size: 14px;
            line-height: 1.2;
            margin-bottom: 10px;
        }
        
        .daily-controls-row {
            gap: 8px;
        }
        
        .daily-swap-counter, 
        .daily-unique-counter, 
        .daily-range-indicator,
        .daily-reset-all-btn {
            padding: 5px 10px;
            font-size: 12px;
        }
        
        .daily-balls-container {
            grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
        }
        
        .daily-balls-container .ball {
            width: 40px;
            height: 40px;
            font-size: 14px;
        }
        
        .daily-results-stats {
            gap: 10px;
        }
        
        .daily-results-stats span {
            padding: 8px 16px;
            font-size: 14px;
        }
        
        .daily-results-grid {
            grid-template-columns: 1fr;
            padding: 15px;
        }
        
        .daily-generation-controls {
            padding: 15px;
        }
        
		.daily-generate-btn,
		.daily-clear-btn {
			display: block;
			width: 100%;
			margin: 10px 0;
		}
        
        .daily-cycles-counter {
            font-size: 16px;
            padding: 8px 16px;
        }
    }

    @media (max-width: 480px) {
        .daily-key-selection-header h3 {
            font-size: 13px;
        }
        
        .daily-controls-row {
            gap: 5px;
        }
        
        .daily-swap-counter, 
        .daily-unique-counter, 
        .daily-range-indicator,
        .daily-reset-all-btn {
            padding: 4px 8px;
            font-size: 11px;
        }
        
        .daily-balls-container {
            grid-template-columns: repeat(auto-fit, minmax(35px, 1fr));
            gap: 5px;
            padding: 10px;
        }
        
        .daily-balls-container .ball {
            width: 35px;
            height: 35px;
            font-size: 12px;
        }
        
        .daily-result-line {
            padding: 10px;
            font-size: 14px;
        }
        
        .daily-line-number {
            font-size: 13px;
            min-width: 60px;
        }
        
        .daily-line-numbers {
            font-size: 14px;
        }
        
        .daily-cycles-counter {
            font-size: 14px;
            padding: 6px 12px;
        }
    }

