:root {
    --gold: #c2b067;
    --dark: #374552;
    --ball: #c2b067;
    --bg-color: #ffffff;
    --border-color: #e2e8f0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--dark);
    line-height: 1.6;
}

/* ---------------------------------------------------
   CONTAINER
---------------------------------------------------- */
.container {
    max-width: 1000px;
    margin: 20px auto 60px auto;
    padding: 0 20px;
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        margin: 15px auto 40px auto;
    }
}

CSS

/* =========================================
   LOGO - GEHEIMESEITE
   ========================================= */


.main-logo a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.main-logo-text {
    position: relative;
    display: inline-block;
    font-family: Arial, sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 2;
    color: var(--dark);
    height: 35px;
}

/* Der goldene Unterstrich (dauerhaft da und wird beim Hover länger) */
.main-logo-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 38%; /* Standardbreite wie im Footer dauerhaft sichtbar */
    height: 3px;
    background: linear-gradient(90deg, #c2b067, #d8c982, transparent);
    border-radius: 10px;
    transition: width 0.4s ease; /* Weiche Animation */
}

/* Fährt beim Hover über das Logo etwas weiter aus */
.main-logo a:hover .main-logo-text::after {
    width: 60%; /* Hier einstellen, wie lang er beim Hover werden soll */
}

@media (max-width: 600px) {
    .main-logo-text {
        font-size: 1.25rem;
        letter-spacing: 0.08em;
    }
}

/* ---------------------------------------------------
   KARTEN GRID & LAYOUT
---------------------------------------------------- */
.draws-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .draws-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------------------------------
   KARTEN DESIGN
---------------------------------------------------- */
.draw-card {
    background: #ffffff;
    border: 1px solid rgba(55, 69, 82, 0.14);
    border-radius: 10px;
    padding: 60px 20px 40px 20px;
    position: relative;
    text-align: center;
    box-shadow: 0 2px 5px rgba(55, 69, 82, 0.05), 0 8px 20px rgba(55, 69, 82, 0.08), 0 20px 40px rgba(55, 69, 82, 0.06);
    transition: box-shadow 0.25s ease;
}

.card-title-left {
    position: absolute;
    top: 20px;
    left: 20px;
    color: var(--dark);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
}

.card-flag {
    position: absolute;
    top: 15px;
    right: 20px;
}

.card-label {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.card-date {
    color: var(--dark);
    font-size: 1rem;
    margin-bottom: 20px;
}

.card-date strong {
    font-weight: 700;
    font-size: 1rem;
}

.card-date .divider {
    color: #cbd5e0;
    margin: 0 5px;
    font-weight: 300;
}

/* ---------------------------------------------------
   KUGELN
---------------------------------------------------- */
.balls-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.ball-group {
    display: flex;
}

.ball {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--dark);
    background: #ffffff;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 500;
    margin-left: -6px;
    position: relative;
}

.ball-group .ball:first-child {
    margin-left: 0;
}

.super-ball {
    background: var(--gold);
    color: #ffffff;
    border: none;
    margin-left: 12px;
}

.ball-sm {
    width: 26px;
    height: 26px;
    font-size: 12px;
}

/* ---------------------------------------------------
   ZUSATZSPIELE LINKS (Super 6 & Spiel 77)
---------------------------------------------------- */
.additional-games {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 25px 0 35px 0;
}

