/* ===== Webrace Sportsbook ===== */

.sb-pending-note {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.25);
    font-size: 12px;
    line-height: 1.5;
    color: #8B9AB0;
}

.sb-pending-note strong {
    color: #FFD700;
}

.sportsbook-body .main-content {
    padding: 16px 20px 24px;
    max-width: 1480px;
    margin: 0 auto;
    overflow-y: auto;
}

.app-content--full {
    margin-left: 0 !important;
    width: 100%;
}

.sb-page {
    padding: 0;
    max-width: none;
}

.sb-hero {
    margin: 0 0 16px;
    border-radius: 14px;
    border: 1px solid rgba(22,199,46, 0.22);
    background:
        radial-gradient(ellipse 70% 100% at 0% 0%, rgba(22,199,46, 0.22), transparent 50%),
        radial-gradient(ellipse 50% 80% at 100% 100%, rgba(34, 197, 94, 0.08), transparent 50%),
        #12101a;
    overflow: hidden;
    position: relative;
}

.sb-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.6;
}

.sb-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 24px;
    flex-wrap: wrap;
}

.sb-hero__badge {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #FFD700;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.sb-hero__title {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.sb-hero__sub {
    margin: 0;
    max-width: 520px;
    color: #8B9AB0;
    font-size: 14px;
    line-height: 1.55;
}

.sb-hero__stats {
    display: flex;
    gap: 16px;
}

.sb-stat {
    min-width: 100px;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.sb-stat__val {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.sb-stat__label {
    font-size: 11px;
    color: #9AA8B6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sb-layout {
    display: grid;
    grid-template-columns: 200px minmax(480px, 1fr) 268px;
    gap: 12px;
    align-items: start;
}

.sb-sidebar,
.sb-betslip {
    position: sticky;
    top: 80px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #0f1720;
    overflow: hidden;
    max-height: calc(100vh - 160px);
    display: flex;
    flex-direction: column;
}

.sb-sidebar__head,
.sb-betslip__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sb-sidebar__head h2,
.sb-betslip__head h2 {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #e4e4e7;
}

.sb-cat-nav {
    display: flex;
    flex-direction: column;
    padding: 8px;
    gap: 2px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.sb-cat-item {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #d4d4d8;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.sb-cat-item:hover {
    background: rgba(22,199,46, 0.12);
    color: #fff;
}

.sb-cat-item.is-active {
    background: rgba(22,199,46, 0.22);
    color: #fff;
}

.sb-cat-item__icon {
    font-size: 16px;
    line-height: 1;
}

.sb-cat-item__count {
    font-size: 11px;
    color: #9AA8B6;
    font-weight: 700;
}

.sb-sidebar__promo {
    margin: 8px;
    padding: 12px;
    border-radius: 10px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    font-size: 12px;
    line-height: 1.5;
    color: #8B9AB0;
}

.sb-sidebar__promo strong {
    color: #FFD700;
}

.sb-promo-link {
    display: inline-block;
    margin-top: 6px;
    color: #FFD700;
    font-weight: 700;
    font-size: 12px;
    text-decoration: none;
}

.sb-main {
    min-width: 0;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #0f1720;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 200px);
    max-height: calc(100vh - 160px);
}

.sb-panel {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.sb-tabs {
    display: flex;
    gap: 4px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
}

.sb-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    color: #8B9AB0;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.sb-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.sb-tab.is-active {
    color: #fff;
    background: rgba(22,199,46, 0.25);
}

.sb-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.85);
    animation: sb-pulse 1.4s ease infinite;
}

@keyframes sb-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

.sb-events-toolbar {
    display: flex;
    gap: 8px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sb-search {
    flex: 1;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #18232d;
    color: #fff;
    font: inherit;
    font-size: 13px;
}

.sb-search:focus {
    outline: none;
    border-color: rgba(22,199,46, 0.5);
}

.sb-refresh-btn {
    width: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #18232d;
    color: #d4d4d8;
    font-size: 18px;
    cursor: pointer;
}

.sb-refresh-btn:hover {
    color: #fff;
    border-color: rgba(22, 199, 46, 0.4);
}

.sb-events-meta {
    margin: 0;
    padding: 0 14px 8px;
    font-size: 12px;
    color: #9AA8B6;
    font-weight: 600;
}

.sb-events-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(22, 199, 46, 0.35) transparent;
}

.sb-events-scroll::-webkit-scrollbar {
    width: 8px;
}

.sb-events-scroll::-webkit-scrollbar-thumb {
    background: rgba(22, 199, 46, 0.35);
    border-radius: 8px;
}

.sb-section-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 4px 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8B9AB0;
    position: sticky;
    top: 0;
    z-index: 2;
    background: linear-gradient(180deg, #0f1720 70%, transparent);
}

.sb-section-head--live {
    color: #FFD700;
}

/* ===== Match rows (Rainbet-style) ===== */
.sb-match {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, #0a1730 0%, #0f1720 100%);
    overflow: visible;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sb-match:hover {
    border-color: rgba(22,199,46, 0.28);
}

.sb-match.is-live {
    border-color: rgba(34, 197, 94, 0.35);
    box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.1);
}

.sb-match.is-featured {
    border-color: rgba(22, 199, 46, 0.35);
}

.sb-match__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.22);
    flex-wrap: wrap;
}

