/* SCOREBOOK_LIVESCORE_ALLTAB_STABLE_DOM_CSS_V16_3_6 */

.sb-live-main-dashboard-v163 [data-live-list] {
  display: block;
  width: 100%;
  min-width: 0;
}

.sb-v163-dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 14px;
  padding: 18px 22px;
  border: 1px solid #d6e2eb;
  border-radius: 12px;
  background:
    radial-gradient(circle at 78% 20%, rgba(12, 130, 199, .11), transparent 32%),
    linear-gradient(135deg, #ffffff, #f5f9fc);
  box-shadow: 0 7px 22px rgba(17, 52, 77, .055);
}

.sb-v163-dashboard-head small {
  display: block;
  margin-bottom: 5px;
  color: #1580bd;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.sb-v163-dashboard-head h2 {
  margin: 0;
  color: #073f6d;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -.045em;
}

.sb-v163-dashboard-head p {
  margin: 7px 0 0;
  color: #718899;
  font-size: 12px;
}

.sb-v163-live-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid #d9e7ef;
  border-radius: 999px;
  color: #537083;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.sb-v163-live-pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #21bd7c;
  box-shadow: 0 0 0 5px rgba(33, 189, 124, .12);
}

.sb-v163-sport-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.sb-v163-sport-card,
.sb-v163-full-board,
.sb-v163-league {
  --sb-v163-accent: #0875b6;
  overflow: hidden;
  min-width: 0;
  border: 1px solid #d5e1e9;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(16, 50, 75, .055);
}

.sb-v163-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 14px;
  color: #fff;
  background: linear-gradient(135deg, #073d69, #0a5c90);
}

.sb-v163-card-head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 16px;
  letter-spacing: -.03em;
}

.sb-v163-card-head h2 span {
  font-size: 18px;
}

.sb-v163-card-head > div {
  display: flex;
  align-items: baseline;
  gap: 3px;
  color: #cfebfb;
}

.sb-v163-card-head > div b {
  color: #fff;
  font-size: 14px;
}

.sb-v163-card-head > div small {
  font-size: 9px;
}

.sb-v163-sport-tabs {
  display: flex;
  align-items: center;
  overflow-x: auto;
  border-bottom: 1px solid #dfe8ee;
  background: #fbfdfe;
  scrollbar-width: none;
}

.sb-v163-sport-tabs::-webkit-scrollbar {
  display: none;
}

