
.htsp-app{--blue:#0046b8;--navy:#071a37;--yellow:#ffd200;--line:#dfe6ef;--muted:#6b778c;font-family:Karla,Arial,sans-serif;color:var(--navy)}
.htsp-app h3,.htsp-app h4,.htsp-card-kicker,.htsp-field span,.htsp-apply{font-family:"Barlow Condensed",Arial,sans-serif;text-transform:uppercase}
.htsp-filters{display:flex;gap:14px;align-items:end;flex-wrap:wrap;background:#071a37;padding:18px;border-radius:10px;margin-bottom:22px}
.htsp-field{display:flex;flex-direction:column;gap:6px;min-width:180px}.htsp-field span{color:#fff;font-weight:800;letter-spacing:.04em}
.htsp-field select{height:44px;border:1px solid #27415f;background:#0d2948;color:#fff;border-radius:6px;padding:0 36px 0 12px;font-size:15px}
.htsp-apply{height:44px;border:0;border-radius:6px;padding:0 22px;background:var(--yellow);color:#071a37;font-weight:900;cursor:pointer}
.htsp-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:26px}
.htsp-match-card{border:1px solid var(--line);border-top:4px solid var(--blue);border-radius:8px;padding:18px;background:#fff}
.htsp-card-kicker{font-size:20px;font-weight:900;color:var(--blue);margin-bottom:8px}.htsp-match-meta{text-align:center;color:var(--muted);font-size:13px;margin-bottom:14px}
.htsp-match-row{display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:center}.htsp-team-box{text-align:center;display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0}
.htsp-team-logo,.htsp-team-cell .htsp-team-logo{width:44px;height:44px;object-fit:contain;display:inline-block}.htsp-team-cell .htsp-team-logo{width:30px;height:30px}
.htsp-logo-fallback{display:inline-flex;width:44px;height:44px;border-radius:50%;align-items:center;justify-content:center;background:#edf3fb;color:var(--blue);font-weight:900;font-size:12px;border:1px solid #cdd9e8}
.htsp-team-cell .htsp-logo-fallback,.htsp-fixture .htsp-logo-fallback{width:30px;height:30px;font-size:9px}
.htsp-vs{font-family:"Barlow Condensed",Arial,sans-serif;font-size:25px;font-weight:900;color:#9aa5b5}.htsp-score{font-family:"Barlow Condensed",Arial,sans-serif;font-size:34px;font-weight:900;color:var(--navy)}
.htsp-empty{text-align:center;padding:25px 8px;color:var(--muted)}
.htsp-section{margin:28px 0}.htsp-section-title{display:flex;justify-content:space-between;align-items:end;gap:14px;border-bottom:3px solid var(--yellow);margin-bottom:12px}
.htsp-section-title h3{margin:0;padding-bottom:8px;font-size:26px}.htsp-section-title span{padding-bottom:9px;color:var(--muted);font-size:13px}
.htsp-scroll{overflow-x:auto}.htsp-table{width:100%;border-collapse:collapse;min-width:760px;background:#fff}.htsp-table th{background:#071a37;color:#fff;text-align:center;padding:10px 8px;font-size:12px}
.htsp-table th:nth-child(2){text-align:left}.htsp-table td{padding:9px 8px;border-bottom:1px solid var(--line);text-align:center}.htsp-table td:nth-child(2){text-align:left}
.htsp-team-cell{display:flex;align-items:center;gap:9px}.htsp-highlight{background:#fff7c7!important}.htsp-highlight td{font-weight:700}
.htsp-fixtures h4{margin:22px 0 6px;font-size:18px;color:var(--blue)}
.htsp-fixture{display:grid;grid-template-columns:125px 1fr 70px 1fr;gap:10px;align-items:center;padding:9px 10px;border-bottom:1px solid var(--line)}
.htsp-fixture-me{background:#fff9d9}.htsp-fixture-date{font-weight:700;font-size:13px}.htsp-fixture-date small{display:block;color:var(--muted);font-weight:400;margin-top:2px}
.htsp-fixture-team{display:flex;align-items:center;gap:8px;min-width:0}.htsp-fixture-team.home{justify-content:flex-end;text-align:right}.htsp-fixture-score{text-align:center;font-weight:900;font-size:18px}
.htsp-info,.htsp-warning{padding:16px;border-radius:6px;background:#f3f6fa;border-left:4px solid var(--blue)}.htsp-warning{border-left-color:#d79f00}.htsp-archive-table{min-width:320px}
@media(max-width:720px){.htsp-summary-grid{grid-template-columns:1fr}.htsp-filters{display:grid;grid-template-columns:1fr}.htsp-field{min-width:0}.htsp-fixture{grid-template-columns:90px 1fr 48px 1fr;font-size:12px}.htsp-fixture .htsp-team-logo{display:none}.htsp-match-row{gap:8px}.htsp-section-title{align-items:flex-start;flex-direction:column;gap:0}}


/* HOME · ULTIMA / PROSSIMA PARTITA CROSS-COMPETIZIONE */
.htsp-home-matches{--blue:#0046b8;--navy:#071a37;--yellow:#ffd200;--line:#dfe6ef;--muted:#6b778c;font-family:Karla,Arial,sans-serif;color:var(--navy);width:100%}
.htsp-home-section-title{border-bottom:1px solid var(--line);margin-bottom:24px;padding-bottom:16px}
.htsp-home-section-title h2{margin:0!important;font-family:"Barlow Condensed",Arial,sans-serif;font-size:38px;line-height:1;font-weight:700;text-transform:uppercase;color:var(--navy)}
.htsp-home-match-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:stretch}
.htsp-home-match-card{position:relative;display:flex;flex-direction:column;min-height:430px;border:1px solid var(--line);border-top:5px solid var(--blue);border-radius:10px;background:#fff;overflow:hidden;box-sizing:border-box;padding:24px 28px 0}
.htsp-home-card-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}
.htsp-home-card-head h3{margin:0!important;font-family:"Barlow Condensed",Arial,sans-serif;font-size:30px;line-height:1;font-weight:700;text-transform:uppercase;color:var(--navy)}
.htsp-home-badge{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 18px;border-radius:10px;font-family:"Barlow Condensed",Arial,sans-serif;font-size:16px;font-weight:700;line-height:1;text-transform:uppercase;white-space:nowrap}
.htsp-home-badge.is-coppa{background:#d62828;color:#fff}.htsp-home-badge.is-campionato{background:var(--yellow);color:var(--navy)}
.htsp-home-match-meta{text-align:center;color:var(--muted);font-size:16px;line-height:1.3;margin:8px 0 24px}
.htsp-home-match-row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:24px;align-items:center;flex:1;padding:0 6px 28px}
.htsp-home-team{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px;min-width:0}
.htsp-home-team .htsp-team-logo{width:86px!important;height:86px!important;max-width:86px!important;max-height:86px!important;object-fit:contain!important}
.htsp-home-team .htsp-logo-fallback{width:86px;height:86px;font-size:20px}
.htsp-home-team strong{font-family:Karla,Arial,sans-serif;font-size:18px;line-height:1.2;font-weight:700;color:var(--navy)}
.htsp-home-score{font-family:"Barlow Condensed",Arial,sans-serif;font-size:52px;line-height:1;font-weight:700;color:var(--navy);white-space:nowrap}
.htsp-home-vs{font-family:Karla,Arial,sans-serif;font-size:30px;line-height:1;font-weight:400;font-style:normal;color:#000;white-space:nowrap}
.htsp-home-empty{display:flex;align-items:center;justify-content:center;flex:1;text-align:center;color:var(--muted);font-size:18px;padding:40px 10px 70px}
.htsp-home-calendar-link{margin:18px 0 20px auto;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:0 16px;border:1px solid var(--blue);border-radius:10px;background:#fff;text-decoration:none!important;color:var(--blue)!important;font-family:"Barlow Condensed",Arial,sans-serif;font-size:14px;font-weight:700;line-height:1;text-transform:uppercase;letter-spacing:.02em;transition:.2s ease;align-self:flex-end;max-width:max-content}
.htsp-home-calendar-link:hover{background:var(--blue);color:#fff!important}.htsp-home-calendar-link:hover span{color:#fff}.htsp-home-calendar-link-text{text-align:right;font-family:"Barlow Condensed",Arial,sans-serif;font-size:14px;font-weight:700;line-height:1;letter-spacing:.02em}.htsp-home-calendar-link span{font-family:"Barlow Condensed",Arial,sans-serif;font-size:20px;font-weight:700;line-height:1;color:var(--blue)}
@media(max-width:900px){.htsp-home-match-grid{grid-template-columns:1fr}.htsp-home-match-card{min-height:390px}}
@media(max-width:600px){.htsp-home-match-card{padding:20px 18px 0;min-height:360px}.htsp-home-card-head{align-items:flex-start;flex-direction:column;gap:10px}.htsp-home-card-head h3{font-size:26px}.htsp-home-badge{min-height:34px;font-size:14px}.htsp-home-match-row{gap:12px;padding-bottom:22px}.htsp-home-team .htsp-team-logo{width:66px!important;height:66px!important;max-width:66px!important;max-height:66px!important}.htsp-home-team strong{font-size:14px}.htsp-home-score{font-size:40px}.htsp-home-vs{font-size:24px}.htsp-home-calendar-link{margin:18px 0 16px auto;font-size:13px;justify-content:center;padding:0 13px;min-height:40px}.htsp-home-section-title h2{font-size:32px}}


/* HOME · MARCATORI ULTIMA PARTITA */
.htsp-home-scorers{margin:0 0 18px;padding-top:6px}
.htsp-home-scorers-title{display:flex;align-items:center;gap:12px;margin-bottom:12px;color:var(--muted);font-family:Karla,Arial,sans-serif;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.htsp-home-scorers-title:before,.htsp-home-scorers-title:after{content:"";height:1px;background:var(--line);flex:1}.htsp-home-scorers-title span{white-space:nowrap}
.htsp-home-scorers-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;padding:0 8px;align-items:start}
.htsp-home-scorer-list{display:flex;flex-direction:column;gap:8px;min-width:0;width:max-content;max-width:100%;margin:0 auto;align-items:flex-start}.htsp-home-scorer-list.is-home,.htsp-home-scorer-list.is-away{margin-left:auto;margin-right:auto}.htsp-home-scorer{display:flex;align-items:center;justify-content:flex-start;gap:10px;font-family:Karla,Arial,sans-serif;font-size:15px;line-height:1.25;color:var(--navy)}
.htsp-home-scorer-name{font-weight:700}.htsp-home-scorer-empty{color:var(--muted)}
@media(max-width:600px){.htsp-home-scorers-grid{gap:16px;padding:0}.htsp-home-scorer{font-size:13px}}
