/* World Cup 2026 hub — group tables grid + knockout bracket. Uses theme tokens. */
.wc-hero{margin-top:.6rem}
.wc-jump{display:flex;gap:.6rem;margin:.2rem 0 1.4rem}
.wc-jump a{background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:.35rem .9rem;font-weight:700;font-size:.85rem;color:var(--muted)}
.wc-jump a:hover{border-color:var(--brand);color:var(--text)}
.wc-sec{font-size:1.3rem;margin:1.6rem 0 1rem;display:flex;align-items:center;gap:.5rem}
.wc-sec::before{content:"";width:4px;height:1.05em;border-radius:3px;background:linear-gradient(180deg,var(--brand-3),var(--brand-2));display:inline-block}

/* group cards */
.wc-groups{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:1rem}
.wc-group{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:.9rem 1rem 1rem}
.wc-group-name{font-size:1rem;margin:0 0 .6rem;color:var(--text);text-transform:uppercase;letter-spacing:.04em}
.wc-table{width:100%;border-collapse:collapse;font-size:.86rem}
.wc-table th{text-align:left;color:var(--muted);font-size:.7rem;text-transform:uppercase;letter-spacing:.03em;font-weight:700;padding:.2rem .3rem;border-bottom:1px solid var(--line)}
.wc-table th:nth-child(n+3),.wc-table td:nth-child(n+3){text-align:center;width:2.2em}
.wc-table td{padding:.32rem .3rem;border-bottom:1px solid rgba(40,49,64,.5)}
.wc-table tr:last-child td{border-bottom:none}
.wc-pos{color:var(--muted);width:1.6em;text-align:center}
.wc-qual .wc-pos{color:var(--brand);font-weight:800}
.wc-qual{background:rgba(22,199,132,.05)}
.wc-team{display:flex;align-items:center;gap:.4rem;font-weight:600;min-width:0}
.wc-team a{color:var(--text)} .wc-team a:hover{color:var(--brand)}
.wc-crest{width:18px;height:18px;object-fit:contain;flex:0 0 auto}
.wc-ptscol{font-weight:800;color:var(--text)}

.wc-fixtures{display:flex;flex-direction:column;gap:.25rem;margin-top:.7rem;padding-top:.7rem;border-top:1px solid var(--line)}
.wc-fix{display:flex;align-items:center;gap:.5rem;padding:.32rem .45rem;border-radius:7px;font-size:.82rem;color:var(--text);background:var(--surface-2)}
.wc-fix:hover{background:rgba(22,199,132,.08)}
.wc-fix-main{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wc-v{color:var(--muted);font-weight:400}
.wc-fix-score{font-weight:800;font-variant-numeric:tabular-nums}
.wc-fix-pick{font-weight:800;font-size:.72rem;padding:.05rem .4rem;border-radius:5px}
.wc-fix-conf{font-weight:800;font-variant-numeric:tabular-nums;min-width:2.4em;text-align:right;color:var(--brand)}

/* knockout bracket — horizontal round columns */
.wc-bracket-note{margin:0 0 .8rem}
.wc-bracket{display:flex;gap:1rem;overflow-x:auto;padding-bottom:.8rem;-webkit-overflow-scrolling:touch}
.wc-round{flex:0 0 auto;width:220px;display:flex;flex-direction:column;gap:.6rem}
.wc-round-label{font-size:.78rem;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);margin:0 0 .2rem;position:sticky;top:0}
.wc-tie{display:flex;flex-direction:column;gap:.25rem;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:.55rem .65rem;color:var(--text)}
.wc-tie:hover{border-color:var(--brand)}
.wc-tie-row{display:flex;align-items:center;justify-content:space-between;gap:.4rem;font-size:.85rem;color:var(--muted)}
.wc-tie-row.is-fav{color:var(--text);font-weight:700}
.wc-tie-team{display:flex;align-items:center;gap:.4rem;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wc-tie-row b{font-variant-numeric:tabular-nums}
.wc-tie-ai{font-size:.72rem;color:var(--muted);margin-top:.2rem;padding-top:.3rem;border-top:1px solid var(--line)}
.wc-tie-ai strong{color:var(--brand)}

@media(max-width:560px){
  .wc-groups{grid-template-columns:1fr}
  .wc-round{width:200px}
}