.sb-v163-sport-tabs span,
.sb-v163-sport-tabs button {
  position: relative;
  flex: 1 0 auto;
  min-width: 54px;
  padding: 10px 8px 9px;
  color: #60798c;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.sb-v163-sport-tabs span.active,
.sb-v163-sport-tabs button.active {
  color: #073f6d;
  font-weight: 900;
}

.sb-v163-sport-tabs span.active::after,
.sb-v163-sport-tabs button.active::after {
  content: '';
  position: absolute;
  right: 9px;
  bottom: -1px;
  left: 9px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--sb-v163-accent, #0875b6);
}

.sb-v163-feature {
  padding: 12px 12px 10px;
  background: #fff;
}

.sb-v163-feature-meta {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-bottom: 10px;
  overflow: hidden;
  color: #718899;
  font-size: 9px;
  white-space: nowrap;
}

.sb-v163-feature-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.sb-v163-scoreline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.sb-v163-team {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.sb-v163-team-away {
  justify-content: flex-end;
  text-align: right;
}

.sb-v163-team b {
  overflow: hidden;
  color: #143d5c;
  font-size: 11px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sb-v163-team-mark {
  display: inline-flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border: 1px solid #d9e3e9;
  border-radius: 50%;
  color: #0b5a8e;
  background: #f3f7fa;
  font-size: 10px;
  font-weight: 900;
}

.sb-v163-team-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sb-v163-score-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 74px;
}

.sb-v163-score-center small {
  max-width: 110px;
  margin-bottom: 3px;
  overflow: hidden;
  color: #e5384e;
  font-size: 9px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sb-v163-score-center strong {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #073f6d;
  font-size: 25px;
  line-height: 1;
}

.sb-v163-score-center strong i,
.sb-v163-score-center strong em {
  font-style: normal;
}

.sb-v163-score-center strong em {
  color: #94a9b7;
  font-size: 14px;
}

.sb-v163-surface {
  position: relative;
  min-height: 120px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 7px;
  background: #eff5f8;
}

.sb-v163-surface-lines,
.sb-v163-surface-lines::before,
.sb-v163-surface-lines::after {
  position: absolute;
  content: '';
  box-sizing: border-box;
}

.sb-v163-surface-label {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  padding: 7px 10px;
  border-radius: 6px;
  color: #fff;
  background: rgba(3, 39, 64, .72);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .06em;
  white-space: nowrap;
}

/* Soccer pitch */
.sb-v163-surface-pitch {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 34px, rgba(0,0,0,.025) 34px 68px),
    linear-gradient(#278a46, #1d733c);
}
.sb-v163-surface-pitch .sb-v163-surface-lines {
  inset: 10px;
  border: 1px solid rgba(255,255,255,.72);
}
.sb-v163-surface-pitch .sb-v163-surface-lines::before {
  top: 0; bottom: 0; left: 50%; border-left: 1px solid rgba(255,255,255,.72);
}
.sb-v163-surface-pitch .sb-v163-surface-lines::after {
  top: 50%; left: 50%; width: 38px; height: 38px; transform: translate(-50%,-50%);
  border: 1px solid rgba(255,255,255,.72); border-radius: 50%;
}

/* Baseball diamond */
.sb-v163-surface-diamond {
  background: linear-gradient(150deg, #eaf3e6 0 38%, #b9814e 38% 62%, #eaf3e6 62%);
}
.sb-v163-surface-diamond .sb-v163-surface-lines {
  top: 50%; left: 50%; width: 66px; height: 66px;
  transform: translate(-50%, -43%) rotate(45deg);
  border: 2px solid #fff; background: rgba(79, 153, 79, .82);
}
.sb-v163-surface-diamond .sb-v163-surface-lines::before {
  inset: 17px; border: 1px solid rgba(255,255,255,.9);
}

/* Basketball court */
.sb-v163-surface-court {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.13) 0 1px, transparent 1px 28px),
    linear-gradient(#d5a85b, #c99547);
}
.sb-v163-surface-court .sb-v163-surface-lines {
  inset: 9px; border: 1px solid rgba(255,255,255,.8);
}
.sb-v163-surface-court .sb-v163-surface-lines::before {
  top: 0; bottom: 0; left: 50%; border-left: 1px solid rgba(255,255,255,.8);
}
.sb-v163-surface-court .sb-v163-surface-lines::after {
  top: 50%; left: 50%; width: 36px; height: 36px; transform: translate(-50%,-50%);
  border: 1px solid rgba(255,255,255,.8); border-radius: 50%;
}

/* Hockey rink */
.sb-v163-surface-rink {
  border: 1px solid #c7dce8;
  border-radius: 46px;
  background:
    linear-gradient(90deg, transparent 31%, rgba(24,110,179,.55) 31% 32%, transparent 32% 68%, rgba(24,110,179,.55) 68% 69%, transparent 69%),
    linear-gradient(90deg, transparent 49.6%, rgba(214,52,73,.65) 49.6% 50.4%, transparent 50.4%),
    #f4fbff;
}
.sb-v163-surface-rink .sb-v163-surface-lines::before,
.sb-v163-surface-rink .sb-v163-surface-lines::after {
  top: 50%; width: 28px; height: 28px; transform: translateY(-50%);
  border: 1px solid rgba(214,52,73,.38); border-radius: 50%;
}
.sb-v163-surface-rink .sb-v163-surface-lines::before { left: 22%; }
.sb-v163-surface-rink .sb-v163-surface-lines::after { right: 22%; }

/* Tennis court */
.sb-v163-surface-tennis {
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(255,255,255,.9) 49.5% 50.5%, transparent 50.5%),
    linear-gradient(#879f4d, #6f8938);
}
.sb-v163-surface-tennis .sb-v163-surface-lines {
  inset: 12px 24px; border: 1px solid rgba(255,255,255,.85);
}
.sb-v163-surface-tennis .sb-v163-surface-lines::before {
  top: 50%; right: 0; left: 0; border-top: 1px solid rgba(255,255,255,.85);
}

/* American football field */
.sb-v163-surface-gridiron {
  background:
    repeating-linear-gradient(90deg, transparent 0 9%, rgba(255,255,255,.38) 9% 9.4%, transparent 9.4% 10%),
    linear-gradient(#347b3f, #286c34);
}
.sb-v163-surface-gridiron .sb-v163-surface-lines {
  inset: 8px; border: 1px solid rgba(255,255,255,.78);
}
.sb-v163-surface-gridiron .sb-v163-surface-lines::after {
  top: 0; bottom: 0; left: 50%; border-left: 2px solid rgba(255,255,255,.72);
}

.sb-v163-period-scroll {
  overflow-x: auto;
  border-top: 1px solid #e1e9ee;
  scrollbar-width: thin;
}

.sb-v163-period-table {
  width: 100%;
  min-width: 430px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 9px;
}

.sb-v163-period-table th,
.sb-v163-period-table td {
  padding: 7px 4px;
  border-right: 1px solid #e3eaef;
  border-bottom: 1px solid #e3eaef;
  color: #395a70;
  text-align: center;
  white-space: nowrap;
}

.sb-v163-period-table th:first-child {
  width: 98px;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
}

.sb-v163-period-table thead th {
  color: #49687d;
  background: #f0f5f8;
  font-weight: 900;
}

.sb-v163-period-table .total {
  color: #fff;
  background: #073f6d;
  font-weight: 900;
}

.sb-v163-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 10px 12px 12px;
  border-top: 1px solid #e3ebf0;
  background: #fbfdfe;
}

.sb-v163-metric {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 7px 8px 9px;
  border: 1px solid #e1e9ef;
  border-radius: 7px;
  background: #fff;
}

.sb-v163-metric span {
  overflow: hidden;
  color: #0a6ca6;
  font-size: 9px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sb-v163-metric span:nth-of-type(2) {
  color: #d53950;
  text-align: right;
}

.sb-v163-metric b {
  color: #667f91;
  font-size: 8px;
  white-space: nowrap;
}

.sb-v163-metric-bar {
  display: flex;
  grid-column: 1 / -1;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef2;
}

.sb-v163-metric-bar i:first-child { background: #1482c1; }
.sb-v163-metric-bar i:last-child { background: #df3f55; }

.sb-v163-card-rows,
.sb-v163-league-games {
  display: block;
}

.sb-v163-game-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 58px minmax(0, 1fr) auto;
  align-items: center;
  min-width: 0;
  min-height: 48px;
  border-top: 1px solid #e4ebf0;
  color: #234861;
  background: #fff;
  cursor: pointer;
  transition: background .15s ease, box-shadow .15s ease;
}

.sb-v163-game-row:hover,
.sb-v163-game-row:focus-visible {
  z-index: 1;
  background: #f5faff;
  box-shadow: inset 3px 0 0 var(--sb-v163-accent, #0875b6);
  outline: 0;
}

.sb-v163-row-status {
  padding: 7px 5px;
  text-align: center;
}

.sb-v163-row-status b {
  display: block;
  overflow: hidden;
  color: #0b6a9f;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sb-v163-game-row.is-live .sb-v163-row-status b {
  color: #ed384f;
}

.sb-v163-row-status small {
  display: block;
  margin-top: 2px;
  color: #8aa0af;
  font-size: 8px;
}

.sb-v163-row-team {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 7px 4px;
}

.sb-v163-row-team.away {
  justify-content: flex-end;
  text-align: right;
}

.sb-v163-row-team .sb-v163-team-mark {
  flex-basis: 24px;
  width: 24px;
  height: 24px;
  font-size: 8px;
}

.sb-v163-row-team span:not(.sb-v163-team-mark) {
  overflow: hidden;
  font-size: 9px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sb-v163-row-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #073f6d;
  white-space: nowrap;
}

.sb-v163-row-score strong {
  font-size: 13px;
}

.sb-v163-row-score i {
  color: #91a8b7;
  font-style: normal;
}

.sb-v163-row-meta {
  min-width: 0;
  padding: 5px 7px;
}

.sb-v163-row-meta span,
.sb-v163-row-meta small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sb-v163-row-meta span {
  color: #72899a;
  font-size: 9px;
  font-weight: 800;
}

.sb-v163-row-meta small {
  margin-top: 2px;
  color: #9aacb8;
  font-size: 8px;
}

.sb-v163-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 39px;
  min-height: 30px;
  margin-right: 7px;
  padding: 0 8px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: #05689f;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}

.sb-v163-view i {
  font-size: 13px;
  font-style: normal;
  line-height: 1;
}

.sb-v163-sport-more {
  width: 100%;
  padding: 10px;
  border: 0;
  border-top: 1px solid #dde7ed;
  color: #0a5786;
  background: #f4f8fb;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.sb-v163-sport-more:hover {
  background: #eaf4fa;
}

.sb-v163-empty-card,
.sb-v163-empty-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 208px;
  margin: 0;
  padding: 24px;
  color: #7c92a2;
  text-align: center;
  background: linear-gradient(135deg, #fbfdfe, #f3f7fa);
}

.sb-v163-empty-card span {
  font-size: 29px;
  filter: grayscale(.35);
  opacity: .55;
}

.sb-v163-empty-card b {
  margin-top: 8px;
  color: #3b607a;
}

.sb-v163-empty-card p,
.sb-v163-empty-list {
  margin-top: 6px;
  font-size: 10px;
  line-height: 1.55;
}

/* Full sport view */
.sb-v163-dashboard-head.is-sport {
  border-top: 4px solid var(--sb-v163-accent, #0875b6);
}

.sb-v163-full-board {
  margin-bottom: 14px;
}

.sb-v163-full-feature {
  display: grid;
  grid-template-columns: minmax(340px, 1.1fr) minmax(300px, .9fr);
  align-items: stretch;
}

.sb-v163-full-feature > .sb-v163-feature {
  border-right: 1px solid #dfe8ed;
}

.sb-v163-full-feature .sb-v163-surface {
  min-height: 210px;
}

.sb-v163-full-detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  background: #fbfdfe;
}

.sb-v163-full-detail:empty {
  display: none;
}

.sb-v163-full-detail .sb-v163-period-scroll {
  border-top: 0;
}

.sb-v163-league-list {
  display: grid;
  gap: 12px;
}

.sb-v163-league > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 15px;
  border-bottom: 1px solid #dce6ec;
  background: #f8fbfd;
}

.sb-v163-league > header h3 {
  overflow: hidden;
  margin: 0;
  color: #173f5c;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sb-v163-league > header span {
  color: #8196a5;
  font-size: 9px;
}

.sb-v163-league .sb-v163-game-row {
  grid-template-columns: 72px minmax(0, 1fr) 72px minmax(0, 1fr) minmax(110px, .4fr) auto;
  min-height: 62px;
}

.sb-v163-league .sb-v163-row-team span:not(.sb-v163-team-mark) {
  font-size: 11px;
}

.sb-v163-league .sb-v163-row-score strong {
  font-size: 17px;
}

/* Keep V14 lazy status out of the six-card overview, while selected sport keeps it. */
.sb-live-dashboard-grid-v163 [data-live-infinite-status] {
  display: none !important;
}

/* Hide old V16.1 row-only accents when the main renderer owns the list. */
[data-dashboard-renderer="16.3.0"] .sb-v161-list-row {
  box-shadow: none;
}

@media (max-width: 1120px) {
  .sb-v163-sport-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sb-v163-full-feature {
    grid-template-columns: 1fr;
  }
  .sb-v163-full-feature > .sb-v163-feature {
    border-right: 0;
    border-bottom: 1px solid #dfe8ed;
  }
}

@media (max-width: 760px) {
  .sb-v163-dashboard-head {
    align-items: flex-start;
    padding: 15px;
  }
  .sb-v163-dashboard-head h2 {
    font-size: 20px;
  }
  .sb-v163-dashboard-head p {
    display: none;
  }
  .sb-v163-live-pill {
    padding: 7px 9px;
    font-size: 9px;
  }
  .sb-v163-sport-grid {
    grid-template-columns: 1fr;
  }
  .sb-v163-scoreline {
    grid-template-columns: minmax(0, 1fr) 66px minmax(0, 1fr);
  }
  .sb-v163-team b {
    font-size: 10px;
  }
  .sb-v163-surface {
    min-height: 104px;
  }
  .sb-v163-game-row,
  .sb-v163-league .sb-v163-game-row {
    grid-template-columns: 58px minmax(0, 1fr) 54px minmax(0, 1fr) auto;
  }
  .sb-v163-row-meta {
    display: none;
  }
  .sb-v163-view span {
    display: none;
  }
  .sb-v163-view {
    min-width: 30px;
    width: 30px;
    padding: 0;
  }
  .sb-v163-metrics {
    grid-template-columns: 1fr;
  }
  .sb-v163-full-feature .sb-v163-surface {
    min-height: 160px;
  }
}

@media (max-width: 440px) {
  .sb-v163-card-head {
    min-height: 44px;
  }
  .sb-v163-feature {
    padding: 10px 8px 8px;
  }
  .sb-v163-team-mark {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
  }
  .sb-v163-score-center strong {
    font-size: 21px;
  }
  .sb-v163-game-row,
  .sb-v163-league .sb-v163-game-row {
    grid-template-columns: 51px minmax(0, 1fr) 48px minmax(0, 1fr) 34px;
  }
  .sb-v163-row-team .sb-v163-team-mark {
    display: none;
  }
}


/* V16.3 forced ownership and loading state */
.sb-live-main-dashboard-controller-v163 [data-live-list] {
  min-height: 240px;
}

.sb-live-v163-loading [data-live-list] {
  opacity: .74;
  transition: opacity .15s ease;
}

.sb-v163-more-wrap {
  display: flex;
  justify-content: center;
  padding: 18px 0 6px;
}

.sb-v163-load-more {
  min-width: 180px;
  height: 42px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  background: #075487;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.sb-v163-load-more:hover { background: #063f68; }

@media (max-width: 1020px) {
  .sb-v163-sport-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .sb-v163-sport-grid { grid-template-columns: minmax(0, 1fr); }
  .sb-v163-dashboard-head { padding: 16px; }
  .sb-v163-scoreline { grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr); }
  .sb-v163-game-row { grid-template-columns: 64px minmax(0, 1fr) 60px minmax(0, 1fr) 48px; }
  .sb-v163-row-meta { display: none; }
}


/* V16.3.1 refreshes in the background without hiding or dimming current data. */
.sb-live-main-dashboard-controller-v1631.sb-live-v1631-refreshing [data-live-list] {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.sb-live-main-dashboard-controller-v1631.sb-live-v1631-refreshing .sb-v163-live-pill::after {
  content: '';
  width: 10px;
  height: 10px;
  margin-left: 2px;
  border: 2px solid #d8e6ee;
  border-top-color: #1590c8;
  border-radius: 50%;
  animation: sb-v1631-spin .75s linear infinite;
}

@keyframes sb-v1631-spin {
  to { transform: rotate(360deg); }
}


/* SCOREBOOK_LIVESCORE_MASTER_DETAIL_SELECTION_CSS_V16_3_3 */
.sb-v163-card-feature,
.sb-v163-full-feature {
  position: relative;
}

.sb-v163-master-badge {
  position: absolute;
  z-index: 5;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  color: #fff;
  background: rgba(4,60,101,.86);
  box-shadow: 0 4px 12px rgba(5,44,75,.15);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .03em;
  pointer-events: none;
}

.sb-v163-game-row[data-master-detail-row="1"] {
  cursor: pointer !important;
  transition: background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.sb-v163-game-row[data-master-detail-row="1"]:hover {
  background: #f3f9fd;
}

.sb-v163-game-row.is-master-selected {
  position: relative;
  background: linear-gradient(90deg, rgba(8,118,181,.095), rgba(8,118,181,.025)) !important;
  box-shadow: inset 4px 0 0 var(--sb-v163-accent, #0875b6), inset 0 0 0 1px rgba(8,117,182,.12);
}

.sb-v163-game-row.is-master-selected::after {
  content: '상단 표시';
  position: absolute;
  top: 4px;
  right: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  color: #0870ad;
  background: #e9f6fd;
  font-size: 8px;
  font-weight: 900;
  pointer-events: none;
}

.sb-v163-game-row.is-master-selected .sb-v163-view {
  box-shadow: 0 0 0 2px rgba(8,117,182,.16);
}

.sb-v163-view {
  position: relative;
  z-index: 4;
}

@media (max-width: 720px) {
  .sb-v163-master-badge {
    top: 7px;
    left: 7px;
  }

  .sb-v163-game-row.is-master-selected::after {
    display: none;
  }
}


/* SCOREBOOK_LIVESCORE_FUNCTIONAL_SPORT_TABS_CSS_V16_3_4 */
.sb-v163-sport-tabs button {
  appearance: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.sb-v163-sport-tabs button:hover {
  color: #0b659c;
  background: #f3f8fb;
}

.sb-v163-sport-tabs button:focus-visible {
  z-index: 1;
  outline: 2px solid rgba(0, 119, 184, .38);
  outline-offset: -2px;
}

.sb-v1634-tab-panel {
  min-height: 174px;
  animation: sb-v1634-tab-in .18s ease-out;
}

.sb-v163-sport-card .sb-v1634-tab-panel {
  min-height: 250px;
}

@keyframes sb-v1634-tab-in {
  from { opacity: .25; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

.sb-v1634-score-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 28px 24px;
  border-bottom: 1px solid #e0e9ef;
  background: linear-gradient(145deg, #fff, #f7fafc);
}

.sb-v1634-summary-team {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.sb-v1634-summary-team.away {
  justify-content: flex-end;
  text-align: right;
}

.sb-v1634-summary-team b {
  overflow: hidden;
  color: #163d5a;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sb-v1634-summary-center {
  display: flex;
  min-width: 150px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sb-v1634-summary-center small {
  color: #e33a4e;
  font-size: 11px;
  font-weight: 900;
}

.sb-v1634-summary-center strong {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 5px 0 4px;
  color: #073f6d;
  font-size: 31px;
}

.sb-v1634-summary-center strong i,
.sb-v1634-summary-center strong em {
  font-style: normal;
}

.sb-v1634-summary-center span {
  max-width: 260px;
  overflow: hidden;
  color: #7b91a1;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sb-v1634-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 22px;
}

.sb-v1634-info-grid > div {
  min-width: 0;
  padding: 14px 15px;
  border: 1px solid #dce6ec;
  border-radius: 8px;
  background: #f8fbfd;
}

.sb-v1634-info-grid dt {
  margin-bottom: 5px;
  color: #6f8798;
  font-size: 10px;
  font-weight: 800;
}

.sb-v1634-info-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #153e5d;
  font-size: 13px;
  font-weight: 800;
}

.sb-v1634-tab-empty,
.sb-v1634-tab-loading {
  display: flex;
  min-height: 190px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  color: #718899;
  text-align: center;
}

.sb-v1634-tab-empty span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #1679b3;
  background: #eef7fc;
  font-weight: 900;
}

.sb-v1634-tab-empty p,
.sb-v1634-tab-loading p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}

.sb-v1634-tab-loading i {
  width: 27px;
  height: 27px;
  border: 3px solid #d9e8f0;
  border-top-color: #0879b7;
  border-radius: 50%;
  animation: sb-v1634-spin .75s linear infinite;
}

@keyframes sb-v1634-spin { to { transform: rotate(360deg); } }

.sb-v1634-event-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 10px 22px 22px;
  list-style: none;
}

.sb-v1634-event-list li {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 4px;
  border-bottom: 1px solid #e5edf2;
}

.sb-v1634-event-list time {
  color: #0874ad;
  font-size: 11px;
  font-weight: 900;
}

.sb-v1634-event-list span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.sb-v1634-event-list b {
  color: #173e5b;
  font-size: 12px;
}

.sb-v1634-event-list small {
  color: #718899;
  font-size: 11px;
}

.sb-v1634-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 20px 22px;
}

.sb-v1634-stat-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dbe5eb;
  border-radius: 9px;
  background: #fff;
}

.sb-v1634-stat-card h4 {
  margin: 0;
  padding: 12px 14px;
  color: #073f6d;
  background: #f3f8fb;
  font-size: 12px;
}

.sb-v1634-stat-card dl {
  margin: 0;
  padding: 8px 14px 12px;
}

.sb-v1634-stat-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed #e4ebf0;
}

.sb-v1634-stat-card dl > div:last-child { border-bottom: 0; }
.sb-v1634-stat-card dt { color: #678093; font-size: 11px; }
.sb-v1634-stat-card dd { margin: 0; color: #143d5c; font-size: 11px; font-weight: 900; }

.sb-v1634-live-extras:empty { display: none; }

@media (max-width: 760px) {
  .sb-v1634-score-summary {
    grid-template-columns: minmax(0, 1fr) 112px minmax(0, 1fr);
    gap: 7px;
    padding: 20px 10px;
  }
  .sb-v1634-summary-team { flex-direction: column; text-align: center; }
  .sb-v1634-summary-team.away { flex-direction: column-reverse; }
  .sb-v1634-summary-team b { max-width: 110px; font-size: 11px; }
  .sb-v1634-summary-center { min-width: 96px; }
  .sb-v1634-summary-center strong { font-size: 25px; }
  .sb-v1634-info-grid,
  .sb-v1634-stat-grid { grid-template-columns: 1fr; }
  .sb-v1634-info-grid { padding: 14px; }
  .sb-v1634-event-list { padding-right: 14px; padding-left: 14px; }
}


/* SCOREBOOK_FOUR_SPORT_LIVE_DETAIL_VISUALS_V16_3_5 */
.sb-v1635-live-board { padding: 10px; background: #fff; }
.sb-v1635-status-strip { display:flex; align-items:center; gap:8px; min-height:34px; padding:0 10px; margin-bottom:8px; border:1px solid #dce7ee; border-radius:7px; color:#284e69; background:#f8fbfd; font-size:11px; }
.sb-v1635-status-strip b { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sb-v1635-status-strip small { margin-left:auto; color:#8597a5; font-size:9px; }
.sb-v1635-live-dot { width:8px; height:8px; flex:0 0 8px; border-radius:50%; background:#25bd7d; box-shadow:0 0 0 5px rgba(37,189,125,.12); animation:sb-v1635-pulse 1.5s infinite; }
.sb-v1635-main-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(230px,.75fr); gap:10px; }
.sb-v1635-visual-column,.sb-v1635-data-column { min-width:0; border:1px solid #d9e5ed; border-radius:8px; overflow:hidden; background:#fff; }
.sb-v1635-scoreline { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:10px; padding:10px 12px; }
.sb-v1635-scoreline>div { display:flex; align-items:center; gap:8px; min-width:0; }
.sb-v1635-scoreline>div.away { justify-content:flex-end; text-align:right; }
.sb-v1635-scoreline b { overflow:hidden; color:#173f5d; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.sb-v1635-scoreline section { display:flex; flex-direction:column; align-items:center; min-width:100px; }
.sb-v1635-scoreline section small { color:#e6384c; font-size:9px; font-weight:900; }
.sb-v1635-scoreline section strong { display:flex; align-items:center; gap:7px; color:#073f6d; font-size:24px; line-height:1.1; }
.sb-v1635-scoreline section strong i { font-style:normal; }
.sb-v1635-scoreline section strong em { color:#7a91a1; font-style:normal; font-size:15px; }
.sb-v1635-scoreline section time { color:#728a9b; font-size:9px; }
.sb-v1635-motion-surface { position:relative; height:220px; margin:0 10px 10px; overflow:hidden; border-radius:7px; background:#208247; }
.sb-v1635-motion-surface .lines { position:absolute; inset:9px; border:1px solid rgba(255,255,255,.8); }
.sb-v1635-motion-surface .lines::before { content:''; position:absolute; top:0; bottom:0; left:50%; border-left:1px solid rgba(255,255,255,.72); }
.sb-v1635-motion-surface .lines::after { content:''; position:absolute; top:50%; left:50%; width:52px; height:52px; border:1px solid rgba(255,255,255,.72); border-radius:50%; transform:translate(-50%,-50%); }
.sb-v1635-motion-surface::before { content:''; position:absolute; inset:0; background:repeating-linear-gradient(90deg,rgba(255,255,255,.05) 0,rgba(255,255,255,.05) 9%,rgba(0,0,0,.035) 9%,rgba(0,0,0,.035) 18%); }
.sb-v1635-motion-surface.surface-court { background:#c58f4c; }
.sb-v1635-motion-surface.surface-court .lines::after { width:62px; height:62px; }
.sb-v1635-motion-surface.surface-diamond { background:#388a55; clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%); margin-left:auto; margin-right:auto; width:min(230px,70%); }
.sb-v1635-motion-surface.surface-volleyball { background:#dd9c55; }
.sb-v1635-motion-surface.surface-volleyball .lines::before { border-left-width:3px; }
.sb-v1635-motion-object { position:absolute; z-index:3; top:50%; left:50%; width:22px; height:22px; display:flex; align-items:center; justify-content:center; border-radius:50%; color:#fff; background:#092f4c; box-shadow:0 4px 13px rgba(0,0,0,.28); transform:translate(-50%,-50%); transition:left .55s ease,top .55s ease,transform .3s ease; }
.sb-v1635-motion-label { position:absolute; z-index:3; left:50%; bottom:13px; max-width:70%; padding:5px 9px; border-radius:6px; color:#fff; background:rgba(7,46,73,.83); font-size:10px; text-align:center; transform:translateX(-50%); }
.sb-v1635-live-board[data-motion-side="home"] .sb-v1635-motion-object { left:72%; animation:sb-v1635-drive-right 1.3s ease-in-out infinite alternate; }
.sb-v1635-live-board[data-motion-side="away"] .sb-v1635-motion-object { left:28%; animation:sb-v1635-drive-left 1.3s ease-in-out infinite alternate; }
.sb-v1635-live-board[data-motion-code*="goal"] .sb-v1635-motion-object,
.sb-v1635-live-board[data-motion-code*="score"] .sb-v1635-motion-object { transform:translate(-50%,-50%) scale(1.35); box-shadow:0 0 0 10px rgba(255,218,57,.22),0 4px 13px rgba(0,0,0,.28); }
.sb-v1635-event-rail { display:flex; gap:4px; overflow-x:auto; margin-bottom:8px; padding-bottom:2px; scrollbar-width:none; }
.sb-v1635-event-rail span { display:inline-flex; align-items:center; gap:4px; flex:0 0 auto; padding:5px 7px; border-radius:999px; color:#516e82; background:#f2f7fa; font-size:9px; }
.sb-v1635-event-rail span i { width:6px; height:6px; border-radius:50%; background:#8197a7; }
.sb-v1635-event-rail .side-home i { background:#16864f; }.sb-v1635-event-rail .side-away i { background:#dd4054; }
.sb-v1635-event-rail span b,.sb-v1635-event-rail span em { font-style:normal; }
.sb-v1635-data-column { display:flex; flex-direction:column; padding:10px; }
.sb-v1635-data-column>header,.sb-v1635-data-column>footer { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.sb-v1635-data-column>header { padding-bottom:8px; border-bottom:1px solid #e2eaf0; color:#143e5c; }
.sb-v1635-data-column>header small,.sb-v1635-data-column>footer { color:#8699a7; font-size:9px; }
.sb-v1635-data-column>footer { margin-top:auto; padding-top:8px; border-top:1px solid #e2eaf0; }
.sb-v1635-metric-bars { display:grid; gap:9px; padding:10px 0; }
.sb-v1635-metric>div:first-child { display:grid; grid-template-columns:44px minmax(0,1fr) 44px; align-items:center; gap:5px; color:#48677d; font-size:9px; text-align:center; }
.sb-v1635-metric>div:first-child b:first-child { text-align:left; }.sb-v1635-metric>div:first-child b:last-child { text-align:right; }
.sb-v1635-metric-track { display:flex; height:5px; margin-top:4px; overflow:hidden; border-radius:99px; background:#e7edf1; }
.sb-v1635-metric-track i { background:#087ec0; }.sb-v1635-metric-track em { background:#e94357; }
.sb-v1635-data-empty { margin:auto; padding:20px 8px; color:#8296a5; font-size:10px; text-align:center; }
.sb-v1635-period-grid { margin:0 10px 10px; overflow-x:auto; border:1px solid #dbe6ed; border-radius:6px; }
.sb-v1635-period-grid>div { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(38px,1fr); align-items:center; min-width:max-content; border-top:1px solid #e5edf2; }
.sb-v1635-period-grid>div:first-child { border-top:0; background:#f4f8fa; }
.sb-v1635-period-grid b,.sb-v1635-period-grid span,.sb-v1635-period-grid strong { min-width:55px; padding:7px 6px; border-right:1px solid #e5edf2; color:#355b73; font-size:9px; text-align:center; }
.sb-v1635-period-grid b { min-width:110px; text-align:left; }.sb-v1635-period-grid strong { color:#073f6d; }
.sb-v1635-possession { display:flex; align-items:center; justify-content:center; gap:10px; margin:0 10px 10px; padding:7px; border-radius:6px; color:#43677e; background:#f3f8fb; font-size:10px; }
.sb-v1635-possession b { color:#073f6d; }
.sb-v1635-baseball-state { display:flex; align-items:center; justify-content:center; gap:18px; margin:0 10px 10px; padding:8px; border-radius:6px; background:#f4f8fa; }
.sb-v1635-diamond { position:relative; width:58px; height:58px; transform:rotate(45deg); }
.sb-v1635-diamond .base { position:absolute; width:16px; height:16px; border:2px solid #90a9ba; background:#fff; }
.sb-v1635-diamond .base.on { border-color:#e2a21b; background:#ffd65c; }.sb-v1635-diamond .second{top:0;left:21px}.sb-v1635-diamond .first{top:21px;right:0}.sb-v1635-diamond .third{top:21px;left:0}.sb-v1635-diamond .home{bottom:0;left:21px}
.sb-v1635-baseball-state dl { display:flex; gap:7px; margin:0; }.sb-v1635-baseball-state dl div{display:flex;align-items:center;gap:3px}.sb-v1635-baseball-state dt{font-weight:900}.sb-v1635-baseball-state dd{margin:0;padding:2px 6px;border-radius:4px;color:#fff;background:#0a4f7c}
.sb-v1635-live-detail-loading { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:180px; color:#71899a; font-size:11px; }
.sb-v1635-live-detail-loading i { width:25px; height:25px; margin-bottom:9px; border:3px solid #d9e6ed; border-top-color:#0780bf; border-radius:50%; animation:sb-v1635-spin .8s linear infinite; }
@keyframes sb-v1635-pulse { 50% { opacity:.45; transform:scale(.8); } }
@keyframes sb-v1635-drive-right { from { transform:translate(-65%,-50%); } to { transform:translate(-35%,-50%); } }
@keyframes sb-v1635-drive-left { from { transform:translate(-35%,-50%); } to { transform:translate(-65%,-50%); } }
@keyframes sb-v1635-spin { to { transform:rotate(360deg); } }
@media (max-width:900px) { .sb-v1635-main-grid { grid-template-columns:1fr; }.sb-v1635-data-column { min-height:160px; } }
@media (max-width:560px) { .sb-v1635-motion-surface { height:180px; }.sb-v1635-scoreline { grid-template-columns:minmax(0,1fr) 80px minmax(0,1fr); }.sb-v1635-scoreline b { font-size:10px; } }


/* V16.3.6: preserve the all-sports grid DOM during score/detail polling. */
.sb-live-dashboard-grid-v163 .sb-v1634-tab-panel,
.sb-live-dashboard-grid-v163 .sb-v1635-live-host,
.sb-live-dashboard-grid-v163 .sb-v1635-live-board {
  animation: none !important;
}

.sb-live-main-dashboard-controller-v1631
[data-live-list][data-dashboard-renderer="16.3.6"] {
  opacity: 1 !important;
  visibility: visible !important;
}

.sb-v163-row-score strong,
.sb-v1634-summary-center strong i,
.sb-v1635-scoreline strong i,
.sb-v163-row-status b,
.sb-v1635-status-strip b {
  font-variant-numeric: tabular-nums;
}
