/* SG.22.146 — canonical single-prediction public card.
   One component for hub, match, team, competition and editorial surfaces. */
.sg-public-prediction-card{min-width:0!important;border:0!important;background:transparent!important}
.sg-pred-card-v2{
  --sg-pc-state:var(--sg-accent);
  position:relative;display:grid;gap:10px;min-width:0;height:100%;padding:12px;
  border:1px solid var(--sg-line);border-radius:10px;background:var(--sg-surface);color:var(--sg-text);
  box-shadow:0 1px 0 rgba(17,24,39,.025);overflow:hidden;
}
.sg-pred-card-v2::before{content:"";position:absolute;inset:0 auto 0 0;width:2px;background:var(--sg-pc-state);opacity:.9}
.sg-pred-card-v2.is-won{--sg-pc-state:#168a50}.sg-pred-card-v2.is-lost{--sg-pc-state:#c83d49}.sg-pred-card-v2.is-void{--sg-pc-state:var(--sg-muted)}.sg-pred-card-v2.is-review{--sg-pc-state:#b7791f}
.sg-pred-card-v2:hover{border-color:color-mix(in srgb,var(--sg-accent) 24%,var(--sg-line));background:color-mix(in srgb,var(--sg-surface) 94%,var(--sg-accent) 6%)}
.sg-pred-card-v2__meta{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.sg-pred-card-v2__competition{display:flex;align-items:center;gap:6px;min-width:0;color:var(--sg-muted);font-size:9.5px;font-weight:800;letter-spacing:.015em}
.sg-pred-card-v2__competition>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sg-pred-card-v2__competition-logo{display:grid;place-items:center;flex:0 0 18px;width:18px;height:18px;padding:2px;border:1px solid var(--sg-line);border-radius:5px;background:#fff}
.sg-pred-card-v2__competition-logo img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;margin:0!important;border-radius:0!important}
.sg-pred-card-v2__kickoff{display:flex;align-items:center;gap:5px;flex:0 0 auto;color:var(--sg-muted);font-size:9.5px;line-height:1}
.sg-pred-card-v2__kickoff b{color:var(--sg-text);font-weight:800}.sg-pred-card-v2__kickoff span{font-variant-numeric:tabular-nums}
.sg-pred-card-v2__fixture{display:grid;gap:5px;padding:1px 0;color:var(--sg-text)!important;text-decoration:none!important}
.sg-pred-card-v2__team{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;min-height:30px}
.sg-pred-card-v2__team-logo{display:grid;place-items:center;width:28px;height:28px;padding:3px;border:1px solid var(--sg-line);border-radius:7px;background:#fff}
.sg-pred-card-v2__team-logo img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;margin:0!important;border-radius:0!important}
.sg-pred-card-v2__team strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;line-height:1.15;font-weight:750;letter-spacing:-.08px}
.sg-pred-card-v2__score{min-width:18px;text-align:right;font-size:14px;font-variant-numeric:tabular-nums}
.sg-pred-card-v2__pick{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:9px 10px;border:1px solid var(--sg-line);border-radius:8px;background:var(--sg-surface-2)}
.sg-pred-card-v2__pick-copy{display:grid;gap:2px;min-width:0}
.sg-pred-card-v2__pick-copy>span{color:var(--sg-muted);font-size:8px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}
.sg-pred-card-v2__pick-copy>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--sg-text);font-size:15px;line-height:1.08;letter-spacing:-.18px}
.sg-pred-card-v2__odds{display:grid;justify-items:end;gap:1px;flex:0 0 auto;min-width:48px;padding-left:9px;border-left:1px solid var(--sg-line)}
.sg-pred-card-v2__odds small{color:var(--sg-muted);font-size:7.5px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.sg-pred-card-v2__odds b{color:var(--sg-accent);font-size:14px;line-height:1;font-variant-numeric:tabular-nums}
.sg-pred-card-v2__premium{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:28px;padding:0 9px;border:1px solid color-mix(in srgb,var(--sg-accent) 35%,var(--sg-line));border-radius:6px;background:color-mix(in srgb,var(--sg-accent) 8%,var(--sg-surface));color:var(--sg-accent)!important;font-size:9px;font-weight:900;text-decoration:none!important}
.sg-pred-card-v2__locked-pick{display:inline-block;letter-spacing:.08em;filter:blur(2.5px);user-select:none;opacity:.55}
.sg-pred-card-v2__foot{display:flex;align-items:center;gap:8px;min-width:0;min-height:13px;color:var(--sg-muted);font-size:8.5px;font-weight:750}
.sg-pred-card-v2__state{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;color:var(--sg-muted)}
.sg-pred-card-v2__state i{display:block;width:6px;height:6px;border-radius:50%;background:var(--sg-pc-state);box-shadow:0 0 0 2px color-mix(in srgb,var(--sg-pc-state) 12%,transparent)}
.sg-pred-card-v2.is-won .sg-pred-card-v2__state{color:#168a50}.sg-pred-card-v2.is-lost .sg-pred-card-v2__state{color:#c83d49}
.sg-pred-card-v2__round{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-left:auto}
.sg-pred-card-v2__confidence{display:flex;align-items:center;gap:2px;flex:0 0 auto;margin-left:auto}
.sg-pred-card-v2__round+.sg-pred-card-v2__confidence{margin-left:0}
.sg-pred-card-v2__confidence i{display:block;width:8px;height:2px;border-radius:999px;background:var(--sg-line)}
.sg-pred-card-v2__confidence i.is-on{background:var(--sg-accent)}
.sg-pred-card-v2__comment{margin:0!important;padding-top:9px;border-top:1px solid var(--sg-line);color:var(--sg-muted)!important;font-size:11.5px!important;line-height:1.45!important}
.sg-pred-card-v2.is-compact{gap:8px;padding:10px 11px;min-height:154px}
.sg-pred-card-v2.is-compact .sg-pred-card-v2__team{grid-template-columns:26px minmax(0,1fr) auto;min-height:27px;gap:7px}
.sg-pred-card-v2.is-compact .sg-pred-card-v2__team-logo{width:26px;height:26px;border-radius:6px}
.sg-pred-card-v2.is-compact .sg-pred-card-v2__team strong{font-size:11.5px}
.sg-pred-card-v2.is-compact .sg-pred-card-v2__pick{padding:8px 9px}
.sg-pred-card-v2.is-compact .sg-pred-card-v2__pick-copy>strong{font-size:14px}

/* Existing contextual feeds now use cards, not edge-to-edge legacy cells. */
.sg-prediction-card-grid{gap:8px!important;background:transparent!important}
.sg-prediction-card-grid>.sg-public-prediction-card{border:0!important}
.sg-news-predictions-track{gap:8px!important}
.sg-news-predictions-track .sg-public-prediction-card{border:0!important}

/* /pronostici carousel */
.sg-page-pronostici .sg-predictions-carousel-item>.sg-public-prediction-card{height:100%;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important}
.sg-page-pronostici .sg-predictions-carousel-item .sg-pred-card-v2{height:100%;min-height:154px}

html[data-sg-theme="dark"] .sg-pred-card-v2{box-shadow:none}
html[data-sg-theme="dark"] .sg-pred-card-v2__competition-logo,
html[data-sg-theme="dark"] .sg-pred-card-v2__team-logo{background:#fff;border-color:rgba(255,255,255,.16)}

@media(max-width:900px){
  .sg-prediction-card-grid,.sg-news-predictions-track{grid-template-columns:1fr!important}
}
@media(max-width:720px){
  .sg-pred-card-v2{padding:10px 11px;border-radius:9px}
  .sg-pred-card-v2__competition{font-size:9px}
  .sg-pred-card-v2__team strong{font-size:11.75px}
  .sg-pred-card-v2__pick-copy>strong{font-size:14px}
  .sg-pred-card-v2__odds b{font-size:13.5px}
  .sg-pred-card-v2__comment{font-size:11px!important}
  .sg-page-pronostici .sg-predictions-carousel-item{flex-basis:min(292px,88vw)!important}
}

/* Editorial embed: same card, with article rhythm only. */
.sg-article-body .sg-pred-card-v2{margin:18px 0}
.sg-article-prediction-summary-item .sg-pred-card-v2{margin:0;height:100%}
@media(max-width:720px){.sg-article-body .sg-pred-card-v2{margin:15px 0}}
