* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Dark Mode (Standard) */
:root,
body {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #f59e0b;
    --success-color: #10b981;
    --background: #0f172a;
    --surface: #1e293b;
    --surface-light: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --shadow: rgba(0, 0, 0, 0.3);
}

/* Light Mode - Manuelle Aktivierung hat Priorität */
body.light-mode {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #f59e0b;
    --success-color: #059669;
    --background: #f0f4f8;
    --surface: #ffffff;
    --surface-light: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --shadow: rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%) !important;
}

body.light-mode .number-placeholder {
    border-color: var(--text-secondary);
    opacity: 0.5;
}

body.light-mode .info-box {
    border-left-color: var(--primary-color);
    background: var(--surface-light);
}

body.light-mode .clear-btn:hover {
    border-color: #dc2626;
    color: #dc2626;
}

/* Dark Mode - Manuelle Aktivierung */
body.dark-mode {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #f59e0b;
    --success-color: #10b981;
    --background: #0f172a;
    --surface: #1e293b;
    --surface-light: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --shadow: rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--background) 0%, #1e3a5f 100%) !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--background) 0%, #1e3a5f 100%);
    min-height: 100vh;
    color: var(--text-primary);
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-top: 10px;
}

.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--surface);
    border: 2px solid var(--surface-light);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px var(--shadow);
    z-index: 1000;
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(10deg);
    border-color: var(--primary-color);
}

.theme-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

body.dark-mode .theme-icon {
    transform: rotate(0deg);
}

