.grwp-raffle {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 22px;
    background: #ffffff;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
    margin: 24px 0;
}

.grwp-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.grwp-header h3 {
    margin: 0 0 6px;
    font-size: 1.45rem;
}

.grwp-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.grwp-stats span,
.grwp-max,
.grwp-selected-count {
    background: #f3f4f6;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
}

.grwp-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.grwp-search {
    min-width: 240px;
    max-width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
}

.grwp-ticket-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
    gap: 8px;
    max-height: 560px;
    overflow: auto;
    padding: 10px;
    background: #f9fafb;
    border-radius: 14px;
    border: 1px solid #eef2f7;
    margin-bottom: 16px;
}

.grwp-ticket {
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #ffffff;
    padding: 9px 6px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.grwp-ticket-available:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.10);
}

.grwp-ticket-selected {
    border-color: #111827;
    outline: 2px solid #111827;
}

.grwp-ticket-reserved {
    background: #fff7ed;
    color: #9a3412;
    cursor: not-allowed;
}

.grwp-ticket-sold {
    background: #fee2e2;
    color: #991b1b;
    cursor: not-allowed;
    text-decoration: line-through;
}

.grwp-ticket-hidden {
    display: none;
}

.grwp-add-button:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.grwp-alert {
    padding: 14px 16px;
    border-radius: 12px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

@media (max-width: 720px) {
    .grwp-header {
        display: block;
    }

    .grwp-stats {
        justify-content: flex-start;
        margin-top: 12px;
    }

    .grwp-ticket-grid {
        grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    }
}
