.spsls-ge-scoresheet{
  /* Modular layout: individual panels are cards. Keep the wrapper neutral. */
  background:transparent;
  border:0;
  border-radius:0;
  padding:0;
}

.spsls-ge-ss__topbar{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  align-items:baseline;
  margin-bottom:12px;
}

.spsls-ge-ss__title{ font-weight:800; font-size:18px; }
.spsls-ge-ss__meta{ font-size:13px; opacity:.85; }
.spsls-ge-ss__sep{ margin:0 6px; opacity:.5; }

.spsls-ge-ss__grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:12px;
}

@media(min-width: 980px){
  .spsls-ge-ss__grid{ grid-template-columns: 1fr 1fr; }
  .spsls-ge-ss__panel--wide{ grid-column: 1 / -1; }
}

.spsls-ge-ss__panel{
  /* Match scorer page cards */
  background:#fff;
  border:1px solid #d7d7d7;
  border-radius:14px;
  padding:12px;
  box-shadow:0 1px 2px rgba(0,0,0,.04);
}

/* Linescore panel should behave like a flush card and not stretch to match
   the height of the Situation panel (default grid behaviour is stretch). */
.spsls-ge-ss__panel--linescore{
  padding:0;
  overflow:hidden;
  align-self:start;
}

.spsls-ge-ss__panel h3{
  margin:0 0 10px 0;
  font-size:14px;
  font-weight:800;
}

.spsls-ge-ss__linescore table{
  width:100%;
  /* Use theme table styling (SportsPress/Va rsity). */
  border-collapse:collapse;
  font-size:13px;
}
.spsls-ge-ss__linescore th:first-child,
.spsls-ge-ss__linescore td:first-child{ text-align:left; font-weight:700; }

.spsls-ge-ss__situation{ display:flex; gap:14px; flex-wrap:wrap; align-items:flex-start; }
.spsls-ge-ss__bases{ min-width:160px; }
.spsls-ge-ss__batters{ font-size:13px; line-height:1.7; }