.sb-match__tags {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 0;
    font-size: 11px;
    color: #9AA8B6;
    font-weight: 600;
}

.sb-match__sport {
    color: #d4d4d8;
    font-weight: 700;
}

.sb-match__dot {
    opacity: 0.45;
}

.sb-match__league,
.sb-match__market {
    white-space: nowrap;
}

.sb-match__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sb-match__badge--live {
    background: rgba(34, 197, 94, 0.15);
    color: #FFD700;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.sb-match__badge--feat {
    background: rgba(22,199,46, 0.18);
    color: #FFD700;
    border: 1px solid rgba(22,199,46, 0.3);
}

.sb-match__when {
    font-size: 11px;
    color: #5A6B85;
    font-weight: 600;
    white-space: nowrap;
}

.sb-match__teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    padding: 12px 14px 8px;
}

.sb-match__team {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.sb-match__team--home {
    justify-content: flex-start;
}

.sb-match__team--away {
    justify-content: flex-end;
}

.sb-match__team-name {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sb-match__score {
    font-size: 14px;
    font-weight: 800;
    color: #FFD700;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

.sb-match__vs {
    font-size: 10px;
    font-weight: 800;
    color: #5A6B85;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sb-match__picks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 0 14px 14px;
}

.sb-match__picks--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
}

.sb-match__no-odds {
    grid-column: 1 / -1;
    margin: 0;
    padding: 12px;
    text-align: center;
    font-size: 12px;
    color: #9AA8B6;
}

.sb-page button.sb-pick {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 56px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, #0a1730 0%, #081130 100%);
    color: #e4e4e7;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, transform 0.12s, box-shadow 0.15s;
}

.sb-page button.sb-pick:hover:not(:disabled) {
    border-color: rgba(22,199,46, 0.55);
    background: rgba(22,199,46, 0.14);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(22,199,46, 0.18);
}

.sb-page button.sb-pick.is-selected {
    border-color: #16C72E;
    background: linear-gradient(180deg, rgba(22, 199, 46, 0.4) 0%, rgba(124, 58, 237, 0.28) 100%);
    box-shadow: 0 0 20px rgba(22,199,46, 0.28);
}

.sb-page button.sb-pick:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.sb-pick__name {
    font-size: 10px;
    font-weight: 600;
    color: #9AA8B6;
    text-align: center;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sb-pick__odd {
    font-size: 16px;
    font-weight: 800;
    color: #FFD700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.sb-page button.sb-pick.is-selected .sb-pick__odd,
.sb-page button.sb-pick.is-selected .sb-pick__name {
    color: #fff;
}

.sb-events {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 200px;
}

.sb-event-card {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #0f1720;
    overflow: hidden;
}

.sb-event-card.is-featured {
    border-color: rgba(22, 199, 46, 0.35);
}

.sb-event-card.is-live {
    border-color: rgba(34, 197, 94, 0.35);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.1), 0 8px 28px rgba(34, 197, 94, 0.1);
}

.sb-event-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.25);
    font-size: 12px;
    color: #9AA8B6;
}

.sb-event-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.sb-event-card__league {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sb-event-card__live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.15);
    color: #FFD700;
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 0.05em;
}

.sb-event-card__featured {
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(22,199,46, 0.2);
    color: #FFD700;
    font-weight: 700;
    font-size: 10px;
}