.additional-games a {
    color: var(--dark);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

.additional-games a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* ---------------------------------------------------
   BUTTONS
---------------------------------------------------- */
.card-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.mt-extra {
    margin-top: 40px;
}

.btn {
    padding: 12px 10px;
    width: auto;
    border-radius: 30px;
    font-size: 12px 10px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-outline {
    background: #ffffff;
    border: 1px solid var(--dark);
    color: var(--dark);
    font-size: 1rem;
}

.btn-outline:hover {
    background: #f8f9fa;
}

.btn-gold {
    background: var(--dark);
    border: 1px solid var(--dark);
    color: #ffffff;
    font-size: 1rem;
    padding: 12px 10px;
    border-radius: 6px;
}

.btn-gold:hover {
    background: #ffffff;
    color: var(--dark);
}

/* ---------------------------------------------------
   FLAGGEN ICONS
---------------------------------------------------- */
.flag {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-block;
}

.flag-de {
    background: linear-gradient(to bottom, #000 33.3%, #dd0000 33.3%, #dd0000 66.6%, #ffce00 66.6%);
}

.flag-eu {
    background: #003399;
    position: relative;
}

.flag-eu::before {
    content: "★";
    color: #ffce00;
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ---------------------------------------------------
   HEADER / NAVIGATION & BURGER-MENÜ
---------------------------------------------------- */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Burger Checkbox Hack */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 21px;
}

.nav-toggle-label span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.main-nav .nav-list {
    list-style: none;
    display: flex;
    gap: 15px;
    margin-right: 80px;
}

.dropdown {
    position: relative;
}

.dropbtn {
    background: none;
    border: none;
    color: var(--dark);
    font-size: 1.1rem; 
    font-weight: 600;
    cursor: pointer;
    padding: 10px 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropbtn:hover {
    color: var(--gold);
}

.mobile-toggle-icon {
    display: none;
    font-weight: bold;
    font-size: 1.2rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    border-radius: 4px;
    border: 1px solid var(--border-color);
    z-index: 10;
    padding: 8px 0;
}

.dropdown-content a {
    color: var(--dark);
    padding: 8px 20px;
    text-decoration: none;
    display: block;
    font-size: 1rem;
}

.dropdown-content a:hover {
    background-color: #f4f5f7;
    color: var(--gold);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* =========================================
   MOBILE RESPONSIVE NAV & BURGER MENU
   ========================================= */
@media (max-width: 768px) {
    .nav-toggle-label {
        display: flex;
    }

    /* Das Menü ist standardmäßig auf display: none, um Fehler zu vermeiden */
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    }

    /* Wenn das Burger-Menü angeklickt wird, wird display: block gesetzt */
    .nav-toggle:checked ~ .main-nav {
        display: block;
    }

    .main-nav .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }

    .dropdown {
        width: 100%;
    }

    .dropbtn {
        width: 100%;
        padding: 14px 20px;
        border-bottom: 1px solid #f1f5f9;
    }

    .arrow {
        display: none;
    }

    .mobile-toggle-icon {
        display: inline-block;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    /* Dropdown Inhalt für Mobilgeräte */
    .dropdown-content {
        display: none; /* Versteckt durch Standard */
        position: static;
        box-shadow: none;
        border: none;
        padding: 0;
        background: #f8f9fa;
    }

    /* Wenn die Klasse .open per JS hinzugefügt wird, zeigen wir den Inhalt an */
    .dropdown.open .dropdown-content {
        display: block;
        padding: 8px 0;
    }

    .dropdown-content a {
        padding: 10px 20px 10px 35px;
        border-bottom: 1px solid #edf2f7;
    }
}



/* Hilfsklasse für mehrzeilige Kugeln (z. B. KENO) */
.flex-wrap {
    flex-wrap: wrap;
    gap: 4px;
}

/* Anpassung der kleinen Kugeln, um das margin-left der Standard-Kugeln zu überschreiben */
.ball-sm {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
    margin: 0 !important;
}

/* Abstand für "Vorletzte Ziehung" */
.mt-20 {
    margin-top: 20px;
}


/* ---------------------------------------------------
   FOOTER
---------------------------------------------------- */
.site-footer {
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--dark);
    text-decoration: none;
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--gold);
}

/* ---------------------------------------------------
   FOOTER COPYRIGHT DESIGN (Analog zum Header-Logo)
---------------------------------------------------- */
.footer-copyright {
    position: relative;
    display: inline-block;
    font-family: Arial, sans-serif;
    font-size: 1rem; /* Gewünschte Schriftgröße */
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1;
    color: var(--dark);
    margin-top: 5px;
}

/* Der goldene Unterstrich im Footer */
.footer-copyright::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 25%; /* Etwas kürzer angepasst an den längeren Text */
    height: 2.5px;
    background: linear-gradient(90deg, #c2b067, #d8c982, transparent);
    border-radius: 10px;
}



/* =========================================
   QUOTEN SEITEN & FILTER STYLING
   ========================================= */
.quota-filter-box {
    background: #ffffff;
    border: 1px solid rgba(55, 69, 82, 0.14);
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(55, 69, 82, 0.05);
}

.quota-select {
    background-color: #f8f9fa;
    border: 1px solid #cbd5e0;
    color: var(--dark);
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s;
}

.quota-select:focus {
    border-color: var(--gold);
}

.quota-table th {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quota-table td {
    font-size: 0.95rem;
    color: var(--dark);
}

.quota-table tr:hover {
    background-color: #f8f9fa;
}



/* =========================================
   GLÜCKSSPIRALE ZAHLEN & KUGELN STYLING
   ========================================= */

/* Stil für die Haupt-Gewinnzahlen Box */
.gs-numbers-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

/* Einzelne Ziffern-Blöcke im runden/kapselartigen Look */
.gs-ball {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: 19px;
    border: 1px solid var(--dark);
    background: #ffffff;
    color: var(--dark);
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(55, 69, 82, 0.04);
}

/* Hervorgehobene oder spezielle Ziffern (z. B. für Sieger-Chance / Sonderklassen) */
.gs-ball-gold {
    background: var(--gold);
    color: #ffffff;
    border: none;
}




/* Ziehungen */



/* =========================================================
   Finaler CSS-Code für ziehungen.php (Korrekturen für Abstände & Mobile)
   ========================================================= */

.ziehung-page-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: inherit;
    color: var(--dark, #2d3748);
    box-sizing: border-box;
}

.ziehung-page-container *, 
.ziehung-page-container *::before, 
.ziehung-page-container *::after {
    box-sizing: border-box;
}

/* Filter Box */
.ziehung-filter-box {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    border: 1px solid rgba(55,69,82,0.14);
}

.ziehung-filter-title-hover {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--dark, #2d3748);
    cursor: pointer;
    display: inline-block;
    transition: color 0.3s ease, transform 0.2s ease;
}

.ziehung-filter-title-hover:hover {
    color: var(--gold, #d4af37);
    transform: translateX(4px);
}

.ziehung-nav-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.ziehung-nav-btn {
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    text-align: center;
}

.ziehung-btn-active {
    background-color: var(--gold, #d4af37);
    color: #fff;
    border: 1px solid var(--gold, #d4af37);
}

.ziehung-btn-inactive {
    background-color: #f8f9fa;
    color: #4a5568;
    border: 1px solid #cbd5e0;
}

.ziehung-btn-inactive:hover {
    background-color: #edf2f7;
    color: #2d3748;
}

.ziehung-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.ziehung-select-wrapper {
    flex: 1;
    min-width: 220px;
}

.ziehung-select {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #cbd5e0;
    font-size: 1rem;
    background: #f8f9fa;
    color: #2d3748;
}

.ziehung-submit-btn {
    background-color: var(--dark);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.ziehung-submit-btn:hover {
    opacity: 0.9;
}

/* Layout Split */
.ziehung-split-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: flex-start;
}

.ziehung-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    border: 1px solid rgba(55,69,82,0.14);
}

.ziehungsverzeichnis {
    flex: 1 1 58%;
    min-width: 300px;
}

.ziehung-stats-card {
    flex: 1 1 38%;
    min-width: 300px;
}

.ziehung-card-header {
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.ziehung-card-header h1, 
.ziehung-card-header h2 {
    font-size: 1.4rem;
    color: var(--dark, #2d3748);
    text-transform: uppercase;
    margin: 0;
}

.ziehung-card-header p {
    color: #666;
    font-size: 0.95rem;
    margin-top: 5px;
    margin-bottom: 0;
}

/* Tabellen Design */
.ziehung-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ziehung-table {
    width: 100%;
    border-collapse: collapse;
}

.ziehung-table th, 
.ziehung-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #edf2f7;
    text-align: left;
    vertical-align: middle;
}

.ziehung-table th {
    background: #f4f5f7;
    font-weight: 600;
    color: #4a5568;
    border-bottom: 2px solid #e2e8f0;
}

/* Datum etwas kleiner gestaltet */
.ziehung-date-text {
    font-size: 0.88rem;
    font-weight: 600;
    color: #2d3748;
    white-space: nowrap;
}

/* Flexbox für Bälle mit sauberem Abstand (verhindert das Ineinandergreifen) */
.ziehung-balls-group {
    display: flex;
    gap: 8px;
    row-gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

/* Standard Ball / Kapsel */
.ziehung-ball {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    font-size: 0.88rem;
    background: #fff;
    border: 1px solid #cbd5e0;
    border-radius: 17px;
    font-weight: bold;
    color: #2d3748;
    white-space: nowrap;
    box-sizing: border-box;
}

/* Spezielle kleinere Schrift für lange Zahlen (Keno Plus 5, GlücksSpirale) */
.ziehung-ball-long {
    font-size: 0.72rem;
    padding: 0 6px;
    letter-spacing: -0.3px;
}

.ziehung-extra-ball {
    background: var(--gold, #d4af37);
    color: #fff;
    border-color: var(--gold, #d4af37);
}

/* Statistik-Grid */
.ziehung-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
    gap: 10px;
    max-height: 600px;
    overflow-y: auto;
    padding: 5px;
}

.ziehung-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8f9fa;
    padding: 8px 4px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.ziehung-stat-ball {
    background: #fff;
    border: 1px solid #cbd5e0;
    color: #2d3748;
}

.ziehung-stat-count-below {
    font-size: 0.75rem;
    font-weight: bold;
    color: #e53e3e;
    background: #fed7d7;
    padding: 2px 5px;
    border-radius: 4px;
    margin-top: 5px;
    white-space: nowrap;
}

.ziehung-empty {
    text-align: center;
    padding: 20px;
    color: #718096;
}

/* =========================================================
   Responsive Mobil-Anpassungen (Smartphones)
   ========================================================= */
@media (max-width: 768px) {
    .ziehung-page-container {
        padding: 15px 8px;
    }

    .ziehung-filter-box,
    .ziehung-card {
        padding: 15px 12px;
    }

    .ziehung-split-layout {
        flex-direction: column;
        gap: 15px;
    }

    .ziehungsverzeichnis, 
    .ziehung-stats-card {
        flex: 1 1 100%;
        width: 100%;
    }

    .ziehung-nav-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .ziehung-nav-btn {
        padding: 8px 6px;
        font-size: 0.82rem;
    }

    .ziehung-form {
        flex-direction: column;
        align-items: stretch;
    }

    .ziehung-select-wrapper {
        width: 100%;
        min-width: 100%;
    }

    .ziehung-submit-btn {
        width: 100%;
    }

    .ziehung-table th, 
    .ziehung-table td {
        padding: 10px 6px;
    }

    /* Datum auf mobilen Geräten noch etwas kompakter */
    .ziehung-date-text {
        font-size: 0.8rem;
    }

    /* Bälle und Gaps auf Mobile fein abgestimmt gegen Überlappung */
    .ziehung-balls-group {
        gap: 5px;
        row-gap: 5px;
    }

    .ziehung-ball {
        min-width: 30px;
        height: 30px;
        padding: 0 5px;
        font-size: 0.8rem;
        border-radius: 15px;
    }

    .ziehung-ball-long {
        font-size: 0.65rem;
        padding: 0 4px;
    }

    .ziehung-stats-grid {
        grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
        gap: 8px;
    }
}








/* =========================================================
   GEMEINSAMES & MOBILES DESIGN FÜR ALLE ZIEHUNGS-SEITEN
   ========================================================= */

/* Seiten-Container */
.lotto-page-wrapper,
.euro-page-wrapper,
.keno-page-wrapper {
    max-width: 1300px; /* Auf großen Bildschirmen viel Platz geben */
    margin: 0 auto;
    padding: 20px 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #2d3748;
    box-sizing: border-box;
}

/* Jahr Filter Dropdown */
.filter-year-form {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}
.filter-year-select {
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid #cbd5e0;
    font-size: 0.95rem;
    font-weight: 600;
    background: #fff;
    color: #2d3748;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

/* Header-Box (Ticket-Feld oben) */
.lotto-header-box,
.euro-header-box,
.keno-header-box {
    background: #fff;
    padding: 20px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    border: 1px solid #e2e8f0;
}

.lotto-tag, .euro-tag {
    display: inline-block;
    border: 1px solid #cbd5e0;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 600;
    color: #4a5568;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.lotto-ticket-title {
    font-size: 0.8rem;
    color: #b8860b;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.lotto-ticket-date {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1a202c;
}
.lotto-ticket-date span {
    font-weight: normal;
    color: #718096;
    margin-left: 4px;
}

/* Ticket Grids (Ankreuz-Felder oben) */
.lotto-ticket-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; max-width: 340px; margin: 0 auto 20px auto; justify-items: center; }
.euro-ticket-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; max-width: 420px; margin: 0 auto 15px auto; justify-items: center; }
.euro-ticket-grid-extra { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; max-width: 260px; margin: 0 auto 20px auto; justify-items: center; padding-top: 12px; border-top: 1px dashed #cbd5e0; }
.keno-ticket-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; max-width: 420px; margin: 0 auto 20px auto; justify-items: center; }

.lotto-ticket-num, .euro-ticket-num, .keno-ticket-num {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #a0aec0;
    border-radius: 50%;
    font-size: 0.85rem;
    color: #4a5568;
    background: #fff;
    position: relative;
}

/* X-Markierung */
.lotto-ticket-num.lotto-kreuz::after,
.euro-ticket-num.euro-kreuz::after,
.keno-ticket-num.keno-kreuz::after {
    content: "✗";
    position: absolute;
    font-size: 1.8rem;
    color: #1a365d;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.85;
    font-family: Arial, sans-serif;
}

.euro-extra-num { border-color: #b8860b; color: #b8860b; font-weight: bold; }
.euro-extra-num.euro-kreuz::after { color: #b8860b; }

/* Buttons unter Ticket */
.lotto-action-row { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.lotto-btn-outline { border: 1px solid #a0aec0; background: transparent; color: #2d3748; padding: 8px 22px; border-radius: 6px; font-weight: bold; font-size: 0.85rem; text-transform: uppercase; text-decoration: none; transition: 0.2s; }
.lotto-btn-solid { background: #2c3e50; color: #fff; padding: 8px 22px; border-radius: 6px; font-weight: bold; font-size: 0.85rem; text-transform: uppercase; text-decoration: none; transition: 0.2s; }

/* 2-Spalten-Layout (Desktop) -> Jetzt exakt 50/50 verteilt */
.lotto-split-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: flex-start;
}
.lotto-main-col, .lotto-side-col {
    flex: 1 1 calc(50% - 15px); /* Teilt den Bereich exakt in zwei Hälften */
    min-width: 320px;
}

/* Karten & Tabellen */
.lotto-card, .euro-card, .keno-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    border: 1px solid #e2e8f0;
}

.lotto-card h2, .euro-card h2, .keno-card h2 {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 15px;
    color: #2d3748;
}

.lotto-table { width: 100%; border-collapse: collapse; }
.lotto-table th { padding: 8px 4px; font-size: 0.9rem; border-bottom: 2px solid #e2e8f0; color: #718096; text-align: left; }
.lotto-table td { padding: 12px 4px; border-bottom: 1px solid #edf2f7; vertical-align: middle; }

.lotto-date-cell {
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    color: #4a5568;
    padding-right: 15px !important;
    width: 1%;
}

/* Bälle auf DESKTOP deutlich größer */
.lotto-ball-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    row-gap: 6px;
}

.lotto-result-ball {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #c5a059; /* Goldene Umrandung */
    border-radius: 50%;
    font-size: 1rem; /* Größere Schrift */
    font-weight: 600;
    background: #ffffff;
    color: #0e305d; /* Dunkelblaue Zahlen */
    box-sizing: border-box;
}

/* Extra-Ball (Superzahl, Eurozahl, Plus5) */
.lotto-result-ball.lotto-superzahl {
    background: var(--ball);
    color: #ffffff;
    border-color: #b8860b;
}

.lotto-result-ball.ball-long {
    width: auto;
    min-width: 38px;
    padding: 0 10px;
    border-radius: 19px;
    font-size: 0.9rem;
}

/* Häufigkeits-Raster unter den Ziehungen (Desktop größer) */
.lotto-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(65px, 1fr)); /* Breitere Grid-Zellen */
    gap: 12px;
    margin-top: 15px;
}

.lotto-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8fafc;
    padding: 10px 4px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.lotto-stat-count {
    font-size: 0.85rem;
    font-weight: bold;
    color: #c53030;
    background: #fed7d7;
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 6px;
}

/* Keno Pagination */
.keno-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 20px; flex-wrap: wrap; }
.keno-page-link { padding: 6px 12px; border: 1px solid #cbd5e0; background: #fff; color: #2d3748; text-decoration: none; border-radius: 4px; font-weight: bold; font-size: 0.85rem; }
.keno-page-active { background: #b8860b; color: #fff; border-color: #b8860b; }


/* =========================================================
   MOBIL-ANSICHT (UNVERÄNDERT - Bleibt perfekt klein & kompakt)
   ========================================================= */
@media (max-width: 768px) {
    .lotto-split-layout {
        flex-direction: column;
        gap: 15px;
    }
    .lotto-main-col, .lotto-side-col {
        flex: 1 1 100%;
        width: 100%;
    }
    
    .lotto-card, .euro-card, .keno-card {
        padding: 18px 12px;
    }

    .lotto-ticket-grid { max-width: 100%; gap: 4px; }
    .euro-ticket-grid, .keno-ticket-grid { max-width: 100%; gap: 3px; }
    
    .lotto-ticket-num, .euro-ticket-num, .keno-ticket-num {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .lotto-ball-group {
        gap: 3px;
        row-gap: 5px;
    }

    .lotto-result-ball {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 0.75rem;
    }

    .lotto-result-ball.ball-long {
        min-width: 28px;
        padding: 0 6px;
        border-radius: 14px;
        font-size: 0.7rem;
    }
    
    .lotto-date-cell {
        font-size: 0.75rem;
        padding-right: 6px !important;
    }

    .lotto-stats-grid {
        grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
        gap: 6px;
    }

    .lotto-stat-item {
        padding: 6px 2px;
    }

    .lotto-stat-count {
        font-size: 0.7rem;
        padding: 1px 4px;
        margin-top: 4px;
    }
}



/* Klickbarer Datums-Link in der Tabelle */
.lotto-date-link {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
}
.lotto-date-link:hover {
    color: #b8860b;
    text-decoration: underline;
}







/* =========================================
   DESKTOP STANDARD (Normale / Große Ansicht)
   ========================================= */

.kombi-page-wrapper {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 15px;
}

.kombi-filter-box {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    border: 1px solid rgba(55,69,82,0.14);
}

.kombi-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 15px;
}

.kombi-title {
    font-size: 1.5rem;
    color: var(--dark, #374552);
    text-transform: uppercase;
    margin: 0;
}

.kombi-btn-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.kombi-nav-btn {
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: 2px solid var(--dark, #374552);
    color: var(--dark, #374552);
    background: transparent;
    display: inline-block;
}

.kombi-nav-btn:hover, 
.kombi-nav-btn.active {
    background-color: var(--dark, #374552);
    color: #ffffff;
}

.kombi-nav-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.kombi-controls-row {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.kombi-select {
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #cbd5e0;
    font-size: 1rem;
    background: #f8f9fa;
    color: var(--dark, #374552);
    min-width: 180px;
    outline: none;
}

.kombi-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    border: 1px solid rgba(55,69,82,0.14);
    overflow-x: auto;
}

.kombi-table {
    width: 100%;
    border-collapse: collapse;
}

.kombi-table th, 
.kombi-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #edf2f7;
    text-align: left;
    vertical-align: middle;
    font-size: 1rem;
}

.kombi-table th {
    background: #f4f5f7;
    font-weight: 700;
    color: var(--dark, #374552);
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
}

.kombi-sort-arrows {
    display: inline-flex;
    flex-direction: column;
    margin-left: 6px;
    font-size: 0.7rem;
    line-height: 1;
    vertical-align: middle;
}

.kombi-sort-arrows a {
    text-decoration: none;
    color: #a0aec0;
}

.kombi-sort-arrows a.active {
    color: var(--gold, #c2b067);
}

.kombi-ball-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.lotto-result-ball {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--gold, #c2b067);
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 600;
    background: #ffffff;
    color: var(--dark, #374552);
    box-sizing: border-box;
}

.kombi-anzahl-badge {
    display: inline-block;
    background: #edf2f7;
    color: var(--dark, #374552);
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid #cbd5e0;
    white-space: nowrap;
}

.kombi-date-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kombi-date-item {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark, #374552);
    margin-bottom: 3px;
    white-space: nowrap;
}

.kombi-pagination {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.kombi-page-info {
    font-weight: bold;
    color: #4a5568;
    font-size: 1rem;
}


/* =========================================
   NUR MOBILGERÄTE (Schrift & Elemente kleiner)
   ========================================= */

@media (max-width: 768px) {
    .kombi-page-wrapper {
        padding: 0 6px;
        margin: 15px auto;
    }

    .kombi-filter-box, 
    .kombi-card {
        padding: 10px 8px;
        border-radius: 8px;
    }

    .kombi-title {
        font-size: 1.1rem;
    }

    .kombi-btn-group {
        gap: 4px;
    }

    .kombi-nav-btn {
        padding: 4px 8px;
        font-size: 0.78rem;
    }

    .kombi-select {
        padding: 6px 10px;
        font-size: 0.85rem;
        min-width: 140px;
    }

    .kombi-table th, 
    .kombi-table td {
        padding: 6px 3px;
        font-size: 0.8rem;
    }

    .kombi-table th {
        font-size: 0.75rem;
    }

    .kombi-ball-group {
        gap: 3px;
    }

    /* Lottokugeln nur auf Mobilgeräten kompakt machen */
    .lotto-result-ball {
        width: 26px;
        height: 26px;
        min-width: 26px;
        font-size: 0.75rem;
        border-width: 1px;
    }

    .kombi-anzahl-badge {
        padding: 2px 5px;
        font-size: 0.75rem;
    }

    .kombi-date-item {
        font-size: 0.75rem;
    }

    .kombi-page-info {
        font-size: 0.85rem;
    }
}




/* =========================================
   EUROJACKPOT KOMBINATIONEN STYLES
   ========================================= */

.ejkombi-page-wrapper {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 15px;
}

.ejkombi-filter-box {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    border: 1px solid rgba(55,69,82,0.14);
}

.ejkombi-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 15px;
}

.ejkombi-title {
    font-size: 1.5rem;
    color: var(--dark, #374552);
    text-transform: uppercase;
    margin: 0;
}

.ejkombi-btn-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ejkombi-nav-btn {
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: 1px solid #d4af37;
    color: #374552;
    background: transparent;
    display: inline-block;
}

.ejkombi-nav-btn:hover, 
.ejkombi-nav-btn.active {
    background-color: #d4af37;
    color: #ffffff;
}

.ejkombi-nav-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.ejkombi-controls-row {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.ejkombi-select {
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #cbd5e0;
    font-size: 1rem;
    background: #f8f9fa;
    color: var(--dark, #374552);
    min-width: 180px;
    outline: none;
}

.ejkombi-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    border: 1px solid rgba(55,69,82,0.14);
    overflow-x: auto;
}

.ejkombi-table {
    width: 100%;
    border-collapse: collapse;
}

.ejkombi-table th, 
.ejkombi-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #edf2f7;
    text-align: left;
    vertical-align: middle;
    font-size: 1rem;
}

.ejkombi-table th {
    background: #f4f5f7;
    font-weight: 700;
    color: var(--dark, #374552);
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
}

.ejkombi-sort-arrows {
    display: inline-flex;
    flex-direction: column;
    margin-left: 6px;
    font-size: 0.7rem;
    line-height: 1;
    vertical-align: middle;
}

.ejkombi-sort-arrows a {
    text-decoration: none;
    color: #a0aec0;
}

.ejkombi-sort-arrows a.active {
    color: #d4af37;
}

.ejkombi-ball-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.ejkombi-result-ball {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #d4af37;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 600;
    background: #ffffff;
    color: var(--dark, #374552);
    box-sizing: border-box;
}

.ejkombi-anzahl-badge {
    display: inline-block;
    background: #edf2f7;
    color: var(--dark, #374552);
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid #cbd5e0;
    white-space: nowrap;
}

.ejkombi-date-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ejkombi-date-item {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark, #374552);
    margin-bottom: 3px;
    white-space: nowrap;
}

.ejkombi-pagination {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.ejkombi-page-info {
    font-weight: bold;
    color: #4a5568;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .ejkombi-page-wrapper {
        padding: 0 6px;
        margin: 15px auto;
    }

    .ejkombi-filter-box, 
    .ejkombi-card {
        padding: 10px 8px;
        border-radius: 8px;
    }

    .ejkombi-title {
        font-size: 1.1rem;
    }

    .ejkombi-btn-group {
        gap: 4px;
    }

    .ejkombi-nav-btn {
        padding: 4px 8px;
        font-size: 0.78rem;
    }

    .ejkombi-select {
        padding: 6px 10px;
        font-size: 0.85rem;
        min-width: 140px;
    }

    .ejkombi-table th, 
    .ejkombi-table td {
        padding: 6px 3px;
        font-size: 0.8rem;
    }

    .ejkombi-table th {
        font-size: 0.75rem;
    }

    .ejkombi-ball-group {
        gap: 3px;
    }

    .ejkombi-result-ball {
        width: 26px;
        height: 26px;
        min-width: 26px;
        font-size: 0.75rem;
        border-width: 1px;
    }

    .ejkombi-anzahl-badge {
        padding: 2px 5px;
        font-size: 0.75rem;
    }

    .ejkombi-date-item {
        font-size: 0.75rem;
    }

    .ejkombi-page-info {
        font-size: 0.85rem;
    }
}

















/* =========================================
   EUROMILLIONS KOMBINATIONEN STYLES
   ========================================= */

.emkombi-page-wrapper {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 15px;
}

.emkombi-filter-box {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    border: 1px solid rgba(55,69,82,0.14);
}

.emkombi-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 15px;
}

.emkombi-title {
    font-size: 1.5rem;
    color: var(--dark, #374552);
    text-transform: uppercase;
    margin: 0;
}

.emkombi-btn-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.emkombi-nav-btn {
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: 2px solid #1a365d;
    color: #1a365d;
    background: transparent;
    display: inline-block;
}

.emkombi-nav-btn:hover, 
.emkombi-nav-btn.active {
    background-color: #1a365d;
    color: #ffffff;
}

.emkombi-nav-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.emkombi-controls-row {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.emkombi-select {
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #cbd5e0;
    font-size: 1rem;
    background: #f8f9fa;
    color: var(--dark, #374552);
    min-width: 180px;
    outline: none;
}

.emkombi-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    border: 1px solid rgba(55,69,82,0.14);
    overflow-x: auto;
}

.emkombi-table {
    width: 100%;
    border-collapse: collapse;
}

.emkombi-table th, 
.emkombi-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #edf2f7;
    text-align: left;
    vertical-align: middle;
    font-size: 1rem;
}

.emkombi-table th {
    background: #f4f5f7;
    font-weight: 700;
    color: var(--dark, #374552);
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
}

.emkombi-sort-arrows {
    display: inline-flex;
    flex-direction: column;
    margin-left: 6px;
    font-size: 0.7rem;
    line-height: 1;
    vertical-align: middle;
}

.emkombi-sort-arrows a {
    text-decoration: none;
    color: #a0aec0;
}

.emkombi-sort-arrows a.active {
    color: #1a365d;
}

.emkombi-ball-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.emkombi-result-ball {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #1a365d;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 600;
    background: #ffffff;
    color: #1a365d;
    box-sizing: border-box;
}

.emkombi-anzahl-badge {
    display: inline-block;
    background: #ebf8ff;
    color: #2b6cb0;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid #bee3f8;
    white-space: nowrap;
}

.emkombi-date-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.emkombi-date-item {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark, #374552);
    margin-bottom: 3px;
    white-space: nowrap;
}

.emkombi-pagination {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.emkombi-page-info {
    font-weight: bold;
    color: #4a5568;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .emkombi-page-wrapper {
        padding: 0 6px;
        margin: 15px auto;
    }

    .emkombi-filter-box, 
    .emkombi-card {
        padding: 10px 8px;
        border-radius: 8px;
    }

    .emkombi-title {
        font-size: 1.1rem;
    }

    .emkombi-btn-group {
        gap: 4px;
    }

    .emkombi-nav-btn {
        padding: 4px 8px;
        font-size: 0.78rem;
    }

    .emkombi-select {
        padding: 6px 10px;
        font-size: 0.85rem;
        min-width: 140px;
    }

    .emkombi-table th, 
    .emkombi-table td {
        padding: 6px 3px;
        font-size: 0.8rem;
    }

    .emkombi-table th {
        font-size: 0.75rem;
    }

    .emkombi-ball-group {
        gap: 3px;
    }

    .emkombi-result-ball {
        width: 26px;
        height: 26px;
        min-width: 26px;
        font-size: 0.75rem;
        border-width: 1px;
    }

    .emkombi-anzahl-badge {
        padding: 2px 5px;
        font-size: 0.75rem;
    }

    .emkombi-date-item {
        font-size: 0.75rem;
    }

    .emkombi-page-info {
        font-size: 0.85rem;
    }
}



















/* =========================================
   ZAHLENPAARE & SEQUENZEN STYLES
   ========================================= */



.zp-page-wrapper {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.zp-filter-box {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    border: 1px solid rgba(55,69,82,0.14);
}

.zp-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 15px;
}

.zp-title {
    font-size: 1.5rem;
    color: #374552;
    text-transform: uppercase;
    margin: 0;
    font-weight: bold;
}

.zp-btn-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.zp-nav-btn {
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: 1px solid #374552;
    color: #374552;
    background: transparent;
    display: inline-block;
}

.zp-nav-btn:hover, 
.zp-nav-btn.active {
    background-color: #374552;
    color: #ffffff;
}

.zp-nav-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.zp-controls-row {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.zp-select {
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #cbd5e0;
    font-size: 1rem;
    background: #f8f9fa;
    color: #374552;
    min-width: 180px;
    outline: none;
    transition: border-color 0.2s;
}

.zp-select:focus {
    border-color: #c2b067;
}

.zp-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    border: 1px solid rgba(55,69,82,0.14);
    overflow-x: auto;
}

.zp-table {
    width: 100%;
    border-collapse: collapse;
}

.zp-table th, 
.zp-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #edf2f7;
    text-align: left;
    vertical-align: middle;
    font-size: 1rem;
}

.zp-table th {
    background: #f4f5f7;
    font-weight: 700;
    color: #374552;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
}

.zp-sort-arrows {
    display: inline-flex;
    flex-direction: column;
    margin-left: 6px;
    font-size: 0.7rem;
    line-height: 1;
    vertical-align: middle;
}

.zp-sort-arrows a {
    text-decoration: none;
    color: #a0aec0;
}

.zp-sort-arrows a.active {
    color: #c2b067;
}

.zp-ball-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.zp-result-ball {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #c2b067;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 600;
    background: #ffffff;
    color: #374552;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(55, 69, 82, 0.04);
}

.zp-result-ball.zp-connected {
    background-color: #fcfaf2;
    border: 1px solid #c2b067;
}

.zp-anzahl-badge {
    display: inline-block;
    background: #edf2f7;
    color: #374552;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid #cbd5e0;
    white-space: nowrap;
}

.zp-date-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.zp-date-item {
    font-size: 0.95rem;
    font-weight: 600;
    color: #374552;
    margin-bottom: 3px;
    white-space: nowrap;
}

.zp-pagination {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.zp-page-info {
    font-weight: bold;
    color: #4a5568;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .zp-page-wrapper { 
        padding: 0 4px; 
        margin: 10px auto; 
    }
    
    .zp-filter-box, 
    .zp-card { 
        padding: 12px 8px; 
        border-radius: 8px; 
    }
    
    .zp-title { 
        font-size: 1.1rem; 
    }
    
    .zp-btn-group { 
        gap: 4px; 
    }
    
    .zp-nav-btn { 
        padding: 5px 10px; 
        font-size: 0.8rem; 
    }
    
    .zp-select { 
        padding: 6px 10px; 
        font-size: 0.85rem; 
        min-width: 120px; 
    }
    
    /* Weniger Innenabstand in der Tabelle für mehr Platz in der Breite */
    .zp-table th, 
    .zp-table td { 
        padding: 6px 4px; 
        font-size: 0.8rem; 
    }
    
    .zp-table th { 
        font-size: 0.75rem; 
        letter-spacing: 0; 
    }
    
    /* KUGELN KOMPAKTER MACHEN */
    .zp-ball-group { 
        gap: 2px; /* Minimaler Abstand zwischen den Kugeln */
    }
    
    .zp-result-ball { 
        width: 25px; /* Deutlich verkleinert */
        height: 25px; 
        min-width: 25px; 
        font-size: 0.75rem; /* Kleinere Schrift in der Kugel */
        border-width: 1px; 
    }
    
    /* BADGE UND DATUM KOMPAKTER MACHEN */
    .zp-anzahl-badge { 
        padding: 2px 6px; 
        font-size: 0.75rem; 
    }
    
    .zp-date-item { 
        font-size: 0.75rem; 
        margin-bottom: 2px; 
    }
    
    .zp-page-info { 
        font-size: 0.85rem; 
    }
}

















/* =========================================
   GLEICHE ENDZIFFERN STYLES (Isoliertes CSS)
   ========================================= */

.ez-page-wrapper {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.ez-filter-box {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    border: 1px solid rgba(55,69,82,0.14);
}

.ez-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 15px;
}

.ez-title {
    font-size: 1.5rem;
    color: #374552;
    text-transform: uppercase;
    margin: 0;
    font-weight: bold;
}

.ez-btn-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ez-nav-btn {
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: 2px solid #374552;
    color: #374552;
    background: transparent;
    display: inline-block;
}

.ez-nav-btn:hover, 
.ez-nav-btn.active {
    background-color: #374552;
    color: #ffffff;
}

.ez-nav-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.ez-controls-row {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.ez-select {
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #cbd5e0;
    font-size: 1rem;
    background: #f8f9fa;
    color: #374552;
    min-width: 180px;
    outline: none;
    transition: border-color 0.2s;
}

.ez-select:focus {
    border-color: #c2b067;
}

.ez-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    border: 1px solid rgba(55,69,82,0.14);
    overflow-x: auto;
}

.ez-table {
    width: 100%;
    border-collapse: collapse;
}

.ez-table th, 
.ez-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #edf2f7;
    text-align: left;
    vertical-align: middle;
    font-size: 1rem;
}

.ez-table th {
    background: #f4f5f7;
    font-weight: 700;
    color: #374552;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
}

.ez-sort-arrows {
    display: inline-flex;
    flex-direction: column;
    margin-left: 6px;
    font-size: 0.7rem;
    line-height: 1;
    vertical-align: middle;
}

.ez-sort-arrows a {
    text-decoration: none;
    color: #a0aec0;
}

.ez-sort-arrows a.active {
    color: #c2b067;
}

.ez-ball-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.ez-result-ball {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #c2b067; /* Stärkerer Rahmen wie in der Vorlage für hervorgehobene Elemente */
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 600;
    background: #fcfaf2; /* Gleicher Hintergrund für zusammengehörige Paare */
    color: #374552;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(55, 69, 82, 0.04);
}

.ez-anzahl-badge {
    display: inline-block;
    background: #edf2f7;
    color: #374552;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid #cbd5e0;
    white-space: nowrap;
}

.ez-date-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ez-date-item {
    font-size: 0.95rem;
    font-weight: 600;
    color: #374552;
    margin-bottom: 3px;
    white-space: nowrap;
}

.ez-pagination {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.ez-page-info {
    font-weight: bold;
    color: #4a5568;
    font-size: 1rem;
}

/* Kompakte Mobile Ansicht (exakt nach deinen Vorgaben optimiert) */
@media (max-width: 768px) {
    .ez-page-wrapper { padding: 0 4px; margin: 10px auto; }
    .ez-filter-box, .ez-card { padding: 12px 8px; border-radius: 8px; }
    .ez-title { font-size: 1.1rem; }
    .ez-btn-group { gap: 4px; }
    .ez-nav-btn { padding: 5px 10px; font-size: 0.8rem; }
    .ez-select { padding: 6px 10px; font-size: 0.85rem; min-width: 120px; }
    .ez-table th, .ez-table td { padding: 6px 4px; font-size: 0.8rem; }
    .ez-table th { font-size: 0.75rem; letter-spacing: 0; }
    .ez-ball-group { gap: 2px; }
    .ez-result-ball { width: 25px; height: 25px; min-width: 25px; font-size: 0.75rem; border-width: 1px; }
    .ez-anzahl-badge { padding: 2px 6px; font-size: 0.75rem; }
    .ez-date-item { font-size: 0.75rem; margin-bottom: 2px; }
    .ez-page-info { font-size: 0.85rem; }
}




/* ==========================================================
   LOTTO-FILTER IM HELLEN DESIGN (Klassen "lf2-*")
   ================================================---------- */

.lf2-page-wrapper {
    width: 100%;
    box-sizing: border-box;
}

.lf2-filter-box {
    background: #f8f9fa; /* Helles Grau / Standard Hintergrund */
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.lf2-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.lf2-title {
    color: #2d3748; /* Dunkler, lesbarer Text */
    font-size: 24px;
    margin: 0;
    font-weight: 600;
}

/* Typ-Auswahl Buttons */
.lf2-type-group {
    display: flex;
    gap: 6px;
}

/* Typ-Auswahl Buttons */
.lf2-type-group {
    display: flex;
    gap: 6px;
}

.lf2-type-btn {
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: 1px solid #374552;
    color: #374552;
    background: transparent;
    display: inline-block;
}

.lf2-type-btn:hover, 
.lf2-type-btn.lf2-active {
    background-color: #374552;
    color: #ffffff;
}



/* Formular Layout (Desktop: Sauber nebeneinander) */
.lf2-controls-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

/* Dropdowns */
.lf2-dropdown {
    background: #ffffff;
    color: #2d3748;
    border: 1px solid #cbd5e0;
    padding: 9px 12px;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

.lf2-dropdown:focus {
    border-color: #3182ce;
}

/* Von-Bis Container */
.lf2-range-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #cbd5e0;
    padding: 4px 8px;
    border-radius: 6px;
}

.lf2-input-year {
    width: 65px !important;
    min-width: 65px;
    text-align: center;
    background: #ffffff !important;
    border: 1px solid #cbd5e0;
    padding: 6px 4px !important;
    color: #2d3748;
    border-radius: 4px;
}

.lf2-range-label {
    color: #4a5568;
    font-size: 13px;
    font-weight: 500;
}

.lf2-submit-btn {
    background: #374552;
    color: #ffffff;
    border: 1px solid #374552;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.lf2-submit-btn:hover {
    background: #2b353f; /* Ein minimal dunklerer Ton für den Hover-Effekt */
    border-color: #2b353f;
}


/* ==========================================================
   RESPONSIVE DESIGN FÜR MOBILE GERÄTE (max-width: 768px)
   ================================================---------- */

@media (max-width: 768px) {
    .lf2-filter-box {
        padding: 15px;
    }

    .lf2-filter-header {
        flex-direction: column;
        align-items: stretch;
    }

    .lf2-title {
        text-align: center;
        font-size: 20px;
    }

    .lf2-type-group {
        width: 100%;
        display: flex;
    }

    .lf2-type-btn {
        flex: 1;
        text-align: center;
        padding: 8px 4px;
        font-size: 13px;
    }

    .lf2-controls-form {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .lf2-dropdown {
        width: 100% !important;
    }

    .lf2-range-wrapper {
        width: 100%;
        box-sizing: border-box;
        justify-content: space-between;
        padding: 8px 12px;
    }

    .lf2-input-year {
        flex: 1;
        width: auto !important;
    }

    .lf2-submit-btn {
        padding: 8px 16px;
    }
}

.lf2-nav-wrapper {
    margin-top: 25px;
    margin-left: 5px;
    margin-right: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
}

/* Mobile Ansicht (Standard): kompakt mit 5px Seitenabstand */
.lf2-nav-wrapper .btn {
    font-size: 0.85rem;
    padding: 6px 12px;
    display: inline-block;
    white-space: nowrap;
}

/* Desktop Ansicht: ab 768px größer, 150px Abstand links/rechts und 50px unten */
@media (min-width: 768px) {
    .lf2-nav-wrapper {
        margin-left: 150px;
        margin-right: 150px;
        margin-bottom: 50px;
    }

    .lf2-nav-wrapper .btn {
        font-size: 1rem;
        padding: 8px 16px;
    }
}









/* ==========================================================
   Lotto Such-Modul Styles (Prefix: lq-)
   ========================================================== */

.lq-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2d3748;
}

.lq-wrapper * {
    box-sizing: border-box;
}

/* --- Panel & Box Design --- */
.lq-search-panel,
.lq-results-panel {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    margin-bottom: 35px;
}

.lq-heading {
    font-size: 1.8rem;
    color: #1a202c;
    margin-top: 0;
    margin-bottom: 10px;
}

.lq-subheading {
    color: #718096;
    font-size: 1rem;
    margin-bottom: 25px;
}

/* --- Formular Elemente --- */
.lq-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lq-form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lq-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #4a5568;
}

.lq-select {
    width: 100%;
    max-width: 400px;
    padding: 12px 16px;
    border: 2px solid #cbd5e0;
    border-radius: 8px;
    font-size: 1rem;
    color: #2d3748;
    background-color: #f8fafc;
    cursor: pointer;
    transition: border-color 0.2s;
}

.lq-select:focus {
    outline: none;
    border-color: #3182ce;
}

.lq-num-inputs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.lq-input-num {
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
    text-align: center;
    border: 2px solid #cbd5e0;
    border-radius: 12px;
    color: #2d3748;
    background-color: #ffffff;
    font-weight: bold;
    transition: all 0.2s;
}

.lq-input-num:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.15);
}

/* Verstecke Input-Pfeile in den Zahlenfeldern */
.lq-input-num::-webkit-outer-spin-button,
.lq-input-num::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.lq-input-num[type=number] {
    -moz-appearance: textfield;
}

/* --- Buttons --- */
.lq-action-row {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.lq-btn-submit {
    background-color: var(--dark);
    color: #ffffff;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.lq-btn-submit:hover {
    background-color: #2c5282;
}

.lq-btn-reset {
    background-color: #edf2f7;
    color: #4a5568;
    text-decoration: none;
    padding: 14px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.2s;
}

.lq-btn-reset:hover {
    background-color: #e2e8f0;
}

/* --- Alerts --- */
.lq-alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-weight: 500;
}

.lq-alert-warning {
    background-color: #fffaf0;
    border-left: 5px solid #ed8936;
    color: #9c4221;
}

.lq-alert-info {
    background-color: #ebf8ff;
    border-left: 5px solid #3182ce;
    color: #2a4365;
}

/* --- Suchergebnisse Layout --- */
.lq-result-title {
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 5px;
}

.lq-searched-nums {
    color: #2b6cb0;
    font-weight: 800;
}

.lq-result-count {
    font-size: 1.05rem;
    color: #4a5568;
    margin-bottom: 25px;
}

.lq-table-responsive {
    overflow-x: auto;
}

.lq-tbl {
    width: 100%;
    border-collapse: collapse;
}

.lq-tbl th {
    background-color: #f8fafc;
    text-align: left;
    padding: 14px 16px;
    color: #4a5568;
    font-weight: 700;
    border-bottom: 2px solid #e2e8f0;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.lq-tbl td {
    padding: 16px;
    border-bottom: 1px solid #edf2f7;
    vertical-align: middle;
}

.lq-tbl tr:hover td {
    background-color: #fcfcfc;
}

/* --- Datum & Wochentag --- */
.lq-cell-date {
    white-space: nowrap;
}

.lq-wt {
    display: block;
    font-size: 0.85rem;
    color: #718096;
    font-weight: 600;
    margin-bottom: 2px;
}

.lq-dt {
    display: block;
    font-size: 0.9rem;
    font-weight: bold;
    color: #1a202c;
}

/* --- Kugeln (Orbs) --- */
.lq-orb-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.lq-orb {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    box-sizing: border-box;
    transition: transform 0.2s;
}

.lq-orb-normal {
    background-color: #ffffff;
    border: 2px solid #cbd5e0;
    color: #4a5568;
}

.lq-orb-match {
    background-color: var(--dark); /* Ein sattes Grün für Treffer */
    border: 1px solid var(--dark);
    color: #ffffff;
    transform: scale(1.08);
}

.lq-orb-bonus {
    background-color: var(--gold);
    border: 1px solid #b7791f;
    color: #ffffff;
}

.lq-orb-long {
    width: auto;
    min-width: 42px;
    padding: 0 12px;
    border-radius: 21px;
    font-size: 0.95rem;
}

/* --- Responsives Design (Smartphones) --- */
@media (max-width: 768px) {
    .lq-wrapper {
        padding: 0 10px;
        margin: 20px auto;
    }

    .lq-search-panel,
    .lq-results-panel {
        padding: 20px 15px;
    }

    .lq-heading {
        font-size: 1.4rem;
    }

    .lq-num-inputs {
        gap: 8px;
        justify-content: space-between;
    }

    .lq-input-num {
        width: calc(20% - 7px);
        height: 55px;
        font-size: 1.2rem;
        border-width: 1px;
        border-radius: 8px;
    }

    .lq-action-row {
        flex-direction: column;
    }

    .lq-btn-submit,
    .lq-btn-reset {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .lq-tbl th, 
    .lq-tbl td {
        padding: 12px 10px;
    }

    .lq-orb {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
        border-width: 1px;
    }

    .lq-orb-long {
        min-width: 32px;
        padding: 0 8px;
        border-radius: 16px;
        font-size: 0.75rem;
    }
}















/* =========================================
   LOTTO KUGELN & GRUPPEN (RESPONSIV)
   ========================================= */
.kombi-ball-group,
.lotto-ball-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.lotto-result-ball {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--gold);
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
    background: #ffffff;
    color: var(--dark);
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
    transition: transform 0.2s ease;
}

.lotto-result-ball:hover {
    transform: translateY(-2px);
    background-color: #fcfaf2;
}

/* =========================================
   SUCHFORMULAR & BADGES
   ========================================= */
.suche-form input.kombi-select {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #cbd5e0;
    font-size: 1rem;
    color: var(--dark);
    text-align: center;
    transition: border-color 0.2s;
}

.suche-form input.kombi-select:focus {
    border-color: var(--gold);
    outline: none;
}

.kombi-anzahl-badge {
    display: inline-block;
    background: #edf2f7;
    color: var(--dark);
    padding: 6px 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid #cbd5e0;
    white-space: nowrap;
}

/* =========================================
   MOBILE OPTIMIERUNGEN (SMARTPHONES)
   ========================================= */
@media (max-width: 768px) {
    .kombi-ball-group,
    .lotto-ball-group {
        gap: 5px;
    }

    /* Bälle auf mobilen Geräten verkleinern, aber lesbar halten */
    .lotto-result-ball {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 0.85rem;
        border-width: 1px;
    }

    .kombi-anzahl-badge {
        padding: 4px 8px;
        font-size: 0.85rem;
    }

    .suche-form input.kombi-select {
        width: 100%; /* Auf Smartphones volle Breite für einfacheres Tippen */
        margin-bottom: 5px;
    }
}


