/* Scoped so basketball and existing player/coach/referee hovers are unaffected. */
.football-team-hover{--fth-soft:color-mix(in srgb,var(--accent,#006b60) 10%,var(--panel,#fff));--fth-tile:color-mix(in srgb,var(--accent,#006b60) 15%,var(--panel,#fff));display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;padding:8px;min-width:0;color:var(--text,#172126);background:var(--panel,#fff);border-radius:8px;font-family:system-ui;font-size:calc(.7rem * var(--ui-font-scale,1));line-height:1.25}
.football-team-hover *{box-sizing:border-box}.football-team-hover .fth-main{min-width:0;display:grid;gap:8px;align-content:start}.football-team-hover h3{margin:0;color:var(--muted,#536871);font-size:calc(.64rem * var(--ui-font-scale,1));font-weight:900;text-transform:uppercase}.football-team-hover p{margin:4px 0 0}.football-team-hover small{font-size:calc(.64rem * var(--ui-font-scale,1));font-weight:400;color:var(--muted,#536871)}
.football-team-hover .fth-section{padding:7px;border:1px solid var(--line,#cad7d4);border-radius:8px;background:var(--fth-soft);min-width:0}.football-team-hover .fth-head{display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px;background:color-mix(in srgb,var(--accent,#006b60) 12%,var(--panel,#fff));padding:13px 10px;align-items:stretch;min-width:0}.football-team-hover .fth-head>img{width:92px;height:92px;object-fit:contain;background:none;border:0;border-radius:0}.football-team-hover .fth-identity{display:flex;flex-direction:column;align-items:start;min-width:0}.football-team-hover .fth-identity>strong{font-size:calc(.96rem * var(--ui-font-scale,1));font-weight:950}.football-team-hover .fth-statuses{display:flex;gap:4px;margin-top:auto;padding-top:6px}.football-team-hover .fth-status{display:flex;align-items:center;gap:3px;padding:2px 5px;border-radius:999px;border:1px solid currentColor;font-weight:850;font-size:calc(.64rem * var(--ui-font-scale,1))}.football-team-hover .fth-status svg{width:12px;height:12px;fill:currentColor}.football-team-hover .injuries,.football-team-hover .suspensions{color:#b7444b;background:#f8e3e4}.football-team-hover .risks{color:#92620b;background:#fff0cf}
.football-team-hover .fth-facts{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.football-team-hover .fth-tile{padding:7px;background:var(--fth-tile);border-radius:8px;min-width:0}.football-team-hover .fth-facts>.fth-tile{grid-column:span 2}.football-team-hover .fth-facts>.half{grid-column:span 3}.football-team-hover .fth-tile>strong{display:block;margin-top:2px;font-weight:900;font-size:calc(.8rem * var(--ui-font-scale,1));overflow-wrap:anywhere}.football-team-hover .fth-tile>small{display:block;margin-top:1px}.football-team-hover .fth-facts h3{font-size:calc(.61rem * var(--ui-font-scale,1))}
.football-team-hover .fth-season-head,.football-team-hover .fth-transfer-head{display:flex;justify-content:space-between;gap:6px;align-items:baseline}.football-team-hover .fth-season-head>span{font-size:calc(.64rem * var(--ui-font-scale,1));font-weight:850;color:var(--accent-strong,#006b60)}.football-team-hover .fth-leaders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:7px}.football-team-hover .fth-leaders .fth-tile{padding:5px 6px}.football-team-hover .fth-leaders h3{font-size:calc(.58rem * var(--ui-font-scale,1))}.football-team-hover .fth-leaders strong{font-size:inherit}.football-team-hover .fth-leaders small{color:var(--accent-strong,#006b60);font-weight:850}
.football-team-hover .fth-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin-top:7px}.football-team-hover .fth-result{display:flex;align-items:center;justify-content:space-between;gap:3px;padding:3px 5px;border:1px solid var(--line,#cad7d4);border-radius:999px;font-size:calc(.64rem * var(--ui-font-scale,1));font-weight:850;background:var(--panel,#fff);min-width:0}.football-team-hover .fth-result b{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;color:#fff;background:#8b969b}.football-team-hover .win b{background:#157d5c}.football-team-hover .loss b{background:#b7444b}.football-team-hover .draw b{background:#a47011}.football-team-hover .fth-fixtures{display:grid;gap:3px;margin-top:7px}.football-team-hover .fth-fixtures>div{display:grid;grid-template-columns:3.2ch minmax(0,1fr) auto;gap:6px;align-items:baseline;font-size:calc(.64rem * var(--ui-font-scale,1))}.football-team-hover .fth-fixtures strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.football-team-hover .fth-fixtures time{white-space:nowrap;color:var(--muted,#536871);font-weight:850}
.football-team-hover .fth-quali p{font-size:calc(.62rem * var(--ui-font-scale,1));overflow-wrap:anywhere}.football-team-hover .fth-transfer-head h3{font-size:calc(.6rem * var(--ui-font-scale,1))}.football-team-hover .fth-transfer-head small{font-size:calc(.6rem * var(--ui-font-scale,1));white-space:nowrap}.football-team-hover .fth-transfer{display:grid;grid-template-columns:18px auto minmax(0,1fr);gap:5px;margin-top:5px;align-items:baseline}.football-team-hover .fth-transfer strong{white-space:nowrap}.football-team-hover .fth-transfer small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650}.football-team-hover .fth-transfer i{font-style:normal;font-weight:950;font-size:.9rem}.football-team-hover .arrival{color:#169963}.football-team-hover .departure{color:#c34b54}.football-team-hover details{margin-top:5px}.football-team-hover summary{cursor:pointer;color:var(--accent-strong,#006b60);font-weight:850;font-size:calc(.68rem * var(--ui-font-scale,1))}
.football-team-hover .fth-placement{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:5px}.football-team-hover .fth-placement span{color:var(--muted,#536871)}.football-team-hover .fth-records{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:7px}.football-team-hover .fth-records p{display:grid;grid-template-columns:4ch minmax(0,1fr);gap:6px;font-size:calc(.64rem * var(--ui-font-scale,1));align-items:baseline}.football-team-hover .fth-records b{text-align:right;font-variant-numeric:tabular-nums}.football-team-hover .fth-records strong{overflow-wrap:anywhere}.football-team-hover .fth-trophy{display:grid;grid-template-columns:26px minmax(0,1fr);gap:8px;padding:6px 10px;margin-top:4px;border:1px solid var(--line,#cad7d4);border-radius:8px;background:linear-gradient(var(--panel,#fff),var(--fth-soft));position:relative}.football-team-hover .fth-trophy>img{width:26px;height:32px;object-fit:contain}.football-team-hover .fth-trophy strong,.football-team-hover .fth-trophy small{display:block}.football-team-hover .fth-trophy b{color:var(--accent-strong,#006b60);font-size:calc(.64rem * var(--ui-font-scale,1))}.football-team-hover .fth-trophy-detail{display:none;position:absolute;left:0;top:100%;z-index:4;width:100%;padding:8px;border:1px solid var(--line);background:var(--panel,#fff);box-shadow:0 4px 10px #0002}.football-team-hover .fth-trophy:hover .fth-trophy-detail,.football-team-hover .fth-trophy:focus .fth-trophy-detail{display:block}
.football-team-hover .fth-background{display:grid;gap:8px}.football-team-hover .fth-description{display:grid;grid-template-columns:60px minmax(0,1fr);gap:9px;margin-top:4px}.football-team-hover .fth-description img{width:60px;max-height:60px;object-fit:contain}.football-team-hover .fth-description p{margin:0;font-weight:850}.football-team-hover .fth-nicknames{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.football-team-hover .fth-nicknames .fth-tile{padding:3px 6px}.football-team-hover .fth-background-part>strong,.football-team-hover .fth-background-part>small{display:block;margin-top:3px}
.football-team-hover .fth-goal-chart{display:grid;grid-template-columns:42px minmax(0,1fr);margin-top:6px;font-size:calc(.5rem * var(--ui-font-scale,1));font-weight:850;color:var(--muted)}.football-team-hover .fth-goal-chart>div{position:relative;height:15px;background:linear-gradient(90deg,#afd1c3 0 30%,#e1e0c4 30% 33.3%,#afd1c3 33.3% 63.3%,#e1e0c4 63.3% 66.7%,#b5d4cd 66.7% 90%,#e1e0c4 90% 93.3%,#c7d8da 93.3%)}.football-team-hover .fth-goal{position:absolute;font-size:8px;top:1px;color:#157d5c}.football-team-hover .fth-goal.against{color:#b7444b}.football-team-hover .fth-goal-chart>.fth-goal-axis{display:block;position:relative;background:none;height:13px;padding-top:2px}.football-team-hover .fth-goal-axis>span{position:absolute;transform:translateX(-50%)}.football-team-hover .goal-timing-head em,.football-team-hover .goal-timing-row-label,.football-team-hover .goal-timing-axis{color:var(--muted,#536871)!important}.football-team-hover .fth-notes{min-width:0;border-left:1px solid var(--line,#cad7d4);padding-left:12px;align-self:start}.football-team-hover .fth-notes .app-notes-component{max-height:none!important;overflow:visible!important;margin:0}.football-team-hover .fth-notes textarea{box-sizing:border-box}.football-team-hover .fth-notes .league-hover-note-stack{max-height:none!important;overflow:visible!important}
@media(max-width:650px){.football-team-hover{gap:10px;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.football-team-hover .fth-head{grid-template-columns:60px minmax(0,1fr);gap:8px}.football-team-hover .fth-head>img{width:60px;height:75px}.football-team-hover .fth-identity>strong{font-size:.8rem}.football-team-hover .fth-transfer{grid-template-columns:16px minmax(0,1fr)}.football-team-hover .fth-transfer small{grid-column:2}.football-team-hover .fth-transfer-head{flex-wrap:wrap}.football-team-hover .fth-facts>.fth-tile{grid-column:span 3}.football-team-hover .fth-fixtures time{grid-column:2}.football-team-hover .fth-records{grid-template-columns:1fr}}

.football-team-hover .fth-notes .app-notes-component{position:static!important;display:block!important;width:100%;border:1px solid var(--line,#cad7d4);padding:9px;border-radius:7px;background:var(--panel,#fff)}
.football-team-hover .fth-notes .league-note-new,.football-team-hover .fth-notes .league-note-actions{display:block!important}
.football-team-hover .fth-notes .league-note-text-field{position:static;padding:0}
.football-team-hover .fth-notes .league-note-new-controls{position:static;display:flex;gap:7px;margin-top:6px;transform:none;width:100%;padding:0;background:none;border:0}
.football-team-hover .fth-notes .league-note-new-controls button{height:auto;min-height:30px}
html[data-theme="light"] .football-team-hover,body[data-theme="light"] .football-team-hover{--fth-soft:#e6f0ef;--fth-tile:#d9e9e7}
html[data-theme="light"] .football-team-hover .fth-head,body[data-theme="light"] .football-team-hover .fth-head{background:#dfe7e4}

.football-team-hover .fth-notes .league-note-new-controls [data-add-note]{flex:1;min-width:0;font-size:calc(.7rem * var(--ui-font-scale,1))}
.football-team-hover .fth-notes .league-note-new-controls select{width:44px;min-width:44px;flex:none}
.football-team-hover .fth-notes .league-note-new-controls [data-bold-note]{width:36px;flex:none}