body.light-mode .theme-icon {
    transform: rotate(0deg);
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 10px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

main {
    background: var(--surface);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px var(--shadow);
}

.game-selector {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.game-btn {
    background: var(--surface-light);
    border: 3px solid transparent;
    color: var(--text-secondary);
    padding: 16px 32px;
    border-radius: 16px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 180px;
    justify-content: center;
}

.game-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.game-btn > * {
    position: relative;
    z-index: 1;
}

.game-btn:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    color: var(--text-primary);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.game-btn.active {
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
}

.game-btn.active::before {
    opacity: 1;
}

.game-emoji {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.info-box {
    background: var(--surface-light);
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: center;
    border-left: 4px solid var(--primary-color);
}

.info-box p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Ziehungsinformationen */
.draw-info-container {
    display: grid;
    /* vorher: grid-template-columns: 1fr 1fr; jetzt dynamisch */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 15px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .draw-info-container {
        grid-template-columns: 1fr;
        margin-bottom: 35px;
    }
    .refresh-text { display: none; }
    .refresh-draw-btn-center { padding: 10px; border-radius: 50%; width: 45px; height: 45px; justify-content: center; }
}

.next-draw-box,
.last-draw-box {
    border-radius: 12px;
    background: var(--surface-light);
    --draw-box-padding: 20px;
    padding: var(--draw-box-padding);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    border: none;
    /* min-height: 190px; */
}
/* Akzent identisch wie info-box */
.next-draw-box { border-left: 4px solid var(--success-color); }
.last-draw-box  { border-left: 4px solid var(--secondary-color); }
/* Medienanpassungen behalten nur Padding-Variable */
@media (max-width: 1023px) {
  .next-draw-box, .last-draw-box { --draw-box-padding:16px; padding:var(--draw-box-padding); min-height:190px; }
}
@media (max-width: 480px) {
  .next-draw-box, .last-draw-box { --draw-box-padding:14px; padding:var(--draw-box-padding); }
}


.next-draw-box {
    border-left: 4px solid var(--success-color);
}

.last-draw-box {
    border-left: 4px solid var(--secondary-color);
}

.next-draw-box:hover,
.last-draw-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow);
}

/* Wrapper für Ziehungsinformationen mit Refresh-Button */
.draw-info-wrapper {
    position: relative;
    margin-bottom: 30px;
}

/* Zentraler Refresh-Button über den Boxen */
.refresh-draw-btn-center {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: linear-gradient(135deg, var(--secondary-color), #ea580c);
    border: 3px solid var(--surface);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.refresh-draw-btn-center:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
    background: linear-gradient(135deg, #ea580c, var(--secondary-color));
}

.refresh-draw-btn-center:active {
    transform: translateX(-50%) translateY(0px);
}

.refresh-draw-btn-center.loading .refresh-icon {
    animation: spin 1s linear infinite;
}

.refresh-icon {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.refresh-draw-btn-center:hover .refresh-icon {
    transform: rotate(180deg);
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Refresh-Button im Label - modernes Design */
.refresh-draw-btn-mini {
    background: var(--surface) !important;
    border: 2px solid var(--surface-light) !important;
    color: var(--text-secondary) !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    padding: 6px 10px !important;
    margin-left: 10px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.refresh-draw-btn-mini:hover:not(:disabled) {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.refresh-draw-btn-mini:hover:not(:disabled)::after {
    content: ' Aktualisieren';
    margin-left: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.refresh-draw-btn-mini:active:not(:disabled) {
    transform: translateY(0px);
}

.refresh-draw-btn-mini:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.refresh-draw-btn-mini.loading {
    animation: spin 1s linear infinite;
    pointer-events: none;
}

/* Auf kleinen Bildschirmen: Kein Text beim Hover */
@media (max-width: 768px) {
    .refresh-draw-btn-mini:hover:not(:disabled)::after {
        content: '';
    }
}

/* Toast-Benachrichtigungen */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--surface);
    color: var(--text-primary);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 32px var(--shadow);
    border-left: 4px solid var(--primary-color);
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10000;
    max-width: 350px;
    backdrop-filter: blur(10px);
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-notification.toast-success {
    border-left-color: var(--success-color);
}

.toast-notification.toast-error {
    border-left-color: #ef4444;
}

.toast-notification.toast-info {
    border-left-color: var(--primary-color);
}

body.light-mode .toast-notification {
    background: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.draw-icon {
    font-size: 2rem;
    opacity: 0.8;
}

@media (max-width: 1023px) {
    .draw-icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .draw-icon {
        font-size: 1.3rem;
    }
}

.draw-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 1023px) {
    .draw-label {
        font-size: 0.75rem;
    }
}

.draw-time {
    /* entferne white-space: nowrap; und overflow/ellipsis zur Vermeidung von Überlauf auf großen Monitoren */
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.25;
}

.draw-time .draw-date-part {
    display: block;
    font-weight: 700;
}

.draw-time .draw-time-part {
    display: inline-block;
    font-weight: 700;
    margin-left: 4px;
}

@media (max-width: 1023px) {
    .draw-time .draw-time-part {
        display: block;
        margin-left: 0;
        margin-top: 2px;
    }
}

@media (max-width: 1023px) {
    .draw-time {
        font-size: 0.95rem;
    }
}

@media (max-width: 500px) {
    .draw-time {
        font-size: 0.9rem;
        white-space: normal;
    }
}

.draw-countdown {
    font-size: 0.9rem;
    color: var(--success-color);
    font-weight: 600;
}

@media (max-width: 1023px) {
    .draw-countdown {
        font-size: 0.8rem;
    }
}

.jackpot-amount {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--surface-light);
    font-size: 0.95rem;
}

@media (max-width: 1023px) {
    .jackpot-amount {
        font-size: 0.85rem;
        margin-top: 8px;
        padding-top: 8px;
    }
}

.jackpot-label {
    color: var(--text-secondary);
    font-weight: 600;
    margin-right: 6px;
}

.jackpot-value {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

@media (max-width: 1023px) {
    .jackpot-value {
        font-size: 0.95rem;
    }
}

.jackpot-value.loading {
    opacity: 0.6;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.last-draw-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

/* Auf mittleren Bildschirmen: Kleinere Zahlen */
@media (max-width: 1023px) {
    .last-draw-numbers .mini-ball {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .last-draw-numbers .mini-ball.super {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .last-draw-numbers .mini-ball.euro {
        width: 28px;
        height: 28px;
    }

    .last-draw-numbers {
        flex-wrap: wrap;
        gap: 5px;
    }
}

/* Auf sehr kleinen Bildschirmen: Noch kleiner */
@media (max-width: 480px) {
    .last-draw-numbers .mini-ball {
        width: 26px;
        height: 26px;
        font-size: 0.7rem;
    }

    .last-draw-numbers .mini-ball.super {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .last-draw-numbers .mini-ball.euro {
        width: 26px;
        height: 26px;
    }

    .last-draw-numbers {
        gap: 4px;
    }
}

.last-draw-numbers .mini-ball {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.last-draw-numbers .mini-ball.euro {
    background: linear-gradient(135deg, var(--secondary-color), #ea580c);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.last-draw-numbers .mini-ball.super {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
}

.last-draw-numbers .separator {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    padding: 0 4px;
}

.info-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

.results-container {
    display: grid;
    gap: 30px;
    margin-bottom: 30px;
}

.numbers-section {
    text-align: center;
}

.numbers-section h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.numbers {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.number-placeholder,
.number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.number-placeholder {
    background: var(--surface-light);
    color: var(--text-secondary);
    border: 2px dashed var(--text-secondary);
}

.number-placeholder.super {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
}

.number {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    animation: popIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.number.euro {
    background: linear-gradient(135deg, var(--secondary-color), #ea580c);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.number.super {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.button-container {
    text-align: center;
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.quick-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.action-btn {
    background: var(--surface-light);
    border: 2px solid var(--surface-light);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.action-btn:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.action-btn span:first-child {
    font-size: 1.2rem;
}

.action-btn.copied {
    background: linear-gradient(135deg, var(--success-color), #059669);
    border-color: var(--success-color);
    color: white;
}

.generate-btn {
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

.generate-btn:active {
    transform: translateY(0);
}

.generate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-icon {
    font-size: 1.5rem;
}

.history-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--surface-light);
}

.history-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.history-item {
    background: var(--surface-light);
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.history-item .mini-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    color: white;
}

.history-item .mini-number.main {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.history-item .mini-number.euro {
    background: linear-gradient(135deg, var(--secondary-color), #ea580c);
}

.history-item .mini-number.super {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    font-weight: 800;
}

.history-item .separator {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin: 0 5px;
}

.clear-btn {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--surface-light);
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.clear-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: var(--text-secondary);
}

footer p {
    margin: 5px 0;
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

footer a.active-link { color: var(--primary-color); font-weight: 700; }

.disclaimer {
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* Gewährausschluss-Box im Footer - alles zentriert */
footer div {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

footer div p {
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    main {
        padding: 20px;
    }

    .draw-info-container {
        grid-template-columns: 1fr;
    }

    /* Boxen stapeln: keine erzwungene Mindesthöhe */
    .next-draw-box,
    .last-draw-box {
        padding: 16px;
        min-height: auto;
    }

    .draw-icon {
        font-size: 1.5rem;
    }

    .number-placeholder,
    .number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .number.super,
    .number-placeholder.super {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .numbers {
        gap: 10px;
    }

    .generate-btn {
        padding: 14px 30px;
        font-size: 1.1rem;
    }

    .action-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .game-btn {
        padding: 12px 20px;
        font-size: 1rem;
        min-width: 150px;
    }

    .history-item {
        padding: 12px 15px;
    }

    .history-item .mini-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .history-item .mini-number.super {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    h1 {
        font-size: 1.8rem;
        padding-right: 60px;
    }

    .subtitle {
        font-size: 1rem;
    }

    .theme-toggle {
        width: 45px;
        height: 45px;
        top: 15px;
        right: 15px;
    }

    .theme-icon {
        font-size: 1.3rem;
    }

    .number-placeholder,
    .number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .number.super,
    .number-placeholder.super {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }

    .numbers {
        gap: 8px;
    }

    .info-box {
        padding: 12px 15px;
    }

    .info-box p {
        font-size: 0.9rem;
    }

    .game-btn {
        padding: 10px 16px;
        font-size: 0.95rem;
        min-width: 140px;
    }

    .generate-btn {
        width: 100%;
        padding: 14px 20px;
    }

    .quick-actions {
        width: 100%;
    }

    .action-btn {
        flex: 1;
        justify-content: center;
    }
}

/* Zusatz: jackpot-meta kleine Schrift */
.jackpot-meta { font-style: italic; }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    .generate-btn:hover, .game-btn:hover, .refresh-draw-btn-mini:hover { transform: none !important; }
}

/* Alignment Fix für Ziehungslabels */
.next-draw-box, .last-draw-box { position: relative; }
.draw-label { margin-top:0 !important; line-height:1.05; align-items:center; }
.last-draw-box .draw-label { padding-right:55px; }
/* Button absolut platzieren, damit er die Baseline nicht verschiebt */
.last-draw-box .refresh-draw-btn-mini { position:absolute; top:12px; right:14px; margin-left:0 !important; }
/* Entferne frühere Icon-Margin Tweaks, setze einheitlich */
.next-draw-box .draw-icon, .last-draw-box .draw-icon { margin-top:4px !important; }
@media (min-width:1024px){
  .next-draw-box .draw-icon, .last-draw-box .draw-icon { margin-top:6px !important; }
  .last-draw-box .refresh-draw-btn-mini { top:14px; }
}
/* Positionierung des Refresh-Buttons in beiden Boxen identisch */
.next-draw-box .refresh-draw-btn-mini { position:absolute; top:12px; right:14px; margin-left:0 !important; }
@media (min-width:1024px){ .next-draw-box .refresh-draw-btn-mini { top:14px; } }
