/* SCOREBOOK_SPORT_SPECIFIC_LIVESCORE_TEMPLATES_CSS_V16_1 */
:root {
  --sb-v161-navy: #063e6d;
  --sb-v161-blue: #0875b6;
  --sb-v161-red: #ef3f52;
  --sb-v161-line: #d7e2eb;
  --sb-v161-soft: #f5f8fb;
  --sb-v161-text: #153b59;
}

.sb-v161-template {
  --sport-accent: #0875b6;
  overflow: hidden;
  border: 1px solid var(--sb-v161-line);
  border-radius: 14px;
  background: #fff;
  color: var(--sb-v161-text);
  box-shadow: 0 14px 34px rgba(11, 51, 82, .08);
}
.sb-v161-template-football { --sport-accent: #16864f; }
.sb-v161-template-baseball { --sport-accent: #cf3347; }
.sb-v161-template-basketball { --sport-accent: #e1781f; }
.sb-v161-template-hockey { --sport-accent: #4280b8; }
.sb-v161-template-tennis { --sport-accent: #9db41a; }
.sb-v161-template-american-football { --sport-accent: #8a592f; }
.sb-v161-template-volleyball { --sport-accent: #5666c8; }

.sb-v161-template-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 14px 18px;
  border-bottom: 3px solid var(--sport-accent);
  background: linear-gradient(135deg, #073c68, #0c5f98);
  color: #fff;
}
.sb-v161-template-title small { display:block; margin-bottom:4px; color:#87d7ff; font-size:10px; font-weight:900; letter-spacing:.16em; }
.sb-v161-template-title h3 { margin:0; font-size:18px; line-height:1.25; }
.sb-v161-status-badge { flex:0 0 auto; padding:7px 12px; border-radius:999px; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.25); font-size:12px; font-weight:900; }

.sb-v161-scoreboard { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:18px; padding:22px 24px; background:linear-gradient(180deg,#fff,#f8fbfd); }
.sb-v161-team { display:flex; align-items:center; gap:12px; min-width:0; }
.sb-v161-team-away { justify-content:flex-end; text-align:right; }
.sb-v161-team-badge { display:grid; place-items:center; width:52px; height:52px; flex:0 0 52px; border-radius:50%; background:#edf4f8; color:var(--sport-accent); font-weight:900; overflow:hidden; }
.sb-v161-team-badge img { width:100%; height:100%; object-fit:contain; }
.sb-v161-team-names { min-width:0; }
.sb-v161-team-names b { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:17px; }
.sb-v161-team-names small { display:block; margin-top:4px; color:#8aa0b1; font-size:10px; }
.sb-v161-main-score { min-width:116px; text-align:center; }
.sb-v161-main-score strong { font-size:32px; color:#073d68; }
.sb-v161-main-score i { padding:0 8px; color:#9aafbe; font-style:normal; font-size:21px; }
.sb-v161-main-score time { display:block; margin-top:5px; color:#8ba0b1; font-size:10px; }

.sb-v161-surface { margin:0 20px 18px; border-radius:12px; overflow:hidden; border:1px solid rgba(0,0,0,.08); }
.sb-v161-surface-inner { position:relative; min-height:150px; display:grid; place-items:center; background:#eaf2f6; }
.sb-v161-surface-center { position:relative; z-index:2; display:grid; place-items:center; min-width:130px; padding:10px 16px; border-radius:9px; color:#fff; background:rgba(3,46,79,.82); box-shadow:0 8px 22px rgba(0,0,0,.14); }
.sb-v161-surface-center small { margin-top:3px; opacity:.82; }
.sb-v161-surface-football .sb-v161-surface-inner { background:linear-gradient(90deg,rgba(255,255,255,.06) 49.5%,rgba(255,255,255,.65) 50%,rgba(255,255,255,.06) 50.5%), repeating-linear-gradient(90deg,#2d9a52 0,#2d9a52 12.5%,#278c49 12.5%,#278c49 25%); }
.sb-v161-surface-football .sb-v161-surface-inner:before { content:''; position:absolute; inset:14px; border:2px solid rgba(255,255,255,.78); border-radius:2px; }
.sb-v161-surface-baseball .sb-v161-surface-inner { background:radial-gradient(circle at 50% 50%,#7ead67 0 12%,transparent 12.5%),linear-gradient(45deg,transparent 35%,#c99b61 35% 65%,transparent 65%),#79ad68; }
.sb-v161-surface-basketball .sb-v161-surface-inner { background:linear-gradient(90deg,transparent 49.6%,rgba(255,255,255,.8) 50%,transparent 50.4%),repeating-linear-gradient(0deg,#ce9f59 0,#ce9f59 18px,#d8ab66 18px,#d8ab66 36px); }
.sb-v161-surface-basketball .sb-v161-surface-inner:before { content:''; position:absolute; inset:15px; border:2px solid rgba(255,255,255,.75); border-radius:4px; }
.sb-v161-surface-hockey .sb-v161-surface-inner { background:linear-gradient(90deg,transparent 32%,rgba(68,138,201,.55) 32.5%,transparent 33%,transparent 66%,rgba(68,138,201,.55) 66.5%,transparent 67%),linear-gradient(90deg,transparent 49.5%,rgba(220,65,76,.55) 50%,transparent 50.5%),#eef8fc; }
.sb-v161-surface-hockey .sb-v161-surface-inner:before { content:''; position:absolute; inset:13px; border:2px solid #9ec8e2; border-radius:72px; }
.sb-v161-surface-tennis .sb-v161-surface-inner { background:linear-gradient(90deg,transparent 49.5%,rgba(255,255,255,.9) 50%,transparent 50.5%),#377eb8; }
.sb-v161-surface-tennis .sb-v161-surface-inner:before { content:''; position:absolute; inset:14px; border:2px solid rgba(255,255,255,.82); }
.sb-v161-surface-american-football .sb-v161-surface-inner { background:repeating-linear-gradient(90deg,#277c42 0,#277c42 9.5%,#d9eee0 9.5%,#d9eee0 10%); }
.sb-v161-surface-american-football .sb-v161-surface-inner:before { content:''; position:absolute; inset:13px; border:2px solid rgba(255,255,255,.8); }
.sb-v161-surface-volleyball .sb-v161-surface-inner { background:linear-gradient(90deg,transparent 49.5%,#fff 49.5% 50.5%,transparent 50.5%),#d99858; }

.sb-v161-period-wrap { margin:0 20px 18px; overflow-x:auto; border:1px solid var(--sb-v161-line); border-radius:10px; }
.sb-v161-period-table { width:100%; min-width:520px; border-collapse:collapse; table-layout:auto; font-size:12px; }
.sb-v161-period-table th,.sb-v161-period-table td { padding:10px 9px; border-right:1px solid #e1e9ef; border-bottom:1px solid #e1e9ef; text-align:center; white-space:nowrap; }
.sb-v161-period-table thead th { background:#edf3f7; color:#496579; font-weight:900; }
.sb-v161-period-table tbody th { max-width:220px; overflow:hidden; text-overflow:ellipsis; text-align:left; background:#f9fbfc; }
.sb-v161-period-table tr:last-child th,.sb-v161-period-table tr:last-child td { border-bottom:0; }
.sb-v161-period-table th:last-child,.sb-v161-period-table td:last-child { border-right:0; }
.sb-v161-total-cell,.sb-v161-total-head { color:#fff !important; background:#073f6d !important; font-weight:900; }

.sb-v161-metric-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:0 20px 18px; }
.sb-v161-metric-card { padding:12px 14px; border:1px solid var(--sb-v161-line); border-radius:10px; background:#fbfdfe; }
.sb-v161-metric-card h4 { margin:0 0 8px; color:#587287; font-size:11px; text-align:center; }
.sb-v161-metric-values { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:8px; }
.sb-v161-metric-values b:first-child { text-align:left; color:#0b6da7; }
.sb-v161-metric-values b:last-child { text-align:right; color:#d3354d; }
.sb-v161-metric-values span { color:#9aadb9; font-size:9px; }
.sb-v161-metric-bars { display:flex; height:5px; margin-top:9px; overflow:hidden; border-radius:99px; background:#e8eef2; }
.sb-v161-home-bar { background:#1684c6; }
.sb-v161-away-bar { background:#df3c55; }

.sb-v161-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:0 20px 18px; }
.sb-v161-facts > div { padding:10px 12px; border-radius:9px; background:#f1f6f9; }
.sb-v161-facts dt { color:#7990a2; font-size:10px; }
.sb-v161-facts dd { margin:3px 0 0; font-weight:800; word-break:break-word; }
.sb-v161-provider-note { margin:0 20px 20px; padding:12px 14px; border-left:4px solid var(--sport-accent); background:#f5f8fa; color:#6d8394; font-size:11px; line-height:1.6; }

.sb-v161-list-row { --row-accent:#0875b6; box-shadow:inset 3px 0 0 var(--row-accent); }
.sb-v161-list-row[data-template-sport="football"] { --row-accent:#16864f; }
.sb-v161-list-row[data-template-sport="baseball"] { --row-accent:#cf3347; }
.sb-v161-list-row[data-template-sport="basketball"] { --row-accent:#e1781f; }
.sb-v161-list-row[data-template-sport="hockey"] { --row-accent:#4280b8; }
.sb-v161-list-row[data-template-sport="tennis"] { --row-accent:#9db41a; }
.sb-v161-list-row[data-template-sport="american-football"] { --row-accent:#8a592f; }
.sb-v161-list-row[data-template-sport="volleyball"] { --row-accent:#5666c8; }

@media (max-width: 760px) {
  .sb-v161-template-head { padding:12px 14px; }
  .sb-v161-template-title h3 { font-size:15px; }
  .sb-v161-scoreboard { grid-template-columns:1fr; gap:10px; padding:16px; }
  .sb-v161-team,.sb-v161-team-away { justify-content:center; text-align:center; }
  .sb-v161-team-away { flex-direction:row-reverse; }
  .sb-v161-main-score { order:-1; }
  .sb-v161-main-score strong { font-size:27px; }
  .sb-v161-surface { margin:0 12px 14px; }
  .sb-v161-surface-inner { min-height:118px; }
  .sb-v161-period-wrap { margin:0 12px 14px; }
  .sb-v161-metric-grid { grid-template-columns:1fr; margin:0 12px 14px; }
  .sb-v161-facts { grid-template-columns:1fr; margin:0 12px 14px; }
  .sb-v161-provider-note { margin:0 12px 14px; }
}
