.ust-kutu { background: #1a1a2e; border-radius: 12px; padding: 20px; text-align: center; margin-bottom: 12px; }
.ust-baslik { font-size: 18px; color: #fff; font-weight: bold; margin-bottom: 6px; }
.ust-sayi { font-size: 48px; font-weight: bold; color: #e94560; line-height: 1.1; }
.ust-alt-yazi { font-size: 14px; color: #aaa; margin-top: 4px; margin-bottom: 12px; }
.ust-cizgi { height: 3px; background: linear-gradient(90deg, #e94560, #ff6b6b); border-radius: 2px; }

.mod-butonlar { display: flex; gap: 10px; margin-bottom: 0; }
.mod-btn { flex: 1; padding: 11px; border: 2px solid #ddd; border-radius: 8px; background: #fff; font-size: 13px; font-weight: 800; color: #555; cursor: pointer; transition: all 0.15s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mod-btn:hover { border-color: #e94560; color: #e94560; }
.mod-btn-aktif { background: #00c853; color: #fff !important; border-color: #00c853 !important; }

.mod-aciklama { font-size: 13px; color: #555; background: #f8f9fa; border-radius: 8px; padding: 12px 14px; margin-bottom: 14px; line-height: 1.6; border-left: 3px solid #e94560; }

.secim-kutu { background: #fff; border-radius: 10px; padding: 16px; margin-bottom: 14px; box-shadow: 0 2px 6px rgba(0,0,0,0.06); }
.secim-bilgi { font-size: 13px; color: #555; margin-bottom: 12px; font-weight: bold; }

.sayi-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; margin-bottom: 14px; }
.sayi-btn { padding: 9px 4px; border: 1px solid #ddd; border-radius: 6px; cursor: pointer; font-size: 13px; text-align: center; font-weight: bold; transition: all 0.15s; user-select: none; background: #fff; }
.sayi-btn:hover { border-color: #e94560; }
.sayi-btn.secili { background: #e94560; color: #fff; border-color: #e94560; }

.k-buton-grup { display: flex; gap: 10px; justify-content: flex-end; }
.temizle-btn { background: #6c757d; color: #fff; border: none; border-radius: 6px; padding: 9px 16px; font-size: 13px; cursor: pointer; }
.kombinasyon-yap-btn { background: #e94560; color: #fff; border: none; border-radius: 6px; padding: 9px 20px; font-size: 13px; cursor: pointer; min-width: 160px; transition: all 0.3s; }
.kombinasyon-yap-btn:disabled { background: #ccc; cursor: not-allowed; }
.kombinasyon-yap-btn.hazirlaniyor { animation: yanipSon 0.7s infinite; }
.kombinasyon-yap-btn.hazir { background: #28a745; animation: none; }
@keyframes yanipSon { 0%,100% { opacity:1; } 50% { opacity:0.3; } }

.kopyala-btn { background: #0f3460; color: #fff; border: none; border-radius: 6px; padding: 7px 14px; font-size: 13px; cursor: pointer; }
.kombinasyon-liste { font-family: monospace; font-size: 14px; line-height: 2; max-height: 400px; overflow-y: auto; }

@media (max-width: 600px) {
    .sayi-grid { grid-template-columns: repeat(7, 1fr); }
    .mod-butonlar { flex-direction: row; }
    .k-buton-grup { flex-direction: column; }
}

.kayan-yazi-wrapper { overflow: hidden; width: 100%; margin-top: 4px; height: 16px; line-height: 16px; }
.kayan-yazi { display: inline-block; white-space: nowrap; font-size: 11px; color: #aaa; animation: kayaSola 18s linear infinite; }
@keyframes kayaSola { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

.animasyon-yazi-wrapper { text-align: center; margin-top: 6px; height: 18px; }
.animasyon-yazi { font-size: 11px; color: #aaa; opacity: 1; transition: opacity 0.5s ease; display: block; width: 100%; text-align: center; }
