/* Bettingvoice match cards, sport nav, tip pills, upcoming and recent winnings. Plain CSS: beta's Tailwind build only ships classes already in use. */
[x-cloak] { display: none !important; }

/* League groups */
.mt-wrap { display: flex; flex-direction: column; gap: .625rem; }
.mt-league { display: flex; align-items: center; gap: .5rem; padding: .5rem .75rem; background: linear-gradient(90deg, #F3EBD9, #fffdf7); border-radius: .875rem; border-left: 4px solid #B27900; font-size: .8125rem; }
.mt-league-logo { width: 1.75rem; height: 1.75rem; border-radius: 9999px; background: #fff; border: 1px solid #e8d5b7; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #B27900; font-size: .75rem; }
.mt-league-text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-league-country { color: #3E2A00; font-weight: 700; }
.mt-league-sep { color: #B27900; margin: 0 .25rem; }
.mt-league-name { color: #8a5e00; font-weight: 500; }
.mt-league-count { flex-shrink: 0; background: #3E2A00; color: #f5c451; font-size: .625rem; font-weight: 700; padding: .25rem .5rem; border-radius: 9999px; letter-spacing: .03em; }

/* Match card */
.mt-card { position: relative; display: block; background: #fff; border: 1px solid #e3e3e3; border-radius: 1rem; padding: .375rem; transition: border-color .2s, box-shadow .2s; }
.mt-card:hover { border-color: #B27900; box-shadow: 0 6px 18px rgba(178, 121, 0, .15); }
.mt-card.is-won { border-left: 3px solid #14AE5C; }
.mt-card.is-lost { border-left: 3px solid #d1d5db; }
.mt-badge-top { position: absolute; top: -9px; left: 14px; display: inline-flex; align-items: center; gap: .25rem; background: linear-gradient(90deg, #B27900, #f5c451); color: #2a1c00; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: 9999px; z-index: 1; }
.mt-row { display: grid; align-items: center; gap: .5rem; }

.mt-teams { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .5rem; align-items: center; font-size: .75rem; padding: .25rem 0; }
.mt-team { grid-column: span 3 / span 3; display: flex; align-items: center; gap: .375rem; min-width: 0; }
.mt-team-home { justify-content: flex-end; }
.mt-team-name { color: #1E1E1E; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mt-team-home .mt-team-name { text-align: right; }
.mt-team-logo { width: 1.5rem; height: 1.5rem; flex-shrink: 0; object-fit: contain; }
.mt-avatar { width: 1.5rem; height: 1.5rem; flex-shrink: 0; border-radius: 9999px; background: #F3EBD9; color: #8a5e00; font-size: .625rem; font-weight: 800; display: flex; align-items: center; justify-content: center; text-transform: uppercase; }

.mt-center { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1px; }
.mt-time { color: #1E1E1E; font-size: .75rem; font-weight: 700; white-space: nowrap; background: #F7F2E6; border-radius: .5rem; padding: .125rem .375rem; }
.mt-day { color: #8a5e00; font-size: .5625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.mt-score { color: #1E1E1E; font-size: .8125rem; font-weight: 800; white-space: nowrap; }
.mt-status { color: #8a5e00; font-size: .5625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.mt-status.is-off { color: #ef4444; }

/* Probability | Ad | Tip + odd */
.mt-meta { display: flex; justify-content: space-between; align-items: center; gap: .5rem; background: #F3F3F3; padding: .375rem; border-radius: .75rem; }
.mt-prob { display: flex; align-items: center; gap: .375rem; flex: 1 1 0; min-width: 0; }
.mt-prob-track { height: .375rem; border-radius: 9999px; background: rgba(30, 30, 30, .12); overflow: hidden; width: 100%; }
.mt-prob-fill { height: 100%; border-radius: 9999px; }
.mt-prob-value { font-weight: 700; font-size: .75rem; white-space: nowrap; }
.mt-bet { display: flex; justify-content: center; align-items: center; flex: 1 1 0; min-height: 1.75rem; }
.mt-bet a { display: flex; justify-content: center; align-items: center; }
.mt-bet img { width: 5.5rem; max-height: 2rem; object-fit: contain; border-radius: 9999px; }
.mt-bet-empty { display: inline-flex; align-items: center; justify-content: center; border-radius: 9999px; background: #BE5909; color: #fff !important; font-size: 10px; font-weight: 800; font-style: italic; padding: .375rem .75rem; white-space: nowrap; text-decoration: none; }
.mt-bet-empty:hover { background: #A04808; }
.mt-tip { display: flex; align-items: center; justify-content: center; gap: .375rem; flex: 1 1 0; min-width: 0; color: #fff; font-weight: 700; font-size: .75rem; border-radius: .625rem; padding: .5rem .625rem; white-space: nowrap; }
.mt-tip-label { overflow: hidden; text-overflow: ellipsis; }
.mt-tip.is-pending { background: linear-gradient(135deg, #f5c451, #B27900); color: #2a1c00; }
.mt-tip.is-won { background: #14AE5C; }
.mt-tip.is-lost { background: #9CA3AF; }
.mt-tip.is-void { background: #6b7280; }
.mt-tip-odd { background: rgba(0, 0, 0, .18); padding: .0625rem .375rem; border-radius: .375rem; font-weight: 700; font-size: .6875rem; flex-shrink: 0; }
.mt-tip.is-pending .mt-tip-odd { background: rgba(255, 255, 255, .5); }

.mt-loading, .mt-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem; padding: 2.5rem 1rem; border-radius: 1rem; }
.mt-loading { color: #6b7280; font-size: .875rem; font-weight: 500; }
.mt-loading i { font-size: 2rem; color: #B27900; }
.mt-empty { background: #FBF6EC; border: 1px dashed #e0c88f; }
.mt-empty-icon { width: 3rem; height: 3rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #f5c451, #B27900); color: #2a1c00; font-size: 1.25rem; }
.mt-empty-title { color: #3E2A00; font-weight: 800; font-size: .9375rem; margin: 0; }
.mt-empty-text { color: #8a5e00; font-size: .8125rem; margin: 0; }

@media (min-width: 1024px) {
    .mt-league { font-size: .875rem; padding: .5rem .875rem; }
    .mt-card { padding: .5rem; }
    .mt-row { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .5rem; }
    .mt-teams { grid-column: span 4 / span 4; gap: 1rem; font-size: .875rem; }
    .mt-meta { grid-column: span 3 / span 3; padding: .5rem .625rem; }
    .mt-team-logo, .mt-avatar { width: 2rem; height: 2rem; }
    .mt-avatar { font-size: .75rem; }
}

/* Sport switcher */
.sport-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; width: 0; min-width: 100%; }
.sport-nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; white-space: nowrap; min-width: 0; border-radius: 11px; padding: 9px 2px; background: #F3EBD9; border: 1px solid rgba(178, 121, 0, .25); color: #1e1e1e !important; text-decoration: none !important; transition: background-color .2s ease, box-shadow .2s ease; }
.sport-nav-item:hover { background: #E8D5B7; }
.sport-nav-item.is-active { background: #B27900; border-color: #B27900; color: #fff !important; box-shadow: 0 6px 16px -8px rgba(178, 121, 0, .9); }
.sport-nav-item.is-active .sport-nav-icon { filter: brightness(0) invert(1); }
.sport-nav-icon { width: 16px; height: 16px; flex-shrink: 0; }
.sport-nav-label { font-size: 10px; font-weight: 600; letter-spacing: .1px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 768px) {
    .sport-nav { display: flex; gap: 10px; }
    .sport-nav-item { flex: 1 1 0; flex-direction: row; border-radius: 16px; padding: 13px; gap: 8px; }
    .sport-nav-icon { width: 22px; height: 22px; }
    .sport-nav-label { font-size: 16px; letter-spacing: .2px; }
}

/* Tip category pills */
.tip-pills { position: relative; min-width: 0; }
.tip-pills-row { width: 0; min-width: 100%; }
.tip-pills-row { display: flex; align-items: center; gap: 8px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; padding: 2px 0; }
.tip-pills-row::-webkit-scrollbar { display: none; }
.tip-pill { flex-shrink: 0; white-space: nowrap; border-radius: 16px; padding: 10px 16px; font-size: 13px; font-weight: 600; line-height: 1.2; text-decoration: none !important; background: #F5F5F5; color: #1E1E1E !important; transition: background-color .2s ease, color .2s ease; }
.tip-pill:hover { background: #E8D5B7; }
.tip-pill.is-active { background: #3E2A00; color: #fff !important; }
.tip-pill.is-vip { background: #B27900; color: #fff !important; }
.tip-pill i { margin-left: 4px; }
.tip-pills-arrow { display: none; position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(178, 121, 0, .35); background: #fff; color: #3E2A00; font-size: 12px; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.tip-pills-arrow.is-left { left: -6px; }
.tip-pills-arrow.is-right { right: -6px; }
.tip-pills-arrow:hover { background: #B27900; color: #fff; }
@media (min-width: 768px) {
    .tip-pills-arrow { display: inline-flex; align-items: center; justify-content: center; }
}

/* Section shell (upcoming + recent winnings) */
.bv-sec { background: #fff; border-radius: 1.25rem; overflow: hidden; width: 0; min-width: 100%; }
.bv-sec-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .875rem 1rem; background: transparent; }
.bv-sec-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #8a5e00, #f5c451, #B27900); }
.bv-sec-title { margin: 0; color: #1a1200; font-size: 1.125rem; font-weight: 700; letter-spacing: .3px; display: flex; align-items: center; gap: .5rem; }
.bv-sec-title i { color: #B27900; }
.bv-sec-badge { flex-shrink: 0; background: rgba(245, 196, 81, .15); border: 1px solid rgba(245, 196, 81, .45); color: #8a5e00; font-size: .75rem; font-weight: 700; padding: .3rem .75rem; border-radius: 9999px; }
.bv-sec-body { padding: 1rem .75rem 1.25rem; }
@media (min-width: 1024px) {
    .bv-sec-head { padding: 1rem 1.5rem; }
    .bv-sec-title { font-size: 1.375rem; }
    .bv-sec-body { padding: 1.25rem 1.5rem 1.5rem; }
}

/* Recent winnings grid */
.rw-grid { display: grid; grid-template-columns: 1fr; gap: .75rem; }
@media (min-width: 640px) { .rw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .rw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rw-card { display: flex; flex-direction: column; gap: .5rem; background: #fff; border: 1px solid #e3e3e3; border-left: 3px solid #14AE5C; border-radius: 1rem; padding: .625rem .75rem; transition: box-shadow .2s, border-color .2s; }
.rw-card:hover { box-shadow: 0 6px 18px rgba(20, 174, 92, .14); }
.rw-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: .6875rem; }
.rw-league { color: #6b6b6b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.rw-league i { color: #B27900; margin-right: 3px; }
.rw-date { flex-shrink: 0; color: #3E2A00; font-weight: 700; }
.rw-date i { color: #B27900; margin-right: 3px; }
.rw-match { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .5rem; font-size: .8125rem; }
.rw-team { font-weight: 600; color: #1E1E1E; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rw-team.home { text-align: right; }
.rw-score { background: #1E1E1E; color: #fff; font-weight: 800; font-size: .8125rem; padding: .2rem .5rem; border-radius: .5rem; white-space: nowrap; }
.rw-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; background: #ECFDF3; border-radius: .625rem; padding: .375rem .5rem; }
.rw-tip { display: inline-flex; align-items: center; gap: .375rem; color: #0f7a40; font-weight: 700; font-size: .75rem; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rw-odd { flex-shrink: 0; background: #14AE5C; color: #fff; font-weight: 700; font-size: .6875rem; padding: .125rem .5rem; border-radius: .375rem; }
a.rw-match { text-decoration: none; color: inherit; }
a.rw-match:hover .rw-team-name { color: #B27900; }
.rw-match .rw-team { display: flex; align-items: center; gap: .375rem; min-width: 0; }
.rw-match .rw-team.home { justify-content: flex-end; }
.rw-team-name { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s; }
.rw-logo { width: 22px; height: 22px; flex-shrink: 0; object-fit: contain; }
.rw-avatar { width: 22px; height: 22px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 9999px; background: #FBF6EC; border: 1px solid #efe2c4; color: #3E2A00; font-size: .5625rem; font-weight: 800; }
.rw-grid { transition: opacity .2s; }
.rw-grid.is-loading { opacity: .45; pointer-events: none; }
.rw-pager { display: flex; flex-direction: column; align-items: center; gap: .5rem; margin-top: 1rem; padding: .875rem 1rem; border: 1px solid #efe2c4; border-radius: 1rem; background: #FBF6EC; }
.rw-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: .375rem; }
.rw-page { min-width: 2.25rem; height: 2.25rem; padding: 0 .625rem; display: inline-flex; align-items: center; justify-content: center; border-radius: .75rem; border: 1px solid #efe2c4; background: #fff; color: #3E2A00; font-size: .8125rem; font-weight: 700; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.rw-page:hover:not(:disabled):not(.is-active):not(.is-gap) { border-color: #B27900; color: #B27900; }
.rw-page.is-active { background: linear-gradient(180deg, #3E2A00, #1a1200); border-color: #3E2A00; color: #f5c451; cursor: default; }
.rw-page:disabled { opacity: .45; cursor: not-allowed; }
.rw-page.is-gap { border-color: transparent; background: transparent; cursor: default; }
.rw-pager-info { color: #6b6b6b; font-size: .75rem; font-weight: 600; }
.rw-all { display: flex; justify-content: center; padding-top: 1rem; }
.rw-all-link { display: inline-flex; align-items: center; gap: .375rem; padding: .55rem 1.25rem; border-radius: 9999px; border: 1px solid #B27900; color: #B27900; font-size: .8125rem; font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
.rw-all-link:hover { background: #B27900; color: #fff; }

/* Free-pick layout: sport buttons above the panel, pills at the top of the panel body */
.fp-sports { margin-bottom: 14px; min-width: 0; }
.fp-pills { margin-bottom: 16px; min-width: 0; }

/* Panel + dark header with date pills (eurospredict pattern) */
.mt-panel { background: #fff; border-radius: 1.25rem; box-shadow: 0 10px 40px rgba(62, 42, 0, .10); border: 1px solid #efe2c4; width: 0; min-width: 100%; }
.mt-panel-body { padding: 1rem .75rem 1.25rem; min-width: 0; }
.mt-head { position: relative; display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: .625rem; padding: .875rem 1rem; background: transparent; border-radius: 1.25rem 1.25rem 0 0; z-index: 5; }
.mt-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #8a5e00, #f5c451, #B27900); }
.mt-head-title { margin: 0; color: #1a1200; font-size: 1.125rem; font-weight: 700; text-align: center; line-height: 1.25; text-transform: none; }
.mt-head-date { margin: .125rem 0 0; color: #8a5e00; font-size: .75rem; text-align: center; }
.mt-dates { display: flex; align-items: center; gap: .375rem; }
.mt-date { position: relative; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 2.75rem; padding: .375rem 0; border-radius: .75rem; background: #FBF6EC; border: 1px solid #efe2c4; color: #3E2A00; transition: all .25s; font: inherit; cursor: pointer; appearance: none; -webkit-appearance: none; }
.mt-date:hover { background: rgba(245, 196, 81, .2); border-color: #f5c451; color: #1a1200; }
.mt-date.active { background: linear-gradient(180deg, #f5c451, #B27900); border-color: #f5c451; color: #1a1200; box-shadow: 0 6px 18px rgba(245, 196, 81, .35); }
.mt-date-month { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; line-height: 1; opacity: .85; }
.mt-date-day { font-size: .875rem; font-weight: 800; line-height: 1; margin-top: .125rem; }
.mt-date-today { position: absolute; top: -7px; left: 50%; transform: translateX(-50%); background: #16A060; color: #fff; font-size: 8px; font-weight: 700; padding: 1px 5px; border-radius: 9999px; letter-spacing: .05em; text-transform: uppercase; }
.mt-calwrap { position: relative; flex-shrink: 0; }
.mt-cal { width: 2.25rem; height: 2.25rem; display: flex; align-items: center; justify-content: center; border-radius: .75rem; border: 2px dashed #e0c88f; background: transparent; color: #B27900; cursor: pointer; transition: all .25s; }
.mt-cal:hover { border-color: #f5c451; background: rgba(245, 196, 81, .12); }
.mt-calpop { position: absolute; right: 0; top: calc(100% + .5rem); z-index: 30; width: 16rem; max-width: 90vw; background: #fff; border-radius: 1rem; box-shadow: 0 20px 40px rgba(26, 18, 0, .25); border: 1px solid #efe2c4; padding: .75rem; }
.mt-calpop-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; color: #1a1200; font-size: .875rem; font-weight: 700; }
.mt-calpop-nav button { width: 1.75rem; height: 1.75rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; color: #3E2A00; background: transparent; border: 0; cursor: pointer; }
.mt-calpop-nav button:hover:not(:disabled) { background: #FBF6EC; color: #B27900; }
.mt-calpop-nav button:disabled { opacity: .3; cursor: not-allowed; }
.mt-calpop-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .25rem; }
.mt-calpop-week { margin-bottom: .25rem; }
.mt-calpop-week span { text-align: center; color: #b59a5a; font-size: 10px; font-weight: 700; }
.mt-calpop-day { width: 2rem; height: 2rem; margin: auto; border-radius: 9999px; display: flex; align-items: center; justify-content: center; font-size: .75rem; color: #1a1200; background: transparent; border: 0; cursor: pointer; transition: background-color .15s; }
.mt-calpop-day:hover:not(:disabled) { background: #FBF6EC; color: #B27900; }
.mt-calpop-day.is-empty { visibility: hidden; }
.mt-calpop-day.is-today { box-shadow: inset 0 0 0 1px #B27900; }
.mt-calpop-day.is-selected { background: linear-gradient(180deg, #f5c451, #B27900); color: #1a1200; font-weight: 800; box-shadow: none; }
.mt-calpop-day.is-disabled { color: #e3dcc4; cursor: not-allowed; }
.mt-calpop-quick { display: flex; gap: .375rem; margin-top: .75rem; padding-top: .5rem; border-top: 1px solid #efe2c4; }
.mt-calpop-quick button { flex: 1; font-size: 11px; font-weight: 600; padding: .375rem 0; border-radius: .5rem; background: #FBF6EC; color: #3E2A00; border: 0; cursor: pointer; transition: all .15s; }
.mt-calpop-quick button:hover { background: #B27900; color: #fff; }
.mt-calpop-quick button.active { background: #3E2A00; color: #f5c451; }
@media (min-width: 1024px) {
    .mt-panel-body { padding: 1.5rem 1.75rem 1.75rem; }
    .mt-head { flex-direction: row; padding: .875rem 1.5rem; }
    .mt-head-title, .mt-head-date { text-align: left; }
    .mt-head-title { font-size: 1.375rem; }
    .mt-head-date { font-size: .8125rem; }
    .mt-dates { gap: .5rem; }
    .mt-date { width: 3.25rem; }
    .mt-date-day { font-size: .9375rem; }
    .mt-cal { width: 42px; height: 42px; }
}

/* Team area links to the match details page */
a.mt-teams { color: inherit; text-decoration: none; }
a.mt-teams:hover .mt-team-name { color: #B27900; }

/* Load more */
.mt-more { display: flex; justify-content: center; padding: 1.25rem 0 .25rem; }
.mt-more[x-cloak], .mt-more [x-cloak] { display: none !important; }
.mt-more-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-width: 12rem; padding: .7rem 1.5rem; border-radius: 9999px; border: 1px solid #efe2c4; background: linear-gradient(180deg, #d79a14, #B27900); color: #fff; font-size: .875rem; font-weight: 700; letter-spacing: .02em; cursor: pointer; box-shadow: 0 6px 18px rgba(178, 121, 0, .25); transition: transform .15s, box-shadow .15s, background .15s; }
.mt-more-btn:hover { background: linear-gradient(180deg, #B27900, #1a1200); box-shadow: 0 8px 22px rgba(26, 18, 0, .3); transform: translateY(-1px); }
.mt-more-btn:disabled { opacity: .7; cursor: wait; transform: none; }
.mt-more-btn i { color: #FBF6EC; }
.mt-more-count { font-weight: 500; opacity: .85; }
