@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* DESIGN SYSTEM CONFIGURATION */
:root {
    --bg-color: #0b0916;
    --bg-gradient: radial-gradient(circle at 50% 50%, #16122d 0%, #0b0916 100%);
    --card-bg: rgba(23, 19, 44, 0.6);
    --card-border: rgba(255, 255, 255, 0.07);
    --primary: #00f2fe;
    --primary-glow: rgba(0, 242, 254, 0.35);
    --secondary: #d946ef;
    --secondary-glow: rgba(217, 70, 239, 0.35);
    --success: #10b981;
    --success-glow: rgba(16, 185, 129, 0.3);
    --warning: #f59e0b;
    --warning-glow: rgba(245, 158, 11, 0.3);
    --gold: #fbbf24;
    --gold-glow: rgba(251, 191, 36, 0.45);
    --text: #f3f4f6;
    --text-muted: #9ca3af;
    --ball-bg: radial-gradient(circle at 30% 30%, #3b2e7a 0%, #140d34 100%);
    --ball-glow: rgba(59, 46, 122, 0.5);
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* BASE RESETS */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    background-image: var(--bg-gradient);
    color: var(--text);
    font-family: var(--font-sans);
    min-height: 100-vh;
    padding-bottom: 2rem;
    overflow-x: hidden;
}

/* SCROLLBAR STYLING */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: #272147;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* APP CONTAINER */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* HEADER & NAVIGATION */
header {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 9, 22, 0.85);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 0 15px var(--secondary-glow);
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

nav {
    display: flex;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.35rem;
    border-radius: 9999px;
    border: 1px solid var(--card-border);
}

.nav-tab {
    background: transparent;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 9999px;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-tab:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}

.nav-tab.active {
    color: #fff;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    box-shadow: 0 0 12px var(--secondary-glow);
}

/* TYPOGRAPHY */
h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

/* LAYOUT GRID */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dashboard-grid-2-3 {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .dashboard-grid-2-3 {
        grid-template-columns: 1fr;
    }
}

/* GLASS CARD */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, transparent);
    transition: var(--transition);
}

.card:hover::before {
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.card-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

/* METRICS / STAT KACHELN */
.stat-widget {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
}

.stat-widget.primary .stat-icon {
    color: var(--primary);
    background: rgba(0, 242, 254, 0.1);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
}

.stat-widget.secondary .stat-icon {
    color: var(--secondary);
    background: rgba(217, 70, 239, 0.1);
    box-shadow: 0 0 10px rgba(217, 70, 239, 0.1);
}

.stat-widget.gold .stat-icon {
    color: var(--gold);
    background: rgba(251, 191, 36, 0.1);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.1);
}

.stat-info h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    letter-spacing: 0.5px;
}

.stat-info p {
    font-size: 1.75rem;
    font-weight: 700;
}

.stat-numbers-row {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

/* TABS WINDOWS */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* LOTTERY BALLS (3D SPHERES) */
.lotto-balls-container {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0;
}

.lotto-ball {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ball-bg);
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px var(--ball-glow), inset -3px -3px 8px rgba(0,0,0,0.6), inset 3px 3px 8px rgba(255,255,255,0.2);
    position: relative;
    user-select: none;
    transition: var(--transition);
}

.lotto-ball::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 8px;
    width: 12px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: rotate(-25deg);
}

.lotto-ball.superzahl {
    background: radial-gradient(circle at 30% 30%, #ef4444 0%, #7f1d1d 100%);
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4), inset -3px -3px 8px rgba(0,0,0,0.6), inset 3px 3px 8px rgba(255,255,255,0.2);
}

.lotto-ball.hot {
    box-shadow: 0 0 12px var(--primary), inset -3px -3px 8px rgba(0,0,0,0.6), inset 3px 3px 8px rgba(255,255,255,0.2);
    border: 1px solid var(--primary);
}

.lotto-ball.cold {
    box-shadow: 0 0 12px var(--secondary), inset -3px -3px 8px rgba(0,0,0,0.6), inset 3px 3px 8px rgba(255,255,255,0.2);
    border: 1px solid var(--secondary);
}

