/* ===== LA PORRA · rediseño v2 (solo esta página) ===== */
.ico { flex: 0 0 auto; vertical-align: -3px; }

/* barra de jornada compacta */
#tab-porra #countdownPanel { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "chips chips" "info timer"; align-items: center; gap: 4px 12px; text-align: left; padding: 12px 14px; border-radius: 16px; margin-bottom: 12px; }
#tab-porra .jc-jornada { display: none; }
#tab-porra .jc-chips { grid-area: chips; justify-content: flex-start; }
#tab-porra .jc-timer { grid-area: timer; font-size: 1.35rem; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; line-height: 1; margin: 0; }
#tab-porra .jc-info { grid-area: info; font-size: .76rem; margin: 0; }
#tab-porra #countdownPanel.closed .jc-timer { font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(239,68,68,.14); }
#tab-porra .jnote { grid-column: 1 / -1; }

/* premios en una línea */
.pz-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 12px; }
.pz { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--card-solid); }
.pz small { font-size: .66rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.pz b { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.05rem; font-weight: 800; color: #f59e0b; font-variant-numeric: tabular-nums; }

/* partido */
.pc3 { padding: 14px 14px 12px; border-radius: 18px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 12px; }
.pc3-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pc3-when.done { color: #22c55e; }
.pc3-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.pc3-team { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; text-align: center; }
.pc3-team .crest, .pc3-team .crest-fallback { width: 48px; height: 48px; object-fit: contain; }
.pc3-name { font-weight: 700; font-size: .82rem; line-height: 1.15; overflow-wrap: anywhere; }
.pc3-mid { display: flex; align-items: center; justify-content: center; min-width: 96px; }
.pc3-score { font-family: 'Bricolage Grotesque', sans-serif; font-size: 2rem; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pc3-vs { font-size: .8rem; font-weight: 800; letter-spacing: .1em; color: var(--muted); }
.pc3-pred { display: flex; align-items: center; gap: 6px; }
.pc3-pred input { width: 46px; height: 48px; text-align: center; font-size: 1.3rem; font-weight: 800; padding: 0; border-radius: 12px; }
.pc3 .pc-save { width: 100%; }
.pc3-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .78rem; color: var(--muted); }

/* pronósticos del partido */
.pe3-list { display: flex; flex-direction: column; gap: 6px; }
.pe3 { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border); background: rgba(127,127,127,.06); font-size: .86rem; }
.pe3-name { font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pe3-score { font-weight: 800; font-variant-numeric: tabular-nums; }
.pe3-tag { font-size: .7rem; font-weight: 800; color: #f59e0b; white-space: nowrap; }
.pe3-tag:empty { display: none; }
.pe3.exacto { border-color: rgba(34,197,94,.5); background: rgba(34,197,94,.10); }
.pe3.signo { border-color: rgba(245,158,11,.45); background: rgba(245,158,11,.08); }
.pe3.exacto .pe3-tag { color: #22c55e; }

/* historial / participantes: iconos */
.hx-why { display: flex; align-items: flex-start; gap: 6px; }
.hx-why .ico { margin-top: 2px; }
.hx-why .ok { color: #22c55e; } .hx-why .mid { color: #f59e0b; } .hx-why .ko { color: #ef4444; }
.pp-note { display: flex; align-items: center; gap: 6px; }
@media (max-width: 380px) { .pc3-mid { min-width: 88px; } .pc3-pred input { width: 42px; } }
