.team-profile-link{text-decoration:underline;text-decoration-color:#b7cce2;text-underline-offset:4px}
.team-profile-link:hover{color:#205b9f;text-decoration-color:currentColor}
.team-profile-link:focus-visible{outline:2px solid #3478c5;outline-offset:3px}
.team-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:16px}
.team-actions button,.team-action-link{min-height:44px;padding:11px 15px;font:800 14px Manrope,Arial,sans-serif;border:1px solid #ccd9e9;color:#163b67;background:#fff;cursor:pointer}
.team-actions .btn{font-size:14px;min-height:44px;padding:13px 18px}
#team-share-status{font-size:14px;line-height:1.7;color:#365b87}
#team-share-status:empty{display:none}
#team-copy-fallback{padding:16px;background:#e8f2ff;margin:12px 0 20px}
#team-copy-fallback label{display:block;font-size:14px;font-weight:800;margin-bottom:8px}
#team-share-link{width:100%;min-width:0;padding:12px;background:#fff;border:1px solid #adc4e2;font-size:16px;color:#163b67}
.team-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:24px 0}
.team-stats>div{background:#fff;border:1px solid #d7e1ee;border-top:3px solid #3478c5;padding:24px;min-width:0}
.team-stats span,.team-stats small{display:block;font-size:13px;line-height:1.7;color:#536780}
.team-stats strong{display:block;font:700 clamp(28px,3vw,42px)/1.2 'Barlow Condensed',Arial,sans-serif;margin:10px 0;color:#153d6e}
.team-overview{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:40px}
.team-panel{background:#fff;border:1px solid #d7e1ee;padding:26px;min-width:0}
.team-panel h2{font:700 32px/1.2 'Barlow Condensed',Arial,sans-serif;margin:12px 0 20px;text-transform:uppercase}
.team-form{display:flex;gap:9px;flex-wrap:wrap}
.form-result{display:flex;align-items:center;justify-content:center;width:44px;height:44px;font-weight:800;border:1px solid}
.form-P{background:#e3f4ea;color:#1d643b;border-color:#9ecbad}
.form-N{background:#eef2f7;color:#4a5a73;border-color:#c6d1e0}
.form-I{background:#fdebed;color:#973c45;border-color:#e3aeb6}
.team-muted{font-size:14px;line-height:1.8;color:#637189}
.team-last{display:grid;gap:10px}
.team-last>span{font-size:13px;color:#637189}
.team-last>strong{font-size:17px;line-height:1.9;overflow-wrap:anywhere}
.team-last b{color:#205b9f;white-space:nowrap}
.team-games{scroll-margin-top:120px}
.team-games-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.team-game{background:#fff;border:1px solid #d7e1ee;scroll-margin-top:120px;min-width:0}
.team-game:target{outline:3px solid #3478c5;outline-offset:3px}
.team-game .team-name>strong{color:#205b9f}
.team-game .fixture-main{margin-top:20px}
.team-game-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px;line-height:1.7}
.team-game-meta>strong{color:#153d6e}
.team-game-meta>span{color:#637189;text-align:right}
.team-game-filters{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 10px}
.team-game-filters button{min-height:44px;padding:10px 15px;border:1px solid #ccd9e9;color:#163b67;background:#fff;font:800 14px Manrope,Arial,sans-serif;cursor:pointer}
.team-game-filters button[aria-pressed="true"]{background:#153d6e;border-color:#153d6e;color:#fff}
.team-page [hidden]{display:none!important}
.team-page button:focus-visible,.team-page .form-result:focus-visible{outline:3px solid #3478c5;outline-offset:3px}
@media(max-width:1000px){.team-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.team-games-grid{grid-template-columns:1fr}}
@media(max-width:650px){.team-stats{gap:10px}.team-stats>div{padding:16px 12px}.team-stats span,.team-stats small{font-size:12px}.team-stats strong{font-size:30px}.team-overview{grid-template-columns:1fr;gap:14px}.team-panel{padding:22px 18px}.team-actions{gap:8px}.team-actions button,.team-action-link{font-size:13px;padding:10px 12px}.team-game-meta{font-size:11px}.team-game-filters button{font-size:13px}.team-stats strong{overflow-wrap:anywhere}}