.sb-market-tag {
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #9AA8B6;
    font-size: 10px;
    font-weight: 600;
}

.sb-event-time {
    font-size: 12px;
    color: #9AA8B6;
    white-space: nowrap;
}

.sb-event-card__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px;
    align-items: center;
}

.sb-event-teams {
    min-width: 0;
}

.sb-event-teams__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 0;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.sb-event-score {
    font-variant-numeric: tabular-nums;
    color: #FFD700;
    min-width: 24px;
    text-align: right;
}

.sb-event-kickoff {
    margin-top: 6px;
    font-size: 11px;
    color: #5A6B85;
}

.sb-odds-row {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.sb-odd-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: linear-gradient(180deg, #0a1730 0%, #081130 100%);
    color: #e4e4e7;
    font: inherit;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, transform 0.1s, box-shadow 0.15s;
}

.sb-odd-btn:hover:not(:disabled) {
    border-color: rgba(22,199,46, 0.55);
    background: rgba(22,199,46, 0.14);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(22,199,46, 0.15);
}

.sb-odd-btn.is-selected {
    border-color: #16C72E;
    background: linear-gradient(180deg, rgba(22, 199, 46, 0.35) 0%, rgba(124, 58, 237, 0.25) 100%);
    color: #fff;
    box-shadow: 0 0 20px rgba(22,199,46, 0.25);
}

.sb-odd-btn__val {
    font-size: 15px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #FFD700;
}

.sb-odd-btn.is-selected .sb-odd-btn__val {
    color: #fff;
}

.sb-quick-stakes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 12px;
}

.sb-quick-stakes button {
    padding: 8px 4px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #18232d;
    color: #8B9AB0;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.sb-quick-stakes button:hover {
    border-color: rgba(22, 199, 46, 0.4);
    color: #fff;
    background: rgba(22,199,46, 0.1);
}

.sb-betslip {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    border-color: rgba(22,199,46, 0.2);
}

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

.sb-odd-btn__label {
    font-size: 10px;
    color: #9AA8B6;
    max-width: 76px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.sb-loading,
.sb-empty {
    padding: 48px 24px;
    text-align: center;
    color: #9AA8B6;
    font-size: 14px;
}

.sb-betslip__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #16C72E;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.sb-betslip__body {
    padding: 12px;
    min-height: 120px;
    max-height: 340px;
    overflow-y: auto;
}

.sb-betslip__empty {
    padding: 24px 8px;
    text-align: center;
    color: #5A6B85;
    font-size: 13px;
    line-height: 1.5;
}

.sb-slip-item {
    padding: 10px 12px;
    margin-bottom: 8px;
    border-radius: 10px;
    background: #18232d;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.sb-slip-item__top {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.sb-slip-item__match {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}

.sb-slip-item__remove {
    border: none;
    background: none;
    color: #9AA8B6;
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
}

.sb-slip-item__pick {
    font-size: 12px;
    color: #FFD700;
    font-weight: 600;
}

.sb-slip-item__odds {
    margin-top: 4px;
    font-size: 13px;
    font-weight: 800;
    color: #FFD700;
}

.sb-betslip__footer {
    padding: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
}

.sb-stake-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 12px;
    color: #8B9AB0;
}

.sb-stake-field input {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #18232d;
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
}

.sb-slip-summary {
    margin-bottom: 12px;
}

.sb-slip-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 13px;
    color: #8B9AB0;
}

.sb-slip-row--win strong {
    color: #FFD700;
    font-size: 16px;
}

.sb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 10px;
    border: none;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.15s, transform 0.1s;
}

.sb-btn--block {
    width: 100%;
    margin-bottom: 8px;
}

.sb-btn--primary {
    background: linear-gradient(135deg, #16C72E, #109121);
    color: #fff;
}

.sb-btn--primary:hover:not(:disabled) {
    opacity: 0.92;
}

.sb-btn--primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.sb-btn--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #8B9AB0;
}

.sb-my-bets {
    padding: 12px;
}

.sb-bet-card {
    padding: 14px;
    margin-bottom: 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #0f1720;
}

.sb-bet-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}

.sb-bet-card__match {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
}

