/* Scorecard portal — the portal's own layer over the user site's stylesheet stack (rebuild). The frame, cards,
   tables, badges, buttons, header / sidebar / navbar all come from the site's CSS; this file only adds what the site has
   no markup for: the confidence marks, ball chips, innings card, providers / disputes / quality blocks, toasts. */

/* ---- header brand + search ---- */
.sc-brand { color: #fff; font-weight: 700; font-size: 18px; letter-spacing: .3px; margin-left: 8px; white-space: nowrap; }
.sc-head { display: flex; align-items: center; gap: 8px; }
.sc-search-go { border: 0; background: transparent; color: inherit; padding: 0 6px; }
.sc-nb:empty { display: none; }
.sc-nb { display: inline-flex; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #e03131; color: #fff; font-size: 10px; font-weight: 700; align-items: center; justify-content: center; margin-left: 4px; line-height: 1; }
.sc-login { max-width: 400px; margin: 40px auto; }
.sc-narrow { max-width: 720px; }
.sc-num { font-variant-numeric: tabular-nums; }
/* ---- Providers: the priority column (the number box was squeezed to a sliver on a phone) ---- */
.sc-src input.sc-num { min-width: 72px; }
.sc-src .sc-prio-h, .sc-src .sc-prio-c { min-width: 128px; width: 128px; }
.sc-prio { display: flex; align-items: center; gap: 4px; }
.sc-prio .btn { width: 30px; height: 30px; padding: 0; font-size: 16px; font-weight: 700; line-height: 1; border: 1px solid #ced4da; flex: 0 0 30px; }
.sc-src .sc-prio input.sc-num { min-width: 44px; width: 44px; height: 30px; padding: 2px; text-align: center; font-weight: 700; font-size: 15px; -moz-appearance: textfield; }
.sc-prio input::-webkit-outer-spin-button, .sc-prio input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sc-p1 { display: inline-block; margin-top: 4px; font-size: 10px; white-space: normal; text-align: left; }
.sc-src tr.sc-off td { background: #f8f9fa; }
.sc-src tr.sc-off .sc-prio input { color: #adb5bd; }
.sc-unsaved { box-shadow: 0 0 0 2px #fab005; }
.sc-json { max-height: 60vh; overflow: auto; background: #0f1a24; color: #d3f9d8; font-size: 11px; padding: 10px; border-radius: 4px; white-space: pre-wrap; word-break: break-word; }

/* ---- confidence marks ---- */
.mk { display: inline-flex; align-items: center; justify-content: center; min-width: 15px; height: 15px; margin-left: 4px; border-radius: 50%; font-size: 9px; font-weight: 700; line-height: 1; vertical-align: middle; cursor: help; }
.mk.ok { background: #d3f9d8; color: #2b8a3e; }
.mk.bad { background: #ffe3e3; color: #e03131; font-size: 10px; }
.mk.one { background: #e9ecef; color: #495057; }
.mk.dec { background: #e5dbff; color: #6741d9; }
.mk.held { background: #fff3bf; color: #a07800; }
.sc-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 11px; color: #6c757d; padding: 6px 2px; }
.sc-legend > span { display: inline-flex; align-items: center; gap: 2px; }
.sc-note { font-size: 12px; color: #6c757d; padding: 6px 8px; background: #f8f9fa; border-left: 3px solid #0d6efd; margin: 4px 0; }

/* ---- ball chips ---- */
.sc-ball { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 4px; border-radius: 12px; background: #e9ecef; color: #212529; font-size: 11px; font-weight: 700; border: 1px solid transparent; }
.sc-ball.dot { color: #868e96; }
.sc-ball.s4 { background: #1c3d6e; color: #fff; }
.sc-ball.s6 { background: #6f42c1; color: #fff; }
.sc-ball.w { background: #e03131; color: #fff; }
.sc-ball.x { background: #ffe8a1; color: #7a5b00; }
.sc-ball.ed { border-color: #6741d9; box-shadow: 0 0 0 1px #6741d9; }
.sc-ball.add { background: #fff; border: 1px dashed #adb5bd; color: #6c757d; }
.sc-ball[role="button"] { cursor: pointer; }
.sc-ball[role="button"]:hover { filter: brightness(.92); }
.sc-balls { display: flex; flex-wrap: wrap; gap: 3px; align-items: center; }

/* ---- status pill / live dot ---- */
.sc-pill { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; letter-spacing: .3px; vertical-align: middle; }
.sc-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; display: inline-block; animation: sc-blink 1s infinite; }
@keyframes sc-blink { 50% { opacity: .25; } }

/* ---- match bar / action bar / emergency menu ---- */
.sc-mbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; padding: 6px 8px; background: #fff; border-bottom: 1px solid #dee2e6; font-size: 12px; }
.sc-mbar-l, .sc-mbar-r { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.sc-actbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; padding: 6px 8px; background: #f8f9fa; border-bottom: 1px solid #dee2e6; }
.sc-acts { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.sc-menu { position: relative; display: inline-block; }
.sc-menu-list { display: none; position: absolute; right: 0; top: calc(100% + 2px); z-index: 50; min-width: 220px; background: #fff; border: 1px solid #dee2e6; border-radius: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.15); padding: 4px 0; }
.sc-menu.open .sc-menu-list { display: block; }
.sc-menu-list > a, .sc-menu-list > button { display: block; width: 100%; text-align: left; padding: 6px 12px; font-size: 13px; color: #212529; background: transparent; border: 0; text-decoration: none; }
.sc-menu-list > a:hover, .sc-menu-list > button:hover { background: #f1f3f5; }
.sc-fbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; padding: 8px; background: #fff3bf; border-bottom: 1px solid #ffe066; font-size: 13px; }
.sc-result { padding: 8px; background: #d3f9d8; color: #2b8a3e; font-weight: 700; text-align: center; font-size: 13px; }
.sc-res { color: #2b8a3e; font-weight: 600; }
.sc-cd { color: #6c757d; } .sc-cd.soon { color: #e03131; font-weight: 700; }
.sc-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 12px; font-size: 12px; padding: 8px; }
.sc-facts > div > span { color: #6c757d; margin-right: 4px; }

/* ---- the match page column: every block full width (a flex item would otherwise grow to the widget's over strip) ---- */
.detail-page-container > * { width: 100%; min-width: 0; }

/* ---- detail tabs ---- */
.sc-tabs { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; background: var(--bg-primary); margin-top: 4px; }
.sc-tabs .nav-item { padding: 10px 0; flex: auto; }
.sc-tabs .nav-link, .sc-tabs .nav-link.active { color: var(--text-primary); padding: 0 10px; font-size: 13px; }
.sc-tabs .nav-link.active::after { background-color: #fff; top: -10px; height: 3px; }
.sc-tabs .nav-link:not(.active) { opacity: .8; }
.sc-tabs::-webkit-scrollbar { display: none; }
.sc-tabs .nav-link { white-space: nowrap; cursor: pointer; }
.sc-body { padding: 6px 0; }

/* ---- matches page ---- */
.sc-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 6px; padding: 6px; }
.sc-tile { display: flex; flex-direction: column; padding: 8px 10px; background: #fff; border: 1px solid #dee2e6; border-left: 4px solid #adb5bd; border-radius: 4px; color: #212529; text-decoration: none; }
.sc-tile b { font-size: 20px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sc-tile span { font-size: 11px; color: #6c757d; }
.sc-tile.live { border-left-color: #e03131; } .sc-tile.warn { border-left-color: #f08c00; background: #fff9db; } .sc-tile.bad { border-left-color: #c92a2a; background: #fff5f5; }
a.sc-tile:hover { background: #f8f9fa; color: #212529; }
.sc-subbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; padding: 6px; }
.sc-pills { display: flex; flex-wrap: wrap; gap: 4px; }
.sc-pill-btn { display: inline-block; padding: 4px 12px; border-radius: 3px; border: 1px solid #ced4da; background: #fff; color: #212529; font-size: 12px; font-weight: 700; text-decoration: none; cursor: pointer; }
.sc-pill-btn.active { background: var(--theme1-bg, #0b3d6e); border-color: var(--theme1-bg, #0b3d6e); color: #fff; }
.sc-srcs { display: flex; flex-wrap: wrap; gap: 3px; }
.sc-mlist td { vertical-align: middle; }
.sc-mrow { cursor: pointer; }
.sc-mrow.live td:first-child { box-shadow: inset 3px 0 0 #e03131; }
.sc-mr-e { white-space: nowrap; }
.sc-sl { white-space: nowrap; font-size: 12px; margin-right: 6px; display: inline-block; }
.sc-src { margin: 1px; font-size: 10px; }
.sc-sel { max-width: 220px; }

/* ---- innings card ---- */
.sc-inn .card-header, .sc-inn-hd { display: flex; justify-content: space-between; align-items: center; gap: 6px; flex-wrap: wrap; }
.sc-inn-score { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sc-inn table { font-size: 12px; margin-bottom: 0; }
.sc-inn table td, .sc-inn table th { padding: 4px 6px; vertical-align: middle; }
.sc-how { color: #6c757d; font-size: 11px; }
.sc-notout td:first-child b { color: #0b3d6e; }
.sc-sub td { background: #f8f9fa; font-size: 11px; }
.sc-total td { background: #e9ecef; font-weight: 700; }
.sc-dnb { padding: 6px 8px; font-size: 11px; color: #6c757d; border-top: 1px solid #dee2e6; }
.sc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sc-sub-h { font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: #6c757d; padding: 6px 8px 2px; }
.sc-fow { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 4px 8px 8px; font-size: 11px; }
.sc-parts { padding: 4px 8px 8px; }
.sc-part { display: grid; grid-template-columns: 62px minmax(0, 1fr) 30px 54px; gap: 6px; align-items: center; font-size: 11px; padding: 2px 0; }
.sc-pbar { height: 6px; background: #e9ecef; border-radius: 3px; overflow: hidden; display: flex; }
.sc-pbar i { display: block; height: 100%; background: #4dabf7; } .sc-pbar i + i { background: #1c7ed6; }

/* ---- overs / commentary ---- */
.sc-overs td { vertical-align: middle; font-size: 12px; }
.sc-edited td { background: #f3f0ff; }
.sc-pending td { opacity: .6; }
.sc-ed { color: #6741d9; font-size: 10px; font-weight: 700; }
.sc-comm { max-height: 520px; overflow-y: auto; }
.sc-cm { display: grid; grid-template-columns: 52px 32px 1fr auto; gap: 6px; align-items: start; padding: 6px 8px; border-bottom: 1px solid #f1f3f5; font-size: 12px; }
.sc-cm.w { background: #fff5f5; }
.sc-cm > .sc-ball { justify-self: start; }
.sc-cn { color: #6c757d; font-variant-numeric: tabular-nums; padding-top: 4px; }
.sc-t { font-size: 12px; }

/* ---- providers / quality ---- */
.sc-provs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 6px; padding: 6px; }
.sc-prov { border: 1px solid #dee2e6; border-left: 4px solid #adb5bd; border-radius: 4px; padding: 8px; background: #fff; font-size: 12px; }
.sc-prov.ok, .sc-prov.verified { border-left-color: #2f9e44; } .sc-prov.ours { border-left-color: #1c7ed6; }
.sc-prov.bad, .sc-prov.failed, .sc-prov.mismatch { border-left-color: #e03131; } .sc-prov.wait, .sc-prov.pending, .sc-prov.unchecked { border-left-color: #f08c00; } .sc-prov.none { opacity: .75; }
.sc-ph { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-bottom: 4px; }
.sc-cands { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.sc-cand { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 4px 6px; background: #f8f9fa; border-radius: 3px; }
.sc-pa { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.sc-wait { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; padding: 8px; border-bottom: 1px solid #dee2e6; }
.sc-changes { max-height: 600px; overflow-y: auto; }
.sc-chg { display: grid; grid-template-columns: 130px 1fr; gap: 8px; padding: 6px 8px; border-bottom: 1px solid #f1f3f5; font-size: 12px; }
.sc-cv { display: flex; flex-direction: column; }
.sc-cf { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: #495057; }
.sc-conf .sc-cf { color: #2b8a3e; font-weight: 700; }
.sc-side-t { font-size: 12px; font-weight: 700; padding: 6px 8px; background: #f1f3f5; border-bottom: 1px solid #dee2e6; display: flex; justify-content: space-between; }
.sc-side-r { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 5px 8px; border-bottom: 1px solid #f1f3f5; font-size: 12px; }
.card-header .sc-card-r, .sc-card-r { margin-left: auto; color: inherit; opacity: .85; }
.card-header { display: flex; align-items: center; gap: 6px; }

/* ---- toasts ---- */
#toasts { position: fixed; right: 12px; bottom: 12px; z-index: 3000; display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
#toasts .toast { display: block; opacity: 1; pointer-events: auto; min-width: 220px; max-width: 360px; padding: 10px 14px; border-radius: 4px; background: #212529; color: #fff; font-size: 13px; box-shadow: 0 4px 14px rgba(0,0,0,.25); transition: opacity .3s, transform .3s; }
#toasts .toast.ok { background: #2b8a3e; } #toasts .toast.bad { background: #c92a2a; } #toasts .toast.out { opacity: 0; transform: translateY(6px); }

/* ---- modals / confirm (the site's markup) ---- */
.sc-modal { position: relative; z-index: 1600; }
.sc-modal .modal-backdrop { z-index: 1600; } .sc-modal .modal { z-index: 1601; }
.sc-modal .modal-body { padding: 14px 16px !important; }
#react-confirm-alert, #react-confirm-alert .react-confirm-alert-overlay { z-index: 2000 !important; }
#react-confirm-alert .react-confirm-alert-body { padding: 22px 22px 18px; }
#react-confirm-alert .react-confirm-alert-button-group { flex-wrap: wrap; gap: 8px; }
#react-confirm-alert .react-confirm-alert-button-group > button { margin: 0; }

/* ---- the site's report pages keep a tall minimum; ours are short lists ---- */
.report-page .table-responsive { min-height: 0; }

/* ---- the right sidebar at the top of the page, kept in view (same rule as the settlement panel) ---- */
@media (min-width: 1200px) {
  .center-main-container.detail-page { align-items: flex-start; flex-wrap: nowrap; }
  .center-main-container.detail-page > .center-container { flex: 1 1 auto; min-width: 0; }
  .center-main-container.detail-page > .right-sidebar, .center-main-container.detail-page > .right-sidebar.sticky { position: sticky; top: 0; right: auto; align-self: flex-start; flex-shrink: 0; min-height: 0; max-height: 100vh; overflow-y: auto; margin-top: 0; }
}

/* ---- phones ---- */
@media (max-width: 767px) {
  .sc-two { grid-template-columns: 1fr; }
  .sc-chg { grid-template-columns: 1fr; }
  .sc-cm { grid-template-columns: 44px 30px 1fr; } .sc-cm > .mk { display: none; }
  .sc-provs { grid-template-columns: 1fr; }
  .sc-tiles { grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; }
  .sc-tile { padding: 5px 6px; } .sc-tile b { font-size: 16px; } .sc-tile span { font-size: 10px; line-height: 1.15; }
  .sc-modal .modal-dialog { margin: 10px; max-width: calc(100% - 20px); }
  .sc-modal .modal-body { padding: 12px !important; }
  #react-confirm-alert .react-confirm-alert-body { width: calc(100vw - 32px); max-width: 420px; padding: 20px 18px; }
  .sc-brand { font-size: 15px; }
  .sc-menu-list { right: auto; left: 0; }
}

/* ---- cricket widget (the same one as the settlement panel) ---- */
.cw { width: calc(100% - 4px); margin: 4px 2px 0; background: #1d2b3a linear-gradient(180deg, #23364b 0%, #152029 100%); color: #fff; border-radius: 4px; overflow: hidden; font-size: 13px; }
.cw-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 6px 0 10px; }
.cw-head-r { display: flex; align-items: center; gap: 6px; }
.cw-badge { background: rgba(255,255,255,.14); border-radius: 3px; padding: 1px 8px; font-size: 11px; font-weight: 700; letter-spacing: .3px; }
.cw-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 6px 10px 2px; }
.cw-tm { display: flex; flex-direction: column; min-width: 0; }
.cw-tm.r { text-align: right; }
.cw-nm { font-weight: 700; font-size: 14px; line-height: 1.2; word-break: break-word; }
.cw-tov { font-size: 11px; color: #9fb0c2; }
.cw-sc { font-size: 24px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cw-sc > span { margin: 0 8px; opacity: .6; }
.cw-yet { font-size: 12px; font-weight: 400; color: #9fb0c2; }
.cw-line { text-align: center; font-size: 12px; color: #ffd43b; padding: 2px 10px 8px; }
.cw-sel { display: flex; align-items: center; gap: 8px; padding: 6px 10px 0; border-top: 1px solid rgba(255,255,255,.1); }
.cw-sel select.form-select { width: auto; max-width: 70%; background-color: #0f1a24 !important; color: #fff !important; border-color: rgba(255,255,255,.25) !important; font-size: 12px; font-weight: 700; padding-top: 2px; padding-bottom: 2px; }
.cw-legend { font-size: 10px; color: #9fb0c2; margin-left: auto; display: inline-flex; align-items: center; gap: 4px; }
.cw-legend i { width: 8px; height: 8px; background: #4dabf7; display: inline-block; } .cw-legend b { color: #fff; background: #e03131; border-radius: 50%; width: 14px; height: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 8px; }
.cw-chart { padding: 4px 12px 0; }
.cw-bars { display: flex; align-items: flex-end; gap: 2px; height: 70px; border-bottom: 1px solid rgba(255,255,255,.3); }
.cw-col { flex: 1 1 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.cw-col i { display: block; width: 100%; max-width: 14px; background: #4dabf7; border-radius: 1px 1px 0 0; }
.cw-wk { background: #e03131; color: #fff; border-radius: 50%; min-width: 14px; height: 14px; font-size: 8px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1px; padding: 0 2px; }
.cw-ticks { position: relative; height: 14px; font-size: 10px; color: #9fb0c2; }
.cw-ticks span { position: absolute; transform: translateX(-50%); }
.cw-tabs { display: flex; border-top: 1px solid rgba(255,255,255,.1); margin-top: 4px; background: rgba(0,0,0,.25); }
.cw-tabs button { flex: 1; border: 0; background: transparent; color: #9fb0c2; padding: 6px 2px; font-size: 11px; display: flex; flex-direction: column; align-items: center; gap: 2px; border-bottom: 2px solid transparent; }
.cw-tabs button i { font-size: 15px; }
.cw-tabs button.on { color: #fff; border-bottom-color: #ffd43b; background: rgba(255,255,255,.06); }
.cw-body { background: #fff; color: #222; }
.cw-none { padding: 10px; text-align: center; color: #6c757d; font-size: 12px; }
.cw-pitch .cw-none { color: #e6f4ea; }
/* live: the green pitch */
.cw-pitch { background: #2f7d32 repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 36px, rgba(0,0,0,.035) 36px 72px); color: #fff; padding: 6px 8px 8px; }
.cw-strip { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.cw-ov { flex-shrink: 0; background: rgba(0,0,0,.25); border-radius: 4px; padding: 3px 5px; }
.cw-ov-h { font-size: 9px; letter-spacing: .5px; color: #d3f9d8; text-align: center; margin-bottom: 2px; }
.cw-ov-b { display: flex; gap: 3px; } .cw-ov-r { font-size: 11px; }
.cw-sep { flex-shrink: 0; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 9px; font-weight: 700; background: #ffd43b; color: #1d2b3a; border-radius: 3px; padding: 4px 2px; text-align: center; }
.cw-ball { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 3px; border-radius: 11px; background: #fff; color: #222; font-size: 11px; font-weight: 700; }
.cw-ball.d { color: #868e96; } .cw-ball.f { background: #1c3d6e; color: #fff; } .cw-ball.s { background: #6f42c1; color: #fff; } .cw-ball.w { background: #e03131; color: #fff; } .cw-ball.x { background: #ffe8a1; color: #7a5b00; } .cw-ball.g { background: #ced4da; }
.cw-t { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 12px; }
.cw-t th { font-size: 10px; font-weight: 700; letter-spacing: .4px; padding: 3px 6px; text-align: center; }
.cw-t th:first-child, .cw-t td:first-child { text-align: left; }
.cw-t td { padding: 4px 6px; text-align: center; }
.cw-pitch .cw-t th { background: rgba(0,0,0,.3); color: #d3f9d8; }
.cw-pitch .cw-t td { background: rgba(0,0,0,.15); border-top: 1px solid rgba(255,255,255,.08); }
.cw-strike { width: 13px; height: 13px; color: #ffd43b; margin-right: 4px; vertical-align: -2px; } .cw-strike-x { display: inline-block; width: 17px; }
.cw-st-h { font-size: 10px; font-weight: 700; letter-spacing: .4px; color: #d3f9d8; margin-top: 8px; }
.cw-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 4px; margin-top: 3px; }
.cw-stats div { background: rgba(0,0,0,.2); border-radius: 4px; padding: 4px; text-align: center; display: flex; flex-direction: column; }
.cw-stats b { font-size: 15px; } .cw-stats span { font-size: 10px; color: #d3f9d8; }
/* scorecard */
.cw-itabs { display: flex; gap: 4px; padding: 6px 8px 0; flex-wrap: wrap; }
.cw-itabs button { border: 1px solid #1c3d6e; background: #fff; color: #1c3d6e; border-radius: 3px; padding: 2px 10px; font-size: 11px; font-weight: 700; }
.cw-itabs button.on { background: #1c3d6e; color: #fff; }
.cw-card { margin: 6px 0 0; }
.cw-card th { background: #1c3d6e; color: #fff; }
.cw-card td { border-bottom: 1px solid #e9ecef; vertical-align: top; }
.cw-how { font-size: 11px; color: #6c757d; font-weight: 400; } .cw-how.no { color: #e03131; font-weight: 700; }
.cw-sum td { background: #f1f3f5; font-weight: 700; } .cw-sum td:last-child { text-align: left; }
.cw-card td[colspan] { text-align: left; }
.cw-sm { font-weight: 400; font-size: 11px; color: #495057; }
.cw-lbl { font-weight: 700; margin-right: 4px; }
/* statistics */
.cw-sx { border-bottom: 1px solid #dee2e6; }
.cw-sx-h { width: 100%; display: flex; justify-content: space-between; gap: 6px; border: 0; background: #e9ecef; padding: 6px 10px; font-size: 12px; font-weight: 700; color: #1c3d6e; text-align: left; }
.cw-sx-b { max-height: 320px; overflow-y: auto; }
.cw-sx-r { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 8px; padding: 5px 10px; border-top: 1px solid #f1f3f5; }
.cw-sx-t { font-size: 12px; } .cw-sx-t span { color: #6c757d; font-size: 11px; }
.cw-sx-balls { display: flex; flex-wrap: wrap; gap: 3px; }
.cw-sx-balls .cw-ball { background: #e9ecef; }
.cw-sx-balls .cw-ball.f { background: #1c3d6e; } .cw-sx-balls .cw-ball.s { background: #6f42c1; } .cw-sx-balls .cw-ball.w { background: #e03131; } .cw-sx-balls .cw-ball.x { background: #ffe8a1; }
/* players */
.cw-pl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; padding: 6px 10px; }
.cw-pl-h { font-weight: 700; color: #1c3d6e; border-bottom: 2px solid #1c3d6e; padding: 3px 0; margin-bottom: 3px; }
.cw-pl-n { font-size: 12px; padding: 2px 0; } .cw-pl-n i { color: #adb5bd; margin-right: 6px; font-size: 10px; }
@media (max-width: 767px) { .cw-sc { font-size: 19px; } .cw-sc > span { margin: 0 4px; } .cw-nm { font-size: 12px; } .cw-tabs button span { font-size: 10px; } }
.card-header .btn-light { color: #212529; background: #fff; border-color: #fff; }
.sc-ed { border: 1px solid #ced4da; background: #fff; border-radius: 3px; padding: 1px 6px; color: #6741d9; font-size: 11px; line-height: 1.4; } .sc-ed:hover { background: #f3f0ff; }

/* the Corrections / Not on CloudScore / Checker accuracy tables: a card per row on a phone (each cell with its label) */
@media (max-width: 767.98px) {
  .sc-stack thead, .sc-acc thead { display: none; }
  .sc-stack, .sc-stack tbody, .sc-stack tr, .sc-stack td, .sc-acc, .sc-acc tbody, .sc-acc tr, .sc-acc td { display: block; width: 100%; }
  .sc-stack tr, .sc-acc tr { padding: 6px 4px; border-bottom: 1px solid rgba(0, 0, 0, .15); }
  .sc-stack td, .sc-acc td { border: 0 !important; padding: 2px 6px !important; text-align: left !important; white-space: normal !important; }
  .sc-stack td[data-l]::before, .sc-acc td[data-l]::before { content: attr(data-l) ": "; color: #777; font-size: 11px; }
  .sc-stack td[data-l="Match"]::before, .sc-acc td[data-l="Provider"]::before { content: ""; }
}
