/* Opt-in compact semantic table. Keep it visible inside narrow summaries instead of switching to player cards. */
/* Server-rendered semantic tables have no alternative player-card dataset. */
.pb-player-stats.pb-player-stats--semantic{width:100%;max-width:100%;min-width:0}
.pb-player-stats--semantic .pb-player-stats__table-shell{display:block;max-width:100%;min-width:0}
.pb-player-stats--semantic .pb-player-stats__table-scroll{width:100%;max-width:100%;min-width:0;overflow-x:auto}
.pb-player-stats--semantic .pb-data-table thead th{width:auto;inset-inline-start:auto;box-shadow:none}
.pb-player-stats--semantic .pb-data-table tbody tr>:nth-child(-n+3){position:static;inset-inline-start:auto;box-shadow:none}
.pb-player-stats--semantic:not(.pb-player-stats--compact) .pb-data-table{width:100%;min-width:calc(var(--pb-semantic-min-columns,0)*112px);table-layout:auto}
.pb-player-stats--semantic:not(.pb-player-stats--compact) .pb-data-table :is(th,td){white-space:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.pb-player-stats--semantic.pb-player-stats--matrix .pb-data-table{min-width:calc(var(--pb-semantic-columns,10)*104px + 76px);table-layout:fixed}
.pb-player-stats--semantic.pb-player-stats--matrix .pb-data-table :is(th,td){white-space:pre-line}
.pb-player-stats--semantic.pb-player-stats--matrix .pb-data-table :is(th,td):first-child{width:180px;min-width:180px}
.pb-player-stats--semantic.pb-player-stats--matrix .pb-account-person-inline{max-width:100%;min-width:0}
.pb-player-stats--semantic.pb-player-stats--matrix .pb-account-person-inline__name :is(strong,small){white-space:normal;overflow-wrap:anywhere}
.pb-player-stats--compact .pb-player-stats__table-shell{display:block}
.pb-player-stats--compact .pb-data-table{width:100%;min-width:0;table-layout:fixed}
.pb-player-stats--compact .pb-data-table :is(th,td){padding:10px 8px}
.pb-player-stats--compact .pb-data-table :is(th,td):first-child{width:34px}
.pb-player-stats--compact .pb-data-table :is(th,td):last-child{width:70px;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.pb-player-stats--compact .pb-account-person-inline{min-width:0;max-width:100%;overflow-wrap:anywhere}

.pb-player-stats--compact .pb-data-table td[colspan]{width:auto;text-align:center;white-space:normal}

.pb-player-stats.pb-player-stats--compact{width:100%;max-width:none;min-width:0;margin:0;padding:0}
.pb-player-stats--compact .pb-account-person-inline__name :is(strong,small){white-space:normal;overflow-wrap:anywhere}

/* Native semantic-table variants: identity stays left, the fantasy result has its own column. */
.pb-player-stats--semantic[data-pb-semantic-variant] .pb-account-person-inline{display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;text-align:left;margin:0}
.pb-player-stats--semantic[data-pb-semantic-variant] .pb-account-person-inline>img{flex:0 0 44px;width:44px;height:44px;object-fit:contain}
.pb-player-stats--semantic[data-pb-semantic-variant] .pb-account-person-inline__name{min-width:0;text-align:left}
.pb-player-stats--semantic[data-pb-semantic-variant="tour-summary"] .pb-data-table :is(th,td):first-child{width:66px;min-width:66px;padding-inline:10px;text-align:left}
.pb-player-stats--semantic[data-pb-semantic-variant="tour-summary"] .pb-data-table :is(th,td):nth-child(2){min-width:190px;text-align:left}
.pb-player-stats--semantic[data-pb-semantic-variant="tour-summary"] .pb-data-table tbody tr>:nth-child(3),.pb-player-stats--semantic[data-pb-semantic-variant="tour-days"] .pb-data-table tbody tr>:last-child{background:var(--primary-light,#edf4da);font-weight:700;color:var(--secondary)}
.pb-player-stats--semantic[data-pb-semantic-variant="tour-summary"] .pb-data-table thead th:nth-child(3),.pb-player-stats--semantic[data-pb-semantic-variant="tour-days"] .pb-data-table :is(thead th,tfoot td):last-child{color:var(--warning-semi-light,#f8bc54)!important;background:var(--secondary,#202a25)!important}
.pb-player-stats--semantic .pb-semantic-heading-subtitle{display:block;margin-top:3px;font:400 12px/1.3 var(--pb-font-content,"Roboto Condensed",sans-serif);text-transform:none;letter-spacing:0;white-space:normal}
.pb-player-stats--semantic[data-pb-semantic-variant="achievements"] .pb-data-table :is(th,td){text-align:left}
.pb-player-stats--semantic .pb-semantic-value:is([data-pb-value-state="missing"],[data-pb-value-state="future"],[data-pb-value-state="live"],[data-pb-value-state="pending"]){font-size:18px;line-height:1.4}

.pb-player-stats--semantic[data-pb-semantic-variant="tour-days"] .pb-data-table :is(th,td):first-child{text-align:left}
.pb-player-stats--semantic[data-pb-semantic-variant="tour-days"] .pb-data-table tfoot :is(th,td){font-weight:700;background:var(--secondary-light);border-top:2px solid var(--secondary-semi-light)}
.pb-player-stats--semantic .pb-semantic-value{display:block;font-variant-numeric:tabular-nums}