.sb-bet-status {
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sb-bet-status--pending { background: rgba(234, 179, 8, 0.15); color: #FFD700; }
.sb-bet-status--won { background: rgba(34, 197, 94, 0.15); color: #FFD700; }
.sb-bet-status--lost { background: rgba(239, 68, 68, 0.12); color: #FF3449; }

.sb-bet-card__pick {
    font-size: 13px;
    color: #FFD700;
    font-weight: 600;
    margin-bottom: 10px;
}

.sb-bet-card__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.sb-bet-card__cell {
    padding: 8px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.25);
    text-align: center;
}

.sb-bet-card__cell span {
    display: block;
    font-size: 10px;
    color: #5A6B85;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.sb-bet-card__cell strong {
    font-size: 13px;
    color: #e4e4e7;
}

.sb-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
    padding: 12px 18px;
    border-radius: 10px;
    background: #0d1a3c;
    border: 1px solid rgba(22, 199, 46, 0.4);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    animation: sb-toast-in 0.25s ease;
}

.sb-toast--error {
    border-color: rgba(239, 68, 68, 0.5);
    color: #FF3449;
}

@keyframes sb-toast-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
    .sb-layout {
        grid-template-columns: 180px minmax(0, 1fr);
    }
    .sb-betslip {
        grid-column: 1 / -1;
        position: static;
        max-height: none;
    }
    .sb-match__picks--2 {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .sb-layout {
        grid-template-columns: 1fr;
    }
    .sb-sidebar {
        position: static;
    }
    .sb-cat-nav {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        max-height: none;
    }
    .sb-cat-item {
        flex: 0 0 auto;
        grid-template-columns: auto auto;
    }
    .sb-cat-item__count {
        display: none;
    }
    .sb-match__picks {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .sb-match__picks--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .sb-match__teams {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4px;
    }
    .sb-match__team--home,
    .sb-match__team--away {
        justify-content: center;
    }
    .sb-match__vs {
        display: none;
    }
}

/* =============================================================
   KARTOOSH OVERRIDES — appended to recolor + align to real skin
   palette: kartoosh skinning.js (b #18232d, oc1 #109121,
   oc2 #FFD700, oc3 #FF3449, oc4 #16C72E)
   ============================================================= */

/* ---- hero: kartoosh navy with gold hairline, no purple glow ---- */
.sb-hero {
    background:
        radial-gradient(circle at 15% 20%, rgba(22, 199, 46, 0.14), transparent 55%),
        radial-gradient(circle at 85% 80%, rgba(255, 215, 0, 0.10), transparent 50%),
        linear-gradient(180deg, #0f1720 0%, #18232d 100%);
    border-bottom: 1px solid rgba(255, 215, 0, 0.28);
}
.sb-hero__badge {
    background: rgba(255, 215, 0, 0.14);
    border: 1px solid rgba(255, 215, 0, 0.45);
    border-radius: 4px;
    color: #FFD700;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.sb-hero__title { color: #f4f7fb; }
.sb-hero__sub { color: #9AA8B6; }

.sb-stat {
    background: rgba(10, 23, 48, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
}
.sb-stat__val { color: #FFD700; }
.sb-stat__label { color: #9AA8B6; }

/* ---- layout surfaces ---- */
.sb-page { background: #18232d; }
.sb-sidebar,
.sb-betslip {
    background: #0f1720;
    border-color: rgba(255, 255, 255, 0.08);
}

/* ---- category nav: kartoosh rows, gold active ---- */
.sb-cat-item {
    border-radius: 4px;
    border: 1px solid transparent;
    color: #dfe7f2;
    transition: background 0.14s ease, border-color 0.14s ease;
}
.sb-cat-item:hover { background: #0d1a3c; border-color: rgba(255, 215, 0, 0.35); }
.sb-cat-item.is-active {
    background: rgba(255, 215, 0, 0.13);
    border-color: #FFD700;
    color: #FFD700;
    font-weight: 700;
}
.sb-cat-item__count { color: #8B9AB0; }
.sb-cat-item.is-active .sb-cat-item__count { color: #FFD700; }

/* ---- tabs: kartoosh pill, gold active ---- */
.sb-tab {
    border-radius: 4px;
    color: #dfe7f2;
    font-weight: 600;
    transition: background 0.14s ease, color 0.14s ease;
}
.sb-tab:hover { background: #0d1a3c; color: #FFD700; }
.sb-tab.is-active {
    background: #FFD700;
    color: #1d1600;
    font-weight: 700;
}
.sb-live-dot { background: #FF3449; }

/* ---- odds buttons: kartoosh 3-col, gold on hover ---- */
.sb-odd,
.sb-event__odd,
.sb-odds__btn {
    background: #0a1730;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 4px;
    color: #FFD700;
    font-weight: 700;
    transition: background 0.13s ease, border-color 0.13s ease, color 0.13s ease;
}
.sb-odd:hover,
.sb-event__odd:hover,
.sb-odds__btn:hover {
    background: #2e3b46;
    border-color: #FFD700;
    color: #FFD700;
}
.sb-odd.is-selected,
.sb-event__odd.is-selected,
.sb-odds__btn.is-selected {
    background: #FFD700;
    border-color: #FFD700;
    color: #1d1600;
}

/* ---- search + refresh ---- */
.sb-search {
    background: #0a1730;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 4px;
    color: #f4f7fb;
}
.sb-search:focus { border-color: #FFD700; outline: none; }
.sb-search::placeholder { color: #8B9AB0; }
.sb-refresh-btn {
    background: #0a1730;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 4px;
    color: #FFD700;
}
.sb-refresh-btn:hover { border-color: #FFD700; }

/* ---- event cards ---- */
.sb-event,
.sb-event-card {
    background: linear-gradient(180deg, #0d1a3c, #071430);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}
.sb-event:hover,
.sb-event-card:hover { border-color: rgba(255, 215, 0, 0.5); }
.sb-event__league,
.sb-event-card__league { color: #FFD700; font-weight: 700; }
.sb-event__team,
.sb-event-card__team { color: #f4f7fb; }
.sb-events-meta { color: #9AA8B6; }

/* ---- betslip ---- */
.sb-betslip__head { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.sb-betslip__head h2 { color: #f4f7fb; }
.sb-betslip__count {
    background: #FFD700;
    border-radius: 10px;
    color: #1d1600;
    font-weight: 700;
}
.sb-slip {
    background: #0a1730;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 4px;
}
.sb-slip__remove { color: #FF3449; }
.sb-slip-row span { color: #9AA8B6; }
.sb-slip-row--win strong { color: #16C72E; }
.sb-betslip__empty { color: #8B9AB0; }
.sb-stake-field span { color: #9AA8B6; }
.sb-stake-field input {
    background: #0a1730;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 4px;
    color: #f4f7fb;
}
.sb-stake-field input:focus { border-color: #FFD700; outline: none; }
.sb-quick-stakes button {
    background: #0a1730;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 4px;
    color: #f4f7fb;
    font-weight: 600;
}
.sb-quick-stakes button:hover { border-color: #FFD700; color: #FFD700; }

/* ---- buttons: kartoosh primary = gold ---- */
.sb-btn--primary {
    background: #FFD700;
    border: 1px solid #FFD700;
    border-radius: 4px;
    color: #1d1600;
    font-weight: 700;
}
.sb-btn--primary:hover:not(:disabled) { background: #109121; border-color: #109121; color: #fff; }
.sb-btn--primary:disabled { opacity: 0.42; }
.sb-btn--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    color: #dfe7f2;
    font-weight: 600;
}
.sb-btn--ghost:hover { border-color: #FF3449; color: #FF3449; }

/* ---- sidebar promo ---- */
.sb-sidebar__promo {
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.12), rgba(255, 215, 0, 0.04));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    color: #dfe7f2;
}
.sb-sidebar__promo strong { color: #FFD700; }
.sb-promo-link { color: #16C72E; font-weight: 700; }
.sb-promo-link:hover { color: #FFD700; }

/* ---- empty / loading ---- */
.sb-empty,
.sb-loading {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    color: #9AA8B6;
}

/* =============================================================
   MOBILE — kartoosh sports skin (pre-match / live event view)
   ============================================================= */

.sbm {
    display: none;
}

@media (max-width: 1023px) {
    .sportsbook-body .main-content.sb-page {
        padding: 112px 0 0;
        max-width: none;
        margin: 0;
    }

    .sb-page .sb-hero,
    .sb-page .sb-layout {
        display: none !important;
    }

    .sbm {
        display: block;
        background: #04121b;
        padding-bottom: 12px;
    }

    .sbm-minigame {
        display: flex;
        align-items: center;
        gap: 12px;
        height: 74px;
        margin: 12px 8px 0;
        padding: 0 12px;
        border-radius: 8px;
        overflow: hidden;
        text-decoration: none;
        background: linear-gradient(100deg, #0e3b30 0%, #123a2f 45%, #0a1f2b 100%);
        border: 1px solid rgba(255, 255, 255, 0.08);
        position: relative;
    }

    .sbm-minigame__badge {
        flex: 0 0 auto;
        width: 56px;
        height: 56px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 26px;
        font-weight: 800;
        color: #04121b;
        background: linear-gradient(140deg, #f8c524, #e0a800);
    }

    .sbm-minigame__copy {
        min-width: 0;
        display: flex;
        flex-direction: column;
        line-height: 1.25;
    }

    .sbm-minigame__copy strong {
        font-size: 15px;
        font-weight: 800;
        color: #f4f7fb;
    }

    .sbm-minigame__copy small {
        font-size: 11px;
        color: #9fb0c0;
    }

    .sbm-minigame__copy em {
        margin-top: 4px;
        align-self: flex-start;
        padding: 3px 10px;
        border-radius: 4px;
        font-style: normal;
        font-size: 11px;
        font-weight: 700;
        color: #04121b;
        background: #f8c524;
    }

    .sbm-fav {
        height: 96px;
        margin: 12px 8px 0;
        padding: 12px 13px;
        border-radius: 8px;
        background: #0b1c28;
        border: 1px solid rgba(255, 255, 255, 0.07);
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .sbm-fav h3 {
        margin: 0;
        font-size: 15px;
        font-weight: 700;
        color: #f4f7fb;
    }

    .sbm-fav p {
        margin: 0;
        height: 36px;
        display: flex;
        align-items: center;
        padding: 0 12px;
        border-radius: 4px;
        font-size: 13px;
        color: #8fa3b5;
        background: #0f2534;
        border: 1px dashed rgba(255, 255, 255, 0.14);
    }

    .sbm-special,
    .sbm-markets {
        display: flex;
        gap: 8px;
        height: 56px;
        margin: 10px 0 0;
        padding: 0 7px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .sbm-special::-webkit-scrollbar,
    .sbm-markets::-webkit-scrollbar {
        display: none;
    }

    .sbm-special button,
    .sbm-markets button {
        flex: 0 0 auto;
        height: 56px;
        padding: 0 16px;
        border-radius: 6px;
        font-family: inherit;
        font-size: 13px;
        font-weight: 600;
        color: #dfe7f2;
        background: #0f2534;
        border: 1px solid rgba(255, 255, 255, 0.08);
        white-space: nowrap;
    }

    .sbm-special button.is-active,
    .sbm-markets button.is-active {
        color: #04121b;
        background: #f8c524;
        border-color: #f8c524;
        font-weight: 700;
    }

    .sbm-filter {
        height: 48px;
        margin-top: 10px;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0 7px;
    }

    .sbm-filter__scroll {
        display: flex;
        gap: 6px;
        flex: 1 1 auto;
        min-width: 0;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .sbm-filter__scroll::-webkit-scrollbar {
        display: none;
    }

    .sbm-filter__scroll button {
        flex: 0 0 auto;
        height: 34px;
        padding: 0 12px;
        border-radius: 4px;
        font-family: inherit;
        font-size: 12px;
        font-weight: 600;
        color: #dfe7f2;
        background: #0f2534;
        border: 1px solid rgba(255, 255, 255, 0.08);
        white-space: nowrap;
    }

    .sbm-filter__scroll button.is-active {
        color: #04121b;
        background: #f8c524;
        border-color: #f8c524;
        font-weight: 700;
    }

    .sbm-filter__toggle {
        flex: 0 0 auto;
        width: 40px;
        height: 40px;
        border-radius: 4px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: #0f2534;
        position: relative;
        cursor: pointer;
    }

    .sbm-filter__toggle::before,
    .sbm-filter__toggle::after {
        content: '';
        position: absolute;
        background: #dfe7f2;
    }

    .sbm-filter__toggle::before {
        left: 11px;
        top: 19px;
        width: 18px;
        height: 2px;
    }

    .sbm-filter__toggle::after {
        left: 19px;
        top: 11px;
        width: 2px;
        height: 18px;
    }

    .sbm-filter--empty .sbm-filter__scroll {
        display: none;
    }

    .sbm-filter--empty .sbm-filter__toggle {
        margin-left: auto;
    }

    .sbm-sports {
        display: flex;
        gap: 7px;
        height: 92px;
        padding: 10px 7px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .sbm-sports::-webkit-scrollbar {
        display: none;
    }

    .sbm-sport {
        flex: 0 0 auto;
        width: 66px;
        height: 72px;
        border-radius: 6px;
        background: #0f2534;
        border: 1px solid rgba(255, 255, 255, 0.07);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        padding: 4px 2px;
        font-family: inherit;
        cursor: pointer;
    }

    .sbm-sport__icon {
        font-size: 20px;
        line-height: 1;
    }

    .sbm-sport__count {
        font-size: 10px;
        font-weight: 700;
        color: #7d93a6;
    }

    .sbm-sport__name {
        font-size: 10px;
        font-weight: 600;
        color: #c9d6e2;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .sbm-sport.is-active {
        background: rgba(248, 197, 36, 0.14);
        border-color: #f8c524;
    }

    .sbm-sport.is-active .sbm-sport__count,
    .sbm-sport.is-active .sbm-sport__name {
        color: #f8c524;
    }

    .sbm-markets {
        height: 72px;
        margin-top: 0;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .sbm-markets button {
        height: 56px;
    }

    .sbm-comps {
        margin-top: 0;
        background: #0b1c28;
    }

    .sbm-comp__head {
        display: flex;
        align-items: center;
        gap: 8px;
        height: 36px;
        padding: 0 10px;
        background: #0f2534;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .sbm-comp__flag {
        font-size: 13px;
        line-height: 1;
    }

    .sbm-comp__name {
        flex: 1 1 auto;
        min-width: 0;
        font-size: 12px;
        font-weight: 700;
        color: #dfe7f2;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .sbm-comp__chev {
        flex: 0 0 auto;
        width: 8px;
        height: 8px;
        border-right: 2px solid #7d93a6;
        border-bottom: 2px solid #7d93a6;
        transform: rotate(45deg) translate(-2px, -2px);
    }

    .sbm-match {
        padding: 8px 10px 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .sbm-match__date {
        display: block;
        font-size: 10px;
        font-weight: 600;
        color: #7d93a6;
        margin-bottom: 6px;
    }

    .sbm-match__team {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 3px 0;
    }

    .sbm-match__name {
        min-width: 0;
        font-size: 13px;
        font-weight: 600;
        color: #e8eef5;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .sbm-match__score {
        flex: 0 0 auto;
        min-width: 20px;
        text-align: right;
        font-size: 13px;
        font-weight: 800;
        color: #f8c524;
        font-variant-numeric: tabular-nums;
    }

    .sbm-match__odds {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        margin-top: 8px;
    }

    .sbm-match__odds button {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
        height: 34px;
        padding: 0 9px;
        border-radius: 4px;
        font-family: inherit;
        color: #dfe7f2;
        background: #0f2534;
        border: 1px solid rgba(255, 255, 255, 0.07);
        cursor: pointer;
    }

    .sbm-match__odds button span {
        font-size: 10px;
        font-weight: 700;
        color: #7d93a6;
    }

    .sbm-match__odds button b {
        font-size: 12px;
        font-weight: 800;
        color: #f4f7fb;
    }

    .sbm-disclaimer {
        margin: 0;
        padding: 18px 14px 6px;
        font-size: 11px;
        line-height: 1.55;
        color: #6d8296;
    }

    /* ---- esports tab ---- */
    .sbm.esp {
        padding-top: 0;
    }

    .esp-search {
        position: relative;
        display: flex;
        gap: 0;
        height: 46px;
        margin-top: 10px;
        padding: 0 7px;
    }

    .esp-search input {
        flex: 1 1 auto;
        min-width: 0;
        height: 48px;
        padding: 0 14px;
        border-radius: 4px 0 0 4px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-right: none;
        background: #0f2534;
        color: #f4f7fb;
        font-family: inherit;
        font-size: 13px;
    }

    .esp-search input::placeholder {
        color: #7d93a6;
    }

    .esp-search__btn {
        flex: 0 0 auto;
        width: 48px;
        height: 48px;
        border: none;
        border-radius: 0 4px 4px 0;
        background: #f8c524;
        cursor: pointer;
        position: relative;
    }

    .esp-search__btn::before {
        content: '';
        position: absolute;
        left: 17px;
        top: 17px;
        width: 12px;
        height: 12px;
        border: 2px solid #04121b;
        border-radius: 50%;
    }

    .esp-search__btn::after {
        content: '';
        position: absolute;
        left: 28px;
        top: 29px;
        width: 8px;
        height: 2px;
        background: #04121b;
        transform: rotate(45deg);
    }

    .esp-tabs {
        display: flex;
        height: 48px;
    }

    .esp-tabs button {
        flex: 1 1 0;
        min-width: 0;
        height: 48px;
        border: none;
        background: transparent;
        font-family: inherit;
        font-size: 13px;
        font-weight: 600;
        color: #9fb0c0;
        cursor: pointer;
    }

    .esp-tabs button.is-active {
        color: #f8c524;
        box-shadow: inset 0 -2px 0 #f8c524;
    }

    .esp-games {
        display: flex;
        gap: 7px;
        height: 97px;
        padding: 12px 7px 13px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .esp-games::-webkit-scrollbar {
        display: none;
    }

    .esp-game {
        flex: 0 0 auto;
        width: 84px;
        height: 72px;
        border-radius: 6px;
        background: #0f2534;
        border: 1px solid rgba(255, 255, 255, 0.07);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1px;
        padding: 4px 3px;
        font-family: inherit;
        cursor: pointer;
    }

    .esp-game__icon {
        font-size: 18px;
        line-height: 1;
    }

    .esp-game__name {
        font-size: 10px;
        font-weight: 600;
        color: #c9d6e2;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .esp-game__count {
        font-size: 10px;
        font-weight: 700;
        color: #7d93a6;
    }

    .esp-markets {
        display: flex;
        gap: 6px;
        height: 48px;
        padding: 0 7px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .esp-markets::-webkit-scrollbar {
        display: none;
    }

    .esp-markets button {
        flex: 0 0 auto;
        height: 34px;
        padding: 0 12px;
        border-radius: 4px;
        font-family: inherit;
        font-size: 11px;
        font-weight: 700;
        color: #dfe7f2;
        background: #0f2534;
        border: 1px solid rgba(255, 255, 255, 0.08);
        white-space: nowrap;
        cursor: pointer;
    }

    .esp-markets button.is-active {
        color: #04121b;
        background: #f8c524;
        border-color: #f8c524;
    }

    .esp-comps {
        margin-top: 27px;
    }

    .esp .sbm-comp__head {
        height: 34px;
    }

    /* ---- tournaments tab ---- */
    .sbm.trn {
        padding-bottom: 0;
    }

    .trn-tabs {
        height: 81px;
    }

    .trn-tabs__scroll {
        display: flex;
        gap: 5px;
        height: 48px;
        padding: 7px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .trn-tabs__scroll::-webkit-scrollbar {
        display: none;
    }

    .trn-tabs__scroll button {
        flex: 0 0 auto;
        height: 34px;
        padding: 0 12px;
        border-radius: 4px;
        font-family: inherit;
        font-size: 12px;
        font-weight: 600;
        color: #dfe7f2;
        background: #0f2534;
        border: 1px solid rgba(255, 255, 255, 0.08);
        white-space: nowrap;
        cursor: pointer;
    }

    .trn-tabs__scroll button.is-active {
        color: #04121b;
        background: #f8c524;
        border-color: #f8c524;
        font-weight: 700;
    }

    .trn-toggle {
        display: flex;
        align-items: center;
        gap: 8px;
        height: 33px;
        padding: 0 12px;
        font-size: 12px;
        color: #9fb0c0;
    }

    .trn-toggle__box {
        width: 16px;
        height: 16px;
        border-radius: 3px;
        border: 1px solid rgba(255, 255, 255, 0.24);
        background: #0f2534;
        flex: 0 0 auto;
    }

    .trn-empty {
        margin: 24px 0 0;
        height: 100px;
        padding: 0 20px;
        text-align: center;
        font-size: 13px;
        line-height: 1.5;
        color: #7d93a6;
    }
}