/* One card/list control for every pool format. Same icons as Quiniela por Puntos. */
.tp-universal-view-switch{justify-content:flex-end;margin:12px 0 12px;gap:7px}
.tp-universal-view-switch button{flex:0 0 48px!important;min-height:44px!important;min-width:44px!important}
.tp-universal-view-switch button svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.tp-universal-view-switch button svg rect{fill:currentColor;fill-opacity:.16}
.tp-universal-view-switch:focus-within{scroll-margin-top:100px}
/* Standard fixture cards switch from large stacks to compact result/pick rows. */
.tp-universal-layout.tp-universal-list>.tp-fixture-group{
 display:grid!important;grid-template-columns:minmax(180px,0.9fr) minmax(0,2fr)!important;
 align-items:center!important;gap:9px!important;min-width:0!important;
 padding:9px!important;margin:0 0 6px!important;border-radius:11px!important}
.tp-universal-layout.tp-universal-list>.tp-fixture-group>.tp-fixture-head{
 align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:4px;
 padding:8px!important;margin:0!important;border:0!important;border-right:1px solid var(--tp-line,#dce5ed)!important}
.tp-universal-layout.tp-universal-list>.tp-fixture-group>.tp-fixture-questions{
 min-width:0;padding:4px!important;margin:0!important}
.tp-universal-layout.tp-universal-list>.tp-fixture-group .tp-question-row{padding:7px!important;margin:0!important}
.tp-universal-layout.tp-universal-list>.tp-fixture-group .tp-question-row-head{gap:5px!important}
.tp-universal-layout.tp-universal-list>.tp-fixture-group .tp-pick-three{gap:4px!important}
.tp-universal-layout.tp-universal-list>.tp-fixture-group .tp-pick-three label span{padding:7px 4px!important;font-size:12px!important}
/* Survivor: fixture date / two shirt picks on one condensed row. */
.tp-universal-layout.tp-universal-list.survivor-fixture-list{gap:5px!important}
.tp-universal-layout.tp-universal-list.survivor-fixture-list>.survivor-fixture-card{
 display:grid!important;grid-template-columns:minmax(125px,0.7fr) minmax(0,2.5fr)!important;
 align-items:stretch;gap:0!important;margin:0!important;border-radius:11px!important}
.tp-universal-layout.tp-universal-list .survivor-fixture-meta{
 align-content:center;justify-content:center;flex-direction:column;align-items:flex-start;
 gap:4px!important;padding:9px 10px!important;border-bottom:0!important;
 border-right:1px solid var(--tp-line,#dce5ed)!important}
.tp-universal-layout.tp-universal-list .survivor-fixture-teams{gap:5px!important;padding:6px 9px!important}
.tp-universal-layout.tp-universal-list .survivor-team-choice{
 min-height:52px!important;flex-direction:row;gap:4px!important;padding:6px!important;font-size:12px!important}
.tp-universal-layout.tp-universal-list .survivor-team-identity{flex-direction:row!important;gap:5px!important}
.tp-universal-layout.tp-universal-list .survivor-team-identity .tp-shirt svg{width:27px!important;height:auto!important}
.tp-universal-layout.tp-universal-list .survivor-team-side{font-size:10px}
.tp-universal-layout.tp-universal-list .survivor-team-choice small{display:none}
/* Season and question-based pool games retain their actual editable controls. */
.tp-universal-layout.tp-universal-list.tp-season-grid,
.tp-universal-layout.tp-universal-list.prediction-list,
.tp-universal-layout.tp-universal-list.survivor-history,
.tp-universal-layout.tp-universal-list.survivor-picks-grid,
.tp-universal-layout.tp-universal-list.tp-race-games{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important}
.tp-universal-layout.tp-universal-list.tp-season-grid>.tp-season-card,
.tp-universal-layout.tp-universal-list.prediction-list>.prediction-card,
.tp-universal-layout.tp-universal-list.survivor-picks-grid>.survivor-pick-card{
 display:grid!important;grid-template-columns:minmax(160px,0.8fr) minmax(0,2fr)!important;
 gap:9px!important;align-items:center!important;padding:11px!important;margin:0!important;border-radius:11px!important}
.tp-universal-layout.tp-universal-list.tp-season-grid>.tp-season-card>.tp-kicker{grid-column:1}
.tp-universal-layout.tp-universal-list.tp-season-grid>.tp-season-card>h3{grid-column:1}
.tp-universal-layout.tp-universal-list.prediction-list>.prediction-card>.prediction-head{grid-column:1}
.tp-universal-layout.tp-universal-list.prediction-list>.prediction-card>small{grid-column:1/-1}
.tp-universal-layout.tp-universal-list.survivor-history>.survivor-history-row,
.tp-universal-layout.tp-universal-list.tp-race-games>.tp-race-game{
 padding:9px!important;margin:0!important;min-height:0;border-radius:9px}
.tp-universal-layout.survivor-history:not(.tp-universal-list){display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:10px}
/* No card has to be recreated to change layout. Preserve focus, input values and submit buttons. */
@media(max-width:690px){
 .tp-universal-layout.tp-universal-list>.tp-fixture-group{grid-template-columns:1fr!important;gap:2px!important}
 .tp-universal-layout.tp-universal-list>.tp-fixture-group>.tp-fixture-head{
  border-right:0!important;border-bottom:1px solid var(--tp-line,#dce5ed)!important;
  padding:5px 7px!important;flex-direction:row;justify-content:space-between;align-items:center}
 .tp-universal-layout.tp-universal-list>.tp-fixture-group .tp-question-row{padding:6px!important}
 .tp-universal-layout.tp-universal-list.survivor-fixture-list>.survivor-fixture-card{
  grid-template-columns:1fr!important}
 .tp-universal-layout.tp-universal-list .survivor-fixture-meta{
  flex-direction:row;align-items:center;justify-content:space-between;padding:5px 8px!important;
  border-right:0!important;border-bottom:1px solid var(--tp-line,#dce5ed)!important}
 .tp-universal-layout.tp-universal-list .survivor-fixture-teams{
  display:grid!important;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr)!important;padding:6px!important}
 .tp-universal-layout.tp-universal-list .survivor-team-choice{min-height:47px!important}
 .tp-universal-layout.tp-universal-list.prediction-list>.prediction-card,
 .tp-universal-layout.tp-universal-list.tp-season-grid>.tp-season-card,
 .tp-universal-layout.tp-universal-list.survivor-picks-grid>.survivor-pick-card{
  grid-template-columns:1fr!important;gap:5px!important;padding:9px!important}
 .tp-universal-layout.tp-universal-list.tp-season-grid>.tp-season-card>.tp-kicker,
 .tp-universal-layout.tp-universal-list.tp-season-grid>.tp-season-card>h3,
 .tp-universal-layout.tp-universal-list.prediction-list>.prediction-card>.prediction-head{grid-column:auto}
}
@media(max-width:360px){
 .tp-universal-layout.tp-universal-list .survivor-team-choice{flex-direction:column!important}
 .tp-universal-layout.tp-universal-list .survivor-team-identity{flex-direction:column!important}
}