.lotto-ball.drawing {
    animation: bounceBall 0.5s ease-out;
}

@keyframes bounceBall {
    0% { transform: scale(0.3) translateY(-100px); opacity: 0; }
    50% { transform: scale(1.1) translateY(10px); }
    80% { transform: scale(0.9) translateY(-5px); }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

.lotto-ball:hover {
    transform: translateY(-5px) scale(1.08);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    box-shadow: 0 4px 15px var(--secondary-glow);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(217, 70, 239, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* FORMS AND INPUTS */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 0.65rem 1rem;
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

/* HISTORIE TABELLE & LISTE */
.history-table-container {
    overflow-x: auto;
}

table.lotto-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

table.lotto-table th {
    padding: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    border-bottom: 1px solid var(--card-border);
    font-size: 0.85rem;
    text-transform: uppercase;
}

table.lotto-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.95rem;
}

table.lotto-table tbody tr {
    cursor: pointer;
    transition: var(--transition);
}

table.lotto-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

table.lotto-table tbody tr.selected {
    background: rgba(0, 242, 254, 0.06);
    border-left: 3px solid var(--primary);
}

/* KREUZTHEORIE VISUALISIERUNG */
.kreuztheorie-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ticket-grid-49 {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 1;
}

.grid-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: default;
    position: relative;
    user-select: none;
    transition: var(--transition);
}

/* Kreuztheorie Achsen - Linien-Hinterlegungen */
.grid-cell.line-h {
    background: rgba(0, 242, 254, 0.12);
}
.grid-cell.line-v {
    background: rgba(217, 70, 239, 0.12);
}
.grid-cell.line-d {
    background: rgba(251, 191, 36, 0.1);
}
.grid-cell.line-h.line-v {
    background: rgba(0, 242, 254, 0.18) linear-gradient(135deg, rgba(0, 242, 254, 0.1), rgba(217, 70, 239, 0.1));
}

/* Schnittpunkte / Kreuzungspunkte */
.grid-cell.intersection {
    border: 1.5px dashed var(--gold);
    color: var(--gold);
    box-shadow: inset 0 0 8px var(--gold-glow);
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    from { box-shadow: inset 0 0 4px rgba(251, 191, 36, 0.2); }
    to { box-shadow: inset 0 0 12px var(--gold-glow); }
}

/* Gezogene Zahlen im Raster */
.grid-cell.drawn {
    background: radial-gradient(circle at 30% 30%, #4f46e5 0%, #1e1b4b 100%) !important;
    color: #fff;
    border: 1px solid var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.grid-cell.drawn.superzahl-cell {
    background: radial-gradient(circle at 30% 30%, #ef4444 0%, #7f1d1d 100%) !important;
    border: 1px solid var(--secondary);
    box-shadow: 0 0 10px var(--secondary-glow);
}

/* DETAIL PANEL FOR KREUZTHEORIE */
.kreuztheorie-details {
    padding: 0.5rem;
}

.intersection-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.intersection-badge {
    background: rgba(251, 191, 36, 0.15);
    color: var(--gold);
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* GENERATOR OPTIONS & RESULTS */
.generator-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.generated-tips-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.generated-tip-card {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    transition: var(--transition);
}

.generated-tip-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.25);
}

.tip-strategy {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: var(--text-muted);
}

/* MONTE CARLO SIMULATOR SPECIFICS */
.simulator-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .simulator-layout {
        grid-template-columns: 1fr;
    }
}

.sim-running-border {
    position: relative;
}
.sim-running-border.running::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    border: 2px solid var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
    animation: simPulse 1s infinite alternate;
    pointer-events: none;
}

@keyframes simPulse {
    from { opacity: 0.3; }
    to { opacity: 1; }
}

.sim-speed-btn-group {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.sim-speed-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    padding: 0.4rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    transition: var(--transition);
}

.sim-speed-btn.active {
    background: var(--primary);
    color: #000;
    font-weight: 600;
}

.simulator-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.sim-stat-box {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    border-left: 3px solid var(--text-muted);
}

.sim-stat-box.primary { border-left-color: var(--primary); }
.sim-stat-box.secondary { border-left-color: var(--secondary); }
.sim-stat-box.success { border-left-color: var(--success); }
.sim-stat-box.gold { border-left-color: var(--gold); }

.sim-stat-box h5 {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.sim-stat-box p {
    font-size: 1.25rem;
    font-weight: 700;
}

/* SIMULATOR MATRICES TABLE */
.sim-match-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.9rem;
}

.sim-match-row:last-child {
    border-bottom: none;
}

.sim-match-count {
    font-weight: 700;
    color: var(--primary);
}

.sim-match-count.jackpot {
    color: var(--gold);
    text-shadow: 0 0 8px var(--gold-glow);
}

/* UTILITIES */
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.mr-2 { margin-right: 0.5rem; }

.badge-info {
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(0, 242, 254, 0.15);
    color: var(--primary);
    border: 1px solid rgba(0, 242, 254, 0.3);
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
}

.info-alert {
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.15);
    color: var(--text);
    border-radius: 12px;
    padding: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* KREUZGESETZ TABELLE (6x49) */
.kreuz-table-container {
    overflow-x: auto;
    margin-top: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid var(--card-border);
    padding: 10px;
}

table.kreuz-grid-table {
    border-collapse: collapse;
    width: max-content;
    min-width: 100%;
}

table.kreuz-grid-table th, table.kreuz-grid-table td {
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 20px;
    height: 20px;
    min-width: 20px;
    padding: 0;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    user-select: none;
}

table.kreuz-grid-table th {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-weight: 700;
}

table.kreuz-grid-table .date-header {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-weight: 600;
    width: 70px;
    min-width: 70px;
    text-align: left;
    padding-left: 4px;
    font-size: 0.75rem;
}

table.kreuz-grid-table tr.future-row td.date-header {
    color: var(--gold) !important;
    font-style: italic;
}

table.kreuz-grid-table td.kreuz-cell {
    background: transparent;
    color: rgba(255, 255, 255, 0.12); /* Sehr dezente Zahlen */
}

table.kreuz-grid-table td.kreuz-cell.hit-drawn {
    background: #fbbf24 !important;
    color: #000000 !important;
    border: 1px solid #d97706 !important;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.2);
}

table.kreuz-grid-table td.kreuz-cell.hit-cross {
    background: #ef4444 !important;
    color: #ffffff !important;
    border: 1px solid #f87171 !important;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

table.kreuz-grid-table td.kreuz-cell.hit-probable {
    background: #00f2fe !important; /* Neon-Cyan/Blau */
    color: #000000 !important;
    border: 1px solid #22d3ee !important;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.intersection-badge.probable {
    background: rgba(0, 242, 254, 0.15) !important;
    color: var(--primary) !important;
    border: 1px solid rgba(0, 242, 254, 0.3) !important;
    box-shadow: 0 0 5px var(--primary-glow);
}

.pattern-ticket-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    gap: 1rem;
    transition: var(--transition);
}

.pattern-ticket-row:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.05);
}

.pattern-ticket-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
    min-width: 70px;
}

.pattern-ticket-balls {
    display: flex;
    gap: 0.35rem;
}

.pattern-ticket-ball {
    background: rgba(11, 9, 22, 0.8) !important;
    color: #00f2fe !important;
    border: 1.5px solid rgba(0, 242, 254, 0.6) !important;
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 26px;
    user-select: none;
}

.pattern-ticket-actions {
    display: flex;
    align-items: center;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.btn-spinning span {
    display: inline-block;
    animation: spin 1s linear infinite;
}

/* RESPONSIVE TIPP-SHEINE FOR MOBILE */
@media (max-width: 520px) {
    .pattern-ticket-row {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 0.75rem 0.5rem;
        padding: 0.75rem;
    }
    .pattern-ticket-label {
        grid-column: 1;
        grid-row: 1;
        min-width: unset;
        align-self: center;
    }
    .pattern-ticket-actions {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }
    .pattern-ticket-balls {
        grid-column: 1 / span 2;
        grid-row: 2;
        justify-content: center;
        width: 100%;
    }
}



