:root{--navy:#173f65;--line:#e5eaf0;--text:#202b36;--muted:#77818e;--pale:#f4f8fc}
*{box-sizing:border-box}body{margin:0;padding:18px;background:#f5f7fa;color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
.fixture-panel{max-width:1400px;margin:auto;background:white;overflow:hidden;border:1px solid var(--line);border-radius:12px;box-shadow:0 2px 12px #172d4310}
.panel-head{display:grid;grid-template-columns:1fr 1fr;background:var(--navy);color:white;font-weight:700;letter-spacing:.025em}.panel-head>div{padding:16px 20px}.panel-head>div+div{border-left:1px solid #ffffff55}
.fixture-row{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);min-height:96px}.fixture-cell{display:flex;align-items:center;min-width:0;gap:14px;padding:15px 17px}.fixture-cell+ .fixture-cell{border-left:1px solid var(--line)}
.category{flex:0 0 105px;background:#e7eff8;color:#16446b;border-radius:7px;padding:10px 7px;font-size:12px;font-weight:800;text-align:center}.fixture-row:nth-of-type(4n+1) .category{background:#fff1ca;color:#805700}.fixture-row:nth-of-type(4n+2) .category{background:#dff4e8;color:#17633a}.fixture-row:nth-of-type(4n+3) .category{background:#e7e0fb;color:#5e3a9a}
.fixture-content{min-width:0;flex:1}.match{min-width:0}.match-main{display:flex;gap:10px;align-items:center;justify-content:space-between;min-width:0}.team{display:flex;min-width:0;align-items:center;gap:7px;flex:1}.team:last-child{justify-content:flex-end}.team:last-child .team-name{text-align:right}.logo{width:35px;height:35px;object-fit:contain;flex:none}.logo-fallback{display:grid;place-items:center;font-size:21px;background:#eef2f5;border-radius:50%}.team-name{font-size:12.5px;font-weight:650;line-height:1.25;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.score{font-size:22px;font-weight:800;white-space:nowrap;flex:none}.dash{color:#a7b0bb}.versus{font-size:12px;font-weight:700;color:#89929c;flex:none}.match-meta{text-align:center;margin-top:6px;font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.venue{color:var(--muted)}.empty{color:#a1aab4;font-style:italic;font-size:13px}.category-mobile{display:none}.missing{padding:15px}
@media(max-width:1100px){.fixture-cell{gap:8px;padding:12px 9px}.category{flex-basis:82px;font-size:11px}.logo{width:27px;height:27px}.team-name{font-size:11px}.score{font-size:18px}.match-main{gap:5px}.venue{display:none}}
@media(max-width:750px){body{padding:8px}.panel-head>div{font-size:11px;padding:13px 8px;text-align:center}.fixture-row{grid-template-columns:1fr;min-height:0}.fixture-cell{padding:9px 12px}.fixture-cell+.fixture-cell{border-left:0;border-top:1px dashed var(--line)}.category{flex-basis:95px}.category-mobile{display:none}.logo{width:30px;height:30px}.fixture-content{max-width:none}.team-name{font-size:12px}}

/* Luogo della prossima partita: collegamento a Google Maps */
.venue-link { display: inline-flex; align-items: baseline; gap: .2rem; max-width: 100%; color: #155e96; text-decoration: underline; text-decoration-color: #b9d2e3; text-underline-offset: 2px; overflow-wrap: anywhere; }
.venue-link:hover, .venue-link:focus-visible { color: #083d67; text-decoration-color: currentColor; }
