@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Rajdhani:wght@500;600;700&display=swap");
@import url("https://fonts.googleapis.com/icon?family=Material+Icons+Round");

.material-icons-round {
    font-family: "Material Icons Round";
    font-weight: normal;
    font-style: normal;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}

:root {
    --sb-canvas: #101b27;
    --sb-surface: #172431;
    --sb-elevated: #1d2c3a;
    --sb-line: rgba(224, 235, 242, .09);
    --sb-text: #edf2f4;
    --sb-muted: #93a2ad;
    --sb-green: #79b83b;
    --sb-green-deep: #5c962b;
    --sb-lime-wash: rgba(121, 184, 59, .13);
    --sb-yellow: #f4cc24;
}

html { background: var(--sb-canvas); }
body, body.dark-mode {
    background: var(--sb-canvas) !important;
    color: var(--sb-text);
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    min-height: 100dvh;
}
body :is(h1,h2,h3,h4,h5,h6) { color: var(--sb-text); font-family: "Rajdhani", sans-serif; }
body p { color: inherit; }
body a { color: inherit; }
button, input, select { font-family: inherit; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible {
    outline: 2px solid var(--sb-green);
    outline-offset: 2px;
}
.navbar {
    min-height: 60px;
    padding: 0 20px;
    background: #131f2b !important;
    border-bottom: 1px solid var(--sb-line);
    box-shadow: 0 6px 20px rgba(0,0,0,.13) !important;
    z-index: 1035;
}
.navbar .navbar-brand img { max-width: 116px; max-height: 40px; object-fit: contain; }
.navbar .nav-item { margin: 0 10px; }
.navbar .nav-item .nav-link { color: #bdc8ce !important; font: 600 12px "DM Sans",sans-serif; letter-spacing: .06em; }
.navbar .nav-item .nav-link.active, .navbar .nav-item .nav-link:hover { color: var(--sb-green) !important; }
.navbar .navbar-toggler { position: static; color: var(--sb-text); }
.navbar .navbar-toggler i { color: var(--sb-text); }
.navbar .navbar-text { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; position: relative; z-index: 1040; }
.navbar .navbar-text .btn-custom,
.navbar .navbar-text .notification-panel .dropdown-toggle,
.navbar .navbar-text .user-dropdown .dropdown-toggle {
    background: var(--sb-elevated) !important; color: var(--sb-text); border-radius: 9px;
    box-shadow: none; width: 36px; height: 36px;
}
.navbar .navbar-text .btn-custom:hover,
.navbar .navbar-text .notification-panel .dropdown-toggle:hover,
.navbar .navbar-text .user-dropdown .dropdown-toggle:hover { background: var(--sb-green) !important; }
.navbar .wallet-currency-switch { margin: 0 !important; }
.navbar .wallet-currency-switch select {
    background-color: var(--sb-elevated); color: #f4f7f8; border: 1px solid var(--sb-line);
    border-radius: 9px; min-height: 36px; padding: 4px 24px 4px 9px; font-size: 12px;
}
.navbar .container-fluid { gap: 12px; }
.navbar .navbar-toggler { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--sb-elevated); color: #f4f7f8 !important; }
.header-menu-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.header-account-link, .navbar .navbar-text .user-dropdown .dropdown-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
    flex: 0 0 auto; visibility: visible !important; opacity: 1 !important;
    border: 1px solid var(--sb-line); border-radius: 11px; background: var(--sb-elevated); color: #f4f7f8 !important;
}
.header-account-link:hover, .navbar .navbar-text .user-dropdown .dropdown-toggle:hover { background: var(--sb-green) !important; color: #10200b !important; }
.header-account-icon { display: block; width: 22px; height: 22px; font-size: 22px; line-height: 22px; color: #f4f7f8 !important; }
.navbar .navbar-toggler .header-menu-icon { stroke: #f4f7f8; }
.navbar .navbar-text .notification-panel > .btn-custom {
    width: auto; min-width: 64px; height: 36px; padding: 0 12px; line-height: 36px; white-space: nowrap;
}
.navbar .dropdown-menu, .navbar .notification-dropdown { background: var(--sb-surface) !important; border: 1px solid var(--sb-line) !important; border-radius: 12px !important; }
.navbar .dropdown-menu a, .navbar .notification-dropdown a { color: var(--sb-text) !important; }
.navbar .dropdown-menu a:hover { background: var(--sb-elevated) !important; }

.wrapper { padding-top: 60px; min-height: 100dvh; background: var(--sb-canvas); }
.wrapper > .content { min-width: 0; padding: 14px 18px 76px; background: var(--sb-canvas); }
.leftbar {
    background: #131f2b; border-color: var(--sb-line); top: 60px; height: calc(100dvh - 60px);
}
.leftbar li a { background: transparent; color: #c4ced4; border-left: 3px solid transparent; padding: 10px 14px; }
.leftbar li a.active, .leftbar li a:hover { color: var(--sb-text); background: var(--sb-lime-wash); border-left-color: var(--sb-green); }
.leftbar li a .count { color: var(--sb-muted); }
.leftbar .collapse ul { background: rgba(0,0,0,.12); }
.leftbar .collapse ul a { padding-left: 34px; font-size: 13px; }
.leftbar .top { gap: 6px; }
.rightbar {
    top: 60px; height: calc(100dvh - 60px); background: #131f2b; border-color: var(--sb-line);
}
.rightbar .top { gap: 8px; }
.rightbar .bet-box, .rightbar .bet-box-wrapper { background: var(--sb-surface); border-color: var(--sb-line); color: var(--sb-text); border-radius: 10px; }
.rightbar .bet-box p, .rightbar .bet-box .series { color: var(--sb-text); }
.rightbar .bet-box .badge { background: var(--sb-green); }
.rightbar .form-control { background: var(--sb-elevated); color: var(--sb-text); border-color: var(--sb-line); }
.btn-custom, a.btn-custom, .btn-custom2 {
    background: var(--sb-green); color: #10200b; border: 0; border-radius: 9px;
    box-shadow: none; font: 700 12px "DM Sans",sans-serif; letter-spacing: .02em;
    height: 38px; line-height: 38px; transition: transform .16s ease, background-color .16s ease;
}
.btn-custom:hover, a.btn-custom:hover, .btn-custom2:hover { background: #8bc84d; color: #10200b; transform: translateY(-1px); }
.btn-custom.light, .dark-mode .btn-custom.light { color: #d8e0e4; background: var(--sb-elevated); }
.btn-custom.light:hover { background: var(--sb-green); color: #10200b; }
.bottom-bar {
    display: none; visibility: hidden; opacity: 0; background: #131f2b !important; color: var(--sb-muted) !important;
    border-top: 1px solid var(--sb-line); box-shadow: 0 -8px 24px rgba(0,0,0,.18) !important;
    z-index: 1040; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); align-items: center; gap: 5px;
}
.bottom-bar a, .dark-mode .bottom-bar a { color: var(--sb-muted) !important; font-size: 10px; font-weight: 600; gap: 3px; align-items: center; justify-items: center; }
.bottom-bar a i { font-size: 18px; }
.bottom-bar .nav-icon {
    display: block; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.65;
    stroke-linecap: round; stroke-linejoin: round;
}
.bottom-bar .bet-slip-link .nav-icon { width: 23px; height: 23px; }
.bottom-bar a:hover, .bottom-bar a:first-child { color: var(--sb-green) !important; }
.bottom-bar .bet-slip-link {
    flex: 0 0 46px; width: 46px; height: 46px; margin-top: -12px; display: grid; place-items: center;
    border-radius: 50%; background: var(--sb-yellow) !important; color: #17200c !important;
    box-shadow: 0 5px 16px rgba(244, 204, 36, .25);
}
.bottom-bar .bet-slip-link i { font-size: 19px; }
.bottom-bar .bet-slip-link .nav-label { display: none; }
.bottom-bar .nav-label { font-size: 10px; }

.categories {
    display: flex; overflow-x: auto; gap: 8px; padding: 2px 0 13px;
    scrollbar-width: none; border-bottom: 1px solid var(--sb-line); white-space: nowrap;
}
.categories::-webkit-scrollbar { display: none; }
.categories a {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; min-height: 38px;
    border-radius: 10px; padding: 0 13px; color: var(--sb-muted); background: var(--sb-surface);
    font-size: 12px; font-weight: 700; transition: color .15s ease, background-color .15s ease;
}
.categories .category-more {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; min-height: 38px;
    border: 0; border-radius: 10px; padding: 0 13px; color: var(--sb-muted); background: var(--sb-surface);
    font: 700 12px "DM Sans",sans-serif; cursor: pointer;
}
.categories .category-more:hover { color: var(--sb-text); background: var(--sb-lime-wash); }
.categories a i, .categories a svg { font-size: 15px; }
.categories a.active, .categories a:hover { color: var(--sb-text); background: var(--sb-lime-wash); box-shadow: inset 0 -2px var(--sb-green); }
.sports-category-bar { position: relative; z-index: 1060; }
.category-icon-wrap { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 20px; width: 20px; height: 20px; overflow: hidden; }
.category-icon-wrap svg, .category-icon-wrap img { width: 18px !important; height: 18px !important; max-width: 18px; max-height: 18px; object-fit: contain; }
.category-icon-wrap i { font-size: 16px; }
.category-more-menu {
    position: absolute; z-index: 1065; top: calc(100% - 5px); right: 0;
    width: min(300px, calc(100vw - 28px)); max-height: min(55vh, 420px); overflow-y: auto;
    padding: 10px; border: 1px solid var(--sb-line); border-radius: 13px;
    background: var(--sb-surface); color: var(--sb-text);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .32);
}
.category-more-menu[hidden] { display: none !important; }
.category-more-menu h6 { margin: 2px 8px 8px; color: var(--sb-muted); font: 700 11px "DM Sans",sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.category-more-menu a {
    display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 7px 9px;
    border-radius: 9px; color: var(--sb-text) !important; font: 600 13px "DM Sans",sans-serif;
}
.category-more-menu a:hover, .category-more-menu a.active { background: var(--sb-lime-wash); color: var(--sb-text) !important; }
.category-more-menu a small { margin-left: auto; color: var(--sb-muted); }
.category-more-empty { margin: 8px; color: var(--sb-muted); font-size: 13px; }
.rightbar .bet-slip-empty, .bet-history-empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px;
    min-height: 190px; padding: 24px 18px; border: 1px dashed var(--sb-line);
    border-radius: 13px; background: var(--sb-elevated); color: var(--sb-muted); text-align: center;
}
.bet-slip-empty > i, .bet-history-empty > i { color: var(--sb-green); font-size: 30px; }
.bet-slip-empty strong, .bet-history-empty h5 { margin: 0; color: var(--sb-text); font: 700 17px "Rajdhani",sans-serif; }
.bet-slip-empty span, .bet-history-empty p { max-width: 340px; margin: 0; color: var(--sb-muted); font-size: 13px; line-height: 1.5; }
.bet-history-empty { min-height: 260px; }
.bet-history-empty .btn-custom { display: inline-flex; align-items: center; justify-content: center; margin-top: 8px; padding: 0 18px; text-decoration: none; }

@media (max-width: 767.98px) {
    .navbar { min-height: 60px; padding: 0 10px; }
    .navbar > .container-fluid { min-height: 60px; flex-wrap: wrap; gap: 7px; }
    .navbar .navbar-brand { order: 1; margin-right: auto; }
    .navbar .navbar-toggler { order: 0; flex: 0 0 38px; width: 38px; height: 38px; }
    .navbar .navbar-collapse { order: 3; flex-basis: 100%; }
    .navbar .navbar-text { order: 2; margin-left: auto; padding: 0; gap: 6px; }
    .navbar .navbar-brand img { max-width: 104px; }
    .navbar .wallet-currency-switch { margin-right: 0 !important; }
    .navbar .wallet-currency-switch select { min-width: 59px !important; min-height: 36px; padding-left: 7px; padding-right: 20px; }
    .header-account-link, .navbar .navbar-text .user-dropdown .dropdown-toggle { width: 38px; height: 38px; }
    .navbar .theme-toggle { width: 34px; height: 34px; }
}
@media (max-width: 370px) {
    .navbar .navbar-brand img { max-width: 82px; }
    .navbar .navbar-text { gap: 4px; }
    .navbar .navbar-text .notification-panel > .btn-custom { min-width: 0; padding: 0 8px; }
}

/* Account pages: clear hierarchy, readable labels and a compact mobile layout. */
.login-section.auth-page {
    display: flex; align-items: center; min-height: 100dvh; padding: 92px 18px 34px;
    background:
        radial-gradient(ellipse at 16% 18%, rgba(121,184,59,.12), transparent 34%),
        var(--sb-canvas);
}
.login-section.auth-page > .container-fluid { width: min(1160px, 100%); max-width: 1160px; padding: 0; }
.login-section.auth-page > .container-fluid > .row {
    min-height: 620px; overflow: hidden; border: 1px solid var(--sb-line); border-radius: 22px;
    background: var(--sb-surface); box-shadow: 0 22px 65px rgba(0,0,0,.28);
}
.login-section.auth-page .text-box {
    min-height: 620px; border-radius: 0; background-color: #132331 !important;
    background-position: center !important; background-size: cover !important;
}
.login-section.auth-page .overlay {
    display: flex; align-items: flex-end; min-height: 620px;
    background: linear-gradient(180deg, rgba(9,20,30,.12) 0%, rgba(9,20,30,.45) 42%, rgba(9,20,30,.94) 100%) !important;
}
.login-section.auth-page .overlay .text { max-width: 620px; padding: clamp(26px, 5vw, 58px); }
.login-section.auth-page .overlay .text h2 { max-width: 540px; margin: 0 0 12px; font-size: clamp(36px, 5vw, 64px); line-height: .98; }
.login-section.auth-page .overlay .text p { max-width: 430px; margin: 0 0 18px; color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.65; }
.auth-eyebrow { display: block; margin-bottom: 10px; color: var(--sb-green); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.login-section.auth-page .form-wrapper {
    display: flex; align-items: center; justify-content: center; min-height: 620px; padding: 38px;
    background: var(--sb-surface);
}
.login-section.auth-page .auth-form-card {
    width: min(100%, 500px); margin: 0; padding: 0; border: 0; border-radius: 0;
    background: transparent; box-shadow: none;
}
.login-section.auth-page .auth-form-heading { margin-bottom: 4px; }
.login-section.auth-page .auth-form-heading h4 { margin: 0 0 4px; font-size: 29px; line-height: 1.1; }
.login-section.auth-page .auth-form-heading p { margin: 0; color: var(--sb-muted); font-size: 13px; }
.login-section.auth-page .auth-field-label { display: block; margin: 0 0 7px; color: var(--sb-text); font-size: 12px; font-weight: 700; }
.login-section.auth-page .input-box .form-control,
.login-section.auth-page .input-box .form-select {
    min-height: 48px; padding: 10px 13px; border: 1px solid var(--sb-line) !important;
    border-radius: 10px !important; background: var(--sb-elevated) !important; color: var(--sb-text) !important;
    box-shadow: none;
}
.login-section.auth-page .input-box .form-control::placeholder { color: var(--sb-muted) !important; opacity: .8; }
.login-section.auth-page .input-box .form-control:focus,
.login-section.auth-page .input-box .form-select:focus { border-color: var(--sb-green) !important; box-shadow: 0 0 0 3px var(--sb-lime-wash); }
.login-section.auth-page .links { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.login-section.auth-page .links a, .login-section.auth-page .bottom a { color: var(--sb-green-deep) !important; font-weight: 700; }
.login-section.auth-page .form-check-label { color: var(--sb-muted) !important; font-size: 12px; }
.login-section.auth-page .auth-submit { min-height: 48px; margin-top: 8px; font-size: 13px; }
.login-section.auth-page .bottom { margin-top: 22px; color: var(--sb-muted); text-align: center; font-size: 12px; }
.login-section.auth-page .text-danger { display: block; margin-top: 6px; font-size: 12px; }
.login-section.auth-page .g-recaptcha { max-width: 100%; overflow-x: auto; }
.dark-mode .login-section.auth-page { background-color: var(--sb-canvas); }

@media (max-width: 767.98px) {
    .login-section.auth-page { display: block; min-height: 100dvh; padding: 76px 12px 94px; }
    .login-section.auth-page > .container-fluid > .row { min-height: 0; border-radius: 18px; }
    .login-section.auth-page .row > .col-lg-6:first-child { padding: 0 !important; }
    .login-section.auth-page .text-box,
    .login-section.auth-page .overlay { min-height: 154px !important; height: auto !important; }
    .login-section.auth-page .text-box { border-radius: 18px 18px 0 0; background-position: center 38% !important; }
    .login-section.auth-page .overlay { align-items: center; border-radius: 18px 18px 0 0; }
    .login-section.auth-page .overlay .text { padding: 18px 20px; }
    .login-section.auth-page .overlay .text h2 { max-width: 340px; margin-bottom: 6px; font-size: 26px; }
    .login-section.auth-page .overlay .text p { display: none; }
    .login-section.auth-page .form-wrapper { display: block; min-height: 0; padding: 22px 16px 24px; }
    .login-section.auth-page .auth-form-card { width: 100%; }
    .login-section.auth-page .auth-form-heading h4 { font-size: 25px; }
    .login-section.auth-page form .row { --bs-gutter-x: 12px; --bs-gutter-y: 13px; }
    .login-section.auth-page form .input-box.col-6 { width: 100%; }
    .login-section.auth-page form .links { align-items: flex-start; }
}
.match-feed-controls {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 0 12px;
}
.match-feed-controls .feed-title { font: 700 19px "Rajdhani",sans-serif; margin: 0; }
.match-feed-controls .feed-switch { display: flex; padding: 3px; gap: 3px; background: var(--sb-surface); border: 1px solid var(--sb-line); border-radius: 10px; }
.match-feed-controls .feed-switch button { padding: 7px 13px; color: var(--sb-muted); border-radius: 7px; font: 700 11px "DM Sans",sans-serif; }
.match-feed-controls .feed-switch button.active { color: #13200f; background: var(--sb-green); }
.skitter-large-box { display: block !important; margin: 12px 0; }
.skitter-large-box .container_skitter, .skitter-large-box .skitter {
    height: clamp(108px, 22vw, 200px) !important; overflow: hidden; border-radius: 12px;
}
.table-parent { margin: 0 0 8px; overflow: hidden !important; border: 1px solid var(--sb-line); border-radius: 12px; background: var(--sb-surface); }
.table-parent table { margin: 0; color: var(--sb-text); }
.table-parent .table > :not(caption) > * > * { background: transparent; color: inherit; border-bottom-color: var(--sb-line); }
.table-parent thead { background: rgba(255,255,255,.025); }
.table-parent th { color: var(--sb-muted) !important; font-size: 11px; font-weight: 600; }
.table-parent td { vertical-align: middle; }
.table-parent td p { margin: 0 0 6px; color: var(--sb-text); }
.table-parent td img { width: 19px; height: 19px; object-fit: contain; margin-right: 6px; }
.table-parent td button, .table-parent th button {
    min-width: 48px; padding: 8px 9px; border-radius: 9px; background: var(--sb-elevated);
    color: var(--sb-text); font: 700 12px "DM Sans",sans-serif;
}
.table-parent td button:hover { background: var(--sb-green); color: #10200b; }
.table-parent td button.disabled { color: #65727c; background: #202a33; }
.table-parent td:last-child button:not(.disabled) { color: var(--sb-green); background: transparent; }
.live-matches { display: none; }
.match-feed-mobile { display: none; }
.feed-empty { padding: 30px 14px; text-align: center; border: 1px dashed var(--sb-line); border-radius: 12px; color: var(--sb-muted); font-size: 13px; }

.all-markets { background: transparent; }
.all-markets .search-bar { margin: 0 0 12px; border-bottom: 1px solid var(--sb-line); }
.all-markets .search-bar a { color: var(--sb-muted); padding: 12px 14px; display: inline-flex; gap: 8px; }
.all-markets .search-bar a.active { color: var(--sb-green); border-bottom: 2px solid var(--sb-green); }
.all-markets .accordion-item { background: var(--sb-surface); border: 1px solid var(--sb-line); border-radius: 12px; overflow: hidden; }
.all-markets .accordion-button { background: var(--sb-surface); color: var(--sb-text); box-shadow: none; font-weight: 700; }
.all-markets .accordion-button::after { filter: invert(1); }
.all-markets .accordion-button a { color: var(--sb-green); margin-right: 10px; }
.all-markets .accordion-body { padding: 10px; }
.all-markets .accordion-body button {
    width: 100%; text-align: left; padding: 11px 12px; border-radius: 9px;
    background: var(--sb-elevated); color: var(--sb-text); font-size: 12px;
}
.all-markets .accordion-body button:hover { background: var(--sb-lime-wash); }
.all-markets .accordion-body button .float-end { color: var(--sb-green); font-weight: 700; }

.user-panel { color: var(--sb-text); }
.user-panel > .d-flex { align-items: center; border-bottom: 1px solid var(--sb-line); padding-bottom: 12px; margin-bottom: 18px; }
.user-panel h4, .user-panel h5 { color: var(--sb-text); }
.user-panel .card, .user-panel .modal-content, .user-panel .table-parent,
.user-panel .dashboard__card, .user-panel .dashboard__card-content {
    color: var(--sb-text); background: var(--sb-surface); border-color: var(--sb-line);
}
.user-panel :is(.form-control,.form-select) { color: var(--sb-text); background-color: var(--sb-elevated); border-color: var(--sb-line); }
.user-panel :is(.table,.table td,.table th) { color: var(--sb-text); border-color: var(--sb-line); }
.leftbar .top.profile { text-align: center; padding: 14px 10px; border-bottom: 1px solid var(--sb-line); }
.leftbar .top.profile h4 { color: var(--sb-text); font-size: 17px; }
.leftbar .top.profile img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.leftbar .top.profile h5 { color: var(--sb-muted); font: 600 12px "DM Sans",sans-serif; margin: 8px 0 0; }
.login-section, .modal { background: var(--sb-canvas); color: var(--sb-text); }
.login-section .overlay { background: rgba(16,27,39,.78); }
.login-section .form-wrapper, .login-section form, .modal .modal-content {
    color: var(--sb-text); background: var(--sb-surface); border: 1px solid var(--sb-line); border-radius: 14px;
}
.login-section h4, .modal h4, .login-section label, .modal label { color: var(--sb-text); }
.login-section form .input-box .form-control, .login-section form .input-box .form-select,
.modal form .input-box .form-control, .modal form .input-box .form-select {
    color: var(--sb-text); background-color: var(--sb-elevated); border: 1px solid var(--sb-line); border-radius: 8px;
}
.login-section .text-box, .login-section .text, .login-section p { color: var(--sb-text); }
.banner-section { background-color: var(--sb-surface); padding: 86px 0 28px !important; }
.banner-section h3 { color: var(--sb-text); }

@media (min-width: 992px) {
    .leftbar { width: 238px; }
    .rightbar { width: 300px; }
    .wrapper > .content { width: calc(100% - 538px); margin-left: 238px; margin-right: 300px; padding: 18px 22px 40px; }
}
@media (max-width: 991.98px) {
    .bottom-bar { display: flex; visibility: visible; opacity: 1; }
    .navbar { padding: 0 13px; }
    .navbar .navbar-brand img { max-width: 92px; }
    .navbar .navbar-collapse { position: absolute; top: 59px; left: 0; right: 0; background: #131f2b; padding: 8px 15px; border-bottom: 1px solid var(--sb-line); }
    .navbar .navbar-nav { flex-direction: row; flex-wrap: wrap; }
    .navbar .nav-item { margin: 0 8px; }
    .wrapper > .content { margin: 0; }
    .leftbar, .rightbar { z-index: 1050; }
    .rightbar { width: min(340px, 90vw); }
}
@media (max-width: 575.98px) {
    .navbar { min-height: 54px; }
    .navbar .container-fluid { display: flex; align-items: center; }
    .navbar .navbar-toggler { order: 1; margin-right: 8px; }
    .navbar .navbar-brand { order: 2; margin-right: auto; }
    .navbar .navbar-text { order: 3; }
    .navbar .navbar-collapse { order: 4; }
    .navbar .navbar-brand img { max-width: 88px; max-height: 34px; }
    .navbar .navbar-text { margin-left: auto; }
    .navbar .navbar-text .night-mode,
    .navbar .navbar-text .notification-panel .dropdown-toggle { display: none !important; }
    .navbar .navbar-text .notification-panel { display: flex; align-items: center; gap: 6px; }
    .navbar .navbar-text .btn-custom { width: auto; height: 32px; line-height: 32px; padding: 0 11px; }
    .navbar .wallet-currency-switch select { min-width: 61px !important; min-height: 32px; font-size: 11px; }
    .wrapper { padding-top: 54px; }
    .wrapper > .content { padding: 8px 11px 82px; }
    .categories { margin: 0 -11px; padding: 4px 11px 10px; gap: 7px; }
    .categories a { padding: 0 11px; min-height: 36px; font-size: 11px; }
    .match-feed-controls { padding: 11px 0 9px; }
    .match-feed-controls .feed-title { font-size: 17px; }
    .match-feed-controls .feed-switch button { padding: 7px 11px; }
    .table-parent { display: none !important; }
    .match-feed-mobile { display: block; }
    .match-card {
        padding: 11px 12px 10px; margin-bottom: 8px; border: 1px solid var(--sb-line);
        background: var(--sb-surface); border-radius: 12px;
    }
    .match-card-meta { display: flex; justify-content: space-between; gap: 8px; align-items: center; color: var(--sb-muted); font-size: 10px; margin-bottom: 8px; }
    .match-card-league { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .match-card-league i { color: #c4d0d6; margin-right: 5px; }
    .match-card-time { flex: none; }
    .match-card-body { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: center; }
    .match-card-teams { min-width: 0; display: grid; gap: 5px; }
    .match-card-team { display: flex; align-items: center; min-width: 0; gap: 7px; font-size: 13px; font-weight: 600; line-height: 1.2; }
    .match-card-team img { width: 19px; height: 19px; object-fit: contain; flex: none; }
    .match-card-team span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .match-card-odds { display: flex; gap: 5px; align-items: center; }
    .match-card-odds button { width: 48px; min-height: 36px; padding: 0 4px; border-radius: 20px; color: var(--sb-text); background: #263644; font: 700 12px "DM Sans",sans-serif; }
    .match-card-odds button:disabled { color: #75818a; background: #222e39; }
    .match-card-odds button:not(:disabled):active, .match-card-odds button:not(:disabled):focus { color: #12200c; background: var(--sb-green); }
    .match-card-more { display: block; text-align: right; color: var(--sb-green); font: 700 11px "DM Sans",sans-serif; margin-top: 6px; }
    .match-card-more button { color: inherit; font: inherit; }
    .live-matches { display: none !important; }
    .bottom-bar { min-height: 58px; }
    .bottom-bar a { font-size: 9px; }
    .bottom-bar a i { font-size: 17px; }
    .user-panel { padding-bottom: 76px; }
    .leftbar { top: 54px; height: calc(100dvh - 54px); }
    .rightbar { top: 54px; height: calc(100dvh - 54px); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Shared light/dark tokens and page-surface overrides. */
:root {
    color-scheme: light;
    --sb-canvas: #f3f6f8;
    --sb-surface: #ffffff;
    --sb-elevated: #edf2f5;
    --sb-line: rgba(18, 32, 43, .13);
    --sb-text: #172431;
    --sb-muted: #536372;
    --sb-green: #5c962b;
    --sb-green-deep: #47791e;
    --sb-lime-wash: rgba(92, 150, 43, .14);
    --sb-yellow: #f4cc24;
}

body.dark-mode {
    color-scheme: dark;
    --sb-canvas: #101b27;
    --sb-surface: #172431;
    --sb-elevated: #1d2c3a;
    --sb-line: rgba(224, 235, 242, .12);
    --sb-text: #edf2f4;
    --sb-muted: #aab8c2;
    --sb-green: #8bc84d;
    --sb-green-deep: #5c962b;
    --sb-lime-wash: rgba(139, 200, 77, .16);
    --sb-yellow: #f4cc24;
}

html, body, body.dark-mode,
.wrapper, .wrapper > .content, .login-section, .user-panel,
.banner-section {
    background-color: var(--sb-canvas) !important;
    color: var(--sb-text);
}
body :is(h1,h2,h3,h4,h5,h6), body p, body label, body small,
body .text-muted, body .form-text, body .breadcrumb-item,
body .user-panel :is(p,span,td,th,li) {
    color: var(--sb-muted);
}
body :is(h1,h2,h3,h4,h5,h6), body .user-panel :is(h1,h2,h3,h4,h5,h6) {
    color: var(--sb-text);
}
body a:not(.btn-custom):not(.btn-custom2):not(.nav-link):not(.page-link) { color: var(--sb-green-deep); }
body.dark-mode a:not(.btn-custom):not(.btn-custom2):not(.nav-link):not(.page-link) { color: var(--sb-green); }

.navbar, .leftbar, .rightbar, .bottom-bar,
.navbar .navbar-collapse, .leftbar .top.profile,
.user-panel .card, .user-panel .card-body,
.user-panel .modal-content, .user-panel .modal-custom-content,
.user-panel .table-parent, .user-panel .dashboard__card,
.user-panel .dashboard__card-content,
.user-panel .dashboard__card-icon,
.user-panel .deposit-group, .user-panel .post__item-content,
.user-panel .user-panel form, .user-panel .table,
.user-panel .apexcharts-canvas,
.dropdown-menu, .notification-dropdown,
.bet-history-table table {
    background-color: var(--sb-surface) !important;
    color: var(--sb-text) !important;
    border-color: var(--sb-line) !important;
}
.navbar .nav-item .nav-link, .leftbar li a,
.navbar .dropdown-menu a, .navbar .notification-dropdown a,
.user-panel .dashboard__card-content .price,
.user-panel .dashboard__card-content .info,
.user-panel .table-parent :is(th,td),
.user-panel .modal-custom-content :is(th,td),
.user-panel .top.profile h4, .user-panel .top.profile h5 {
    color: var(--sb-text) !important;
}
.user-panel .dashboard__card-icon {
    box-shadow: none;
    filter: none;
}
.user-panel .card, .user-panel .dashboard__card,
.user-panel .table-parent, .user-panel .modal-custom-content,
.user-panel form {
    border: 1px solid var(--sb-line) !important;
    border-radius: 12px;
    background-color: var(--sb-surface) !important;
    color: var(--sb-text) !important;
}
.user-panel .table-striped > tbody > tr:nth-of-type(odd) > *,
.user-panel .table > :not(caption) > * > * {
    background-color: transparent !important;
}
.user-panel .table-parent thead,
.user-panel .table-parent th { background-color: var(--sb-elevated) !important; }
.user-panel :is(.form-control,.form-select,.form-check-input,.input-group-text) {
    background-color: var(--sb-elevated) !important;
    color: var(--sb-text) !important;
    border-color: var(--sb-line) !important;
}
.user-panel :is(input,textarea,select)::placeholder { color: var(--sb-muted) !important; opacity: 1; }
.user-panel select option { background: var(--sb-surface); color: var(--sb-text); }
.user-panel .alert :is(p,span,div) { color: inherit; }
.user-panel .badge { color: #fff !important; }

.navbar .theme-toggle {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border: 1px solid var(--sb-line);
    border-radius: 9px;
    background: var(--sb-elevated);
    color: var(--sb-text);
    cursor: pointer;
}
.navbar .theme-toggle:hover { background: var(--sb-lime-wash); color: var(--sb-text); }
.theme-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle-moon { display: none; }
.dark-mode .theme-toggle-sun { display: none; }
.dark-mode .theme-toggle-moon { display: block; }

.categories a.active, .categories a.active:hover {
    background: var(--sb-green) !important;
    color: #10200b !important;
    box-shadow: inset 0 -2px var(--sb-green-deep);
}
.categories .category-icon {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.categories .category-icon, .leftbar .category-icon {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.feed-tab-icon {
    width: 16px;
    height: 16px;
    vertical-align: -3px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.bottom-bar a { display: inline-grid; }
.bottom-bar a.active, .bottom-bar a:hover { color: var(--sb-green) !important; }
.bottom-bar a:first-child:not(.active) { color: var(--sb-muted) !important; }
.bottom-bar .nav-icon {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-section {
    height: auto;
    min-height: calc(100dvh - 60px);
    overflow: visible;
    padding: 60px 0 24px;
}
.login-section > .container-fluid,
.login-section > .container-fluid > .row { min-height: calc(100dvh - 84px); height: auto !important; }
.login-section .text-box { min-height: 100%; border-radius: 0 16px 16px 0; overflow: hidden; }
.login-section .overlay { background: linear-gradient(135deg, rgba(7, 19, 29, .82), rgba(14, 35, 44, .46)); }
.login-section .overlay .text { padding: 28px; }
.login-section .overlay .text h2 { color: #fff !important; }
.login-section .overlay .text a { color: #b6eb82 !important; }
.login-section .form-wrapper {
    min-height: 100%;
    padding: 28px clamp(16px, 4vw, 56px);
    background: transparent !important;
    border: 0 !important;
}
.login-section form {
    width: 100%;
    padding: clamp(20px, 3vw, 36px);
    background: var(--sb-surface) !important;
    border: 1px solid var(--sb-line) !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 32px rgba(14, 30, 40, .08);
}
.login-section form .input-box .form-control,
.login-section form .input-box .form-select,
.modal form .input-box .form-control,
.modal form .input-box .form-select {
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--sb-line) !important;
    border-radius: 9px !important;
    background-color: var(--sb-elevated) !important;
    color: var(--sb-text) !important;
}
.login-section form .input-box .form-control::placeholder,
.login-section form .input-box .form-select:invalid,
.modal form .input-box .form-control::placeholder { color: var(--sb-muted) !important; }
.login-section form .links .form-check label,
.login-section form .bottom { color: var(--sb-muted) !important; }
.login-section form .links a, .login-section form .bottom a { color: var(--sb-green-deep) !important; }
.dark-mode .login-section form .links a,
.dark-mode .login-section form .bottom a { color: var(--sb-green) !important; }
.login-section .text-danger { display: block; font-size: 12px; }
.login-section .form-check-input { border-color: var(--sb-line); }
.login-section .form-check-input:checked { background-color: var(--sb-green-deep); border-color: var(--sb-green-deep); }

.user-panel .bet-history-table {
    display: block !important;
    overflow-x: auto !important;
}
.user-panel .bet-history-table table { min-width: 760px; }
.user-panel .bet-history-table td[data-label="Information"] button,
.user-panel .dashboard .table-parent td button {
    color: var(--sb-text);
    background: var(--sb-elevated);
}
.user-panel .apexcharts-canvas :is(text,.apexcharts-legend-text) { fill: var(--sb-muted); color: var(--sb-muted); }
.user-panel .apexcharts-tooltip,
.user-panel .apexcharts-xaxistooltip,
.user-panel .apexcharts-yaxistooltip {
    background: var(--sb-surface) !important;
    color: var(--sb-text) !important;
    border-color: var(--sb-line) !important;
}
.user-panel #investLogList .modal-body { overflow-x: auto; }
.user-panel #investLogList .modal-body table { min-width: 720px; }

@media (max-width: 991.98px) {
    .navbar, .navbar .navbar-collapse, .leftbar, .rightbar, .bottom-bar { background-color: var(--sb-surface) !important; }
    .navbar .theme-toggle { width: 34px; height: 34px; flex-basis: 34px; }
    .bottom-bar { justify-content: space-around; }
    .user-panel .table-parent { display: block !important; }
}
@media (max-width: 575.98px) {
    .navbar .navbar-text .theme-toggle { display: inline-grid !important; }
    .navbar .navbar-text .wallet-currency-switch select { min-width: 56px !important; }
    .login-section { min-height: calc(100dvh - 54px); padding: 66px 12px 78px; }
    .login-section > .container-fluid,
    .login-section > .container-fluid > .row { min-height: 0; }
    .login-section .row > .col-lg-6:first-child { padding: 0 !important; }
    .login-section .text-box { min-height: 116px; height: auto !important; border-radius: 12px 12px 0 0; background-position: center 38%; }
    .login-section .overlay { min-height: 116px; }
    .login-section .overlay .text { padding: 16px; }
    .login-section .overlay .text h2 { font-size: 22px; margin-bottom: 4px; }
    .login-section .form-wrapper { min-height: 0; padding: 12px 0 0; }
    .login-section form { padding: 20px 16px; }
    .login-section form .row { --bs-gutter-y: 14px; }
    .login-section form .input-box.col-6 { width: 100%; }
    .user-panel .bet-history-table { overflow: visible !important; border: 0; background: transparent !important; }
    .user-panel .bet-history-table table,
    .user-panel .bet-history-table tbody,
    .user-panel .bet-history-table tr,
    .user-panel .bet-history-table td { display: block; width: 100%; min-width: 0; }
    .user-panel .bet-history-table table { border-collapse: separate; border-spacing: 0 9px; }
    .user-panel .bet-history-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
    .user-panel .bet-history-table tbody tr:not(:has(td[colspan])) {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 12px;
        margin: 0 0 10px;
        padding: 9px 12px;
        border: 1px solid var(--sb-line);
        border-radius: 12px;
        background: var(--sb-surface);
    }
    .user-panel .bet-history-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        min-width: 0;
        padding: 8px 0;
        border-bottom: 1px solid var(--sb-line);
        text-align: right !important;
        font-size: 12px;
        overflow-wrap: anywhere;
    }
    .user-panel .bet-history-table tbody td::before {
        content: attr(data-label);
        color: var(--sb-muted);
        font-weight: 600;
        text-align: left;
    }
    .user-panel .bet-history-table tbody td[data-label="Information"] button { margin-left: auto; }
    .user-panel .bet-history-table tbody tr:has(td[colspan]) { display: block; padding: 18px 10px; text-align: center; }
}

/* Prophecy sportsbook refinement */
:root {
    --sb-canvas: #eef3f2;
    --sb-surface: #fbfdfc;
    --sb-elevated: #e7eeec;
    --sb-line: rgba(19, 43, 51, .12);
    --sb-text: #152b35;
    --sb-muted: #597078;
    --sb-green: #75b843;
    --sb-green-deep: #3c762a;
    --sb-lime-wash: rgba(117, 184, 67, .13);
    --sb-yellow: #f0c747;
}
body.dark-mode {
    --sb-canvas: #101d28;
    --sb-surface: #192a37;
    --sb-elevated: #223746;
    --sb-line: rgba(216, 231, 234, .13);
    --sb-text: #eff5f3;
    --sb-muted: #a4b5b9;
    --sb-green: #8acb52;
    --sb-green-deep: #6ca83e;
    --sb-lime-wash: rgba(138, 203, 82, .15);
}

body { letter-spacing: -.01em; }
.navbar {
    min-height: 66px;
    padding-inline: clamp(14px, 2.2vw, 34px);
    background: #132631 !important;
    border-bottom-color: rgba(232, 244, 239, .12);
}
.navbar .navbar-brand img { max-width: 130px; max-height: 42px; }
.navbar .navbar-text { gap: 9px; }
.navbar .navbar-text .user-dropdown .dropdown-toggle,
.navbar .navbar-text .notification-panel .dropdown-toggle,
.navbar .theme-toggle {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border: 1px solid rgba(232, 244, 239, .12);
    background: #203642 !important;
    color: #edf5f1;
}
.navbar .navbar-text .user-dropdown .dropdown-toggle:hover,
.navbar .navbar-text .notification-panel .dropdown-toggle:hover,
.navbar .theme-toggle:hover { background: #2b4651 !important; }
.navbar .wallet-currency-switch select {
    min-height: 38px;
    background-color: #203642;
    color: #f2f7f5;
    border-color: rgba(232, 244, 239, .13);
    font-weight: 700;
    letter-spacing: .04em;
}
.navbar .navbar-collapse { background: #132631 !important; }
.wrapper { padding-top: 66px; }
.wrapper > .content { padding: 18px 22px 44px; }
.user-wrapper > .content {
    width: calc(100% - 238px);
    margin-left: 238px;
    margin-right: 0;
}
.leftbar { top: 66px; height: calc(100dvh - 66px); }
.rightbar { top: 66px; height: calc(100dvh - 66px); }
.leftbar, .rightbar { box-shadow: 10px 0 30px rgba(17, 39, 47, .06); }
.leftbar .top.profile { padding: 20px 14px 17px; }
.leftbar .top.profile img { width: 58px; height: 58px; border: 2px solid rgba(117, 184, 67, .55); }
.leftbar .top.profile h4 { font-size: 18px; letter-spacing: .02em; }
.leftbar li a { margin: 2px 8px; border-radius: 8px; }
.leftbar li a.active, .leftbar li a:hover { border-left-color: var(--sb-green); }
.btn-custom, a.btn-custom, .btn-custom2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    height: auto;
    padding: 0 16px;
    line-height: 1.15;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
}
.btn-custom:hover, a.btn-custom:hover, .btn-custom2:hover { transform: translateY(-1px); }
.feed-title { letter-spacing: -.01em; }
.match-feed-controls { padding-top: 18px; }
.match-feed-controls .feed-title { font-size: 23px; }
.match-feed-controls .feed-switch button { min-width: 84px; padding: 8px 14px; }
.categories { gap: 9px; padding-bottom: 14px; }
.categories a, .categories .category-more { min-height: 40px; }
.categories a.active { box-shadow: none; }
.skitter-large-box { margin: 16px 0; }
.skitter-large-box .container_skitter, .skitter-large-box .skitter {
    height: clamp(138px, 20vw, 228px) !important;
    border-radius: 16px;
}
.skitter-large-box .skitter ul li .label_text {
    left: clamp(20px, 5vw, 52px);
    right: 22px;
    top: 50%;
    width: min(58%, 520px);
    transform: translateY(-50%);
    padding: clamp(12px, 2.2vw, 26px);
    border: 1px solid rgba(245, 250, 247, .2);
    border-radius: 13px;
    background: rgba(12, 28, 37, .78);
    backdrop-filter: blur(8px);
}
.skitter-large-box .label_text h2 { color: #f4f8f5; font-size: clamp(22px, 3vw, 36px); margin-bottom: 5px; }
.skitter-large-box .label_text p { color: #d1ded9; font-size: 13px; line-height: 1.5; margin-bottom: 12px !important; }
.skitter-large-box .label_text .btn-custom { width: auto; min-width: 112px; }
.skitter-large-box .label_text .slider-secondary-cta {
    color: #eff7e9;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.24);
}
.table-parent { margin-bottom: 11px; box-shadow: 0 4px 12px rgba(17, 39, 47, .035); }
.table-parent th { padding-block: 12px; }
.table-parent td { padding-block: 12px; }
.table-parent td p { margin-bottom: 7px; }
.table-parent td p:last-child { margin-bottom: 0; }
.table-parent td button { min-width: 52px; min-height: 37px; }
.match-card {
    box-shadow: 0 4px 14px rgba(17, 39, 47, .035);
    padding: 13px 14px 11px;
}
.match-card-meta { font-size: 11px; }
.match-card-time { color: var(--sb-green-deep); font-weight: 700; }
.dark-mode .match-card-time { color: var(--sb-green); }
.match-card-team { font-size: 13px; }
.match-card-odds button { border: 1px solid var(--sb-line); background: var(--sb-elevated); }
.match-card-odds button:not(:disabled):hover { color: #112511; background: var(--sb-green); }
.feed-empty { margin: 12px 0; padding: 28px 16px; background: var(--sb-surface); }
.rightbar { padding: 15px 13px 20px; }
.rightbar .top .btn-custom, .rightbar .top .btn-custom2 { flex: 1; }
.rightbar .bet-box { padding: 12px; }
.rightbar .bet-box .series { font-size: 11px; }
.rightbar .bet-box .teams { font-size: 13px; font-weight: 700; }
.rightbar .input-group .form-control { min-height: 40px; text-align: center; }
.bottom-bar { min-height: 68px; padding: 8px 14px calc(8px + env(safe-area-inset-bottom)); z-index: 1040; pointer-events: auto; }
.bottom-bar a {
    min-width: 0;
    flex: 1 1 0;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 48px;
    font-size: 10px;
    line-height: 1;
}
.bottom-bar a > i, .bottom-bar .nav-icon { width: 20px; height: 20px; font-size: 19px; line-height: 20px; }
.bottom-bar .material-icons-round.nav-icon { display: block; flex: 0 0 20px; width: 20px; height: 20px; font-size: 20px; line-height: 20px; text-align: center; }
.bottom-bar .nav-label { display: block !important; font-size: 10px; line-height: 1.1; white-space: nowrap; }
.bottom-bar .bet-slip-link { flex: 0 0 48px; min-width: 48px; width: 48px; height: 48px; min-height: 48px; margin: -11px 2px 0; }
.bottom-bar .bet-slip-link .nav-label { display: none !important; }
.bottom-bar a.active { color: var(--sb-green) !important; }

.user-panel { padding: 18px 24px 50px; }
.user-panel > .d-flex { min-height: 46px; margin-bottom: 21px; }
.user-panel > .d-flex h4 { font-size: 24px; font-weight: 700; }
.user-panel .dashboard__card {
    position: relative;
    min-height: 150px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 20px 21px;
    box-shadow: 0 7px 20px rgba(17, 39, 47, .055);
}
.user-panel .dashboard__card::after {
    position: absolute;
    content: "";
    width: 145px;
    height: 145px;
    right: -42px;
    bottom: -68px;
    border-radius: 50%;
    background: var(--sb-lime-wash);
}
.user-panel .dashboard__card-content { position: relative; z-index: 1; }
.user-panel .dashboard__card-content .price {
    margin: 0 0 7px;
    font: 700 clamp(26px, 2.4vw, 35px) "Rajdhani", sans-serif;
    letter-spacing: -.02em;
}
.user-panel .dashboard__card-content .price sup { font-size: .54em; top: -.45em; }
.user-panel .dashboard__card-content .info { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.user-panel .dashboard__card-icon {
    position: absolute;
    z-index: 1;
    right: 18px;
    top: 50%;
    width: 58px;
    height: 58px;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--sb-elevated) !important;
}
.user-panel .dashboard__card-icon img { width: 27px; height: 27px; object-fit: contain; }
.user-panel #container.apexcharts-canvas { min-height: 300px; padding: 10px; border: 1px solid var(--sb-line); border-radius: 13px; }
.user-panel .card-body { padding: 20px; }
.user-panel .table-responsive { border-radius: 10px; }
.user-panel .table th { white-space: nowrap; }
.user-panel .badge { display: inline-flex; align-items: center; min-height: 23px; padding: 5px 9px; border-radius: 20px; font-size: 10px; letter-spacing: .02em; }
.user-panel .modal-custom-content { border-radius: 14px; }
.user-panel .action-btn { min-width: 35px; min-height: 34px; border: 1px solid var(--sb-line); border-radius: 8px; }
.user-panel .leftbar .top.profile { background: var(--sb-surface) !important; }
.user-panel .leftbar .top.profile h4 button { width: 34px; height: 34px; }
.user-panel .leftbar .main { padding: 10px 0 20px; }
.user-panel .leftbar .main li a { margin-inline: 8px; }

.wallet-page { align-items: stretch; }
.wallet-page > [class*="col-"] { margin-bottom: 3px; }
.wallet-page .card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--sb-line) !important;
    border-radius: 14px !important;
    box-shadow: 0 5px 18px rgba(17, 39, 47, .045);
}
.wallet-page .card-body { padding: clamp(17px, 2vw, 24px); }
.wallet-page h4 { margin-bottom: 8px; font-size: 19px; }
.wallet-page .wallet-balance-column .card {
    border: 0 !important;
    background: #193442 !important;
    color: #f2f7f4 !important;
}
.wallet-page .wallet-balance-column :is(p,h2,small) { color: #edf5f1 !important; }
.wallet-page .wallet-balance-column h2 { font: 700 clamp(26px, 3vw, 36px) "Rajdhani",sans-serif; margin: 4px 0; }
.wallet-page .wallet-balance-column p:last-child { opacity: .76; font-size: 11px; line-height: 1.45; }
.wallet-page .wallet-currency-column .card { border-top: 3px solid var(--sb-green) !important; }
.wallet-page .wallet-flow-panel .card { border-top: 3px solid var(--sb-line) !important; }
.wallet-page .wallet-deposit-panel .card, .wallet-page .wallet-manual-deposit-panel .card { border-top-color: var(--sb-green) !important; }
.wallet-page .wallet-withdraw-panel .card, .wallet-page .wallet-manual-withdraw-panel .card { border-top-color: #d1a341 !important; }
.wallet-page .wallet-operation-switcher {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 6px;
    border: 1px solid var(--sb-line);
    border-radius: 13px;
    background: var(--sb-elevated);
}
.wallet-page .wallet-operation-choice {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-height: 58px;
    padding: 11px 14px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: var(--sb-text);
    text-align: left;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.wallet-page .wallet-operation-choice[aria-pressed="true"] {
    border-color: var(--sb-green);
    background: var(--sb-green);
    color: #0b1c13;
}
.wallet-page .wallet-operation-choice:focus-visible {
    outline: 2px solid var(--sb-green);
    outline-offset: 2px;
}
.wallet-page .wallet-operation-choice-title { font-size: 14px; font-weight: 800; }
.wallet-page .wallet-operation-choice-description { color: inherit; font-size: 11px; opacity: .78; }
.wallet-page .wallet-operation-help { margin: 8px 2px 0; font-size: 12px; }
.wallet-page .wallet-flow-panel[hidden] { display: none !important; }
.wallet-page .wallet-flow-panel form { padding: 0 !important; border: 0 !important; background: transparent !important; }
.wallet-page form label { display: block; margin-bottom: 6px; color: var(--sb-text) !important; font-size: 12px; font-weight: 700; }
.wallet-page .form-control, .wallet-page .form-select {
    min-height: 43px;
    border-radius: 8px;
    font-size: 13px;
}
.wallet-page textarea.form-control { min-height: 90px; }
.wallet-page .text-muted { color: var(--sb-muted) !important; }
.wallet-page .manual-wallet-method { border-color: var(--sb-line) !important; border-radius: 11px !important; background: var(--sb-elevated); }
.wallet-page .manual-wallet-method h5 { font-size: 15px; }
.wallet-page .manual-wallet-instructions { color: var(--sb-text); font-size: 13px; }
.wallet-page .wallet-activity-table { overflow-x: auto; }
.wallet-page .wallet-activity-table table { min-width: 880px; margin: 0; }
.wallet-page .wallet-activity-table th { color: var(--sb-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.wallet-page .wallet-activity-table td { vertical-align: middle; font-size: 12px; }
.wallet-page .wallet-reference { font-family: "DM Sans", sans-serif; font-size: 11px; font-weight: 700; overflow-wrap: anywhere; }
.wallet-page .alert { border-radius: 10px; }
.wallet-page .alert-success { color: #245c36; background: #e2f3e6; border-color: #bfdfc7; }
.wallet-page .alert-danger { color: #842e36; background: #f8e6e7; border-color: #e9c3c5; }
@media (max-width: 575px) {
    .wallet-page .wallet-operation-switcher { gap: 6px; padding: 5px; }
    .wallet-page .wallet-operation-choice { min-height: 64px; padding: 9px; }
    .wallet-page .wallet-operation-choice-title { font-size: 12px; }
    .wallet-page .wallet-operation-choice-description { font-size: 10px; line-height: 1.3; }
}
.dark-mode .wallet-page .alert-success { color: #c6f0cf; background: #1f4532; border-color: #326348; }
.dark-mode .wallet-page .alert-danger { color: #ffd2d2; background: #502d33; border-color: #76454c; }

.login-section { padding-top: 66px; }
.login-section .text-box { min-height: 580px; }
.login-section .overlay .text h2 { max-width: 480px; font-size: clamp(34px, 5vw, 62px); line-height: .99; letter-spacing: -.03em; }
.login-section .form-wrapper { max-width: 740px; margin-inline: auto; }
.login-section form h4 { font-size: 23px; }
.login-section form .bottom { margin-top: 20px; text-align: center; font-size: 12px; }
.login-section .btn-custom { margin-top: 12px; min-height: 46px; text-transform: uppercase; letter-spacing: .08em; }
.login-section form .row { --bs-gutter-x: 14px; }
.login-section .form-check-label { color: var(--sb-muted) !important; }
.banner-section { padding-top: 94px !important; }

@media (min-width: 992px) {
    .user-wrapper > .content { width: calc(100% - 238px); margin-left: 238px; margin-right: 0; }
}
@media (max-width: 991.98px) {
    .wrapper { padding-top: 60px; }
    .user-wrapper > .content { width: 100%; margin: 0; }
    .leftbar, .rightbar { top: 60px; height: calc(100dvh - 60px); }
    .bottom-bar { gap: 4px; }
    .user-panel { padding: 16px 16px 88px; }
    .user-panel .dashboard__card { min-height: 136px; }
}
@media (max-width: 575.98px) {
    .navbar { min-height: 56px; }
    .wrapper { padding-top: 56px; }
    .navbar .navbar-brand img { max-width: 96px; max-height: 35px; }
    .navbar .navbar-toggler { order: 1; margin-right: 9px; }
    .navbar .navbar-brand { order: 2; }
    .navbar .navbar-text { order: 3; gap: 6px; }
    .navbar .navbar-text .user-dropdown .dropdown-toggle,
    .navbar .theme-toggle { width: 34px; height: 34px; flex-basis: 34px; }
    .navbar .navbar-text .wallet-currency-switch select { min-width: 60px !important; min-height: 34px; }
    .navbar .navbar-text .btn-custom { min-height: 34px; }
    .navbar .navbar-collapse { top: 55px; }
    .wrapper > .content { padding: 8px 12px 90px; }
    .user-wrapper > .content { padding: 0 0 82px; }
    .leftbar, .rightbar { top: 56px; height: calc(100dvh - 56px); }
    .match-feed-controls .feed-title { font-size: 20px; }
    .skitter-large-box .container_skitter, .skitter-large-box .skitter { height: 156px !important; }
    .skitter-large-box .skitter ul li .label_text {
        left: 12px; right: 10px; width: min(80%, 350px); padding: 10px 12px;
    }
    .skitter-large-box .label_text h2 { font-size: 21px; }
    .skitter-large-box .label_text p { font-size: 11px; margin-bottom: 8px !important; }
    .skitter-large-box .label_text .btn-custom { min-height: 32px; padding-inline: 11px; font-size: 10px; }
    .table-parent { display: none !important; }
    .match-feed-mobile { display: block; }
    .bottom-bar { min-height: 64px; }
    .bottom-bar .nav-label { font-size: 9px; }
    .bottom-bar a > i, .bottom-bar .nav-icon { width: 19px; height: 19px; font-size: 18px; }
    .bottom-bar .material-icons-round.nav-icon { flex-basis: 19px; width: 19px; height: 19px; font-size: 19px; line-height: 19px; }
    .bottom-bar .bet-slip-link { flex-basis: 44px; min-width: 44px; width: 44px; height: 44px; min-height: 44px; }
    .user-panel { padding: 13px 11px 88px; }
    .user-panel > .d-flex { padding-inline: 3px; margin-bottom: 14px; }
    .user-panel > .d-flex h4 { font-size: 22px; }
    .user-panel .row { --bs-gutter-x: 10px; }
    .user-panel .dashboard__card { min-height: 127px; padding: 15px 13px; border-radius: 12px; }
    .user-panel .dashboard__card-content .price { font-size: 27px; }
    .user-panel .dashboard__card-content .info { font-size: 9px; letter-spacing: .05em; }
    .user-panel .dashboard__card-icon { right: 12px; width: 42px; height: 42px; border-radius: 14px; }
    .user-panel .dashboard__card-icon img { width: 22px; height: 22px; }
    .user-panel #container.apexcharts-canvas { min-height: 250px; margin-bottom: 12px; }
    .wallet-page { --bs-gutter-y: 11px; }
    .wallet-page .card-body { padding: 17px 15px; }
    .wallet-page .wallet-balance-column .card { min-height: 142px; }
    .wallet-page .wallet-activity-table { overflow: visible; }
    .wallet-page .wallet-activity-table table,
    .wallet-page .wallet-activity-table tbody,
    .wallet-page .wallet-activity-table tr,
    .wallet-page .wallet-activity-table td { display: block; width: 100%; min-width: 0; }
    .wallet-page .wallet-activity-table table { border-collapse: separate; border-spacing: 0 9px; }
    .wallet-page .wallet-activity-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
    .wallet-page .wallet-activity-table tbody tr:not(:has(td[colspan])) {
        margin-bottom: 10px; padding: 8px 12px; border: 1px solid var(--sb-line); border-radius: 11px;
        background: var(--sb-surface);
    }
    .wallet-page .wallet-activity-table tbody td {
        display: flex; justify-content: space-between; align-items: flex-start; gap: 10px;
        padding: 8px 0; border-bottom: 1px solid var(--sb-line); text-align: right; overflow-wrap: anywhere;
    }
    .wallet-page .wallet-activity-table tbody td::before {
        content: attr(data-label); flex: 0 0 38%; color: var(--sb-muted); font-size: 10px; font-weight: 700; text-align: left;
    }
    .wallet-page .wallet-activity-table tbody tr:has(td[colspan]) { display: block; padding: 16px; text-align: center; }
    .login-section { padding: 62px 11px 84px; }
    .login-section .text-box { min-height: 122px; }
    .login-section .overlay { min-height: 122px; }
    .login-section .overlay .text h2 { max-width: 300px; font-size: 26px; }
    .login-section .form-wrapper { padding-top: 10px; }
    .login-section form { padding: 18px 15px; }
}
@media (prefers-reduced-motion: no-preference) {
    .match-card, .dashboard__card, .wallet-page .card { transition: transform .18s ease; }
    .match-card:hover, .dashboard__card:hover, .wallet-page .card:hover { transform: translateY(-2px); }
}

.home-promo-slider { overflow: hidden; border: 1px solid var(--sb-line); border-radius: 16px; background: #12202b; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.home-promo-slider .skitter { overflow: hidden; border-radius: inherit; background: #12202b; }
.home-promo-slider .skitter ul li { overflow: hidden; }
.home-promo-slider .home-promo-art,
.home-promo-slider .home-promo-image { display: block; width: 100%; height: 100%; }
.home-promo-slider .home-promo-image { object-fit: cover; object-position: center; }
.home-promo-slider .home-promo-copy {
    top: auto !important; right: auto !important; bottom: 0 !important; left: 0 !important;
    display: flex !important; align-items: flex-end; width: 100% !important; height: 100% !important;
    padding: clamp(16px, 4vw, 40px) !important; text-align: left !important;
    background: linear-gradient(90deg, rgba(6,14,21,.88) 0%, rgba(6,14,21,.63) 42%, rgba(6,14,21,0) 85%) !important;
    opacity: 1 !important;
}
.home-promo-copy-inner { width: min(560px, 72%); }
.home-promo-slider .home-promo-copy h2 {
    margin: 0 0 8px; color: #fff !important; font-size: clamp(22px, 3.2vw, 40px);
    line-height: 1.02; text-shadow: 0 2px 14px rgba(0,0,0,.45);
}
.home-promo-slider .home-promo-copy p {
    max-width: 540px; margin: 0 0 16px; color: rgba(255,255,255,.88) !important;
    font-size: clamp(12px, 1.25vw, 15px); line-height: 1.45;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.home-promo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.home-promo-slider .home-promo-actions .btn-custom {
    display: inline-flex; align-items: center; justify-content: center; min-height: 40px; margin: 0;
    padding: 0 18px; border-radius: 9px; font-size: 12px; font-weight: 800; text-decoration: none;
}
.home-promo-slider .home-promo-secondary { border: 1px solid rgba(255,255,255,.64); background: rgba(10,21,29,.46); color: #fff !important; }
.home-promo-slider .skitter .info_slide_dots { bottom: 9px; z-index: 5; }
@media (max-width: 767.98px) {
    .home-promo-slider { border-radius: 12px; }
    .home-promo-slider .home-promo-copy { padding: 13px !important; background: linear-gradient(90deg, rgba(6,14,21,.84), rgba(6,14,21,.40)) !important; }
    .home-promo-copy-inner { width: min(100%, 390px); }
    .home-promo-slider .home-promo-copy h2 { max-width: 340px; margin-bottom: 5px; font-size: clamp(18px, 5vw, 25px); }
    .home-promo-slider .home-promo-copy p { max-width: 350px; margin-bottom: 8px; font-size: 11px; line-height: 1.3; -webkit-line-clamp: 2; }
    .home-promo-slider .home-promo-actions .btn-custom { min-height: 32px; padding: 0 12px; font-size: 10px; }
    .home-promo-slider .skitter .info_slide_dots { bottom: 5px; }
}
