:root {
    --beteme-primary: #0d6efd;
    --beteme-red: #9b111e;
    --beteme-navy: #071a33;
    --beteme-orange: #ff8a00;
    --beteme-dark: #101828;
    --beteme-light: #f8fafc;
    --beteme-border: #e5e7eb;
}

body {
    background: #f7f9fc;
    color: var(--beteme-dark);
    font-family: Arial, Helvetica, sans-serif;
}

.logo {
    height: 58px;
    width: auto;
}

.topbar {
    background: #ffffff;
    border-bottom: 3px solid var(--beteme-red);
}

.topbar .navbar {
    min-height: 70px;
    padding-bottom: 6px !important;
    padding-top: 6px !important;
}

.topbar .navbar-brand {
    padding: 0;
}

.topbar .nav-link {
    color: var(--beteme-navy);
    font-size: 14px;
    font-weight: 700;
    padding-bottom: 6px;
    padding-top: 6px;
}

.topbar .btn-sm {
    padding: 5px 10px;
}

.topbar .nav-link:hover,
.topbar .nav-link:focus {
    color: var(--beteme-red);
}

.hero-home {
    padding: 70px 0;
    background:
        radial-gradient(circle at top right, rgba(13, 110, 253, 0.12), transparent 35%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.home-live {
    background:
        radial-gradient(circle at 85% 10%, rgba(13, 110, 253, 0.13), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    border-bottom: 1px solid var(--beteme-border);
}

.sportsbook-hero {
    background: #eaf3ff;
    border-bottom: 1px solid #cfe2ff;
    color: #fff;
}

.sportsbook-hero-grid {
    align-items: stretch;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
}

.sportsbook-intro {
    background: linear-gradient(135deg, #0756b8 0%, #0d6efd 62%, #4dabf7 100%);
    border: 1px solid rgba(13, 110, 253, 0.18);
    border-radius: 8px;
    min-height: 280px;
    padding: 28px;
}

.sportsbook-intro h1 {
    font-size: 54px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 14px;
}

.sportsbook-intro p {
    color: #e7f1ff;
    font-size: 18px;
    max-width: 680px;
}

.hero-logo {
    background: #fff;
    border-radius: 8px;
    height: 52px;
    padding: 6px;
    width: auto;
}

.live-pill {
    background: #ffffff;
    border-radius: 999px;
    color: #0756b8;
    font-size: 13px;
    font-weight: 800;
    padding: 7px 12px;
    text-transform: uppercase;
}

.sportsbook-stats {
    background: #ffffff;
    border: 1px solid #cfe2ff;
    border-radius: 8px;
    display: grid;
    gap: 10px;
    padding: 16px;
}

.sportsbook-stats > div {
    align-items: center;
    background: #f4f9ff;
    border: 1px solid #d7e8ff;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    padding: 14px;
}

.sportsbook-stats span,
.side-title span {
    color: #5b78a4;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.sportsbook-stats strong {
    color: #0d6efd;
    font-size: 24px;
    line-height: 1;
}

.sportsbook-stats .stat-balance strong {
    color: #0756b8;
    font-size: 22px;
}

.sportsbook-board {
    background: #f3f7fd;
}

.board-header {
    align-items: center;
    background: #0756b8;
    border: 1px solid #0756b8;
    border-radius: 8px 8px 0 0;
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 14px 16px;
}

.board-header span {
    color: #cfe2ff;
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.board-header h2 {
    font-size: 20px;
    margin: 0;
}

.market-feed {
    background: #dcecff;
    border: 1px solid #c3ddff;
    border-top: 0;
    display: grid;
    gap: 10px;
    padding: 10px;
}

.sportsbook-market {
    background: #f8fbff;
    border-radius: 6px;
    overflow: hidden;
}

.market-title-row {
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #d7e8ff;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 12px;
}

.market-title-row span {
    color: #667085;
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.market-title-row h3 {
    color: #101828;
    font-size: 16px;
    font-weight: 800;
    margin: 0;
}

.market-title-row small {
    color: #667085;
}

.sportsbook-countdown {
    background: #eaf3ff;
    border: 1px solid #b8d8ff;
    border-radius: 6px;
    min-width: 132px;
    padding: 9px 10px;
}

.sportsbook-countdown span {
    color: #5b78a4;
}

.sportsbook-countdown strong {
    color: #0756b8;
    font-size: 22px;
}

.odds-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px;
}

.odd-ticket {
    background: #eef6ff;
    border: 1px solid #cfe2ff;
    border-radius: 6px;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 10px;
}

.odd-name {
    color: #101828;
    font-size: 13px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.odd-meta {
    color: #5b78a4;
    font-size: 12px;
    grid-column: 1 / -1;
}

.odd-value {
    align-self: start;
    background: #0d6efd;
    border-radius: 4px;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    padding: 7px 9px;
}

.odd-action {
    display: flex;
    gap: 6px;
    grid-column: 1 / -1;
}

.side-panel {
    background: #ffffff;
    border: 1px solid #cfe2ff;
    border-radius: 8px;
    color: var(--beteme-dark);
    padding: 16px;
}

.side-panel p,
.side-muted {
    color: #5b78a4;
    font-size: 14px;
    margin: 0;
}

.side-title {
    border-bottom: 1px solid #d7e8ff;
    margin-bottom: 12px;
    padding-bottom: 12px;
}

.side-title strong {
    display: block;
    font-size: 18px;
}

.ranking-mini-dark {
    border-color: #d7e8ff;
}

.ranking-mini-dark > span {
    background: #0d6efd;
    color: #fff;
}

.ranking-mini-dark strong {
    color: var(--beteme-dark);
}

.ranking-mini-dark small {
    color: #5b78a4;
}

.empty-board {
    background: #fff;
    border-radius: 6px;
    color: #667085;
    padding: 42px 16px;
    text-align: center;
}

.bet-shell {
    background: #202326;
    color: #fff;
    min-height: calc(100vh - 92px);
}

.bet-tabs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 0 14px;
}

.bet-tabs a {
    border-radius: 999px;
    color: #fff;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 800;
    padding: 6px 14px;
    text-decoration: none;
}

.bet-tabs a.active,
.bet-tabs a:hover {
    background: #fff;
    color: var(--beteme-navy);
}

.bet-section-title,
.bet-table-head {
    align-items: center;
    background: #313437;
    display: grid;
    gap: 10px;
}

.bet-section-title {
    border-radius: 6px 6px 0 0;
    grid-template-columns: 1fr auto;
    padding: 12px 14px;
}

.bet-section-title > div {
    align-items: center;
    display: flex;
    gap: 8px;
}

.bet-section-title a {
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.live-dot {
    background: #00d084;
    border-radius: 50%;
    display: inline-block;
    height: 9px;
    width: 9px;
}

.bet-table {
    background: #2b2e31;
    border-radius: 0 0 6px 6px;
    overflow: hidden;
}

.bet-table-head,
.bet-row {
    grid-template-columns: minmax(260px, 1.25fr) 120px 130px minmax(260px, 1.5fr);
}

.bet-table-head {
    border-top: 1px solid #414448;
    color: #c6cbd1;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 12px;
    text-transform: uppercase;
}

.bet-row {
    align-items: stretch;
    background: #35383b;
    border-top: 1px solid #4a4d51;
    display: grid;
    gap: 0;
    min-height: 88px;
}

.bet-match,
.bet-countdown,
.bet-pool,
.bet-options-grid,
.bet-odd,
.bet-odd-empty {
    border-right: 1px solid #4a4d51;
    padding: 12px;
}

.bet-event-thumb,
.market-event-thumb {
    background: #202326;
    border: 1px solid #4a4d51;
    border-radius: 6px;
    height: 42px !important;
    max-height: 42px !important;
    max-width: 42px !important;
    object-fit: cover;
    width: 42px !important;
}

.bet-event-thumb {
    float: left;
    margin-right: 10px;
}

.bet-match span,
.bet-pool span,
.bet-countdown span {
    color: #aeb6c0;
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.bet-match strong {
    color: #fff;
    display: block;
    font-size: 15px;
    line-height: 1.25;
    margin: 5px 0 3px;
}

.bet-match small,
.bet-pool small,
.bet-muted,
.bet-sidebar-card p {
    color: #c3c9d0;
}

.market-share-link {
    background: #138a3d;
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    margin-top: 7px;
    padding: 4px 8px;
    text-decoration: none;
}

.market-share-link:hover,
.market-share-link:focus {
    background: #18a84b;
    color: #fff;
}

.market-share-btn {
    font-size: 12px;
    font-weight: 800;
    padding: 5px 10px;
}

.market-detail-shell {
    background: #eef4fb;
    color: var(--beteme-dark);
    min-height: calc(100vh - 70px);
}

.market-detail-header {
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #cfe2ff;
    border-radius: 8px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 16px;
}

.market-detail-title {
    align-items: center;
    display: flex;
    gap: 12px;
    min-width: 0;
}

.market-detail-title span {
    color: #5b78a4;
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.market-detail-title h1 {
    font-size: 24px;
    font-weight: 900;
    line-height: 1.15;
    margin: 4px 0;
}

.market-detail-title p {
    color: #667085;
    margin: 0;
}

.market-detail-event-img {
    background: #f8fafc;
    border: 1px solid #cfe2ff;
    border-radius: 6px;
    flex: 0 0 auto;
    height: 46px;
    object-fit: cover;
    width: 64px;
}

.market-detail-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.market-detail-stats {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 12px 0;
}

.market-detail-stats > div,
.market-detail-note,
.market-detail-empty {
    background: #ffffff;
    border: 1px solid #cfe2ff;
    border-radius: 8px;
    padding: 12px;
}

.market-detail-stats span,
.market-detail-option-data span {
    color: #5b78a4;
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.market-detail-stats strong {
    color: #0756b8;
    display: block;
    font-size: 18px;
    line-height: 1.1;
    margin-top: 4px;
}

.market-detail-note {
    color: #5b78a4;
    margin-bottom: 12px;
}

.market-detail-note a {
    color: #0756b8;
    font-weight: 800;
}

.market-detail-options {
    display: grid;
    gap: 8px;
}

.market-detail-option {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d7e8ff;
    border-radius: 8px;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) 110px 220px;
    padding: 10px;
}

.market-detail-option-main {
    align-items: center;
    display: flex;
    gap: 10px;
    min-width: 0;
}

.market-detail-option-main strong,
.market-detail-option-main span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.market-detail-option-main strong {
    font-size: 15px;
}

.market-detail-option-main span {
    color: #667085;
    font-size: 12px;
}

.market-detail-participant-img {
    background: #eef2f7;
    border: 1px solid #cfe2ff;
    border-radius: 50%;
    flex: 0 0 auto;
    height: 34px;
    object-fit: cover;
    width: 34px;
}

.market-detail-option-data {
    text-align: center;
}

.market-detail-option-data strong {
    color: #0756b8;
    display: block;
    font-size: 22px;
    line-height: 1;
    margin-top: 4px;
}

.market-detail-bet {
    display: flex;
    gap: 8px;
}

.market-detail-bet input {
    min-width: 0;
}

.bet-countdown,
.bet-pool {
    align-content: center;
    display: grid;
    text-align: center;
}

.bet-countdown strong {
    color: #66b2ff;
    font-size: 20px;
    line-height: 1.1;
}

.bet-countdown.is-urgent strong {
    color: #ff9f43;
}

.bet-pool strong {
    color: #fff;
    font-size: 15px;
}

.bet-odd {
    display: grid;
    gap: 6px;
}

.bet-options-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.bet-odd-button {
    background: #45484c;
    border: 1px solid #555a60;
    border-radius: 5px;
    color: #fff;
    display: grid;
    gap: 4px;
    grid-template-columns: 1fr auto;
    padding: 8px;
    text-align: left;
    width: 100%;
}

.bet-odd-button:hover:not(:disabled),
.bet-odd.is-open .bet-odd-button {
    background: #e9f3ff;
    border-color: #66b2ff;
    color: var(--beteme-navy);
}

.bet-odd-button span {
    font-size: 12px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bet-odd-name {
    align-items: center;
    display: flex;
    gap: 7px;
    min-width: 0;
}

.bet-odd-name > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bet-participant-thumb,
.market-participant-thumb {
    background: #eef2f7;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    flex: 0 0 auto;
    height: 28px !important;
    max-height: 28px !important;
    max-width: 28px !important;
    object-fit: cover;
    width: 28px !important;
}

.js-image-zoom {
    cursor: zoom-in;
}

.bet-odd-button strong {
    color: #66b2ff;
    font-size: 18px;
    line-height: 1;
}

.bet-odd-button small {
    color: #b5bec8;
    font-size: 11px;
    grid-column: 1 / -1;
}

.bet-odd-button:hover:not(:disabled) small,
.bet-odd.is-open .bet-odd-button small {
    color: #5b78a4;
}

.bet-slip-inline {
    display: none;
    gap: 6px;
}

.bet-odd.is-open .bet-slip-inline {
    display: flex;
}

.bet-slip-inline input {
    min-width: 0;
}

.bet-odd-empty {
    align-items: center;
    color: #8f98a3;
    display: flex;
    justify-content: center;
}

.bet-odd-more {
    align-items: center;
    background: #1f6fd1;
    border: 1px solid #66b2ff;
    border-radius: 5px;
    color: #fff;
    display: flex;
    font-size: 12px;
    font-weight: 800;
    justify-content: center;
    padding: 10px;
    text-decoration: none;
}

.bet-odd-more:hover,
.bet-odd-more:focus {
    background: #2d8bff;
    color: #fff;
}

.bet-empty {
    color: #c3c9d0;
    padding: 28px;
    text-align: center;
}

.bet-sidebar-card {
    background: #313437;
    border: 1px solid #414448;
    border-radius: 6px;
    margin-bottom: 12px;
    padding: 14px;
}

.bet-sidebar-card h2 {
    border-bottom: 1px solid #4a4d51;
    font-size: 16px;
    margin: 0 0 12px;
    padding-bottom: 10px;
}

.bet-mini-stat {
    align-items: center;
    border-bottom: 1px solid #4a4d51;
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.bet-mini-stat:last-child {
    border-bottom: 0;
}

.bet-mini-stat span {
    color: #c3c9d0;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.bet-mini-stat strong {
    color: #66b2ff;
}

.bet-rank-row {
    align-items: center;
    border-bottom: 1px solid #4a4d51;
    display: grid;
    gap: 10px;
    grid-template-columns: auto 1fr auto;
    padding: 10px 0;
}

.bet-rank-row > span {
    align-items: center;
    background: #06172f;
    border-radius: 50%;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    height: 26px;
    justify-content: center;
    width: 26px;
}

.bet-rank-row strong {
    display: block;
    font-size: 13px;
}

.bet-rank-row small {
    color: #c3c9d0;
}

.bet-rank-row b {
    color: #66b2ff;
    font-size: 13px;
}

.live-summary {
    background: #fff;
    border: 1px solid var(--beteme-border);
    border-radius: 16px;
    display: grid;
    gap: 12px;
    padding: 18px;
}

.live-summary > div {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--beteme-border);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    padding: 14px;
}

.live-summary span {
    color: #667085;
    font-size: 13px;
}

.live-summary strong {
    color: var(--beteme-dark);
    font-size: 24px;
    line-height: 1;
}

.painel-destaque {
    border-radius: 22px;
}

.confronto-card {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 15px;
    background: #f8fafc;
    border: 1px solid var(--beteme-border);
    border-radius: 16px;
    padding: 18px;
}

.vs {
    background: var(--beteme-dark);
    color: #fff;
    font-weight: bold;
    border-radius: 50px;
    padding: 8px 12px;
    font-size: 13px;
}

.saldo-menu {
    color: var(--beteme-primary) !important;
    font-weight: 700;
}

.auth-section {
    padding: 64px 0 40px;
    background:
        radial-gradient(circle at 12% 10%, rgba(13, 110, 253, 0.10), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.auth-card {
    background: #fff;
    border: 1px solid var(--beteme-border);
    border-radius: 18px;
    padding: 30px;
}

.auth-card .form-control {
    border-color: var(--beteme-border);
    border-radius: 12px;
}

.auth-card .form-control:focus {
    border-color: var(--beteme-primary);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.12);
}

.auth-link a {
    font-weight: 700;
    text-decoration: none;
}

.saldo-box,
.info-box {
    background: #f8fafc;
    border: 1px solid var(--beteme-border);
    border-radius: 14px;
    padding: 16px;
}

.saldo-box span,
.info-box span {
    color: #667085;
    display: block;
    font-size: 13px;
    margin-bottom: 5px;
}

.saldo-box strong {
    color: var(--beteme-primary);
    display: block;
    font-size: 28px;
    line-height: 1.1;
}

.info-box strong {
    display: block;
    overflow-wrap: anywhere;
}

.footer {
    background: #ffffff;
}

.admin-body {
    background: #f4f7fb;
}

.admin-main {
    min-height: calc(100vh - 92px);
}

.admin-topbar .nav-link.active {
    color: var(--beteme-primary);
}

.admin-panel,
.admin-stat {
    background: #fff;
    border: 1px solid var(--beteme-border);
    border-radius: 14px;
    padding: 18px;
}

.admin-stat span {
    color: #667085;
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
}

.admin-stat strong {
    color: var(--beteme-dark);
    display: block;
    font-size: 30px;
    line-height: 1;
}

.admin-panel .table th {
    color: #667085;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.admin-panel .table td {
    vertical-align: middle;
}

.admin-panel input[type="text"],
.admin-panel input[type="url"],
.admin-panel select {
    text-transform: uppercase;
}

.admin-panel textarea {
    text-transform: none;
}

.admin-panel #imagem,
.admin-panel #foto {
    text-transform: none;
}

.admin-thumb {
    background: #f8fafc;
    border: 1px solid var(--beteme-border);
    border-radius: 8px;
    height: 96px;
    object-fit: contain;
    padding: 4px;
    width: 96px;
}

.admin-thumb-sm {
    border-radius: 50%;
    height: 42px;
    width: 42px;
}

.market-card {
    background: #fff;
    border: 1px solid var(--beteme-border);
    border-radius: 16px;
    padding: 18px;
}

.market-card-live {
    border-top: 4px solid var(--beteme-primary);
}

.countdown-box {
    align-items: center;
    background: #eef5ff;
    border: 1px solid #cfe2ff;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    padding: 12px 14px;
}

.countdown-box span {
    color: #34537a;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.countdown-box strong {
    color: var(--beteme-primary);
    font-size: 28px;
    line-height: 1;
}

.countdown-box.countdown-urgent {
    background: #fff4e5;
    border-color: #ffd8a8;
}

.countdown-box.countdown-urgent strong {
    color: #d9480f;
}

.market-option {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--beteme-border);
    border-radius: 12px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 10px;
    padding: 12px;
}

.market-option span {
    color: #667085;
    display: block;
    font-size: 13px;
}

.market-option-name {
    align-items: center;
    display: flex;
    gap: 9px;
    min-width: 0;
}

.market-option-name > div {
    min-width: 0;
}

.market-option-name strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.market-event-thumb {
    background: #f8fafc;
    border-color: var(--beteme-border);
    height: 40px !important;
    max-height: 40px !important;
    max-width: 56px !important;
    width: 56px !important;
}

.market-participant-thumb {
    border-color: var(--beteme-border);
    height: 34px !important;
    max-height: 34px !important;
    max-width: 34px !important;
    width: 34px !important;
}

.image-zoom-modal .modal-content {
    background: #111418;
    border: 1px solid #3c424a;
    border-radius: 8px;
    padding: 10px;
}

.image-zoom-modal img {
    border-radius: 6px;
    display: block;
    max-height: 80vh;
    max-width: 100%;
    object-fit: contain;
}

.image-zoom-close {
    background-color: #fff;
    border-radius: 50%;
    opacity: 1;
    position: absolute;
    right: -10px;
    top: -10px;
    z-index: 2;
}

.pool-summary {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pool-summary > div {
    background: #eef6ff;
    border: 1px solid #cfe2ff;
    border-radius: 8px;
    padding: 10px;
}

.pool-summary span,
.market-quota span {
    color: #5b78a4;
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.pool-summary strong,
.market-quota strong {
    color: #0756b8;
    display: block;
    font-size: 15px;
    line-height: 1.1;
}

.pool-summary-board {
    padding: 10px 10px 0;
}

.market-quota {
    min-width: 74px;
    text-align: center;
}

.bet-value {
    max-width: 100px;
}

.ranking-mini {
    align-items: center;
    border-top: 1px solid var(--beteme-border);
    display: grid;
    gap: 12px;
    grid-template-columns: auto 1fr auto;
    padding: 12px 0;
}

.ranking-mini:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.ranking-mini > span {
    align-items: center;
    background: var(--beteme-dark);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.ranking-mini small {
    color: #667085;
    display: block;
}

@media (max-width: 575.98px) {
    body {
        overflow-x: hidden;
    }

    .logo {
        height: 46px;
    }

    .topbar .navbar {
        min-height: 0;
        padding-bottom: 6px !important;
        padding-top: 6px !important;
    }

    .topbar .navbar-nav {
        align-items: stretch !important;
        gap: 4px;
        padding-top: 8px;
    }

    .topbar .navbar-nav .btn,
    .topbar .navbar-nav .nav-link {
        display: block;
        text-align: left;
        width: 100%;
    }

    .bet-shell .container-fluid {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .bet-tabs {
        gap: 8px;
        margin-left: -2px;
        padding-bottom: 10px;
    }

    .bet-tabs a {
        font-size: 12px;
        padding: 6px 11px;
    }

    .bet-section-title {
        border-radius: 6px;
        padding: 10px 12px;
    }

    .bet-section-title strong {
        font-size: 13px;
    }

    .sportsbook-hero-grid,
    .market-title-row,
    .odds-grid {
        grid-template-columns: 1fr;
    }

    .sportsbook-intro {
        min-height: 0;
        padding: 22px;
    }

    .sportsbook-intro h1 {
        font-size: 40px;
    }

    .sportsbook-countdown {
        width: 100%;
    }

    .board-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .market-option {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .market-option-name {
        align-items: flex-start;
        width: 100%;
    }

    .market-option-name strong {
        white-space: normal;
    }

    .market-quota {
        align-items: center;
        background: #eef6ff;
        border-radius: 8px;
        display: flex;
        justify-content: space-between;
        min-width: 0;
        padding: 8px 10px;
        text-align: left;
        width: 100%;
    }

    .market-option .d-flex {
        width: 100%;
    }

    .market-option .btn {
        flex: 0 0 auto;
        min-width: 96px;
    }

    .bet-value {
        max-width: none;
    }

    .pool-summary {
        grid-template-columns: 1fr;
    }

    .market-card {
        padding: 12px;
    }

    .market-card > .d-flex.justify-content-between {
        align-items: flex-start;
        flex-direction: column;
    }

    .container.py-5 {
        padding-bottom: 1rem !important;
        padding-top: 1rem !important;
    }

    .saldo-box {
        padding: 12px;
        width: 100%;
    }

    .saldo-box strong {
        font-size: 22px;
    }

    .auth-section {
        padding: 20px 0;
    }

    .auth-card {
        border-radius: 12px;
        padding: 18px;
    }

    .auth-card h1,
    .auth-card .h3 {
        font-size: 24px;
    }

    .auth-card .form-control-lg,
    .auth-card .btn-lg {
        font-size: 16px;
        min-height: 46px;
    }

    .admin-panel {
        border-radius: 12px;
        padding: 12px;
    }

    .table-responsive {
        border: 1px solid var(--beteme-border);
        border-radius: 10px;
    }

    .market-detail-header {
        padding: 12px;
    }

    .market-detail-title {
        align-items: flex-start;
    }

    .market-detail-title h1 {
        font-size: 19px;
    }

    .market-detail-event-img {
        height: 42px;
        width: 56px;
    }

    .market-detail-actions {
        width: 100%;
    }

    .market-detail-actions .btn {
        flex: 1 1 0;
    }

    .market-detail-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .market-detail-option {
        grid-template-columns: 1fr;
    }

    .market-detail-option-main strong,
    .market-detail-option-main span {
        white-space: normal;
    }

    .market-detail-option-data {
        align-items: center;
        background: #eef6ff;
        border-radius: 8px;
        display: flex;
        justify-content: space-between;
        padding: 8px 10px;
        text-align: left;
    }

    .market-detail-bet {
        width: 100%;
    }

    .market-detail-bet .btn {
        min-width: 104px;
    }
}

@media (max-width: 991.98px) {
    .bet-table-head {
        display: none;
    }

    .bet-row {
        border-radius: 6px;
        grid-template-columns: 1fr;
        margin: 10px;
        overflow: hidden;
    }

    .bet-match,
    .bet-countdown,
    .bet-pool,
    .bet-options-grid,
    .bet-odd,
    .bet-odd-empty {
        border-right: 0;
        border-top: 1px solid #4a4d51;
    }

    .bet-match {
        border-top: 0;
    }

    .bet-countdown,
    .bet-pool {
        align-items: center;
        display: flex;
        justify-content: space-between;
        text-align: left;
    }

    .bet-countdown strong,
    .bet-pool strong {
        font-size: 18px;
    }

    .bet-options-grid {
        grid-template-columns: 1fr;
    }

    .bet-odd-button {
        align-items: center;
        min-height: 52px;
    }

    .bet-slip-inline {
        width: 100%;
    }

    .bet-slip-inline .btn {
        min-width: 72px;
    }

    .bet-sidebar-card {
        margin-left: 10px;
        margin-right: 10px;
    }

    .market-detail-header {
        flex-direction: column;
    }

    .market-detail-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .market-detail-option {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .bet-table-head,
    .bet-row {
        grid-template-columns: minmax(220px, 1.2fr) 110px 120px minmax(240px, 1.4fr);
    }
}

.mercado-opcoes-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 320px;
    overflow: auto;
}

.mercado-opcao-check {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--beteme-border);
    border-radius: 8px;
    display: flex;
    gap: 8px;
    padding: 10px;
    width: 100%;
}

.mercado-opcao-check span {
    font-size: 13px;
    font-weight: 700;
}
