/* Legacy markup adapter: shared table presentation has one owner. */
html body .bet_history:not(.tc-level-rewards){border:0!important;background:var(--ts-surface)!important;padding:16px!important;border-radius:calc(12px * var(--ui-radius-scale,1))!important;box-shadow:none!important}
html body .bet_history .bet_history_tabs,html body .bet_history .bet_history_button_container{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important}
html body .bet_history .bet_history_button_container{display:flex!important;gap:22px!important;justify-content:flex-start!important;margin-bottom:12px!important}
html body .bet_history .bet_history_tabs button{flex:0 0 auto!important;width:auto!important;min-height:42px;padding:8px 0!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;color:var(--ts-muted)!important;font:650 12px Inter,Arial,sans-serif!important}
html body .bet_history .bet_history_tabs button.tab_active{border-bottom-color:var(--ts-current)!important;color:var(--ts-text)!important;background:transparent!important}
html body .bet_history .bet_history_holder{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow-x:auto}
html body .bet_history_table{border-collapse:collapse!important;border-spacing:0!important;background:transparent!important;border:0!important}
html[data-theme] body .bet_history_table :is(thead,thead tr,th){background:var(--ts-head)!important;color:var(--ts-muted)!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html[data-theme] body .bet_history_table tbody tr,html[data-theme] body .bet_history_table td{background:transparent!important;border:0!important;border-bottom:1px solid var(--ts-line)!important;border-radius:0!important;box-shadow:none!important;color:var(--ts-text)!important}
html[data-theme] body .bet_history_table td{padding:15px 16px!important;font-variant-numeric:tabular-nums}
html[data-theme] body .bet_history_table tbody tr:last-child td{border-bottom:0!important}
html[data-theme] body .bet_history_table tbody tr:hover td{background:var(--ts-hover)!important}
html[data-theme] body .bet_history_table .text-success,html[data-theme] body .bet_history_table .is-win{color:var(--ts-current)!important}

/* Shared activity tables: one edge-to-edge surface, compact readable rows. */
html[data-theme] body .bet_history:not(.tc-level-rewards){padding:0!important;border:1px solid var(--ui-border)!important;border-radius:var(--ui-radius)!important}
html[data-theme] body .bet_history .bet_history_tabs{padding:0 16px!important;background:transparent!important;border-bottom:1px solid var(--ui-border)!important}
html[data-theme] body .bet_history .bet_history_button_container{margin:0!important;background:transparent!important;gap:20px!important}
html[data-theme] body .bet_history .bet_history_tabs button{min-height:44px!important;padding:10px 0!important;background:transparent!important;font-size:13px!important;line-height:20px!important}
html[data-theme] body .bet_history .bet_history_table{margin:0!important;width:100%}
html[data-theme] body .bet_history .bet_history_table :is(th,td){padding:11px 16px!important;line-height:20px!important;font-size:13px!important;text-align:left}
html[data-theme] body .bet_history .bet_history_table th{font-size:11px!important;font-weight:650!important;letter-spacing:.035em}
html[data-theme] body .bet_history .bet_history_table .tc-table-empty td{padding:22px 16px!important;text-align:center!important;white-space:normal!important;color:var(--ui-muted)!important;font-size:13px!important;background:transparent!important}
@media(max-width:640px){
 html[data-theme] body .bet_history:not(.tc-level-rewards){padding:0!important}
 html[data-theme] body .bet_history .bet_history_tabs{padding-inline:12px!important}
 html[data-theme] body .bet_history .bet_history_table :is(th,td){padding:10px 12px!important}
 html[data-theme] body.tc-page-contests .bet_history_table{min-width:440px}
}
html[data-theme] body .ui-table-heading{padding:12px 16px;border-bottom:1px solid var(--ui-border);background:var(--ui-surface)}
html[data-theme] body .ui-table-heading h2{margin:0;color:var(--ui-text)!important;font:650 13px/20px var(--ui-font);letter-spacing:.02em}
html[data-theme] body .bet_history .ui-table .ui-row-current td{background:var(--ui-raised)!important;color:var(--ui-success)!important;font-weight:650}
html[data-theme] body .ui-table-card{border-width:var(--ui-border-width)!important;box-shadow:var(--ui-shadow)!important}
html[data-theme] body .ui-table :is(th,td){font-family:var(--ui-font)!important}
.ui-table-card [role=region]:focus-visible{outline:2px solid var(--ui-accent);outline-offset:-2px}
/* Currency is an indivisible amount in every table, including legacy AJAX rows. */
html[data-theme] body table td:has(img[src*="/clik.svg"]){white-space:nowrap!important}
html[data-theme] body table td img[src*="/clik.svg"]{display:inline-block!important;width:16px;height:16px;max-width:none;vertical-align:middle;flex-shrink:0}
html[data-theme] body table td:has(>img[src*="/clik.svg"])>span{display:inline;white-space:nowrap}
html[data-theme] body table .ui-money-inline{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;vertical-align:middle}
html[data-theme] body table .ui-money-inline>img{display:block!important;flex:0 0 16px;margin:0;vertical-align:middle}
html[data-theme] body table .ui-money-inline>span{white-space:nowrap}

/* Game names stay complete; narrow tables scroll inside their existing holder. */
html body table .sk-gamecell{white-space:nowrap}
html body table .sk-gamecell>span{overflow:visible;text-overflow:clip;max-width:none;white-space:nowrap;flex-shrink:0}
