/* 2026-10-28: ESPN 승률 그래프 - 박스스코어 글 "승률 흐름" 카드 + 문자중계 창 "현재 승률" 줄 (winprob.js) */
.nbt-wp-post { margin: 16px 0 8px; }
.nbt-wp-card { border: 1px solid var(--border-color, #e5e7eb); border-radius: 10px; overflow: hidden; background: var(--bg-body, #fff); }
.nbt-wp-head { display: flex; align-items: center; gap: 8px; background: #1E3A8A; color: #fff; padding: 8px 10px 8px 12px; }
.nbt-wp-head strong { font-size: 14px; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
.nbt-wp-src { margin-left: auto; font-size: 11px; opacity: .75; white-space: nowrap; }
.nbt-wp-fold { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border: none; border-radius: 6px; background: rgba(255,255,255,.16); color: #fff; font-size: 11.5px; font-weight: 700; font-family: inherit; cursor: pointer; white-space: nowrap; }
.nbt-wp-fold:hover { background: rgba(255,255,255,.26); }
.nbt-wp-fold i { font-size: 9px; }
.nbt-wp-card.is-folded .nbt-wp-body { display: none; }
.nbt-wp-body { padding: 10px 10px 4px; }
.nbt-wp-legend { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 700; color: var(--text-primary, #1f2937); margin: 0 2px 4px; }
.nbt-wp-legend span { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
.nbt-wp-legend img { width: 18px; height: 18px; object-fit: contain; flex: none; }
.nbt-wp-legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; flex: none; }
.nbt-wp-plot { position: relative; }
.nbt-wp-plot svg { display: block; max-width: 100%; height: auto; touch-action: pan-y; }
.nbt-wp-axis { font-size: 11px; fill: #9ca3af; font-weight: 700; }
.nbt-wp-side { fill: var(--text-secondary, #6b7280); font-weight: 800; }
/* 쿼터 구분선 - 10-28 형 요청: 더 잘 보이게 + 점선(가운데 50% 점선보다는 옅게, 간격은 좁게) */
.nbt-wp-grid { stroke: #b4bcc8; stroke-width: 1.2; stroke-dasharray: 3 3; }
body.color_scheme_dark .nbt-wp-grid { stroke: #5b6472; }
.nbt-wp-mid { stroke: #9ca3af; stroke-width: 1; stroke-dasharray: 4 4; }
.nbt-wp-mark { fill: #fff; stroke: #f59f00; stroke-width: 2.5; }
.nbt-wp-cursor { stroke: var(--text-secondary, #6b7280); stroke-width: 1; stroke-dasharray: 2 3; }
.nbt-wp-cursor-dot { stroke: #fff; stroke-width: 1.5; }
.nbt-wp-tip { display: none; position: absolute; top: -6px; z-index: 2; padding: 5px 9px; border-radius: 7px; background: #1e1e1e; color: #d0d4da; font-size: 11.5px; line-height: 1.45; white-space: nowrap; pointer-events: none; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.nbt-wp-tip b { color: #fff; font-weight: 800; }
.nbt-wp-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 0 8px; }
.nbt-wp-chip { flex: 1 1 150px; background: var(--bg-sidebar, #f6f7f9); border-radius: 8px; padding: 7px 9px; font-size: 11.5px; color: var(--text-secondary, #6b7280); line-height: 1.45; }
.nbt-wp-chip b { display: block; font-size: 13px; color: var(--text-primary, #1f2937); font-weight: 800; }
.nbt-wp-chip.is-swing b { color: #d97706; }
/* 문자중계 창 - 한 줄 막대, 그래프는 중계 위에 겹쳐 펼침 */
.nbt-wp-live { flex: none; position: relative; z-index: 6; padding: 6px 8px 6px 12px; border-bottom: 1px solid var(--border-color, #e5e7eb); background: var(--bg-sidebar, #f8fafc); }
.nbt-wp-live-top { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--text-secondary, #6b7280); }
.nbt-wp-live-label { flex: none; font-size: 10.5px; font-weight: 800; color: #1E3A8A; white-space: nowrap; }
body.color_scheme_dark .nbt-wp-live-label { color: #8fb0ff; }
.nbt-wp-live-side { flex: none; white-space: nowrap; }
.nbt-wp-live-side b { color: var(--text-primary, #1f2937); font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.nbt-wp-live-bar { flex: 1 1 auto; min-width: 40px; display: flex; height: 7px; border-radius: 4px; overflow: hidden; background: var(--border-color, #e5e7eb); }
.nbt-wp-live-bar i { display: block; height: 100%; transition: width .4s; }
.nbt-wp-live-btn { flex: none; display: inline-flex; align-items: center; gap: 3px; height: 22px; padding: 0 6px; border: 1px solid var(--border-color, #e5e7eb); border-radius: 6px; background: var(--bg-body, #fff); color: var(--text-secondary, #6b7280); font-size: 11px; cursor: pointer; }
.nbt-wp-live-btn i + i { font-size: 8px; }
.nbt-wp-live-btn[aria-expanded="true"] { color: #1E3A8A; border-color: #1E3A8A; }
.nbt-wp-live-chart { position: absolute; left: 0; right: 0; top: 100%; padding: 8px 12px 6px; background: var(--bg-body, #fff); border-bottom: 1px solid var(--border-color, #e5e7eb); box-shadow: 0 8px 16px rgba(0,0,0,.14); }
.nbt-wp-live-chart .nbt-wp-tip { top: -4px; }
