/* Súmula ao Vivo – placar público. Tudo dentro de .cpsl para não brigar com o tema do site. */
.cps-live-root {
	--ink: #0f1a2a;
	--muted: #6a7789;
	--line: #e3e8ef;
	--soft: #f4f6fa;
	--yellow: #f4c20d;
	--red: #e03131;
	--ok: #18a058;
	margin: 0 0 24px;
}
.cpsl, .cpsl * { box-sizing: border-box; }
.cpsl { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; max-width: 760px; margin: 0 auto; box-shadow: 0 2px 10px rgba(15, 26, 42, .06); line-height: 1.35; font-size: 15px; text-align: left; }
.cpsl a { text-decoration: none; color: inherit; box-shadow: none; border: 0; }
.cpsl ul { list-style: none; margin: 0; padding: 0; }
.cpsl li { margin: 0; padding: 0; }
.cpsl li::before { content: none; }
.cpsl button { font: inherit; background: none; border: 0; margin: 0; cursor: pointer; color: inherit; box-shadow: none; text-transform: none; letter-spacing: normal; min-height: 0; line-height: inherit; border-radius: 0; }
.cpsl h5 { margin: 12px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.cpsl p { margin: 0; }
.cpsl img { max-width: none; border: 0; box-shadow: none; margin: 0; }

/* topo */
.cpsl-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--cps-primary, #0b1f3a); color: #fff; }
.cpsl-champ { width: 40px; height: 40px; object-fit: contain; flex: none; }
.cpsl-comp { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cpsl-comp b { font: 800 19px/1.1 'Barlow Condensed', 'Arial Narrow', sans-serif; text-transform: uppercase; letter-spacing: .03em; }
.cpsl-comp span { font-size: 12px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cpsl-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.cpsl-pill-live { background: var(--cps-live, #e5323b); color: #fff; }
.cpsl-pill-live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: cpsl-blink 1.2s infinite; }
.cpsl-pill-end { background: rgba(255, 255, 255, .16); color: #fff; }
@keyframes cpsl-blink { 50% { opacity: .25; } }

/* placar */
.cpsl-board { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 20px 12px 14px; background: linear-gradient(180deg, var(--cps-secondary, #16365f) 0%, var(--cps-primary, #0b1f3a) 100%); color: #fff; }
.cpsl-team { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-weight: 700; font-size: 15px; color: #fff !important; }
.cpsl-crest { object-fit: contain; flex: none; display: inline-block; }
.cpsl-crest-lg { width: 72px; height: 72px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .25)); }
.cpsl-crest-md { width: 36px; height: 36px; }
.cpsl-crest-sm { width: 22px; height: 22px; }
.cpsl-crest-fb { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .2); color: #fff; font: 700 12px 'Barlow Condensed', sans-serif; }
.cpsl-score { text-align: center; min-width: 130px; }
.cpsl-nums { font: 800 60px/1 'Barlow Condensed', 'Arial Narrow', sans-serif; letter-spacing: .02em; }
.cpsl-nums i { font-style: normal; opacity: .55; margin: 0 10px; }
.cpsl-when b { display: block; font: 800 40px/1 'Barlow Condensed', sans-serif; }
.cpsl-when span { font-size: 13px; opacity: .8; text-transform: capitalize; }
.cpsl-pens { margin-top: 6px; font-size: 12px; font-weight: 600; opacity: .9; }
.cpsl-phase { margin-top: 8px; font-size: 13px; font-weight: 600; opacity: .9; }
.cpsl-min { display: inline-block; background: var(--cps-accent, #e2b33c); color: var(--cps-primary, #0b1f3a); padding: 2px 10px; border-radius: 6px; font: 800 18px/1.2 'Barlow Condensed', sans-serif; font-variant-numeric: tabular-nums; }

/* artilheiros */
.cpsl-scorers { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; padding: 10px 16px; background: var(--cps-primary, #0b1f3a); color: rgba(255, 255, 255, .9); font-size: 13px; border-top: 1px solid rgba(255, 255, 255, .08); }
.cpsl-scorers li span { opacity: .7; }
.cpsl-right { text-align: right; }
.cpsl-ball { opacity: .6; font-size: 12px; }

/* abas */
.cpsl-tabs { display: flex; border-bottom: 1px solid var(--line); background: #fff; overflow-x: auto; }
.cpsl-tabs button { flex: 1; padding: 13px 10px !important; font-weight: 700 !important; font-size: 14px !important; color: var(--muted) !important; border-bottom: 3px solid transparent !important; white-space: nowrap; }
.cpsl-tabs button.is-on { color: var(--cps-primary, #0b1f3a) !important; border-bottom-color: var(--cps-accent, #e2b33c) !important; }
.cpsl-panel { padding: 14px 16px 18px; }
.cpsl-empty { color: var(--muted); text-align: center; padding: 16px 0; }

/* lances */
.cpsl-tl { position: relative; }
.cpsl-sep { text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--soft); border-radius: 8px; padding: 6px; margin: 10px 0; text-transform: uppercase; letter-spacing: .05em; }
.cpsl-sep-end { background: var(--cps-primary, #0b1f3a); color: #fff; }
.cpsl-ev { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid var(--soft); width: 75%; }
.cpsl-home { margin-right: auto; }
.cpsl-away { margin-left: auto; flex-direction: row-reverse; text-align: right; }
.cpsl-ev-min { font: 700 17px 'Barlow Condensed', sans-serif; color: var(--cps-primary, #0b1f3a); min-width: 40px; }
.cpsl-away .cpsl-ev-min { text-align: right; }
.cpsl-ico { width: 22px; text-align: center; flex: none; font-size: 16px; }
.cpsl-ico-sub { color: var(--cps-secondary, #16365f); font-weight: 700; }
.cpsl-ok { color: var(--ok); font-weight: 800; }
.cpsl-miss { color: var(--red); font-weight: 800; }
.cpsl-ev-txt { display: flex; flex-direction: column; min-width: 0; font-size: 14px; }
.cpsl-ev-txt small { color: var(--muted); font-size: 12px; }
.cpsl-ev-txt em { color: var(--muted); font-style: normal; font-size: 12px; }
.cpsl-in { color: var(--ok); }
.cpsl-out { color: var(--red) !important; }
.cpsl-card { display: inline-block; width: 10px; height: 14px; border-radius: 2px; background: var(--yellow); vertical-align: -2px; }
.cpsl-card-r { background: var(--red); }
.cpsl-card-yr { background: linear-gradient(135deg, var(--yellow) 50%, var(--red) 50%); }

/* escalações */
.cpsl-lineups { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cpsl-lu-head { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--cps-accent, #e2b33c); }
.cpsl-lu li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--soft); font-size: 14px; }
.cpsl-num { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--soft); display: inline-flex; align-items: center; justify-content: center; font: 700 14px 'Barlow Condensed', sans-serif; }
.cpsl-pn { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cpsl-mks { display: inline-flex; gap: 4px; align-items: center; flex: none; font-size: 12px; }
.cpsl-mk sup { font-size: 8px; color: var(--red); }

/* estatísticas */
.cpsl-stats-head { display: flex; justify-content: space-between; margin-bottom: 6px; }
.cpsl-stat { margin-bottom: 14px; }
.cpsl-stat-top { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 5px; }
.cpsl-stat-top span { color: var(--muted); font-size: 13px; }
.cpsl-stat-top b { font: 700 17px 'Barlow Condensed', sans-serif; min-width: 20px; }
.cpsl-bars { display: flex; gap: 4px; height: 7px; }
.cpsl-bars span { display: block; height: 100%; border-radius: 4px; background: #d5dce6; min-width: 4px; }
.cpsl-bar-a { margin-left: auto; }
.cpsl-bar-a.is-lead { background: var(--cps-accent, #e2b33c); }
.cpsl-bar-b.is-lead { background: var(--cps-primary, #0b1f3a); }
.cpsl-bars .cpsl-bar-a, .cpsl-bars .cpsl-bar-b { flex: none; }
.cpsl-bars { justify-content: center; }

/* súmula */
.cpsl-notes p { background: var(--soft); border-radius: 10px; padding: 10px 12px; font-size: 14px; }

/* lista de jogos */
.cpsl-hub-title { padding: 12px 16px 6px; font: 800 15px 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .05em; color: var(--cps-primary, #0b1f3a); background: #fff; }
.cpsl-hub-day { padding: 4px 16px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--soft); }
.cpsl-row { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--soft); color: var(--ink) !important; }
.cpsl-row:hover { background: var(--soft); }
.cpsl-row-status { width: 48px; flex: none; text-align: center; font-size: 12px; font-weight: 700; }
.cpsl-row-live { color: var(--cps-live, #e5323b); }
.cpsl-row-end { color: var(--muted); }
.cpsl-row-time { color: var(--ink); }
.cpsl-row-teams { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cpsl-row-team { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.cpsl-row-team span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cpsl-row-team b { font: 700 17px 'Barlow Condensed', sans-serif; min-width: 18px; text-align: right; }
.cpsl-row-team small { font-size: 11px; color: var(--muted); margin-left: 3px; }
.cpsl-row.is-live .cpsl-row-team b { color: var(--cps-live, #e5323b); }

@media (max-width: 520px) {
	.cpsl-nums { font-size: 48px; }
	.cpsl-crest-lg { width: 56px; height: 56px; }
	.cpsl-score { min-width: 100px; }
	.cpsl-team { font-size: 13px; }
	.cpsl-ev { width: 88%; }
	.cpsl-lineups { gap: 10px; }
	.cpsl-lu li { font-size: 13px; }
}

.cpsl-svg-ball { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; color: var(--ink); }
.cpsl-scorers .cpsl-svg-ball { color: var(--cps-primary, #0b1f3a); width: 14px; height: 14px; opacity: .8; }
.cpsl-own .cpsl-svg-ball { color: var(--red); }
.cpsl-stars li { display: grid; grid-template-columns: 22px 1fr 1fr 1fr; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--soft); font-size: 14px; }
.cpsl-stars small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.cpsl-star-team { font-weight: 700; }
@media (max-width: 520px) { .cpsl-stars li { grid-template-columns: 22px 1fr; } .cpsl-stars li span:nth-child(n+3) { grid-column: 2; } }

/* Jogo aberto dentro da lista do Ao Vivo */
.cpsl-row { cursor: pointer; user-select: none; }
.cpsl-row:focus-visible { outline: 2px solid var(--cps-accent, #e2b33c); outline-offset: -2px; }
.cpsl-row-chev { flex: none; width: 18px; text-align: center; font-size: 22px; line-height: 1; color: var(--muted); transition: transform .2s; }
.cpsl-row.is-open { background: var(--soft); }
.cpsl-row.is-open .cpsl-row-chev { transform: rotate(90deg); color: var(--cps-primary, #0b1f3a); }
.cpsl-expand { border-top: 1px solid var(--line); background: var(--soft); padding: 10px; animation: cpsl-open .2s ease-out; }
@keyframes cpsl-open { from { opacity: 0; transform: translateY(-6px); } }
.cpsl-expand .cps-live-root { margin: 0; }
.cpsl-embedded { border-radius: 12px; box-shadow: none; max-width: none; }
.cpsl-embedded .cpsl-board { padding-top: 16px; }
.cpsl-expand-link { display: block; text-align: center; padding: 10px 0 2px; font-size: 13px; font-weight: 700; color: var(--cps-secondary, #16365f) !important; }
.cpsl-hub-hint { margin: 0 !important; padding: 10px 16px 12px; font-size: 12px; color: var(--muted); text-align: center; border-top: 1px solid var(--soft); }
.cpsl-inj { display: inline-block; position: relative; width: 10px; height: 10px; vertical-align: -1px; }
.cpsl-inj::before, .cpsl-inj::after { content: ''; position: absolute; background: var(--red); border-radius: 1px; }
.cpsl-inj::before { left: 3.5px; top: 0; width: 3px; height: 10px; }
.cpsl-inj::after { left: 0; top: 3.5px; width: 10px; height: 3px; }

/* Escalações nunca estouram a largura; no celular, um time embaixo do outro */
.cpsl-lineups { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cpsl-lu { min-width: 0; }
.cpsl-mks { flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 560px) {
	.cpsl-lineups { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

/* Número da camisa, minutos do Art. 7º, jogo interrompido, arbitragem */
.cpsl-pno { display: inline-block; min-width: 18px; padding: 0 4px; margin-right: 2px; border-radius: 4px; background: var(--soft); color: var(--ink); font: 700 12px/16px 'Barlow Condensed', sans-serif; text-align: center; }
.cpsl-scorers .cpsl-pno { background: rgba(255, 255, 255, .15); color: #fff; }
.cpsl-mchip { flex: none; margin-left: 4px; padding: 1px 6px; border-radius: 99px; font-size: 11px; font-weight: 700; background: #fff4d6; color: #8a5a00; white-space: nowrap; }
.cpsl-mchip.is-ok { background: #e7f7ee; color: #116b3b; }
.cpsl-mchip.is-bad { background: #fdecec; color: #a31d1d; }
.cpsl-pill-paused { background: #fff4d6; color: #8a5a00; }
.cpsl-min.is-paused { background: #fff; animation: cpsl-blink 1.2s infinite; }
.cpsl-paused { display: block; margin-top: 4px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cps-accent, #e2b33c); }
.cpsl-officials li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--soft); font-size: 14px; }
.cpsl-officials small { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
