.gfm-fx-board{margin:8px 0 18px;background:#0b1220;border:1px solid #1e293b;border-radius:14px;overflow:hidden}
.gfm-fx-head,.gfm-fx-line{display:grid;grid-template-columns:108px 96px minmax(0,1fr) 78px;gap:10px;align-items:center;padding:10px 14px}
.gfm-fx-head{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#64748b;font-weight:800;background:#0f172a}
.gfm-fx-line{border-top:1px solid rgba(148,163,184,.12);font-size:13px}
.gfm-fx-line:hover{background:rgba(30,41,59,.55)}
.gfm-fx-date{color:#cbd5e1;font-weight:700}
.gfm-fx-badge{font-size:11px;font-weight:800;color:#93c5fd}
.gfm-fx-badge.cup{color:#fbbf24}
.gfm-fx-badge.euro{color:#67e8f9}
.gfm-fx-match{display:grid;grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);align-items:center;gap:8px;min-width:0}
.gfm-fx-side{display:flex;align-items:center;gap:8px;min-width:0;color:#e2e8f0;font-weight:800}
.gfm-fx-side.home{justify-content:flex-end}
.gfm-fx-side span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gfm-fx-vs{text-align:center;color:#64748b;font-size:11px;font-weight:800}
.gfm-fx-pill{border:0;border-radius:8px;min-height:28px;font-weight:900;cursor:default;color:#0f172a}
.gfm-fx-pill.w{background:#22c55e;color:#052e16;cursor:pointer}
.gfm-fx-pill.d{background:#facc15;color:#422006;cursor:pointer}
.gfm-fx-pill.l{background:#ef4444;color:#fff;cursor:pointer}
.gfm-fx-pill.u{background:#1e293b;color:#94a3b8}
#gfmMatchSummary{position:fixed;inset:0;z-index:2147483000;background:rgba(2,6,23,.72);display:flex;align-items:center;justify-content:center;padding:16px}
.gfm-sum-card{width:min(760px,100%);max-height:90vh;overflow:auto;background:#0b1220;border:1px solid #334155;border-radius:16px;color:#e2e8f0;box-shadow:0 24px 80px rgba(0,0,0,.45)}
.gfm-sum-hero{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px;align-items:center;padding:18px 18px 12px;background:linear-gradient(90deg,#f59e0b,#f97316 46%,#ef4444)}
.gfm-sum-club{display:flex;align-items:center;gap:10px;min-width:0;color:#fff}
.gfm-sum-club.away{justify-content:flex-end}
.gfm-sum-club b{font-size:22px;line-height:1.1;text-shadow:0 2px 8px rgba(0,0,0,.35)}
.gfm-sum-score{font-size:40px;font-weight:1000;color:#fff;letter-spacing:.04em;text-shadow:0 2px 10px rgba(0,0,0,.35)}
.gfm-sum-sub{margin:0;padding:8px 18px;text-align:center;color:#94a3b8;font-size:12px}
.gfm-sum-body{padding:6px 18px 12px}
.gfm-sum-goal{display:flex;justify-content:center;align-items:center;gap:8px;padding:3px 0;color:#e2e8f0}
.gfm-sum-goal em{font-style:normal;color:#cbd5e1}
.gfm-sum-bars{margin-top:12px;display:flex;flex-direction:column;gap:8px}
.gfm-sum-bar{display:grid;grid-template-columns:52px minmax(0,1fr) 52px;gap:8px;align-items:center}
.gfm-sum-bar>b{font-size:14px}
.gfm-sum-bar>b:last-child{text-align:right}
.gfm-sum-track{position:relative;height:22px;border-radius:6px;overflow:hidden;background:#111827;display:flex}
.gfm-sum-track i{display:block;height:100%}
.gfm-sum-track i.l{background:#eab308}
.gfm-sum-track i.r{background:#ef4444}
.gfm-sum-track span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.65)}
.gfm-sum-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:12px 18px 16px}
.gfm-sum-tabs button{border:1px solid #334155;background:#0f172a;color:#e2e8f0;border-radius:8px;padding:8px 12px;font-weight:800;cursor:pointer}
.gfm-sum-tabs button.is-on{border-color:#38bdf8;color:#7dd3fc}
.gfm-sum-tabs button.is-green{background:#16a34a;border-color:#16a34a;color:#fff}
.gfm-sum-tabs button.is-close{background:#2563eb;border-color:#2563eb;color:#fff;margin-left:auto}
.gfm-sum-xi{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.gfm-sum-xi h4{margin:0 0 8px;font-size:13px;color:#93c5fd}
.gfm-sum-pl,.gfm-sum-rate{display:flex;gap:8px;align-items:center;padding:4px 0;border-bottom:1px solid rgba(148,163,184,.12);font-size:13px}
.gfm-sum-pl b,.gfm-sum-rate b{min-width:42px;color:#fde047}
.gfm-sum-rate em{margin-left:auto;font-style:normal;color:#94a3b8}
.gfm-sum-note{line-height:1.5;color:#e2e8f0;font-size:14px}
@media(max-width:720px){.gfm-fx-head{display:none}.gfm-fx-line{grid-template-columns:78px minmax(0,1fr) 64px}.gfm-fx-badge{display:none}.gfm-sum-club b{font-size:16px}.gfm-sum-score{font-size:28px}.gfm-sum-xi{grid-template-columns:1fr}}
@media (max-width:720px) and (pointer:coarse){
  #main-content-area:has(.gfm-fm-squad-screen){
    min-height:0!important;
    height:calc(100dvh - 68px)!important;
    overflow:hidden!important;
  }

  .gfm-fm-squad-screen:has(#gfmClubFixMount){
    height:100%!important;
    min-height:0!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
  }

  .gfm-fm-squad-screen:has(#gfmClubFixMount) .gfm-fm-squad-hero{
    flex:0 0 auto!important;
    padding:8px 9px!important;
  }

  .gfm-fm-squad-screen:has(#gfmClubFixMount) .gfm-fm-squad-hero p{
    display:none!important;
  }

  .gfm-fm-squad-screen:has(#gfmClubFixMount) .gfm-fm-tabbar button{
    min-height:27px!important;
    height:27px!important;
    padding:2px 5px!important;
    font-size:8px!important;
  }

  #gfmClubFixMount{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow:hidden!important;
  }

  #gfmClubFixMount .gfm-fx-board{
    height:100%!important;
    margin:4px 0 0!important;
    overflow:hidden!important;
  }

  #gfmClubFixMount .gfm-fx-line{
    height:clamp(30px,5.3dvh,40px)!important;
    grid-template-columns:62px minmax(0,1fr) 49px!important;
    gap:3px!important;
    padding:3px 5px!important;
    font-size:9px!important;
  }

  #gfmClubFixMount .gfm-fx-side{
    gap:3px!important;
    font-size:8px!important;
  }

  #gfmClubFixMount .gfm-fx-pill{
    height:22px!important;
    min-height:22px!important;
    font-size:9px!important;
  }

  #gfmClubFixMount .gfm-fx-side img,
  #gfmClubFixMount .gfm-fx-side svg{
    width:15px!important;
    height:15px!important;
    min-width:15px!important;
  }
}

.gfm-squad-transfer-mount{width:100%;margin-top:10px}
#main-content-area:has(.gfm-squad-transfer-mount),
#main-content-area:has(.gfm-squad-transfer-mount) .gfm-fm-squad-screen{height:auto!important;min-height:100%!important;max-height:none!important;overflow:visible!important}
.gfm-squad-transfer-mount{padding-bottom:120px}
.gfm-profile-team-logo{display:inline-flex;flex:0 0 auto;vertical-align:middle;align-items:center;justify-content:center}
.gfm-profile-team-logo img,.gfm-profile-team-logo svg{display:block;max-width:100%;max-height:100%}
.gfm-squad-transfer-panel{width:100%;background:#0b1220;border:1px solid #1e293b;border-radius:14px;overflow:hidden;color:#e2e8f0}
.gfm-squad-transfer-wrap{width:100%;overflow-x:auto}
.gfm-squad-transfer-table{width:100%;min-width:760px;border-collapse:collapse;table-layout:fixed;font-size:12px}
.gfm-squad-transfer-table th{padding:10px 8px;background:#0f172a;color:#64748b;text-transform:uppercase;letter-spacing:.1em;font-size:9px;text-align:left;white-space:nowrap}
.gfm-squad-transfer-table td{padding:9px 8px;border-top:1px solid rgba(148,163,184,.12);vertical-align:middle}
.gfm-squad-transfer-table th:nth-child(1),.gfm-squad-transfer-table td:nth-child(1){width:18%}
.gfm-squad-transfer-table th:nth-child(2),.gfm-squad-transfer-table td:nth-child(2){width:8%;text-align:center}
.gfm-squad-transfer-table th:nth-child(3),.gfm-squad-transfer-table td:nth-child(3),.gfm-squad-transfer-table th:nth-child(5),.gfm-squad-transfer-table td:nth-child(5){width:21%}
.gfm-squad-transfer-table th:nth-child(4),.gfm-squad-transfer-table td:nth-child(4){width:4%;text-align:center;color:#64748b}
.gfm-squad-transfer-table th:nth-child(6),.gfm-squad-transfer-table td:nth-child(6){width:14%;text-align:right}
.gfm-squad-transfer-table th:nth-child(7),.gfm-squad-transfer-table td:nth-child(7){width:8%;text-align:right;color:#94a3b8}
.gfm-squad-transfer-player{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gfm-squad-transfer-player b,.gfm-squad-transfer-player small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gfm-squad-transfer-player small{color:#64748b;font-size:9px;margin-top:2px}
.gfm-squad-transfer-club{display:flex;align-items:center;gap:6px;min-width:0;font-weight:700;white-space:nowrap}.gfm-squad-transfer-club>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gfm-squad-transfer-club .gfm-club-logo{flex:0 0 auto}
.gfm-squad-transfer-direction{display:inline-flex;justify-content:center;min-width:31px;padding:3px 5px;border-radius:5px;font-size:9px;font-weight:900}.gfm-squad-transfer-direction.in{background:rgba(34,197,94,.16);color:#86efac;border:1px solid rgba(34,197,94,.35)}.gfm-squad-transfer-direction.out{background:rgba(248,113,113,.16);color:#fca5a5;border:1px solid rgba(248,113,113,.35)}
.gfm-squad-transfer-fee{color:#fcd34d;font-weight:800;white-space:nowrap}.gfm-squad-transfer-date{white-space:nowrap}.gfm-squad-transfer-empty{text-align:center!important;color:#64748b;padding:28px 12px!important}
@media(max-width:720px){.gfm-squad-transfer-table{min-width:700px;font-size:11px}.gfm-squad-transfer-table th,.gfm-squad-transfer-table td{padding:7px 6px}.gfm-squad-transfer-mount{margin-top:4px}}
@media (max-width:720px) and (pointer:coarse){
  #main-content-area:has(.gfm-squad-transfer-mount){height:auto!important;min-height:calc(100dvh - 68px)!important;overflow:visible!important}
  #main-content-area:has(.gfm-squad-transfer-mount) .gfm-fm-squad-screen{height:auto!important;overflow:visible!important}
  #main-content-area:has(.gfm-squad-transfer-mount) .gfm-squad-transfer-wrap{overflow-x:auto;overflow-y:visible}
}