/* Situation base strip (1B/2B/3B) */
.spsls-ge-ss__basestrip{ display:flex; gap:25px; align-items:center; }
.spsls-ge-ss__basechip{ display:flex; align-items:center; gap:8px; font-weight:800; }
.spsls-ge-ss__basechip-d{ width:16px; height:16px; border:1px solid rgba(0,0,0,.45); background:#fff; transform:rotate(45deg); display:inline-block; border-radius:2px; }
.spsls-ge-ss__basechip.is-on .spsls-ge-ss__basechip-d{ background:#111; border-color:#111; }
.spsls-ge-ss__basechip-l{ font-size:13px; opacity:.95; }

.spsls-ge-ss__diamond{
  width:120px; height:120px; position:relative;
}
.spsls-ge-ss__base{
  width:18px; height:18px; border:1px solid rgba(0,0,0,.35); background:#fff; position:absolute;
  left:50%; top:50%;
  transform: translate(-50%,-50%) rotate(-45deg);
}
.spsls-ge-ss__base--home{ left:50%; top:90%; }
.spsls-ge-ss__base--first{ left:85%; top:50%; }
.spsls-ge-ss__base--second{ left:50%; top:10%; }
.spsls-ge-ss__base--third{ left:15%; top:50%; }
.spsls-ge-ss__occ{ position:absolute; width:10px; height:10px; border-radius:50%; background:#111; }
.spsls-ge-ss__occ--home{ left:50%; top:90%; transform: translate(-50%,-50%); }
.spsls-ge-ss__occ--first{ left:85%; top:50%; transform: translate(-50%,-50%); }
.spsls-ge-ss__occ--second{ left:50%; top:10%; transform: translate(-50%,-50%); }
.spsls-ge-ss__occ--third{ left:15%; top:50%; transform: translate(-50%,-50%); }

.spsls-ge-ss__orders{ display:grid; grid-template-columns: 1fr; gap:12px; }
@media(min-width: 760px){ .spsls-ge-ss__orders{ grid-template-columns: 1fr 1fr; } }

.spsls-ge-ss__subhead{ font-weight:800; margin-bottom:6px; }

.spsls-ge-ss__order{
  margin:0; padding-left:22px;
  font-size:13px;
  line-height:1.7;
}
.spsls-ge-ss__order li{ padding:2px 4px; border-radius:8px; }
.spsls-ge-ss__order li.is-current{ background: rgba(0,0,0,.06); font-weight:800; }

.spsls-ge-ss__log{
  font-size:12px;
  line-height:1.6;
  max-height: 320px;
  overflow:auto;
  border:0;
  border-radius:0;
  padding:0;
  background: transparent;
}
.spsls-ge-ss__log .row{ display:flex; gap:10px; padding:3px 0; border-bottom:1px dashed rgba(0,0,0,.10); }
.spsls-ge-ss__log .row:last-child{ border-bottom:0; }
.spsls-ge-ss__log .seq{ width:48px; opacity:.75; }
.spsls-ge-ss__log .time{ width:64px; opacity:.75; }
.spsls-ge-ss__log .type{ width:220px; font-weight:700; }
.spsls-ge-ss__log .desc{ flex:1; opacity:.9; }

/* Scorecard grid */
.spsls-ge-ss__scorecard{
  overflow-x:auto;
  overflow-y:hidden;
}

/* Inner scroll container (per-team) */
.spsls-ge-scorecard-scroll{
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  max-width:100%;
}

.spsls-ge-scorecard{
  table-layout:fixed;
  width:100%;
  border-collapse:collapse;
  font-size:12px;
  min-width: 1080px;
  background: transparent;
}

.spsls-ge-scorecard th,
.spsls-ge-scorecard td{
  border: var(--spsls-border-w, 1px) solid var(--spsls-border, rgba(0,0,0,.10));
  padding:1px 1px;
  text-align:center;
  vertical-align:middle;
}


/* Paper-style inning break rules */
.spsls-ge-scorecard td.spsls-td-innbreak-top,
.spsls-ge-scorecard td.spsls-td-innbreak-bottom{
  position:relative;
}
.spsls-ge-scorecard td.spsls-td-innbreak-top{
  border-top-width:3px !important;
  border-top-color:rgba(0,0,0,0.72) !important;
}
.spsls-ge-scorecard td.spsls-td-innbreak-bottom{
  border-bottom-width:3px !important;
  border-bottom-color:rgba(0,0,0,0.72) !important;
}

/* Keep headers a touch roomier than body cells */
.spsls-ge-scorecard th{ padding:4px 4px; }

.spsls-ge-scorecard th{
  position:sticky;
  top:0;
  background: var(--spsls-header-bg, #2e7d32);
  color: var(--spsls-header-fg, #fff);
  z-index:1;
  font-weight:800;
}

/* Header borders should match the theme's header borders (can differ from body cell borders). */
.spsls-ge-scorecard thead th{
  border-color: var(--spsls-header-border, var(--spsls-border, rgba(0,0,0,.10)));
  border-width: var(--spsls-header-border-w, var(--spsls-border-w, 1px));
}


.spsls-ge-scorecard .col-name{ text-align:left; font-weight:800; min-width: 220px; width:220px; }
.spsls-ge-scorecard .col-tot{ font-weight:800; width:46px; }
.spsls-ge-scorecard .col-inning{ width:64px; min-width:64px; }
.spsls-ge-scorecard .col-stat{ width:44px; min-width:44px; }

.spsls-ge-scorecard .col-name{
  position:sticky;
  left:0;
  /* Solid backgrounds prevent "see-through" overlap when scrolling on mobile. */
  background:#fff;
  z-index:2;
  box-shadow: 2px 0 0 rgba(0,0,0,.10);
}

/* If theme applies row striping, keep the sticky name column consistent */
.spsls-ge-scorecard tbody tr:nth-child(even) .col-name{ background:#fafafa; }
.spsls-ge-scorecard tbody tr:nth-child(odd) .col-name{ background:#fff; }
.spsls-ge-scorecard tr.spsls-ge-totalrow .col-name{ background:#fff; }

/* Ensure sticky first column also applies in header */
.spsls-ge-scorecard thead .col-name{
  background: var(--spsls-header-bg, #2e7d32);
  color: var(--spsls-header-fg, #fff);
  z-index:3;
}
.spsls-ge-scorecard .cell{
  display:block;
  min-height:60px;
}

/* Scorebox notation (Phase 1) */
.spsls-ge-scorecard .pa-box{
  position:relative;
  width:100%;
  height:60px;
  border-radius:0;
  border:none;
  background: transparent;
  overflow:hidden;
}

/* Traditional scorebook basepath (Phase 2) */
.spsls-ge-scorecard .pa-path{
  position:absolute;
  /* Larger and centred within the cell (avoid overlap with top-left text + count dots). */
  left:1px;
  right:1px;
  bottom:1px;
  top:13px;
  width:calc(100% - 2px);
  height:calc(100% - 14px);
  pointer-events:none;
}
.spsls-ge-scorecard .pa-path polygon{
  fill:none;
  stroke: rgba(0,0,0,.22);
  stroke-width: 3;
}
.spsls-ge-scorecard .pa-path polygon.fill{
  /* Darker fill for runs scored (between previous shade and black). */
  fill: rgba(0,0,0,.32);
  stroke: rgba(0,0,0,.22);
}
.spsls-ge-scorecard .pa-path line{
  stroke: rgba(0,0,0,.55);
  stroke-width: 4;
  stroke-linecap: round;
}

.spsls-ge-scorecard .pa-oc{
  position:absolute;
  left:4px;
  top:3px;
  font-weight:900;
  font-size:11px;
  line-height:1;
}

/* Totals row styling */
.spsls-ge-scorecard tr.spsls-ge-totalrow td{
  /* Match lineup row height */
  padding:1px 1px;
  height:60px;
}
.spsls-ge-scorecard tr.spsls-ge-totalrow strong{ font-size:14px; }
.spsls-ge-scorecard tr.spsls-ge-totalrow .col-name{ text-align:right; }

/* Inning run totals inside totals row */
.spsls-ge-scorecard tr.spsls-ge-totalrow td.col-inningtot{
  text-align:center;
  font-weight:800;
  font-size:14px;
}

/* Out notation in bottom-right: scorebook reason (U3, 4-3, F8, L1...) */
.spsls-ge-scorecard .pa-outnote{
  position:absolute;
  right:3px;
  bottom:2px;
  font-size:11px;
  font-weight:900;
  line-height:1;
  color: rgba(0,0,0,.75);
}

/* Out number marker: circled 1/2/3 */
.spsls-ge-scorecard .pa-outcircle{
  position:absolute;
  left:50%;
  /* Place the out circle inside the diamond */
  top:56%;
  transform: translate(-50%, -50%);
  width:20px;
  height:20px;
  border-radius:50%;
  border:2px solid #c62828;
  color:#c62828;
  font-size:13px;
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  /* transparent fill (no "disc"), keep red outline */
  background: transparent;
}


/* Count (balls/strikes) */
.spsls-ge-scorecard .pa-count{
  position:absolute;
  right:3px;
  top:3px;
  display:flex;
  gap:1px;
}
.spsls-ge-scorecard .pa-col{
  display:flex;
  flex-direction:column;
  gap:1px;
}
.spsls-ge-scorecard .pa-count .dot{
  width:6px;
  height:6px;
  border-radius:50%;
  border:1px solid rgba(0,0,0,.45);
  background: rgba(255,255,255,.85);
}
.spsls-ge-scorecard .pa-count .dot.is-filled{
  background: rgba(0,0,0,.78);
}

/* Walk award note (e.g. BB to 2B) */
.spsls-ge-scorecard .pa-award{
  position:absolute;
  left:4px;
  top:18px;
  font-size:9px;
  line-height:1;
  font-weight:800;
  opacity:.85;
}

/* RBI count bottom-left */
.spsls-ge-scorecard .pa-rbi{
  position:absolute;
  left:4px;
  bottom:3px;
  font-size:10px;
  line-height:1;
  font-weight:900;
  opacity:.95;
}

/* Out notation bottom-right styled above (red). */

/* Substitution markers in the name column */
.spsls-ge-scorecard .spsls-ge-slot{ font-weight:900; margin-right:4px; }
.spsls-ge-scorecard .spsls-ge-arrow{ font-weight:900; }
.spsls-ge-scorecard .spsls-ge-arrow--out{ color:#c62828; }
.spsls-ge-scorecard .spsls-ge-arrow--in{ color:#2e7d32; }

/* Substitution divider within the inning grid: thick vertical rule to separate starter vs sub PAs */
.spsls-ge-scorecard td.spsls-td-subend{ border-right: 3px solid rgba(0,0,0,0.75) !important; }
.spsls-ge-scorecard td.spsls-td-after-sub{ border-left: 0 !important; }

/* Multi-line name / totals cells (substitutions share the same lineup slot row) */
.spsls-ge-scorecard .spsls-ge-namewrap{ display:flex; gap:6px; align-items:flex-start; }
.spsls-ge-scorecard .spsls-ge-namewrap .spsls-ge-slot{ font-weight:700; min-width: 20px; }
.spsls-ge-scorecard .spsls-ge-occupants{ display:flex; flex-direction:column; gap:2px; }
.spsls-ge-scorecard .spsls-ge-occupant{ line-height: 1.15; }
.spsls-ge-scorecard .spsls-ge-submark{ font-size:11px; font-weight:800; opacity:.9; }



.spsls-ge-scorecard th.col-inning,
.spsls-ge-scorecard td.col-inning{ width:64px; min-width:64px; }
.spsls-ge-scorecard th.col-stat,
.spsls-ge-scorecard td.col-stat{ width:44px; min-width:44px; }


/* Team totals row */
.spsls-ge-scorecard .spsls-ge-totalrow td{
  background: rgba(0,0,0,.03);
  font-weight:800;
}

.spsls-ge-scorecard .spsls-ge-totalrow .col-name{
  color:#000;
  background: rgba(0,0,0,.03);
}

.spsls-ge-scorecard .pa-oc--error{ color:#c62828; }

.spsls-ge-ss__panel{ margin-bottom: 14px; }
.spsls-ge-ss__panel:last-child{ margin-bottom:0; }

/* Prevent the sticky name column from collapsing on narrow screens */
.spsls-ge-scorecard th.name,
.spsls-ge-scorecard td.name{
  min-width: 180px;
}

@media(max-width: 820px){
  .spsls-ge-ss__grid{
    grid-template-columns: 1fr;
  }
  .spsls-ge-ss__scorecard{
    -webkit-overflow-scrolling: touch;
  }
}


/* v0.8.49.23 UI parity tweaks */
.spsls-ge-ss__panel--linescore { margin: 0; padding: 0; overflow: hidden; }
.spsls-ge-ss__panel--linescore .spsls-ge-card { margin: 0; }
.spsls-ge-ss__panel--linescore .spsls-ge-card--flush { margin: 0; }

/* Remove any unexpected extra whitespace under the linescore table. */
.spsls-ge-ss__panel--linescore .ge-linescore{ margin:0; padding:0; line-height:0; }
.spsls-ge-ss__panel--linescore .ge-linescore table{ line-height:normal; }

/* Situation two-column: even split + comfortable gap on wide screens */
.spsls-ge-ss__situation--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
}
@media (max-width: 720px){
  .spsls-ge-ss__situation--two{ grid-template-columns: 1fr; row-gap: 14px; }
}

/* Commentary (human readable) */
.spsls-ge-ss__commentary{
  font-size:13px;
  line-height:1.7;
  max-height: 320px;
  overflow:auto;
  border:0;
  border-radius:0;
  padding:0;
  background: transparent;
}
.spsls-ge-ss__commentary .row{ display:flex; gap:10px; padding:4px 0; border-bottom:1px dashed rgba(0,0,0,.10); }
.spsls-ge-ss__commentary .row:last-child{ border-bottom:0; }
.spsls-ge-ss__commentary .seq{ width:52px; opacity:.65; }
.spsls-ge-ss__commentary .time{ width:64px; opacity:.65; }
.spsls-ge-ss__commentary .desc{ flex:1; }


/* v0.8.54.11 refinements */
.spsls-ge-scorecard th.col-inning,
.spsls-ge-scorecard td.col-inning{ width:66px; min-width:66px; }
.spsls-ge-scorecard th.col-stat,
.spsls-ge-scorecard td.col-stat{ width:42px; min-width:42px; }
.spsls-ge-scorecard tr.spsls-ge-totalrow td.col-inningtot,
.spsls-ge-scorecard tr.spsls-ge-totalrow td.col-inningtot strong,
.spsls-ge-scorecard tr.spsls-ge-totalrow td.col-stat,
.spsls-ge-scorecard tr.spsls-ge-totalrow td.col-stat strong{
  font-size: 14px !important;
  line-height: 1;
}
.spsls-ge-scorecard tr.spsls-ge-totalrow td.col-inningtot strong,
.spsls-ge-scorecard tr.spsls-ge-totalrow td.col-stat strong{ font-weight: 800; }
.spsls-ge-scorecard tr.spsls-ge-totalrow td.col-inningtot{ vertical-align: middle; }

.spsls-ge-ss__situation--two{ align-items: stretch; }
.spsls-ge-ss__sitcol--left,
.spsls-ge-ss__sitcol--right{ display:flex; flex-direction:column; min-height:100%; }
.spsls-ge-ss__sitcol--left{ justify-content:space-between; }
.spsls-ge-ss__sitmeta{
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:space-evenly;
}
.spsls-ge-ss__batters{
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:space-evenly;
}
.spsls-ge-ss__commentary .seq{ display:none; }

/* Give shortcode scorecard modules a roomier first column on frontend pages. */
.spsls-ge-scoresheet--module-scorecard-home .spsls-ge-scorecard .col-name,
.spsls-ge-scoresheet--module-scorecard-away .spsls-ge-scorecard .col-name{
  min-width:240px;
  width:240px;
}

/* v0.8.61.7 Phase 4.2 scorecard polish */
.spsls-ge-scorecard .spsls-ge-namewrap{ gap:8px; }
.spsls-ge-scorecard .spsls-ge-namewrap .spsls-ge-slot{ min-width: 24px; padding-top: 2px; }
.spsls-ge-scorecard .spsls-ge-occupants{ gap:4px; width:100%; }
.spsls-ge-scorecard .spsls-ge-occupant{ display:flex; align-items:flex-start; justify-content:space-between; gap:8px; padding:1px 0; }
.spsls-ge-scorecard .spsls-ge-occupant.has-next{ border-bottom:1px solid rgba(0,0,0,.08); padding-bottom:4px; margin-bottom:1px; }
.spsls-ge-scorecard .spsls-ge-occupant-label{ flex:1 1 auto; min-width:0; }
.spsls-ge-scorecard .spsls-ge-occupant-meta{ display:inline-flex; align-items:center; gap:6px; flex:0 0 auto; white-space:nowrap; }
.spsls-ge-scorecard .spsls-ge-subevent{ display:inline-flex; align-items:center; gap:3px; }
.spsls-ge-scorecard .spsls-ge-occupant.is-sub .spsls-ge-occupant-label{ opacity:.92; }
.spsls-ge-scorecard .spsls-ge-occupant--stat{ justify-content:center; padding:1px 0; }
.spsls-ge-scorecard .col-stat .spsls-ge-occupants{ align-items:stretch; }
.spsls-ge-scorecard .col-stat .spsls-ge-occupant.has-next,
.spsls-ge-scorecard .col-tot .spsls-ge-occupant.has-next{ border-bottom:1px solid rgba(0,0,0,.08); }
@media (max-width: 980px){
  .spsls-ge-scorecard .spsls-ge-occupant{ flex-direction:column; align-items:flex-start; gap:2px; }
  .spsls-ge-scorecard .spsls-ge-occupant-meta{ gap:5px; }
}

/* v0.8.61.8 Phase 4.2 final polish */
.spsls-ge-scorecard .spsls-ge-namewrap{ align-items:stretch; }
.spsls-ge-scorecard .spsls-ge-namewrap .spsls-ge-slot{
  display:flex;
  align-items:center;
  justify-content:center;
  align-self:stretch;
  padding-top:0;
  padding-bottom:0;
  min-width:28px;
}
.spsls-ge-scorecard .col-stat .spsls-ge-occupant,
.spsls-ge-scorecard .col-tot .spsls-ge-occupant{
  align-items:center;
  text-align:center;
}
.spsls-ge-scorecard .col-stat .spsls-ge-occupant.has-next,
.spsls-ge-scorecard .col-tot .spsls-ge-occupant.has-next{
  border-bottom:1px solid rgba(0,0,0,.10);
  padding-bottom:4px;
  margin-bottom:1px;
}
.spsls-ge-scorecard tr.spsls-ge-totalrow td,
.spsls-ge-scorecard tr.spsls-ge-totalrow .col-name{
  background: rgba(0,0,0,.03) !important;
}
.spsls-ge-scorecard tr.spsls-ge-totalrow .col-name{
  text-align:right;
  padding: 10px 14px 10px 18px;
}


/* v0.8.61.9 scorecard name-column fit patch */
.spsls-ge-scorecard .spsls-ge-namewrap .spsls-ge-slot{
  min-width:22px;
  width:22px;
  max-width:22px;
}
.spsls-ge-scorecard td.col-name{
  min-width:260px;
  width:260px;
}
.spsls-ge-scorecard .spsls-ge-occupant-label{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
@media (max-width: 980px){
  .spsls-ge-scorecard .spsls-ge-occupant-label{
    white-space:nowrap;
  }
}


/* Live game layout engine */
.slss-live-game{display:flex;flex-direction:column;gap:16px}
.slss-live-game__heading h2{margin:0 0 4px 0;font-size:28px;line-height:1.2}
.slss-live-game__row{display:grid;grid-template-columns:1fr;gap:16px;align-items:start}
.slss-live-game__row--two{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.slss-live-game__row--full{display:block}
.slss-live-game__cell{min-width:0}
.slss-live-game__cell--half{min-width:0}
.slss-live-game__cell--full{grid-column:1/-1;display:block;width:100%}
.slss-live-game__row--full > .slss-live-game__cell--full{width:100%}
.slss-live-game__panel{min-width:0;width:100%;height:100%;box-sizing:border-box}
.slss-live-game__panel--scorecard-home,
.slss-live-game__panel--scorecard-away,
.slss-live-game__panel--linescore{width:100%;max-width:none;overflow-x:auto}
.slss-live-game__panel .spsls-ge-scorecard-wrap,
.slss-live-game__panel .spsls-ge-ss__linescore{min-width:0;width:100%;max-width:none}
.slss-live-game__panel .spsls-ge-scorecard{width:100%}
.slss-live-game-layout .spsls-ge-ss__grid{display:block}
@media (max-width: 980px){.slss-live-game__row--two{grid-template-columns:1fr}}


/* v0.8.66.1 live page embed polish */
.slss-live-game__panel--linescore{
  padding:0 !important;
  overflow:hidden;
}
.slss-live-game__panel--linescore > h3{
  display:none !important;
}
.slss-live-game__panel--linescore .spsls-ge-ss__linescore{
  margin:0 !important;
  border:none !important;
  border-radius:inherit !important;
  width:100% !important;
  max-width:none !important;
}

.slss-live-game__panel--scorecard-home,
.slss-live-game__panel--scorecard-away{
  padding:0 !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
}
.slss-live-game__panel--scorecard-home > h3,
.slss-live-game__panel--scorecard-away > h3{
  margin:12px 16px 0 16px;
}
.slss-live-game__panel--scorecard-home .spsls-ge-scorecard-wrap,
.slss-live-game__panel--scorecard-away .spsls-ge-scorecard-wrap{
  margin:0 !important;
  padding:0 !important;
  border:none !important;
  border-radius:0 0 18px 18px !important;
  width:100% !important;
  max-width:none !important;
}
.slss-live-game__panel--scorecard-home .spsls-ge-scorecard-wrap > *,
.slss-live-game__panel--scorecard-away .spsls-ge-scorecard-wrap > *{
  width:100% !important;
  max-width:none !important;
}
.slss-live-game__panel--scorecard-home table,
.slss-live-game__panel--scorecard-away table{
  width:max-content !important;
  min-width:100% !important;
  table-layout:auto !important;
}



/* v0.8.66.2 scorecard fit polish */
.slss-live-game__panel--scorecard-home,
.slss-live-game__panel--scorecard-away{
  padding:0 !important;
  margin:0 !important;
  overflow:hidden !important;
}
.slss-live-game__panel--scorecard-home > h3,
.slss-live-game__panel--scorecard-away > h3{
  display:none !important;
}
.slss-live-game__panel--scorecard-home .spsls-ge-scorecard-wrap,
.slss-live-game__panel--scorecard-away .spsls-ge-scorecard-wrap{
  margin:0 !important;
  padding:0 !important;
  border:none !important;
  border-radius:inherit !important;
  width:100% !important;
  max-width:none !important;
}
.slss-live-game__panel--scorecard-home .spsls-ge-scorecard,
.slss-live-game__panel--scorecard-away .spsls-ge-scorecard{
  margin:0 !important;
  border:none !important;
  border-radius:inherit !important;
  width:100% !important;
  max-width:none !important;
}

/* Let the full scorecard fit by slightly reducing cell footprint on the live page only */
.slss-live-game__panel--scorecard-home .spsls-ge-scorecard-table,
.slss-live-game__panel--scorecard-away .spsls-ge-scorecard-table{
  width:100% !important;
  max-width:none !important;
  table-layout:fixed !important;
}
.slss-live-game__panel--scorecard-home .spsls-ge-scorecard-table th,
.slss-live-game__panel--scorecard-home .spsls-ge-scorecard-table td,
.slss-live-game__panel--scorecard-away .spsls-ge-scorecard-table th,
.slss-live-game__panel--scorecard-away .spsls-ge-scorecard-table td{
  padding:4px 4px !important;
}
.slss-live-game__panel--scorecard-home .spsls-ge-scorecard-table th:not(:first-child),
.slss-live-game__panel--scorecard-home .spsls-ge-scorecard-table td:not(:first-child),
.slss-live-game__panel--scorecard-away .spsls-ge-scorecard-table th:not(:first-child),
.slss-live-game__panel--scorecard-away .spsls-ge-scorecard-table td:not(:first-child){
  min-width:48px !important;
}
.slss-live-game__panel--scorecard-home .spsls-ge-scorecard-table th:first-child,
.slss-live-game__panel--scorecard-home .spsls-ge-scorecard-table td:first-child,
.slss-live-game__panel--scorecard-away .spsls-ge-scorecard-table th:first-child,
.slss-live-game__panel--scorecard-away .spsls-ge-scorecard-table td:first-child{
  min-width:210px !important;
}
.slss-live-game__panel--scorecard-home .spsls-ge-scorecard-cell,
.slss-live-game__panel--scorecard-away .spsls-ge-scorecard-cell{
  min-height:52px !important;
  height:52px !important;
}
.slss-live-game__panel--scorecard-home .spsls-ge-scorecard-diamond,
.slss-live-game__panel--scorecard-away .spsls-ge-scorecard-diamond{
  width:22px !important;
  height:22px !important;
}
.slss-live-game__panel--scorecard-home .spsls-ge-scorecard-pitches,
.slss-live-game__panel--scorecard-away .spsls-ge-scorecard-pitches{
  transform:scale(0.9);
  transform-origin:top right;
}
.slss-live-game__panel--scorecard-home .spsls-ge-scorecard-result,
.slss-live-game__panel--scorecard-away .spsls-ge-scorecard-result,
.slss-live-game__panel--scorecard-home .spsls-ge-scorecard-outcome,
.slss-live-game__panel--scorecard-away .spsls-ge-scorecard-outcome{
  font-size:11px !important;
  line-height:1.1 !important;
}



/* fallback generic scorecard sizing for live page */
.slss-live-game__panel--scorecard-home table,
.slss-live-game__panel--scorecard-away table{
  width:100% !important;
  max-width:none !important;
  table-layout:fixed !important;
}
.slss-live-game__panel--scorecard-home .scorecard-box,
.slss-live-game__panel--scorecard-away .scorecard-box,
.slss-live-game__panel--scorecard-home .spsls-scorecard-box,
.slss-live-game__panel--scorecard-away .spsls-scorecard-box{
  min-height:52px !important;
  height:52px !important;
}
.slss-live-game__panel--scorecard-home .scorecard-box .diamond,
.slss-live-game__panel--scorecard-away .scorecard-box .diamond,
.slss-live-game__panel--scorecard-home .spsls-scorecard-box .diamond,
.slss-live-game__panel--scorecard-away .spsls-scorecard-box .diamond{
  width:22px !important;
  height:22px !important;
}



/* v0.8.66.3 final live-page UI polish */
.slss-live-game{
  gap:14px;
}
.slss-live-game__row{
  gap:14px;
}
.slss-live-game__panel{
  box-sizing:border-box;
}
.slss-live-game__panel--linescore{
  position:sticky;
  top:0;
  z-index:8;
  padding:0 !important;
  overflow:hidden;
}
.slss-live-game__panel--linescore .spsls-ge-ss__linescore{
  margin:0 !important;
  width:100% !important;
  border:none !important;
  border-radius:inherit !important;
}
.slss-live-game__panel--scorecard-home,
.slss-live-game__panel--scorecard-away{
  padding:0 !important;
  overflow:hidden !important;
}
.slss-live-game__panel--scorecard-home .spsls-ge-scorecard-wrap,
.slss-live-game__panel--scorecard-away .spsls-ge-scorecard-wrap{
  margin:0 !important;
  padding:0 !important;
  border:none !important;
  transform-origin:top left;
  will-change:transform;
}
.slss-live-game__panel--scorecard-home .spsls-ge-scorecard,
.slss-live-game__panel--scorecard-away .spsls-ge-scorecard{
  margin:0 !important;
  border:none !important;
  border-radius:inherit !important;
}
.slss-live-game__panel--scorecard-home table,
.slss-live-game__panel--scorecard-away table{
  width:max-content !important;
  min-width:100% !important;
}
.slss-live-game__panel--scorecard-home table th:first-child,
.slss-live-game__panel--scorecard-home table td:first-child,
.slss-live-game__panel--scorecard-away table th:first-child,
.slss-live-game__panel--scorecard-away table td:first-child{
  min-width:208px !important;
}
.slss-live-game__panel--scorecard-home table th:not(:first-child),
.slss-live-game__panel--scorecard-home table td:not(:first-child),
.slss-live-game__panel--scorecard-away table th:not(:first-child),
.slss-live-game__panel--scorecard-away table td:not(:first-child){
  min-width:44px !important;
}
.slss-live-game__panel--scorecard-home table,
.slss-live-game__panel--scorecard-away table,
.slss-live-game__panel--linescore table{
  border-collapse:collapse;
}
.slss-live-game__panel--scorecard-home table th,
.slss-live-game__panel--scorecard-home table td,
.slss-live-game__panel--scorecard-away table th,
.slss-live-game__panel--scorecard-away table td{
  border-color:#e8eaed !important;
}
@media (max-width: 980px){
  .slss-live-game__panel--linescore{
    position:static;
  }
}



/* v0.8.67.1 live-page scorecard column fit fix */
.slss-live-game__panel--scorecard-home,
.slss-live-game__panel--scorecard-away{
  padding:0 !important;
  overflow:hidden !important;
}
.slss-live-game__panel--scorecard-home .spsls-ge-scorecard-wrap,
.slss-live-game__panel--scorecard-away .spsls-ge-scorecard-wrap{
  margin:0 !important;
  padding:0 !important;
  border:none !important;
  transform-origin:top left;
  will-change:transform;
}
.slss-live-game__panel--scorecard-home table,
.slss-live-game__panel--scorecard-away table{
  width:max-content !important;
  min-width:100% !important;
  table-layout:fixed !important;
}
.slss-live-game__panel--scorecard-home table th:first-child,
.slss-live-game__panel--scorecard-home table td:first-child,
.slss-live-game__panel--scorecard-away table th:first-child,
.slss-live-game__panel--scorecard-away table td:first-child{
  min-width:188px !important;
  width:188px !important;
}
.slss-live-game__panel--scorecard-home table th:not(:first-child),
.slss-live-game__panel--scorecard-home table td:not(:first-child),
.slss-live-game__panel--scorecard-away table th:not(:first-child),
.slss-live-game__panel--scorecard-away table td:not(:first-child){
  min-width:38px !important;
  width:38px !important;
  padding-left:3px !important;
  padding-right:3px !important;
}
.slss-live-game__panel--scorecard-home .spsls-ge-scorecard-cell,
.slss-live-game__panel--scorecard-away .spsls-ge-scorecard-cell{
  min-height:46px !important;
  height:46px !important;
  padding-top:2px !important;
  padding-bottom:2px !important;
}
.slss-live-game__panel--scorecard-home .spsls-ge-scorecard-diamond,
.slss-live-game__panel--scorecard-away .spsls-ge-scorecard-diamond{
  width:19px !important;
  height:19px !important;
}
.slss-live-game__panel--scorecard-home .spsls-ge-scorecard-pitches,
.slss-live-game__panel--scorecard-away .spsls-ge-scorecard-pitches{
  transform:scale(0.82) !important;
  transform-origin:top right !important;
}
.slss-live-game__panel--scorecard-home .spsls-ge-scorecard-result,
.slss-live-game__panel--scorecard-home .spsls-ge-scorecard-outcome,
.slss-live-game__panel--scorecard-away .spsls-ge-scorecard-result,
.slss-live-game__panel--scorecard-away .spsls-ge-scorecard-outcome{
  font-size:10px !important;
  line-height:1.05 !important;
}
.slss-live-game__panel--scorecard-home .spsls-ge-scorecard-table th,
.slss-live-game__panel--scorecard-home .spsls-ge-scorecard-table td,
.slss-live-game__panel--scorecard-away .spsls-ge-scorecard-table th,
.slss-live-game__panel--scorecard-away .spsls-ge-scorecard-table td{
  border-color:#eceff1 !important;
}

