/* V2.8.41 — compact match list + team logos */
.tfe-v16-compact .tfe-public-list{gap:8px}
.tfe-v16-compact .tfe-public-match{border-radius:15px;overflow:hidden;margin:0}
.tfe-v16-compact .tfe-compact-head{min-height:0;padding:9px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border,#e5e7eb)}
.tfe-v16-compact .tfe-public-league{font-size:.67rem;font-weight:900;letter-spacing:.065em;text-transform:uppercase;opacity:.58;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tfe-v16-compact .tfe-compact-main{display:grid;grid-template-columns:minmax(250px,1.25fr) minmax(190px,.85fr) auto;align-items:center;gap:16px;padding:11px 14px}
.tfe-v16-compact .tfe-compact-teams{display:grid;gap:7px;min-width:0}
.tfe-v16-compact .tfe-team-line{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0}
.tfe-v16-compact .tfe-team-line strong{font-size:.96rem;line-height:1.16;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tfe-v16-compact .tfe-team-line em{font-size:.8rem;font-style:normal;font-weight:900;font-variant-numeric:tabular-nums;opacity:.72}
.tfe-v16-compact .tfe-team-logo{width:30px;height:30px;display:grid;place-items:center;position:relative;flex:0 0 auto;border-radius:8px;background:rgba(148,163,184,.09);border:1px solid rgba(148,163,184,.16);overflow:hidden;color:inherit;font-size:.62rem;font-weight:900;letter-spacing:-.02em}
.tfe-v16-compact .tfe-team-logo img{display:block;width:100%;height:100%;object-fit:contain;padding:3px;background:transparent}
.tfe-v16-compact .tfe-team-logo>span{display:grid;place-items:center;width:100%;height:100%}
.tfe-v16-compact .tfe-team-logo.mini{width:22px;height:22px;border-radius:6px;font-size:.52rem}
.tfe-v16-compact .tfe-team-inline{display:inline-flex;align-items:center;gap:6px;min-width:0;vertical-align:middle}
.tfe-v16-compact .tfe-compact-recommend{min-width:0;padding:7px 11px;border-left:1px solid var(--border,#e5e7eb)}
.tfe-v16-compact .tfe-compact-recommend>span{display:block;font-size:.66rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em;opacity:.52;margin-bottom:2px}
.tfe-v16-compact .tfe-compact-recommend>b{display:block;font-size:.98rem;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tfe-v16-compact .tfe-compact-recommend>strong{display:block;margin-top:2px;font-size:.82rem;color:#15803d}
.tfe-v16-compact .tfe-compact-recommend>small{display:block;margin-top:2px;font-size:.72rem;opacity:.58}
.tfe-v16-compact .tfe-compact-recommend.no>b{opacity:.72}
.tfe-v16-compact .tfe-compact-probs{display:flex;align-items:center;gap:5px;white-space:nowrap}
.tfe-v16-compact .tfe-compact-probs span{display:flex;align-items:center;gap:4px;min-width:48px;justify-content:center;padding:6px 8px;border:1px solid var(--border,#e5e7eb);border-radius:9px;font-size:.74rem;font-variant-numeric:tabular-nums}
.tfe-v16-compact .tfe-compact-probs b{font-size:.66rem;opacity:.56}
.tfe-v16-compact .tfe-compact-details{border-top:1px solid var(--border,#e5e7eb)}
.tfe-v16-compact .tfe-compact-details>summary{padding:10px 14px;font-size:.86rem;font-weight:900;cursor:pointer;list-style:none}
.tfe-v16-compact .tfe-compact-details>summary::-webkit-details-marker{display:none}
.tfe-v16-compact .tfe-compact-details>summary::after{content:'＋';float:right;font-size:.95rem;opacity:.55}
.tfe-v16-compact .tfe-compact-details[open]>summary::after{content:'−'}
.tfe-v16-compact .tfe-compact-details .tfe-why-body{padding:0 14px 14px}
.tfe-v16-compact .tfe-detail-grid{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:10px;margin:4px 0 10px}
.tfe-v16-compact .tfe-detail-grid>section{min-height:0;padding:12px;border-radius:12px}
.tfe-v16-compact .tfe-detail-trust{margin:0 0 10px}
.tfe-v16-compact .tfe-detail-trust>div{min-height:0;padding:10px 12px}
.tfe-v16-compact .tfe-h2h-list>div{display:grid;grid-template-columns:82px minmax(0,1fr);align-items:center;gap:8px}
.tfe-v16-compact .tfe-h2h-teams{display:flex!important;align-items:center;gap:7px;min-width:0}
.tfe-v16-compact .tfe-h2h-teams .tfe-team-inline{flex:1 1 0;min-width:0}
.tfe-v16-compact .tfe-h2h-teams .tfe-team-inline:last-child{justify-content:flex-start}
.tfe-v16-compact .tfe-h2h-teams>b{flex:0 0 auto;font-variant-numeric:tabular-nums}
.tfe-v16-compact .tfe-match-state{padding-left:8px}
.tfe-v16-compact .tfe-live-score{font-size:1.08rem}
.tfe-v16-compact .tfe-list-divider{margin-top:6px;padding:8px 11px}
.tfe-v16-compact .tfe-league-divider{padding-top:7px}

html[data-theme="dark"] .tfe-v16-compact .tfe-team-logo,.dark .tfe-v16-compact .tfe-team-logo{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.08)}

@media(max-width:850px){
  .tfe-v16-compact .tfe-compact-main{grid-template-columns:minmax(0,1fr) minmax(165px,.75fr)}
  .tfe-v16-compact .tfe-compact-probs{grid-column:1/-1;justify-content:flex-start;padding-left:39px;margin-top:-3px}
  .tfe-v16-compact .tfe-detail-grid{grid-template-columns:1fr 1fr}
  .tfe-v16-compact .tfe-detail-grid>section:last-child{grid-column:1/-1}
}
@media(max-width:620px){
  .tfe-v16-compact .tfe-compact-head{padding:8px 10px}
  .tfe-v16-compact .tfe-public-league{max-width:62vw}
  .tfe-v16-compact .tfe-compact-main{grid-template-columns:1fr;gap:8px;padding:10px}
  .tfe-v16-compact .tfe-compact-recommend{border-left:0;border-top:1px solid var(--border,#e5e7eb);padding:8px 0 0}
  .tfe-v16-compact .tfe-compact-probs{grid-column:auto;padding-left:0;margin-top:0}
  .tfe-v16-compact .tfe-team-line{grid-template-columns:28px minmax(0,1fr) auto}
  .tfe-v16-compact .tfe-team-logo{width:28px;height:28px}
  .tfe-v16-compact .tfe-detail-grid{grid-template-columns:1fr}
  .tfe-v16-compact .tfe-detail-grid>section:last-child{grid-column:auto}
  .tfe-v16-compact .tfe-compact-details>summary{padding:10px;font-size:.82rem}
  .tfe-v16-compact .tfe-compact-details .tfe-why-body{padding:0 10px 10px}
  .tfe-v16-compact .tfe-h2h-list>div{grid-template-columns:70px minmax(0,1fr)}
  .tfe-v16-compact .tfe-h2h-teams{flex-wrap:wrap}
}
